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>
int main(void)
{
	int w, h, c, i, max=-1;
	int temp;

	scanf("%d %d %d", &w, &h, &c);
	if (w > h) {
		for (i = 1; i <= h; i++) {
			if (h % i == 0) {
				if (w % i == 0) {
					temp = i;
				}
				if (max < temp) {
					max = temp;
				}
			}
		}
		printf("%d\n", (w / max)*(h / max)*c);
	}
	else if (w < h) {
		for (i = 1; i <= w; i++) {
			if (h % i == 0) {
				if (w % i == 0) {
					temp = i;
				}
				if (max < temp) {
					max = temp;
				}
			}
		}
		printf("%d\n", (w / max)*(h / max)*c);
	}
	else if (w == h) {
		printf("%d\n", c);
	}
	return 0;
}
```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d %d %d"
.LC1:
	.string	"%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	$32, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movl	$-1, -16(%rbp)
	leaq	-24(%rbp), %rcx
	leaq	-28(%rbp), %rdx
	leaq	-32(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-32(%rbp), %edx
	movl	-28(%rbp), %eax
	cmpl	%eax, %edx
	jle	.L2
	movl	$1, -20(%rbp)
	jmp	.L3
.L6:
	movl	-28(%rbp), %eax
	cltd
	idivl	-20(%rbp)
	movl	%edx, %eax
	testl	%eax, %eax
	jne	.L4
	movl	-32(%rbp), %eax
	cltd
	idivl	-20(%rbp)
	movl	%edx, %eax
	testl	%eax, %eax
	jne	.L5
	movl	-20(%rbp), %eax
	movl	%eax, -12(%rbp)
.L5:
	movl	-16(%rbp), %eax
	cmpl	-12(%rbp), %eax
	jge	.L4
	movl	-12(%rbp), %eax
	movl	%eax, -16(%rbp)
.L4:
	addl	$1, -20(%rbp)
.L3:
	movl	-28(%rbp), %eax
	cmpl	%eax, -20(%rbp)
	jle	.L6
	movl	-32(%rbp), %eax
	cltd
	idivl	-16(%rbp)
	movl	%eax, %ecx
	movl	-28(%rbp), %eax
	cltd
	idivl	-16(%rbp)
	imull	%eax, %ecx
	movl	%ecx, %edx
	movl	-24(%rbp), %eax
	imull	%edx, %eax
	movl	%eax, %esi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	jmp	.L7
.L2:
	movl	-32(%rbp), %edx
	movl	-28(%rbp), %eax
	cmpl	%eax, %edx
	jge	.L8
	movl	$1, -20(%rbp)
	jmp	.L9
.L12:
	movl	-28(%rbp), %eax
	cltd
	idivl	-20(%rbp)
	movl	%edx, %eax
	testl	%eax, %eax
	jne	.L10
	movl	-32(%rbp), %eax
	cltd
	idivl	-20(%rbp)
	movl	%edx, %eax
	testl	%eax, %eax
	jne	.L11
	movl	-20(%rbp), %eax
	movl	%eax, -12(%rbp)
.L11:
	movl	-16(%rbp), %eax
	cmpl	-12(%rbp), %eax
	jge	.L10
	movl	-12(%rbp), %eax
	movl	%eax, -16(%rbp)
.L10:
	addl	$1, -20(%rbp)
.L9:
	movl	-32(%rbp), %eax
	cmpl	%eax, -20(%rbp)
	jle	.L12
	movl	-32(%rbp), %eax
	cltd
	idivl	-16(%rbp)
	movl	%eax, %ecx
	movl	-28(%rbp), %eax
	cltd
	idivl	-16(%rbp)
	imull	%eax, %ecx
	movl	%ecx, %edx
	movl	-24(%rbp), %eax
	imull	%edx, %eax
	movl	%eax, %esi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	jmp	.L7
.L8:
	movl	-32(%rbp), %edx
	movl	-28(%rbp), %eax
	cmpl	%eax, %edx
	jne	.L7
	movl	-24(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
.L7:
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L14
	call	__stack_chk_fail@PLT
.L14:
	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	"%d %d %d"
.LC1:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	leaq	.LC0(%rip), %rdi
	subq	$32, %rsp
	.cfi_def_cfa_offset 48
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	leaq	12(%rsp), %rsi
	leaq	20(%rsp), %rcx
	leaq	16(%rsp), %rdx
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %edi
	movl	16(%rsp), %esi
	cmpl	%esi, %edi
	jle	.L2
	testl	%esi, %esi
	jle	.L14
	leal	1(%rsi), %r9d
	orl	$-1, %r8d
	movl	$1, %ecx
	.p2align 4,,10
	.p2align 3
.L6:
	movl	%esi, %eax
	cltd
	idivl	%ecx
	testl	%edx, %edx
	jne	.L4
	movl	%edi, %eax
	cltd
	idivl	%ecx
	testl	%edx, %edx
	cmove	%ecx, %ebx
	cmpl	%ebx, %r8d
	cmovl	%ebx, %r8d
.L4:
	addl	$1, %ecx
	cmpl	%r9d, %ecx
	jne	.L6
.L3:
	movl	%edi, %eax
	cltd
	idivl	%r8d
	movl	%eax, %edi
	movl	%esi, %eax
	cltd
	idivl	%r8d
	imull	%eax, %edi
.L19:
	imull	20(%rsp), %edi
	leaq	.LC1(%rip), %rsi
	xorl	%eax, %eax
	movl	%edi, %edx
	movl	$1, %edi
	call	__printf_chk@PLT
.L7:
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L21
	addq	$32, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 8
	ret
.L2:
	.cfi_restore_state
	jge	.L8
	testl	%edi, %edi
	jle	.L15
	leal	1(%rdi), %r9d
	orl	$-1, %r8d
	movl	$1, %ecx
	.p2align 4,,10
	.p2align 3
.L12:
	movl	%esi, %eax
	cltd
	idivl	%ecx
	testl	%edx, %edx
	jne	.L10
	movl	%edi, %eax
	cltd
	idivl	%ecx
	testl	%edx, %edx
	cmove	%ecx, %ebx
	cmpl	%ebx, %r8d
	cmovl	%ebx, %r8d
.L10:
	addl	$1, %ecx
	cmpl	%r9d, %ecx
	jne	.L12
.L9:
	movl	%edi, %eax
	cltd
	idivl	%r8d
	movl	%eax, %edi
	movl	%esi, %eax
	cltd
	idivl	%r8d
	imull	%eax, %edi
	jmp	.L19
.L8:
	jne	.L7
	movl	20(%rsp), %edx
	leaq	.LC1(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L7
.L14:
	orl	$-1, %r8d
	jmp	.L3
.L15:
	orl	$-1, %r8d
	jmp	.L9
.L21:
	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	"%d %d %d"
.LC1:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	leaq	.LC0(%rip), %rdi
	subq	$32, %rsp
	.cfi_def_cfa_offset 48
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	leaq	12(%rsp), %rsi
	leaq	20(%rsp), %rcx
	leaq	16(%rsp), %rdx
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %edi
	movl	16(%rsp), %esi
	cmpl	%esi, %edi
	jle	.L2
	testl	%esi, %esi
	jle	.L14
	leal	1(%rsi), %r9d
	orl	$-1, %r8d
	movl	$1, %ecx
	.p2align 4,,10
	.p2align 3
.L6:
	movl	%esi, %eax
	cltd
	idivl	%ecx
	testl	%edx, %edx
	jne	.L4
	movl	%edi, %eax
	cltd
	idivl	%ecx
	testl	%edx, %edx
	cmove	%ecx, %ebx
	cmpl	%ebx, %r8d
	cmovl	%ebx, %r8d
.L4:
	addl	$1, %ecx
	cmpl	%r9d, %ecx
	jne	.L6
.L3:
	movl	%edi, %eax
	cltd
	idivl	%r8d
	movl	%eax, %edi
	movl	%esi, %eax
	cltd
	idivl	%r8d
	imull	%eax, %edi
.L19:
	imull	20(%rsp), %edi
	leaq	.LC1(%rip), %rsi
	xorl	%eax, %eax
	movl	%edi, %edx
	movl	$1, %edi
	call	__printf_chk@PLT
.L7:
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L21
	addq	$32, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 8
	ret
.L2:
	.cfi_restore_state
	jge	.L8
	testl	%edi, %edi
	jle	.L15
	leal	1(%rdi), %r9d
	orl	$-1, %r8d
	movl	$1, %ecx
	.p2align 4,,10
	.p2align 3
.L12:
	movl	%esi, %eax
	cltd
	idivl	%ecx
	testl	%edx, %edx
	jne	.L10
	movl	%edi, %eax
	cltd
	idivl	%ecx
	testl	%edx, %edx
	cmove	%ecx, %ebx
	cmpl	%ebx, %r8d
	cmovl	%ebx, %r8d
.L10:
	addl	$1, %ecx
	cmpl	%r9d, %ecx
	jne	.L12
.L9:
	movl	%edi, %eax
	cltd
	idivl	%r8d
	movl	%eax, %edi
	movl	%esi, %eax
	cltd
	idivl	%r8d
	imull	%eax, %edi
	jmp	.L19
.L8:
	jne	.L7
	movl	20(%rsp), %edx
	leaq	.LC1(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L7
.L14:
	orl	$-1, %r8d
	jmp	.L3
.L15:
	orl	$-1, %r8d
	jmp	.L9
.L21:
	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>
int main(void)
{
	int w, h, c, i, max=-1;
	int temp;

	scanf("%d %d %d", &w, &h, &c);
	if (w > h) {
		for (i = 1; i <= h; i++) {
			if (h % i == 0) {
				if (w % i == 0) {
					temp = i;
				}
				if (max < temp) {
					max = temp;
				}
			}
		}
		printf("%d\n", (w / max)*(h / max)*c);
	}
	else if (w < h) {
		for (i = 1; i <= w; i++) {
			if (h % i == 0) {
				if (w % i == 0) {
					temp = i;
				}
				if (max < temp) {
					max = temp;
				}
			}
		}
		printf("%d\n", (w / max)*(h / max)*c);
	}
	else if (w == h) {
		printf("%d\n", c);
	}
	return 0;
}

9 6 1
 10 20 9
 10 20 16
 4 11 1
 8 20 16
 6 11 1
 8 20 11
 3 11 1
 2 1 11
 3 3 1

6
 18
 32
 44
 160
 66
 110
 33
 22
 1

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>
int main(void)
{
	int w, h, c, i, max=-1;
	int temp;

	scanf("%d %d %d", &w, &h, &c);
	if (w > h) {
		for (i = 1; i <= h; i++) {
			if (h % i == 0) {
				if (w % i == 0) {
					temp = i;
				}
				if (max < temp) {
					max = temp;
				}
			}
		}
		printf("%d\n", (w / max)*(h / max)*c);
	}
	else if (w < h) {
		for (i = 1; i <= w; i++) {
			if (h % i == 0) {
				if (w % i == 0) {
					temp = i;
				}
				if (max < temp) {
					max = temp;
				}
			}
		}
		printf("%d\n", (w / max)*(h / max)*c);
	}
	else if (w == h) {
		printf("%d\n", c);
	}
	return 0;
}
```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d %d %d"
.LC1:
	.string	"%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	$32, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movl	$-1, -16(%rbp)
	leaq	-24(%rbp), %rcx
	leaq	-28(%rbp), %rdx
	leaq	-32(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-32(%rbp), %edx
	movl	-28(%rbp), %eax
	cmpl	%eax, %edx
	jle	.L2
	movl	$1, -20(%rbp)
	jmp	.L3
.L6:
	movl	-28(%rbp), %eax
	cltd
	idivl	-20(%rbp)
	movl	%edx, %eax
	testl	%eax, %eax
	jne	.L4
	movl	-32(%rbp), %eax
	cltd
	idivl	-20(%rbp)
	movl	%edx, %eax
	testl	%eax, %eax
	jne	.L5
	movl	-20(%rbp), %eax
	movl	%eax, -12(%rbp)
.L5:
	movl	-16(%rbp), %eax
	cmpl	-12(%rbp), %eax
	jge	.L4
	movl	-12(%rbp), %eax
	movl	%eax, -16(%rbp)
.L4:
	addl	$1, -20(%rbp)
.L3:
	movl	-28(%rbp), %eax
	cmpl	%eax, -20(%rbp)
	jle	.L6
	movl	-32(%rbp), %eax
	cltd
	idivl	-16(%rbp)
	movl	%eax, %ecx
	movl	-28(%rbp), %eax
	cltd
	idivl	-16(%rbp)
	imull	%eax, %ecx
	movl	%ecx, %edx
	movl	-24(%rbp), %eax
	imull	%edx, %eax
	movl	%eax, %esi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	jmp	.L7
.L2:
	movl	-32(%rbp), %edx
	movl	-28(%rbp), %eax
	cmpl	%eax, %edx
	jge	.L8
	movl	$1, -20(%rbp)
	jmp	.L9
.L12:
	movl	-28(%rbp), %eax
	cltd
	idivl	-20(%rbp)
	movl	%edx, %eax
	testl	%eax, %eax
	jne	.L10
	movl	-32(%rbp), %eax
	cltd
	idivl	-20(%rbp)
	movl	%edx, %eax
	testl	%eax, %eax
	jne	.L11
	movl	-20(%rbp), %eax
	movl	%eax, -12(%rbp)
.L11:
	movl	-16(%rbp), %eax
	cmpl	-12(%rbp), %eax
	jge	.L10
	movl	-12(%rbp), %eax
	movl	%eax, -16(%rbp)
.L10:
	addl	$1, -20(%rbp)
.L9:
	movl	-32(%rbp), %eax
	cmpl	%eax, -20(%rbp)
	jle	.L12
	movl	-32(%rbp), %eax
	cltd
	idivl	-16(%rbp)
	movl	%eax, %ecx
	movl	-28(%rbp), %eax
	cltd
	idivl	-16(%rbp)
	imull	%eax, %ecx
	movl	%ecx, %edx
	movl	-24(%rbp), %eax
	imull	%edx, %eax
	movl	%eax, %esi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	jmp	.L7
.L8:
	movl	-32(%rbp), %edx
	movl	-28(%rbp), %eax
	cmpl	%eax, %edx
	jne	.L7
	movl	-24(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
.L7:
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L14
	call	__stack_chk_fail@PLT
.L14:
	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	"%d %d %d"
.LC1:
	.string	"%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	$32, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movl	$-1, -16(%rbp)
	leaq	-24(%rbp), %rcx
	leaq	-28(%rbp), %rdx
	leaq	-32(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-32(%rbp), %edx
	movl	-28(%rbp), %eax
	cmpl	%eax, %edx
	jle	.L2
	movl	$1, -20(%rbp)
	jmp	.L3
.L6:
	movl	-28(%rbp), %eax
	cltd
	idivl	-20(%rbp)
	movl	%edx, %eax
	testl	%eax, %eax
	jne	.L4
	movl	-32(%rbp), %eax
	cltd
	idivl	-20(%rbp)
	movl	%edx, %eax
	testl	%eax, %eax
	jne	.L5
	movl	-20(%rbp), %eax
	movl	%eax, -12(%rbp)
.L5:
	movl	-16(%rbp), %eax
	cmpl	-12(%rbp), %eax
	jge	.L4
	movl	-12(%rbp), %eax
	movl	%eax, -16(%rbp)
.L4:
	addl	$1, -20(%rbp)
.L3:
	movl	-28(%rbp), %eax
	cmpl	%eax, -20(%rbp)
	jle	.L6
	movl	-32(%rbp), %eax
	cltd
	idivl	-16(%rbp)
	movl	%eax, %ecx
	movl	-28(%rbp), %eax
	cltd
	idivl	-16(%rbp)
	imull	%eax, %ecx
	movl	%ecx, %edx
	movl	-24(%rbp), %eax
	imull	%edx, %eax
	movl	%eax, %esi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	jmp	.L7
.L2:
	movl	-32(%rbp), %edx
	movl	-28(%rbp), %eax
	cmpl	%eax, %edx
	jge	.L8
	movl	$1, -20(%rbp)
	jmp	.L9
.L12:
	movl	-28(%rbp), %eax
	cltd
	idivl	-20(%rbp)
	movl	%edx, %eax
	testl	%eax, %eax
	jne	.L10
	movl	-32(%rbp), %eax
	cltd
	idivl	-20(%rbp)
	movl	%edx, %eax
	testl	%eax, %eax
	jne	.L11
	movl	-20(%rbp), %eax
	movl	%eax, -12(%rbp)
.L11:
	movl	-16(%rbp), %eax
	cmpl	-12(%rbp), %eax
	jge	.L10
	movl	-12(%rbp), %eax
	movl	%eax, -16(%rbp)
.L10:
	addl	$1, -20(%rbp)
.L9:
	movl	-32(%rbp), %eax
	cmpl	%eax, -20(%rbp)
	jle	.L12
	movl	-32(%rbp), %eax
	cltd
	idivl	-16(%rbp)
	movl	%eax, %ecx
	movl	-28(%rbp), %eax
	cltd
	idivl	-16(%rbp)
	imull	%eax, %ecx
	movl	%ecx, %edx
	movl	-24(%rbp), %eax
	imull	%edx, %eax
	movl	%eax, %esi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	jmp	.L7
.L8:
	movl	-32(%rbp), %edx
	movl	-28(%rbp), %eax
	cmpl	%eax, %edx
	jne	.L7
	movl	-24(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
.L7:
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L14
	call	__stack_chk_fail@PLT
.L14:
	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:
