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 N, t;
    int x[1001], h[1001];
    double max;
    double t2;
    int i;
    
    scanf("%d%d", &N, &t);
    for (i = 0; i < N; i++){
        scanf("%d%d", &x[i], &h[i]);
    }
    
    max = (double)h[0] / (double)x[0];
    for (i = 1; i < N; i++){
        if (t > x[i]){
            t2 = (double)h[i] / (double)x[i];
            if (max < t2){
                max = t2;
            }
        }
    }
    
    printf("%lf\n", max * t);
    
    return (0);
}

```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d%d"
.LC1:
	.string	"%lf\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.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
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	subq	$4096, %rsp
	.cfi_def_cfa_offset 4144
	orq	$0, (%rsp)
	subq	$3952, %rsp
	.cfi_def_cfa_offset 8096
	leaq	.LC0(%rip), %r14
	movq	%r14, %rdi
	movq	%fs:40, %rax
	movq	%rax, 8040(%rsp)
	xorl	%eax, %eax
	leaq	12(%rsp), %rdx
	leaq	8(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	8(%rsp), %eax
	testl	%eax, %eax
	jle	.L2
	leaq	16(%rsp), %r12
	xorl	%ebx, %ebx
	leaq	4032(%rsp), %rbp
	movq	%r12, %r13
	.p2align 4,,10
	.p2align 3
.L3:
	leaq	0(%rbp,%rbx,4), %rdx
	movq	%r13, %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	8(%rsp), %eax
	addq	$1, %rbx
	addq	$4, %r13
	cmpl	%ebx, %eax
	jg	.L3
	pxor	%xmm1, %xmm1
	pxor	%xmm0, %xmm0
	movl	12(%rsp), %esi
	cvtsi2sdl	4032(%rsp), %xmm1
	cvtsi2sdl	16(%rsp), %xmm0
	divsd	%xmm0, %xmm1
	cmpl	$1, %eax
	jle	.L4
	movslq	%eax, %rdx
	movl	$1, %eax
	.p2align 4,,10
	.p2align 3
.L7:
	movl	(%r12,%rax,4), %ecx
	cmpl	%esi, %ecx
	jge	.L5
	pxor	%xmm0, %xmm0
	pxor	%xmm2, %xmm2
	cvtsi2sdl	0(%rbp,%rax,4), %xmm0
	cvtsi2sdl	%ecx, %xmm2
	divsd	%xmm2, %xmm0
	maxsd	%xmm1, %xmm0
	movapd	%xmm0, %xmm1
.L5:
	addq	$1, %rax
	cmpq	%rdx, %rax
	jne	.L7
.L4:
	pxor	%xmm0, %xmm0
	movl	$1, %edi
	movl	$1, %eax
	cvtsi2sdl	%esi, %xmm0
	leaq	.LC1(%rip), %rsi
	mulsd	%xmm1, %xmm0
	call	__printf_chk@PLT
	movq	8040(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L15
	addq	$8048, %rsp
	.cfi_remember_state
	.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
.L2:
	.cfi_restore_state
	pxor	%xmm1, %xmm1
	pxor	%xmm0, %xmm0
	movl	12(%rsp), %esi
	cvtsi2sdl	4032(%rsp), %xmm1
	cvtsi2sdl	16(%rsp), %xmm0
	divsd	%xmm0, %xmm1
	jmp	.L4
.L15:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.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
.LC0:
	.string	"%d%d"
.LC1:
	.string	"%lf\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.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
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	subq	$4096, %rsp
	.cfi_def_cfa_offset 4144
	orq	$0, (%rsp)
	subq	$3952, %rsp
	.cfi_def_cfa_offset 8096
	leaq	.LC0(%rip), %r14
	movq	%r14, %rdi
	movq	%fs:40, %rax
	movq	%rax, 8040(%rsp)
	xorl	%eax, %eax
	leaq	12(%rsp), %rdx
	leaq	8(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	8(%rsp), %eax
	testl	%eax, %eax
	jle	.L2
	leaq	16(%rsp), %r12
	xorl	%ebx, %ebx
	leaq	4032(%rsp), %rbp
	movq	%r12, %r13
	.p2align 4,,10
	.p2align 3
.L3:
	leaq	0(%rbp,%rbx,4), %rdx
	movq	%r13, %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	8(%rsp), %eax
	addq	$1, %rbx
	addq	$4, %r13
	cmpl	%ebx, %eax
	jg	.L3
	pxor	%xmm1, %xmm1
	pxor	%xmm0, %xmm0
	movl	12(%rsp), %esi
	cvtsi2sdl	4032(%rsp), %xmm1
	cvtsi2sdl	16(%rsp), %xmm0
	divsd	%xmm0, %xmm1
	cmpl	$1, %eax
	jle	.L4
	movslq	%eax, %rdx
	movl	$1, %eax
	.p2align 4,,10
	.p2align 3
.L7:
	movl	(%r12,%rax,4), %ecx
	cmpl	%esi, %ecx
	jge	.L5
	pxor	%xmm0, %xmm0
	pxor	%xmm2, %xmm2
	cvtsi2sdl	0(%rbp,%rax,4), %xmm0
	cvtsi2sdl	%ecx, %xmm2
	divsd	%xmm2, %xmm0
	maxsd	%xmm1, %xmm0
	movapd	%xmm0, %xmm1
.L5:
	addq	$1, %rax
	cmpq	%rdx, %rax
	jne	.L7
.L4:
	pxor	%xmm0, %xmm0
	movl	$1, %edi
	movl	$1, %eax
	cvtsi2sdl	%esi, %xmm0
	leaq	.LC1(%rip), %rsi
	mulsd	%xmm1, %xmm0
	call	__printf_chk@PLT
	movq	8040(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L15
	addq	$8048, %rsp
	.cfi_remember_state
	.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
.L2:
	.cfi_restore_state
	pxor	%xmm1, %xmm1
	pxor	%xmm0, %xmm0
	movl	12(%rsp), %esi
	cvtsi2sdl	4032(%rsp), %xmm1
	cvtsi2sdl	16(%rsp), %xmm0
	divsd	%xmm0, %xmm1
	jmp	.L4
.L15:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.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
.LC0:
	.string	"%d%d"
.LC1:
	.string	"%lf\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.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
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	subq	$4096, %rsp
	.cfi_def_cfa_offset 4144
	orq	$0, (%rsp)
	subq	$3952, %rsp
	.cfi_def_cfa_offset 8096
	leaq	.LC0(%rip), %r14
	movq	%r14, %rdi
	movq	%fs:40, %rax
	movq	%rax, 8040(%rsp)
	xorl	%eax, %eax
	leaq	12(%rsp), %rdx
	leaq	8(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	8(%rsp), %eax
	testl	%eax, %eax
	jle	.L2
	leaq	16(%rsp), %r12
	xorl	%ebx, %ebx
	leaq	4032(%rsp), %rbp
	movq	%r12, %r13
	.p2align 4,,10
	.p2align 3
.L3:
	leaq	0(%rbp,%rbx,4), %rdx
	movq	%r13, %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	8(%rsp), %eax
	addq	$1, %rbx
	addq	$4, %r13
	cmpl	%ebx, %eax
	jg	.L3
	pxor	%xmm1, %xmm1
	pxor	%xmm0, %xmm0
	movl	12(%rsp), %esi
	cvtsi2sdl	4032(%rsp), %xmm1
	cvtsi2sdl	16(%rsp), %xmm0
	divsd	%xmm0, %xmm1
	cmpl	$1, %eax
	jle	.L4
	movslq	%eax, %rdx
	movl	$1, %eax
	.p2align 4,,10
	.p2align 3
.L7:
	movl	(%r12,%rax,4), %ecx
	cmpl	%esi, %ecx
	jge	.L5
	pxor	%xmm0, %xmm0
	pxor	%xmm2, %xmm2
	cvtsi2sdl	0(%rbp,%rax,4), %xmm0
	cvtsi2sdl	%ecx, %xmm2
	divsd	%xmm2, %xmm0
	maxsd	%xmm1, %xmm0
	movapd	%xmm0, %xmm1
.L5:
	addq	$1, %rax
	cmpq	%rdx, %rax
	jne	.L7
.L4:
	pxor	%xmm0, %xmm0
	movl	$1, %edi
	movl	$1, %eax
	cvtsi2sdl	%esi, %xmm0
	leaq	.LC1(%rip), %rsi
	mulsd	%xmm1, %xmm0
	call	__printf_chk@PLT
	movq	8040(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L15
	addq	$8048, %rsp
	.cfi_remember_state
	.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
.L2:
	.cfi_restore_state
	pxor	%xmm1, %xmm1
	pxor	%xmm0, %xmm0
	movl	12(%rsp), %esi
	cvtsi2sdl	4032(%rsp), %xmm1
	cvtsi2sdl	16(%rsp), %xmm0
	divsd	%xmm0, %xmm1
	jmp	.L4
.L15:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.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>

int main(void)
{
    int N, t;
    int x[1001], h[1001];
    double max;
    double t2;
    int i;
    
    scanf("%d%d", &N, &t);
    for (i = 0; i < N; i++){
        scanf("%d%d", &x[i], &h[i]);
    }
    
    max = (double)h[0] / (double)x[0];
    for (i = 1; i < N; i++){
        if (t > x[i]){
            t2 = (double)h[i] / (double)x[i];
            if (max < t2){
                max = t2;
            }
        }
    }
    
    printf("%lf\n", max * t);
    
    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 N, t;
    int x[1001], h[1001];
    double max;
    double t2;
    int i;
    
    scanf("%d%d", &N, &t);
    for (i = 0; i < N; i++){
        scanf("%d%d", &x[i], &h[i]);
    }
    
    max = (double)h[0] / (double)x[0];
    for (i = 1; i < N; i++){
        if (t > x[i]){
            t2 = (double)h[i] / (double)x[i];
            if (max < t2){
                max = t2;
            }
        }
    }
    
    printf("%lf\n", max * t);
    
    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:

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>

int main(void)
{
    int N, t;
    int x[1001], h[1001];
    double max;
    double t2;
    int i;
    
    scanf("%d%d", &N, &t);
    for (i = 0; i < N; i++){
        scanf("%d%d", &x[i], &h[i]);
    }
    
    max = (double)h[0] / (double)x[0];
    for (i = 1; i < N; i++){
        if (t > x[i]){
            t2 = (double)h[i] / (double)x[i];
            if (max < t2){
                max = t2;
            }
        }
    }
    
    printf("%lf\n", max * t);
    
    return (0);
}

```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d%d"
.LC1:
	.string	"%lf\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.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
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	subq	$4096, %rsp
	.cfi_def_cfa_offset 4144
	orq	$0, (%rsp)
	subq	$3952, %rsp
	.cfi_def_cfa_offset 8096
	leaq	.LC0(%rip), %r14
	movq	%r14, %rdi
	movq	%fs:40, %rax
	movq	%rax, 8040(%rsp)
	xorl	%eax, %eax
	leaq	12(%rsp), %rdx
	leaq	8(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	8(%rsp), %eax
	testl	%eax, %eax
	jle	.L2
	leaq	16(%rsp), %r12
	xorl	%ebx, %ebx
	leaq	4032(%rsp), %rbp
	movq	%r12, %r13
	.p2align 4,,10
	.p2align 3
.L3:
	leaq	0(%rbp,%rbx,4), %rdx
	movq	%r13, %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	8(%rsp), %eax
	addq	$1, %rbx
	addq	$4, %r13
	cmpl	%ebx, %eax
	jg	.L3
	pxor	%xmm1, %xmm1
	pxor	%xmm0, %xmm0
	movl	12(%rsp), %esi
	cvtsi2sdl	4032(%rsp), %xmm1
	cvtsi2sdl	16(%rsp), %xmm0
	divsd	%xmm0, %xmm1
	cmpl	$1, %eax
	jle	.L4
	movslq	%eax, %rdx
	movl	$1, %eax
	.p2align 4,,10
	.p2align 3
.L7:
	movl	(%r12,%rax,4), %ecx
	cmpl	%esi, %ecx
	jge	.L5
	pxor	%xmm0, %xmm0
	pxor	%xmm2, %xmm2
	cvtsi2sdl	0(%rbp,%rax,4), %xmm0
	cvtsi2sdl	%ecx, %xmm2
	divsd	%xmm2, %xmm0
	maxsd	%xmm1, %xmm0
	movapd	%xmm0, %xmm1
.L5:
	addq	$1, %rax
	cmpq	%rdx, %rax
	jne	.L7
.L4:
	pxor	%xmm0, %xmm0
	movl	$1, %edi
	movl	$1, %eax
	cvtsi2sdl	%esi, %xmm0
	leaq	.LC1(%rip), %rsi
	mulsd	%xmm1, %xmm0
	call	__printf_chk@PLT
	movq	8040(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L15
	addq	$8048, %rsp
	.cfi_remember_state
	.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
.L2:
	.cfi_restore_state
	pxor	%xmm1, %xmm1
	pxor	%xmm0, %xmm0
	movl	12(%rsp), %esi
	cvtsi2sdl	4032(%rsp), %xmm1
	cvtsi2sdl	16(%rsp), %xmm0
	divsd	%xmm0, %xmm1
	jmp	.L4
.L15:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.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
.LC0:
	.string	"%d%d"
.LC1:
	.string	"%lf\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.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
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	subq	$4096, %rsp
	.cfi_def_cfa_offset 4144
	orq	$0, (%rsp)
	subq	$3952, %rsp
	.cfi_def_cfa_offset 8096
	leaq	.LC0(%rip), %r14
	movq	%r14, %rdi
	movq	%fs:40, %rax
	movq	%rax, 8040(%rsp)
	xorl	%eax, %eax
	leaq	12(%rsp), %rdx
	leaq	8(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	8(%rsp), %eax
	testl	%eax, %eax
	jle	.L2
	leaq	16(%rsp), %r12
	xorl	%ebx, %ebx
	leaq	4032(%rsp), %rbp
	movq	%r12, %r13
	.p2align 4,,10
	.p2align 3
.L3:
	leaq	0(%rbp,%rbx,4), %rdx
	movq	%r13, %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	8(%rsp), %eax
	addq	$1, %rbx
	addq	$4, %r13
	cmpl	%ebx, %eax
	jg	.L3
	pxor	%xmm1, %xmm1
	pxor	%xmm0, %xmm0
	movl	12(%rsp), %esi
	cvtsi2sdl	4032(%rsp), %xmm1
	cvtsi2sdl	16(%rsp), %xmm0
	divsd	%xmm0, %xmm1
	cmpl	$1, %eax
	jle	.L4
	movslq	%eax, %rdx
	movl	$1, %eax
	.p2align 4,,10
	.p2align 3
.L7:
	movl	(%r12,%rax,4), %ecx
	cmpl	%esi, %ecx
	jge	.L5
	pxor	%xmm0, %xmm0
	pxor	%xmm2, %xmm2
	cvtsi2sdl	0(%rbp,%rax,4), %xmm0
	cvtsi2sdl	%ecx, %xmm2
	divsd	%xmm2, %xmm0
	maxsd	%xmm1, %xmm0
	movapd	%xmm0, %xmm1
.L5:
	addq	$1, %rax
	cmpq	%rdx, %rax
	jne	.L7
.L4:
	pxor	%xmm0, %xmm0
	movl	$1, %edi
	movl	$1, %eax
	cvtsi2sdl	%esi, %xmm0
	leaq	.LC1(%rip), %rsi
	mulsd	%xmm1, %xmm0
	call	__printf_chk@PLT
	movq	8040(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L15
	addq	$8048, %rsp
	.cfi_remember_state
	.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
.L2:
	.cfi_restore_state
	pxor	%xmm1, %xmm1
	pxor	%xmm0, %xmm0
	movl	12(%rsp), %esi
	cvtsi2sdl	4032(%rsp), %xmm1
	cvtsi2sdl	16(%rsp), %xmm0
	divsd	%xmm0, %xmm1
	jmp	.L4
.L15:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.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:
```