Given the following C code and 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;
}```

Assembly Code:

```assembly
	.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:
```

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.
Optimized Assembly Code:

user
```assembly
	.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
```assembly
	.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:
```
```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;
}```
Given the following C 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;
}```

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.
Optimized Assembly Code:

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 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;
}```

Assembly Code:

```assembly
	.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:
```

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.
Optimized Assembly Code:

train
```assembly
	.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:
```