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 dice[2][6];
  int vector[3][4]={{0,2,5,3},{0,1,5,4},{1,2,4,3}};
  int i,j,k,l,m,c;
  for(i=0;i<2;i++)
  {
    for(j=0;j<6;j++)
    {
      scanf("%d",&dice[i][j]);
    }
  }
  for(i=0;i<2;i++)
  {
    for(j=0;j<4;j++)
    {
      int temp = dice[1][vector[i][0]];
      for(k=0;k<3;k++)
      {
	dice[1][vector[i][k]] = dice[1][vector[i][k+1]];
      }
      dice[1][vector[i][3]] = temp;
      c = 0;
      for(k=0;k<6;k++)
      {
	if(dice[0][k]==dice[1][k])c++;
      }
      if(c==6)break;
      for(m=0;m<3;m++){
	for(k=0;k<4;k++)
	{
	  int temp = dice[1][vector[m][0]];
	  for(l=0;l<3;l++)
	  {
	    dice[1][vector[m][l]] = dice[1][vector[m][l+1]];
	  }
	  dice[1][vector[m][3]] = temp;
	  c=0;
	  for(l=0;l<6;l++)
	  {
	    if(dice[0][l]==dice[1][l])c++;
	  }
	  if(c==6)break;
	}
	if(c==6)break;
      }
      if(c==6)break;
    }
    if(c==6)break;
  }
  if(c==6)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	$144, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movl	$0, -64(%rbp)
	movl	$2, -60(%rbp)
	movl	$5, -56(%rbp)
	movl	$3, -52(%rbp)
	movl	$0, -48(%rbp)
	movl	$1, -44(%rbp)
	movl	$5, -40(%rbp)
	movl	$4, -36(%rbp)
	movl	$1, -32(%rbp)
	movl	$2, -28(%rbp)
	movl	$4, -24(%rbp)
	movl	$3, -20(%rbp)
	movl	$0, -144(%rbp)
	jmp	.L2
.L5:
	movl	$0, -140(%rbp)
	jmp	.L3
.L4:
	leaq	-112(%rbp), %rcx
	movl	-140(%rbp), %eax
	movslq	%eax, %rsi
	movl	-144(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	addq	%rax, %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, -140(%rbp)
.L3:
	cmpl	$5, -140(%rbp)
	jle	.L4
	addl	$1, -144(%rbp)
.L2:
	cmpl	$1, -144(%rbp)
	jle	.L5
	movl	$0, -144(%rbp)
	jmp	.L6
.L32:
	movl	$0, -140(%rbp)
	jmp	.L7
.L29:
	movl	-144(%rbp), %eax
	cltq
	salq	$4, %rax
	addq	%rbp, %rax
	subq	$64, %rax
	movl	(%rax), %eax
	cltq
	addq	$6, %rax
	movl	-112(%rbp,%rax,4), %eax
	movl	%eax, -120(%rbp)
	movl	$0, -136(%rbp)
	jmp	.L8
.L9:
	movl	-136(%rbp), %eax
	addl	$1, %eax
	movslq	%eax, %rdx
	movl	-144(%rbp), %eax
	cltq
	salq	$2, %rax
	addq	%rdx, %rax
	movl	-64(%rbp,%rax,4), %eax
	movl	-136(%rbp), %edx
	movslq	%edx, %rcx
	movl	-144(%rbp), %edx
	movslq	%edx, %rdx
	salq	$2, %rdx
	addq	%rcx, %rdx
	movl	-64(%rbp,%rdx,4), %edx
	cltq
	addq	$6, %rax
	movl	-112(%rbp,%rax,4), %eax
	movslq	%edx, %rdx
	addq	$6, %rdx
	movl	%eax, -112(%rbp,%rdx,4)
	addl	$1, -136(%rbp)
.L8:
	cmpl	$2, -136(%rbp)
	jle	.L9
	movl	-144(%rbp), %eax
	cltq
	salq	$4, %rax
	addq	%rbp, %rax
	subq	$52, %rax
	movl	(%rax), %eax
	cltq
	leaq	6(%rax), %rdx
	movl	-120(%rbp), %eax
	movl	%eax, -112(%rbp,%rdx,4)
	movl	$0, -124(%rbp)
	movl	$0, -136(%rbp)
	jmp	.L10
.L12:
	movl	-136(%rbp), %eax
	cltq
	movl	-112(%rbp,%rax,4), %edx
	movl	-136(%rbp), %eax
	cltq
	addq	$6, %rax
	movl	-112(%rbp,%rax,4), %eax
	cmpl	%eax, %edx
	jne	.L11
	addl	$1, -124(%rbp)
.L11:
	addl	$1, -136(%rbp)
.L10:
	cmpl	$5, -136(%rbp)
	jle	.L12
	cmpl	$6, -124(%rbp)
	je	.L37
	movl	$0, -128(%rbp)
	jmp	.L15
.L27:
	movl	$0, -136(%rbp)
	jmp	.L16
.L24:
	movl	-128(%rbp), %eax
	cltq
	salq	$4, %rax
	addq	%rbp, %rax
	subq	$64, %rax
	movl	(%rax), %eax
	cltq
	addq	$6, %rax
	movl	-112(%rbp,%rax,4), %eax
	movl	%eax, -116(%rbp)
	movl	$0, -132(%rbp)
	jmp	.L17
.L18:
	movl	-132(%rbp), %eax
	addl	$1, %eax
	movslq	%eax, %rdx
	movl	-128(%rbp), %eax
	cltq
	salq	$2, %rax
	addq	%rdx, %rax
	movl	-64(%rbp,%rax,4), %eax
	movl	-132(%rbp), %edx
	movslq	%edx, %rcx
	movl	-128(%rbp), %edx
	movslq	%edx, %rdx
	salq	$2, %rdx
	addq	%rcx, %rdx
	movl	-64(%rbp,%rdx,4), %edx
	cltq
	addq	$6, %rax
	movl	-112(%rbp,%rax,4), %eax
	movslq	%edx, %rdx
	addq	$6, %rdx
	movl	%eax, -112(%rbp,%rdx,4)
	addl	$1, -132(%rbp)
.L17:
	cmpl	$2, -132(%rbp)
	jle	.L18
	movl	-128(%rbp), %eax
	cltq
	salq	$4, %rax
	addq	%rbp, %rax
	subq	$52, %rax
	movl	(%rax), %eax
	cltq
	leaq	6(%rax), %rdx
	movl	-116(%rbp), %eax
	movl	%eax, -112(%rbp,%rdx,4)
	movl	$0, -124(%rbp)
	movl	$0, -132(%rbp)
	jmp	.L19
.L21:
	movl	-132(%rbp), %eax
	cltq
	movl	-112(%rbp,%rax,4), %edx
	movl	-132(%rbp), %eax
	cltq
	addq	$6, %rax
	movl	-112(%rbp,%rax,4), %eax
	cmpl	%eax, %edx
	jne	.L20
	addl	$1, -124(%rbp)
.L20:
	addl	$1, -132(%rbp)
.L19:
	cmpl	$5, -132(%rbp)
	jle	.L21
	cmpl	$6, -124(%rbp)
	je	.L38
	addl	$1, -136(%rbp)
.L16:
	cmpl	$3, -136(%rbp)
	jle	.L24
	jmp	.L23
.L38:
	nop
.L23:
	cmpl	$6, -124(%rbp)
	je	.L39
	addl	$1, -128(%rbp)
.L15:
	cmpl	$2, -128(%rbp)
	jle	.L27
	jmp	.L26
.L39:
	nop
.L26:
	cmpl	$6, -124(%rbp)
	je	.L40
	addl	$1, -140(%rbp)
.L7:
	cmpl	$3, -140(%rbp)
	jle	.L29
	jmp	.L14
.L37:
	nop
	jmp	.L14
.L40:
	nop
.L14:
	cmpl	$6, -124(%rbp)
	je	.L41
	addl	$1, -144(%rbp)
.L6:
	cmpl	$1, -144(%rbp)
	jle	.L32
	jmp	.L31
.L41:
	nop
.L31:
	cmpl	$6, -124(%rbp)
	jne	.L33
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	jmp	.L34
.L33:
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
.L34:
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L36
	call	__stack_chk_fail@PLT
.L36:
	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
.LC3:
	.string	"%d"
.LC4:
	.string	"No"
.LC5:
	.string	"Yes"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	leaq	.LC3(%rip), %r12
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$184, %rsp
	.cfi_def_cfa_offset 240
	movdqa	.LC0(%rip), %xmm0
	movq	%fs:40, %rax
	movq	%rax, 168(%rsp)
	xorl	%eax, %eax
	leaq	64(%rsp), %r13
	leaq	88(%rsp), %rbx
	movaps	%xmm0, 112(%rsp)
	movdqa	.LC1(%rip), %xmm0
	movq	%r13, %rbp
	movaps	%xmm0, 128(%rsp)
	movdqa	.LC2(%rip), %xmm0
	movaps	%xmm0, 144(%rsp)
	.p2align 4,,10
	.p2align 3
.L2:
	movq	%rbp, %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	addq	$4, %rbp
	call	__isoc99_scanf@PLT
	cmpq	%rbp, %rbx
	jne	.L2
	addq	$48, %r13
	.p2align 4,,10
	.p2align 3
.L3:
	movq	%rbx, %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	addq	$4, %rbx
	call	__isoc99_scanf@PLT
	cmpq	%rbx, %r13
	jne	.L3
	movl	84(%rsp), %eax
	leaq	144(%rsp), %rsi
	movl	64(%rsp), %r9d
	movl	68(%rsp), %r8d
	movl	72(%rsp), %ebp
	movq	%rsi, 56(%rsp)
	movl	76(%rsp), %ebx
	movl	80(%rsp), %r14d
	movl	%eax, 40(%rsp)
	leaq	112(%rsp), %rax
	movq	%rax, 48(%rsp)
	movq	%rax, 16(%rsp)
	leaq	160(%rsp), %rax
	movq	%rax, (%rsp)
.L30:
	movq	16(%rsp), %rax
	movl	$4, 44(%rsp)
	movslq	(%rax), %rdx
	movslq	4(%rax), %r13
	movslq	8(%rax), %r12
	movslq	12(%rax), %rax
	leaq	6(%rdx), %rsi
	addq	$6, %r13
	addq	$6, %rax
	movq	%rsi, 24(%rsp)
	addq	$6, %r12
	movq	%rax, 32(%rsp)
.L28:
	movl	64(%rsp,%r13,4), %edx
	movq	24(%rsp), %rdi
	movq	32(%rsp), %rcx
	movl	64(%rsp,%rdi,4), %eax
	movl	%edx, 64(%rsp,%rdi,4)
	movl	64(%rsp,%r12,4), %edx
	movl	%edx, 64(%rsp,%r13,4)
	movl	64(%rsp,%rcx,4), %edx
	movl	%edx, 64(%rsp,%r12,4)
	movl	%eax, 64(%rsp,%rcx,4)
	xorl	%eax, %eax
	cmpl	%r9d, 88(%rsp)
	sete	%al
	xorl	%edx, %edx
	cmpl	92(%rsp), %r8d
	sete	%dl
	addl	%edx, %eax
	xorl	%edx, %edx
	cmpl	96(%rsp), %ebp
	sete	%dl
	addl	%edx, %eax
	xorl	%edx, %edx
	cmpl	100(%rsp), %ebx
	sete	%dl
	addl	%edx, %eax
	movl	108(%rsp), %edx
	cmpl	104(%rsp), %r14d
	je	.L62
.L8:
	movq	%r12, 8(%rsp)
	movq	48(%rsp), %rdi
.L10:
	movslq	4(%rdi), %rcx
	movslq	(%rdi), %rsi
	leaq	6(%rcx), %rax
	leaq	6(%rsi), %rdx
	movl	64(%rsp,%rax,4), %r10d
	movl	64(%rsp,%rdx,4), %r15d
	movl	%r10d, 64(%rsp,%rdx,4)
	movslq	8(%rdi), %rdx
	leaq	6(%rdx), %r11
	movl	64(%rsp,%r11,4), %r10d
	movl	%r10d, 64(%rsp,%rax,4)
	movslq	12(%rdi), %rax
	leaq	6(%rax), %r10
	movl	64(%rsp,%r10,4), %r12d
	movl	%r12d, 64(%rsp,%r11,4)
	movl	%r15d, 64(%rsp,%r10,4)
	xorl	%r10d, %r10d
	cmpl	%r9d, 88(%rsp)
	sete	%r10b
	xorl	%r11d, %r11d
	cmpl	92(%rsp), %r8d
	sete	%r11b
	addl	%r11d, %r10d
	xorl	%r11d, %r11d
	cmpl	96(%rsp), %ebp
	sete	%r11b
	addl	%r11d, %r10d
	xorl	%r11d, %r11d
	cmpl	100(%rsp), %ebx
	sete	%r11b
	addl	%r11d, %r10d
	movl	108(%rsp), %r11d
	cmpl	104(%rsp), %r14d
	je	.L63
.L15:
	leaq	6(%rcx), %r10
	leaq	6(%rsi), %r11
	movl	64(%rsp,%r10,4), %r12d
	movl	64(%rsp,%r11,4), %r15d
	movl	%r12d, 64(%rsp,%r11,4)
	leaq	6(%rdx), %r11
	movl	64(%rsp,%r11,4), %r12d
	movl	%r12d, 64(%rsp,%r10,4)
	leaq	6(%rax), %r10
	movl	64(%rsp,%r10,4), %r12d
	movl	%r12d, 64(%rsp,%r11,4)
	movl	%r15d, 64(%rsp,%r10,4)
	xorl	%r10d, %r10d
	cmpl	%r9d, 88(%rsp)
	sete	%r10b
	xorl	%r11d, %r11d
	cmpl	92(%rsp), %r8d
	sete	%r11b
	addl	%r11d, %r10d
	xorl	%r11d, %r11d
	cmpl	96(%rsp), %ebp
	sete	%r11b
	addl	%r11d, %r10d
	xorl	%r11d, %r11d
	cmpl	100(%rsp), %ebx
	sete	%r11b
	addl	%r11d, %r10d
	movl	108(%rsp), %r11d
	cmpl	104(%rsp), %r14d
	je	.L64
.L19:
	leaq	6(%rcx), %r10
	leaq	6(%rsi), %r11
	movl	64(%rsp,%r10,4), %r12d
	movl	64(%rsp,%r11,4), %r15d
	movl	%r12d, 64(%rsp,%r11,4)
	leaq	6(%rdx), %r11
	movl	64(%rsp,%r11,4), %r12d
	movl	%r12d, 64(%rsp,%r10,4)
	leaq	6(%rax), %r10
	movl	64(%rsp,%r10,4), %r12d
	movl	%r12d, 64(%rsp,%r11,4)
	movl	%r15d, 64(%rsp,%r10,4)
	xorl	%r10d, %r10d
	cmpl	%r9d, 88(%rsp)
	sete	%r10b
	xorl	%r11d, %r11d
	cmpl	92(%rsp), %r8d
	sete	%r11b
	addl	%r11d, %r10d
	xorl	%r11d, %r11d
	cmpl	96(%rsp), %ebp
	sete	%r11b
	addl	%r11d, %r10d
	xorl	%r11d, %r11d
	cmpl	100(%rsp), %ebx
	sete	%r11b
	addl	%r11d, %r10d
	movl	108(%rsp), %r11d
	cmpl	104(%rsp), %r14d
	je	.L65
.L23:
	addq	$6, %rcx
	addq	$6, %rsi
	addq	$6, %rdx
	addq	$6, %rax
	movl	64(%rsp,%rcx,4), %r11d
	movl	64(%rsp,%rsi,4), %r10d
	movl	%r11d, 64(%rsp,%rsi,4)
	movl	64(%rsp,%rdx,4), %esi
	movl	%esi, 64(%rsp,%rcx,4)
	movl	64(%rsp,%rax,4), %ecx
	movl	%ecx, 64(%rsp,%rdx,4)
	movl	%r10d, 64(%rsp,%rax,4)
	xorl	%eax, %eax
	cmpl	%r9d, 88(%rsp)
	sete	%al
	xorl	%edx, %edx
	cmpl	92(%rsp), %r8d
	sete	%dl
	addl	%edx, %eax
	xorl	%edx, %edx
	cmpl	96(%rsp), %ebp
	sete	%dl
	addl	%edx, %eax
	xorl	%edx, %edx
	cmpl	100(%rsp), %ebx
	sete	%dl
	addl	%edx, %eax
	movl	108(%rsp), %edx
	cmpl	104(%rsp), %r14d
	je	.L66
.L27:
	addq	$16, %rdi
	cmpq	%rdi, (%rsp)
	jne	.L10
	subl	$1, 44(%rsp)
	movq	8(%rsp), %r12
	jne	.L28
	addq	$16, 16(%rsp)
	movq	16(%rsp), %rax
	cmpq	%rax, 56(%rsp)
	jne	.L30
	leaq	.LC4(%rip), %rdi
	call	puts@PLT
	.p2align 4,,10
	.p2align 3
.L29:
	movq	168(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L67
	addq	$184, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L63:
	.cfi_restore_state
	cmpl	%r11d, 40(%rsp)
	jne	.L15
	cmpl	$4, %r10d
	jne	.L15
.L9:
	leaq	.LC5(%rip), %rdi
	call	puts@PLT
	jmp	.L29
	.p2align 4,,10
	.p2align 3
.L64:
	cmpl	%r11d, 40(%rsp)
	jne	.L19
	cmpl	$4, %r10d
	jne	.L19
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L65:
	cmpl	%r11d, 40(%rsp)
	jne	.L23
	cmpl	$4, %r10d
	jne	.L23
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L66:
	cmpl	%edx, 40(%rsp)
	jne	.L27
	cmpl	$4, %eax
	jne	.L27
	jmp	.L9
.L62:
	cmpl	%edx, 40(%rsp)
	jne	.L8
	cmpl	$4, %eax
	jne	.L8
	jmp	.L9
.L67:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.section	.rodata.cst16,"aM",@progbits,16
	.align 16
.LC0:
	.long	0
	.long	2
	.long	5
	.long	3
	.align 16
.LC1:
	.long	0
	.long	1
	.long	5
	.long	4
	.align 16
.LC2:
	.long	1
	.long	2
	.long	4
	.long	3
	.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
.LC3:
	.string	"%d"
.LC4:
	.string	"No"
.LC5:
	.string	"Yes"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	leaq	.LC3(%rip), %r12
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$184, %rsp
	.cfi_def_cfa_offset 240
	movdqa	.LC0(%rip), %xmm0
	movq	%fs:40, %rax
	movq	%rax, 168(%rsp)
	xorl	%eax, %eax
	leaq	64(%rsp), %r13
	leaq	88(%rsp), %rbx
	movaps	%xmm0, 112(%rsp)
	movdqa	.LC1(%rip), %xmm0
	movq	%r13, %rbp
	movaps	%xmm0, 128(%rsp)
	movdqa	.LC2(%rip), %xmm0
	movaps	%xmm0, 144(%rsp)
	.p2align 4,,10
	.p2align 3
.L2:
	movq	%rbp, %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	addq	$4, %rbp
	call	__isoc99_scanf@PLT
	cmpq	%rbp, %rbx
	jne	.L2
	addq	$48, %r13
	.p2align 4,,10
	.p2align 3
.L3:
	movq	%rbx, %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	addq	$4, %rbx
	call	__isoc99_scanf@PLT
	cmpq	%rbx, %r13
	jne	.L3
	movl	84(%rsp), %eax
	leaq	144(%rsp), %rsi
	movl	64(%rsp), %r9d
	movl	68(%rsp), %r8d
	movl	72(%rsp), %ebp
	movq	%rsi, 56(%rsp)
	movl	76(%rsp), %ebx
	movl	80(%rsp), %r14d
	movl	%eax, 40(%rsp)
	leaq	112(%rsp), %rax
	movq	%rax, 48(%rsp)
	movq	%rax, 16(%rsp)
	leaq	160(%rsp), %rax
	movq	%rax, (%rsp)
.L30:
	movq	16(%rsp), %rax
	movl	$4, 44(%rsp)
	movslq	(%rax), %rdx
	movslq	4(%rax), %r13
	movslq	8(%rax), %r12
	movslq	12(%rax), %rax
	leaq	6(%rdx), %rsi
	addq	$6, %r13
	addq	$6, %rax
	movq	%rsi, 24(%rsp)
	addq	$6, %r12
	movq	%rax, 32(%rsp)
.L28:
	movl	64(%rsp,%r13,4), %edx
	movq	24(%rsp), %rdi
	movq	32(%rsp), %rcx
	movl	64(%rsp,%rdi,4), %eax
	movl	%edx, 64(%rsp,%rdi,4)
	movl	64(%rsp,%r12,4), %edx
	movl	%edx, 64(%rsp,%r13,4)
	movl	64(%rsp,%rcx,4), %edx
	movl	%edx, 64(%rsp,%r12,4)
	movl	%eax, 64(%rsp,%rcx,4)
	xorl	%eax, %eax
	cmpl	%r9d, 88(%rsp)
	sete	%al
	xorl	%edx, %edx
	cmpl	92(%rsp), %r8d
	sete	%dl
	addl	%edx, %eax
	xorl	%edx, %edx
	cmpl	96(%rsp), %ebp
	sete	%dl
	addl	%edx, %eax
	xorl	%edx, %edx
	cmpl	100(%rsp), %ebx
	sete	%dl
	addl	%edx, %eax
	movl	108(%rsp), %edx
	cmpl	104(%rsp), %r14d
	je	.L62
.L8:
	movq	%r12, 8(%rsp)
	movq	48(%rsp), %rdi
.L10:
	movslq	4(%rdi), %rcx
	movslq	(%rdi), %rsi
	leaq	6(%rcx), %rax
	leaq	6(%rsi), %rdx
	movl	64(%rsp,%rax,4), %r10d
	movl	64(%rsp,%rdx,4), %r15d
	movl	%r10d, 64(%rsp,%rdx,4)
	movslq	8(%rdi), %rdx
	leaq	6(%rdx), %r11
	movl	64(%rsp,%r11,4), %r10d
	movl	%r10d, 64(%rsp,%rax,4)
	movslq	12(%rdi), %rax
	leaq	6(%rax), %r10
	movl	64(%rsp,%r10,4), %r12d
	movl	%r12d, 64(%rsp,%r11,4)
	movl	%r15d, 64(%rsp,%r10,4)
	xorl	%r10d, %r10d
	cmpl	%r9d, 88(%rsp)
	sete	%r10b
	xorl	%r11d, %r11d
	cmpl	92(%rsp), %r8d
	sete	%r11b
	addl	%r11d, %r10d
	xorl	%r11d, %r11d
	cmpl	96(%rsp), %ebp
	sete	%r11b
	addl	%r11d, %r10d
	xorl	%r11d, %r11d
	cmpl	100(%rsp), %ebx
	sete	%r11b
	addl	%r11d, %r10d
	movl	108(%rsp), %r11d
	cmpl	104(%rsp), %r14d
	je	.L63
.L15:
	leaq	6(%rcx), %r10
	leaq	6(%rsi), %r11
	movl	64(%rsp,%r10,4), %r12d
	movl	64(%rsp,%r11,4), %r15d
	movl	%r12d, 64(%rsp,%r11,4)
	leaq	6(%rdx), %r11
	movl	64(%rsp,%r11,4), %r12d
	movl	%r12d, 64(%rsp,%r10,4)
	leaq	6(%rax), %r10
	movl	64(%rsp,%r10,4), %r12d
	movl	%r12d, 64(%rsp,%r11,4)
	movl	%r15d, 64(%rsp,%r10,4)
	xorl	%r10d, %r10d
	cmpl	%r9d, 88(%rsp)
	sete	%r10b
	xorl	%r11d, %r11d
	cmpl	92(%rsp), %r8d
	sete	%r11b
	addl	%r11d, %r10d
	xorl	%r11d, %r11d
	cmpl	96(%rsp), %ebp
	sete	%r11b
	addl	%r11d, %r10d
	xorl	%r11d, %r11d
	cmpl	100(%rsp), %ebx
	sete	%r11b
	addl	%r11d, %r10d
	movl	108(%rsp), %r11d
	cmpl	104(%rsp), %r14d
	je	.L64
.L19:
	leaq	6(%rcx), %r10
	leaq	6(%rsi), %r11
	movl	64(%rsp,%r10,4), %r12d
	movl	64(%rsp,%r11,4), %r15d
	movl	%r12d, 64(%rsp,%r11,4)
	leaq	6(%rdx), %r11
	movl	64(%rsp,%r11,4), %r12d
	movl	%r12d, 64(%rsp,%r10,4)
	leaq	6(%rax), %r10
	movl	64(%rsp,%r10,4), %r12d
	movl	%r12d, 64(%rsp,%r11,4)
	movl	%r15d, 64(%rsp,%r10,4)
	xorl	%r10d, %r10d
	cmpl	%r9d, 88(%rsp)
	sete	%r10b
	xorl	%r11d, %r11d
	cmpl	92(%rsp), %r8d
	sete	%r11b
	addl	%r11d, %r10d
	xorl	%r11d, %r11d
	cmpl	96(%rsp), %ebp
	sete	%r11b
	addl	%r11d, %r10d
	xorl	%r11d, %r11d
	cmpl	100(%rsp), %ebx
	sete	%r11b
	addl	%r11d, %r10d
	movl	108(%rsp), %r11d
	cmpl	104(%rsp), %r14d
	je	.L65
.L23:
	addq	$6, %rcx
	addq	$6, %rsi
	addq	$6, %rdx
	addq	$6, %rax
	movl	64(%rsp,%rcx,4), %r11d
	movl	64(%rsp,%rsi,4), %r10d
	movl	%r11d, 64(%rsp,%rsi,4)
	movl	64(%rsp,%rdx,4), %esi
	movl	%esi, 64(%rsp,%rcx,4)
	movl	64(%rsp,%rax,4), %ecx
	movl	%ecx, 64(%rsp,%rdx,4)
	movl	%r10d, 64(%rsp,%rax,4)
	xorl	%eax, %eax
	cmpl	%r9d, 88(%rsp)
	sete	%al
	xorl	%edx, %edx
	cmpl	92(%rsp), %r8d
	sete	%dl
	addl	%edx, %eax
	xorl	%edx, %edx
	cmpl	96(%rsp), %ebp
	sete	%dl
	addl	%edx, %eax
	xorl	%edx, %edx
	cmpl	100(%rsp), %ebx
	sete	%dl
	addl	%edx, %eax
	movl	108(%rsp), %edx
	cmpl	104(%rsp), %r14d
	je	.L66
.L27:
	addq	$16, %rdi
	cmpq	%rdi, (%rsp)
	jne	.L10
	subl	$1, 44(%rsp)
	movq	8(%rsp), %r12
	jne	.L28
	addq	$16, 16(%rsp)
	movq	16(%rsp), %rax
	cmpq	%rax, 56(%rsp)
	jne	.L30
	leaq	.LC4(%rip), %rdi
	call	puts@PLT
	.p2align 4,,10
	.p2align 3
.L29:
	movq	168(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L67
	addq	$184, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L63:
	.cfi_restore_state
	cmpl	%r11d, 40(%rsp)
	jne	.L15
	cmpl	$4, %r10d
	jne	.L15
.L9:
	leaq	.LC5(%rip), %rdi
	call	puts@PLT
	jmp	.L29
	.p2align 4,,10
	.p2align 3
.L64:
	cmpl	%r11d, 40(%rsp)
	jne	.L19
	cmpl	$4, %r10d
	jne	.L19
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L65:
	cmpl	%r11d, 40(%rsp)
	jne	.L23
	cmpl	$4, %r10d
	jne	.L23
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L66:
	cmpl	%edx, 40(%rsp)
	jne	.L27
	cmpl	$4, %eax
	jne	.L27
	jmp	.L9
.L62:
	cmpl	%edx, 40(%rsp)
	jne	.L8
	cmpl	$4, %eax
	jne	.L8
	jmp	.L9
.L67:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.section	.rodata.cst16,"aM",@progbits,16
	.align 16
.LC0:
	.long	0
	.long	2
	.long	5
	.long	3
	.align 16
.LC1:
	.long	0
	.long	1
	.long	5
	.long	4
	.align 16
.LC2:
	.long	1
	.long	2
	.long	4
	.long	3
	.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 dice[2][6];
  int vector[3][4]={{0,2,5,3},{0,1,5,4},{1,2,4,3}};
  int i,j,k,l,m,c;
  for(i=0;i<2;i++)
  {
    for(j=0;j<6;j++)
    {
      scanf("%d",&dice[i][j]);
    }
  }
  for(i=0;i<2;i++)
  {
    for(j=0;j<4;j++)
    {
      int temp = dice[1][vector[i][0]];
      for(k=0;k<3;k++)
      {
	dice[1][vector[i][k]] = dice[1][vector[i][k+1]];
      }
      dice[1][vector[i][3]] = temp;
      c = 0;
      for(k=0;k<6;k++)
      {
	if(dice[0][k]==dice[1][k])c++;
      }
      if(c==6)break;
      for(m=0;m<3;m++){
	for(k=0;k<4;k++)
	{
	  int temp = dice[1][vector[m][0]];
	  for(l=0;l<3;l++)
	  {
	    dice[1][vector[m][l]] = dice[1][vector[m][l+1]];
	  }
	  dice[1][vector[m][3]] = temp;
	  c=0;
	  for(l=0;l<6;l++)
	  {
	    if(dice[0][l]==dice[1][l])c++;
	  }
	  if(c==6)break;
	}
	if(c==6)break;
      }
      if(c==6)break;
    }
    if(c==6)break;
  }
  if(c==6)printf("Yes\n");
  else printf("No\n");
  return 0;
}


1 2 3 2 5 6
6 5 4 3 2 1
 1 2 3 2 5 6
6 1 4 3 2 1
 1 2 3 2 5 6
6 0 4 3 2 1
 1 2 3 2 5 6
6 0 4 3 4 1
 1 2 3 2 7 6
6 0 4 3 4 1
 1 2 3 2 7 3
6 0 4 3 4 1
 1 2 2 2 7 6
6 0 4 3 4 1
 1 2 2 2 7 9
6 0 4 3 4 1
 1 2 2 2 7 9
6 0 4 5 4 1
 1 0 2 2 7 9
6 0 4 5 4 1

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 dice[2][6];
  int vector[3][4]={{0,2,5,3},{0,1,5,4},{1,2,4,3}};
  int i,j,k,l,m,c;
  for(i=0;i<2;i++)
  {
    for(j=0;j<6;j++)
    {
      scanf("%d",&dice[i][j]);
    }
  }
  for(i=0;i<2;i++)
  {
    for(j=0;j<4;j++)
    {
      int temp = dice[1][vector[i][0]];
      for(k=0;k<3;k++)
      {
	dice[1][vector[i][k]] = dice[1][vector[i][k+1]];
      }
      dice[1][vector[i][3]] = temp;
      c = 0;
      for(k=0;k<6;k++)
      {
	if(dice[0][k]==dice[1][k])c++;
      }
      if(c==6)break;
      for(m=0;m<3;m++){
	for(k=0;k<4;k++)
	{
	  int temp = dice[1][vector[m][0]];
	  for(l=0;l<3;l++)
	  {
	    dice[1][vector[m][l]] = dice[1][vector[m][l+1]];
	  }
	  dice[1][vector[m][3]] = temp;
	  c=0;
	  for(l=0;l<6;l++)
	  {
	    if(dice[0][l]==dice[1][l])c++;
	  }
	  if(c==6)break;
	}
	if(c==6)break;
      }
      if(c==6)break;
    }
    if(c==6)break;
  }
  if(c==6)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	$144, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movl	$0, -64(%rbp)
	movl	$2, -60(%rbp)
	movl	$5, -56(%rbp)
	movl	$3, -52(%rbp)
	movl	$0, -48(%rbp)
	movl	$1, -44(%rbp)
	movl	$5, -40(%rbp)
	movl	$4, -36(%rbp)
	movl	$1, -32(%rbp)
	movl	$2, -28(%rbp)
	movl	$4, -24(%rbp)
	movl	$3, -20(%rbp)
	movl	$0, -144(%rbp)
	jmp	.L2
.L5:
	movl	$0, -140(%rbp)
	jmp	.L3
.L4:
	leaq	-112(%rbp), %rcx
	movl	-140(%rbp), %eax
	movslq	%eax, %rsi
	movl	-144(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	addq	%rax, %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, -140(%rbp)
.L3:
	cmpl	$5, -140(%rbp)
	jle	.L4
	addl	$1, -144(%rbp)
.L2:
	cmpl	$1, -144(%rbp)
	jle	.L5
	movl	$0, -144(%rbp)
	jmp	.L6
.L32:
	movl	$0, -140(%rbp)
	jmp	.L7
.L29:
	movl	-144(%rbp), %eax
	cltq
	salq	$4, %rax
	addq	%rbp, %rax
	subq	$64, %rax
	movl	(%rax), %eax
	cltq
	addq	$6, %rax
	movl	-112(%rbp,%rax,4), %eax
	movl	%eax, -120(%rbp)
	movl	$0, -136(%rbp)
	jmp	.L8
.L9:
	movl	-136(%rbp), %eax
	addl	$1, %eax
	movslq	%eax, %rdx
	movl	-144(%rbp), %eax
	cltq
	salq	$2, %rax
	addq	%rdx, %rax
	movl	-64(%rbp,%rax,4), %eax
	movl	-136(%rbp), %edx
	movslq	%edx, %rcx
	movl	-144(%rbp), %edx
	movslq	%edx, %rdx
	salq	$2, %rdx
	addq	%rcx, %rdx
	movl	-64(%rbp,%rdx,4), %edx
	cltq
	addq	$6, %rax
	movl	-112(%rbp,%rax,4), %eax
	movslq	%edx, %rdx
	addq	$6, %rdx
	movl	%eax, -112(%rbp,%rdx,4)
	addl	$1, -136(%rbp)
.L8:
	cmpl	$2, -136(%rbp)
	jle	.L9
	movl	-144(%rbp), %eax
	cltq
	salq	$4, %rax
	addq	%rbp, %rax
	subq	$52, %rax
	movl	(%rax), %eax
	cltq
	leaq	6(%rax), %rdx
	movl	-120(%rbp), %eax
	movl	%eax, -112(%rbp,%rdx,4)
	movl	$0, -124(%rbp)
	movl	$0, -136(%rbp)
	jmp	.L10
.L12:
	movl	-136(%rbp), %eax
	cltq
	movl	-112(%rbp,%rax,4), %edx
	movl	-136(%rbp), %eax
	cltq
	addq	$6, %rax
	movl	-112(%rbp,%rax,4), %eax
	cmpl	%eax, %edx
	jne	.L11
	addl	$1, -124(%rbp)
.L11:
	addl	$1, -136(%rbp)
.L10:
	cmpl	$5, -136(%rbp)
	jle	.L12
	cmpl	$6, -124(%rbp)
	je	.L37
	movl	$0, -128(%rbp)
	jmp	.L15
.L27:
	movl	$0, -136(%rbp)
	jmp	.L16
.L24:
	movl	-128(%rbp), %eax
	cltq
	salq	$4, %rax
	addq	%rbp, %rax
	subq	$64, %rax
	movl	(%rax), %eax
	cltq
	addq	$6, %rax
	movl	-112(%rbp,%rax,4), %eax
	movl	%eax, -116(%rbp)
	movl	$0, -132(%rbp)
	jmp	.L17
.L18:
	movl	-132(%rbp), %eax
	addl	$1, %eax
	movslq	%eax, %rdx
	movl	-128(%rbp), %eax
	cltq
	salq	$2, %rax
	addq	%rdx, %rax
	movl	-64(%rbp,%rax,4), %eax
	movl	-132(%rbp), %edx
	movslq	%edx, %rcx
	movl	-128(%rbp), %edx
	movslq	%edx, %rdx
	salq	$2, %rdx
	addq	%rcx, %rdx
	movl	-64(%rbp,%rdx,4), %edx
	cltq
	addq	$6, %rax
	movl	-112(%rbp,%rax,4), %eax
	movslq	%edx, %rdx
	addq	$6, %rdx
	movl	%eax, -112(%rbp,%rdx,4)
	addl	$1, -132(%rbp)
.L17:
	cmpl	$2, -132(%rbp)
	jle	.L18
	movl	-128(%rbp), %eax
	cltq
	salq	$4, %rax
	addq	%rbp, %rax
	subq	$52, %rax
	movl	(%rax), %eax
	cltq
	leaq	6(%rax), %rdx
	movl	-116(%rbp), %eax
	movl	%eax, -112(%rbp,%rdx,4)
	movl	$0, -124(%rbp)
	movl	$0, -132(%rbp)
	jmp	.L19
.L21:
	movl	-132(%rbp), %eax
	cltq
	movl	-112(%rbp,%rax,4), %edx
	movl	-132(%rbp), %eax
	cltq
	addq	$6, %rax
	movl	-112(%rbp,%rax,4), %eax
	cmpl	%eax, %edx
	jne	.L20
	addl	$1, -124(%rbp)
.L20:
	addl	$1, -132(%rbp)
.L19:
	cmpl	$5, -132(%rbp)
	jle	.L21
	cmpl	$6, -124(%rbp)
	je	.L38
	addl	$1, -136(%rbp)
.L16:
	cmpl	$3, -136(%rbp)
	jle	.L24
	jmp	.L23
.L38:
	nop
.L23:
	cmpl	$6, -124(%rbp)
	je	.L39
	addl	$1, -128(%rbp)
.L15:
	cmpl	$2, -128(%rbp)
	jle	.L27
	jmp	.L26
.L39:
	nop
.L26:
	cmpl	$6, -124(%rbp)
	je	.L40
	addl	$1, -140(%rbp)
.L7:
	cmpl	$3, -140(%rbp)
	jle	.L29
	jmp	.L14
.L37:
	nop
	jmp	.L14
.L40:
	nop
.L14:
	cmpl	$6, -124(%rbp)
	je	.L41
	addl	$1, -144(%rbp)
.L6:
	cmpl	$1, -144(%rbp)
	jle	.L32
	jmp	.L31
.L41:
	nop
.L31:
	cmpl	$6, -124(%rbp)
	jne	.L33
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	jmp	.L34
.L33:
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
.L34:
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L36
	call	__stack_chk_fail@PLT
.L36:
	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	$144, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movl	$0, -64(%rbp)
	movl	$2, -60(%rbp)
	movl	$5, -56(%rbp)
	movl	$3, -52(%rbp)
	movl	$0, -48(%rbp)
	movl	$1, -44(%rbp)
	movl	$5, -40(%rbp)
	movl	$4, -36(%rbp)
	movl	$1, -32(%rbp)
	movl	$2, -28(%rbp)
	movl	$4, -24(%rbp)
	movl	$3, -20(%rbp)
	movl	$0, -144(%rbp)
	jmp	.L2
.L5:
	movl	$0, -140(%rbp)
	jmp	.L3
.L4:
	leaq	-112(%rbp), %rcx
	movl	-140(%rbp), %eax
	movslq	%eax, %rsi
	movl	-144(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	addq	%rax, %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, -140(%rbp)
.L3:
	cmpl	$5, -140(%rbp)
	jle	.L4
	addl	$1, -144(%rbp)
.L2:
	cmpl	$1, -144(%rbp)
	jle	.L5
	movl	$0, -144(%rbp)
	jmp	.L6
.L32:
	movl	$0, -140(%rbp)
	jmp	.L7
.L29:
	movl	-144(%rbp), %eax
	cltq
	salq	$4, %rax
	addq	%rbp, %rax
	subq	$64, %rax
	movl	(%rax), %eax
	cltq
	addq	$6, %rax
	movl	-112(%rbp,%rax,4), %eax
	movl	%eax, -120(%rbp)
	movl	$0, -136(%rbp)
	jmp	.L8
.L9:
	movl	-136(%rbp), %eax
	addl	$1, %eax
	movslq	%eax, %rdx
	movl	-144(%rbp), %eax
	cltq
	salq	$2, %rax
	addq	%rdx, %rax
	movl	-64(%rbp,%rax,4), %eax
	movl	-136(%rbp), %edx
	movslq	%edx, %rcx
	movl	-144(%rbp), %edx
	movslq	%edx, %rdx
	salq	$2, %rdx
	addq	%rcx, %rdx
	movl	-64(%rbp,%rdx,4), %edx
	cltq
	addq	$6, %rax
	movl	-112(%rbp,%rax,4), %eax
	movslq	%edx, %rdx
	addq	$6, %rdx
	movl	%eax, -112(%rbp,%rdx,4)
	addl	$1, -136(%rbp)
.L8:
	cmpl	$2, -136(%rbp)
	jle	.L9
	movl	-144(%rbp), %eax
	cltq
	salq	$4, %rax
	addq	%rbp, %rax
	subq	$52, %rax
	movl	(%rax), %eax
	cltq
	leaq	6(%rax), %rdx
	movl	-120(%rbp), %eax
	movl	%eax, -112(%rbp,%rdx,4)
	movl	$0, -124(%rbp)
	movl	$0, -136(%rbp)
	jmp	.L10
.L12:
	movl	-136(%rbp), %eax
	cltq
	movl	-112(%rbp,%rax,4), %edx
	movl	-136(%rbp), %eax
	cltq
	addq	$6, %rax
	movl	-112(%rbp,%rax,4), %eax
	cmpl	%eax, %edx
	jne	.L11
	addl	$1, -124(%rbp)
.L11:
	addl	$1, -136(%rbp)
.L10:
	cmpl	$5, -136(%rbp)
	jle	.L12
	cmpl	$6, -124(%rbp)
	je	.L37
	movl	$0, -128(%rbp)
	jmp	.L15
.L27:
	movl	$0, -136(%rbp)
	jmp	.L16
.L24:
	movl	-128(%rbp), %eax
	cltq
	salq	$4, %rax
	addq	%rbp, %rax
	subq	$64, %rax
	movl	(%rax), %eax
	cltq
	addq	$6, %rax
	movl	-112(%rbp,%rax,4), %eax
	movl	%eax, -116(%rbp)
	movl	$0, -132(%rbp)
	jmp	.L17
.L18:
	movl	-132(%rbp), %eax
	addl	$1, %eax
	movslq	%eax, %rdx
	movl	-128(%rbp), %eax
	cltq
	salq	$2, %rax
	addq	%rdx, %rax
	movl	-64(%rbp,%rax,4), %eax
	movl	-132(%rbp), %edx
	movslq	%edx, %rcx
	movl	-128(%rbp), %edx
	movslq	%edx, %rdx
	salq	$2, %rdx
	addq	%rcx, %rdx
	movl	-64(%rbp,%rdx,4), %edx
	cltq
	addq	$6, %rax
	movl	-112(%rbp,%rax,4), %eax
	movslq	%edx, %rdx
	addq	$6, %rdx
	movl	%eax, -112(%rbp,%rdx,4)
	addl	$1, -132(%rbp)
.L17:
	cmpl	$2, -132(%rbp)
	jle	.L18
	movl	-128(%rbp), %eax
	cltq
	salq	$4, %rax
	addq	%rbp, %rax
	subq	$52, %rax
	movl	(%rax), %eax
	cltq
	leaq	6(%rax), %rdx
	movl	-116(%rbp), %eax
	movl	%eax, -112(%rbp,%rdx,4)
	movl	$0, -124(%rbp)
	movl	$0, -132(%rbp)
	jmp	.L19
.L21:
	movl	-132(%rbp), %eax
	cltq
	movl	-112(%rbp,%rax,4), %edx
	movl	-132(%rbp), %eax
	cltq
	addq	$6, %rax
	movl	-112(%rbp,%rax,4), %eax
	cmpl	%eax, %edx
	jne	.L20
	addl	$1, -124(%rbp)
.L20:
	addl	$1, -132(%rbp)
.L19:
	cmpl	$5, -132(%rbp)
	jle	.L21
	cmpl	$6, -124(%rbp)
	je	.L38
	addl	$1, -136(%rbp)
.L16:
	cmpl	$3, -136(%rbp)
	jle	.L24
	jmp	.L23
.L38:
	nop
.L23:
	cmpl	$6, -124(%rbp)
	je	.L39
	addl	$1, -128(%rbp)
.L15:
	cmpl	$2, -128(%rbp)
	jle	.L27
	jmp	.L26
.L39:
	nop
.L26:
	cmpl	$6, -124(%rbp)
	je	.L40
	addl	$1, -140(%rbp)
.L7:
	cmpl	$3, -140(%rbp)
	jle	.L29
	jmp	.L14
.L37:
	nop
	jmp	.L14
.L40:
	nop
.L14:
	cmpl	$6, -124(%rbp)
	je	.L41
	addl	$1, -144(%rbp)
.L6:
	cmpl	$1, -144(%rbp)
	jle	.L32
	jmp	.L31
.L41:
	nop
.L31:
	cmpl	$6, -124(%rbp)
	jne	.L33
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	jmp	.L34
.L33:
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
.L34:
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L36
	call	__stack_chk_fail@PLT
.L36:
	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:
