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>
#include<math.h>
#include<stdlib.h>
int main(void){
    int n,t,i,x,h;
    double max=0;
    double angle;
    scanf("%d %d",&n,&t);
    for(i=1;i<=n;i++){
        scanf("%d %d",&x,&h);
        angle=(double)h/(double)x;
        if(angle>=max)
        max=angle;
        
    }
    printf("%f\n",max*(double)t);
    
    
    
}
```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"%d %d"
.LC2:
	.string	"%f\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB39:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	leaq	.LC1(%rip), %rbx
	movq	%rbx, %rdi
	subq	$56, %rsp
	.cfi_def_cfa_offset 96
	movq	%fs:40, %rax
	movq	%rax, 40(%rsp)
	xorl	%eax, %eax
	leaq	28(%rsp), %rdx
	leaq	24(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	24(%rsp), %eax
	pxor	%xmm1, %xmm1
	testl	%eax, %eax
	jle	.L2
	movl	$1, %r13d
	leaq	36(%rsp), %r12
	leaq	32(%rsp), %rbp
	.p2align 4,,10
	.p2align 3
.L5:
	movq	%r12, %rdx
	movq	%rbp, %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	movsd	%xmm1, 8(%rsp)
	addl	$1, %r13d
	call	__isoc99_scanf@PLT
	pxor	%xmm2, %xmm2
	pxor	%xmm0, %xmm0
	movsd	8(%rsp), %xmm1
	cvtsi2sdl	32(%rsp), %xmm0
	cvtsi2sdl	36(%rsp), %xmm2
	divsd	%xmm0, %xmm2
	movapd	%xmm1, %xmm0
	cmpnlesd	%xmm2, %xmm0
	andpd	%xmm0, %xmm1
	andnpd	%xmm2, %xmm0
	orpd	%xmm0, %xmm1
	cmpl	%r13d, 24(%rsp)
	jge	.L5
.L2:
	pxor	%xmm0, %xmm0
	movl	$1, %edi
	movl	$1, %eax
	cvtsi2sdl	28(%rsp), %xmm0
	leaq	.LC2(%rip), %rsi
	mulsd	%xmm1, %xmm0
	call	__printf_chk@PLT
	movq	40(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L12
	addq	$56, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%rbp
	.cfi_def_cfa_offset 24
	popq	%r12
	.cfi_def_cfa_offset 16
	popq	%r13
	.cfi_def_cfa_offset 8
	ret
.L12:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE39:
	.size	main, .-main
	.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"
.LC2:
	.string	"%f\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB39:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	leaq	.LC1(%rip), %rbx
	movq	%rbx, %rdi
	subq	$56, %rsp
	.cfi_def_cfa_offset 96
	movq	%fs:40, %rax
	movq	%rax, 40(%rsp)
	xorl	%eax, %eax
	leaq	28(%rsp), %rdx
	leaq	24(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	24(%rsp), %eax
	pxor	%xmm1, %xmm1
	testl	%eax, %eax
	jle	.L2
	movl	$1, %r13d
	leaq	36(%rsp), %r12
	leaq	32(%rsp), %rbp
	.p2align 4,,10
	.p2align 3
.L5:
	movq	%r12, %rdx
	movq	%rbp, %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	movsd	%xmm1, 8(%rsp)
	addl	$1, %r13d
	call	__isoc99_scanf@PLT
	pxor	%xmm2, %xmm2
	pxor	%xmm0, %xmm0
	movsd	8(%rsp), %xmm1
	cvtsi2sdl	32(%rsp), %xmm0
	cvtsi2sdl	36(%rsp), %xmm2
	divsd	%xmm0, %xmm2
	movapd	%xmm1, %xmm0
	cmpnlesd	%xmm2, %xmm0
	andpd	%xmm0, %xmm1
	andnpd	%xmm2, %xmm0
	orpd	%xmm0, %xmm1
	cmpl	%r13d, 24(%rsp)
	jge	.L5
.L2:
	pxor	%xmm0, %xmm0
	movl	$1, %edi
	movl	$1, %eax
	cvtsi2sdl	28(%rsp), %xmm0
	leaq	.LC2(%rip), %rsi
	mulsd	%xmm1, %xmm0
	call	__printf_chk@PLT
	movq	40(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L12
	addq	$56, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%rbp
	.cfi_def_cfa_offset 24
	popq	%r12
	.cfi_def_cfa_offset 16
	popq	%r13
	.cfi_def_cfa_offset 8
	ret
.L12:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE39:
	.size	main, .-main
	.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"
.LC2:
	.string	"%f\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB39:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	leaq	.LC1(%rip), %rbx
	movq	%rbx, %rdi
	subq	$56, %rsp
	.cfi_def_cfa_offset 96
	movq	%fs:40, %rax
	movq	%rax, 40(%rsp)
	xorl	%eax, %eax
	leaq	28(%rsp), %rdx
	leaq	24(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	24(%rsp), %eax
	pxor	%xmm1, %xmm1
	testl	%eax, %eax
	jle	.L2
	movl	$1, %r13d
	leaq	36(%rsp), %r12
	leaq	32(%rsp), %rbp
	.p2align 4,,10
	.p2align 3
.L5:
	movq	%r12, %rdx
	movq	%rbp, %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	movsd	%xmm1, 8(%rsp)
	addl	$1, %r13d
	call	__isoc99_scanf@PLT
	pxor	%xmm2, %xmm2
	pxor	%xmm0, %xmm0
	movsd	8(%rsp), %xmm1
	cvtsi2sdl	32(%rsp), %xmm0
	cvtsi2sdl	36(%rsp), %xmm2
	divsd	%xmm0, %xmm2
	movapd	%xmm1, %xmm0
	cmpnlesd	%xmm2, %xmm0
	andpd	%xmm0, %xmm1
	andnpd	%xmm2, %xmm0
	orpd	%xmm0, %xmm1
	cmpl	%r13d, 24(%rsp)
	jge	.L5
.L2:
	pxor	%xmm0, %xmm0
	movl	$1, %edi
	movl	$1, %eax
	cvtsi2sdl	28(%rsp), %xmm0
	leaq	.LC2(%rip), %rsi
	mulsd	%xmm1, %xmm0
	call	__printf_chk@PLT
	movq	40(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L12
	addq	$56, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%rbp
	.cfi_def_cfa_offset 24
	popq	%r12
	.cfi_def_cfa_offset 16
	popq	%r13
	.cfi_def_cfa_offset 8
	ret
.L12:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE39:
	.size	main, .-main
	.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>
#include<math.h>
#include<stdlib.h>
int main(void){
    int n,t,i,x,h;
    double max=0;
    double angle;
    scanf("%d %d",&n,&t);
    for(i=1;i<=n;i++){
        scanf("%d %d",&x,&h);
        angle=(double)h/(double)x;
        if(angle>=max)
        max=angle;
        
    }
    printf("%f\n",max*(double)t);
    
    
    
}
```
Given the following C code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
#include <stdio.h>
#include<math.h>
#include<stdlib.h>
int main(void){
    int n,t,i,x,h;
    double max=0;
    double angle;
    scanf("%d %d",&n,&t);
    for(i=1;i<=n;i++){
        scanf("%d %d",&x,&h);
        angle=(double)h/(double)x;
        if(angle>=max)
        max=angle;
        
    }
    printf("%f\n",max*(double)t);
    
    
    
}
```

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:

3 10
6 4
4 2
3 4
 3 10
6 4
10 2
3 1
 3 10
6 4
2 2
3 2
 3 4
6 4
5 2
3 4
 3 10
6 4
10 2
0 1
 3 10
6 7
11 2
2 1
 3 8
6 8
10 2
3 1
 3 10
2 4
4 4
3 4
 3 10
7 8
11 2
2 1
 1 10
5 4
2 2
3 3

13.333333
 6.666667
 10.000000
 5.333333
 inf
 11.666667
 10.666667
 20.000000
 11.428571
 8.000000

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>
#include<math.h>
#include<stdlib.h>
int main(void){
    int n,t,i,x,h;
    double max=0;
    double angle;
    scanf("%d %d",&n,&t);
    for(i=1;i<=n;i++){
        scanf("%d %d",&x,&h);
        angle=(double)h/(double)x;
        if(angle>=max)
        max=angle;
        
    }
    printf("%f\n",max*(double)t);
    
    
    
}
```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"%d %d"
.LC2:
	.string	"%f\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB39:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	leaq	.LC1(%rip), %rbx
	movq	%rbx, %rdi
	subq	$56, %rsp
	.cfi_def_cfa_offset 96
	movq	%fs:40, %rax
	movq	%rax, 40(%rsp)
	xorl	%eax, %eax
	leaq	28(%rsp), %rdx
	leaq	24(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	24(%rsp), %eax
	pxor	%xmm1, %xmm1
	testl	%eax, %eax
	jle	.L2
	movl	$1, %r13d
	leaq	36(%rsp), %r12
	leaq	32(%rsp), %rbp
	.p2align 4,,10
	.p2align 3
.L5:
	movq	%r12, %rdx
	movq	%rbp, %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	movsd	%xmm1, 8(%rsp)
	addl	$1, %r13d
	call	__isoc99_scanf@PLT
	pxor	%xmm2, %xmm2
	pxor	%xmm0, %xmm0
	movsd	8(%rsp), %xmm1
	cvtsi2sdl	32(%rsp), %xmm0
	cvtsi2sdl	36(%rsp), %xmm2
	divsd	%xmm0, %xmm2
	movapd	%xmm1, %xmm0
	cmpnlesd	%xmm2, %xmm0
	andpd	%xmm0, %xmm1
	andnpd	%xmm2, %xmm0
	orpd	%xmm0, %xmm1
	cmpl	%r13d, 24(%rsp)
	jge	.L5
.L2:
	pxor	%xmm0, %xmm0
	movl	$1, %edi
	movl	$1, %eax
	cvtsi2sdl	28(%rsp), %xmm0
	leaq	.LC2(%rip), %rsi
	mulsd	%xmm1, %xmm0
	call	__printf_chk@PLT
	movq	40(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L12
	addq	$56, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%rbp
	.cfi_def_cfa_offset 24
	popq	%r12
	.cfi_def_cfa_offset 16
	popq	%r13
	.cfi_def_cfa_offset 8
	ret
.L12:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE39:
	.size	main, .-main
	.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"
.LC2:
	.string	"%f\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB39:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	leaq	.LC1(%rip), %rbx
	movq	%rbx, %rdi
	subq	$56, %rsp
	.cfi_def_cfa_offset 96
	movq	%fs:40, %rax
	movq	%rax, 40(%rsp)
	xorl	%eax, %eax
	leaq	28(%rsp), %rdx
	leaq	24(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	24(%rsp), %eax
	pxor	%xmm1, %xmm1
	testl	%eax, %eax
	jle	.L2
	movl	$1, %r13d
	leaq	36(%rsp), %r12
	leaq	32(%rsp), %rbp
	.p2align 4,,10
	.p2align 3
.L5:
	movq	%r12, %rdx
	movq	%rbp, %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	movsd	%xmm1, 8(%rsp)
	addl	$1, %r13d
	call	__isoc99_scanf@PLT
	pxor	%xmm2, %xmm2
	pxor	%xmm0, %xmm0
	movsd	8(%rsp), %xmm1
	cvtsi2sdl	32(%rsp), %xmm0
	cvtsi2sdl	36(%rsp), %xmm2
	divsd	%xmm0, %xmm2
	movapd	%xmm1, %xmm0
	cmpnlesd	%xmm2, %xmm0
	andpd	%xmm0, %xmm1
	andnpd	%xmm2, %xmm0
	orpd	%xmm0, %xmm1
	cmpl	%r13d, 24(%rsp)
	jge	.L5
.L2:
	pxor	%xmm0, %xmm0
	movl	$1, %edi
	movl	$1, %eax
	cvtsi2sdl	28(%rsp), %xmm0
	leaq	.LC2(%rip), %rsi
	mulsd	%xmm1, %xmm0
	call	__printf_chk@PLT
	movq	40(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L12
	addq	$56, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%rbp
	.cfi_def_cfa_offset 24
	popq	%r12
	.cfi_def_cfa_offset 16
	popq	%r13
	.cfi_def_cfa_offset 8
	ret
.L12:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE39:
	.size	main, .-main
	.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:
```