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

```c
#include <stdio.h>

int main(){
    int c[3][3], flag = 1;
    for(int i = 0; i < 3; i++){
        scanf("%d %d %d", &c[i][0], &c[i][1], &c[i][2]);
    }

    for(int i = 0; i < 3; i++){
        if(c[1][0] - c[0][0] != c[1][i] - c[0][i]){
            flag = 0;
            break;
        }
        if(c[2][0] - c[1][0] != c[2][i] - c[1][i]){
            flag = 0;
            break;
        }
        if(c[0][1] - c[0][0] != c[i][1] - c[i][0]){
            flag = 0;
            break;
        }
        if(c[0][2] - c[0][1] != c[i][2] - c[i][1]){
            flag = 0;
            break;
        }
    }
    printf((flag == 1) ? "Yes\n" : "No\n");
    return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d %d %d"
.LC1:
	.string	"Yes\n"
.LC2:
	.string	"No\n"
	.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	$64, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movl	$1, -60(%rbp)
	movl	$0, -56(%rbp)
	jmp	.L2
.L3:
	leaq	-48(%rbp), %rcx
	movl	-56(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	$8, %rax
	addq	%rax, %rcx
	leaq	-48(%rbp), %rsi
	movl	-56(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	$4, %rax
	leaq	(%rsi,%rax), %rdx
	leaq	-48(%rbp), %rdi
	movl	-56(%rbp), %eax
	movslq	%eax, %rsi
	movq	%rsi, %rax
	addq	%rax, %rax
	addq	%rsi, %rax
	salq	$2, %rax
	addq	%rdi, %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -56(%rbp)
.L2:
	cmpl	$2, -56(%rbp)
	jle	.L3
	movl	$0, -52(%rbp)
	jmp	.L4
.L10:
	movl	-36(%rbp), %eax
	movl	-48(%rbp), %edx
	subl	%edx, %eax
	movl	%eax, %ecx
	movl	-52(%rbp), %eax
	cltq
	addq	$3, %rax
	movl	-48(%rbp,%rax,4), %edx
	movl	-52(%rbp), %eax
	cltq
	movl	-48(%rbp,%rax,4), %esi
	movl	%edx, %eax
	subl	%esi, %eax
	cmpl	%eax, %ecx
	je	.L5
	movl	$0, -60(%rbp)
	jmp	.L6
.L5:
	movl	-24(%rbp), %eax
	movl	-36(%rbp), %edx
	subl	%edx, %eax
	movl	%eax, %ecx
	movl	-52(%rbp), %eax
	cltq
	addq	$6, %rax
	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
	cmpl	%eax, %ecx
	je	.L7
	movl	$0, -60(%rbp)
	jmp	.L6
.L7:
	movl	-44(%rbp), %eax
	movl	-48(%rbp), %edx
	subl	%edx, %eax
	movl	%eax, %esi
	movl	-52(%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	-52(%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), %edx
	movl	%ecx, %eax
	subl	%edx, %eax
	cmpl	%eax, %esi
	je	.L8
	movl	$0, -60(%rbp)
	jmp	.L6
.L8:
	movl	-40(%rbp), %eax
	movl	-44(%rbp), %edx
	subl	%edx, %eax
	movl	%eax, %esi
	movl	-52(%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), %ecx
	movl	-52(%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), %edx
	movl	%ecx, %eax
	subl	%edx, %eax
	cmpl	%eax, %esi
	je	.L9
	movl	$0, -60(%rbp)
	jmp	.L6
.L9:
	addl	$1, -52(%rbp)
.L4:
	cmpl	$2, -52(%rbp)
	jle	.L10
.L6:
	cmpl	$1, -60(%rbp)
	jne	.L11
	leaq	.LC1(%rip), %rax
	jmp	.L12
.L11:
	leaq	.LC2(%rip), %rax
.L12:
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L14
	call	__stack_chk_fail@PLT
.L14:
	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	"Yes\n"
.LC1:
	.string	"No\n"
.LC2:
	.string	"%d %d %d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	pushq	%rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	leaq	.LC2(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	subq	$48, %rsp
	.cfi_def_cfa_offset 80
	movq	%fs:40, %rax
	movq	%rax, 40(%rsp)
	xorl	%eax, %eax
	movq	%rsp, %rbx
	leaq	36(%rsp), %r12
.L2:
	leaq	8(%rbx), %rcx
	leaq	4(%rbx), %rdx
	movq	%rbx, %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	addq	$12, %rbx
	call	__isoc99_scanf@PLT
	cmpq	%rbx, %r12
	jne	.L2
	movl	16(%rsp), %eax
	movl	4(%rsp), %edx
	leaq	.LC1(%rip), %rsi
	movl	12(%rsp), %ecx
	movl	24(%rsp), %r9d
	movl	8(%rsp), %r8d
	movl	%eax, %ebp
	movl	%edx, %r11d
	subl	(%rsp), %r11d
	movl	%ecx, %edi
	movl	%r9d, %r10d
	subl	(%rsp), %edi
	subl	%edx, %ebp
	movl	%r8d, %ebx
	subl	%ecx, %r10d
	subl	%edx, %ebx
	cmpl	%ebp, %edi
	jne	.L3
	movl	28(%rsp), %edx
	movl	%edx, %ebp
	subl	%eax, %ebp
	cmpl	%ebp, %r10d
	jne	.L3
	movl	%eax, %ebp
	subl	%ecx, %ebp
	cmpl	%ebp, %r11d
	jne	.L3
	movl	20(%rsp), %ecx
	movl	%ecx, %ebp
	subl	%eax, %ebp
	cmpl	%ebp, %ebx
	jne	.L3
	movl	%ecx, %eax
	subl	%r8d, %eax
	cmpl	%eax, %edi
	jne	.L3
	movl	32(%rsp), %eax
	movl	%eax, %edi
	subl	%ecx, %edi
	cmpl	%edi, %r10d
	jne	.L3
	movl	%edx, %ecx
	subl	%r9d, %ecx
	cmpl	%ecx, %r11d
	jne	.L3
	subl	%edx, %eax
	cmpl	%eax, %ebx
	leaq	.LC0(%rip), %rax
	cmove	%rax, %rsi
.L3:
	xorl	%eax, %eax
	movl	$1, %edi
	call	__printf_chk@PLT
	movq	40(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L19
	addq	$48, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%rbp
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	ret
.L19:
	.cfi_restore_state
	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	"Yes\n"
.LC1:
	.string	"No\n"
.LC2:
	.string	"%d %d %d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	pushq	%rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	leaq	.LC2(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	subq	$48, %rsp
	.cfi_def_cfa_offset 80
	movq	%fs:40, %rax
	movq	%rax, 40(%rsp)
	xorl	%eax, %eax
	movq	%rsp, %rbx
	leaq	36(%rsp), %r12
.L2:
	leaq	8(%rbx), %rcx
	leaq	4(%rbx), %rdx
	movq	%rbx, %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	addq	$12, %rbx
	call	__isoc99_scanf@PLT
	cmpq	%rbx, %r12
	jne	.L2
	movl	16(%rsp), %eax
	movl	4(%rsp), %edx
	leaq	.LC1(%rip), %rsi
	movl	12(%rsp), %ecx
	movl	24(%rsp), %r9d
	movl	8(%rsp), %r8d
	movl	%eax, %ebp
	movl	%edx, %r11d
	subl	(%rsp), %r11d
	movl	%ecx, %edi
	movl	%r9d, %r10d
	subl	(%rsp), %edi
	subl	%edx, %ebp
	movl	%r8d, %ebx
	subl	%ecx, %r10d
	subl	%edx, %ebx
	cmpl	%ebp, %edi
	jne	.L3
	movl	28(%rsp), %edx
	movl	%edx, %ebp
	subl	%eax, %ebp
	cmpl	%ebp, %r10d
	jne	.L3
	movl	%eax, %ebp
	subl	%ecx, %ebp
	cmpl	%ebp, %r11d
	jne	.L3
	movl	20(%rsp), %ecx
	movl	%ecx, %ebp
	subl	%eax, %ebp
	cmpl	%ebp, %ebx
	jne	.L3
	movl	%ecx, %eax
	subl	%r8d, %eax
	cmpl	%eax, %edi
	jne	.L3
	movl	32(%rsp), %eax
	movl	%eax, %edi
	subl	%ecx, %edi
	cmpl	%edi, %r10d
	jne	.L3
	movl	%edx, %ecx
	subl	%r9d, %ecx
	cmpl	%ecx, %r11d
	jne	.L3
	subl	%edx, %eax
	cmpl	%eax, %ebx
	leaq	.LC0(%rip), %rax
	cmove	%rax, %rsi
.L3:
	xorl	%eax, %eax
	movl	$1, %edi
	call	__printf_chk@PLT
	movq	40(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L19
	addq	$48, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%rbp
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	ret
.L19:
	.cfi_restore_state
	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 <stdio.h>

int main(){
    int c[3][3], flag = 1;
    for(int i = 0; i < 3; i++){
        scanf("%d %d %d", &c[i][0], &c[i][1], &c[i][2]);
    }

    for(int i = 0; i < 3; i++){
        if(c[1][0] - c[0][0] != c[1][i] - c[0][i]){
            flag = 0;
            break;
        }
        if(c[2][0] - c[1][0] != c[2][i] - c[1][i]){
            flag = 0;
            break;
        }
        if(c[0][1] - c[0][0] != c[i][1] - c[i][0]){
            flag = 0;
            break;
        }
        if(c[0][2] - c[0][1] != c[i][2] - c[i][1]){
            flag = 0;
            break;
        }
    }
    printf((flag == 1) ? "Yes\n" : "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 <stdio.h>

int main(){
    int c[3][3], flag = 1;
    for(int i = 0; i < 3; i++){
        scanf("%d %d %d", &c[i][0], &c[i][1], &c[i][2]);
    }

    for(int i = 0; i < 3; i++){
        if(c[1][0] - c[0][0] != c[1][i] - c[0][i]){
            flag = 0;
            break;
        }
        if(c[2][0] - c[1][0] != c[2][i] - c[1][i]){
            flag = 0;
            break;
        }
        if(c[0][1] - c[0][0] != c[i][1] - c[i][0]){
            flag = 0;
            break;
        }
        if(c[0][2] - c[0][1] != c[i][2] - c[i][1]){
            flag = 0;
            break;
        }
    }
    printf((flag == 1) ? "Yes\n" : "No\n");
    return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d %d %d"
.LC1:
	.string	"Yes\n"
.LC2:
	.string	"No\n"
	.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	$64, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movl	$1, -60(%rbp)
	movl	$0, -56(%rbp)
	jmp	.L2
.L3:
	leaq	-48(%rbp), %rcx
	movl	-56(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	$8, %rax
	addq	%rax, %rcx
	leaq	-48(%rbp), %rsi
	movl	-56(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	$4, %rax
	leaq	(%rsi,%rax), %rdx
	leaq	-48(%rbp), %rdi
	movl	-56(%rbp), %eax
	movslq	%eax, %rsi
	movq	%rsi, %rax
	addq	%rax, %rax
	addq	%rsi, %rax
	salq	$2, %rax
	addq	%rdi, %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -56(%rbp)
.L2:
	cmpl	$2, -56(%rbp)
	jle	.L3
	movl	$0, -52(%rbp)
	jmp	.L4
.L10:
	movl	-36(%rbp), %eax
	movl	-48(%rbp), %edx
	subl	%edx, %eax
	movl	%eax, %ecx
	movl	-52(%rbp), %eax
	cltq
	addq	$3, %rax
	movl	-48(%rbp,%rax,4), %edx
	movl	-52(%rbp), %eax
	cltq
	movl	-48(%rbp,%rax,4), %esi
	movl	%edx, %eax
	subl	%esi, %eax
	cmpl	%eax, %ecx
	je	.L5
	movl	$0, -60(%rbp)
	jmp	.L6
.L5:
	movl	-24(%rbp), %eax
	movl	-36(%rbp), %edx
	subl	%edx, %eax
	movl	%eax, %ecx
	movl	-52(%rbp), %eax
	cltq
	addq	$6, %rax
	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
	cmpl	%eax, %ecx
	je	.L7
	movl	$0, -60(%rbp)
	jmp	.L6
.L7:
	movl	-44(%rbp), %eax
	movl	-48(%rbp), %edx
	subl	%edx, %eax
	movl	%eax, %esi
	movl	-52(%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	-52(%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), %edx
	movl	%ecx, %eax
	subl	%edx, %eax
	cmpl	%eax, %esi
	je	.L8
	movl	$0, -60(%rbp)
	jmp	.L6
.L8:
	movl	-40(%rbp), %eax
	movl	-44(%rbp), %edx
	subl	%edx, %eax
	movl	%eax, %esi
	movl	-52(%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), %ecx
	movl	-52(%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), %edx
	movl	%ecx, %eax
	subl	%edx, %eax
	cmpl	%eax, %esi
	je	.L9
	movl	$0, -60(%rbp)
	jmp	.L6
.L9:
	addl	$1, -52(%rbp)
.L4:
	cmpl	$2, -52(%rbp)
	jle	.L10
.L6:
	cmpl	$1, -60(%rbp)
	jne	.L11
	leaq	.LC1(%rip), %rax
	jmp	.L12
.L11:
	leaq	.LC2(%rip), %rax
.L12:
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L14
	call	__stack_chk_fail@PLT
.L14:
	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 %d %d"
.LC1:
	.string	"Yes\n"
.LC2:
	.string	"No\n"
	.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	$64, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movl	$1, -60(%rbp)
	movl	$0, -56(%rbp)
	jmp	.L2
.L3:
	leaq	-48(%rbp), %rcx
	movl	-56(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	$8, %rax
	addq	%rax, %rcx
	leaq	-48(%rbp), %rsi
	movl	-56(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	$4, %rax
	leaq	(%rsi,%rax), %rdx
	leaq	-48(%rbp), %rdi
	movl	-56(%rbp), %eax
	movslq	%eax, %rsi
	movq	%rsi, %rax
	addq	%rax, %rax
	addq	%rsi, %rax
	salq	$2, %rax
	addq	%rdi, %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -56(%rbp)
.L2:
	cmpl	$2, -56(%rbp)
	jle	.L3
	movl	$0, -52(%rbp)
	jmp	.L4
.L10:
	movl	-36(%rbp), %eax
	movl	-48(%rbp), %edx
	subl	%edx, %eax
	movl	%eax, %ecx
	movl	-52(%rbp), %eax
	cltq
	addq	$3, %rax
	movl	-48(%rbp,%rax,4), %edx
	movl	-52(%rbp), %eax
	cltq
	movl	-48(%rbp,%rax,4), %esi
	movl	%edx, %eax
	subl	%esi, %eax
	cmpl	%eax, %ecx
	je	.L5
	movl	$0, -60(%rbp)
	jmp	.L6
.L5:
	movl	-24(%rbp), %eax
	movl	-36(%rbp), %edx
	subl	%edx, %eax
	movl	%eax, %ecx
	movl	-52(%rbp), %eax
	cltq
	addq	$6, %rax
	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
	cmpl	%eax, %ecx
	je	.L7
	movl	$0, -60(%rbp)
	jmp	.L6
.L7:
	movl	-44(%rbp), %eax
	movl	-48(%rbp), %edx
	subl	%edx, %eax
	movl	%eax, %esi
	movl	-52(%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	-52(%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), %edx
	movl	%ecx, %eax
	subl	%edx, %eax
	cmpl	%eax, %esi
	je	.L8
	movl	$0, -60(%rbp)
	jmp	.L6
.L8:
	movl	-40(%rbp), %eax
	movl	-44(%rbp), %edx
	subl	%edx, %eax
	movl	%eax, %esi
	movl	-52(%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), %ecx
	movl	-52(%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), %edx
	movl	%ecx, %eax
	subl	%edx, %eax
	cmpl	%eax, %esi
	je	.L9
	movl	$0, -60(%rbp)
	jmp	.L6
.L9:
	addl	$1, -52(%rbp)
.L4:
	cmpl	$2, -52(%rbp)
	jle	.L10
.L6:
	cmpl	$1, -60(%rbp)
	jne	.L11
	leaq	.LC1(%rip), %rax
	jmp	.L12
.L11:
	leaq	.LC2(%rip), %rax
.L12:
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L14
	call	__stack_chk_fail@PLT
.L14:
	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:
