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>
#include <stdlib.h>

int	desc(const void *a, const void *b)
{
	long *v1 = (long *)a;
	long *v2 = (long *)b;

	return (*v2 - *v1);
}

int	main(void)
{
	int		n;
	long	a[100000];
	long	side[2] = {};

	scanf("%d", &n);
	for (int i = 0; i < n; i++)
	{
		scanf("%ld", &a[i]);
	}
	qsort(a, n, sizeof(long), desc);
	for (int i = 1; i < n; i++)
	{
		if (a[i - 1] == a[i])
		{
			if (side[0] == 0)
			{
				side[0] = a[i];
			}
			else
			{
				side[1] = a[i];
				break;
			}
			i++;
		}
	}
	printf("%ld\n", side[0] * side[1]);
	return (0);
}
```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	desc
	.type	desc, @function
desc:
.LFB6:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movq	%rdi, -24(%rbp)
	movq	%rsi, -32(%rbp)
	movq	-24(%rbp), %rax
	movq	%rax, -16(%rbp)
	movq	-32(%rbp), %rax
	movq	%rax, -8(%rbp)
	movq	-8(%rbp), %rax
	movq	(%rax), %rax
	movl	%eax, %edx
	movq	-16(%rbp), %rax
	movq	(%rax), %rax
	movl	%eax, %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	desc, .-desc
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"%ld"
.LC2:
	.string	"%ld\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB7:
	.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	$1328, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movq	$0, -800032(%rbp)
	movq	$0, -800024(%rbp)
	leaq	-800044(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -800040(%rbp)
	jmp	.L4
.L5:
	leaq	-800016(%rbp), %rdx
	movl	-800040(%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, -800040(%rbp)
.L4:
	movl	-800044(%rbp), %eax
	cmpl	%eax, -800040(%rbp)
	jl	.L5
	movl	-800044(%rbp), %eax
	movslq	%eax, %rsi
	leaq	-800016(%rbp), %rax
	leaq	desc(%rip), %rdx
	movq	%rdx, %rcx
	movl	$8, %edx
	movq	%rax, %rdi
	call	qsort@PLT
	movl	$1, -800036(%rbp)
	jmp	.L6
.L11:
	movl	-800036(%rbp), %eax
	subl	$1, %eax
	cltq
	movq	-800016(%rbp,%rax,8), %rdx
	movl	-800036(%rbp), %eax
	cltq
	movq	-800016(%rbp,%rax,8), %rax
	cmpq	%rax, %rdx
	jne	.L7
	movq	-800032(%rbp), %rax
	testq	%rax, %rax
	jne	.L8
	movl	-800036(%rbp), %eax
	cltq
	movq	-800016(%rbp,%rax,8), %rax
	movq	%rax, -800032(%rbp)
	addl	$1, -800036(%rbp)
	jmp	.L7
.L8:
	movl	-800036(%rbp), %eax
	cltq
	movq	-800016(%rbp,%rax,8), %rax
	movq	%rax, -800024(%rbp)
	jmp	.L10
.L7:
	addl	$1, -800036(%rbp)
.L6:
	movl	-800044(%rbp), %eax
	cmpl	%eax, -800036(%rbp)
	jl	.L11
.L10:
	movq	-800032(%rbp), %rdx
	movq	-800024(%rbp), %rax
	imulq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L13
	call	__stack_chk_fail@PLT
.L13:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.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
	.p2align 4
	.globl	desc
	.type	desc, @function
desc:
.LFB39:
	.cfi_startproc
	endbr64
	movq	(%rsi), %rax
	subl	(%rdi), %eax
	ret
	.cfi_endproc
.LFE39:
	.size	desc, .-desc
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"%ld"
.LC2:
	.string	"%ld\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB40:
	.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	-798720(%rsp), %r11
	.cfi_def_cfa 11, 798760
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$1320, %rsp
	.cfi_def_cfa_offset 800080
	leaq	.LC0(%rip), %rdi
	xorl	%ebx, %ebx
	leaq	.LC1(%rip), %r12
	movq	%fs:40, %rax
	movq	%rax, 800024(%rsp)
	xorl	%eax, %eax
	leaq	12(%rsp), %rsi
	leaq	16(%rsp), %r13
	movq	%r13, %rbp
	call	__isoc99_scanf@PLT
	movslq	12(%rsp), %rsi
	testl	%esi, %esi
	jle	.L4
	.p2align 4,,10
	.p2align 3
.L5:
	movq	%rbp, %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	addl	$1, %ebx
	call	__isoc99_scanf@PLT
	movslq	12(%rsp), %rsi
	addq	$8, %rbp
	cmpl	%ebx, %esi
	jg	.L5
.L4:
	leaq	desc(%rip), %rcx
	movl	$8, %edx
	movq	%r13, %rdi
	call	qsort@PLT
	movl	12(%rsp), %esi
	cmpl	$1, %esi
	jle	.L11
	xorl	%edi, %edi
	movl	$1, %eax
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L7:
	addl	$1, %eax
	cmpl	%esi, %eax
	jge	.L11
.L9:
	leal	-1(%rax), %ecx
	movslq	%eax, %rdx
	movslq	%ecx, %rcx
	movq	16(%rsp,%rdx,8), %rdx
	cmpq	%rdx, 16(%rsp,%rcx,8)
	jne	.L7
	testq	%rdi, %rdi
	jne	.L17
	addl	$1, %eax
	movq	%rdx, %rdi
	addl	$1, %eax
	cmpl	%esi, %eax
	jl	.L9
.L11:
	xorl	%edx, %edx
.L6:
	xorl	%eax, %eax
	leaq	.LC2(%rip), %rsi
	movl	$1, %edi
	call	__printf_chk@PLT
	movq	800024(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L18
	addq	$800040, %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
.L17:
	.cfi_restore_state
	imulq	%rdi, %rdx
	jmp	.L6
.L18:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE40:
	.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
	.p2align 4
	.globl	desc
	.type	desc, @function
desc:
.LFB39:
	.cfi_startproc
	endbr64
	movq	(%rsi), %rax
	subl	(%rdi), %eax
	ret
	.cfi_endproc
.LFE39:
	.size	desc, .-desc
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"%ld"
.LC2:
	.string	"%ld\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB40:
	.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	-798720(%rsp), %r11
	.cfi_def_cfa 11, 798760
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$1320, %rsp
	.cfi_def_cfa_offset 800080
	leaq	.LC0(%rip), %rdi
	xorl	%ebx, %ebx
	leaq	.LC1(%rip), %r12
	movq	%fs:40, %rax
	movq	%rax, 800024(%rsp)
	xorl	%eax, %eax
	leaq	12(%rsp), %rsi
	leaq	16(%rsp), %r13
	movq	%r13, %rbp
	call	__isoc99_scanf@PLT
	movslq	12(%rsp), %rsi
	testl	%esi, %esi
	jle	.L4
	.p2align 4,,10
	.p2align 3
.L5:
	movq	%rbp, %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	addl	$1, %ebx
	call	__isoc99_scanf@PLT
	movslq	12(%rsp), %rsi
	addq	$8, %rbp
	cmpl	%ebx, %esi
	jg	.L5
.L4:
	leaq	desc(%rip), %rcx
	movl	$8, %edx
	movq	%r13, %rdi
	call	qsort@PLT
	movl	12(%rsp), %esi
	cmpl	$1, %esi
	jle	.L11
	xorl	%edi, %edi
	movl	$1, %eax
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L7:
	addl	$1, %eax
	cmpl	%esi, %eax
	jge	.L11
.L9:
	leal	-1(%rax), %ecx
	movslq	%eax, %rdx
	movslq	%ecx, %rcx
	movq	16(%rsp,%rdx,8), %rdx
	cmpq	%rdx, 16(%rsp,%rcx,8)
	jne	.L7
	testq	%rdi, %rdi
	jne	.L17
	addl	$1, %eax
	movq	%rdx, %rdi
	addl	$1, %eax
	cmpl	%esi, %eax
	jl	.L9
.L11:
	xorl	%edx, %edx
.L6:
	xorl	%eax, %eax
	leaq	.LC2(%rip), %rsi
	movl	$1, %edi
	call	__printf_chk@PLT
	movq	800024(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L18
	addq	$800040, %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
.L17:
	.cfi_restore_state
	imulq	%rdi, %rdx
	jmp	.L6
.L18:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE40:
	.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>
#include <stdlib.h>

int	desc(const void *a, const void *b)
{
	long *v1 = (long *)a;
	long *v2 = (long *)b;

	return (*v2 - *v1);
}

int	main(void)
{
	int		n;
	long	a[100000];
	long	side[2] = {};

	scanf("%d", &n);
	for (int i = 0; i < n; i++)
	{
		scanf("%ld", &a[i]);
	}
	qsort(a, n, sizeof(long), desc);
	for (int i = 1; i < n; i++)
	{
		if (a[i - 1] == a[i])
		{
			if (side[0] == 0)
			{
				side[0] = a[i];
			}
			else
			{
				side[1] = a[i];
				break;
			}
			i++;
		}
	}
	printf("%ld\n", side[0] * side[1]);
	return (0);
}

6
3 1 2 4 2 1

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>
#include <stdlib.h>

int	desc(const void *a, const void *b)
{
	long *v1 = (long *)a;
	long *v2 = (long *)b;

	return (*v2 - *v1);
}

int	main(void)
{
	int		n;
	long	a[100000];
	long	side[2] = {};

	scanf("%d", &n);
	for (int i = 0; i < n; i++)
	{
		scanf("%ld", &a[i]);
	}
	qsort(a, n, sizeof(long), desc);
	for (int i = 1; i < n; i++)
	{
		if (a[i - 1] == a[i])
		{
			if (side[0] == 0)
			{
				side[0] = a[i];
			}
			else
			{
				side[1] = a[i];
				break;
			}
			i++;
		}
	}
	printf("%ld\n", side[0] * side[1]);
	return (0);
}
```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	desc
	.type	desc, @function
desc:
.LFB6:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movq	%rdi, -24(%rbp)
	movq	%rsi, -32(%rbp)
	movq	-24(%rbp), %rax
	movq	%rax, -16(%rbp)
	movq	-32(%rbp), %rax
	movq	%rax, -8(%rbp)
	movq	-8(%rbp), %rax
	movq	(%rax), %rax
	movl	%eax, %edx
	movq	-16(%rbp), %rax
	movq	(%rax), %rax
	movl	%eax, %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	desc, .-desc
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"%ld"
.LC2:
	.string	"%ld\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB7:
	.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	$1328, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movq	$0, -800032(%rbp)
	movq	$0, -800024(%rbp)
	leaq	-800044(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -800040(%rbp)
	jmp	.L4
.L5:
	leaq	-800016(%rbp), %rdx
	movl	-800040(%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, -800040(%rbp)
.L4:
	movl	-800044(%rbp), %eax
	cmpl	%eax, -800040(%rbp)
	jl	.L5
	movl	-800044(%rbp), %eax
	movslq	%eax, %rsi
	leaq	-800016(%rbp), %rax
	leaq	desc(%rip), %rdx
	movq	%rdx, %rcx
	movl	$8, %edx
	movq	%rax, %rdi
	call	qsort@PLT
	movl	$1, -800036(%rbp)
	jmp	.L6
.L11:
	movl	-800036(%rbp), %eax
	subl	$1, %eax
	cltq
	movq	-800016(%rbp,%rax,8), %rdx
	movl	-800036(%rbp), %eax
	cltq
	movq	-800016(%rbp,%rax,8), %rax
	cmpq	%rax, %rdx
	jne	.L7
	movq	-800032(%rbp), %rax
	testq	%rax, %rax
	jne	.L8
	movl	-800036(%rbp), %eax
	cltq
	movq	-800016(%rbp,%rax,8), %rax
	movq	%rax, -800032(%rbp)
	addl	$1, -800036(%rbp)
	jmp	.L7
.L8:
	movl	-800036(%rbp), %eax
	cltq
	movq	-800016(%rbp,%rax,8), %rax
	movq	%rax, -800024(%rbp)
	jmp	.L10
.L7:
	addl	$1, -800036(%rbp)
.L6:
	movl	-800044(%rbp), %eax
	cmpl	%eax, -800036(%rbp)
	jl	.L11
.L10:
	movq	-800032(%rbp), %rdx
	movq	-800024(%rbp), %rax
	imulq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L13
	call	__stack_chk_fail@PLT
.L13:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.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
	.globl	desc
	.type	desc, @function
desc:
.LFB6:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movq	%rdi, -24(%rbp)
	movq	%rsi, -32(%rbp)
	movq	-24(%rbp), %rax
	movq	%rax, -16(%rbp)
	movq	-32(%rbp), %rax
	movq	%rax, -8(%rbp)
	movq	-8(%rbp), %rax
	movq	(%rax), %rax
	movl	%eax, %edx
	movq	-16(%rbp), %rax
	movq	(%rax), %rax
	movl	%eax, %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	desc, .-desc
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"%ld"
.LC2:
	.string	"%ld\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB7:
	.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	$1328, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movq	$0, -800032(%rbp)
	movq	$0, -800024(%rbp)
	leaq	-800044(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -800040(%rbp)
	jmp	.L4
.L5:
	leaq	-800016(%rbp), %rdx
	movl	-800040(%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, -800040(%rbp)
.L4:
	movl	-800044(%rbp), %eax
	cmpl	%eax, -800040(%rbp)
	jl	.L5
	movl	-800044(%rbp), %eax
	movslq	%eax, %rsi
	leaq	-800016(%rbp), %rax
	leaq	desc(%rip), %rdx
	movq	%rdx, %rcx
	movl	$8, %edx
	movq	%rax, %rdi
	call	qsort@PLT
	movl	$1, -800036(%rbp)
	jmp	.L6
.L11:
	movl	-800036(%rbp), %eax
	subl	$1, %eax
	cltq
	movq	-800016(%rbp,%rax,8), %rdx
	movl	-800036(%rbp), %eax
	cltq
	movq	-800016(%rbp,%rax,8), %rax
	cmpq	%rax, %rdx
	jne	.L7
	movq	-800032(%rbp), %rax
	testq	%rax, %rax
	jne	.L8
	movl	-800036(%rbp), %eax
	cltq
	movq	-800016(%rbp,%rax,8), %rax
	movq	%rax, -800032(%rbp)
	addl	$1, -800036(%rbp)
	jmp	.L7
.L8:
	movl	-800036(%rbp), %eax
	cltq
	movq	-800016(%rbp,%rax,8), %rax
	movq	%rax, -800024(%rbp)
	jmp	.L10
.L7:
	addl	$1, -800036(%rbp)
.L6:
	movl	-800044(%rbp), %eax
	cmpl	%eax, -800036(%rbp)
	jl	.L11
.L10:
	movq	-800032(%rbp), %rdx
	movq	-800024(%rbp), %rax
	imulq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L13
	call	__stack_chk_fail@PLT
.L13:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.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:
