Given the following C code and assembly code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
h[7];
float v;
main(i){
	scanf("%*d");
	for(;~scanf("%f",&v);){
		i=(v-165)/5+2;
		if(i<1)i=1;
		if(i>6)i=6;
		h[i]++;
	}
	for(i=1;i<=6;i++){
		printf("%d:",i);
		for(;h[i]--;)
			putchar('*');
		puts("");
	}
	exit(0);
}```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%*d"
.LC4:
	.string	"%f"
.LC5:
	.string	"%d:"
.LC6:
	.string	""
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	leaq	.LC0(%rip), %rdi
	xorl	%eax, %eax
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	leaq	v(%rip), %r12
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	leaq	.LC4(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	leaq	h(%rip), %rbx
	subq	$8, %rsp
	.cfi_def_cfa_offset 48
	call	scanf@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L3:
	movss	v(%rip), %xmm0
	subss	.LC1(%rip), %xmm0
	divss	.LC2(%rip), %xmm0
	movl	$6, %edx
	addss	.LC3(%rip), %xmm0
	cvttss2sil	%xmm0, %eax
	cmpl	%edx, %eax
	cmovg	%edx, %eax
	movl	$1, %edx
	testl	%eax, %eax
	cmovle	%edx, %eax
	cltq
	addl	$1, (%rbx,%rax,4)
.L2:
	xorl	%eax, %eax
	movq	%r12, %rsi
	movq	%rbp, %rdi
	call	scanf@PLT
	cmpl	$-1, %eax
	jne	.L3
	leaq	h(%rip), %rbx
	movl	$1, %ebp
	leaq	.LC5(%rip), %r13
	leaq	.LC6(%rip), %r12
	.p2align 4,,10
	.p2align 3
.L6:
	movl	%ebp, %esi
	movq	%r13, %rdi
	xorl	%eax, %eax
	call	printf@PLT
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L15:
	movl	$42, %edi
	call	putchar@PLT
.L13:
	movl	4(%rbx), %eax
	leal	-1(%rax), %edx
	movl	%edx, 4(%rbx)
	testl	%eax, %eax
	jne	.L15
	movq	%r12, %rdi
	addl	$1, %ebp
	addq	$4, %rbx
	call	puts@PLT
	cmpl	$7, %ebp
	jne	.L6
	xorl	%edi, %edi
	call	exit@PLT
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	v
	.bss
	.align 4
	.type	v, @object
	.size	v, 4
v:
	.zero	4
	.globl	h
	.align 16
	.type	h, @object
	.size	h, 28
h:
	.zero	28
	.section	.rodata.cst4,"aM",@progbits,4
	.align 4
.LC1:
	.long	1126498304
	.align 4
.LC2:
	.long	1084227584
	.align 4
.LC3:
	.long	1073741824
	.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"
.LC4:
	.string	"%f"
.LC5:
	.string	"%d:"
.LC6:
	.string	""
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	leaq	.LC0(%rip), %rdi
	xorl	%eax, %eax
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	leaq	v(%rip), %r12
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	leaq	.LC4(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	leaq	h(%rip), %rbx
	subq	$8, %rsp
	.cfi_def_cfa_offset 48
	call	scanf@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L3:
	movss	v(%rip), %xmm0
	subss	.LC1(%rip), %xmm0
	divss	.LC2(%rip), %xmm0
	movl	$6, %edx
	addss	.LC3(%rip), %xmm0
	cvttss2sil	%xmm0, %eax
	cmpl	%edx, %eax
	cmovg	%edx, %eax
	movl	$1, %edx
	testl	%eax, %eax
	cmovle	%edx, %eax
	cltq
	addl	$1, (%rbx,%rax,4)
.L2:
	xorl	%eax, %eax
	movq	%r12, %rsi
	movq	%rbp, %rdi
	call	scanf@PLT
	cmpl	$-1, %eax
	jne	.L3
	leaq	h(%rip), %rbx
	movl	$1, %ebp
	leaq	.LC5(%rip), %r13
	leaq	.LC6(%rip), %r12
	.p2align 4,,10
	.p2align 3
.L6:
	movl	%ebp, %esi
	movq	%r13, %rdi
	xorl	%eax, %eax
	call	printf@PLT
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L15:
	movl	$42, %edi
	call	putchar@PLT
.L13:
	movl	4(%rbx), %eax
	leal	-1(%rax), %edx
	movl	%edx, 4(%rbx)
	testl	%eax, %eax
	jne	.L15
	movq	%r12, %rdi
	addl	$1, %ebp
	addq	$4, %rbx
	call	puts@PLT
	cmpl	$7, %ebp
	jne	.L6
	xorl	%edi, %edi
	call	exit@PLT
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	v
	.bss
	.align 4
	.type	v, @object
	.size	v, 4
v:
	.zero	4
	.globl	h
	.align 16
	.type	h, @object
	.size	h, 28
h:
	.zero	28
	.section	.rodata.cst4,"aM",@progbits,4
	.align 4
.LC1:
	.long	1126498304
	.align 4
.LC2:
	.long	1084227584
	.align 4
.LC3:
	.long	1073741824
	.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"
.LC4:
	.string	"%f"
.LC5:
	.string	"%d:"
.LC6:
	.string	""
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	leaq	.LC0(%rip), %rdi
	xorl	%eax, %eax
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	leaq	v(%rip), %r12
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	leaq	.LC4(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	leaq	h(%rip), %rbx
	subq	$8, %rsp
	.cfi_def_cfa_offset 48
	call	scanf@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L3:
	movss	v(%rip), %xmm0
	subss	.LC1(%rip), %xmm0
	divss	.LC2(%rip), %xmm0
	movl	$6, %edx
	addss	.LC3(%rip), %xmm0
	cvttss2sil	%xmm0, %eax
	cmpl	%edx, %eax
	cmovg	%edx, %eax
	movl	$1, %edx
	testl	%eax, %eax
	cmovle	%edx, %eax
	cltq
	addl	$1, (%rbx,%rax,4)
.L2:
	xorl	%eax, %eax
	movq	%r12, %rsi
	movq	%rbp, %rdi
	call	scanf@PLT
	cmpl	$-1, %eax
	jne	.L3
	leaq	h(%rip), %rbx
	movl	$1, %ebp
	leaq	.LC5(%rip), %r13
	leaq	.LC6(%rip), %r12
	.p2align 4,,10
	.p2align 3
.L6:
	movl	%ebp, %esi
	movq	%r13, %rdi
	xorl	%eax, %eax
	call	printf@PLT
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L15:
	movl	$42, %edi
	call	putchar@PLT
.L13:
	movl	4(%rbx), %eax
	leal	-1(%rax), %edx
	movl	%edx, 4(%rbx)
	testl	%eax, %eax
	jne	.L15
	movq	%r12, %rdi
	addl	$1, %ebp
	addq	$4, %rbx
	call	puts@PLT
	cmpl	$7, %ebp
	jne	.L6
	xorl	%edi, %edi
	call	exit@PLT
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	v
	.bss
	.align 4
	.type	v, @object
	.size	v, 4
v:
	.zero	4
	.globl	h
	.align 16
	.type	h, @object
	.size	h, 28
h:
	.zero	28
	.section	.rodata.cst4,"aM",@progbits,4
	.align 4
.LC1:
	.long	1126498304
	.align 4
.LC2:
	.long	1084227584
	.align 4
.LC3:
	.long	1073741824
	.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
h[7];
float v;
main(i){
	scanf("%*d");
	for(;~scanf("%f",&v);){
		i=(v-165)/5+2;
		if(i<1)i=1;
		if(i>6)i=6;
		h[i]++;
	}
	for(i=1;i<=6;i++){
		printf("%d:",i);
		for(;h[i]--;)
			putchar('*');
		puts("");
	}
	exit(0);
}```
Given the following C code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
h[7];
float v;
main(i){
	scanf("%*d");
	for(;~scanf("%f",&v);){
		i=(v-165)/5+2;
		if(i<1)i=1;
		if(i>6)i=6;
		h[i]++;
	}
	for(i=1;i<=6;i++){
		printf("%d:",i);
		for(;h[i]--;)
			putchar('*');
		puts("");
	}
	exit(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:

4
180.3
168.42932428490565
165.5
175.3
 21
180.11768905370886
171.5
156.6
173.0
169.4
181.2
172.4
170.0
163.6
165.9
173.5
168.2
162.5
172.0
175.1
172.3
167.5
175.9
186.2
168.0
178.6
 4
181.18433876305002
170.39693722948385
166.4360577935364
175.91022475280127
 21
180.76994722892775
171.5
156.6
174.10655592841871
169.4
181.2
172.4
170.0
163.6
167.65281188168532
175.28081347921966
168.51173370867775
162.5
172.0
175.1
172.3
167.5
176.42167691499978
186.2
168.0
178.6
 21
180.76994722892775
172.14005499467143
156.6
174.2398386835892
170.3704401327679
181.62299381350638
172.4
170.0
163.82005098261095
167.65281188168532
175.28081347921966
169.48159755867619
162.5
172.0
175.9052617275492
173.35493340870184
167.50879258252357
176.42167691499978
186.2
168.0
179.33405379113478
 4
184.5675474968178
172.0731721880196
170.25357436206482
177.33733362116456
 4
185.1886327803251
172.0731721880196
170.25357436206482
178.58071356182316
 4
185.1886327803251
172.97453109161933
171.40515198896472
180.0524415225808
 4
185.4896572821238
175.28984893984995
172.89728286072392
180.0524415225808
 4
186.487152384495
176.25755947274573
175.0305181428357
181.06399491806826

1:
2:**
3:
4:*
5:*
6:
 1:***
2:*****
3:*******
4:***
5:**
6:*
 1:
2:*
3:*
4:*
5:*
6:
 1:***
2:*****
3:******
4:****
5:**
6:*
 1:***
2:****
3:*******
4:****
5:**
6:*
 1:
2:
3:**
4:*
5:*
6:
 1:
2:
3:**
4:*
5:
6:*
 1:
2:
3:**
4:
5:*
6:*
 1:
2:
3:*
4:*
5:*
6:*
 1:
2:
3:
4:**
5:*
6:*

Given the following C code and assembly code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
h[7];
float v;
main(i){
	scanf("%*d");
	for(;~scanf("%f",&v);){
		i=(v-165)/5+2;
		if(i<1)i=1;
		if(i>6)i=6;
		h[i]++;
	}
	for(i=1;i<=6;i++){
		printf("%d:",i);
		for(;h[i]--;)
			putchar('*');
		puts("");
	}
	exit(0);
}```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%*d"
.LC4:
	.string	"%f"
.LC5:
	.string	"%d:"
.LC6:
	.string	""
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	leaq	.LC0(%rip), %rdi
	xorl	%eax, %eax
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	leaq	v(%rip), %r12
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	leaq	.LC4(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	leaq	h(%rip), %rbx
	subq	$8, %rsp
	.cfi_def_cfa_offset 48
	call	scanf@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L3:
	movss	v(%rip), %xmm0
	subss	.LC1(%rip), %xmm0
	divss	.LC2(%rip), %xmm0
	movl	$6, %edx
	addss	.LC3(%rip), %xmm0
	cvttss2sil	%xmm0, %eax
	cmpl	%edx, %eax
	cmovg	%edx, %eax
	movl	$1, %edx
	testl	%eax, %eax
	cmovle	%edx, %eax
	cltq
	addl	$1, (%rbx,%rax,4)
.L2:
	xorl	%eax, %eax
	movq	%r12, %rsi
	movq	%rbp, %rdi
	call	scanf@PLT
	cmpl	$-1, %eax
	jne	.L3
	leaq	h(%rip), %rbx
	movl	$1, %ebp
	leaq	.LC5(%rip), %r13
	leaq	.LC6(%rip), %r12
	.p2align 4,,10
	.p2align 3
.L6:
	movl	%ebp, %esi
	movq	%r13, %rdi
	xorl	%eax, %eax
	call	printf@PLT
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L15:
	movl	$42, %edi
	call	putchar@PLT
.L13:
	movl	4(%rbx), %eax
	leal	-1(%rax), %edx
	movl	%edx, 4(%rbx)
	testl	%eax, %eax
	jne	.L15
	movq	%r12, %rdi
	addl	$1, %ebp
	addq	$4, %rbx
	call	puts@PLT
	cmpl	$7, %ebp
	jne	.L6
	xorl	%edi, %edi
	call	exit@PLT
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	v
	.bss
	.align 4
	.type	v, @object
	.size	v, 4
v:
	.zero	4
	.globl	h
	.align 16
	.type	h, @object
	.size	h, 28
h:
	.zero	28
	.section	.rodata.cst4,"aM",@progbits,4
	.align 4
.LC1:
	.long	1126498304
	.align 4
.LC2:
	.long	1084227584
	.align 4
.LC3:
	.long	1073741824
	.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"
.LC4:
	.string	"%f"
.LC5:
	.string	"%d:"
.LC6:
	.string	""
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	leaq	.LC0(%rip), %rdi
	xorl	%eax, %eax
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	leaq	v(%rip), %r12
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	leaq	.LC4(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	leaq	h(%rip), %rbx
	subq	$8, %rsp
	.cfi_def_cfa_offset 48
	call	scanf@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L3:
	movss	v(%rip), %xmm0
	subss	.LC1(%rip), %xmm0
	divss	.LC2(%rip), %xmm0
	movl	$6, %edx
	addss	.LC3(%rip), %xmm0
	cvttss2sil	%xmm0, %eax
	cmpl	%edx, %eax
	cmovg	%edx, %eax
	movl	$1, %edx
	testl	%eax, %eax
	cmovle	%edx, %eax
	cltq
	addl	$1, (%rbx,%rax,4)
.L2:
	xorl	%eax, %eax
	movq	%r12, %rsi
	movq	%rbp, %rdi
	call	scanf@PLT
	cmpl	$-1, %eax
	jne	.L3
	leaq	h(%rip), %rbx
	movl	$1, %ebp
	leaq	.LC5(%rip), %r13
	leaq	.LC6(%rip), %r12
	.p2align 4,,10
	.p2align 3
.L6:
	movl	%ebp, %esi
	movq	%r13, %rdi
	xorl	%eax, %eax
	call	printf@PLT
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L15:
	movl	$42, %edi
	call	putchar@PLT
.L13:
	movl	4(%rbx), %eax
	leal	-1(%rax), %edx
	movl	%edx, 4(%rbx)
	testl	%eax, %eax
	jne	.L15
	movq	%r12, %rdi
	addl	$1, %ebp
	addq	$4, %rbx
	call	puts@PLT
	cmpl	$7, %ebp
	jne	.L6
	xorl	%edi, %edi
	call	exit@PLT
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	v
	.bss
	.align 4
	.type	v, @object
	.size	v, 4
v:
	.zero	4
	.globl	h
	.align 16
	.type	h, @object
	.size	h, 28
h:
	.zero	28
	.section	.rodata.cst4,"aM",@progbits,4
	.align 4
.LC1:
	.long	1126498304
	.align 4
.LC2:
	.long	1084227584
	.align 4
.LC3:
	.long	1073741824
	.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:
```