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(void){
	while(1){
		int n, i;
		long a[100], key;
	
		scanf(" %d", &n);
		if(n==0) break;
		
		for(i=0; i<n; i++) scanf(" %ld", &a[i]);
		scanf(" %ld", &key);
	
		int left=0, right=n-1;
		int count = 0;
		
		while(left <= right){
			++count;
		
			int p = (left+right)/2;
			if(a[p] > key) {
				right = p-1;
			}
			else if(a[p] < key) {
				left = p+1;
			}
			else break;
			
			//printf("%d~%d ;%d\n",left,right, p);
		}
	
		printf("%d\n", count);
	
	}

	return 0;
}```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	" %d"
.LC1:
	.string	" %ld"
.LC2:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	leaq	.LC0(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	leaq	.LC1(%rip), %rbx
	subq	$840, %rsp
	.cfi_def_cfa_offset 896
	movq	%fs:40, %rax
	movq	%rax, 824(%rsp)
	xorl	%eax, %eax
	leaq	4(%rsp), %r12
	leaq	8(%rsp), %r14
	.p2align 4,,10
	.p2align 3
.L9:
	movq	%r12, %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	4(%rsp), %eax
	testl	%eax, %eax
	je	.L2
	jle	.L3
	leaq	16(%rsp), %r13
	xorl	%r15d, %r15d
	.p2align 4,,10
	.p2align 3
.L4:
	movq	%r13, %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	addl	$1, %r15d
	call	__isoc99_scanf@PLT
	addq	$8, %r13
	cmpl	%r15d, 4(%rsp)
	jg	.L4
.L3:
	movq	%r14, %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	4(%rsp), %edx
	subl	$1, %edx
	js	.L11
	movq	8(%rsp), %rdi
	xorl	%r8d, %r8d
	xorl	%ecx, %ecx
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L17:
	leal	-1(%rax), %edx
	cmpl	%ecx, %edx
	jl	.L5
.L8:
	leal	(%rcx,%rdx), %eax
	addl	$1, %r8d
	sarl	%eax
	movslq	%eax, %rsi
	cmpq	%rdi, 16(%rsp,%rsi,8)
	jg	.L17
	jge	.L5
	leal	1(%rax), %ecx
	cmpl	%ecx, %edx
	jge	.L8
.L5:
	movl	%r8d, %edx
	leaq	.LC2(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L2:
	movq	824(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L18
	addq	$840, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
.L11:
	.cfi_restore_state
	xorl	%r8d, %r8d
	jmp	.L5
.L18:
	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"
.LC1:
	.string	" %ld"
.LC2:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	leaq	.LC0(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	leaq	.LC1(%rip), %rbx
	subq	$840, %rsp
	.cfi_def_cfa_offset 896
	movq	%fs:40, %rax
	movq	%rax, 824(%rsp)
	xorl	%eax, %eax
	leaq	4(%rsp), %r12
	leaq	8(%rsp), %r14
	.p2align 4,,10
	.p2align 3
.L9:
	movq	%r12, %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	4(%rsp), %eax
	testl	%eax, %eax
	je	.L2
	jle	.L3
	leaq	16(%rsp), %r13
	xorl	%r15d, %r15d
	.p2align 4,,10
	.p2align 3
.L4:
	movq	%r13, %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	addl	$1, %r15d
	call	__isoc99_scanf@PLT
	addq	$8, %r13
	cmpl	%r15d, 4(%rsp)
	jg	.L4
.L3:
	movq	%r14, %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	4(%rsp), %edx
	subl	$1, %edx
	js	.L11
	movq	8(%rsp), %rdi
	xorl	%r8d, %r8d
	xorl	%ecx, %ecx
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L17:
	leal	-1(%rax), %edx
	cmpl	%ecx, %edx
	jl	.L5
.L8:
	leal	(%rcx,%rdx), %eax
	addl	$1, %r8d
	sarl	%eax
	movslq	%eax, %rsi
	cmpq	%rdi, 16(%rsp,%rsi,8)
	jg	.L17
	jge	.L5
	leal	1(%rax), %ecx
	cmpl	%ecx, %edx
	jge	.L8
.L5:
	movl	%r8d, %edx
	leaq	.LC2(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L2:
	movq	824(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L18
	addq	$840, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
.L11:
	.cfi_restore_state
	xorl	%r8d, %r8d
	jmp	.L5
.L18:
	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"
.LC1:
	.string	" %ld"
.LC2:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	leaq	.LC0(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	leaq	.LC1(%rip), %rbx
	subq	$840, %rsp
	.cfi_def_cfa_offset 896
	movq	%fs:40, %rax
	movq	%rax, 824(%rsp)
	xorl	%eax, %eax
	leaq	4(%rsp), %r12
	leaq	8(%rsp), %r14
	.p2align 4,,10
	.p2align 3
.L9:
	movq	%r12, %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	4(%rsp), %eax
	testl	%eax, %eax
	je	.L2
	jle	.L3
	leaq	16(%rsp), %r13
	xorl	%r15d, %r15d
	.p2align 4,,10
	.p2align 3
.L4:
	movq	%r13, %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	addl	$1, %r15d
	call	__isoc99_scanf@PLT
	addq	$8, %r13
	cmpl	%r15d, 4(%rsp)
	jg	.L4
.L3:
	movq	%r14, %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	4(%rsp), %edx
	subl	$1, %edx
	js	.L11
	movq	8(%rsp), %rdi
	xorl	%r8d, %r8d
	xorl	%ecx, %ecx
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L17:
	leal	-1(%rax), %edx
	cmpl	%ecx, %edx
	jl	.L5
.L8:
	leal	(%rcx,%rdx), %eax
	addl	$1, %r8d
	sarl	%eax
	movslq	%eax, %rsi
	cmpq	%rdi, 16(%rsp,%rsi,8)
	jg	.L17
	jge	.L5
	leal	1(%rax), %ecx
	cmpl	%ecx, %edx
	jge	.L8
.L5:
	movl	%r8d, %edx
	leaq	.LC2(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L2:
	movq	824(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L18
	addq	$840, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
.L11:
	.cfi_restore_state
	xorl	%r8d, %r8d
	jmp	.L5
.L18:
	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(void){
	while(1){
		int n, i;
		long a[100], key;
	
		scanf(" %d", &n);
		if(n==0) break;
		
		for(i=0; i<n; i++) scanf(" %ld", &a[i]);
		scanf(" %ld", &key);
	
		int left=0, right=n-1;
		int count = 0;
		
		while(left <= right){
			++count;
		
			int p = (left+right)/2;
			if(a[p] > key) {
				right = p-1;
			}
			else if(a[p] < key) {
				left = p+1;
			}
			else break;
			
			//printf("%d~%d ;%d\n",left,right, p);
		}
	
		printf("%d\n", count);
	
	}

	return 0;
}```
Given the following C code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
#include <stdio.h>

int main(void){
	while(1){
		int n, i;
		long a[100], key;
	
		scanf(" %d", &n);
		if(n==0) break;
		
		for(i=0; i<n; i++) scanf(" %ld", &a[i]);
		scanf(" %ld", &key);
	
		int left=0, right=n-1;
		int count = 0;
		
		while(left <= right){
			++count;
		
			int p = (left+right)/2;
			if(a[p] > key) {
				right = p-1;
			}
			else if(a[p] < key) {
				left = p+1;
			}
			else break;
			
			//printf("%d~%d ;%d\n",left,right, p);
		}
	
		printf("%d\n", count);
	
	}

	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:

7
11
15
0
36
51
61
86
51
4
1
2
3
5
4
0
 7
11
15
0
42
51
61
86
51
4
1
2
4
5
4
0
 7
11
8
-2
53
51
17
109
42
4
1
0
3
1
0
0
 7
11
15
0
42
51
61
86
61
4
1
2
4
5
4
0
 7
11
8
-2
53
51
1
109
42
0
1
0
3
1
0
0
 7
0
15
0
42
51
61
48
61
0
1
3
4
5
4
0
 7
11
15
0
42
51
61
86
51
4
1
2
3
5
4
0
 7
11
20
0
42
51
61
86
51
4
1
2
4
5
4
0
 7
11
20
0
42
51
61
86
51
4
1
1
4
5
4
0
 7
11
15
23
36
51
61
86
51
4
1
2
3
7
4
0

3
3
 3
2
 3
1
 2
2
 3
 2
 3
3
 3
2
 3
2
 3
3

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(void){
	while(1){
		int n, i;
		long a[100], key;
	
		scanf(" %d", &n);
		if(n==0) break;
		
		for(i=0; i<n; i++) scanf(" %ld", &a[i]);
		scanf(" %ld", &key);
	
		int left=0, right=n-1;
		int count = 0;
		
		while(left <= right){
			++count;
		
			int p = (left+right)/2;
			if(a[p] > key) {
				right = p-1;
			}
			else if(a[p] < key) {
				left = p+1;
			}
			else break;
			
			//printf("%d~%d ;%d\n",left,right, p);
		}
	
		printf("%d\n", count);
	
	}

	return 0;
}```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	" %d"
.LC1:
	.string	" %ld"
.LC2:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	leaq	.LC0(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	leaq	.LC1(%rip), %rbx
	subq	$840, %rsp
	.cfi_def_cfa_offset 896
	movq	%fs:40, %rax
	movq	%rax, 824(%rsp)
	xorl	%eax, %eax
	leaq	4(%rsp), %r12
	leaq	8(%rsp), %r14
	.p2align 4,,10
	.p2align 3
.L9:
	movq	%r12, %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	4(%rsp), %eax
	testl	%eax, %eax
	je	.L2
	jle	.L3
	leaq	16(%rsp), %r13
	xorl	%r15d, %r15d
	.p2align 4,,10
	.p2align 3
.L4:
	movq	%r13, %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	addl	$1, %r15d
	call	__isoc99_scanf@PLT
	addq	$8, %r13
	cmpl	%r15d, 4(%rsp)
	jg	.L4
.L3:
	movq	%r14, %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	4(%rsp), %edx
	subl	$1, %edx
	js	.L11
	movq	8(%rsp), %rdi
	xorl	%r8d, %r8d
	xorl	%ecx, %ecx
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L17:
	leal	-1(%rax), %edx
	cmpl	%ecx, %edx
	jl	.L5
.L8:
	leal	(%rcx,%rdx), %eax
	addl	$1, %r8d
	sarl	%eax
	movslq	%eax, %rsi
	cmpq	%rdi, 16(%rsp,%rsi,8)
	jg	.L17
	jge	.L5
	leal	1(%rax), %ecx
	cmpl	%ecx, %edx
	jge	.L8
.L5:
	movl	%r8d, %edx
	leaq	.LC2(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L2:
	movq	824(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L18
	addq	$840, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
.L11:
	.cfi_restore_state
	xorl	%r8d, %r8d
	jmp	.L5
.L18:
	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"
.LC1:
	.string	" %ld"
.LC2:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	leaq	.LC0(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	leaq	.LC1(%rip), %rbx
	subq	$840, %rsp
	.cfi_def_cfa_offset 896
	movq	%fs:40, %rax
	movq	%rax, 824(%rsp)
	xorl	%eax, %eax
	leaq	4(%rsp), %r12
	leaq	8(%rsp), %r14
	.p2align 4,,10
	.p2align 3
.L9:
	movq	%r12, %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	4(%rsp), %eax
	testl	%eax, %eax
	je	.L2
	jle	.L3
	leaq	16(%rsp), %r13
	xorl	%r15d, %r15d
	.p2align 4,,10
	.p2align 3
.L4:
	movq	%r13, %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	addl	$1, %r15d
	call	__isoc99_scanf@PLT
	addq	$8, %r13
	cmpl	%r15d, 4(%rsp)
	jg	.L4
.L3:
	movq	%r14, %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	4(%rsp), %edx
	subl	$1, %edx
	js	.L11
	movq	8(%rsp), %rdi
	xorl	%r8d, %r8d
	xorl	%ecx, %ecx
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L17:
	leal	-1(%rax), %edx
	cmpl	%ecx, %edx
	jl	.L5
.L8:
	leal	(%rcx,%rdx), %eax
	addl	$1, %r8d
	sarl	%eax
	movslq	%eax, %rsi
	cmpq	%rdi, 16(%rsp,%rsi,8)
	jg	.L17
	jge	.L5
	leal	1(%rax), %ecx
	cmpl	%ecx, %edx
	jge	.L8
.L5:
	movl	%r8d, %edx
	leaq	.LC2(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L2:
	movq	824(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L18
	addq	$840, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
.L11:
	.cfi_restore_state
	xorl	%r8d, %r8d
	jmp	.L5
.L18:
	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:
```