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 n,a,b,c[101],i,j,p,m=0,o=0;
	int t;
	scanf("%d %d %d %d",&n,&a,&b,&p);
	for(i=1;i<=n;i++){
		scanf("%d",&c[i]);
	}
	for(i=1;i<n;i++){
		for(j=n;j>i;j--){
			if(c[j]>c[j-1]){
				t=c[j];
				c[j]=c[j-1];
				c[j-1]=t;
			}
		}
	}
	for(i=1;i<=n;i++){
		t=p;
		t=t+o+c[i];
		o=t-p;
		if(m<t/(a+b*i)){
			m=t/(a+b*i);
		}
	}
	printf("%d\n",m);
	return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d %d %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	$464, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movl	$0, -428(%rbp)
	movl	$0, -424(%rbp)
	leaq	-440(%rbp), %rsi
	leaq	-444(%rbp), %rcx
	leaq	-448(%rbp), %rdx
	leaq	-452(%rbp), %rax
	movq	%rsi, %r8
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$1, -436(%rbp)
	jmp	.L2
.L3:
	leaq	-416(%rbp), %rdx
	movl	-436(%rbp), %eax
	cltq
	salq	$2, %rax
	addq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -436(%rbp)
.L2:
	movl	-452(%rbp), %eax
	cmpl	%eax, -436(%rbp)
	jle	.L3
	movl	$1, -436(%rbp)
	jmp	.L4
.L8:
	movl	-452(%rbp), %eax
	movl	%eax, -432(%rbp)
	jmp	.L5
.L7:
	movl	-432(%rbp), %eax
	cltq
	movl	-416(%rbp,%rax,4), %edx
	movl	-432(%rbp), %eax
	subl	$1, %eax
	cltq
	movl	-416(%rbp,%rax,4), %eax
	cmpl	%eax, %edx
	jle	.L6
	movl	-432(%rbp), %eax
	cltq
	movl	-416(%rbp,%rax,4), %eax
	movl	%eax, -420(%rbp)
	movl	-432(%rbp), %eax
	subl	$1, %eax
	cltq
	movl	-416(%rbp,%rax,4), %edx
	movl	-432(%rbp), %eax
	cltq
	movl	%edx, -416(%rbp,%rax,4)
	movl	-432(%rbp), %eax
	subl	$1, %eax
	cltq
	movl	-420(%rbp), %edx
	movl	%edx, -416(%rbp,%rax,4)
.L6:
	subl	$1, -432(%rbp)
.L5:
	movl	-432(%rbp), %eax
	cmpl	-436(%rbp), %eax
	jg	.L7
	addl	$1, -436(%rbp)
.L4:
	movl	-452(%rbp), %eax
	cmpl	%eax, -436(%rbp)
	jl	.L8
	movl	$1, -436(%rbp)
	jmp	.L9
.L11:
	movl	-440(%rbp), %eax
	movl	%eax, -420(%rbp)
	movl	-420(%rbp), %edx
	movl	-424(%rbp), %eax
	addl	%eax, %edx
	movl	-436(%rbp), %eax
	cltq
	movl	-416(%rbp,%rax,4), %eax
	addl	%edx, %eax
	movl	%eax, -420(%rbp)
	movl	-440(%rbp), %edx
	movl	-420(%rbp), %eax
	subl	%edx, %eax
	movl	%eax, -424(%rbp)
	movl	-444(%rbp), %eax
	imull	-436(%rbp), %eax
	movl	%eax, %edx
	movl	-448(%rbp), %eax
	leal	(%rdx,%rax), %ecx
	movl	-420(%rbp), %eax
	cltd
	idivl	%ecx
	cmpl	%eax, -428(%rbp)
	jge	.L10
	movl	-444(%rbp), %eax
	imull	-436(%rbp), %eax
	movl	%eax, %edx
	movl	-448(%rbp), %eax
	leal	(%rdx,%rax), %edi
	movl	-420(%rbp), %eax
	cltd
	idivl	%edi
	movl	%eax, -428(%rbp)
.L10:
	addl	$1, -436(%rbp)
.L9:
	movl	-452(%rbp), %eax
	cmpl	%eax, -436(%rbp)
	jle	.L11
	movl	-428(%rbp), %eax
	movl	%eax, %esi
	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
.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 %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	%r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	leaq	.LC0(%rip), %rdi
	pushq	%rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	subq	$432, %rsp
	.cfi_def_cfa_offset 464
	movq	%fs:40, %rax
	movq	%rax, 424(%rsp)
	xorl	%eax, %eax
	leaq	8(%rsp), %rcx
	leaq	4(%rsp), %rdx
	movq	%rsp, %rsi
	leaq	12(%rsp), %r8
	call	__isoc99_scanf@PLT
	movl	(%rsp), %eax
	testl	%eax, %eax
	jle	.L2
	leaq	20(%rsp), %rbp
	movl	$1, %ebx
	leaq	.LC1(%rip), %r12
	.p2align 4,,10
	.p2align 3
.L3:
	movq	%rbp, %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	addl	$1, %ebx
	call	__isoc99_scanf@PLT
	movl	(%rsp), %r8d
	addq	$4, %rbp
	cmpl	%ebx, %r8d
	jge	.L3
	cmpl	$1, %r8d
	jle	.L4
	leaq	16(%rsp), %r9
	movslq	%r8d, %rax
	movl	$1, %edi
	leaq	(%r9,%rax,4), %r10
	.p2align 4,,10
	.p2align 3
.L7:
	movq	%r10, %rdx
	movl	%r8d, %ecx
	.p2align 4,,10
	.p2align 3
.L6:
	movq	-4(%rdx), %xmm0
	subl	$1, %ecx
	pshufd	$0xe5, %xmm0, %xmm2
	movd	%xmm0, %esi
	movd	%xmm2, %eax
	pshufd	$225, %xmm0, %xmm1
	cmpl	%eax, %esi
	jge	.L5
	movq	%xmm1, -4(%rdx)
.L5:
	subq	$4, %rdx
	cmpl	%edi, %ecx
	jg	.L6
	addl	$1, %edi
	cmpl	%edi, %r8d
	jg	.L7
.L8:
	movl	8(%rsp), %ebx
	movl	4(%rsp), %esi
	movl	$1, %ecx
	xorl	%edi, %edi
	movl	12(%rsp), %r11d
	xorl	%r10d, %r10d
	addl	%ebx, %esi
	.p2align 4,,10
	.p2align 3
.L9:
	leal	(%r11,%rdi), %eax
	addl	(%r9,%rcx,4), %eax
	cltd
	movl	%eax, %edi
	idivl	%esi
	subl	%r11d, %edi
	cmpl	%eax, %r10d
	cmovl	%eax, %r10d
	addq	$1, %rcx
	addl	%ebx, %esi
	cmpl	%ecx, %r8d
	jge	.L9
.L10:
	xorl	%eax, %eax
	movl	%r10d, %edx
	movl	$1, %edi
	leaq	.LC2(%rip), %rsi
	call	__printf_chk@PLT
	movq	424(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L18
	addq	$432, %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
.L4:
	.cfi_restore_state
	je	.L19
.L2:
	xorl	%r10d, %r10d
	jmp	.L10
.L19:
	leaq	16(%rsp), %r9
	jmp	.L8
.L18:
	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 %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	%r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	leaq	.LC0(%rip), %rdi
	pushq	%rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	subq	$432, %rsp
	.cfi_def_cfa_offset 464
	movq	%fs:40, %rax
	movq	%rax, 424(%rsp)
	xorl	%eax, %eax
	leaq	8(%rsp), %rcx
	leaq	4(%rsp), %rdx
	movq	%rsp, %rsi
	leaq	12(%rsp), %r8
	call	__isoc99_scanf@PLT
	movl	(%rsp), %eax
	testl	%eax, %eax
	jle	.L2
	leaq	20(%rsp), %rbp
	movl	$1, %ebx
	leaq	.LC1(%rip), %r12
	.p2align 4,,10
	.p2align 3
.L3:
	movq	%rbp, %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	addl	$1, %ebx
	call	__isoc99_scanf@PLT
	movl	(%rsp), %r8d
	addq	$4, %rbp
	cmpl	%ebx, %r8d
	jge	.L3
	cmpl	$1, %r8d
	jle	.L4
	leaq	16(%rsp), %r9
	movslq	%r8d, %rax
	movl	$1, %edi
	leaq	(%r9,%rax,4), %r10
	.p2align 4,,10
	.p2align 3
.L7:
	movq	%r10, %rdx
	movl	%r8d, %ecx
	.p2align 4,,10
	.p2align 3
.L6:
	movq	-4(%rdx), %xmm0
	subl	$1, %ecx
	pshufd	$0xe5, %xmm0, %xmm2
	movd	%xmm0, %esi
	movd	%xmm2, %eax
	pshufd	$225, %xmm0, %xmm1
	cmpl	%eax, %esi
	jge	.L5
	movq	%xmm1, -4(%rdx)
.L5:
	subq	$4, %rdx
	cmpl	%edi, %ecx
	jg	.L6
	addl	$1, %edi
	cmpl	%edi, %r8d
	jg	.L7
.L8:
	movl	8(%rsp), %ebx
	movl	4(%rsp), %esi
	movl	$1, %ecx
	xorl	%edi, %edi
	movl	12(%rsp), %r11d
	xorl	%r10d, %r10d
	addl	%ebx, %esi
	.p2align 4,,10
	.p2align 3
.L9:
	leal	(%r11,%rdi), %eax
	addl	(%r9,%rcx,4), %eax
	cltd
	movl	%eax, %edi
	idivl	%esi
	subl	%r11d, %edi
	cmpl	%eax, %r10d
	cmovl	%eax, %r10d
	addq	$1, %rcx
	addl	%ebx, %esi
	cmpl	%ecx, %r8d
	jge	.L9
.L10:
	xorl	%eax, %eax
	movl	%r10d, %edx
	movl	$1, %edi
	leaq	.LC2(%rip), %rsi
	call	__printf_chk@PLT
	movq	424(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L18
	addq	$432, %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
.L4:
	.cfi_restore_state
	je	.L19
.L2:
	xorl	%r10d, %r10d
	jmp	.L10
.L19:
	leaq	16(%rsp), %r9
	jmp	.L8
.L18:
	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 n,a,b,c[101],i,j,p,m=0,o=0;
	int t;
	scanf("%d %d %d %d",&n,&a,&b,&p);
	for(i=1;i<=n;i++){
		scanf("%d",&c[i]);
	}
	for(i=1;i<n;i++){
		for(j=n;j>i;j--){
			if(c[j]>c[j-1]){
				t=c[j];
				c[j]=c[j-1];
				c[j-1]=t;
			}
		}
	}
	for(i=1;i<=n;i++){
		t=p;
		t=t+o+c[i];
		o=t-p;
		if(m<t/(a+b*i)){
			m=t/(a+b*i);
		}
	}
	printf("%d\n",m);
	return 0;
}
3
12 2
200
50
300
110
 3
17 2
200
73
300
110
 3
12 2
200
50
599
100
 3
12 2
200
73
575
110
 3
17 2
200
50
300
010
 3
17 2
63
50
300
010
 3
12 2
200
54
506
110
 3
17 2
38
50
300
010
 3
12 2
358
87
575
010
 3
12 2
200
54
383
110

38
 29
 57
 55
 26
 19
 51
 18
 66
 43

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 n,a,b,c[101],i,j,p,m=0,o=0;
	int t;
	scanf("%d %d %d %d",&n,&a,&b,&p);
	for(i=1;i<=n;i++){
		scanf("%d",&c[i]);
	}
	for(i=1;i<n;i++){
		for(j=n;j>i;j--){
			if(c[j]>c[j-1]){
				t=c[j];
				c[j]=c[j-1];
				c[j-1]=t;
			}
		}
	}
	for(i=1;i<=n;i++){
		t=p;
		t=t+o+c[i];
		o=t-p;
		if(m<t/(a+b*i)){
			m=t/(a+b*i);
		}
	}
	printf("%d\n",m);
	return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d %d %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	$464, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movl	$0, -428(%rbp)
	movl	$0, -424(%rbp)
	leaq	-440(%rbp), %rsi
	leaq	-444(%rbp), %rcx
	leaq	-448(%rbp), %rdx
	leaq	-452(%rbp), %rax
	movq	%rsi, %r8
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$1, -436(%rbp)
	jmp	.L2
.L3:
	leaq	-416(%rbp), %rdx
	movl	-436(%rbp), %eax
	cltq
	salq	$2, %rax
	addq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -436(%rbp)
.L2:
	movl	-452(%rbp), %eax
	cmpl	%eax, -436(%rbp)
	jle	.L3
	movl	$1, -436(%rbp)
	jmp	.L4
.L8:
	movl	-452(%rbp), %eax
	movl	%eax, -432(%rbp)
	jmp	.L5
.L7:
	movl	-432(%rbp), %eax
	cltq
	movl	-416(%rbp,%rax,4), %edx
	movl	-432(%rbp), %eax
	subl	$1, %eax
	cltq
	movl	-416(%rbp,%rax,4), %eax
	cmpl	%eax, %edx
	jle	.L6
	movl	-432(%rbp), %eax
	cltq
	movl	-416(%rbp,%rax,4), %eax
	movl	%eax, -420(%rbp)
	movl	-432(%rbp), %eax
	subl	$1, %eax
	cltq
	movl	-416(%rbp,%rax,4), %edx
	movl	-432(%rbp), %eax
	cltq
	movl	%edx, -416(%rbp,%rax,4)
	movl	-432(%rbp), %eax
	subl	$1, %eax
	cltq
	movl	-420(%rbp), %edx
	movl	%edx, -416(%rbp,%rax,4)
.L6:
	subl	$1, -432(%rbp)
.L5:
	movl	-432(%rbp), %eax
	cmpl	-436(%rbp), %eax
	jg	.L7
	addl	$1, -436(%rbp)
.L4:
	movl	-452(%rbp), %eax
	cmpl	%eax, -436(%rbp)
	jl	.L8
	movl	$1, -436(%rbp)
	jmp	.L9
.L11:
	movl	-440(%rbp), %eax
	movl	%eax, -420(%rbp)
	movl	-420(%rbp), %edx
	movl	-424(%rbp), %eax
	addl	%eax, %edx
	movl	-436(%rbp), %eax
	cltq
	movl	-416(%rbp,%rax,4), %eax
	addl	%edx, %eax
	movl	%eax, -420(%rbp)
	movl	-440(%rbp), %edx
	movl	-420(%rbp), %eax
	subl	%edx, %eax
	movl	%eax, -424(%rbp)
	movl	-444(%rbp), %eax
	imull	-436(%rbp), %eax
	movl	%eax, %edx
	movl	-448(%rbp), %eax
	leal	(%rdx,%rax), %ecx
	movl	-420(%rbp), %eax
	cltd
	idivl	%ecx
	cmpl	%eax, -428(%rbp)
	jge	.L10
	movl	-444(%rbp), %eax
	imull	-436(%rbp), %eax
	movl	%eax, %edx
	movl	-448(%rbp), %eax
	leal	(%rdx,%rax), %edi
	movl	-420(%rbp), %eax
	cltd
	idivl	%edi
	movl	%eax, -428(%rbp)
.L10:
	addl	$1, -436(%rbp)
.L9:
	movl	-452(%rbp), %eax
	cmpl	%eax, -436(%rbp)
	jle	.L11
	movl	-428(%rbp), %eax
	movl	%eax, %esi
	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
.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 %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	$464, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movl	$0, -428(%rbp)
	movl	$0, -424(%rbp)
	leaq	-440(%rbp), %rsi
	leaq	-444(%rbp), %rcx
	leaq	-448(%rbp), %rdx
	leaq	-452(%rbp), %rax
	movq	%rsi, %r8
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$1, -436(%rbp)
	jmp	.L2
.L3:
	leaq	-416(%rbp), %rdx
	movl	-436(%rbp), %eax
	cltq
	salq	$2, %rax
	addq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -436(%rbp)
.L2:
	movl	-452(%rbp), %eax
	cmpl	%eax, -436(%rbp)
	jle	.L3
	movl	$1, -436(%rbp)
	jmp	.L4
.L8:
	movl	-452(%rbp), %eax
	movl	%eax, -432(%rbp)
	jmp	.L5
.L7:
	movl	-432(%rbp), %eax
	cltq
	movl	-416(%rbp,%rax,4), %edx
	movl	-432(%rbp), %eax
	subl	$1, %eax
	cltq
	movl	-416(%rbp,%rax,4), %eax
	cmpl	%eax, %edx
	jle	.L6
	movl	-432(%rbp), %eax
	cltq
	movl	-416(%rbp,%rax,4), %eax
	movl	%eax, -420(%rbp)
	movl	-432(%rbp), %eax
	subl	$1, %eax
	cltq
	movl	-416(%rbp,%rax,4), %edx
	movl	-432(%rbp), %eax
	cltq
	movl	%edx, -416(%rbp,%rax,4)
	movl	-432(%rbp), %eax
	subl	$1, %eax
	cltq
	movl	-420(%rbp), %edx
	movl	%edx, -416(%rbp,%rax,4)
.L6:
	subl	$1, -432(%rbp)
.L5:
	movl	-432(%rbp), %eax
	cmpl	-436(%rbp), %eax
	jg	.L7
	addl	$1, -436(%rbp)
.L4:
	movl	-452(%rbp), %eax
	cmpl	%eax, -436(%rbp)
	jl	.L8
	movl	$1, -436(%rbp)
	jmp	.L9
.L11:
	movl	-440(%rbp), %eax
	movl	%eax, -420(%rbp)
	movl	-420(%rbp), %edx
	movl	-424(%rbp), %eax
	addl	%eax, %edx
	movl	-436(%rbp), %eax
	cltq
	movl	-416(%rbp,%rax,4), %eax
	addl	%edx, %eax
	movl	%eax, -420(%rbp)
	movl	-440(%rbp), %edx
	movl	-420(%rbp), %eax
	subl	%edx, %eax
	movl	%eax, -424(%rbp)
	movl	-444(%rbp), %eax
	imull	-436(%rbp), %eax
	movl	%eax, %edx
	movl	-448(%rbp), %eax
	leal	(%rdx,%rax), %ecx
	movl	-420(%rbp), %eax
	cltd
	idivl	%ecx
	cmpl	%eax, -428(%rbp)
	jge	.L10
	movl	-444(%rbp), %eax
	imull	-436(%rbp), %eax
	movl	%eax, %edx
	movl	-448(%rbp), %eax
	leal	(%rdx,%rax), %edi
	movl	-420(%rbp), %eax
	cltd
	idivl	%edi
	movl	%eax, -428(%rbp)
.L10:
	addl	$1, -436(%rbp)
.L9:
	movl	-452(%rbp), %eax
	cmpl	%eax, -436(%rbp)
	jle	.L11
	movl	-428(%rbp), %eax
	movl	%eax, %esi
	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
.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:
