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

```c
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#define max(a, b)	(((a) > (b)) ? (a) : (b))		/* ２個の値の最大値 */
#define min(a, b)	(((a) < (b)) ? (a) : (b))		/* ２個の値の最小値 */
#define ENTER		printf("\n")					/* 改行プリント */
/********************************************************************************************************************************/
/* main *************************************************************************************************************************/
/********************************************************************************************************************************/
int DEBUG = 1;										/* デバッグプリント 提出時は0 */
int main()
{
	int		i,j,n,m,x[2020]={0},ans = 0;
	int		k[101] = {0};
	
	scanf("%d", &n);
	for(i=1;i<=n;i++) {
		scanf("%d", &j);
		x[j] = 1;
		k[i] = j;
	}
	scanf("%d", &m);
	for(j=0;j<m;j++) {
		scanf("%d", &i);
		if ((k[i] != 2019)&&(x[k[i]+1]==0)) {
			x[k[i]] = 0;
			x[k[i]+1] = 1;
			k[i]++;
		}
	}
	for(i=1;i<=n;i++) {
		printf("%d\n",k[i]);
	}

	return 0;
}

```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	DEBUG
	.data
	.align 4
	.type	DEBUG, @object
	.size	DEBUG, 4
DEBUG:
	.long	1
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"%d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$4096, %rsp
	orq	$0, (%rsp)
	subq	$4096, %rsp
	orq	$0, (%rsp)
	subq	$352, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-8096(%rbp), %rdx
	movl	$0, %eax
	movl	$1010, %ecx
	movq	%rdx, %rdi
	rep stosq
	movl	$0, -8516(%rbp)
	leaq	-8512(%rbp), %rdx
	movl	$0, %eax
	movl	$50, %ecx
	movq	%rdx, %rdi
	rep stosq
	movq	%rdi, %rdx
	movl	%eax, (%rdx)
	addq	$4, %rdx
	leaq	-8524(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$1, -8532(%rbp)
	jmp	.L2
.L3:
	leaq	-8528(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-8528(%rbp), %eax
	cltq
	movl	$1, -8096(%rbp,%rax,4)
	movl	-8532(%rbp), %eax
	movl	-8528(%rbp), %edx
	cltq
	movl	%edx, -8512(%rbp,%rax,4)
	movl	-8532(%rbp), %eax
	addl	$1, %eax
	movl	%eax, -8532(%rbp)
.L2:
	movl	-8532(%rbp), %edx
	movl	-8524(%rbp), %eax
	cmpl	%eax, %edx
	jle	.L3
	leaq	-8520(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -8528(%rbp)
	jmp	.L4
.L6:
	leaq	-8532(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-8532(%rbp), %eax
	cltq
	movl	-8512(%rbp,%rax,4), %eax
	cmpl	$2019, %eax
	je	.L5
	movl	-8532(%rbp), %eax
	cltq
	movl	-8512(%rbp,%rax,4), %eax
	addl	$1, %eax
	cltq
	movl	-8096(%rbp,%rax,4), %eax
	testl	%eax, %eax
	jne	.L5
	movl	-8532(%rbp), %eax
	cltq
	movl	-8512(%rbp,%rax,4), %eax
	cltq
	movl	$0, -8096(%rbp,%rax,4)
	movl	-8532(%rbp), %eax
	cltq
	movl	-8512(%rbp,%rax,4), %eax
	addl	$1, %eax
	cltq
	movl	$1, -8096(%rbp,%rax,4)
	movl	-8532(%rbp), %eax
	movslq	%eax, %rdx
	movl	-8512(%rbp,%rdx,4), %edx
	addl	$1, %edx
	cltq
	movl	%edx, -8512(%rbp,%rax,4)
.L5:
	movl	-8528(%rbp), %eax
	addl	$1, %eax
	movl	%eax, -8528(%rbp)
.L4:
	movl	-8528(%rbp), %edx
	movl	-8520(%rbp), %eax
	cmpl	%eax, %edx
	jl	.L6
	movl	$1, -8532(%rbp)
	jmp	.L7
.L8:
	movl	-8532(%rbp), %eax
	cltq
	movl	-8512(%rbp,%rax,4), %eax
	movl	%eax, %esi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	-8532(%rbp), %eax
	addl	$1, %eax
	movl	%eax, -8532(%rbp)
.L7:
	movl	-8532(%rbp), %edx
	movl	-8524(%rbp), %eax
	cmpl	%eax, %edx
	jle	.L8
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L10
	call	__stack_chk_fail@PLT
.L10:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	1f - 0f
	.long	4f - 1f
	.long	5
0:
	.string	"GNU"
1:
	.align 8
	.long	0xc0000002
	.long	3f - 2f
2:
	.long	0x3
3:
	.align 8
4:
```

Only output the optimized assembly code. Do not include any other text. Do not write any comments in the assembly code. Wrap the assembly code in ```assembly``` tags.
user
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC2:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB53:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	subq	$4096, %rsp
	.cfi_def_cfa_offset 4136
	orq	$0, (%rsp)
	subq	$4096, %rsp
	.cfi_def_cfa_offset 8232
	orq	$0, (%rsp)
	subq	$344, %rsp
	.cfi_def_cfa_offset 8576
	movl	$1010, %ecx
	leaq	.LC0(%rip), %rbx
	movq	%fs:40, %rax
	movq	%rax, 8520(%rsp)
	xorl	%eax, %eax
	leaq	432(%rsp), %rbp
	leaq	8(%rsp), %rsi
	movq	%rbp, %rdi
	rep stosq
	leaq	16(%rsp), %rdi
	movl	$50, %ecx
	rep stosq
	movl	$0, (%rdi)
	movq	%rbx, %rdi
	call	__isoc99_scanf@PLT
	movl	8(%rsp), %r8d
	movl	$1, (%rsp)
	testl	%r8d, %r8d
	jle	.L2
	leaq	4(%rsp), %r12
	.p2align 4,,10
	.p2align 3
.L3:
	movq	%r12, %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movslq	4(%rsp), %rax
	movslq	(%rsp), %rcx
	movl	$1, 432(%rsp,%rax,4)
	movq	%rax, %rdx
	movq	%rcx, %rax
	addl	$1, %eax
	movl	%edx, 16(%rsp,%rcx,4)
	movl	%eax, (%rsp)
	cmpl	8(%rsp), %eax
	jle	.L3
.L2:
	movq	%rbx, %rdi
	leaq	12(%rsp), %rsi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %edi
	movl	$0, 4(%rsp)
	testl	%edi, %edi
	jle	.L4
	movq	.LC1(%rip), %r13
	movq	%rsp, %r12
	.p2align 4,,10
	.p2align 3
.L6:
	movq	%r12, %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movslq	(%rsp), %rdx
	movslq	16(%rsp,%rdx,4), %rax
	cmpl	$2019, %eax
	je	.L5
	leal	1(%rax), %ecx
	movslq	%ecx, %rsi
	movl	432(%rsp,%rsi,4), %esi
	testl	%esi, %esi
	jne	.L5
	movq	%r13, 0(%rbp,%rax,4)
	movl	%ecx, 16(%rsp,%rdx,4)
.L5:
	movl	4(%rsp), %eax
	addl	$1, %eax
	movl	%eax, 4(%rsp)
	cmpl	12(%rsp), %eax
	jl	.L6
.L4:
	movl	8(%rsp), %eax
	movl	$1, (%rsp)
	testl	%eax, %eax
	jle	.L7
	movl	$1, %eax
	leaq	.LC2(%rip), %rbx
	.p2align 4,,10
	.p2align 3
.L8:
	cltq
	movq	%rbx, %rsi
	movl	$1, %edi
	movl	16(%rsp,%rax,4), %edx
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movl	(%rsp), %eax
	addl	$1, %eax
	movl	%eax, (%rsp)
	cmpl	8(%rsp), %eax
	jle	.L8
.L7:
	movq	8520(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L18
	addq	$8536, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%rbp
	.cfi_def_cfa_offset 24
	popq	%r12
	.cfi_def_cfa_offset 16
	popq	%r13
	.cfi_def_cfa_offset 8
	ret
.L18:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE53:
	.size	main, .-main
	.globl	DEBUG
	.data
	.align 4
	.type	DEBUG, @object
	.size	DEBUG, 4
DEBUG:
	.long	1
	.section	.rodata.cst8,"aM",@progbits,8
	.align 8
.LC1:
	.long	0
	.long	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	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB53:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	subq	$4096, %rsp
	.cfi_def_cfa_offset 4136
	orq	$0, (%rsp)
	subq	$4096, %rsp
	.cfi_def_cfa_offset 8232
	orq	$0, (%rsp)
	subq	$344, %rsp
	.cfi_def_cfa_offset 8576
	movl	$1010, %ecx
	leaq	.LC0(%rip), %rbx
	movq	%fs:40, %rax
	movq	%rax, 8520(%rsp)
	xorl	%eax, %eax
	leaq	432(%rsp), %rbp
	leaq	8(%rsp), %rsi
	movq	%rbp, %rdi
	rep stosq
	leaq	16(%rsp), %rdi
	movl	$50, %ecx
	rep stosq
	movl	$0, (%rdi)
	movq	%rbx, %rdi
	call	__isoc99_scanf@PLT
	movl	8(%rsp), %r8d
	movl	$1, (%rsp)
	testl	%r8d, %r8d
	jle	.L2
	leaq	4(%rsp), %r12
	.p2align 4,,10
	.p2align 3
.L3:
	movq	%r12, %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movslq	4(%rsp), %rax
	movslq	(%rsp), %rcx
	movl	$1, 432(%rsp,%rax,4)
	movq	%rax, %rdx
	movq	%rcx, %rax
	addl	$1, %eax
	movl	%edx, 16(%rsp,%rcx,4)
	movl	%eax, (%rsp)
	cmpl	8(%rsp), %eax
	jle	.L3
.L2:
	movq	%rbx, %rdi
	leaq	12(%rsp), %rsi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %edi
	movl	$0, 4(%rsp)
	testl	%edi, %edi
	jle	.L4
	movq	.LC1(%rip), %r13
	movq	%rsp, %r12
	.p2align 4,,10
	.p2align 3
.L6:
	movq	%r12, %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movslq	(%rsp), %rdx
	movslq	16(%rsp,%rdx,4), %rax
	cmpl	$2019, %eax
	je	.L5
	leal	1(%rax), %ecx
	movslq	%ecx, %rsi
	movl	432(%rsp,%rsi,4), %esi
	testl	%esi, %esi
	jne	.L5
	movq	%r13, 0(%rbp,%rax,4)
	movl	%ecx, 16(%rsp,%rdx,4)
.L5:
	movl	4(%rsp), %eax
	addl	$1, %eax
	movl	%eax, 4(%rsp)
	cmpl	12(%rsp), %eax
	jl	.L6
.L4:
	movl	8(%rsp), %eax
	movl	$1, (%rsp)
	testl	%eax, %eax
	jle	.L7
	movl	$1, %eax
	leaq	.LC2(%rip), %rbx
	.p2align 4,,10
	.p2align 3
.L8:
	cltq
	movq	%rbx, %rsi
	movl	$1, %edi
	movl	16(%rsp,%rax,4), %edx
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movl	(%rsp), %eax
	addl	$1, %eax
	movl	%eax, (%rsp)
	cmpl	8(%rsp), %eax
	jle	.L8
.L7:
	movq	8520(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L18
	addq	$8536, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%rbp
	.cfi_def_cfa_offset 24
	popq	%r12
	.cfi_def_cfa_offset 16
	popq	%r13
	.cfi_def_cfa_offset 8
	ret
.L18:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE53:
	.size	main, .-main
	.globl	DEBUG
	.data
	.align 4
	.type	DEBUG, @object
	.size	DEBUG, 4
DEBUG:
	.long	1
	.section	.rodata.cst8,"aM",@progbits,8
	.align 8
.LC1:
	.long	0
	.long	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>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#define max(a, b)	(((a) > (b)) ? (a) : (b))		/* ２個の値の最大値 */
#define min(a, b)	(((a) < (b)) ? (a) : (b))		/* ２個の値の最小値 */
#define ENTER		printf("\n")					/* 改行プリント */
/********************************************************************************************************************************/
/* main *************************************************************************************************************************/
/********************************************************************************************************************************/
int DEBUG = 1;										/* デバッグプリント 提出時は0 */
int main()
{
	int		i,j,n,m,x[2020]={0},ans = 0;
	int		k[101] = {0};
	
	scanf("%d", &n);
	for(i=1;i<=n;i++) {
		scanf("%d", &j);
		x[j] = 1;
		k[i] = j;
	}
	scanf("%d", &m);
	for(j=0;j<m;j++) {
		scanf("%d", &i);
		if ((k[i] != 2019)&&(x[k[i]+1]==0)) {
			x[k[i]] = 0;
			x[k[i]+1] = 1;
			k[i]++;
		}
	}
	for(i=1;i<=n;i++) {
		printf("%d\n",k[i]);
	}

	return 0;
}


3
2 3 6
2
1 3

2
3
7

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

```c
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#define max(a, b)	(((a) > (b)) ? (a) : (b))		/* ２個の値の最大値 */
#define min(a, b)	(((a) < (b)) ? (a) : (b))		/* ２個の値の最小値 */
#define ENTER		printf("\n")					/* 改行プリント */
/********************************************************************************************************************************/
/* main *************************************************************************************************************************/
/********************************************************************************************************************************/
int DEBUG = 1;										/* デバッグプリント 提出時は0 */
int main()
{
	int		i,j,n,m,x[2020]={0},ans = 0;
	int		k[101] = {0};
	
	scanf("%d", &n);
	for(i=1;i<=n;i++) {
		scanf("%d", &j);
		x[j] = 1;
		k[i] = j;
	}
	scanf("%d", &m);
	for(j=0;j<m;j++) {
		scanf("%d", &i);
		if ((k[i] != 2019)&&(x[k[i]+1]==0)) {
			x[k[i]] = 0;
			x[k[i]+1] = 1;
			k[i]++;
		}
	}
	for(i=1;i<=n;i++) {
		printf("%d\n",k[i]);
	}

	return 0;
}

```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	DEBUG
	.data
	.align 4
	.type	DEBUG, @object
	.size	DEBUG, 4
DEBUG:
	.long	1
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"%d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$4096, %rsp
	orq	$0, (%rsp)
	subq	$4096, %rsp
	orq	$0, (%rsp)
	subq	$352, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-8096(%rbp), %rdx
	movl	$0, %eax
	movl	$1010, %ecx
	movq	%rdx, %rdi
	rep stosq
	movl	$0, -8516(%rbp)
	leaq	-8512(%rbp), %rdx
	movl	$0, %eax
	movl	$50, %ecx
	movq	%rdx, %rdi
	rep stosq
	movq	%rdi, %rdx
	movl	%eax, (%rdx)
	addq	$4, %rdx
	leaq	-8524(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$1, -8532(%rbp)
	jmp	.L2
.L3:
	leaq	-8528(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-8528(%rbp), %eax
	cltq
	movl	$1, -8096(%rbp,%rax,4)
	movl	-8532(%rbp), %eax
	movl	-8528(%rbp), %edx
	cltq
	movl	%edx, -8512(%rbp,%rax,4)
	movl	-8532(%rbp), %eax
	addl	$1, %eax
	movl	%eax, -8532(%rbp)
.L2:
	movl	-8532(%rbp), %edx
	movl	-8524(%rbp), %eax
	cmpl	%eax, %edx
	jle	.L3
	leaq	-8520(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -8528(%rbp)
	jmp	.L4
.L6:
	leaq	-8532(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-8532(%rbp), %eax
	cltq
	movl	-8512(%rbp,%rax,4), %eax
	cmpl	$2019, %eax
	je	.L5
	movl	-8532(%rbp), %eax
	cltq
	movl	-8512(%rbp,%rax,4), %eax
	addl	$1, %eax
	cltq
	movl	-8096(%rbp,%rax,4), %eax
	testl	%eax, %eax
	jne	.L5
	movl	-8532(%rbp), %eax
	cltq
	movl	-8512(%rbp,%rax,4), %eax
	cltq
	movl	$0, -8096(%rbp,%rax,4)
	movl	-8532(%rbp), %eax
	cltq
	movl	-8512(%rbp,%rax,4), %eax
	addl	$1, %eax
	cltq
	movl	$1, -8096(%rbp,%rax,4)
	movl	-8532(%rbp), %eax
	movslq	%eax, %rdx
	movl	-8512(%rbp,%rdx,4), %edx
	addl	$1, %edx
	cltq
	movl	%edx, -8512(%rbp,%rax,4)
.L5:
	movl	-8528(%rbp), %eax
	addl	$1, %eax
	movl	%eax, -8528(%rbp)
.L4:
	movl	-8528(%rbp), %edx
	movl	-8520(%rbp), %eax
	cmpl	%eax, %edx
	jl	.L6
	movl	$1, -8532(%rbp)
	jmp	.L7
.L8:
	movl	-8532(%rbp), %eax
	cltq
	movl	-8512(%rbp,%rax,4), %eax
	movl	%eax, %esi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	-8532(%rbp), %eax
	addl	$1, %eax
	movl	%eax, -8532(%rbp)
.L7:
	movl	-8532(%rbp), %edx
	movl	-8524(%rbp), %eax
	cmpl	%eax, %edx
	jle	.L8
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L10
	call	__stack_chk_fail@PLT
.L10:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	1f - 0f
	.long	4f - 1f
	.long	5
0:
	.string	"GNU"
1:
	.align 8
	.long	0xc0000002
	.long	3f - 2f
2:
	.long	0x3
3:
	.align 8
4:
```

Only output the optimized assembly code. Do not include any other text. Do not write any comments in the assembly code. Wrap the assembly code in ```assembly``` tags.
train
	.file	"temp.c"
	.text
	.globl	DEBUG
	.data
	.align 4
	.type	DEBUG, @object
	.size	DEBUG, 4
DEBUG:
	.long	1
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"%d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$4096, %rsp
	orq	$0, (%rsp)
	subq	$4096, %rsp
	orq	$0, (%rsp)
	subq	$352, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-8096(%rbp), %rdx
	movl	$0, %eax
	movl	$1010, %ecx
	movq	%rdx, %rdi
	rep stosq
	movl	$0, -8516(%rbp)
	leaq	-8512(%rbp), %rdx
	movl	$0, %eax
	movl	$50, %ecx
	movq	%rdx, %rdi
	rep stosq
	movq	%rdi, %rdx
	movl	%eax, (%rdx)
	addq	$4, %rdx
	leaq	-8524(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$1, -8532(%rbp)
	jmp	.L2
.L3:
	leaq	-8528(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-8528(%rbp), %eax
	cltq
	movl	$1, -8096(%rbp,%rax,4)
	movl	-8532(%rbp), %eax
	movl	-8528(%rbp), %edx
	cltq
	movl	%edx, -8512(%rbp,%rax,4)
	movl	-8532(%rbp), %eax
	addl	$1, %eax
	movl	%eax, -8532(%rbp)
.L2:
	movl	-8532(%rbp), %edx
	movl	-8524(%rbp), %eax
	cmpl	%eax, %edx
	jle	.L3
	leaq	-8520(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -8528(%rbp)
	jmp	.L4
.L6:
	leaq	-8532(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-8532(%rbp), %eax
	cltq
	movl	-8512(%rbp,%rax,4), %eax
	cmpl	$2019, %eax
	je	.L5
	movl	-8532(%rbp), %eax
	cltq
	movl	-8512(%rbp,%rax,4), %eax
	addl	$1, %eax
	cltq
	movl	-8096(%rbp,%rax,4), %eax
	testl	%eax, %eax
	jne	.L5
	movl	-8532(%rbp), %eax
	cltq
	movl	-8512(%rbp,%rax,4), %eax
	cltq
	movl	$0, -8096(%rbp,%rax,4)
	movl	-8532(%rbp), %eax
	cltq
	movl	-8512(%rbp,%rax,4), %eax
	addl	$1, %eax
	cltq
	movl	$1, -8096(%rbp,%rax,4)
	movl	-8532(%rbp), %eax
	movslq	%eax, %rdx
	movl	-8512(%rbp,%rdx,4), %edx
	addl	$1, %edx
	cltq
	movl	%edx, -8512(%rbp,%rax,4)
.L5:
	movl	-8528(%rbp), %eax
	addl	$1, %eax
	movl	%eax, -8528(%rbp)
.L4:
	movl	-8528(%rbp), %edx
	movl	-8520(%rbp), %eax
	cmpl	%eax, %edx
	jl	.L6
	movl	$1, -8532(%rbp)
	jmp	.L7
.L8:
	movl	-8532(%rbp), %eax
	cltq
	movl	-8512(%rbp,%rax,4), %eax
	movl	%eax, %esi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	-8532(%rbp), %eax
	addl	$1, %eax
	movl	%eax, -8532(%rbp)
.L7:
	movl	-8532(%rbp), %edx
	movl	-8524(%rbp), %eax
	cmpl	%eax, %edx
	jle	.L8
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L10
	call	__stack_chk_fail@PLT
.L10:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	1f - 0f
	.long	4f - 1f
	.long	5
0:
	.string	"GNU"
1:
	.align 8
	.long	0xc0000002
	.long	3f - 2f
2:
	.long	0x3
3:
	.align 8
4:
