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 hi,hy,ki,ky,a,b,c,d,ht=0,kt=0,hc,hd,kc,kd;

scanf("%d %d",&hi,&hy);
scanf("%d %d",&ki,&ky);
scanf("%d %d %d %d",&a,&b,&c,&d);

ht = hi*a+hy*b;
kt = ki*a+ky*b;

if(hi>=10){
hc = hi/10;
ht = ht+hc*c;
}
if(hy>=20){
hd = hy/20;
ht = ht+hd*d;
}
if(ki>=10){
kc = ki/10;
kt = kt+kc*c;
}
if(ky>=20){
kd = ky/20;
kt = kt+kd*d;
}


if(ht>kt){
printf("hiroshi\n");
}
else if(ht<kt){
printf("kenjiro\n");
}
else if(ht == kt){
printf("even\n");
}

return 0;
}
```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d %d"
.LC1:
	.string	"%d %d %d %d"
.LC2:
	.string	"hiroshi"
.LC3:
	.string	"kenjiro"
.LC4:
	.string	"even"
	.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	$0, -32(%rbp)
	movl	$0, -28(%rbp)
	leaq	-60(%rbp), %rdx
	leaq	-64(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	leaq	-52(%rbp), %rdx
	leaq	-56(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	leaq	-36(%rbp), %rsi
	leaq	-40(%rbp), %rcx
	leaq	-44(%rbp), %rdx
	leaq	-48(%rbp), %rax
	movq	%rsi, %r8
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-64(%rbp), %edx
	movl	-48(%rbp), %eax
	movl	%edx, %ecx
	imull	%eax, %ecx
	movl	-60(%rbp), %edx
	movl	-44(%rbp), %eax
	imull	%edx, %eax
	addl	%ecx, %eax
	movl	%eax, -32(%rbp)
	movl	-56(%rbp), %edx
	movl	-48(%rbp), %eax
	movl	%edx, %ecx
	imull	%eax, %ecx
	movl	-52(%rbp), %edx
	movl	-44(%rbp), %eax
	imull	%edx, %eax
	addl	%ecx, %eax
	movl	%eax, -28(%rbp)
	movl	-64(%rbp), %eax
	cmpl	$9, %eax
	jle	.L2
	movl	-64(%rbp), %eax
	movslq	%eax, %rdx
	imulq	$1717986919, %rdx, %rdx
	shrq	$32, %rdx
	sarl	$2, %edx
	sarl	$31, %eax
	movl	%eax, %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	movl	%eax, -24(%rbp)
	movl	-40(%rbp), %eax
	imull	-24(%rbp), %eax
	addl	%eax, -32(%rbp)
.L2:
	movl	-60(%rbp), %eax
	cmpl	$19, %eax
	jle	.L3
	movl	-60(%rbp), %eax
	movslq	%eax, %rdx
	imulq	$1717986919, %rdx, %rdx
	shrq	$32, %rdx
	sarl	$3, %edx
	sarl	$31, %eax
	movl	%eax, %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	movl	%eax, -20(%rbp)
	movl	-36(%rbp), %eax
	imull	-20(%rbp), %eax
	addl	%eax, -32(%rbp)
.L3:
	movl	-56(%rbp), %eax
	cmpl	$9, %eax
	jle	.L4
	movl	-56(%rbp), %eax
	movslq	%eax, %rdx
	imulq	$1717986919, %rdx, %rdx
	shrq	$32, %rdx
	sarl	$2, %edx
	sarl	$31, %eax
	movl	%eax, %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	movl	%eax, -16(%rbp)
	movl	-40(%rbp), %eax
	imull	-16(%rbp), %eax
	addl	%eax, -28(%rbp)
.L4:
	movl	-52(%rbp), %eax
	cmpl	$19, %eax
	jle	.L5
	movl	-52(%rbp), %eax
	movslq	%eax, %rdx
	imulq	$1717986919, %rdx, %rdx
	shrq	$32, %rdx
	sarl	$3, %edx
	sarl	$31, %eax
	movl	%eax, %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	movl	%eax, -12(%rbp)
	movl	-36(%rbp), %eax
	imull	-12(%rbp), %eax
	addl	%eax, -28(%rbp)
.L5:
	movl	-32(%rbp), %eax
	cmpl	-28(%rbp), %eax
	jle	.L6
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	jmp	.L7
.L6:
	movl	-32(%rbp), %eax
	cmpl	-28(%rbp), %eax
	jge	.L8
	leaq	.LC3(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	jmp	.L7
.L8:
	movl	-32(%rbp), %eax
	cmpl	-28(%rbp), %eax
	jne	.L7
	leaq	.LC4(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
.L7:
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L10
	call	__stack_chk_fail@PLT
.L10:
	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"
.LC1:
	.string	"%d %d %d %d"
.LC2:
	.string	"hiroshi"
.LC3:
	.string	"kenjiro"
.LC4:
	.string	"even"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	leaq	.LC0(%rip), %rbp
	movq	%rbp, %rdi
	subq	$48, %rsp
	.cfi_def_cfa_offset 64
	movq	%fs:40, %rax
	movq	%rax, 40(%rsp)
	xorl	%eax, %eax
	leaq	12(%rsp), %rdx
	leaq	8(%rsp), %rsi
	call	__isoc99_scanf@PLT
	leaq	20(%rsp), %rdx
	movq	%rbp, %rdi
	xorl	%eax, %eax
	leaq	16(%rsp), %rsi
	call	__isoc99_scanf@PLT
	leaq	32(%rsp), %rcx
	leaq	28(%rsp), %rdx
	xorl	%eax, %eax
	leaq	24(%rsp), %rsi
	leaq	36(%rsp), %r8
	leaq	.LC1(%rip), %rdi
	call	__isoc99_scanf@PLT
	movl	8(%rsp), %eax
	movl	12(%rsp), %r9d
	movl	24(%rsp), %ecx
	movl	28(%rsp), %edx
	movl	%eax, %esi
	movl	%r9d, %edi
	movl	16(%rsp), %r8d
	imull	%edx, %edi
	imull	%ecx, %esi
	imull	%r8d, %ecx
	addl	%edi, %esi
	movl	20(%rsp), %edi
	imull	%edi, %edx
	addl	%edx, %ecx
	cmpl	$9, %eax
	jle	.L2
	movl	$10, %r10d
	cltd
	idivl	%r10d
	imull	32(%rsp), %eax
	addl	%eax, %esi
.L2:
	cmpl	$19, %r9d
	jle	.L3
	movl	%r9d, %eax
	movl	$20, %r10d
	cltd
	idivl	%r10d
	imull	36(%rsp), %eax
	addl	%eax, %esi
.L3:
	cmpl	$9, %r8d
	jle	.L4
	movl	%r8d, %eax
	movl	$10, %r9d
	cltd
	idivl	%r9d
	imull	32(%rsp), %eax
	addl	%eax, %ecx
.L4:
	cmpl	$19, %edi
	jle	.L5
	movl	%edi, %eax
	movl	$20, %r8d
	cltd
	idivl	%r8d
	imull	36(%rsp), %eax
	addl	%eax, %ecx
.L5:
	cmpl	%ecx, %esi
	jg	.L12
	jl	.L13
	je	.L14
.L7:
	movq	40(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L15
	addq	$48, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	xorl	%eax, %eax
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
.L13:
	.cfi_restore_state
	leaq	.LC3(%rip), %rdi
	call	puts@PLT
	jmp	.L7
.L12:
	leaq	.LC2(%rip), %rdi
	call	puts@PLT
	jmp	.L7
.L14:
	leaq	.LC4(%rip), %rdi
	call	puts@PLT
	jmp	.L7
.L15:
	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"
.LC1:
	.string	"%d %d %d %d"
.LC2:
	.string	"hiroshi"
.LC3:
	.string	"kenjiro"
.LC4:
	.string	"even"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	leaq	.LC0(%rip), %rbp
	movq	%rbp, %rdi
	subq	$48, %rsp
	.cfi_def_cfa_offset 64
	movq	%fs:40, %rax
	movq	%rax, 40(%rsp)
	xorl	%eax, %eax
	leaq	12(%rsp), %rdx
	leaq	8(%rsp), %rsi
	call	__isoc99_scanf@PLT
	leaq	20(%rsp), %rdx
	movq	%rbp, %rdi
	xorl	%eax, %eax
	leaq	16(%rsp), %rsi
	call	__isoc99_scanf@PLT
	leaq	32(%rsp), %rcx
	leaq	28(%rsp), %rdx
	xorl	%eax, %eax
	leaq	24(%rsp), %rsi
	leaq	36(%rsp), %r8
	leaq	.LC1(%rip), %rdi
	call	__isoc99_scanf@PLT
	movl	8(%rsp), %eax
	movl	12(%rsp), %r9d
	movl	24(%rsp), %ecx
	movl	28(%rsp), %edx
	movl	%eax, %esi
	movl	%r9d, %edi
	movl	16(%rsp), %r8d
	imull	%edx, %edi
	imull	%ecx, %esi
	imull	%r8d, %ecx
	addl	%edi, %esi
	movl	20(%rsp), %edi
	imull	%edi, %edx
	addl	%edx, %ecx
	cmpl	$9, %eax
	jle	.L2
	movl	$10, %r10d
	cltd
	idivl	%r10d
	imull	32(%rsp), %eax
	addl	%eax, %esi
.L2:
	cmpl	$19, %r9d
	jle	.L3
	movl	%r9d, %eax
	movl	$20, %r10d
	cltd
	idivl	%r10d
	imull	36(%rsp), %eax
	addl	%eax, %esi
.L3:
	cmpl	$9, %r8d
	jle	.L4
	movl	%r8d, %eax
	movl	$10, %r9d
	cltd
	idivl	%r9d
	imull	32(%rsp), %eax
	addl	%eax, %ecx
.L4:
	cmpl	$19, %edi
	jle	.L5
	movl	%edi, %eax
	movl	$20, %r8d
	cltd
	idivl	%r8d
	imull	36(%rsp), %eax
	addl	%eax, %ecx
.L5:
	cmpl	%ecx, %esi
	jg	.L12
	jl	.L13
	je	.L14
.L7:
	movq	40(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L15
	addq	$48, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	xorl	%eax, %eax
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
.L13:
	.cfi_restore_state
	leaq	.LC3(%rip), %rdi
	call	puts@PLT
	jmp	.L7
.L12:
	leaq	.LC2(%rip), %rdi
	call	puts@PLT
	jmp	.L7
.L14:
	leaq	.LC4(%rip), %rdi
	call	puts@PLT
	jmp	.L7
.L15:
	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 hi,hy,ki,ky,a,b,c,d,ht=0,kt=0,hc,hd,kc,kd;

scanf("%d %d",&hi,&hy);
scanf("%d %d",&ki,&ky);
scanf("%d %d %d %d",&a,&b,&c,&d);

ht = hi*a+hy*b;
kt = ki*a+ky*b;

if(hi>=10){
hc = hi/10;
ht = ht+hc*c;
}
if(hy>=20){
hd = hy/20;
ht = ht+hd*d;
}
if(ki>=10){
kc = ki/10;
kt = kt+kc*c;
}
if(ky>=20){
kd = ky/20;
kt = kt+kd*d;
}


if(ht>kt){
printf("hiroshi\n");
}
else if(ht<kt){
printf("kenjiro\n");
}
else if(ht == kt){
printf("even\n");
}

return 0;
}

9 1
3 1
1 2 5 5
 0 20
10 0
2 1 10 0
 5 0
4 1
0 0 6 -1
 5 1
4 1
1 2 5 5
 9 1
3 1
1 2 5 3
 0 13
10 0
2 1 10 0
 5 1
4 1
1 2 5 1
 9 2
3 1
1 2 5 3
 0 9
10 0
2 1 10 0
 5 1
4 1
1 2 5 0

hiroshi
 kenjiro
 even
 hiroshi
 hiroshi
 kenjiro
 hiroshi
 hiroshi
 kenjiro
 hiroshi

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 hi,hy,ki,ky,a,b,c,d,ht=0,kt=0,hc,hd,kc,kd;

scanf("%d %d",&hi,&hy);
scanf("%d %d",&ki,&ky);
scanf("%d %d %d %d",&a,&b,&c,&d);

ht = hi*a+hy*b;
kt = ki*a+ky*b;

if(hi>=10){
hc = hi/10;
ht = ht+hc*c;
}
if(hy>=20){
hd = hy/20;
ht = ht+hd*d;
}
if(ki>=10){
kc = ki/10;
kt = kt+kc*c;
}
if(ky>=20){
kd = ky/20;
kt = kt+kd*d;
}


if(ht>kt){
printf("hiroshi\n");
}
else if(ht<kt){
printf("kenjiro\n");
}
else if(ht == kt){
printf("even\n");
}

return 0;
}
```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d %d"
.LC1:
	.string	"%d %d %d %d"
.LC2:
	.string	"hiroshi"
.LC3:
	.string	"kenjiro"
.LC4:
	.string	"even"
	.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	$0, -32(%rbp)
	movl	$0, -28(%rbp)
	leaq	-60(%rbp), %rdx
	leaq	-64(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	leaq	-52(%rbp), %rdx
	leaq	-56(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	leaq	-36(%rbp), %rsi
	leaq	-40(%rbp), %rcx
	leaq	-44(%rbp), %rdx
	leaq	-48(%rbp), %rax
	movq	%rsi, %r8
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-64(%rbp), %edx
	movl	-48(%rbp), %eax
	movl	%edx, %ecx
	imull	%eax, %ecx
	movl	-60(%rbp), %edx
	movl	-44(%rbp), %eax
	imull	%edx, %eax
	addl	%ecx, %eax
	movl	%eax, -32(%rbp)
	movl	-56(%rbp), %edx
	movl	-48(%rbp), %eax
	movl	%edx, %ecx
	imull	%eax, %ecx
	movl	-52(%rbp), %edx
	movl	-44(%rbp), %eax
	imull	%edx, %eax
	addl	%ecx, %eax
	movl	%eax, -28(%rbp)
	movl	-64(%rbp), %eax
	cmpl	$9, %eax
	jle	.L2
	movl	-64(%rbp), %eax
	movslq	%eax, %rdx
	imulq	$1717986919, %rdx, %rdx
	shrq	$32, %rdx
	sarl	$2, %edx
	sarl	$31, %eax
	movl	%eax, %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	movl	%eax, -24(%rbp)
	movl	-40(%rbp), %eax
	imull	-24(%rbp), %eax
	addl	%eax, -32(%rbp)
.L2:
	movl	-60(%rbp), %eax
	cmpl	$19, %eax
	jle	.L3
	movl	-60(%rbp), %eax
	movslq	%eax, %rdx
	imulq	$1717986919, %rdx, %rdx
	shrq	$32, %rdx
	sarl	$3, %edx
	sarl	$31, %eax
	movl	%eax, %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	movl	%eax, -20(%rbp)
	movl	-36(%rbp), %eax
	imull	-20(%rbp), %eax
	addl	%eax, -32(%rbp)
.L3:
	movl	-56(%rbp), %eax
	cmpl	$9, %eax
	jle	.L4
	movl	-56(%rbp), %eax
	movslq	%eax, %rdx
	imulq	$1717986919, %rdx, %rdx
	shrq	$32, %rdx
	sarl	$2, %edx
	sarl	$31, %eax
	movl	%eax, %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	movl	%eax, -16(%rbp)
	movl	-40(%rbp), %eax
	imull	-16(%rbp), %eax
	addl	%eax, -28(%rbp)
.L4:
	movl	-52(%rbp), %eax
	cmpl	$19, %eax
	jle	.L5
	movl	-52(%rbp), %eax
	movslq	%eax, %rdx
	imulq	$1717986919, %rdx, %rdx
	shrq	$32, %rdx
	sarl	$3, %edx
	sarl	$31, %eax
	movl	%eax, %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	movl	%eax, -12(%rbp)
	movl	-36(%rbp), %eax
	imull	-12(%rbp), %eax
	addl	%eax, -28(%rbp)
.L5:
	movl	-32(%rbp), %eax
	cmpl	-28(%rbp), %eax
	jle	.L6
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	jmp	.L7
.L6:
	movl	-32(%rbp), %eax
	cmpl	-28(%rbp), %eax
	jge	.L8
	leaq	.LC3(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	jmp	.L7
.L8:
	movl	-32(%rbp), %eax
	cmpl	-28(%rbp), %eax
	jne	.L7
	leaq	.LC4(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
.L7:
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L10
	call	__stack_chk_fail@PLT
.L10:
	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"
.LC1:
	.string	"%d %d %d %d"
.LC2:
	.string	"hiroshi"
.LC3:
	.string	"kenjiro"
.LC4:
	.string	"even"
	.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	$0, -32(%rbp)
	movl	$0, -28(%rbp)
	leaq	-60(%rbp), %rdx
	leaq	-64(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	leaq	-52(%rbp), %rdx
	leaq	-56(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	leaq	-36(%rbp), %rsi
	leaq	-40(%rbp), %rcx
	leaq	-44(%rbp), %rdx
	leaq	-48(%rbp), %rax
	movq	%rsi, %r8
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-64(%rbp), %edx
	movl	-48(%rbp), %eax
	movl	%edx, %ecx
	imull	%eax, %ecx
	movl	-60(%rbp), %edx
	movl	-44(%rbp), %eax
	imull	%edx, %eax
	addl	%ecx, %eax
	movl	%eax, -32(%rbp)
	movl	-56(%rbp), %edx
	movl	-48(%rbp), %eax
	movl	%edx, %ecx
	imull	%eax, %ecx
	movl	-52(%rbp), %edx
	movl	-44(%rbp), %eax
	imull	%edx, %eax
	addl	%ecx, %eax
	movl	%eax, -28(%rbp)
	movl	-64(%rbp), %eax
	cmpl	$9, %eax
	jle	.L2
	movl	-64(%rbp), %eax
	movslq	%eax, %rdx
	imulq	$1717986919, %rdx, %rdx
	shrq	$32, %rdx
	sarl	$2, %edx
	sarl	$31, %eax
	movl	%eax, %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	movl	%eax, -24(%rbp)
	movl	-40(%rbp), %eax
	imull	-24(%rbp), %eax
	addl	%eax, -32(%rbp)
.L2:
	movl	-60(%rbp), %eax
	cmpl	$19, %eax
	jle	.L3
	movl	-60(%rbp), %eax
	movslq	%eax, %rdx
	imulq	$1717986919, %rdx, %rdx
	shrq	$32, %rdx
	sarl	$3, %edx
	sarl	$31, %eax
	movl	%eax, %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	movl	%eax, -20(%rbp)
	movl	-36(%rbp), %eax
	imull	-20(%rbp), %eax
	addl	%eax, -32(%rbp)
.L3:
	movl	-56(%rbp), %eax
	cmpl	$9, %eax
	jle	.L4
	movl	-56(%rbp), %eax
	movslq	%eax, %rdx
	imulq	$1717986919, %rdx, %rdx
	shrq	$32, %rdx
	sarl	$2, %edx
	sarl	$31, %eax
	movl	%eax, %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	movl	%eax, -16(%rbp)
	movl	-40(%rbp), %eax
	imull	-16(%rbp), %eax
	addl	%eax, -28(%rbp)
.L4:
	movl	-52(%rbp), %eax
	cmpl	$19, %eax
	jle	.L5
	movl	-52(%rbp), %eax
	movslq	%eax, %rdx
	imulq	$1717986919, %rdx, %rdx
	shrq	$32, %rdx
	sarl	$3, %edx
	sarl	$31, %eax
	movl	%eax, %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	movl	%eax, -12(%rbp)
	movl	-36(%rbp), %eax
	imull	-12(%rbp), %eax
	addl	%eax, -28(%rbp)
.L5:
	movl	-32(%rbp), %eax
	cmpl	-28(%rbp), %eax
	jle	.L6
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	jmp	.L7
.L6:
	movl	-32(%rbp), %eax
	cmpl	-28(%rbp), %eax
	jge	.L8
	leaq	.LC3(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	jmp	.L7
.L8:
	movl	-32(%rbp), %eax
	cmpl	-28(%rbp), %eax
	jne	.L7
	leaq	.LC4(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
.L7:
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L10
	call	__stack_chk_fail@PLT
.L10:
	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:
