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>

long long sortfnc(const void *a,const void *b){
    if(*(long long*)a == *(long long*)b){return 0;}
    if(*(long long*)a < *(long long*)b){return -1;}
    return 1;
}

int main(void){
	long long n,a[131072],i,r,ts;
	scanf("%lld",&n);
	for(i = 0;i < n;i++){scanf("%lld",&a[i]);}
	qsort(a,n,sizeof(long long),sortfnc);
	ts = a[0];
	r = 1;
	for(i = 1;i < n;i++){
		if(ts*2 < a[i]){
			r = 1;
		}
		else{
			r++;
		}
		ts+=a[i];
	}
	printf("%d",r);
	return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	sortfnc
	.type	sortfnc, @function
sortfnc:
.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, -8(%rbp)
	movq	%rsi, -16(%rbp)
	movq	-8(%rbp), %rax
	movq	(%rax), %rdx
	movq	-16(%rbp), %rax
	movq	(%rax), %rax
	cmpq	%rax, %rdx
	jne	.L2
	movl	$0, %eax
	jmp	.L3
.L2:
	movq	-8(%rbp), %rax
	movq	(%rax), %rdx
	movq	-16(%rbp), %rax
	movq	(%rax), %rax
	cmpq	%rax, %rdx
	jge	.L4
	movq	$-1, %rax
	jmp	.L3
.L4:
	movl	$1, %eax
.L3:
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	sortfnc, .-sortfnc
	.section	.rodata
.LC0:
	.string	"%lld"
.LC1:
	.string	"%d"
	.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	-1048576(%rsp), %r11
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	subq	$48, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-1048624(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movq	$0, -1048616(%rbp)
	jmp	.L6
.L7:
	leaq	-1048592(%rbp), %rdx
	movq	-1048616(%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, -1048616(%rbp)
.L6:
	movq	-1048624(%rbp), %rax
	cmpq	%rax, -1048616(%rbp)
	jl	.L7
	movq	-1048624(%rbp), %rax
	movq	%rax, %rsi
	leaq	-1048592(%rbp), %rax
	leaq	sortfnc(%rip), %rdx
	movq	%rdx, %rcx
	movl	$8, %edx
	movq	%rax, %rdi
	call	qsort@PLT
	movq	-1048592(%rbp), %rax
	movq	%rax, -1048600(%rbp)
	movq	$1, -1048608(%rbp)
	movq	$1, -1048616(%rbp)
	jmp	.L8
.L11:
	movq	-1048600(%rbp), %rax
	leaq	(%rax,%rax), %rdx
	movq	-1048616(%rbp), %rax
	movq	-1048592(%rbp,%rax,8), %rax
	cmpq	%rax, %rdx
	jge	.L9
	movq	$1, -1048608(%rbp)
	jmp	.L10
.L9:
	addq	$1, -1048608(%rbp)
.L10:
	movq	-1048616(%rbp), %rax
	movq	-1048592(%rbp,%rax,8), %rax
	addq	%rax, -1048600(%rbp)
	addq	$1, -1048616(%rbp)
.L8:
	movq	-1048624(%rbp), %rax
	cmpq	%rax, -1048616(%rbp)
	jl	.L11
	movq	-1048608(%rbp), %rax
	movq	%rax, %rsi
	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	.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	sortfnc
	.type	sortfnc, @function
sortfnc:
.LFB39:
	.cfi_startproc
	endbr64
	movq	(%rsi), %rdx
	xorl	%eax, %eax
	cmpq	%rdx, (%rdi)
	je	.L1
	setge	%al
	movzbl	%al, %eax
	leaq	-1(%rax,%rax), %rax
.L1:
	ret
	.cfi_endproc
.LFE39:
	.size	sortfnc, .-sortfnc
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%lld"
.LC1:
	.string	"%d"
	.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	-1048576(%rsp), %r11
	.cfi_def_cfa 11, 1048616
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$40, %rsp
	.cfi_def_cfa_offset 1048656
	leaq	.LC0(%rip), %r13
	xorl	%ebx, %ebx
	movq	%r13, %rdi
	movq	%fs:40, %rax
	movq	%rax, 1048600(%rsp)
	xorl	%eax, %eax
	leaq	8(%rsp), %rsi
	leaq	16(%rsp), %r12
	movq	%r12, %rbp
	call	__isoc99_scanf@PLT
	movq	8(%rsp), %rsi
	testq	%rsi, %rsi
	jle	.L7
	.p2align 4,,10
	.p2align 3
.L8:
	movq	%rbp, %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	addq	$1, %rbx
	call	__isoc99_scanf@PLT
	movq	8(%rsp), %rsi
	addq	$8, %rbp
	cmpq	%rbx, %rsi
	jg	.L8
.L7:
	leaq	sortfnc(%rip), %rcx
	movl	$8, %edx
	movq	%r12, %rdi
	call	qsort@PLT
	movq	8(%rsp), %rdx
	movq	16(%rsp), %rcx
	cmpq	$1, %rdx
	jle	.L13
	leaq	(%r12,%rdx,8), %r9
	leaq	24(%rsp), %rax
	movl	$1, %edx
	movl	$1, %r8d
	.p2align 4,,10
	.p2align 3
.L11:
	movq	(%rax), %rsi
	leaq	(%rcx,%rcx), %rdi
	addq	$1, %rdx
	cmpq	%rdi, %rsi
	cmovg	%r8, %rdx
	addq	$8, %rax
	addq	%rsi, %rcx
	cmpq	%rax, %r9
	jne	.L11
.L9:
	xorl	%eax, %eax
	leaq	.LC1(%rip), %rsi
	movl	$1, %edi
	call	__printf_chk@PLT
	movq	1048600(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L20
	addq	$1048616, %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
.L13:
	.cfi_restore_state
	movl	$1, %edx
	jmp	.L9
.L20:
	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	sortfnc
	.type	sortfnc, @function
sortfnc:
.LFB39:
	.cfi_startproc
	endbr64
	movq	(%rsi), %rdx
	xorl	%eax, %eax
	cmpq	%rdx, (%rdi)
	je	.L1
	setge	%al
	movzbl	%al, %eax
	leaq	-1(%rax,%rax), %rax
.L1:
	ret
	.cfi_endproc
.LFE39:
	.size	sortfnc, .-sortfnc
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%lld"
.LC1:
	.string	"%d"
	.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	-1048576(%rsp), %r11
	.cfi_def_cfa 11, 1048616
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$40, %rsp
	.cfi_def_cfa_offset 1048656
	leaq	.LC0(%rip), %r13
	xorl	%ebx, %ebx
	movq	%r13, %rdi
	movq	%fs:40, %rax
	movq	%rax, 1048600(%rsp)
	xorl	%eax, %eax
	leaq	8(%rsp), %rsi
	leaq	16(%rsp), %r12
	movq	%r12, %rbp
	call	__isoc99_scanf@PLT
	movq	8(%rsp), %rsi
	testq	%rsi, %rsi
	jle	.L7
	.p2align 4,,10
	.p2align 3
.L8:
	movq	%rbp, %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	addq	$1, %rbx
	call	__isoc99_scanf@PLT
	movq	8(%rsp), %rsi
	addq	$8, %rbp
	cmpq	%rbx, %rsi
	jg	.L8
.L7:
	leaq	sortfnc(%rip), %rcx
	movl	$8, %edx
	movq	%r12, %rdi
	call	qsort@PLT
	movq	8(%rsp), %rdx
	movq	16(%rsp), %rcx
	cmpq	$1, %rdx
	jle	.L13
	leaq	(%r12,%rdx,8), %r9
	leaq	24(%rsp), %rax
	movl	$1, %edx
	movl	$1, %r8d
	.p2align 4,,10
	.p2align 3
.L11:
	movq	(%rax), %rsi
	leaq	(%rcx,%rcx), %rdi
	addq	$1, %rdx
	cmpq	%rdi, %rsi
	cmovg	%r8, %rdx
	addq	$8, %rax
	addq	%rsi, %rcx
	cmpq	%rax, %r9
	jne	.L11
.L9:
	xorl	%eax, %eax
	leaq	.LC1(%rip), %rsi
	movl	$1, %edi
	call	__printf_chk@PLT
	movq	1048600(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L20
	addq	$1048616, %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
.L13:
	.cfi_restore_state
	movl	$1, %edx
	jmp	.L9
.L20:
	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>

long long sortfnc(const void *a,const void *b){
    if(*(long long*)a == *(long long*)b){return 0;}
    if(*(long long*)a < *(long long*)b){return -1;}
    return 1;
}

int main(void){
	long long n,a[131072],i,r,ts;
	scanf("%lld",&n);
	for(i = 0;i < n;i++){scanf("%lld",&a[i]);}
	qsort(a,n,sizeof(long long),sortfnc);
	ts = a[0];
	r = 1;
	for(i = 1;i < n;i++){
		if(ts*2 < a[i]){
			r = 1;
		}
		else{
			r++;
		}
		ts+=a[i];
	}
	printf("%d",r);
	return 0;
}
5
1 1 1 1 2
 3
3 1 3
 6
40 1 26 2 7 20
 3
1 1 3
 6
7 2 21 2 9 20
 5
1 2 1 1 2
 6
40 1 26 2 9 20
 5
1 2 1 0 2
 6
40 1 21 2 9 20
 5
1 1 1 0 2

5 2 4 3 6 5 4 4 4 4
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>

long long sortfnc(const void *a,const void *b){
    if(*(long long*)a == *(long long*)b){return 0;}
    if(*(long long*)a < *(long long*)b){return -1;}
    return 1;
}

int main(void){
	long long n,a[131072],i,r,ts;
	scanf("%lld",&n);
	for(i = 0;i < n;i++){scanf("%lld",&a[i]);}
	qsort(a,n,sizeof(long long),sortfnc);
	ts = a[0];
	r = 1;
	for(i = 1;i < n;i++){
		if(ts*2 < a[i]){
			r = 1;
		}
		else{
			r++;
		}
		ts+=a[i];
	}
	printf("%d",r);
	return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	sortfnc
	.type	sortfnc, @function
sortfnc:
.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, -8(%rbp)
	movq	%rsi, -16(%rbp)
	movq	-8(%rbp), %rax
	movq	(%rax), %rdx
	movq	-16(%rbp), %rax
	movq	(%rax), %rax
	cmpq	%rax, %rdx
	jne	.L2
	movl	$0, %eax
	jmp	.L3
.L2:
	movq	-8(%rbp), %rax
	movq	(%rax), %rdx
	movq	-16(%rbp), %rax
	movq	(%rax), %rax
	cmpq	%rax, %rdx
	jge	.L4
	movq	$-1, %rax
	jmp	.L3
.L4:
	movl	$1, %eax
.L3:
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	sortfnc, .-sortfnc
	.section	.rodata
.LC0:
	.string	"%lld"
.LC1:
	.string	"%d"
	.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	-1048576(%rsp), %r11
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	subq	$48, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-1048624(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movq	$0, -1048616(%rbp)
	jmp	.L6
.L7:
	leaq	-1048592(%rbp), %rdx
	movq	-1048616(%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, -1048616(%rbp)
.L6:
	movq	-1048624(%rbp), %rax
	cmpq	%rax, -1048616(%rbp)
	jl	.L7
	movq	-1048624(%rbp), %rax
	movq	%rax, %rsi
	leaq	-1048592(%rbp), %rax
	leaq	sortfnc(%rip), %rdx
	movq	%rdx, %rcx
	movl	$8, %edx
	movq	%rax, %rdi
	call	qsort@PLT
	movq	-1048592(%rbp), %rax
	movq	%rax, -1048600(%rbp)
	movq	$1, -1048608(%rbp)
	movq	$1, -1048616(%rbp)
	jmp	.L8
.L11:
	movq	-1048600(%rbp), %rax
	leaq	(%rax,%rax), %rdx
	movq	-1048616(%rbp), %rax
	movq	-1048592(%rbp,%rax,8), %rax
	cmpq	%rax, %rdx
	jge	.L9
	movq	$1, -1048608(%rbp)
	jmp	.L10
.L9:
	addq	$1, -1048608(%rbp)
.L10:
	movq	-1048616(%rbp), %rax
	movq	-1048592(%rbp,%rax,8), %rax
	addq	%rax, -1048600(%rbp)
	addq	$1, -1048616(%rbp)
.L8:
	movq	-1048624(%rbp), %rax
	cmpq	%rax, -1048616(%rbp)
	jl	.L11
	movq	-1048608(%rbp), %rax
	movq	%rax, %rsi
	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	.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	sortfnc
	.type	sortfnc, @function
sortfnc:
.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, -8(%rbp)
	movq	%rsi, -16(%rbp)
	movq	-8(%rbp), %rax
	movq	(%rax), %rdx
	movq	-16(%rbp), %rax
	movq	(%rax), %rax
	cmpq	%rax, %rdx
	jne	.L2
	movl	$0, %eax
	jmp	.L3
.L2:
	movq	-8(%rbp), %rax
	movq	(%rax), %rdx
	movq	-16(%rbp), %rax
	movq	(%rax), %rax
	cmpq	%rax, %rdx
	jge	.L4
	movq	$-1, %rax
	jmp	.L3
.L4:
	movl	$1, %eax
.L3:
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	sortfnc, .-sortfnc
	.section	.rodata
.LC0:
	.string	"%lld"
.LC1:
	.string	"%d"
	.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	-1048576(%rsp), %r11
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	subq	$48, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-1048624(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movq	$0, -1048616(%rbp)
	jmp	.L6
.L7:
	leaq	-1048592(%rbp), %rdx
	movq	-1048616(%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, -1048616(%rbp)
.L6:
	movq	-1048624(%rbp), %rax
	cmpq	%rax, -1048616(%rbp)
	jl	.L7
	movq	-1048624(%rbp), %rax
	movq	%rax, %rsi
	leaq	-1048592(%rbp), %rax
	leaq	sortfnc(%rip), %rdx
	movq	%rdx, %rcx
	movl	$8, %edx
	movq	%rax, %rdi
	call	qsort@PLT
	movq	-1048592(%rbp), %rax
	movq	%rax, -1048600(%rbp)
	movq	$1, -1048608(%rbp)
	movq	$1, -1048616(%rbp)
	jmp	.L8
.L11:
	movq	-1048600(%rbp), %rax
	leaq	(%rax,%rax), %rdx
	movq	-1048616(%rbp), %rax
	movq	-1048592(%rbp,%rax,8), %rax
	cmpq	%rax, %rdx
	jge	.L9
	movq	$1, -1048608(%rbp)
	jmp	.L10
.L9:
	addq	$1, -1048608(%rbp)
.L10:
	movq	-1048616(%rbp), %rax
	movq	-1048592(%rbp,%rax,8), %rax
	addq	%rax, -1048600(%rbp)
	addq	$1, -1048616(%rbp)
.L8:
	movq	-1048624(%rbp), %rax
	cmpq	%rax, -1048616(%rbp)
	jl	.L11
	movq	-1048608(%rbp), %rax
	movq	%rax, %rsi
	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	.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:
