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

```c
#include<stdio.h>
int main(){
	int i=0,l,n,m,a[12],b;
	while(1){
		b=0;
		scanf("%d",&l);
		if(l==0){
			break;
		}
		for(i=0;i<12;i++){
			scanf("%d%d",&m,&n);
			a[i]=m-n;
		}
		for(i=0;i<12;i++){
			b=b+a[i];
			if(b>=l){
				printf("%d\n",i+1);
				break;
			}
		}
		if(b<l){
			printf("NA\n");
		}
	}
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"%d%d"
.LC2:
	.string	"%d\n"
.LC3:
	.string	"NA"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$96, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movl	$0, -72(%rbp)
.L11:
	movl	$0, -68(%rbp)
	leaq	-84(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-84(%rbp), %eax
	testl	%eax, %eax
	je	.L15
	movl	$0, -72(%rbp)
	jmp	.L4
.L5:
	leaq	-80(%rbp), %rdx
	leaq	-76(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-76(%rbp), %eax
	movl	-80(%rbp), %ecx
	subl	%ecx, %eax
	movl	%eax, %edx
	movl	-72(%rbp), %eax
	cltq
	movl	%edx, -64(%rbp,%rax,4)
	addl	$1, -72(%rbp)
.L4:
	cmpl	$11, -72(%rbp)
	jle	.L5
	movl	$0, -72(%rbp)
	jmp	.L6
.L9:
	movl	-72(%rbp), %eax
	cltq
	movl	-64(%rbp,%rax,4), %eax
	addl	%eax, -68(%rbp)
	movl	-84(%rbp), %eax
	cmpl	%eax, -68(%rbp)
	jl	.L7
	movl	-72(%rbp), %eax
	addl	$1, %eax
	movl	%eax, %esi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	jmp	.L8
.L7:
	addl	$1, -72(%rbp)
.L6:
	cmpl	$11, -72(%rbp)
	jle	.L9
.L8:
	movl	-84(%rbp), %eax
	cmpl	%eax, -68(%rbp)
	jge	.L11
	leaq	.LC3(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	jmp	.L11
.L15:
	nop
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L13
	call	__stack_chk_fail@PLT
.L13:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	1f - 0f
	.long	4f - 1f
	.long	5
0:
	.string	"GNU"
1:
	.align 8
	.long	0xc0000002
	.long	3f - 2f
2:
	.long	0x3
3:
	.align 8
4:
```

Only output the optimized assembly code. Do not include any other text. Do not write any comments in the assembly code. Wrap the assembly code in ```assembly``` tags.
user
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"%d%d"
.LC2:
	.string	"NA"
.LC3:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	leaq	.LC1(%rip), %r13
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$88, %rsp
	.cfi_def_cfa_offset 144
	movq	%fs:40, %rax
	movq	%rax, 72(%rsp)
	xorl	%eax, %eax
	leaq	4(%rsp), %r15
	.p2align 4,,10
	.p2align 3
.L5:
	leaq	64(%rsp), %r12
	leaq	8(%rsp), %rbp
	.p2align 4,,10
	.p2align 3
.L7:
	movq	%r15, %rsi
	leaq	.LC0(%rip), %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	4(%rsp), %eax
	testl	%eax, %eax
	je	.L2
	leaq	16(%rsp), %r14
	leaq	12(%rsp), %rbx
	.p2align 4,,10
	.p2align 3
.L3:
	movq	%rbp, %rdx
	movq	%rbx, %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %eax
	subl	8(%rsp), %eax
	addq	$4, %r14
	movl	%eax, -4(%r14)
	cmpq	%r12, %r14
	jne	.L3
	movl	16(%rsp), %ebx
	movl	4(%rsp), %eax
	cmpl	%eax, %ebx
	jge	.L9
	addl	20(%rsp), %ebx
	cmpl	%ebx, %eax
	jle	.L10
	addl	24(%rsp), %ebx
	cmpl	%ebx, %eax
	jle	.L11
	addl	28(%rsp), %ebx
	cmpl	%ebx, %eax
	jle	.L12
	addl	32(%rsp), %ebx
	cmpl	%ebx, %eax
	jle	.L13
	addl	36(%rsp), %ebx
	cmpl	%ebx, %eax
	jle	.L14
	addl	40(%rsp), %ebx
	cmpl	%ebx, %eax
	jle	.L15
	addl	44(%rsp), %ebx
	cmpl	%ebx, %eax
	jle	.L16
	movl	48(%rsp), %edx
	addl	%ebx, %edx
	movl	%edx, %ebx
	cmpl	%edx, %eax
	jle	.L17
	addl	52(%rsp), %edx
	movl	%edx, %ebx
	cmpl	%edx, %eax
	jle	.L18
	addl	56(%rsp), %ebx
	cmpl	%ebx, %eax
	jle	.L19
	addl	60(%rsp), %ebx
	cmpl	%ebx, %eax
	jle	.L20
.L6:
	leaq	.LC2(%rip), %rdi
	call	puts@PLT
	jmp	.L5
.L2:
	movq	72(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L24
	addq	$88, %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
.L9:
	.cfi_restore_state
	movl	$1, %edx
	.p2align 4,,10
	.p2align 3
.L4:
	xorl	%eax, %eax
	leaq	.LC3(%rip), %rsi
	movl	$1, %edi
	call	__printf_chk@PLT
	cmpl	%ebx, 4(%rsp)
	jle	.L7
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L10:
	movl	$2, %edx
	jmp	.L4
.L11:
	movl	$3, %edx
	jmp	.L4
.L12:
	movl	$4, %edx
	jmp	.L4
.L13:
	movl	$5, %edx
	jmp	.L4
.L14:
	movl	$6, %edx
	jmp	.L4
.L15:
	movl	$7, %edx
	jmp	.L4
.L16:
	movl	$8, %edx
	jmp	.L4
.L17:
	movl	$9, %edx
	jmp	.L4
.L18:
	movl	$10, %edx
	jmp	.L4
.L19:
	movl	$11, %edx
	jmp	.L4
.L20:
	movl	$12, %edx
	jmp	.L4
.L24:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.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:

rule
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"%d%d"
.LC2:
	.string	"NA"
.LC3:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	leaq	.LC1(%rip), %r13
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$88, %rsp
	.cfi_def_cfa_offset 144
	movq	%fs:40, %rax
	movq	%rax, 72(%rsp)
	xorl	%eax, %eax
	leaq	4(%rsp), %r15
	.p2align 4,,10
	.p2align 3
.L5:
	leaq	64(%rsp), %r12
	leaq	8(%rsp), %rbp
	.p2align 4,,10
	.p2align 3
.L7:
	movq	%r15, %rsi
	leaq	.LC0(%rip), %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	4(%rsp), %eax
	testl	%eax, %eax
	je	.L2
	leaq	16(%rsp), %r14
	leaq	12(%rsp), %rbx
	.p2align 4,,10
	.p2align 3
.L3:
	movq	%rbp, %rdx
	movq	%rbx, %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %eax
	subl	8(%rsp), %eax
	addq	$4, %r14
	movl	%eax, -4(%r14)
	cmpq	%r12, %r14
	jne	.L3
	movl	16(%rsp), %ebx
	movl	4(%rsp), %eax
	cmpl	%eax, %ebx
	jge	.L9
	addl	20(%rsp), %ebx
	cmpl	%ebx, %eax
	jle	.L10
	addl	24(%rsp), %ebx
	cmpl	%ebx, %eax
	jle	.L11
	addl	28(%rsp), %ebx
	cmpl	%ebx, %eax
	jle	.L12
	addl	32(%rsp), %ebx
	cmpl	%ebx, %eax
	jle	.L13
	addl	36(%rsp), %ebx
	cmpl	%ebx, %eax
	jle	.L14
	addl	40(%rsp), %ebx
	cmpl	%ebx, %eax
	jle	.L15
	addl	44(%rsp), %ebx
	cmpl	%ebx, %eax
	jle	.L16
	movl	48(%rsp), %edx
	addl	%ebx, %edx
	movl	%edx, %ebx
	cmpl	%edx, %eax
	jle	.L17
	addl	52(%rsp), %edx
	movl	%edx, %ebx
	cmpl	%edx, %eax
	jle	.L18
	addl	56(%rsp), %ebx
	cmpl	%ebx, %eax
	jle	.L19
	addl	60(%rsp), %ebx
	cmpl	%ebx, %eax
	jle	.L20
.L6:
	leaq	.LC2(%rip), %rdi
	call	puts@PLT
	jmp	.L5
.L2:
	movq	72(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L24
	addq	$88, %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
.L9:
	.cfi_restore_state
	movl	$1, %edx
	.p2align 4,,10
	.p2align 3
.L4:
	xorl	%eax, %eax
	leaq	.LC3(%rip), %rsi
	movl	$1, %edi
	call	__printf_chk@PLT
	cmpl	%ebx, 4(%rsp)
	jle	.L7
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L10:
	movl	$2, %edx
	jmp	.L4
.L11:
	movl	$3, %edx
	jmp	.L4
.L12:
	movl	$4, %edx
	jmp	.L4
.L13:
	movl	$5, %edx
	jmp	.L4
.L14:
	movl	$6, %edx
	jmp	.L4
.L15:
	movl	$7, %edx
	jmp	.L4
.L16:
	movl	$8, %edx
	jmp	.L4
.L17:
	movl	$9, %edx
	jmp	.L4
.L18:
	movl	$10, %edx
	jmp	.L4
.L19:
	movl	$11, %edx
	jmp	.L4
.L20:
	movl	$12, %edx
	jmp	.L4
.L24:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.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:

#include<stdio.h>
int main(){
	int i=0,l,n,m,a[12],b;
	while(1){
		b=0;
		scanf("%d",&l);
		if(l==0){
			break;
		}
		for(i=0;i<12;i++){
			scanf("%d%d",&m,&n);
			a[i]=m-n;
		}
		for(i=0;i<12;i++){
			b=b+a[i];
			if(b>=l){
				printf("%d\n",i+1);
				break;
			}
		}
		if(b<l){
			printf("NA\n");
		}
	}
}
10000
5000 3150
5000 5000
0 0
5000 1050
5000 3980
5000 210
5000 5000
5000 5000
0 0
5000 2100
5000 2100
5000 2100
29170
100000 100000
100000 100000
100000 100000
100000 100000
100000 100000
100000 100000
100000 100000
100000 101000
100000 100000
100000 100000
100000 100000
100000 70831
0
 10000
1225 3150
5000 5000
0 0
5000 1050
5000 3980
5000 210
5000 5000
5000 5000
0 0
5000 2100
5000 2494
5000 2100
29170
100000 100000
100000 100000
100000 100000
100000 100000
100000 100000
100000 101000
100000 100000
100000 100000
100000 100000
100000 100000
100000 100000
100000 70831
0
 10000
1225 3150
5000 5000
0 0
5000 1050
5000 3980
5000 210
5000 5000
5000 5000
0 0
5075 2100
5000 2494
5000 2100
29170
100000 100000
100000 100000
100000 100000
100000 100000
100000 100000
100000 101000
100000 100000
100000 100000
100000 100000
100000 100000
100000 000000
100000 70831
0
 10000
1225 3150
5000 6694
0 0
5000 1050
5000 3980
5000 210
5000 5000
5000 5000
0 0
5075 2100
5000 2494
5000 2100
29170
100000 100000
100000 100000
100000 100000
100000 100000
100000 100000
100000 101000
100000 100000
100000 100000
100000 100000
100000 100000
100000 000000
100000 70831
0
 10000
1225 3150
5000 6694
0 0
5000 1050
5000 3980
5000 210
5000 5000
5000 5000
0 0
5075 2100
9143 2494
5000 2100
29170
100000 000000
100010 100000
100000 100000
100000 100000
100000 100000
100000 101000
100000 100000
100000 100000
100000 100000
100000 100000
100000 000000
100000 70831
0
 10000
1225 3150
5000 6694
0 0
5000 1050
5000 2519
5000 210
5000 5000
5000 5000
-1 0
5075 2100
9143 2494
5000 2100
29170
100000 000000
100010 110000
100000 100000
100000 100000
100000 100000
100000 101000
100000 100000
100000 100000
100000 100000
100000 100000
100000 000000
100000 70831
0
 10000
1225 3150
5000 5000
0 0
5000 1050
5000 3980
5000 210
5000 5000
5000 2831
0 0
5075 2100
5000 2494
5000 2100
29170
100000 100000
100000 100000
100000 100000
100000 100000
100000 100000
100000 101000
100000 100000
100000 100000
100000 100000
100000 100000
100000 000000
100000 70831
0
 10000
1225 3150
5000 6694
0 0
5000 1050
5000 3980
5000 210
5000 6907
5000 5000
0 0
5075 2100
5000 2494
5000 2100
29170
100000 100000
100010 100000
100000 100000
100000 100000
100000 100000
100000 101000
100000 100000
100000 100000
100000 100000
100000 100000
100000 000000
100000 70831
0
 10000
1225 3150
5000 6694
1 0
7545 1050
5000 2519
5000 210
5000 5000
5000 5000
-1 0
5075 1589
9143 2494
5000 2100
29170
100000 000000
100010 110000
100000 100000
100000 100000
100100 100000
100000 111000
100000 100000
101000 100000
100000 100000
100000 100000
100000 000000
100000 131331
0
 10000
1225 3150
5000 6694
0 0
5000 1050
5000 2519
5000 254
522 5000
5000 7588
-1 0
5075 3046
9143 2494
5000 2100
29170
100000 000000
100010 110000
100000 100000
100000 100000
101100 100000
100000 111000
101000 100000
101000 100000
100000 100000
100000 100000
100000 000000
100000 131331
0

6
NA
 10
NA
 10
11
 11
11
 11
1
 10
1
 8
11
 12
11
 6
1
 12
1

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

```c
#include<stdio.h>
int main(){
	int i=0,l,n,m,a[12],b;
	while(1){
		b=0;
		scanf("%d",&l);
		if(l==0){
			break;
		}
		for(i=0;i<12;i++){
			scanf("%d%d",&m,&n);
			a[i]=m-n;
		}
		for(i=0;i<12;i++){
			b=b+a[i];
			if(b>=l){
				printf("%d\n",i+1);
				break;
			}
		}
		if(b<l){
			printf("NA\n");
		}
	}
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"%d%d"
.LC2:
	.string	"%d\n"
.LC3:
	.string	"NA"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$96, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movl	$0, -72(%rbp)
.L11:
	movl	$0, -68(%rbp)
	leaq	-84(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-84(%rbp), %eax
	testl	%eax, %eax
	je	.L15
	movl	$0, -72(%rbp)
	jmp	.L4
.L5:
	leaq	-80(%rbp), %rdx
	leaq	-76(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-76(%rbp), %eax
	movl	-80(%rbp), %ecx
	subl	%ecx, %eax
	movl	%eax, %edx
	movl	-72(%rbp), %eax
	cltq
	movl	%edx, -64(%rbp,%rax,4)
	addl	$1, -72(%rbp)
.L4:
	cmpl	$11, -72(%rbp)
	jle	.L5
	movl	$0, -72(%rbp)
	jmp	.L6
.L9:
	movl	-72(%rbp), %eax
	cltq
	movl	-64(%rbp,%rax,4), %eax
	addl	%eax, -68(%rbp)
	movl	-84(%rbp), %eax
	cmpl	%eax, -68(%rbp)
	jl	.L7
	movl	-72(%rbp), %eax
	addl	$1, %eax
	movl	%eax, %esi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	jmp	.L8
.L7:
	addl	$1, -72(%rbp)
.L6:
	cmpl	$11, -72(%rbp)
	jle	.L9
.L8:
	movl	-84(%rbp), %eax
	cmpl	%eax, -68(%rbp)
	jge	.L11
	leaq	.LC3(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	jmp	.L11
.L15:
	nop
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L13
	call	__stack_chk_fail@PLT
.L13:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	1f - 0f
	.long	4f - 1f
	.long	5
0:
	.string	"GNU"
1:
	.align 8
	.long	0xc0000002
	.long	3f - 2f
2:
	.long	0x3
3:
	.align 8
4:
```

Only output the optimized assembly code. Do not include any other text. Do not write any comments in the assembly code. Wrap the assembly code in ```assembly``` tags.
train
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"%d%d"
.LC2:
	.string	"%d\n"
.LC3:
	.string	"NA"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$96, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movl	$0, -72(%rbp)
.L11:
	movl	$0, -68(%rbp)
	leaq	-84(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-84(%rbp), %eax
	testl	%eax, %eax
	je	.L15
	movl	$0, -72(%rbp)
	jmp	.L4
.L5:
	leaq	-80(%rbp), %rdx
	leaq	-76(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-76(%rbp), %eax
	movl	-80(%rbp), %ecx
	subl	%ecx, %eax
	movl	%eax, %edx
	movl	-72(%rbp), %eax
	cltq
	movl	%edx, -64(%rbp,%rax,4)
	addl	$1, -72(%rbp)
.L4:
	cmpl	$11, -72(%rbp)
	jle	.L5
	movl	$0, -72(%rbp)
	jmp	.L6
.L9:
	movl	-72(%rbp), %eax
	cltq
	movl	-64(%rbp,%rax,4), %eax
	addl	%eax, -68(%rbp)
	movl	-84(%rbp), %eax
	cmpl	%eax, -68(%rbp)
	jl	.L7
	movl	-72(%rbp), %eax
	addl	$1, %eax
	movl	%eax, %esi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	jmp	.L8
.L7:
	addl	$1, -72(%rbp)
.L6:
	cmpl	$11, -72(%rbp)
	jle	.L9
.L8:
	movl	-84(%rbp), %eax
	cmpl	%eax, -68(%rbp)
	jge	.L11
	leaq	.LC3(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	jmp	.L11
.L15:
	nop
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L13
	call	__stack_chk_fail@PLT
.L13:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	1f - 0f
	.long	4f - 1f
	.long	5
0:
	.string	"GNU"
1:
	.align 8
	.long	0xc0000002
	.long	3f - 2f
2:
	.long	0x3
3:
	.align 8
4:
