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, N, K;
	long long a[100001];
	scanf("%d %d", &N, &K);
	for (i = 1; i <= N; i++) scanf("%lld", &(a[i]));
	
	long long sum[2][100001], max = 0, tmp;
	for (i = 1, sum[0][0] = 0, sum[1][0] = 0; i <= N; i++) {
		sum[0][i] = sum[0][i-1] + a[i];
		sum[1][i] = sum[1][i-1] + ((a[i] > 0)? a[i]: 0);
	}
	for (i = 1; i <= N - K + 1; i++) {
		tmp = (sum[0][i+K-1] > sum[0][i-1])? sum[0][i+K-1] - sum[0][i-1]: 0;
		if (sum[1][i-1] + sum[1][N] - sum[1][i+K-1] + tmp > max) max = sum[1][i-1] + sum[1][N] - sum[1][i+K-1] + tmp;
	}
	
	printf("%lld\n", max);
	fflush(stdout);
	return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d %d"
.LC1:
	.string	"%lld"
.LC2:
	.string	"%lld\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
	leaq	-2396160(%rsp), %r11
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	subq	$3920, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-2400072(%rbp), %rdx
	leaq	-2400076(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$1, -2400068(%rbp)
	jmp	.L2
.L3:
	leaq	-2400048(%rbp), %rdx
	movl	-2400068(%rbp), %eax
	cltq
	salq	$3, %rax
	addq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -2400068(%rbp)
.L2:
	movl	-2400076(%rbp), %eax
	cmpl	%eax, -2400068(%rbp)
	jle	.L3
	movq	$0, -2400064(%rbp)
	movl	$1, -2400068(%rbp)
	movq	$0, -1600032(%rbp)
	movq	$0, -800024(%rbp)
	jmp	.L4
.L5:
	movl	-2400068(%rbp), %eax
	subl	$1, %eax
	cltq
	movq	-1600032(%rbp,%rax,8), %rdx
	movl	-2400068(%rbp), %eax
	cltq
	movq	-2400048(%rbp,%rax,8), %rax
	addq	%rax, %rdx
	movl	-2400068(%rbp), %eax
	cltq
	movq	%rdx, -1600032(%rbp,%rax,8)
	movl	-2400068(%rbp), %eax
	subl	$1, %eax
	cltq
	addq	$100001, %rax
	movq	-1600032(%rbp,%rax,8), %rdx
	movl	-2400068(%rbp), %eax
	cltq
	movq	-2400048(%rbp,%rax,8), %rax
	movl	$0, %ecx
	testq	%rax, %rax
	cmovs	%rcx, %rax
	addq	%rax, %rdx
	movl	-2400068(%rbp), %eax
	cltq
	addq	$100001, %rax
	movq	%rdx, -1600032(%rbp,%rax,8)
	addl	$1, -2400068(%rbp)
.L4:
	movl	-2400076(%rbp), %eax
	cmpl	%eax, -2400068(%rbp)
	jle	.L5
	movl	$1, -2400068(%rbp)
	jmp	.L6
.L10:
	movl	-2400072(%rbp), %edx
	movl	-2400068(%rbp), %eax
	addl	%edx, %eax
	subl	$1, %eax
	cltq
	movq	-1600032(%rbp,%rax,8), %rdx
	movl	-2400068(%rbp), %eax
	subl	$1, %eax
	cltq
	movq	-1600032(%rbp,%rax,8), %rax
	cmpq	%rax, %rdx
	jle	.L7
	movl	-2400072(%rbp), %edx
	movl	-2400068(%rbp), %eax
	addl	%edx, %eax
	subl	$1, %eax
	cltq
	movq	-1600032(%rbp,%rax,8), %rdx
	movl	-2400068(%rbp), %eax
	subl	$1, %eax
	cltq
	movq	-1600032(%rbp,%rax,8), %rcx
	movq	%rdx, %rax
	subq	%rcx, %rax
	jmp	.L8
.L7:
	movl	$0, %eax
.L8:
	movq	%rax, -2400056(%rbp)
	movl	-2400068(%rbp), %eax
	subl	$1, %eax
	cltq
	addq	$100001, %rax
	movq	-1600032(%rbp,%rax,8), %rdx
	movl	-2400076(%rbp), %eax
	cltq
	addq	$100001, %rax
	movq	-1600032(%rbp,%rax,8), %rax
	addq	%rax, %rdx
	movl	-2400072(%rbp), %ecx
	movl	-2400068(%rbp), %eax
	addl	%ecx, %eax
	subl	$1, %eax
	cltq
	addq	$100001, %rax
	movq	-1600032(%rbp,%rax,8), %rax
	subq	%rax, %rdx
	movq	-2400056(%rbp), %rax
	addq	%rdx, %rax
	cmpq	%rax, -2400064(%rbp)
	jge	.L9
	movl	-2400068(%rbp), %eax
	subl	$1, %eax
	cltq
	addq	$100001, %rax
	movq	-1600032(%rbp,%rax,8), %rdx
	movl	-2400076(%rbp), %eax
	cltq
	addq	$100001, %rax
	movq	-1600032(%rbp,%rax,8), %rax
	addq	%rax, %rdx
	movl	-2400072(%rbp), %ecx
	movl	-2400068(%rbp), %eax
	addl	%ecx, %eax
	subl	$1, %eax
	cltq
	addq	$100001, %rax
	movq	-1600032(%rbp,%rax,8), %rax
	subq	%rax, %rdx
	movq	-2400056(%rbp), %rax
	addq	%rdx, %rax
	movq	%rax, -2400064(%rbp)
.L9:
	addl	$1, -2400068(%rbp)
.L6:
	movl	-2400076(%rbp), %eax
	movl	-2400072(%rbp), %edx
	subl	%edx, %eax
	addl	$1, %eax
	cmpl	%eax, -2400068(%rbp)
	jle	.L10
	movq	-2400064(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movq	stdout(%rip), %rax
	movq	%rax, %rdi
	call	fflush@PLT
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L12
	call	__stack_chk_fail@PLT
.L12:
	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	"%lld"
.LC2:
	.string	"%lld\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.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
	leaq	-2396160(%rsp), %r11
	.cfi_def_cfa 11, 2396200
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$3912, %rsp
	.cfi_def_cfa_offset 2400112
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 2400056(%rsp)
	xorl	%eax, %eax
	leaq	12(%rsp), %rdx
	leaq	8(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movslq	8(%rsp), %rdi
	testl	%edi, %edi
	jle	.L2
	leaq	24(%rsp), %rbx
	movl	$1, %ebp
	leaq	.LC1(%rip), %r13
	movq	%rbx, %r12
	.p2align 4,,10
	.p2align 3
.L3:
	movq	%r12, %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	addl	$1, %ebp
	call	__isoc99_scanf@PLT
	movslq	8(%rsp), %rdi
	addq	$8, %r12
	cmpl	%ebp, %edi
	jge	.L3
	movq	$0, 800032(%rsp)
	movq	$0, 1600040(%rsp)
	testl	%edi, %edi
	jle	.L4
	leal	-1(%rdi), %eax
	leaq	1600048(%rsp), %rdx
	xorl	%esi, %esi
	xorl	%ecx, %ecx
	leaq	32(%rsp,%rax,8), %r9
	.p2align 4,,10
	.p2align 3
.L5:
	movq	(%rbx), %rax
	xorl	%r8d, %r8d
	addq	%rax, %rsi
	testq	%rax, %rax
	cmovs	%r8, %rax
	addq	$8, %rbx
	movq	%rsi, -800008(%rdx)
	addq	$8, %rdx
	addq	%rax, %rcx
	movq	%rcx, -8(%rdx)
	cmpq	%r9, %rbx
	jne	.L5
.L4:
	movl	12(%rsp), %eax
	movl	%edi, %ecx
	subl	%eax, %ecx
	js	.L11
	movslq	%eax, %rdx
	movl	%ecx, %ecx
	movq	1600040(%rsp,%rdi,8), %r10
	xorl	%r8d, %r8d
	leaq	0(,%rdx,8), %rdi
	addq	%rdx, %rcx
	leaq	800032(%rsp,%rdi), %rax
	leaq	800040(%rsp,%rcx,8), %r9
	negq	%rdi
	.p2align 4,,10
	.p2align 3
.L9:
	movq	800008(%rax,%rdi), %rdx
	movq	(%rax), %rcx
	movq	(%rax,%rdi), %rsi
	addq	%r10, %rdx
	subq	800008(%rax), %rdx
	cmpq	%rcx, %rsi
	jge	.L7
	subq	%rsi, %rcx
	addq	%rcx, %rdx
	cmpq	%rdx, %r8
	cmovl	%rdx, %r8
	addq	$8, %rax
	cmpq	%rax, %r9
	jne	.L9
.L6:
	movl	$1, %edi
	xorl	%eax, %eax
	movq	%r8, %rdx
	leaq	.LC2(%rip), %rsi
	call	__printf_chk@PLT
	movq	stdout(%rip), %rdi
	call	fflush@PLT
	movq	2400056(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L17
	addq	$2400072, %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
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	cmpq	%rdx, %r8
	cmovl	%rdx, %r8
	addq	$8, %rax
	cmpq	%r9, %rax
	jne	.L9
	jmp	.L6
.L2:
	movq	$0, 800032(%rsp)
	movq	$0, 1600040(%rsp)
	jmp	.L4
.L11:
	xorl	%r8d, %r8d
	jmp	.L6
.L17:
	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	"%lld"
.LC2:
	.string	"%lld\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.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
	leaq	-2396160(%rsp), %r11
	.cfi_def_cfa 11, 2396200
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$3912, %rsp
	.cfi_def_cfa_offset 2400112
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 2400056(%rsp)
	xorl	%eax, %eax
	leaq	12(%rsp), %rdx
	leaq	8(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movslq	8(%rsp), %rdi
	testl	%edi, %edi
	jle	.L2
	leaq	24(%rsp), %rbx
	movl	$1, %ebp
	leaq	.LC1(%rip), %r13
	movq	%rbx, %r12
	.p2align 4,,10
	.p2align 3
.L3:
	movq	%r12, %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	addl	$1, %ebp
	call	__isoc99_scanf@PLT
	movslq	8(%rsp), %rdi
	addq	$8, %r12
	cmpl	%ebp, %edi
	jge	.L3
	movq	$0, 800032(%rsp)
	movq	$0, 1600040(%rsp)
	testl	%edi, %edi
	jle	.L4
	leal	-1(%rdi), %eax
	leaq	1600048(%rsp), %rdx
	xorl	%esi, %esi
	xorl	%ecx, %ecx
	leaq	32(%rsp,%rax,8), %r9
	.p2align 4,,10
	.p2align 3
.L5:
	movq	(%rbx), %rax
	xorl	%r8d, %r8d
	addq	%rax, %rsi
	testq	%rax, %rax
	cmovs	%r8, %rax
	addq	$8, %rbx
	movq	%rsi, -800008(%rdx)
	addq	$8, %rdx
	addq	%rax, %rcx
	movq	%rcx, -8(%rdx)
	cmpq	%r9, %rbx
	jne	.L5
.L4:
	movl	12(%rsp), %eax
	movl	%edi, %ecx
	subl	%eax, %ecx
	js	.L11
	movslq	%eax, %rdx
	movl	%ecx, %ecx
	movq	1600040(%rsp,%rdi,8), %r10
	xorl	%r8d, %r8d
	leaq	0(,%rdx,8), %rdi
	addq	%rdx, %rcx
	leaq	800032(%rsp,%rdi), %rax
	leaq	800040(%rsp,%rcx,8), %r9
	negq	%rdi
	.p2align 4,,10
	.p2align 3
.L9:
	movq	800008(%rax,%rdi), %rdx
	movq	(%rax), %rcx
	movq	(%rax,%rdi), %rsi
	addq	%r10, %rdx
	subq	800008(%rax), %rdx
	cmpq	%rcx, %rsi
	jge	.L7
	subq	%rsi, %rcx
	addq	%rcx, %rdx
	cmpq	%rdx, %r8
	cmovl	%rdx, %r8
	addq	$8, %rax
	cmpq	%rax, %r9
	jne	.L9
.L6:
	movl	$1, %edi
	xorl	%eax, %eax
	movq	%r8, %rdx
	leaq	.LC2(%rip), %rsi
	call	__printf_chk@PLT
	movq	stdout(%rip), %rdi
	call	fflush@PLT
	movq	2400056(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L17
	addq	$2400072, %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
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	cmpq	%rdx, %r8
	cmovl	%rdx, %r8
	addq	$8, %rax
	cmpq	%r9, %rax
	jne	.L9
	jmp	.L6
.L2:
	movq	$0, 800032(%rsp)
	movq	$0, 1600040(%rsp)
	jmp	.L4
.L11:
	xorl	%r8d, %r8d
	jmp	.L6
.L17:
	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, N, K;
	long long a[100001];
	scanf("%d %d", &N, &K);
	for (i = 1; i <= N; i++) scanf("%lld", &(a[i]));
	
	long long sum[2][100001], max = 0, tmp;
	for (i = 1, sum[0][0] = 0, sum[1][0] = 0; i <= N; i++) {
		sum[0][i] = sum[0][i-1] + a[i];
		sum[1][i] = sum[1][i-1] + ((a[i] > 0)? a[i]: 0);
	}
	for (i = 1; i <= N - K + 1; i++) {
		tmp = (sum[0][i+K-1] > sum[0][i-1])? sum[0][i+K-1] - sum[0][i-1]: 0;
		if (sum[1][i-1] + sum[1][N] - sum[1][i+K-1] + tmp > max) max = sum[1][i-1] + sum[1][N] - sum[1][i+K-1] + tmp;
	}
	
	printf("%lld\n", max);
	fflush(stdout);
	return 0;
}
1 1
-16
 5 3
-10 10 -18 10 -10
 4 2
7 -10 -10 10
 4 2
7 -6 -10 12
 4 2
7 -6 -10 20
 4 2
9 -1 -10 20
 4 2
13 -1 -10 20
 4 2
3 -1 -10 20
 4 3
3 -1 -10 20
 4 3
3 -1 -1 20

0
 10
 17
 19
 27
 29
 33
 23
 20
 21

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, N, K;
	long long a[100001];
	scanf("%d %d", &N, &K);
	for (i = 1; i <= N; i++) scanf("%lld", &(a[i]));
	
	long long sum[2][100001], max = 0, tmp;
	for (i = 1, sum[0][0] = 0, sum[1][0] = 0; i <= N; i++) {
		sum[0][i] = sum[0][i-1] + a[i];
		sum[1][i] = sum[1][i-1] + ((a[i] > 0)? a[i]: 0);
	}
	for (i = 1; i <= N - K + 1; i++) {
		tmp = (sum[0][i+K-1] > sum[0][i-1])? sum[0][i+K-1] - sum[0][i-1]: 0;
		if (sum[1][i-1] + sum[1][N] - sum[1][i+K-1] + tmp > max) max = sum[1][i-1] + sum[1][N] - sum[1][i+K-1] + tmp;
	}
	
	printf("%lld\n", max);
	fflush(stdout);
	return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d %d"
.LC1:
	.string	"%lld"
.LC2:
	.string	"%lld\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
	leaq	-2396160(%rsp), %r11
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	subq	$3920, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-2400072(%rbp), %rdx
	leaq	-2400076(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$1, -2400068(%rbp)
	jmp	.L2
.L3:
	leaq	-2400048(%rbp), %rdx
	movl	-2400068(%rbp), %eax
	cltq
	salq	$3, %rax
	addq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -2400068(%rbp)
.L2:
	movl	-2400076(%rbp), %eax
	cmpl	%eax, -2400068(%rbp)
	jle	.L3
	movq	$0, -2400064(%rbp)
	movl	$1, -2400068(%rbp)
	movq	$0, -1600032(%rbp)
	movq	$0, -800024(%rbp)
	jmp	.L4
.L5:
	movl	-2400068(%rbp), %eax
	subl	$1, %eax
	cltq
	movq	-1600032(%rbp,%rax,8), %rdx
	movl	-2400068(%rbp), %eax
	cltq
	movq	-2400048(%rbp,%rax,8), %rax
	addq	%rax, %rdx
	movl	-2400068(%rbp), %eax
	cltq
	movq	%rdx, -1600032(%rbp,%rax,8)
	movl	-2400068(%rbp), %eax
	subl	$1, %eax
	cltq
	addq	$100001, %rax
	movq	-1600032(%rbp,%rax,8), %rdx
	movl	-2400068(%rbp), %eax
	cltq
	movq	-2400048(%rbp,%rax,8), %rax
	movl	$0, %ecx
	testq	%rax, %rax
	cmovs	%rcx, %rax
	addq	%rax, %rdx
	movl	-2400068(%rbp), %eax
	cltq
	addq	$100001, %rax
	movq	%rdx, -1600032(%rbp,%rax,8)
	addl	$1, -2400068(%rbp)
.L4:
	movl	-2400076(%rbp), %eax
	cmpl	%eax, -2400068(%rbp)
	jle	.L5
	movl	$1, -2400068(%rbp)
	jmp	.L6
.L10:
	movl	-2400072(%rbp), %edx
	movl	-2400068(%rbp), %eax
	addl	%edx, %eax
	subl	$1, %eax
	cltq
	movq	-1600032(%rbp,%rax,8), %rdx
	movl	-2400068(%rbp), %eax
	subl	$1, %eax
	cltq
	movq	-1600032(%rbp,%rax,8), %rax
	cmpq	%rax, %rdx
	jle	.L7
	movl	-2400072(%rbp), %edx
	movl	-2400068(%rbp), %eax
	addl	%edx, %eax
	subl	$1, %eax
	cltq
	movq	-1600032(%rbp,%rax,8), %rdx
	movl	-2400068(%rbp), %eax
	subl	$1, %eax
	cltq
	movq	-1600032(%rbp,%rax,8), %rcx
	movq	%rdx, %rax
	subq	%rcx, %rax
	jmp	.L8
.L7:
	movl	$0, %eax
.L8:
	movq	%rax, -2400056(%rbp)
	movl	-2400068(%rbp), %eax
	subl	$1, %eax
	cltq
	addq	$100001, %rax
	movq	-1600032(%rbp,%rax,8), %rdx
	movl	-2400076(%rbp), %eax
	cltq
	addq	$100001, %rax
	movq	-1600032(%rbp,%rax,8), %rax
	addq	%rax, %rdx
	movl	-2400072(%rbp), %ecx
	movl	-2400068(%rbp), %eax
	addl	%ecx, %eax
	subl	$1, %eax
	cltq
	addq	$100001, %rax
	movq	-1600032(%rbp,%rax,8), %rax
	subq	%rax, %rdx
	movq	-2400056(%rbp), %rax
	addq	%rdx, %rax
	cmpq	%rax, -2400064(%rbp)
	jge	.L9
	movl	-2400068(%rbp), %eax
	subl	$1, %eax
	cltq
	addq	$100001, %rax
	movq	-1600032(%rbp,%rax,8), %rdx
	movl	-2400076(%rbp), %eax
	cltq
	addq	$100001, %rax
	movq	-1600032(%rbp,%rax,8), %rax
	addq	%rax, %rdx
	movl	-2400072(%rbp), %ecx
	movl	-2400068(%rbp), %eax
	addl	%ecx, %eax
	subl	$1, %eax
	cltq
	addq	$100001, %rax
	movq	-1600032(%rbp,%rax,8), %rax
	subq	%rax, %rdx
	movq	-2400056(%rbp), %rax
	addq	%rdx, %rax
	movq	%rax, -2400064(%rbp)
.L9:
	addl	$1, -2400068(%rbp)
.L6:
	movl	-2400076(%rbp), %eax
	movl	-2400072(%rbp), %edx
	subl	%edx, %eax
	addl	$1, %eax
	cmpl	%eax, -2400068(%rbp)
	jle	.L10
	movq	-2400064(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movq	stdout(%rip), %rax
	movq	%rax, %rdi
	call	fflush@PLT
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L12
	call	__stack_chk_fail@PLT
.L12:
	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	"%lld"
.LC2:
	.string	"%lld\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
	leaq	-2396160(%rsp), %r11
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	subq	$3920, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-2400072(%rbp), %rdx
	leaq	-2400076(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$1, -2400068(%rbp)
	jmp	.L2
.L3:
	leaq	-2400048(%rbp), %rdx
	movl	-2400068(%rbp), %eax
	cltq
	salq	$3, %rax
	addq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -2400068(%rbp)
.L2:
	movl	-2400076(%rbp), %eax
	cmpl	%eax, -2400068(%rbp)
	jle	.L3
	movq	$0, -2400064(%rbp)
	movl	$1, -2400068(%rbp)
	movq	$0, -1600032(%rbp)
	movq	$0, -800024(%rbp)
	jmp	.L4
.L5:
	movl	-2400068(%rbp), %eax
	subl	$1, %eax
	cltq
	movq	-1600032(%rbp,%rax,8), %rdx
	movl	-2400068(%rbp), %eax
	cltq
	movq	-2400048(%rbp,%rax,8), %rax
	addq	%rax, %rdx
	movl	-2400068(%rbp), %eax
	cltq
	movq	%rdx, -1600032(%rbp,%rax,8)
	movl	-2400068(%rbp), %eax
	subl	$1, %eax
	cltq
	addq	$100001, %rax
	movq	-1600032(%rbp,%rax,8), %rdx
	movl	-2400068(%rbp), %eax
	cltq
	movq	-2400048(%rbp,%rax,8), %rax
	movl	$0, %ecx
	testq	%rax, %rax
	cmovs	%rcx, %rax
	addq	%rax, %rdx
	movl	-2400068(%rbp), %eax
	cltq
	addq	$100001, %rax
	movq	%rdx, -1600032(%rbp,%rax,8)
	addl	$1, -2400068(%rbp)
.L4:
	movl	-2400076(%rbp), %eax
	cmpl	%eax, -2400068(%rbp)
	jle	.L5
	movl	$1, -2400068(%rbp)
	jmp	.L6
.L10:
	movl	-2400072(%rbp), %edx
	movl	-2400068(%rbp), %eax
	addl	%edx, %eax
	subl	$1, %eax
	cltq
	movq	-1600032(%rbp,%rax,8), %rdx
	movl	-2400068(%rbp), %eax
	subl	$1, %eax
	cltq
	movq	-1600032(%rbp,%rax,8), %rax
	cmpq	%rax, %rdx
	jle	.L7
	movl	-2400072(%rbp), %edx
	movl	-2400068(%rbp), %eax
	addl	%edx, %eax
	subl	$1, %eax
	cltq
	movq	-1600032(%rbp,%rax,8), %rdx
	movl	-2400068(%rbp), %eax
	subl	$1, %eax
	cltq
	movq	-1600032(%rbp,%rax,8), %rcx
	movq	%rdx, %rax
	subq	%rcx, %rax
	jmp	.L8
.L7:
	movl	$0, %eax
.L8:
	movq	%rax, -2400056(%rbp)
	movl	-2400068(%rbp), %eax
	subl	$1, %eax
	cltq
	addq	$100001, %rax
	movq	-1600032(%rbp,%rax,8), %rdx
	movl	-2400076(%rbp), %eax
	cltq
	addq	$100001, %rax
	movq	-1600032(%rbp,%rax,8), %rax
	addq	%rax, %rdx
	movl	-2400072(%rbp), %ecx
	movl	-2400068(%rbp), %eax
	addl	%ecx, %eax
	subl	$1, %eax
	cltq
	addq	$100001, %rax
	movq	-1600032(%rbp,%rax,8), %rax
	subq	%rax, %rdx
	movq	-2400056(%rbp), %rax
	addq	%rdx, %rax
	cmpq	%rax, -2400064(%rbp)
	jge	.L9
	movl	-2400068(%rbp), %eax
	subl	$1, %eax
	cltq
	addq	$100001, %rax
	movq	-1600032(%rbp,%rax,8), %rdx
	movl	-2400076(%rbp), %eax
	cltq
	addq	$100001, %rax
	movq	-1600032(%rbp,%rax,8), %rax
	addq	%rax, %rdx
	movl	-2400072(%rbp), %ecx
	movl	-2400068(%rbp), %eax
	addl	%ecx, %eax
	subl	$1, %eax
	cltq
	addq	$100001, %rax
	movq	-1600032(%rbp,%rax,8), %rax
	subq	%rax, %rdx
	movq	-2400056(%rbp), %rax
	addq	%rdx, %rax
	movq	%rax, -2400064(%rbp)
.L9:
	addl	$1, -2400068(%rbp)
.L6:
	movl	-2400076(%rbp), %eax
	movl	-2400072(%rbp), %edx
	subl	%edx, %eax
	addl	$1, %eax
	cmpl	%eax, -2400068(%rbp)
	jle	.L10
	movq	-2400064(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movq	stdout(%rip), %rax
	movq	%rax, %rdi
	call	fflush@PLT
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L12
	call	__stack_chk_fail@PLT
.L12:
	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:
