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>
int main(){
  int n,i,j,k;
  int A[140000];//14万！？うせやろ？
  scanf("%d",&n);
  for(i=0;i<100001;i++)A[i]=0;
  for(i=0;i<n;i++){scanf("%d",&j);A[j]++;}
  k=i=0;j=100000;
  while(1){
    while(A[i]<2)i++;
    while(A[j]<2)j--;
    if(j<i)break;
    k++;A[i]--;A[j]--;
  }
  printf("%d",n-2*k);
}
```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.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	-557056(%rsp), %r11
	.cfi_def_cfa 11, 557096
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$2984, %rsp
	.cfi_def_cfa_offset 560080
	leaq	.LC0(%rip), %r12
	movq	%r12, %rdi
	movq	%fs:40, %rax
	movq	%rax, 560024(%rsp)
	xorl	%eax, %eax
	leaq	8(%rsp), %rsi
	leaq	16(%rsp), %rbx
	call	__isoc99_scanf@PLT
	movl	$400004, %edx
	xorl	%esi, %esi
	movq	%rbx, %rdi
	call	memset@PLT
	movl	8(%rsp), %edx
	testl	%edx, %edx
	jle	.L2
	xorl	%ebp, %ebp
	leaq	12(%rsp), %r13
	.p2align 4,,10
	.p2align 3
.L3:
	movq	%r13, %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	addl	$1, %ebp
	call	__isoc99_scanf@PLT
	movslq	12(%rsp), %rax
	movl	8(%rsp), %edx
	addl	$1, 16(%rsp,%rax,4)
	cmpl	%ebp, %edx
	jg	.L3
.L2:
	movl	$100000, 12(%rsp)
	xorl	%r11d, %r11d
	xorl	%r10d, %r10d
	xorl	%edi, %edi
	movl	$100000, %ecx
	xorl	%r8d, %r8d
	movl	$100000, %eax
	.p2align 4,,10
	.p2align 3
.L4:
	movl	16(%rsp,%rdi,4), %esi
	movl	16(%rsp,%rax,4), %r9d
	cmpl	$1, %esi
	jle	.L5
.L19:
	cmpl	$1, %r9d
	jg	.L6
	subl	$1, %ecx
	movslq	%ecx, %rax
	.p2align 4,,10
	.p2align 3
.L7:
	movl	%eax, %ecx
	subq	$1, %rax
	cmpl	$1, 4(%rbx,%rax,4)
	jle	.L7
	movl	$1, %r11d
.L6:
	cmpl	%ecx, %r8d
	jg	.L8
	subl	$1, %esi
	movslq	%ecx, %rax
	addl	$1, %r10d
	movl	%esi, 16(%rsp,%rdi,4)
	subl	$1, 16(%rsp,%rax,4)
	movl	16(%rsp,%rdi,4), %esi
	movl	16(%rsp,%rax,4), %r9d
	cmpl	$1, %esi
	jg	.L19
.L5:
	addl	$1, %r8d
	movslq	%r8d, %rdi
	jmp	.L4
.L8:
	testb	%r11b, %r11b
	je	.L10
	movl	%ecx, 12(%rsp)
.L10:
	addl	%r10d, %r10d
	xorl	%eax, %eax
	movq	%r12, %rsi
	movl	$1, %edi
	subl	%r10d, %edx
	call	__printf_chk@PLT
	movq	560024(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L20
	addq	$560040, %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
.L20:
	.cfi_restore_state
	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:
```

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"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.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	-557056(%rsp), %r11
	.cfi_def_cfa 11, 557096
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$2984, %rsp
	.cfi_def_cfa_offset 560080
	leaq	.LC0(%rip), %r12
	movq	%r12, %rdi
	movq	%fs:40, %rax
	movq	%rax, 560024(%rsp)
	xorl	%eax, %eax
	leaq	8(%rsp), %rsi
	leaq	16(%rsp), %rbx
	call	__isoc99_scanf@PLT
	movl	$400004, %edx
	xorl	%esi, %esi
	movq	%rbx, %rdi
	call	memset@PLT
	movl	8(%rsp), %edx
	testl	%edx, %edx
	jle	.L2
	xorl	%ebp, %ebp
	leaq	12(%rsp), %r13
	.p2align 4,,10
	.p2align 3
.L3:
	movq	%r13, %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	addl	$1, %ebp
	call	__isoc99_scanf@PLT
	movslq	12(%rsp), %rax
	movl	8(%rsp), %edx
	addl	$1, 16(%rsp,%rax,4)
	cmpl	%ebp, %edx
	jg	.L3
.L2:
	movl	$100000, 12(%rsp)
	xorl	%r11d, %r11d
	xorl	%r10d, %r10d
	xorl	%edi, %edi
	movl	$100000, %ecx
	xorl	%r8d, %r8d
	movl	$100000, %eax
	.p2align 4,,10
	.p2align 3
.L4:
	movl	16(%rsp,%rdi,4), %esi
	movl	16(%rsp,%rax,4), %r9d
	cmpl	$1, %esi
	jle	.L5
.L19:
	cmpl	$1, %r9d
	jg	.L6
	subl	$1, %ecx
	movslq	%ecx, %rax
	.p2align 4,,10
	.p2align 3
.L7:
	movl	%eax, %ecx
	subq	$1, %rax
	cmpl	$1, 4(%rbx,%rax,4)
	jle	.L7
	movl	$1, %r11d
.L6:
	cmpl	%ecx, %r8d
	jg	.L8
	subl	$1, %esi
	movslq	%ecx, %rax
	addl	$1, %r10d
	movl	%esi, 16(%rsp,%rdi,4)
	subl	$1, 16(%rsp,%rax,4)
	movl	16(%rsp,%rdi,4), %esi
	movl	16(%rsp,%rax,4), %r9d
	cmpl	$1, %esi
	jg	.L19
.L5:
	addl	$1, %r8d
	movslq	%r8d, %rdi
	jmp	.L4
.L8:
	testb	%r11b, %r11b
	je	.L10
	movl	%ecx, 12(%rsp)
.L10:
	addl	%r10d, %r10d
	xorl	%eax, %eax
	movq	%r12, %rsi
	movl	$1, %edi
	subl	%r10d, %edx
	call	__printf_chk@PLT
	movq	560024(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L20
	addq	$560040, %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
.L20:
	.cfi_restore_state
	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
```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.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	-557056(%rsp), %r11
	.cfi_def_cfa 11, 557096
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$2984, %rsp
	.cfi_def_cfa_offset 560080
	leaq	.LC0(%rip), %r12
	movq	%r12, %rdi
	movq	%fs:40, %rax
	movq	%rax, 560024(%rsp)
	xorl	%eax, %eax
	leaq	8(%rsp), %rsi
	leaq	16(%rsp), %rbx
	call	__isoc99_scanf@PLT
	movl	$400004, %edx
	xorl	%esi, %esi
	movq	%rbx, %rdi
	call	memset@PLT
	movl	8(%rsp), %edx
	testl	%edx, %edx
	jle	.L2
	xorl	%ebp, %ebp
	leaq	12(%rsp), %r13
	.p2align 4,,10
	.p2align 3
.L3:
	movq	%r13, %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	addl	$1, %ebp
	call	__isoc99_scanf@PLT
	movslq	12(%rsp), %rax
	movl	8(%rsp), %edx
	addl	$1, 16(%rsp,%rax,4)
	cmpl	%ebp, %edx
	jg	.L3
.L2:
	movl	$100000, 12(%rsp)
	xorl	%r11d, %r11d
	xorl	%r10d, %r10d
	xorl	%edi, %edi
	movl	$100000, %ecx
	xorl	%r8d, %r8d
	movl	$100000, %eax
	.p2align 4,,10
	.p2align 3
.L4:
	movl	16(%rsp,%rdi,4), %esi
	movl	16(%rsp,%rax,4), %r9d
	cmpl	$1, %esi
	jle	.L5
.L19:
	cmpl	$1, %r9d
	jg	.L6
	subl	$1, %ecx
	movslq	%ecx, %rax
	.p2align 4,,10
	.p2align 3
.L7:
	movl	%eax, %ecx
	subq	$1, %rax
	cmpl	$1, 4(%rbx,%rax,4)
	jle	.L7
	movl	$1, %r11d
.L6:
	cmpl	%ecx, %r8d
	jg	.L8
	subl	$1, %esi
	movslq	%ecx, %rax
	addl	$1, %r10d
	movl	%esi, 16(%rsp,%rdi,4)
	subl	$1, 16(%rsp,%rax,4)
	movl	16(%rsp,%rdi,4), %esi
	movl	16(%rsp,%rax,4), %r9d
	cmpl	$1, %esi
	jg	.L19
.L5:
	addl	$1, %r8d
	movslq	%r8d, %rdi
	jmp	.L4
.L8:
	testb	%r11b, %r11b
	je	.L10
	movl	%ecx, 12(%rsp)
.L10:
	addl	%r10d, %r10d
	xorl	%eax, %eax
	movq	%r12, %rsi
	movl	$1, %edi
	subl	%r10d, %edx
	call	__printf_chk@PLT
	movq	560024(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L20
	addq	$560040, %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
.L20:
	.cfi_restore_state
	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:
```
```c
#include<stdio.h>
int main(){
  int n,i,j,k;
  int A[140000];//14万！？うせやろ？
  scanf("%d",&n);
  for(i=0;i<100001;i++)A[i]=0;
  for(i=0;i<n;i++){scanf("%d",&j);A[j]++;}
  k=i=0;j=100000;
  while(1){
    while(A[i]<2)i++;
    while(A[j]<2)j--;
    if(j<i)break;
    k++;A[i]--;A[j]--;
  }
  printf("%d",n-2*k);
}
```
Given the following C code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
#include<stdio.h>
int main(){
  int n,i,j,k;
  int A[140000];//14万！？うせやろ？
  scanf("%d",&n);
  for(i=0;i<100001;i++)A[i]=0;
  for(i=0;i<n;i++){scanf("%d",&j);A[j]++;}
  k=i=0;j=100000;
  while(1){
    while(A[i]<2)i++;
    while(A[j]<2)j--;
    if(j<i)break;
    k++;A[i]--;A[j]--;
  }
  printf("%d",n-2*k);
}
```

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 2 0 3 7
 15
1 3 5 2 1 3 2 0 8 6 2 6 11 1 1
 5
2 2 -1 9 16
 15
1 12 6 0 1 2 2 0 8 6 4 6 21 1 3
 15
1 2 9 -1 0 12 1 -1 1 11 -2 4 13 4 3
 5
-4 -4 0 0 0
 15
0 -4 1 8 0 1 -1 -25 49 -3 -35 -2 -8 2 -9
 5
1 2 0 3 11
 15
1 3 5 1 1 3 2 0 8 6 2 6 11 1 1
 5
1 2 0 3 18

5 7 3 9 11 3 14 5 7 5
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>
int main(){
  int n,i,j,k;
  int A[140000];//14万！？うせやろ？
  scanf("%d",&n);
  for(i=0;i<100001;i++)A[i]=0;
  for(i=0;i<n;i++){scanf("%d",&j);A[j]++;}
  k=i=0;j=100000;
  while(1){
    while(A[i]<2)i++;
    while(A[j]<2)j--;
    if(j<i)break;
    k++;A[i]--;A[j]--;
  }
  printf("%d",n-2*k);
}
```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.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	-557056(%rsp), %r11
	.cfi_def_cfa 11, 557096
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$2984, %rsp
	.cfi_def_cfa_offset 560080
	leaq	.LC0(%rip), %r12
	movq	%r12, %rdi
	movq	%fs:40, %rax
	movq	%rax, 560024(%rsp)
	xorl	%eax, %eax
	leaq	8(%rsp), %rsi
	leaq	16(%rsp), %rbx
	call	__isoc99_scanf@PLT
	movl	$400004, %edx
	xorl	%esi, %esi
	movq	%rbx, %rdi
	call	memset@PLT
	movl	8(%rsp), %edx
	testl	%edx, %edx
	jle	.L2
	xorl	%ebp, %ebp
	leaq	12(%rsp), %r13
	.p2align 4,,10
	.p2align 3
.L3:
	movq	%r13, %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	addl	$1, %ebp
	call	__isoc99_scanf@PLT
	movslq	12(%rsp), %rax
	movl	8(%rsp), %edx
	addl	$1, 16(%rsp,%rax,4)
	cmpl	%ebp, %edx
	jg	.L3
.L2:
	movl	$100000, 12(%rsp)
	xorl	%r11d, %r11d
	xorl	%r10d, %r10d
	xorl	%edi, %edi
	movl	$100000, %ecx
	xorl	%r8d, %r8d
	movl	$100000, %eax
	.p2align 4,,10
	.p2align 3
.L4:
	movl	16(%rsp,%rdi,4), %esi
	movl	16(%rsp,%rax,4), %r9d
	cmpl	$1, %esi
	jle	.L5
.L19:
	cmpl	$1, %r9d
	jg	.L6
	subl	$1, %ecx
	movslq	%ecx, %rax
	.p2align 4,,10
	.p2align 3
.L7:
	movl	%eax, %ecx
	subq	$1, %rax
	cmpl	$1, 4(%rbx,%rax,4)
	jle	.L7
	movl	$1, %r11d
.L6:
	cmpl	%ecx, %r8d
	jg	.L8
	subl	$1, %esi
	movslq	%ecx, %rax
	addl	$1, %r10d
	movl	%esi, 16(%rsp,%rdi,4)
	subl	$1, 16(%rsp,%rax,4)
	movl	16(%rsp,%rdi,4), %esi
	movl	16(%rsp,%rax,4), %r9d
	cmpl	$1, %esi
	jg	.L19
.L5:
	addl	$1, %r8d
	movslq	%r8d, %rdi
	jmp	.L4
.L8:
	testb	%r11b, %r11b
	je	.L10
	movl	%ecx, 12(%rsp)
.L10:
	addl	%r10d, %r10d
	xorl	%eax, %eax
	movq	%r12, %rsi
	movl	$1, %edi
	subl	%r10d, %edx
	call	__printf_chk@PLT
	movq	560024(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L20
	addq	$560040, %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
.L20:
	.cfi_restore_state
	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:
```

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"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.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	-557056(%rsp), %r11
	.cfi_def_cfa 11, 557096
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$2984, %rsp
	.cfi_def_cfa_offset 560080
	leaq	.LC0(%rip), %r12
	movq	%r12, %rdi
	movq	%fs:40, %rax
	movq	%rax, 560024(%rsp)
	xorl	%eax, %eax
	leaq	8(%rsp), %rsi
	leaq	16(%rsp), %rbx
	call	__isoc99_scanf@PLT
	movl	$400004, %edx
	xorl	%esi, %esi
	movq	%rbx, %rdi
	call	memset@PLT
	movl	8(%rsp), %edx
	testl	%edx, %edx
	jle	.L2
	xorl	%ebp, %ebp
	leaq	12(%rsp), %r13
	.p2align 4,,10
	.p2align 3
.L3:
	movq	%r13, %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	addl	$1, %ebp
	call	__isoc99_scanf@PLT
	movslq	12(%rsp), %rax
	movl	8(%rsp), %edx
	addl	$1, 16(%rsp,%rax,4)
	cmpl	%ebp, %edx
	jg	.L3
.L2:
	movl	$100000, 12(%rsp)
	xorl	%r11d, %r11d
	xorl	%r10d, %r10d
	xorl	%edi, %edi
	movl	$100000, %ecx
	xorl	%r8d, %r8d
	movl	$100000, %eax
	.p2align 4,,10
	.p2align 3
.L4:
	movl	16(%rsp,%rdi,4), %esi
	movl	16(%rsp,%rax,4), %r9d
	cmpl	$1, %esi
	jle	.L5
.L19:
	cmpl	$1, %r9d
	jg	.L6
	subl	$1, %ecx
	movslq	%ecx, %rax
	.p2align 4,,10
	.p2align 3
.L7:
	movl	%eax, %ecx
	subq	$1, %rax
	cmpl	$1, 4(%rbx,%rax,4)
	jle	.L7
	movl	$1, %r11d
.L6:
	cmpl	%ecx, %r8d
	jg	.L8
	subl	$1, %esi
	movslq	%ecx, %rax
	addl	$1, %r10d
	movl	%esi, 16(%rsp,%rdi,4)
	subl	$1, 16(%rsp,%rax,4)
	movl	16(%rsp,%rdi,4), %esi
	movl	16(%rsp,%rax,4), %r9d
	cmpl	$1, %esi
	jg	.L19
.L5:
	addl	$1, %r8d
	movslq	%r8d, %rdi
	jmp	.L4
.L8:
	testb	%r11b, %r11b
	je	.L10
	movl	%ecx, 12(%rsp)
.L10:
	addl	%r10d, %r10d
	xorl	%eax, %eax
	movq	%r12, %rsi
	movl	$1, %edi
	subl	%r10d, %edx
	call	__printf_chk@PLT
	movq	560024(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L20
	addq	$560040, %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
.L20:
	.cfi_restore_state
	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:
```