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>
#include <stdlib.h>

int main(void){
  int c[3][3];
  int i, j;

  int min[3];

  for(i=0; i<3; i++){
    for(j=0; j<3; j++){
      scanf("%d", &c[i][j]);
    }
    if(c[i][0]>c[i][1]){
      if(c[i][1]>c[i][2]) min[i] = c[i][2];
      else min[i] = c[i][1];
    } else {
      if(c[i][0]>c[i][2]) min[i] = c[i][2];
      else min[i] = c[i][0];
    }
  }



  for(i=0; i<3; i++){
    for(j=0; j<3; j++){
      c[i][j] -= min[i];
    }
  }

  for(j=0; j<3; j++){
    if(c[0][j]!=c[1][j] || c[0][j]!=c[2][j]){
      printf("No\n");
      exit(0);
    }
  }

  printf("Yes\n");

  return (0);
}
```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"No"
.LC2:
	.string	"Yes"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.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
	movl	$0, -68(%rbp)
	jmp	.L2
.L9:
	movl	$0, -64(%rbp)
	jmp	.L3
.L4:
	leaq	-48(%rbp), %rcx
	movl	-64(%rbp), %eax
	movslq	%eax, %rsi
	movl	-68(%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, -64(%rbp)
.L3:
	cmpl	$2, -64(%rbp)
	jle	.L4
	movl	-68(%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	-68(%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
	cmpl	%eax, %ecx
	jle	.L5
	movl	-68(%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	-68(%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
	cmpl	%eax, %ecx
	jle	.L6
	movl	-68(%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), %edx
	movl	-68(%rbp), %eax
	cltq
	movl	%edx, -60(%rbp,%rax,4)
	jmp	.L7
.L6:
	movl	-68(%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	-68(%rbp), %eax
	cltq
	movl	%edx, -60(%rbp,%rax,4)
	jmp	.L7
.L5:
	movl	-68(%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	-68(%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
	cmpl	%eax, %ecx
	jle	.L8
	movl	-68(%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), %edx
	movl	-68(%rbp), %eax
	cltq
	movl	%edx, -60(%rbp,%rax,4)
	jmp	.L7
.L8:
	movl	-68(%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	-68(%rbp), %eax
	cltq
	movl	%edx, -60(%rbp,%rax,4)
.L7:
	addl	$1, -68(%rbp)
.L2:
	cmpl	$2, -68(%rbp)
	jle	.L9
	movl	$0, -68(%rbp)
	jmp	.L10
.L13:
	movl	$0, -64(%rbp)
	jmp	.L11
.L12:
	movl	-64(%rbp), %eax
	movslq	%eax, %rcx
	movl	-68(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	addq	%rcx, %rax
	movl	-48(%rbp,%rax,4), %edx
	movl	-68(%rbp), %eax
	cltq
	movl	-60(%rbp,%rax,4), %eax
	movl	%edx, %ecx
	subl	%eax, %ecx
	movl	-64(%rbp), %eax
	movslq	%eax, %rsi
	movl	-68(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	addq	%rsi, %rax
	movl	%ecx, -48(%rbp,%rax,4)
	addl	$1, -64(%rbp)
.L11:
	cmpl	$2, -64(%rbp)
	jle	.L12
	addl	$1, -68(%rbp)
.L10:
	cmpl	$2, -68(%rbp)
	jle	.L13
	movl	$0, -64(%rbp)
	jmp	.L14
.L17:
	movl	-64(%rbp), %eax
	cltq
	movl	-48(%rbp,%rax,4), %edx
	movl	-64(%rbp), %eax
	cltq
	addq	$3, %rax
	movl	-48(%rbp,%rax,4), %eax
	cmpl	%eax, %edx
	jne	.L15
	movl	-64(%rbp), %eax
	cltq
	movl	-48(%rbp,%rax,4), %edx
	movl	-64(%rbp), %eax
	cltq
	addq	$6, %rax
	movl	-48(%rbp,%rax,4), %eax
	cmpl	%eax, %edx
	je	.L16
.L15:
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	movl	$0, %edi
	call	exit@PLT
.L16:
	addl	$1, -64(%rbp)
.L14:
	cmpl	$2, -64(%rbp)
	jle	.L17
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L19
	call	__stack_chk_fail@PLT
.L19:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.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	"No"
.LC2:
	.string	"Yes"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB39:
	.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	$72, %rsp
	.cfi_def_cfa_offset 112
	movq	%fs:40, %rax
	movq	%rax, 56(%rsp)
	xorl	%eax, %eax
	leaq	16(%rsp), %rbx
	leaq	4(%rsp), %r13
	leaq	52(%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
	movl	(%rbx), %eax
	movl	4(%rbx), %edx
	cmpl	%edx, %eax
	jle	.L13
	movl	8(%rbx), %eax
	cmpl	%eax, %edx
	cmovle	%edx, %eax
.L3:
	addq	$12, %rbx
	movl	%eax, 0(%r13)
	addq	$4, %r13
	cmpq	%rbx, %r12
	jne	.L2
	movd	4(%rsp), %xmm0
	movd	8(%rsp), %xmm1
	movl	48(%rsp), %edx
	subl	12(%rsp), %edx
	movdqa	%xmm0, %xmm3
	punpckldq	%xmm0, %xmm0
	movl	%edx, 48(%rsp)
	punpckldq	%xmm1, %xmm3
	movdqa	%xmm0, %xmm2
	movdqa	16(%rsp), %xmm0
	punpckldq	%xmm1, %xmm1
	punpcklqdq	%xmm3, %xmm2
	movd	12(%rsp), %xmm3
	psubd	%xmm2, %xmm0
	movdqa	%xmm0, %xmm2
	punpckldq	%xmm3, %xmm3
	movd	%xmm0, %r11d
	movaps	%xmm0, 16(%rsp)
	punpckhdq	%xmm0, %xmm2
	movd	%xmm2, %ecx
	pshufd	$85, %xmm0, %xmm2
	pshufd	$255, %xmm0, %xmm0
	movd	%xmm2, %edi
	movdqa	%xmm1, %xmm2
	movdqa	32(%rsp), %xmm1
	movd	%xmm0, %eax
	punpcklqdq	%xmm3, %xmm2
	psubd	%xmm2, %xmm1
	pshufd	$255, %xmm1, %xmm2
	movd	%xmm1, %r10d
	movaps	%xmm1, 32(%rsp)
	movd	%xmm2, %r8d
	movdqa	%xmm1, %xmm2
	punpckhdq	%xmm1, %xmm2
	movd	%xmm2, %esi
	pshufd	$85, %xmm1, %xmm2
	movd	%xmm2, %r9d
	cmpl	%r11d, %eax
	jne	.L7
	cmpl	%esi, %eax
	jne	.L7
	cmpl	%edi, %r10d
	jne	.L7
	cmpl	%r8d, %r10d
	jne	.L7
	cmpl	%r9d, %ecx
	jne	.L7
	cmpl	%edx, %ecx
	jne	.L7
	leaq	.LC2(%rip), %rdi
	call	puts@PLT
	movq	56(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L14
	addq	$72, %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
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	movl	8(%rbx), %edx
	cmpl	%edx, %eax
	cmovg	%edx, %eax
	jmp	.L3
.L7:
	leaq	.LC1(%rip), %rdi
	call	puts@PLT
	xorl	%edi, %edi
	call	exit@PLT
.L14:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE39:
	.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	"No"
.LC2:
	.string	"Yes"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB39:
	.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	$72, %rsp
	.cfi_def_cfa_offset 112
	movq	%fs:40, %rax
	movq	%rax, 56(%rsp)
	xorl	%eax, %eax
	leaq	16(%rsp), %rbx
	leaq	4(%rsp), %r13
	leaq	52(%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
	movl	(%rbx), %eax
	movl	4(%rbx), %edx
	cmpl	%edx, %eax
	jle	.L13
	movl	8(%rbx), %eax
	cmpl	%eax, %edx
	cmovle	%edx, %eax
.L3:
	addq	$12, %rbx
	movl	%eax, 0(%r13)
	addq	$4, %r13
	cmpq	%rbx, %r12
	jne	.L2
	movd	4(%rsp), %xmm0
	movd	8(%rsp), %xmm1
	movl	48(%rsp), %edx
	subl	12(%rsp), %edx
	movdqa	%xmm0, %xmm3
	punpckldq	%xmm0, %xmm0
	movl	%edx, 48(%rsp)
	punpckldq	%xmm1, %xmm3
	movdqa	%xmm0, %xmm2
	movdqa	16(%rsp), %xmm0
	punpckldq	%xmm1, %xmm1
	punpcklqdq	%xmm3, %xmm2
	movd	12(%rsp), %xmm3
	psubd	%xmm2, %xmm0
	movdqa	%xmm0, %xmm2
	punpckldq	%xmm3, %xmm3
	movd	%xmm0, %r11d
	movaps	%xmm0, 16(%rsp)
	punpckhdq	%xmm0, %xmm2
	movd	%xmm2, %ecx
	pshufd	$85, %xmm0, %xmm2
	pshufd	$255, %xmm0, %xmm0
	movd	%xmm2, %edi
	movdqa	%xmm1, %xmm2
	movdqa	32(%rsp), %xmm1
	movd	%xmm0, %eax
	punpcklqdq	%xmm3, %xmm2
	psubd	%xmm2, %xmm1
	pshufd	$255, %xmm1, %xmm2
	movd	%xmm1, %r10d
	movaps	%xmm1, 32(%rsp)
	movd	%xmm2, %r8d
	movdqa	%xmm1, %xmm2
	punpckhdq	%xmm1, %xmm2
	movd	%xmm2, %esi
	pshufd	$85, %xmm1, %xmm2
	movd	%xmm2, %r9d
	cmpl	%r11d, %eax
	jne	.L7
	cmpl	%esi, %eax
	jne	.L7
	cmpl	%edi, %r10d
	jne	.L7
	cmpl	%r8d, %r10d
	jne	.L7
	cmpl	%r9d, %ecx
	jne	.L7
	cmpl	%edx, %ecx
	jne	.L7
	leaq	.LC2(%rip), %rdi
	call	puts@PLT
	movq	56(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L14
	addq	$72, %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
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	movl	8(%rbx), %edx
	cmpl	%edx, %eax
	cmovg	%edx, %eax
	jmp	.L3
.L7:
	leaq	.LC1(%rip), %rdi
	call	puts@PLT
	xorl	%edi, %edi
	call	exit@PLT
.L14:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE39:
	.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>
#include <stdlib.h>

int main(void){
  int c[3][3];
  int i, j;

  int min[3];

  for(i=0; i<3; i++){
    for(j=0; j<3; j++){
      scanf("%d", &c[i][j]);
    }
    if(c[i][0]>c[i][1]){
      if(c[i][1]>c[i][2]) min[i] = c[i][2];
      else min[i] = c[i][1];
    } else {
      if(c[i][0]>c[i][2]) min[i] = c[i][2];
      else min[i] = c[i][0];
    }
  }



  for(i=0; i<3; i++){
    for(j=0; j<3; j++){
      c[i][j] -= min[i];
    }
  }

  for(j=0; j<3; j++){
    if(c[0][j]!=c[1][j] || c[0][j]!=c[2][j]){
      printf("No\n");
      exit(0);
    }
  }

  printf("Yes\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>
#include <stdlib.h>

int main(void){
  int c[3][3];
  int i, j;

  int min[3];

  for(i=0; i<3; i++){
    for(j=0; j<3; j++){
      scanf("%d", &c[i][j]);
    }
    if(c[i][0]>c[i][1]){
      if(c[i][1]>c[i][2]) min[i] = c[i][2];
      else min[i] = c[i][1];
    } else {
      if(c[i][0]>c[i][2]) min[i] = c[i][2];
      else min[i] = c[i][0];
    }
  }



  for(i=0; i<3; i++){
    for(j=0; j<3; j++){
      c[i][j] -= min[i];
    }
  }

  for(j=0; j<3; j++){
    if(c[0][j]!=c[1][j] || c[0][j]!=c[2][j]){
      printf("No\n");
      exit(0);
    }
  }

  printf("Yes\n");

  return (0);
}
```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"No"
.LC2:
	.string	"Yes"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.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
	movl	$0, -68(%rbp)
	jmp	.L2
.L9:
	movl	$0, -64(%rbp)
	jmp	.L3
.L4:
	leaq	-48(%rbp), %rcx
	movl	-64(%rbp), %eax
	movslq	%eax, %rsi
	movl	-68(%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, -64(%rbp)
.L3:
	cmpl	$2, -64(%rbp)
	jle	.L4
	movl	-68(%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	-68(%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
	cmpl	%eax, %ecx
	jle	.L5
	movl	-68(%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	-68(%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
	cmpl	%eax, %ecx
	jle	.L6
	movl	-68(%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), %edx
	movl	-68(%rbp), %eax
	cltq
	movl	%edx, -60(%rbp,%rax,4)
	jmp	.L7
.L6:
	movl	-68(%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	-68(%rbp), %eax
	cltq
	movl	%edx, -60(%rbp,%rax,4)
	jmp	.L7
.L5:
	movl	-68(%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	-68(%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
	cmpl	%eax, %ecx
	jle	.L8
	movl	-68(%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), %edx
	movl	-68(%rbp), %eax
	cltq
	movl	%edx, -60(%rbp,%rax,4)
	jmp	.L7
.L8:
	movl	-68(%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	-68(%rbp), %eax
	cltq
	movl	%edx, -60(%rbp,%rax,4)
.L7:
	addl	$1, -68(%rbp)
.L2:
	cmpl	$2, -68(%rbp)
	jle	.L9
	movl	$0, -68(%rbp)
	jmp	.L10
.L13:
	movl	$0, -64(%rbp)
	jmp	.L11
.L12:
	movl	-64(%rbp), %eax
	movslq	%eax, %rcx
	movl	-68(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	addq	%rcx, %rax
	movl	-48(%rbp,%rax,4), %edx
	movl	-68(%rbp), %eax
	cltq
	movl	-60(%rbp,%rax,4), %eax
	movl	%edx, %ecx
	subl	%eax, %ecx
	movl	-64(%rbp), %eax
	movslq	%eax, %rsi
	movl	-68(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	addq	%rsi, %rax
	movl	%ecx, -48(%rbp,%rax,4)
	addl	$1, -64(%rbp)
.L11:
	cmpl	$2, -64(%rbp)
	jle	.L12
	addl	$1, -68(%rbp)
.L10:
	cmpl	$2, -68(%rbp)
	jle	.L13
	movl	$0, -64(%rbp)
	jmp	.L14
.L17:
	movl	-64(%rbp), %eax
	cltq
	movl	-48(%rbp,%rax,4), %edx
	movl	-64(%rbp), %eax
	cltq
	addq	$3, %rax
	movl	-48(%rbp,%rax,4), %eax
	cmpl	%eax, %edx
	jne	.L15
	movl	-64(%rbp), %eax
	cltq
	movl	-48(%rbp,%rax,4), %edx
	movl	-64(%rbp), %eax
	cltq
	addq	$6, %rax
	movl	-48(%rbp,%rax,4), %eax
	cmpl	%eax, %edx
	je	.L16
.L15:
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	movl	$0, %edi
	call	exit@PLT
.L16:
	addl	$1, -64(%rbp)
.L14:
	cmpl	$2, -64(%rbp)
	jle	.L17
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L19
	call	__stack_chk_fail@PLT
.L19:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.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	"No"
.LC2:
	.string	"Yes"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.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
	movl	$0, -68(%rbp)
	jmp	.L2
.L9:
	movl	$0, -64(%rbp)
	jmp	.L3
.L4:
	leaq	-48(%rbp), %rcx
	movl	-64(%rbp), %eax
	movslq	%eax, %rsi
	movl	-68(%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, -64(%rbp)
.L3:
	cmpl	$2, -64(%rbp)
	jle	.L4
	movl	-68(%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	-68(%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
	cmpl	%eax, %ecx
	jle	.L5
	movl	-68(%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	-68(%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
	cmpl	%eax, %ecx
	jle	.L6
	movl	-68(%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), %edx
	movl	-68(%rbp), %eax
	cltq
	movl	%edx, -60(%rbp,%rax,4)
	jmp	.L7
.L6:
	movl	-68(%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	-68(%rbp), %eax
	cltq
	movl	%edx, -60(%rbp,%rax,4)
	jmp	.L7
.L5:
	movl	-68(%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	-68(%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
	cmpl	%eax, %ecx
	jle	.L8
	movl	-68(%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), %edx
	movl	-68(%rbp), %eax
	cltq
	movl	%edx, -60(%rbp,%rax,4)
	jmp	.L7
.L8:
	movl	-68(%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	-68(%rbp), %eax
	cltq
	movl	%edx, -60(%rbp,%rax,4)
.L7:
	addl	$1, -68(%rbp)
.L2:
	cmpl	$2, -68(%rbp)
	jle	.L9
	movl	$0, -68(%rbp)
	jmp	.L10
.L13:
	movl	$0, -64(%rbp)
	jmp	.L11
.L12:
	movl	-64(%rbp), %eax
	movslq	%eax, %rcx
	movl	-68(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	addq	%rcx, %rax
	movl	-48(%rbp,%rax,4), %edx
	movl	-68(%rbp), %eax
	cltq
	movl	-60(%rbp,%rax,4), %eax
	movl	%edx, %ecx
	subl	%eax, %ecx
	movl	-64(%rbp), %eax
	movslq	%eax, %rsi
	movl	-68(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	addq	%rsi, %rax
	movl	%ecx, -48(%rbp,%rax,4)
	addl	$1, -64(%rbp)
.L11:
	cmpl	$2, -64(%rbp)
	jle	.L12
	addl	$1, -68(%rbp)
.L10:
	cmpl	$2, -68(%rbp)
	jle	.L13
	movl	$0, -64(%rbp)
	jmp	.L14
.L17:
	movl	-64(%rbp), %eax
	cltq
	movl	-48(%rbp,%rax,4), %edx
	movl	-64(%rbp), %eax
	cltq
	addq	$3, %rax
	movl	-48(%rbp,%rax,4), %eax
	cmpl	%eax, %edx
	jne	.L15
	movl	-64(%rbp), %eax
	cltq
	movl	-48(%rbp,%rax,4), %edx
	movl	-64(%rbp), %eax
	cltq
	addq	$6, %rax
	movl	-48(%rbp,%rax,4), %eax
	cmpl	%eax, %edx
	je	.L16
.L15:
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	movl	$0, %edi
	call	exit@PLT
.L16:
	addl	$1, -64(%rbp)
.L14:
	cmpl	$2, -64(%rbp)
	jle	.L17
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L19
	call	__stack_chk_fail@PLT
.L19:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.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:
