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>
#include <inttypes.h>

int main(void) {
	uint64_t N, P;
	int mikakosi = 0, i;
	uint64_t asumi[256];
	uint64_t iguti[256];
	uint64_t mizuhasu, mamegu;
	uint64_t mikisinn, sinntasu;
	if (scanf("%" SCNu64 "%" SCNu64, &N, &P) != 2) return 1;
	for (mizuhasu = 2, mamegu = P; mizuhasu * mizuhasu <= mamegu; mizuhasu++) {
		if (mamegu % mizuhasu == 0) {
			uint64_t tomatu = 0;
			while (mamegu % mizuhasu == 0) {
				tomatu++;
				mamegu /= mizuhasu;
			}
			asumi[mikakosi] = mizuhasu;
			iguti[mikakosi] = tomatu;
			mikakosi++;
		}
	}
	if (mamegu > 1) {
		asumi[mikakosi] = mamegu;
		iguti[mikakosi] = 1;
		mikakosi++;
	}

	sinntasu = 1;
	for (i = 0; i < mikakosi; i++) {
		uint64_t minngosu = iguti[i] / N;
		for (mikisinn = 0; mikisinn < minngosu; mikisinn++) sinntasu *= asumi[i];
	}
	printf("%" PRIu64 "\n", sinntasu);

	return 0;
}
```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%lu%lu"
.LC1:
	.string	"%lu\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	subq	$4096, %rsp
	.cfi_def_cfa_offset 4104
	orq	$0, (%rsp)
	subq	$40, %rsp
	.cfi_def_cfa_offset 4144
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 4120(%rsp)
	xorl	%eax, %eax
	leaq	8(%rsp), %rdx
	movq	%rsp, %rsi
	call	__isoc99_scanf@PLT
	movl	%eax, %r8d
	movl	$1, %eax
	cmpl	$2, %r8d
	jne	.L1
	movq	8(%rsp), %rsi
	cmpq	$3, %rsi
	jbe	.L3
	movl	$2, %ecx
	xorl	%r9d, %r9d
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L4:
	addq	$1, %rcx
	movq	%rcx, %rax
	imulq	%rcx, %rax
	cmpq	%rax, %rsi
	jb	.L29
.L6:
	movq	%rsi, %rax
	xorl	%edx, %edx
	divq	%rcx
	movq	%rdx, %rdi
	testq	%rdx, %rdx
	jne	.L4
	.p2align 4,,10
	.p2align 3
.L5:
	movq	%rsi, %rax
	xorl	%edx, %edx
	addq	$1, %rdi
	divq	%rcx
	xorl	%edx, %edx
	movq	%rax, %rsi
	divq	%rcx
	testq	%rdx, %rdx
	je	.L5
	movslq	%r9d, %rax
	addl	$1, %r9d
	movq	%rcx, 16(%rsp,%rax,8)
	addq	$1, %rcx
	movq	%rdi, 2064(%rsp,%rax,8)
	movq	%rcx, %rax
	imulq	%rcx, %rax
	cmpq	%rax, %rsi
	jnb	.L6
.L29:
	cmpq	$1, %rsi
	jbe	.L7
.L14:
	movslq	%r9d, %rax
	addl	$1, %r9d
	movq	%rsi, 16(%rsp,%rax,8)
	movq	$1, 2064(%rsp,%rax,8)
.L8:
	movq	(%rsp), %rdi
	xorl	%esi, %esi
	movl	$1, %r8d
	leaq	2064(%rsp), %r10
	.p2align 4,,10
	.p2align 3
.L12:
	movq	(%r10,%rsi,8), %rcx
	xorl	%edx, %edx
	movq	%rcx, %rax
	divq	%rdi
	cmpq	%rdi, %rcx
	jb	.L10
	movq	16(%rsp,%rsi,8), %rcx
	xorl	%edx, %edx
	.p2align 4,,10
	.p2align 3
.L11:
	addq	$1, %rdx
	imulq	%rcx, %r8
	cmpq	%rdx, %rax
	ja	.L11
.L10:
	addq	$1, %rsi
	cmpl	%esi, %r9d
	jg	.L12
.L13:
	movq	%r8, %rdx
	leaq	.LC1(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	xorl	%eax, %eax
.L1:
	movq	4120(%rsp), %rdx
	subq	%fs:40, %rdx
	jne	.L30
	addq	$4136, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L3:
	.cfi_restore_state
	xorl	%r9d, %r9d
	cmpq	$1, %rsi
	ja	.L14
.L9:
	movl	$1, %r8d
	jmp	.L13
.L7:
	testl	%r9d, %r9d
	jne	.L8
	jmp	.L9
.L30:
	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	"%lu%lu"
.LC1:
	.string	"%lu\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	subq	$4096, %rsp
	.cfi_def_cfa_offset 4104
	orq	$0, (%rsp)
	subq	$40, %rsp
	.cfi_def_cfa_offset 4144
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 4120(%rsp)
	xorl	%eax, %eax
	leaq	8(%rsp), %rdx
	movq	%rsp, %rsi
	call	__isoc99_scanf@PLT
	movl	%eax, %r8d
	movl	$1, %eax
	cmpl	$2, %r8d
	jne	.L1
	movq	8(%rsp), %rsi
	cmpq	$3, %rsi
	jbe	.L3
	movl	$2, %ecx
	xorl	%r9d, %r9d
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L4:
	addq	$1, %rcx
	movq	%rcx, %rax
	imulq	%rcx, %rax
	cmpq	%rax, %rsi
	jb	.L29
.L6:
	movq	%rsi, %rax
	xorl	%edx, %edx
	divq	%rcx
	movq	%rdx, %rdi
	testq	%rdx, %rdx
	jne	.L4
	.p2align 4,,10
	.p2align 3
.L5:
	movq	%rsi, %rax
	xorl	%edx, %edx
	addq	$1, %rdi
	divq	%rcx
	xorl	%edx, %edx
	movq	%rax, %rsi
	divq	%rcx
	testq	%rdx, %rdx
	je	.L5
	movslq	%r9d, %rax
	addl	$1, %r9d
	movq	%rcx, 16(%rsp,%rax,8)
	addq	$1, %rcx
	movq	%rdi, 2064(%rsp,%rax,8)
	movq	%rcx, %rax
	imulq	%rcx, %rax
	cmpq	%rax, %rsi
	jnb	.L6
.L29:
	cmpq	$1, %rsi
	jbe	.L7
.L14:
	movslq	%r9d, %rax
	addl	$1, %r9d
	movq	%rsi, 16(%rsp,%rax,8)
	movq	$1, 2064(%rsp,%rax,8)
.L8:
	movq	(%rsp), %rdi
	xorl	%esi, %esi
	movl	$1, %r8d
	leaq	2064(%rsp), %r10
	.p2align 4,,10
	.p2align 3
.L12:
	movq	(%r10,%rsi,8), %rcx
	xorl	%edx, %edx
	movq	%rcx, %rax
	divq	%rdi
	cmpq	%rdi, %rcx
	jb	.L10
	movq	16(%rsp,%rsi,8), %rcx
	xorl	%edx, %edx
	.p2align 4,,10
	.p2align 3
.L11:
	addq	$1, %rdx
	imulq	%rcx, %r8
	cmpq	%rdx, %rax
	ja	.L11
.L10:
	addq	$1, %rsi
	cmpl	%esi, %r9d
	jg	.L12
.L13:
	movq	%r8, %rdx
	leaq	.LC1(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	xorl	%eax, %eax
.L1:
	movq	4120(%rsp), %rdx
	subq	%fs:40, %rdx
	jne	.L30
	addq	$4136, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L3:
	.cfi_restore_state
	xorl	%r9d, %r9d
	cmpq	$1, %rsi
	ja	.L14
.L9:
	movl	$1, %r8d
	jmp	.L13
.L7:
	testl	%r9d, %r9d
	jne	.L8
	jmp	.L9
.L30:
	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	"%lu%lu"
.LC1:
	.string	"%lu\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	subq	$4096, %rsp
	.cfi_def_cfa_offset 4104
	orq	$0, (%rsp)
	subq	$40, %rsp
	.cfi_def_cfa_offset 4144
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 4120(%rsp)
	xorl	%eax, %eax
	leaq	8(%rsp), %rdx
	movq	%rsp, %rsi
	call	__isoc99_scanf@PLT
	movl	%eax, %r8d
	movl	$1, %eax
	cmpl	$2, %r8d
	jne	.L1
	movq	8(%rsp), %rsi
	cmpq	$3, %rsi
	jbe	.L3
	movl	$2, %ecx
	xorl	%r9d, %r9d
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L4:
	addq	$1, %rcx
	movq	%rcx, %rax
	imulq	%rcx, %rax
	cmpq	%rax, %rsi
	jb	.L29
.L6:
	movq	%rsi, %rax
	xorl	%edx, %edx
	divq	%rcx
	movq	%rdx, %rdi
	testq	%rdx, %rdx
	jne	.L4
	.p2align 4,,10
	.p2align 3
.L5:
	movq	%rsi, %rax
	xorl	%edx, %edx
	addq	$1, %rdi
	divq	%rcx
	xorl	%edx, %edx
	movq	%rax, %rsi
	divq	%rcx
	testq	%rdx, %rdx
	je	.L5
	movslq	%r9d, %rax
	addl	$1, %r9d
	movq	%rcx, 16(%rsp,%rax,8)
	addq	$1, %rcx
	movq	%rdi, 2064(%rsp,%rax,8)
	movq	%rcx, %rax
	imulq	%rcx, %rax
	cmpq	%rax, %rsi
	jnb	.L6
.L29:
	cmpq	$1, %rsi
	jbe	.L7
.L14:
	movslq	%r9d, %rax
	addl	$1, %r9d
	movq	%rsi, 16(%rsp,%rax,8)
	movq	$1, 2064(%rsp,%rax,8)
.L8:
	movq	(%rsp), %rdi
	xorl	%esi, %esi
	movl	$1, %r8d
	leaq	2064(%rsp), %r10
	.p2align 4,,10
	.p2align 3
.L12:
	movq	(%r10,%rsi,8), %rcx
	xorl	%edx, %edx
	movq	%rcx, %rax
	divq	%rdi
	cmpq	%rdi, %rcx
	jb	.L10
	movq	16(%rsp,%rsi,8), %rcx
	xorl	%edx, %edx
	.p2align 4,,10
	.p2align 3
.L11:
	addq	$1, %rdx
	imulq	%rcx, %r8
	cmpq	%rdx, %rax
	ja	.L11
.L10:
	addq	$1, %rsi
	cmpl	%esi, %r9d
	jg	.L12
.L13:
	movq	%r8, %rdx
	leaq	.LC1(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	xorl	%eax, %eax
.L1:
	movq	4120(%rsp), %rdx
	subq	%fs:40, %rdx
	jne	.L30
	addq	$4136, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L3:
	.cfi_restore_state
	xorl	%r9d, %r9d
	cmpq	$1, %rsi
	ja	.L14
.L9:
	movl	$1, %r8d
	jmp	.L13
.L7:
	testl	%r9d, %r9d
	jne	.L8
	jmp	.L9
.L30:
	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>
#include <inttypes.h>

int main(void) {
	uint64_t N, P;
	int mikakosi = 0, i;
	uint64_t asumi[256];
	uint64_t iguti[256];
	uint64_t mizuhasu, mamegu;
	uint64_t mikisinn, sinntasu;
	if (scanf("%" SCNu64 "%" SCNu64, &N, &P) != 2) return 1;
	for (mizuhasu = 2, mamegu = P; mizuhasu * mizuhasu <= mamegu; mizuhasu++) {
		if (mamegu % mizuhasu == 0) {
			uint64_t tomatu = 0;
			while (mamegu % mizuhasu == 0) {
				tomatu++;
				mamegu /= mizuhasu;
			}
			asumi[mikakosi] = mizuhasu;
			iguti[mikakosi] = tomatu;
			mikakosi++;
		}
	}
	if (mamegu > 1) {
		asumi[mikakosi] = mamegu;
		iguti[mikakosi] = 1;
		mikakosi++;
	}

	sinntasu = 1;
	for (i = 0; i < mikakosi; i++) {
		uint64_t minngosu = iguti[i] / N;
		for (mikisinn = 0; mikisinn < minngosu; mikisinn++) sinntasu *= asumi[i];
	}
	printf("%" PRIu64 "\n", sinntasu);

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

```c
#include <stdio.h>
#include <inttypes.h>

int main(void) {
	uint64_t N, P;
	int mikakosi = 0, i;
	uint64_t asumi[256];
	uint64_t iguti[256];
	uint64_t mizuhasu, mamegu;
	uint64_t mikisinn, sinntasu;
	if (scanf("%" SCNu64 "%" SCNu64, &N, &P) != 2) return 1;
	for (mizuhasu = 2, mamegu = P; mizuhasu * mizuhasu <= mamegu; mizuhasu++) {
		if (mamegu % mizuhasu == 0) {
			uint64_t tomatu = 0;
			while (mamegu % mizuhasu == 0) {
				tomatu++;
				mamegu /= mizuhasu;
			}
			asumi[mikakosi] = mizuhasu;
			iguti[mikakosi] = tomatu;
			mikakosi++;
		}
	}
	if (mamegu > 1) {
		asumi[mikakosi] = mamegu;
		iguti[mikakosi] = 1;
		mikakosi++;
	}

	sinntasu = 1;
	for (i = 0; i < mikakosi; i++) {
		uint64_t minngosu = iguti[i] / N;
		for (mikisinn = 0; mikisinn < minngosu; mikisinn++) sinntasu *= asumi[i];
	}
	printf("%" PRIu64 "\n", sinntasu);

	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:

3 24

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>
#include <inttypes.h>

int main(void) {
	uint64_t N, P;
	int mikakosi = 0, i;
	uint64_t asumi[256];
	uint64_t iguti[256];
	uint64_t mizuhasu, mamegu;
	uint64_t mikisinn, sinntasu;
	if (scanf("%" SCNu64 "%" SCNu64, &N, &P) != 2) return 1;
	for (mizuhasu = 2, mamegu = P; mizuhasu * mizuhasu <= mamegu; mizuhasu++) {
		if (mamegu % mizuhasu == 0) {
			uint64_t tomatu = 0;
			while (mamegu % mizuhasu == 0) {
				tomatu++;
				mamegu /= mizuhasu;
			}
			asumi[mikakosi] = mizuhasu;
			iguti[mikakosi] = tomatu;
			mikakosi++;
		}
	}
	if (mamegu > 1) {
		asumi[mikakosi] = mamegu;
		iguti[mikakosi] = 1;
		mikakosi++;
	}

	sinntasu = 1;
	for (i = 0; i < mikakosi; i++) {
		uint64_t minngosu = iguti[i] / N;
		for (mikisinn = 0; mikisinn < minngosu; mikisinn++) sinntasu *= asumi[i];
	}
	printf("%" PRIu64 "\n", sinntasu);

	return 0;
}
```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%lu%lu"
.LC1:
	.string	"%lu\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	subq	$4096, %rsp
	.cfi_def_cfa_offset 4104
	orq	$0, (%rsp)
	subq	$40, %rsp
	.cfi_def_cfa_offset 4144
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 4120(%rsp)
	xorl	%eax, %eax
	leaq	8(%rsp), %rdx
	movq	%rsp, %rsi
	call	__isoc99_scanf@PLT
	movl	%eax, %r8d
	movl	$1, %eax
	cmpl	$2, %r8d
	jne	.L1
	movq	8(%rsp), %rsi
	cmpq	$3, %rsi
	jbe	.L3
	movl	$2, %ecx
	xorl	%r9d, %r9d
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L4:
	addq	$1, %rcx
	movq	%rcx, %rax
	imulq	%rcx, %rax
	cmpq	%rax, %rsi
	jb	.L29
.L6:
	movq	%rsi, %rax
	xorl	%edx, %edx
	divq	%rcx
	movq	%rdx, %rdi
	testq	%rdx, %rdx
	jne	.L4
	.p2align 4,,10
	.p2align 3
.L5:
	movq	%rsi, %rax
	xorl	%edx, %edx
	addq	$1, %rdi
	divq	%rcx
	xorl	%edx, %edx
	movq	%rax, %rsi
	divq	%rcx
	testq	%rdx, %rdx
	je	.L5
	movslq	%r9d, %rax
	addl	$1, %r9d
	movq	%rcx, 16(%rsp,%rax,8)
	addq	$1, %rcx
	movq	%rdi, 2064(%rsp,%rax,8)
	movq	%rcx, %rax
	imulq	%rcx, %rax
	cmpq	%rax, %rsi
	jnb	.L6
.L29:
	cmpq	$1, %rsi
	jbe	.L7
.L14:
	movslq	%r9d, %rax
	addl	$1, %r9d
	movq	%rsi, 16(%rsp,%rax,8)
	movq	$1, 2064(%rsp,%rax,8)
.L8:
	movq	(%rsp), %rdi
	xorl	%esi, %esi
	movl	$1, %r8d
	leaq	2064(%rsp), %r10
	.p2align 4,,10
	.p2align 3
.L12:
	movq	(%r10,%rsi,8), %rcx
	xorl	%edx, %edx
	movq	%rcx, %rax
	divq	%rdi
	cmpq	%rdi, %rcx
	jb	.L10
	movq	16(%rsp,%rsi,8), %rcx
	xorl	%edx, %edx
	.p2align 4,,10
	.p2align 3
.L11:
	addq	$1, %rdx
	imulq	%rcx, %r8
	cmpq	%rdx, %rax
	ja	.L11
.L10:
	addq	$1, %rsi
	cmpl	%esi, %r9d
	jg	.L12
.L13:
	movq	%r8, %rdx
	leaq	.LC1(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	xorl	%eax, %eax
.L1:
	movq	4120(%rsp), %rdx
	subq	%fs:40, %rdx
	jne	.L30
	addq	$4136, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L3:
	.cfi_restore_state
	xorl	%r9d, %r9d
	cmpq	$1, %rsi
	ja	.L14
.L9:
	movl	$1, %r8d
	jmp	.L13
.L7:
	testl	%r9d, %r9d
	jne	.L8
	jmp	.L9
.L30:
	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	"%lu%lu"
.LC1:
	.string	"%lu\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	subq	$4096, %rsp
	.cfi_def_cfa_offset 4104
	orq	$0, (%rsp)
	subq	$40, %rsp
	.cfi_def_cfa_offset 4144
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 4120(%rsp)
	xorl	%eax, %eax
	leaq	8(%rsp), %rdx
	movq	%rsp, %rsi
	call	__isoc99_scanf@PLT
	movl	%eax, %r8d
	movl	$1, %eax
	cmpl	$2, %r8d
	jne	.L1
	movq	8(%rsp), %rsi
	cmpq	$3, %rsi
	jbe	.L3
	movl	$2, %ecx
	xorl	%r9d, %r9d
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L4:
	addq	$1, %rcx
	movq	%rcx, %rax
	imulq	%rcx, %rax
	cmpq	%rax, %rsi
	jb	.L29
.L6:
	movq	%rsi, %rax
	xorl	%edx, %edx
	divq	%rcx
	movq	%rdx, %rdi
	testq	%rdx, %rdx
	jne	.L4
	.p2align 4,,10
	.p2align 3
.L5:
	movq	%rsi, %rax
	xorl	%edx, %edx
	addq	$1, %rdi
	divq	%rcx
	xorl	%edx, %edx
	movq	%rax, %rsi
	divq	%rcx
	testq	%rdx, %rdx
	je	.L5
	movslq	%r9d, %rax
	addl	$1, %r9d
	movq	%rcx, 16(%rsp,%rax,8)
	addq	$1, %rcx
	movq	%rdi, 2064(%rsp,%rax,8)
	movq	%rcx, %rax
	imulq	%rcx, %rax
	cmpq	%rax, %rsi
	jnb	.L6
.L29:
	cmpq	$1, %rsi
	jbe	.L7
.L14:
	movslq	%r9d, %rax
	addl	$1, %r9d
	movq	%rsi, 16(%rsp,%rax,8)
	movq	$1, 2064(%rsp,%rax,8)
.L8:
	movq	(%rsp), %rdi
	xorl	%esi, %esi
	movl	$1, %r8d
	leaq	2064(%rsp), %r10
	.p2align 4,,10
	.p2align 3
.L12:
	movq	(%r10,%rsi,8), %rcx
	xorl	%edx, %edx
	movq	%rcx, %rax
	divq	%rdi
	cmpq	%rdi, %rcx
	jb	.L10
	movq	16(%rsp,%rsi,8), %rcx
	xorl	%edx, %edx
	.p2align 4,,10
	.p2align 3
.L11:
	addq	$1, %rdx
	imulq	%rcx, %r8
	cmpq	%rdx, %rax
	ja	.L11
.L10:
	addq	$1, %rsi
	cmpl	%esi, %r9d
	jg	.L12
.L13:
	movq	%r8, %rdx
	leaq	.LC1(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	xorl	%eax, %eax
.L1:
	movq	4120(%rsp), %rdx
	subq	%fs:40, %rdx
	jne	.L30
	addq	$4136, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L3:
	.cfi_restore_state
	xorl	%r9d, %r9d
	cmpq	$1, %rsi
	ja	.L14
.L9:
	movl	$1, %r8d
	jmp	.L13
.L7:
	testl	%r9d, %r9d
	jne	.L8
	jmp	.L9
.L30:
	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:
```