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>
#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;
}
```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%lu%lu"
.LC1:
	.string	"%lu\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	$4096, %rsp
	orq	$0, (%rsp)
	subq	$96, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movl	$0, -4184(%rbp)
	leaq	-4168(%rbp), %rdx
	leaq	-4176(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	cmpl	$2, %eax
	je	.L2
	movl	$1, %eax
	jmp	.L14
.L2:
	movq	$2, -4160(%rbp)
	movq	-4168(%rbp), %rax
	movq	%rax, -4152(%rbp)
	jmp	.L4
.L8:
	movq	-4152(%rbp), %rax
	movl	$0, %edx
	divq	-4160(%rbp)
	movq	%rdx, %rax
	testq	%rax, %rax
	jne	.L5
	movq	$0, -4128(%rbp)
	jmp	.L6
.L7:
	addq	$1, -4128(%rbp)
	movq	-4152(%rbp), %rax
	movl	$0, %edx
	divq	-4160(%rbp)
	movq	%rax, -4152(%rbp)
.L6:
	movq	-4152(%rbp), %rax
	movl	$0, %edx
	divq	-4160(%rbp)
	movq	%rdx, %rax
	testq	%rax, %rax
	je	.L7
	movl	-4184(%rbp), %eax
	cltq
	movq	-4160(%rbp), %rdx
	movq	%rdx, -4112(%rbp,%rax,8)
	movl	-4184(%rbp), %eax
	cltq
	movq	-4128(%rbp), %rdx
	movq	%rdx, -2064(%rbp,%rax,8)
	addl	$1, -4184(%rbp)
.L5:
	addq	$1, -4160(%rbp)
.L4:
	movq	-4160(%rbp), %rax
	imulq	%rax, %rax
	cmpq	%rax, -4152(%rbp)
	jnb	.L8
	cmpq	$1, -4152(%rbp)
	jbe	.L9
	movl	-4184(%rbp), %eax
	cltq
	movq	-4152(%rbp), %rdx
	movq	%rdx, -4112(%rbp,%rax,8)
	movl	-4184(%rbp), %eax
	cltq
	movq	$1, -2064(%rbp,%rax,8)
	addl	$1, -4184(%rbp)
.L9:
	movq	$1, -4136(%rbp)
	movl	$0, -4180(%rbp)
	jmp	.L10
.L13:
	movl	-4180(%rbp), %eax
	cltq
	movq	-2064(%rbp,%rax,8), %rax
	movq	-4176(%rbp), %rcx
	movl	$0, %edx
	divq	%rcx
	movq	%rax, -4120(%rbp)
	movq	$0, -4144(%rbp)
	jmp	.L11
.L12:
	movl	-4180(%rbp), %eax
	cltq
	movq	-4112(%rbp,%rax,8), %rax
	movq	-4136(%rbp), %rdx
	imulq	%rdx, %rax
	movq	%rax, -4136(%rbp)
	addq	$1, -4144(%rbp)
.L11:
	movq	-4144(%rbp), %rax
	cmpq	-4120(%rbp), %rax
	jb	.L12
	addl	$1, -4180(%rbp)
.L10:
	movl	-4180(%rbp), %eax
	cmpl	-4184(%rbp), %eax
	jl	.L13
	movq	-4136(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
.L14:
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L15
	call	__stack_chk_fail@PLT
.L15:
	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
.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
	.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:

#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;
}

3 24

2

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>
#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;
}
```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%lu%lu"
.LC1:
	.string	"%lu\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	$4096, %rsp
	orq	$0, (%rsp)
	subq	$96, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movl	$0, -4184(%rbp)
	leaq	-4168(%rbp), %rdx
	leaq	-4176(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	cmpl	$2, %eax
	je	.L2
	movl	$1, %eax
	jmp	.L14
.L2:
	movq	$2, -4160(%rbp)
	movq	-4168(%rbp), %rax
	movq	%rax, -4152(%rbp)
	jmp	.L4
.L8:
	movq	-4152(%rbp), %rax
	movl	$0, %edx
	divq	-4160(%rbp)
	movq	%rdx, %rax
	testq	%rax, %rax
	jne	.L5
	movq	$0, -4128(%rbp)
	jmp	.L6
.L7:
	addq	$1, -4128(%rbp)
	movq	-4152(%rbp), %rax
	movl	$0, %edx
	divq	-4160(%rbp)
	movq	%rax, -4152(%rbp)
.L6:
	movq	-4152(%rbp), %rax
	movl	$0, %edx
	divq	-4160(%rbp)
	movq	%rdx, %rax
	testq	%rax, %rax
	je	.L7
	movl	-4184(%rbp), %eax
	cltq
	movq	-4160(%rbp), %rdx
	movq	%rdx, -4112(%rbp,%rax,8)
	movl	-4184(%rbp), %eax
	cltq
	movq	-4128(%rbp), %rdx
	movq	%rdx, -2064(%rbp,%rax,8)
	addl	$1, -4184(%rbp)
.L5:
	addq	$1, -4160(%rbp)
.L4:
	movq	-4160(%rbp), %rax
	imulq	%rax, %rax
	cmpq	%rax, -4152(%rbp)
	jnb	.L8
	cmpq	$1, -4152(%rbp)
	jbe	.L9
	movl	-4184(%rbp), %eax
	cltq
	movq	-4152(%rbp), %rdx
	movq	%rdx, -4112(%rbp,%rax,8)
	movl	-4184(%rbp), %eax
	cltq
	movq	$1, -2064(%rbp,%rax,8)
	addl	$1, -4184(%rbp)
.L9:
	movq	$1, -4136(%rbp)
	movl	$0, -4180(%rbp)
	jmp	.L10
.L13:
	movl	-4180(%rbp), %eax
	cltq
	movq	-2064(%rbp,%rax,8), %rax
	movq	-4176(%rbp), %rcx
	movl	$0, %edx
	divq	%rcx
	movq	%rax, -4120(%rbp)
	movq	$0, -4144(%rbp)
	jmp	.L11
.L12:
	movl	-4180(%rbp), %eax
	cltq
	movq	-4112(%rbp,%rax,8), %rax
	movq	-4136(%rbp), %rdx
	imulq	%rdx, %rax
	movq	%rax, -4136(%rbp)
	addq	$1, -4144(%rbp)
.L11:
	movq	-4144(%rbp), %rax
	cmpq	-4120(%rbp), %rax
	jb	.L12
	addl	$1, -4180(%rbp)
.L10:
	movl	-4180(%rbp), %eax
	cmpl	-4184(%rbp), %eax
	jl	.L13
	movq	-4136(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
.L14:
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L15
	call	__stack_chk_fail@PLT
.L15:
	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
	.section	.rodata
.LC0:
	.string	"%lu%lu"
.LC1:
	.string	"%lu\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	$4096, %rsp
	orq	$0, (%rsp)
	subq	$96, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movl	$0, -4184(%rbp)
	leaq	-4168(%rbp), %rdx
	leaq	-4176(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	cmpl	$2, %eax
	je	.L2
	movl	$1, %eax
	jmp	.L14
.L2:
	movq	$2, -4160(%rbp)
	movq	-4168(%rbp), %rax
	movq	%rax, -4152(%rbp)
	jmp	.L4
.L8:
	movq	-4152(%rbp), %rax
	movl	$0, %edx
	divq	-4160(%rbp)
	movq	%rdx, %rax
	testq	%rax, %rax
	jne	.L5
	movq	$0, -4128(%rbp)
	jmp	.L6
.L7:
	addq	$1, -4128(%rbp)
	movq	-4152(%rbp), %rax
	movl	$0, %edx
	divq	-4160(%rbp)
	movq	%rax, -4152(%rbp)
.L6:
	movq	-4152(%rbp), %rax
	movl	$0, %edx
	divq	-4160(%rbp)
	movq	%rdx, %rax
	testq	%rax, %rax
	je	.L7
	movl	-4184(%rbp), %eax
	cltq
	movq	-4160(%rbp), %rdx
	movq	%rdx, -4112(%rbp,%rax,8)
	movl	-4184(%rbp), %eax
	cltq
	movq	-4128(%rbp), %rdx
	movq	%rdx, -2064(%rbp,%rax,8)
	addl	$1, -4184(%rbp)
.L5:
	addq	$1, -4160(%rbp)
.L4:
	movq	-4160(%rbp), %rax
	imulq	%rax, %rax
	cmpq	%rax, -4152(%rbp)
	jnb	.L8
	cmpq	$1, -4152(%rbp)
	jbe	.L9
	movl	-4184(%rbp), %eax
	cltq
	movq	-4152(%rbp), %rdx
	movq	%rdx, -4112(%rbp,%rax,8)
	movl	-4184(%rbp), %eax
	cltq
	movq	$1, -2064(%rbp,%rax,8)
	addl	$1, -4184(%rbp)
.L9:
	movq	$1, -4136(%rbp)
	movl	$0, -4180(%rbp)
	jmp	.L10
.L13:
	movl	-4180(%rbp), %eax
	cltq
	movq	-2064(%rbp,%rax,8), %rax
	movq	-4176(%rbp), %rcx
	movl	$0, %edx
	divq	%rcx
	movq	%rax, -4120(%rbp)
	movq	$0, -4144(%rbp)
	jmp	.L11
.L12:
	movl	-4180(%rbp), %eax
	cltq
	movq	-4112(%rbp,%rax,8), %rax
	movq	-4136(%rbp), %rdx
	imulq	%rdx, %rax
	movq	%rax, -4136(%rbp)
	addq	$1, -4144(%rbp)
.L11:
	movq	-4144(%rbp), %rax
	cmpq	-4120(%rbp), %rax
	jb	.L12
	addl	$1, -4180(%rbp)
.L10:
	movl	-4180(%rbp), %eax
	cmpl	-4184(%rbp), %eax
	jl	.L13
	movq	-4136(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
.L14:
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L15
	call	__stack_chk_fail@PLT
.L15:
	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:
