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

```c
main(n){
	for(;scanf("%d",&n)*n;){
		int p[201]={0};//J[hÌLÒ(0=Ôq,1=¾Y,2=ê)
		int m[]={n,n};
		int i,c,t=1;
		for(i=n;i--;){
			scanf("%d",&c);
			p[c]=1;
		}
		for(i=1;;){
			if(p[i]==t){
				//J[hðêÉo·
				p[i]=2;
				if(--m[t]==0){
					printf("%d\n%d\n",m[0],m[1]);
					break;
				}
				t^=1;
			}
			if(++i>2*n){
				//pX
				i=1;
				t^=1;
			}
		}
	}
}```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"%d\n%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
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	leaq	.LC1(%rip), %r12
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	leaq	.LC0(%rip), %rbx
	subq	$848, %rsp
	.cfi_def_cfa_offset 896
	movl	%edi, 12(%rsp)
	leaq	12(%rsp), %rbp
	movq	%fs:40, %rax
	movq	%rax, 840(%rsp)
	xorl	%eax, %eax
	.p2align 4,,10
	.p2align 3
.L2:
	movq	%rbp, %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	call	scanf@PLT
	movl	12(%rsp), %r13d
	imull	%r13d, %eax
	movd	%r13d, %xmm1
	pshufd	$0xe0, %xmm1, %xmm0
	testl	%eax, %eax
	je	.L15
	leaq	32(%rsp), %rdi
	movl	$100, %ecx
	xorl	%eax, %eax
	movq	%xmm0, 24(%rsp)
	rep stosq
	movl	$0, (%rdi)
	testl	%r13d, %r13d
	je	.L11
	leaq	20(%rsp), %r14
	.p2align 4,,10
	.p2align 3
.L4:
	movq	%r14, %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	call	scanf@PLT
	movslq	20(%rsp), %rax
	movl	$1, 32(%rsp,%rax,4)
	subl	$1, %r13d
	jne	.L4
	movl	12(%rsp), %r13d
	movl	36(%rsp), %esi
.L3:
	leal	(%r13,%r13), %ecx
	movl	$1, %edx
	movl	$1, %eax
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L6:
	addl	$1, %eax
	cmpl	%eax, %ecx
	jge	.L8
	xorl	$1, %edx
	movl	$1, %eax
.L8:
	movslq	%eax, %rsi
	movl	32(%rsp,%rsi,4), %esi
.L5:
	cmpl	%esi, %edx
	jne	.L6
	movslq	%edx, %rdi
	movslq	%eax, %rsi
	subl	$1, 24(%rsp,%rdi,4)
	movl	$2, 32(%rsp,%rsi,4)
	je	.L16
	xorl	$1, %edx
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L16:
	movl	28(%rsp), %edx
	movl	24(%rsp), %esi
	movq	%r12, %rdi
	xorl	%eax, %eax
	call	printf@PLT
	jmp	.L2
.L15:
	movq	840(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L17
	addq	$848, %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
.L11:
	.cfi_restore_state
	xorl	%esi, %esi
	jmp	.L3
.L17:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.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"
.LC1:
	.string	"%d\n%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
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	leaq	.LC1(%rip), %r12
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	leaq	.LC0(%rip), %rbx
	subq	$848, %rsp
	.cfi_def_cfa_offset 896
	movl	%edi, 12(%rsp)
	leaq	12(%rsp), %rbp
	movq	%fs:40, %rax
	movq	%rax, 840(%rsp)
	xorl	%eax, %eax
	.p2align 4,,10
	.p2align 3
.L2:
	movq	%rbp, %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	call	scanf@PLT
	movl	12(%rsp), %r13d
	imull	%r13d, %eax
	movd	%r13d, %xmm1
	pshufd	$0xe0, %xmm1, %xmm0
	testl	%eax, %eax
	je	.L15
	leaq	32(%rsp), %rdi
	movl	$100, %ecx
	xorl	%eax, %eax
	movq	%xmm0, 24(%rsp)
	rep stosq
	movl	$0, (%rdi)
	testl	%r13d, %r13d
	je	.L11
	leaq	20(%rsp), %r14
	.p2align 4,,10
	.p2align 3
.L4:
	movq	%r14, %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	call	scanf@PLT
	movslq	20(%rsp), %rax
	movl	$1, 32(%rsp,%rax,4)
	subl	$1, %r13d
	jne	.L4
	movl	12(%rsp), %r13d
	movl	36(%rsp), %esi
.L3:
	leal	(%r13,%r13), %ecx
	movl	$1, %edx
	movl	$1, %eax
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L6:
	addl	$1, %eax
	cmpl	%eax, %ecx
	jge	.L8
	xorl	$1, %edx
	movl	$1, %eax
.L8:
	movslq	%eax, %rsi
	movl	32(%rsp,%rsi,4), %esi
.L5:
	cmpl	%esi, %edx
	jne	.L6
	movslq	%edx, %rdi
	movslq	%eax, %rsi
	subl	$1, 24(%rsp,%rdi,4)
	movl	$2, 32(%rsp,%rsi,4)
	je	.L16
	xorl	$1, %edx
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L16:
	movl	28(%rsp), %edx
	movl	24(%rsp), %esi
	movq	%r12, %rdi
	xorl	%eax, %eax
	call	printf@PLT
	jmp	.L2
.L15:
	movq	840(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L17
	addq	$848, %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
.L11:
	.cfi_restore_state
	xorl	%esi, %esi
	jmp	.L3
.L17:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.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"
.LC1:
	.string	"%d\n%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
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	leaq	.LC1(%rip), %r12
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	leaq	.LC0(%rip), %rbx
	subq	$848, %rsp
	.cfi_def_cfa_offset 896
	movl	%edi, 12(%rsp)
	leaq	12(%rsp), %rbp
	movq	%fs:40, %rax
	movq	%rax, 840(%rsp)
	xorl	%eax, %eax
	.p2align 4,,10
	.p2align 3
.L2:
	movq	%rbp, %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	call	scanf@PLT
	movl	12(%rsp), %r13d
	imull	%r13d, %eax
	movd	%r13d, %xmm1
	pshufd	$0xe0, %xmm1, %xmm0
	testl	%eax, %eax
	je	.L15
	leaq	32(%rsp), %rdi
	movl	$100, %ecx
	xorl	%eax, %eax
	movq	%xmm0, 24(%rsp)
	rep stosq
	movl	$0, (%rdi)
	testl	%r13d, %r13d
	je	.L11
	leaq	20(%rsp), %r14
	.p2align 4,,10
	.p2align 3
.L4:
	movq	%r14, %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	call	scanf@PLT
	movslq	20(%rsp), %rax
	movl	$1, 32(%rsp,%rax,4)
	subl	$1, %r13d
	jne	.L4
	movl	12(%rsp), %r13d
	movl	36(%rsp), %esi
.L3:
	leal	(%r13,%r13), %ecx
	movl	$1, %edx
	movl	$1, %eax
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L6:
	addl	$1, %eax
	cmpl	%eax, %ecx
	jge	.L8
	xorl	$1, %edx
	movl	$1, %eax
.L8:
	movslq	%eax, %rsi
	movl	32(%rsp,%rsi,4), %esi
.L5:
	cmpl	%esi, %edx
	jne	.L6
	movslq	%edx, %rdi
	movslq	%eax, %rsi
	subl	$1, 24(%rsp,%rdi,4)
	movl	$2, 32(%rsp,%rsi,4)
	je	.L16
	xorl	$1, %edx
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L16:
	movl	28(%rsp), %edx
	movl	24(%rsp), %esi
	movq	%r12, %rdi
	xorl	%eax, %eax
	call	printf@PLT
	jmp	.L2
.L15:
	movq	840(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L17
	addq	$848, %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
.L11:
	.cfi_restore_state
	xorl	%esi, %esi
	jmp	.L3
.L17:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.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
main(n){
	for(;scanf("%d",&n)*n;){
		int p[201]={0};//J[hÌLÒ(0=Ôq,1=¾Y,2=ê)
		int m[]={n,n};
		int i,c,t=1;
		for(i=n;i--;){
			scanf("%d",&c);
			p[c]=1;
		}
		for(i=1;;){
			if(p[i]==t){
				//J[hðêÉo·
				p[i]=2;
				if(--m[t]==0){
					printf("%d\n%d\n",m[0],m[1]);
					break;
				}
				t^=1;
			}
			if(++i>2*n){
				//pX
				i=1;
				t^=1;
			}
		}
	}
}```
Given the following C code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
main(n){
	for(;scanf("%d",&n)*n;){
		int p[201]={0};//J[hÌLÒ(0=Ôq,1=¾Y,2=ê)
		int m[]={n,n};
		int i,c,t=1;
		for(i=n;i--;){
			scanf("%d",&c);
			p[c]=1;
		}
		for(i=1;;){
			if(p[i]==t){
				//J[hðêÉo·
				p[i]=2;
				if(--m[t]==0){
					printf("%d\n%d\n",m[0],m[1]);
					break;
				}
				t^=1;
			}
			if(++i>2*n){
				//pX
				i=1;
				t^=1;
			}
		}
	}
}```

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
7
9
6
10
10
8
7
14
18
2
11
3
17
5
19
0
 5
1
7
9
6
5
10
8
7
14
18
4
11
6
17
5
19
0
 5
1
7
9
6
10
10
4
7
14
18
2
11
3
17
5
19
0
 5
1
7
9
6
5
10
8
7
13
18
1
11
6
17
5
19
0
 5
1
7
9
6
10
10
8
7
14
18
2
11
3
1
5
19
0
 5
1
2
9
6
10
10
8
7
14
18
4
11
6
17
5
19
0
 5
1
7
9
6
10
10
8
7
14
18
2
17
3
1
5
19
0
 5
2
7
9
6
8
10
8
7
14
18
2
17
3
1
5
19
0
 5
1
7
9
6
5
10
8
7
13
18
1
11
6
16
5
19
0
 5
1
7
9
6
4
10
10
7
13
18
1
11
12
17
5
19
0

3
0
1
0
 1
0
1
0
 3
0
2
0
 1
0
2
0
 3
0
0
2
 2
0
1
0
 3
0
0
1
 2
0
0
1
 1
0
0
1
 0
1
2
0

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

```c
main(n){
	for(;scanf("%d",&n)*n;){
		int p[201]={0};//J[hÌLÒ(0=Ôq,1=¾Y,2=ê)
		int m[]={n,n};
		int i,c,t=1;
		for(i=n;i--;){
			scanf("%d",&c);
			p[c]=1;
		}
		for(i=1;;){
			if(p[i]==t){
				//J[hðêÉo·
				p[i]=2;
				if(--m[t]==0){
					printf("%d\n%d\n",m[0],m[1]);
					break;
				}
				t^=1;
			}
			if(++i>2*n){
				//pX
				i=1;
				t^=1;
			}
		}
	}
}```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"%d\n%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
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	leaq	.LC1(%rip), %r12
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	leaq	.LC0(%rip), %rbx
	subq	$848, %rsp
	.cfi_def_cfa_offset 896
	movl	%edi, 12(%rsp)
	leaq	12(%rsp), %rbp
	movq	%fs:40, %rax
	movq	%rax, 840(%rsp)
	xorl	%eax, %eax
	.p2align 4,,10
	.p2align 3
.L2:
	movq	%rbp, %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	call	scanf@PLT
	movl	12(%rsp), %r13d
	imull	%r13d, %eax
	movd	%r13d, %xmm1
	pshufd	$0xe0, %xmm1, %xmm0
	testl	%eax, %eax
	je	.L15
	leaq	32(%rsp), %rdi
	movl	$100, %ecx
	xorl	%eax, %eax
	movq	%xmm0, 24(%rsp)
	rep stosq
	movl	$0, (%rdi)
	testl	%r13d, %r13d
	je	.L11
	leaq	20(%rsp), %r14
	.p2align 4,,10
	.p2align 3
.L4:
	movq	%r14, %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	call	scanf@PLT
	movslq	20(%rsp), %rax
	movl	$1, 32(%rsp,%rax,4)
	subl	$1, %r13d
	jne	.L4
	movl	12(%rsp), %r13d
	movl	36(%rsp), %esi
.L3:
	leal	(%r13,%r13), %ecx
	movl	$1, %edx
	movl	$1, %eax
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L6:
	addl	$1, %eax
	cmpl	%eax, %ecx
	jge	.L8
	xorl	$1, %edx
	movl	$1, %eax
.L8:
	movslq	%eax, %rsi
	movl	32(%rsp,%rsi,4), %esi
.L5:
	cmpl	%esi, %edx
	jne	.L6
	movslq	%edx, %rdi
	movslq	%eax, %rsi
	subl	$1, 24(%rsp,%rdi,4)
	movl	$2, 32(%rsp,%rsi,4)
	je	.L16
	xorl	$1, %edx
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L16:
	movl	28(%rsp), %edx
	movl	24(%rsp), %esi
	movq	%r12, %rdi
	xorl	%eax, %eax
	call	printf@PLT
	jmp	.L2
.L15:
	movq	840(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L17
	addq	$848, %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
.L11:
	.cfi_restore_state
	xorl	%esi, %esi
	jmp	.L3
.L17:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.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"
.LC1:
	.string	"%d\n%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
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	leaq	.LC1(%rip), %r12
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	leaq	.LC0(%rip), %rbx
	subq	$848, %rsp
	.cfi_def_cfa_offset 896
	movl	%edi, 12(%rsp)
	leaq	12(%rsp), %rbp
	movq	%fs:40, %rax
	movq	%rax, 840(%rsp)
	xorl	%eax, %eax
	.p2align 4,,10
	.p2align 3
.L2:
	movq	%rbp, %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	call	scanf@PLT
	movl	12(%rsp), %r13d
	imull	%r13d, %eax
	movd	%r13d, %xmm1
	pshufd	$0xe0, %xmm1, %xmm0
	testl	%eax, %eax
	je	.L15
	leaq	32(%rsp), %rdi
	movl	$100, %ecx
	xorl	%eax, %eax
	movq	%xmm0, 24(%rsp)
	rep stosq
	movl	$0, (%rdi)
	testl	%r13d, %r13d
	je	.L11
	leaq	20(%rsp), %r14
	.p2align 4,,10
	.p2align 3
.L4:
	movq	%r14, %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	call	scanf@PLT
	movslq	20(%rsp), %rax
	movl	$1, 32(%rsp,%rax,4)
	subl	$1, %r13d
	jne	.L4
	movl	12(%rsp), %r13d
	movl	36(%rsp), %esi
.L3:
	leal	(%r13,%r13), %ecx
	movl	$1, %edx
	movl	$1, %eax
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L6:
	addl	$1, %eax
	cmpl	%eax, %ecx
	jge	.L8
	xorl	$1, %edx
	movl	$1, %eax
.L8:
	movslq	%eax, %rsi
	movl	32(%rsp,%rsi,4), %esi
.L5:
	cmpl	%esi, %edx
	jne	.L6
	movslq	%edx, %rdi
	movslq	%eax, %rsi
	subl	$1, 24(%rsp,%rdi,4)
	movl	$2, 32(%rsp,%rsi,4)
	je	.L16
	xorl	$1, %edx
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L16:
	movl	28(%rsp), %edx
	movl	24(%rsp), %esi
	movq	%r12, %rdi
	xorl	%eax, %eax
	call	printf@PLT
	jmp	.L2
.L15:
	movq	840(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L17
	addq	$848, %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
.L11:
	.cfi_restore_state
	xorl	%esi, %esi
	jmp	.L3
.L17:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.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:
```