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>

typedef struct data {
    int income, time;
    char name[25];
} data;

int comp(const void* a, const void* b)
{
    data x=*((data*)a), y=*((data*)b);
    int p=x.income*y.time, q=y.income*x.time;
    if (p==q) return strcmp(x.name, y.name);
    return p<q;
}

int main(void)
{
    int n;
    while (scanf("%d", &n), n) {
        data v[51];
        int i;
        for(i=0;i<n;++i) {
            char l[26];
            int p,a,b,c,d,e,f,s,m;
            int j, t=0;
            scanf("%s%d%d%d%d%d%d%d%d%d",l,&p,&a,&b,&c,&d,&e,&f,&s,&m);
            strcpy(v[i].name, l);
            v[i].time=(d+e)*m+a+b+c;
            v[i].income=f*s*m-p;
        }
        qsort(v, n, sizeof(data), comp);
        for(i=0;i<n;++i) puts(v[i].name);
        puts("#");
    }
    return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	comp
	.type	comp, @function
comp:
.LFB6:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	pushq	%rbx
	subq	$136, %rsp
	.cfi_offset 3, -24
	movq	%rdi, -136(%rbp)
	movq	%rsi, -144(%rbp)
	movq	%fs:40, %rax
	movq	%rax, -24(%rbp)
	xorl	%eax, %eax
	movq	-136(%rbp), %rax
	movq	(%rax), %rcx
	movq	8(%rax), %rbx
	movq	%rcx, -112(%rbp)
	movq	%rbx, -104(%rbp)
	movq	16(%rax), %rcx
	movq	24(%rax), %rbx
	movq	%rcx, -96(%rbp)
	movq	%rbx, -88(%rbp)
	movl	32(%rax), %eax
	movl	%eax, -80(%rbp)
	movq	-144(%rbp), %rax
	movq	(%rax), %rcx
	movq	8(%rax), %rbx
	movq	%rcx, -64(%rbp)
	movq	%rbx, -56(%rbp)
	movq	16(%rax), %rcx
	movq	24(%rax), %rbx
	movq	%rcx, -48(%rbp)
	movq	%rbx, -40(%rbp)
	movl	32(%rax), %eax
	movl	%eax, -32(%rbp)
	movl	-112(%rbp), %edx
	movl	-60(%rbp), %eax
	imull	%edx, %eax
	movl	%eax, -120(%rbp)
	movl	-64(%rbp), %edx
	movl	-108(%rbp), %eax
	imull	%edx, %eax
	movl	%eax, -116(%rbp)
	movl	-120(%rbp), %eax
	cmpl	-116(%rbp), %eax
	jne	.L2
	leaq	-64(%rbp), %rax
	leaq	8(%rax), %rdx
	leaq	-112(%rbp), %rax
	addq	$8, %rax
	movq	%rdx, %rsi
	movq	%rax, %rdi
	call	strcmp@PLT
	jmp	.L4
.L2:
	movl	-120(%rbp), %eax
	cmpl	-116(%rbp), %eax
	setl	%al
	movzbl	%al, %eax
.L4:
	movq	-24(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L5
	call	__stack_chk_fail@PLT
.L5:
	movq	-8(%rbp), %rbx
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	comp, .-comp
	.section	.rodata
.LC0:
	.string	"%s%d%d%d%d%d%d%d%d%d"
.LC1:
	.string	"#"
.LC2:
	.string	"%d"
	.text
	.globl	main
	.type	main, @function
main:
.LFB7:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$1936, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	jmp	.L7
.L12:
	movl	$0, -1896(%rbp)
	jmp	.L8
.L9:
	movl	$0, -1892(%rbp)
	leaq	-1920(%rbp), %r8
	leaq	-1924(%rbp), %rdi
	leaq	-1928(%rbp), %rcx
	leaq	-1932(%rbp), %rdx
	leaq	-48(%rbp), %rax
	subq	$8, %rsp
	leaq	-1900(%rbp), %rsi
	pushq	%rsi
	leaq	-1904(%rbp), %rsi
	pushq	%rsi
	leaq	-1908(%rbp), %rsi
	pushq	%rsi
	leaq	-1912(%rbp), %rsi
	pushq	%rsi
	leaq	-1916(%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	$48, %rsp
	leaq	-1888(%rbp), %rcx
	movl	-1896(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$3, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	leaq	8(%rax), %rdx
	leaq	-48(%rbp), %rax
	movq	%rax, %rsi
	movq	%rdx, %rdi
	call	strcpy@PLT
	movl	-1916(%rbp), %edx
	movl	-1912(%rbp), %eax
	addl	%eax, %edx
	movl	-1900(%rbp), %eax
	imull	%eax, %edx
	movl	-1928(%rbp), %eax
	addl	%eax, %edx
	movl	-1924(%rbp), %eax
	addl	%eax, %edx
	movl	-1920(%rbp), %eax
	leal	(%rdx,%rax), %ecx
	movl	-1896(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$3, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	subq	$1884, %rax
	movl	%ecx, (%rax)
	movl	-1908(%rbp), %edx
	movl	-1904(%rbp), %eax
	imull	%eax, %edx
	movl	-1900(%rbp), %eax
	imull	%edx, %eax
	movl	-1932(%rbp), %edx
	subl	%edx, %eax
	movl	%eax, %ecx
	movl	-1896(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$3, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	subq	$1888, %rax
	movl	%ecx, (%rax)
	addl	$1, -1896(%rbp)
.L8:
	movl	-1936(%rbp), %eax
	cmpl	%eax, -1896(%rbp)
	jl	.L9
	movl	-1936(%rbp), %eax
	movslq	%eax, %rsi
	leaq	-1888(%rbp), %rax
	leaq	comp(%rip), %rdx
	movq	%rdx, %rcx
	movl	$36, %edx
	movq	%rax, %rdi
	call	qsort@PLT
	movl	$0, -1896(%rbp)
	jmp	.L10
.L11:
	leaq	-1888(%rbp), %rcx
	movl	-1896(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$3, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	addq	$8, %rax
	movq	%rax, %rdi
	call	puts@PLT
	addl	$1, -1896(%rbp)
.L10:
	movl	-1936(%rbp), %eax
	cmpl	%eax, -1896(%rbp)
	jl	.L11
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
.L7:
	leaq	-1936(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-1936(%rbp), %eax
	testl	%eax, %eax
	jne	.L12
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L14
	call	__stack_chk_fail@PLT
.L14:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.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
	.p2align 4
	.globl	comp
	.type	comp, @function
comp:
.LFB51:
	.cfi_startproc
	endbr64
	subq	$104, %rsp
	.cfi_def_cfa_offset 112
	movdqu	(%rdi), %xmm0
	movdqu	(%rsi), %xmm2
	movq	%fs:40, %rax
	movq	%rax, 88(%rsp)
	xorl	%eax, %eax
	movl	32(%rdi), %eax
	movl	(%rdi), %edx
	movaps	%xmm2, 48(%rsp)
	imull	52(%rsp), %edx
	movdqu	16(%rdi), %xmm1
	movl	%eax, 32(%rsp)
	movl	32(%rsi), %eax
	movaps	%xmm0, (%rsp)
	movdqu	16(%rsi), %xmm3
	movl	%eax, 80(%rsp)
	movl	48(%rsp), %eax
	imull	4(%rsp), %eax
	movaps	%xmm1, 16(%rsp)
	movaps	%xmm3, 64(%rsp)
	cmpl	%eax, %edx
	je	.L7
	setl	%al
	movzbl	%al, %eax
.L1:
	movq	88(%rsp), %rdx
	subq	%fs:40, %rdx
	jne	.L8
	addq	$104, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	leaq	56(%rsp), %rsi
	leaq	8(%rsp), %rdi
	call	strcmp@PLT
	jmp	.L1
.L8:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE51:
	.size	comp, .-comp
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%s%d%d%d%d%d%d%d%d%d"
.LC1:
	.string	"#"
.LC2:
	.string	"%d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB52:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	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	$2008, %rsp
	.cfi_def_cfa_offset 2064
	movq	%fs:40, %rax
	movq	%rax, 1992(%rsp)
	xorl	%eax, %eax
	leaq	72(%rsp), %rax
	movq	%rax, 56(%rsp)
	leaq	88(%rsp), %rax
	movq	%rax, 48(%rsp)
	.p2align 4,,10
	.p2align 3
.L10:
	movq	56(%rsp), %rsi
	leaq	.LC2(%rip), %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movslq	72(%rsp), %rsi
	testl	%esi, %esi
	je	.L14
	jle	.L16
	leaq	108(%rsp), %rax
	leaq	84(%rsp), %rbp
	xorl	%r12d, %r12d
	movq	%rax, 40(%rsp)
	leaq	104(%rsp), %rax
	leaq	120(%rsp), %r15
	movq	%rax, 32(%rsp)
	leaq	100(%rsp), %rax
	leaq	80(%rsp), %r14
	movq	%rax, 24(%rsp)
	leaq	96(%rsp), %rax
	leaq	76(%rsp), %r13
	movq	%rax, 16(%rsp)
	leaq	92(%rsp), %rax
	leaq	1952(%rsp), %rbx
	movq	%rax, 8(%rsp)
	movq	%rbp, %rax
	movq	%r15, %rbp
	movq	%rax, %r15
	.p2align 4,,10
	.p2align 3
.L11:
	subq	$8, %rsp
	.cfi_def_cfa_offset 2072
	movq	%r15, %r8
	movq	%r14, %rcx
	movq	%r13, %rdx
	pushq	48(%rsp)
	.cfi_def_cfa_offset 2080
	movq	%rbx, %rsi
	leaq	.LC0(%rip), %rdi
	xorl	%eax, %eax
	pushq	48(%rsp)
	.cfi_def_cfa_offset 2088
	addl	$1, %r12d
	pushq	48(%rsp)
	.cfi_def_cfa_offset 2096
	pushq	48(%rsp)
	.cfi_def_cfa_offset 2104
	pushq	48(%rsp)
	.cfi_def_cfa_offset 2112
	movq	96(%rsp), %r9
	call	__isoc99_scanf@PLT
	addq	$48, %rsp
	.cfi_def_cfa_offset 2064
	movq	%rbx, %rsi
	movq	%rbp, %rdi
	movl	$25, %edx
	addq	$36, %rbp
	call	__strcpy_chk@PLT
	movl	100(%rsp), %eax
	imull	104(%rsp), %eax
	movl	108(%rsp), %edx
	movslq	72(%rsp), %rsi
	imull	%edx, %eax
	subl	76(%rsp), %eax
	movd	%eax, %xmm0
	movl	96(%rsp), %eax
	addl	92(%rsp), %eax
	imull	%edx, %eax
	addl	80(%rsp), %eax
	addl	84(%rsp), %eax
	addl	88(%rsp), %eax
	movd	%eax, %xmm1
	punpckldq	%xmm1, %xmm0
	movq	%xmm0, -44(%rbp)
	cmpl	%r12d, %esi
	jg	.L11
.L16:
	leaq	112(%rsp), %rdi
	leaq	comp(%rip), %rcx
	movl	$36, %edx
	call	qsort@PLT
	movl	72(%rsp), %eax
	testl	%eax, %eax
	jle	.L12
	leaq	120(%rsp), %rbp
	xorl	%ebx, %ebx
	.p2align 4,,10
	.p2align 3
.L13:
	movq	%rbp, %rdi
	addl	$1, %ebx
	addq	$36, %rbp
	call	puts@PLT
	cmpl	%ebx, 72(%rsp)
	jg	.L13
.L12:
	leaq	.LC1(%rip), %rdi
	call	puts@PLT
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L14:
	movq	1992(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L21
	addq	$2008, %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
.L21:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE52:
	.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
	.p2align 4
	.globl	comp
	.type	comp, @function
comp:
.LFB51:
	.cfi_startproc
	endbr64
	subq	$104, %rsp
	.cfi_def_cfa_offset 112
	movdqu	(%rdi), %xmm0
	movdqu	(%rsi), %xmm2
	movq	%fs:40, %rax
	movq	%rax, 88(%rsp)
	xorl	%eax, %eax
	movl	32(%rdi), %eax
	movl	(%rdi), %edx
	movaps	%xmm2, 48(%rsp)
	imull	52(%rsp), %edx
	movdqu	16(%rdi), %xmm1
	movl	%eax, 32(%rsp)
	movl	32(%rsi), %eax
	movaps	%xmm0, (%rsp)
	movdqu	16(%rsi), %xmm3
	movl	%eax, 80(%rsp)
	movl	48(%rsp), %eax
	imull	4(%rsp), %eax
	movaps	%xmm1, 16(%rsp)
	movaps	%xmm3, 64(%rsp)
	cmpl	%eax, %edx
	je	.L7
	setl	%al
	movzbl	%al, %eax
.L1:
	movq	88(%rsp), %rdx
	subq	%fs:40, %rdx
	jne	.L8
	addq	$104, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	leaq	56(%rsp), %rsi
	leaq	8(%rsp), %rdi
	call	strcmp@PLT
	jmp	.L1
.L8:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE51:
	.size	comp, .-comp
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%s%d%d%d%d%d%d%d%d%d"
.LC1:
	.string	"#"
.LC2:
	.string	"%d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB52:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	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	$2008, %rsp
	.cfi_def_cfa_offset 2064
	movq	%fs:40, %rax
	movq	%rax, 1992(%rsp)
	xorl	%eax, %eax
	leaq	72(%rsp), %rax
	movq	%rax, 56(%rsp)
	leaq	88(%rsp), %rax
	movq	%rax, 48(%rsp)
	.p2align 4,,10
	.p2align 3
.L10:
	movq	56(%rsp), %rsi
	leaq	.LC2(%rip), %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movslq	72(%rsp), %rsi
	testl	%esi, %esi
	je	.L14
	jle	.L16
	leaq	108(%rsp), %rax
	leaq	84(%rsp), %rbp
	xorl	%r12d, %r12d
	movq	%rax, 40(%rsp)
	leaq	104(%rsp), %rax
	leaq	120(%rsp), %r15
	movq	%rax, 32(%rsp)
	leaq	100(%rsp), %rax
	leaq	80(%rsp), %r14
	movq	%rax, 24(%rsp)
	leaq	96(%rsp), %rax
	leaq	76(%rsp), %r13
	movq	%rax, 16(%rsp)
	leaq	92(%rsp), %rax
	leaq	1952(%rsp), %rbx
	movq	%rax, 8(%rsp)
	movq	%rbp, %rax
	movq	%r15, %rbp
	movq	%rax, %r15
	.p2align 4,,10
	.p2align 3
.L11:
	subq	$8, %rsp
	.cfi_def_cfa_offset 2072
	movq	%r15, %r8
	movq	%r14, %rcx
	movq	%r13, %rdx
	pushq	48(%rsp)
	.cfi_def_cfa_offset 2080
	movq	%rbx, %rsi
	leaq	.LC0(%rip), %rdi
	xorl	%eax, %eax
	pushq	48(%rsp)
	.cfi_def_cfa_offset 2088
	addl	$1, %r12d
	pushq	48(%rsp)
	.cfi_def_cfa_offset 2096
	pushq	48(%rsp)
	.cfi_def_cfa_offset 2104
	pushq	48(%rsp)
	.cfi_def_cfa_offset 2112
	movq	96(%rsp), %r9
	call	__isoc99_scanf@PLT
	addq	$48, %rsp
	.cfi_def_cfa_offset 2064
	movq	%rbx, %rsi
	movq	%rbp, %rdi
	movl	$25, %edx
	addq	$36, %rbp
	call	__strcpy_chk@PLT
	movl	100(%rsp), %eax
	imull	104(%rsp), %eax
	movl	108(%rsp), %edx
	movslq	72(%rsp), %rsi
	imull	%edx, %eax
	subl	76(%rsp), %eax
	movd	%eax, %xmm0
	movl	96(%rsp), %eax
	addl	92(%rsp), %eax
	imull	%edx, %eax
	addl	80(%rsp), %eax
	addl	84(%rsp), %eax
	addl	88(%rsp), %eax
	movd	%eax, %xmm1
	punpckldq	%xmm1, %xmm0
	movq	%xmm0, -44(%rbp)
	cmpl	%r12d, %esi
	jg	.L11
.L16:
	leaq	112(%rsp), %rdi
	leaq	comp(%rip), %rcx
	movl	$36, %edx
	call	qsort@PLT
	movl	72(%rsp), %eax
	testl	%eax, %eax
	jle	.L12
	leaq	120(%rsp), %rbp
	xorl	%ebx, %ebx
	.p2align 4,,10
	.p2align 3
.L13:
	movq	%rbp, %rdi
	addl	$1, %ebx
	addq	$36, %rbp
	call	puts@PLT
	cmpl	%ebx, 72(%rsp)
	jg	.L13
.L12:
	leaq	.LC1(%rip), %rdi
	call	puts@PLT
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L14:
	movq	1992(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L21
	addq	$2008, %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
.L21:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE52:
	.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>

typedef struct data {
    int income, time;
    char name[25];
} data;

int comp(const void* a, const void* b)
{
    data x=*((data*)a), y=*((data*)b);
    int p=x.income*y.time, q=y.income*x.time;
    if (p==q) return strcmp(x.name, y.name);
    return p<q;
}

int main(void)
{
    int n;
    while (scanf("%d", &n), n) {
        data v[51];
        int i;
        for(i=0;i<n;++i) {
            char l[26];
            int p,a,b,c,d,e,f,s,m;
            int j, t=0;
            scanf("%s%d%d%d%d%d%d%d%d%d",l,&p,&a,&b,&c,&d,&e,&f,&s,&m);
            strcpy(v[i].name, l);
            v[i].time=(d+e)*m+a+b+c;
            v[i].income=f*s*m-p;
        }
        qsort(v, n, sizeof(data), comp);
        for(i=0;i<n;++i) puts(v[i].name);
        puts("#");
    }
    return 0;
}
5
apple 1 1 1 1 1 1 1 10 1
banana 1 2 2 2 2 2 1 10 1
carrot 1 2 2 2 2 2 1 10 2
durian 1 3 0 3 3 3 1 10 1
eggplant 1 3 3 3 3 3 1 100 1
4
enoki 1 3 3 3 3 3 1 10 1
tomato 1 3 3 3 3 3 1 10 1
potato 1 3 3 3 3 3 1 10 1
onion 1 3 3 3 3 3 1 10 1
3
a 10 1 1 1 1 1 1 10 1
b 10 2 2 2 2 2 2 10 1
c 10 2 2 2 2 2 2 10 1
0
 5
apple 1 1 1 1 1 1 1 10 1
banana 1 2 2 2 2 2 1 10 1
carrot 1 2 2 2 2 2 1 10 2
durian 1 3 0 3 3 3 1 10 1
eggplant 1 3 3 3 3 3 1 100 1
4
enoki 1 3 3 3 3 3 1 10 1
tomato 1 3 3 3 1 3 1 10 1
potato 1 3 3 3 3 3 1 10 1
onion 1 3 3 3 3 3 1 10 1
3
a 10 1 1 1 1 1 1 10 1
b 10 2 2 2 2 2 2 10 1
c 10 2 2 2 2 2 2 10 1
0
 5
apple 1 1 1 1 1 1 1 10 1
banana 1 2 2 2 2 2 1 10 1
carrot 1 2 2 2 2 2 1 10 2
durian 1 3 0 3 3 3 1 10 1
eggplant 1 3 3 4 3 3 1 100 1
4
enoki 1 3 3 3 3 3 1 10 1
tomato 1 3 3 3 1 3 1 10 1
potato 1 3 3 3 3 3 1 10 1
onion 2 3 3 3 3 3 1 10 1
3
a 10 1 1 1 1 1 1 5 1
b 10 2 2 2 2 2 2 10 1
c 10 2 2 2 2 2 2 10 1
0
 5
apple 1 1 1 1 1 1 1 10 1
banana 1 2 2 2 2 2 1 10 1
carrot 0 2 2 2 2 2 1 10 2
durian 1 3 0 3 3 3 1 10 1
eggplant 1 3 3 4 3 3 1 100 1
4
enoki 1 3 3 3 3 3 1 10 1
tomato 1 1 3 3 1 3 1 10 1
potato 1 3 3 3 3 0 1 10 1
onion 2 3 6 3 3 3 1 10 1
3
a 10 1 1 1 1 1 1 5 1
b 10 2 2 2 2 2 2 10 1
c 10 2 2 2 2 2 2 10 1
0
 5
apple 1 1 1 1 1 1 1 10 1
banana 1 2 2 2 2 2 1 10 1
carrot 1 2 2 2 2 2 1 10 2
durian 1 3 0 3 3 0 1 10 1
eggplant 1 3 3 4 3 3 1 100 1
4
enoki 1 3 3 3 3 3 1 10 1
tomato 1 3 3 3 1 3 1 10 1
potato 1 3 3 3 3 3 1 10 1
onion 2 3 3 3 3 3 1 10 1
3
a 10 1 1 1 1 1 1 5 1
b 10 2 2 2 2 2 2 10 1
c 10 2 2 2 2 2 2 10 1
0
 5
apple 1 1 1 1 1 1 1 10 1
banana 1 2 2 2 2 2 1 10 1
carrot 0 2 2 2 0 2 1 10 2
durian 1 3 0 3 3 3 1 10 1
eggplant 1 3 3 4 3 3 1 100 1
4
enoki 1 3 3 3 3 3 1 10 1
tomato 1 1 3 3 1 3 1 10 1
potato 1 3 3 3 3 3 1 10 1
onion 2 3 3 3 3 3 1 10 1
3
a 10 1 1 1 1 1 1 5 1
b 10 2 2 2 2 2 2 10 1
c 10 2 2 2 2 2 2 10 1
0
 5
apple 1 1 1 1 1 1 1 10 1
banana 1 2 2 2 2 2 1 10 1
carrot 1 2 2 2 2 2 1 10 2
eurian 1 3 0 3 3 3 1 10 1
eggplant 1 3 3 4 3 3 1 100 1
4
enoki 0 3 3 3 3 3 1 10 1
tomato 1 3 3 3 1 3 1 10 1
potato 1 3 3 3 3 3 1 10 1
onion 1 3 3 3 3 3 1 10 1
3
a 10 1 1 1 1 1 1 10 1
b 10 2 2 2 2 2 2 10 1
c 10 2 2 2 2 2 2 10 1
0
 5
apple 1 1 1 1 1 1 1 10 1
banana 1 2 2 2 2 2 1 10 1
carrot 0 2 2 2 2 2 1 10 2
durian 1 3 0 3 3 3 1 10 1
eggplant 1 3 3 4 3 3 1 100 1
4
enoki 1 3 3 3 3 3 1 10 1
tomato 1 1 3 3 1 3 1 10 1
potato 1 3 3 3 3 0 1 10 1
onion 3 3 6 3 3 3 1 10 1
3
a 10 1 1 1 1 1 1 5 1
b 10 2 2 2 2 2 2 10 1
c 10 0 2 2 2 2 2 10 1
0
 5
apple 1 1 1 1 1 1 1 10 1
banana 1 2 2 2 2 2 1 10 1
carrot 0 2 2 2 2 2 1 10 2
durian 1 3 0 3 3 3 1 10 1
eggplant 1 3 3 4 3 3 1 100 1
4
enoki 1 3 3 3 3 3 1 10 1
tomato 1 1 3 3 1 3 1 10 1
potato 1 3 3 3 3 0 1 10 1
onion 3 3 6 3 3 3 1 10 1
3
a 10 1 1 1 1 1 1 5 1
b 10 2 2 2 2 2 2 10 1
c 10 0 2 2 2 2 2 0 1
0
 5
apple 1 1 1 1 1 1 1 10 1
banana 1 3 2 2 2 2 1 10 1
carrot 1 2 2 2 2 2 1 10 2
eurian 1 3 0 3 3 3 1 10 1
eggplant 1 3 3 4 3 3 1 100 1
4
enoki 0 3 3 3 3 3 1 10 1
tomato 1 3 3 3 1 3 1 10 1
potato 1 3 3 3 3 3 1 10 1
onion 1 3 3 3 3 3 1 10 1
3
a 10 1 1 1 1 1 1 10 1
b 10 2 3 2 2 2 2 10 1
c 10 2 2 2 2 2 2 10 1
0

eggplant
apple
carrot
banana
durian
#
enoki
onion
potato
tomato
#
b
c
a
#
 eggplant
apple
carrot
banana
durian
#
tomato
enoki
onion
potato
#
b
c
a
#
 eggplant
apple
carrot
banana
durian
#
tomato
enoki
potato
onion
#
b
c
a
#
 eggplant
apple
carrot
banana
durian
#
tomato
potato
enoki
onion
#
b
c
a
#
 eggplant
apple
carrot
durian
banana
#
tomato
enoki
potato
onion
#
b
c
a
#
 eggplant
carrot
apple
banana
durian
#
tomato
enoki
potato
onion
#
b
c
a
#
 eggplant
apple
carrot
banana
eurian
#
tomato
enoki
onion
potato
#
b
c
a
#
 eggplant
apple
carrot
banana
durian
#
tomato
potato
enoki
onion
#
c
b
a
#
 eggplant
apple
carrot
banana
durian
#
tomato
potato
enoki
onion
#
b
a
c
#
 eggplant
apple
carrot
banana
eurian
#
tomato
enoki
onion
potato
#
c
b
a
#

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>

typedef struct data {
    int income, time;
    char name[25];
} data;

int comp(const void* a, const void* b)
{
    data x=*((data*)a), y=*((data*)b);
    int p=x.income*y.time, q=y.income*x.time;
    if (p==q) return strcmp(x.name, y.name);
    return p<q;
}

int main(void)
{
    int n;
    while (scanf("%d", &n), n) {
        data v[51];
        int i;
        for(i=0;i<n;++i) {
            char l[26];
            int p,a,b,c,d,e,f,s,m;
            int j, t=0;
            scanf("%s%d%d%d%d%d%d%d%d%d",l,&p,&a,&b,&c,&d,&e,&f,&s,&m);
            strcpy(v[i].name, l);
            v[i].time=(d+e)*m+a+b+c;
            v[i].income=f*s*m-p;
        }
        qsort(v, n, sizeof(data), comp);
        for(i=0;i<n;++i) puts(v[i].name);
        puts("#");
    }
    return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	comp
	.type	comp, @function
comp:
.LFB6:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	pushq	%rbx
	subq	$136, %rsp
	.cfi_offset 3, -24
	movq	%rdi, -136(%rbp)
	movq	%rsi, -144(%rbp)
	movq	%fs:40, %rax
	movq	%rax, -24(%rbp)
	xorl	%eax, %eax
	movq	-136(%rbp), %rax
	movq	(%rax), %rcx
	movq	8(%rax), %rbx
	movq	%rcx, -112(%rbp)
	movq	%rbx, -104(%rbp)
	movq	16(%rax), %rcx
	movq	24(%rax), %rbx
	movq	%rcx, -96(%rbp)
	movq	%rbx, -88(%rbp)
	movl	32(%rax), %eax
	movl	%eax, -80(%rbp)
	movq	-144(%rbp), %rax
	movq	(%rax), %rcx
	movq	8(%rax), %rbx
	movq	%rcx, -64(%rbp)
	movq	%rbx, -56(%rbp)
	movq	16(%rax), %rcx
	movq	24(%rax), %rbx
	movq	%rcx, -48(%rbp)
	movq	%rbx, -40(%rbp)
	movl	32(%rax), %eax
	movl	%eax, -32(%rbp)
	movl	-112(%rbp), %edx
	movl	-60(%rbp), %eax
	imull	%edx, %eax
	movl	%eax, -120(%rbp)
	movl	-64(%rbp), %edx
	movl	-108(%rbp), %eax
	imull	%edx, %eax
	movl	%eax, -116(%rbp)
	movl	-120(%rbp), %eax
	cmpl	-116(%rbp), %eax
	jne	.L2
	leaq	-64(%rbp), %rax
	leaq	8(%rax), %rdx
	leaq	-112(%rbp), %rax
	addq	$8, %rax
	movq	%rdx, %rsi
	movq	%rax, %rdi
	call	strcmp@PLT
	jmp	.L4
.L2:
	movl	-120(%rbp), %eax
	cmpl	-116(%rbp), %eax
	setl	%al
	movzbl	%al, %eax
.L4:
	movq	-24(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L5
	call	__stack_chk_fail@PLT
.L5:
	movq	-8(%rbp), %rbx
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	comp, .-comp
	.section	.rodata
.LC0:
	.string	"%s%d%d%d%d%d%d%d%d%d"
.LC1:
	.string	"#"
.LC2:
	.string	"%d"
	.text
	.globl	main
	.type	main, @function
main:
.LFB7:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$1936, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	jmp	.L7
.L12:
	movl	$0, -1896(%rbp)
	jmp	.L8
.L9:
	movl	$0, -1892(%rbp)
	leaq	-1920(%rbp), %r8
	leaq	-1924(%rbp), %rdi
	leaq	-1928(%rbp), %rcx
	leaq	-1932(%rbp), %rdx
	leaq	-48(%rbp), %rax
	subq	$8, %rsp
	leaq	-1900(%rbp), %rsi
	pushq	%rsi
	leaq	-1904(%rbp), %rsi
	pushq	%rsi
	leaq	-1908(%rbp), %rsi
	pushq	%rsi
	leaq	-1912(%rbp), %rsi
	pushq	%rsi
	leaq	-1916(%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	$48, %rsp
	leaq	-1888(%rbp), %rcx
	movl	-1896(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$3, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	leaq	8(%rax), %rdx
	leaq	-48(%rbp), %rax
	movq	%rax, %rsi
	movq	%rdx, %rdi
	call	strcpy@PLT
	movl	-1916(%rbp), %edx
	movl	-1912(%rbp), %eax
	addl	%eax, %edx
	movl	-1900(%rbp), %eax
	imull	%eax, %edx
	movl	-1928(%rbp), %eax
	addl	%eax, %edx
	movl	-1924(%rbp), %eax
	addl	%eax, %edx
	movl	-1920(%rbp), %eax
	leal	(%rdx,%rax), %ecx
	movl	-1896(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$3, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	subq	$1884, %rax
	movl	%ecx, (%rax)
	movl	-1908(%rbp), %edx
	movl	-1904(%rbp), %eax
	imull	%eax, %edx
	movl	-1900(%rbp), %eax
	imull	%edx, %eax
	movl	-1932(%rbp), %edx
	subl	%edx, %eax
	movl	%eax, %ecx
	movl	-1896(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$3, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	subq	$1888, %rax
	movl	%ecx, (%rax)
	addl	$1, -1896(%rbp)
.L8:
	movl	-1936(%rbp), %eax
	cmpl	%eax, -1896(%rbp)
	jl	.L9
	movl	-1936(%rbp), %eax
	movslq	%eax, %rsi
	leaq	-1888(%rbp), %rax
	leaq	comp(%rip), %rdx
	movq	%rdx, %rcx
	movl	$36, %edx
	movq	%rax, %rdi
	call	qsort@PLT
	movl	$0, -1896(%rbp)
	jmp	.L10
.L11:
	leaq	-1888(%rbp), %rcx
	movl	-1896(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$3, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	addq	$8, %rax
	movq	%rax, %rdi
	call	puts@PLT
	addl	$1, -1896(%rbp)
.L10:
	movl	-1936(%rbp), %eax
	cmpl	%eax, -1896(%rbp)
	jl	.L11
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
.L7:
	leaq	-1936(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-1936(%rbp), %eax
	testl	%eax, %eax
	jne	.L12
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L14
	call	__stack_chk_fail@PLT
.L14:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.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
	.globl	comp
	.type	comp, @function
comp:
.LFB6:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	pushq	%rbx
	subq	$136, %rsp
	.cfi_offset 3, -24
	movq	%rdi, -136(%rbp)
	movq	%rsi, -144(%rbp)
	movq	%fs:40, %rax
	movq	%rax, -24(%rbp)
	xorl	%eax, %eax
	movq	-136(%rbp), %rax
	movq	(%rax), %rcx
	movq	8(%rax), %rbx
	movq	%rcx, -112(%rbp)
	movq	%rbx, -104(%rbp)
	movq	16(%rax), %rcx
	movq	24(%rax), %rbx
	movq	%rcx, -96(%rbp)
	movq	%rbx, -88(%rbp)
	movl	32(%rax), %eax
	movl	%eax, -80(%rbp)
	movq	-144(%rbp), %rax
	movq	(%rax), %rcx
	movq	8(%rax), %rbx
	movq	%rcx, -64(%rbp)
	movq	%rbx, -56(%rbp)
	movq	16(%rax), %rcx
	movq	24(%rax), %rbx
	movq	%rcx, -48(%rbp)
	movq	%rbx, -40(%rbp)
	movl	32(%rax), %eax
	movl	%eax, -32(%rbp)
	movl	-112(%rbp), %edx
	movl	-60(%rbp), %eax
	imull	%edx, %eax
	movl	%eax, -120(%rbp)
	movl	-64(%rbp), %edx
	movl	-108(%rbp), %eax
	imull	%edx, %eax
	movl	%eax, -116(%rbp)
	movl	-120(%rbp), %eax
	cmpl	-116(%rbp), %eax
	jne	.L2
	leaq	-64(%rbp), %rax
	leaq	8(%rax), %rdx
	leaq	-112(%rbp), %rax
	addq	$8, %rax
	movq	%rdx, %rsi
	movq	%rax, %rdi
	call	strcmp@PLT
	jmp	.L4
.L2:
	movl	-120(%rbp), %eax
	cmpl	-116(%rbp), %eax
	setl	%al
	movzbl	%al, %eax
.L4:
	movq	-24(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L5
	call	__stack_chk_fail@PLT
.L5:
	movq	-8(%rbp), %rbx
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	comp, .-comp
	.section	.rodata
.LC0:
	.string	"%s%d%d%d%d%d%d%d%d%d"
.LC1:
	.string	"#"
.LC2:
	.string	"%d"
	.text
	.globl	main
	.type	main, @function
main:
.LFB7:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$1936, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	jmp	.L7
.L12:
	movl	$0, -1896(%rbp)
	jmp	.L8
.L9:
	movl	$0, -1892(%rbp)
	leaq	-1920(%rbp), %r8
	leaq	-1924(%rbp), %rdi
	leaq	-1928(%rbp), %rcx
	leaq	-1932(%rbp), %rdx
	leaq	-48(%rbp), %rax
	subq	$8, %rsp
	leaq	-1900(%rbp), %rsi
	pushq	%rsi
	leaq	-1904(%rbp), %rsi
	pushq	%rsi
	leaq	-1908(%rbp), %rsi
	pushq	%rsi
	leaq	-1912(%rbp), %rsi
	pushq	%rsi
	leaq	-1916(%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	$48, %rsp
	leaq	-1888(%rbp), %rcx
	movl	-1896(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$3, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	leaq	8(%rax), %rdx
	leaq	-48(%rbp), %rax
	movq	%rax, %rsi
	movq	%rdx, %rdi
	call	strcpy@PLT
	movl	-1916(%rbp), %edx
	movl	-1912(%rbp), %eax
	addl	%eax, %edx
	movl	-1900(%rbp), %eax
	imull	%eax, %edx
	movl	-1928(%rbp), %eax
	addl	%eax, %edx
	movl	-1924(%rbp), %eax
	addl	%eax, %edx
	movl	-1920(%rbp), %eax
	leal	(%rdx,%rax), %ecx
	movl	-1896(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$3, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	subq	$1884, %rax
	movl	%ecx, (%rax)
	movl	-1908(%rbp), %edx
	movl	-1904(%rbp), %eax
	imull	%eax, %edx
	movl	-1900(%rbp), %eax
	imull	%edx, %eax
	movl	-1932(%rbp), %edx
	subl	%edx, %eax
	movl	%eax, %ecx
	movl	-1896(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$3, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	subq	$1888, %rax
	movl	%ecx, (%rax)
	addl	$1, -1896(%rbp)
.L8:
	movl	-1936(%rbp), %eax
	cmpl	%eax, -1896(%rbp)
	jl	.L9
	movl	-1936(%rbp), %eax
	movslq	%eax, %rsi
	leaq	-1888(%rbp), %rax
	leaq	comp(%rip), %rdx
	movq	%rdx, %rcx
	movl	$36, %edx
	movq	%rax, %rdi
	call	qsort@PLT
	movl	$0, -1896(%rbp)
	jmp	.L10
.L11:
	leaq	-1888(%rbp), %rcx
	movl	-1896(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$3, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	addq	$8, %rax
	movq	%rax, %rdi
	call	puts@PLT
	addl	$1, -1896(%rbp)
.L10:
	movl	-1936(%rbp), %eax
	cmpl	%eax, -1896(%rbp)
	jl	.L11
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
.L7:
	leaq	-1936(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-1936(%rbp), %eax
	testl	%eax, %eax
	jne	.L12
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L14
	call	__stack_chk_fail@PLT
.L14:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.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:
