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>

enum ACGT {
	A, C, G, T
};

#define LEN 100

int NG(int x, int y, int z) {
	return (x == A && y == G && z == C);
}

int FLAT(int x, int y, int z) {
	return (x * 4 + y) * 4 + z;
}

#define MOD 1000000007

int X[LEN+1][64];
int main() {
	int N;
	scanf("%d\n", &N);

	for (int i1 = 0; i1 < 4; i1++)
	for (int i2 = 0; i2 < 4; i2++)
	for (int i3 = 0; i3 < 4; i3++) {
		if (NG(i1, i2, i3)) continue;
		if (NG(i2, i1, i3)) continue;
		if (NG(i1, i3, i2)) continue;

		X[3][FLAT(i1, i2, i3)] = 1;
	}

	for (int i = 4; i <= N; i++) {
		for (int i1 = 0; i1 < 4; i1++)
		for (int i2 = 0; i2 < 4; i2++)
		for (int i3 = 0; i3 < 4; i3++)
		for (int i4 = 0; i4 < 4; i4++) {
			if (NG(i2, i3, i4)) continue;
			if (NG(i3, i2, i4)) continue;
			if (NG(i2, i4, i3)) continue;

			if (NG(i1, i3, i4)) continue;
			if (NG(i1, i2, i4)) continue;

			X[i][FLAT(i2, i3, i4)] += X[i - 1][FLAT(i1, i2, i3)];
			X[i][FLAT(i2, i3, i4)] %= MOD;
		}
	}
	int sum = 0;
	for (int i1 = 0; i1 < 4; i1++)
	for (int i2 = 0; i2 < 4; i2++)
	for (int i3 = 0; i3 < 4; i3++) {
		sum += X[N][FLAT(i1, i2, i3)];
		sum %= MOD;
	}
	printf("%d\n", sum);
}
```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	NG
	.type	NG, @function
NG:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movl	%edi, -4(%rbp)
	movl	%esi, -8(%rbp)
	movl	%edx, -12(%rbp)
	cmpl	$0, -4(%rbp)
	jne	.L2
	cmpl	$2, -8(%rbp)
	jne	.L2
	cmpl	$1, -12(%rbp)
	jne	.L2
	movl	$1, %eax
	jmp	.L4
.L2:
	movl	$0, %eax
.L4:
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	NG, .-NG
	.globl	FLAT
	.type	FLAT, @function
FLAT:
.LFB1:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movl	%edi, -4(%rbp)
	movl	%esi, -8(%rbp)
	movl	%edx, -12(%rbp)
	movl	-4(%rbp), %eax
	leal	0(,%rax,4), %edx
	movl	-8(%rbp), %eax
	addl	%edx, %eax
	leal	0(,%rax,4), %edx
	movl	-12(%rbp), %eax
	addl	%edx, %eax
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	FLAT, .-FLAT
	.globl	X
	.bss
	.align 32
	.type	X, @object
	.size	X, 25856
X:
	.zero	25856
	.section	.rodata
.LC0:
	.string	"%d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB2:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	pushq	%rbx
	subq	$72, %rsp
	.cfi_offset 3, -24
	movq	%fs:40, %rax
	movq	%rax, -24(%rbp)
	xorl	%eax, %eax
	leaq	-76(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -72(%rbp)
	jmp	.L8
.L17:
	movl	$0, -68(%rbp)
	jmp	.L9
.L16:
	movl	$0, -64(%rbp)
	jmp	.L10
.L15:
	movl	-64(%rbp), %edx
	movl	-68(%rbp), %ecx
	movl	-72(%rbp), %eax
	movl	%ecx, %esi
	movl	%eax, %edi
	call	NG
	testl	%eax, %eax
	jne	.L42
	movl	-64(%rbp), %edx
	movl	-72(%rbp), %ecx
	movl	-68(%rbp), %eax
	movl	%ecx, %esi
	movl	%eax, %edi
	call	NG
	testl	%eax, %eax
	jne	.L43
	movl	-68(%rbp), %edx
	movl	-64(%rbp), %ecx
	movl	-72(%rbp), %eax
	movl	%ecx, %esi
	movl	%eax, %edi
	call	NG
	testl	%eax, %eax
	jne	.L44
	movl	-64(%rbp), %edx
	movl	-68(%rbp), %ecx
	movl	-72(%rbp), %eax
	movl	%ecx, %esi
	movl	%eax, %edi
	call	FLAT
	cltq
	addq	$192, %rax
	leaq	0(,%rax,4), %rdx
	leaq	X(%rip), %rax
	movl	$1, (%rdx,%rax)
	jmp	.L12
.L42:
	nop
	jmp	.L12
.L43:
	nop
	jmp	.L12
.L44:
	nop
.L12:
	addl	$1, -64(%rbp)
.L10:
	cmpl	$3, -64(%rbp)
	jle	.L15
	addl	$1, -68(%rbp)
.L9:
	cmpl	$3, -68(%rbp)
	jle	.L16
	addl	$1, -72(%rbp)
.L8:
	cmpl	$3, -72(%rbp)
	jle	.L17
	movl	$4, -60(%rbp)
	jmp	.L18
.L33:
	movl	$0, -56(%rbp)
	jmp	.L19
.L32:
	movl	$0, -52(%rbp)
	jmp	.L20
.L31:
	movl	$0, -48(%rbp)
	jmp	.L21
.L30:
	movl	$0, -44(%rbp)
	jmp	.L22
.L29:
	movl	-44(%rbp), %edx
	movl	-48(%rbp), %ecx
	movl	-52(%rbp), %eax
	movl	%ecx, %esi
	movl	%eax, %edi
	call	NG
	testl	%eax, %eax
	jne	.L45
	movl	-44(%rbp), %edx
	movl	-52(%rbp), %ecx
	movl	-48(%rbp), %eax
	movl	%ecx, %esi
	movl	%eax, %edi
	call	NG
	testl	%eax, %eax
	jne	.L46
	movl	-48(%rbp), %edx
	movl	-44(%rbp), %ecx
	movl	-52(%rbp), %eax
	movl	%ecx, %esi
	movl	%eax, %edi
	call	NG
	testl	%eax, %eax
	jne	.L47
	movl	-44(%rbp), %edx
	movl	-48(%rbp), %ecx
	movl	-56(%rbp), %eax
	movl	%ecx, %esi
	movl	%eax, %edi
	call	NG
	testl	%eax, %eax
	jne	.L48
	movl	-44(%rbp), %edx
	movl	-52(%rbp), %ecx
	movl	-56(%rbp), %eax
	movl	%ecx, %esi
	movl	%eax, %edi
	call	NG
	testl	%eax, %eax
	jne	.L49
	movl	-60(%rbp), %eax
	leal	-1(%rax), %ebx
	movl	-48(%rbp), %edx
	movl	-52(%rbp), %ecx
	movl	-56(%rbp), %eax
	movl	%ecx, %esi
	movl	%eax, %edi
	call	FLAT
	movslq	%eax, %rdx
	movslq	%ebx, %rax
	salq	$6, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	leaq	X(%rip), %rax
	movl	(%rdx,%rax), %ebx
	movl	-44(%rbp), %edx
	movl	-48(%rbp), %ecx
	movl	-52(%rbp), %eax
	movl	%ecx, %esi
	movl	%eax, %edi
	call	FLAT
	movslq	%eax, %rcx
	movl	-60(%rbp), %edx
	movslq	%edx, %rdx
	salq	$6, %rdx
	addq	%rcx, %rdx
	leaq	0(,%rdx,4), %rcx
	leaq	X(%rip), %rdx
	movl	(%rcx,%rdx), %edx
	leal	(%rbx,%rdx), %ecx
	movslq	%eax, %rdx
	movl	-60(%rbp), %eax
	cltq
	salq	$6, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	leaq	X(%rip), %rax
	movl	%ecx, (%rdx,%rax)
	movl	-44(%rbp), %edx
	movl	-48(%rbp), %ecx
	movl	-52(%rbp), %eax
	movl	%ecx, %esi
	movl	%eax, %edi
	call	FLAT
	movl	%eax, %ecx
	movslq	%ecx, %rdx
	movl	-60(%rbp), %eax
	cltq
	salq	$6, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	leaq	X(%rip), %rax
	movl	(%rdx,%rax), %edx
	movslq	%edx, %rax
	imulq	$1152921497, %rax, %rax
	shrq	$32, %rax
	sarl	$28, %eax
	movl	%edx, %esi
	sarl	$31, %esi
	subl	%esi, %eax
	imull	$1000000007, %eax, %esi
	movl	%edx, %eax
	subl	%esi, %eax
	movslq	%ecx, %rcx
	movl	-60(%rbp), %edx
	movslq	%edx, %rdx
	salq	$6, %rdx
	addq	%rcx, %rdx
	leaq	0(,%rdx,4), %rcx
	leaq	X(%rip), %rdx
	movl	%eax, (%rcx,%rdx)
	jmp	.L24
.L45:
	nop
	jmp	.L24
.L46:
	nop
	jmp	.L24
.L47:
	nop
	jmp	.L24
.L48:
	nop
	jmp	.L24
.L49:
	nop
.L24:
	addl	$1, -44(%rbp)
.L22:
	cmpl	$3, -44(%rbp)
	jle	.L29
	addl	$1, -48(%rbp)
.L21:
	cmpl	$3, -48(%rbp)
	jle	.L30
	addl	$1, -52(%rbp)
.L20:
	cmpl	$3, -52(%rbp)
	jle	.L31
	addl	$1, -56(%rbp)
.L19:
	cmpl	$3, -56(%rbp)
	jle	.L32
	addl	$1, -60(%rbp)
.L18:
	movl	-76(%rbp), %eax
	cmpl	%eax, -60(%rbp)
	jle	.L33
	movl	$0, -40(%rbp)
	movl	$0, -36(%rbp)
	jmp	.L34
.L39:
	movl	$0, -32(%rbp)
	jmp	.L35
.L38:
	movl	$0, -28(%rbp)
	jmp	.L36
.L37:
	movl	-76(%rbp), %ebx
	movl	-28(%rbp), %edx
	movl	-32(%rbp), %ecx
	movl	-36(%rbp), %eax
	movl	%ecx, %esi
	movl	%eax, %edi
	call	FLAT
	movslq	%eax, %rdx
	movslq	%ebx, %rax
	salq	$6, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	leaq	X(%rip), %rax
	movl	(%rdx,%rax), %eax
	addl	%eax, -40(%rbp)
	movl	-40(%rbp), %eax
	movslq	%eax, %rdx
	imulq	$1152921497, %rdx, %rdx
	shrq	$32, %rdx
	sarl	$28, %edx
	movl	%eax, %ecx
	sarl	$31, %ecx
	subl	%ecx, %edx
	imull	$1000000007, %edx, %edx
	subl	%edx, %eax
	movl	%eax, -40(%rbp)
	addl	$1, -28(%rbp)
.L36:
	cmpl	$3, -28(%rbp)
	jle	.L37
	addl	$1, -32(%rbp)
.L35:
	cmpl	$3, -32(%rbp)
	jle	.L38
	addl	$1, -36(%rbp)
.L34:
	cmpl	$3, -36(%rbp)
	jle	.L39
	movl	-40(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	movq	-24(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L41
	call	__stack_chk_fail@PLT
.L41:
	movq	-8(%rbp), %rbx
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.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
	.p2align 4
	.globl	NG
	.type	NG, @function
NG:
.LFB23:
	.cfi_startproc
	endbr64
	cmpl	$2, %esi
	sete	%al
	cmpl	$1, %edx
	sete	%dl
	andl	%eax, %edx
	xorl	%eax, %eax
	testl	%edi, %edi
	sete	%al
	andl	%edx, %eax
	ret
	.cfi_endproc
.LFE23:
	.size	NG, .-NG
	.p2align 4
	.globl	FLAT
	.type	FLAT, @function
FLAT:
.LFB24:
	.cfi_startproc
	endbr64
	leal	(%rsi,%rdi,4), %eax
	leal	(%rdx,%rax,4), %eax
	ret
	.cfi_endproc
.LFE24:
	.size	FLAT, .-FLAT
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB25:
	.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	.LC0(%rip), %r12
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	movq	%r12, %rdi
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$24, %rsp
	.cfi_def_cfa_offset 80
	movq	%fs:40, %rax
	movq	%rax, 8(%rsp)
	xorl	%eax, %eax
	leaq	4(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movq	.LC2(%rip), %rax
	movl	4(%rsp), %ebx
	movl	$1, 896+X(%rip)
	movdqa	.LC1(%rip), %xmm0
	movq	%rax, 784+X(%rip)
	movq	%rax, 796+X(%rip)
	movq	%rax, 888+X(%rip)
	movq	%rax, 1016+X(%rip)
	movaps	%xmm0, 768+X(%rip)
	movups	%xmm0, 808+X(%rip)
	movups	%xmm0, 824+X(%rip)
	movups	%xmm0, 840+X(%rip)
	movups	%xmm0, 856+X(%rip)
	movups	%xmm0, 872+X(%rip)
	movups	%xmm0, 904+X(%rip)
	movups	%xmm0, 920+X(%rip)
	movups	%xmm0, 936+X(%rip)
	movups	%xmm0, 952+X(%rip)
	movups	%xmm0, 968+X(%rip)
	movups	%xmm0, 984+X(%rip)
	movups	%xmm0, 1000+X(%rip)
	cmpl	$3, %ebx
	jle	.L5
	leaq	1024+X(%rip), %r11
	leal	-4(%rbx), %ebp
	movl	$1000000007, %r13d
	salq	$8, %rbp
	leaq	256(%r11), %rax
	addq	%rax, %rbp
.L6:
	leaq	-256(%r11), %r10
	xorl	%r9d, %r9d
.L18:
	testl	%r9d, %r9d
	movq	%r11, %rcx
	movq	%r10, %rsi
	sete	%r8b
	xorl	%edi, %edi
.L17:
	cmpl	$2, %edi
	movl	(%rsi), %edx
	sete	%r14b
	addl	(%rcx), %edx
	movslq	%edx, %rax
	movl	%edx, %r15d
	imulq	$1152921497, %rax, %rax
	sarl	$31, %r15d
	sarq	$60, %rax
	subl	%r15d, %eax
	imull	$1000000007, %eax, %eax
	subl	%eax, %edx
	movl	%edx, (%rcx)
	cmpl	$2, %edi
	je	.L7
	movl	(%rsi), %edx
	addl	4(%rcx), %edx
	movslq	%edx, %rax
	movl	%edx, %r15d
	imulq	$1152921497, %rax, %rax
	sarl	$31, %r15d
	sarq	$60, %rax
	subl	%r15d, %eax
	imull	$1000000007, %eax, %eax
	subl	%eax, %edx
	movl	%edx, 4(%rcx)
.L7:
	movl	(%rsi), %edx
	addl	8(%rcx), %edx
	movslq	%edx, %rax
	movl	%edx, %r15d
	imulq	$1152921497, %rax, %rax
	sarl	$31, %r15d
	sarq	$60, %rax
	subl	%r15d, %eax
	imull	$1000000007, %eax, %eax
	subl	%eax, %edx
	movl	%edx, 8(%rcx)
	movl	(%rsi), %edx
	addl	12(%rcx), %edx
	movslq	%edx, %rax
	movl	%edx, %r15d
	imulq	$1152921497, %rax, %rax
	sarl	$31, %r15d
	sarq	$60, %rax
	subl	%r15d, %eax
	imull	$1000000007, %eax, %eax
	subl	%eax, %edx
	movl	%edx, 12(%rcx)
	movl	4(%rsi), %edx
	addl	16(%rcx), %edx
	movslq	%edx, %rax
	movl	%edx, %r15d
	imulq	$1152921497, %rax, %rax
	sarl	$31, %r15d
	sarq	$60, %rax
	subl	%r15d, %eax
	imull	$1000000007, %eax, %eax
	subl	%eax, %edx
	movl	%edx, 16(%rcx)
	andb	%r8b, %r14b
	je	.L27
	movl	4(%rsi), %eax
	addl	24(%rcx), %eax
	cltd
	idivl	%r13d
	movl	%edx, 24(%rcx)
	movl	4(%rsi), %eax
	addl	28(%rcx), %eax
	cltd
	idivl	%r13d
	movl	32(%rcx), %eax
	movl	%edx, 28(%rcx)
	addl	8(%rsi), %eax
	cltd
	idivl	%r13d
	movl	%edx, 32(%rcx)
	.p2align 4,,10
	.p2align 3
.L14:
	movl	40(%rcx), %edx
	addl	8(%rsi), %edx
	movslq	%edx, %rax
	movl	%edx, %r15d
	imulq	$1152921497, %rax, %rax
	sarl	$31, %r15d
	sarq	$60, %rax
	subl	%r15d, %eax
	imull	$1000000007, %eax, %eax
	subl	%eax, %edx
	movl	%edx, 40(%rcx)
	movl	44(%rcx), %edx
	addl	8(%rsi), %edx
	movslq	%edx, %rax
	movl	%edx, %r15d
	imulq	$1152921497, %rax, %rax
	sarl	$31, %r15d
	sarq	$60, %rax
	subl	%r15d, %eax
	imull	$1000000007, %eax, %eax
	subl	%eax, %edx
	movl	%edx, 44(%rcx)
	movl	48(%rcx), %edx
	addl	12(%rsi), %edx
	movslq	%edx, %rax
	movl	%edx, %r15d
	imulq	$1152921497, %rax, %rax
	sarl	$31, %r15d
	sarq	$60, %rax
	subl	%r15d, %eax
	imull	$1000000007, %eax, %eax
	subl	%eax, %edx
	movl	%edx, 48(%rcx)
	testb	%r14b, %r14b
	je	.L10
	movl	56(%rcx), %edx
	addl	12(%rsi), %edx
	addq	$64, %rcx
	addq	$16, %rsi
	movslq	%edx, %rax
	movl	%edx, %edi
	imulq	$1152921497, %rax, %rax
	sarl	$31, %edi
	sarq	$60, %rax
	subl	%edi, %eax
	imull	$1000000007, %eax, %eax
	subl	%eax, %edx
	movl	%edx, -8(%rcx)
	movl	-4(%rcx), %edx
	addl	-4(%rsi), %edx
	movslq	%edx, %rax
	movl	%edx, %edi
	imulq	$1152921497, %rax, %rax
	sarl	$31, %edi
	sarq	$60, %rax
	subl	%edi, %eax
	movl	$3, %edi
	imull	$1000000007, %eax, %eax
	subl	%eax, %edx
	movl	%edx, -4(%rcx)
	jmp	.L17
	.p2align 4,,10
	.p2align 3
.L27:
	movl	4(%rsi), %edx
	addl	20(%rcx), %edx
	movslq	%edx, %rax
	movl	%edx, %r15d
	imulq	$1152921497, %rax, %rax
	sarl	$31, %r15d
	sarq	$60, %rax
	subl	%r15d, %eax
	imull	$1000000007, %eax, %eax
	subl	%eax, %edx
	movl	%edx, 20(%rcx)
	movl	4(%rsi), %edx
	testl	%edi, %edi
	jne	.L28
	addl	28(%rcx), %edx
	movslq	%edx, %rax
	movl	%edx, %r14d
	imulq	$1152921497, %rax, %rax
	sarl	$31, %r14d
	sarq	$60, %rax
	subl	%r14d, %eax
	imull	$1000000007, %eax, %eax
	subl	%eax, %edx
	movl	%edx, 28(%rcx)
	movl	32(%rcx), %edx
	addl	8(%rsi), %edx
	movslq	%edx, %rax
	movl	%edx, %r14d
	imulq	$1152921497, %rax, %rax
	sarl	$31, %r14d
	sarq	$60, %rax
	subl	%r14d, %eax
	imull	$1000000007, %eax, %eax
	subl	%eax, %edx
	movl	%edx, 32(%rcx)
	movl	40(%rcx), %edx
	addl	8(%rsi), %edx
	movslq	%edx, %rax
	movl	%edx, %r14d
	imulq	$1152921497, %rax, %rax
	sarl	$31, %r14d
	sarq	$60, %rax
	subl	%r14d, %eax
	imull	$1000000007, %eax, %eax
	subl	%eax, %edx
	movl	%edx, 40(%rcx)
	movl	8(%rsi), %edx
	addl	44(%rcx), %edx
	movslq	%edx, %rax
	movl	%edx, %r14d
	imulq	$1152921497, %rax, %rax
	sarl	$31, %r14d
	sarq	$60, %rax
	subl	%r14d, %eax
	imull	$1000000007, %eax, %eax
	subl	%eax, %edx
	movl	%edx, 44(%rcx)
	movl	48(%rcx), %edx
	addl	12(%rsi), %edx
	movslq	%edx, %rax
	movl	%edx, %r14d
	imulq	$1152921497, %rax, %rax
	sarl	$31, %r14d
	sarq	$60, %rax
	subl	%r14d, %eax
	imull	$1000000007, %eax, %eax
	subl	%eax, %edx
	movl	%edx, 48(%rcx)
.L10:
	movl	52(%rcx), %edx
	addl	12(%rsi), %edx
	addl	$1, %edi
	addq	$16, %rsi
	movslq	%edx, %rax
	movl	%edx, %r14d
	addq	$64, %rcx
	imulq	$1152921497, %rax, %rax
	sarl	$31, %r14d
	sarq	$60, %rax
	subl	%r14d, %eax
	imull	$1000000007, %eax, %eax
	subl	%eax, %edx
	movl	%edx, -12(%rcx)
	movl	-4(%rsi), %edx
	addl	-8(%rcx), %edx
	movslq	%edx, %rax
	movl	%edx, %r14d
	imulq	$1152921497, %rax, %rax
	sarl	$31, %r14d
	sarq	$60, %rax
	subl	%r14d, %eax
	imull	$1000000007, %eax, %eax
	subl	%eax, %edx
	movl	%edx, -8(%rcx)
	movl	-4(%rcx), %edx
	addl	-4(%rsi), %edx
	movslq	%edx, %rax
	movl	%edx, %r14d
	imulq	$1152921497, %rax, %rax
	sarl	$31, %r14d
	sarq	$60, %rax
	subl	%r14d, %eax
	imull	$1000000007, %eax, %eax
	subl	%eax, %edx
	movl	%edx, -4(%rcx)
	cmpl	$4, %edi
	jne	.L17
	addl	$1, %r9d
	addq	$64, %r10
	cmpl	$4, %r9d
	jne	.L18
	addq	$256, %r11
	cmpq	%r11, %rbp
	jne	.L6
.L5:
	movslq	%ebx, %rdx
	leaq	X(%rip), %rax
	movl	$1, %edi
	salq	$8, %rdx
	addq	%rdx, %rax
	movslq	(%rax), %rdx
	movq	%rdx, %rcx
	imulq	$1152921497, %rdx, %rdx
	movl	%ecx, %esi
	sarl	$31, %esi
	sarq	$60, %rdx
	subl	%esi, %edx
	imull	$1000000007, %edx, %esi
	movl	4(%rax), %edx
	subl	%esi, %ecx
	addl	%ecx, %edx
	movslq	%edx, %rcx
	movl	%edx, %esi
	imulq	$1152921497, %rcx, %rcx
	sarl	$31, %esi
	sarq	$60, %rcx
	subl	%esi, %ecx
	imull	$1000000007, %ecx, %esi
	movl	%edx, %ecx
	subl	%esi, %ecx
	addl	8(%rax), %ecx
	movslq	%ecx, %rdx
	movl	%ecx, %esi
	imulq	$1152921497, %rdx, %rdx
	sarl	$31, %esi
	sarq	$60, %rdx
	subl	%esi, %edx
	imull	$1000000007, %edx, %esi
	movl	12(%rax), %edx
	subl	%esi, %ecx
	addl	%ecx, %edx
	movslq	%edx, %rcx
	movl	%edx, %esi
	imulq	$1152921497, %rcx, %rcx
	sarl	$31, %esi
	sarq	$60, %rcx
	subl	%esi, %ecx
	imull	$1000000007, %ecx, %esi
	movl	%edx, %ecx
	subl	%esi, %ecx
	addl	16(%rax), %ecx
	movslq	%ecx, %rdx
	movl	%ecx, %esi
	imulq	$1152921497, %rdx, %rdx
	sarq	$60, %rdx
	sarl	$31, %esi
	subl	%esi, %edx
	imull	$1000000007, %edx, %esi
	movl	20(%rax), %edx
	subl	%esi, %ecx
	addl	%ecx, %edx
	movslq	%edx, %rcx
	movl	%edx, %esi
	imulq	$1152921497, %rcx, %rcx
	sarl	$31, %esi
	sarq	$60, %rcx
	subl	%esi, %ecx
	imull	$1000000007, %ecx, %esi
	movl	%edx, %ecx
	subl	%esi, %ecx
	addl	24(%rax), %ecx
	movslq	%ecx, %rdx
	movl	%ecx, %esi
	imulq	$1152921497, %rdx, %rdx
	sarl	$31, %esi
	sarq	$60, %rdx
	subl	%esi, %edx
	imull	$1000000007, %edx, %esi
	movl	28(%rax), %edx
	subl	%esi, %ecx
	addl	%ecx, %edx
	movslq	%edx, %rcx
	movl	%edx, %esi
	imulq	$1152921497, %rcx, %rcx
	sarl	$31, %esi
	sarq	$60, %rcx
	subl	%esi, %ecx
	imull	$1000000007, %ecx, %esi
	movl	%edx, %ecx
	subl	%esi, %ecx
	addl	32(%rax), %ecx
	movslq	%ecx, %rdx
	movl	%ecx, %esi
	imulq	$1152921497, %rdx, %rdx
	sarl	$31, %esi
	sarq	$60, %rdx
	subl	%esi, %edx
	imull	$1000000007, %edx, %esi
	movl	36(%rax), %edx
	subl	%esi, %ecx
	addl	%ecx, %edx
	movslq	%edx, %rcx
	movl	%edx, %esi
	imulq	$1152921497, %rcx, %rcx
	sarl	$31, %esi
	sarq	$60, %rcx
	subl	%esi, %ecx
	imull	$1000000007, %ecx, %esi
	movl	%edx, %ecx
	subl	%esi, %ecx
	addl	40(%rax), %ecx
	movslq	%ecx, %rdx
	movl	%ecx, %esi
	imulq	$1152921497, %rdx, %rdx
	sarl	$31, %esi
	sarq	$60, %rdx
	subl	%esi, %edx
	imull	$1000000007, %edx, %esi
	movl	44(%rax), %edx
	subl	%esi, %ecx
	addl	%ecx, %edx
	movslq	%edx, %rcx
	movl	%edx, %esi
	imulq	$1152921497, %rcx, %rcx
	sarl	$31, %esi
	sarq	$60, %rcx
	subl	%esi, %ecx
	imull	$1000000007, %ecx, %esi
	movl	%edx, %ecx
	subl	%esi, %ecx
	addl	48(%rax), %ecx
	movslq	%ecx, %rdx
	movl	%ecx, %esi
	imulq	$1152921497, %rdx, %rdx
	sarl	$31, %esi
	sarq	$60, %rdx
	subl	%esi, %edx
	imull	$1000000007, %edx, %esi
	movl	52(%rax), %edx
	subl	%esi, %ecx
	addl	%ecx, %edx
	movslq	%edx, %rcx
	movl	%edx, %esi
	imulq	$1152921497, %rcx, %rcx
	sarl	$31, %esi
	sarq	$60, %rcx
	subl	%esi, %ecx
	imull	$1000000007, %ecx, %esi
	movl	%edx, %ecx
	subl	%esi, %ecx
	addl	56(%rax), %ecx
	movslq	%ecx, %rdx
	movl	%ecx, %esi
	imulq	$1152921497, %rdx, %rdx
	sarl	$31, %esi
	sarq	$60, %rdx
	subl	%esi, %edx
	imull	$1000000007, %edx, %esi
	movl	60(%rax), %edx
	subl	%esi, %ecx
	addl	%ecx, %edx
	movslq	%edx, %rcx
	movl	%edx, %esi
	imulq	$1152921497, %rcx, %rcx
	sarl	$31, %esi
	sarq	$60, %rcx
	subl	%esi, %ecx
	imull	$1000000007, %ecx, %esi
	movl	%edx, %ecx
	subl	%esi, %ecx
	addl	64(%rax), %ecx
	movslq	%ecx, %rdx
	movl	%ecx, %esi
	imulq	$1152921497, %rdx, %rdx
	sarl	$31, %esi
	sarq	$60, %rdx
	subl	%esi, %edx
	imull	$1000000007, %edx, %esi
	movl	68(%rax), %edx
	subl	%esi, %ecx
	addl	%ecx, %edx
	movslq	%edx, %rcx
	movl	%edx, %esi
	imulq	$1152921497, %rcx, %rcx
	sarl	$31, %esi
	sarq	$60, %rcx
	subl	%esi, %ecx
	imull	$1000000007, %ecx, %esi
	movl	%edx, %ecx
	subl	%esi, %ecx
	addl	72(%rax), %ecx
	movslq	%ecx, %rdx
	movl	%ecx, %esi
	imulq	$1152921497, %rdx, %rdx
	sarl	$31, %esi
	sarq	$60, %rdx
	subl	%esi, %edx
	imull	$1000000007, %edx, %esi
	movl	76(%rax), %edx
	subl	%esi, %ecx
	addl	%ecx, %edx
	movslq	%edx, %rcx
	movl	%edx, %esi
	imulq	$1152921497, %rcx, %rcx
	sarl	$31, %esi
	sarq	$60, %rcx
	subl	%esi, %ecx
	imull	$1000000007, %ecx, %esi
	movl	%edx, %ecx
	subl	%esi, %ecx
	addl	80(%rax), %ecx
	movslq	%ecx, %rdx
	movl	%ecx, %esi
	imulq	$1152921497, %rdx, %rdx
	sarl	$31, %esi
	sarq	$60, %rdx
	subl	%esi, %edx
	imull	$1000000007, %edx, %esi
	movl	84(%rax), %edx
	subl	%esi, %ecx
	addl	%ecx, %edx
	movslq	%edx, %rcx
	movl	%edx, %esi
	imulq	$1152921497, %rcx, %rcx
	sarl	$31, %esi
	sarq	$60, %rcx
	subl	%esi, %ecx
	imull	$1000000007, %ecx, %esi
	movl	%edx, %ecx
	subl	%esi, %ecx
	addl	88(%rax), %ecx
	movslq	%ecx, %rdx
	movl	%ecx, %esi
	imulq	$1152921497, %rdx, %rdx
	sarl	$31, %esi
	sarq	$60, %rdx
	subl	%esi, %edx
	imull	$1000000007, %edx, %esi
	movl	92(%rax), %edx
	subl	%esi, %ecx
	addl	%ecx, %edx
	movslq	%edx, %rcx
	movl	%edx, %esi
	imulq	$1152921497, %rcx, %rcx
	sarl	$31, %esi
	sarq	$60, %rcx
	subl	%esi, %ecx
	imull	$1000000007, %ecx, %esi
	movl	%edx, %ecx
	subl	%esi, %ecx
	addl	96(%rax), %ecx
	movslq	%ecx, %rdx
	movl	%ecx, %esi
	imulq	$1152921497, %rdx, %rdx
	sarl	$31, %esi
	sarq	$60, %rdx
	subl	%esi, %edx
	imull	$1000000007, %edx, %esi
	movl	100(%rax), %edx
	subl	%esi, %ecx
	addl	%ecx, %edx
	movslq	%edx, %rcx
	movl	%edx, %esi
	imulq	$1152921497, %rcx, %rcx
	sarl	$31, %esi
	sarq	$60, %rcx
	subl	%esi, %ecx
	imull	$1000000007, %ecx, %esi
	movl	%edx, %ecx
	subl	%esi, %ecx
	addl	104(%rax), %ecx
	movslq	%ecx, %rdx
	movl	%ecx, %esi
	imulq	$1152921497, %rdx, %rdx
	sarl	$31, %esi
	sarq	$60, %rdx
	subl	%esi, %edx
	imull	$1000000007, %edx, %esi
	movl	108(%rax), %edx
	subl	%esi, %ecx
	addl	%ecx, %edx
	movslq	%edx, %rcx
	movl	%edx, %esi
	imulq	$1152921497, %rcx, %rcx
	sarq	$60, %rcx
	sarl	$31, %esi
	subl	%esi, %ecx
	imull	$1000000007, %ecx, %esi
	movl	%edx, %ecx
	subl	%esi, %ecx
	addl	112(%rax), %ecx
	movslq	%ecx, %rdx
	movl	%ecx, %esi
	imulq	$1152921497, %rdx, %rdx
	sarl	$31, %esi
	sarq	$60, %rdx
	subl	%esi, %edx
	imull	$1000000007, %edx, %esi
	movl	116(%rax), %edx
	subl	%esi, %ecx
	addl	%ecx, %edx
	movslq	%edx, %rcx
	movl	%edx, %esi
	imulq	$1152921497, %rcx, %rcx
	sarl	$31, %esi
	sarq	$60, %rcx
	subl	%esi, %ecx
	imull	$1000000007, %ecx, %esi
	movl	%edx, %ecx
	subl	%esi, %ecx
	addl	120(%rax), %ecx
	movslq	%ecx, %rdx
	movl	%ecx, %esi
	imulq	$1152921497, %rdx, %rdx
	sarl	$31, %esi
	sarq	$60, %rdx
	subl	%esi, %edx
	imull	$1000000007, %edx, %esi
	movl	124(%rax), %edx
	subl	%esi, %ecx
	addl	%ecx, %edx
	movslq	%edx, %rcx
	movl	%edx, %esi
	imulq	$1152921497, %rcx, %rcx
	sarl	$31, %esi
	sarq	$60, %rcx
	subl	%esi, %ecx
	imull	$1000000007, %ecx, %esi
	movl	%edx, %ecx
	subl	%esi, %ecx
	addl	128(%rax), %ecx
	movslq	%ecx, %rdx
	movl	%ecx, %esi
	imulq	$1152921497, %rdx, %rdx
	sarl	$31, %esi
	sarq	$60, %rdx
	subl	%esi, %edx
	imull	$1000000007, %edx, %esi
	movl	132(%rax), %edx
	subl	%esi, %ecx
	addl	%ecx, %edx
	movslq	%edx, %rcx
	movl	%edx, %esi
	imulq	$1152921497, %rcx, %rcx
	sarl	$31, %esi
	sarq	$60, %rcx
	subl	%esi, %ecx
	imull	$1000000007, %ecx, %esi
	movl	%edx, %ecx
	subl	%esi, %ecx
	addl	136(%rax), %ecx
	movslq	%ecx, %rdx
	movl	%ecx, %esi
	imulq	$1152921497, %rdx, %rdx
	sarl	$31, %esi
	sarq	$60, %rdx
	subl	%esi, %edx
	imull	$1000000007, %edx, %esi
	movl	140(%rax), %edx
	subl	%esi, %ecx
	addl	%ecx, %edx
	movslq	%edx, %rcx
	movl	%edx, %esi
	imulq	$1152921497, %rcx, %rcx
	sarl	$31, %esi
	sarq	$60, %rcx
	subl	%esi, %ecx
	imull	$1000000007, %ecx, %esi
	movl	%edx, %ecx
	subl	%esi, %ecx
	addl	144(%rax), %ecx
	movslq	%ecx, %rdx
	movl	%ecx, %esi
	imulq	$1152921497, %rdx, %rdx
	sarq	$60, %rdx
	sarl	$31, %esi
	subl	%esi, %edx
	imull	$1000000007, %edx, %esi
	movl	148(%rax), %edx
	subl	%esi, %ecx
	addl	%ecx, %edx
	movslq	%edx, %rcx
	movl	%edx, %esi
	imulq	$1152921497, %rcx, %rcx
	sarl	$31, %esi
	sarq	$60, %rcx
	subl	%esi, %ecx
	imull	$1000000007, %ecx, %esi
	movl	%edx, %ecx
	subl	%esi, %ecx
	addl	152(%rax), %ecx
	movslq	%ecx, %rdx
	movl	%ecx, %esi
	imulq	$1152921497, %rdx, %rdx
	sarl	$31, %esi
	sarq	$60, %rdx
	subl	%esi, %edx
	imull	$1000000007, %edx, %esi
	movl	156(%rax), %edx
	subl	%esi, %ecx
	addl	%ecx, %edx
	movslq	%edx, %rcx
	movl	%edx, %esi
	imulq	$1152921497, %rcx, %rcx
	sarl	$31, %esi
	sarq	$60, %rcx
	subl	%esi, %ecx
	imull	$1000000007, %ecx, %esi
	movl	%edx, %ecx
	subl	%esi, %ecx
	addl	160(%rax), %ecx
	movslq	%ecx, %rdx
	movl	%ecx, %esi
	imulq	$1152921497, %rdx, %rdx
	sarl	$31, %esi
	sarq	$60, %rdx
	subl	%esi, %edx
	imull	$1000000007, %edx, %esi
	movl	164(%rax), %edx
	subl	%esi, %ecx
	addl	%ecx, %edx
	movslq	%edx, %rcx
	movl	%edx, %esi
	imulq	$1152921497, %rcx, %rcx
	sarl	$31, %esi
	sarq	$60, %rcx
	subl	%esi, %ecx
	imull	$1000000007, %ecx, %esi
	movl	%edx, %ecx
	subl	%esi, %ecx
	addl	168(%rax), %ecx
	movslq	%ecx, %rdx
	movl	%ecx, %esi
	imulq	$1152921497, %rdx, %rdx
	sarl	$31, %esi
	sarq	$60, %rdx
	subl	%esi, %edx
	imull	$1000000007, %edx, %esi
	movl	172(%rax), %edx
	subl	%esi, %ecx
	addl	%ecx, %edx
	movslq	%edx, %rcx
	movl	%edx, %esi
	imulq	$1152921497, %rcx, %rcx
	sarl	$31, %esi
	sarq	$60, %rcx
	subl	%esi, %ecx
	imull	$1000000007, %ecx, %esi
	movl	%edx, %ecx
	subl	%esi, %ecx
	addl	176(%rax), %ecx
	movslq	%ecx, %rdx
	movl	%ecx, %esi
	imulq	$1152921497, %rdx, %rdx
	sarl	$31, %esi
	sarq	$60, %rdx
	subl	%esi, %edx
	imull	$1000000007, %edx, %esi
	movl	180(%rax), %edx
	subl	%esi, %ecx
	addl	%ecx, %edx
	movslq	%edx, %rcx
	movl	%edx, %esi
	imulq	$1152921497, %rcx, %rcx
	sarl	$31, %esi
	sarq	$60, %rcx
	subl	%esi, %ecx
	imull	$1000000007, %ecx, %esi
	movl	%edx, %ecx
	subl	%esi, %ecx
	addl	184(%rax), %ecx
	movslq	%ecx, %rdx
	movl	%ecx, %esi
	imulq	$1152921497, %rdx, %rdx
	sarl	$31, %esi
	sarq	$60, %rdx
	subl	%esi, %edx
	imull	$1000000007, %edx, %esi
	movl	188(%rax), %edx
	subl	%esi, %ecx
	addl	%ecx, %edx
	movslq	%edx, %rcx
	movl	%edx, %esi
	imulq	$1152921497, %rcx, %rcx
	sarl	$31, %esi
	sarq	$60, %rcx
	subl	%esi, %ecx
	imull	$1000000007, %ecx, %esi
	movl	%edx, %ecx
	subl	%esi, %ecx
	addl	192(%rax), %ecx
	movslq	%ecx, %rdx
	movl	%ecx, %esi
	imulq	$1152921497, %rdx, %rdx
	sarl	$31, %esi
	sarq	$60, %rdx
	subl	%esi, %edx
	imull	$1000000007, %edx, %esi
	movl	196(%rax), %edx
	subl	%esi, %ecx
	addl	%ecx, %edx
	movslq	%edx, %rcx
	movl	%edx, %esi
	imulq	$1152921497, %rcx, %rcx
	sarl	$31, %esi
	sarq	$60, %rcx
	subl	%esi, %ecx
	imull	$1000000007, %ecx, %esi
	movl	%edx, %ecx
	subl	%esi, %ecx
	addl	200(%rax), %ecx
	movslq	%ecx, %rdx
	movl	%ecx, %esi
	imulq	$1152921497, %rdx, %rdx
	sarl	$31, %esi
	sarq	$60, %rdx
	subl	%esi, %edx
	imull	$1000000007, %edx, %esi
	movl	204(%rax), %edx
	subl	%esi, %ecx
	addl	%ecx, %edx
	movslq	%edx, %rcx
	movl	%edx, %esi
	imulq	$1152921497, %rcx, %rcx
	sarl	$31, %esi
	sarq	$60, %rcx
	subl	%esi, %ecx
	imull	$1000000007, %ecx, %esi
	movl	%edx, %ecx
	subl	%esi, %ecx
	addl	208(%rax), %ecx
	movslq	%ecx, %rdx
	movl	%ecx, %esi
	imulq	$1152921497, %rdx, %rdx
	sarl	$31, %esi
	sarq	$60, %rdx
	subl	%esi, %edx
	imull	$1000000007, %edx, %esi
	movl	212(%rax), %edx
	subl	%esi, %ecx
	addl	%ecx, %edx
	movslq	%edx, %rcx
	movl	%edx, %esi
	imulq	$1152921497, %rcx, %rcx
	sarl	$31, %esi
	sarq	$60, %rcx
	subl	%esi, %ecx
	imull	$1000000007, %ecx, %esi
	movl	%edx, %ecx
	subl	%esi, %ecx
	addl	216(%rax), %ecx
	movslq	%ecx, %rdx
	movl	%ecx, %esi
	imulq	$1152921497, %rdx, %rdx
	sarl	$31, %esi
	sarq	$60, %rdx
	subl	%esi, %edx
	imull	$1000000007, %edx, %esi
	movl	220(%rax), %edx
	subl	%esi, %ecx
	addl	%ecx, %edx
	movslq	%edx, %rcx
	movl	%edx, %esi
	imulq	$1152921497, %rcx, %rcx
	sarl	$31, %esi
	sarq	$60, %rcx
	subl	%esi, %ecx
	imull	$1000000007, %ecx, %esi
	movl	%edx, %ecx
	subl	%esi, %ecx
	addl	224(%rax), %ecx
	movslq	%ecx, %rdx
	movl	%ecx, %esi
	imulq	$1152921497, %rdx, %rdx
	sarl	$31, %esi
	sarq	$60, %rdx
	subl	%esi, %edx
	imull	$1000000007, %edx, %esi
	movl	228(%rax), %edx
	subl	%esi, %ecx
	addl	%ecx, %edx
	movslq	%edx, %rcx
	movl	%edx, %esi
	imulq	$1152921497, %rcx, %rcx
	sarl	$31, %esi
	sarq	$60, %rcx
	subl	%esi, %ecx
	imull	$1000000007, %ecx, %esi
	movl	%edx, %ecx
	subl	%esi, %ecx
	addl	232(%rax), %ecx
	movslq	%ecx, %rdx
	movl	%ecx, %esi
	imulq	$1152921497, %rdx, %rdx
	sarl	$31, %esi
	sarq	$60, %rdx
	subl	%esi, %edx
	imull	$1000000007, %edx, %esi
	movl	236(%rax), %edx
	subl	%esi, %ecx
	addl	%ecx, %edx
	movslq	%edx, %rcx
	movl	%edx, %esi
	imulq	$1152921497, %rcx, %rcx
	sarq	$60, %rcx
	sarl	$31, %esi
	subl	%esi, %ecx
	imull	$1000000007, %ecx, %esi
	movl	%edx, %ecx
	subl	%esi, %ecx
	addl	240(%rax), %ecx
	movslq	%ecx, %rdx
	movl	%ecx, %esi
	imulq	$1152921497, %rdx, %rdx
	sarl	$31, %esi
	sarq	$60, %rdx
	subl	%esi, %edx
	imull	$1000000007, %edx, %esi
	movl	244(%rax), %edx
	subl	%esi, %ecx
	addl	%ecx, %edx
	movslq	%edx, %rcx
	movl	%edx, %esi
	imulq	$1152921497, %rcx, %rcx
	sarl	$31, %esi
	sarq	$60, %rcx
	subl	%esi, %ecx
	imull	$1000000007, %ecx, %esi
	movl	%edx, %ecx
	subl	%esi, %ecx
	addl	248(%rax), %ecx
	movslq	%ecx, %rdx
	movl	%ecx, %esi
	imulq	$1152921497, %rdx, %rdx
	sarl	$31, %esi
	sarq	$60, %rdx
	subl	%esi, %edx
	imull	$1000000007, %edx, %esi
	movl	252(%rax), %edx
	subl	%esi, %ecx
	movq	%r12, %rsi
	addl	%ecx, %edx
	movslq	%edx, %rcx
	movq	%rcx, %rax
	imulq	$1152921497, %rcx, %rcx
	cltd
	sarq	$60, %rcx
	subl	%edx, %ecx
	imull	$1000000007, %ecx, %ecx
	subl	%ecx, %eax
	movl	%eax, %edx
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movq	8(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L29
	addq	$24, %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
.L28:
	.cfi_restore_state
	addl	24(%rcx), %edx
	movslq	%edx, %rax
	movl	%edx, %r15d
	imulq	$1152921497, %rax, %rax
	sarl	$31, %r15d
	sarq	$60, %rax
	subl	%r15d, %eax
	imull	$1000000007, %eax, %eax
	subl	%eax, %edx
	movl	%edx, 24(%rcx)
	movl	4(%rsi), %edx
	addl	28(%rcx), %edx
	movslq	%edx, %rax
	movl	%edx, %r15d
	imulq	$1152921497, %rax, %rax
	sarl	$31, %r15d
	sarq	$60, %rax
	subl	%r15d, %eax
	imull	$1000000007, %eax, %eax
	subl	%eax, %edx
	movl	%edx, 28(%rcx)
	movl	32(%rcx), %edx
	addl	8(%rsi), %edx
	movslq	%edx, %rax
	movl	%edx, %r15d
	imulq	$1152921497, %rax, %rax
	sarl	$31, %r15d
	sarq	$60, %rax
	subl	%r15d, %eax
	imull	$1000000007, %eax, %eax
	subl	%eax, %edx
	movl	%edx, 32(%rcx)
	testl	%r9d, %r9d
	je	.L14
	movl	36(%rcx), %edx
	addl	8(%rsi), %edx
	movslq	%edx, %rax
	movl	%edx, %r15d
	imulq	$1152921497, %rax, %rax
	sarl	$31, %r15d
	sarq	$60, %rax
	subl	%r15d, %eax
	imull	$1000000007, %eax, %eax
	subl	%eax, %edx
	movl	%edx, 36(%rcx)
	jmp	.L14
.L29:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE25:
	.size	main, .-main
	.globl	X
	.bss
	.align 32
	.type	X, @object
	.size	X, 25856
X:
	.zero	25856
	.section	.rodata.cst16,"aM",@progbits,16
	.align 16
.LC1:
	.long	1
	.long	1
	.long	1
	.long	1
	.set	.LC2,.LC1
	.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
	.p2align 4
	.globl	NG
	.type	NG, @function
NG:
.LFB23:
	.cfi_startproc
	endbr64
	cmpl	$2, %esi
	sete	%al
	cmpl	$1, %edx
	sete	%dl
	andl	%eax, %edx
	xorl	%eax, %eax
	testl	%edi, %edi
	sete	%al
	andl	%edx, %eax
	ret
	.cfi_endproc
.LFE23:
	.size	NG, .-NG
	.p2align 4
	.globl	FLAT
	.type	FLAT, @function
FLAT:
.LFB24:
	.cfi_startproc
	endbr64
	leal	(%rsi,%rdi,4), %eax
	leal	(%rdx,%rax,4), %eax
	ret
	.cfi_endproc
.LFE24:
	.size	FLAT, .-FLAT
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB25:
	.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	.LC0(%rip), %r12
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	movq	%r12, %rdi
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$24, %rsp
	.cfi_def_cfa_offset 80
	movq	%fs:40, %rax
	movq	%rax, 8(%rsp)
	xorl	%eax, %eax
	leaq	4(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movq	.LC2(%rip), %rax
	movl	4(%rsp), %ebx
	movl	$1, 896+X(%rip)
	movdqa	.LC1(%rip), %xmm0
	movq	%rax, 784+X(%rip)
	movq	%rax, 796+X(%rip)
	movq	%rax, 888+X(%rip)
	movq	%rax, 1016+X(%rip)
	movaps	%xmm0, 768+X(%rip)
	movups	%xmm0, 808+X(%rip)
	movups	%xmm0, 824+X(%rip)
	movups	%xmm0, 840+X(%rip)
	movups	%xmm0, 856+X(%rip)
	movups	%xmm0, 872+X(%rip)
	movups	%xmm0, 904+X(%rip)
	movups	%xmm0, 920+X(%rip)
	movups	%xmm0, 936+X(%rip)
	movups	%xmm0, 952+X(%rip)
	movups	%xmm0, 968+X(%rip)
	movups	%xmm0, 984+X(%rip)
	movups	%xmm0, 1000+X(%rip)
	cmpl	$3, %ebx
	jle	.L5
	leaq	1024+X(%rip), %r11
	leal	-4(%rbx), %ebp
	movl	$1000000007, %r13d
	salq	$8, %rbp
	leaq	256(%r11), %rax
	addq	%rax, %rbp
.L6:
	leaq	-256(%r11), %r10
	xorl	%r9d, %r9d
.L18:
	testl	%r9d, %r9d
	movq	%r11, %rcx
	movq	%r10, %rsi
	sete	%r8b
	xorl	%edi, %edi
.L17:
	cmpl	$2, %edi
	movl	(%rsi), %edx
	sete	%r14b
	addl	(%rcx), %edx
	movslq	%edx, %rax
	movl	%edx, %r15d
	imulq	$1152921497, %rax, %rax
	sarl	$31, %r15d
	sarq	$60, %rax
	subl	%r15d, %eax
	imull	$1000000007, %eax, %eax
	subl	%eax, %edx
	movl	%edx, (%rcx)
	cmpl	$2, %edi
	je	.L7
	movl	(%rsi), %edx
	addl	4(%rcx), %edx
	movslq	%edx, %rax
	movl	%edx, %r15d
	imulq	$1152921497, %rax, %rax
	sarl	$31, %r15d
	sarq	$60, %rax
	subl	%r15d, %eax
	imull	$1000000007, %eax, %eax
	subl	%eax, %edx
	movl	%edx, 4(%rcx)
.L7:
	movl	(%rsi), %edx
	addl	8(%rcx), %edx
	movslq	%edx, %rax
	movl	%edx, %r15d
	imulq	$1152921497, %rax, %rax
	sarl	$31, %r15d
	sarq	$60, %rax
	subl	%r15d, %eax
	imull	$1000000007, %eax, %eax
	subl	%eax, %edx
	movl	%edx, 8(%rcx)
	movl	(%rsi), %edx
	addl	12(%rcx), %edx
	movslq	%edx, %rax
	movl	%edx, %r15d
	imulq	$1152921497, %rax, %rax
	sarl	$31, %r15d
	sarq	$60, %rax
	subl	%r15d, %eax
	imull	$1000000007, %eax, %eax
	subl	%eax, %edx
	movl	%edx, 12(%rcx)
	movl	4(%rsi), %edx
	addl	16(%rcx), %edx
	movslq	%edx, %rax
	movl	%edx, %r15d
	imulq	$1152921497, %rax, %rax
	sarl	$31, %r15d
	sarq	$60, %rax
	subl	%r15d, %eax
	imull	$1000000007, %eax, %eax
	subl	%eax, %edx
	movl	%edx, 16(%rcx)
	andb	%r8b, %r14b
	je	.L27
	movl	4(%rsi), %eax
	addl	24(%rcx), %eax
	cltd
	idivl	%r13d
	movl	%edx, 24(%rcx)
	movl	4(%rsi), %eax
	addl	28(%rcx), %eax
	cltd
	idivl	%r13d
	movl	32(%rcx), %eax
	movl	%edx, 28(%rcx)
	addl	8(%rsi), %eax
	cltd
	idivl	%r13d
	movl	%edx, 32(%rcx)
	.p2align 4,,10
	.p2align 3
.L14:
	movl	40(%rcx), %edx
	addl	8(%rsi), %edx
	movslq	%edx, %rax
	movl	%edx, %r15d
	imulq	$1152921497, %rax, %rax
	sarl	$31, %r15d
	sarq	$60, %rax
	subl	%r15d, %eax
	imull	$1000000007, %eax, %eax
	subl	%eax, %edx
	movl	%edx, 40(%rcx)
	movl	44(%rcx), %edx
	addl	8(%rsi), %edx
	movslq	%edx, %rax
	movl	%edx, %r15d
	imulq	$1152921497, %rax, %rax
	sarl	$31, %r15d
	sarq	$60, %rax
	subl	%r15d, %eax
	imull	$1000000007, %eax, %eax
	subl	%eax, %edx
	movl	%edx, 44(%rcx)
	movl	48(%rcx), %edx
	addl	12(%rsi), %edx
	movslq	%edx, %rax
	movl	%edx, %r15d
	imulq	$1152921497, %rax, %rax
	sarl	$31, %r15d
	sarq	$60, %rax
	subl	%r15d, %eax
	imull	$1000000007, %eax, %eax
	subl	%eax, %edx
	movl	%edx, 48(%rcx)
	testb	%r14b, %r14b
	je	.L10
	movl	56(%rcx), %edx
	addl	12(%rsi), %edx
	addq	$64, %rcx
	addq	$16, %rsi
	movslq	%edx, %rax
	movl	%edx, %edi
	imulq	$1152921497, %rax, %rax
	sarl	$31, %edi
	sarq	$60, %rax
	subl	%edi, %eax
	imull	$1000000007, %eax, %eax
	subl	%eax, %edx
	movl	%edx, -8(%rcx)
	movl	-4(%rcx), %edx
	addl	-4(%rsi), %edx
	movslq	%edx, %rax
	movl	%edx, %edi
	imulq	$1152921497, %rax, %rax
	sarl	$31, %edi
	sarq	$60, %rax
	subl	%edi, %eax
	movl	$3, %edi
	imull	$1000000007, %eax, %eax
	subl	%eax, %edx
	movl	%edx, -4(%rcx)
	jmp	.L17
	.p2align 4,,10
	.p2align 3
.L27:
	movl	4(%rsi), %edx
	addl	20(%rcx), %edx
	movslq	%edx, %rax
	movl	%edx, %r15d
	imulq	$1152921497, %rax, %rax
	sarl	$31, %r15d
	sarq	$60, %rax
	subl	%r15d, %eax
	imull	$1000000007, %eax, %eax
	subl	%eax, %edx
	movl	%edx, 20(%rcx)
	movl	4(%rsi), %edx
	testl	%edi, %edi
	jne	.L28
	addl	28(%rcx), %edx
	movslq	%edx, %rax
	movl	%edx, %r14d
	imulq	$1152921497, %rax, %rax
	sarl	$31, %r14d
	sarq	$60, %rax
	subl	%r14d, %eax
	imull	$1000000007, %eax, %eax
	subl	%eax, %edx
	movl	%edx, 28(%rcx)
	movl	32(%rcx), %edx
	addl	8(%rsi), %edx
	movslq	%edx, %rax
	movl	%edx, %r14d
	imulq	$1152921497, %rax, %rax
	sarl	$31, %r14d
	sarq	$60, %rax
	subl	%r14d, %eax
	imull	$1000000007, %eax, %eax
	subl	%eax, %edx
	movl	%edx, 32(%rcx)
	movl	40(%rcx), %edx
	addl	8(%rsi), %edx
	movslq	%edx, %rax
	movl	%edx, %r14d
	imulq	$1152921497, %rax, %rax
	sarl	$31, %r14d
	sarq	$60, %rax
	subl	%r14d, %eax
	imull	$1000000007, %eax, %eax
	subl	%eax, %edx
	movl	%edx, 40(%rcx)
	movl	8(%rsi), %edx
	addl	44(%rcx), %edx
	movslq	%edx, %rax
	movl	%edx, %r14d
	imulq	$1152921497, %rax, %rax
	sarl	$31, %r14d
	sarq	$60, %rax
	subl	%r14d, %eax
	imull	$1000000007, %eax, %eax
	subl	%eax, %edx
	movl	%edx, 44(%rcx)
	movl	48(%rcx), %edx
	addl	12(%rsi), %edx
	movslq	%edx, %rax
	movl	%edx, %r14d
	imulq	$1152921497, %rax, %rax
	sarl	$31, %r14d
	sarq	$60, %rax
	subl	%r14d, %eax
	imull	$1000000007, %eax, %eax
	subl	%eax, %edx
	movl	%edx, 48(%rcx)
.L10:
	movl	52(%rcx), %edx
	addl	12(%rsi), %edx
	addl	$1, %edi
	addq	$16, %rsi
	movslq	%edx, %rax
	movl	%edx, %r14d
	addq	$64, %rcx
	imulq	$1152921497, %rax, %rax
	sarl	$31, %r14d
	sarq	$60, %rax
	subl	%r14d, %eax
	imull	$1000000007, %eax, %eax
	subl	%eax, %edx
	movl	%edx, -12(%rcx)
	movl	-4(%rsi), %edx
	addl	-8(%rcx), %edx
	movslq	%edx, %rax
	movl	%edx, %r14d
	imulq	$1152921497, %rax, %rax
	sarl	$31, %r14d
	sarq	$60, %rax
	subl	%r14d, %eax
	imull	$1000000007, %eax, %eax
	subl	%eax, %edx
	movl	%edx, -8(%rcx)
	movl	-4(%rcx), %edx
	addl	-4(%rsi), %edx
	movslq	%edx, %rax
	movl	%edx, %r14d
	imulq	$1152921497, %rax, %rax
	sarl	$31, %r14d
	sarq	$60, %rax
	subl	%r14d, %eax
	imull	$1000000007, %eax, %eax
	subl	%eax, %edx
	movl	%edx, -4(%rcx)
	cmpl	$4, %edi
	jne	.L17
	addl	$1, %r9d
	addq	$64, %r10
	cmpl	$4, %r9d
	jne	.L18
	addq	$256, %r11
	cmpq	%r11, %rbp
	jne	.L6
.L5:
	movslq	%ebx, %rdx
	leaq	X(%rip), %rax
	movl	$1, %edi
	salq	$8, %rdx
	addq	%rdx, %rax
	movslq	(%rax), %rdx
	movq	%rdx, %rcx
	imulq	$1152921497, %rdx, %rdx
	movl	%ecx, %esi
	sarl	$31, %esi
	sarq	$60, %rdx
	subl	%esi, %edx
	imull	$1000000007, %edx, %esi
	movl	4(%rax), %edx
	subl	%esi, %ecx
	addl	%ecx, %edx
	movslq	%edx, %rcx
	movl	%edx, %esi
	imulq	$1152921497, %rcx, %rcx
	sarl	$31, %esi
	sarq	$60, %rcx
	subl	%esi, %ecx
	imull	$1000000007, %ecx, %esi
	movl	%edx, %ecx
	subl	%esi, %ecx
	addl	8(%rax), %ecx
	movslq	%ecx, %rdx
	movl	%ecx, %esi
	imulq	$1152921497, %rdx, %rdx
	sarl	$31, %esi
	sarq	$60, %rdx
	subl	%esi, %edx
	imull	$1000000007, %edx, %esi
	movl	12(%rax), %edx
	subl	%esi, %ecx
	addl	%ecx, %edx
	movslq	%edx, %rcx
	movl	%edx, %esi
	imulq	$1152921497, %rcx, %rcx
	sarl	$31, %esi
	sarq	$60, %rcx
	subl	%esi, %ecx
	imull	$1000000007, %ecx, %esi
	movl	%edx, %ecx
	subl	%esi, %ecx
	addl	16(%rax), %ecx
	movslq	%ecx, %rdx
	movl	%ecx, %esi
	imulq	$1152921497, %rdx, %rdx
	sarq	$60, %rdx
	sarl	$31, %esi
	subl	%esi, %edx
	imull	$1000000007, %edx, %esi
	movl	20(%rax), %edx
	subl	%esi, %ecx
	addl	%ecx, %edx
	movslq	%edx, %rcx
	movl	%edx, %esi
	imulq	$1152921497, %rcx, %rcx
	sarl	$31, %esi
	sarq	$60, %rcx
	subl	%esi, %ecx
	imull	$1000000007, %ecx, %esi
	movl	%edx, %ecx
	subl	%esi, %ecx
	addl	24(%rax), %ecx
	movslq	%ecx, %rdx
	movl	%ecx, %esi
	imulq	$1152921497, %rdx, %rdx
	sarl	$31, %esi
	sarq	$60, %rdx
	subl	%esi, %edx
	imull	$1000000007, %edx, %esi
	movl	28(%rax), %edx
	subl	%esi, %ecx
	addl	%ecx, %edx
	movslq	%edx, %rcx
	movl	%edx, %esi
	imulq	$1152921497, %rcx, %rcx
	sarl	$31, %esi
	sarq	$60, %rcx
	subl	%esi, %ecx
	imull	$1000000007, %ecx, %esi
	movl	%edx, %ecx
	subl	%esi, %ecx
	addl	32(%rax), %ecx
	movslq	%ecx, %rdx
	movl	%ecx, %esi
	imulq	$1152921497, %rdx, %rdx
	sarl	$31, %esi
	sarq	$60, %rdx
	subl	%esi, %edx
	imull	$1000000007, %edx, %esi
	movl	36(%rax), %edx
	subl	%esi, %ecx
	addl	%ecx, %edx
	movslq	%edx, %rcx
	movl	%edx, %esi
	imulq	$1152921497, %rcx, %rcx
	sarl	$31, %esi
	sarq	$60, %rcx
	subl	%esi, %ecx
	imull	$1000000007, %ecx, %esi
	movl	%edx, %ecx
	subl	%esi, %ecx
	addl	40(%rax), %ecx
	movslq	%ecx, %rdx
	movl	%ecx, %esi
	imulq	$1152921497, %rdx, %rdx
	sarl	$31, %esi
	sarq	$60, %rdx
	subl	%esi, %edx
	imull	$1000000007, %edx, %esi
	movl	44(%rax), %edx
	subl	%esi, %ecx
	addl	%ecx, %edx
	movslq	%edx, %rcx
	movl	%edx, %esi
	imulq	$1152921497, %rcx, %rcx
	sarl	$31, %esi
	sarq	$60, %rcx
	subl	%esi, %ecx
	imull	$1000000007, %ecx, %esi
	movl	%edx, %ecx
	subl	%esi, %ecx
	addl	48(%rax), %ecx
	movslq	%ecx, %rdx
	movl	%ecx, %esi
	imulq	$1152921497, %rdx, %rdx
	sarl	$31, %esi
	sarq	$60, %rdx
	subl	%esi, %edx
	imull	$1000000007, %edx, %esi
	movl	52(%rax), %edx
	subl	%esi, %ecx
	addl	%ecx, %edx
	movslq	%edx, %rcx
	movl	%edx, %esi
	imulq	$1152921497, %rcx, %rcx
	sarl	$31, %esi
	sarq	$60, %rcx
	subl	%esi, %ecx
	imull	$1000000007, %ecx, %esi
	movl	%edx, %ecx
	subl	%esi, %ecx
	addl	56(%rax), %ecx
	movslq	%ecx, %rdx
	movl	%ecx, %esi
	imulq	$1152921497, %rdx, %rdx
	sarl	$31, %esi
	sarq	$60, %rdx
	subl	%esi, %edx
	imull	$1000000007, %edx, %esi
	movl	60(%rax), %edx
	subl	%esi, %ecx
	addl	%ecx, %edx
	movslq	%edx, %rcx
	movl	%edx, %esi
	imulq	$1152921497, %rcx, %rcx
	sarl	$31, %esi
	sarq	$60, %rcx
	subl	%esi, %ecx
	imull	$1000000007, %ecx, %esi
	movl	%edx, %ecx
	subl	%esi, %ecx
	addl	64(%rax), %ecx
	movslq	%ecx, %rdx
	movl	%ecx, %esi
	imulq	$1152921497, %rdx, %rdx
	sarl	$31, %esi
	sarq	$60, %rdx
	subl	%esi, %edx
	imull	$1000000007, %edx, %esi
	movl	68(%rax), %edx
	subl	%esi, %ecx
	addl	%ecx, %edx
	movslq	%edx, %rcx
	movl	%edx, %esi
	imulq	$1152921497, %rcx, %rcx
	sarl	$31, %esi
	sarq	$60, %rcx
	subl	%esi, %ecx
	imull	$1000000007, %ecx, %esi
	movl	%edx, %ecx
	subl	%esi, %ecx
	addl	72(%rax), %ecx
	movslq	%ecx, %rdx
	movl	%ecx, %esi
	imulq	$1152921497, %rdx, %rdx
	sarl	$31, %esi
	sarq	$60, %rdx
	subl	%esi, %edx
	imull	$1000000007, %edx, %esi
	movl	76(%rax), %edx
	subl	%esi, %ecx
	addl	%ecx, %edx
	movslq	%edx, %rcx
	movl	%edx, %esi
	imulq	$1152921497, %rcx, %rcx
	sarl	$31, %esi
	sarq	$60, %rcx
	subl	%esi, %ecx
	imull	$1000000007, %ecx, %esi
	movl	%edx, %ecx
	subl	%esi, %ecx
	addl	80(%rax), %ecx
	movslq	%ecx, %rdx
	movl	%ecx, %esi
	imulq	$1152921497, %rdx, %rdx
	sarl	$31, %esi
	sarq	$60, %rdx
	subl	%esi, %edx
	imull	$1000000007, %edx, %esi
	movl	84(%rax), %edx
	subl	%esi, %ecx
	addl	%ecx, %edx
	movslq	%edx, %rcx
	movl	%edx, %esi
	imulq	$1152921497, %rcx, %rcx
	sarl	$31, %esi
	sarq	$60, %rcx
	subl	%esi, %ecx
	imull	$1000000007, %ecx, %esi
	movl	%edx, %ecx
	subl	%esi, %ecx
	addl	88(%rax), %ecx
	movslq	%ecx, %rdx
	movl	%ecx, %esi
	imulq	$1152921497, %rdx, %rdx
	sarl	$31, %esi
	sarq	$60, %rdx
	subl	%esi, %edx
	imull	$1000000007, %edx, %esi
	movl	92(%rax), %edx
	subl	%esi, %ecx
	addl	%ecx, %edx
	movslq	%edx, %rcx
	movl	%edx, %esi
	imulq	$1152921497, %rcx, %rcx
	sarl	$31, %esi
	sarq	$60, %rcx
	subl	%esi, %ecx
	imull	$1000000007, %ecx, %esi
	movl	%edx, %ecx
	subl	%esi, %ecx
	addl	96(%rax), %ecx
	movslq	%ecx, %rdx
	movl	%ecx, %esi
	imulq	$1152921497, %rdx, %rdx
	sarl	$31, %esi
	sarq	$60, %rdx
	subl	%esi, %edx
	imull	$1000000007, %edx, %esi
	movl	100(%rax), %edx
	subl	%esi, %ecx
	addl	%ecx, %edx
	movslq	%edx, %rcx
	movl	%edx, %esi
	imulq	$1152921497, %rcx, %rcx
	sarl	$31, %esi
	sarq	$60, %rcx
	subl	%esi, %ecx
	imull	$1000000007, %ecx, %esi
	movl	%edx, %ecx
	subl	%esi, %ecx
	addl	104(%rax), %ecx
	movslq	%ecx, %rdx
	movl	%ecx, %esi
	imulq	$1152921497, %rdx, %rdx
	sarl	$31, %esi
	sarq	$60, %rdx
	subl	%esi, %edx
	imull	$1000000007, %edx, %esi
	movl	108(%rax), %edx
	subl	%esi, %ecx
	addl	%ecx, %edx
	movslq	%edx, %rcx
	movl	%edx, %esi
	imulq	$1152921497, %rcx, %rcx
	sarq	$60, %rcx
	sarl	$31, %esi
	subl	%esi, %ecx
	imull	$1000000007, %ecx, %esi
	movl	%edx, %ecx
	subl	%esi, %ecx
	addl	112(%rax), %ecx
	movslq	%ecx, %rdx
	movl	%ecx, %esi
	imulq	$1152921497, %rdx, %rdx
	sarl	$31, %esi
	sarq	$60, %rdx
	subl	%esi, %edx
	imull	$1000000007, %edx, %esi
	movl	116(%rax), %edx
	subl	%esi, %ecx
	addl	%ecx, %edx
	movslq	%edx, %rcx
	movl	%edx, %esi
	imulq	$1152921497, %rcx, %rcx
	sarl	$31, %esi
	sarq	$60, %rcx
	subl	%esi, %ecx
	imull	$1000000007, %ecx, %esi
	movl	%edx, %ecx
	subl	%esi, %ecx
	addl	120(%rax), %ecx
	movslq	%ecx, %rdx
	movl	%ecx, %esi
	imulq	$1152921497, %rdx, %rdx
	sarl	$31, %esi
	sarq	$60, %rdx
	subl	%esi, %edx
	imull	$1000000007, %edx, %esi
	movl	124(%rax), %edx
	subl	%esi, %ecx
	addl	%ecx, %edx
	movslq	%edx, %rcx
	movl	%edx, %esi
	imulq	$1152921497, %rcx, %rcx
	sarl	$31, %esi
	sarq	$60, %rcx
	subl	%esi, %ecx
	imull	$1000000007, %ecx, %esi
	movl	%edx, %ecx
	subl	%esi, %ecx
	addl	128(%rax), %ecx
	movslq	%ecx, %rdx
	movl	%ecx, %esi
	imulq	$1152921497, %rdx, %rdx
	sarl	$31, %esi
	sarq	$60, %rdx
	subl	%esi, %edx
	imull	$1000000007, %edx, %esi
	movl	132(%rax), %edx
	subl	%esi, %ecx
	addl	%ecx, %edx
	movslq	%edx, %rcx
	movl	%edx, %esi
	imulq	$1152921497, %rcx, %rcx
	sarl	$31, %esi
	sarq	$60, %rcx
	subl	%esi, %ecx
	imull	$1000000007, %ecx, %esi
	movl	%edx, %ecx
	subl	%esi, %ecx
	addl	136(%rax), %ecx
	movslq	%ecx, %rdx
	movl	%ecx, %esi
	imulq	$1152921497, %rdx, %rdx
	sarl	$31, %esi
	sarq	$60, %rdx
	subl	%esi, %edx
	imull	$1000000007, %edx, %esi
	movl	140(%rax), %edx
	subl	%esi, %ecx
	addl	%ecx, %edx
	movslq	%edx, %rcx
	movl	%edx, %esi
	imulq	$1152921497, %rcx, %rcx
	sarl	$31, %esi
	sarq	$60, %rcx
	subl	%esi, %ecx
	imull	$1000000007, %ecx, %esi
	movl	%edx, %ecx
	subl	%esi, %ecx
	addl	144(%rax), %ecx
	movslq	%ecx, %rdx
	movl	%ecx, %esi
	imulq	$1152921497, %rdx, %rdx
	sarq	$60, %rdx
	sarl	$31, %esi
	subl	%esi, %edx
	imull	$1000000007, %edx, %esi
	movl	148(%rax), %edx
	subl	%esi, %ecx
	addl	%ecx, %edx
	movslq	%edx, %rcx
	movl	%edx, %esi
	imulq	$1152921497, %rcx, %rcx
	sarl	$31, %esi
	sarq	$60, %rcx
	subl	%esi, %ecx
	imull	$1000000007, %ecx, %esi
	movl	%edx, %ecx
	subl	%esi, %ecx
	addl	152(%rax), %ecx
	movslq	%ecx, %rdx
	movl	%ecx, %esi
	imulq	$1152921497, %rdx, %rdx
	sarl	$31, %esi
	sarq	$60, %rdx
	subl	%esi, %edx
	imull	$1000000007, %edx, %esi
	movl	156(%rax), %edx
	subl	%esi, %ecx
	addl	%ecx, %edx
	movslq	%edx, %rcx
	movl	%edx, %esi
	imulq	$1152921497, %rcx, %rcx
	sarl	$31, %esi
	sarq	$60, %rcx
	subl	%esi, %ecx
	imull	$1000000007, %ecx, %esi
	movl	%edx, %ecx
	subl	%esi, %ecx
	addl	160(%rax), %ecx
	movslq	%ecx, %rdx
	movl	%ecx, %esi
	imulq	$1152921497, %rdx, %rdx
	sarl	$31, %esi
	sarq	$60, %rdx
	subl	%esi, %edx
	imull	$1000000007, %edx, %esi
	movl	164(%rax), %edx
	subl	%esi, %ecx
	addl	%ecx, %edx
	movslq	%edx, %rcx
	movl	%edx, %esi
	imulq	$1152921497, %rcx, %rcx
	sarl	$31, %esi
	sarq	$60, %rcx
	subl	%esi, %ecx
	imull	$1000000007, %ecx, %esi
	movl	%edx, %ecx
	subl	%esi, %ecx
	addl	168(%rax), %ecx
	movslq	%ecx, %rdx
	movl	%ecx, %esi
	imulq	$1152921497, %rdx, %rdx
	sarl	$31, %esi
	sarq	$60, %rdx
	subl	%esi, %edx
	imull	$1000000007, %edx, %esi
	movl	172(%rax), %edx
	subl	%esi, %ecx
	addl	%ecx, %edx
	movslq	%edx, %rcx
	movl	%edx, %esi
	imulq	$1152921497, %rcx, %rcx
	sarl	$31, %esi
	sarq	$60, %rcx
	subl	%esi, %ecx
	imull	$1000000007, %ecx, %esi
	movl	%edx, %ecx
	subl	%esi, %ecx
	addl	176(%rax), %ecx
	movslq	%ecx, %rdx
	movl	%ecx, %esi
	imulq	$1152921497, %rdx, %rdx
	sarl	$31, %esi
	sarq	$60, %rdx
	subl	%esi, %edx
	imull	$1000000007, %edx, %esi
	movl	180(%rax), %edx
	subl	%esi, %ecx
	addl	%ecx, %edx
	movslq	%edx, %rcx
	movl	%edx, %esi
	imulq	$1152921497, %rcx, %rcx
	sarl	$31, %esi
	sarq	$60, %rcx
	subl	%esi, %ecx
	imull	$1000000007, %ecx, %esi
	movl	%edx, %ecx
	subl	%esi, %ecx
	addl	184(%rax), %ecx
	movslq	%ecx, %rdx
	movl	%ecx, %esi
	imulq	$1152921497, %rdx, %rdx
	sarl	$31, %esi
	sarq	$60, %rdx
	subl	%esi, %edx
	imull	$1000000007, %edx, %esi
	movl	188(%rax), %edx
	subl	%esi, %ecx
	addl	%ecx, %edx
	movslq	%edx, %rcx
	movl	%edx, %esi
	imulq	$1152921497, %rcx, %rcx
	sarl	$31, %esi
	sarq	$60, %rcx
	subl	%esi, %ecx
	imull	$1000000007, %ecx, %esi
	movl	%edx, %ecx
	subl	%esi, %ecx
	addl	192(%rax), %ecx
	movslq	%ecx, %rdx
	movl	%ecx, %esi
	imulq	$1152921497, %rdx, %rdx
	sarl	$31, %esi
	sarq	$60, %rdx
	subl	%esi, %edx
	imull	$1000000007, %edx, %esi
	movl	196(%rax), %edx
	subl	%esi, %ecx
	addl	%ecx, %edx
	movslq	%edx, %rcx
	movl	%edx, %esi
	imulq	$1152921497, %rcx, %rcx
	sarl	$31, %esi
	sarq	$60, %rcx
	subl	%esi, %ecx
	imull	$1000000007, %ecx, %esi
	movl	%edx, %ecx
	subl	%esi, %ecx
	addl	200(%rax), %ecx
	movslq	%ecx, %rdx
	movl	%ecx, %esi
	imulq	$1152921497, %rdx, %rdx
	sarl	$31, %esi
	sarq	$60, %rdx
	subl	%esi, %edx
	imull	$1000000007, %edx, %esi
	movl	204(%rax), %edx
	subl	%esi, %ecx
	addl	%ecx, %edx
	movslq	%edx, %rcx
	movl	%edx, %esi
	imulq	$1152921497, %rcx, %rcx
	sarl	$31, %esi
	sarq	$60, %rcx
	subl	%esi, %ecx
	imull	$1000000007, %ecx, %esi
	movl	%edx, %ecx
	subl	%esi, %ecx
	addl	208(%rax), %ecx
	movslq	%ecx, %rdx
	movl	%ecx, %esi
	imulq	$1152921497, %rdx, %rdx
	sarl	$31, %esi
	sarq	$60, %rdx
	subl	%esi, %edx
	imull	$1000000007, %edx, %esi
	movl	212(%rax), %edx
	subl	%esi, %ecx
	addl	%ecx, %edx
	movslq	%edx, %rcx
	movl	%edx, %esi
	imulq	$1152921497, %rcx, %rcx
	sarl	$31, %esi
	sarq	$60, %rcx
	subl	%esi, %ecx
	imull	$1000000007, %ecx, %esi
	movl	%edx, %ecx
	subl	%esi, %ecx
	addl	216(%rax), %ecx
	movslq	%ecx, %rdx
	movl	%ecx, %esi
	imulq	$1152921497, %rdx, %rdx
	sarl	$31, %esi
	sarq	$60, %rdx
	subl	%esi, %edx
	imull	$1000000007, %edx, %esi
	movl	220(%rax), %edx
	subl	%esi, %ecx
	addl	%ecx, %edx
	movslq	%edx, %rcx
	movl	%edx, %esi
	imulq	$1152921497, %rcx, %rcx
	sarl	$31, %esi
	sarq	$60, %rcx
	subl	%esi, %ecx
	imull	$1000000007, %ecx, %esi
	movl	%edx, %ecx
	subl	%esi, %ecx
	addl	224(%rax), %ecx
	movslq	%ecx, %rdx
	movl	%ecx, %esi
	imulq	$1152921497, %rdx, %rdx
	sarl	$31, %esi
	sarq	$60, %rdx
	subl	%esi, %edx
	imull	$1000000007, %edx, %esi
	movl	228(%rax), %edx
	subl	%esi, %ecx
	addl	%ecx, %edx
	movslq	%edx, %rcx
	movl	%edx, %esi
	imulq	$1152921497, %rcx, %rcx
	sarl	$31, %esi
	sarq	$60, %rcx
	subl	%esi, %ecx
	imull	$1000000007, %ecx, %esi
	movl	%edx, %ecx
	subl	%esi, %ecx
	addl	232(%rax), %ecx
	movslq	%ecx, %rdx
	movl	%ecx, %esi
	imulq	$1152921497, %rdx, %rdx
	sarl	$31, %esi
	sarq	$60, %rdx
	subl	%esi, %edx
	imull	$1000000007, %edx, %esi
	movl	236(%rax), %edx
	subl	%esi, %ecx
	addl	%ecx, %edx
	movslq	%edx, %rcx
	movl	%edx, %esi
	imulq	$1152921497, %rcx, %rcx
	sarq	$60, %rcx
	sarl	$31, %esi
	subl	%esi, %ecx
	imull	$1000000007, %ecx, %esi
	movl	%edx, %ecx
	subl	%esi, %ecx
	addl	240(%rax), %ecx
	movslq	%ecx, %rdx
	movl	%ecx, %esi
	imulq	$1152921497, %rdx, %rdx
	sarl	$31, %esi
	sarq	$60, %rdx
	subl	%esi, %edx
	imull	$1000000007, %edx, %esi
	movl	244(%rax), %edx
	subl	%esi, %ecx
	addl	%ecx, %edx
	movslq	%edx, %rcx
	movl	%edx, %esi
	imulq	$1152921497, %rcx, %rcx
	sarl	$31, %esi
	sarq	$60, %rcx
	subl	%esi, %ecx
	imull	$1000000007, %ecx, %esi
	movl	%edx, %ecx
	subl	%esi, %ecx
	addl	248(%rax), %ecx
	movslq	%ecx, %rdx
	movl	%ecx, %esi
	imulq	$1152921497, %rdx, %rdx
	sarl	$31, %esi
	sarq	$60, %rdx
	subl	%esi, %edx
	imull	$1000000007, %edx, %esi
	movl	252(%rax), %edx
	subl	%esi, %ecx
	movq	%r12, %rsi
	addl	%ecx, %edx
	movslq	%edx, %rcx
	movq	%rcx, %rax
	imulq	$1152921497, %rcx, %rcx
	cltd
	sarq	$60, %rcx
	subl	%edx, %ecx
	imull	$1000000007, %ecx, %ecx
	subl	%ecx, %eax
	movl	%eax, %edx
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movq	8(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L29
	addq	$24, %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
.L28:
	.cfi_restore_state
	addl	24(%rcx), %edx
	movslq	%edx, %rax
	movl	%edx, %r15d
	imulq	$1152921497, %rax, %rax
	sarl	$31, %r15d
	sarq	$60, %rax
	subl	%r15d, %eax
	imull	$1000000007, %eax, %eax
	subl	%eax, %edx
	movl	%edx, 24(%rcx)
	movl	4(%rsi), %edx
	addl	28(%rcx), %edx
	movslq	%edx, %rax
	movl	%edx, %r15d
	imulq	$1152921497, %rax, %rax
	sarl	$31, %r15d
	sarq	$60, %rax
	subl	%r15d, %eax
	imull	$1000000007, %eax, %eax
	subl	%eax, %edx
	movl	%edx, 28(%rcx)
	movl	32(%rcx), %edx
	addl	8(%rsi), %edx
	movslq	%edx, %rax
	movl	%edx, %r15d
	imulq	$1152921497, %rax, %rax
	sarl	$31, %r15d
	sarq	$60, %rax
	subl	%r15d, %eax
	imull	$1000000007, %eax, %eax
	subl	%eax, %edx
	movl	%edx, 32(%rcx)
	testl	%r9d, %r9d
	je	.L14
	movl	36(%rcx), %edx
	addl	8(%rsi), %edx
	movslq	%edx, %rax
	movl	%edx, %r15d
	imulq	$1152921497, %rax, %rax
	sarl	$31, %r15d
	sarq	$60, %rax
	subl	%r15d, %eax
	imull	$1000000007, %eax, %eax
	subl	%eax, %edx
	movl	%edx, 36(%rcx)
	jmp	.L14
.L29:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE25:
	.size	main, .-main
	.globl	X
	.bss
	.align 32
	.type	X, @object
	.size	X, 25856
X:
	.zero	25856
	.section	.rodata.cst16,"aM",@progbits,16
	.align 16
.LC1:
	.long	1
	.long	1
	.long	1
	.long	1
	.set	.LC2,.LC1
	.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>

enum ACGT {
	A, C, G, T
};

#define LEN 100

int NG(int x, int y, int z) {
	return (x == A && y == G && z == C);
}

int FLAT(int x, int y, int z) {
	return (x * 4 + y) * 4 + z;
}

#define MOD 1000000007

int X[LEN+1][64];
int main() {
	int N;
	scanf("%d\n", &N);

	for (int i1 = 0; i1 < 4; i1++)
	for (int i2 = 0; i2 < 4; i2++)
	for (int i3 = 0; i3 < 4; i3++) {
		if (NG(i1, i2, i3)) continue;
		if (NG(i2, i1, i3)) continue;
		if (NG(i1, i3, i2)) continue;

		X[3][FLAT(i1, i2, i3)] = 1;
	}

	for (int i = 4; i <= N; i++) {
		for (int i1 = 0; i1 < 4; i1++)
		for (int i2 = 0; i2 < 4; i2++)
		for (int i3 = 0; i3 < 4; i3++)
		for (int i4 = 0; i4 < 4; i4++) {
			if (NG(i2, i3, i4)) continue;
			if (NG(i3, i2, i4)) continue;
			if (NG(i2, i4, i3)) continue;

			if (NG(i1, i3, i4)) continue;
			if (NG(i1, i2, i4)) continue;

			X[i][FLAT(i2, i3, i4)] += X[i - 1][FLAT(i1, i2, i3)];
			X[i][FLAT(i2, i3, i4)] %= MOD;
		}
	}
	int sum = 0;
	for (int i1 = 0; i1 < 4; i1++)
	for (int i2 = 0; i2 < 4; i2++)
	for (int i3 = 0; i3 < 4; i3++) {
		sum += X[N][FLAT(i1, i2, i3)];
		sum %= MOD;
	}
	printf("%d\n", sum);
}

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>

enum ACGT {
	A, C, G, T
};

#define LEN 100

int NG(int x, int y, int z) {
	return (x == A && y == G && z == C);
}

int FLAT(int x, int y, int z) {
	return (x * 4 + y) * 4 + z;
}

#define MOD 1000000007

int X[LEN+1][64];
int main() {
	int N;
	scanf("%d\n", &N);

	for (int i1 = 0; i1 < 4; i1++)
	for (int i2 = 0; i2 < 4; i2++)
	for (int i3 = 0; i3 < 4; i3++) {
		if (NG(i1, i2, i3)) continue;
		if (NG(i2, i1, i3)) continue;
		if (NG(i1, i3, i2)) continue;

		X[3][FLAT(i1, i2, i3)] = 1;
	}

	for (int i = 4; i <= N; i++) {
		for (int i1 = 0; i1 < 4; i1++)
		for (int i2 = 0; i2 < 4; i2++)
		for (int i3 = 0; i3 < 4; i3++)
		for (int i4 = 0; i4 < 4; i4++) {
			if (NG(i2, i3, i4)) continue;
			if (NG(i3, i2, i4)) continue;
			if (NG(i2, i4, i3)) continue;

			if (NG(i1, i3, i4)) continue;
			if (NG(i1, i2, i4)) continue;

			X[i][FLAT(i2, i3, i4)] += X[i - 1][FLAT(i1, i2, i3)];
			X[i][FLAT(i2, i3, i4)] %= MOD;
		}
	}
	int sum = 0;
	for (int i1 = 0; i1 < 4; i1++)
	for (int i2 = 0; i2 < 4; i2++)
	for (int i3 = 0; i3 < 4; i3++) {
		sum += X[N][FLAT(i1, i2, i3)];
		sum %= MOD;
	}
	printf("%d\n", sum);
}
```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	NG
	.type	NG, @function
NG:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movl	%edi, -4(%rbp)
	movl	%esi, -8(%rbp)
	movl	%edx, -12(%rbp)
	cmpl	$0, -4(%rbp)
	jne	.L2
	cmpl	$2, -8(%rbp)
	jne	.L2
	cmpl	$1, -12(%rbp)
	jne	.L2
	movl	$1, %eax
	jmp	.L4
.L2:
	movl	$0, %eax
.L4:
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	NG, .-NG
	.globl	FLAT
	.type	FLAT, @function
FLAT:
.LFB1:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movl	%edi, -4(%rbp)
	movl	%esi, -8(%rbp)
	movl	%edx, -12(%rbp)
	movl	-4(%rbp), %eax
	leal	0(,%rax,4), %edx
	movl	-8(%rbp), %eax
	addl	%edx, %eax
	leal	0(,%rax,4), %edx
	movl	-12(%rbp), %eax
	addl	%edx, %eax
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	FLAT, .-FLAT
	.globl	X
	.bss
	.align 32
	.type	X, @object
	.size	X, 25856
X:
	.zero	25856
	.section	.rodata
.LC0:
	.string	"%d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB2:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	pushq	%rbx
	subq	$72, %rsp
	.cfi_offset 3, -24
	movq	%fs:40, %rax
	movq	%rax, -24(%rbp)
	xorl	%eax, %eax
	leaq	-76(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -72(%rbp)
	jmp	.L8
.L17:
	movl	$0, -68(%rbp)
	jmp	.L9
.L16:
	movl	$0, -64(%rbp)
	jmp	.L10
.L15:
	movl	-64(%rbp), %edx
	movl	-68(%rbp), %ecx
	movl	-72(%rbp), %eax
	movl	%ecx, %esi
	movl	%eax, %edi
	call	NG
	testl	%eax, %eax
	jne	.L42
	movl	-64(%rbp), %edx
	movl	-72(%rbp), %ecx
	movl	-68(%rbp), %eax
	movl	%ecx, %esi
	movl	%eax, %edi
	call	NG
	testl	%eax, %eax
	jne	.L43
	movl	-68(%rbp), %edx
	movl	-64(%rbp), %ecx
	movl	-72(%rbp), %eax
	movl	%ecx, %esi
	movl	%eax, %edi
	call	NG
	testl	%eax, %eax
	jne	.L44
	movl	-64(%rbp), %edx
	movl	-68(%rbp), %ecx
	movl	-72(%rbp), %eax
	movl	%ecx, %esi
	movl	%eax, %edi
	call	FLAT
	cltq
	addq	$192, %rax
	leaq	0(,%rax,4), %rdx
	leaq	X(%rip), %rax
	movl	$1, (%rdx,%rax)
	jmp	.L12
.L42:
	nop
	jmp	.L12
.L43:
	nop
	jmp	.L12
.L44:
	nop
.L12:
	addl	$1, -64(%rbp)
.L10:
	cmpl	$3, -64(%rbp)
	jle	.L15
	addl	$1, -68(%rbp)
.L9:
	cmpl	$3, -68(%rbp)
	jle	.L16
	addl	$1, -72(%rbp)
.L8:
	cmpl	$3, -72(%rbp)
	jle	.L17
	movl	$4, -60(%rbp)
	jmp	.L18
.L33:
	movl	$0, -56(%rbp)
	jmp	.L19
.L32:
	movl	$0, -52(%rbp)
	jmp	.L20
.L31:
	movl	$0, -48(%rbp)
	jmp	.L21
.L30:
	movl	$0, -44(%rbp)
	jmp	.L22
.L29:
	movl	-44(%rbp), %edx
	movl	-48(%rbp), %ecx
	movl	-52(%rbp), %eax
	movl	%ecx, %esi
	movl	%eax, %edi
	call	NG
	testl	%eax, %eax
	jne	.L45
	movl	-44(%rbp), %edx
	movl	-52(%rbp), %ecx
	movl	-48(%rbp), %eax
	movl	%ecx, %esi
	movl	%eax, %edi
	call	NG
	testl	%eax, %eax
	jne	.L46
	movl	-48(%rbp), %edx
	movl	-44(%rbp), %ecx
	movl	-52(%rbp), %eax
	movl	%ecx, %esi
	movl	%eax, %edi
	call	NG
	testl	%eax, %eax
	jne	.L47
	movl	-44(%rbp), %edx
	movl	-48(%rbp), %ecx
	movl	-56(%rbp), %eax
	movl	%ecx, %esi
	movl	%eax, %edi
	call	NG
	testl	%eax, %eax
	jne	.L48
	movl	-44(%rbp), %edx
	movl	-52(%rbp), %ecx
	movl	-56(%rbp), %eax
	movl	%ecx, %esi
	movl	%eax, %edi
	call	NG
	testl	%eax, %eax
	jne	.L49
	movl	-60(%rbp), %eax
	leal	-1(%rax), %ebx
	movl	-48(%rbp), %edx
	movl	-52(%rbp), %ecx
	movl	-56(%rbp), %eax
	movl	%ecx, %esi
	movl	%eax, %edi
	call	FLAT
	movslq	%eax, %rdx
	movslq	%ebx, %rax
	salq	$6, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	leaq	X(%rip), %rax
	movl	(%rdx,%rax), %ebx
	movl	-44(%rbp), %edx
	movl	-48(%rbp), %ecx
	movl	-52(%rbp), %eax
	movl	%ecx, %esi
	movl	%eax, %edi
	call	FLAT
	movslq	%eax, %rcx
	movl	-60(%rbp), %edx
	movslq	%edx, %rdx
	salq	$6, %rdx
	addq	%rcx, %rdx
	leaq	0(,%rdx,4), %rcx
	leaq	X(%rip), %rdx
	movl	(%rcx,%rdx), %edx
	leal	(%rbx,%rdx), %ecx
	movslq	%eax, %rdx
	movl	-60(%rbp), %eax
	cltq
	salq	$6, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	leaq	X(%rip), %rax
	movl	%ecx, (%rdx,%rax)
	movl	-44(%rbp), %edx
	movl	-48(%rbp), %ecx
	movl	-52(%rbp), %eax
	movl	%ecx, %esi
	movl	%eax, %edi
	call	FLAT
	movl	%eax, %ecx
	movslq	%ecx, %rdx
	movl	-60(%rbp), %eax
	cltq
	salq	$6, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	leaq	X(%rip), %rax
	movl	(%rdx,%rax), %edx
	movslq	%edx, %rax
	imulq	$1152921497, %rax, %rax
	shrq	$32, %rax
	sarl	$28, %eax
	movl	%edx, %esi
	sarl	$31, %esi
	subl	%esi, %eax
	imull	$1000000007, %eax, %esi
	movl	%edx, %eax
	subl	%esi, %eax
	movslq	%ecx, %rcx
	movl	-60(%rbp), %edx
	movslq	%edx, %rdx
	salq	$6, %rdx
	addq	%rcx, %rdx
	leaq	0(,%rdx,4), %rcx
	leaq	X(%rip), %rdx
	movl	%eax, (%rcx,%rdx)
	jmp	.L24
.L45:
	nop
	jmp	.L24
.L46:
	nop
	jmp	.L24
.L47:
	nop
	jmp	.L24
.L48:
	nop
	jmp	.L24
.L49:
	nop
.L24:
	addl	$1, -44(%rbp)
.L22:
	cmpl	$3, -44(%rbp)
	jle	.L29
	addl	$1, -48(%rbp)
.L21:
	cmpl	$3, -48(%rbp)
	jle	.L30
	addl	$1, -52(%rbp)
.L20:
	cmpl	$3, -52(%rbp)
	jle	.L31
	addl	$1, -56(%rbp)
.L19:
	cmpl	$3, -56(%rbp)
	jle	.L32
	addl	$1, -60(%rbp)
.L18:
	movl	-76(%rbp), %eax
	cmpl	%eax, -60(%rbp)
	jle	.L33
	movl	$0, -40(%rbp)
	movl	$0, -36(%rbp)
	jmp	.L34
.L39:
	movl	$0, -32(%rbp)
	jmp	.L35
.L38:
	movl	$0, -28(%rbp)
	jmp	.L36
.L37:
	movl	-76(%rbp), %ebx
	movl	-28(%rbp), %edx
	movl	-32(%rbp), %ecx
	movl	-36(%rbp), %eax
	movl	%ecx, %esi
	movl	%eax, %edi
	call	FLAT
	movslq	%eax, %rdx
	movslq	%ebx, %rax
	salq	$6, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	leaq	X(%rip), %rax
	movl	(%rdx,%rax), %eax
	addl	%eax, -40(%rbp)
	movl	-40(%rbp), %eax
	movslq	%eax, %rdx
	imulq	$1152921497, %rdx, %rdx
	shrq	$32, %rdx
	sarl	$28, %edx
	movl	%eax, %ecx
	sarl	$31, %ecx
	subl	%ecx, %edx
	imull	$1000000007, %edx, %edx
	subl	%edx, %eax
	movl	%eax, -40(%rbp)
	addl	$1, -28(%rbp)
.L36:
	cmpl	$3, -28(%rbp)
	jle	.L37
	addl	$1, -32(%rbp)
.L35:
	cmpl	$3, -32(%rbp)
	jle	.L38
	addl	$1, -36(%rbp)
.L34:
	cmpl	$3, -36(%rbp)
	jle	.L39
	movl	-40(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	movq	-24(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L41
	call	__stack_chk_fail@PLT
.L41:
	movq	-8(%rbp), %rbx
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.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
	.globl	NG
	.type	NG, @function
NG:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movl	%edi, -4(%rbp)
	movl	%esi, -8(%rbp)
	movl	%edx, -12(%rbp)
	cmpl	$0, -4(%rbp)
	jne	.L2
	cmpl	$2, -8(%rbp)
	jne	.L2
	cmpl	$1, -12(%rbp)
	jne	.L2
	movl	$1, %eax
	jmp	.L4
.L2:
	movl	$0, %eax
.L4:
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	NG, .-NG
	.globl	FLAT
	.type	FLAT, @function
FLAT:
.LFB1:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movl	%edi, -4(%rbp)
	movl	%esi, -8(%rbp)
	movl	%edx, -12(%rbp)
	movl	-4(%rbp), %eax
	leal	0(,%rax,4), %edx
	movl	-8(%rbp), %eax
	addl	%edx, %eax
	leal	0(,%rax,4), %edx
	movl	-12(%rbp), %eax
	addl	%edx, %eax
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	FLAT, .-FLAT
	.globl	X
	.bss
	.align 32
	.type	X, @object
	.size	X, 25856
X:
	.zero	25856
	.section	.rodata
.LC0:
	.string	"%d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB2:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	pushq	%rbx
	subq	$72, %rsp
	.cfi_offset 3, -24
	movq	%fs:40, %rax
	movq	%rax, -24(%rbp)
	xorl	%eax, %eax
	leaq	-76(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -72(%rbp)
	jmp	.L8
.L17:
	movl	$0, -68(%rbp)
	jmp	.L9
.L16:
	movl	$0, -64(%rbp)
	jmp	.L10
.L15:
	movl	-64(%rbp), %edx
	movl	-68(%rbp), %ecx
	movl	-72(%rbp), %eax
	movl	%ecx, %esi
	movl	%eax, %edi
	call	NG
	testl	%eax, %eax
	jne	.L42
	movl	-64(%rbp), %edx
	movl	-72(%rbp), %ecx
	movl	-68(%rbp), %eax
	movl	%ecx, %esi
	movl	%eax, %edi
	call	NG
	testl	%eax, %eax
	jne	.L43
	movl	-68(%rbp), %edx
	movl	-64(%rbp), %ecx
	movl	-72(%rbp), %eax
	movl	%ecx, %esi
	movl	%eax, %edi
	call	NG
	testl	%eax, %eax
	jne	.L44
	movl	-64(%rbp), %edx
	movl	-68(%rbp), %ecx
	movl	-72(%rbp), %eax
	movl	%ecx, %esi
	movl	%eax, %edi
	call	FLAT
	cltq
	addq	$192, %rax
	leaq	0(,%rax,4), %rdx
	leaq	X(%rip), %rax
	movl	$1, (%rdx,%rax)
	jmp	.L12
.L42:
	nop
	jmp	.L12
.L43:
	nop
	jmp	.L12
.L44:
	nop
.L12:
	addl	$1, -64(%rbp)
.L10:
	cmpl	$3, -64(%rbp)
	jle	.L15
	addl	$1, -68(%rbp)
.L9:
	cmpl	$3, -68(%rbp)
	jle	.L16
	addl	$1, -72(%rbp)
.L8:
	cmpl	$3, -72(%rbp)
	jle	.L17
	movl	$4, -60(%rbp)
	jmp	.L18
.L33:
	movl	$0, -56(%rbp)
	jmp	.L19
.L32:
	movl	$0, -52(%rbp)
	jmp	.L20
.L31:
	movl	$0, -48(%rbp)
	jmp	.L21
.L30:
	movl	$0, -44(%rbp)
	jmp	.L22
.L29:
	movl	-44(%rbp), %edx
	movl	-48(%rbp), %ecx
	movl	-52(%rbp), %eax
	movl	%ecx, %esi
	movl	%eax, %edi
	call	NG
	testl	%eax, %eax
	jne	.L45
	movl	-44(%rbp), %edx
	movl	-52(%rbp), %ecx
	movl	-48(%rbp), %eax
	movl	%ecx, %esi
	movl	%eax, %edi
	call	NG
	testl	%eax, %eax
	jne	.L46
	movl	-48(%rbp), %edx
	movl	-44(%rbp), %ecx
	movl	-52(%rbp), %eax
	movl	%ecx, %esi
	movl	%eax, %edi
	call	NG
	testl	%eax, %eax
	jne	.L47
	movl	-44(%rbp), %edx
	movl	-48(%rbp), %ecx
	movl	-56(%rbp), %eax
	movl	%ecx, %esi
	movl	%eax, %edi
	call	NG
	testl	%eax, %eax
	jne	.L48
	movl	-44(%rbp), %edx
	movl	-52(%rbp), %ecx
	movl	-56(%rbp), %eax
	movl	%ecx, %esi
	movl	%eax, %edi
	call	NG
	testl	%eax, %eax
	jne	.L49
	movl	-60(%rbp), %eax
	leal	-1(%rax), %ebx
	movl	-48(%rbp), %edx
	movl	-52(%rbp), %ecx
	movl	-56(%rbp), %eax
	movl	%ecx, %esi
	movl	%eax, %edi
	call	FLAT
	movslq	%eax, %rdx
	movslq	%ebx, %rax
	salq	$6, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	leaq	X(%rip), %rax
	movl	(%rdx,%rax), %ebx
	movl	-44(%rbp), %edx
	movl	-48(%rbp), %ecx
	movl	-52(%rbp), %eax
	movl	%ecx, %esi
	movl	%eax, %edi
	call	FLAT
	movslq	%eax, %rcx
	movl	-60(%rbp), %edx
	movslq	%edx, %rdx
	salq	$6, %rdx
	addq	%rcx, %rdx
	leaq	0(,%rdx,4), %rcx
	leaq	X(%rip), %rdx
	movl	(%rcx,%rdx), %edx
	leal	(%rbx,%rdx), %ecx
	movslq	%eax, %rdx
	movl	-60(%rbp), %eax
	cltq
	salq	$6, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	leaq	X(%rip), %rax
	movl	%ecx, (%rdx,%rax)
	movl	-44(%rbp), %edx
	movl	-48(%rbp), %ecx
	movl	-52(%rbp), %eax
	movl	%ecx, %esi
	movl	%eax, %edi
	call	FLAT
	movl	%eax, %ecx
	movslq	%ecx, %rdx
	movl	-60(%rbp), %eax
	cltq
	salq	$6, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	leaq	X(%rip), %rax
	movl	(%rdx,%rax), %edx
	movslq	%edx, %rax
	imulq	$1152921497, %rax, %rax
	shrq	$32, %rax
	sarl	$28, %eax
	movl	%edx, %esi
	sarl	$31, %esi
	subl	%esi, %eax
	imull	$1000000007, %eax, %esi
	movl	%edx, %eax
	subl	%esi, %eax
	movslq	%ecx, %rcx
	movl	-60(%rbp), %edx
	movslq	%edx, %rdx
	salq	$6, %rdx
	addq	%rcx, %rdx
	leaq	0(,%rdx,4), %rcx
	leaq	X(%rip), %rdx
	movl	%eax, (%rcx,%rdx)
	jmp	.L24
.L45:
	nop
	jmp	.L24
.L46:
	nop
	jmp	.L24
.L47:
	nop
	jmp	.L24
.L48:
	nop
	jmp	.L24
.L49:
	nop
.L24:
	addl	$1, -44(%rbp)
.L22:
	cmpl	$3, -44(%rbp)
	jle	.L29
	addl	$1, -48(%rbp)
.L21:
	cmpl	$3, -48(%rbp)
	jle	.L30
	addl	$1, -52(%rbp)
.L20:
	cmpl	$3, -52(%rbp)
	jle	.L31
	addl	$1, -56(%rbp)
.L19:
	cmpl	$3, -56(%rbp)
	jle	.L32
	addl	$1, -60(%rbp)
.L18:
	movl	-76(%rbp), %eax
	cmpl	%eax, -60(%rbp)
	jle	.L33
	movl	$0, -40(%rbp)
	movl	$0, -36(%rbp)
	jmp	.L34
.L39:
	movl	$0, -32(%rbp)
	jmp	.L35
.L38:
	movl	$0, -28(%rbp)
	jmp	.L36
.L37:
	movl	-76(%rbp), %ebx
	movl	-28(%rbp), %edx
	movl	-32(%rbp), %ecx
	movl	-36(%rbp), %eax
	movl	%ecx, %esi
	movl	%eax, %edi
	call	FLAT
	movslq	%eax, %rdx
	movslq	%ebx, %rax
	salq	$6, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	leaq	X(%rip), %rax
	movl	(%rdx,%rax), %eax
	addl	%eax, -40(%rbp)
	movl	-40(%rbp), %eax
	movslq	%eax, %rdx
	imulq	$1152921497, %rdx, %rdx
	shrq	$32, %rdx
	sarl	$28, %edx
	movl	%eax, %ecx
	sarl	$31, %ecx
	subl	%ecx, %edx
	imull	$1000000007, %edx, %edx
	subl	%edx, %eax
	movl	%eax, -40(%rbp)
	addl	$1, -28(%rbp)
.L36:
	cmpl	$3, -28(%rbp)
	jle	.L37
	addl	$1, -32(%rbp)
.L35:
	cmpl	$3, -32(%rbp)
	jle	.L38
	addl	$1, -36(%rbp)
.L34:
	cmpl	$3, -36(%rbp)
	jle	.L39
	movl	-40(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	movq	-24(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L41
	call	__stack_chk_fail@PLT
.L41:
	movq	-8(%rbp), %rbx
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.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:
