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()
{
	long long int k;
	scanf("%lld", &k);
	long long int i;
	long long int a[100005];
	for (i = 0; i < k; i++)
		scanf("%lld", &a[i]);
	if (a[k - 1] != 2)
	{
		printf("-1\n");
		return 0;
	}
	long long int max, min;
	max = min = 2;
	for (i = k - 1; i >= 0; i--)
	{
		if (max < a[i])
		{
			printf("-1\n");
			return 0;
		}
		min = a[i] * ((min + a[i] - 1) / a[i]);
		if (min - (min % a[i]) > max)
		{
			printf("-1\n");
			return 0;
		}
		max = a[i] * (max / a[i]) + a[i] - 1;
	}
	printf("%lld %lld", min, max);
	return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%lld"
.LC1:
	.string	"-1"
.LC2:
	.string	"%lld %lld"
	.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	-798720(%rsp), %r11
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	subq	$1360, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-800080(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movq	$0, -800072(%rbp)
	jmp	.L2
.L3:
	leaq	-800048(%rbp), %rdx
	movq	-800072(%rbp), %rax
	salq	$3, %rax
	addq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addq	$1, -800072(%rbp)
.L2:
	movq	-800080(%rbp), %rax
	cmpq	%rax, -800072(%rbp)
	jl	.L3
	movq	-800080(%rbp), %rax
	subq	$1, %rax
	movq	-800048(%rbp,%rax,8), %rax
	cmpq	$2, %rax
	je	.L4
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	movl	$0, %eax
	jmp	.L10
.L4:
	movq	$2, -800056(%rbp)
	movq	-800056(%rbp), %rax
	movq	%rax, -800064(%rbp)
	movq	-800080(%rbp), %rax
	subq	$1, %rax
	movq	%rax, -800072(%rbp)
	jmp	.L6
.L9:
	movq	-800072(%rbp), %rax
	movq	-800048(%rbp,%rax,8), %rax
	cmpq	%rax, -800064(%rbp)
	jge	.L7
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	movl	$0, %eax
	jmp	.L10
.L7:
	movq	-800072(%rbp), %rax
	movq	-800048(%rbp,%rax,8), %rcx
	movq	-800072(%rbp), %rax
	movq	-800048(%rbp,%rax,8), %rdx
	movq	-800056(%rbp), %rax
	addq	%rdx, %rax
	leaq	-1(%rax), %rsi
	movq	-800072(%rbp), %rax
	movq	-800048(%rbp,%rax,8), %rdi
	movq	%rsi, %rax
	cqto
	idivq	%rdi
	imulq	%rcx, %rax
	movq	%rax, -800056(%rbp)
	movq	-800072(%rbp), %rax
	movq	-800048(%rbp,%rax,8), %rcx
	movq	-800056(%rbp), %rax
	cqto
	idivq	%rcx
	movq	-800056(%rbp), %rax
	subq	%rdx, %rax
	cmpq	%rax, -800064(%rbp)
	jge	.L8
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	movl	$0, %eax
	jmp	.L10
.L8:
	movq	-800072(%rbp), %rax
	movq	-800048(%rbp,%rax,8), %rcx
	movq	-800072(%rbp), %rax
	movq	-800048(%rbp,%rax,8), %rsi
	movq	-800064(%rbp), %rax
	cqto
	idivq	%rsi
	imulq	%rax, %rcx
	movq	%rcx, %rdx
	movq	-800072(%rbp), %rax
	movq	-800048(%rbp,%rax,8), %rax
	addq	%rdx, %rax
	subq	$1, %rax
	movq	%rax, -800064(%rbp)
	subq	$1, -800072(%rbp)
.L6:
	cmpq	$0, -800072(%rbp)
	jns	.L9
	movq	-800064(%rbp), %rdx
	movq	-800056(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
.L10:
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L11
	call	__stack_chk_fail@PLT
.L11:
	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	"%lld"
.LC1:
	.string	"-1"
.LC2:
	.string	"%lld %lld"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	pushq	%rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	leaq	-798720(%rsp), %r11
	.cfi_def_cfa 11, 798752
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$1344, %rsp
	.cfi_def_cfa_offset 800096
	leaq	.LC0(%rip), %r12
	movq	%r12, %rdi
	movq	%fs:40, %rax
	movq	%rax, 800056(%rsp)
	xorl	%eax, %eax
	leaq	8(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movq	8(%rsp), %rdi
	testq	%rdi, %rdi
	jle	.L2
	leaq	16(%rsp), %rbp
	xorl	%ebx, %ebx
	.p2align 4,,10
	.p2align 3
.L3:
	movq	%rbp, %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	addq	$1, %rbx
	call	__isoc99_scanf@PLT
	movq	8(%rsp), %rdi
	addq	$8, %rbp
	cmpq	%rbx, %rdi
	jg	.L3
.L2:
	subq	$1, %rdi
	movq	16(%rsp,%rdi,8), %r8
	cmpq	$2, %r8
	jne	.L4
	movl	$2, %esi
	movl	$2, %ecx
	movl	$2, %edx
	testq	%rdi, %rdi
	js	.L6
	.p2align 4,,10
	.p2align 3
.L5:
	leaq	-1(%r8,%rcx), %rax
	cqto
	idivq	%rcx
	imulq	%rcx, %rax
	cqto
	movq	%rax, %r8
	idivq	%rcx
	movq	%r8, %rax
	subq	%rdx, %rax
	cmpq	%rsi, %rax
	jg	.L4
	movq	%rsi, %rax
	cqto
	idivq	%rcx
	imulq	%rcx, %rax
	leaq	-1(%rcx,%rax), %rsi
	subq	$1, %rdi
	jb	.L15
	movq	16(%rsp,%rdi,8), %rcx
	cmpq	%rsi, %rcx
	jle	.L5
.L4:
	leaq	.LC1(%rip), %rdi
	call	puts@PLT
.L7:
	movq	800056(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L16
	addq	$800064, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%rbp
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	ret
.L15:
	.cfi_restore_state
	movq	%r8, %rdx
	movq	%rsi, %r8
.L6:
	movq	%r8, %rcx
	leaq	.LC2(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L7
.L16:
	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	"%lld"
.LC1:
	.string	"-1"
.LC2:
	.string	"%lld %lld"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	pushq	%rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	leaq	-798720(%rsp), %r11
	.cfi_def_cfa 11, 798752
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$1344, %rsp
	.cfi_def_cfa_offset 800096
	leaq	.LC0(%rip), %r12
	movq	%r12, %rdi
	movq	%fs:40, %rax
	movq	%rax, 800056(%rsp)
	xorl	%eax, %eax
	leaq	8(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movq	8(%rsp), %rdi
	testq	%rdi, %rdi
	jle	.L2
	leaq	16(%rsp), %rbp
	xorl	%ebx, %ebx
	.p2align 4,,10
	.p2align 3
.L3:
	movq	%rbp, %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	addq	$1, %rbx
	call	__isoc99_scanf@PLT
	movq	8(%rsp), %rdi
	addq	$8, %rbp
	cmpq	%rbx, %rdi
	jg	.L3
.L2:
	subq	$1, %rdi
	movq	16(%rsp,%rdi,8), %r8
	cmpq	$2, %r8
	jne	.L4
	movl	$2, %esi
	movl	$2, %ecx
	movl	$2, %edx
	testq	%rdi, %rdi
	js	.L6
	.p2align 4,,10
	.p2align 3
.L5:
	leaq	-1(%r8,%rcx), %rax
	cqto
	idivq	%rcx
	imulq	%rcx, %rax
	cqto
	movq	%rax, %r8
	idivq	%rcx
	movq	%r8, %rax
	subq	%rdx, %rax
	cmpq	%rsi, %rax
	jg	.L4
	movq	%rsi, %rax
	cqto
	idivq	%rcx
	imulq	%rcx, %rax
	leaq	-1(%rcx,%rax), %rsi
	subq	$1, %rdi
	jb	.L15
	movq	16(%rsp,%rdi,8), %rcx
	cmpq	%rsi, %rcx
	jle	.L5
.L4:
	leaq	.LC1(%rip), %rdi
	call	puts@PLT
.L7:
	movq	800056(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L16
	addq	$800064, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%rbp
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	ret
.L15:
	.cfi_restore_state
	movq	%r8, %rdx
	movq	%rsi, %r8
.L6:
	movq	%r8, %rcx
	leaq	.LC2(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L7
.L16:
	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()
{
	long long int k;
	scanf("%lld", &k);
	long long int i;
	long long int a[100005];
	for (i = 0; i < k; i++)
		scanf("%lld", &a[i]);
	if (a[k - 1] != 2)
	{
		printf("-1\n");
		return 0;
	}
	long long int max, min;
	max = min = 2;
	for (i = k - 1; i >= 0; i--)
	{
		if (max < a[i])
		{
			printf("-1\n");
			return 0;
		}
		min = a[i] * ((min + a[i] - 1) / a[i]);
		if (min - (min % a[i]) > max)
		{
			printf("-1\n");
			return 0;
		}
		max = a[i] * (max / a[i]) + a[i] - 1;
	}
	printf("%lld %lld", min, max);
	return 0;
}
5
3 7 100 3 2
 10
2 3 2 2 2 2 2 2 2 2
 4
3 3 2 2
 4
4 3 2 2
 4
3 5 3 2
 4
1 1 2 2
 4
3 4 2 2
 5
3 7 100 5 2
 5
3 7 100 2 2
 5
3 4 100 3 3

-1
 4 5 3 5 4 7 6 11 2 3 -1
 -1
 -1
 -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()
{
	long long int k;
	scanf("%lld", &k);
	long long int i;
	long long int a[100005];
	for (i = 0; i < k; i++)
		scanf("%lld", &a[i]);
	if (a[k - 1] != 2)
	{
		printf("-1\n");
		return 0;
	}
	long long int max, min;
	max = min = 2;
	for (i = k - 1; i >= 0; i--)
	{
		if (max < a[i])
		{
			printf("-1\n");
			return 0;
		}
		min = a[i] * ((min + a[i] - 1) / a[i]);
		if (min - (min % a[i]) > max)
		{
			printf("-1\n");
			return 0;
		}
		max = a[i] * (max / a[i]) + a[i] - 1;
	}
	printf("%lld %lld", min, max);
	return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%lld"
.LC1:
	.string	"-1"
.LC2:
	.string	"%lld %lld"
	.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	-798720(%rsp), %r11
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	subq	$1360, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-800080(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movq	$0, -800072(%rbp)
	jmp	.L2
.L3:
	leaq	-800048(%rbp), %rdx
	movq	-800072(%rbp), %rax
	salq	$3, %rax
	addq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addq	$1, -800072(%rbp)
.L2:
	movq	-800080(%rbp), %rax
	cmpq	%rax, -800072(%rbp)
	jl	.L3
	movq	-800080(%rbp), %rax
	subq	$1, %rax
	movq	-800048(%rbp,%rax,8), %rax
	cmpq	$2, %rax
	je	.L4
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	movl	$0, %eax
	jmp	.L10
.L4:
	movq	$2, -800056(%rbp)
	movq	-800056(%rbp), %rax
	movq	%rax, -800064(%rbp)
	movq	-800080(%rbp), %rax
	subq	$1, %rax
	movq	%rax, -800072(%rbp)
	jmp	.L6
.L9:
	movq	-800072(%rbp), %rax
	movq	-800048(%rbp,%rax,8), %rax
	cmpq	%rax, -800064(%rbp)
	jge	.L7
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	movl	$0, %eax
	jmp	.L10
.L7:
	movq	-800072(%rbp), %rax
	movq	-800048(%rbp,%rax,8), %rcx
	movq	-800072(%rbp), %rax
	movq	-800048(%rbp,%rax,8), %rdx
	movq	-800056(%rbp), %rax
	addq	%rdx, %rax
	leaq	-1(%rax), %rsi
	movq	-800072(%rbp), %rax
	movq	-800048(%rbp,%rax,8), %rdi
	movq	%rsi, %rax
	cqto
	idivq	%rdi
	imulq	%rcx, %rax
	movq	%rax, -800056(%rbp)
	movq	-800072(%rbp), %rax
	movq	-800048(%rbp,%rax,8), %rcx
	movq	-800056(%rbp), %rax
	cqto
	idivq	%rcx
	movq	-800056(%rbp), %rax
	subq	%rdx, %rax
	cmpq	%rax, -800064(%rbp)
	jge	.L8
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	movl	$0, %eax
	jmp	.L10
.L8:
	movq	-800072(%rbp), %rax
	movq	-800048(%rbp,%rax,8), %rcx
	movq	-800072(%rbp), %rax
	movq	-800048(%rbp,%rax,8), %rsi
	movq	-800064(%rbp), %rax
	cqto
	idivq	%rsi
	imulq	%rax, %rcx
	movq	%rcx, %rdx
	movq	-800072(%rbp), %rax
	movq	-800048(%rbp,%rax,8), %rax
	addq	%rdx, %rax
	subq	$1, %rax
	movq	%rax, -800064(%rbp)
	subq	$1, -800072(%rbp)
.L6:
	cmpq	$0, -800072(%rbp)
	jns	.L9
	movq	-800064(%rbp), %rdx
	movq	-800056(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
.L10:
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L11
	call	__stack_chk_fail@PLT
.L11:
	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	"%lld"
.LC1:
	.string	"-1"
.LC2:
	.string	"%lld %lld"
	.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	-798720(%rsp), %r11
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	subq	$1360, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-800080(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movq	$0, -800072(%rbp)
	jmp	.L2
.L3:
	leaq	-800048(%rbp), %rdx
	movq	-800072(%rbp), %rax
	salq	$3, %rax
	addq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addq	$1, -800072(%rbp)
.L2:
	movq	-800080(%rbp), %rax
	cmpq	%rax, -800072(%rbp)
	jl	.L3
	movq	-800080(%rbp), %rax
	subq	$1, %rax
	movq	-800048(%rbp,%rax,8), %rax
	cmpq	$2, %rax
	je	.L4
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	movl	$0, %eax
	jmp	.L10
.L4:
	movq	$2, -800056(%rbp)
	movq	-800056(%rbp), %rax
	movq	%rax, -800064(%rbp)
	movq	-800080(%rbp), %rax
	subq	$1, %rax
	movq	%rax, -800072(%rbp)
	jmp	.L6
.L9:
	movq	-800072(%rbp), %rax
	movq	-800048(%rbp,%rax,8), %rax
	cmpq	%rax, -800064(%rbp)
	jge	.L7
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	movl	$0, %eax
	jmp	.L10
.L7:
	movq	-800072(%rbp), %rax
	movq	-800048(%rbp,%rax,8), %rcx
	movq	-800072(%rbp), %rax
	movq	-800048(%rbp,%rax,8), %rdx
	movq	-800056(%rbp), %rax
	addq	%rdx, %rax
	leaq	-1(%rax), %rsi
	movq	-800072(%rbp), %rax
	movq	-800048(%rbp,%rax,8), %rdi
	movq	%rsi, %rax
	cqto
	idivq	%rdi
	imulq	%rcx, %rax
	movq	%rax, -800056(%rbp)
	movq	-800072(%rbp), %rax
	movq	-800048(%rbp,%rax,8), %rcx
	movq	-800056(%rbp), %rax
	cqto
	idivq	%rcx
	movq	-800056(%rbp), %rax
	subq	%rdx, %rax
	cmpq	%rax, -800064(%rbp)
	jge	.L8
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	movl	$0, %eax
	jmp	.L10
.L8:
	movq	-800072(%rbp), %rax
	movq	-800048(%rbp,%rax,8), %rcx
	movq	-800072(%rbp), %rax
	movq	-800048(%rbp,%rax,8), %rsi
	movq	-800064(%rbp), %rax
	cqto
	idivq	%rsi
	imulq	%rax, %rcx
	movq	%rcx, %rdx
	movq	-800072(%rbp), %rax
	movq	-800048(%rbp,%rax,8), %rax
	addq	%rdx, %rax
	subq	$1, %rax
	movq	%rax, -800064(%rbp)
	subq	$1, -800072(%rbp)
.L6:
	cmpq	$0, -800072(%rbp)
	jns	.L9
	movq	-800064(%rbp), %rdx
	movq	-800056(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
.L10:
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L11
	call	__stack_chk_fail@PLT
.L11:
	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:
