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

```c
#include<stdio.h>
const int MAX_V = 10000; // 1??????????????°??´???°??¨?????????
int prime[10000]; // 1???????´???°,0???????´???°????????°???????
int main(){
	int i, k, n;
	int border[10];
	for( i = 2; i <= MAX_V; i++) {
		prime[i] = 1; // 2??\?????°??´???°??¨??????
	}
	for(i = 2; i*i <= MAX_V; i++){
		if(prime[i]) {
			for(k = 2 * i; k <= MAX_V; k += i){
				prime[k] = 0; // ?´???°??°?2?????\?????°??????°??°??´???°????????°???????
			}
		}
	}
	while(1){
		scanf("%d", &n);
		if( n == 0) break;
		int max;
		for( i = n; i >= 2; i--){
			if( prime[i]){
				if( prime[i - 2]){
					max = i;
					break;
				}
			}
		}
		printf("%d %d\n", max -2, max);
	}
	return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	MAX_V
	.section	.rodata
	.align 4
	.type	MAX_V, @object
	.size	MAX_V, 4
MAX_V:
	.long	10000
	.globl	prime
	.bss
	.align 32
	.type	prime, @object
	.size	prime, 40000
prime:
	.zero	40000
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"%d %d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$64, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movl	$2, -60(%rbp)
	jmp	.L2
.L3:
	movl	-60(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	prime(%rip), %rax
	movl	$1, (%rdx,%rax)
	addl	$1, -60(%rbp)
.L2:
	movl	$10000, %eax
	cmpl	%eax, -60(%rbp)
	jle	.L3
	movl	$2, -60(%rbp)
	jmp	.L4
.L8:
	movl	-60(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	prime(%rip), %rax
	movl	(%rdx,%rax), %eax
	testl	%eax, %eax
	je	.L5
	movl	-60(%rbp), %eax
	addl	%eax, %eax
	movl	%eax, -56(%rbp)
	jmp	.L6
.L7:
	movl	-56(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	prime(%rip), %rax
	movl	$0, (%rdx,%rax)
	movl	-60(%rbp), %eax
	addl	%eax, -56(%rbp)
.L6:
	movl	$10000, %eax
	cmpl	%eax, -56(%rbp)
	jle	.L7
.L5:
	addl	$1, -60(%rbp)
.L4:
	movl	-60(%rbp), %eax
	imull	%eax, %eax
	movl	$10000, %edx
	cmpl	%edx, %eax
	jle	.L8
.L15:
	leaq	-64(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-64(%rbp), %eax
	testl	%eax, %eax
	je	.L19
	movl	-64(%rbp), %eax
	movl	%eax, -60(%rbp)
	jmp	.L11
.L14:
	movl	-60(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	prime(%rip), %rax
	movl	(%rdx,%rax), %eax
	testl	%eax, %eax
	je	.L12
	movl	-60(%rbp), %eax
	subl	$2, %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	prime(%rip), %rax
	movl	(%rdx,%rax), %eax
	testl	%eax, %eax
	je	.L12
	movl	-60(%rbp), %eax
	movl	%eax, -52(%rbp)
	jmp	.L13
.L12:
	subl	$1, -60(%rbp)
.L11:
	cmpl	$1, -60(%rbp)
	jg	.L14
.L13:
	movl	-52(%rbp), %eax
	leal	-2(%rax), %ecx
	movl	-52(%rbp), %eax
	movl	%eax, %edx
	movl	%ecx, %esi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	jmp	.L15
.L19:
	nop
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L17
	call	__stack_chk_fail@PLT
.L17:
	leave
	.cfi_def_cfa 7, 8
	ret
	.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.
user
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC2:
	.string	"%d"
.LC3:
	.string	"%d %d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.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
	subq	$16, %rsp
	.cfi_def_cfa_offset 64
	movdqa	.LC0(%rip), %xmm0
	movq	%fs:40, %rax
	movq	%rax, 8(%rsp)
	leaq	8+prime(%rip), %rax
	leaq	39984(%rax), %rdx
	.p2align 4,,10
	.p2align 3
.L2:
	movups	%xmm0, (%rax)
	addq	$16, %rax
	cmpq	%rdx, %rax
	jne	.L2
	movq	.LC1(%rip), %rax
	movl	$4, %edx
	movl	$1, 40000+prime(%rip)
	leaq	prime(%rip), %r14
	movq	%rax, 39992+prime(%rip)
	movl	$2, %eax
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L6:
	leal	1(%rsi), %ecx
	addq	$1, %rax
	addq	$2, %rdx
	imull	%ecx, %ecx
	cmpl	$10000, %ecx
	jg	.L22
	.p2align 4,,10
	.p2align 3
.L4:
	movl	(%r14,%rax,4), %edi
	movl	%eax, %esi
	testl	%edi, %edi
	je	.L6
	cmpq	$10000, %rdx
	ja	.L6
	movq	%rdx, %rcx
	.p2align 4,,10
	.p2align 3
.L7:
	movl	$0, (%r14,%rcx,4)
	addq	%rax, %rcx
	cmpl	$10000, %ecx
	jle	.L7
	jmp	.L6
.L22:
	leaq	4(%rsp), %r12
	leaq	.LC2(%rip), %rbp
	leaq	.LC3(%rip), %r13
	.p2align 4,,10
	.p2align 3
.L5:
	movq	%r12, %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movslq	4(%rsp), %rax
	testl	%eax, %eax
	jne	.L20
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L12:
	movl	(%r14,%rax,4), %esi
	testl	%esi, %esi
	je	.L10
	leal	-2(%rax), %edx
	movslq	%edx, %rcx
	movl	(%r14,%rcx,4), %ecx
	testl	%ecx, %ecx
	jne	.L14
.L10:
	subq	$1, %rax
.L20:
	cmpl	$1, %eax
	jg	.L12
	leal	-2(%rbx), %edx
.L11:
	movl	%ebx, %ecx
	movq	%r13, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L14:
	movl	%eax, %ebx
	jmp	.L11
.L8:
	movq	8(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L23
	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
.L23:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.globl	prime
	.bss
	.align 32
	.type	prime, @object
	.size	prime, 40000
prime:
	.zero	40000
	.globl	MAX_V
	.section	.rodata
	.align 4
	.type	MAX_V, @object
	.size	MAX_V, 4
MAX_V:
	.long	10000
	.section	.rodata.cst16,"aM",@progbits,16
	.align 16
.LC0:
	.long	1
	.long	1
	.long	1
	.long	1
	.set	.LC1,.LC0
	.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
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC2:
	.string	"%d"
.LC3:
	.string	"%d %d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.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
	subq	$16, %rsp
	.cfi_def_cfa_offset 64
	movdqa	.LC0(%rip), %xmm0
	movq	%fs:40, %rax
	movq	%rax, 8(%rsp)
	leaq	8+prime(%rip), %rax
	leaq	39984(%rax), %rdx
	.p2align 4,,10
	.p2align 3
.L2:
	movups	%xmm0, (%rax)
	addq	$16, %rax
	cmpq	%rdx, %rax
	jne	.L2
	movq	.LC1(%rip), %rax
	movl	$4, %edx
	movl	$1, 40000+prime(%rip)
	leaq	prime(%rip), %r14
	movq	%rax, 39992+prime(%rip)
	movl	$2, %eax
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L6:
	leal	1(%rsi), %ecx
	addq	$1, %rax
	addq	$2, %rdx
	imull	%ecx, %ecx
	cmpl	$10000, %ecx
	jg	.L22
	.p2align 4,,10
	.p2align 3
.L4:
	movl	(%r14,%rax,4), %edi
	movl	%eax, %esi
	testl	%edi, %edi
	je	.L6
	cmpq	$10000, %rdx
	ja	.L6
	movq	%rdx, %rcx
	.p2align 4,,10
	.p2align 3
.L7:
	movl	$0, (%r14,%rcx,4)
	addq	%rax, %rcx
	cmpl	$10000, %ecx
	jle	.L7
	jmp	.L6
.L22:
	leaq	4(%rsp), %r12
	leaq	.LC2(%rip), %rbp
	leaq	.LC3(%rip), %r13
	.p2align 4,,10
	.p2align 3
.L5:
	movq	%r12, %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movslq	4(%rsp), %rax
	testl	%eax, %eax
	jne	.L20
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L12:
	movl	(%r14,%rax,4), %esi
	testl	%esi, %esi
	je	.L10
	leal	-2(%rax), %edx
	movslq	%edx, %rcx
	movl	(%r14,%rcx,4), %ecx
	testl	%ecx, %ecx
	jne	.L14
.L10:
	subq	$1, %rax
.L20:
	cmpl	$1, %eax
	jg	.L12
	leal	-2(%rbx), %edx
.L11:
	movl	%ebx, %ecx
	movq	%r13, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L14:
	movl	%eax, %ebx
	jmp	.L11
.L8:
	movq	8(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L23
	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
.L23:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.globl	prime
	.bss
	.align 32
	.type	prime, @object
	.size	prime, 40000
prime:
	.zero	40000
	.globl	MAX_V
	.section	.rodata
	.align 4
	.type	MAX_V, @object
	.size	MAX_V, 4
MAX_V:
	.long	10000
	.section	.rodata.cst16,"aM",@progbits,16
	.align 16
.LC0:
	.long	1
	.long	1
	.long	1
	.long	1
	.set	.LC1,.LC0
	.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:

#include<stdio.h>
const int MAX_V = 10000; // 1??????????????°??´???°??¨?????????
int prime[10000]; // 1???????´???°,0???????´???°????????°???????
int main(){
	int i, k, n;
	int border[10];
	for( i = 2; i <= MAX_V; i++) {
		prime[i] = 1; // 2??\?????°??´???°??¨??????
	}
	for(i = 2; i*i <= MAX_V; i++){
		if(prime[i]) {
			for(k = 2 * i; k <= MAX_V; k += i){
				prime[k] = 0; // ?´???°??°?2?????\?????°??????°??°??´???°????????°???????
			}
		}
	}
	while(1){
		scanf("%d", &n);
		if( n == 0) break;
		int max;
		for( i = n; i >= 2; i--){
			if( prime[i]){
				if( prime[i - 2]){
					max = i;
					break;
				}
			}
		}
		printf("%d %d\n", max -2, max);
	}
	return 0;
}
12
110
200
300
0
 12
110
200
227
0
 12
110
200
329
0
 12
010
200
329
0
 12
010
169
329
0
 12
100
200
482
0
 12
110
200
87
0
 12
010
200
227
0
 12
110
200
239
0
 12
010
27
329
0

5 7
107 109
197 199
281 283
 5 7
107 109
197 199
197 199
 5 7
107 109
197 199
311 313
 5 7
5 7
197 199
311 313
 5 7
5 7
149 151
311 313
 5 7
71 73
197 199
461 463
 5 7
107 109
197 199
71 73
 5 7
5 7
197 199
197 199
 5 7
107 109
197 199
227 229
 5 7
5 7
17 19
311 313

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

```c
#include<stdio.h>
const int MAX_V = 10000; // 1??????????????°??´???°??¨?????????
int prime[10000]; // 1???????´???°,0???????´???°????????°???????
int main(){
	int i, k, n;
	int border[10];
	for( i = 2; i <= MAX_V; i++) {
		prime[i] = 1; // 2??\?????°??´???°??¨??????
	}
	for(i = 2; i*i <= MAX_V; i++){
		if(prime[i]) {
			for(k = 2 * i; k <= MAX_V; k += i){
				prime[k] = 0; // ?´???°??°?2?????\?????°??????°??°??´???°????????°???????
			}
		}
	}
	while(1){
		scanf("%d", &n);
		if( n == 0) break;
		int max;
		for( i = n; i >= 2; i--){
			if( prime[i]){
				if( prime[i - 2]){
					max = i;
					break;
				}
			}
		}
		printf("%d %d\n", max -2, max);
	}
	return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	MAX_V
	.section	.rodata
	.align 4
	.type	MAX_V, @object
	.size	MAX_V, 4
MAX_V:
	.long	10000
	.globl	prime
	.bss
	.align 32
	.type	prime, @object
	.size	prime, 40000
prime:
	.zero	40000
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"%d %d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$64, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movl	$2, -60(%rbp)
	jmp	.L2
.L3:
	movl	-60(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	prime(%rip), %rax
	movl	$1, (%rdx,%rax)
	addl	$1, -60(%rbp)
.L2:
	movl	$10000, %eax
	cmpl	%eax, -60(%rbp)
	jle	.L3
	movl	$2, -60(%rbp)
	jmp	.L4
.L8:
	movl	-60(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	prime(%rip), %rax
	movl	(%rdx,%rax), %eax
	testl	%eax, %eax
	je	.L5
	movl	-60(%rbp), %eax
	addl	%eax, %eax
	movl	%eax, -56(%rbp)
	jmp	.L6
.L7:
	movl	-56(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	prime(%rip), %rax
	movl	$0, (%rdx,%rax)
	movl	-60(%rbp), %eax
	addl	%eax, -56(%rbp)
.L6:
	movl	$10000, %eax
	cmpl	%eax, -56(%rbp)
	jle	.L7
.L5:
	addl	$1, -60(%rbp)
.L4:
	movl	-60(%rbp), %eax
	imull	%eax, %eax
	movl	$10000, %edx
	cmpl	%edx, %eax
	jle	.L8
.L15:
	leaq	-64(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-64(%rbp), %eax
	testl	%eax, %eax
	je	.L19
	movl	-64(%rbp), %eax
	movl	%eax, -60(%rbp)
	jmp	.L11
.L14:
	movl	-60(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	prime(%rip), %rax
	movl	(%rdx,%rax), %eax
	testl	%eax, %eax
	je	.L12
	movl	-60(%rbp), %eax
	subl	$2, %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	prime(%rip), %rax
	movl	(%rdx,%rax), %eax
	testl	%eax, %eax
	je	.L12
	movl	-60(%rbp), %eax
	movl	%eax, -52(%rbp)
	jmp	.L13
.L12:
	subl	$1, -60(%rbp)
.L11:
	cmpl	$1, -60(%rbp)
	jg	.L14
.L13:
	movl	-52(%rbp), %eax
	leal	-2(%rax), %ecx
	movl	-52(%rbp), %eax
	movl	%eax, %edx
	movl	%ecx, %esi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	jmp	.L15
.L19:
	nop
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L17
	call	__stack_chk_fail@PLT
.L17:
	leave
	.cfi_def_cfa 7, 8
	ret
	.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.
train
	.file	"temp.c"
	.text
	.globl	MAX_V
	.section	.rodata
	.align 4
	.type	MAX_V, @object
	.size	MAX_V, 4
MAX_V:
	.long	10000
	.globl	prime
	.bss
	.align 32
	.type	prime, @object
	.size	prime, 40000
prime:
	.zero	40000
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"%d %d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$64, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movl	$2, -60(%rbp)
	jmp	.L2
.L3:
	movl	-60(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	prime(%rip), %rax
	movl	$1, (%rdx,%rax)
	addl	$1, -60(%rbp)
.L2:
	movl	$10000, %eax
	cmpl	%eax, -60(%rbp)
	jle	.L3
	movl	$2, -60(%rbp)
	jmp	.L4
.L8:
	movl	-60(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	prime(%rip), %rax
	movl	(%rdx,%rax), %eax
	testl	%eax, %eax
	je	.L5
	movl	-60(%rbp), %eax
	addl	%eax, %eax
	movl	%eax, -56(%rbp)
	jmp	.L6
.L7:
	movl	-56(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	prime(%rip), %rax
	movl	$0, (%rdx,%rax)
	movl	-60(%rbp), %eax
	addl	%eax, -56(%rbp)
.L6:
	movl	$10000, %eax
	cmpl	%eax, -56(%rbp)
	jle	.L7
.L5:
	addl	$1, -60(%rbp)
.L4:
	movl	-60(%rbp), %eax
	imull	%eax, %eax
	movl	$10000, %edx
	cmpl	%edx, %eax
	jle	.L8
.L15:
	leaq	-64(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-64(%rbp), %eax
	testl	%eax, %eax
	je	.L19
	movl	-64(%rbp), %eax
	movl	%eax, -60(%rbp)
	jmp	.L11
.L14:
	movl	-60(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	prime(%rip), %rax
	movl	(%rdx,%rax), %eax
	testl	%eax, %eax
	je	.L12
	movl	-60(%rbp), %eax
	subl	$2, %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	prime(%rip), %rax
	movl	(%rdx,%rax), %eax
	testl	%eax, %eax
	je	.L12
	movl	-60(%rbp), %eax
	movl	%eax, -52(%rbp)
	jmp	.L13
.L12:
	subl	$1, -60(%rbp)
.L11:
	cmpl	$1, -60(%rbp)
	jg	.L14
.L13:
	movl	-52(%rbp), %eax
	leal	-2(%rax), %ecx
	movl	-52(%rbp), %eax
	movl	%eax, %edx
	movl	%ecx, %esi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	jmp	.L15
.L19:
	nop
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L17
	call	__stack_chk_fail@PLT
.L17:
	leave
	.cfi_def_cfa 7, 8
	ret
	.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:
