Given the following C code and unoptimized assembly code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
#include <stdbool.h>
#include <stdio.h>
int main() {
	int c[3][3];
	bool yes = true;
	for (int i = 0; i < 3; i++) {
		for (int j = 0; j < 3; j++) {
			scanf("%d", &c[i][j]);
		}
	}
	for (int i = 0; i < 2; i++) {
		if (c[i][0] - c[i][1] != c[i + 1][0] - c[i + 1][1]) yes = false;
		if (c[i][1] - c[i][2] != c[i + 1][1] - c[i + 1][2]) yes = false;
	}
	for (int i = 0; i < 2; i++) {
		if (c[0][i] - c[1][i] != c[0][i + 1] - c[1][i + 1]) yes = false;
		if (c[1][i] - c[2][i] != c[1][i + 1] - c[2][i + 1]) yes = false;
	}
	if (yes) {
		printf("Yes\n");
	} else {
		printf("No\n");
	}
	return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"Yes"
.LC2:
	.string	"No"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$80, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movb	$1, -65(%rbp)
	movl	$0, -64(%rbp)
	jmp	.L2
.L5:
	movl	$0, -60(%rbp)
	jmp	.L3
.L4:
	leaq	-48(%rbp), %rcx
	movl	-60(%rbp), %eax
	movslq	%eax, %rsi
	movl	-64(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	addq	%rsi, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -60(%rbp)
.L3:
	cmpl	$2, -60(%rbp)
	jle	.L4
	addl	$1, -64(%rbp)
.L2:
	cmpl	$2, -64(%rbp)
	jle	.L5
	movl	$0, -56(%rbp)
	jmp	.L6
.L9:
	movl	-56(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	subq	$48, %rax
	movl	(%rax), %ecx
	movl	-56(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	subq	$44, %rax
	movl	(%rax), %eax
	movl	%ecx, %esi
	subl	%eax, %esi
	movl	-56(%rbp), %eax
	addl	$1, %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	subq	$48, %rax
	movl	(%rax), %ecx
	movl	-56(%rbp), %eax
	addl	$1, %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	subq	$44, %rax
	movl	(%rax), %edx
	movl	%ecx, %eax
	subl	%edx, %eax
	cmpl	%eax, %esi
	je	.L7
	movb	$0, -65(%rbp)
.L7:
	movl	-56(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	subq	$44, %rax
	movl	(%rax), %ecx
	movl	-56(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	subq	$40, %rax
	movl	(%rax), %eax
	movl	%ecx, %esi
	subl	%eax, %esi
	movl	-56(%rbp), %eax
	addl	$1, %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	subq	$44, %rax
	movl	(%rax), %ecx
	movl	-56(%rbp), %eax
	addl	$1, %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	subq	$40, %rax
	movl	(%rax), %edx
	movl	%ecx, %eax
	subl	%edx, %eax
	cmpl	%eax, %esi
	je	.L8
	movb	$0, -65(%rbp)
.L8:
	addl	$1, -56(%rbp)
.L6:
	cmpl	$1, -56(%rbp)
	jle	.L9
	movl	$0, -52(%rbp)
	jmp	.L10
.L13:
	movl	-52(%rbp), %eax
	cltq
	movl	-48(%rbp,%rax,4), %eax
	movl	-52(%rbp), %edx
	movslq	%edx, %rdx
	addq	$3, %rdx
	movl	-48(%rbp,%rdx,4), %edx
	subl	%edx, %eax
	movl	%eax, %ecx
	movl	-52(%rbp), %eax
	addl	$1, %eax
	cltq
	movl	-48(%rbp,%rax,4), %eax
	movl	-52(%rbp), %edx
	addl	$1, %edx
	movslq	%edx, %rdx
	addq	$3, %rdx
	movl	-48(%rbp,%rdx,4), %edx
	subl	%edx, %eax
	cmpl	%eax, %ecx
	je	.L11
	movb	$0, -65(%rbp)
.L11:
	movl	-52(%rbp), %eax
	cltq
	addq	$3, %rax
	movl	-48(%rbp,%rax,4), %eax
	movl	-52(%rbp), %edx
	movslq	%edx, %rdx
	addq	$6, %rdx
	movl	-48(%rbp,%rdx,4), %edx
	subl	%edx, %eax
	movl	%eax, %ecx
	movl	-52(%rbp), %eax
	addl	$1, %eax
	cltq
	addq	$3, %rax
	movl	-48(%rbp,%rax,4), %eax
	movl	-52(%rbp), %edx
	addl	$1, %edx
	movslq	%edx, %rdx
	addq	$6, %rdx
	movl	-48(%rbp,%rdx,4), %edx
	subl	%edx, %eax
	cmpl	%eax, %ecx
	je	.L12
	movb	$0, -65(%rbp)
.L12:
	addl	$1, -52(%rbp)
.L10:
	cmpl	$1, -52(%rbp)
	jle	.L13
	cmpb	$0, -65(%rbp)
	je	.L14
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	jmp	.L15
.L14:
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
.L15:
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L17
	call	__stack_chk_fail@PLT
.L17:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	1f - 0f
	.long	4f - 1f
	.long	5
0:
	.string	"GNU"
1:
	.align 8
	.long	0xc0000002
	.long	3f - 2f
2:
	.long	0x3
3:
	.align 8
4:
```

Only output the optimized assembly code. Do not include any other text. Do not write any comments in the assembly code. Wrap the assembly code in ```assembly``` tags.
user
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"Yes"
.LC2:
	.string	"No"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	leaq	.LC0(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	subq	$56, %rsp
	.cfi_def_cfa_offset 96
	movq	%fs:40, %rax
	movq	%rax, 40(%rsp)
	xorl	%eax, %eax
	movq	%rsp, %rbx
	leaq	36(%rsp), %r12
.L2:
	movq	%rbx, %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	leaq	4(%rbx), %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	leaq	8(%rbx), %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	addq	$12, %rbx
	cmpq	%rbx, %r12
	jne	.L2
	movl	12(%rsp), %esi
	movl	(%rsp), %r8d
	movl	16(%rsp), %edx
	movl	4(%rsp), %ecx
	movl	%esi, %ebx
	movl	%r8d, %eax
	movl	8(%rsp), %r10d
	movl	20(%rsp), %r11d
	subl	%edx, %ebx
	subl	%ecx, %eax
	movl	%edx, %r12d
	movl	%ecx, %r9d
	cmpl	%ebx, %eax
	movl	24(%rsp), %ebp
	sete	%al
	subl	%r11d, %r12d
	subl	%r10d, %r9d
	xorl	%edi, %edi
	cmpl	%r12d, %r9d
	movl	28(%rsp), %r9d
	movl	%ebp, %r13d
	cmovne	%edi, %eax
	subl	%r9d, %r13d
	cmpl	%ebx, %r13d
	movl	32(%rsp), %ebx
	movl	%r9d, %r13d
	cmovne	%edi, %eax
	subl	%ebx, %r13d
	cmpl	%r12d, %r13d
	cmovne	%edi, %eax
	subl	%edx, %ecx
	subl	%esi, %r8d
	cmpl	%ecx, %r8d
	cmovne	%edi, %eax
	subl	%r9d, %edx
	subl	%ebp, %esi
	cmpl	%edx, %esi
	je	.L18
.L7:
	leaq	.LC2(%rip), %rdi
	call	puts@PLT
.L8:
	movq	40(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L19
	addq	$56, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%rbp
	.cfi_def_cfa_offset 24
	popq	%r12
	.cfi_def_cfa_offset 16
	popq	%r13
	.cfi_def_cfa_offset 8
	ret
.L18:
	.cfi_restore_state
	subl	%r11d, %r10d
	cmpl	%r10d, %ecx
	jne	.L7
	subl	%ebx, %r11d
	cmpl	%esi, %r11d
	jne	.L7
	testb	%al, %al
	je	.L7
	leaq	.LC1(%rip), %rdi
	call	puts@PLT
	jmp	.L8
.L19:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	1f - 0f
	.long	4f - 1f
	.long	5
0:
	.string	"GNU"
1:
	.align 8
	.long	0xc0000002
	.long	3f - 2f
2:
	.long	0x3
3:
	.align 8
4:

rule
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"Yes"
.LC2:
	.string	"No"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	leaq	.LC0(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	subq	$56, %rsp
	.cfi_def_cfa_offset 96
	movq	%fs:40, %rax
	movq	%rax, 40(%rsp)
	xorl	%eax, %eax
	movq	%rsp, %rbx
	leaq	36(%rsp), %r12
.L2:
	movq	%rbx, %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	leaq	4(%rbx), %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	leaq	8(%rbx), %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	addq	$12, %rbx
	cmpq	%rbx, %r12
	jne	.L2
	movl	12(%rsp), %esi
	movl	(%rsp), %r8d
	movl	16(%rsp), %edx
	movl	4(%rsp), %ecx
	movl	%esi, %ebx
	movl	%r8d, %eax
	movl	8(%rsp), %r10d
	movl	20(%rsp), %r11d
	subl	%edx, %ebx
	subl	%ecx, %eax
	movl	%edx, %r12d
	movl	%ecx, %r9d
	cmpl	%ebx, %eax
	movl	24(%rsp), %ebp
	sete	%al
	subl	%r11d, %r12d
	subl	%r10d, %r9d
	xorl	%edi, %edi
	cmpl	%r12d, %r9d
	movl	28(%rsp), %r9d
	movl	%ebp, %r13d
	cmovne	%edi, %eax
	subl	%r9d, %r13d
	cmpl	%ebx, %r13d
	movl	32(%rsp), %ebx
	movl	%r9d, %r13d
	cmovne	%edi, %eax
	subl	%ebx, %r13d
	cmpl	%r12d, %r13d
	cmovne	%edi, %eax
	subl	%edx, %ecx
	subl	%esi, %r8d
	cmpl	%ecx, %r8d
	cmovne	%edi, %eax
	subl	%r9d, %edx
	subl	%ebp, %esi
	cmpl	%edx, %esi
	je	.L18
.L7:
	leaq	.LC2(%rip), %rdi
	call	puts@PLT
.L8:
	movq	40(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L19
	addq	$56, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%rbp
	.cfi_def_cfa_offset 24
	popq	%r12
	.cfi_def_cfa_offset 16
	popq	%r13
	.cfi_def_cfa_offset 8
	ret
.L18:
	.cfi_restore_state
	subl	%r11d, %r10d
	cmpl	%r10d, %ecx
	jne	.L7
	subl	%ebx, %r11d
	cmpl	%esi, %r11d
	jne	.L7
	testb	%al, %al
	je	.L7
	leaq	.LC1(%rip), %rdi
	call	puts@PLT
	jmp	.L8
.L19:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	1f - 0f
	.long	4f - 1f
	.long	5
0:
	.string	"GNU"
1:
	.align 8
	.long	0xc0000002
	.long	3f - 2f
2:
	.long	0x3
3:
	.align 8
4:

#include <stdbool.h>
#include <stdio.h>
int main() {
	int c[3][3];
	bool yes = true;
	for (int i = 0; i < 3; i++) {
		for (int j = 0; j < 3; j++) {
			scanf("%d", &c[i][j]);
		}
	}
	for (int i = 0; i < 2; i++) {
		if (c[i][0] - c[i][1] != c[i + 1][0] - c[i + 1][1]) yes = false;
		if (c[i][1] - c[i][2] != c[i + 1][1] - c[i + 1][2]) yes = false;
	}
	for (int i = 0; i < 2; i++) {
		if (c[0][i] - c[1][i] != c[0][i + 1] - c[1][i + 1]) yes = false;
		if (c[1][i] - c[2][i] != c[1][i + 1] - c[2][i + 1]) yes = false;
	}
	if (yes) {
		printf("Yes\n");
	} else {
		printf("No\n");
	}
	return 0;
}
1 0 1
4 1 2
1 0 1
 1 8 6
2 9 7
1 7 7
 0 8 8
0 8 8
0 0 8
 2 2 2
2 1 0
2 2 2
 1 0 1
4 1 2
0 0 1
 1 8 6
4 9 7
1 7 7
 0 8 2
0 8 8
0 0 8
 2 2 2
2 1 -1
2 2 2
 1 0 1
4 1 4
0 0 1
 1 8 6
6 9 7
1 7 7

No
 No
 No
 No
 No
 No
 No
 No
 No
 No

Given the following C code and unoptimized assembly code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
#include <stdbool.h>
#include <stdio.h>
int main() {
	int c[3][3];
	bool yes = true;
	for (int i = 0; i < 3; i++) {
		for (int j = 0; j < 3; j++) {
			scanf("%d", &c[i][j]);
		}
	}
	for (int i = 0; i < 2; i++) {
		if (c[i][0] - c[i][1] != c[i + 1][0] - c[i + 1][1]) yes = false;
		if (c[i][1] - c[i][2] != c[i + 1][1] - c[i + 1][2]) yes = false;
	}
	for (int i = 0; i < 2; i++) {
		if (c[0][i] - c[1][i] != c[0][i + 1] - c[1][i + 1]) yes = false;
		if (c[1][i] - c[2][i] != c[1][i + 1] - c[2][i + 1]) yes = false;
	}
	if (yes) {
		printf("Yes\n");
	} else {
		printf("No\n");
	}
	return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"Yes"
.LC2:
	.string	"No"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$80, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movb	$1, -65(%rbp)
	movl	$0, -64(%rbp)
	jmp	.L2
.L5:
	movl	$0, -60(%rbp)
	jmp	.L3
.L4:
	leaq	-48(%rbp), %rcx
	movl	-60(%rbp), %eax
	movslq	%eax, %rsi
	movl	-64(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	addq	%rsi, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -60(%rbp)
.L3:
	cmpl	$2, -60(%rbp)
	jle	.L4
	addl	$1, -64(%rbp)
.L2:
	cmpl	$2, -64(%rbp)
	jle	.L5
	movl	$0, -56(%rbp)
	jmp	.L6
.L9:
	movl	-56(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	subq	$48, %rax
	movl	(%rax), %ecx
	movl	-56(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	subq	$44, %rax
	movl	(%rax), %eax
	movl	%ecx, %esi
	subl	%eax, %esi
	movl	-56(%rbp), %eax
	addl	$1, %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	subq	$48, %rax
	movl	(%rax), %ecx
	movl	-56(%rbp), %eax
	addl	$1, %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	subq	$44, %rax
	movl	(%rax), %edx
	movl	%ecx, %eax
	subl	%edx, %eax
	cmpl	%eax, %esi
	je	.L7
	movb	$0, -65(%rbp)
.L7:
	movl	-56(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	subq	$44, %rax
	movl	(%rax), %ecx
	movl	-56(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	subq	$40, %rax
	movl	(%rax), %eax
	movl	%ecx, %esi
	subl	%eax, %esi
	movl	-56(%rbp), %eax
	addl	$1, %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	subq	$44, %rax
	movl	(%rax), %ecx
	movl	-56(%rbp), %eax
	addl	$1, %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	subq	$40, %rax
	movl	(%rax), %edx
	movl	%ecx, %eax
	subl	%edx, %eax
	cmpl	%eax, %esi
	je	.L8
	movb	$0, -65(%rbp)
.L8:
	addl	$1, -56(%rbp)
.L6:
	cmpl	$1, -56(%rbp)
	jle	.L9
	movl	$0, -52(%rbp)
	jmp	.L10
.L13:
	movl	-52(%rbp), %eax
	cltq
	movl	-48(%rbp,%rax,4), %eax
	movl	-52(%rbp), %edx
	movslq	%edx, %rdx
	addq	$3, %rdx
	movl	-48(%rbp,%rdx,4), %edx
	subl	%edx, %eax
	movl	%eax, %ecx
	movl	-52(%rbp), %eax
	addl	$1, %eax
	cltq
	movl	-48(%rbp,%rax,4), %eax
	movl	-52(%rbp), %edx
	addl	$1, %edx
	movslq	%edx, %rdx
	addq	$3, %rdx
	movl	-48(%rbp,%rdx,4), %edx
	subl	%edx, %eax
	cmpl	%eax, %ecx
	je	.L11
	movb	$0, -65(%rbp)
.L11:
	movl	-52(%rbp), %eax
	cltq
	addq	$3, %rax
	movl	-48(%rbp,%rax,4), %eax
	movl	-52(%rbp), %edx
	movslq	%edx, %rdx
	addq	$6, %rdx
	movl	-48(%rbp,%rdx,4), %edx
	subl	%edx, %eax
	movl	%eax, %ecx
	movl	-52(%rbp), %eax
	addl	$1, %eax
	cltq
	addq	$3, %rax
	movl	-48(%rbp,%rax,4), %eax
	movl	-52(%rbp), %edx
	addl	$1, %edx
	movslq	%edx, %rdx
	addq	$6, %rdx
	movl	-48(%rbp,%rdx,4), %edx
	subl	%edx, %eax
	cmpl	%eax, %ecx
	je	.L12
	movb	$0, -65(%rbp)
.L12:
	addl	$1, -52(%rbp)
.L10:
	cmpl	$1, -52(%rbp)
	jle	.L13
	cmpb	$0, -65(%rbp)
	je	.L14
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	jmp	.L15
.L14:
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
.L15:
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L17
	call	__stack_chk_fail@PLT
.L17:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	1f - 0f
	.long	4f - 1f
	.long	5
0:
	.string	"GNU"
1:
	.align 8
	.long	0xc0000002
	.long	3f - 2f
2:
	.long	0x3
3:
	.align 8
4:
```

Only output the optimized assembly code. Do not include any other text. Do not write any comments in the assembly code. Wrap the assembly code in ```assembly``` tags.
train
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"Yes"
.LC2:
	.string	"No"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$80, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movb	$1, -65(%rbp)
	movl	$0, -64(%rbp)
	jmp	.L2
.L5:
	movl	$0, -60(%rbp)
	jmp	.L3
.L4:
	leaq	-48(%rbp), %rcx
	movl	-60(%rbp), %eax
	movslq	%eax, %rsi
	movl	-64(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	addq	%rsi, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -60(%rbp)
.L3:
	cmpl	$2, -60(%rbp)
	jle	.L4
	addl	$1, -64(%rbp)
.L2:
	cmpl	$2, -64(%rbp)
	jle	.L5
	movl	$0, -56(%rbp)
	jmp	.L6
.L9:
	movl	-56(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	subq	$48, %rax
	movl	(%rax), %ecx
	movl	-56(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	subq	$44, %rax
	movl	(%rax), %eax
	movl	%ecx, %esi
	subl	%eax, %esi
	movl	-56(%rbp), %eax
	addl	$1, %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	subq	$48, %rax
	movl	(%rax), %ecx
	movl	-56(%rbp), %eax
	addl	$1, %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	subq	$44, %rax
	movl	(%rax), %edx
	movl	%ecx, %eax
	subl	%edx, %eax
	cmpl	%eax, %esi
	je	.L7
	movb	$0, -65(%rbp)
.L7:
	movl	-56(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	subq	$44, %rax
	movl	(%rax), %ecx
	movl	-56(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	subq	$40, %rax
	movl	(%rax), %eax
	movl	%ecx, %esi
	subl	%eax, %esi
	movl	-56(%rbp), %eax
	addl	$1, %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	subq	$44, %rax
	movl	(%rax), %ecx
	movl	-56(%rbp), %eax
	addl	$1, %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	subq	$40, %rax
	movl	(%rax), %edx
	movl	%ecx, %eax
	subl	%edx, %eax
	cmpl	%eax, %esi
	je	.L8
	movb	$0, -65(%rbp)
.L8:
	addl	$1, -56(%rbp)
.L6:
	cmpl	$1, -56(%rbp)
	jle	.L9
	movl	$0, -52(%rbp)
	jmp	.L10
.L13:
	movl	-52(%rbp), %eax
	cltq
	movl	-48(%rbp,%rax,4), %eax
	movl	-52(%rbp), %edx
	movslq	%edx, %rdx
	addq	$3, %rdx
	movl	-48(%rbp,%rdx,4), %edx
	subl	%edx, %eax
	movl	%eax, %ecx
	movl	-52(%rbp), %eax
	addl	$1, %eax
	cltq
	movl	-48(%rbp,%rax,4), %eax
	movl	-52(%rbp), %edx
	addl	$1, %edx
	movslq	%edx, %rdx
	addq	$3, %rdx
	movl	-48(%rbp,%rdx,4), %edx
	subl	%edx, %eax
	cmpl	%eax, %ecx
	je	.L11
	movb	$0, -65(%rbp)
.L11:
	movl	-52(%rbp), %eax
	cltq
	addq	$3, %rax
	movl	-48(%rbp,%rax,4), %eax
	movl	-52(%rbp), %edx
	movslq	%edx, %rdx
	addq	$6, %rdx
	movl	-48(%rbp,%rdx,4), %edx
	subl	%edx, %eax
	movl	%eax, %ecx
	movl	-52(%rbp), %eax
	addl	$1, %eax
	cltq
	addq	$3, %rax
	movl	-48(%rbp,%rax,4), %eax
	movl	-52(%rbp), %edx
	addl	$1, %edx
	movslq	%edx, %rdx
	addq	$6, %rdx
	movl	-48(%rbp,%rdx,4), %edx
	subl	%edx, %eax
	cmpl	%eax, %ecx
	je	.L12
	movb	$0, -65(%rbp)
.L12:
	addl	$1, -52(%rbp)
.L10:
	cmpl	$1, -52(%rbp)
	jle	.L13
	cmpb	$0, -65(%rbp)
	je	.L14
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	jmp	.L15
.L14:
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
.L15:
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L17
	call	__stack_chk_fail@PLT
.L17:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	1f - 0f
	.long	4f - 1f
	.long	5
0:
	.string	"GNU"
1:
	.align 8
	.long	0xc0000002
	.long	3f - 2f
2:
	.long	0x3
3:
	.align 8
4:
