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)
{
	float n,w,temp;
	int i;
	scanf("%f",&n);
	while(n>=0){
		w=128;
		temp=n;
		for(i=0;i<=11;i++){
			if(w<=n){
				n-=w;
			}
			w/=2;
		}
		if(n>0){
			printf("NA\n");
		}
		else {
		w=128;
		n=temp;
			for(i=0;i<=11;i++){
			if(w<=n){
				n-=w;
				printf("1");
			}
			else {
				printf("0");
			}
			w/=2;
			if(i==7){
				printf(".");
			}
		}
		printf("\n");
	}
	scanf("%f",&n);
	}
	return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%f"
.LC4:
	.string	"NA"
	.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
	leaq	-24(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	jmp	.L2
.L16:
	movss	.LC1(%rip), %xmm0
	movss	%xmm0, -20(%rbp)
	movss	-24(%rbp), %xmm0
	movss	%xmm0, -12(%rbp)
	movl	$0, -16(%rbp)
	jmp	.L3
.L6:
	movss	-24(%rbp), %xmm0
	comiss	-20(%rbp), %xmm0
	jb	.L4
	movss	-24(%rbp), %xmm0
	subss	-20(%rbp), %xmm0
	movss	%xmm0, -24(%rbp)
.L4:
	movss	-20(%rbp), %xmm0
	movss	.LC2(%rip), %xmm1
	divss	%xmm1, %xmm0
	movss	%xmm0, -20(%rbp)
	addl	$1, -16(%rbp)
.L3:
	cmpl	$11, -16(%rbp)
	jle	.L6
	movss	-24(%rbp), %xmm0
	pxor	%xmm1, %xmm1
	comiss	%xmm1, %xmm0
	jbe	.L22
	leaq	.LC4(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	jmp	.L9
.L22:
	movss	.LC1(%rip), %xmm0
	movss	%xmm0, -20(%rbp)
	movss	-12(%rbp), %xmm0
	movss	%xmm0, -24(%rbp)
	movl	$0, -16(%rbp)
	jmp	.L10
.L15:
	movss	-24(%rbp), %xmm0
	comiss	-20(%rbp), %xmm0
	jb	.L23
	movss	-24(%rbp), %xmm0
	subss	-20(%rbp), %xmm0
	movss	%xmm0, -24(%rbp)
	movl	$49, %edi
	call	putchar@PLT
	jmp	.L13
.L23:
	movl	$48, %edi
	call	putchar@PLT
.L13:
	movss	-20(%rbp), %xmm0
	movss	.LC2(%rip), %xmm1
	divss	%xmm1, %xmm0
	movss	%xmm0, -20(%rbp)
	cmpl	$7, -16(%rbp)
	jne	.L14
	movl	$46, %edi
	call	putchar@PLT
.L14:
	addl	$1, -16(%rbp)
.L10:
	cmpl	$11, -16(%rbp)
	jle	.L15
	movl	$10, %edi
	call	putchar@PLT
.L9:
	leaq	-24(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
.L2:
	movss	-24(%rbp), %xmm0
	pxor	%xmm1, %xmm1
	comiss	%xmm1, %xmm0
	jnb	.L16
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L18
	call	__stack_chk_fail@PLT
.L18:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.section	.rodata
	.align 4
.LC1:
	.long	1124073472
	.align 4
.LC2:
	.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.
user
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"%f"
.LC3:
	.string	"NA"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	pushq	%rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	leaq	.LC1(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	movq	%rbp, %rdi
	subq	$32, %rsp
	.cfi_def_cfa_offset 64
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	leaq	20(%rsp), %r12
	movq	%r12, %rsi
	call	__isoc99_scanf@PLT
	movss	20(%rsp), %xmm1
	pxor	%xmm7, %xmm7
	comiss	%xmm7, %xmm1
	jnb	.L2
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L37:
	leaq	.LC3(%rip), %rdi
	call	puts@PLT
.L4:
	xorl	%eax, %eax
	movq	%r12, %rsi
	movq	%rbp, %rdi
	call	__isoc99_scanf@PLT
	movss	20(%rsp), %xmm1
	pxor	%xmm3, %xmm3
	comiss	%xmm3, %xmm1
	jb	.L3
.L2:
	comiss	.LC0(%rip), %xmm1
	movaps	%xmm1, %xmm0
	jb	.L13
	subss	.LC0(%rip), %xmm0
	movss	%xmm0, 20(%rsp)
.L13:
	comiss	.LC5(%rip), %xmm0
	jb	.L15
	subss	.LC5(%rip), %xmm0
	movss	%xmm0, 20(%rsp)
.L15:
	comiss	.LC6(%rip), %xmm0
	jb	.L17
	subss	.LC6(%rip), %xmm0
	movss	%xmm0, 20(%rsp)
.L17:
	comiss	.LC7(%rip), %xmm0
	jb	.L19
	subss	.LC7(%rip), %xmm0
	movss	%xmm0, 20(%rsp)
.L19:
	comiss	.LC8(%rip), %xmm0
	jb	.L21
	subss	.LC8(%rip), %xmm0
	movss	%xmm0, 20(%rsp)
.L21:
	comiss	.LC9(%rip), %xmm0
	jb	.L23
	subss	.LC9(%rip), %xmm0
	movss	%xmm0, 20(%rsp)
.L23:
	comiss	.LC10(%rip), %xmm0
	jb	.L25
	subss	.LC10(%rip), %xmm0
	movss	%xmm0, 20(%rsp)
.L25:
	comiss	.LC11(%rip), %xmm0
	jb	.L27
	subss	.LC11(%rip), %xmm0
	movss	%xmm0, 20(%rsp)
.L27:
	comiss	.LC4(%rip), %xmm0
	jb	.L29
	movss	.LC4(%rip), %xmm5
	subss	%xmm5, %xmm0
	movss	%xmm0, 20(%rsp)
.L29:
	comiss	.LC12(%rip), %xmm0
	jb	.L31
	subss	.LC12(%rip), %xmm0
	movss	%xmm0, 20(%rsp)
.L31:
	comiss	.LC13(%rip), %xmm0
	jb	.L33
	subss	.LC13(%rip), %xmm0
	movss	%xmm0, 20(%rsp)
.L33:
	comiss	.LC14(%rip), %xmm0
	jb	.L35
	subss	.LC14(%rip), %xmm0
	movss	%xmm0, 20(%rsp)
.L35:
	pxor	%xmm4, %xmm4
	comiss	%xmm4, %xmm0
	ja	.L37
	movss	.LC4(%rip), %xmm6
	movss	.LC0(%rip), %xmm0
	movss	%xmm1, 20(%rsp)
	xorl	%ebx, %ebx
	movss	%xmm6, 8(%rsp)
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L62:
	subss	%xmm0, %xmm1
	movl	$49, %edi
	addl	$1, %ebx
	movss	%xmm0, 12(%rsp)
	movss	%xmm1, 20(%rsp)
	call	putchar@PLT
	movss	12(%rsp), %xmm0
	mulss	8(%rsp), %xmm0
	cmpl	$8, %ebx
	je	.L61
.L8:
	cmpl	$12, %ebx
	je	.L10
.L9:
	movss	20(%rsp), %xmm1
.L11:
	comiss	%xmm0, %xmm1
	jnb	.L62
	movl	$48, %edi
	addl	$1, %ebx
	movss	%xmm0, 12(%rsp)
	call	putchar@PLT
	movss	12(%rsp), %xmm0
	mulss	8(%rsp), %xmm0
	cmpl	$8, %ebx
	jne	.L8
.L61:
	movl	$46, %edi
	movss	%xmm0, 12(%rsp)
	call	putchar@PLT
	movss	12(%rsp), %xmm0
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L10:
	movl	$10, %edi
	call	putchar@PLT
	jmp	.L4
.L3:
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L63
	addq	$32, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%rbp
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	ret
.L63:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.section	.rodata.cst4,"aM",@progbits,4
	.align 4
.LC0:
	.long	1124073472
	.align 4
.LC4:
	.long	1056964608
	.align 4
.LC5:
	.long	1115684864
	.align 4
.LC6:
	.long	1107296256
	.align 4
.LC7:
	.long	1098907648
	.align 4
.LC8:
	.long	1090519040
	.align 4
.LC9:
	.long	1082130432
	.align 4
.LC10:
	.long	1073741824
	.align 4
.LC11:
	.long	1065353216
	.align 4
.LC12:
	.long	1048576000
	.align 4
.LC13:
	.long	1040187392
	.align 4
.LC14:
	.long	1031798784
	.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
.LC1:
	.string	"%f"
.LC3:
	.string	"NA"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	pushq	%rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	leaq	.LC1(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	movq	%rbp, %rdi
	subq	$32, %rsp
	.cfi_def_cfa_offset 64
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	leaq	20(%rsp), %r12
	movq	%r12, %rsi
	call	__isoc99_scanf@PLT
	movss	20(%rsp), %xmm1
	pxor	%xmm7, %xmm7
	comiss	%xmm7, %xmm1
	jnb	.L2
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L37:
	leaq	.LC3(%rip), %rdi
	call	puts@PLT
.L4:
	xorl	%eax, %eax
	movq	%r12, %rsi
	movq	%rbp, %rdi
	call	__isoc99_scanf@PLT
	movss	20(%rsp), %xmm1
	pxor	%xmm3, %xmm3
	comiss	%xmm3, %xmm1
	jb	.L3
.L2:
	comiss	.LC0(%rip), %xmm1
	movaps	%xmm1, %xmm0
	jb	.L13
	subss	.LC0(%rip), %xmm0
	movss	%xmm0, 20(%rsp)
.L13:
	comiss	.LC5(%rip), %xmm0
	jb	.L15
	subss	.LC5(%rip), %xmm0
	movss	%xmm0, 20(%rsp)
.L15:
	comiss	.LC6(%rip), %xmm0
	jb	.L17
	subss	.LC6(%rip), %xmm0
	movss	%xmm0, 20(%rsp)
.L17:
	comiss	.LC7(%rip), %xmm0
	jb	.L19
	subss	.LC7(%rip), %xmm0
	movss	%xmm0, 20(%rsp)
.L19:
	comiss	.LC8(%rip), %xmm0
	jb	.L21
	subss	.LC8(%rip), %xmm0
	movss	%xmm0, 20(%rsp)
.L21:
	comiss	.LC9(%rip), %xmm0
	jb	.L23
	subss	.LC9(%rip), %xmm0
	movss	%xmm0, 20(%rsp)
.L23:
	comiss	.LC10(%rip), %xmm0
	jb	.L25
	subss	.LC10(%rip), %xmm0
	movss	%xmm0, 20(%rsp)
.L25:
	comiss	.LC11(%rip), %xmm0
	jb	.L27
	subss	.LC11(%rip), %xmm0
	movss	%xmm0, 20(%rsp)
.L27:
	comiss	.LC4(%rip), %xmm0
	jb	.L29
	movss	.LC4(%rip), %xmm5
	subss	%xmm5, %xmm0
	movss	%xmm0, 20(%rsp)
.L29:
	comiss	.LC12(%rip), %xmm0
	jb	.L31
	subss	.LC12(%rip), %xmm0
	movss	%xmm0, 20(%rsp)
.L31:
	comiss	.LC13(%rip), %xmm0
	jb	.L33
	subss	.LC13(%rip), %xmm0
	movss	%xmm0, 20(%rsp)
.L33:
	comiss	.LC14(%rip), %xmm0
	jb	.L35
	subss	.LC14(%rip), %xmm0
	movss	%xmm0, 20(%rsp)
.L35:
	pxor	%xmm4, %xmm4
	comiss	%xmm4, %xmm0
	ja	.L37
	movss	.LC4(%rip), %xmm6
	movss	.LC0(%rip), %xmm0
	movss	%xmm1, 20(%rsp)
	xorl	%ebx, %ebx
	movss	%xmm6, 8(%rsp)
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L62:
	subss	%xmm0, %xmm1
	movl	$49, %edi
	addl	$1, %ebx
	movss	%xmm0, 12(%rsp)
	movss	%xmm1, 20(%rsp)
	call	putchar@PLT
	movss	12(%rsp), %xmm0
	mulss	8(%rsp), %xmm0
	cmpl	$8, %ebx
	je	.L61
.L8:
	cmpl	$12, %ebx
	je	.L10
.L9:
	movss	20(%rsp), %xmm1
.L11:
	comiss	%xmm0, %xmm1
	jnb	.L62
	movl	$48, %edi
	addl	$1, %ebx
	movss	%xmm0, 12(%rsp)
	call	putchar@PLT
	movss	12(%rsp), %xmm0
	mulss	8(%rsp), %xmm0
	cmpl	$8, %ebx
	jne	.L8
.L61:
	movl	$46, %edi
	movss	%xmm0, 12(%rsp)
	call	putchar@PLT
	movss	12(%rsp), %xmm0
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L10:
	movl	$10, %edi
	call	putchar@PLT
	jmp	.L4
.L3:
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L63
	addq	$32, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%rbp
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	ret
.L63:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.section	.rodata.cst4,"aM",@progbits,4
	.align 4
.LC0:
	.long	1124073472
	.align 4
.LC4:
	.long	1056964608
	.align 4
.LC5:
	.long	1115684864
	.align 4
.LC6:
	.long	1107296256
	.align 4
.LC7:
	.long	1098907648
	.align 4
.LC8:
	.long	1090519040
	.align 4
.LC9:
	.long	1082130432
	.align 4
.LC10:
	.long	1073741824
	.align 4
.LC11:
	.long	1065353216
	.align 4
.LC12:
	.long	1048576000
	.align 4
.LC13:
	.long	1040187392
	.align 4
.LC14:
	.long	1031798784
	.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)
{
	float n,w,temp;
	int i;
	scanf("%f",&n);
	while(n>=0){
		w=128;
		temp=n;
		for(i=0;i<=11;i++){
			if(w<=n){
				n-=w;
			}
			w/=2;
		}
		if(n>0){
			printf("NA\n");
		}
		else {
		w=128;
		n=temp;
			for(i=0;i<=11;i++){
			if(w<=n){
				n-=w;
				printf("1");
			}
			else {
				printf("0");
			}
			w/=2;
			if(i==7){
				printf(".");
			}
		}
		printf("\n");
	}
	scanf("%f",&n);
	}
	return 0;
}
23.72975180461117
158.1
-1.0
 23.5
158.1
-0.5246083014985048
 23.72975180461117
158.1
-0.5449258499657357
 24.206542817215936
158.1
-1.0
 24.615346202775605
158.1
-1.0
 23.72975180461117
158.6852941341954
-0.5449258499657357
 25.190547978615548
158.1
-1.0
 24.615346202775605
158.4968814800713
-1.0
 23.860711200353357
158.6852941341954
-0.5449258499657357
 25.190547978615548
158.1
-0.8023788931052966

NA
NA
 00010111.1000
NA
 NA
NA
 NA
NA
 NA
NA
 NA
NA
 NA
NA
 NA
NA
 NA
NA
 NA
NA

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)
{
	float n,w,temp;
	int i;
	scanf("%f",&n);
	while(n>=0){
		w=128;
		temp=n;
		for(i=0;i<=11;i++){
			if(w<=n){
				n-=w;
			}
			w/=2;
		}
		if(n>0){
			printf("NA\n");
		}
		else {
		w=128;
		n=temp;
			for(i=0;i<=11;i++){
			if(w<=n){
				n-=w;
				printf("1");
			}
			else {
				printf("0");
			}
			w/=2;
			if(i==7){
				printf(".");
			}
		}
		printf("\n");
	}
	scanf("%f",&n);
	}
	return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%f"
.LC4:
	.string	"NA"
	.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
	leaq	-24(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	jmp	.L2
.L16:
	movss	.LC1(%rip), %xmm0
	movss	%xmm0, -20(%rbp)
	movss	-24(%rbp), %xmm0
	movss	%xmm0, -12(%rbp)
	movl	$0, -16(%rbp)
	jmp	.L3
.L6:
	movss	-24(%rbp), %xmm0
	comiss	-20(%rbp), %xmm0
	jb	.L4
	movss	-24(%rbp), %xmm0
	subss	-20(%rbp), %xmm0
	movss	%xmm0, -24(%rbp)
.L4:
	movss	-20(%rbp), %xmm0
	movss	.LC2(%rip), %xmm1
	divss	%xmm1, %xmm0
	movss	%xmm0, -20(%rbp)
	addl	$1, -16(%rbp)
.L3:
	cmpl	$11, -16(%rbp)
	jle	.L6
	movss	-24(%rbp), %xmm0
	pxor	%xmm1, %xmm1
	comiss	%xmm1, %xmm0
	jbe	.L22
	leaq	.LC4(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	jmp	.L9
.L22:
	movss	.LC1(%rip), %xmm0
	movss	%xmm0, -20(%rbp)
	movss	-12(%rbp), %xmm0
	movss	%xmm0, -24(%rbp)
	movl	$0, -16(%rbp)
	jmp	.L10
.L15:
	movss	-24(%rbp), %xmm0
	comiss	-20(%rbp), %xmm0
	jb	.L23
	movss	-24(%rbp), %xmm0
	subss	-20(%rbp), %xmm0
	movss	%xmm0, -24(%rbp)
	movl	$49, %edi
	call	putchar@PLT
	jmp	.L13
.L23:
	movl	$48, %edi
	call	putchar@PLT
.L13:
	movss	-20(%rbp), %xmm0
	movss	.LC2(%rip), %xmm1
	divss	%xmm1, %xmm0
	movss	%xmm0, -20(%rbp)
	cmpl	$7, -16(%rbp)
	jne	.L14
	movl	$46, %edi
	call	putchar@PLT
.L14:
	addl	$1, -16(%rbp)
.L10:
	cmpl	$11, -16(%rbp)
	jle	.L15
	movl	$10, %edi
	call	putchar@PLT
.L9:
	leaq	-24(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
.L2:
	movss	-24(%rbp), %xmm0
	pxor	%xmm1, %xmm1
	comiss	%xmm1, %xmm0
	jnb	.L16
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L18
	call	__stack_chk_fail@PLT
.L18:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.section	.rodata
	.align 4
.LC1:
	.long	1124073472
	.align 4
.LC2:
	.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.
train
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%f"
.LC4:
	.string	"NA"
	.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
	leaq	-24(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	jmp	.L2
.L16:
	movss	.LC1(%rip), %xmm0
	movss	%xmm0, -20(%rbp)
	movss	-24(%rbp), %xmm0
	movss	%xmm0, -12(%rbp)
	movl	$0, -16(%rbp)
	jmp	.L3
.L6:
	movss	-24(%rbp), %xmm0
	comiss	-20(%rbp), %xmm0
	jb	.L4
	movss	-24(%rbp), %xmm0
	subss	-20(%rbp), %xmm0
	movss	%xmm0, -24(%rbp)
.L4:
	movss	-20(%rbp), %xmm0
	movss	.LC2(%rip), %xmm1
	divss	%xmm1, %xmm0
	movss	%xmm0, -20(%rbp)
	addl	$1, -16(%rbp)
.L3:
	cmpl	$11, -16(%rbp)
	jle	.L6
	movss	-24(%rbp), %xmm0
	pxor	%xmm1, %xmm1
	comiss	%xmm1, %xmm0
	jbe	.L22
	leaq	.LC4(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	jmp	.L9
.L22:
	movss	.LC1(%rip), %xmm0
	movss	%xmm0, -20(%rbp)
	movss	-12(%rbp), %xmm0
	movss	%xmm0, -24(%rbp)
	movl	$0, -16(%rbp)
	jmp	.L10
.L15:
	movss	-24(%rbp), %xmm0
	comiss	-20(%rbp), %xmm0
	jb	.L23
	movss	-24(%rbp), %xmm0
	subss	-20(%rbp), %xmm0
	movss	%xmm0, -24(%rbp)
	movl	$49, %edi
	call	putchar@PLT
	jmp	.L13
.L23:
	movl	$48, %edi
	call	putchar@PLT
.L13:
	movss	-20(%rbp), %xmm0
	movss	.LC2(%rip), %xmm1
	divss	%xmm1, %xmm0
	movss	%xmm0, -20(%rbp)
	cmpl	$7, -16(%rbp)
	jne	.L14
	movl	$46, %edi
	call	putchar@PLT
.L14:
	addl	$1, -16(%rbp)
.L10:
	cmpl	$11, -16(%rbp)
	jle	.L15
	movl	$10, %edi
	call	putchar@PLT
.L9:
	leaq	-24(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
.L2:
	movss	-24(%rbp), %xmm0
	pxor	%xmm1, %xmm1
	comiss	%xmm1, %xmm0
	jnb	.L16
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L18
	call	__stack_chk_fail@PLT
.L18:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.section	.rodata
	.align 4
.LC1:
	.long	1124073472
	.align 4
.LC2:
	.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:
