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

```c
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <stdbool.h>
#include <math.h>

int main(void){

    int A, B, C, D, E, F;

    scanf("%d%d%d%d%d%d", &A, &B, &C, &D, &E, &F);

    double max = 0;
    int a = 100*A, b = 0;
    double limit;

    for(int i = 0; ; i++){
        if(100 * A * i > F){
            break;
        }
        for(int j = 0; ; j++){
            if(100 * A * i + 100 * B * j > F){
                break;
            }
            for(int k = 0; ; k++){
                if(100 * A * i + 100 * B * j + C * k > F){
                    break;
                }
                for(int l = 0; ; l++){
                    if(i != 0 || j != 0 || k != 0 || l != 0){
                        int x = 100 * A * i + 100 * B * j;
                        int y = C * k + D * l;
                        if(x + y > F){
                            break;
                        }else{
                            double n;
                            n = (double)(100*y) / (double)(x+y);
                            if(n > max && x * E >= 100 * y){
                                max = n;
                                a = x+y;
                                b = y;
                            }
                        }
                    }
                }
            }
        }
    }

    printf("%d %d\n", a, b);

    return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d%d%d%d%d%d"
.LC2:
	.string	"%d %d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$80, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-64(%rbp), %r8
	leaq	-68(%rbp), %rdi
	leaq	-72(%rbp), %rcx
	leaq	-76(%rbp), %rdx
	leaq	-80(%rbp), %rax
	subq	$8, %rsp
	leaq	-60(%rbp), %rsi
	pushq	%rsi
	movq	%r8, %r9
	movq	%rdi, %r8
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addq	$16, %rsp
	pxor	%xmm0, %xmm0
	movsd	%xmm0, -24(%rbp)
	movl	-80(%rbp), %eax
	imull	$100, %eax, %eax
	movl	%eax, -56(%rbp)
	movl	$0, -52(%rbp)
	movl	$0, -48(%rbp)
.L16:
	movl	-80(%rbp), %eax
	imull	-48(%rbp), %eax
	imull	$100, %eax, %edx
	movl	-60(%rbp), %eax
	cmpl	%eax, %edx
	jg	.L24
	movl	$0, -44(%rbp)
.L15:
	movl	-80(%rbp), %eax
	imull	-48(%rbp), %eax
	movl	%eax, %edx
	movl	-76(%rbp), %eax
	imull	-44(%rbp), %eax
	addl	%edx, %eax
	imull	$100, %eax, %edx
	movl	-60(%rbp), %eax
	cmpl	%eax, %edx
	jg	.L25
	movl	$0, -40(%rbp)
.L14:
	movl	-80(%rbp), %eax
	imull	-48(%rbp), %eax
	movl	%eax, %edx
	movl	-76(%rbp), %eax
	imull	-44(%rbp), %eax
	addl	%edx, %eax
	imull	$100, %eax, %edx
	movl	-72(%rbp), %eax
	imull	-40(%rbp), %eax
	addl	%eax, %edx
	movl	-60(%rbp), %eax
	cmpl	%eax, %edx
	jg	.L26
	movl	$0, -36(%rbp)
.L13:
	cmpl	$0, -48(%rbp)
	jne	.L8
	cmpl	$0, -44(%rbp)
	jne	.L8
	cmpl	$0, -40(%rbp)
	jne	.L8
	cmpl	$0, -36(%rbp)
	je	.L9
.L8:
	movl	-80(%rbp), %eax
	imull	-48(%rbp), %eax
	movl	%eax, %edx
	movl	-76(%rbp), %eax
	imull	-44(%rbp), %eax
	addl	%edx, %eax
	imull	$100, %eax, %eax
	movl	%eax, -32(%rbp)
	movl	-72(%rbp), %eax
	imull	-40(%rbp), %eax
	movl	%eax, %edx
	movl	-68(%rbp), %eax
	imull	-36(%rbp), %eax
	addl	%edx, %eax
	movl	%eax, -28(%rbp)
	movl	-32(%rbp), %edx
	movl	-28(%rbp), %eax
	addl	%eax, %edx
	movl	-60(%rbp), %eax
	cmpl	%eax, %edx
	jg	.L27
	movl	-28(%rbp), %eax
	imull	$100, %eax, %eax
	pxor	%xmm0, %xmm0
	cvtsi2sdl	%eax, %xmm0
	movl	-32(%rbp), %edx
	movl	-28(%rbp), %eax
	addl	%edx, %eax
	pxor	%xmm1, %xmm1
	cvtsi2sdl	%eax, %xmm1
	divsd	%xmm1, %xmm0
	movsd	%xmm0, -16(%rbp)
	movsd	-16(%rbp), %xmm0
	comisd	-24(%rbp), %xmm0
	jbe	.L9
	movl	-64(%rbp), %eax
	imull	-32(%rbp), %eax
	movl	%eax, %edx
	movl	-28(%rbp), %eax
	imull	$100, %eax, %eax
	cmpl	%eax, %edx
	jl	.L9
	movsd	-16(%rbp), %xmm0
	movsd	%xmm0, -24(%rbp)
	movl	-32(%rbp), %edx
	movl	-28(%rbp), %eax
	addl	%edx, %eax
	movl	%eax, -56(%rbp)
	movl	-28(%rbp), %eax
	movl	%eax, -52(%rbp)
.L9:
	addl	$1, -36(%rbp)
	jmp	.L13
.L27:
	nop
	addl	$1, -40(%rbp)
	jmp	.L14
.L26:
	nop
	addl	$1, -44(%rbp)
	jmp	.L15
.L25:
	nop
	addl	$1, -48(%rbp)
	jmp	.L16
.L24:
	nop
	movl	-52(%rbp), %edx
	movl	-56(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L18
	call	__stack_chk_fail@PLT
.L18:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.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.
user
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"%d%d%d%d%d%d"
.LC2:
	.string	"%d %d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB51:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	leaq	.LC1(%rip), %rdi
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$72, %rsp
	.cfi_def_cfa_offset 128
	movq	%fs:40, %rax
	movq	%rax, 56(%rsp)
	xorl	%eax, %eax
	leaq	40(%rsp), %rcx
	leaq	36(%rsp), %rdx
	leaq	32(%rsp), %rsi
	subq	$8, %rsp
	.cfi_def_cfa_offset 136
	leaq	60(%rsp), %rax
	pushq	%rax
	.cfi_def_cfa_offset 144
	xorl	%eax, %eax
	leaq	64(%rsp), %r9
	leaq	60(%rsp), %r8
	call	__isoc99_scanf@PLT
	movl	48(%rsp), %eax
	movl	68(%rsp), %r9d
	popq	%rdx
	.cfi_def_cfa_offset 136
	popq	%rcx
	.cfi_def_cfa_offset 128
	imull	$100, %eax, %r12d
	testl	%r9d, %r9d
	js	.L13
	movl	48(%rsp), %edx
	movl	%r12d, 24(%rsp)
	xorl	%r13d, %r13d
	pxor	%xmm2, %xmm2
	movl	$0, 20(%rsp)
	movl	40(%rsp), %r15d
	imull	%edx, %eax
	movl	$0, 16(%rsp)
	movl	44(%rsp), %esi
	movl	$0, 4(%rsp)
	imull	$100, %eax, %eax
	movl	%eax, 28(%rsp)
	movl	36(%rsp), %eax
	imull	$100, %eax, %ebx
	imull	%edx, %eax
	movl	%ebx, 8(%rsp)
	imull	$100, %eax, %eax
	movl	%eax, 12(%rsp)
.L16:
	movl	16(%rsp), %eax
	movl	20(%rsp), %r11d
	movl	$0, (%rsp)
	movl	%eax, %ebp
	cmpl	%eax, %r9d
	jl	.L4
.L15:
	movl	4(%rsp), %r14d
	xorl	%ebx, %ebx
	orl	(%rsp), %r14d
	xorl	%r10d, %r10d
	.p2align 4,,10
	.p2align 3
.L9:
	movl	%r14d, %r8d
	leal	(%r10,%rbp), %eax
	movl	%r10d, %ecx
	xorl	%edx, %edx
	orl	%ebx, %r8d
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L24:
	imull	$100, %ecx, %edi
	pxor	%xmm0, %xmm0
	pxor	%xmm1, %xmm1
	cvtsi2sdl	%eax, %xmm1
	cvtsi2sdl	%edi, %xmm0
	divsd	%xmm1, %xmm0
	comisd	%xmm2, %xmm0
	jbe	.L5
	cmpl	%r11d, %edi
	jg	.L5
	movl	%ecx, %r13d
	movl	%eax, %r12d
	movapd	%xmm0, %xmm2
	.p2align 4,,10
	.p2align 3
.L5:
	addl	$1, %edx
	addl	%esi, %eax
	addl	%esi, %ecx
.L8:
	movl	%edx, %edi
	orl	%r8d, %edi
	je	.L5
	cmpl	%eax, %r9d
	jge	.L24
	addl	%r15d, %r10d
	addl	$1, %ebx
	leal	(%r10,%rbp), %eax
	cmpl	%eax, %r9d
	jge	.L9
.L4:
	addl	8(%rsp), %ebp
	addl	$1, (%rsp)
	addl	12(%rsp), %r11d
	cmpl	%ebp, %r9d
	jge	.L15
	movl	24(%rsp), %ebx
	addl	%ebx, 16(%rsp)
	movl	16(%rsp), %eax
	movl	28(%rsp), %ecx
	addl	$1, 4(%rsp)
	addl	%ecx, 20(%rsp)
	cmpl	%eax, %r9d
	jge	.L16
.L2:
	xorl	%eax, %eax
	movl	%r13d, %ecx
	movl	%r12d, %edx
	movl	$1, %edi
	leaq	.LC2(%rip), %rsi
	call	__printf_chk@PLT
	movq	56(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L25
	addq	$72, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
.L13:
	.cfi_restore_state
	xorl	%r13d, %r13d
	jmp	.L2
.L25:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE51:
	.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
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"%d%d%d%d%d%d"
.LC2:
	.string	"%d %d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB51:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	leaq	.LC1(%rip), %rdi
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$72, %rsp
	.cfi_def_cfa_offset 128
	movq	%fs:40, %rax
	movq	%rax, 56(%rsp)
	xorl	%eax, %eax
	leaq	40(%rsp), %rcx
	leaq	36(%rsp), %rdx
	leaq	32(%rsp), %rsi
	subq	$8, %rsp
	.cfi_def_cfa_offset 136
	leaq	60(%rsp), %rax
	pushq	%rax
	.cfi_def_cfa_offset 144
	xorl	%eax, %eax
	leaq	64(%rsp), %r9
	leaq	60(%rsp), %r8
	call	__isoc99_scanf@PLT
	movl	48(%rsp), %eax
	movl	68(%rsp), %r9d
	popq	%rdx
	.cfi_def_cfa_offset 136
	popq	%rcx
	.cfi_def_cfa_offset 128
	imull	$100, %eax, %r12d
	testl	%r9d, %r9d
	js	.L13
	movl	48(%rsp), %edx
	movl	%r12d, 24(%rsp)
	xorl	%r13d, %r13d
	pxor	%xmm2, %xmm2
	movl	$0, 20(%rsp)
	movl	40(%rsp), %r15d
	imull	%edx, %eax
	movl	$0, 16(%rsp)
	movl	44(%rsp), %esi
	movl	$0, 4(%rsp)
	imull	$100, %eax, %eax
	movl	%eax, 28(%rsp)
	movl	36(%rsp), %eax
	imull	$100, %eax, %ebx
	imull	%edx, %eax
	movl	%ebx, 8(%rsp)
	imull	$100, %eax, %eax
	movl	%eax, 12(%rsp)
.L16:
	movl	16(%rsp), %eax
	movl	20(%rsp), %r11d
	movl	$0, (%rsp)
	movl	%eax, %ebp
	cmpl	%eax, %r9d
	jl	.L4
.L15:
	movl	4(%rsp), %r14d
	xorl	%ebx, %ebx
	orl	(%rsp), %r14d
	xorl	%r10d, %r10d
	.p2align 4,,10
	.p2align 3
.L9:
	movl	%r14d, %r8d
	leal	(%r10,%rbp), %eax
	movl	%r10d, %ecx
	xorl	%edx, %edx
	orl	%ebx, %r8d
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L24:
	imull	$100, %ecx, %edi
	pxor	%xmm0, %xmm0
	pxor	%xmm1, %xmm1
	cvtsi2sdl	%eax, %xmm1
	cvtsi2sdl	%edi, %xmm0
	divsd	%xmm1, %xmm0
	comisd	%xmm2, %xmm0
	jbe	.L5
	cmpl	%r11d, %edi
	jg	.L5
	movl	%ecx, %r13d
	movl	%eax, %r12d
	movapd	%xmm0, %xmm2
	.p2align 4,,10
	.p2align 3
.L5:
	addl	$1, %edx
	addl	%esi, %eax
	addl	%esi, %ecx
.L8:
	movl	%edx, %edi
	orl	%r8d, %edi
	je	.L5
	cmpl	%eax, %r9d
	jge	.L24
	addl	%r15d, %r10d
	addl	$1, %ebx
	leal	(%r10,%rbp), %eax
	cmpl	%eax, %r9d
	jge	.L9
.L4:
	addl	8(%rsp), %ebp
	addl	$1, (%rsp)
	addl	12(%rsp), %r11d
	cmpl	%ebp, %r9d
	jge	.L15
	movl	24(%rsp), %ebx
	addl	%ebx, 16(%rsp)
	movl	16(%rsp), %eax
	movl	28(%rsp), %ecx
	addl	$1, 4(%rsp)
	addl	%ecx, 20(%rsp)
	cmpl	%eax, %r9d
	jge	.L16
.L2:
	xorl	%eax, %eax
	movl	%r13d, %ecx
	movl	%r12d, %edx
	movl	$1, %edi
	leaq	.LC2(%rip), %rsi
	call	__printf_chk@PLT
	movq	56(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L25
	addq	$72, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
.L13:
	.cfi_restore_state
	xorl	%r13d, %r13d
	jmp	.L2
.L25:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE51:
	.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:

#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <stdbool.h>
#include <math.h>

int main(void){

    int A, B, C, D, E, F;

    scanf("%d%d%d%d%d%d", &A, &B, &C, &D, &E, &F);

    double max = 0;
    int a = 100*A, b = 0;
    double limit;

    for(int i = 0; ; i++){
        if(100 * A * i > F){
            break;
        }
        for(int j = 0; ; j++){
            if(100 * A * i + 100 * B * j > F){
                break;
            }
            for(int k = 0; ; k++){
                if(100 * A * i + 100 * B * j + C * k > F){
                    break;
                }
                for(int l = 0; ; l++){
                    if(i != 0 || j != 0 || k != 0 || l != 0){
                        int x = 100 * A * i + 100 * B * j;
                        int y = C * k + D * l;
                        if(x + y > F){
                            break;
                        }else{
                            double n;
                            n = (double)(100*y) / (double)(x+y);
                            if(n > max && x * E >= 100 * y){
                                max = n;
                                a = x+y;
                                b = y;
                            }
                        }
                    }
                }
            }
        }
    }

    printf("%d %d\n", a, b);

    return 0;
}
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 unoptimized assembly code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <stdbool.h>
#include <math.h>

int main(void){

    int A, B, C, D, E, F;

    scanf("%d%d%d%d%d%d", &A, &B, &C, &D, &E, &F);

    double max = 0;
    int a = 100*A, b = 0;
    double limit;

    for(int i = 0; ; i++){
        if(100 * A * i > F){
            break;
        }
        for(int j = 0; ; j++){
            if(100 * A * i + 100 * B * j > F){
                break;
            }
            for(int k = 0; ; k++){
                if(100 * A * i + 100 * B * j + C * k > F){
                    break;
                }
                for(int l = 0; ; l++){
                    if(i != 0 || j != 0 || k != 0 || l != 0){
                        int x = 100 * A * i + 100 * B * j;
                        int y = C * k + D * l;
                        if(x + y > F){
                            break;
                        }else{
                            double n;
                            n = (double)(100*y) / (double)(x+y);
                            if(n > max && x * E >= 100 * y){
                                max = n;
                                a = x+y;
                                b = y;
                            }
                        }
                    }
                }
            }
        }
    }

    printf("%d %d\n", a, b);

    return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d%d%d%d%d%d"
.LC2:
	.string	"%d %d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$80, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-64(%rbp), %r8
	leaq	-68(%rbp), %rdi
	leaq	-72(%rbp), %rcx
	leaq	-76(%rbp), %rdx
	leaq	-80(%rbp), %rax
	subq	$8, %rsp
	leaq	-60(%rbp), %rsi
	pushq	%rsi
	movq	%r8, %r9
	movq	%rdi, %r8
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addq	$16, %rsp
	pxor	%xmm0, %xmm0
	movsd	%xmm0, -24(%rbp)
	movl	-80(%rbp), %eax
	imull	$100, %eax, %eax
	movl	%eax, -56(%rbp)
	movl	$0, -52(%rbp)
	movl	$0, -48(%rbp)
.L16:
	movl	-80(%rbp), %eax
	imull	-48(%rbp), %eax
	imull	$100, %eax, %edx
	movl	-60(%rbp), %eax
	cmpl	%eax, %edx
	jg	.L24
	movl	$0, -44(%rbp)
.L15:
	movl	-80(%rbp), %eax
	imull	-48(%rbp), %eax
	movl	%eax, %edx
	movl	-76(%rbp), %eax
	imull	-44(%rbp), %eax
	addl	%edx, %eax
	imull	$100, %eax, %edx
	movl	-60(%rbp), %eax
	cmpl	%eax, %edx
	jg	.L25
	movl	$0, -40(%rbp)
.L14:
	movl	-80(%rbp), %eax
	imull	-48(%rbp), %eax
	movl	%eax, %edx
	movl	-76(%rbp), %eax
	imull	-44(%rbp), %eax
	addl	%edx, %eax
	imull	$100, %eax, %edx
	movl	-72(%rbp), %eax
	imull	-40(%rbp), %eax
	addl	%eax, %edx
	movl	-60(%rbp), %eax
	cmpl	%eax, %edx
	jg	.L26
	movl	$0, -36(%rbp)
.L13:
	cmpl	$0, -48(%rbp)
	jne	.L8
	cmpl	$0, -44(%rbp)
	jne	.L8
	cmpl	$0, -40(%rbp)
	jne	.L8
	cmpl	$0, -36(%rbp)
	je	.L9
.L8:
	movl	-80(%rbp), %eax
	imull	-48(%rbp), %eax
	movl	%eax, %edx
	movl	-76(%rbp), %eax
	imull	-44(%rbp), %eax
	addl	%edx, %eax
	imull	$100, %eax, %eax
	movl	%eax, -32(%rbp)
	movl	-72(%rbp), %eax
	imull	-40(%rbp), %eax
	movl	%eax, %edx
	movl	-68(%rbp), %eax
	imull	-36(%rbp), %eax
	addl	%edx, %eax
	movl	%eax, -28(%rbp)
	movl	-32(%rbp), %edx
	movl	-28(%rbp), %eax
	addl	%eax, %edx
	movl	-60(%rbp), %eax
	cmpl	%eax, %edx
	jg	.L27
	movl	-28(%rbp), %eax
	imull	$100, %eax, %eax
	pxor	%xmm0, %xmm0
	cvtsi2sdl	%eax, %xmm0
	movl	-32(%rbp), %edx
	movl	-28(%rbp), %eax
	addl	%edx, %eax
	pxor	%xmm1, %xmm1
	cvtsi2sdl	%eax, %xmm1
	divsd	%xmm1, %xmm0
	movsd	%xmm0, -16(%rbp)
	movsd	-16(%rbp), %xmm0
	comisd	-24(%rbp), %xmm0
	jbe	.L9
	movl	-64(%rbp), %eax
	imull	-32(%rbp), %eax
	movl	%eax, %edx
	movl	-28(%rbp), %eax
	imull	$100, %eax, %eax
	cmpl	%eax, %edx
	jl	.L9
	movsd	-16(%rbp), %xmm0
	movsd	%xmm0, -24(%rbp)
	movl	-32(%rbp), %edx
	movl	-28(%rbp), %eax
	addl	%edx, %eax
	movl	%eax, -56(%rbp)
	movl	-28(%rbp), %eax
	movl	%eax, -52(%rbp)
.L9:
	addl	$1, -36(%rbp)
	jmp	.L13
.L27:
	nop
	addl	$1, -40(%rbp)
	jmp	.L14
.L26:
	nop
	addl	$1, -44(%rbp)
	jmp	.L15
.L25:
	nop
	addl	$1, -48(%rbp)
	jmp	.L16
.L24:
	nop
	movl	-52(%rbp), %edx
	movl	-56(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L18
	call	__stack_chk_fail@PLT
.L18:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.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.
train
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d%d%d%d%d%d"
.LC2:
	.string	"%d %d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$80, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-64(%rbp), %r8
	leaq	-68(%rbp), %rdi
	leaq	-72(%rbp), %rcx
	leaq	-76(%rbp), %rdx
	leaq	-80(%rbp), %rax
	subq	$8, %rsp
	leaq	-60(%rbp), %rsi
	pushq	%rsi
	movq	%r8, %r9
	movq	%rdi, %r8
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addq	$16, %rsp
	pxor	%xmm0, %xmm0
	movsd	%xmm0, -24(%rbp)
	movl	-80(%rbp), %eax
	imull	$100, %eax, %eax
	movl	%eax, -56(%rbp)
	movl	$0, -52(%rbp)
	movl	$0, -48(%rbp)
.L16:
	movl	-80(%rbp), %eax
	imull	-48(%rbp), %eax
	imull	$100, %eax, %edx
	movl	-60(%rbp), %eax
	cmpl	%eax, %edx
	jg	.L24
	movl	$0, -44(%rbp)
.L15:
	movl	-80(%rbp), %eax
	imull	-48(%rbp), %eax
	movl	%eax, %edx
	movl	-76(%rbp), %eax
	imull	-44(%rbp), %eax
	addl	%edx, %eax
	imull	$100, %eax, %edx
	movl	-60(%rbp), %eax
	cmpl	%eax, %edx
	jg	.L25
	movl	$0, -40(%rbp)
.L14:
	movl	-80(%rbp), %eax
	imull	-48(%rbp), %eax
	movl	%eax, %edx
	movl	-76(%rbp), %eax
	imull	-44(%rbp), %eax
	addl	%edx, %eax
	imull	$100, %eax, %edx
	movl	-72(%rbp), %eax
	imull	-40(%rbp), %eax
	addl	%eax, %edx
	movl	-60(%rbp), %eax
	cmpl	%eax, %edx
	jg	.L26
	movl	$0, -36(%rbp)
.L13:
	cmpl	$0, -48(%rbp)
	jne	.L8
	cmpl	$0, -44(%rbp)
	jne	.L8
	cmpl	$0, -40(%rbp)
	jne	.L8
	cmpl	$0, -36(%rbp)
	je	.L9
.L8:
	movl	-80(%rbp), %eax
	imull	-48(%rbp), %eax
	movl	%eax, %edx
	movl	-76(%rbp), %eax
	imull	-44(%rbp), %eax
	addl	%edx, %eax
	imull	$100, %eax, %eax
	movl	%eax, -32(%rbp)
	movl	-72(%rbp), %eax
	imull	-40(%rbp), %eax
	movl	%eax, %edx
	movl	-68(%rbp), %eax
	imull	-36(%rbp), %eax
	addl	%edx, %eax
	movl	%eax, -28(%rbp)
	movl	-32(%rbp), %edx
	movl	-28(%rbp), %eax
	addl	%eax, %edx
	movl	-60(%rbp), %eax
	cmpl	%eax, %edx
	jg	.L27
	movl	-28(%rbp), %eax
	imull	$100, %eax, %eax
	pxor	%xmm0, %xmm0
	cvtsi2sdl	%eax, %xmm0
	movl	-32(%rbp), %edx
	movl	-28(%rbp), %eax
	addl	%edx, %eax
	pxor	%xmm1, %xmm1
	cvtsi2sdl	%eax, %xmm1
	divsd	%xmm1, %xmm0
	movsd	%xmm0, -16(%rbp)
	movsd	-16(%rbp), %xmm0
	comisd	-24(%rbp), %xmm0
	jbe	.L9
	movl	-64(%rbp), %eax
	imull	-32(%rbp), %eax
	movl	%eax, %edx
	movl	-28(%rbp), %eax
	imull	$100, %eax, %eax
	cmpl	%eax, %edx
	jl	.L9
	movsd	-16(%rbp), %xmm0
	movsd	%xmm0, -24(%rbp)
	movl	-32(%rbp), %edx
	movl	-28(%rbp), %eax
	addl	%edx, %eax
	movl	%eax, -56(%rbp)
	movl	-28(%rbp), %eax
	movl	%eax, -52(%rbp)
.L9:
	addl	$1, -36(%rbp)
	jmp	.L13
.L27:
	nop
	addl	$1, -40(%rbp)
	jmp	.L14
.L26:
	nop
	addl	$1, -44(%rbp)
	jmp	.L15
.L25:
	nop
	addl	$1, -48(%rbp)
	jmp	.L16
.L24:
	nop
	movl	-52(%rbp), %edx
	movl	-56(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L18
	call	__stack_chk_fail@PLT
.L18:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.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:
