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 i, j, max, sum, N, A[2][100] = {{0}};
    scanf("%d", &N);
    for(i=0;i<N;i++)scanf("%d", &(A[0][i]));
    for(i=0;i<N;i++)scanf("%d", &(A[1][i]));
    max = 0;
    for(i=0;i<N;i++){
        sum = 0;
        for(j=0;j<N;j++){
            if(j<=i)sum+=A[0][j];
            if(i<=j)sum+=A[1][j];
        }
        if(sum > max)max = sum;
    }
    printf("%d\n", max);
    return 0;
}
```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.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	$848, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-816(%rbp), %rdx
	movl	$0, %eax
	movl	$100, %ecx
	movq	%rdx, %rdi
	rep stosq
	leaq	-836(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -832(%rbp)
	jmp	.L2
.L3:
	leaq	-816(%rbp), %rdx
	movl	-832(%rbp), %eax
	cltq
	salq	$2, %rax
	addq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -832(%rbp)
.L2:
	movl	-836(%rbp), %eax
	cmpl	%eax, -832(%rbp)
	jl	.L3
	movl	$0, -832(%rbp)
	jmp	.L4
.L5:
	leaq	-816(%rbp), %rdx
	movl	-832(%rbp), %eax
	cltq
	addq	$100, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -832(%rbp)
.L4:
	movl	-836(%rbp), %eax
	cmpl	%eax, -832(%rbp)
	jl	.L5
	movl	$0, -824(%rbp)
	movl	$0, -832(%rbp)
	jmp	.L6
.L12:
	movl	$0, -820(%rbp)
	movl	$0, -828(%rbp)
	jmp	.L7
.L10:
	movl	-828(%rbp), %eax
	cmpl	-832(%rbp), %eax
	jg	.L8
	movl	-828(%rbp), %eax
	cltq
	movl	-816(%rbp,%rax,4), %eax
	addl	%eax, -820(%rbp)
.L8:
	movl	-832(%rbp), %eax
	cmpl	-828(%rbp), %eax
	jg	.L9
	movl	-828(%rbp), %eax
	cltq
	addq	$100, %rax
	movl	-816(%rbp,%rax,4), %eax
	addl	%eax, -820(%rbp)
.L9:
	addl	$1, -828(%rbp)
.L7:
	movl	-836(%rbp), %eax
	cmpl	%eax, -828(%rbp)
	jl	.L10
	movl	-820(%rbp), %eax
	cmpl	-824(%rbp), %eax
	jle	.L11
	movl	-820(%rbp), %eax
	movl	%eax, -824(%rbp)
.L11:
	addl	$1, -832(%rbp)
.L6:
	movl	-836(%rbp), %eax
	cmpl	%eax, -832(%rbp)
	jl	.L12
	movl	-824(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	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"
.LC1:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	movl	$100, %ecx
	leaq	.LC0(%rip), %r14
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	subq	$832, %rsp
	.cfi_def_cfa_offset 880
	movq	%fs:40, %rax
	movq	%rax, 824(%rsp)
	xorl	%eax, %eax
	leaq	16(%rsp), %rbx
	leaq	12(%rsp), %rsi
	movq	%rbx, %rdi
	rep stosq
	movq	%r14, %rdi
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %eax
	testl	%eax, %eax
	jle	.L5
	movq	%rbx, %r12
	xorl	%ebp, %ebp
	.p2align 4,,10
	.p2align 3
.L3:
	movq	%r12, %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	addl	$1, %ebp
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %eax
	addq	$4, %r12
	cmpl	%ebp, %eax
	jg	.L3
	testl	%eax, %eax
	jle	.L5
	leaq	416(%rsp), %rbp
	xorl	%r12d, %r12d
	movq	%rbp, %r13
	.p2align 4,,10
	.p2align 3
.L4:
	movq	%r13, %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	addl	$1, %r12d
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %r8d
	addq	$4, %r13
	cmpl	%r12d, %r8d
	jg	.L4
	testl	%r8d, %r8d
	jle	.L5
	xorl	%r9d, %r9d
	xorl	%edi, %edi
	leal	-1(%r8), %r10d
	.p2align 4,,10
	.p2align 3
.L15:
	cmpl	%edi, %r10d
	movl	%edi, %r11d
	movq	%rbp, %rcx
	cmovle	%r10d, %r11d
	xorl	%eax, %eax
	xorl	%esi, %esi
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L18:
	movl	%edx, %esi
.L7:
	addl	-400(%rcx), %eax
	cmpl	%esi, %edi
	jle	.L28
.L6:
	leal	1(%rsi), %edx
	addq	$4, %rcx
	cmpl	%edx, %r11d
	jge	.L18
	cmpl	%edx, %r8d
	jle	.L12
	movl	%r8d, %r11d
	subl	%edx, %r11d
	leal	-1(%r11), %ecx
	cmpl	$2, %ecx
	jbe	.L9
	addl	$101, %esi
	movl	%r11d, %ecx
	pxor	%xmm0, %xmm0
	shrl	$2, %ecx
	movslq	%esi, %rsi
	leal	-1(%rcx), %r12d
	leaq	(%rbx,%rsi,4), %rsi
	salq	$4, %r12
	leaq	16(%rsi), %rcx
	addq	%rcx, %r12
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L29:
	addq	$16, %rcx
.L10:
	movdqu	(%rsi), %xmm1
	movq	%rcx, %rsi
	paddd	%xmm1, %xmm0
	cmpq	%rcx, %r12
	jne	.L29
	movdqa	%xmm0, %xmm1
	psrldq	$8, %xmm1
	paddd	%xmm1, %xmm0
	movdqa	%xmm0, %xmm1
	psrldq	$4, %xmm1
	paddd	%xmm1, %xmm0
	movd	%xmm0, %ecx
	addl	%ecx, %eax
	movl	%r11d, %ecx
	andl	$-4, %ecx
	addl	%ecx, %edx
	cmpl	%ecx, %r11d
	je	.L12
.L9:
	movslq	%edx, %rcx
	addl	416(%rsp,%rcx,4), %eax
	leal	1(%rdx), %ecx
	cmpl	%ecx, %r8d
	jle	.L12
	movslq	%ecx, %rcx
	addl	$2, %edx
	addl	416(%rsp,%rcx,4), %eax
	cmpl	%edx, %r8d
	jle	.L12
	movslq	%edx, %rdx
	addl	416(%rsp,%rdx,4), %eax
.L12:
	cmpl	%eax, %r9d
	cmovl	%eax, %r9d
	addl	$1, %edi
	cmpl	%edi, %r8d
	jne	.L15
.L16:
	xorl	%eax, %eax
	movl	%r9d, %edx
	movl	$1, %edi
	leaq	.LC1(%rip), %rsi
	call	__printf_chk@PLT
	movq	824(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L30
	addq	$832, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%rbp
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r13
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	ret
.L28:
	.cfi_restore_state
	addl	(%rcx), %eax
	jmp	.L6
.L5:
	xorl	%r9d, %r9d
	jmp	.L16
.L30:
	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\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	movl	$100, %ecx
	leaq	.LC0(%rip), %r14
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	subq	$832, %rsp
	.cfi_def_cfa_offset 880
	movq	%fs:40, %rax
	movq	%rax, 824(%rsp)
	xorl	%eax, %eax
	leaq	16(%rsp), %rbx
	leaq	12(%rsp), %rsi
	movq	%rbx, %rdi
	rep stosq
	movq	%r14, %rdi
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %eax
	testl	%eax, %eax
	jle	.L5
	movq	%rbx, %r12
	xorl	%ebp, %ebp
	.p2align 4,,10
	.p2align 3
.L3:
	movq	%r12, %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	addl	$1, %ebp
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %eax
	addq	$4, %r12
	cmpl	%ebp, %eax
	jg	.L3
	testl	%eax, %eax
	jle	.L5
	leaq	416(%rsp), %rbp
	xorl	%r12d, %r12d
	movq	%rbp, %r13
	.p2align 4,,10
	.p2align 3
.L4:
	movq	%r13, %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	addl	$1, %r12d
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %r8d
	addq	$4, %r13
	cmpl	%r12d, %r8d
	jg	.L4
	testl	%r8d, %r8d
	jle	.L5
	xorl	%r9d, %r9d
	xorl	%edi, %edi
	leal	-1(%r8), %r10d
	.p2align 4,,10
	.p2align 3
.L15:
	cmpl	%edi, %r10d
	movl	%edi, %r11d
	movq	%rbp, %rcx
	cmovle	%r10d, %r11d
	xorl	%eax, %eax
	xorl	%esi, %esi
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L18:
	movl	%edx, %esi
.L7:
	addl	-400(%rcx), %eax
	cmpl	%esi, %edi
	jle	.L28
.L6:
	leal	1(%rsi), %edx
	addq	$4, %rcx
	cmpl	%edx, %r11d
	jge	.L18
	cmpl	%edx, %r8d
	jle	.L12
	movl	%r8d, %r11d
	subl	%edx, %r11d
	leal	-1(%r11), %ecx
	cmpl	$2, %ecx
	jbe	.L9
	addl	$101, %esi
	movl	%r11d, %ecx
	pxor	%xmm0, %xmm0
	shrl	$2, %ecx
	movslq	%esi, %rsi
	leal	-1(%rcx), %r12d
	leaq	(%rbx,%rsi,4), %rsi
	salq	$4, %r12
	leaq	16(%rsi), %rcx
	addq	%rcx, %r12
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L29:
	addq	$16, %rcx
.L10:
	movdqu	(%rsi), %xmm1
	movq	%rcx, %rsi
	paddd	%xmm1, %xmm0
	cmpq	%rcx, %r12
	jne	.L29
	movdqa	%xmm0, %xmm1
	psrldq	$8, %xmm1
	paddd	%xmm1, %xmm0
	movdqa	%xmm0, %xmm1
	psrldq	$4, %xmm1
	paddd	%xmm1, %xmm0
	movd	%xmm0, %ecx
	addl	%ecx, %eax
	movl	%r11d, %ecx
	andl	$-4, %ecx
	addl	%ecx, %edx
	cmpl	%ecx, %r11d
	je	.L12
.L9:
	movslq	%edx, %rcx
	addl	416(%rsp,%rcx,4), %eax
	leal	1(%rdx), %ecx
	cmpl	%ecx, %r8d
	jle	.L12
	movslq	%ecx, %rcx
	addl	$2, %edx
	addl	416(%rsp,%rcx,4), %eax
	cmpl	%edx, %r8d
	jle	.L12
	movslq	%edx, %rdx
	addl	416(%rsp,%rdx,4), %eax
.L12:
	cmpl	%eax, %r9d
	cmovl	%eax, %r9d
	addl	$1, %edi
	cmpl	%edi, %r8d
	jne	.L15
.L16:
	xorl	%eax, %eax
	movl	%r9d, %edx
	movl	$1, %edi
	leaq	.LC1(%rip), %rsi
	call	__printf_chk@PLT
	movq	824(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L30
	addq	$832, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%rbp
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r13
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	ret
.L28:
	.cfi_restore_state
	addl	(%rcx), %eax
	jmp	.L6
.L5:
	xorl	%r9d, %r9d
	jmp	.L16
.L30:
	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 i, j, max, sum, N, A[2][100] = {{0}};
    scanf("%d", &N);
    for(i=0;i<N;i++)scanf("%d", &(A[0][i]));
    for(i=0;i<N;i++)scanf("%d", &(A[1][i]));
    max = 0;
    for(i=0;i<N;i++){
        sum = 0;
        for(j=0;j<N;j++){
            if(j<=i)sum+=A[0][j];
            if(i<=j)sum+=A[1][j];
        }
        if(sum > max)max = sum;
    }
    printf("%d\n", max);
    return 0;
}

5
3 2 2 4 1
1 2 2 2 1

14

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 i, j, max, sum, N, A[2][100] = {{0}};
    scanf("%d", &N);
    for(i=0;i<N;i++)scanf("%d", &(A[0][i]));
    for(i=0;i<N;i++)scanf("%d", &(A[1][i]));
    max = 0;
    for(i=0;i<N;i++){
        sum = 0;
        for(j=0;j<N;j++){
            if(j<=i)sum+=A[0][j];
            if(i<=j)sum+=A[1][j];
        }
        if(sum > max)max = sum;
    }
    printf("%d\n", max);
    return 0;
}
```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.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	$848, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-816(%rbp), %rdx
	movl	$0, %eax
	movl	$100, %ecx
	movq	%rdx, %rdi
	rep stosq
	leaq	-836(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -832(%rbp)
	jmp	.L2
.L3:
	leaq	-816(%rbp), %rdx
	movl	-832(%rbp), %eax
	cltq
	salq	$2, %rax
	addq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -832(%rbp)
.L2:
	movl	-836(%rbp), %eax
	cmpl	%eax, -832(%rbp)
	jl	.L3
	movl	$0, -832(%rbp)
	jmp	.L4
.L5:
	leaq	-816(%rbp), %rdx
	movl	-832(%rbp), %eax
	cltq
	addq	$100, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -832(%rbp)
.L4:
	movl	-836(%rbp), %eax
	cmpl	%eax, -832(%rbp)
	jl	.L5
	movl	$0, -824(%rbp)
	movl	$0, -832(%rbp)
	jmp	.L6
.L12:
	movl	$0, -820(%rbp)
	movl	$0, -828(%rbp)
	jmp	.L7
.L10:
	movl	-828(%rbp), %eax
	cmpl	-832(%rbp), %eax
	jg	.L8
	movl	-828(%rbp), %eax
	cltq
	movl	-816(%rbp,%rax,4), %eax
	addl	%eax, -820(%rbp)
.L8:
	movl	-832(%rbp), %eax
	cmpl	-828(%rbp), %eax
	jg	.L9
	movl	-828(%rbp), %eax
	cltq
	addq	$100, %rax
	movl	-816(%rbp,%rax,4), %eax
	addl	%eax, -820(%rbp)
.L9:
	addl	$1, -828(%rbp)
.L7:
	movl	-836(%rbp), %eax
	cmpl	%eax, -828(%rbp)
	jl	.L10
	movl	-820(%rbp), %eax
	cmpl	-824(%rbp), %eax
	jle	.L11
	movl	-820(%rbp), %eax
	movl	%eax, -824(%rbp)
.L11:
	addl	$1, -832(%rbp)
.L6:
	movl	-836(%rbp), %eax
	cmpl	%eax, -832(%rbp)
	jl	.L12
	movl	-824(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	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"
.LC1:
	.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	$848, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-816(%rbp), %rdx
	movl	$0, %eax
	movl	$100, %ecx
	movq	%rdx, %rdi
	rep stosq
	leaq	-836(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -832(%rbp)
	jmp	.L2
.L3:
	leaq	-816(%rbp), %rdx
	movl	-832(%rbp), %eax
	cltq
	salq	$2, %rax
	addq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -832(%rbp)
.L2:
	movl	-836(%rbp), %eax
	cmpl	%eax, -832(%rbp)
	jl	.L3
	movl	$0, -832(%rbp)
	jmp	.L4
.L5:
	leaq	-816(%rbp), %rdx
	movl	-832(%rbp), %eax
	cltq
	addq	$100, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -832(%rbp)
.L4:
	movl	-836(%rbp), %eax
	cmpl	%eax, -832(%rbp)
	jl	.L5
	movl	$0, -824(%rbp)
	movl	$0, -832(%rbp)
	jmp	.L6
.L12:
	movl	$0, -820(%rbp)
	movl	$0, -828(%rbp)
	jmp	.L7
.L10:
	movl	-828(%rbp), %eax
	cmpl	-832(%rbp), %eax
	jg	.L8
	movl	-828(%rbp), %eax
	cltq
	movl	-816(%rbp,%rax,4), %eax
	addl	%eax, -820(%rbp)
.L8:
	movl	-832(%rbp), %eax
	cmpl	-828(%rbp), %eax
	jg	.L9
	movl	-828(%rbp), %eax
	cltq
	addq	$100, %rax
	movl	-816(%rbp,%rax,4), %eax
	addl	%eax, -820(%rbp)
.L9:
	addl	$1, -828(%rbp)
.L7:
	movl	-836(%rbp), %eax
	cmpl	%eax, -828(%rbp)
	jl	.L10
	movl	-820(%rbp), %eax
	cmpl	-824(%rbp), %eax
	jle	.L11
	movl	-820(%rbp), %eax
	movl	%eax, -824(%rbp)
.L11:
	addl	$1, -832(%rbp)
.L6:
	movl	-836(%rbp), %eax
	cmpl	%eax, -832(%rbp)
	jl	.L12
	movl	-824(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	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:
