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>
int main(void)
{
	int h1,h2,k1,k2,a,b,c,d,h,k,na,nb;
	scanf("%d %d %d %d %d %d %d %d",&h1,&h2,&k1,&k2,&a,&b,&c,&d);
	na=h1/10*c;
	nb=h2/10*b;
	h=h1*a+h2*b+h1/10*c+h2/20*d;
	na=k1/10*c;
	nb=k2/10*b;
	k=k1*a+k2*b+k1/10*c+k2/20*b;
	if(h>k){
	printf("hiroshi\n");
	}
	else if(h<k){
	printf("kenjiro\n");
	}
	else	{
	printf("even\n");
	}
	return 0;
}
```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d %d %d %d %d %d %d %d"
.LC1:
	.string	"hiroshi"
.LC2:
	.string	"kenjiro"
.LC3:
	.string	"even"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	subq	$56, %rsp
	.cfi_def_cfa_offset 64
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 40(%rsp)
	xorl	%eax, %eax
	leaq	16(%rsp), %rcx
	leaq	12(%rsp), %rdx
	leaq	8(%rsp), %rsi
	subq	$8, %rsp
	.cfi_def_cfa_offset 72
	leaq	44(%rsp), %rax
	pushq	%rax
	.cfi_def_cfa_offset 80
	leaq	48(%rsp), %rax
	pushq	%rax
	.cfi_def_cfa_offset 88
	leaq	52(%rsp), %rax
	pushq	%rax
	.cfi_def_cfa_offset 96
	xorl	%eax, %eax
	leaq	56(%rsp), %r9
	leaq	52(%rsp), %r8
	call	__isoc99_scanf@PLT
	movl	40(%rsp), %r9d
	movl	44(%rsp), %edi
	movl	60(%rsp), %esi
	movl	56(%rsp), %eax
	movl	%r9d, %ecx
	movl	%edi, %edx
	movl	64(%rsp), %r8d
	imull	%eax, %ecx
	imull	%esi, %edx
	addl	%edx, %ecx
	movslq	%r9d, %rdx
	sarl	$31, %r9d
	imulq	$1717986919, %rdx, %rdx
	sarq	$34, %rdx
	subl	%r9d, %edx
	movl	48(%rsp), %r9d
	imull	%r8d, %edx
	imull	%r9d, %eax
	addl	%edx, %ecx
	movslq	%edi, %rdx
	sarl	$31, %edi
	imulq	$1717986919, %rdx, %rdx
	sarq	$35, %rdx
	subl	%edi, %edx
	imull	68(%rsp), %edx
	movl	52(%rsp), %edi
	addl	%edx, %ecx
	movl	%esi, %edx
	imull	%edi, %edx
	addl	%edx, %eax
	movslq	%r9d, %rdx
	sarl	$31, %r9d
	imulq	$1717986919, %rdx, %rdx
	sarq	$34, %rdx
	subl	%r9d, %edx
	imull	%r8d, %edx
	addl	%edx, %eax
	movslq	%edi, %rdx
	sarl	$31, %edi
	imulq	$1717986919, %rdx, %rdx
	sarq	$35, %rdx
	subl	%edi, %edx
	addq	$32, %rsp
	.cfi_def_cfa_offset 64
	imull	%esi, %edx
	addl	%edx, %eax
	cmpl	%eax, %ecx
	jg	.L8
	jl	.L9
	leaq	.LC3(%rip), %rdi
	call	puts@PLT
.L3:
	movq	40(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L10
	xorl	%eax, %eax
	addq	$56, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L9:
	.cfi_restore_state
	leaq	.LC2(%rip), %rdi
	call	puts@PLT
	jmp	.L3
.L8:
	leaq	.LC1(%rip), %rdi
	call	puts@PLT
	jmp	.L3
.L10:
	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	"%d %d %d %d %d %d %d %d"
.LC1:
	.string	"hiroshi"
.LC2:
	.string	"kenjiro"
.LC3:
	.string	"even"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	subq	$56, %rsp
	.cfi_def_cfa_offset 64
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 40(%rsp)
	xorl	%eax, %eax
	leaq	16(%rsp), %rcx
	leaq	12(%rsp), %rdx
	leaq	8(%rsp), %rsi
	subq	$8, %rsp
	.cfi_def_cfa_offset 72
	leaq	44(%rsp), %rax
	pushq	%rax
	.cfi_def_cfa_offset 80
	leaq	48(%rsp), %rax
	pushq	%rax
	.cfi_def_cfa_offset 88
	leaq	52(%rsp), %rax
	pushq	%rax
	.cfi_def_cfa_offset 96
	xorl	%eax, %eax
	leaq	56(%rsp), %r9
	leaq	52(%rsp), %r8
	call	__isoc99_scanf@PLT
	movl	40(%rsp), %r9d
	movl	44(%rsp), %edi
	movl	60(%rsp), %esi
	movl	56(%rsp), %eax
	movl	%r9d, %ecx
	movl	%edi, %edx
	movl	64(%rsp), %r8d
	imull	%eax, %ecx
	imull	%esi, %edx
	addl	%edx, %ecx
	movslq	%r9d, %rdx
	sarl	$31, %r9d
	imulq	$1717986919, %rdx, %rdx
	sarq	$34, %rdx
	subl	%r9d, %edx
	movl	48(%rsp), %r9d
	imull	%r8d, %edx
	imull	%r9d, %eax
	addl	%edx, %ecx
	movslq	%edi, %rdx
	sarl	$31, %edi
	imulq	$1717986919, %rdx, %rdx
	sarq	$35, %rdx
	subl	%edi, %edx
	imull	68(%rsp), %edx
	movl	52(%rsp), %edi
	addl	%edx, %ecx
	movl	%esi, %edx
	imull	%edi, %edx
	addl	%edx, %eax
	movslq	%r9d, %rdx
	sarl	$31, %r9d
	imulq	$1717986919, %rdx, %rdx
	sarq	$34, %rdx
	subl	%r9d, %edx
	imull	%r8d, %edx
	addl	%edx, %eax
	movslq	%edi, %rdx
	sarl	$31, %edi
	imulq	$1717986919, %rdx, %rdx
	sarq	$35, %rdx
	subl	%edi, %edx
	addq	$32, %rsp
	.cfi_def_cfa_offset 64
	imull	%esi, %edx
	addl	%edx, %eax
	cmpl	%eax, %ecx
	jg	.L8
	jl	.L9
	leaq	.LC3(%rip), %rdi
	call	puts@PLT
.L3:
	movq	40(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L10
	xorl	%eax, %eax
	addq	$56, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L9:
	.cfi_restore_state
	leaq	.LC2(%rip), %rdi
	call	puts@PLT
	jmp	.L3
.L8:
	leaq	.LC1(%rip), %rdi
	call	puts@PLT
	jmp	.L3
.L10:
	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	"%d %d %d %d %d %d %d %d"
.LC1:
	.string	"hiroshi"
.LC2:
	.string	"kenjiro"
.LC3:
	.string	"even"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	subq	$56, %rsp
	.cfi_def_cfa_offset 64
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 40(%rsp)
	xorl	%eax, %eax
	leaq	16(%rsp), %rcx
	leaq	12(%rsp), %rdx
	leaq	8(%rsp), %rsi
	subq	$8, %rsp
	.cfi_def_cfa_offset 72
	leaq	44(%rsp), %rax
	pushq	%rax
	.cfi_def_cfa_offset 80
	leaq	48(%rsp), %rax
	pushq	%rax
	.cfi_def_cfa_offset 88
	leaq	52(%rsp), %rax
	pushq	%rax
	.cfi_def_cfa_offset 96
	xorl	%eax, %eax
	leaq	56(%rsp), %r9
	leaq	52(%rsp), %r8
	call	__isoc99_scanf@PLT
	movl	40(%rsp), %r9d
	movl	44(%rsp), %edi
	movl	60(%rsp), %esi
	movl	56(%rsp), %eax
	movl	%r9d, %ecx
	movl	%edi, %edx
	movl	64(%rsp), %r8d
	imull	%eax, %ecx
	imull	%esi, %edx
	addl	%edx, %ecx
	movslq	%r9d, %rdx
	sarl	$31, %r9d
	imulq	$1717986919, %rdx, %rdx
	sarq	$34, %rdx
	subl	%r9d, %edx
	movl	48(%rsp), %r9d
	imull	%r8d, %edx
	imull	%r9d, %eax
	addl	%edx, %ecx
	movslq	%edi, %rdx
	sarl	$31, %edi
	imulq	$1717986919, %rdx, %rdx
	sarq	$35, %rdx
	subl	%edi, %edx
	imull	68(%rsp), %edx
	movl	52(%rsp), %edi
	addl	%edx, %ecx
	movl	%esi, %edx
	imull	%edi, %edx
	addl	%edx, %eax
	movslq	%r9d, %rdx
	sarl	$31, %r9d
	imulq	$1717986919, %rdx, %rdx
	sarq	$34, %rdx
	subl	%r9d, %edx
	imull	%r8d, %edx
	addl	%edx, %eax
	movslq	%edi, %rdx
	sarl	$31, %edi
	imulq	$1717986919, %rdx, %rdx
	sarq	$35, %rdx
	subl	%edi, %edx
	addq	$32, %rsp
	.cfi_def_cfa_offset 64
	imull	%esi, %edx
	addl	%edx, %eax
	cmpl	%eax, %ecx
	jg	.L8
	jl	.L9
	leaq	.LC3(%rip), %rdi
	call	puts@PLT
.L3:
	movq	40(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L10
	xorl	%eax, %eax
	addq	$56, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L9:
	.cfi_restore_state
	leaq	.LC2(%rip), %rdi
	call	puts@PLT
	jmp	.L3
.L8:
	leaq	.LC1(%rip), %rdi
	call	puts@PLT
	jmp	.L3
.L10:
	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>
int main(void)
{
	int h1,h2,k1,k2,a,b,c,d,h,k,na,nb;
	scanf("%d %d %d %d %d %d %d %d",&h1,&h2,&k1,&k2,&a,&b,&c,&d);
	na=h1/10*c;
	nb=h2/10*b;
	h=h1*a+h2*b+h1/10*c+h2/20*d;
	na=k1/10*c;
	nb=k2/10*b;
	k=k1*a+k2*b+k1/10*c+k2/20*b;
	if(h>k){
	printf("hiroshi\n");
	}
	else if(h<k){
	printf("kenjiro\n");
	}
	else	{
	printf("even\n");
	}
	return 0;
}
```
Given the following C code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
#include<stdio.h>
int main(void)
{
	int h1,h2,k1,k2,a,b,c,d,h,k,na,nb;
	scanf("%d %d %d %d %d %d %d %d",&h1,&h2,&k1,&k2,&a,&b,&c,&d);
	na=h1/10*c;
	nb=h2/10*b;
	h=h1*a+h2*b+h1/10*c+h2/20*d;
	na=k1/10*c;
	nb=k2/10*b;
	k=k1*a+k2*b+k1/10*c+k2/20*b;
	if(h>k){
	printf("hiroshi\n");
	}
	else if(h<k){
	printf("kenjiro\n");
	}
	else	{
	printf("even\n");
	}
	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:

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 assembly code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
#include<stdio.h>
int main(void)
{
	int h1,h2,k1,k2,a,b,c,d,h,k,na,nb;
	scanf("%d %d %d %d %d %d %d %d",&h1,&h2,&k1,&k2,&a,&b,&c,&d);
	na=h1/10*c;
	nb=h2/10*b;
	h=h1*a+h2*b+h1/10*c+h2/20*d;
	na=k1/10*c;
	nb=k2/10*b;
	k=k1*a+k2*b+k1/10*c+k2/20*b;
	if(h>k){
	printf("hiroshi\n");
	}
	else if(h<k){
	printf("kenjiro\n");
	}
	else	{
	printf("even\n");
	}
	return 0;
}
```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d %d %d %d %d %d %d %d"
.LC1:
	.string	"hiroshi"
.LC2:
	.string	"kenjiro"
.LC3:
	.string	"even"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	subq	$56, %rsp
	.cfi_def_cfa_offset 64
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 40(%rsp)
	xorl	%eax, %eax
	leaq	16(%rsp), %rcx
	leaq	12(%rsp), %rdx
	leaq	8(%rsp), %rsi
	subq	$8, %rsp
	.cfi_def_cfa_offset 72
	leaq	44(%rsp), %rax
	pushq	%rax
	.cfi_def_cfa_offset 80
	leaq	48(%rsp), %rax
	pushq	%rax
	.cfi_def_cfa_offset 88
	leaq	52(%rsp), %rax
	pushq	%rax
	.cfi_def_cfa_offset 96
	xorl	%eax, %eax
	leaq	56(%rsp), %r9
	leaq	52(%rsp), %r8
	call	__isoc99_scanf@PLT
	movl	40(%rsp), %r9d
	movl	44(%rsp), %edi
	movl	60(%rsp), %esi
	movl	56(%rsp), %eax
	movl	%r9d, %ecx
	movl	%edi, %edx
	movl	64(%rsp), %r8d
	imull	%eax, %ecx
	imull	%esi, %edx
	addl	%edx, %ecx
	movslq	%r9d, %rdx
	sarl	$31, %r9d
	imulq	$1717986919, %rdx, %rdx
	sarq	$34, %rdx
	subl	%r9d, %edx
	movl	48(%rsp), %r9d
	imull	%r8d, %edx
	imull	%r9d, %eax
	addl	%edx, %ecx
	movslq	%edi, %rdx
	sarl	$31, %edi
	imulq	$1717986919, %rdx, %rdx
	sarq	$35, %rdx
	subl	%edi, %edx
	imull	68(%rsp), %edx
	movl	52(%rsp), %edi
	addl	%edx, %ecx
	movl	%esi, %edx
	imull	%edi, %edx
	addl	%edx, %eax
	movslq	%r9d, %rdx
	sarl	$31, %r9d
	imulq	$1717986919, %rdx, %rdx
	sarq	$34, %rdx
	subl	%r9d, %edx
	imull	%r8d, %edx
	addl	%edx, %eax
	movslq	%edi, %rdx
	sarl	$31, %edi
	imulq	$1717986919, %rdx, %rdx
	sarq	$35, %rdx
	subl	%edi, %edx
	addq	$32, %rsp
	.cfi_def_cfa_offset 64
	imull	%esi, %edx
	addl	%edx, %eax
	cmpl	%eax, %ecx
	jg	.L8
	jl	.L9
	leaq	.LC3(%rip), %rdi
	call	puts@PLT
.L3:
	movq	40(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L10
	xorl	%eax, %eax
	addq	$56, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L9:
	.cfi_restore_state
	leaq	.LC2(%rip), %rdi
	call	puts@PLT
	jmp	.L3
.L8:
	leaq	.LC1(%rip), %rdi
	call	puts@PLT
	jmp	.L3
.L10:
	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	"%d %d %d %d %d %d %d %d"
.LC1:
	.string	"hiroshi"
.LC2:
	.string	"kenjiro"
.LC3:
	.string	"even"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	subq	$56, %rsp
	.cfi_def_cfa_offset 64
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 40(%rsp)
	xorl	%eax, %eax
	leaq	16(%rsp), %rcx
	leaq	12(%rsp), %rdx
	leaq	8(%rsp), %rsi
	subq	$8, %rsp
	.cfi_def_cfa_offset 72
	leaq	44(%rsp), %rax
	pushq	%rax
	.cfi_def_cfa_offset 80
	leaq	48(%rsp), %rax
	pushq	%rax
	.cfi_def_cfa_offset 88
	leaq	52(%rsp), %rax
	pushq	%rax
	.cfi_def_cfa_offset 96
	xorl	%eax, %eax
	leaq	56(%rsp), %r9
	leaq	52(%rsp), %r8
	call	__isoc99_scanf@PLT
	movl	40(%rsp), %r9d
	movl	44(%rsp), %edi
	movl	60(%rsp), %esi
	movl	56(%rsp), %eax
	movl	%r9d, %ecx
	movl	%edi, %edx
	movl	64(%rsp), %r8d
	imull	%eax, %ecx
	imull	%esi, %edx
	addl	%edx, %ecx
	movslq	%r9d, %rdx
	sarl	$31, %r9d
	imulq	$1717986919, %rdx, %rdx
	sarq	$34, %rdx
	subl	%r9d, %edx
	movl	48(%rsp), %r9d
	imull	%r8d, %edx
	imull	%r9d, %eax
	addl	%edx, %ecx
	movslq	%edi, %rdx
	sarl	$31, %edi
	imulq	$1717986919, %rdx, %rdx
	sarq	$35, %rdx
	subl	%edi, %edx
	imull	68(%rsp), %edx
	movl	52(%rsp), %edi
	addl	%edx, %ecx
	movl	%esi, %edx
	imull	%edi, %edx
	addl	%edx, %eax
	movslq	%r9d, %rdx
	sarl	$31, %r9d
	imulq	$1717986919, %rdx, %rdx
	sarq	$34, %rdx
	subl	%r9d, %edx
	imull	%r8d, %edx
	addl	%edx, %eax
	movslq	%edi, %rdx
	sarl	$31, %edi
	imulq	$1717986919, %rdx, %rdx
	sarq	$35, %rdx
	subl	%edi, %edx
	addq	$32, %rsp
	.cfi_def_cfa_offset 64
	imull	%esi, %edx
	addl	%edx, %eax
	cmpl	%eax, %ecx
	jg	.L8
	jl	.L9
	leaq	.LC3(%rip), %rdi
	call	puts@PLT
.L3:
	movq	40(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L10
	xorl	%eax, %eax
	addq	$56, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L9:
	.cfi_restore_state
	leaq	.LC2(%rip), %rdi
	call	puts@PLT
	jmp	.L3
.L8:
	leaq	.LC1(%rip), %rdi
	call	puts@PLT
	jmp	.L3
.L10:
	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:
```