Given the following C code and assembly code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
int a[10010];
int main(){
 int n,m;
 scanf("%d%d",&n,&m);
 for(int i=0;i<m;i++)scanf("%d",&a[i]);
 int s=0;
 for(int i=0;i<m;i++)s+=a[i];
 if(s>n){
 printf("-1\n");
 }else{
 printf("%d\n",n-s);
 }
 }
```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d%d"
.LC1:
	.string	"%d"
.LC2:
	.string	"-1"
.LC3:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	leaq	.LC0(%rip), %rdi
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	subq	$16, %rsp
	.cfi_def_cfa_offset 64
	movq	%fs:40, %rax
	movq	%rax, 8(%rsp)
	xorl	%eax, %eax
	leaq	4(%rsp), %rdx
	movq	%rsp, %rsi
	call	scanf@PLT
	movl	4(%rsp), %eax
	testl	%eax, %eax
	jle	.L2
	leaq	a(%rip), %r12
	xorl	%ebx, %ebx
	leaq	.LC1(%rip), %r14
	movq	%r12, %r13
	movq	%r12, %rbp
	.p2align 4,,10
	.p2align 3
.L3:
	movq	%rbp, %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	addl	$1, %ebx
	call	scanf@PLT
	movl	4(%rsp), %edx
	addq	$4, %rbp
	cmpl	%ebx, %edx
	jg	.L3
	testl	%edx, %edx
	jle	.L2
	leal	-1(%rdx), %eax
	cmpl	$2, %eax
	jbe	.L12
	movl	%edx, %eax
	leaq	16+a(%rip), %rcx
	pxor	%xmm0, %xmm0
	shrl	$2, %eax
	subl	$1, %eax
	salq	$4, %rax
	addq	%rcx, %rax
	.p2align 4,,10
	.p2align 3
.L5:
	paddd	(%r12), %xmm0
	addq	$16, %r12
	cmpq	%rax, %r12
	jne	.L5
	movdqa	%xmm0, %xmm1
	movl	%edx, %ecx
	psrldq	$8, %xmm1
	andl	$-4, %ecx
	paddd	%xmm1, %xmm0
	movdqa	%xmm0, %xmm1
	psrldq	$4, %xmm1
	paddd	%xmm1, %xmm0
	movd	%xmm0, %eax
	testb	$3, %dl
	je	.L7
.L4:
	movslq	%ecx, %rsi
	addl	0(%r13,%rsi,4), %eax
	leal	1(%rcx), %esi
	cmpl	%esi, %edx
	jle	.L7
	movslq	%esi, %rsi
	addl	$2, %ecx
	addl	0(%r13,%rsi,4), %eax
	cmpl	%ecx, %edx
	jle	.L7
	movslq	%ecx, %rcx
	addl	0(%r13,%rcx,4), %eax
.L7:
	movl	(%rsp), %esi
	cmpl	%eax, %esi
	jge	.L9
	leaq	.LC2(%rip), %rdi
	call	puts@PLT
.L10:
	movq	8(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L17
	addq	$16, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%rbp
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r13
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	ret
.L9:
	.cfi_restore_state
	subl	%eax, %esi
	leaq	.LC3(%rip), %rdi
	xorl	%eax, %eax
	call	printf@PLT
	jmp	.L10
.L2:
	xorl	%eax, %eax
	jmp	.L7
.L12:
	xorl	%ecx, %ecx
	xorl	%eax, %eax
	jmp	.L4
.L17:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	a
	.bss
	.align 32
	.type	a, @object
	.size	a, 40040
a:
	.zero	40040
	.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
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d%d"
.LC1:
	.string	"%d"
.LC2:
	.string	"-1"
.LC3:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	leaq	.LC0(%rip), %rdi
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	subq	$16, %rsp
	.cfi_def_cfa_offset 64
	movq	%fs:40, %rax
	movq	%rax, 8(%rsp)
	xorl	%eax, %eax
	leaq	4(%rsp), %rdx
	movq	%rsp, %rsi
	call	scanf@PLT
	movl	4(%rsp), %eax
	testl	%eax, %eax
	jle	.L2
	leaq	a(%rip), %r12
	xorl	%ebx, %ebx
	leaq	.LC1(%rip), %r14
	movq	%r12, %r13
	movq	%r12, %rbp
	.p2align 4,,10
	.p2align 3
.L3:
	movq	%rbp, %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	addl	$1, %ebx
	call	scanf@PLT
	movl	4(%rsp), %edx
	addq	$4, %rbp
	cmpl	%ebx, %edx
	jg	.L3
	testl	%edx, %edx
	jle	.L2
	leal	-1(%rdx), %eax
	cmpl	$2, %eax
	jbe	.L12
	movl	%edx, %eax
	leaq	16+a(%rip), %rcx
	pxor	%xmm0, %xmm0
	shrl	$2, %eax
	subl	$1, %eax
	salq	$4, %rax
	addq	%rcx, %rax
	.p2align 4,,10
	.p2align 3
.L5:
	paddd	(%r12), %xmm0
	addq	$16, %r12
	cmpq	%rax, %r12
	jne	.L5
	movdqa	%xmm0, %xmm1
	movl	%edx, %ecx
	psrldq	$8, %xmm1
	andl	$-4, %ecx
	paddd	%xmm1, %xmm0
	movdqa	%xmm0, %xmm1
	psrldq	$4, %xmm1
	paddd	%xmm1, %xmm0
	movd	%xmm0, %eax
	testb	$3, %dl
	je	.L7
.L4:
	movslq	%ecx, %rsi
	addl	0(%r13,%rsi,4), %eax
	leal	1(%rcx), %esi
	cmpl	%esi, %edx
	jle	.L7
	movslq	%esi, %rsi
	addl	$2, %ecx
	addl	0(%r13,%rsi,4), %eax
	cmpl	%ecx, %edx
	jle	.L7
	movslq	%ecx, %rcx
	addl	0(%r13,%rcx,4), %eax
.L7:
	movl	(%rsp), %esi
	cmpl	%eax, %esi
	jge	.L9
	leaq	.LC2(%rip), %rdi
	call	puts@PLT
.L10:
	movq	8(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L17
	addq	$16, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%rbp
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r13
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	ret
.L9:
	.cfi_restore_state
	subl	%eax, %esi
	leaq	.LC3(%rip), %rdi
	xorl	%eax, %eax
	call	printf@PLT
	jmp	.L10
.L2:
	xorl	%eax, %eax
	jmp	.L7
.L12:
	xorl	%ecx, %ecx
	xorl	%eax, %eax
	jmp	.L4
.L17:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	a
	.bss
	.align 32
	.type	a, @object
	.size	a, 40040
a:
	.zero	40040
	.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
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d%d"
.LC1:
	.string	"%d"
.LC2:
	.string	"-1"
.LC3:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	leaq	.LC0(%rip), %rdi
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	subq	$16, %rsp
	.cfi_def_cfa_offset 64
	movq	%fs:40, %rax
	movq	%rax, 8(%rsp)
	xorl	%eax, %eax
	leaq	4(%rsp), %rdx
	movq	%rsp, %rsi
	call	scanf@PLT
	movl	4(%rsp), %eax
	testl	%eax, %eax
	jle	.L2
	leaq	a(%rip), %r12
	xorl	%ebx, %ebx
	leaq	.LC1(%rip), %r14
	movq	%r12, %r13
	movq	%r12, %rbp
	.p2align 4,,10
	.p2align 3
.L3:
	movq	%rbp, %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	addl	$1, %ebx
	call	scanf@PLT
	movl	4(%rsp), %edx
	addq	$4, %rbp
	cmpl	%ebx, %edx
	jg	.L3
	testl	%edx, %edx
	jle	.L2
	leal	-1(%rdx), %eax
	cmpl	$2, %eax
	jbe	.L12
	movl	%edx, %eax
	leaq	16+a(%rip), %rcx
	pxor	%xmm0, %xmm0
	shrl	$2, %eax
	subl	$1, %eax
	salq	$4, %rax
	addq	%rcx, %rax
	.p2align 4,,10
	.p2align 3
.L5:
	paddd	(%r12), %xmm0
	addq	$16, %r12
	cmpq	%rax, %r12
	jne	.L5
	movdqa	%xmm0, %xmm1
	movl	%edx, %ecx
	psrldq	$8, %xmm1
	andl	$-4, %ecx
	paddd	%xmm1, %xmm0
	movdqa	%xmm0, %xmm1
	psrldq	$4, %xmm1
	paddd	%xmm1, %xmm0
	movd	%xmm0, %eax
	testb	$3, %dl
	je	.L7
.L4:
	movslq	%ecx, %rsi
	addl	0(%r13,%rsi,4), %eax
	leal	1(%rcx), %esi
	cmpl	%esi, %edx
	jle	.L7
	movslq	%esi, %rsi
	addl	$2, %ecx
	addl	0(%r13,%rsi,4), %eax
	cmpl	%ecx, %edx
	jle	.L7
	movslq	%ecx, %rcx
	addl	0(%r13,%rcx,4), %eax
.L7:
	movl	(%rsp), %esi
	cmpl	%eax, %esi
	jge	.L9
	leaq	.LC2(%rip), %rdi
	call	puts@PLT
.L10:
	movq	8(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L17
	addq	$16, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%rbp
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r13
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	ret
.L9:
	.cfi_restore_state
	subl	%eax, %esi
	leaq	.LC3(%rip), %rdi
	xorl	%eax, %eax
	call	printf@PLT
	jmp	.L10
.L2:
	xorl	%eax, %eax
	jmp	.L7
.L12:
	xorl	%ecx, %ecx
	xorl	%eax, %eax
	jmp	.L4
.L17:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	a
	.bss
	.align 32
	.type	a, @object
	.size	a, 40040
a:
	.zero	40040
	.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
int a[10010];
int main(){
 int n,m;
 scanf("%d%d",&n,&m);
 for(int i=0;i<m;i++)scanf("%d",&a[i]);
 int s=0;
 for(int i=0;i<m;i++)s+=a[i];
 if(s>n){
 printf("-1\n");
 }else{
 printf("%d\n",n-s);
 }
 }
```
Given the following C code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
int a[10010];
int main(){
 int n,m;
 scanf("%d%d",&n,&m);
 for(int i=0;i<m;i++)scanf("%d",&a[i]);
 int s=0;
 for(int i=0;i<m;i++)s+=a[i];
 if(s>n){
 printf("-1\n");
 }else{
 printf("%d\n",n-s);
 }
 }
```

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:

10 2
6 6
 314 15
9 24 5 35 8 9 79 3 23 8 46 2 6 43 3
 41 2
9 6
 11 2
5 2
 20 2
5 2
 20 2
7 4
 41 2
5 12
 41 2
9 9
 11 2
5 0
 14 2
3 6

-1
 11
 26
 4
 13
 9
 24
 23
 6
 5

Given the following C code and assembly code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
int a[10010];
int main(){
 int n,m;
 scanf("%d%d",&n,&m);
 for(int i=0;i<m;i++)scanf("%d",&a[i]);
 int s=0;
 for(int i=0;i<m;i++)s+=a[i];
 if(s>n){
 printf("-1\n");
 }else{
 printf("%d\n",n-s);
 }
 }
```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d%d"
.LC1:
	.string	"%d"
.LC2:
	.string	"-1"
.LC3:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	leaq	.LC0(%rip), %rdi
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	subq	$16, %rsp
	.cfi_def_cfa_offset 64
	movq	%fs:40, %rax
	movq	%rax, 8(%rsp)
	xorl	%eax, %eax
	leaq	4(%rsp), %rdx
	movq	%rsp, %rsi
	call	scanf@PLT
	movl	4(%rsp), %eax
	testl	%eax, %eax
	jle	.L2
	leaq	a(%rip), %r12
	xorl	%ebx, %ebx
	leaq	.LC1(%rip), %r14
	movq	%r12, %r13
	movq	%r12, %rbp
	.p2align 4,,10
	.p2align 3
.L3:
	movq	%rbp, %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	addl	$1, %ebx
	call	scanf@PLT
	movl	4(%rsp), %edx
	addq	$4, %rbp
	cmpl	%ebx, %edx
	jg	.L3
	testl	%edx, %edx
	jle	.L2
	leal	-1(%rdx), %eax
	cmpl	$2, %eax
	jbe	.L12
	movl	%edx, %eax
	leaq	16+a(%rip), %rcx
	pxor	%xmm0, %xmm0
	shrl	$2, %eax
	subl	$1, %eax
	salq	$4, %rax
	addq	%rcx, %rax
	.p2align 4,,10
	.p2align 3
.L5:
	paddd	(%r12), %xmm0
	addq	$16, %r12
	cmpq	%rax, %r12
	jne	.L5
	movdqa	%xmm0, %xmm1
	movl	%edx, %ecx
	psrldq	$8, %xmm1
	andl	$-4, %ecx
	paddd	%xmm1, %xmm0
	movdqa	%xmm0, %xmm1
	psrldq	$4, %xmm1
	paddd	%xmm1, %xmm0
	movd	%xmm0, %eax
	testb	$3, %dl
	je	.L7
.L4:
	movslq	%ecx, %rsi
	addl	0(%r13,%rsi,4), %eax
	leal	1(%rcx), %esi
	cmpl	%esi, %edx
	jle	.L7
	movslq	%esi, %rsi
	addl	$2, %ecx
	addl	0(%r13,%rsi,4), %eax
	cmpl	%ecx, %edx
	jle	.L7
	movslq	%ecx, %rcx
	addl	0(%r13,%rcx,4), %eax
.L7:
	movl	(%rsp), %esi
	cmpl	%eax, %esi
	jge	.L9
	leaq	.LC2(%rip), %rdi
	call	puts@PLT
.L10:
	movq	8(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L17
	addq	$16, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%rbp
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r13
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	ret
.L9:
	.cfi_restore_state
	subl	%eax, %esi
	leaq	.LC3(%rip), %rdi
	xorl	%eax, %eax
	call	printf@PLT
	jmp	.L10
.L2:
	xorl	%eax, %eax
	jmp	.L7
.L12:
	xorl	%ecx, %ecx
	xorl	%eax, %eax
	jmp	.L4
.L17:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	a
	.bss
	.align 32
	.type	a, @object
	.size	a, 40040
a:
	.zero	40040
	.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
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d%d"
.LC1:
	.string	"%d"
.LC2:
	.string	"-1"
.LC3:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	leaq	.LC0(%rip), %rdi
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	subq	$16, %rsp
	.cfi_def_cfa_offset 64
	movq	%fs:40, %rax
	movq	%rax, 8(%rsp)
	xorl	%eax, %eax
	leaq	4(%rsp), %rdx
	movq	%rsp, %rsi
	call	scanf@PLT
	movl	4(%rsp), %eax
	testl	%eax, %eax
	jle	.L2
	leaq	a(%rip), %r12
	xorl	%ebx, %ebx
	leaq	.LC1(%rip), %r14
	movq	%r12, %r13
	movq	%r12, %rbp
	.p2align 4,,10
	.p2align 3
.L3:
	movq	%rbp, %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	addl	$1, %ebx
	call	scanf@PLT
	movl	4(%rsp), %edx
	addq	$4, %rbp
	cmpl	%ebx, %edx
	jg	.L3
	testl	%edx, %edx
	jle	.L2
	leal	-1(%rdx), %eax
	cmpl	$2, %eax
	jbe	.L12
	movl	%edx, %eax
	leaq	16+a(%rip), %rcx
	pxor	%xmm0, %xmm0
	shrl	$2, %eax
	subl	$1, %eax
	salq	$4, %rax
	addq	%rcx, %rax
	.p2align 4,,10
	.p2align 3
.L5:
	paddd	(%r12), %xmm0
	addq	$16, %r12
	cmpq	%rax, %r12
	jne	.L5
	movdqa	%xmm0, %xmm1
	movl	%edx, %ecx
	psrldq	$8, %xmm1
	andl	$-4, %ecx
	paddd	%xmm1, %xmm0
	movdqa	%xmm0, %xmm1
	psrldq	$4, %xmm1
	paddd	%xmm1, %xmm0
	movd	%xmm0, %eax
	testb	$3, %dl
	je	.L7
.L4:
	movslq	%ecx, %rsi
	addl	0(%r13,%rsi,4), %eax
	leal	1(%rcx), %esi
	cmpl	%esi, %edx
	jle	.L7
	movslq	%esi, %rsi
	addl	$2, %ecx
	addl	0(%r13,%rsi,4), %eax
	cmpl	%ecx, %edx
	jle	.L7
	movslq	%ecx, %rcx
	addl	0(%r13,%rcx,4), %eax
.L7:
	movl	(%rsp), %esi
	cmpl	%eax, %esi
	jge	.L9
	leaq	.LC2(%rip), %rdi
	call	puts@PLT
.L10:
	movq	8(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L17
	addq	$16, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%rbp
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r13
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	ret
.L9:
	.cfi_restore_state
	subl	%eax, %esi
	leaq	.LC3(%rip), %rdi
	xorl	%eax, %eax
	call	printf@PLT
	jmp	.L10
.L2:
	xorl	%eax, %eax
	jmp	.L7
.L12:
	xorl	%ecx, %ecx
	xorl	%eax, %eax
	jmp	.L4
.L17:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	a
	.bss
	.align 32
	.type	a, @object
	.size	a, 40040
a:
	.zero	40040
	.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:
```