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>
#define mod 1000000007 //10^9+7
int main(void){
	int N,A=0,G=1,C=2,T=3;
	long long ans=0,memo[101][4][4][4]={0};
	scanf("%d",&N);
	int i,j,k,l,m;
	for(i=0;i<4;i++){
		for(j=0;j<4;j++){
			for(k=0;k<4;k++){
				if(i==A && j==G && k==C) continue;
				if(i==A && j==C && k==G) continue;
				if(i==G && j==A && k==C) continue;
				memo[3][i][j][k] = 1;
			}
		}
	}
	
	//文字列の長さi、i-2番目がj、i-1番目がk、i番目がl、何を入れるか考えるi+1番目がm
	for(i=3;i<N;i++){
		for(j=0;j<4;j++){
			for(k=0;k<4;k++){
				for(l=0;l<4;l++){
					for(m=0;m<4;m++){
						if(k==A && l==G && m==C)continue;
						if(k==A && l==C && m==G)continue;
						if(k==G && l==A && m==C)continue;
						if(j==A && l==G && m==C)continue;
						if(j==A && k==G && m==C)continue;
						memo[i+1][k][l][m] += memo[i][j][k][l];
						memo[i+1][k][l][m] %= mod;
					}
				}
			}
		}
	}
	for(i=0;i<4;i++){
		for(j=0;j<4;j++){
			for(k=0;k<4;k++){
				ans += memo[N][i][j][k];
			}
		}
	}
	
	printf("%lld",ans%mod);
	return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"%lld"
	.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
	leaq	-49152(%rsp), %r11
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	subq	$2624, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movl	$0, -51752(%rbp)
	movl	$1, -51748(%rbp)
	movl	$2, -51744(%rbp)
	movl	$3, -51740(%rbp)
	movq	$0, -51736(%rbp)
	leaq	-51728(%rbp), %rax
	movl	$51712, %edx
	movl	$0, %esi
	movq	%rax, %rdi
	call	memset@PLT
	leaq	-51776(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -51772(%rbp)
	jmp	.L2
.L11:
	movl	$0, -51768(%rbp)
	jmp	.L3
.L10:
	movl	$0, -51764(%rbp)
	jmp	.L4
.L9:
	movl	-51772(%rbp), %eax
	cmpl	-51752(%rbp), %eax
	jne	.L5
	movl	-51768(%rbp), %eax
	cmpl	-51748(%rbp), %eax
	jne	.L5
	movl	-51764(%rbp), %eax
	cmpl	-51744(%rbp), %eax
	je	.L36
.L5:
	movl	-51772(%rbp), %eax
	cmpl	-51752(%rbp), %eax
	jne	.L7
	movl	-51768(%rbp), %eax
	cmpl	-51744(%rbp), %eax
	jne	.L7
	movl	-51764(%rbp), %eax
	cmpl	-51748(%rbp), %eax
	je	.L37
.L7:
	movl	-51772(%rbp), %eax
	cmpl	-51748(%rbp), %eax
	jne	.L8
	movl	-51768(%rbp), %eax
	cmpl	-51752(%rbp), %eax
	jne	.L8
	movl	-51764(%rbp), %eax
	cmpl	-51744(%rbp), %eax
	je	.L38
.L8:
	movl	-51764(%rbp), %eax
	movslq	%eax, %rcx
	movl	-51772(%rbp), %eax
	cltq
	movl	-51768(%rbp), %edx
	movslq	%edx, %rdx
	salq	$2, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	addq	$192, %rax
	movq	$1, -51728(%rbp,%rax,8)
	jmp	.L6
.L36:
	nop
	jmp	.L6
.L37:
	nop
	jmp	.L6
.L38:
	nop
.L6:
	addl	$1, -51764(%rbp)
.L4:
	cmpl	$3, -51764(%rbp)
	jle	.L9
	addl	$1, -51768(%rbp)
.L3:
	cmpl	$3, -51768(%rbp)
	jle	.L10
	addl	$1, -51772(%rbp)
.L2:
	cmpl	$3, -51772(%rbp)
	jle	.L11
	movl	$3, -51772(%rbp)
	jmp	.L12
.L27:
	movl	$0, -51768(%rbp)
	jmp	.L13
.L26:
	movl	$0, -51764(%rbp)
	jmp	.L14
.L25:
	movl	$0, -51760(%rbp)
	jmp	.L15
.L24:
	movl	$0, -51756(%rbp)
	jmp	.L16
.L23:
	movl	-51764(%rbp), %eax
	cmpl	-51752(%rbp), %eax
	jne	.L17
	movl	-51760(%rbp), %eax
	cmpl	-51748(%rbp), %eax
	jne	.L17
	movl	-51756(%rbp), %eax
	cmpl	-51744(%rbp), %eax
	je	.L39
.L17:
	movl	-51764(%rbp), %eax
	cmpl	-51752(%rbp), %eax
	jne	.L19
	movl	-51760(%rbp), %eax
	cmpl	-51744(%rbp), %eax
	jne	.L19
	movl	-51756(%rbp), %eax
	cmpl	-51748(%rbp), %eax
	je	.L40
.L19:
	movl	-51764(%rbp), %eax
	cmpl	-51748(%rbp), %eax
	jne	.L20
	movl	-51760(%rbp), %eax
	cmpl	-51752(%rbp), %eax
	jne	.L20
	movl	-51756(%rbp), %eax
	cmpl	-51744(%rbp), %eax
	je	.L41
.L20:
	movl	-51768(%rbp), %eax
	cmpl	-51752(%rbp), %eax
	jne	.L21
	movl	-51760(%rbp), %eax
	cmpl	-51748(%rbp), %eax
	jne	.L21
	movl	-51756(%rbp), %eax
	cmpl	-51744(%rbp), %eax
	je	.L42
.L21:
	movl	-51768(%rbp), %eax
	cmpl	-51752(%rbp), %eax
	jne	.L22
	movl	-51764(%rbp), %eax
	cmpl	-51748(%rbp), %eax
	jne	.L22
	movl	-51756(%rbp), %eax
	cmpl	-51744(%rbp), %eax
	je	.L43
.L22:
	movl	-51772(%rbp), %eax
	leal	1(%rax), %edx
	movl	-51756(%rbp), %eax
	movslq	%eax, %rcx
	movl	-51764(%rbp), %eax
	movslq	%eax, %rsi
	movslq	%edx, %rax
	salq	$2, %rax
	leaq	(%rax,%rsi), %rdx
	movl	-51760(%rbp), %eax
	cltq
	salq	$2, %rdx
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	movq	-51728(%rbp,%rax,8), %rsi
	movl	-51760(%rbp), %eax
	movslq	%eax, %rcx
	movl	-51768(%rbp), %eax
	movslq	%eax, %rdx
	movl	-51772(%rbp), %eax
	cltq
	salq	$2, %rax
	addq	%rax, %rdx
	movl	-51764(%rbp), %eax
	cltq
	salq	$2, %rdx
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	movq	-51728(%rbp,%rax,8), %rdx
	movl	-51772(%rbp), %eax
	leal	1(%rax), %ecx
	addq	%rsi, %rdx
	movl	-51756(%rbp), %eax
	movslq	%eax, %rsi
	movl	-51764(%rbp), %eax
	movslq	%eax, %rdi
	movslq	%ecx, %rax
	salq	$2, %rax
	leaq	(%rax,%rdi), %rcx
	movl	-51760(%rbp), %eax
	cltq
	salq	$2, %rcx
	addq	%rcx, %rax
	salq	$2, %rax
	addq	%rsi, %rax
	movq	%rdx, -51728(%rbp,%rax,8)
	movl	-51772(%rbp), %eax
	leal	1(%rax), %edx
	movl	-51756(%rbp), %eax
	movslq	%eax, %rcx
	movl	-51764(%rbp), %eax
	movslq	%eax, %rsi
	movslq	%edx, %rax
	salq	$2, %rax
	leaq	(%rax,%rsi), %rdx
	movl	-51760(%rbp), %eax
	cltq
	salq	$2, %rdx
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	movq	-51728(%rbp,%rax,8), %rcx
	movl	-51772(%rbp), %eax
	leal	1(%rax), %esi
	movabsq	$-8543223828751151131, %rdx
	movq	%rcx, %rax
	imulq	%rdx
	leaq	(%rdx,%rcx), %rax
	sarq	$29, %rax
	movq	%rcx, %rdx
	sarq	$63, %rdx
	subq	%rdx, %rax
	imulq	$1000000007, %rax, %rdx
	movq	%rcx, %rax
	subq	%rdx, %rax
	movl	-51756(%rbp), %edx
	movslq	%edx, %rdi
	movl	-51764(%rbp), %edx
	movslq	%edx, %rcx
	movslq	%esi, %rdx
	salq	$2, %rdx
	addq	%rdx, %rcx
	movl	-51760(%rbp), %edx
	movslq	%edx, %rdx
	salq	$2, %rcx
	addq	%rcx, %rdx
	salq	$2, %rdx
	addq	%rdi, %rdx
	movq	%rax, -51728(%rbp,%rdx,8)
	jmp	.L18
.L39:
	nop
	jmp	.L18
.L40:
	nop
	jmp	.L18
.L41:
	nop
	jmp	.L18
.L42:
	nop
	jmp	.L18
.L43:
	nop
.L18:
	addl	$1, -51756(%rbp)
.L16:
	cmpl	$3, -51756(%rbp)
	jle	.L23
	addl	$1, -51760(%rbp)
.L15:
	cmpl	$3, -51760(%rbp)
	jle	.L24
	addl	$1, -51764(%rbp)
.L14:
	cmpl	$3, -51764(%rbp)
	jle	.L25
	addl	$1, -51768(%rbp)
.L13:
	cmpl	$3, -51768(%rbp)
	jle	.L26
	addl	$1, -51772(%rbp)
.L12:
	movl	-51776(%rbp), %eax
	cmpl	%eax, -51772(%rbp)
	jl	.L27
	movl	$0, -51772(%rbp)
	jmp	.L28
.L33:
	movl	$0, -51768(%rbp)
	jmp	.L29
.L32:
	movl	$0, -51764(%rbp)
	jmp	.L30
.L31:
	movl	-51776(%rbp), %eax
	movl	-51764(%rbp), %edx
	movslq	%edx, %rcx
	movl	-51772(%rbp), %edx
	movslq	%edx, %rdx
	cltq
	salq	$2, %rax
	addq	%rax, %rdx
	movl	-51768(%rbp), %eax
	cltq
	salq	$2, %rdx
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	movq	-51728(%rbp,%rax,8), %rax
	addq	%rax, -51736(%rbp)
	addl	$1, -51764(%rbp)
.L30:
	cmpl	$3, -51764(%rbp)
	jle	.L31
	addl	$1, -51768(%rbp)
.L29:
	cmpl	$3, -51768(%rbp)
	jle	.L32
	addl	$1, -51772(%rbp)
.L28:
	cmpl	$3, -51772(%rbp)
	jle	.L33
	movq	-51736(%rbp), %rcx
	movabsq	$-8543223828751151131, %rdx
	movq	%rcx, %rax
	imulq	%rdx
	leaq	(%rdx,%rcx), %rax
	sarq	$29, %rax
	movq	%rcx, %rdx
	sarq	$63, %rdx
	subq	%rdx, %rax
	imulq	$1000000007, %rax, %rdx
	movq	%rcx, %rax
	subq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L35
	call	__stack_chk_fail@PLT
.L35:
	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"
.LC2:
	.string	"%lld"
	.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
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	leaq	-49152(%rsp), %r11
	.cfi_def_cfa 11, 49208
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$2616, %rsp
	.cfi_def_cfa_offset 51824
	movl	$51712, %edx
	xorl	%esi, %esi
	movq	%fs:40, %rax
	movq	%rax, 51752(%rsp)
	xorl	%eax, %eax
	leaq	32(%rsp), %rax
	movq	%rax, %rdi
	movq	%rax, 8(%rsp)
	call	memset@PLT
	leaq	28(%rsp), %rsi
	leaq	.LC0(%rip), %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movdqa	.LC1(%rip), %xmm0
	movq	$1, 2072(%rsp)
	movaps	%xmm0, 1568(%rsp)
	movaps	%xmm0, 1584(%rsp)
	movaps	%xmm0, 1600(%rsp)
	movups	%xmm0, 1624(%rsp)
	movaps	%xmm0, 1648(%rsp)
	movaps	%xmm0, 1664(%rsp)
	movaps	%xmm0, 1680(%rsp)
	movaps	%xmm0, 1696(%rsp)
	movups	%xmm0, 1720(%rsp)
	movups	%xmm0, 1736(%rsp)
	movups	%xmm0, 1752(%rsp)
	movups	%xmm0, 1768(%rsp)
	movups	%xmm0, 1784(%rsp)
	movups	%xmm0, 1800(%rsp)
	movups	%xmm0, 1816(%rsp)
	movups	%xmm0, 1832(%rsp)
	movups	%xmm0, 1848(%rsp)
	movups	%xmm0, 1864(%rsp)
	movups	%xmm0, 1880(%rsp)
	movups	%xmm0, 1896(%rsp)
	movups	%xmm0, 1912(%rsp)
	movups	%xmm0, 1928(%rsp)
	movups	%xmm0, 1944(%rsp)
	movups	%xmm0, 1960(%rsp)
	movups	%xmm0, 1976(%rsp)
	movups	%xmm0, 1992(%rsp)
	movups	%xmm0, 2008(%rsp)
	movups	%xmm0, 2024(%rsp)
	movups	%xmm0, 2040(%rsp)
	movups	%xmm0, 2056(%rsp)
	movl	28(%rsp), %eax
	movl	%eax, 4(%rsp)
	cmpl	$3, %eax
	jle	.L2
	movl	$3, (%rsp)
	leaq	2080(%rsp), %rbx
	movabsq	$-8543223828751151131, %rsi
.L3:
	addl	$1, (%rsp)
	leaq	-512(%rbx), %r15
	xorl	%r14d, %r14d
.L11:
	testl	%r14d, %r14d
	movq	%rbx, %r11
	movq	%r15, %r8
	movq	%rbx, %rcx
	sete	%r12b
	movl	$1, %ebp
	xorl	%r9d, %r9d
.L10:
	cmpl	$1, %r9d
	movq	(%r8), %rdi
	movq	8(%rcx), %r13
	sete	%r10b
	addq	(%rcx), %rdi
	movq	%rdi, %rax
	andl	%r12d, %r10d
	imulq	%rsi
	leaq	(%rdx,%rdi), %rax
	movq	%rdi, %rdx
	sarq	$63, %rdx
	sarq	$29, %rax
	subq	%rdx, %rax
	imulq	$1000000007, %rax, %rax
	subq	%rax, %rdi
	movq	%rdi, (%rcx)
	movq	(%r8), %rdi
	addq	%rdi, %r13
	movq	%r13, %rax
	imulq	%rsi
	leaq	(%rdx,%r13), %rax
	movq	%r13, %rdx
	sarq	$29, %rax
	sarq	$63, %rdx
	subq	%rdx, %rax
	imulq	$1000000007, %rax, %rax
	subq	%rax, %r13
	movq	%r13, 8(%rcx)
	cmpl	$1, %r9d
	je	.L4
	movq	16(%rcx), %r13
	addq	%rdi, %r13
	movq	%r13, %rax
	imulq	%rsi
	leaq	(%rdx,%r13), %rax
	movq	%r13, %rdx
	sarq	$29, %rax
	sarq	$63, %rdx
	subq	%rdx, %rax
	imulq	$1000000007, %rax, %rax
	subq	%rax, %r13
	movq	%r13, 16(%rcx)
.L4:
	addq	24(%rcx), %rdi
	movq	8(%r8), %r13
	movq	%rdi, %rax
	imulq	%rsi
	leaq	(%rdx,%rdi), %rax
	movq	%rdi, %rdx
	sarq	$63, %rdx
	sarq	$29, %rax
	subq	%rdx, %rax
	imulq	$1000000007, %rax, %rax
	subq	%rax, %rdi
	movq	%rdi, %xmm0
	movq	32(%rcx), %rdi
	addq	%r13, %rdi
	movq	%rdi, %rax
	imulq	%rsi
	movq	%rdi, %rax
	sarq	$63, %rax
	addq	%rdi, %rdx
	sarq	$29, %rdx
	subq	%rax, %rdx
	movq	%rdi, %rax
	imulq	$1000000007, %rdx, %rdx
	subq	%rdx, %rax
	movq	%rax, %xmm3
	punpcklqdq	%xmm3, %xmm0
	movups	%xmm0, 24(%r11)
	movq	40(%rcx), %rdi
	addq	%r13, %rdi
	movq	%rdi, %rax
	imulq	%rsi
	leaq	(%rdx,%rdi), %rax
	movq	%rdi, %rdx
	sarq	$29, %rax
	sarq	$63, %rdx
	subq	%rdx, %rax
	imulq	$1000000007, %rax, %rax
	subq	%rax, %rdi
	testl	%r9d, %r9d
	sete	%al
	movq	%rdi, 40(%rcx)
	orb	%r12b, %al
	jne	.L5
	testb	%r10b, %r10b
	je	.L22
.L5:
	movq	8(%r8), %r13
	addq	56(%rcx), %r13
	movq	%r13, %rax
	movq	16(%r8), %rdi
	imulq	%rsi
	leaq	(%rdx,%r13), %rax
	movq	%r13, %rdx
	sarq	$63, %rdx
	sarq	$29, %rax
	subq	%rdx, %rax
	imulq	$1000000007, %rax, %rax
	subq	%rax, %r13
	movq	%r13, %xmm0
	movq	64(%rcx), %r13
	addq	%rdi, %r13
	movq	%r13, %rax
	imulq	%rsi
	movq	%r13, %rax
	sarq	$63, %rax
	addq	%r13, %rdx
	sarq	$29, %rdx
	subq	%rax, %rdx
	movq	%r13, %rax
	imulq	$1000000007, %rdx, %rdx
	subq	%rdx, %rax
	movq	%rax, %xmm5
	punpcklqdq	%xmm5, %xmm0
	movups	%xmm0, 56(%r11)
	testl	%r9d, %r9d
	jne	.L23
.L6:
	addq	80(%rcx), %rdi
	movq	96(%rcx), %r10
	movq	%rdi, %rax
	imulq	%rsi
	movq	%rdi, %rax
	sarq	$63, %rax
	addq	%rdi, %rdx
	sarq	$29, %rdx
	subq	%rax, %rdx
	imulq	$1000000007, %rdx, %rdx
	subq	%rdx, %rdi
	movq	%rdi, 80(%rcx)
	movq	16(%r8), %rdi
	addq	88(%rcx), %rdi
	movq	%rdi, %rax
	imulq	%rsi
	movq	%rdi, %rax
	sarq	$63, %rax
	addq	%rdi, %rdx
	sarq	$29, %rdx
	subq	%rax, %rdx
	imulq	$1000000007, %rdx, %rdx
	subq	%rdx, %rdi
	movq	%rdi, 88(%rcx)
	movq	24(%r8), %rdi
	addq	%rdi, %r10
	movq	%r10, %rax
	imulq	%rsi
	leaq	(%rdx,%r10), %rax
	movq	%r10, %rdx
	sarq	$63, %rdx
	sarq	$29, %rax
	subq	%rdx, %rax
	imulq	$1000000007, %rax, %rax
	subq	%rax, %r10
	movq	%r10, 96(%rcx)
	movq	104(%rcx), %r10
	addq	%rdi, %r10
	movq	%r10, %rax
	imulq	%rsi
	leaq	(%rdx,%r10), %rax
	movq	%r10, %rdx
	sarq	$63, %rdx
	sarq	$29, %rax
	subq	%rdx, %rax
	imulq	$1000000007, %rax, %rax
	subq	%rax, %r10
	movq	%r10, 104(%rcx)
	movq	112(%rcx), %r10
	addq	%rdi, %r10
	movq	%r10, %rax
	imulq	%rsi
	leaq	(%rdx,%r10), %rax
	movq	%r10, %rdx
	sarq	$29, %rax
	sarq	$63, %rdx
	addq	120(%rcx), %rdi
	subq	%rdx, %rax
	imulq	$1000000007, %rax, %rax
	subq	%rax, %r10
	movq	%rdi, %rax
	imulq	%rsi
	movq	%r10, 112(%rcx)
	leaq	(%rdx,%rdi), %rax
	movq	%rdi, %rdx
	sarq	$29, %rax
	sarq	$63, %rdx
	subq	%rdx, %rax
	imulq	$1000000007, %rax, %rax
	subq	%rax, %rdi
	movq	%rdi, 120(%rcx)
	cmpl	$4, %ebp
	jne	.L8
	addl	$1, %r14d
	subq	$-128, %r15
	cmpl	$4, %r14d
	jne	.L11
	movl	4(%rsp), %ecx
	addq	$512, %rbx
	cmpl	%ecx, (%rsp)
	jne	.L3
.L2:
	movslq	4(%rsp), %rax
	leaq	.LC2(%rip), %rsi
	movl	$1, %edi
	movabsq	$-8543223828751151131, %rdx
	salq	$9, %rax
	addq	8(%rsp), %rax
	movdqa	(%rax), %xmm2
	movdqa	16(%rax), %xmm0
	paddq	128(%rax), %xmm2
	paddq	144(%rax), %xmm0
	paddq	256(%rax), %xmm2
	paddq	272(%rax), %xmm0
	paddq	384(%rax), %xmm2
	paddq	400(%rax), %xmm0
	movdqa	32(%rax), %xmm1
	paddq	160(%rax), %xmm1
	paddq	%xmm2, %xmm0
	movdqa	48(%rax), %xmm7
	movdqa	64(%rax), %xmm6
	paddq	288(%rax), %xmm1
	paddq	416(%rax), %xmm1
	paddq	176(%rax), %xmm7
	paddq	192(%rax), %xmm6
	paddq	%xmm1, %xmm0
	movdqa	80(%rax), %xmm5
	movdqa	96(%rax), %xmm4
	paddq	304(%rax), %xmm7
	paddq	320(%rax), %xmm6
	paddq	432(%rax), %xmm7
	movdqa	448(%rax), %xmm1
	paddq	208(%rax), %xmm5
	paddq	336(%rax), %xmm5
	paddq	%xmm6, %xmm1
	paddq	%xmm7, %xmm0
	movdqa	112(%rax), %xmm3
	paddq	%xmm1, %xmm0
	movdqa	464(%rax), %xmm1
	paddq	224(%rax), %xmm4
	paddq	240(%rax), %xmm3
	paddq	352(%rax), %xmm4
	paddq	%xmm5, %xmm1
	paddq	368(%rax), %xmm3
	paddq	%xmm1, %xmm0
	movdqa	480(%rax), %xmm1
	paddq	%xmm4, %xmm1
	paddq	%xmm1, %xmm0
	movdqa	496(%rax), %xmm1
	paddq	%xmm3, %xmm1
	paddq	%xmm1, %xmm0
	movdqa	%xmm0, %xmm1
	psrldq	$8, %xmm1
	paddq	%xmm1, %xmm0
	movq	%xmm0, %rax
	movq	%xmm0, %rcx
	imulq	%rdx
	leaq	(%rdx,%rcx), %rax
	movq	%xmm0, %rdx
	sarq	$63, %rdx
	sarq	$29, %rax
	subq	%rdx, %rax
	imulq	$1000000007, %rax, %rax
	subq	%rax, %rcx
	xorl	%eax, %eax
	movq	%rcx, %rdx
	call	__printf_chk@PLT
	movq	51752(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L24
	addq	$51768, %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
.L23:
	.cfi_restore_state
	movq	72(%rcx), %r13
	addq	%rdi, %r13
	movq	%r13, %rax
	imulq	%rsi
	leaq	(%rdx,%r13), %rax
	movq	%r13, %rdx
	sarq	$29, %rax
	sarq	$63, %rdx
	subq	%rdx, %rax
	imulq	$1000000007, %rax, %rax
	subq	%rax, %r13
	movq	%r13, 72(%rcx)
	testb	%r10b, %r10b
	je	.L6
	movq	216(%rbx), %r10
	addq	-464(%rbx), %r10
	movq	%r10, %rax
	movq	-456(%rbx), %rdi
	imulq	%rsi
	leaq	(%rdx,%r10), %rax
	movq	%r10, %rdx
	sarq	$63, %rdx
	sarq	$29, %rax
	subq	%rdx, %rax
	imulq	$1000000007, %rax, %rax
	subq	%rax, %r10
	movq	%r10, %xmm0
	movq	224(%rbx), %r10
	addq	%rdi, %r10
	movq	%r10, %rax
	imulq	%rsi
	movq	%r10, %rax
	sarq	$63, %rax
	addq	%r10, %rdx
	sarq	$29, %rdx
	subq	%rax, %rdx
	movq	%r10, %rax
	movq	232(%rbx), %r10
	imulq	$1000000007, %rdx, %rdx
	addq	%rdi, %r10
	subq	%rdx, %rax
	movq	%rax, %xmm6
	movq	%r10, %rax
	imulq	%rsi
	punpcklqdq	%xmm6, %xmm0
	movups	%xmm0, 216(%rbx)
	leaq	(%rdx,%r10), %rax
	movq	%r10, %rdx
	sarq	$63, %rdx
	sarq	$29, %rax
	subq	%rdx, %rax
	imulq	$1000000007, %rax, %rax
	subq	%rax, %r10
	movq	%r10, 232(%rbx)
	addq	120(%rcx), %rdi
	movq	%rdi, %rax
	imulq	%rsi
	leaq	(%rdx,%rdi), %rax
	movq	%rdi, %rdx
	sarq	$29, %rax
	sarq	$63, %rdx
	subq	%rdx, %rax
	imulq	$1000000007, %rax, %rax
	subq	%rax, %rdi
	movq	%rdi, 120(%rcx)
.L8:
	addl	$1, %r9d
	subq	$-128, %rcx
	addq	$32, %r8
	addl	$1, %ebp
	subq	$-128, %r11
	jmp	.L10
.L22:
	movq	8(%r8), %rdi
	movq	48(%rcx), %r10
	addq	%rdi, %r10
	addq	56(%rcx), %rdi
	movq	%r10, %rax
	imulq	%rsi
	leaq	(%rdx,%r10), %rax
	movq	%r10, %rdx
	sarq	$63, %rdx
	sarq	$29, %rax
	subq	%rdx, %rax
	imulq	$1000000007, %rax, %rax
	subq	%rax, %r10
	movq	%rdi, %rax
	imulq	%rsi
	movq	%rdi, %rax
	movq	%r10, %xmm0
	sarq	$63, %rax
	addq	%rdi, %rdx
	sarq	$29, %rdx
	subq	%rax, %rdx
	imulq	$1000000007, %rdx, %rdx
	subq	%rdx, %rdi
	movq	%rdi, %xmm4
	punpcklqdq	%xmm4, %xmm0
	movaps	%xmm0, 48(%r11)
	movq	16(%r8), %rdi
	movq	64(%rcx), %r10
	addq	%rdi, %r10
	movq	%r10, %rax
	imulq	%rsi
	leaq	(%rdx,%r10), %rax
	movq	%r10, %rdx
	sarq	$63, %rdx
	sarq	$29, %rax
	subq	%rdx, %rax
	imulq	$1000000007, %rax, %rax
	subq	%rax, %r10
	movq	%r10, 64(%rcx)
	movq	72(%rcx), %r10
	addq	%rdi, %r10
	movq	%r10, %rax
	imulq	%rsi
	leaq	(%rdx,%r10), %rax
	movq	%r10, %rdx
	sarq	$29, %rax
	sarq	$63, %rdx
	subq	%rdx, %rax
	imulq	$1000000007, %rax, %rax
	subq	%rax, %r10
	movq	%r10, 72(%rcx)
	jmp	.L6
.L24:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.section	.rodata.cst16,"aM",@progbits,16
	.align 16
.LC1:
	.quad	1
	.quad	1
	.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"
.LC2:
	.string	"%lld"
	.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
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	leaq	-49152(%rsp), %r11
	.cfi_def_cfa 11, 49208
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$2616, %rsp
	.cfi_def_cfa_offset 51824
	movl	$51712, %edx
	xorl	%esi, %esi
	movq	%fs:40, %rax
	movq	%rax, 51752(%rsp)
	xorl	%eax, %eax
	leaq	32(%rsp), %rax
	movq	%rax, %rdi
	movq	%rax, 8(%rsp)
	call	memset@PLT
	leaq	28(%rsp), %rsi
	leaq	.LC0(%rip), %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movdqa	.LC1(%rip), %xmm0
	movq	$1, 2072(%rsp)
	movaps	%xmm0, 1568(%rsp)
	movaps	%xmm0, 1584(%rsp)
	movaps	%xmm0, 1600(%rsp)
	movups	%xmm0, 1624(%rsp)
	movaps	%xmm0, 1648(%rsp)
	movaps	%xmm0, 1664(%rsp)
	movaps	%xmm0, 1680(%rsp)
	movaps	%xmm0, 1696(%rsp)
	movups	%xmm0, 1720(%rsp)
	movups	%xmm0, 1736(%rsp)
	movups	%xmm0, 1752(%rsp)
	movups	%xmm0, 1768(%rsp)
	movups	%xmm0, 1784(%rsp)
	movups	%xmm0, 1800(%rsp)
	movups	%xmm0, 1816(%rsp)
	movups	%xmm0, 1832(%rsp)
	movups	%xmm0, 1848(%rsp)
	movups	%xmm0, 1864(%rsp)
	movups	%xmm0, 1880(%rsp)
	movups	%xmm0, 1896(%rsp)
	movups	%xmm0, 1912(%rsp)
	movups	%xmm0, 1928(%rsp)
	movups	%xmm0, 1944(%rsp)
	movups	%xmm0, 1960(%rsp)
	movups	%xmm0, 1976(%rsp)
	movups	%xmm0, 1992(%rsp)
	movups	%xmm0, 2008(%rsp)
	movups	%xmm0, 2024(%rsp)
	movups	%xmm0, 2040(%rsp)
	movups	%xmm0, 2056(%rsp)
	movl	28(%rsp), %eax
	movl	%eax, 4(%rsp)
	cmpl	$3, %eax
	jle	.L2
	movl	$3, (%rsp)
	leaq	2080(%rsp), %rbx
	movabsq	$-8543223828751151131, %rsi
.L3:
	addl	$1, (%rsp)
	leaq	-512(%rbx), %r15
	xorl	%r14d, %r14d
.L11:
	testl	%r14d, %r14d
	movq	%rbx, %r11
	movq	%r15, %r8
	movq	%rbx, %rcx
	sete	%r12b
	movl	$1, %ebp
	xorl	%r9d, %r9d
.L10:
	cmpl	$1, %r9d
	movq	(%r8), %rdi
	movq	8(%rcx), %r13
	sete	%r10b
	addq	(%rcx), %rdi
	movq	%rdi, %rax
	andl	%r12d, %r10d
	imulq	%rsi
	leaq	(%rdx,%rdi), %rax
	movq	%rdi, %rdx
	sarq	$63, %rdx
	sarq	$29, %rax
	subq	%rdx, %rax
	imulq	$1000000007, %rax, %rax
	subq	%rax, %rdi
	movq	%rdi, (%rcx)
	movq	(%r8), %rdi
	addq	%rdi, %r13
	movq	%r13, %rax
	imulq	%rsi
	leaq	(%rdx,%r13), %rax
	movq	%r13, %rdx
	sarq	$29, %rax
	sarq	$63, %rdx
	subq	%rdx, %rax
	imulq	$1000000007, %rax, %rax
	subq	%rax, %r13
	movq	%r13, 8(%rcx)
	cmpl	$1, %r9d
	je	.L4
	movq	16(%rcx), %r13
	addq	%rdi, %r13
	movq	%r13, %rax
	imulq	%rsi
	leaq	(%rdx,%r13), %rax
	movq	%r13, %rdx
	sarq	$29, %rax
	sarq	$63, %rdx
	subq	%rdx, %rax
	imulq	$1000000007, %rax, %rax
	subq	%rax, %r13
	movq	%r13, 16(%rcx)
.L4:
	addq	24(%rcx), %rdi
	movq	8(%r8), %r13
	movq	%rdi, %rax
	imulq	%rsi
	leaq	(%rdx,%rdi), %rax
	movq	%rdi, %rdx
	sarq	$63, %rdx
	sarq	$29, %rax
	subq	%rdx, %rax
	imulq	$1000000007, %rax, %rax
	subq	%rax, %rdi
	movq	%rdi, %xmm0
	movq	32(%rcx), %rdi
	addq	%r13, %rdi
	movq	%rdi, %rax
	imulq	%rsi
	movq	%rdi, %rax
	sarq	$63, %rax
	addq	%rdi, %rdx
	sarq	$29, %rdx
	subq	%rax, %rdx
	movq	%rdi, %rax
	imulq	$1000000007, %rdx, %rdx
	subq	%rdx, %rax
	movq	%rax, %xmm3
	punpcklqdq	%xmm3, %xmm0
	movups	%xmm0, 24(%r11)
	movq	40(%rcx), %rdi
	addq	%r13, %rdi
	movq	%rdi, %rax
	imulq	%rsi
	leaq	(%rdx,%rdi), %rax
	movq	%rdi, %rdx
	sarq	$29, %rax
	sarq	$63, %rdx
	subq	%rdx, %rax
	imulq	$1000000007, %rax, %rax
	subq	%rax, %rdi
	testl	%r9d, %r9d
	sete	%al
	movq	%rdi, 40(%rcx)
	orb	%r12b, %al
	jne	.L5
	testb	%r10b, %r10b
	je	.L22
.L5:
	movq	8(%r8), %r13
	addq	56(%rcx), %r13
	movq	%r13, %rax
	movq	16(%r8), %rdi
	imulq	%rsi
	leaq	(%rdx,%r13), %rax
	movq	%r13, %rdx
	sarq	$63, %rdx
	sarq	$29, %rax
	subq	%rdx, %rax
	imulq	$1000000007, %rax, %rax
	subq	%rax, %r13
	movq	%r13, %xmm0
	movq	64(%rcx), %r13
	addq	%rdi, %r13
	movq	%r13, %rax
	imulq	%rsi
	movq	%r13, %rax
	sarq	$63, %rax
	addq	%r13, %rdx
	sarq	$29, %rdx
	subq	%rax, %rdx
	movq	%r13, %rax
	imulq	$1000000007, %rdx, %rdx
	subq	%rdx, %rax
	movq	%rax, %xmm5
	punpcklqdq	%xmm5, %xmm0
	movups	%xmm0, 56(%r11)
	testl	%r9d, %r9d
	jne	.L23
.L6:
	addq	80(%rcx), %rdi
	movq	96(%rcx), %r10
	movq	%rdi, %rax
	imulq	%rsi
	movq	%rdi, %rax
	sarq	$63, %rax
	addq	%rdi, %rdx
	sarq	$29, %rdx
	subq	%rax, %rdx
	imulq	$1000000007, %rdx, %rdx
	subq	%rdx, %rdi
	movq	%rdi, 80(%rcx)
	movq	16(%r8), %rdi
	addq	88(%rcx), %rdi
	movq	%rdi, %rax
	imulq	%rsi
	movq	%rdi, %rax
	sarq	$63, %rax
	addq	%rdi, %rdx
	sarq	$29, %rdx
	subq	%rax, %rdx
	imulq	$1000000007, %rdx, %rdx
	subq	%rdx, %rdi
	movq	%rdi, 88(%rcx)
	movq	24(%r8), %rdi
	addq	%rdi, %r10
	movq	%r10, %rax
	imulq	%rsi
	leaq	(%rdx,%r10), %rax
	movq	%r10, %rdx
	sarq	$63, %rdx
	sarq	$29, %rax
	subq	%rdx, %rax
	imulq	$1000000007, %rax, %rax
	subq	%rax, %r10
	movq	%r10, 96(%rcx)
	movq	104(%rcx), %r10
	addq	%rdi, %r10
	movq	%r10, %rax
	imulq	%rsi
	leaq	(%rdx,%r10), %rax
	movq	%r10, %rdx
	sarq	$63, %rdx
	sarq	$29, %rax
	subq	%rdx, %rax
	imulq	$1000000007, %rax, %rax
	subq	%rax, %r10
	movq	%r10, 104(%rcx)
	movq	112(%rcx), %r10
	addq	%rdi, %r10
	movq	%r10, %rax
	imulq	%rsi
	leaq	(%rdx,%r10), %rax
	movq	%r10, %rdx
	sarq	$29, %rax
	sarq	$63, %rdx
	addq	120(%rcx), %rdi
	subq	%rdx, %rax
	imulq	$1000000007, %rax, %rax
	subq	%rax, %r10
	movq	%rdi, %rax
	imulq	%rsi
	movq	%r10, 112(%rcx)
	leaq	(%rdx,%rdi), %rax
	movq	%rdi, %rdx
	sarq	$29, %rax
	sarq	$63, %rdx
	subq	%rdx, %rax
	imulq	$1000000007, %rax, %rax
	subq	%rax, %rdi
	movq	%rdi, 120(%rcx)
	cmpl	$4, %ebp
	jne	.L8
	addl	$1, %r14d
	subq	$-128, %r15
	cmpl	$4, %r14d
	jne	.L11
	movl	4(%rsp), %ecx
	addq	$512, %rbx
	cmpl	%ecx, (%rsp)
	jne	.L3
.L2:
	movslq	4(%rsp), %rax
	leaq	.LC2(%rip), %rsi
	movl	$1, %edi
	movabsq	$-8543223828751151131, %rdx
	salq	$9, %rax
	addq	8(%rsp), %rax
	movdqa	(%rax), %xmm2
	movdqa	16(%rax), %xmm0
	paddq	128(%rax), %xmm2
	paddq	144(%rax), %xmm0
	paddq	256(%rax), %xmm2
	paddq	272(%rax), %xmm0
	paddq	384(%rax), %xmm2
	paddq	400(%rax), %xmm0
	movdqa	32(%rax), %xmm1
	paddq	160(%rax), %xmm1
	paddq	%xmm2, %xmm0
	movdqa	48(%rax), %xmm7
	movdqa	64(%rax), %xmm6
	paddq	288(%rax), %xmm1
	paddq	416(%rax), %xmm1
	paddq	176(%rax), %xmm7
	paddq	192(%rax), %xmm6
	paddq	%xmm1, %xmm0
	movdqa	80(%rax), %xmm5
	movdqa	96(%rax), %xmm4
	paddq	304(%rax), %xmm7
	paddq	320(%rax), %xmm6
	paddq	432(%rax), %xmm7
	movdqa	448(%rax), %xmm1
	paddq	208(%rax), %xmm5
	paddq	336(%rax), %xmm5
	paddq	%xmm6, %xmm1
	paddq	%xmm7, %xmm0
	movdqa	112(%rax), %xmm3
	paddq	%xmm1, %xmm0
	movdqa	464(%rax), %xmm1
	paddq	224(%rax), %xmm4
	paddq	240(%rax), %xmm3
	paddq	352(%rax), %xmm4
	paddq	%xmm5, %xmm1
	paddq	368(%rax), %xmm3
	paddq	%xmm1, %xmm0
	movdqa	480(%rax), %xmm1
	paddq	%xmm4, %xmm1
	paddq	%xmm1, %xmm0
	movdqa	496(%rax), %xmm1
	paddq	%xmm3, %xmm1
	paddq	%xmm1, %xmm0
	movdqa	%xmm0, %xmm1
	psrldq	$8, %xmm1
	paddq	%xmm1, %xmm0
	movq	%xmm0, %rax
	movq	%xmm0, %rcx
	imulq	%rdx
	leaq	(%rdx,%rcx), %rax
	movq	%xmm0, %rdx
	sarq	$63, %rdx
	sarq	$29, %rax
	subq	%rdx, %rax
	imulq	$1000000007, %rax, %rax
	subq	%rax, %rcx
	xorl	%eax, %eax
	movq	%rcx, %rdx
	call	__printf_chk@PLT
	movq	51752(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L24
	addq	$51768, %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
.L23:
	.cfi_restore_state
	movq	72(%rcx), %r13
	addq	%rdi, %r13
	movq	%r13, %rax
	imulq	%rsi
	leaq	(%rdx,%r13), %rax
	movq	%r13, %rdx
	sarq	$29, %rax
	sarq	$63, %rdx
	subq	%rdx, %rax
	imulq	$1000000007, %rax, %rax
	subq	%rax, %r13
	movq	%r13, 72(%rcx)
	testb	%r10b, %r10b
	je	.L6
	movq	216(%rbx), %r10
	addq	-464(%rbx), %r10
	movq	%r10, %rax
	movq	-456(%rbx), %rdi
	imulq	%rsi
	leaq	(%rdx,%r10), %rax
	movq	%r10, %rdx
	sarq	$63, %rdx
	sarq	$29, %rax
	subq	%rdx, %rax
	imulq	$1000000007, %rax, %rax
	subq	%rax, %r10
	movq	%r10, %xmm0
	movq	224(%rbx), %r10
	addq	%rdi, %r10
	movq	%r10, %rax
	imulq	%rsi
	movq	%r10, %rax
	sarq	$63, %rax
	addq	%r10, %rdx
	sarq	$29, %rdx
	subq	%rax, %rdx
	movq	%r10, %rax
	movq	232(%rbx), %r10
	imulq	$1000000007, %rdx, %rdx
	addq	%rdi, %r10
	subq	%rdx, %rax
	movq	%rax, %xmm6
	movq	%r10, %rax
	imulq	%rsi
	punpcklqdq	%xmm6, %xmm0
	movups	%xmm0, 216(%rbx)
	leaq	(%rdx,%r10), %rax
	movq	%r10, %rdx
	sarq	$63, %rdx
	sarq	$29, %rax
	subq	%rdx, %rax
	imulq	$1000000007, %rax, %rax
	subq	%rax, %r10
	movq	%r10, 232(%rbx)
	addq	120(%rcx), %rdi
	movq	%rdi, %rax
	imulq	%rsi
	leaq	(%rdx,%rdi), %rax
	movq	%rdi, %rdx
	sarq	$29, %rax
	sarq	$63, %rdx
	subq	%rdx, %rax
	imulq	$1000000007, %rax, %rax
	subq	%rax, %rdi
	movq	%rdi, 120(%rcx)
.L8:
	addl	$1, %r9d
	subq	$-128, %rcx
	addq	$32, %r8
	addl	$1, %ebp
	subq	$-128, %r11
	jmp	.L10
.L22:
	movq	8(%r8), %rdi
	movq	48(%rcx), %r10
	addq	%rdi, %r10
	addq	56(%rcx), %rdi
	movq	%r10, %rax
	imulq	%rsi
	leaq	(%rdx,%r10), %rax
	movq	%r10, %rdx
	sarq	$63, %rdx
	sarq	$29, %rax
	subq	%rdx, %rax
	imulq	$1000000007, %rax, %rax
	subq	%rax, %r10
	movq	%rdi, %rax
	imulq	%rsi
	movq	%rdi, %rax
	movq	%r10, %xmm0
	sarq	$63, %rax
	addq	%rdi, %rdx
	sarq	$29, %rdx
	subq	%rax, %rdx
	imulq	$1000000007, %rdx, %rdx
	subq	%rdx, %rdi
	movq	%rdi, %xmm4
	punpcklqdq	%xmm4, %xmm0
	movaps	%xmm0, 48(%r11)
	movq	16(%r8), %rdi
	movq	64(%rcx), %r10
	addq	%rdi, %r10
	movq	%r10, %rax
	imulq	%rsi
	leaq	(%rdx,%r10), %rax
	movq	%r10, %rdx
	sarq	$63, %rdx
	sarq	$29, %rax
	subq	%rdx, %rax
	imulq	$1000000007, %rax, %rax
	subq	%rax, %r10
	movq	%r10, 64(%rcx)
	movq	72(%rcx), %r10
	addq	%rdi, %r10
	movq	%r10, %rax
	imulq	%rsi
	leaq	(%rdx,%r10), %rax
	movq	%r10, %rdx
	sarq	$29, %rax
	sarq	$63, %rdx
	subq	%rdx, %rax
	imulq	$1000000007, %rax, %rax
	subq	%rax, %r10
	movq	%r10, 72(%rcx)
	jmp	.L6
.L24:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.section	.rodata.cst16,"aM",@progbits,16
	.align 16
.LC1:
	.quad	1
	.quad	1
	.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>
#define mod 1000000007 //10^9+7
int main(void){
	int N,A=0,G=1,C=2,T=3;
	long long ans=0,memo[101][4][4][4]={0};
	scanf("%d",&N);
	int i,j,k,l,m;
	for(i=0;i<4;i++){
		for(j=0;j<4;j++){
			for(k=0;k<4;k++){
				if(i==A && j==G && k==C) continue;
				if(i==A && j==C && k==G) continue;
				if(i==G && j==A && k==C) continue;
				memo[3][i][j][k] = 1;
			}
		}
	}
	
	//文字列の長さi、i-2番目がj、i-1番目がk、i番目がl、何を入れるか考えるi+1番目がm
	for(i=3;i<N;i++){
		for(j=0;j<4;j++){
			for(k=0;k<4;k++){
				for(l=0;l<4;l++){
					for(m=0;m<4;m++){
						if(k==A && l==G && m==C)continue;
						if(k==A && l==C && m==G)continue;
						if(k==G && l==A && m==C)continue;
						if(j==A && l==G && m==C)continue;
						if(j==A && k==G && m==C)continue;
						memo[i+1][k][l][m] += memo[i][j][k][l];
						memo[i+1][k][l][m] %= mod;
					}
				}
			}
		}
	}
	for(i=0;i<4;i++){
		for(j=0;j<4;j++){
			for(k=0;k<4;k++){
				ans += memo[N][i][j][k];
			}
		}
	}
	
	printf("%lld",ans%mod);
	return 0;
}
5
 6
 8
 15
 12
 9
 14
 7
 13
 20

865 3247 45719 478366600 9058467 171531 127504505 12185 33985227 580025381
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>
#define mod 1000000007 //10^9+7
int main(void){
	int N,A=0,G=1,C=2,T=3;
	long long ans=0,memo[101][4][4][4]={0};
	scanf("%d",&N);
	int i,j,k,l,m;
	for(i=0;i<4;i++){
		for(j=0;j<4;j++){
			for(k=0;k<4;k++){
				if(i==A && j==G && k==C) continue;
				if(i==A && j==C && k==G) continue;
				if(i==G && j==A && k==C) continue;
				memo[3][i][j][k] = 1;
			}
		}
	}
	
	//文字列の長さi、i-2番目がj、i-1番目がk、i番目がl、何を入れるか考えるi+1番目がm
	for(i=3;i<N;i++){
		for(j=0;j<4;j++){
			for(k=0;k<4;k++){
				for(l=0;l<4;l++){
					for(m=0;m<4;m++){
						if(k==A && l==G && m==C)continue;
						if(k==A && l==C && m==G)continue;
						if(k==G && l==A && m==C)continue;
						if(j==A && l==G && m==C)continue;
						if(j==A && k==G && m==C)continue;
						memo[i+1][k][l][m] += memo[i][j][k][l];
						memo[i+1][k][l][m] %= mod;
					}
				}
			}
		}
	}
	for(i=0;i<4;i++){
		for(j=0;j<4;j++){
			for(k=0;k<4;k++){
				ans += memo[N][i][j][k];
			}
		}
	}
	
	printf("%lld",ans%mod);
	return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"%lld"
	.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
	leaq	-49152(%rsp), %r11
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	subq	$2624, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movl	$0, -51752(%rbp)
	movl	$1, -51748(%rbp)
	movl	$2, -51744(%rbp)
	movl	$3, -51740(%rbp)
	movq	$0, -51736(%rbp)
	leaq	-51728(%rbp), %rax
	movl	$51712, %edx
	movl	$0, %esi
	movq	%rax, %rdi
	call	memset@PLT
	leaq	-51776(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -51772(%rbp)
	jmp	.L2
.L11:
	movl	$0, -51768(%rbp)
	jmp	.L3
.L10:
	movl	$0, -51764(%rbp)
	jmp	.L4
.L9:
	movl	-51772(%rbp), %eax
	cmpl	-51752(%rbp), %eax
	jne	.L5
	movl	-51768(%rbp), %eax
	cmpl	-51748(%rbp), %eax
	jne	.L5
	movl	-51764(%rbp), %eax
	cmpl	-51744(%rbp), %eax
	je	.L36
.L5:
	movl	-51772(%rbp), %eax
	cmpl	-51752(%rbp), %eax
	jne	.L7
	movl	-51768(%rbp), %eax
	cmpl	-51744(%rbp), %eax
	jne	.L7
	movl	-51764(%rbp), %eax
	cmpl	-51748(%rbp), %eax
	je	.L37
.L7:
	movl	-51772(%rbp), %eax
	cmpl	-51748(%rbp), %eax
	jne	.L8
	movl	-51768(%rbp), %eax
	cmpl	-51752(%rbp), %eax
	jne	.L8
	movl	-51764(%rbp), %eax
	cmpl	-51744(%rbp), %eax
	je	.L38
.L8:
	movl	-51764(%rbp), %eax
	movslq	%eax, %rcx
	movl	-51772(%rbp), %eax
	cltq
	movl	-51768(%rbp), %edx
	movslq	%edx, %rdx
	salq	$2, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	addq	$192, %rax
	movq	$1, -51728(%rbp,%rax,8)
	jmp	.L6
.L36:
	nop
	jmp	.L6
.L37:
	nop
	jmp	.L6
.L38:
	nop
.L6:
	addl	$1, -51764(%rbp)
.L4:
	cmpl	$3, -51764(%rbp)
	jle	.L9
	addl	$1, -51768(%rbp)
.L3:
	cmpl	$3, -51768(%rbp)
	jle	.L10
	addl	$1, -51772(%rbp)
.L2:
	cmpl	$3, -51772(%rbp)
	jle	.L11
	movl	$3, -51772(%rbp)
	jmp	.L12
.L27:
	movl	$0, -51768(%rbp)
	jmp	.L13
.L26:
	movl	$0, -51764(%rbp)
	jmp	.L14
.L25:
	movl	$0, -51760(%rbp)
	jmp	.L15
.L24:
	movl	$0, -51756(%rbp)
	jmp	.L16
.L23:
	movl	-51764(%rbp), %eax
	cmpl	-51752(%rbp), %eax
	jne	.L17
	movl	-51760(%rbp), %eax
	cmpl	-51748(%rbp), %eax
	jne	.L17
	movl	-51756(%rbp), %eax
	cmpl	-51744(%rbp), %eax
	je	.L39
.L17:
	movl	-51764(%rbp), %eax
	cmpl	-51752(%rbp), %eax
	jne	.L19
	movl	-51760(%rbp), %eax
	cmpl	-51744(%rbp), %eax
	jne	.L19
	movl	-51756(%rbp), %eax
	cmpl	-51748(%rbp), %eax
	je	.L40
.L19:
	movl	-51764(%rbp), %eax
	cmpl	-51748(%rbp), %eax
	jne	.L20
	movl	-51760(%rbp), %eax
	cmpl	-51752(%rbp), %eax
	jne	.L20
	movl	-51756(%rbp), %eax
	cmpl	-51744(%rbp), %eax
	je	.L41
.L20:
	movl	-51768(%rbp), %eax
	cmpl	-51752(%rbp), %eax
	jne	.L21
	movl	-51760(%rbp), %eax
	cmpl	-51748(%rbp), %eax
	jne	.L21
	movl	-51756(%rbp), %eax
	cmpl	-51744(%rbp), %eax
	je	.L42
.L21:
	movl	-51768(%rbp), %eax
	cmpl	-51752(%rbp), %eax
	jne	.L22
	movl	-51764(%rbp), %eax
	cmpl	-51748(%rbp), %eax
	jne	.L22
	movl	-51756(%rbp), %eax
	cmpl	-51744(%rbp), %eax
	je	.L43
.L22:
	movl	-51772(%rbp), %eax
	leal	1(%rax), %edx
	movl	-51756(%rbp), %eax
	movslq	%eax, %rcx
	movl	-51764(%rbp), %eax
	movslq	%eax, %rsi
	movslq	%edx, %rax
	salq	$2, %rax
	leaq	(%rax,%rsi), %rdx
	movl	-51760(%rbp), %eax
	cltq
	salq	$2, %rdx
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	movq	-51728(%rbp,%rax,8), %rsi
	movl	-51760(%rbp), %eax
	movslq	%eax, %rcx
	movl	-51768(%rbp), %eax
	movslq	%eax, %rdx
	movl	-51772(%rbp), %eax
	cltq
	salq	$2, %rax
	addq	%rax, %rdx
	movl	-51764(%rbp), %eax
	cltq
	salq	$2, %rdx
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	movq	-51728(%rbp,%rax,8), %rdx
	movl	-51772(%rbp), %eax
	leal	1(%rax), %ecx
	addq	%rsi, %rdx
	movl	-51756(%rbp), %eax
	movslq	%eax, %rsi
	movl	-51764(%rbp), %eax
	movslq	%eax, %rdi
	movslq	%ecx, %rax
	salq	$2, %rax
	leaq	(%rax,%rdi), %rcx
	movl	-51760(%rbp), %eax
	cltq
	salq	$2, %rcx
	addq	%rcx, %rax
	salq	$2, %rax
	addq	%rsi, %rax
	movq	%rdx, -51728(%rbp,%rax,8)
	movl	-51772(%rbp), %eax
	leal	1(%rax), %edx
	movl	-51756(%rbp), %eax
	movslq	%eax, %rcx
	movl	-51764(%rbp), %eax
	movslq	%eax, %rsi
	movslq	%edx, %rax
	salq	$2, %rax
	leaq	(%rax,%rsi), %rdx
	movl	-51760(%rbp), %eax
	cltq
	salq	$2, %rdx
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	movq	-51728(%rbp,%rax,8), %rcx
	movl	-51772(%rbp), %eax
	leal	1(%rax), %esi
	movabsq	$-8543223828751151131, %rdx
	movq	%rcx, %rax
	imulq	%rdx
	leaq	(%rdx,%rcx), %rax
	sarq	$29, %rax
	movq	%rcx, %rdx
	sarq	$63, %rdx
	subq	%rdx, %rax
	imulq	$1000000007, %rax, %rdx
	movq	%rcx, %rax
	subq	%rdx, %rax
	movl	-51756(%rbp), %edx
	movslq	%edx, %rdi
	movl	-51764(%rbp), %edx
	movslq	%edx, %rcx
	movslq	%esi, %rdx
	salq	$2, %rdx
	addq	%rdx, %rcx
	movl	-51760(%rbp), %edx
	movslq	%edx, %rdx
	salq	$2, %rcx
	addq	%rcx, %rdx
	salq	$2, %rdx
	addq	%rdi, %rdx
	movq	%rax, -51728(%rbp,%rdx,8)
	jmp	.L18
.L39:
	nop
	jmp	.L18
.L40:
	nop
	jmp	.L18
.L41:
	nop
	jmp	.L18
.L42:
	nop
	jmp	.L18
.L43:
	nop
.L18:
	addl	$1, -51756(%rbp)
.L16:
	cmpl	$3, -51756(%rbp)
	jle	.L23
	addl	$1, -51760(%rbp)
.L15:
	cmpl	$3, -51760(%rbp)
	jle	.L24
	addl	$1, -51764(%rbp)
.L14:
	cmpl	$3, -51764(%rbp)
	jle	.L25
	addl	$1, -51768(%rbp)
.L13:
	cmpl	$3, -51768(%rbp)
	jle	.L26
	addl	$1, -51772(%rbp)
.L12:
	movl	-51776(%rbp), %eax
	cmpl	%eax, -51772(%rbp)
	jl	.L27
	movl	$0, -51772(%rbp)
	jmp	.L28
.L33:
	movl	$0, -51768(%rbp)
	jmp	.L29
.L32:
	movl	$0, -51764(%rbp)
	jmp	.L30
.L31:
	movl	-51776(%rbp), %eax
	movl	-51764(%rbp), %edx
	movslq	%edx, %rcx
	movl	-51772(%rbp), %edx
	movslq	%edx, %rdx
	cltq
	salq	$2, %rax
	addq	%rax, %rdx
	movl	-51768(%rbp), %eax
	cltq
	salq	$2, %rdx
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	movq	-51728(%rbp,%rax,8), %rax
	addq	%rax, -51736(%rbp)
	addl	$1, -51764(%rbp)
.L30:
	cmpl	$3, -51764(%rbp)
	jle	.L31
	addl	$1, -51768(%rbp)
.L29:
	cmpl	$3, -51768(%rbp)
	jle	.L32
	addl	$1, -51772(%rbp)
.L28:
	cmpl	$3, -51772(%rbp)
	jle	.L33
	movq	-51736(%rbp), %rcx
	movabsq	$-8543223828751151131, %rdx
	movq	%rcx, %rax
	imulq	%rdx
	leaq	(%rdx,%rcx), %rax
	sarq	$29, %rax
	movq	%rcx, %rdx
	sarq	$63, %rdx
	subq	%rdx, %rax
	imulq	$1000000007, %rax, %rdx
	movq	%rcx, %rax
	subq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L35
	call	__stack_chk_fail@PLT
.L35:
	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	"%lld"
	.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
	leaq	-49152(%rsp), %r11
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	subq	$2624, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movl	$0, -51752(%rbp)
	movl	$1, -51748(%rbp)
	movl	$2, -51744(%rbp)
	movl	$3, -51740(%rbp)
	movq	$0, -51736(%rbp)
	leaq	-51728(%rbp), %rax
	movl	$51712, %edx
	movl	$0, %esi
	movq	%rax, %rdi
	call	memset@PLT
	leaq	-51776(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -51772(%rbp)
	jmp	.L2
.L11:
	movl	$0, -51768(%rbp)
	jmp	.L3
.L10:
	movl	$0, -51764(%rbp)
	jmp	.L4
.L9:
	movl	-51772(%rbp), %eax
	cmpl	-51752(%rbp), %eax
	jne	.L5
	movl	-51768(%rbp), %eax
	cmpl	-51748(%rbp), %eax
	jne	.L5
	movl	-51764(%rbp), %eax
	cmpl	-51744(%rbp), %eax
	je	.L36
.L5:
	movl	-51772(%rbp), %eax
	cmpl	-51752(%rbp), %eax
	jne	.L7
	movl	-51768(%rbp), %eax
	cmpl	-51744(%rbp), %eax
	jne	.L7
	movl	-51764(%rbp), %eax
	cmpl	-51748(%rbp), %eax
	je	.L37
.L7:
	movl	-51772(%rbp), %eax
	cmpl	-51748(%rbp), %eax
	jne	.L8
	movl	-51768(%rbp), %eax
	cmpl	-51752(%rbp), %eax
	jne	.L8
	movl	-51764(%rbp), %eax
	cmpl	-51744(%rbp), %eax
	je	.L38
.L8:
	movl	-51764(%rbp), %eax
	movslq	%eax, %rcx
	movl	-51772(%rbp), %eax
	cltq
	movl	-51768(%rbp), %edx
	movslq	%edx, %rdx
	salq	$2, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	addq	$192, %rax
	movq	$1, -51728(%rbp,%rax,8)
	jmp	.L6
.L36:
	nop
	jmp	.L6
.L37:
	nop
	jmp	.L6
.L38:
	nop
.L6:
	addl	$1, -51764(%rbp)
.L4:
	cmpl	$3, -51764(%rbp)
	jle	.L9
	addl	$1, -51768(%rbp)
.L3:
	cmpl	$3, -51768(%rbp)
	jle	.L10
	addl	$1, -51772(%rbp)
.L2:
	cmpl	$3, -51772(%rbp)
	jle	.L11
	movl	$3, -51772(%rbp)
	jmp	.L12
.L27:
	movl	$0, -51768(%rbp)
	jmp	.L13
.L26:
	movl	$0, -51764(%rbp)
	jmp	.L14
.L25:
	movl	$0, -51760(%rbp)
	jmp	.L15
.L24:
	movl	$0, -51756(%rbp)
	jmp	.L16
.L23:
	movl	-51764(%rbp), %eax
	cmpl	-51752(%rbp), %eax
	jne	.L17
	movl	-51760(%rbp), %eax
	cmpl	-51748(%rbp), %eax
	jne	.L17
	movl	-51756(%rbp), %eax
	cmpl	-51744(%rbp), %eax
	je	.L39
.L17:
	movl	-51764(%rbp), %eax
	cmpl	-51752(%rbp), %eax
	jne	.L19
	movl	-51760(%rbp), %eax
	cmpl	-51744(%rbp), %eax
	jne	.L19
	movl	-51756(%rbp), %eax
	cmpl	-51748(%rbp), %eax
	je	.L40
.L19:
	movl	-51764(%rbp), %eax
	cmpl	-51748(%rbp), %eax
	jne	.L20
	movl	-51760(%rbp), %eax
	cmpl	-51752(%rbp), %eax
	jne	.L20
	movl	-51756(%rbp), %eax
	cmpl	-51744(%rbp), %eax
	je	.L41
.L20:
	movl	-51768(%rbp), %eax
	cmpl	-51752(%rbp), %eax
	jne	.L21
	movl	-51760(%rbp), %eax
	cmpl	-51748(%rbp), %eax
	jne	.L21
	movl	-51756(%rbp), %eax
	cmpl	-51744(%rbp), %eax
	je	.L42
.L21:
	movl	-51768(%rbp), %eax
	cmpl	-51752(%rbp), %eax
	jne	.L22
	movl	-51764(%rbp), %eax
	cmpl	-51748(%rbp), %eax
	jne	.L22
	movl	-51756(%rbp), %eax
	cmpl	-51744(%rbp), %eax
	je	.L43
.L22:
	movl	-51772(%rbp), %eax
	leal	1(%rax), %edx
	movl	-51756(%rbp), %eax
	movslq	%eax, %rcx
	movl	-51764(%rbp), %eax
	movslq	%eax, %rsi
	movslq	%edx, %rax
	salq	$2, %rax
	leaq	(%rax,%rsi), %rdx
	movl	-51760(%rbp), %eax
	cltq
	salq	$2, %rdx
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	movq	-51728(%rbp,%rax,8), %rsi
	movl	-51760(%rbp), %eax
	movslq	%eax, %rcx
	movl	-51768(%rbp), %eax
	movslq	%eax, %rdx
	movl	-51772(%rbp), %eax
	cltq
	salq	$2, %rax
	addq	%rax, %rdx
	movl	-51764(%rbp), %eax
	cltq
	salq	$2, %rdx
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	movq	-51728(%rbp,%rax,8), %rdx
	movl	-51772(%rbp), %eax
	leal	1(%rax), %ecx
	addq	%rsi, %rdx
	movl	-51756(%rbp), %eax
	movslq	%eax, %rsi
	movl	-51764(%rbp), %eax
	movslq	%eax, %rdi
	movslq	%ecx, %rax
	salq	$2, %rax
	leaq	(%rax,%rdi), %rcx
	movl	-51760(%rbp), %eax
	cltq
	salq	$2, %rcx
	addq	%rcx, %rax
	salq	$2, %rax
	addq	%rsi, %rax
	movq	%rdx, -51728(%rbp,%rax,8)
	movl	-51772(%rbp), %eax
	leal	1(%rax), %edx
	movl	-51756(%rbp), %eax
	movslq	%eax, %rcx
	movl	-51764(%rbp), %eax
	movslq	%eax, %rsi
	movslq	%edx, %rax
	salq	$2, %rax
	leaq	(%rax,%rsi), %rdx
	movl	-51760(%rbp), %eax
	cltq
	salq	$2, %rdx
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	movq	-51728(%rbp,%rax,8), %rcx
	movl	-51772(%rbp), %eax
	leal	1(%rax), %esi
	movabsq	$-8543223828751151131, %rdx
	movq	%rcx, %rax
	imulq	%rdx
	leaq	(%rdx,%rcx), %rax
	sarq	$29, %rax
	movq	%rcx, %rdx
	sarq	$63, %rdx
	subq	%rdx, %rax
	imulq	$1000000007, %rax, %rdx
	movq	%rcx, %rax
	subq	%rdx, %rax
	movl	-51756(%rbp), %edx
	movslq	%edx, %rdi
	movl	-51764(%rbp), %edx
	movslq	%edx, %rcx
	movslq	%esi, %rdx
	salq	$2, %rdx
	addq	%rdx, %rcx
	movl	-51760(%rbp), %edx
	movslq	%edx, %rdx
	salq	$2, %rcx
	addq	%rcx, %rdx
	salq	$2, %rdx
	addq	%rdi, %rdx
	movq	%rax, -51728(%rbp,%rdx,8)
	jmp	.L18
.L39:
	nop
	jmp	.L18
.L40:
	nop
	jmp	.L18
.L41:
	nop
	jmp	.L18
.L42:
	nop
	jmp	.L18
.L43:
	nop
.L18:
	addl	$1, -51756(%rbp)
.L16:
	cmpl	$3, -51756(%rbp)
	jle	.L23
	addl	$1, -51760(%rbp)
.L15:
	cmpl	$3, -51760(%rbp)
	jle	.L24
	addl	$1, -51764(%rbp)
.L14:
	cmpl	$3, -51764(%rbp)
	jle	.L25
	addl	$1, -51768(%rbp)
.L13:
	cmpl	$3, -51768(%rbp)
	jle	.L26
	addl	$1, -51772(%rbp)
.L12:
	movl	-51776(%rbp), %eax
	cmpl	%eax, -51772(%rbp)
	jl	.L27
	movl	$0, -51772(%rbp)
	jmp	.L28
.L33:
	movl	$0, -51768(%rbp)
	jmp	.L29
.L32:
	movl	$0, -51764(%rbp)
	jmp	.L30
.L31:
	movl	-51776(%rbp), %eax
	movl	-51764(%rbp), %edx
	movslq	%edx, %rcx
	movl	-51772(%rbp), %edx
	movslq	%edx, %rdx
	cltq
	salq	$2, %rax
	addq	%rax, %rdx
	movl	-51768(%rbp), %eax
	cltq
	salq	$2, %rdx
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	movq	-51728(%rbp,%rax,8), %rax
	addq	%rax, -51736(%rbp)
	addl	$1, -51764(%rbp)
.L30:
	cmpl	$3, -51764(%rbp)
	jle	.L31
	addl	$1, -51768(%rbp)
.L29:
	cmpl	$3, -51768(%rbp)
	jle	.L32
	addl	$1, -51772(%rbp)
.L28:
	cmpl	$3, -51772(%rbp)
	jle	.L33
	movq	-51736(%rbp), %rcx
	movabsq	$-8543223828751151131, %rdx
	movq	%rcx, %rax
	imulq	%rdx
	leaq	(%rdx,%rcx), %rax
	sarq	$29, %rax
	movq	%rcx, %rdx
	sarq	$63, %rdx
	subq	%rdx, %rax
	imulq	$1000000007, %rax, %rdx
	movq	%rcx, %rax
	subq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L35
	call	__stack_chk_fail@PLT
.L35:
	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:
