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(){
	int num,n,i,_height,weight,bestBmiN;
	double height,bmi,bmi_d,bestBmi;
	for(;scanf("%d",&n)&&n;){
		bestBmiN=0;
		bestBmi=10000;
		for(i=0;i<n&&scanf("%d %d %d",&num,&_height,&weight);i++){
			height=(double)_height/100.0;
			bmi=(double)weight/(height*height);
			if(22.0>bmi)bmi_d=22.0-bmi;
			else bmi_d=bmi-22.0;
			if(bmi_d<bestBmi){
				bestBmi=bmi_d;
				bestBmiN=num;
			}
		}
		printf("%d\n",bestBmiN);
	}
	return 0;
}```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC3:
	.string	"%d %d %d"
.LC4:
	.string	"%d\n"
.LC5:
	.string	"%d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	leaq	.LC3(%rip), %r13
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$56, %rsp
	.cfi_def_cfa_offset 112
	movq	%fs:40, %rax
	movq	%rax, 40(%rsp)
	xorl	%eax, %eax
	leaq	28(%rsp), %rax
	movq	%rax, 8(%rsp)
	.p2align 4,,10
	.p2align 3
.L2:
	movq	8(%rsp), %rsi
	xorl	%eax, %eax
	leaq	.LC5(%rip), %rdi
	call	__isoc99_scanf@PLT
	testl	%eax, %eax
	je	.L10
	movl	28(%rsp), %eax
	testl	%eax, %eax
	je	.L10
	jle	.L25
	xorl	%r14d, %r14d
	leaq	36(%rsp), %r12
	leaq	32(%rsp), %rbp
	xorl	%r15d, %r15d
	movq	.LC0(%rip), %rax
	leaq	24(%rsp), %rbx
	movq	%rax, (%rsp)
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L26:
	movapd	%xmm2, %xmm0
	subsd	%xmm1, %xmm0
.L5:
	movsd	(%rsp), %xmm3
	comisd	%xmm0, %xmm3
	jbe	.L6
	movl	24(%rsp), %r14d
	movsd	%xmm0, (%rsp)
.L6:
	addl	$1, %r15d
	cmpl	%r15d, 28(%rsp)
	jle	.L8
.L11:
	xorl	%eax, %eax
	movq	%r12, %rcx
	movq	%rbp, %rdx
	movq	%rbx, %rsi
	movq	%r13, %rdi
	call	__isoc99_scanf@PLT
	testl	%eax, %eax
	je	.L8
	pxor	%xmm0, %xmm0
	pxor	%xmm1, %xmm1
	movsd	.LC2(%rip), %xmm2
	cvtsi2sdl	32(%rsp), %xmm0
	divsd	.LC1(%rip), %xmm0
	mulsd	%xmm0, %xmm0
	cvtsi2sdl	36(%rsp), %xmm1
	divsd	%xmm0, %xmm1
	comisd	%xmm1, %xmm2
	ja	.L26
	subsd	.LC2(%rip), %xmm1
	movapd	%xmm1, %xmm0
	jmp	.L5
.L25:
	xorl	%r14d, %r14d
	.p2align 4,,10
	.p2align 3
.L8:
	movl	%r14d, %edx
	leaq	.LC4(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L10:
	movq	40(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L27
	addq	$56, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
.L27:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.section	.rodata.cst8,"aM",@progbits,8
	.align 8
.LC0:
	.long	0
	.long	1086556160
	.align 8
.LC1:
	.long	0
	.long	1079574528
	.align 8
.LC2:
	.long	0
	.long	1077280768
	.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
.LC3:
	.string	"%d %d %d"
.LC4:
	.string	"%d\n"
.LC5:
	.string	"%d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	leaq	.LC3(%rip), %r13
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$56, %rsp
	.cfi_def_cfa_offset 112
	movq	%fs:40, %rax
	movq	%rax, 40(%rsp)
	xorl	%eax, %eax
	leaq	28(%rsp), %rax
	movq	%rax, 8(%rsp)
	.p2align 4,,10
	.p2align 3
.L2:
	movq	8(%rsp), %rsi
	xorl	%eax, %eax
	leaq	.LC5(%rip), %rdi
	call	__isoc99_scanf@PLT
	testl	%eax, %eax
	je	.L10
	movl	28(%rsp), %eax
	testl	%eax, %eax
	je	.L10
	jle	.L25
	xorl	%r14d, %r14d
	leaq	36(%rsp), %r12
	leaq	32(%rsp), %rbp
	xorl	%r15d, %r15d
	movq	.LC0(%rip), %rax
	leaq	24(%rsp), %rbx
	movq	%rax, (%rsp)
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L26:
	movapd	%xmm2, %xmm0
	subsd	%xmm1, %xmm0
.L5:
	movsd	(%rsp), %xmm3
	comisd	%xmm0, %xmm3
	jbe	.L6
	movl	24(%rsp), %r14d
	movsd	%xmm0, (%rsp)
.L6:
	addl	$1, %r15d
	cmpl	%r15d, 28(%rsp)
	jle	.L8
.L11:
	xorl	%eax, %eax
	movq	%r12, %rcx
	movq	%rbp, %rdx
	movq	%rbx, %rsi
	movq	%r13, %rdi
	call	__isoc99_scanf@PLT
	testl	%eax, %eax
	je	.L8
	pxor	%xmm0, %xmm0
	pxor	%xmm1, %xmm1
	movsd	.LC2(%rip), %xmm2
	cvtsi2sdl	32(%rsp), %xmm0
	divsd	.LC1(%rip), %xmm0
	mulsd	%xmm0, %xmm0
	cvtsi2sdl	36(%rsp), %xmm1
	divsd	%xmm0, %xmm1
	comisd	%xmm1, %xmm2
	ja	.L26
	subsd	.LC2(%rip), %xmm1
	movapd	%xmm1, %xmm0
	jmp	.L5
.L25:
	xorl	%r14d, %r14d
	.p2align 4,,10
	.p2align 3
.L8:
	movl	%r14d, %edx
	leaq	.LC4(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L10:
	movq	40(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L27
	addq	$56, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
.L27:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.section	.rodata.cst8,"aM",@progbits,8
	.align 8
.LC0:
	.long	0
	.long	1086556160
	.align 8
.LC1:
	.long	0
	.long	1079574528
	.align 8
.LC2:
	.long	0
	.long	1077280768
	.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
.LC3:
	.string	"%d %d %d"
.LC4:
	.string	"%d\n"
.LC5:
	.string	"%d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	leaq	.LC3(%rip), %r13
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$56, %rsp
	.cfi_def_cfa_offset 112
	movq	%fs:40, %rax
	movq	%rax, 40(%rsp)
	xorl	%eax, %eax
	leaq	28(%rsp), %rax
	movq	%rax, 8(%rsp)
	.p2align 4,,10
	.p2align 3
.L2:
	movq	8(%rsp), %rsi
	xorl	%eax, %eax
	leaq	.LC5(%rip), %rdi
	call	__isoc99_scanf@PLT
	testl	%eax, %eax
	je	.L10
	movl	28(%rsp), %eax
	testl	%eax, %eax
	je	.L10
	jle	.L25
	xorl	%r14d, %r14d
	leaq	36(%rsp), %r12
	leaq	32(%rsp), %rbp
	xorl	%r15d, %r15d
	movq	.LC0(%rip), %rax
	leaq	24(%rsp), %rbx
	movq	%rax, (%rsp)
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L26:
	movapd	%xmm2, %xmm0
	subsd	%xmm1, %xmm0
.L5:
	movsd	(%rsp), %xmm3
	comisd	%xmm0, %xmm3
	jbe	.L6
	movl	24(%rsp), %r14d
	movsd	%xmm0, (%rsp)
.L6:
	addl	$1, %r15d
	cmpl	%r15d, 28(%rsp)
	jle	.L8
.L11:
	xorl	%eax, %eax
	movq	%r12, %rcx
	movq	%rbp, %rdx
	movq	%rbx, %rsi
	movq	%r13, %rdi
	call	__isoc99_scanf@PLT
	testl	%eax, %eax
	je	.L8
	pxor	%xmm0, %xmm0
	pxor	%xmm1, %xmm1
	movsd	.LC2(%rip), %xmm2
	cvtsi2sdl	32(%rsp), %xmm0
	divsd	.LC1(%rip), %xmm0
	mulsd	%xmm0, %xmm0
	cvtsi2sdl	36(%rsp), %xmm1
	divsd	%xmm0, %xmm1
	comisd	%xmm1, %xmm2
	ja	.L26
	subsd	.LC2(%rip), %xmm1
	movapd	%xmm1, %xmm0
	jmp	.L5
.L25:
	xorl	%r14d, %r14d
	.p2align 4,,10
	.p2align 3
.L8:
	movl	%r14d, %edx
	leaq	.LC4(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L10:
	movq	40(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L27
	addq	$56, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
.L27:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.section	.rodata.cst8,"aM",@progbits,8
	.align 8
.LC0:
	.long	0
	.long	1086556160
	.align 8
.LC1:
	.long	0
	.long	1079574528
	.align 8
.LC2:
	.long	0
	.long	1077280768
	.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(){
	int num,n,i,_height,weight,bestBmiN;
	double height,bmi,bmi_d,bestBmi;
	for(;scanf("%d",&n)&&n;){
		bestBmiN=0;
		bestBmi=10000;
		for(i=0;i<n&&scanf("%d %d %d",&num,&_height,&weight);i++){
			height=(double)_height/100.0;
			bmi=(double)weight/(height*height);
			if(22.0>bmi)bmi_d=22.0-bmi;
			else bmi_d=bmi-22.0;
			if(bmi_d<bestBmi){
				bestBmi=bmi_d;
				bestBmiN=num;
			}
		}
		printf("%d\n",bestBmiN);
	}
	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(){
	int num,n,i,_height,weight,bestBmiN;
	double height,bmi,bmi_d,bestBmi;
	for(;scanf("%d",&n)&&n;){
		bestBmiN=0;
		bestBmi=10000;
		for(i=0;i<n&&scanf("%d %d %d",&num,&_height,&weight);i++){
			height=(double)_height/100.0;
			bmi=(double)weight/(height*height);
			if(22.0>bmi)bmi_d=22.0-bmi;
			else bmi_d=bmi-22.0;
			if(bmi_d<bestBmi){
				bestBmi=bmi_d;
				bestBmiN=num;
			}
		}
		printf("%d\n",bestBmiN);
	}
	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:

6
1 165 66
2 178 60
3 180 72
4 160 65
5 185 62
6 182 62
3
3 160 65
2 180 32
1 170 75
0
 6
1 165 66
2 178 60
3 180 72
4 160 65
5 185 62
6 182 62
3
3 160 65
2 180 70
1 170 103
0
 6
1 165 93
0 178 60
3 180 72
4 160 65
5 185 62
6 182 62
3
3 160 94
2 180 32
1 170 75
0
 6
1 165 93
0 178 60
3 115 72
4 160 65
5 185 62
6 182 62
3
3 160 94
2 180 32
1 170 75
0
 6
1 151 28
0 178 60
3 115 72
4 160 65
7 185 62
11 182 62
3
3 37 94
2 180 32
1 140 75
0
 6
2 95 40
-1 178 60
3 68 72
4 160 65
7 185 62
11 182 62
3
3 37 94
0 180 4
1 140 75
0
 6
2 95 40
-1 317 60
1 68 72
4 160 65
7 185 62
11 182 115
3
3 37 94
0 180 6
1 204 75
0
 6
2 95 40
-1 317 60
1 68 72
8 160 65
7 185 62
11 182 115
3
3 37 94
0 180 6
1 204 75
0
 6
2 95 40
-1 317 60
1 68 72
8 160 65
7 185 62
11 182 115
3
3 37 94
0 180 6
2 204 75
0
 6
2 32 66
1 178 118
3 180 72
4 116 65
5 101 62
6 47 50
3
0 147 129
1 3 14
0 80 24
0

3
3
 3
2
 3
1
 0
1
 0
2
 -1
1
 4
1
 8
1
 8
2
 3
0

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(){
	int num,n,i,_height,weight,bestBmiN;
	double height,bmi,bmi_d,bestBmi;
	for(;scanf("%d",&n)&&n;){
		bestBmiN=0;
		bestBmi=10000;
		for(i=0;i<n&&scanf("%d %d %d",&num,&_height,&weight);i++){
			height=(double)_height/100.0;
			bmi=(double)weight/(height*height);
			if(22.0>bmi)bmi_d=22.0-bmi;
			else bmi_d=bmi-22.0;
			if(bmi_d<bestBmi){
				bestBmi=bmi_d;
				bestBmiN=num;
			}
		}
		printf("%d\n",bestBmiN);
	}
	return 0;
}```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC3:
	.string	"%d %d %d"
.LC4:
	.string	"%d\n"
.LC5:
	.string	"%d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	leaq	.LC3(%rip), %r13
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$56, %rsp
	.cfi_def_cfa_offset 112
	movq	%fs:40, %rax
	movq	%rax, 40(%rsp)
	xorl	%eax, %eax
	leaq	28(%rsp), %rax
	movq	%rax, 8(%rsp)
	.p2align 4,,10
	.p2align 3
.L2:
	movq	8(%rsp), %rsi
	xorl	%eax, %eax
	leaq	.LC5(%rip), %rdi
	call	__isoc99_scanf@PLT
	testl	%eax, %eax
	je	.L10
	movl	28(%rsp), %eax
	testl	%eax, %eax
	je	.L10
	jle	.L25
	xorl	%r14d, %r14d
	leaq	36(%rsp), %r12
	leaq	32(%rsp), %rbp
	xorl	%r15d, %r15d
	movq	.LC0(%rip), %rax
	leaq	24(%rsp), %rbx
	movq	%rax, (%rsp)
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L26:
	movapd	%xmm2, %xmm0
	subsd	%xmm1, %xmm0
.L5:
	movsd	(%rsp), %xmm3
	comisd	%xmm0, %xmm3
	jbe	.L6
	movl	24(%rsp), %r14d
	movsd	%xmm0, (%rsp)
.L6:
	addl	$1, %r15d
	cmpl	%r15d, 28(%rsp)
	jle	.L8
.L11:
	xorl	%eax, %eax
	movq	%r12, %rcx
	movq	%rbp, %rdx
	movq	%rbx, %rsi
	movq	%r13, %rdi
	call	__isoc99_scanf@PLT
	testl	%eax, %eax
	je	.L8
	pxor	%xmm0, %xmm0
	pxor	%xmm1, %xmm1
	movsd	.LC2(%rip), %xmm2
	cvtsi2sdl	32(%rsp), %xmm0
	divsd	.LC1(%rip), %xmm0
	mulsd	%xmm0, %xmm0
	cvtsi2sdl	36(%rsp), %xmm1
	divsd	%xmm0, %xmm1
	comisd	%xmm1, %xmm2
	ja	.L26
	subsd	.LC2(%rip), %xmm1
	movapd	%xmm1, %xmm0
	jmp	.L5
.L25:
	xorl	%r14d, %r14d
	.p2align 4,,10
	.p2align 3
.L8:
	movl	%r14d, %edx
	leaq	.LC4(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L10:
	movq	40(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L27
	addq	$56, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
.L27:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.section	.rodata.cst8,"aM",@progbits,8
	.align 8
.LC0:
	.long	0
	.long	1086556160
	.align 8
.LC1:
	.long	0
	.long	1079574528
	.align 8
.LC2:
	.long	0
	.long	1077280768
	.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
.LC3:
	.string	"%d %d %d"
.LC4:
	.string	"%d\n"
.LC5:
	.string	"%d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	leaq	.LC3(%rip), %r13
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$56, %rsp
	.cfi_def_cfa_offset 112
	movq	%fs:40, %rax
	movq	%rax, 40(%rsp)
	xorl	%eax, %eax
	leaq	28(%rsp), %rax
	movq	%rax, 8(%rsp)
	.p2align 4,,10
	.p2align 3
.L2:
	movq	8(%rsp), %rsi
	xorl	%eax, %eax
	leaq	.LC5(%rip), %rdi
	call	__isoc99_scanf@PLT
	testl	%eax, %eax
	je	.L10
	movl	28(%rsp), %eax
	testl	%eax, %eax
	je	.L10
	jle	.L25
	xorl	%r14d, %r14d
	leaq	36(%rsp), %r12
	leaq	32(%rsp), %rbp
	xorl	%r15d, %r15d
	movq	.LC0(%rip), %rax
	leaq	24(%rsp), %rbx
	movq	%rax, (%rsp)
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L26:
	movapd	%xmm2, %xmm0
	subsd	%xmm1, %xmm0
.L5:
	movsd	(%rsp), %xmm3
	comisd	%xmm0, %xmm3
	jbe	.L6
	movl	24(%rsp), %r14d
	movsd	%xmm0, (%rsp)
.L6:
	addl	$1, %r15d
	cmpl	%r15d, 28(%rsp)
	jle	.L8
.L11:
	xorl	%eax, %eax
	movq	%r12, %rcx
	movq	%rbp, %rdx
	movq	%rbx, %rsi
	movq	%r13, %rdi
	call	__isoc99_scanf@PLT
	testl	%eax, %eax
	je	.L8
	pxor	%xmm0, %xmm0
	pxor	%xmm1, %xmm1
	movsd	.LC2(%rip), %xmm2
	cvtsi2sdl	32(%rsp), %xmm0
	divsd	.LC1(%rip), %xmm0
	mulsd	%xmm0, %xmm0
	cvtsi2sdl	36(%rsp), %xmm1
	divsd	%xmm0, %xmm1
	comisd	%xmm1, %xmm2
	ja	.L26
	subsd	.LC2(%rip), %xmm1
	movapd	%xmm1, %xmm0
	jmp	.L5
.L25:
	xorl	%r14d, %r14d
	.p2align 4,,10
	.p2align 3
.L8:
	movl	%r14d, %edx
	leaq	.LC4(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L10:
	movq	40(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L27
	addq	$56, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
.L27:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.section	.rodata.cst8,"aM",@progbits,8
	.align 8
.LC0:
	.long	0
	.long	1086556160
	.align 8
.LC1:
	.long	0
	.long	1079574528
	.align 8
.LC2:
	.long	0
	.long	1077280768
	.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:
```