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>

typedef struct {
	char L[21];
	double efficient;
} CROP;

CROP crop[50];

int main(void)
{
	int N;
	int P, A, B, C, D, E, F, S, M;
	int i, j;
	int days, income;
	CROP t;
	
	while (1){
		scanf("%d", &N);
		if (N == 0){
			break;
		}
		
		
		for (i = 0; i < N; i++){
			scanf("%s", crop[i].L);
			
			scanf("%d%d%d%d%d%d%d%d%d", &P, &A, &B, &C, &D, &E, &F, &S, &M);
			
			days = A + B + C + (D + E) * M;
			income = M * F * S - P;
			
			crop[i].efficient = (double)income / days;
		}
		
		for (i = 0; i < N; i++){
			for (j = 0; j < N - 1; j++){
				if (crop[j].efficient < crop[j + 1].efficient){
					t = crop[j];
					crop[j] = crop[j + 1];
					crop[j + 1] = t;
				}
				else if (crop[j].efficient == crop[j + 1].efficient &&
				         strcmp(crop[j].L, crop[j + 1].L) > 0){
					t = crop[j];
					crop[j] = crop[j + 1];
					crop[j + 1] = t;
				}
			}
		}
		
		for (i = 0; i < N; i++){
			printf("%s\n", crop[i].L);
		}
		printf("#\n");
	}
	
	return (0);
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	crop
	.bss
	.align 32
	.type	crop, @object
	.size	crop, 1600
crop:
	.zero	1600
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"%s"
.LC2:
	.string	"%d%d%d%d%d%d%d%d%d"
.LC3:
	.string	"#"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$112, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
.L16:
	leaq	-104(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-104(%rbp), %eax
	testl	%eax, %eax
	je	.L23
	movl	$0, -64(%rbp)
	jmp	.L4
.L5:
	movl	-64(%rbp), %eax
	cltq
	salq	$5, %rax
	movq	%rax, %rdx
	leaq	crop(%rip), %rax
	addq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	leaq	-84(%rbp), %r8
	leaq	-88(%rbp), %rdi
	leaq	-92(%rbp), %rcx
	leaq	-96(%rbp), %rdx
	leaq	-100(%rbp), %rax
	leaq	-68(%rbp), %rsi
	pushq	%rsi
	leaq	-72(%rbp), %rsi
	pushq	%rsi
	leaq	-76(%rbp), %rsi
	pushq	%rsi
	leaq	-80(%rbp), %rsi
	pushq	%rsi
	movq	%r8, %r9
	movq	%rdi, %r8
	movq	%rax, %rsi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addq	$32, %rsp
	movl	-96(%rbp), %edx
	movl	-92(%rbp), %eax
	addl	%eax, %edx
	movl	-88(%rbp), %eax
	leal	(%rdx,%rax), %ecx
	movl	-84(%rbp), %edx
	movl	-80(%rbp), %eax
	addl	%eax, %edx
	movl	-68(%rbp), %eax
	imull	%edx, %eax
	addl	%ecx, %eax
	movl	%eax, -56(%rbp)
	movl	-68(%rbp), %edx
	movl	-76(%rbp), %eax
	imull	%eax, %edx
	movl	-72(%rbp), %eax
	imull	%edx, %eax
	movl	-100(%rbp), %edx
	subl	%edx, %eax
	movl	%eax, -52(%rbp)
	pxor	%xmm0, %xmm0
	cvtsi2sdl	-52(%rbp), %xmm0
	pxor	%xmm1, %xmm1
	cvtsi2sdl	-56(%rbp), %xmm1
	divsd	%xmm1, %xmm0
	movl	-64(%rbp), %eax
	cltq
	salq	$5, %rax
	movq	%rax, %rdx
	leaq	24+crop(%rip), %rax
	movsd	%xmm0, (%rdx,%rax)
	addl	$1, -64(%rbp)
.L4:
	movl	-104(%rbp), %eax
	cmpl	%eax, -64(%rbp)
	jl	.L5
	movl	$0, -64(%rbp)
	jmp	.L6
.L13:
	movl	$0, -60(%rbp)
	jmp	.L7
.L12:
	movl	-60(%rbp), %eax
	cltq
	salq	$5, %rax
	movq	%rax, %rdx
	leaq	24+crop(%rip), %rax
	movsd	(%rdx,%rax), %xmm1
	movl	-60(%rbp), %eax
	addl	$1, %eax
	cltq
	salq	$5, %rax
	movq	%rax, %rdx
	leaq	24+crop(%rip), %rax
	movsd	(%rdx,%rax), %xmm0
	comisd	%xmm1, %xmm0
	jbe	.L22
	movl	-60(%rbp), %eax
	cltq
	salq	$5, %rax
	movq	%rax, %rsi
	leaq	crop(%rip), %rcx
	movq	(%rsi,%rcx), %rax
	movq	8(%rsi,%rcx), %rdx
	movq	%rax, -48(%rbp)
	movq	%rdx, -40(%rbp)
	movq	16(%rsi,%rcx), %rax
	movq	24(%rsi,%rcx), %rdx
	movq	%rax, -32(%rbp)
	movq	%rdx, -24(%rbp)
	movl	-60(%rbp), %eax
	leal	1(%rax), %edx
	movl	-60(%rbp), %eax
	cltq
	salq	$5, %rax
	movq	%rax, %rsi
	leaq	crop(%rip), %rcx
	movslq	%edx, %rax
	salq	$5, %rax
	movq	%rax, %r8
	leaq	crop(%rip), %rdi
	movq	(%r8,%rdi), %rax
	movq	8(%r8,%rdi), %rdx
	movq	%rax, (%rsi,%rcx)
	movq	%rdx, 8(%rsi,%rcx)
	movq	16(%r8,%rdi), %rax
	movq	24(%r8,%rdi), %rdx
	movq	%rax, 16(%rsi,%rcx)
	movq	%rdx, 24(%rsi,%rcx)
	movl	-60(%rbp), %eax
	addl	$1, %eax
	cltq
	salq	$5, %rax
	movq	%rax, %rsi
	leaq	crop(%rip), %rcx
	movq	-48(%rbp), %rax
	movq	-40(%rbp), %rdx
	movq	%rax, (%rsi,%rcx)
	movq	%rdx, 8(%rsi,%rcx)
	movq	-32(%rbp), %rax
	movq	-24(%rbp), %rdx
	movq	%rax, 16(%rsi,%rcx)
	movq	%rdx, 24(%rsi,%rcx)
	jmp	.L10
.L22:
	movl	-60(%rbp), %eax
	cltq
	salq	$5, %rax
	movq	%rax, %rdx
	leaq	24+crop(%rip), %rax
	movsd	(%rdx,%rax), %xmm0
	movl	-60(%rbp), %eax
	addl	$1, %eax
	cltq
	salq	$5, %rax
	movq	%rax, %rdx
	leaq	24+crop(%rip), %rax
	movsd	(%rdx,%rax), %xmm1
	ucomisd	%xmm1, %xmm0
	jp	.L10
	ucomisd	%xmm1, %xmm0
	jne	.L10
	movl	-60(%rbp), %eax
	addl	$1, %eax
	cltq
	salq	$5, %rax
	movq	%rax, %rdx
	leaq	crop(%rip), %rax
	addq	%rax, %rdx
	movl	-60(%rbp), %eax
	cltq
	salq	$5, %rax
	movq	%rax, %rcx
	leaq	crop(%rip), %rax
	addq	%rcx, %rax
	movq	%rdx, %rsi
	movq	%rax, %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	jle	.L10
	movl	-60(%rbp), %eax
	cltq
	salq	$5, %rax
	movq	%rax, %rsi
	leaq	crop(%rip), %rcx
	movq	(%rsi,%rcx), %rax
	movq	8(%rsi,%rcx), %rdx
	movq	%rax, -48(%rbp)
	movq	%rdx, -40(%rbp)
	movq	16(%rsi,%rcx), %rax
	movq	24(%rsi,%rcx), %rdx
	movq	%rax, -32(%rbp)
	movq	%rdx, -24(%rbp)
	movl	-60(%rbp), %eax
	leal	1(%rax), %edx
	movl	-60(%rbp), %eax
	cltq
	salq	$5, %rax
	movq	%rax, %rsi
	leaq	crop(%rip), %rcx
	movslq	%edx, %rax
	salq	$5, %rax
	movq	%rax, %r8
	leaq	crop(%rip), %rdi
	movq	(%r8,%rdi), %rax
	movq	8(%r8,%rdi), %rdx
	movq	%rax, (%rsi,%rcx)
	movq	%rdx, 8(%rsi,%rcx)
	movq	16(%r8,%rdi), %rax
	movq	24(%r8,%rdi), %rdx
	movq	%rax, 16(%rsi,%rcx)
	movq	%rdx, 24(%rsi,%rcx)
	movl	-60(%rbp), %eax
	addl	$1, %eax
	cltq
	salq	$5, %rax
	movq	%rax, %rsi
	leaq	crop(%rip), %rcx
	movq	-48(%rbp), %rax
	movq	-40(%rbp), %rdx
	movq	%rax, (%rsi,%rcx)
	movq	%rdx, 8(%rsi,%rcx)
	movq	-32(%rbp), %rax
	movq	-24(%rbp), %rdx
	movq	%rax, 16(%rsi,%rcx)
	movq	%rdx, 24(%rsi,%rcx)
.L10:
	addl	$1, -60(%rbp)
.L7:
	movl	-104(%rbp), %eax
	subl	$1, %eax
	cmpl	%eax, -60(%rbp)
	jl	.L12
	addl	$1, -64(%rbp)
.L6:
	movl	-104(%rbp), %eax
	cmpl	%eax, -64(%rbp)
	jl	.L13
	movl	$0, -64(%rbp)
	jmp	.L14
.L15:
	movl	-64(%rbp), %eax
	cltq
	salq	$5, %rax
	movq	%rax, %rdx
	leaq	crop(%rip), %rax
	addq	%rdx, %rax
	movq	%rax, %rdi
	call	puts@PLT
	addl	$1, -64(%rbp)
.L14:
	movl	-104(%rbp), %eax
	cmpl	%eax, -64(%rbp)
	jl	.L15
	leaq	.LC3(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	jmp	.L16
.L23:
	nop
	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
.LFE0:
	.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
.LC0:
	.string	"%d"
.LC1:
	.string	"%s"
.LC2:
	.string	"%d%d%d%d%d%d%d%d%d"
.LC3:
	.string	"#"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB35:
	.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	$152, %rsp
	.cfi_def_cfa_offset 208
	movq	%fs:40, %rax
	movq	%rax, 136(%rsp)
	xorl	%eax, %eax
	leaq	56(%rsp), %rax
	movq	%rax, 40(%rsp)
	.p2align 4,,10
	.p2align 3
.L13:
	movq	40(%rsp), %rsi
	leaq	.LC0(%rip), %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	56(%rsp), %eax
	testl	%eax, %eax
	je	.L2
	jle	.L14
	leaq	60(%rsp), %rcx
	leaq	92(%rsp), %rsi
	xorl	%ebp, %ebp
	movq	%rcx, 32(%rsp)
	leaq	88(%rsp), %rcx
	leaq	crop(%rip), %r12
	movl	%ebp, %ebx
	movq	%rsi, 24(%rsp)
	leaq	84(%rsp), %rsi
	leaq	64(%rsp), %rax
	movq	%r12, %rbp
	movq	%rcx, 16(%rsp)
	leaq	80(%rsp), %rcx
	leaq	76(%rsp), %r15
	movq	%rax, %r12
	movq	%rsi, 8(%rsp)
	leaq	72(%rsp), %r14
	leaq	68(%rsp), %r13
	movq	%rcx, (%rsp)
	.p2align 4,,10
	.p2align 3
.L4:
	movq	%rbp, %rsi
	leaq	.LC1(%rip), %rdi
	xorl	%eax, %eax
	addl	$1, %ebx
	call	__isoc99_scanf@PLT
	pushq	24(%rsp)
	.cfi_def_cfa_offset 216
	movq	%r13, %rcx
	movq	%r12, %rdx
	pushq	24(%rsp)
	.cfi_def_cfa_offset 224
	movq	%r15, %r9
	movq	%r14, %r8
	xorl	%eax, %eax
	pushq	24(%rsp)
	.cfi_def_cfa_offset 232
	leaq	.LC2(%rip), %rdi
	addq	$32, %rbp
	pushq	24(%rsp)
	.cfi_def_cfa_offset 240
	movq	64(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	124(%rsp), %ecx
	movl	116(%rsp), %eax
	pxor	%xmm0, %xmm0
	movl	112(%rsp), %edx
	addl	108(%rsp), %edx
	pxor	%xmm1, %xmm1
	imull	%ecx, %edx
	imull	%ecx, %eax
	imull	120(%rsp), %eax
	subl	92(%rsp), %eax
	cvtsi2sdl	%eax, %xmm0
	movl	100(%rsp), %eax
	addl	96(%rsp), %eax
	addl	104(%rsp), %eax
	addl	%edx, %eax
	cvtsi2sdl	%eax, %xmm1
	movl	88(%rsp), %eax
	addq	$32, %rsp
	.cfi_def_cfa_offset 208
	divsd	%xmm1, %xmm0
	movsd	%xmm0, -8(%rbp)
	cmpl	%ebx, %eax
	jg	.L4
	movl	%eax, %ebx
	testl	%eax, %eax
	jle	.L14
	cmpl	$1, %eax
	je	.L5
	leal	-2(%rax), %r13d
	leaq	32+crop(%rip), %rax
	xorl	%r14d, %r14d
	salq	$5, %r13
	addq	%rax, %r13
	.p2align 4,,10
	.p2align 3
.L6:
	leaq	crop(%rip), %rbp
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L31:
	movdqa	0(%rbp), %xmm1
	movdqa	16(%rbp), %xmm0
	leaq	32(%rbp), %r12
	movdqa	32(%rbp), %xmm2
	movdqa	48(%rbp), %xmm3
	movaps	%xmm1, 96(%rsp)
	movaps	%xmm0, 112(%rsp)
	movaps	%xmm2, 0(%rbp)
	movaps	%xmm3, 16(%rbp)
	movaps	%xmm1, 32(%rbp)
	movaps	%xmm0, 48(%rbp)
.L9:
	movq	%r12, %rbp
	cmpq	%r13, %r12
	je	.L30
.L11:
	movsd	24(%rbp), %xmm1
	movsd	56(%rbp), %xmm0
	comisd	%xmm1, %xmm0
	ja	.L31
	ucomisd	%xmm0, %xmm1
	leaq	32(%rbp), %r12
	jp	.L9
	jne	.L9
	movq	%r12, %rsi
	movq	%rbp, %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	jle	.L9
	movdqa	0(%rbp), %xmm1
	movdqa	16(%rbp), %xmm0
	movdqa	32(%rbp), %xmm4
	movdqa	48(%rbp), %xmm5
	movaps	%xmm1, 32(%rbp)
	movaps	%xmm4, 0(%rbp)
	movaps	%xmm5, 16(%rbp)
	movaps	%xmm0, 48(%rbp)
	movq	%r12, %rbp
	movaps	%xmm1, 96(%rsp)
	movaps	%xmm0, 112(%rsp)
	cmpq	%r13, %r12
	jne	.L11
	.p2align 4,,10
	.p2align 3
.L30:
	addl	$1, %r14d
	cmpl	%r14d, %ebx
	jne	.L6
.L5:
	leaq	crop(%rip), %rbp
	xorl	%ebx, %ebx
	.p2align 4,,10
	.p2align 3
.L12:
	movq	%rbp, %rdi
	addl	$1, %ebx
	addq	$32, %rbp
	call	puts@PLT
	cmpl	%ebx, 56(%rsp)
	jg	.L12
.L14:
	leaq	.LC3(%rip), %rdi
	call	puts@PLT
	jmp	.L13
.L2:
	movq	136(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L32
	addq	$152, %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
.L32:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE35:
	.size	main, .-main
	.globl	crop
	.bss
	.align 32
	.type	crop, @object
	.size	crop, 1600
crop:
	.zero	1600
	.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
.LC0:
	.string	"%d"
.LC1:
	.string	"%s"
.LC2:
	.string	"%d%d%d%d%d%d%d%d%d"
.LC3:
	.string	"#"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB35:
	.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	$152, %rsp
	.cfi_def_cfa_offset 208
	movq	%fs:40, %rax
	movq	%rax, 136(%rsp)
	xorl	%eax, %eax
	leaq	56(%rsp), %rax
	movq	%rax, 40(%rsp)
	.p2align 4,,10
	.p2align 3
.L13:
	movq	40(%rsp), %rsi
	leaq	.LC0(%rip), %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	56(%rsp), %eax
	testl	%eax, %eax
	je	.L2
	jle	.L14
	leaq	60(%rsp), %rcx
	leaq	92(%rsp), %rsi
	xorl	%ebp, %ebp
	movq	%rcx, 32(%rsp)
	leaq	88(%rsp), %rcx
	leaq	crop(%rip), %r12
	movl	%ebp, %ebx
	movq	%rsi, 24(%rsp)
	leaq	84(%rsp), %rsi
	leaq	64(%rsp), %rax
	movq	%r12, %rbp
	movq	%rcx, 16(%rsp)
	leaq	80(%rsp), %rcx
	leaq	76(%rsp), %r15
	movq	%rax, %r12
	movq	%rsi, 8(%rsp)
	leaq	72(%rsp), %r14
	leaq	68(%rsp), %r13
	movq	%rcx, (%rsp)
	.p2align 4,,10
	.p2align 3
.L4:
	movq	%rbp, %rsi
	leaq	.LC1(%rip), %rdi
	xorl	%eax, %eax
	addl	$1, %ebx
	call	__isoc99_scanf@PLT
	pushq	24(%rsp)
	.cfi_def_cfa_offset 216
	movq	%r13, %rcx
	movq	%r12, %rdx
	pushq	24(%rsp)
	.cfi_def_cfa_offset 224
	movq	%r15, %r9
	movq	%r14, %r8
	xorl	%eax, %eax
	pushq	24(%rsp)
	.cfi_def_cfa_offset 232
	leaq	.LC2(%rip), %rdi
	addq	$32, %rbp
	pushq	24(%rsp)
	.cfi_def_cfa_offset 240
	movq	64(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	124(%rsp), %ecx
	movl	116(%rsp), %eax
	pxor	%xmm0, %xmm0
	movl	112(%rsp), %edx
	addl	108(%rsp), %edx
	pxor	%xmm1, %xmm1
	imull	%ecx, %edx
	imull	%ecx, %eax
	imull	120(%rsp), %eax
	subl	92(%rsp), %eax
	cvtsi2sdl	%eax, %xmm0
	movl	100(%rsp), %eax
	addl	96(%rsp), %eax
	addl	104(%rsp), %eax
	addl	%edx, %eax
	cvtsi2sdl	%eax, %xmm1
	movl	88(%rsp), %eax
	addq	$32, %rsp
	.cfi_def_cfa_offset 208
	divsd	%xmm1, %xmm0
	movsd	%xmm0, -8(%rbp)
	cmpl	%ebx, %eax
	jg	.L4
	movl	%eax, %ebx
	testl	%eax, %eax
	jle	.L14
	cmpl	$1, %eax
	je	.L5
	leal	-2(%rax), %r13d
	leaq	32+crop(%rip), %rax
	xorl	%r14d, %r14d
	salq	$5, %r13
	addq	%rax, %r13
	.p2align 4,,10
	.p2align 3
.L6:
	leaq	crop(%rip), %rbp
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L31:
	movdqa	0(%rbp), %xmm1
	movdqa	16(%rbp), %xmm0
	leaq	32(%rbp), %r12
	movdqa	32(%rbp), %xmm2
	movdqa	48(%rbp), %xmm3
	movaps	%xmm1, 96(%rsp)
	movaps	%xmm0, 112(%rsp)
	movaps	%xmm2, 0(%rbp)
	movaps	%xmm3, 16(%rbp)
	movaps	%xmm1, 32(%rbp)
	movaps	%xmm0, 48(%rbp)
.L9:
	movq	%r12, %rbp
	cmpq	%r13, %r12
	je	.L30
.L11:
	movsd	24(%rbp), %xmm1
	movsd	56(%rbp), %xmm0
	comisd	%xmm1, %xmm0
	ja	.L31
	ucomisd	%xmm0, %xmm1
	leaq	32(%rbp), %r12
	jp	.L9
	jne	.L9
	movq	%r12, %rsi
	movq	%rbp, %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	jle	.L9
	movdqa	0(%rbp), %xmm1
	movdqa	16(%rbp), %xmm0
	movdqa	32(%rbp), %xmm4
	movdqa	48(%rbp), %xmm5
	movaps	%xmm1, 32(%rbp)
	movaps	%xmm4, 0(%rbp)
	movaps	%xmm5, 16(%rbp)
	movaps	%xmm0, 48(%rbp)
	movq	%r12, %rbp
	movaps	%xmm1, 96(%rsp)
	movaps	%xmm0, 112(%rsp)
	cmpq	%r13, %r12
	jne	.L11
	.p2align 4,,10
	.p2align 3
.L30:
	addl	$1, %r14d
	cmpl	%r14d, %ebx
	jne	.L6
.L5:
	leaq	crop(%rip), %rbp
	xorl	%ebx, %ebx
	.p2align 4,,10
	.p2align 3
.L12:
	movq	%rbp, %rdi
	addl	$1, %ebx
	addq	$32, %rbp
	call	puts@PLT
	cmpl	%ebx, 56(%rsp)
	jg	.L12
.L14:
	leaq	.LC3(%rip), %rdi
	call	puts@PLT
	jmp	.L13
.L2:
	movq	136(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L32
	addq	$152, %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
.L32:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE35:
	.size	main, .-main
	.globl	crop
	.bss
	.align 32
	.type	crop, @object
	.size	crop, 1600
crop:
	.zero	1600
	.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>

typedef struct {
	char L[21];
	double efficient;
} CROP;

CROP crop[50];

int main(void)
{
	int N;
	int P, A, B, C, D, E, F, S, M;
	int i, j;
	int days, income;
	CROP t;
	
	while (1){
		scanf("%d", &N);
		if (N == 0){
			break;
		}
		
		
		for (i = 0; i < N; i++){
			scanf("%s", crop[i].L);
			
			scanf("%d%d%d%d%d%d%d%d%d", &P, &A, &B, &C, &D, &E, &F, &S, &M);
			
			days = A + B + C + (D + E) * M;
			income = M * F * S - P;
			
			crop[i].efficient = (double)income / days;
		}
		
		for (i = 0; i < N; i++){
			for (j = 0; j < N - 1; j++){
				if (crop[j].efficient < crop[j + 1].efficient){
					t = crop[j];
					crop[j] = crop[j + 1];
					crop[j + 1] = t;
				}
				else if (crop[j].efficient == crop[j + 1].efficient &&
				         strcmp(crop[j].L, crop[j + 1].L) > 0){
					t = crop[j];
					crop[j] = crop[j + 1];
					crop[j + 1] = t;
				}
			}
		}
		
		for (i = 0; i < N; i++){
			printf("%s\n", crop[i].L);
		}
		printf("#\n");
	}
	
	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>

typedef struct {
	char L[21];
	double efficient;
} CROP;

CROP crop[50];

int main(void)
{
	int N;
	int P, A, B, C, D, E, F, S, M;
	int i, j;
	int days, income;
	CROP t;
	
	while (1){
		scanf("%d", &N);
		if (N == 0){
			break;
		}
		
		
		for (i = 0; i < N; i++){
			scanf("%s", crop[i].L);
			
			scanf("%d%d%d%d%d%d%d%d%d", &P, &A, &B, &C, &D, &E, &F, &S, &M);
			
			days = A + B + C + (D + E) * M;
			income = M * F * S - P;
			
			crop[i].efficient = (double)income / days;
		}
		
		for (i = 0; i < N; i++){
			for (j = 0; j < N - 1; j++){
				if (crop[j].efficient < crop[j + 1].efficient){
					t = crop[j];
					crop[j] = crop[j + 1];
					crop[j + 1] = t;
				}
				else if (crop[j].efficient == crop[j + 1].efficient &&
				         strcmp(crop[j].L, crop[j + 1].L) > 0){
					t = crop[j];
					crop[j] = crop[j + 1];
					crop[j + 1] = t;
				}
			}
		}
		
		for (i = 0; i < N; i++){
			printf("%s\n", crop[i].L);
		}
		printf("#\n");
	}
	
	return (0);
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	crop
	.bss
	.align 32
	.type	crop, @object
	.size	crop, 1600
crop:
	.zero	1600
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"%s"
.LC2:
	.string	"%d%d%d%d%d%d%d%d%d"
.LC3:
	.string	"#"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$112, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
.L16:
	leaq	-104(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-104(%rbp), %eax
	testl	%eax, %eax
	je	.L23
	movl	$0, -64(%rbp)
	jmp	.L4
.L5:
	movl	-64(%rbp), %eax
	cltq
	salq	$5, %rax
	movq	%rax, %rdx
	leaq	crop(%rip), %rax
	addq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	leaq	-84(%rbp), %r8
	leaq	-88(%rbp), %rdi
	leaq	-92(%rbp), %rcx
	leaq	-96(%rbp), %rdx
	leaq	-100(%rbp), %rax
	leaq	-68(%rbp), %rsi
	pushq	%rsi
	leaq	-72(%rbp), %rsi
	pushq	%rsi
	leaq	-76(%rbp), %rsi
	pushq	%rsi
	leaq	-80(%rbp), %rsi
	pushq	%rsi
	movq	%r8, %r9
	movq	%rdi, %r8
	movq	%rax, %rsi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addq	$32, %rsp
	movl	-96(%rbp), %edx
	movl	-92(%rbp), %eax
	addl	%eax, %edx
	movl	-88(%rbp), %eax
	leal	(%rdx,%rax), %ecx
	movl	-84(%rbp), %edx
	movl	-80(%rbp), %eax
	addl	%eax, %edx
	movl	-68(%rbp), %eax
	imull	%edx, %eax
	addl	%ecx, %eax
	movl	%eax, -56(%rbp)
	movl	-68(%rbp), %edx
	movl	-76(%rbp), %eax
	imull	%eax, %edx
	movl	-72(%rbp), %eax
	imull	%edx, %eax
	movl	-100(%rbp), %edx
	subl	%edx, %eax
	movl	%eax, -52(%rbp)
	pxor	%xmm0, %xmm0
	cvtsi2sdl	-52(%rbp), %xmm0
	pxor	%xmm1, %xmm1
	cvtsi2sdl	-56(%rbp), %xmm1
	divsd	%xmm1, %xmm0
	movl	-64(%rbp), %eax
	cltq
	salq	$5, %rax
	movq	%rax, %rdx
	leaq	24+crop(%rip), %rax
	movsd	%xmm0, (%rdx,%rax)
	addl	$1, -64(%rbp)
.L4:
	movl	-104(%rbp), %eax
	cmpl	%eax, -64(%rbp)
	jl	.L5
	movl	$0, -64(%rbp)
	jmp	.L6
.L13:
	movl	$0, -60(%rbp)
	jmp	.L7
.L12:
	movl	-60(%rbp), %eax
	cltq
	salq	$5, %rax
	movq	%rax, %rdx
	leaq	24+crop(%rip), %rax
	movsd	(%rdx,%rax), %xmm1
	movl	-60(%rbp), %eax
	addl	$1, %eax
	cltq
	salq	$5, %rax
	movq	%rax, %rdx
	leaq	24+crop(%rip), %rax
	movsd	(%rdx,%rax), %xmm0
	comisd	%xmm1, %xmm0
	jbe	.L22
	movl	-60(%rbp), %eax
	cltq
	salq	$5, %rax
	movq	%rax, %rsi
	leaq	crop(%rip), %rcx
	movq	(%rsi,%rcx), %rax
	movq	8(%rsi,%rcx), %rdx
	movq	%rax, -48(%rbp)
	movq	%rdx, -40(%rbp)
	movq	16(%rsi,%rcx), %rax
	movq	24(%rsi,%rcx), %rdx
	movq	%rax, -32(%rbp)
	movq	%rdx, -24(%rbp)
	movl	-60(%rbp), %eax
	leal	1(%rax), %edx
	movl	-60(%rbp), %eax
	cltq
	salq	$5, %rax
	movq	%rax, %rsi
	leaq	crop(%rip), %rcx
	movslq	%edx, %rax
	salq	$5, %rax
	movq	%rax, %r8
	leaq	crop(%rip), %rdi
	movq	(%r8,%rdi), %rax
	movq	8(%r8,%rdi), %rdx
	movq	%rax, (%rsi,%rcx)
	movq	%rdx, 8(%rsi,%rcx)
	movq	16(%r8,%rdi), %rax
	movq	24(%r8,%rdi), %rdx
	movq	%rax, 16(%rsi,%rcx)
	movq	%rdx, 24(%rsi,%rcx)
	movl	-60(%rbp), %eax
	addl	$1, %eax
	cltq
	salq	$5, %rax
	movq	%rax, %rsi
	leaq	crop(%rip), %rcx
	movq	-48(%rbp), %rax
	movq	-40(%rbp), %rdx
	movq	%rax, (%rsi,%rcx)
	movq	%rdx, 8(%rsi,%rcx)
	movq	-32(%rbp), %rax
	movq	-24(%rbp), %rdx
	movq	%rax, 16(%rsi,%rcx)
	movq	%rdx, 24(%rsi,%rcx)
	jmp	.L10
.L22:
	movl	-60(%rbp), %eax
	cltq
	salq	$5, %rax
	movq	%rax, %rdx
	leaq	24+crop(%rip), %rax
	movsd	(%rdx,%rax), %xmm0
	movl	-60(%rbp), %eax
	addl	$1, %eax
	cltq
	salq	$5, %rax
	movq	%rax, %rdx
	leaq	24+crop(%rip), %rax
	movsd	(%rdx,%rax), %xmm1
	ucomisd	%xmm1, %xmm0
	jp	.L10
	ucomisd	%xmm1, %xmm0
	jne	.L10
	movl	-60(%rbp), %eax
	addl	$1, %eax
	cltq
	salq	$5, %rax
	movq	%rax, %rdx
	leaq	crop(%rip), %rax
	addq	%rax, %rdx
	movl	-60(%rbp), %eax
	cltq
	salq	$5, %rax
	movq	%rax, %rcx
	leaq	crop(%rip), %rax
	addq	%rcx, %rax
	movq	%rdx, %rsi
	movq	%rax, %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	jle	.L10
	movl	-60(%rbp), %eax
	cltq
	salq	$5, %rax
	movq	%rax, %rsi
	leaq	crop(%rip), %rcx
	movq	(%rsi,%rcx), %rax
	movq	8(%rsi,%rcx), %rdx
	movq	%rax, -48(%rbp)
	movq	%rdx, -40(%rbp)
	movq	16(%rsi,%rcx), %rax
	movq	24(%rsi,%rcx), %rdx
	movq	%rax, -32(%rbp)
	movq	%rdx, -24(%rbp)
	movl	-60(%rbp), %eax
	leal	1(%rax), %edx
	movl	-60(%rbp), %eax
	cltq
	salq	$5, %rax
	movq	%rax, %rsi
	leaq	crop(%rip), %rcx
	movslq	%edx, %rax
	salq	$5, %rax
	movq	%rax, %r8
	leaq	crop(%rip), %rdi
	movq	(%r8,%rdi), %rax
	movq	8(%r8,%rdi), %rdx
	movq	%rax, (%rsi,%rcx)
	movq	%rdx, 8(%rsi,%rcx)
	movq	16(%r8,%rdi), %rax
	movq	24(%r8,%rdi), %rdx
	movq	%rax, 16(%rsi,%rcx)
	movq	%rdx, 24(%rsi,%rcx)
	movl	-60(%rbp), %eax
	addl	$1, %eax
	cltq
	salq	$5, %rax
	movq	%rax, %rsi
	leaq	crop(%rip), %rcx
	movq	-48(%rbp), %rax
	movq	-40(%rbp), %rdx
	movq	%rax, (%rsi,%rcx)
	movq	%rdx, 8(%rsi,%rcx)
	movq	-32(%rbp), %rax
	movq	-24(%rbp), %rdx
	movq	%rax, 16(%rsi,%rcx)
	movq	%rdx, 24(%rsi,%rcx)
.L10:
	addl	$1, -60(%rbp)
.L7:
	movl	-104(%rbp), %eax
	subl	$1, %eax
	cmpl	%eax, -60(%rbp)
	jl	.L12
	addl	$1, -64(%rbp)
.L6:
	movl	-104(%rbp), %eax
	cmpl	%eax, -64(%rbp)
	jl	.L13
	movl	$0, -64(%rbp)
	jmp	.L14
.L15:
	movl	-64(%rbp), %eax
	cltq
	salq	$5, %rax
	movq	%rax, %rdx
	leaq	crop(%rip), %rax
	addq	%rdx, %rax
	movq	%rax, %rdi
	call	puts@PLT
	addl	$1, -64(%rbp)
.L14:
	movl	-104(%rbp), %eax
	cmpl	%eax, -64(%rbp)
	jl	.L15
	leaq	.LC3(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	jmp	.L16
.L23:
	nop
	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
.LFE0:
	.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	crop
	.bss
	.align 32
	.type	crop, @object
	.size	crop, 1600
crop:
	.zero	1600
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"%s"
.LC2:
	.string	"%d%d%d%d%d%d%d%d%d"
.LC3:
	.string	"#"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$112, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
.L16:
	leaq	-104(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-104(%rbp), %eax
	testl	%eax, %eax
	je	.L23
	movl	$0, -64(%rbp)
	jmp	.L4
.L5:
	movl	-64(%rbp), %eax
	cltq
	salq	$5, %rax
	movq	%rax, %rdx
	leaq	crop(%rip), %rax
	addq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	leaq	-84(%rbp), %r8
	leaq	-88(%rbp), %rdi
	leaq	-92(%rbp), %rcx
	leaq	-96(%rbp), %rdx
	leaq	-100(%rbp), %rax
	leaq	-68(%rbp), %rsi
	pushq	%rsi
	leaq	-72(%rbp), %rsi
	pushq	%rsi
	leaq	-76(%rbp), %rsi
	pushq	%rsi
	leaq	-80(%rbp), %rsi
	pushq	%rsi
	movq	%r8, %r9
	movq	%rdi, %r8
	movq	%rax, %rsi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addq	$32, %rsp
	movl	-96(%rbp), %edx
	movl	-92(%rbp), %eax
	addl	%eax, %edx
	movl	-88(%rbp), %eax
	leal	(%rdx,%rax), %ecx
	movl	-84(%rbp), %edx
	movl	-80(%rbp), %eax
	addl	%eax, %edx
	movl	-68(%rbp), %eax
	imull	%edx, %eax
	addl	%ecx, %eax
	movl	%eax, -56(%rbp)
	movl	-68(%rbp), %edx
	movl	-76(%rbp), %eax
	imull	%eax, %edx
	movl	-72(%rbp), %eax
	imull	%edx, %eax
	movl	-100(%rbp), %edx
	subl	%edx, %eax
	movl	%eax, -52(%rbp)
	pxor	%xmm0, %xmm0
	cvtsi2sdl	-52(%rbp), %xmm0
	pxor	%xmm1, %xmm1
	cvtsi2sdl	-56(%rbp), %xmm1
	divsd	%xmm1, %xmm0
	movl	-64(%rbp), %eax
	cltq
	salq	$5, %rax
	movq	%rax, %rdx
	leaq	24+crop(%rip), %rax
	movsd	%xmm0, (%rdx,%rax)
	addl	$1, -64(%rbp)
.L4:
	movl	-104(%rbp), %eax
	cmpl	%eax, -64(%rbp)
	jl	.L5
	movl	$0, -64(%rbp)
	jmp	.L6
.L13:
	movl	$0, -60(%rbp)
	jmp	.L7
.L12:
	movl	-60(%rbp), %eax
	cltq
	salq	$5, %rax
	movq	%rax, %rdx
	leaq	24+crop(%rip), %rax
	movsd	(%rdx,%rax), %xmm1
	movl	-60(%rbp), %eax
	addl	$1, %eax
	cltq
	salq	$5, %rax
	movq	%rax, %rdx
	leaq	24+crop(%rip), %rax
	movsd	(%rdx,%rax), %xmm0
	comisd	%xmm1, %xmm0
	jbe	.L22
	movl	-60(%rbp), %eax
	cltq
	salq	$5, %rax
	movq	%rax, %rsi
	leaq	crop(%rip), %rcx
	movq	(%rsi,%rcx), %rax
	movq	8(%rsi,%rcx), %rdx
	movq	%rax, -48(%rbp)
	movq	%rdx, -40(%rbp)
	movq	16(%rsi,%rcx), %rax
	movq	24(%rsi,%rcx), %rdx
	movq	%rax, -32(%rbp)
	movq	%rdx, -24(%rbp)
	movl	-60(%rbp), %eax
	leal	1(%rax), %edx
	movl	-60(%rbp), %eax
	cltq
	salq	$5, %rax
	movq	%rax, %rsi
	leaq	crop(%rip), %rcx
	movslq	%edx, %rax
	salq	$5, %rax
	movq	%rax, %r8
	leaq	crop(%rip), %rdi
	movq	(%r8,%rdi), %rax
	movq	8(%r8,%rdi), %rdx
	movq	%rax, (%rsi,%rcx)
	movq	%rdx, 8(%rsi,%rcx)
	movq	16(%r8,%rdi), %rax
	movq	24(%r8,%rdi), %rdx
	movq	%rax, 16(%rsi,%rcx)
	movq	%rdx, 24(%rsi,%rcx)
	movl	-60(%rbp), %eax
	addl	$1, %eax
	cltq
	salq	$5, %rax
	movq	%rax, %rsi
	leaq	crop(%rip), %rcx
	movq	-48(%rbp), %rax
	movq	-40(%rbp), %rdx
	movq	%rax, (%rsi,%rcx)
	movq	%rdx, 8(%rsi,%rcx)
	movq	-32(%rbp), %rax
	movq	-24(%rbp), %rdx
	movq	%rax, 16(%rsi,%rcx)
	movq	%rdx, 24(%rsi,%rcx)
	jmp	.L10
.L22:
	movl	-60(%rbp), %eax
	cltq
	salq	$5, %rax
	movq	%rax, %rdx
	leaq	24+crop(%rip), %rax
	movsd	(%rdx,%rax), %xmm0
	movl	-60(%rbp), %eax
	addl	$1, %eax
	cltq
	salq	$5, %rax
	movq	%rax, %rdx
	leaq	24+crop(%rip), %rax
	movsd	(%rdx,%rax), %xmm1
	ucomisd	%xmm1, %xmm0
	jp	.L10
	ucomisd	%xmm1, %xmm0
	jne	.L10
	movl	-60(%rbp), %eax
	addl	$1, %eax
	cltq
	salq	$5, %rax
	movq	%rax, %rdx
	leaq	crop(%rip), %rax
	addq	%rax, %rdx
	movl	-60(%rbp), %eax
	cltq
	salq	$5, %rax
	movq	%rax, %rcx
	leaq	crop(%rip), %rax
	addq	%rcx, %rax
	movq	%rdx, %rsi
	movq	%rax, %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	jle	.L10
	movl	-60(%rbp), %eax
	cltq
	salq	$5, %rax
	movq	%rax, %rsi
	leaq	crop(%rip), %rcx
	movq	(%rsi,%rcx), %rax
	movq	8(%rsi,%rcx), %rdx
	movq	%rax, -48(%rbp)
	movq	%rdx, -40(%rbp)
	movq	16(%rsi,%rcx), %rax
	movq	24(%rsi,%rcx), %rdx
	movq	%rax, -32(%rbp)
	movq	%rdx, -24(%rbp)
	movl	-60(%rbp), %eax
	leal	1(%rax), %edx
	movl	-60(%rbp), %eax
	cltq
	salq	$5, %rax
	movq	%rax, %rsi
	leaq	crop(%rip), %rcx
	movslq	%edx, %rax
	salq	$5, %rax
	movq	%rax, %r8
	leaq	crop(%rip), %rdi
	movq	(%r8,%rdi), %rax
	movq	8(%r8,%rdi), %rdx
	movq	%rax, (%rsi,%rcx)
	movq	%rdx, 8(%rsi,%rcx)
	movq	16(%r8,%rdi), %rax
	movq	24(%r8,%rdi), %rdx
	movq	%rax, 16(%rsi,%rcx)
	movq	%rdx, 24(%rsi,%rcx)
	movl	-60(%rbp), %eax
	addl	$1, %eax
	cltq
	salq	$5, %rax
	movq	%rax, %rsi
	leaq	crop(%rip), %rcx
	movq	-48(%rbp), %rax
	movq	-40(%rbp), %rdx
	movq	%rax, (%rsi,%rcx)
	movq	%rdx, 8(%rsi,%rcx)
	movq	-32(%rbp), %rax
	movq	-24(%rbp), %rdx
	movq	%rax, 16(%rsi,%rcx)
	movq	%rdx, 24(%rsi,%rcx)
.L10:
	addl	$1, -60(%rbp)
.L7:
	movl	-104(%rbp), %eax
	subl	$1, %eax
	cmpl	%eax, -60(%rbp)
	jl	.L12
	addl	$1, -64(%rbp)
.L6:
	movl	-104(%rbp), %eax
	cmpl	%eax, -64(%rbp)
	jl	.L13
	movl	$0, -64(%rbp)
	jmp	.L14
.L15:
	movl	-64(%rbp), %eax
	cltq
	salq	$5, %rax
	movq	%rax, %rdx
	leaq	crop(%rip), %rax
	addq	%rdx, %rax
	movq	%rax, %rdi
	call	puts@PLT
	addl	$1, -64(%rbp)
.L14:
	movl	-104(%rbp), %eax
	cmpl	%eax, -64(%rbp)
	jl	.L15
	leaq	.LC3(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	jmp	.L16
.L23:
	nop
	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
.LFE0:
	.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:
