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 desc(const void *a, const void *b) {
  return *(int *)b - *(int *)a;
}

int main()
{
    int n,l[2000],i,j,k;

    scanf("%d",&n);
    for (i = 0; i < n; i++)
    {
        scanf("%d",&l[i]);
    }
    
    qsort(l,n,sizeof(int),desc);

    long long ans = 0;

    for (i = 0; i < n; i++)
    {
        for (j = i + 1; j < n; j++)
        {
            for (k = j + 1; k < n; k++)
            {
                if(l[i] < l[j] + l[k])ans++;
            }
        }
    }
    
    printf("%lld",ans);
}
```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	desc
	.type	desc, @function
desc:
.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	-16(%rbp), %rax
	movl	(%rax), %edx
	movq	-8(%rbp), %rax
	movl	(%rax), %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	desc, .-desc
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"%lld"
	.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	$4096, %rsp
	orq	$0, (%rsp)
	subq	$3952, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-8040(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -8036(%rbp)
	jmp	.L4
.L5:
	leaq	-8016(%rbp), %rdx
	movl	-8036(%rbp), %eax
	cltq
	salq	$2, %rax
	addq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -8036(%rbp)
.L4:
	movl	-8040(%rbp), %eax
	cmpl	%eax, -8036(%rbp)
	jl	.L5
	movl	-8040(%rbp), %eax
	movslq	%eax, %rsi
	leaq	-8016(%rbp), %rax
	leaq	desc(%rip), %rdx
	movq	%rdx, %rcx
	movl	$4, %edx
	movq	%rax, %rdi
	call	qsort@PLT
	movq	$0, -8024(%rbp)
	movl	$0, -8036(%rbp)
	jmp	.L6
.L12:
	movl	-8036(%rbp), %eax
	addl	$1, %eax
	movl	%eax, -8032(%rbp)
	jmp	.L7
.L11:
	movl	-8032(%rbp), %eax
	addl	$1, %eax
	movl	%eax, -8028(%rbp)
	jmp	.L8
.L10:
	movl	-8036(%rbp), %eax
	cltq
	movl	-8016(%rbp,%rax,4), %edx
	movl	-8032(%rbp), %eax
	cltq
	movl	-8016(%rbp,%rax,4), %ecx
	movl	-8028(%rbp), %eax
	cltq
	movl	-8016(%rbp,%rax,4), %eax
	addl	%ecx, %eax
	cmpl	%eax, %edx
	jge	.L9
	addq	$1, -8024(%rbp)
.L9:
	addl	$1, -8028(%rbp)
.L8:
	movl	-8040(%rbp), %eax
	cmpl	%eax, -8028(%rbp)
	jl	.L10
	addl	$1, -8032(%rbp)
.L7:
	movl	-8040(%rbp), %eax
	cmpl	%eax, -8032(%rbp)
	jl	.L11
	addl	$1, -8036(%rbp)
.L6:
	movl	-8040(%rbp), %eax
	cmpl	%eax, -8036(%rbp)
	jl	.L12
	movq	-8024(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	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	desc
	.type	desc, @function
desc:
.LFB39:
	.cfi_startproc
	endbr64
	movl	(%rsi), %eax
	subl	(%rdi), %eax
	ret
	.cfi_endproc
.LFE39:
	.size	desc, .-desc
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC2:
	.string	"%lld"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB40:
	.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	$4096, %rsp
	.cfi_def_cfa_offset 4152
	orq	$0, (%rsp)
	subq	$3944, %rsp
	.cfi_def_cfa_offset 8096
	leaq	.LC0(%rip), %r13
	xorl	%ebp, %ebp
	movq	%r13, %rdi
	movq	%fs:40, %rax
	movq	%rax, 8024(%rsp)
	xorl	%eax, %eax
	leaq	12(%rsp), %rsi
	leaq	16(%rsp), %rbx
	movq	%rbx, %r12
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %eax
	testl	%eax, %eax
	jle	.L4
	.p2align 4,,10
	.p2align 3
.L5:
	movq	%r12, %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	addl	$1, %ebp
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %eax
	addq	$4, %r12
	cmpl	%ebp, %eax
	jg	.L5
.L4:
	movslq	%eax, %rsi
	leaq	desc(%rip), %rcx
	movl	$4, %edx
	movq	%rbx, %rdi
	call	qsort@PLT
	movl	12(%rsp), %esi
	testl	%esi, %esi
	jle	.L21
	movq	%rbx, %r14
	movl	$2, %r12d
	xorl	%r8d, %r8d
	xorl	%r13d, %r13d
	movdqa	.LC1(%rip), %xmm7
	leal	-1(%rsi), %ebp
	movl	$1, %r11d
	pxor	%xmm6, %xmm6
.L19:
	addl	$1, %r13d
	cmpl	%esi, %r13d
	jge	.L7
	.p2align 4,,10
	.p2align 3
.L29:
	movl	%r12d, %edx
	cmpl	%esi, %r12d
	jge	.L9
	movl	(%r14), %r10d
	movslq	%r12d, %rax
	leaq	(%rbx,%rax,4), %r9
	movd	%r10d, %xmm5
	pshufd	$0, %xmm5, %xmm5
	.p2align 4,,10
	.p2align 3
.L17:
	movl	%esi, %ecx
	movl	%ebp, %eax
	movl	-4(%r9), %edi
	subl	%edx, %ecx
	cmpl	%edx, %esi
	cmovle	%r11d, %ecx
	subl	%edx, %eax
	cmpl	$2, %eax
	jbe	.L22
	cmpl	%edx, %esi
	jle	.L22
	movl	%ecx, %eax
	movd	%edi, %xmm4
	pxor	%xmm1, %xmm1
	shrl	$2, %eax
	pshufd	$0, %xmm4, %xmm4
	subl	$1, %eax
	salq	$4, %rax
	leaq	16(%r9,%rax), %r15
	movq	%r9, %rax
	.p2align 4,,10
	.p2align 3
.L11:
	movdqu	(%rax), %xmm0
	movdqa	%xmm6, %xmm2
	addq	$16, %rax
	paddd	%xmm4, %xmm0
	pcmpgtd	%xmm5, %xmm0
	pand	%xmm7, %xmm0
	pcmpgtd	%xmm0, %xmm2
	movdqa	%xmm0, %xmm3
	punpckldq	%xmm2, %xmm3
	punpckhdq	%xmm2, %xmm0
	paddq	%xmm3, %xmm1
	paddq	%xmm0, %xmm1
	cmpq	%rax, %r15
	jne	.L11
	movdqa	%xmm1, %xmm0
	movl	%ecx, %r15d
	psrldq	$8, %xmm0
	andl	$-4, %r15d
	paddq	%xmm0, %xmm1
	movq	%xmm1, %rax
	addq	%rax, %r8
	leal	(%r15,%rdx), %eax
	cmpl	%r15d, %ecx
	je	.L12
.L10:
	movslq	%eax, %rcx
	movl	16(%rsp,%rcx,4), %r15d
	addl	%edi, %r15d
	cmpl	%r15d, %r10d
	setl	%cl
	movzbl	%cl, %ecx
	addq	%rcx, %r8
	leal	1(%rax), %ecx
	cmpl	%ecx, %esi
	jle	.L12
	movslq	%ecx, %rcx
	movl	16(%rsp,%rcx,4), %r15d
	addl	%edi, %r15d
	cmpl	%r15d, %r10d
	setl	%cl
	addl	$2, %eax
	movzbl	%cl, %ecx
	addq	%rcx, %r8
	cmpl	%eax, %esi
	jle	.L12
	cltq
	addl	16(%rsp,%rax,4), %edi
	xorl	%eax, %eax
	cmpl	%edi, %r10d
	setl	%al
	addq	%rax, %r8
.L12:
	addl	$1, %edx
	addq	$4, %r9
	cmpl	%edx, %esi
	jne	.L17
.L9:
	addl	$1, %r13d
	addl	$1, %r12d
	addq	$4, %r14
	cmpl	%esi, %r13d
	jl	.L29
.L7:
	addl	$1, %r12d
	addq	$4, %r14
	cmpl	%esi, %r13d
	jne	.L19
.L6:
	xorl	%eax, %eax
	movq	%r8, %rdx
	movl	$1, %edi
	leaq	.LC2(%rip), %rsi
	call	__printf_chk@PLT
	movq	8024(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L30
	addq	$8040, %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
.L22:
	.cfi_restore_state
	movl	%edx, %eax
	jmp	.L10
.L21:
	xorl	%r8d, %r8d
	jmp	.L6
.L30:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE40:
	.size	main, .-main
	.section	.rodata.cst16,"aM",@progbits,16
	.align 16
.LC1:
	.long	1
	.long	1
	.long	1
	.long	1
	.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	desc
	.type	desc, @function
desc:
.LFB39:
	.cfi_startproc
	endbr64
	movl	(%rsi), %eax
	subl	(%rdi), %eax
	ret
	.cfi_endproc
.LFE39:
	.size	desc, .-desc
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC2:
	.string	"%lld"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB40:
	.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	$4096, %rsp
	.cfi_def_cfa_offset 4152
	orq	$0, (%rsp)
	subq	$3944, %rsp
	.cfi_def_cfa_offset 8096
	leaq	.LC0(%rip), %r13
	xorl	%ebp, %ebp
	movq	%r13, %rdi
	movq	%fs:40, %rax
	movq	%rax, 8024(%rsp)
	xorl	%eax, %eax
	leaq	12(%rsp), %rsi
	leaq	16(%rsp), %rbx
	movq	%rbx, %r12
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %eax
	testl	%eax, %eax
	jle	.L4
	.p2align 4,,10
	.p2align 3
.L5:
	movq	%r12, %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	addl	$1, %ebp
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %eax
	addq	$4, %r12
	cmpl	%ebp, %eax
	jg	.L5
.L4:
	movslq	%eax, %rsi
	leaq	desc(%rip), %rcx
	movl	$4, %edx
	movq	%rbx, %rdi
	call	qsort@PLT
	movl	12(%rsp), %esi
	testl	%esi, %esi
	jle	.L21
	movq	%rbx, %r14
	movl	$2, %r12d
	xorl	%r8d, %r8d
	xorl	%r13d, %r13d
	movdqa	.LC1(%rip), %xmm7
	leal	-1(%rsi), %ebp
	movl	$1, %r11d
	pxor	%xmm6, %xmm6
.L19:
	addl	$1, %r13d
	cmpl	%esi, %r13d
	jge	.L7
	.p2align 4,,10
	.p2align 3
.L29:
	movl	%r12d, %edx
	cmpl	%esi, %r12d
	jge	.L9
	movl	(%r14), %r10d
	movslq	%r12d, %rax
	leaq	(%rbx,%rax,4), %r9
	movd	%r10d, %xmm5
	pshufd	$0, %xmm5, %xmm5
	.p2align 4,,10
	.p2align 3
.L17:
	movl	%esi, %ecx
	movl	%ebp, %eax
	movl	-4(%r9), %edi
	subl	%edx, %ecx
	cmpl	%edx, %esi
	cmovle	%r11d, %ecx
	subl	%edx, %eax
	cmpl	$2, %eax
	jbe	.L22
	cmpl	%edx, %esi
	jle	.L22
	movl	%ecx, %eax
	movd	%edi, %xmm4
	pxor	%xmm1, %xmm1
	shrl	$2, %eax
	pshufd	$0, %xmm4, %xmm4
	subl	$1, %eax
	salq	$4, %rax
	leaq	16(%r9,%rax), %r15
	movq	%r9, %rax
	.p2align 4,,10
	.p2align 3
.L11:
	movdqu	(%rax), %xmm0
	movdqa	%xmm6, %xmm2
	addq	$16, %rax
	paddd	%xmm4, %xmm0
	pcmpgtd	%xmm5, %xmm0
	pand	%xmm7, %xmm0
	pcmpgtd	%xmm0, %xmm2
	movdqa	%xmm0, %xmm3
	punpckldq	%xmm2, %xmm3
	punpckhdq	%xmm2, %xmm0
	paddq	%xmm3, %xmm1
	paddq	%xmm0, %xmm1
	cmpq	%rax, %r15
	jne	.L11
	movdqa	%xmm1, %xmm0
	movl	%ecx, %r15d
	psrldq	$8, %xmm0
	andl	$-4, %r15d
	paddq	%xmm0, %xmm1
	movq	%xmm1, %rax
	addq	%rax, %r8
	leal	(%r15,%rdx), %eax
	cmpl	%r15d, %ecx
	je	.L12
.L10:
	movslq	%eax, %rcx
	movl	16(%rsp,%rcx,4), %r15d
	addl	%edi, %r15d
	cmpl	%r15d, %r10d
	setl	%cl
	movzbl	%cl, %ecx
	addq	%rcx, %r8
	leal	1(%rax), %ecx
	cmpl	%ecx, %esi
	jle	.L12
	movslq	%ecx, %rcx
	movl	16(%rsp,%rcx,4), %r15d
	addl	%edi, %r15d
	cmpl	%r15d, %r10d
	setl	%cl
	addl	$2, %eax
	movzbl	%cl, %ecx
	addq	%rcx, %r8
	cmpl	%eax, %esi
	jle	.L12
	cltq
	addl	16(%rsp,%rax,4), %edi
	xorl	%eax, %eax
	cmpl	%edi, %r10d
	setl	%al
	addq	%rax, %r8
.L12:
	addl	$1, %edx
	addq	$4, %r9
	cmpl	%edx, %esi
	jne	.L17
.L9:
	addl	$1, %r13d
	addl	$1, %r12d
	addq	$4, %r14
	cmpl	%esi, %r13d
	jl	.L29
.L7:
	addl	$1, %r12d
	addq	$4, %r14
	cmpl	%esi, %r13d
	jne	.L19
.L6:
	xorl	%eax, %eax
	movq	%r8, %rdx
	movl	$1, %edi
	leaq	.LC2(%rip), %rsi
	call	__printf_chk@PLT
	movq	8024(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L30
	addq	$8040, %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
.L22:
	.cfi_restore_state
	movl	%edx, %eax
	jmp	.L10
.L21:
	xorl	%r8d, %r8d
	jmp	.L6
.L30:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE40:
	.size	main, .-main
	.section	.rodata.cst16,"aM",@progbits,16
	.align 16
.LC1:
	.long	1
	.long	1
	.long	1
	.long	1
	.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 desc(const void *a, const void *b) {
  return *(int *)b - *(int *)a;
}

int main()
{
    int n,l[2000],i,j,k;

    scanf("%d",&n);
    for (i = 0; i < n; i++)
    {
        scanf("%d",&l[i]);
    }
    
    qsort(l,n,sizeof(int),desc);

    long long ans = 0;

    for (i = 0; i < n; i++)
    {
        for (j = i + 1; j < n; j++)
        {
            for (k = j + 1; k < n; k++)
            {
                if(l[i] < l[j] + l[k])ans++;
            }
        }
    }
    
    printf("%lld",ans);
}

4
5 4 2 1
 7
218 1140 704 233 645 728 389
 3
1 1000 2
 7
218 1140 704 233 645 890 389
 7
218 1140 1051 233 449 890 389
 7
218 1140 1051 16 636 890 389
 7
218 1140 551 40 636 890 487
 7
218 1140 551 40 660 890 487
 7
116 1499 551 40 806 890 487
 7
116 1499 551 40 297 890 487

1 14 0 13 15 10 11 12 7 3
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 desc(const void *a, const void *b) {
  return *(int *)b - *(int *)a;
}

int main()
{
    int n,l[2000],i,j,k;

    scanf("%d",&n);
    for (i = 0; i < n; i++)
    {
        scanf("%d",&l[i]);
    }
    
    qsort(l,n,sizeof(int),desc);

    long long ans = 0;

    for (i = 0; i < n; i++)
    {
        for (j = i + 1; j < n; j++)
        {
            for (k = j + 1; k < n; k++)
            {
                if(l[i] < l[j] + l[k])ans++;
            }
        }
    }
    
    printf("%lld",ans);
}
```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	desc
	.type	desc, @function
desc:
.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	-16(%rbp), %rax
	movl	(%rax), %edx
	movq	-8(%rbp), %rax
	movl	(%rax), %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	desc, .-desc
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"%lld"
	.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	$4096, %rsp
	orq	$0, (%rsp)
	subq	$3952, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-8040(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -8036(%rbp)
	jmp	.L4
.L5:
	leaq	-8016(%rbp), %rdx
	movl	-8036(%rbp), %eax
	cltq
	salq	$2, %rax
	addq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -8036(%rbp)
.L4:
	movl	-8040(%rbp), %eax
	cmpl	%eax, -8036(%rbp)
	jl	.L5
	movl	-8040(%rbp), %eax
	movslq	%eax, %rsi
	leaq	-8016(%rbp), %rax
	leaq	desc(%rip), %rdx
	movq	%rdx, %rcx
	movl	$4, %edx
	movq	%rax, %rdi
	call	qsort@PLT
	movq	$0, -8024(%rbp)
	movl	$0, -8036(%rbp)
	jmp	.L6
.L12:
	movl	-8036(%rbp), %eax
	addl	$1, %eax
	movl	%eax, -8032(%rbp)
	jmp	.L7
.L11:
	movl	-8032(%rbp), %eax
	addl	$1, %eax
	movl	%eax, -8028(%rbp)
	jmp	.L8
.L10:
	movl	-8036(%rbp), %eax
	cltq
	movl	-8016(%rbp,%rax,4), %edx
	movl	-8032(%rbp), %eax
	cltq
	movl	-8016(%rbp,%rax,4), %ecx
	movl	-8028(%rbp), %eax
	cltq
	movl	-8016(%rbp,%rax,4), %eax
	addl	%ecx, %eax
	cmpl	%eax, %edx
	jge	.L9
	addq	$1, -8024(%rbp)
.L9:
	addl	$1, -8028(%rbp)
.L8:
	movl	-8040(%rbp), %eax
	cmpl	%eax, -8028(%rbp)
	jl	.L10
	addl	$1, -8032(%rbp)
.L7:
	movl	-8040(%rbp), %eax
	cmpl	%eax, -8032(%rbp)
	jl	.L11
	addl	$1, -8036(%rbp)
.L6:
	movl	-8040(%rbp), %eax
	cmpl	%eax, -8036(%rbp)
	jl	.L12
	movq	-8024(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	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	desc
	.type	desc, @function
desc:
.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	-16(%rbp), %rax
	movl	(%rax), %edx
	movq	-8(%rbp), %rax
	movl	(%rax), %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	desc, .-desc
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"%lld"
	.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	$4096, %rsp
	orq	$0, (%rsp)
	subq	$3952, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-8040(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -8036(%rbp)
	jmp	.L4
.L5:
	leaq	-8016(%rbp), %rdx
	movl	-8036(%rbp), %eax
	cltq
	salq	$2, %rax
	addq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -8036(%rbp)
.L4:
	movl	-8040(%rbp), %eax
	cmpl	%eax, -8036(%rbp)
	jl	.L5
	movl	-8040(%rbp), %eax
	movslq	%eax, %rsi
	leaq	-8016(%rbp), %rax
	leaq	desc(%rip), %rdx
	movq	%rdx, %rcx
	movl	$4, %edx
	movq	%rax, %rdi
	call	qsort@PLT
	movq	$0, -8024(%rbp)
	movl	$0, -8036(%rbp)
	jmp	.L6
.L12:
	movl	-8036(%rbp), %eax
	addl	$1, %eax
	movl	%eax, -8032(%rbp)
	jmp	.L7
.L11:
	movl	-8032(%rbp), %eax
	addl	$1, %eax
	movl	%eax, -8028(%rbp)
	jmp	.L8
.L10:
	movl	-8036(%rbp), %eax
	cltq
	movl	-8016(%rbp,%rax,4), %edx
	movl	-8032(%rbp), %eax
	cltq
	movl	-8016(%rbp,%rax,4), %ecx
	movl	-8028(%rbp), %eax
	cltq
	movl	-8016(%rbp,%rax,4), %eax
	addl	%ecx, %eax
	cmpl	%eax, %edx
	jge	.L9
	addq	$1, -8024(%rbp)
.L9:
	addl	$1, -8028(%rbp)
.L8:
	movl	-8040(%rbp), %eax
	cmpl	%eax, -8028(%rbp)
	jl	.L10
	addl	$1, -8032(%rbp)
.L7:
	movl	-8040(%rbp), %eax
	cmpl	%eax, -8032(%rbp)
	jl	.L11
	addl	$1, -8036(%rbp)
.L6:
	movl	-8040(%rbp), %eax
	cmpl	%eax, -8036(%rbp)
	jl	.L12
	movq	-8024(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	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:
