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(void) {
	int asumikana,kitamuraeri;
	int mimorisuzuko,tokuisora;
	int tomatuharuka,igutiyuka;
	int murakawarie,isikawakaito;
	double sakuraayane=10000000.0;
	if(scanf("%d%d",&asumikana,&kitamuraeri)!=2)return 1;
	if(scanf("%d%d",&mimorisuzuko,&tokuisora)!=2)return 1;
	if(scanf("%d%d",&tomatuharuka,&igutiyuka)!=2)return 1;
	for(murakawarie=0;murakawarie*tomatuharuka<kitamuraeri;murakawarie++) {
		for(isikawakaito=0;isikawakaito*igutiyuka<=kitamuraeri-murakawarie*tomatuharuka;isikawakaito++) {
			if(murakawarie+isikawakaito>0) {
				double nakamurayuuiti=tomatuharuka*murakawarie;
				double sakagutidaisuke=igutiyuka*isikawakaito;
				double tanedarisa=(mimorisuzuko*nakamurayuuiti+tokuisora*sakagutidaisuke)/(nakamurayuuiti+sakagutidaisuke);
				double minaseinori=asumikana-tanedarisa;
				if(minaseinori<0)minaseinori=-minaseinori;
				if(minaseinori<sakuraayane)sakuraayane=minaseinori;
			}
		}
	}
	printf("%.15f\n",sakuraayane);
	return 0;
}```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"%d%d"
.LC4:
	.string	"%.15f\n"
	.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
	leaq	.LC1(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	movq	%rbp, %rdi
	subq	$40, %rsp
	.cfi_def_cfa_offset 64
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	leaq	4(%rsp), %rdx
	movq	%rsp, %rsi
	call	__isoc99_scanf@PLT
	cmpl	$2, %eax
	je	.L2
.L4:
	movl	$1, %eax
.L1:
	movq	24(%rsp), %rdx
	subq	%fs:40, %rdx
	jne	.L21
	addq	$40, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
.L2:
	.cfi_restore_state
	xorl	%eax, %eax
	leaq	12(%rsp), %rdx
	leaq	8(%rsp), %rsi
	movq	%rbp, %rdi
	call	__isoc99_scanf@PLT
	cmpl	$2, %eax
	jne	.L4
	xorl	%eax, %eax
	leaq	20(%rsp), %rdx
	leaq	16(%rsp), %rsi
	movq	%rbp, %rdi
	call	__isoc99_scanf@PLT
	cmpl	$2, %eax
	jne	.L4
	movl	4(%rsp), %ebx
	movl	16(%rsp), %ebp
	xorl	%edi, %edi
	xorl	%r11d, %r11d
	movl	20(%rsp), %esi
	movl	8(%rsp), %r10d
	pxor	%xmm6, %xmm6
	movl	12(%rsp), %r9d
	movl	(%rsp), %r8d
	movl	%ebx, %ecx
	movsd	.LC0(%rip), %xmm5
	movq	.LC3(%rip), %xmm7
.L5:
	cmpl	%ebx, %edi
	jge	.L11
	movl	%r11d, %edx
	xorl	%eax, %eax
	.p2align 4,,10
	.p2align 3
.L10:
	testl	%edx, %edx
	je	.L6
	pxor	%xmm2, %xmm2
	pxor	%xmm3, %xmm3
	pxor	%xmm0, %xmm0
	pxor	%xmm4, %xmm4
	cvtsi2sdl	%edi, %xmm2
	pxor	%xmm1, %xmm1
	cvtsi2sdl	%eax, %xmm3
	cvtsi2sdl	%r10d, %xmm0
	cvtsi2sdl	%r9d, %xmm4
	cvtsi2sdl	%r8d, %xmm1
	mulsd	%xmm2, %xmm0
	addsd	%xmm3, %xmm2
	mulsd	%xmm3, %xmm4
	addsd	%xmm4, %xmm0
	divsd	%xmm2, %xmm0
	subsd	%xmm0, %xmm1
	comisd	%xmm1, %xmm6
	jbe	.L7
	xorpd	%xmm7, %xmm1
.L7:
	minsd	%xmm5, %xmm1
	movapd	%xmm1, %xmm5
.L6:
	addl	%esi, %eax
	addl	$1, %edx
	cmpl	%ecx, %eax
	jle	.L10
	addl	$1, %r11d
	addl	%ebp, %edi
	subl	%ebp, %ecx
	jmp	.L5
.L11:
	movapd	%xmm5, %xmm0
	movl	$1, %edi
	movl	$1, %eax
	leaq	.LC4(%rip), %rsi
	call	__printf_chk@PLT
	xorl	%eax, %eax
	jmp	.L1
.L21:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.section	.rodata.cst8,"aM",@progbits,8
	.align 8
.LC0:
	.long	0
	.long	1097011920
	.section	.rodata.cst16,"aM",@progbits,16
	.align 16
.LC3:
	.long	0
	.long	-2147483648
	.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%d"
.LC4:
	.string	"%.15f\n"
	.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
	leaq	.LC1(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	movq	%rbp, %rdi
	subq	$40, %rsp
	.cfi_def_cfa_offset 64
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	leaq	4(%rsp), %rdx
	movq	%rsp, %rsi
	call	__isoc99_scanf@PLT
	cmpl	$2, %eax
	je	.L2
.L4:
	movl	$1, %eax
.L1:
	movq	24(%rsp), %rdx
	subq	%fs:40, %rdx
	jne	.L21
	addq	$40, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
.L2:
	.cfi_restore_state
	xorl	%eax, %eax
	leaq	12(%rsp), %rdx
	leaq	8(%rsp), %rsi
	movq	%rbp, %rdi
	call	__isoc99_scanf@PLT
	cmpl	$2, %eax
	jne	.L4
	xorl	%eax, %eax
	leaq	20(%rsp), %rdx
	leaq	16(%rsp), %rsi
	movq	%rbp, %rdi
	call	__isoc99_scanf@PLT
	cmpl	$2, %eax
	jne	.L4
	movl	4(%rsp), %ebx
	movl	16(%rsp), %ebp
	xorl	%edi, %edi
	xorl	%r11d, %r11d
	movl	20(%rsp), %esi
	movl	8(%rsp), %r10d
	pxor	%xmm6, %xmm6
	movl	12(%rsp), %r9d
	movl	(%rsp), %r8d
	movl	%ebx, %ecx
	movsd	.LC0(%rip), %xmm5
	movq	.LC3(%rip), %xmm7
.L5:
	cmpl	%ebx, %edi
	jge	.L11
	movl	%r11d, %edx
	xorl	%eax, %eax
	.p2align 4,,10
	.p2align 3
.L10:
	testl	%edx, %edx
	je	.L6
	pxor	%xmm2, %xmm2
	pxor	%xmm3, %xmm3
	pxor	%xmm0, %xmm0
	pxor	%xmm4, %xmm4
	cvtsi2sdl	%edi, %xmm2
	pxor	%xmm1, %xmm1
	cvtsi2sdl	%eax, %xmm3
	cvtsi2sdl	%r10d, %xmm0
	cvtsi2sdl	%r9d, %xmm4
	cvtsi2sdl	%r8d, %xmm1
	mulsd	%xmm2, %xmm0
	addsd	%xmm3, %xmm2
	mulsd	%xmm3, %xmm4
	addsd	%xmm4, %xmm0
	divsd	%xmm2, %xmm0
	subsd	%xmm0, %xmm1
	comisd	%xmm1, %xmm6
	jbe	.L7
	xorpd	%xmm7, %xmm1
.L7:
	minsd	%xmm5, %xmm1
	movapd	%xmm1, %xmm5
.L6:
	addl	%esi, %eax
	addl	$1, %edx
	cmpl	%ecx, %eax
	jle	.L10
	addl	$1, %r11d
	addl	%ebp, %edi
	subl	%ebp, %ecx
	jmp	.L5
.L11:
	movapd	%xmm5, %xmm0
	movl	$1, %edi
	movl	$1, %eax
	leaq	.LC4(%rip), %rsi
	call	__printf_chk@PLT
	xorl	%eax, %eax
	jmp	.L1
.L21:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.section	.rodata.cst8,"aM",@progbits,8
	.align 8
.LC0:
	.long	0
	.long	1097011920
	.section	.rodata.cst16,"aM",@progbits,16
	.align 16
.LC3:
	.long	0
	.long	-2147483648
	.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%d"
.LC4:
	.string	"%.15f\n"
	.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
	leaq	.LC1(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	movq	%rbp, %rdi
	subq	$40, %rsp
	.cfi_def_cfa_offset 64
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	leaq	4(%rsp), %rdx
	movq	%rsp, %rsi
	call	__isoc99_scanf@PLT
	cmpl	$2, %eax
	je	.L2
.L4:
	movl	$1, %eax
.L1:
	movq	24(%rsp), %rdx
	subq	%fs:40, %rdx
	jne	.L21
	addq	$40, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
.L2:
	.cfi_restore_state
	xorl	%eax, %eax
	leaq	12(%rsp), %rdx
	leaq	8(%rsp), %rsi
	movq	%rbp, %rdi
	call	__isoc99_scanf@PLT
	cmpl	$2, %eax
	jne	.L4
	xorl	%eax, %eax
	leaq	20(%rsp), %rdx
	leaq	16(%rsp), %rsi
	movq	%rbp, %rdi
	call	__isoc99_scanf@PLT
	cmpl	$2, %eax
	jne	.L4
	movl	4(%rsp), %ebx
	movl	16(%rsp), %ebp
	xorl	%edi, %edi
	xorl	%r11d, %r11d
	movl	20(%rsp), %esi
	movl	8(%rsp), %r10d
	pxor	%xmm6, %xmm6
	movl	12(%rsp), %r9d
	movl	(%rsp), %r8d
	movl	%ebx, %ecx
	movsd	.LC0(%rip), %xmm5
	movq	.LC3(%rip), %xmm7
.L5:
	cmpl	%ebx, %edi
	jge	.L11
	movl	%r11d, %edx
	xorl	%eax, %eax
	.p2align 4,,10
	.p2align 3
.L10:
	testl	%edx, %edx
	je	.L6
	pxor	%xmm2, %xmm2
	pxor	%xmm3, %xmm3
	pxor	%xmm0, %xmm0
	pxor	%xmm4, %xmm4
	cvtsi2sdl	%edi, %xmm2
	pxor	%xmm1, %xmm1
	cvtsi2sdl	%eax, %xmm3
	cvtsi2sdl	%r10d, %xmm0
	cvtsi2sdl	%r9d, %xmm4
	cvtsi2sdl	%r8d, %xmm1
	mulsd	%xmm2, %xmm0
	addsd	%xmm3, %xmm2
	mulsd	%xmm3, %xmm4
	addsd	%xmm4, %xmm0
	divsd	%xmm2, %xmm0
	subsd	%xmm0, %xmm1
	comisd	%xmm1, %xmm6
	jbe	.L7
	xorpd	%xmm7, %xmm1
.L7:
	minsd	%xmm5, %xmm1
	movapd	%xmm1, %xmm5
.L6:
	addl	%esi, %eax
	addl	$1, %edx
	cmpl	%ecx, %eax
	jle	.L10
	addl	$1, %r11d
	addl	%ebp, %edi
	subl	%ebp, %ecx
	jmp	.L5
.L11:
	movapd	%xmm5, %xmm0
	movl	$1, %edi
	movl	$1, %eax
	leaq	.LC4(%rip), %rsi
	call	__printf_chk@PLT
	xorl	%eax, %eax
	jmp	.L1
.L21:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.section	.rodata.cst8,"aM",@progbits,8
	.align 8
.LC0:
	.long	0
	.long	1097011920
	.section	.rodata.cst16,"aM",@progbits,16
	.align 16
.LC3:
	.long	0
	.long	-2147483648
	.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
#include <stdio.h>

int main(void) {
	int asumikana,kitamuraeri;
	int mimorisuzuko,tokuisora;
	int tomatuharuka,igutiyuka;
	int murakawarie,isikawakaito;
	double sakuraayane=10000000.0;
	if(scanf("%d%d",&asumikana,&kitamuraeri)!=2)return 1;
	if(scanf("%d%d",&mimorisuzuko,&tokuisora)!=2)return 1;
	if(scanf("%d%d",&tomatuharuka,&igutiyuka)!=2)return 1;
	for(murakawarie=0;murakawarie*tomatuharuka<kitamuraeri;murakawarie++) {
		for(isikawakaito=0;isikawakaito*igutiyuka<=kitamuraeri-murakawarie*tomatuharuka;isikawakaito++) {
			if(murakawarie+isikawakaito>0) {
				double nakamurayuuiti=tomatuharuka*murakawarie;
				double sakagutidaisuke=igutiyuka*isikawakaito;
				double tanedarisa=(mimorisuzuko*nakamurayuuiti+tokuisora*sakagutidaisuke)/(nakamurayuuiti+sakagutidaisuke);
				double minaseinori=asumikana-tanedarisa;
				if(minaseinori<0)minaseinori=-minaseinori;
				if(minaseinori<sakuraayane)sakuraayane=minaseinori;
			}
		}
	}
	printf("%.15f\n",sakuraayane);
	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(void) {
	int asumikana,kitamuraeri;
	int mimorisuzuko,tokuisora;
	int tomatuharuka,igutiyuka;
	int murakawarie,isikawakaito;
	double sakuraayane=10000000.0;
	if(scanf("%d%d",&asumikana,&kitamuraeri)!=2)return 1;
	if(scanf("%d%d",&mimorisuzuko,&tokuisora)!=2)return 1;
	if(scanf("%d%d",&tomatuharuka,&igutiyuka)!=2)return 1;
	for(murakawarie=0;murakawarie*tomatuharuka<kitamuraeri;murakawarie++) {
		for(isikawakaito=0;isikawakaito*igutiyuka<=kitamuraeri-murakawarie*tomatuharuka;isikawakaito++) {
			if(murakawarie+isikawakaito>0) {
				double nakamurayuuiti=tomatuharuka*murakawarie;
				double sakagutidaisuke=igutiyuka*isikawakaito;
				double tanedarisa=(mimorisuzuko*nakamurayuuiti+tokuisora*sakagutidaisuke)/(nakamurayuuiti+sakagutidaisuke);
				double minaseinori=asumikana-tanedarisa;
				if(minaseinori<0)minaseinori=-minaseinori;
				if(minaseinori<sakuraayane)sakuraayane=minaseinori;
			}
		}
	}
	printf("%.15f\n",sakuraayane);
	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:

40 1000
80 20
100 100

0.000000000000000

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(void) {
	int asumikana,kitamuraeri;
	int mimorisuzuko,tokuisora;
	int tomatuharuka,igutiyuka;
	int murakawarie,isikawakaito;
	double sakuraayane=10000000.0;
	if(scanf("%d%d",&asumikana,&kitamuraeri)!=2)return 1;
	if(scanf("%d%d",&mimorisuzuko,&tokuisora)!=2)return 1;
	if(scanf("%d%d",&tomatuharuka,&igutiyuka)!=2)return 1;
	for(murakawarie=0;murakawarie*tomatuharuka<kitamuraeri;murakawarie++) {
		for(isikawakaito=0;isikawakaito*igutiyuka<=kitamuraeri-murakawarie*tomatuharuka;isikawakaito++) {
			if(murakawarie+isikawakaito>0) {
				double nakamurayuuiti=tomatuharuka*murakawarie;
				double sakagutidaisuke=igutiyuka*isikawakaito;
				double tanedarisa=(mimorisuzuko*nakamurayuuiti+tokuisora*sakagutidaisuke)/(nakamurayuuiti+sakagutidaisuke);
				double minaseinori=asumikana-tanedarisa;
				if(minaseinori<0)minaseinori=-minaseinori;
				if(minaseinori<sakuraayane)sakuraayane=minaseinori;
			}
		}
	}
	printf("%.15f\n",sakuraayane);
	return 0;
}```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"%d%d"
.LC4:
	.string	"%.15f\n"
	.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
	leaq	.LC1(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	movq	%rbp, %rdi
	subq	$40, %rsp
	.cfi_def_cfa_offset 64
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	leaq	4(%rsp), %rdx
	movq	%rsp, %rsi
	call	__isoc99_scanf@PLT
	cmpl	$2, %eax
	je	.L2
.L4:
	movl	$1, %eax
.L1:
	movq	24(%rsp), %rdx
	subq	%fs:40, %rdx
	jne	.L21
	addq	$40, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
.L2:
	.cfi_restore_state
	xorl	%eax, %eax
	leaq	12(%rsp), %rdx
	leaq	8(%rsp), %rsi
	movq	%rbp, %rdi
	call	__isoc99_scanf@PLT
	cmpl	$2, %eax
	jne	.L4
	xorl	%eax, %eax
	leaq	20(%rsp), %rdx
	leaq	16(%rsp), %rsi
	movq	%rbp, %rdi
	call	__isoc99_scanf@PLT
	cmpl	$2, %eax
	jne	.L4
	movl	4(%rsp), %ebx
	movl	16(%rsp), %ebp
	xorl	%edi, %edi
	xorl	%r11d, %r11d
	movl	20(%rsp), %esi
	movl	8(%rsp), %r10d
	pxor	%xmm6, %xmm6
	movl	12(%rsp), %r9d
	movl	(%rsp), %r8d
	movl	%ebx, %ecx
	movsd	.LC0(%rip), %xmm5
	movq	.LC3(%rip), %xmm7
.L5:
	cmpl	%ebx, %edi
	jge	.L11
	movl	%r11d, %edx
	xorl	%eax, %eax
	.p2align 4,,10
	.p2align 3
.L10:
	testl	%edx, %edx
	je	.L6
	pxor	%xmm2, %xmm2
	pxor	%xmm3, %xmm3
	pxor	%xmm0, %xmm0
	pxor	%xmm4, %xmm4
	cvtsi2sdl	%edi, %xmm2
	pxor	%xmm1, %xmm1
	cvtsi2sdl	%eax, %xmm3
	cvtsi2sdl	%r10d, %xmm0
	cvtsi2sdl	%r9d, %xmm4
	cvtsi2sdl	%r8d, %xmm1
	mulsd	%xmm2, %xmm0
	addsd	%xmm3, %xmm2
	mulsd	%xmm3, %xmm4
	addsd	%xmm4, %xmm0
	divsd	%xmm2, %xmm0
	subsd	%xmm0, %xmm1
	comisd	%xmm1, %xmm6
	jbe	.L7
	xorpd	%xmm7, %xmm1
.L7:
	minsd	%xmm5, %xmm1
	movapd	%xmm1, %xmm5
.L6:
	addl	%esi, %eax
	addl	$1, %edx
	cmpl	%ecx, %eax
	jle	.L10
	addl	$1, %r11d
	addl	%ebp, %edi
	subl	%ebp, %ecx
	jmp	.L5
.L11:
	movapd	%xmm5, %xmm0
	movl	$1, %edi
	movl	$1, %eax
	leaq	.LC4(%rip), %rsi
	call	__printf_chk@PLT
	xorl	%eax, %eax
	jmp	.L1
.L21:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.section	.rodata.cst8,"aM",@progbits,8
	.align 8
.LC0:
	.long	0
	.long	1097011920
	.section	.rodata.cst16,"aM",@progbits,16
	.align 16
.LC3:
	.long	0
	.long	-2147483648
	.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%d"
.LC4:
	.string	"%.15f\n"
	.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
	leaq	.LC1(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	movq	%rbp, %rdi
	subq	$40, %rsp
	.cfi_def_cfa_offset 64
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	leaq	4(%rsp), %rdx
	movq	%rsp, %rsi
	call	__isoc99_scanf@PLT
	cmpl	$2, %eax
	je	.L2
.L4:
	movl	$1, %eax
.L1:
	movq	24(%rsp), %rdx
	subq	%fs:40, %rdx
	jne	.L21
	addq	$40, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
.L2:
	.cfi_restore_state
	xorl	%eax, %eax
	leaq	12(%rsp), %rdx
	leaq	8(%rsp), %rsi
	movq	%rbp, %rdi
	call	__isoc99_scanf@PLT
	cmpl	$2, %eax
	jne	.L4
	xorl	%eax, %eax
	leaq	20(%rsp), %rdx
	leaq	16(%rsp), %rsi
	movq	%rbp, %rdi
	call	__isoc99_scanf@PLT
	cmpl	$2, %eax
	jne	.L4
	movl	4(%rsp), %ebx
	movl	16(%rsp), %ebp
	xorl	%edi, %edi
	xorl	%r11d, %r11d
	movl	20(%rsp), %esi
	movl	8(%rsp), %r10d
	pxor	%xmm6, %xmm6
	movl	12(%rsp), %r9d
	movl	(%rsp), %r8d
	movl	%ebx, %ecx
	movsd	.LC0(%rip), %xmm5
	movq	.LC3(%rip), %xmm7
.L5:
	cmpl	%ebx, %edi
	jge	.L11
	movl	%r11d, %edx
	xorl	%eax, %eax
	.p2align 4,,10
	.p2align 3
.L10:
	testl	%edx, %edx
	je	.L6
	pxor	%xmm2, %xmm2
	pxor	%xmm3, %xmm3
	pxor	%xmm0, %xmm0
	pxor	%xmm4, %xmm4
	cvtsi2sdl	%edi, %xmm2
	pxor	%xmm1, %xmm1
	cvtsi2sdl	%eax, %xmm3
	cvtsi2sdl	%r10d, %xmm0
	cvtsi2sdl	%r9d, %xmm4
	cvtsi2sdl	%r8d, %xmm1
	mulsd	%xmm2, %xmm0
	addsd	%xmm3, %xmm2
	mulsd	%xmm3, %xmm4
	addsd	%xmm4, %xmm0
	divsd	%xmm2, %xmm0
	subsd	%xmm0, %xmm1
	comisd	%xmm1, %xmm6
	jbe	.L7
	xorpd	%xmm7, %xmm1
.L7:
	minsd	%xmm5, %xmm1
	movapd	%xmm1, %xmm5
.L6:
	addl	%esi, %eax
	addl	$1, %edx
	cmpl	%ecx, %eax
	jle	.L10
	addl	$1, %r11d
	addl	%ebp, %edi
	subl	%ebp, %ecx
	jmp	.L5
.L11:
	movapd	%xmm5, %xmm0
	movl	$1, %edi
	movl	$1, %eax
	leaq	.LC4(%rip), %rsi
	call	__printf_chk@PLT
	xorl	%eax, %eax
	jmp	.L1
.L21:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.section	.rodata.cst8,"aM",@progbits,8
	.align 8
.LC0:
	.long	0
	.long	1097011920
	.section	.rodata.cst16,"aM",@progbits,16
	.align 16
.LC3:
	.long	0
	.long	-2147483648
	.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:
```