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(void)
{
  int N, M, masu[1000], num[1000], i, count, j;

  while(1){
    scanf("%d%d", &N, &M);
    if(N == 0 && M == 0) break;

      for(i = 0; i < N; i++) scanf("%d", &masu[i]);
      for(i = 0; i < M; i++) scanf("%d", &num[i]);

      count = 0, j = 0;

      for(i = 0; i < M; i++){
	j += num[i];
	j += masu[j];
	count++;
	if(j >= N) break;
      }
	printf("%d\n", count);
  }
  return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d%d"
.LC1:
	.string	"%d"
.LC2:
	.string	"%d\n"
	.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	$4096, %rsp
	orq	$0, (%rsp)
	subq	$3952, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
.L12:
	leaq	-8032(%rbp), %rdx
	leaq	-8036(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-8036(%rbp), %eax
	testl	%eax, %eax
	jne	.L2
	movl	-8032(%rbp), %eax
	testl	%eax, %eax
	je	.L16
.L2:
	movl	$0, -8028(%rbp)
	jmp	.L4
.L5:
	leaq	-8016(%rbp), %rdx
	movl	-8028(%rbp), %eax
	cltq
	salq	$2, %rax
	addq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -8028(%rbp)
.L4:
	movl	-8036(%rbp), %eax
	cmpl	%eax, -8028(%rbp)
	jl	.L5
	movl	$0, -8028(%rbp)
	jmp	.L6
.L7:
	leaq	-4016(%rbp), %rdx
	movl	-8028(%rbp), %eax
	cltq
	salq	$2, %rax
	addq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -8028(%rbp)
.L6:
	movl	-8032(%rbp), %eax
	cmpl	%eax, -8028(%rbp)
	jl	.L7
	movl	$0, -8024(%rbp)
	movl	$0, -8020(%rbp)
	movl	$0, -8028(%rbp)
	jmp	.L8
.L11:
	movl	-8028(%rbp), %eax
	cltq
	movl	-4016(%rbp,%rax,4), %eax
	addl	%eax, -8020(%rbp)
	movl	-8020(%rbp), %eax
	cltq
	movl	-8016(%rbp,%rax,4), %eax
	addl	%eax, -8020(%rbp)
	addl	$1, -8024(%rbp)
	movl	-8036(%rbp), %eax
	cmpl	%eax, -8020(%rbp)
	jge	.L17
	addl	$1, -8028(%rbp)
.L8:
	movl	-8032(%rbp), %eax
	cmpl	%eax, -8028(%rbp)
	jl	.L11
	jmp	.L10
.L17:
	nop
.L10:
	movl	-8024(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	jmp	.L12
.L16:
	nop
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L14
	call	__stack_chk_fail@PLT
.L14:
	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%d"
.LC1:
	.string	"%d"
.LC2:
	.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
	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	$4096, %rsp
	.cfi_def_cfa_offset 4152
	orq	$0, (%rsp)
	subq	$3944, %rsp
	.cfi_def_cfa_offset 8096
	leaq	.LC1(%rip), %rbx
	movq	%fs:40, %rax
	movq	%rax, 8024(%rsp)
	xorl	%eax, %eax
	leaq	12(%rsp), %r13
	leaq	8(%rsp), %r12
	.p2align 4,,10
	.p2align 3
.L12:
	movq	%r13, %rdx
	movq	%r12, %rsi
	leaq	.LC0(%rip), %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	8(%rsp), %eax
	testl	%eax, %eax
	jne	.L20
	movl	12(%rsp), %eax
	testl	%eax, %eax
	je	.L21
	testl	%eax, %eax
	jle	.L14
	.p2align 4,,10
	.p2align 3
.L22:
	leaq	4016(%rsp), %r15
	xorl	%r14d, %r14d
	movq	%r15, %rbp
	.p2align 4,,10
	.p2align 3
.L9:
	movq	%rbp, %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	addl	$1, %r14d
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %ecx
	addq	$4, %rbp
	cmpl	%r14d, %ecx
	jg	.L9
	movl	8(%rsp), %edi
	xorl	%eax, %eax
	xorl	%edx, %edx
	.p2align 4,,10
	.p2align 3
.L10:
	cmpl	%edx, %ecx
	jle	.L8
	addl	(%r15), %eax
	addl	$1, %edx
	addq	$4, %r15
	movslq	%eax, %rsi
	addl	16(%rsp,%rsi,4), %eax
	cmpl	%eax, %edi
	jg	.L10
.L8:
	leaq	.LC2(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L12
	.p2align 4,,10
	.p2align 3
.L20:
	jle	.L17
	leaq	16(%rsp), %rbp
	xorl	%r15d, %r15d
	.p2align 4,,10
	.p2align 3
.L7:
	movq	%rbp, %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	addl	$1, %r15d
	call	__isoc99_scanf@PLT
	addq	$4, %rbp
	cmpl	%r15d, 8(%rsp)
	jg	.L7
.L17:
	movl	12(%rsp), %eax
	testl	%eax, %eax
	jg	.L22
.L14:
	xorl	%edx, %edx
	jmp	.L8
.L21:
	movq	8024(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L23
	addq	$8040, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
.L23:
	.cfi_restore_state
	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%d"
.LC1:
	.string	"%d"
.LC2:
	.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
	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	$4096, %rsp
	.cfi_def_cfa_offset 4152
	orq	$0, (%rsp)
	subq	$3944, %rsp
	.cfi_def_cfa_offset 8096
	leaq	.LC1(%rip), %rbx
	movq	%fs:40, %rax
	movq	%rax, 8024(%rsp)
	xorl	%eax, %eax
	leaq	12(%rsp), %r13
	leaq	8(%rsp), %r12
	.p2align 4,,10
	.p2align 3
.L12:
	movq	%r13, %rdx
	movq	%r12, %rsi
	leaq	.LC0(%rip), %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	8(%rsp), %eax
	testl	%eax, %eax
	jne	.L20
	movl	12(%rsp), %eax
	testl	%eax, %eax
	je	.L21
	testl	%eax, %eax
	jle	.L14
	.p2align 4,,10
	.p2align 3
.L22:
	leaq	4016(%rsp), %r15
	xorl	%r14d, %r14d
	movq	%r15, %rbp
	.p2align 4,,10
	.p2align 3
.L9:
	movq	%rbp, %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	addl	$1, %r14d
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %ecx
	addq	$4, %rbp
	cmpl	%r14d, %ecx
	jg	.L9
	movl	8(%rsp), %edi
	xorl	%eax, %eax
	xorl	%edx, %edx
	.p2align 4,,10
	.p2align 3
.L10:
	cmpl	%edx, %ecx
	jle	.L8
	addl	(%r15), %eax
	addl	$1, %edx
	addq	$4, %r15
	movslq	%eax, %rsi
	addl	16(%rsp,%rsi,4), %eax
	cmpl	%eax, %edi
	jg	.L10
.L8:
	leaq	.LC2(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L12
	.p2align 4,,10
	.p2align 3
.L20:
	jle	.L17
	leaq	16(%rsp), %rbp
	xorl	%r15d, %r15d
	.p2align 4,,10
	.p2align 3
.L7:
	movq	%rbp, %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	addl	$1, %r15d
	call	__isoc99_scanf@PLT
	addq	$4, %rbp
	cmpl	%r15d, 8(%rsp)
	jg	.L7
.L17:
	movl	12(%rsp), %eax
	testl	%eax, %eax
	jg	.L22
.L14:
	xorl	%edx, %edx
	jmp	.L8
.L21:
	movq	8024(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L23
	addq	$8040, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
.L23:
	.cfi_restore_state
	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(void)
{
  int N, M, masu[1000], num[1000], i, count, j;

  while(1){
    scanf("%d%d", &N, &M);
    if(N == 0 && M == 0) break;

      for(i = 0; i < N; i++) scanf("%d", &masu[i]);
      for(i = 0; i < M; i++) scanf("%d", &num[i]);

      count = 0, j = 0;

      for(i = 0; i < M; i++){
	j += num[i];
	j += masu[j];
	count++;
	if(j >= N) break;
      }
	printf("%d\n", count);
  }
  return 0;
}
10 5
0
0
5
6
-3
8
1
8
-4
0
1
3
5
1
5
10 10
0
-1
-1
4
4
-5
0
1
-6
0
1
5
2
5
6
5
5
4
1
6
0 0
 10 5
0
0
5
6
-2
8
1
8
-4
0
1
3
5
1
5
10 10
0
-1
-1
4
4
-5
0
1
-6
0
2
5
2
4
6
5
5
4
1
6
0 0
 10 5
0
1
5
6
-2
8
1
8
-4
0
1
3
5
1
5
10 10
0
-1
-1
4
4
-5
0
1
-6
0
2
5
2
4
6
5
5
4
1
6
0 0
 10 5
0
0
5
6
-3
8
2
8
-4
0
1
3
5
1
5
10 10
0
-1
-1
4
4
-5
0
1
-6
0
1
5
2
4
6
5
5
4
1
6
0 0
 10 5
0
1
5
6
-2
8
1
8
-4
0
1
3
5
1
5
10 10
0
-1
-1
4
4
-5
0
1
-6
0
3
5
2
4
6
5
5
4
1
6
0 0
 10 5
0
1
5
6
-2
8
1
8
-4
0
1
3
5
1
5
10 10
0
-1
0
4
4
-5
0
1
-6
0
2
5
2
5
6
5
5
4
1
6
0 0
 10 5
0
1
5
6
-2
7
1
8
-5
0
2
1
6
1
5
10 10
0
-1
-1
3
4
-5
0
1
-10
0
2
5
2
5
2
5
3
4
3
6
0 0
 10 5
0
0
5
6
-3
8
1
8
-4
0
2
3
5
1
5
10 10
0
-1
-1
4
4
-5
0
1
-6
0
1
5
1
5
6
5
5
4
1
6
0 0
 10 5
0
2
5
6
-2
8
1
8
-4
0
1
3
5
1
5
10 10
0
-1
0
4
4
-5
0
1
-6
0
2
5
2
5
6
5
5
4
1
6
0 0
 10 5
0
1
5
6
-2
8
1
8
-5
0
2
1
5
1
5
10 10
0
-1
-1
4
4
-5
0
1
-6
0
4
5
2
5
6
5
3
4
3
6
0 0

5
5
 3
5
 2
5
 5
6
 2
2
 2
3
 4
8
 2
6
 3
3
 5
2

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(void)
{
  int N, M, masu[1000], num[1000], i, count, j;

  while(1){
    scanf("%d%d", &N, &M);
    if(N == 0 && M == 0) break;

      for(i = 0; i < N; i++) scanf("%d", &masu[i]);
      for(i = 0; i < M; i++) scanf("%d", &num[i]);

      count = 0, j = 0;

      for(i = 0; i < M; i++){
	j += num[i];
	j += masu[j];
	count++;
	if(j >= N) break;
      }
	printf("%d\n", count);
  }
  return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d%d"
.LC1:
	.string	"%d"
.LC2:
	.string	"%d\n"
	.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	$4096, %rsp
	orq	$0, (%rsp)
	subq	$3952, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
.L12:
	leaq	-8032(%rbp), %rdx
	leaq	-8036(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-8036(%rbp), %eax
	testl	%eax, %eax
	jne	.L2
	movl	-8032(%rbp), %eax
	testl	%eax, %eax
	je	.L16
.L2:
	movl	$0, -8028(%rbp)
	jmp	.L4
.L5:
	leaq	-8016(%rbp), %rdx
	movl	-8028(%rbp), %eax
	cltq
	salq	$2, %rax
	addq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -8028(%rbp)
.L4:
	movl	-8036(%rbp), %eax
	cmpl	%eax, -8028(%rbp)
	jl	.L5
	movl	$0, -8028(%rbp)
	jmp	.L6
.L7:
	leaq	-4016(%rbp), %rdx
	movl	-8028(%rbp), %eax
	cltq
	salq	$2, %rax
	addq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -8028(%rbp)
.L6:
	movl	-8032(%rbp), %eax
	cmpl	%eax, -8028(%rbp)
	jl	.L7
	movl	$0, -8024(%rbp)
	movl	$0, -8020(%rbp)
	movl	$0, -8028(%rbp)
	jmp	.L8
.L11:
	movl	-8028(%rbp), %eax
	cltq
	movl	-4016(%rbp,%rax,4), %eax
	addl	%eax, -8020(%rbp)
	movl	-8020(%rbp), %eax
	cltq
	movl	-8016(%rbp,%rax,4), %eax
	addl	%eax, -8020(%rbp)
	addl	$1, -8024(%rbp)
	movl	-8036(%rbp), %eax
	cmpl	%eax, -8020(%rbp)
	jge	.L17
	addl	$1, -8028(%rbp)
.L8:
	movl	-8032(%rbp), %eax
	cmpl	%eax, -8028(%rbp)
	jl	.L11
	jmp	.L10
.L17:
	nop
.L10:
	movl	-8024(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	jmp	.L12
.L16:
	nop
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L14
	call	__stack_chk_fail@PLT
.L14:
	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%d"
.LC1:
	.string	"%d"
.LC2:
	.string	"%d\n"
	.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	$4096, %rsp
	orq	$0, (%rsp)
	subq	$3952, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
.L12:
	leaq	-8032(%rbp), %rdx
	leaq	-8036(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-8036(%rbp), %eax
	testl	%eax, %eax
	jne	.L2
	movl	-8032(%rbp), %eax
	testl	%eax, %eax
	je	.L16
.L2:
	movl	$0, -8028(%rbp)
	jmp	.L4
.L5:
	leaq	-8016(%rbp), %rdx
	movl	-8028(%rbp), %eax
	cltq
	salq	$2, %rax
	addq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -8028(%rbp)
.L4:
	movl	-8036(%rbp), %eax
	cmpl	%eax, -8028(%rbp)
	jl	.L5
	movl	$0, -8028(%rbp)
	jmp	.L6
.L7:
	leaq	-4016(%rbp), %rdx
	movl	-8028(%rbp), %eax
	cltq
	salq	$2, %rax
	addq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -8028(%rbp)
.L6:
	movl	-8032(%rbp), %eax
	cmpl	%eax, -8028(%rbp)
	jl	.L7
	movl	$0, -8024(%rbp)
	movl	$0, -8020(%rbp)
	movl	$0, -8028(%rbp)
	jmp	.L8
.L11:
	movl	-8028(%rbp), %eax
	cltq
	movl	-4016(%rbp,%rax,4), %eax
	addl	%eax, -8020(%rbp)
	movl	-8020(%rbp), %eax
	cltq
	movl	-8016(%rbp,%rax,4), %eax
	addl	%eax, -8020(%rbp)
	addl	$1, -8024(%rbp)
	movl	-8036(%rbp), %eax
	cmpl	%eax, -8020(%rbp)
	jge	.L17
	addl	$1, -8028(%rbp)
.L8:
	movl	-8032(%rbp), %eax
	cmpl	%eax, -8028(%rbp)
	jl	.L11
	jmp	.L10
.L17:
	nop
.L10:
	movl	-8024(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	jmp	.L12
.L16:
	nop
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L14
	call	__stack_chk_fail@PLT
.L14:
	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:
