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

```c
//2020.1.21
//s1270188 xxxmk2
//icpc 2019 pre1

#include<stdio.h>
#define N 1000

int main(){
  int d[N], n, m;
  int i, j, a;

  while(1){
    
    //input n m
    scanf("%d %d",&n,&m);
    if(n==0 && m==0) break;
  
    //reset
    for(i=0;i<n;i++) d[i]=0;

    //input data
    for(i=0;i<m;i++){
      for(j=0;j<n;j++){
	scanf("%d",&a);
	d[j]+=a;
      }
    }

    //judge
    a=0;
    for(i=0;i<n;i++){
      if(d[i]>a) a=d[i];
    }

    //output
    printf("%d\n",a);

  }
  
  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	$4048, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
.L13:
	leaq	-4032(%rbp), %rdx
	leaq	-4036(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-4036(%rbp), %eax
	testl	%eax, %eax
	jne	.L2
	movl	-4032(%rbp), %eax
	testl	%eax, %eax
	je	.L17
.L2:
	movl	$0, -4024(%rbp)
	jmp	.L4
.L5:
	movl	-4024(%rbp), %eax
	cltq
	movl	$0, -4016(%rbp,%rax,4)
	addl	$1, -4024(%rbp)
.L4:
	movl	-4036(%rbp), %eax
	cmpl	%eax, -4024(%rbp)
	jl	.L5
	movl	$0, -4024(%rbp)
	jmp	.L6
.L9:
	movl	$0, -4020(%rbp)
	jmp	.L7
.L8:
	leaq	-4028(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-4020(%rbp), %eax
	cltq
	movl	-4016(%rbp,%rax,4), %edx
	movl	-4028(%rbp), %eax
	addl	%eax, %edx
	movl	-4020(%rbp), %eax
	cltq
	movl	%edx, -4016(%rbp,%rax,4)
	addl	$1, -4020(%rbp)
.L7:
	movl	-4036(%rbp), %eax
	cmpl	%eax, -4020(%rbp)
	jl	.L8
	addl	$1, -4024(%rbp)
.L6:
	movl	-4032(%rbp), %eax
	cmpl	%eax, -4024(%rbp)
	jl	.L9
	movl	$0, -4028(%rbp)
	movl	$0, -4024(%rbp)
	jmp	.L10
.L12:
	movl	-4024(%rbp), %eax
	cltq
	movl	-4016(%rbp,%rax,4), %edx
	movl	-4028(%rbp), %eax
	cmpl	%eax, %edx
	jle	.L11
	movl	-4024(%rbp), %eax
	cltq
	movl	-4016(%rbp,%rax,4), %eax
	movl	%eax, -4028(%rbp)
.L11:
	addl	$1, -4024(%rbp)
.L10:
	movl	-4036(%rbp), %eax
	cmpl	%eax, -4024(%rbp)
	jl	.L12
	movl	-4028(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	jmp	.L13
.L17:
	nop
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L15
	call	__stack_chk_fail@PLT
.L15:
	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
	leaq	.LC1(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$4056, %rsp
	.cfi_def_cfa_offset 4112
	movq	%fs:40, %rax
	movq	%rax, 4040(%rsp)
	xorl	%eax, %eax
	leaq	20(%rsp), %rax
	leaq	24(%rsp), %r15
	movq	%rax, 8(%rsp)
	.p2align 4,,10
	.p2align 3
.L14:
	movq	8(%rsp), %rsi
	movq	%r15, %rdx
	leaq	.LC0(%rip), %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	20(%rsp), %r8d
	movl	24(%rsp), %ebx
	testl	%r8d, %r8d
	jne	.L27
	testl	%ebx, %ebx
	je	.L28
.L4:
	xorl	%r12d, %r12d
	testl	%ebx, %ebx
	jle	.L7
	.p2align 4,,10
	.p2align 3
.L6:
	testl	%r8d, %r8d
	jle	.L29
	leaq	32(%rsp), %r14
	xorl	%r13d, %r13d
	leaq	28(%rsp), %rbx
	.p2align 4,,10
	.p2align 3
.L8:
	movq	%rbx, %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	addl	$1, %r13d
	call	__isoc99_scanf@PLT
	movl	20(%rsp), %r8d
	movl	28(%rsp), %eax
	addl	%eax, (%r14)
	addq	$4, %r14
	cmpl	%r13d, %r8d
	jg	.L8
	addl	$1, %r12d
	cmpl	%r12d, 24(%rsp)
	jg	.L6
.L7:
	movl	$0, 28(%rsp)
	testl	%r8d, %r8d
	jle	.L19
	leal	-1(%r8), %edx
	leaq	32(%rsp), %rax
	xorl	%esi, %esi
	xorl	%r8d, %r8d
	leaq	36(%rsp,%rdx,4), %rcx
	.p2align 4,,10
	.p2align 3
.L13:
	movl	(%rax), %edx
	cmpl	%r8d, %edx
	jle	.L12
	movl	%edx, %r8d
	movl	$1, %esi
.L12:
	addq	$4, %rax
	cmpq	%rax, %rcx
	jne	.L13
	testb	%sil, %sil
	je	.L19
	movl	%r8d, 28(%rsp)
.L11:
	movl	%r8d, %edx
	leaq	.LC2(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L14
.L27:
	jle	.L4
	movslq	%r8d, %rdx
	leaq	32(%rsp), %rdi
	xorl	%esi, %esi
	movl	%r8d, 4(%rsp)
	salq	$2, %rdx
	call	memset@PLT
	movl	4(%rsp), %r8d
	jmp	.L4
.L19:
	xorl	%r8d, %r8d
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L29:
	movl	$0, 28(%rsp)
	xorl	%r8d, %r8d
	jmp	.L11
.L28:
	movq	4040(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L30
	addq	$4056, %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
.L30:
	.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
	leaq	.LC1(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$4056, %rsp
	.cfi_def_cfa_offset 4112
	movq	%fs:40, %rax
	movq	%rax, 4040(%rsp)
	xorl	%eax, %eax
	leaq	20(%rsp), %rax
	leaq	24(%rsp), %r15
	movq	%rax, 8(%rsp)
	.p2align 4,,10
	.p2align 3
.L14:
	movq	8(%rsp), %rsi
	movq	%r15, %rdx
	leaq	.LC0(%rip), %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	20(%rsp), %r8d
	movl	24(%rsp), %ebx
	testl	%r8d, %r8d
	jne	.L27
	testl	%ebx, %ebx
	je	.L28
.L4:
	xorl	%r12d, %r12d
	testl	%ebx, %ebx
	jle	.L7
	.p2align 4,,10
	.p2align 3
.L6:
	testl	%r8d, %r8d
	jle	.L29
	leaq	32(%rsp), %r14
	xorl	%r13d, %r13d
	leaq	28(%rsp), %rbx
	.p2align 4,,10
	.p2align 3
.L8:
	movq	%rbx, %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	addl	$1, %r13d
	call	__isoc99_scanf@PLT
	movl	20(%rsp), %r8d
	movl	28(%rsp), %eax
	addl	%eax, (%r14)
	addq	$4, %r14
	cmpl	%r13d, %r8d
	jg	.L8
	addl	$1, %r12d
	cmpl	%r12d, 24(%rsp)
	jg	.L6
.L7:
	movl	$0, 28(%rsp)
	testl	%r8d, %r8d
	jle	.L19
	leal	-1(%r8), %edx
	leaq	32(%rsp), %rax
	xorl	%esi, %esi
	xorl	%r8d, %r8d
	leaq	36(%rsp,%rdx,4), %rcx
	.p2align 4,,10
	.p2align 3
.L13:
	movl	(%rax), %edx
	cmpl	%r8d, %edx
	jle	.L12
	movl	%edx, %r8d
	movl	$1, %esi
.L12:
	addq	$4, %rax
	cmpq	%rax, %rcx
	jne	.L13
	testb	%sil, %sil
	je	.L19
	movl	%r8d, 28(%rsp)
.L11:
	movl	%r8d, %edx
	leaq	.LC2(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L14
.L27:
	jle	.L4
	movslq	%r8d, %rdx
	leaq	32(%rsp), %rdi
	xorl	%esi, %esi
	movl	%r8d, 4(%rsp)
	salq	$2, %rdx
	call	memset@PLT
	movl	4(%rsp), %r8d
	jmp	.L4
.L19:
	xorl	%r8d, %r8d
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L29:
	movl	$0, 28(%rsp)
	xorl	%r8d, %r8d
	jmp	.L11
.L28:
	movq	4040(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L30
	addq	$4056, %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
.L30:
	.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:

//2020.1.21
//s1270188 xxxmk2
//icpc 2019 pre1

#include<stdio.h>
#define N 1000

int main(){
  int d[N], n, m;
  int i, j, a;

  while(1){
    
    //input n m
    scanf("%d %d",&n,&m);
    if(n==0 && m==0) break;
  
    //reset
    for(i=0;i<n;i++) d[i]=0;

    //input data
    for(i=0;i<m;i++){
      for(j=0;j<n;j++){
	scanf("%d",&a);
	d[j]+=a;
      }
    }

    //judge
    a=0;
    for(i=0;i<n;i++){
      if(d[i]>a) a=d[i];
    }

    //output
    printf("%d\n",a);

  }
  
  return 0;
}


5 2
10 20 30 40 50
15 25 35 45 55
6 3
10 20 30 15 25 35
21 34 11 52 20 0
31 15 42 10 21 19
4 2
0 0 0 0
0 0 0 0
0 0
 5 2
10 20 30 40 50
15 25 35 85 55
6 3
10 20 30 15 25 35
21 34 11 52 20 0
31 15 42 10 21 10
4 2
0 0 0 0
0 0 0 0
0 0
 5 2
10 20 30 40 50
15 25 35 85 55
6 3
10 20 30 15 25 35
21 34 11 52 20 0
27 15 2 10 21 10
4 2
0 0 0 0
0 0 0 0
0 0
 5 2
10 20 30 40 50
15 25 35 85 55
6 3
10 20 30 15 25 35
21 34 11 28 20 0
27 15 2 10 21 10
4 2
0 0 0 0
0 0 0 0
0 0
 5 2
8 20 30 74 50
15 25 35 85 55
6 3
10 20 30 15 25 35
21 34 11 52 20 0
27 15 42 10 21 10
4 2
0 0 0 0
0 0 0 0
0 0
 5 2
10 22 30 40 50
15 25 35 45 55
6 3
10 20 16 13 25 35
21 34 11 52 20 18
31 15 42 10 21 19
4 2
0 0 0 0
0 0 0 0
0 0
 5 2
10 20 30 40 50
15 25 35 45 55
6 3
10 20 30 15 25 35
21 34 8 52 20 0
31 15 42 10 28 19
4 2
0 0 0 0
0 0 -1 0
0 0
 5 2
10 20 30 40 50
15 25 35 45 55
6 3
10 20 30 15 25 35
21 34 8 52 20 0
31 15 34 10 28 19
4 2
0 0 0 0
0 0 -1 0
0 0
 5 2
8 20 30 74 50
15 25 35 85 55
6 3
10 20 30 15 25 35
21 34 11 52 20 0
27 15 42 10 21 10
4 2
-1 0 0 0
0 1 0 0
0 0
 5 2
10 20 59 40 50
15 32 35 85 55
6 3
10 20 30 15 21 35
21 29 11 28 20 0
27 15 2 10 21 10
4 2
0 0 0 0
0 0 0 0
0 0

105
83
0
 125
83
0
 125
77
0
 125
69
0
 159
83
0
 105
75
0
 105
80
0
 105
77
0
 159
83
1
 125
64
0

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

```c
//2020.1.21
//s1270188 xxxmk2
//icpc 2019 pre1

#include<stdio.h>
#define N 1000

int main(){
  int d[N], n, m;
  int i, j, a;

  while(1){
    
    //input n m
    scanf("%d %d",&n,&m);
    if(n==0 && m==0) break;
  
    //reset
    for(i=0;i<n;i++) d[i]=0;

    //input data
    for(i=0;i<m;i++){
      for(j=0;j<n;j++){
	scanf("%d",&a);
	d[j]+=a;
      }
    }

    //judge
    a=0;
    for(i=0;i<n;i++){
      if(d[i]>a) a=d[i];
    }

    //output
    printf("%d\n",a);

  }
  
  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	$4048, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
.L13:
	leaq	-4032(%rbp), %rdx
	leaq	-4036(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-4036(%rbp), %eax
	testl	%eax, %eax
	jne	.L2
	movl	-4032(%rbp), %eax
	testl	%eax, %eax
	je	.L17
.L2:
	movl	$0, -4024(%rbp)
	jmp	.L4
.L5:
	movl	-4024(%rbp), %eax
	cltq
	movl	$0, -4016(%rbp,%rax,4)
	addl	$1, -4024(%rbp)
.L4:
	movl	-4036(%rbp), %eax
	cmpl	%eax, -4024(%rbp)
	jl	.L5
	movl	$0, -4024(%rbp)
	jmp	.L6
.L9:
	movl	$0, -4020(%rbp)
	jmp	.L7
.L8:
	leaq	-4028(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-4020(%rbp), %eax
	cltq
	movl	-4016(%rbp,%rax,4), %edx
	movl	-4028(%rbp), %eax
	addl	%eax, %edx
	movl	-4020(%rbp), %eax
	cltq
	movl	%edx, -4016(%rbp,%rax,4)
	addl	$1, -4020(%rbp)
.L7:
	movl	-4036(%rbp), %eax
	cmpl	%eax, -4020(%rbp)
	jl	.L8
	addl	$1, -4024(%rbp)
.L6:
	movl	-4032(%rbp), %eax
	cmpl	%eax, -4024(%rbp)
	jl	.L9
	movl	$0, -4028(%rbp)
	movl	$0, -4024(%rbp)
	jmp	.L10
.L12:
	movl	-4024(%rbp), %eax
	cltq
	movl	-4016(%rbp,%rax,4), %edx
	movl	-4028(%rbp), %eax
	cmpl	%eax, %edx
	jle	.L11
	movl	-4024(%rbp), %eax
	cltq
	movl	-4016(%rbp,%rax,4), %eax
	movl	%eax, -4028(%rbp)
.L11:
	addl	$1, -4024(%rbp)
.L10:
	movl	-4036(%rbp), %eax
	cmpl	%eax, -4024(%rbp)
	jl	.L12
	movl	-4028(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	jmp	.L13
.L17:
	nop
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L15
	call	__stack_chk_fail@PLT
.L15:
	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	$4048, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
.L13:
	leaq	-4032(%rbp), %rdx
	leaq	-4036(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-4036(%rbp), %eax
	testl	%eax, %eax
	jne	.L2
	movl	-4032(%rbp), %eax
	testl	%eax, %eax
	je	.L17
.L2:
	movl	$0, -4024(%rbp)
	jmp	.L4
.L5:
	movl	-4024(%rbp), %eax
	cltq
	movl	$0, -4016(%rbp,%rax,4)
	addl	$1, -4024(%rbp)
.L4:
	movl	-4036(%rbp), %eax
	cmpl	%eax, -4024(%rbp)
	jl	.L5
	movl	$0, -4024(%rbp)
	jmp	.L6
.L9:
	movl	$0, -4020(%rbp)
	jmp	.L7
.L8:
	leaq	-4028(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-4020(%rbp), %eax
	cltq
	movl	-4016(%rbp,%rax,4), %edx
	movl	-4028(%rbp), %eax
	addl	%eax, %edx
	movl	-4020(%rbp), %eax
	cltq
	movl	%edx, -4016(%rbp,%rax,4)
	addl	$1, -4020(%rbp)
.L7:
	movl	-4036(%rbp), %eax
	cmpl	%eax, -4020(%rbp)
	jl	.L8
	addl	$1, -4024(%rbp)
.L6:
	movl	-4032(%rbp), %eax
	cmpl	%eax, -4024(%rbp)
	jl	.L9
	movl	$0, -4028(%rbp)
	movl	$0, -4024(%rbp)
	jmp	.L10
.L12:
	movl	-4024(%rbp), %eax
	cltq
	movl	-4016(%rbp,%rax,4), %edx
	movl	-4028(%rbp), %eax
	cmpl	%eax, %edx
	jle	.L11
	movl	-4024(%rbp), %eax
	cltq
	movl	-4016(%rbp,%rax,4), %eax
	movl	%eax, -4028(%rbp)
.L11:
	addl	$1, -4024(%rbp)
.L10:
	movl	-4036(%rbp), %eax
	cmpl	%eax, -4024(%rbp)
	jl	.L12
	movl	-4028(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	jmp	.L13
.L17:
	nop
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L15
	call	__stack_chk_fail@PLT
.L15:
	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:
