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

```c
i,I;float h,w,B;main(n){for(;~scanf("%d",&n);I=I&&!printf("%d\n",I))for(B=1e9;n--;w<B|w==B&i<I&&(B=w,I=i))scanf("%d%f%f",&i,&h,&w),w=fabs(w/h/h*1e4-22);}```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"%d%f%f"
.LC5:
	.string	"%d\n"
.LC6:
	.string	"%d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	leaq	.LC6(%rip), %r13
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	leaq	w(%rip), %r12
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	subq	$16, %rsp
	.cfi_def_cfa_offset 64
	movl	%edi, 12(%rsp)
	leaq	12(%rsp), %r14
	.p2align 4,,10
	.p2align 3
.L2:
	xorl	%eax, %eax
	movq	%r14, %rsi
	movq	%r13, %rdi
	call	scanf@PLT
	cmpl	$-1, %eax
	je	.L17
	movl	$0x4e6e6b28, B(%rip)
	leaq	h(%rip), %rbp
.L3:
	leaq	i(%rip), %rbx
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L6:
	movq	%r12, %rcx
	movq	%rbp, %rdx
	movq	%rbx, %rsi
	xorl	%eax, %eax
	leaq	.LC1(%rip), %rdi
	call	scanf@PLT
	movl	i(%rip), %edx
	cmpl	I(%rip), %edx
	movl	$0, %esi
	movss	h(%rip), %xmm1
	movss	w(%rip), %xmm0
	setl	%cl
	divss	%xmm1, %xmm0
	divss	%xmm1, %xmm0
	movss	B(%rip), %xmm1
	cvtss2sd	%xmm0, %xmm0
	mulsd	.LC2(%rip), %xmm0
	subsd	.LC3(%rip), %xmm0
	cvtsd2ss	%xmm0, %xmm0
	andps	.LC4(%rip), %xmm0
	ucomiss	%xmm1, %xmm0
	movss	%xmm0, w(%rip)
	setnp	%al
	cmovne	%esi, %eax
	testb	%al, %cl
	jne	.L9
	comiss	%xmm0, %xmm1
	ja	.L9
.L4:
	movl	12(%rsp), %eax
	leal	-1(%rax), %edx
	movl	%edx, 12(%rsp)
	testl	%eax, %eax
	jne	.L6
	movl	I(%rip), %esi
	testl	%esi, %esi
	jne	.L18
.L7:
	movl	%esi, I(%rip)
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L9:
	movl	%edx, I(%rip)
	movss	%xmm0, B(%rip)
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L18:
	leaq	.LC5(%rip), %rdi
	call	printf@PLT
	xorl	%esi, %esi
	testl	%eax, %eax
	sete	%sil
	jmp	.L7
.L17:
	addq	$16, %rsp
	.cfi_def_cfa_offset 48
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%rbp
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r13
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	B
	.bss
	.align 4
	.type	B, @object
	.size	B, 4
B:
	.zero	4
	.globl	w
	.align 4
	.type	w, @object
	.size	w, 4
w:
	.zero	4
	.globl	h
	.align 4
	.type	h, @object
	.size	h, 4
h:
	.zero	4
	.globl	I
	.align 4
	.type	I, @object
	.size	I, 4
I:
	.zero	4
	.globl	i
	.align 4
	.type	i, @object
	.size	i, 4
i:
	.zero	4
	.section	.rodata.cst8,"aM",@progbits,8
	.align 8
.LC2:
	.long	0
	.long	1086556160
	.align 8
.LC3:
	.long	0
	.long	1077280768
	.section	.rodata.cst16,"aM",@progbits,16
	.align 16
.LC4:
	.long	2147483647
	.long	0
	.long	0
	.long	0
	.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
.LC1:
	.string	"%d%f%f"
.LC5:
	.string	"%d\n"
.LC6:
	.string	"%d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	leaq	.LC6(%rip), %r13
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	leaq	w(%rip), %r12
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	subq	$16, %rsp
	.cfi_def_cfa_offset 64
	movl	%edi, 12(%rsp)
	leaq	12(%rsp), %r14
	.p2align 4,,10
	.p2align 3
.L2:
	xorl	%eax, %eax
	movq	%r14, %rsi
	movq	%r13, %rdi
	call	scanf@PLT
	cmpl	$-1, %eax
	je	.L17
	movl	$0x4e6e6b28, B(%rip)
	leaq	h(%rip), %rbp
.L3:
	leaq	i(%rip), %rbx
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L6:
	movq	%r12, %rcx
	movq	%rbp, %rdx
	movq	%rbx, %rsi
	xorl	%eax, %eax
	leaq	.LC1(%rip), %rdi
	call	scanf@PLT
	movl	i(%rip), %edx
	cmpl	I(%rip), %edx
	movl	$0, %esi
	movss	h(%rip), %xmm1
	movss	w(%rip), %xmm0
	setl	%cl
	divss	%xmm1, %xmm0
	divss	%xmm1, %xmm0
	movss	B(%rip), %xmm1
	cvtss2sd	%xmm0, %xmm0
	mulsd	.LC2(%rip), %xmm0
	subsd	.LC3(%rip), %xmm0
	cvtsd2ss	%xmm0, %xmm0
	andps	.LC4(%rip), %xmm0
	ucomiss	%xmm1, %xmm0
	movss	%xmm0, w(%rip)
	setnp	%al
	cmovne	%esi, %eax
	testb	%al, %cl
	jne	.L9
	comiss	%xmm0, %xmm1
	ja	.L9
.L4:
	movl	12(%rsp), %eax
	leal	-1(%rax), %edx
	movl	%edx, 12(%rsp)
	testl	%eax, %eax
	jne	.L6
	movl	I(%rip), %esi
	testl	%esi, %esi
	jne	.L18
.L7:
	movl	%esi, I(%rip)
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L9:
	movl	%edx, I(%rip)
	movss	%xmm0, B(%rip)
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L18:
	leaq	.LC5(%rip), %rdi
	call	printf@PLT
	xorl	%esi, %esi
	testl	%eax, %eax
	sete	%sil
	jmp	.L7
.L17:
	addq	$16, %rsp
	.cfi_def_cfa_offset 48
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%rbp
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r13
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	B
	.bss
	.align 4
	.type	B, @object
	.size	B, 4
B:
	.zero	4
	.globl	w
	.align 4
	.type	w, @object
	.size	w, 4
w:
	.zero	4
	.globl	h
	.align 4
	.type	h, @object
	.size	h, 4
h:
	.zero	4
	.globl	I
	.align 4
	.type	I, @object
	.size	I, 4
I:
	.zero	4
	.globl	i
	.align 4
	.type	i, @object
	.size	i, 4
i:
	.zero	4
	.section	.rodata.cst8,"aM",@progbits,8
	.align 8
.LC2:
	.long	0
	.long	1086556160
	.align 8
.LC3:
	.long	0
	.long	1077280768
	.section	.rodata.cst16,"aM",@progbits,16
	.align 16
.LC4:
	.long	2147483647
	.long	0
	.long	0
	.long	0
	.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
.LC1:
	.string	"%d%f%f"
.LC5:
	.string	"%d\n"
.LC6:
	.string	"%d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	leaq	.LC6(%rip), %r13
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	leaq	w(%rip), %r12
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	subq	$16, %rsp
	.cfi_def_cfa_offset 64
	movl	%edi, 12(%rsp)
	leaq	12(%rsp), %r14
	.p2align 4,,10
	.p2align 3
.L2:
	xorl	%eax, %eax
	movq	%r14, %rsi
	movq	%r13, %rdi
	call	scanf@PLT
	cmpl	$-1, %eax
	je	.L17
	movl	$0x4e6e6b28, B(%rip)
	leaq	h(%rip), %rbp
.L3:
	leaq	i(%rip), %rbx
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L6:
	movq	%r12, %rcx
	movq	%rbp, %rdx
	movq	%rbx, %rsi
	xorl	%eax, %eax
	leaq	.LC1(%rip), %rdi
	call	scanf@PLT
	movl	i(%rip), %edx
	cmpl	I(%rip), %edx
	movl	$0, %esi
	movss	h(%rip), %xmm1
	movss	w(%rip), %xmm0
	setl	%cl
	divss	%xmm1, %xmm0
	divss	%xmm1, %xmm0
	movss	B(%rip), %xmm1
	cvtss2sd	%xmm0, %xmm0
	mulsd	.LC2(%rip), %xmm0
	subsd	.LC3(%rip), %xmm0
	cvtsd2ss	%xmm0, %xmm0
	andps	.LC4(%rip), %xmm0
	ucomiss	%xmm1, %xmm0
	movss	%xmm0, w(%rip)
	setnp	%al
	cmovne	%esi, %eax
	testb	%al, %cl
	jne	.L9
	comiss	%xmm0, %xmm1
	ja	.L9
.L4:
	movl	12(%rsp), %eax
	leal	-1(%rax), %edx
	movl	%edx, 12(%rsp)
	testl	%eax, %eax
	jne	.L6
	movl	I(%rip), %esi
	testl	%esi, %esi
	jne	.L18
.L7:
	movl	%esi, I(%rip)
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L9:
	movl	%edx, I(%rip)
	movss	%xmm0, B(%rip)
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L18:
	leaq	.LC5(%rip), %rdi
	call	printf@PLT
	xorl	%esi, %esi
	testl	%eax, %eax
	sete	%sil
	jmp	.L7
.L17:
	addq	$16, %rsp
	.cfi_def_cfa_offset 48
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%rbp
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r13
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	B
	.bss
	.align 4
	.type	B, @object
	.size	B, 4
B:
	.zero	4
	.globl	w
	.align 4
	.type	w, @object
	.size	w, 4
w:
	.zero	4
	.globl	h
	.align 4
	.type	h, @object
	.size	h, 4
h:
	.zero	4
	.globl	I
	.align 4
	.type	I, @object
	.size	I, 4
I:
	.zero	4
	.globl	i
	.align 4
	.type	i, @object
	.size	i, 4
i:
	.zero	4
	.section	.rodata.cst8,"aM",@progbits,8
	.align 8
.LC2:
	.long	0
	.long	1086556160
	.align 8
.LC3:
	.long	0
	.long	1077280768
	.section	.rodata.cst16,"aM",@progbits,16
	.align 16
.LC4:
	.long	2147483647
	.long	0
	.long	0
	.long	0
	.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
i,I;float h,w,B;main(n){for(;~scanf("%d",&n);I=I&&!printf("%d\n",I))for(B=1e9;n--;w<B|w==B&i<I&&(B=w,I=i))scanf("%d%f%f",&i,&h,&w),w=fabs(w/h/h*1e4-22);}```
Given the following C code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
i,I;float h,w,B;main(n){for(;~scanf("%d",&n);I=I&&!printf("%d\n",I))for(B=1e9;n--;w<B|w==B&i<I&&(B=w,I=i))scanf("%d%f%f",&i,&h,&w),w=fabs(w/h/h*1e4-22);}```

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
 1
 2
 -1
1
 4
1
 8
1
 8
2
 3

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

```c
i,I;float h,w,B;main(n){for(;~scanf("%d",&n);I=I&&!printf("%d\n",I))for(B=1e9;n--;w<B|w==B&i<I&&(B=w,I=i))scanf("%d%f%f",&i,&h,&w),w=fabs(w/h/h*1e4-22);}```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"%d%f%f"
.LC5:
	.string	"%d\n"
.LC6:
	.string	"%d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	leaq	.LC6(%rip), %r13
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	leaq	w(%rip), %r12
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	subq	$16, %rsp
	.cfi_def_cfa_offset 64
	movl	%edi, 12(%rsp)
	leaq	12(%rsp), %r14
	.p2align 4,,10
	.p2align 3
.L2:
	xorl	%eax, %eax
	movq	%r14, %rsi
	movq	%r13, %rdi
	call	scanf@PLT
	cmpl	$-1, %eax
	je	.L17
	movl	$0x4e6e6b28, B(%rip)
	leaq	h(%rip), %rbp
.L3:
	leaq	i(%rip), %rbx
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L6:
	movq	%r12, %rcx
	movq	%rbp, %rdx
	movq	%rbx, %rsi
	xorl	%eax, %eax
	leaq	.LC1(%rip), %rdi
	call	scanf@PLT
	movl	i(%rip), %edx
	cmpl	I(%rip), %edx
	movl	$0, %esi
	movss	h(%rip), %xmm1
	movss	w(%rip), %xmm0
	setl	%cl
	divss	%xmm1, %xmm0
	divss	%xmm1, %xmm0
	movss	B(%rip), %xmm1
	cvtss2sd	%xmm0, %xmm0
	mulsd	.LC2(%rip), %xmm0
	subsd	.LC3(%rip), %xmm0
	cvtsd2ss	%xmm0, %xmm0
	andps	.LC4(%rip), %xmm0
	ucomiss	%xmm1, %xmm0
	movss	%xmm0, w(%rip)
	setnp	%al
	cmovne	%esi, %eax
	testb	%al, %cl
	jne	.L9
	comiss	%xmm0, %xmm1
	ja	.L9
.L4:
	movl	12(%rsp), %eax
	leal	-1(%rax), %edx
	movl	%edx, 12(%rsp)
	testl	%eax, %eax
	jne	.L6
	movl	I(%rip), %esi
	testl	%esi, %esi
	jne	.L18
.L7:
	movl	%esi, I(%rip)
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L9:
	movl	%edx, I(%rip)
	movss	%xmm0, B(%rip)
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L18:
	leaq	.LC5(%rip), %rdi
	call	printf@PLT
	xorl	%esi, %esi
	testl	%eax, %eax
	sete	%sil
	jmp	.L7
.L17:
	addq	$16, %rsp
	.cfi_def_cfa_offset 48
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%rbp
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r13
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	B
	.bss
	.align 4
	.type	B, @object
	.size	B, 4
B:
	.zero	4
	.globl	w
	.align 4
	.type	w, @object
	.size	w, 4
w:
	.zero	4
	.globl	h
	.align 4
	.type	h, @object
	.size	h, 4
h:
	.zero	4
	.globl	I
	.align 4
	.type	I, @object
	.size	I, 4
I:
	.zero	4
	.globl	i
	.align 4
	.type	i, @object
	.size	i, 4
i:
	.zero	4
	.section	.rodata.cst8,"aM",@progbits,8
	.align 8
.LC2:
	.long	0
	.long	1086556160
	.align 8
.LC3:
	.long	0
	.long	1077280768
	.section	.rodata.cst16,"aM",@progbits,16
	.align 16
.LC4:
	.long	2147483647
	.long	0
	.long	0
	.long	0
	.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
.LC1:
	.string	"%d%f%f"
.LC5:
	.string	"%d\n"
.LC6:
	.string	"%d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	leaq	.LC6(%rip), %r13
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	leaq	w(%rip), %r12
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	subq	$16, %rsp
	.cfi_def_cfa_offset 64
	movl	%edi, 12(%rsp)
	leaq	12(%rsp), %r14
	.p2align 4,,10
	.p2align 3
.L2:
	xorl	%eax, %eax
	movq	%r14, %rsi
	movq	%r13, %rdi
	call	scanf@PLT
	cmpl	$-1, %eax
	je	.L17
	movl	$0x4e6e6b28, B(%rip)
	leaq	h(%rip), %rbp
.L3:
	leaq	i(%rip), %rbx
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L6:
	movq	%r12, %rcx
	movq	%rbp, %rdx
	movq	%rbx, %rsi
	xorl	%eax, %eax
	leaq	.LC1(%rip), %rdi
	call	scanf@PLT
	movl	i(%rip), %edx
	cmpl	I(%rip), %edx
	movl	$0, %esi
	movss	h(%rip), %xmm1
	movss	w(%rip), %xmm0
	setl	%cl
	divss	%xmm1, %xmm0
	divss	%xmm1, %xmm0
	movss	B(%rip), %xmm1
	cvtss2sd	%xmm0, %xmm0
	mulsd	.LC2(%rip), %xmm0
	subsd	.LC3(%rip), %xmm0
	cvtsd2ss	%xmm0, %xmm0
	andps	.LC4(%rip), %xmm0
	ucomiss	%xmm1, %xmm0
	movss	%xmm0, w(%rip)
	setnp	%al
	cmovne	%esi, %eax
	testb	%al, %cl
	jne	.L9
	comiss	%xmm0, %xmm1
	ja	.L9
.L4:
	movl	12(%rsp), %eax
	leal	-1(%rax), %edx
	movl	%edx, 12(%rsp)
	testl	%eax, %eax
	jne	.L6
	movl	I(%rip), %esi
	testl	%esi, %esi
	jne	.L18
.L7:
	movl	%esi, I(%rip)
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L9:
	movl	%edx, I(%rip)
	movss	%xmm0, B(%rip)
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L18:
	leaq	.LC5(%rip), %rdi
	call	printf@PLT
	xorl	%esi, %esi
	testl	%eax, %eax
	sete	%sil
	jmp	.L7
.L17:
	addq	$16, %rsp
	.cfi_def_cfa_offset 48
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%rbp
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r13
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	B
	.bss
	.align 4
	.type	B, @object
	.size	B, 4
B:
	.zero	4
	.globl	w
	.align 4
	.type	w, @object
	.size	w, 4
w:
	.zero	4
	.globl	h
	.align 4
	.type	h, @object
	.size	h, 4
h:
	.zero	4
	.globl	I
	.align 4
	.type	I, @object
	.size	I, 4
I:
	.zero	4
	.globl	i
	.align 4
	.type	i, @object
	.size	i, 4
i:
	.zero	4
	.section	.rodata.cst8,"aM",@progbits,8
	.align 8
.LC2:
	.long	0
	.long	1086556160
	.align 8
.LC3:
	.long	0
	.long	1077280768
	.section	.rodata.cst16,"aM",@progbits,16
	.align 16
.LC4:
	.long	2147483647
	.long	0
	.long	0
	.long	0
	.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:
```