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>
#define ll long long

int main(){
  ll n,i,a[200001],sum[200001],k,ans;
  scanf("%lld",&n);
  sum[0]=0;
  for(i=1;i<=n;i++){
    scanf("%lld",&a[i]);
    sum[i]=sum[i-1]+a[i];
  }

  for(i=1;i<=n;i++){
    if(sum[i]>sum[n]/2){
      k=i;
      break;
    }
  }

  ans=abs(sum[n]-sum[k-1]*2)>abs(sum[n]-sum[k]*2)?abs(sum[n]-sum[k]*2):abs(sum[n]-sum[k-1]*2);

  printf("%lld",ans);
  
  return 0;
}```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%lld"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB39:
	.cfi_startproc
	endbr64
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	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
	leaq	-3198976(%rsp), %r11
	.cfi_def_cfa 11, 3199024
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$1072, %rsp
	.cfi_def_cfa_offset 3200096
	leaq	.LC0(%rip), %r14
	movq	%r14, %rdi
	movq	%fs:40, %rax
	movq	%rax, 3200040(%rsp)
	xorl	%eax, %eax
	leaq	8(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movq	8(%rsp), %rdx
	movq	$0, 1600032(%rsp)
	testq	%rdx, %rdx
	jle	.L2
	leaq	24(%rsp), %rbp
	movl	$1, %ebx
	leaq	1600032(%rsp), %r13
	.p2align 4,,10
	.p2align 3
.L3:
	movq	%rbp, %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	addq	$8, %rbp
	call	__isoc99_scanf@PLT
	movq	-8(%rbp), %rax
	movq	8(%rsp), %rdx
	addq	-8(%r13,%rbx,8), %rax
	movq	%rax, 0(%r13,%rbx,8)
	addq	$1, %rbx
	cmpq	%rbx, %rdx
	jge	.L3
	movq	1600032(%rsp,%rdx,8), %rax
	testq	%rdx, %rdx
	jle	.L2
	movq	%rax, %rcx
	shrq	$63, %rcx
	addq	%rax, %rcx
	movl	$1, %eax
	sarq	%rcx
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L11:
	addq	$1, %rax
	cmpq	%rax, %rdx
	jl	.L2
.L4:
	cmpq	%rcx, 0(%r13,%rax,8)
	jle	.L11
	movq	%rax, %r12
.L2:
	movq	1600032(%rsp,%rdx,8), %rax
	movl	1600024(%rsp,%r12,8), %edi
	movq	%r14, %rsi
	leal	(%rdi,%rdi), %edx
	movl	%eax, %ecx
	movl	$1, %edi
	subl	%edx, %ecx
	movl	%ecx, %edx
	negl	%edx
	cmovs	%ecx, %edx
	movq	1600032(%rsp,%r12,8), %rcx
	addl	%ecx, %ecx
	subl	%ecx, %eax
	movl	%eax, %ecx
	negl	%ecx
	cmovns	%ecx, %eax
	cmpl	%eax, %edx
	cmovg	%eax, %edx
	xorl	%eax, %eax
	movslq	%edx, %rdx
	call	__printf_chk@PLT
	movq	3200040(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L12
	addq	$3200048, %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
.L12:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE39:
	.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
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%lld"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB39:
	.cfi_startproc
	endbr64
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	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
	leaq	-3198976(%rsp), %r11
	.cfi_def_cfa 11, 3199024
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$1072, %rsp
	.cfi_def_cfa_offset 3200096
	leaq	.LC0(%rip), %r14
	movq	%r14, %rdi
	movq	%fs:40, %rax
	movq	%rax, 3200040(%rsp)
	xorl	%eax, %eax
	leaq	8(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movq	8(%rsp), %rdx
	movq	$0, 1600032(%rsp)
	testq	%rdx, %rdx
	jle	.L2
	leaq	24(%rsp), %rbp
	movl	$1, %ebx
	leaq	1600032(%rsp), %r13
	.p2align 4,,10
	.p2align 3
.L3:
	movq	%rbp, %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	addq	$8, %rbp
	call	__isoc99_scanf@PLT
	movq	-8(%rbp), %rax
	movq	8(%rsp), %rdx
	addq	-8(%r13,%rbx,8), %rax
	movq	%rax, 0(%r13,%rbx,8)
	addq	$1, %rbx
	cmpq	%rbx, %rdx
	jge	.L3
	movq	1600032(%rsp,%rdx,8), %rax
	testq	%rdx, %rdx
	jle	.L2
	movq	%rax, %rcx
	shrq	$63, %rcx
	addq	%rax, %rcx
	movl	$1, %eax
	sarq	%rcx
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L11:
	addq	$1, %rax
	cmpq	%rax, %rdx
	jl	.L2
.L4:
	cmpq	%rcx, 0(%r13,%rax,8)
	jle	.L11
	movq	%rax, %r12
.L2:
	movq	1600032(%rsp,%rdx,8), %rax
	movl	1600024(%rsp,%r12,8), %edi
	movq	%r14, %rsi
	leal	(%rdi,%rdi), %edx
	movl	%eax, %ecx
	movl	$1, %edi
	subl	%edx, %ecx
	movl	%ecx, %edx
	negl	%edx
	cmovs	%ecx, %edx
	movq	1600032(%rsp,%r12,8), %rcx
	addl	%ecx, %ecx
	subl	%ecx, %eax
	movl	%eax, %ecx
	negl	%ecx
	cmovns	%ecx, %eax
	cmpl	%eax, %edx
	cmovg	%eax, %edx
	xorl	%eax, %eax
	movslq	%edx, %rdx
	call	__printf_chk@PLT
	movq	3200040(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L12
	addq	$3200048, %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
.L12:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE39:
	.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
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%lld"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB39:
	.cfi_startproc
	endbr64
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	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
	leaq	-3198976(%rsp), %r11
	.cfi_def_cfa 11, 3199024
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$1072, %rsp
	.cfi_def_cfa_offset 3200096
	leaq	.LC0(%rip), %r14
	movq	%r14, %rdi
	movq	%fs:40, %rax
	movq	%rax, 3200040(%rsp)
	xorl	%eax, %eax
	leaq	8(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movq	8(%rsp), %rdx
	movq	$0, 1600032(%rsp)
	testq	%rdx, %rdx
	jle	.L2
	leaq	24(%rsp), %rbp
	movl	$1, %ebx
	leaq	1600032(%rsp), %r13
	.p2align 4,,10
	.p2align 3
.L3:
	movq	%rbp, %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	addq	$8, %rbp
	call	__isoc99_scanf@PLT
	movq	-8(%rbp), %rax
	movq	8(%rsp), %rdx
	addq	-8(%r13,%rbx,8), %rax
	movq	%rax, 0(%r13,%rbx,8)
	addq	$1, %rbx
	cmpq	%rbx, %rdx
	jge	.L3
	movq	1600032(%rsp,%rdx,8), %rax
	testq	%rdx, %rdx
	jle	.L2
	movq	%rax, %rcx
	shrq	$63, %rcx
	addq	%rax, %rcx
	movl	$1, %eax
	sarq	%rcx
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L11:
	addq	$1, %rax
	cmpq	%rax, %rdx
	jl	.L2
.L4:
	cmpq	%rcx, 0(%r13,%rax,8)
	jle	.L11
	movq	%rax, %r12
.L2:
	movq	1600032(%rsp,%rdx,8), %rax
	movl	1600024(%rsp,%r12,8), %edi
	movq	%r14, %rsi
	leal	(%rdi,%rdi), %edx
	movl	%eax, %ecx
	movl	$1, %edi
	subl	%edx, %ecx
	movl	%ecx, %edx
	negl	%edx
	cmovs	%ecx, %edx
	movq	1600032(%rsp,%r12,8), %rcx
	addl	%ecx, %ecx
	subl	%ecx, %eax
	movl	%eax, %ecx
	negl	%ecx
	cmovns	%ecx, %eax
	cmpl	%eax, %edx
	cmovg	%eax, %edx
	xorl	%eax, %eax
	movslq	%edx, %rdx
	call	__printf_chk@PLT
	movq	3200040(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L12
	addq	$3200048, %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
.L12:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE39:
	.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>
#define ll long long

int main(){
  ll n,i,a[200001],sum[200001],k,ans;
  scanf("%lld",&n);
  sum[0]=0;
  for(i=1;i<=n;i++){
    scanf("%lld",&a[i]);
    sum[i]=sum[i-1]+a[i];
  }

  for(i=1;i<=n;i++){
    if(sum[i]>sum[n]/2){
      k=i;
      break;
    }
  }

  ans=abs(sum[n]-sum[k-1]*2)>abs(sum[n]-sum[k]*2)?abs(sum[n]-sum[k]*2):abs(sum[n]-sum[k-1]*2);

  printf("%lld",ans);
  
  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>
#define ll long long

int main(){
  ll n,i,a[200001],sum[200001],k,ans;
  scanf("%lld",&n);
  sum[0]=0;
  for(i=1;i<=n;i++){
    scanf("%lld",&a[i]);
    sum[i]=sum[i-1]+a[i];
  }

  for(i=1;i<=n;i++){
    if(sum[i]>sum[n]/2){
      k=i;
      break;
    }
  }

  ans=abs(sum[n]-sum[k-1]*2)>abs(sum[n]-sum[k]*2)?abs(sum[n]-sum[k]*2):abs(sum[n]-sum[k-1]*2);

  printf("%lld",ans);
  
  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:

3
2 5 3
 12
100 104 102 105 103 103 100 105 104 102 104 101
 3
2 8 3
 12
100 104 102 105 103 103 100 117 104 102 104 101
 3
2 8 2
 12
101 104 102 105 103 103 100 117 104 102 104 101
 12
101 104 102 105 103 103 100 117 104 102 104 111
 3
2 0 4
 12
101 104 102 187 103 103 100 117 104 102 104 111
 12
101 104 102 187 103 103 110 117 104 102 104 111

4 1 7 11 8 10 20 2 62 52
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>
#define ll long long

int main(){
  ll n,i,a[200001],sum[200001],k,ans;
  scanf("%lld",&n);
  sum[0]=0;
  for(i=1;i<=n;i++){
    scanf("%lld",&a[i]);
    sum[i]=sum[i-1]+a[i];
  }

  for(i=1;i<=n;i++){
    if(sum[i]>sum[n]/2){
      k=i;
      break;
    }
  }

  ans=abs(sum[n]-sum[k-1]*2)>abs(sum[n]-sum[k]*2)?abs(sum[n]-sum[k]*2):abs(sum[n]-sum[k-1]*2);

  printf("%lld",ans);
  
  return 0;
}```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%lld"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB39:
	.cfi_startproc
	endbr64
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	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
	leaq	-3198976(%rsp), %r11
	.cfi_def_cfa 11, 3199024
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$1072, %rsp
	.cfi_def_cfa_offset 3200096
	leaq	.LC0(%rip), %r14
	movq	%r14, %rdi
	movq	%fs:40, %rax
	movq	%rax, 3200040(%rsp)
	xorl	%eax, %eax
	leaq	8(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movq	8(%rsp), %rdx
	movq	$0, 1600032(%rsp)
	testq	%rdx, %rdx
	jle	.L2
	leaq	24(%rsp), %rbp
	movl	$1, %ebx
	leaq	1600032(%rsp), %r13
	.p2align 4,,10
	.p2align 3
.L3:
	movq	%rbp, %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	addq	$8, %rbp
	call	__isoc99_scanf@PLT
	movq	-8(%rbp), %rax
	movq	8(%rsp), %rdx
	addq	-8(%r13,%rbx,8), %rax
	movq	%rax, 0(%r13,%rbx,8)
	addq	$1, %rbx
	cmpq	%rbx, %rdx
	jge	.L3
	movq	1600032(%rsp,%rdx,8), %rax
	testq	%rdx, %rdx
	jle	.L2
	movq	%rax, %rcx
	shrq	$63, %rcx
	addq	%rax, %rcx
	movl	$1, %eax
	sarq	%rcx
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L11:
	addq	$1, %rax
	cmpq	%rax, %rdx
	jl	.L2
.L4:
	cmpq	%rcx, 0(%r13,%rax,8)
	jle	.L11
	movq	%rax, %r12
.L2:
	movq	1600032(%rsp,%rdx,8), %rax
	movl	1600024(%rsp,%r12,8), %edi
	movq	%r14, %rsi
	leal	(%rdi,%rdi), %edx
	movl	%eax, %ecx
	movl	$1, %edi
	subl	%edx, %ecx
	movl	%ecx, %edx
	negl	%edx
	cmovs	%ecx, %edx
	movq	1600032(%rsp,%r12,8), %rcx
	addl	%ecx, %ecx
	subl	%ecx, %eax
	movl	%eax, %ecx
	negl	%ecx
	cmovns	%ecx, %eax
	cmpl	%eax, %edx
	cmovg	%eax, %edx
	xorl	%eax, %eax
	movslq	%edx, %rdx
	call	__printf_chk@PLT
	movq	3200040(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L12
	addq	$3200048, %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
.L12:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE39:
	.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
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%lld"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB39:
	.cfi_startproc
	endbr64
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	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
	leaq	-3198976(%rsp), %r11
	.cfi_def_cfa 11, 3199024
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$1072, %rsp
	.cfi_def_cfa_offset 3200096
	leaq	.LC0(%rip), %r14
	movq	%r14, %rdi
	movq	%fs:40, %rax
	movq	%rax, 3200040(%rsp)
	xorl	%eax, %eax
	leaq	8(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movq	8(%rsp), %rdx
	movq	$0, 1600032(%rsp)
	testq	%rdx, %rdx
	jle	.L2
	leaq	24(%rsp), %rbp
	movl	$1, %ebx
	leaq	1600032(%rsp), %r13
	.p2align 4,,10
	.p2align 3
.L3:
	movq	%rbp, %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	addq	$8, %rbp
	call	__isoc99_scanf@PLT
	movq	-8(%rbp), %rax
	movq	8(%rsp), %rdx
	addq	-8(%r13,%rbx,8), %rax
	movq	%rax, 0(%r13,%rbx,8)
	addq	$1, %rbx
	cmpq	%rbx, %rdx
	jge	.L3
	movq	1600032(%rsp,%rdx,8), %rax
	testq	%rdx, %rdx
	jle	.L2
	movq	%rax, %rcx
	shrq	$63, %rcx
	addq	%rax, %rcx
	movl	$1, %eax
	sarq	%rcx
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L11:
	addq	$1, %rax
	cmpq	%rax, %rdx
	jl	.L2
.L4:
	cmpq	%rcx, 0(%r13,%rax,8)
	jle	.L11
	movq	%rax, %r12
.L2:
	movq	1600032(%rsp,%rdx,8), %rax
	movl	1600024(%rsp,%r12,8), %edi
	movq	%r14, %rsi
	leal	(%rdi,%rdi), %edx
	movl	%eax, %ecx
	movl	$1, %edi
	subl	%edx, %ecx
	movl	%ecx, %edx
	negl	%edx
	cmovs	%ecx, %edx
	movq	1600032(%rsp,%r12,8), %rcx
	addl	%ecx, %ecx
	subl	%ecx, %eax
	movl	%eax, %ecx
	negl	%ecx
	cmovns	%ecx, %eax
	cmpl	%eax, %edx
	cmovg	%eax, %edx
	xorl	%eax, %eax
	movslq	%edx, %rdx
	call	__printf_chk@PLT
	movq	3200040(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L12
	addq	$3200048, %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
.L12:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE39:
	.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:
```