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<stdlib.h>
int compare(long *a, long *b){
    if(*a<*b) return 1;
    else if(*b<*a) return -1;
    else return 0;
}
int main(){
    int n,m;
    scanf("%d%d",&n,&m);
    long x[n],y[n],z[n];
    for(int i=0; i<n; i++){
        scanf("%ld%ld%ld",&x[i],&y[i],&z[i]);
    }
    long t1=1,t2=-1,t3=-1;
    long sum[8][n];
  for(int a=0; a<n; a++){
    for(int b=0; b<8; b++){
		sum[b][a]=0;
    }
  }
    long max[8]={0,0,0,0,0,0,0,0};
    for(int j=0; j<8; j++){
        t3 *= -1;
        if(j%2==0) t2 *= -1;
        if(j==4) t1 *= -1;
        for(int k=0; k<n; k++){
            sum[j][k]=t1*x[k]+t2*y[k]+t3*z[k];
        }
        qsort(sum[j],n,sizeof(long),compare);
        for(int l=0; l<m; l++){
            max[j] += sum[j][l];
        }
    }
    qsort(max,8,sizeof(long),compare);
    long max_=max[0];
    printf("%ld\n",max_);
    return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	compare
	.type	compare, @function
compare:
.LFB6:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movq	%rdi, -8(%rbp)
	movq	%rsi, -16(%rbp)
	movq	-8(%rbp), %rax
	movq	(%rax), %rdx
	movq	-16(%rbp), %rax
	movq	(%rax), %rax
	cmpq	%rax, %rdx
	jge	.L2
	movl	$1, %eax
	jmp	.L3
.L2:
	movq	-16(%rbp), %rax
	movq	(%rax), %rdx
	movq	-8(%rbp), %rax
	movq	(%rax), %rax
	cmpq	%rax, %rdx
	jge	.L4
	movl	$-1, %eax
	jmp	.L3
.L4:
	movl	$0, %eax
.L3:
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	compare, .-compare
	.section	.rodata
.LC0:
	.string	"%d%d"
.LC1:
	.string	"%ld%ld%ld"
.LC2:
	.string	"%ld\n"
	.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
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$344, %rsp
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	movq	%fs:40, %rax
	movq	%rax, -56(%rbp)
	xorl	%eax, %eax
	movq	%rsp, %rax
	movq	%rax, -376(%rbp)
	leaq	-252(%rbp), %rdx
	leaq	-256(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-256(%rbp), %edx
	movslq	%edx, %rax
	subq	$1, %rax
	movq	%rax, -200(%rbp)
	movslq	%edx, %rax
	movq	%rax, %r12
	movl	$0, %r13d
	movslq	%edx, %rax
	movq	%rax, %r14
	movl	$0, %r15d
	movslq	%edx, %rax
	leaq	0(,%rax,8), %rdx
	movl	$16, %eax
	subq	$1, %rax
	addq	%rdx, %rax
	movl	$16, %ebx
	movl	$0, %edx
	divq	%rbx
	imulq	$16, %rax, %rdx
	movq	%rdx, %rax
	andq	$-4096, %rax
	movq	%rsp, %rcx
	subq	%rax, %rcx
.L6:
	cmpq	%rcx, %rsp
	je	.L7
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	jmp	.L6
.L7:
	movq	%rdx, %rax
	andl	$4095, %eax
	subq	%rax, %rsp
	movq	%rdx, %rax
	andl	$4095, %eax
	testq	%rax, %rax
	je	.L8
	movq	%rdx, %rax
	andl	$4095, %eax
	subq	$8, %rax
	addq	%rsp, %rax
	orq	$0, (%rax)
.L8:
	movq	%rsp, %rax
	addq	$7, %rax
	shrq	$3, %rax
	salq	$3, %rax
	movq	%rax, -192(%rbp)
	movl	-256(%rbp), %edx
	movslq	%edx, %rax
	subq	$1, %rax
	movq	%rax, -184(%rbp)
	movslq	%edx, %rax
	movq	%rax, -272(%rbp)
	movq	$0, -264(%rbp)
	movslq	%edx, %rax
	movq	%rax, -288(%rbp)
	movq	$0, -280(%rbp)
	movslq	%edx, %rax
	leaq	0(,%rax,8), %rdx
	movl	$16, %eax
	subq	$1, %rax
	addq	%rdx, %rax
	movl	$16, %ebx
	movl	$0, %edx
	divq	%rbx
	imulq	$16, %rax, %rax
	movq	%rax, %rcx
	andq	$-4096, %rcx
	movq	%rsp, %rdx
	subq	%rcx, %rdx
.L9:
	cmpq	%rdx, %rsp
	je	.L10
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	jmp	.L9
.L10:
	movq	%rax, %rdx
	andl	$4095, %edx
	subq	%rdx, %rsp
	movq	%rax, %rdx
	andl	$4095, %edx
	testq	%rdx, %rdx
	je	.L11
	andl	$4095, %eax
	subq	$8, %rax
	addq	%rsp, %rax
	orq	$0, (%rax)
.L11:
	movq	%rsp, %rax
	addq	$7, %rax
	shrq	$3, %rax
	salq	$3, %rax
	movq	%rax, -176(%rbp)
	movl	-256(%rbp), %eax
	movslq	%eax, %rdx
	subq	$1, %rdx
	movq	%rdx, -168(%rbp)
	movslq	%eax, %rdx
	movq	%rdx, -304(%rbp)
	movq	$0, -296(%rbp)
	movslq	%eax, %rdx
	movq	%rdx, -320(%rbp)
	movq	$0, -312(%rbp)
	cltq
	leaq	0(,%rax,8), %rdx
	movl	$16, %eax
	subq	$1, %rax
	addq	%rdx, %rax
	movl	$16, %ebx
	movl	$0, %edx
	divq	%rbx
	imulq	$16, %rax, %rax
	movq	%rax, %rcx
	andq	$-4096, %rcx
	movq	%rsp, %rdx
	subq	%rcx, %rdx
.L12:
	cmpq	%rdx, %rsp
	je	.L13
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	jmp	.L12
.L13:
	movq	%rax, %rdx
	andl	$4095, %edx
	subq	%rdx, %rsp
	movq	%rax, %rdx
	andl	$4095, %edx
	testq	%rdx, %rdx
	je	.L14
	andl	$4095, %eax
	subq	$8, %rax
	addq	%rsp, %rax
	orq	$0, (%rax)
.L14:
	movq	%rsp, %rax
	addq	$7, %rax
	shrq	$3, %rax
	salq	$3, %rax
	movq	%rax, -160(%rbp)
	movl	$0, -248(%rbp)
	jmp	.L15
.L16:
	movl	-248(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	movq	-160(%rbp), %rax
	leaq	(%rdx,%rax), %rcx
	movl	-248(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	movq	-176(%rbp), %rax
	addq	%rax, %rdx
	movl	-248(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rsi
	movq	-192(%rbp), %rax
	addq	%rsi, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -248(%rbp)
.L15:
	movl	-256(%rbp), %eax
	cmpl	%eax, -248(%rbp)
	jl	.L16
	movq	$1, -224(%rbp)
	movq	$-1, -216(%rbp)
	movq	$-1, -208(%rbp)
	movl	-256(%rbp), %eax
	movslq	%eax, %rdx
	subq	$1, %rdx
	movq	%rdx, -152(%rbp)
	movslq	%eax, %rdx
	movq	%rdx, -336(%rbp)
	movq	$0, -328(%rbp)
	movslq	%eax, %rdx
	leaq	0(,%rdx,8), %rbx
	movslq	%eax, %rdx
	movq	%rdx, -352(%rbp)
	movq	$0, -344(%rbp)
	movslq	%eax, %rdx
	movq	%rdx, -368(%rbp)
	movq	$0, -360(%rbp)
	cltq
	salq	$6, %rax
	movq	%rax, %rdx
	movl	$16, %eax
	subq	$1, %rax
	addq	%rdx, %rax
	movl	$16, %edi
	movl	$0, %edx
	divq	%rdi
	imulq	$16, %rax, %rax
	movq	%rax, %rcx
	andq	$-4096, %rcx
	movq	%rsp, %rdx
	subq	%rcx, %rdx
.L17:
	cmpq	%rdx, %rsp
	je	.L18
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	jmp	.L17
.L18:
	movq	%rax, %rdx
	andl	$4095, %edx
	subq	%rdx, %rsp
	movq	%rax, %rdx
	andl	$4095, %edx
	testq	%rdx, %rdx
	je	.L19
	andl	$4095, %eax
	subq	$8, %rax
	addq	%rsp, %rax
	orq	$0, (%rax)
.L19:
	movq	%rsp, %rax
	addq	$7, %rax
	shrq	$3, %rax
	salq	$3, %rax
	movq	%rax, -144(%rbp)
	movl	$0, -244(%rbp)
	jmp	.L20
.L23:
	movl	$0, -240(%rbp)
	jmp	.L21
.L22:
	movq	%rbx, %rcx
	shrq	$3, %rcx
	movq	-144(%rbp), %rax
	movl	-244(%rbp), %edx
	movslq	%edx, %rsi
	movl	-240(%rbp), %edx
	movslq	%edx, %rdx
	imulq	%rcx, %rdx
	addq	%rsi, %rdx
	movq	$0, (%rax,%rdx,8)
	addl	$1, -240(%rbp)
.L21:
	cmpl	$7, -240(%rbp)
	jle	.L22
	addl	$1, -244(%rbp)
.L20:
	movl	-256(%rbp), %eax
	cmpl	%eax, -244(%rbp)
	jl	.L23
	movq	$0, -128(%rbp)
	movq	$0, -120(%rbp)
	movq	$0, -112(%rbp)
	movq	$0, -104(%rbp)
	movq	$0, -96(%rbp)
	movq	$0, -88(%rbp)
	movq	$0, -80(%rbp)
	movq	$0, -72(%rbp)
	movl	$0, -236(%rbp)
	jmp	.L24
.L31:
	negq	-208(%rbp)
	movl	-236(%rbp), %eax
	andl	$1, %eax
	testl	%eax, %eax
	jne	.L25
	negq	-216(%rbp)
.L25:
	cmpl	$4, -236(%rbp)
	jne	.L26
	negq	-224(%rbp)
.L26:
	movl	$0, -232(%rbp)
	jmp	.L27
.L28:
	movq	-192(%rbp), %rax
	movl	-232(%rbp), %edx
	movslq	%edx, %rdx
	movq	(%rax,%rdx,8), %rax
	imulq	-224(%rbp), %rax
	movq	%rax, %rcx
	movq	-176(%rbp), %rax
	movl	-232(%rbp), %edx
	movslq	%edx, %rdx
	movq	(%rax,%rdx,8), %rax
	imulq	-216(%rbp), %rax
	addq	%rax, %rcx
	movq	-160(%rbp), %rax
	movl	-232(%rbp), %edx
	movslq	%edx, %rdx
	movq	(%rax,%rdx,8), %rax
	imulq	-208(%rbp), %rax
	movq	%rbx, %rsi
	shrq	$3, %rsi
	addq	%rax, %rcx
	movq	-144(%rbp), %rax
	movl	-232(%rbp), %edx
	movslq	%edx, %rdi
	movl	-236(%rbp), %edx
	movslq	%edx, %rdx
	imulq	%rsi, %rdx
	addq	%rdi, %rdx
	movq	%rcx, (%rax,%rdx,8)
	addl	$1, -232(%rbp)
.L27:
	movl	-256(%rbp), %eax
	cmpl	%eax, -232(%rbp)
	jl	.L28
	movl	-256(%rbp), %eax
	cltq
	movq	%rbx, %rcx
	shrq	$3, %rcx
	movl	-236(%rbp), %edx
	movslq	%edx, %rdx
	imulq	%rcx, %rdx
	leaq	0(,%rdx,8), %rcx
	movq	-144(%rbp), %rdx
	leaq	(%rcx,%rdx), %rdi
	leaq	compare(%rip), %rdx
	movq	%rdx, %rcx
	movl	$8, %edx
	movq	%rax, %rsi
	call	qsort@PLT
	movl	$0, -228(%rbp)
	jmp	.L29
.L30:
	movl	-236(%rbp), %eax
	cltq
	movq	-128(%rbp,%rax,8), %rsi
	movq	%rbx, %rcx
	shrq	$3, %rcx
	movq	-144(%rbp), %rax
	movl	-228(%rbp), %edx
	movslq	%edx, %rdi
	movl	-236(%rbp), %edx
	movslq	%edx, %rdx
	imulq	%rcx, %rdx
	addq	%rdi, %rdx
	movq	(%rax,%rdx,8), %rax
	leaq	(%rsi,%rax), %rdx
	movl	-236(%rbp), %eax
	cltq
	movq	%rdx, -128(%rbp,%rax,8)
	addl	$1, -228(%rbp)
.L29:
	movl	-252(%rbp), %eax
	cmpl	%eax, -228(%rbp)
	jl	.L30
	addl	$1, -236(%rbp)
.L24:
	cmpl	$7, -236(%rbp)
	jle	.L31
	leaq	-128(%rbp), %rax
	leaq	compare(%rip), %rdx
	movq	%rdx, %rcx
	movl	$8, %edx
	movl	$8, %esi
	movq	%rax, %rdi
	call	qsort@PLT
	movq	-128(%rbp), %rax
	movq	%rax, -136(%rbp)
	movq	-136(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	movq	-376(%rbp), %rsp
	movq	-56(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L33
	call	__stack_chk_fail@PLT
.L33:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	.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	compare
	.type	compare, @function
compare:
.LFB39:
	.cfi_startproc
	endbr64
	movq	(%rsi), %rdx
	movl	$1, %eax
	cmpq	%rdx, (%rdi)
	jl	.L1
	setg	%al
	movzbl	%al, %eax
	negl	%eax
.L1:
	ret
	.cfi_endproc
.LFE39:
	.size	compare, .-compare
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d%d"
.LC1:
	.string	"%ld%ld%ld"
.LC2:
	.string	"%ld\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB40:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	leaq	.LC0(%rip), %rdi
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	pushq	%r15
	pushq	%r14
	leaq	-132(%rbp), %rdx
	leaq	-136(%rbp), %rsi
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$168, %rsp
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	movq	%fs:40, %rax
	movq	%rax, -56(%rbp)
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movslq	-136(%rbp), %r14
	movq	%rsp, %rdi
	leaq	0(,%r14,8), %rsi
	movq	%r14, %rcx
	leaq	15(%rsi), %rax
	movq	%rax, %r8
	movq	%rax, %rdx
	andq	$-4096, %r8
	andq	$-16, %rdx
	subq	%r8, %rdi
	cmpq	%rdi, %rsp
	je	.L7
.L60:
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	cmpq	%rdi, %rsp
	jne	.L60
.L7:
	andl	$4095, %edx
	subq	%rdx, %rsp
	testq	%rdx, %rdx
	jne	.L61
.L8:
	movq	%rax, %r8
	movq	%rax, %rdx
	movq	%rsp, %rdi
	movq	%rsp, %r15
	andq	$-4096, %r8
	andq	$-16, %rdx
	subq	%r8, %rdi
.L9:
	cmpq	%rdi, %rsp
	je	.L10
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	jmp	.L9
.L61:
	orq	$0, -8(%rsp,%rdx)
	jmp	.L8
.L10:
	andl	$4095, %edx
	subq	%rdx, %rsp
	testq	%rdx, %rdx
	jne	.L62
.L11:
	movq	%rax, %rdx
	movq	%rsp, %rdi
	andq	$-4096, %rax
	movq	%rsp, %r8
	andq	$-16, %rdx
	subq	%rax, %rdi
.L12:
	cmpq	%rdi, %rsp
	je	.L13
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	jmp	.L12
.L62:
	orq	$0, -8(%rsp,%rdx)
	jmp	.L11
.L13:
	movq	%rdx, %rax
	andl	$4095, %eax
	subq	%rax, %rsp
	testq	%rax, %rax
	je	.L14
	orq	$0, -8(%rsp,%rax)
.L14:
	movq	%rsp, %r9
	testl	%ecx, %ecx
	jle	.L15
	movq	%r8, -152(%rbp)
	movq	%r15, %rbx
	xorl	%r12d, %r12d
	movq	%r8, %r13
	movq	%r9, -160(%rbp)
	movq	%r9, %r14
	.p2align 4,,10
	.p2align 3
.L16:
	movq	%r14, %rcx
	movq	%r13, %rdx
	movq	%rbx, %rsi
	xorl	%eax, %eax
	addl	$1, %r12d
	addq	$8, %rbx
	addq	$8, %r13
	addq	$8, %r14
	leaq	.LC1(%rip), %rdi
	call	__isoc99_scanf@PLT
	movl	-136(%rbp), %ecx
	cmpl	%r12d, %ecx
	jg	.L16
	movslq	%ecx, %r14
	movq	%rsp, %rdx
	movq	-152(%rbp), %r8
	movq	-160(%rbp), %r9
	movq	%r14, %rax
	leaq	0(,%r14,8), %rbx
	salq	$6, %rax
	movq	%rax, %rsi
	andq	$-4096, %rsi
	subq	%rsi, %rdx
.L17:
	cmpq	%rdx, %rsp
	je	.L18
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	jmp	.L17
.L18:
	andl	$4095, %eax
	subq	%rax, %rsp
	testq	%rax, %rax
	je	.L19
	orq	$0, -8(%rsp,%rax)
.L19:
	movq	%rbx, %rax
	movq	%rsp, %r10
	shrq	$3, %rax
	movq	%rax, -152(%rbp)
	testl	%ecx, %ecx
	jle	.L20
	leaq	0(,%r14,8), %r12
	movq	%r10, %rdi
	xorl	%esi, %esi
	movq	%r9, -184(%rbp)
	movq	%r12, %rdx
	movq	%r8, -176(%rbp)
	movl	%ecx, -168(%rbp)
	call	memset@PLT
	movq	%r12, %rdx
	xorl	%esi, %esi
	leaq	(%rax,%rbx), %rdi
	movq	%rax, -160(%rbp)
	call	memset@PLT
	movq	%r12, %rdx
	xorl	%esi, %esi
	movq	%rax, %rdi
	addq	%rbx, %rdi
	call	memset@PLT
	movq	%r12, %rdx
	xorl	%esi, %esi
	movq	%rax, %rdi
	addq	%rbx, %rdi
	call	memset@PLT
	movq	%r12, %rdx
	xorl	%esi, %esi
	movq	%rax, %rdi
	addq	%rbx, %rdi
	call	memset@PLT
	movq	%r12, %rdx
	xorl	%esi, %esi
	movq	%rax, %rdi
	addq	%rbx, %rdi
	call	memset@PLT
	movq	%r12, %rdx
	xorl	%esi, %esi
	movq	%rax, %rdi
	addq	%rbx, %rdi
	call	memset@PLT
	movq	%r12, %rdx
	xorl	%esi, %esi
	movq	%rax, %rdi
	addq	%rbx, %rdi
	call	memset@PLT
	movq	-184(%rbp), %r9
	movq	-176(%rbp), %r8
	movl	-168(%rbp), %ecx
	movq	-160(%rbp), %r10
.L20:
	pxor	%xmm0, %xmm0
	leaq	-128(%rbp), %rsi
	movq	%r10, %rdi
	xorl	%r11d, %r11d
	movq	-152(%rbp), %rax
	movaps	%xmm0, -128(%rbp)
	movq	$-1, %r13
	movl	$1, %r12d
	movq	%rsi, -160(%rbp)
	movq	%r14, %rsi
	salq	$3, %rax
	movaps	%xmm0, -112(%rbp)
	movq	%rax, -208(%rbp)
	movq	$-1, %rax
	movaps	%xmm0, -96(%rbp)
	movq	%rax, %r14
	movaps	%xmm0, -80(%rbp)
	.p2align 4,,10
	.p2align 3
.L32:
	movq	%r13, %rax
	negq	%r14
	movslq	%r11d, %rbx
	negq	%rax
	testb	$1, %r11b
	cmove	%rax, %r13
	movq	%r12, %rax
	negq	%rax
	cmpq	$4, %r11
	cmove	%rax, %r12
	xorl	%edx, %edx
	testl	%ecx, %ecx
	jle	.L27
	.p2align 4,,10
	.p2align 3
.L26:
	movq	(%r15,%rdx,8), %rax
	movq	(%r8,%rdx,8), %rcx
	imulq	%r12, %rax
	imulq	%r13, %rcx
	addq	%rcx, %rax
	movq	(%r9,%rdx,8), %rcx
	imulq	%r14, %rcx
	addq	%rcx, %rax
	movq	%rax, (%rdi,%rdx,8)
	addq	$1, %rdx
	cmpq	%rdx, %rsi
	jne	.L26
.L27:
	leaq	compare(%rip), %rcx
	movl	$8, %edx
	movq	%r9, -200(%rbp)
	movq	%r8, -192(%rbp)
	movq	%r11, -184(%rbp)
	movq	%r10, -176(%rbp)
	movq	%rdi, -168(%rbp)
	call	qsort@PLT
	movl	-132(%rbp), %esi
	movq	-168(%rbp), %rdi
	movq	-176(%rbp), %r10
	movq	-184(%rbp), %r11
	testl	%esi, %esi
	movq	-192(%rbp), %r8
	movq	-200(%rbp), %r9
	jle	.L25
	movq	-160(%rbp), %rax
	movq	(%rax,%r11,8), %rdx
	cmpl	$1, %esi
	je	.L37
	movl	%esi, %ecx
	movq	%rdi, %rax
	pxor	%xmm0, %xmm0
	shrl	%ecx
	salq	$4, %rcx
	addq	%rdi, %rcx
	.p2align 4,,10
	.p2align 3
.L29:
	movdqu	(%rax), %xmm2
	addq	$16, %rax
	paddq	%xmm2, %xmm0
	cmpq	%rax, %rcx
	jne	.L29
	movdqa	%xmm0, %xmm1
	psrldq	$8, %xmm1
	paddq	%xmm1, %xmm0
	movq	%xmm0, %rax
	addq	%rax, %rdx
	movl	%esi, %eax
	andl	$-2, %eax
	andl	$1, %esi
	je	.L30
.L28:
	imulq	-152(%rbp), %rbx
	cltq
	addq	%rbx, %rax
	addq	(%r10,%rax,8), %rdx
.L30:
	movq	-160(%rbp), %rax
	movq	%rdx, (%rax,%r11,8)
.L25:
	addq	$1, %r11
	addq	-208(%rbp), %rdi
	cmpq	$8, %r11
	je	.L31
	movslq	-136(%rbp), %rsi
	movq	%rsi, %rcx
	jmp	.L32
	.p2align 4,,10
	.p2align 3
.L31:
	movq	-160(%rbp), %rdi
	movl	$8, %edx
	movl	$8, %esi
	leaq	compare(%rip), %rcx
	call	qsort@PLT
	movq	-128(%rbp), %rdx
	xorl	%eax, %eax
	movl	$1, %edi
	leaq	.LC2(%rip), %rsi
	call	__printf_chk@PLT
	movq	-56(%rbp), %rax
	subq	%fs:40, %rax
	jne	.L63
	leaq	-40(%rbp), %rsp
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
.L37:
	.cfi_restore_state
	xorl	%eax, %eax
	jmp	.L28
.L15:
	movq	%r14, %rax
	movq	%rsp, %rdx
	salq	$6, %rax
	movq	%rax, %rdi
	andq	$-4096, %rdi
	subq	%rdi, %rdx
.L33:
	cmpq	%rdx, %rsp
	je	.L34
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	jmp	.L33
.L34:
	andl	$4095, %eax
	subq	%rax, %rsp
	testq	%rax, %rax
	je	.L35
	orq	$0, -8(%rsp,%rax)
.L35:
	shrq	$3, %rsi
	movq	%rsp, %r10
	movq	%rsi, -152(%rbp)
	jmp	.L20
.L63:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE40:
	.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	compare
	.type	compare, @function
compare:
.LFB39:
	.cfi_startproc
	endbr64
	movq	(%rsi), %rdx
	movl	$1, %eax
	cmpq	%rdx, (%rdi)
	jl	.L1
	setg	%al
	movzbl	%al, %eax
	negl	%eax
.L1:
	ret
	.cfi_endproc
.LFE39:
	.size	compare, .-compare
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d%d"
.LC1:
	.string	"%ld%ld%ld"
.LC2:
	.string	"%ld\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB40:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	leaq	.LC0(%rip), %rdi
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	pushq	%r15
	pushq	%r14
	leaq	-132(%rbp), %rdx
	leaq	-136(%rbp), %rsi
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$168, %rsp
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	movq	%fs:40, %rax
	movq	%rax, -56(%rbp)
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movslq	-136(%rbp), %r14
	movq	%rsp, %rdi
	leaq	0(,%r14,8), %rsi
	movq	%r14, %rcx
	leaq	15(%rsi), %rax
	movq	%rax, %r8
	movq	%rax, %rdx
	andq	$-4096, %r8
	andq	$-16, %rdx
	subq	%r8, %rdi
	cmpq	%rdi, %rsp
	je	.L7
.L60:
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	cmpq	%rdi, %rsp
	jne	.L60
.L7:
	andl	$4095, %edx
	subq	%rdx, %rsp
	testq	%rdx, %rdx
	jne	.L61
.L8:
	movq	%rax, %r8
	movq	%rax, %rdx
	movq	%rsp, %rdi
	movq	%rsp, %r15
	andq	$-4096, %r8
	andq	$-16, %rdx
	subq	%r8, %rdi
.L9:
	cmpq	%rdi, %rsp
	je	.L10
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	jmp	.L9
.L61:
	orq	$0, -8(%rsp,%rdx)
	jmp	.L8
.L10:
	andl	$4095, %edx
	subq	%rdx, %rsp
	testq	%rdx, %rdx
	jne	.L62
.L11:
	movq	%rax, %rdx
	movq	%rsp, %rdi
	andq	$-4096, %rax
	movq	%rsp, %r8
	andq	$-16, %rdx
	subq	%rax, %rdi
.L12:
	cmpq	%rdi, %rsp
	je	.L13
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	jmp	.L12
.L62:
	orq	$0, -8(%rsp,%rdx)
	jmp	.L11
.L13:
	movq	%rdx, %rax
	andl	$4095, %eax
	subq	%rax, %rsp
	testq	%rax, %rax
	je	.L14
	orq	$0, -8(%rsp,%rax)
.L14:
	movq	%rsp, %r9
	testl	%ecx, %ecx
	jle	.L15
	movq	%r8, -152(%rbp)
	movq	%r15, %rbx
	xorl	%r12d, %r12d
	movq	%r8, %r13
	movq	%r9, -160(%rbp)
	movq	%r9, %r14
	.p2align 4,,10
	.p2align 3
.L16:
	movq	%r14, %rcx
	movq	%r13, %rdx
	movq	%rbx, %rsi
	xorl	%eax, %eax
	addl	$1, %r12d
	addq	$8, %rbx
	addq	$8, %r13
	addq	$8, %r14
	leaq	.LC1(%rip), %rdi
	call	__isoc99_scanf@PLT
	movl	-136(%rbp), %ecx
	cmpl	%r12d, %ecx
	jg	.L16
	movslq	%ecx, %r14
	movq	%rsp, %rdx
	movq	-152(%rbp), %r8
	movq	-160(%rbp), %r9
	movq	%r14, %rax
	leaq	0(,%r14,8), %rbx
	salq	$6, %rax
	movq	%rax, %rsi
	andq	$-4096, %rsi
	subq	%rsi, %rdx
.L17:
	cmpq	%rdx, %rsp
	je	.L18
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	jmp	.L17
.L18:
	andl	$4095, %eax
	subq	%rax, %rsp
	testq	%rax, %rax
	je	.L19
	orq	$0, -8(%rsp,%rax)
.L19:
	movq	%rbx, %rax
	movq	%rsp, %r10
	shrq	$3, %rax
	movq	%rax, -152(%rbp)
	testl	%ecx, %ecx
	jle	.L20
	leaq	0(,%r14,8), %r12
	movq	%r10, %rdi
	xorl	%esi, %esi
	movq	%r9, -184(%rbp)
	movq	%r12, %rdx
	movq	%r8, -176(%rbp)
	movl	%ecx, -168(%rbp)
	call	memset@PLT
	movq	%r12, %rdx
	xorl	%esi, %esi
	leaq	(%rax,%rbx), %rdi
	movq	%rax, -160(%rbp)
	call	memset@PLT
	movq	%r12, %rdx
	xorl	%esi, %esi
	movq	%rax, %rdi
	addq	%rbx, %rdi
	call	memset@PLT
	movq	%r12, %rdx
	xorl	%esi, %esi
	movq	%rax, %rdi
	addq	%rbx, %rdi
	call	memset@PLT
	movq	%r12, %rdx
	xorl	%esi, %esi
	movq	%rax, %rdi
	addq	%rbx, %rdi
	call	memset@PLT
	movq	%r12, %rdx
	xorl	%esi, %esi
	movq	%rax, %rdi
	addq	%rbx, %rdi
	call	memset@PLT
	movq	%r12, %rdx
	xorl	%esi, %esi
	movq	%rax, %rdi
	addq	%rbx, %rdi
	call	memset@PLT
	movq	%r12, %rdx
	xorl	%esi, %esi
	movq	%rax, %rdi
	addq	%rbx, %rdi
	call	memset@PLT
	movq	-184(%rbp), %r9
	movq	-176(%rbp), %r8
	movl	-168(%rbp), %ecx
	movq	-160(%rbp), %r10
.L20:
	pxor	%xmm0, %xmm0
	leaq	-128(%rbp), %rsi
	movq	%r10, %rdi
	xorl	%r11d, %r11d
	movq	-152(%rbp), %rax
	movaps	%xmm0, -128(%rbp)
	movq	$-1, %r13
	movl	$1, %r12d
	movq	%rsi, -160(%rbp)
	movq	%r14, %rsi
	salq	$3, %rax
	movaps	%xmm0, -112(%rbp)
	movq	%rax, -208(%rbp)
	movq	$-1, %rax
	movaps	%xmm0, -96(%rbp)
	movq	%rax, %r14
	movaps	%xmm0, -80(%rbp)
	.p2align 4,,10
	.p2align 3
.L32:
	movq	%r13, %rax
	negq	%r14
	movslq	%r11d, %rbx
	negq	%rax
	testb	$1, %r11b
	cmove	%rax, %r13
	movq	%r12, %rax
	negq	%rax
	cmpq	$4, %r11
	cmove	%rax, %r12
	xorl	%edx, %edx
	testl	%ecx, %ecx
	jle	.L27
	.p2align 4,,10
	.p2align 3
.L26:
	movq	(%r15,%rdx,8), %rax
	movq	(%r8,%rdx,8), %rcx
	imulq	%r12, %rax
	imulq	%r13, %rcx
	addq	%rcx, %rax
	movq	(%r9,%rdx,8), %rcx
	imulq	%r14, %rcx
	addq	%rcx, %rax
	movq	%rax, (%rdi,%rdx,8)
	addq	$1, %rdx
	cmpq	%rdx, %rsi
	jne	.L26
.L27:
	leaq	compare(%rip), %rcx
	movl	$8, %edx
	movq	%r9, -200(%rbp)
	movq	%r8, -192(%rbp)
	movq	%r11, -184(%rbp)
	movq	%r10, -176(%rbp)
	movq	%rdi, -168(%rbp)
	call	qsort@PLT
	movl	-132(%rbp), %esi
	movq	-168(%rbp), %rdi
	movq	-176(%rbp), %r10
	movq	-184(%rbp), %r11
	testl	%esi, %esi
	movq	-192(%rbp), %r8
	movq	-200(%rbp), %r9
	jle	.L25
	movq	-160(%rbp), %rax
	movq	(%rax,%r11,8), %rdx
	cmpl	$1, %esi
	je	.L37
	movl	%esi, %ecx
	movq	%rdi, %rax
	pxor	%xmm0, %xmm0
	shrl	%ecx
	salq	$4, %rcx
	addq	%rdi, %rcx
	.p2align 4,,10
	.p2align 3
.L29:
	movdqu	(%rax), %xmm2
	addq	$16, %rax
	paddq	%xmm2, %xmm0
	cmpq	%rax, %rcx
	jne	.L29
	movdqa	%xmm0, %xmm1
	psrldq	$8, %xmm1
	paddq	%xmm1, %xmm0
	movq	%xmm0, %rax
	addq	%rax, %rdx
	movl	%esi, %eax
	andl	$-2, %eax
	andl	$1, %esi
	je	.L30
.L28:
	imulq	-152(%rbp), %rbx
	cltq
	addq	%rbx, %rax
	addq	(%r10,%rax,8), %rdx
.L30:
	movq	-160(%rbp), %rax
	movq	%rdx, (%rax,%r11,8)
.L25:
	addq	$1, %r11
	addq	-208(%rbp), %rdi
	cmpq	$8, %r11
	je	.L31
	movslq	-136(%rbp), %rsi
	movq	%rsi, %rcx
	jmp	.L32
	.p2align 4,,10
	.p2align 3
.L31:
	movq	-160(%rbp), %rdi
	movl	$8, %edx
	movl	$8, %esi
	leaq	compare(%rip), %rcx
	call	qsort@PLT
	movq	-128(%rbp), %rdx
	xorl	%eax, %eax
	movl	$1, %edi
	leaq	.LC2(%rip), %rsi
	call	__printf_chk@PLT
	movq	-56(%rbp), %rax
	subq	%fs:40, %rax
	jne	.L63
	leaq	-40(%rbp), %rsp
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
.L37:
	.cfi_restore_state
	xorl	%eax, %eax
	jmp	.L28
.L15:
	movq	%r14, %rax
	movq	%rsp, %rdx
	salq	$6, %rax
	movq	%rax, %rdi
	andq	$-4096, %rdi
	subq	%rdi, %rdx
.L33:
	cmpq	%rdx, %rsp
	je	.L34
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	jmp	.L33
.L34:
	andl	$4095, %eax
	subq	%rax, %rsp
	testq	%rax, %rax
	je	.L35
	orq	$0, -8(%rsp,%rax)
.L35:
	shrq	$3, %rsi
	movq	%rsp, %r10
	movq	%rsi, -152(%rbp)
	jmp	.L20
.L63:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE40:
	.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<stdlib.h>
int compare(long *a, long *b){
    if(*a<*b) return 1;
    else if(*b<*a) return -1;
    else return 0;
}
int main(){
    int n,m;
    scanf("%d%d",&n,&m);
    long x[n],y[n],z[n];
    for(int i=0; i<n; i++){
        scanf("%ld%ld%ld",&x[i],&y[i],&z[i]);
    }
    long t1=1,t2=-1,t3=-1;
    long sum[8][n];
  for(int a=0; a<n; a++){
    for(int b=0; b<8; b++){
		sum[b][a]=0;
    }
  }
    long max[8]={0,0,0,0,0,0,0,0};
    for(int j=0; j<8; j++){
        t3 *= -1;
        if(j%2==0) t2 *= -1;
        if(j==4) t1 *= -1;
        for(int k=0; k<n; k++){
            sum[j][k]=t1*x[k]+t2*y[k]+t3*z[k];
        }
        qsort(sum[j],n,sizeof(long),compare);
        for(int l=0; l<m; l++){
            max[j] += sum[j][l];
        }
    }
    qsort(max,8,sizeof(long),compare);
    long max_=max[0];
    printf("%ld\n",max_);
    return 0;
}
5 3
1 -2 3
-4 5 -6
7 -8 -9
-10 19 -12
13 -14 15
 10 5
10 -80 21
23 8 38
-94 28 11
-26 -2 18
-69 72 79
-26 -86 -54
-72 -50 48
21 65 -32
40 -94 87
-62 18 82
 5 3
1 -2 3
-4 5 -6
7 -8 -16
-10 19 -12
13 -14 15
 5 5
1 -2 3
-4 5 -6
7 -8 -16
-10 19 -12
13 -14 15
 10 5
10 -80 21
23 8 10
-94 28 11
-26 -2 18
-69 72 79
-26 -86 -54
-89 -50 48
21 65 -32
40 -94 87
-62 18 82
 5 3
3 0 4
1 5 18
2 6 5
3 5 8
7 7 9
 5 5
1 -2 3
-4 5 -6
7 -8 -16
-10 19 -12
13 -3 15
 10 5
10 -80 21
23 8 10
-94 28 11
-26 -2 18
-69 72 79
-26 -86 -54
-89 -8 48
21 65 -32
40 -94 87
-62 18 82
 5 3
3 0 4
1 5 18
2 6 5
3 5 4
7 7 9
 5 5
1 -2 4
-4 5 -6
7 -8 -16
-10 19 -12
13 -3 15

54
 627
 57
 23
 644
 63
 34
 686
 60
 33

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<stdlib.h>
int compare(long *a, long *b){
    if(*a<*b) return 1;
    else if(*b<*a) return -1;
    else return 0;
}
int main(){
    int n,m;
    scanf("%d%d",&n,&m);
    long x[n],y[n],z[n];
    for(int i=0; i<n; i++){
        scanf("%ld%ld%ld",&x[i],&y[i],&z[i]);
    }
    long t1=1,t2=-1,t3=-1;
    long sum[8][n];
  for(int a=0; a<n; a++){
    for(int b=0; b<8; b++){
		sum[b][a]=0;
    }
  }
    long max[8]={0,0,0,0,0,0,0,0};
    for(int j=0; j<8; j++){
        t3 *= -1;
        if(j%2==0) t2 *= -1;
        if(j==4) t1 *= -1;
        for(int k=0; k<n; k++){
            sum[j][k]=t1*x[k]+t2*y[k]+t3*z[k];
        }
        qsort(sum[j],n,sizeof(long),compare);
        for(int l=0; l<m; l++){
            max[j] += sum[j][l];
        }
    }
    qsort(max,8,sizeof(long),compare);
    long max_=max[0];
    printf("%ld\n",max_);
    return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	compare
	.type	compare, @function
compare:
.LFB6:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movq	%rdi, -8(%rbp)
	movq	%rsi, -16(%rbp)
	movq	-8(%rbp), %rax
	movq	(%rax), %rdx
	movq	-16(%rbp), %rax
	movq	(%rax), %rax
	cmpq	%rax, %rdx
	jge	.L2
	movl	$1, %eax
	jmp	.L3
.L2:
	movq	-16(%rbp), %rax
	movq	(%rax), %rdx
	movq	-8(%rbp), %rax
	movq	(%rax), %rax
	cmpq	%rax, %rdx
	jge	.L4
	movl	$-1, %eax
	jmp	.L3
.L4:
	movl	$0, %eax
.L3:
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	compare, .-compare
	.section	.rodata
.LC0:
	.string	"%d%d"
.LC1:
	.string	"%ld%ld%ld"
.LC2:
	.string	"%ld\n"
	.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
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$344, %rsp
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	movq	%fs:40, %rax
	movq	%rax, -56(%rbp)
	xorl	%eax, %eax
	movq	%rsp, %rax
	movq	%rax, -376(%rbp)
	leaq	-252(%rbp), %rdx
	leaq	-256(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-256(%rbp), %edx
	movslq	%edx, %rax
	subq	$1, %rax
	movq	%rax, -200(%rbp)
	movslq	%edx, %rax
	movq	%rax, %r12
	movl	$0, %r13d
	movslq	%edx, %rax
	movq	%rax, %r14
	movl	$0, %r15d
	movslq	%edx, %rax
	leaq	0(,%rax,8), %rdx
	movl	$16, %eax
	subq	$1, %rax
	addq	%rdx, %rax
	movl	$16, %ebx
	movl	$0, %edx
	divq	%rbx
	imulq	$16, %rax, %rdx
	movq	%rdx, %rax
	andq	$-4096, %rax
	movq	%rsp, %rcx
	subq	%rax, %rcx
.L6:
	cmpq	%rcx, %rsp
	je	.L7
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	jmp	.L6
.L7:
	movq	%rdx, %rax
	andl	$4095, %eax
	subq	%rax, %rsp
	movq	%rdx, %rax
	andl	$4095, %eax
	testq	%rax, %rax
	je	.L8
	movq	%rdx, %rax
	andl	$4095, %eax
	subq	$8, %rax
	addq	%rsp, %rax
	orq	$0, (%rax)
.L8:
	movq	%rsp, %rax
	addq	$7, %rax
	shrq	$3, %rax
	salq	$3, %rax
	movq	%rax, -192(%rbp)
	movl	-256(%rbp), %edx
	movslq	%edx, %rax
	subq	$1, %rax
	movq	%rax, -184(%rbp)
	movslq	%edx, %rax
	movq	%rax, -272(%rbp)
	movq	$0, -264(%rbp)
	movslq	%edx, %rax
	movq	%rax, -288(%rbp)
	movq	$0, -280(%rbp)
	movslq	%edx, %rax
	leaq	0(,%rax,8), %rdx
	movl	$16, %eax
	subq	$1, %rax
	addq	%rdx, %rax
	movl	$16, %ebx
	movl	$0, %edx
	divq	%rbx
	imulq	$16, %rax, %rax
	movq	%rax, %rcx
	andq	$-4096, %rcx
	movq	%rsp, %rdx
	subq	%rcx, %rdx
.L9:
	cmpq	%rdx, %rsp
	je	.L10
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	jmp	.L9
.L10:
	movq	%rax, %rdx
	andl	$4095, %edx
	subq	%rdx, %rsp
	movq	%rax, %rdx
	andl	$4095, %edx
	testq	%rdx, %rdx
	je	.L11
	andl	$4095, %eax
	subq	$8, %rax
	addq	%rsp, %rax
	orq	$0, (%rax)
.L11:
	movq	%rsp, %rax
	addq	$7, %rax
	shrq	$3, %rax
	salq	$3, %rax
	movq	%rax, -176(%rbp)
	movl	-256(%rbp), %eax
	movslq	%eax, %rdx
	subq	$1, %rdx
	movq	%rdx, -168(%rbp)
	movslq	%eax, %rdx
	movq	%rdx, -304(%rbp)
	movq	$0, -296(%rbp)
	movslq	%eax, %rdx
	movq	%rdx, -320(%rbp)
	movq	$0, -312(%rbp)
	cltq
	leaq	0(,%rax,8), %rdx
	movl	$16, %eax
	subq	$1, %rax
	addq	%rdx, %rax
	movl	$16, %ebx
	movl	$0, %edx
	divq	%rbx
	imulq	$16, %rax, %rax
	movq	%rax, %rcx
	andq	$-4096, %rcx
	movq	%rsp, %rdx
	subq	%rcx, %rdx
.L12:
	cmpq	%rdx, %rsp
	je	.L13
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	jmp	.L12
.L13:
	movq	%rax, %rdx
	andl	$4095, %edx
	subq	%rdx, %rsp
	movq	%rax, %rdx
	andl	$4095, %edx
	testq	%rdx, %rdx
	je	.L14
	andl	$4095, %eax
	subq	$8, %rax
	addq	%rsp, %rax
	orq	$0, (%rax)
.L14:
	movq	%rsp, %rax
	addq	$7, %rax
	shrq	$3, %rax
	salq	$3, %rax
	movq	%rax, -160(%rbp)
	movl	$0, -248(%rbp)
	jmp	.L15
.L16:
	movl	-248(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	movq	-160(%rbp), %rax
	leaq	(%rdx,%rax), %rcx
	movl	-248(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	movq	-176(%rbp), %rax
	addq	%rax, %rdx
	movl	-248(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rsi
	movq	-192(%rbp), %rax
	addq	%rsi, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -248(%rbp)
.L15:
	movl	-256(%rbp), %eax
	cmpl	%eax, -248(%rbp)
	jl	.L16
	movq	$1, -224(%rbp)
	movq	$-1, -216(%rbp)
	movq	$-1, -208(%rbp)
	movl	-256(%rbp), %eax
	movslq	%eax, %rdx
	subq	$1, %rdx
	movq	%rdx, -152(%rbp)
	movslq	%eax, %rdx
	movq	%rdx, -336(%rbp)
	movq	$0, -328(%rbp)
	movslq	%eax, %rdx
	leaq	0(,%rdx,8), %rbx
	movslq	%eax, %rdx
	movq	%rdx, -352(%rbp)
	movq	$0, -344(%rbp)
	movslq	%eax, %rdx
	movq	%rdx, -368(%rbp)
	movq	$0, -360(%rbp)
	cltq
	salq	$6, %rax
	movq	%rax, %rdx
	movl	$16, %eax
	subq	$1, %rax
	addq	%rdx, %rax
	movl	$16, %edi
	movl	$0, %edx
	divq	%rdi
	imulq	$16, %rax, %rax
	movq	%rax, %rcx
	andq	$-4096, %rcx
	movq	%rsp, %rdx
	subq	%rcx, %rdx
.L17:
	cmpq	%rdx, %rsp
	je	.L18
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	jmp	.L17
.L18:
	movq	%rax, %rdx
	andl	$4095, %edx
	subq	%rdx, %rsp
	movq	%rax, %rdx
	andl	$4095, %edx
	testq	%rdx, %rdx
	je	.L19
	andl	$4095, %eax
	subq	$8, %rax
	addq	%rsp, %rax
	orq	$0, (%rax)
.L19:
	movq	%rsp, %rax
	addq	$7, %rax
	shrq	$3, %rax
	salq	$3, %rax
	movq	%rax, -144(%rbp)
	movl	$0, -244(%rbp)
	jmp	.L20
.L23:
	movl	$0, -240(%rbp)
	jmp	.L21
.L22:
	movq	%rbx, %rcx
	shrq	$3, %rcx
	movq	-144(%rbp), %rax
	movl	-244(%rbp), %edx
	movslq	%edx, %rsi
	movl	-240(%rbp), %edx
	movslq	%edx, %rdx
	imulq	%rcx, %rdx
	addq	%rsi, %rdx
	movq	$0, (%rax,%rdx,8)
	addl	$1, -240(%rbp)
.L21:
	cmpl	$7, -240(%rbp)
	jle	.L22
	addl	$1, -244(%rbp)
.L20:
	movl	-256(%rbp), %eax
	cmpl	%eax, -244(%rbp)
	jl	.L23
	movq	$0, -128(%rbp)
	movq	$0, -120(%rbp)
	movq	$0, -112(%rbp)
	movq	$0, -104(%rbp)
	movq	$0, -96(%rbp)
	movq	$0, -88(%rbp)
	movq	$0, -80(%rbp)
	movq	$0, -72(%rbp)
	movl	$0, -236(%rbp)
	jmp	.L24
.L31:
	negq	-208(%rbp)
	movl	-236(%rbp), %eax
	andl	$1, %eax
	testl	%eax, %eax
	jne	.L25
	negq	-216(%rbp)
.L25:
	cmpl	$4, -236(%rbp)
	jne	.L26
	negq	-224(%rbp)
.L26:
	movl	$0, -232(%rbp)
	jmp	.L27
.L28:
	movq	-192(%rbp), %rax
	movl	-232(%rbp), %edx
	movslq	%edx, %rdx
	movq	(%rax,%rdx,8), %rax
	imulq	-224(%rbp), %rax
	movq	%rax, %rcx
	movq	-176(%rbp), %rax
	movl	-232(%rbp), %edx
	movslq	%edx, %rdx
	movq	(%rax,%rdx,8), %rax
	imulq	-216(%rbp), %rax
	addq	%rax, %rcx
	movq	-160(%rbp), %rax
	movl	-232(%rbp), %edx
	movslq	%edx, %rdx
	movq	(%rax,%rdx,8), %rax
	imulq	-208(%rbp), %rax
	movq	%rbx, %rsi
	shrq	$3, %rsi
	addq	%rax, %rcx
	movq	-144(%rbp), %rax
	movl	-232(%rbp), %edx
	movslq	%edx, %rdi
	movl	-236(%rbp), %edx
	movslq	%edx, %rdx
	imulq	%rsi, %rdx
	addq	%rdi, %rdx
	movq	%rcx, (%rax,%rdx,8)
	addl	$1, -232(%rbp)
.L27:
	movl	-256(%rbp), %eax
	cmpl	%eax, -232(%rbp)
	jl	.L28
	movl	-256(%rbp), %eax
	cltq
	movq	%rbx, %rcx
	shrq	$3, %rcx
	movl	-236(%rbp), %edx
	movslq	%edx, %rdx
	imulq	%rcx, %rdx
	leaq	0(,%rdx,8), %rcx
	movq	-144(%rbp), %rdx
	leaq	(%rcx,%rdx), %rdi
	leaq	compare(%rip), %rdx
	movq	%rdx, %rcx
	movl	$8, %edx
	movq	%rax, %rsi
	call	qsort@PLT
	movl	$0, -228(%rbp)
	jmp	.L29
.L30:
	movl	-236(%rbp), %eax
	cltq
	movq	-128(%rbp,%rax,8), %rsi
	movq	%rbx, %rcx
	shrq	$3, %rcx
	movq	-144(%rbp), %rax
	movl	-228(%rbp), %edx
	movslq	%edx, %rdi
	movl	-236(%rbp), %edx
	movslq	%edx, %rdx
	imulq	%rcx, %rdx
	addq	%rdi, %rdx
	movq	(%rax,%rdx,8), %rax
	leaq	(%rsi,%rax), %rdx
	movl	-236(%rbp), %eax
	cltq
	movq	%rdx, -128(%rbp,%rax,8)
	addl	$1, -228(%rbp)
.L29:
	movl	-252(%rbp), %eax
	cmpl	%eax, -228(%rbp)
	jl	.L30
	addl	$1, -236(%rbp)
.L24:
	cmpl	$7, -236(%rbp)
	jle	.L31
	leaq	-128(%rbp), %rax
	leaq	compare(%rip), %rdx
	movq	%rdx, %rcx
	movl	$8, %edx
	movl	$8, %esi
	movq	%rax, %rdi
	call	qsort@PLT
	movq	-128(%rbp), %rax
	movq	%rax, -136(%rbp)
	movq	-136(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	movq	-376(%rbp), %rsp
	movq	-56(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L33
	call	__stack_chk_fail@PLT
.L33:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	.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	compare
	.type	compare, @function
compare:
.LFB6:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movq	%rdi, -8(%rbp)
	movq	%rsi, -16(%rbp)
	movq	-8(%rbp), %rax
	movq	(%rax), %rdx
	movq	-16(%rbp), %rax
	movq	(%rax), %rax
	cmpq	%rax, %rdx
	jge	.L2
	movl	$1, %eax
	jmp	.L3
.L2:
	movq	-16(%rbp), %rax
	movq	(%rax), %rdx
	movq	-8(%rbp), %rax
	movq	(%rax), %rax
	cmpq	%rax, %rdx
	jge	.L4
	movl	$-1, %eax
	jmp	.L3
.L4:
	movl	$0, %eax
.L3:
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	compare, .-compare
	.section	.rodata
.LC0:
	.string	"%d%d"
.LC1:
	.string	"%ld%ld%ld"
.LC2:
	.string	"%ld\n"
	.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
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$344, %rsp
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	movq	%fs:40, %rax
	movq	%rax, -56(%rbp)
	xorl	%eax, %eax
	movq	%rsp, %rax
	movq	%rax, -376(%rbp)
	leaq	-252(%rbp), %rdx
	leaq	-256(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-256(%rbp), %edx
	movslq	%edx, %rax
	subq	$1, %rax
	movq	%rax, -200(%rbp)
	movslq	%edx, %rax
	movq	%rax, %r12
	movl	$0, %r13d
	movslq	%edx, %rax
	movq	%rax, %r14
	movl	$0, %r15d
	movslq	%edx, %rax
	leaq	0(,%rax,8), %rdx
	movl	$16, %eax
	subq	$1, %rax
	addq	%rdx, %rax
	movl	$16, %ebx
	movl	$0, %edx
	divq	%rbx
	imulq	$16, %rax, %rdx
	movq	%rdx, %rax
	andq	$-4096, %rax
	movq	%rsp, %rcx
	subq	%rax, %rcx
.L6:
	cmpq	%rcx, %rsp
	je	.L7
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	jmp	.L6
.L7:
	movq	%rdx, %rax
	andl	$4095, %eax
	subq	%rax, %rsp
	movq	%rdx, %rax
	andl	$4095, %eax
	testq	%rax, %rax
	je	.L8
	movq	%rdx, %rax
	andl	$4095, %eax
	subq	$8, %rax
	addq	%rsp, %rax
	orq	$0, (%rax)
.L8:
	movq	%rsp, %rax
	addq	$7, %rax
	shrq	$3, %rax
	salq	$3, %rax
	movq	%rax, -192(%rbp)
	movl	-256(%rbp), %edx
	movslq	%edx, %rax
	subq	$1, %rax
	movq	%rax, -184(%rbp)
	movslq	%edx, %rax
	movq	%rax, -272(%rbp)
	movq	$0, -264(%rbp)
	movslq	%edx, %rax
	movq	%rax, -288(%rbp)
	movq	$0, -280(%rbp)
	movslq	%edx, %rax
	leaq	0(,%rax,8), %rdx
	movl	$16, %eax
	subq	$1, %rax
	addq	%rdx, %rax
	movl	$16, %ebx
	movl	$0, %edx
	divq	%rbx
	imulq	$16, %rax, %rax
	movq	%rax, %rcx
	andq	$-4096, %rcx
	movq	%rsp, %rdx
	subq	%rcx, %rdx
.L9:
	cmpq	%rdx, %rsp
	je	.L10
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	jmp	.L9
.L10:
	movq	%rax, %rdx
	andl	$4095, %edx
	subq	%rdx, %rsp
	movq	%rax, %rdx
	andl	$4095, %edx
	testq	%rdx, %rdx
	je	.L11
	andl	$4095, %eax
	subq	$8, %rax
	addq	%rsp, %rax
	orq	$0, (%rax)
.L11:
	movq	%rsp, %rax
	addq	$7, %rax
	shrq	$3, %rax
	salq	$3, %rax
	movq	%rax, -176(%rbp)
	movl	-256(%rbp), %eax
	movslq	%eax, %rdx
	subq	$1, %rdx
	movq	%rdx, -168(%rbp)
	movslq	%eax, %rdx
	movq	%rdx, -304(%rbp)
	movq	$0, -296(%rbp)
	movslq	%eax, %rdx
	movq	%rdx, -320(%rbp)
	movq	$0, -312(%rbp)
	cltq
	leaq	0(,%rax,8), %rdx
	movl	$16, %eax
	subq	$1, %rax
	addq	%rdx, %rax
	movl	$16, %ebx
	movl	$0, %edx
	divq	%rbx
	imulq	$16, %rax, %rax
	movq	%rax, %rcx
	andq	$-4096, %rcx
	movq	%rsp, %rdx
	subq	%rcx, %rdx
.L12:
	cmpq	%rdx, %rsp
	je	.L13
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	jmp	.L12
.L13:
	movq	%rax, %rdx
	andl	$4095, %edx
	subq	%rdx, %rsp
	movq	%rax, %rdx
	andl	$4095, %edx
	testq	%rdx, %rdx
	je	.L14
	andl	$4095, %eax
	subq	$8, %rax
	addq	%rsp, %rax
	orq	$0, (%rax)
.L14:
	movq	%rsp, %rax
	addq	$7, %rax
	shrq	$3, %rax
	salq	$3, %rax
	movq	%rax, -160(%rbp)
	movl	$0, -248(%rbp)
	jmp	.L15
.L16:
	movl	-248(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	movq	-160(%rbp), %rax
	leaq	(%rdx,%rax), %rcx
	movl	-248(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	movq	-176(%rbp), %rax
	addq	%rax, %rdx
	movl	-248(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rsi
	movq	-192(%rbp), %rax
	addq	%rsi, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -248(%rbp)
.L15:
	movl	-256(%rbp), %eax
	cmpl	%eax, -248(%rbp)
	jl	.L16
	movq	$1, -224(%rbp)
	movq	$-1, -216(%rbp)
	movq	$-1, -208(%rbp)
	movl	-256(%rbp), %eax
	movslq	%eax, %rdx
	subq	$1, %rdx
	movq	%rdx, -152(%rbp)
	movslq	%eax, %rdx
	movq	%rdx, -336(%rbp)
	movq	$0, -328(%rbp)
	movslq	%eax, %rdx
	leaq	0(,%rdx,8), %rbx
	movslq	%eax, %rdx
	movq	%rdx, -352(%rbp)
	movq	$0, -344(%rbp)
	movslq	%eax, %rdx
	movq	%rdx, -368(%rbp)
	movq	$0, -360(%rbp)
	cltq
	salq	$6, %rax
	movq	%rax, %rdx
	movl	$16, %eax
	subq	$1, %rax
	addq	%rdx, %rax
	movl	$16, %edi
	movl	$0, %edx
	divq	%rdi
	imulq	$16, %rax, %rax
	movq	%rax, %rcx
	andq	$-4096, %rcx
	movq	%rsp, %rdx
	subq	%rcx, %rdx
.L17:
	cmpq	%rdx, %rsp
	je	.L18
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	jmp	.L17
.L18:
	movq	%rax, %rdx
	andl	$4095, %edx
	subq	%rdx, %rsp
	movq	%rax, %rdx
	andl	$4095, %edx
	testq	%rdx, %rdx
	je	.L19
	andl	$4095, %eax
	subq	$8, %rax
	addq	%rsp, %rax
	orq	$0, (%rax)
.L19:
	movq	%rsp, %rax
	addq	$7, %rax
	shrq	$3, %rax
	salq	$3, %rax
	movq	%rax, -144(%rbp)
	movl	$0, -244(%rbp)
	jmp	.L20
.L23:
	movl	$0, -240(%rbp)
	jmp	.L21
.L22:
	movq	%rbx, %rcx
	shrq	$3, %rcx
	movq	-144(%rbp), %rax
	movl	-244(%rbp), %edx
	movslq	%edx, %rsi
	movl	-240(%rbp), %edx
	movslq	%edx, %rdx
	imulq	%rcx, %rdx
	addq	%rsi, %rdx
	movq	$0, (%rax,%rdx,8)
	addl	$1, -240(%rbp)
.L21:
	cmpl	$7, -240(%rbp)
	jle	.L22
	addl	$1, -244(%rbp)
.L20:
	movl	-256(%rbp), %eax
	cmpl	%eax, -244(%rbp)
	jl	.L23
	movq	$0, -128(%rbp)
	movq	$0, -120(%rbp)
	movq	$0, -112(%rbp)
	movq	$0, -104(%rbp)
	movq	$0, -96(%rbp)
	movq	$0, -88(%rbp)
	movq	$0, -80(%rbp)
	movq	$0, -72(%rbp)
	movl	$0, -236(%rbp)
	jmp	.L24
.L31:
	negq	-208(%rbp)
	movl	-236(%rbp), %eax
	andl	$1, %eax
	testl	%eax, %eax
	jne	.L25
	negq	-216(%rbp)
.L25:
	cmpl	$4, -236(%rbp)
	jne	.L26
	negq	-224(%rbp)
.L26:
	movl	$0, -232(%rbp)
	jmp	.L27
.L28:
	movq	-192(%rbp), %rax
	movl	-232(%rbp), %edx
	movslq	%edx, %rdx
	movq	(%rax,%rdx,8), %rax
	imulq	-224(%rbp), %rax
	movq	%rax, %rcx
	movq	-176(%rbp), %rax
	movl	-232(%rbp), %edx
	movslq	%edx, %rdx
	movq	(%rax,%rdx,8), %rax
	imulq	-216(%rbp), %rax
	addq	%rax, %rcx
	movq	-160(%rbp), %rax
	movl	-232(%rbp), %edx
	movslq	%edx, %rdx
	movq	(%rax,%rdx,8), %rax
	imulq	-208(%rbp), %rax
	movq	%rbx, %rsi
	shrq	$3, %rsi
	addq	%rax, %rcx
	movq	-144(%rbp), %rax
	movl	-232(%rbp), %edx
	movslq	%edx, %rdi
	movl	-236(%rbp), %edx
	movslq	%edx, %rdx
	imulq	%rsi, %rdx
	addq	%rdi, %rdx
	movq	%rcx, (%rax,%rdx,8)
	addl	$1, -232(%rbp)
.L27:
	movl	-256(%rbp), %eax
	cmpl	%eax, -232(%rbp)
	jl	.L28
	movl	-256(%rbp), %eax
	cltq
	movq	%rbx, %rcx
	shrq	$3, %rcx
	movl	-236(%rbp), %edx
	movslq	%edx, %rdx
	imulq	%rcx, %rdx
	leaq	0(,%rdx,8), %rcx
	movq	-144(%rbp), %rdx
	leaq	(%rcx,%rdx), %rdi
	leaq	compare(%rip), %rdx
	movq	%rdx, %rcx
	movl	$8, %edx
	movq	%rax, %rsi
	call	qsort@PLT
	movl	$0, -228(%rbp)
	jmp	.L29
.L30:
	movl	-236(%rbp), %eax
	cltq
	movq	-128(%rbp,%rax,8), %rsi
	movq	%rbx, %rcx
	shrq	$3, %rcx
	movq	-144(%rbp), %rax
	movl	-228(%rbp), %edx
	movslq	%edx, %rdi
	movl	-236(%rbp), %edx
	movslq	%edx, %rdx
	imulq	%rcx, %rdx
	addq	%rdi, %rdx
	movq	(%rax,%rdx,8), %rax
	leaq	(%rsi,%rax), %rdx
	movl	-236(%rbp), %eax
	cltq
	movq	%rdx, -128(%rbp,%rax,8)
	addl	$1, -228(%rbp)
.L29:
	movl	-252(%rbp), %eax
	cmpl	%eax, -228(%rbp)
	jl	.L30
	addl	$1, -236(%rbp)
.L24:
	cmpl	$7, -236(%rbp)
	jle	.L31
	leaq	-128(%rbp), %rax
	leaq	compare(%rip), %rdx
	movq	%rdx, %rcx
	movl	$8, %edx
	movl	$8, %esi
	movq	%rax, %rdi
	call	qsort@PLT
	movq	-128(%rbp), %rax
	movq	%rax, -136(%rbp)
	movq	-136(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	movq	-376(%rbp), %rsp
	movq	-56(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L33
	call	__stack_chk_fail@PLT
.L33:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	.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:
