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()
{
	double m,n;
	int i;
	char r[15]={0};
	for(;scanf("%lf",&n),n>0;)
	{
		for(m=128.0,i=0;i<13;i++)
		{
			if(i==8)
				r[i]='.';
			else if(n>=m)
				r[i]='1',n-=m,m/=2;
			else
				r[i]='0',m/=2;
		}
		if(n)
			puts("NA");
		else
			puts(r);
	}
	return 0;
}```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"NA"
.LC1:
	.string	"%lf"
	.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
	pushq	%rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	leaq	.LC1(%rip), %rbx
	subq	$40, %rsp
	.cfi_def_cfa_offset 64
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	xorl	%eax, %eax
	movl	$0, 17(%rsp)
	movq	%rsp, %rbp
	movq	$0, 9(%rsp)
	movw	%ax, 21(%rsp)
	movb	$0, 23(%rsp)
	.p2align 4,,10
	.p2align 3
.L2:
	xorl	%eax, %eax
	movq	%rbp, %rsi
	movq	%rbx, %rdi
	call	__isoc99_scanf@PLT
	movsd	(%rsp), %xmm0
	pxor	%xmm2, %xmm2
	comisd	%xmm2, %xmm0
	jbe	.L59
	comisd	.LC3(%rip), %xmm0
	movl	$48, %eax
	jb	.L6
	subsd	.LC3(%rip), %xmm0
	movl	$49, %eax
	movsd	%xmm0, (%rsp)
.L6:
	comisd	.LC4(%rip), %xmm0
	movb	%al, 9(%rsp)
	movl	$48, %eax
	jb	.L8
	subsd	.LC4(%rip), %xmm0
	movl	$49, %eax
	movsd	%xmm0, (%rsp)
.L8:
	comisd	.LC5(%rip), %xmm0
	movb	%al, 10(%rsp)
	movl	$48, %eax
	jb	.L10
	subsd	.LC5(%rip), %xmm0
	movl	$49, %eax
	movsd	%xmm0, (%rsp)
.L10:
	comisd	.LC6(%rip), %xmm0
	movb	%al, 11(%rsp)
	movl	$48, %eax
	jb	.L12
	subsd	.LC6(%rip), %xmm0
	movl	$49, %eax
	movsd	%xmm0, (%rsp)
.L12:
	movsd	.LC7(%rip), %xmm1
	movb	%al, 12(%rsp)
	movl	$48, %eax
	comisd	%xmm1, %xmm0
	jb	.L14
	subsd	%xmm1, %xmm0
	movl	$49, %eax
	movsd	%xmm0, (%rsp)
.L14:
	movsd	.LC8(%rip), %xmm1
	movb	%al, 13(%rsp)
	movl	$48, %eax
	comisd	%xmm1, %xmm0
	jb	.L16
	subsd	%xmm1, %xmm0
	movl	$49, %eax
	movsd	%xmm0, (%rsp)
.L16:
	movsd	.LC9(%rip), %xmm1
	movb	%al, 14(%rsp)
	movl	$48, %eax
	comisd	%xmm1, %xmm0
	jb	.L18
	subsd	%xmm1, %xmm0
	movl	$49, %eax
	movsd	%xmm0, (%rsp)
.L18:
	movsd	.LC10(%rip), %xmm1
	movb	%al, 15(%rsp)
	movl	$48, %eax
	comisd	%xmm1, %xmm0
	jb	.L20
	subsd	%xmm1, %xmm0
	movl	$49, %eax
	movsd	%xmm0, (%rsp)
.L20:
	movsd	.LC11(%rip), %xmm1
	movb	%al, 16(%rsp)
	movl	$48, %eax
	movb	$46, 17(%rsp)
	comisd	%xmm1, %xmm0
	jb	.L22
	subsd	%xmm1, %xmm0
	movl	$49, %eax
	movsd	%xmm0, (%rsp)
.L22:
	movsd	.LC12(%rip), %xmm1
	movb	%al, 18(%rsp)
	movl	$48, %eax
	comisd	%xmm1, %xmm0
	jb	.L24
	subsd	%xmm1, %xmm0
	movl	$49, %eax
	movsd	%xmm0, (%rsp)
.L24:
	movsd	.LC13(%rip), %xmm1
	movb	%al, 19(%rsp)
	movl	$48, %eax
	comisd	%xmm1, %xmm0
	jb	.L26
	subsd	%xmm1, %xmm0
	movl	$49, %eax
	movsd	%xmm0, (%rsp)
.L26:
	movsd	.LC14(%rip), %xmm1
	movb	%al, 20(%rsp)
	movl	$48, %eax
	comisd	%xmm1, %xmm0
	jb	.L28
	subsd	%xmm1, %xmm0
	movl	$49, %eax
	movsd	%xmm0, (%rsp)
.L28:
	pxor	%xmm3, %xmm3
	movb	%al, 21(%rsp)
	ucomisd	%xmm3, %xmm0
	jp	.L30
	jne	.L30
	leaq	9(%rsp), %rdi
	call	puts@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L30:
	leaq	.LC0(%rip), %rdi
	call	puts@PLT
	jmp	.L2
.L59:
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L74
	addq	$40, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
.L74:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.section	.rodata.cst8,"aM",@progbits,8
	.align 8
.LC3:
	.long	0
	.long	1080033280
	.align 8
.LC4:
	.long	0
	.long	1078984704
	.align 8
.LC5:
	.long	0
	.long	1077936128
	.align 8
.LC6:
	.long	0
	.long	1076887552
	.align 8
.LC7:
	.long	0
	.long	1075838976
	.align 8
.LC8:
	.long	0
	.long	1074790400
	.align 8
.LC9:
	.long	0
	.long	1073741824
	.align 8
.LC10:
	.long	0
	.long	1072693248
	.align 8
.LC11:
	.long	0
	.long	1071644672
	.align 8
.LC12:
	.long	0
	.long	1070596096
	.align 8
.LC13:
	.long	0
	.long	1069547520
	.align 8
.LC14:
	.long	0
	.long	1068498944
	.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	"NA"
.LC1:
	.string	"%lf"
	.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
	pushq	%rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	leaq	.LC1(%rip), %rbx
	subq	$40, %rsp
	.cfi_def_cfa_offset 64
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	xorl	%eax, %eax
	movl	$0, 17(%rsp)
	movq	%rsp, %rbp
	movq	$0, 9(%rsp)
	movw	%ax, 21(%rsp)
	movb	$0, 23(%rsp)
	.p2align 4,,10
	.p2align 3
.L2:
	xorl	%eax, %eax
	movq	%rbp, %rsi
	movq	%rbx, %rdi
	call	__isoc99_scanf@PLT
	movsd	(%rsp), %xmm0
	pxor	%xmm2, %xmm2
	comisd	%xmm2, %xmm0
	jbe	.L59
	comisd	.LC3(%rip), %xmm0
	movl	$48, %eax
	jb	.L6
	subsd	.LC3(%rip), %xmm0
	movl	$49, %eax
	movsd	%xmm0, (%rsp)
.L6:
	comisd	.LC4(%rip), %xmm0
	movb	%al, 9(%rsp)
	movl	$48, %eax
	jb	.L8
	subsd	.LC4(%rip), %xmm0
	movl	$49, %eax
	movsd	%xmm0, (%rsp)
.L8:
	comisd	.LC5(%rip), %xmm0
	movb	%al, 10(%rsp)
	movl	$48, %eax
	jb	.L10
	subsd	.LC5(%rip), %xmm0
	movl	$49, %eax
	movsd	%xmm0, (%rsp)
.L10:
	comisd	.LC6(%rip), %xmm0
	movb	%al, 11(%rsp)
	movl	$48, %eax
	jb	.L12
	subsd	.LC6(%rip), %xmm0
	movl	$49, %eax
	movsd	%xmm0, (%rsp)
.L12:
	movsd	.LC7(%rip), %xmm1
	movb	%al, 12(%rsp)
	movl	$48, %eax
	comisd	%xmm1, %xmm0
	jb	.L14
	subsd	%xmm1, %xmm0
	movl	$49, %eax
	movsd	%xmm0, (%rsp)
.L14:
	movsd	.LC8(%rip), %xmm1
	movb	%al, 13(%rsp)
	movl	$48, %eax
	comisd	%xmm1, %xmm0
	jb	.L16
	subsd	%xmm1, %xmm0
	movl	$49, %eax
	movsd	%xmm0, (%rsp)
.L16:
	movsd	.LC9(%rip), %xmm1
	movb	%al, 14(%rsp)
	movl	$48, %eax
	comisd	%xmm1, %xmm0
	jb	.L18
	subsd	%xmm1, %xmm0
	movl	$49, %eax
	movsd	%xmm0, (%rsp)
.L18:
	movsd	.LC10(%rip), %xmm1
	movb	%al, 15(%rsp)
	movl	$48, %eax
	comisd	%xmm1, %xmm0
	jb	.L20
	subsd	%xmm1, %xmm0
	movl	$49, %eax
	movsd	%xmm0, (%rsp)
.L20:
	movsd	.LC11(%rip), %xmm1
	movb	%al, 16(%rsp)
	movl	$48, %eax
	movb	$46, 17(%rsp)
	comisd	%xmm1, %xmm0
	jb	.L22
	subsd	%xmm1, %xmm0
	movl	$49, %eax
	movsd	%xmm0, (%rsp)
.L22:
	movsd	.LC12(%rip), %xmm1
	movb	%al, 18(%rsp)
	movl	$48, %eax
	comisd	%xmm1, %xmm0
	jb	.L24
	subsd	%xmm1, %xmm0
	movl	$49, %eax
	movsd	%xmm0, (%rsp)
.L24:
	movsd	.LC13(%rip), %xmm1
	movb	%al, 19(%rsp)
	movl	$48, %eax
	comisd	%xmm1, %xmm0
	jb	.L26
	subsd	%xmm1, %xmm0
	movl	$49, %eax
	movsd	%xmm0, (%rsp)
.L26:
	movsd	.LC14(%rip), %xmm1
	movb	%al, 20(%rsp)
	movl	$48, %eax
	comisd	%xmm1, %xmm0
	jb	.L28
	subsd	%xmm1, %xmm0
	movl	$49, %eax
	movsd	%xmm0, (%rsp)
.L28:
	pxor	%xmm3, %xmm3
	movb	%al, 21(%rsp)
	ucomisd	%xmm3, %xmm0
	jp	.L30
	jne	.L30
	leaq	9(%rsp), %rdi
	call	puts@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L30:
	leaq	.LC0(%rip), %rdi
	call	puts@PLT
	jmp	.L2
.L59:
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L74
	addq	$40, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
.L74:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.section	.rodata.cst8,"aM",@progbits,8
	.align 8
.LC3:
	.long	0
	.long	1080033280
	.align 8
.LC4:
	.long	0
	.long	1078984704
	.align 8
.LC5:
	.long	0
	.long	1077936128
	.align 8
.LC6:
	.long	0
	.long	1076887552
	.align 8
.LC7:
	.long	0
	.long	1075838976
	.align 8
.LC8:
	.long	0
	.long	1074790400
	.align 8
.LC9:
	.long	0
	.long	1073741824
	.align 8
.LC10:
	.long	0
	.long	1072693248
	.align 8
.LC11:
	.long	0
	.long	1071644672
	.align 8
.LC12:
	.long	0
	.long	1070596096
	.align 8
.LC13:
	.long	0
	.long	1069547520
	.align 8
.LC14:
	.long	0
	.long	1068498944
	.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	"NA"
.LC1:
	.string	"%lf"
	.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
	pushq	%rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	leaq	.LC1(%rip), %rbx
	subq	$40, %rsp
	.cfi_def_cfa_offset 64
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	xorl	%eax, %eax
	movl	$0, 17(%rsp)
	movq	%rsp, %rbp
	movq	$0, 9(%rsp)
	movw	%ax, 21(%rsp)
	movb	$0, 23(%rsp)
	.p2align 4,,10
	.p2align 3
.L2:
	xorl	%eax, %eax
	movq	%rbp, %rsi
	movq	%rbx, %rdi
	call	__isoc99_scanf@PLT
	movsd	(%rsp), %xmm0
	pxor	%xmm2, %xmm2
	comisd	%xmm2, %xmm0
	jbe	.L59
	comisd	.LC3(%rip), %xmm0
	movl	$48, %eax
	jb	.L6
	subsd	.LC3(%rip), %xmm0
	movl	$49, %eax
	movsd	%xmm0, (%rsp)
.L6:
	comisd	.LC4(%rip), %xmm0
	movb	%al, 9(%rsp)
	movl	$48, %eax
	jb	.L8
	subsd	.LC4(%rip), %xmm0
	movl	$49, %eax
	movsd	%xmm0, (%rsp)
.L8:
	comisd	.LC5(%rip), %xmm0
	movb	%al, 10(%rsp)
	movl	$48, %eax
	jb	.L10
	subsd	.LC5(%rip), %xmm0
	movl	$49, %eax
	movsd	%xmm0, (%rsp)
.L10:
	comisd	.LC6(%rip), %xmm0
	movb	%al, 11(%rsp)
	movl	$48, %eax
	jb	.L12
	subsd	.LC6(%rip), %xmm0
	movl	$49, %eax
	movsd	%xmm0, (%rsp)
.L12:
	movsd	.LC7(%rip), %xmm1
	movb	%al, 12(%rsp)
	movl	$48, %eax
	comisd	%xmm1, %xmm0
	jb	.L14
	subsd	%xmm1, %xmm0
	movl	$49, %eax
	movsd	%xmm0, (%rsp)
.L14:
	movsd	.LC8(%rip), %xmm1
	movb	%al, 13(%rsp)
	movl	$48, %eax
	comisd	%xmm1, %xmm0
	jb	.L16
	subsd	%xmm1, %xmm0
	movl	$49, %eax
	movsd	%xmm0, (%rsp)
.L16:
	movsd	.LC9(%rip), %xmm1
	movb	%al, 14(%rsp)
	movl	$48, %eax
	comisd	%xmm1, %xmm0
	jb	.L18
	subsd	%xmm1, %xmm0
	movl	$49, %eax
	movsd	%xmm0, (%rsp)
.L18:
	movsd	.LC10(%rip), %xmm1
	movb	%al, 15(%rsp)
	movl	$48, %eax
	comisd	%xmm1, %xmm0
	jb	.L20
	subsd	%xmm1, %xmm0
	movl	$49, %eax
	movsd	%xmm0, (%rsp)
.L20:
	movsd	.LC11(%rip), %xmm1
	movb	%al, 16(%rsp)
	movl	$48, %eax
	movb	$46, 17(%rsp)
	comisd	%xmm1, %xmm0
	jb	.L22
	subsd	%xmm1, %xmm0
	movl	$49, %eax
	movsd	%xmm0, (%rsp)
.L22:
	movsd	.LC12(%rip), %xmm1
	movb	%al, 18(%rsp)
	movl	$48, %eax
	comisd	%xmm1, %xmm0
	jb	.L24
	subsd	%xmm1, %xmm0
	movl	$49, %eax
	movsd	%xmm0, (%rsp)
.L24:
	movsd	.LC13(%rip), %xmm1
	movb	%al, 19(%rsp)
	movl	$48, %eax
	comisd	%xmm1, %xmm0
	jb	.L26
	subsd	%xmm1, %xmm0
	movl	$49, %eax
	movsd	%xmm0, (%rsp)
.L26:
	movsd	.LC14(%rip), %xmm1
	movb	%al, 20(%rsp)
	movl	$48, %eax
	comisd	%xmm1, %xmm0
	jb	.L28
	subsd	%xmm1, %xmm0
	movl	$49, %eax
	movsd	%xmm0, (%rsp)
.L28:
	pxor	%xmm3, %xmm3
	movb	%al, 21(%rsp)
	ucomisd	%xmm3, %xmm0
	jp	.L30
	jne	.L30
	leaq	9(%rsp), %rdi
	call	puts@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L30:
	leaq	.LC0(%rip), %rdi
	call	puts@PLT
	jmp	.L2
.L59:
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L74
	addq	$40, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
.L74:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.section	.rodata.cst8,"aM",@progbits,8
	.align 8
.LC3:
	.long	0
	.long	1080033280
	.align 8
.LC4:
	.long	0
	.long	1078984704
	.align 8
.LC5:
	.long	0
	.long	1077936128
	.align 8
.LC6:
	.long	0
	.long	1076887552
	.align 8
.LC7:
	.long	0
	.long	1075838976
	.align 8
.LC8:
	.long	0
	.long	1074790400
	.align 8
.LC9:
	.long	0
	.long	1073741824
	.align 8
.LC10:
	.long	0
	.long	1072693248
	.align 8
.LC11:
	.long	0
	.long	1071644672
	.align 8
.LC12:
	.long	0
	.long	1070596096
	.align 8
.LC13:
	.long	0
	.long	1069547520
	.align 8
.LC14:
	.long	0
	.long	1068498944
	.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()
{
	double m,n;
	int i;
	char r[15]={0};
	for(;scanf("%lf",&n),n>0;)
	{
		for(m=128.0,i=0;i<13;i++)
		{
			if(i==8)
				r[i]='.';
			else if(n>=m)
				r[i]='1',n-=m,m/=2;
			else
				r[i]='0',m/=2;
		}
		if(n)
			puts("NA");
		else
			puts(r);
	}
	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()
{
	double m,n;
	int i;
	char r[15]={0};
	for(;scanf("%lf",&n),n>0;)
	{
		for(m=128.0,i=0;i<13;i++)
		{
			if(i==8)
				r[i]='.';
			else if(n>=m)
				r[i]='1',n-=m,m/=2;
			else
				r[i]='0',m/=2;
		}
		if(n)
			puts("NA");
		else
			puts(r);
	}
	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:

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

```c
#include<stdio.h>
int main()
{
	double m,n;
	int i;
	char r[15]={0};
	for(;scanf("%lf",&n),n>0;)
	{
		for(m=128.0,i=0;i<13;i++)
		{
			if(i==8)
				r[i]='.';
			else if(n>=m)
				r[i]='1',n-=m,m/=2;
			else
				r[i]='0',m/=2;
		}
		if(n)
			puts("NA");
		else
			puts(r);
	}
	return 0;
}```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"NA"
.LC1:
	.string	"%lf"
	.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
	pushq	%rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	leaq	.LC1(%rip), %rbx
	subq	$40, %rsp
	.cfi_def_cfa_offset 64
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	xorl	%eax, %eax
	movl	$0, 17(%rsp)
	movq	%rsp, %rbp
	movq	$0, 9(%rsp)
	movw	%ax, 21(%rsp)
	movb	$0, 23(%rsp)
	.p2align 4,,10
	.p2align 3
.L2:
	xorl	%eax, %eax
	movq	%rbp, %rsi
	movq	%rbx, %rdi
	call	__isoc99_scanf@PLT
	movsd	(%rsp), %xmm0
	pxor	%xmm2, %xmm2
	comisd	%xmm2, %xmm0
	jbe	.L59
	comisd	.LC3(%rip), %xmm0
	movl	$48, %eax
	jb	.L6
	subsd	.LC3(%rip), %xmm0
	movl	$49, %eax
	movsd	%xmm0, (%rsp)
.L6:
	comisd	.LC4(%rip), %xmm0
	movb	%al, 9(%rsp)
	movl	$48, %eax
	jb	.L8
	subsd	.LC4(%rip), %xmm0
	movl	$49, %eax
	movsd	%xmm0, (%rsp)
.L8:
	comisd	.LC5(%rip), %xmm0
	movb	%al, 10(%rsp)
	movl	$48, %eax
	jb	.L10
	subsd	.LC5(%rip), %xmm0
	movl	$49, %eax
	movsd	%xmm0, (%rsp)
.L10:
	comisd	.LC6(%rip), %xmm0
	movb	%al, 11(%rsp)
	movl	$48, %eax
	jb	.L12
	subsd	.LC6(%rip), %xmm0
	movl	$49, %eax
	movsd	%xmm0, (%rsp)
.L12:
	movsd	.LC7(%rip), %xmm1
	movb	%al, 12(%rsp)
	movl	$48, %eax
	comisd	%xmm1, %xmm0
	jb	.L14
	subsd	%xmm1, %xmm0
	movl	$49, %eax
	movsd	%xmm0, (%rsp)
.L14:
	movsd	.LC8(%rip), %xmm1
	movb	%al, 13(%rsp)
	movl	$48, %eax
	comisd	%xmm1, %xmm0
	jb	.L16
	subsd	%xmm1, %xmm0
	movl	$49, %eax
	movsd	%xmm0, (%rsp)
.L16:
	movsd	.LC9(%rip), %xmm1
	movb	%al, 14(%rsp)
	movl	$48, %eax
	comisd	%xmm1, %xmm0
	jb	.L18
	subsd	%xmm1, %xmm0
	movl	$49, %eax
	movsd	%xmm0, (%rsp)
.L18:
	movsd	.LC10(%rip), %xmm1
	movb	%al, 15(%rsp)
	movl	$48, %eax
	comisd	%xmm1, %xmm0
	jb	.L20
	subsd	%xmm1, %xmm0
	movl	$49, %eax
	movsd	%xmm0, (%rsp)
.L20:
	movsd	.LC11(%rip), %xmm1
	movb	%al, 16(%rsp)
	movl	$48, %eax
	movb	$46, 17(%rsp)
	comisd	%xmm1, %xmm0
	jb	.L22
	subsd	%xmm1, %xmm0
	movl	$49, %eax
	movsd	%xmm0, (%rsp)
.L22:
	movsd	.LC12(%rip), %xmm1
	movb	%al, 18(%rsp)
	movl	$48, %eax
	comisd	%xmm1, %xmm0
	jb	.L24
	subsd	%xmm1, %xmm0
	movl	$49, %eax
	movsd	%xmm0, (%rsp)
.L24:
	movsd	.LC13(%rip), %xmm1
	movb	%al, 19(%rsp)
	movl	$48, %eax
	comisd	%xmm1, %xmm0
	jb	.L26
	subsd	%xmm1, %xmm0
	movl	$49, %eax
	movsd	%xmm0, (%rsp)
.L26:
	movsd	.LC14(%rip), %xmm1
	movb	%al, 20(%rsp)
	movl	$48, %eax
	comisd	%xmm1, %xmm0
	jb	.L28
	subsd	%xmm1, %xmm0
	movl	$49, %eax
	movsd	%xmm0, (%rsp)
.L28:
	pxor	%xmm3, %xmm3
	movb	%al, 21(%rsp)
	ucomisd	%xmm3, %xmm0
	jp	.L30
	jne	.L30
	leaq	9(%rsp), %rdi
	call	puts@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L30:
	leaq	.LC0(%rip), %rdi
	call	puts@PLT
	jmp	.L2
.L59:
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L74
	addq	$40, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
.L74:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.section	.rodata.cst8,"aM",@progbits,8
	.align 8
.LC3:
	.long	0
	.long	1080033280
	.align 8
.LC4:
	.long	0
	.long	1078984704
	.align 8
.LC5:
	.long	0
	.long	1077936128
	.align 8
.LC6:
	.long	0
	.long	1076887552
	.align 8
.LC7:
	.long	0
	.long	1075838976
	.align 8
.LC8:
	.long	0
	.long	1074790400
	.align 8
.LC9:
	.long	0
	.long	1073741824
	.align 8
.LC10:
	.long	0
	.long	1072693248
	.align 8
.LC11:
	.long	0
	.long	1071644672
	.align 8
.LC12:
	.long	0
	.long	1070596096
	.align 8
.LC13:
	.long	0
	.long	1069547520
	.align 8
.LC14:
	.long	0
	.long	1068498944
	.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	"NA"
.LC1:
	.string	"%lf"
	.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
	pushq	%rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	leaq	.LC1(%rip), %rbx
	subq	$40, %rsp
	.cfi_def_cfa_offset 64
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	xorl	%eax, %eax
	movl	$0, 17(%rsp)
	movq	%rsp, %rbp
	movq	$0, 9(%rsp)
	movw	%ax, 21(%rsp)
	movb	$0, 23(%rsp)
	.p2align 4,,10
	.p2align 3
.L2:
	xorl	%eax, %eax
	movq	%rbp, %rsi
	movq	%rbx, %rdi
	call	__isoc99_scanf@PLT
	movsd	(%rsp), %xmm0
	pxor	%xmm2, %xmm2
	comisd	%xmm2, %xmm0
	jbe	.L59
	comisd	.LC3(%rip), %xmm0
	movl	$48, %eax
	jb	.L6
	subsd	.LC3(%rip), %xmm0
	movl	$49, %eax
	movsd	%xmm0, (%rsp)
.L6:
	comisd	.LC4(%rip), %xmm0
	movb	%al, 9(%rsp)
	movl	$48, %eax
	jb	.L8
	subsd	.LC4(%rip), %xmm0
	movl	$49, %eax
	movsd	%xmm0, (%rsp)
.L8:
	comisd	.LC5(%rip), %xmm0
	movb	%al, 10(%rsp)
	movl	$48, %eax
	jb	.L10
	subsd	.LC5(%rip), %xmm0
	movl	$49, %eax
	movsd	%xmm0, (%rsp)
.L10:
	comisd	.LC6(%rip), %xmm0
	movb	%al, 11(%rsp)
	movl	$48, %eax
	jb	.L12
	subsd	.LC6(%rip), %xmm0
	movl	$49, %eax
	movsd	%xmm0, (%rsp)
.L12:
	movsd	.LC7(%rip), %xmm1
	movb	%al, 12(%rsp)
	movl	$48, %eax
	comisd	%xmm1, %xmm0
	jb	.L14
	subsd	%xmm1, %xmm0
	movl	$49, %eax
	movsd	%xmm0, (%rsp)
.L14:
	movsd	.LC8(%rip), %xmm1
	movb	%al, 13(%rsp)
	movl	$48, %eax
	comisd	%xmm1, %xmm0
	jb	.L16
	subsd	%xmm1, %xmm0
	movl	$49, %eax
	movsd	%xmm0, (%rsp)
.L16:
	movsd	.LC9(%rip), %xmm1
	movb	%al, 14(%rsp)
	movl	$48, %eax
	comisd	%xmm1, %xmm0
	jb	.L18
	subsd	%xmm1, %xmm0
	movl	$49, %eax
	movsd	%xmm0, (%rsp)
.L18:
	movsd	.LC10(%rip), %xmm1
	movb	%al, 15(%rsp)
	movl	$48, %eax
	comisd	%xmm1, %xmm0
	jb	.L20
	subsd	%xmm1, %xmm0
	movl	$49, %eax
	movsd	%xmm0, (%rsp)
.L20:
	movsd	.LC11(%rip), %xmm1
	movb	%al, 16(%rsp)
	movl	$48, %eax
	movb	$46, 17(%rsp)
	comisd	%xmm1, %xmm0
	jb	.L22
	subsd	%xmm1, %xmm0
	movl	$49, %eax
	movsd	%xmm0, (%rsp)
.L22:
	movsd	.LC12(%rip), %xmm1
	movb	%al, 18(%rsp)
	movl	$48, %eax
	comisd	%xmm1, %xmm0
	jb	.L24
	subsd	%xmm1, %xmm0
	movl	$49, %eax
	movsd	%xmm0, (%rsp)
.L24:
	movsd	.LC13(%rip), %xmm1
	movb	%al, 19(%rsp)
	movl	$48, %eax
	comisd	%xmm1, %xmm0
	jb	.L26
	subsd	%xmm1, %xmm0
	movl	$49, %eax
	movsd	%xmm0, (%rsp)
.L26:
	movsd	.LC14(%rip), %xmm1
	movb	%al, 20(%rsp)
	movl	$48, %eax
	comisd	%xmm1, %xmm0
	jb	.L28
	subsd	%xmm1, %xmm0
	movl	$49, %eax
	movsd	%xmm0, (%rsp)
.L28:
	pxor	%xmm3, %xmm3
	movb	%al, 21(%rsp)
	ucomisd	%xmm3, %xmm0
	jp	.L30
	jne	.L30
	leaq	9(%rsp), %rdi
	call	puts@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L30:
	leaq	.LC0(%rip), %rdi
	call	puts@PLT
	jmp	.L2
.L59:
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L74
	addq	$40, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
.L74:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.section	.rodata.cst8,"aM",@progbits,8
	.align 8
.LC3:
	.long	0
	.long	1080033280
	.align 8
.LC4:
	.long	0
	.long	1078984704
	.align 8
.LC5:
	.long	0
	.long	1077936128
	.align 8
.LC6:
	.long	0
	.long	1076887552
	.align 8
.LC7:
	.long	0
	.long	1075838976
	.align 8
.LC8:
	.long	0
	.long	1074790400
	.align 8
.LC9:
	.long	0
	.long	1073741824
	.align 8
.LC10:
	.long	0
	.long	1072693248
	.align 8
.LC11:
	.long	0
	.long	1071644672
	.align 8
.LC12:
	.long	0
	.long	1070596096
	.align 8
.LC13:
	.long	0
	.long	1069547520
	.align 8
.LC14:
	.long	0
	.long	1068498944
	.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:
```