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>
double max(double a, double b){
  if(b<a)return a;
  else return b;
}
int main(){
  double a,b,c,d,e,f;
  scanf("%lf%lf%lf%lf%lf%lf", &a,&b,&c,&d,&e,&f);
  int res2=-1,res1=0;
  double tmp2=0;
  for(int i=0;i<100;i++){
    for(int j=0;j<100;j++){
        double mass = (i*a + j*b)*100;
        if(mass>f)break;
        double max_sugar = (i*a+j*b)*e;

        for(int k=0;k<100;k++){
          for(int l=0;l<100;l++){
            double sug = k*c+l*d;
            double tmp3=tmp2;
            if(sug<=max_sugar &&  mass+sug <= f){
              tmp2 = max(tmp2,(sug*100/(mass+sug)));
            }
            if(tmp3!=tmp2){
              res1 = mass+sug;
              res2 = sug;
            }
          }
        }
    }
  }
  printf("%d %d\n", (int)res1,(int)res2);
  return 0;
}
```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.p2align 4
	.globl	max
	.type	max, @function
max:
.LFB23:
	.cfi_startproc
	endbr64
	maxsd	%xmm1, %xmm0
	ret
	.cfi_endproc
.LFE23:
	.size	max, .-max
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"%lf%lf%lf%lf%lf%lf"
.LC3:
	.string	"%d %d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB24:
	.cfi_startproc
	endbr64
	subq	$72, %rsp
	.cfi_def_cfa_offset 80
	leaq	.LC1(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 56(%rsp)
	xorl	%eax, %eax
	leaq	24(%rsp), %rcx
	leaq	16(%rsp), %rdx
	leaq	8(%rsp), %rsi
	subq	$8, %rsp
	.cfi_def_cfa_offset 88
	leaq	56(%rsp), %rax
	pushq	%rax
	.cfi_def_cfa_offset 96
	xorl	%eax, %eax
	leaq	56(%rsp), %r9
	leaq	48(%rsp), %r8
	call	__isoc99_scanf@PLT
	movsd	24(%rsp), %xmm13
	xorl	%edi, %edi
	movsd	.LC2(%rip), %xmm8
	movsd	64(%rsp), %xmm7
	movsd	32(%rsp), %xmm12
	pxor	%xmm1, %xmm1
	movl	$-1, %ecx
	movsd	56(%rsp), %xmm11
	movsd	40(%rsp), %xmm9
	movsd	48(%rsp), %xmm6
	popq	%rax
	.cfi_def_cfa_offset 88
	popq	%rdx
	.cfi_def_cfa_offset 80
	xorl	%edx, %edx
.L5:
	pxor	%xmm10, %xmm10
	xorl	%r8d, %r8d
	cvtsi2sdl	%edi, %xmm10
	mulsd	%xmm13, %xmm10
.L15:
	pxor	%xmm14, %xmm14
	cvtsi2sdl	%r8d, %xmm14
	mulsd	%xmm12, %xmm14
	addsd	%xmm10, %xmm14
	movapd	%xmm14, %xmm5
	mulsd	%xmm8, %xmm5
	comisd	%xmm7, %xmm5
	ja	.L6
	mulsd	%xmm11, %xmm14
	xorl	%esi, %esi
.L7:
	pxor	%xmm4, %xmm4
	movapd	%xmm1, %xmm2
	xorl	%eax, %eax
	cvtsi2sdl	%esi, %xmm4
	mulsd	%xmm9, %xmm4
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L21:
	movapd	%xmm1, %xmm2
.L13:
	pxor	%xmm0, %xmm0
	cvtsi2sdl	%eax, %xmm0
	mulsd	%xmm6, %xmm0
	addsd	%xmm4, %xmm0
	comisd	%xmm0, %xmm14
	jb	.L8
	movapd	%xmm5, %xmm3
	addsd	%xmm0, %xmm3
	comisd	%xmm3, %xmm7
	jb	.L8
	movapd	%xmm0, %xmm1
	mulsd	%xmm8, %xmm1
	divsd	%xmm3, %xmm1
	movapd	%xmm2, %xmm3
	maxsd	%xmm1, %xmm3
	movapd	%xmm3, %xmm1
.L8:
	ucomisd	%xmm2, %xmm1
	jp	.L24
	je	.L11
.L24:
	movapd	%xmm5, %xmm2
	cvttsd2sil	%xmm0, %ecx
	addsd	%xmm0, %xmm2
	cvttsd2sil	%xmm2, %edx
.L11:
	addl	$1, %eax
	cmpl	$100, %eax
	jne	.L21
	addl	$1, %esi
	cmpl	$100, %esi
	jne	.L7
	addl	$1, %r8d
	cmpl	$100, %r8d
	jne	.L15
.L6:
	addl	$1, %edi
	cmpl	$100, %edi
	jne	.L5
	xorl	%eax, %eax
	leaq	.LC3(%rip), %rsi
	movl	$1, %edi
	call	__printf_chk@PLT
	movq	56(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L27
	xorl	%eax, %eax
	addq	$72, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L27:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE24:
	.size	main, .-main
	.section	.rodata.cst8,"aM",@progbits,8
	.align 8
.LC2:
	.long	0
	.long	1079574528
	.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
	.p2align 4
	.globl	max
	.type	max, @function
max:
.LFB23:
	.cfi_startproc
	endbr64
	maxsd	%xmm1, %xmm0
	ret
	.cfi_endproc
.LFE23:
	.size	max, .-max
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"%lf%lf%lf%lf%lf%lf"
.LC3:
	.string	"%d %d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB24:
	.cfi_startproc
	endbr64
	subq	$72, %rsp
	.cfi_def_cfa_offset 80
	leaq	.LC1(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 56(%rsp)
	xorl	%eax, %eax
	leaq	24(%rsp), %rcx
	leaq	16(%rsp), %rdx
	leaq	8(%rsp), %rsi
	subq	$8, %rsp
	.cfi_def_cfa_offset 88
	leaq	56(%rsp), %rax
	pushq	%rax
	.cfi_def_cfa_offset 96
	xorl	%eax, %eax
	leaq	56(%rsp), %r9
	leaq	48(%rsp), %r8
	call	__isoc99_scanf@PLT
	movsd	24(%rsp), %xmm13
	xorl	%edi, %edi
	movsd	.LC2(%rip), %xmm8
	movsd	64(%rsp), %xmm7
	movsd	32(%rsp), %xmm12
	pxor	%xmm1, %xmm1
	movl	$-1, %ecx
	movsd	56(%rsp), %xmm11
	movsd	40(%rsp), %xmm9
	movsd	48(%rsp), %xmm6
	popq	%rax
	.cfi_def_cfa_offset 88
	popq	%rdx
	.cfi_def_cfa_offset 80
	xorl	%edx, %edx
.L5:
	pxor	%xmm10, %xmm10
	xorl	%r8d, %r8d
	cvtsi2sdl	%edi, %xmm10
	mulsd	%xmm13, %xmm10
.L15:
	pxor	%xmm14, %xmm14
	cvtsi2sdl	%r8d, %xmm14
	mulsd	%xmm12, %xmm14
	addsd	%xmm10, %xmm14
	movapd	%xmm14, %xmm5
	mulsd	%xmm8, %xmm5
	comisd	%xmm7, %xmm5
	ja	.L6
	mulsd	%xmm11, %xmm14
	xorl	%esi, %esi
.L7:
	pxor	%xmm4, %xmm4
	movapd	%xmm1, %xmm2
	xorl	%eax, %eax
	cvtsi2sdl	%esi, %xmm4
	mulsd	%xmm9, %xmm4
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L21:
	movapd	%xmm1, %xmm2
.L13:
	pxor	%xmm0, %xmm0
	cvtsi2sdl	%eax, %xmm0
	mulsd	%xmm6, %xmm0
	addsd	%xmm4, %xmm0
	comisd	%xmm0, %xmm14
	jb	.L8
	movapd	%xmm5, %xmm3
	addsd	%xmm0, %xmm3
	comisd	%xmm3, %xmm7
	jb	.L8
	movapd	%xmm0, %xmm1
	mulsd	%xmm8, %xmm1
	divsd	%xmm3, %xmm1
	movapd	%xmm2, %xmm3
	maxsd	%xmm1, %xmm3
	movapd	%xmm3, %xmm1
.L8:
	ucomisd	%xmm2, %xmm1
	jp	.L24
	je	.L11
.L24:
	movapd	%xmm5, %xmm2
	cvttsd2sil	%xmm0, %ecx
	addsd	%xmm0, %xmm2
	cvttsd2sil	%xmm2, %edx
.L11:
	addl	$1, %eax
	cmpl	$100, %eax
	jne	.L21
	addl	$1, %esi
	cmpl	$100, %esi
	jne	.L7
	addl	$1, %r8d
	cmpl	$100, %r8d
	jne	.L15
.L6:
	addl	$1, %edi
	cmpl	$100, %edi
	jne	.L5
	xorl	%eax, %eax
	leaq	.LC3(%rip), %rsi
	movl	$1, %edi
	call	__printf_chk@PLT
	movq	56(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L27
	xorl	%eax, %eax
	addq	$72, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L27:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE24:
	.size	main, .-main
	.section	.rodata.cst8,"aM",@progbits,8
	.align 8
.LC2:
	.long	0
	.long	1079574528
	.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
	.p2align 4
	.globl	max
	.type	max, @function
max:
.LFB23:
	.cfi_startproc
	endbr64
	maxsd	%xmm1, %xmm0
	ret
	.cfi_endproc
.LFE23:
	.size	max, .-max
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"%lf%lf%lf%lf%lf%lf"
.LC3:
	.string	"%d %d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB24:
	.cfi_startproc
	endbr64
	subq	$72, %rsp
	.cfi_def_cfa_offset 80
	leaq	.LC1(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 56(%rsp)
	xorl	%eax, %eax
	leaq	24(%rsp), %rcx
	leaq	16(%rsp), %rdx
	leaq	8(%rsp), %rsi
	subq	$8, %rsp
	.cfi_def_cfa_offset 88
	leaq	56(%rsp), %rax
	pushq	%rax
	.cfi_def_cfa_offset 96
	xorl	%eax, %eax
	leaq	56(%rsp), %r9
	leaq	48(%rsp), %r8
	call	__isoc99_scanf@PLT
	movsd	24(%rsp), %xmm13
	xorl	%edi, %edi
	movsd	.LC2(%rip), %xmm8
	movsd	64(%rsp), %xmm7
	movsd	32(%rsp), %xmm12
	pxor	%xmm1, %xmm1
	movl	$-1, %ecx
	movsd	56(%rsp), %xmm11
	movsd	40(%rsp), %xmm9
	movsd	48(%rsp), %xmm6
	popq	%rax
	.cfi_def_cfa_offset 88
	popq	%rdx
	.cfi_def_cfa_offset 80
	xorl	%edx, %edx
.L5:
	pxor	%xmm10, %xmm10
	xorl	%r8d, %r8d
	cvtsi2sdl	%edi, %xmm10
	mulsd	%xmm13, %xmm10
.L15:
	pxor	%xmm14, %xmm14
	cvtsi2sdl	%r8d, %xmm14
	mulsd	%xmm12, %xmm14
	addsd	%xmm10, %xmm14
	movapd	%xmm14, %xmm5
	mulsd	%xmm8, %xmm5
	comisd	%xmm7, %xmm5
	ja	.L6
	mulsd	%xmm11, %xmm14
	xorl	%esi, %esi
.L7:
	pxor	%xmm4, %xmm4
	movapd	%xmm1, %xmm2
	xorl	%eax, %eax
	cvtsi2sdl	%esi, %xmm4
	mulsd	%xmm9, %xmm4
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L21:
	movapd	%xmm1, %xmm2
.L13:
	pxor	%xmm0, %xmm0
	cvtsi2sdl	%eax, %xmm0
	mulsd	%xmm6, %xmm0
	addsd	%xmm4, %xmm0
	comisd	%xmm0, %xmm14
	jb	.L8
	movapd	%xmm5, %xmm3
	addsd	%xmm0, %xmm3
	comisd	%xmm3, %xmm7
	jb	.L8
	movapd	%xmm0, %xmm1
	mulsd	%xmm8, %xmm1
	divsd	%xmm3, %xmm1
	movapd	%xmm2, %xmm3
	maxsd	%xmm1, %xmm3
	movapd	%xmm3, %xmm1
.L8:
	ucomisd	%xmm2, %xmm1
	jp	.L24
	je	.L11
.L24:
	movapd	%xmm5, %xmm2
	cvttsd2sil	%xmm0, %ecx
	addsd	%xmm0, %xmm2
	cvttsd2sil	%xmm2, %edx
.L11:
	addl	$1, %eax
	cmpl	$100, %eax
	jne	.L21
	addl	$1, %esi
	cmpl	$100, %esi
	jne	.L7
	addl	$1, %r8d
	cmpl	$100, %r8d
	jne	.L15
.L6:
	addl	$1, %edi
	cmpl	$100, %edi
	jne	.L5
	xorl	%eax, %eax
	leaq	.LC3(%rip), %rsi
	movl	$1, %edi
	call	__printf_chk@PLT
	movq	56(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L27
	xorl	%eax, %eax
	addq	$72, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L27:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE24:
	.size	main, .-main
	.section	.rodata.cst8,"aM",@progbits,8
	.align 8
.LC2:
	.long	0
	.long	1079574528
	.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>
double max(double a, double b){
  if(b<a)return a;
  else return b;
}
int main(){
  double a,b,c,d,e,f;
  scanf("%lf%lf%lf%lf%lf%lf", &a,&b,&c,&d,&e,&f);
  int res2=-1,res1=0;
  double tmp2=0;
  for(int i=0;i<100;i++){
    for(int j=0;j<100;j++){
        double mass = (i*a + j*b)*100;
        if(mass>f)break;
        double max_sugar = (i*a+j*b)*e;

        for(int k=0;k<100;k++){
          for(int l=0;l<100;l++){
            double sug = k*c+l*d;
            double tmp3=tmp2;
            if(sug<=max_sugar &&  mass+sug <= f){
              tmp2 = max(tmp2,(sug*100/(mass+sug)));
            }
            if(tmp3!=tmp2){
              res1 = mass+sug;
              res2 = sug;
            }
          }
        }
    }
  }
  printf("%d %d\n", (int)res1,(int)res2);
  return 0;
}
```
Given the following C code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
#include <stdio.h>
double max(double a, double b){
  if(b<a)return a;
  else return b;
}
int main(){
  double a,b,c,d,e,f;
  scanf("%lf%lf%lf%lf%lf%lf", &a,&b,&c,&d,&e,&f);
  int res2=-1,res1=0;
  double tmp2=0;
  for(int i=0;i<100;i++){
    for(int j=0;j<100;j++){
        double mass = (i*a + j*b)*100;
        if(mass>f)break;
        double max_sugar = (i*a+j*b)*e;

        for(int k=0;k<100;k++){
          for(int l=0;l<100;l++){
            double sug = k*c+l*d;
            double tmp3=tmp2;
            if(sug<=max_sugar &&  mass+sug <= f){
              tmp2 = max(tmp2,(sug*100/(mass+sug)));
            }
            if(tmp3!=tmp2){
              res1 = mass+sug;
              res2 = sug;
            }
          }
        }
    }
  }
  printf("%d %d\n", (int)res1,(int)res2);
  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:

1 2 10 20 15 179
 26 19 22 26 55 2802
 1 2 5 20 15 179
 26 29 22 26 55 2802
 1 1 5 20 27 179
 17 19 22 47 55 2802
 14 29 22 26 55 2802
 1 3 10 20 15 243
 5 31 22 26 55 2802
 2 1 1 20 17 179

110 10
 2802 902
 115 15
 2802 202
 125 25
 2635 935
 2170 770
 230 30
 1550 550
 117 17

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>
double max(double a, double b){
  if(b<a)return a;
  else return b;
}
int main(){
  double a,b,c,d,e,f;
  scanf("%lf%lf%lf%lf%lf%lf", &a,&b,&c,&d,&e,&f);
  int res2=-1,res1=0;
  double tmp2=0;
  for(int i=0;i<100;i++){
    for(int j=0;j<100;j++){
        double mass = (i*a + j*b)*100;
        if(mass>f)break;
        double max_sugar = (i*a+j*b)*e;

        for(int k=0;k<100;k++){
          for(int l=0;l<100;l++){
            double sug = k*c+l*d;
            double tmp3=tmp2;
            if(sug<=max_sugar &&  mass+sug <= f){
              tmp2 = max(tmp2,(sug*100/(mass+sug)));
            }
            if(tmp3!=tmp2){
              res1 = mass+sug;
              res2 = sug;
            }
          }
        }
    }
  }
  printf("%d %d\n", (int)res1,(int)res2);
  return 0;
}
```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.p2align 4
	.globl	max
	.type	max, @function
max:
.LFB23:
	.cfi_startproc
	endbr64
	maxsd	%xmm1, %xmm0
	ret
	.cfi_endproc
.LFE23:
	.size	max, .-max
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"%lf%lf%lf%lf%lf%lf"
.LC3:
	.string	"%d %d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB24:
	.cfi_startproc
	endbr64
	subq	$72, %rsp
	.cfi_def_cfa_offset 80
	leaq	.LC1(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 56(%rsp)
	xorl	%eax, %eax
	leaq	24(%rsp), %rcx
	leaq	16(%rsp), %rdx
	leaq	8(%rsp), %rsi
	subq	$8, %rsp
	.cfi_def_cfa_offset 88
	leaq	56(%rsp), %rax
	pushq	%rax
	.cfi_def_cfa_offset 96
	xorl	%eax, %eax
	leaq	56(%rsp), %r9
	leaq	48(%rsp), %r8
	call	__isoc99_scanf@PLT
	movsd	24(%rsp), %xmm13
	xorl	%edi, %edi
	movsd	.LC2(%rip), %xmm8
	movsd	64(%rsp), %xmm7
	movsd	32(%rsp), %xmm12
	pxor	%xmm1, %xmm1
	movl	$-1, %ecx
	movsd	56(%rsp), %xmm11
	movsd	40(%rsp), %xmm9
	movsd	48(%rsp), %xmm6
	popq	%rax
	.cfi_def_cfa_offset 88
	popq	%rdx
	.cfi_def_cfa_offset 80
	xorl	%edx, %edx
.L5:
	pxor	%xmm10, %xmm10
	xorl	%r8d, %r8d
	cvtsi2sdl	%edi, %xmm10
	mulsd	%xmm13, %xmm10
.L15:
	pxor	%xmm14, %xmm14
	cvtsi2sdl	%r8d, %xmm14
	mulsd	%xmm12, %xmm14
	addsd	%xmm10, %xmm14
	movapd	%xmm14, %xmm5
	mulsd	%xmm8, %xmm5
	comisd	%xmm7, %xmm5
	ja	.L6
	mulsd	%xmm11, %xmm14
	xorl	%esi, %esi
.L7:
	pxor	%xmm4, %xmm4
	movapd	%xmm1, %xmm2
	xorl	%eax, %eax
	cvtsi2sdl	%esi, %xmm4
	mulsd	%xmm9, %xmm4
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L21:
	movapd	%xmm1, %xmm2
.L13:
	pxor	%xmm0, %xmm0
	cvtsi2sdl	%eax, %xmm0
	mulsd	%xmm6, %xmm0
	addsd	%xmm4, %xmm0
	comisd	%xmm0, %xmm14
	jb	.L8
	movapd	%xmm5, %xmm3
	addsd	%xmm0, %xmm3
	comisd	%xmm3, %xmm7
	jb	.L8
	movapd	%xmm0, %xmm1
	mulsd	%xmm8, %xmm1
	divsd	%xmm3, %xmm1
	movapd	%xmm2, %xmm3
	maxsd	%xmm1, %xmm3
	movapd	%xmm3, %xmm1
.L8:
	ucomisd	%xmm2, %xmm1
	jp	.L24
	je	.L11
.L24:
	movapd	%xmm5, %xmm2
	cvttsd2sil	%xmm0, %ecx
	addsd	%xmm0, %xmm2
	cvttsd2sil	%xmm2, %edx
.L11:
	addl	$1, %eax
	cmpl	$100, %eax
	jne	.L21
	addl	$1, %esi
	cmpl	$100, %esi
	jne	.L7
	addl	$1, %r8d
	cmpl	$100, %r8d
	jne	.L15
.L6:
	addl	$1, %edi
	cmpl	$100, %edi
	jne	.L5
	xorl	%eax, %eax
	leaq	.LC3(%rip), %rsi
	movl	$1, %edi
	call	__printf_chk@PLT
	movq	56(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L27
	xorl	%eax, %eax
	addq	$72, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L27:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE24:
	.size	main, .-main
	.section	.rodata.cst8,"aM",@progbits,8
	.align 8
.LC2:
	.long	0
	.long	1079574528
	.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
	.p2align 4
	.globl	max
	.type	max, @function
max:
.LFB23:
	.cfi_startproc
	endbr64
	maxsd	%xmm1, %xmm0
	ret
	.cfi_endproc
.LFE23:
	.size	max, .-max
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"%lf%lf%lf%lf%lf%lf"
.LC3:
	.string	"%d %d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB24:
	.cfi_startproc
	endbr64
	subq	$72, %rsp
	.cfi_def_cfa_offset 80
	leaq	.LC1(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 56(%rsp)
	xorl	%eax, %eax
	leaq	24(%rsp), %rcx
	leaq	16(%rsp), %rdx
	leaq	8(%rsp), %rsi
	subq	$8, %rsp
	.cfi_def_cfa_offset 88
	leaq	56(%rsp), %rax
	pushq	%rax
	.cfi_def_cfa_offset 96
	xorl	%eax, %eax
	leaq	56(%rsp), %r9
	leaq	48(%rsp), %r8
	call	__isoc99_scanf@PLT
	movsd	24(%rsp), %xmm13
	xorl	%edi, %edi
	movsd	.LC2(%rip), %xmm8
	movsd	64(%rsp), %xmm7
	movsd	32(%rsp), %xmm12
	pxor	%xmm1, %xmm1
	movl	$-1, %ecx
	movsd	56(%rsp), %xmm11
	movsd	40(%rsp), %xmm9
	movsd	48(%rsp), %xmm6
	popq	%rax
	.cfi_def_cfa_offset 88
	popq	%rdx
	.cfi_def_cfa_offset 80
	xorl	%edx, %edx
.L5:
	pxor	%xmm10, %xmm10
	xorl	%r8d, %r8d
	cvtsi2sdl	%edi, %xmm10
	mulsd	%xmm13, %xmm10
.L15:
	pxor	%xmm14, %xmm14
	cvtsi2sdl	%r8d, %xmm14
	mulsd	%xmm12, %xmm14
	addsd	%xmm10, %xmm14
	movapd	%xmm14, %xmm5
	mulsd	%xmm8, %xmm5
	comisd	%xmm7, %xmm5
	ja	.L6
	mulsd	%xmm11, %xmm14
	xorl	%esi, %esi
.L7:
	pxor	%xmm4, %xmm4
	movapd	%xmm1, %xmm2
	xorl	%eax, %eax
	cvtsi2sdl	%esi, %xmm4
	mulsd	%xmm9, %xmm4
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L21:
	movapd	%xmm1, %xmm2
.L13:
	pxor	%xmm0, %xmm0
	cvtsi2sdl	%eax, %xmm0
	mulsd	%xmm6, %xmm0
	addsd	%xmm4, %xmm0
	comisd	%xmm0, %xmm14
	jb	.L8
	movapd	%xmm5, %xmm3
	addsd	%xmm0, %xmm3
	comisd	%xmm3, %xmm7
	jb	.L8
	movapd	%xmm0, %xmm1
	mulsd	%xmm8, %xmm1
	divsd	%xmm3, %xmm1
	movapd	%xmm2, %xmm3
	maxsd	%xmm1, %xmm3
	movapd	%xmm3, %xmm1
.L8:
	ucomisd	%xmm2, %xmm1
	jp	.L24
	je	.L11
.L24:
	movapd	%xmm5, %xmm2
	cvttsd2sil	%xmm0, %ecx
	addsd	%xmm0, %xmm2
	cvttsd2sil	%xmm2, %edx
.L11:
	addl	$1, %eax
	cmpl	$100, %eax
	jne	.L21
	addl	$1, %esi
	cmpl	$100, %esi
	jne	.L7
	addl	$1, %r8d
	cmpl	$100, %r8d
	jne	.L15
.L6:
	addl	$1, %edi
	cmpl	$100, %edi
	jne	.L5
	xorl	%eax, %eax
	leaq	.LC3(%rip), %rsi
	movl	$1, %edi
	call	__printf_chk@PLT
	movq	56(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L27
	xorl	%eax, %eax
	addq	$72, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L27:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE24:
	.size	main, .-main
	.section	.rodata.cst8,"aM",@progbits,8
	.align 8
.LC2:
	.long	0
	.long	1079574528
	.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:
```