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>

#define MAX_PRIME	(123456 * 2)


int prime[MAX_PRIME + 1];

void make_prime(void)
{
    int i;
    int j;
    int n;
    int c;
    
    for (i = 2; i * i <= MAX_PRIME; i++){
        if (prime[i] == 0){
            for (j = i * 2; j <= MAX_PRIME; j += i){
				prime[j] = 1;
            }
        }
    }
}
	


int main(void)
{
	int n;
    int i;
	int count;
	
	make_prime();

    while (scanf("%d", &n) != EOF){
		
		count = 0;
		for (i = 2; i < n; i++){
			if (prime[i] == 0 && prime[n - i + 1] == 0){
				count++;
			}
		}
		printf("%d\n", count);
    }
    
    return (0);
}```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.p2align 4
	.globl	make_prime
	.type	make_prime, @function
make_prime:
.LFB23:
	.cfi_startproc
	endbr64
	movl	$4, %edi
	movl	$2, %ecx
	leaq	prime(%rip), %rsi
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L2:
	leal	1(%rdx), %eax
	addq	$1, %rcx
	addq	$2, %rdi
	imull	%eax, %eax
	cmpl	$246912, %eax
	jg	.L8
.L4:
	movl	(%rsi,%rcx,4), %eax
	movl	%ecx, %edx
	testl	%eax, %eax
	jne	.L2
	cmpq	$246912, %rdi
	ja	.L2
	movq	%rdi, %rax
	.p2align 4,,10
	.p2align 3
.L3:
	movl	$1, (%rsi,%rax,4)
	addq	%rcx, %rax
	cmpl	$246912, %eax
	jle	.L3
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L8:
	ret
	.cfi_endproc
.LFE23:
	.size	make_prime, .-make_prime
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d\n"
.LC1:
	.string	"%d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB24:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	movl	$4, %esi
	movl	$2, %ecx
	leaq	prime(%rip), %r13
	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
	subq	$24, %rsp
	.cfi_def_cfa_offset 64
	movq	%fs:40, %rax
	movq	%rax, 8(%rsp)
	xorl	%eax, %eax
	jmp	.L12
	.p2align 4,,10
	.p2align 3
.L10:
	leal	1(%rdx), %eax
	addq	$1, %rcx
	addq	$2, %rsi
	imull	%eax, %eax
	cmpl	$246912, %eax
	jg	.L25
.L12:
	movl	0(%r13,%rcx,4), %edi
	movl	%ecx, %edx
	testl	%edi, %edi
	jne	.L10
	cmpq	$246912, %rsi
	ja	.L10
	movq	%rsi, %rax
	.p2align 4,,10
	.p2align 3
.L11:
	movl	$1, 0(%r13,%rax,4)
	addq	%rcx, %rax
	cmpl	$246912, %eax
	jle	.L11
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L25:
	leaq	4(%rsp), %rbp
	leaq	.LC1(%rip), %rbx
	leaq	.LC0(%rip), %r12
	.p2align 4,,10
	.p2align 3
.L13:
	xorl	%eax, %eax
	movq	%rbp, %rsi
	movq	%rbx, %rdi
	call	__isoc99_scanf@PLT
	cmpl	$-1, %eax
	je	.L16
	movl	4(%rsp), %ecx
	leaq	8+prime(%rip), %rdx
	xorl	%r8d, %r8d
	leal	-1(%rcx), %eax
	cmpl	$2, %ecx
	jle	.L18
	.p2align 4,,10
	.p2align 3
.L15:
	movl	(%rdx), %ecx
	testl	%ecx, %ecx
	jne	.L14
	movslq	%eax, %rcx
	cmpl	$1, 0(%r13,%rcx,4)
	adcl	$0, %r8d
.L14:
	subl	$1, %eax
	addq	$4, %rdx
	cmpl	$1, %eax
	jne	.L15
.L18:
	movl	%r8d, %edx
	movq	%r12, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L16:
	movq	8(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L26
	addq	$24, %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
.L26:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE24:
	.size	main, .-main
	.globl	prime
	.bss
	.align 32
	.type	prime, @object
	.size	prime, 987652
prime:
	.zero	987652
	.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
	.p2align 4
	.globl	make_prime
	.type	make_prime, @function
make_prime:
.LFB23:
	.cfi_startproc
	endbr64
	movl	$4, %edi
	movl	$2, %ecx
	leaq	prime(%rip), %rsi
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L2:
	leal	1(%rdx), %eax
	addq	$1, %rcx
	addq	$2, %rdi
	imull	%eax, %eax
	cmpl	$246912, %eax
	jg	.L8
.L4:
	movl	(%rsi,%rcx,4), %eax
	movl	%ecx, %edx
	testl	%eax, %eax
	jne	.L2
	cmpq	$246912, %rdi
	ja	.L2
	movq	%rdi, %rax
	.p2align 4,,10
	.p2align 3
.L3:
	movl	$1, (%rsi,%rax,4)
	addq	%rcx, %rax
	cmpl	$246912, %eax
	jle	.L3
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L8:
	ret
	.cfi_endproc
.LFE23:
	.size	make_prime, .-make_prime
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d\n"
.LC1:
	.string	"%d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB24:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	movl	$4, %esi
	movl	$2, %ecx
	leaq	prime(%rip), %r13
	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
	subq	$24, %rsp
	.cfi_def_cfa_offset 64
	movq	%fs:40, %rax
	movq	%rax, 8(%rsp)
	xorl	%eax, %eax
	jmp	.L12
	.p2align 4,,10
	.p2align 3
.L10:
	leal	1(%rdx), %eax
	addq	$1, %rcx
	addq	$2, %rsi
	imull	%eax, %eax
	cmpl	$246912, %eax
	jg	.L25
.L12:
	movl	0(%r13,%rcx,4), %edi
	movl	%ecx, %edx
	testl	%edi, %edi
	jne	.L10
	cmpq	$246912, %rsi
	ja	.L10
	movq	%rsi, %rax
	.p2align 4,,10
	.p2align 3
.L11:
	movl	$1, 0(%r13,%rax,4)
	addq	%rcx, %rax
	cmpl	$246912, %eax
	jle	.L11
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L25:
	leaq	4(%rsp), %rbp
	leaq	.LC1(%rip), %rbx
	leaq	.LC0(%rip), %r12
	.p2align 4,,10
	.p2align 3
.L13:
	xorl	%eax, %eax
	movq	%rbp, %rsi
	movq	%rbx, %rdi
	call	__isoc99_scanf@PLT
	cmpl	$-1, %eax
	je	.L16
	movl	4(%rsp), %ecx
	leaq	8+prime(%rip), %rdx
	xorl	%r8d, %r8d
	leal	-1(%rcx), %eax
	cmpl	$2, %ecx
	jle	.L18
	.p2align 4,,10
	.p2align 3
.L15:
	movl	(%rdx), %ecx
	testl	%ecx, %ecx
	jne	.L14
	movslq	%eax, %rcx
	cmpl	$1, 0(%r13,%rcx,4)
	adcl	$0, %r8d
.L14:
	subl	$1, %eax
	addq	$4, %rdx
	cmpl	$1, %eax
	jne	.L15
.L18:
	movl	%r8d, %edx
	movq	%r12, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L16:
	movq	8(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L26
	addq	$24, %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
.L26:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE24:
	.size	main, .-main
	.globl	prime
	.bss
	.align 32
	.type	prime, @object
	.size	prime, 987652
prime:
	.zero	987652
	.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
	.p2align 4
	.globl	make_prime
	.type	make_prime, @function
make_prime:
.LFB23:
	.cfi_startproc
	endbr64
	movl	$4, %edi
	movl	$2, %ecx
	leaq	prime(%rip), %rsi
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L2:
	leal	1(%rdx), %eax
	addq	$1, %rcx
	addq	$2, %rdi
	imull	%eax, %eax
	cmpl	$246912, %eax
	jg	.L8
.L4:
	movl	(%rsi,%rcx,4), %eax
	movl	%ecx, %edx
	testl	%eax, %eax
	jne	.L2
	cmpq	$246912, %rdi
	ja	.L2
	movq	%rdi, %rax
	.p2align 4,,10
	.p2align 3
.L3:
	movl	$1, (%rsi,%rax,4)
	addq	%rcx, %rax
	cmpl	$246912, %eax
	jle	.L3
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L8:
	ret
	.cfi_endproc
.LFE23:
	.size	make_prime, .-make_prime
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d\n"
.LC1:
	.string	"%d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB24:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	movl	$4, %esi
	movl	$2, %ecx
	leaq	prime(%rip), %r13
	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
	subq	$24, %rsp
	.cfi_def_cfa_offset 64
	movq	%fs:40, %rax
	movq	%rax, 8(%rsp)
	xorl	%eax, %eax
	jmp	.L12
	.p2align 4,,10
	.p2align 3
.L10:
	leal	1(%rdx), %eax
	addq	$1, %rcx
	addq	$2, %rsi
	imull	%eax, %eax
	cmpl	$246912, %eax
	jg	.L25
.L12:
	movl	0(%r13,%rcx,4), %edi
	movl	%ecx, %edx
	testl	%edi, %edi
	jne	.L10
	cmpq	$246912, %rsi
	ja	.L10
	movq	%rsi, %rax
	.p2align 4,,10
	.p2align 3
.L11:
	movl	$1, 0(%r13,%rax,4)
	addq	%rcx, %rax
	cmpl	$246912, %eax
	jle	.L11
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L25:
	leaq	4(%rsp), %rbp
	leaq	.LC1(%rip), %rbx
	leaq	.LC0(%rip), %r12
	.p2align 4,,10
	.p2align 3
.L13:
	xorl	%eax, %eax
	movq	%rbp, %rsi
	movq	%rbx, %rdi
	call	__isoc99_scanf@PLT
	cmpl	$-1, %eax
	je	.L16
	movl	4(%rsp), %ecx
	leaq	8+prime(%rip), %rdx
	xorl	%r8d, %r8d
	leal	-1(%rcx), %eax
	cmpl	$2, %ecx
	jle	.L18
	.p2align 4,,10
	.p2align 3
.L15:
	movl	(%rdx), %ecx
	testl	%ecx, %ecx
	jne	.L14
	movslq	%eax, %rcx
	cmpl	$1, 0(%r13,%rcx,4)
	adcl	$0, %r8d
.L14:
	subl	$1, %eax
	addq	$4, %rdx
	cmpl	$1, %eax
	jne	.L15
.L18:
	movl	%r8d, %edx
	movq	%r12, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L16:
	movq	8(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L26
	addq	$24, %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
.L26:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE24:
	.size	main, .-main
	.globl	prime
	.bss
	.align 32
	.type	prime, @object
	.size	prime, 987652
prime:
	.zero	987652
	.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>

#define MAX_PRIME	(123456 * 2)


int prime[MAX_PRIME + 1];

void make_prime(void)
{
    int i;
    int j;
    int n;
    int c;
    
    for (i = 2; i * i <= MAX_PRIME; i++){
        if (prime[i] == 0){
            for (j = i * 2; j <= MAX_PRIME; j += i){
				prime[j] = 1;
            }
        }
    }
}
	


int main(void)
{
	int n;
    int i;
	int count;
	
	make_prime();

    while (scanf("%d", &n) != EOF){
		
		count = 0;
		for (i = 2; i < n; i++){
			if (prime[i] == 0 && prime[n - i + 1] == 0){
				count++;
			}
		}
		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>

#define MAX_PRIME	(123456 * 2)


int prime[MAX_PRIME + 1];

void make_prime(void)
{
    int i;
    int j;
    int n;
    int c;
    
    for (i = 2; i * i <= MAX_PRIME; i++){
        if (prime[i] == 0){
            for (j = i * 2; j <= MAX_PRIME; j += i){
				prime[j] = 1;
            }
        }
    }
}
	


int main(void)
{
	int n;
    int i;
	int count;
	
	make_prime();

    while (scanf("%d", &n) != EOF){
		
		count = 0;
		for (i = 2; i < n; i++){
			if (prime[i] == 0 && prime[n - i + 1] == 0){
				count++;
			}
		}
		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:

1
8
7
51
 1
10
7
51
 1
10
7
65
 1
12
7
115
 1
12
9
115
 1
12
9
15
 1
26
9
15
 1
26
11
15
 1
26
11
20
 1
27
11
20

0
2
2
6
 0
0
2
6
 0
0
2
12
 0
2
2
12
 0
2
3
12
 0
2
3
4
 0
0
3
4
 0
0
2
4
 0
0
2
2
 0
4
2
2

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>

#define MAX_PRIME	(123456 * 2)


int prime[MAX_PRIME + 1];

void make_prime(void)
{
    int i;
    int j;
    int n;
    int c;
    
    for (i = 2; i * i <= MAX_PRIME; i++){
        if (prime[i] == 0){
            for (j = i * 2; j <= MAX_PRIME; j += i){
				prime[j] = 1;
            }
        }
    }
}
	


int main(void)
{
	int n;
    int i;
	int count;
	
	make_prime();

    while (scanf("%d", &n) != EOF){
		
		count = 0;
		for (i = 2; i < n; i++){
			if (prime[i] == 0 && prime[n - i + 1] == 0){
				count++;
			}
		}
		printf("%d\n", count);
    }
    
    return (0);
}```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.p2align 4
	.globl	make_prime
	.type	make_prime, @function
make_prime:
.LFB23:
	.cfi_startproc
	endbr64
	movl	$4, %edi
	movl	$2, %ecx
	leaq	prime(%rip), %rsi
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L2:
	leal	1(%rdx), %eax
	addq	$1, %rcx
	addq	$2, %rdi
	imull	%eax, %eax
	cmpl	$246912, %eax
	jg	.L8
.L4:
	movl	(%rsi,%rcx,4), %eax
	movl	%ecx, %edx
	testl	%eax, %eax
	jne	.L2
	cmpq	$246912, %rdi
	ja	.L2
	movq	%rdi, %rax
	.p2align 4,,10
	.p2align 3
.L3:
	movl	$1, (%rsi,%rax,4)
	addq	%rcx, %rax
	cmpl	$246912, %eax
	jle	.L3
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L8:
	ret
	.cfi_endproc
.LFE23:
	.size	make_prime, .-make_prime
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d\n"
.LC1:
	.string	"%d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB24:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	movl	$4, %esi
	movl	$2, %ecx
	leaq	prime(%rip), %r13
	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
	subq	$24, %rsp
	.cfi_def_cfa_offset 64
	movq	%fs:40, %rax
	movq	%rax, 8(%rsp)
	xorl	%eax, %eax
	jmp	.L12
	.p2align 4,,10
	.p2align 3
.L10:
	leal	1(%rdx), %eax
	addq	$1, %rcx
	addq	$2, %rsi
	imull	%eax, %eax
	cmpl	$246912, %eax
	jg	.L25
.L12:
	movl	0(%r13,%rcx,4), %edi
	movl	%ecx, %edx
	testl	%edi, %edi
	jne	.L10
	cmpq	$246912, %rsi
	ja	.L10
	movq	%rsi, %rax
	.p2align 4,,10
	.p2align 3
.L11:
	movl	$1, 0(%r13,%rax,4)
	addq	%rcx, %rax
	cmpl	$246912, %eax
	jle	.L11
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L25:
	leaq	4(%rsp), %rbp
	leaq	.LC1(%rip), %rbx
	leaq	.LC0(%rip), %r12
	.p2align 4,,10
	.p2align 3
.L13:
	xorl	%eax, %eax
	movq	%rbp, %rsi
	movq	%rbx, %rdi
	call	__isoc99_scanf@PLT
	cmpl	$-1, %eax
	je	.L16
	movl	4(%rsp), %ecx
	leaq	8+prime(%rip), %rdx
	xorl	%r8d, %r8d
	leal	-1(%rcx), %eax
	cmpl	$2, %ecx
	jle	.L18
	.p2align 4,,10
	.p2align 3
.L15:
	movl	(%rdx), %ecx
	testl	%ecx, %ecx
	jne	.L14
	movslq	%eax, %rcx
	cmpl	$1, 0(%r13,%rcx,4)
	adcl	$0, %r8d
.L14:
	subl	$1, %eax
	addq	$4, %rdx
	cmpl	$1, %eax
	jne	.L15
.L18:
	movl	%r8d, %edx
	movq	%r12, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L16:
	movq	8(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L26
	addq	$24, %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
.L26:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE24:
	.size	main, .-main
	.globl	prime
	.bss
	.align 32
	.type	prime, @object
	.size	prime, 987652
prime:
	.zero	987652
	.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
	.p2align 4
	.globl	make_prime
	.type	make_prime, @function
make_prime:
.LFB23:
	.cfi_startproc
	endbr64
	movl	$4, %edi
	movl	$2, %ecx
	leaq	prime(%rip), %rsi
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L2:
	leal	1(%rdx), %eax
	addq	$1, %rcx
	addq	$2, %rdi
	imull	%eax, %eax
	cmpl	$246912, %eax
	jg	.L8
.L4:
	movl	(%rsi,%rcx,4), %eax
	movl	%ecx, %edx
	testl	%eax, %eax
	jne	.L2
	cmpq	$246912, %rdi
	ja	.L2
	movq	%rdi, %rax
	.p2align 4,,10
	.p2align 3
.L3:
	movl	$1, (%rsi,%rax,4)
	addq	%rcx, %rax
	cmpl	$246912, %eax
	jle	.L3
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L8:
	ret
	.cfi_endproc
.LFE23:
	.size	make_prime, .-make_prime
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d\n"
.LC1:
	.string	"%d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB24:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	movl	$4, %esi
	movl	$2, %ecx
	leaq	prime(%rip), %r13
	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
	subq	$24, %rsp
	.cfi_def_cfa_offset 64
	movq	%fs:40, %rax
	movq	%rax, 8(%rsp)
	xorl	%eax, %eax
	jmp	.L12
	.p2align 4,,10
	.p2align 3
.L10:
	leal	1(%rdx), %eax
	addq	$1, %rcx
	addq	$2, %rsi
	imull	%eax, %eax
	cmpl	$246912, %eax
	jg	.L25
.L12:
	movl	0(%r13,%rcx,4), %edi
	movl	%ecx, %edx
	testl	%edi, %edi
	jne	.L10
	cmpq	$246912, %rsi
	ja	.L10
	movq	%rsi, %rax
	.p2align 4,,10
	.p2align 3
.L11:
	movl	$1, 0(%r13,%rax,4)
	addq	%rcx, %rax
	cmpl	$246912, %eax
	jle	.L11
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L25:
	leaq	4(%rsp), %rbp
	leaq	.LC1(%rip), %rbx
	leaq	.LC0(%rip), %r12
	.p2align 4,,10
	.p2align 3
.L13:
	xorl	%eax, %eax
	movq	%rbp, %rsi
	movq	%rbx, %rdi
	call	__isoc99_scanf@PLT
	cmpl	$-1, %eax
	je	.L16
	movl	4(%rsp), %ecx
	leaq	8+prime(%rip), %rdx
	xorl	%r8d, %r8d
	leal	-1(%rcx), %eax
	cmpl	$2, %ecx
	jle	.L18
	.p2align 4,,10
	.p2align 3
.L15:
	movl	(%rdx), %ecx
	testl	%ecx, %ecx
	jne	.L14
	movslq	%eax, %rcx
	cmpl	$1, 0(%r13,%rcx,4)
	adcl	$0, %r8d
.L14:
	subl	$1, %eax
	addq	$4, %rdx
	cmpl	$1, %eax
	jne	.L15
.L18:
	movl	%r8d, %edx
	movq	%r12, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L16:
	movq	8(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L26
	addq	$24, %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
.L26:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE24:
	.size	main, .-main
	.globl	prime
	.bss
	.align 32
	.type	prime, @object
	.size	prime, 987652
prime:
	.zero	987652
	.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:
```