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

```c

#include<stdio.h>

#define NUM 2001

int main(){
	int s;
	scanf("%d", &s);
	long long dp[NUM];
	long long mod = 1000000007;
	dp[0] = 1;
	dp[1] = 0;
	dp[2] = 0;
	for(int i=3; i<=s; i++) {
		dp[i] = dp[i-1] + dp[i-3];
		dp[i] %= mod;
	}
	printf("%lld", dp[s]);
	return 0;
}
```

Assembly Code:

```assembly
	.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	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	pushq	%rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	subq	$4096, %rsp
	.cfi_def_cfa_offset 4120
	orq	$0, (%rsp)
	subq	$4096, %rsp
	.cfi_def_cfa_offset 8216
	orq	$0, (%rsp)
	subq	$4096, %rsp
	.cfi_def_cfa_offset 12312
	orq	$0, (%rsp)
	subq	$3752, %rsp
	.cfi_def_cfa_offset 16064
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 16024(%rsp)
	xorl	%eax, %eax
	leaq	12(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movdqa	.LC1(%rip), %xmm0
	movslq	12(%rsp), %r8
	movq	$0, 32(%rsp)
	movaps	%xmm0, 16(%rsp)
	cmpl	$2, %r8d
	jle	.L2
	leal	-1(%r8), %r11d
	cmpl	$5, %r8d
	jle	.L7
	leaq	40(%rsp), %r9
	xorl	%ebx, %ebx
	xorl	%esi, %esi
	movl	$1, %ecx
	movabsq	$-8543223828751151131, %r10
	movl	$3, %edi
.L4:
	leaq	(%rcx,%rbx), %rbp
	addq	$24, %r9
	movq	%rbp, %rax
	imulq	%r10
	movq	%rbp, %rax
	sarq	$63, %rax
	leaq	(%rdx,%rbp), %rcx
	sarq	$29, %rcx
	subq	%rax, %rcx
	imulq	$1000000007, %rcx, %rax
	movq	%rbp, %rcx
	subq	%rax, %rcx
	leaq	(%rcx,%rsi), %rbp
	movq	%rcx, %xmm0
	movq	%rbp, %rax
	imulq	%r10
	movq	%rbp, %rax
	sarq	$63, %rax
	leaq	(%rdx,%rbp), %rsi
	sarq	$29, %rsi
	subq	%rax, %rsi
	imulq	$1000000007, %rsi, %rax
	movq	%rbp, %rsi
	subq	%rax, %rsi
	leaq	(%rbx,%rsi), %rbp
	movq	%rsi, %xmm1
	movq	%rbp, %rax
	punpcklqdq	%xmm1, %xmm0
	imulq	%r10
	movq	%rbp, %rax
	movups	%xmm0, -24(%r9)
	sarq	$63, %rax
	addq	%rbp, %rdx
	sarq	$29, %rdx
	movq	%rdx, %rbx
	subq	%rax, %rbx
	imulq	$1000000007, %rbx, %rax
	movq	%rbp, %rbx
	subq	%rax, %rbx
	movl	%edi, %eax
	addl	$3, %edi
	addl	$4, %eax
	movq	%rbx, -8(%r9)
	cmpl	%eax, %r11d
	jg	.L4
.L3:
	movabsq	$-8543223828751151131, %r9
	movslq	%edi, %rax
	leaq	16(%rsp,%rax,8), %rsi
	.p2align 4,,10
	.p2align 3
.L5:
	movq	-8(%rsi), %rcx
	addq	-24(%rsi), %rcx
	addl	$1, %edi
	addq	$8, %rsi
	movq	%rcx, %rax
	imulq	%r9
	movq	%rcx, %rax
	sarq	$63, %rax
	addq	%rcx, %rdx
	sarq	$29, %rdx
	subq	%rax, %rdx
	imulq	$1000000007, %rdx, %rdx
	subq	%rdx, %rcx
	movq	%rcx, -8(%rsi)
	cmpl	%r8d, %edi
	jle	.L5
.L2:
	movq	16(%rsp,%r8,8), %rdx
	xorl	%eax, %eax
	movl	$1, %edi
	leaq	.LC2(%rip), %rsi
	call	__printf_chk@PLT
	movq	16024(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L12
	addq	$16040, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
.L7:
	.cfi_restore_state
	movl	$3, %edi
	jmp	.L3
.L12:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.section	.rodata.cst16,"aM",@progbits,16
	.align 16
.LC1:
	.quad	1
	.quad	0
	.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.
Optimized Assembly Code:

user
```assembly
	.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	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	pushq	%rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	subq	$4096, %rsp
	.cfi_def_cfa_offset 4120
	orq	$0, (%rsp)
	subq	$4096, %rsp
	.cfi_def_cfa_offset 8216
	orq	$0, (%rsp)
	subq	$4096, %rsp
	.cfi_def_cfa_offset 12312
	orq	$0, (%rsp)
	subq	$3752, %rsp
	.cfi_def_cfa_offset 16064
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 16024(%rsp)
	xorl	%eax, %eax
	leaq	12(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movdqa	.LC1(%rip), %xmm0
	movslq	12(%rsp), %r8
	movq	$0, 32(%rsp)
	movaps	%xmm0, 16(%rsp)
	cmpl	$2, %r8d
	jle	.L2
	leal	-1(%r8), %r11d
	cmpl	$5, %r8d
	jle	.L7
	leaq	40(%rsp), %r9
	xorl	%ebx, %ebx
	xorl	%esi, %esi
	movl	$1, %ecx
	movabsq	$-8543223828751151131, %r10
	movl	$3, %edi
.L4:
	leaq	(%rcx,%rbx), %rbp
	addq	$24, %r9
	movq	%rbp, %rax
	imulq	%r10
	movq	%rbp, %rax
	sarq	$63, %rax
	leaq	(%rdx,%rbp), %rcx
	sarq	$29, %rcx
	subq	%rax, %rcx
	imulq	$1000000007, %rcx, %rax
	movq	%rbp, %rcx
	subq	%rax, %rcx
	leaq	(%rcx,%rsi), %rbp
	movq	%rcx, %xmm0
	movq	%rbp, %rax
	imulq	%r10
	movq	%rbp, %rax
	sarq	$63, %rax
	leaq	(%rdx,%rbp), %rsi
	sarq	$29, %rsi
	subq	%rax, %rsi
	imulq	$1000000007, %rsi, %rax
	movq	%rbp, %rsi
	subq	%rax, %rsi
	leaq	(%rbx,%rsi), %rbp
	movq	%rsi, %xmm1
	movq	%rbp, %rax
	punpcklqdq	%xmm1, %xmm0
	imulq	%r10
	movq	%rbp, %rax
	movups	%xmm0, -24(%r9)
	sarq	$63, %rax
	addq	%rbp, %rdx
	sarq	$29, %rdx
	movq	%rdx, %rbx
	subq	%rax, %rbx
	imulq	$1000000007, %rbx, %rax
	movq	%rbp, %rbx
	subq	%rax, %rbx
	movl	%edi, %eax
	addl	$3, %edi
	addl	$4, %eax
	movq	%rbx, -8(%r9)
	cmpl	%eax, %r11d
	jg	.L4
.L3:
	movabsq	$-8543223828751151131, %r9
	movslq	%edi, %rax
	leaq	16(%rsp,%rax,8), %rsi
	.p2align 4,,10
	.p2align 3
.L5:
	movq	-8(%rsi), %rcx
	addq	-24(%rsi), %rcx
	addl	$1, %edi
	addq	$8, %rsi
	movq	%rcx, %rax
	imulq	%r9
	movq	%rcx, %rax
	sarq	$63, %rax
	addq	%rcx, %rdx
	sarq	$29, %rdx
	subq	%rax, %rdx
	imulq	$1000000007, %rdx, %rdx
	subq	%rdx, %rcx
	movq	%rcx, -8(%rsi)
	cmpl	%r8d, %edi
	jle	.L5
.L2:
	movq	16(%rsp,%r8,8), %rdx
	xorl	%eax, %eax
	movl	$1, %edi
	leaq	.LC2(%rip), %rsi
	call	__printf_chk@PLT
	movq	16024(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L12
	addq	$16040, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
.L7:
	.cfi_restore_state
	movl	$3, %edi
	jmp	.L3
.L12:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.section	.rodata.cst16,"aM",@progbits,16
	.align 16
.LC1:
	.quad	1
	.quad	0
	.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
```assembly
	.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	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	pushq	%rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	subq	$4096, %rsp
	.cfi_def_cfa_offset 4120
	orq	$0, (%rsp)
	subq	$4096, %rsp
	.cfi_def_cfa_offset 8216
	orq	$0, (%rsp)
	subq	$4096, %rsp
	.cfi_def_cfa_offset 12312
	orq	$0, (%rsp)
	subq	$3752, %rsp
	.cfi_def_cfa_offset 16064
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 16024(%rsp)
	xorl	%eax, %eax
	leaq	12(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movdqa	.LC1(%rip), %xmm0
	movslq	12(%rsp), %r8
	movq	$0, 32(%rsp)
	movaps	%xmm0, 16(%rsp)
	cmpl	$2, %r8d
	jle	.L2
	leal	-1(%r8), %r11d
	cmpl	$5, %r8d
	jle	.L7
	leaq	40(%rsp), %r9
	xorl	%ebx, %ebx
	xorl	%esi, %esi
	movl	$1, %ecx
	movabsq	$-8543223828751151131, %r10
	movl	$3, %edi
.L4:
	leaq	(%rcx,%rbx), %rbp
	addq	$24, %r9
	movq	%rbp, %rax
	imulq	%r10
	movq	%rbp, %rax
	sarq	$63, %rax
	leaq	(%rdx,%rbp), %rcx
	sarq	$29, %rcx
	subq	%rax, %rcx
	imulq	$1000000007, %rcx, %rax
	movq	%rbp, %rcx
	subq	%rax, %rcx
	leaq	(%rcx,%rsi), %rbp
	movq	%rcx, %xmm0
	movq	%rbp, %rax
	imulq	%r10
	movq	%rbp, %rax
	sarq	$63, %rax
	leaq	(%rdx,%rbp), %rsi
	sarq	$29, %rsi
	subq	%rax, %rsi
	imulq	$1000000007, %rsi, %rax
	movq	%rbp, %rsi
	subq	%rax, %rsi
	leaq	(%rbx,%rsi), %rbp
	movq	%rsi, %xmm1
	movq	%rbp, %rax
	punpcklqdq	%xmm1, %xmm0
	imulq	%r10
	movq	%rbp, %rax
	movups	%xmm0, -24(%r9)
	sarq	$63, %rax
	addq	%rbp, %rdx
	sarq	$29, %rdx
	movq	%rdx, %rbx
	subq	%rax, %rbx
	imulq	$1000000007, %rbx, %rax
	movq	%rbp, %rbx
	subq	%rax, %rbx
	movl	%edi, %eax
	addl	$3, %edi
	addl	$4, %eax
	movq	%rbx, -8(%r9)
	cmpl	%eax, %r11d
	jg	.L4
.L3:
	movabsq	$-8543223828751151131, %r9
	movslq	%edi, %rax
	leaq	16(%rsp,%rax,8), %rsi
	.p2align 4,,10
	.p2align 3
.L5:
	movq	-8(%rsi), %rcx
	addq	-24(%rsi), %rcx
	addl	$1, %edi
	addq	$8, %rsi
	movq	%rcx, %rax
	imulq	%r9
	movq	%rcx, %rax
	sarq	$63, %rax
	addq	%rcx, %rdx
	sarq	$29, %rdx
	subq	%rax, %rdx
	imulq	$1000000007, %rdx, %rdx
	subq	%rdx, %rcx
	movq	%rcx, -8(%rsi)
	cmpl	%r8d, %edi
	jle	.L5
.L2:
	movq	16(%rsp,%r8,8), %rdx
	xorl	%eax, %eax
	movl	$1, %edi
	leaq	.LC2(%rip), %rsi
	call	__printf_chk@PLT
	movq	16024(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L12
	addq	$16040, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
.L7:
	.cfi_restore_state
	movl	$3, %edi
	jmp	.L3
.L12:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.section	.rodata.cst16,"aM",@progbits,16
	.align 16
.LC1:
	.quad	1
	.quad	0
	.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:
```
```c

#include<stdio.h>

#define NUM 2001

int main(){
	int s;
	scanf("%d", &s);
	long long dp[NUM];
	long long mod = 1000000007;
	dp[0] = 1;
	dp[1] = 0;
	dp[2] = 0;
	for(int i=3; i<=s; i++) {
		dp[i] = dp[i-1] + dp[i-3];
		dp[i] %= mod;
	}
	printf("%lld", dp[s]);
	return 0;
}
```
Given the following C code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c

#include<stdio.h>

#define NUM 2001

int main(){
	int s;
	scanf("%d", &s);
	long long dp[NUM];
	long long mod = 1000000007;
	dp[0] = 1;
	dp[1] = 0;
	dp[2] = 0;
	for(int i=3; i<=s; i++) {
		dp[i] = dp[i-1] + dp[i-3];
		dp[i] %= mod;
	}
	printf("%lld", dp[s]);
	return 0;
}
```

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.
Optimized Assembly Code:

13
 3
 26
 1
 35
 20
 11
 15
 8
 10

28 1 4023 0 125491 406 13 60 4 9
Given the following C code and assembly code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c

#include<stdio.h>

#define NUM 2001

int main(){
	int s;
	scanf("%d", &s);
	long long dp[NUM];
	long long mod = 1000000007;
	dp[0] = 1;
	dp[1] = 0;
	dp[2] = 0;
	for(int i=3; i<=s; i++) {
		dp[i] = dp[i-1] + dp[i-3];
		dp[i] %= mod;
	}
	printf("%lld", dp[s]);
	return 0;
}
```

Assembly Code:

```assembly
	.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	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	pushq	%rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	subq	$4096, %rsp
	.cfi_def_cfa_offset 4120
	orq	$0, (%rsp)
	subq	$4096, %rsp
	.cfi_def_cfa_offset 8216
	orq	$0, (%rsp)
	subq	$4096, %rsp
	.cfi_def_cfa_offset 12312
	orq	$0, (%rsp)
	subq	$3752, %rsp
	.cfi_def_cfa_offset 16064
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 16024(%rsp)
	xorl	%eax, %eax
	leaq	12(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movdqa	.LC1(%rip), %xmm0
	movslq	12(%rsp), %r8
	movq	$0, 32(%rsp)
	movaps	%xmm0, 16(%rsp)
	cmpl	$2, %r8d
	jle	.L2
	leal	-1(%r8), %r11d
	cmpl	$5, %r8d
	jle	.L7
	leaq	40(%rsp), %r9
	xorl	%ebx, %ebx
	xorl	%esi, %esi
	movl	$1, %ecx
	movabsq	$-8543223828751151131, %r10
	movl	$3, %edi
.L4:
	leaq	(%rcx,%rbx), %rbp
	addq	$24, %r9
	movq	%rbp, %rax
	imulq	%r10
	movq	%rbp, %rax
	sarq	$63, %rax
	leaq	(%rdx,%rbp), %rcx
	sarq	$29, %rcx
	subq	%rax, %rcx
	imulq	$1000000007, %rcx, %rax
	movq	%rbp, %rcx
	subq	%rax, %rcx
	leaq	(%rcx,%rsi), %rbp
	movq	%rcx, %xmm0
	movq	%rbp, %rax
	imulq	%r10
	movq	%rbp, %rax
	sarq	$63, %rax
	leaq	(%rdx,%rbp), %rsi
	sarq	$29, %rsi
	subq	%rax, %rsi
	imulq	$1000000007, %rsi, %rax
	movq	%rbp, %rsi
	subq	%rax, %rsi
	leaq	(%rbx,%rsi), %rbp
	movq	%rsi, %xmm1
	movq	%rbp, %rax
	punpcklqdq	%xmm1, %xmm0
	imulq	%r10
	movq	%rbp, %rax
	movups	%xmm0, -24(%r9)
	sarq	$63, %rax
	addq	%rbp, %rdx
	sarq	$29, %rdx
	movq	%rdx, %rbx
	subq	%rax, %rbx
	imulq	$1000000007, %rbx, %rax
	movq	%rbp, %rbx
	subq	%rax, %rbx
	movl	%edi, %eax
	addl	$3, %edi
	addl	$4, %eax
	movq	%rbx, -8(%r9)
	cmpl	%eax, %r11d
	jg	.L4
.L3:
	movabsq	$-8543223828751151131, %r9
	movslq	%edi, %rax
	leaq	16(%rsp,%rax,8), %rsi
	.p2align 4,,10
	.p2align 3
.L5:
	movq	-8(%rsi), %rcx
	addq	-24(%rsi), %rcx
	addl	$1, %edi
	addq	$8, %rsi
	movq	%rcx, %rax
	imulq	%r9
	movq	%rcx, %rax
	sarq	$63, %rax
	addq	%rcx, %rdx
	sarq	$29, %rdx
	subq	%rax, %rdx
	imulq	$1000000007, %rdx, %rdx
	subq	%rdx, %rcx
	movq	%rcx, -8(%rsi)
	cmpl	%r8d, %edi
	jle	.L5
.L2:
	movq	16(%rsp,%r8,8), %rdx
	xorl	%eax, %eax
	movl	$1, %edi
	leaq	.LC2(%rip), %rsi
	call	__printf_chk@PLT
	movq	16024(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L12
	addq	$16040, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
.L7:
	.cfi_restore_state
	movl	$3, %edi
	jmp	.L3
.L12:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.section	.rodata.cst16,"aM",@progbits,16
	.align 16
.LC1:
	.quad	1
	.quad	0
	.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.
Optimized Assembly Code:

train
```assembly
	.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	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	pushq	%rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	subq	$4096, %rsp
	.cfi_def_cfa_offset 4120
	orq	$0, (%rsp)
	subq	$4096, %rsp
	.cfi_def_cfa_offset 8216
	orq	$0, (%rsp)
	subq	$4096, %rsp
	.cfi_def_cfa_offset 12312
	orq	$0, (%rsp)
	subq	$3752, %rsp
	.cfi_def_cfa_offset 16064
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 16024(%rsp)
	xorl	%eax, %eax
	leaq	12(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movdqa	.LC1(%rip), %xmm0
	movslq	12(%rsp), %r8
	movq	$0, 32(%rsp)
	movaps	%xmm0, 16(%rsp)
	cmpl	$2, %r8d
	jle	.L2
	leal	-1(%r8), %r11d
	cmpl	$5, %r8d
	jle	.L7
	leaq	40(%rsp), %r9
	xorl	%ebx, %ebx
	xorl	%esi, %esi
	movl	$1, %ecx
	movabsq	$-8543223828751151131, %r10
	movl	$3, %edi
.L4:
	leaq	(%rcx,%rbx), %rbp
	addq	$24, %r9
	movq	%rbp, %rax
	imulq	%r10
	movq	%rbp, %rax
	sarq	$63, %rax
	leaq	(%rdx,%rbp), %rcx
	sarq	$29, %rcx
	subq	%rax, %rcx
	imulq	$1000000007, %rcx, %rax
	movq	%rbp, %rcx
	subq	%rax, %rcx
	leaq	(%rcx,%rsi), %rbp
	movq	%rcx, %xmm0
	movq	%rbp, %rax
	imulq	%r10
	movq	%rbp, %rax
	sarq	$63, %rax
	leaq	(%rdx,%rbp), %rsi
	sarq	$29, %rsi
	subq	%rax, %rsi
	imulq	$1000000007, %rsi, %rax
	movq	%rbp, %rsi
	subq	%rax, %rsi
	leaq	(%rbx,%rsi), %rbp
	movq	%rsi, %xmm1
	movq	%rbp, %rax
	punpcklqdq	%xmm1, %xmm0
	imulq	%r10
	movq	%rbp, %rax
	movups	%xmm0, -24(%r9)
	sarq	$63, %rax
	addq	%rbp, %rdx
	sarq	$29, %rdx
	movq	%rdx, %rbx
	subq	%rax, %rbx
	imulq	$1000000007, %rbx, %rax
	movq	%rbp, %rbx
	subq	%rax, %rbx
	movl	%edi, %eax
	addl	$3, %edi
	addl	$4, %eax
	movq	%rbx, -8(%r9)
	cmpl	%eax, %r11d
	jg	.L4
.L3:
	movabsq	$-8543223828751151131, %r9
	movslq	%edi, %rax
	leaq	16(%rsp,%rax,8), %rsi
	.p2align 4,,10
	.p2align 3
.L5:
	movq	-8(%rsi), %rcx
	addq	-24(%rsi), %rcx
	addl	$1, %edi
	addq	$8, %rsi
	movq	%rcx, %rax
	imulq	%r9
	movq	%rcx, %rax
	sarq	$63, %rax
	addq	%rcx, %rdx
	sarq	$29, %rdx
	subq	%rax, %rdx
	imulq	$1000000007, %rdx, %rdx
	subq	%rdx, %rcx
	movq	%rcx, -8(%rsi)
	cmpl	%r8d, %edi
	jle	.L5
.L2:
	movq	16(%rsp,%r8,8), %rdx
	xorl	%eax, %eax
	movl	$1, %edi
	leaq	.LC2(%rip), %rsi
	call	__printf_chk@PLT
	movq	16024(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L12
	addq	$16040, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
.L7:
	.cfi_restore_state
	movl	$3, %edi
	jmp	.L3
.L12:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.section	.rodata.cst16,"aM",@progbits,16
	.align 16
.LC1:
	.quad	1
	.quad	0
	.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:
```