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

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

typedef long long ll;
typedef int keytype;

void quicksort_des(keytype a[], int first, int last)
{
    int i, j;
    keytype x, t;

    x = a[(first + last) / 2];
    i = first;  j = last;
    for ( ; ; ) {
        while (a[i] > x) i++;
        while (x > a[j]) j--;
        if (i >= j) break;
        t = a[i];  a[i] = a[j];  a[j] = t;
        i++;  j--;
    }
    if (first  < i - 1) quicksort_des(a, first , i - 1);
    if (j + 1 < last) quicksort_des(a, j + 1, last);
}

int main(){
    int n, m;
    int a[1000];

    scanf("%d %d", &n, &m);
    int sum = 0;
    for(int i = 0; i < n; ++i){
        scanf("%d", &a[i]);
        sum += a[i];
    }

    quicksort_des(a, 0, n-1);
    int cnt = 0;
    for(int i = 0; i < m; ++i){
        if(a[i] * (4 * m) >= sum) cnt++;
    }

    if(cnt == m) puts("Yes");
    else puts("No");

    return 0;
}
```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	quicksort_des
	.type	quicksort_des, @function
quicksort_des:
.LFB6:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$32, %rsp
	movq	%rdi, -24(%rbp)
	movl	%esi, -28(%rbp)
	movl	%edx, -32(%rbp)
	movl	-28(%rbp), %edx
	movl	-32(%rbp), %eax
	addl	%edx, %eax
	movl	%eax, %edx
	shrl	$31, %edx
	addl	%edx, %eax
	sarl	%eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-24(%rbp), %rax
	addq	%rdx, %rax
	movl	(%rax), %eax
	movl	%eax, -8(%rbp)
	movl	-28(%rbp), %eax
	movl	%eax, -16(%rbp)
	movl	-32(%rbp), %eax
	movl	%eax, -12(%rbp)
	jmp	.L2
.L3:
	addl	$1, -16(%rbp)
.L2:
	movl	-16(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-24(%rbp), %rax
	addq	%rdx, %rax
	movl	(%rax), %eax
	cmpl	%eax, -8(%rbp)
	jl	.L3
	jmp	.L4
.L5:
	subl	$1, -12(%rbp)
.L4:
	movl	-12(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-24(%rbp), %rax
	addq	%rdx, %rax
	movl	(%rax), %eax
	cmpl	%eax, -8(%rbp)
	jg	.L5
	movl	-16(%rbp), %eax
	cmpl	-12(%rbp), %eax
	jge	.L12
	movl	-16(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-24(%rbp), %rax
	addq	%rdx, %rax
	movl	(%rax), %eax
	movl	%eax, -4(%rbp)
	movl	-12(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-24(%rbp), %rax
	addq	%rdx, %rax
	movl	-16(%rbp), %edx
	movslq	%edx, %rdx
	leaq	0(,%rdx,4), %rcx
	movq	-24(%rbp), %rdx
	addq	%rcx, %rdx
	movl	(%rax), %eax
	movl	%eax, (%rdx)
	movl	-12(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-24(%rbp), %rax
	addq	%rax, %rdx
	movl	-4(%rbp), %eax
	movl	%eax, (%rdx)
	addl	$1, -16(%rbp)
	subl	$1, -12(%rbp)
	jmp	.L2
.L12:
	nop
	movl	-16(%rbp), %eax
	subl	$1, %eax
	cmpl	%eax, -28(%rbp)
	jge	.L9
	movl	-16(%rbp), %eax
	leal	-1(%rax), %edx
	movl	-28(%rbp), %ecx
	movq	-24(%rbp), %rax
	movl	%ecx, %esi
	movq	%rax, %rdi
	call	quicksort_des
.L9:
	movl	-12(%rbp), %eax
	addl	$1, %eax
	cmpl	%eax, -32(%rbp)
	jle	.L13
	movl	-12(%rbp), %eax
	leal	1(%rax), %ecx
	movl	-32(%rbp), %edx
	movq	-24(%rbp), %rax
	movl	%ecx, %esi
	movq	%rax, %rdi
	call	quicksort_des
.L13:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	quicksort_des, .-quicksort_des
	.section	.rodata
.LC0:
	.string	"%d %d"
.LC1:
	.string	"%d"
.LC2:
	.string	"Yes"
.LC3:
	.string	"No"
	.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	$4048, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-4036(%rbp), %rdx
	leaq	-4040(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -4032(%rbp)
	movl	$0, -4028(%rbp)
	jmp	.L15
.L16:
	leaq	-4016(%rbp), %rdx
	movl	-4028(%rbp), %eax
	cltq
	salq	$2, %rax
	addq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-4028(%rbp), %eax
	cltq
	movl	-4016(%rbp,%rax,4), %eax
	addl	%eax, -4032(%rbp)
	addl	$1, -4028(%rbp)
.L15:
	movl	-4040(%rbp), %eax
	cmpl	%eax, -4028(%rbp)
	jl	.L16
	movl	-4040(%rbp), %eax
	leal	-1(%rax), %edx
	leaq	-4016(%rbp), %rax
	movl	$0, %esi
	movq	%rax, %rdi
	call	quicksort_des
	movl	$0, -4024(%rbp)
	movl	$0, -4020(%rbp)
	jmp	.L17
.L19:
	movl	-4020(%rbp), %eax
	cltq
	movl	-4016(%rbp,%rax,4), %edx
	movl	-4036(%rbp), %eax
	imull	%edx, %eax
	sall	$2, %eax
	cmpl	%eax, -4032(%rbp)
	jg	.L18
	addl	$1, -4024(%rbp)
.L18:
	addl	$1, -4020(%rbp)
.L17:
	movl	-4036(%rbp), %eax
	cmpl	%eax, -4020(%rbp)
	jl	.L19
	movl	-4036(%rbp), %eax
	cmpl	%eax, -4024(%rbp)
	jne	.L20
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	jmp	.L21
.L20:
	leaq	.LC3(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
.L21:
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L23
	call	__stack_chk_fail@PLT
.L23:
	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	quicksort_des
	.type	quicksort_des, @function
quicksort_des:
.LFB51:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	movslq	%edx, %rax
	movq	%rdi, %r9
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	movl	%esi, %r14d
	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	$136, %rsp
	.cfi_def_cfa_offset 192
	movl	%eax, 56(%rsp)
	movq	%rax, 96(%rsp)
.L8:
	movl	56(%rsp), %ecx
	movl	%r14d, %edx
	movslq	%r14d, %rbx
	movl	%r14d, %r8d
	leaq	(%r9,%rbx,4), %rdi
	addl	%ecx, %edx
	movl	%edx, %eax
	shrl	$31, %eax
	addl	%edx, %eax
	sarl	%eax
	cltq
	movl	(%r9,%rax,4), %esi
	movq	96(%rsp), %rax
.L2:
	movl	(%rdi), %r11d
	leaq	(%r9,%rax,4), %r10
	movl	(%r10), %edx
	cmpl	%esi, %r11d
	jg	.L3
	cmpl	%edx, %esi
	jle	.L4
	leaq	-4(%r9,%rax,4), %rax
	.p2align 4,,10
	.p2align 3
.L5:
	movq	%rax, %r10
	movl	(%rax), %edx
	subq	$4, %rax
	subl	$1, %ecx
	cmpl	%esi, %edx
	jl	.L5
.L4:
	cmpl	%ecx, %r8d
	jge	.L6
	movl	%edx, (%rdi)
	subl	$1, %ecx
	movl	%r11d, (%r10)
	movslq	%ecx, %rax
.L3:
	addq	$4, %rdi
	addl	$1, %r8d
	jmp	.L2
.L6:
	leal	-1(%r8), %eax
	movl	%ecx, 60(%rsp)
	movl	%eax, 28(%rsp)
	cmpl	%r14d, %eax
	jg	.L103
.L16:
	movl	60(%rsp), %eax
	addl	$1, %eax
	movl	%eax, %r14d
	cmpl	56(%rsp), %eax
	jl	.L8
	addq	$136, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	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
.L103:
	.cfi_restore_state
	cltq
	movq	%rax, 88(%rsp)
.L7:
	movl	28(%rsp), %ecx
	movl	%r14d, %r8d
	leaq	(%r9,%rbx,4), %rdi
	movl	%ecx, %edx
	addl	%r14d, %edx
	movl	%edx, %eax
	shrl	$31, %eax
	addl	%edx, %eax
	sarl	%eax
	cltq
	movl	(%r9,%rax,4), %esi
	movq	88(%rsp), %rax
	.p2align 4,,10
	.p2align 3
.L10:
	movl	(%rdi), %r11d
	leaq	(%r9,%rax,4), %r10
	movl	(%r10), %edx
	cmpl	%r11d, %esi
	jl	.L11
	cmpl	%edx, %esi
	jle	.L12
	leaq	-4(%r9,%rax,4), %rax
	.p2align 4,,10
	.p2align 3
.L13:
	movq	%rax, %r10
	movl	(%rax), %edx
	subq	$4, %rax
	subl	$1, %ecx
	cmpl	%edx, %esi
	jg	.L13
.L12:
	cmpl	%ecx, %r8d
	jge	.L14
	movl	%edx, (%rdi)
	subl	$1, %ecx
	movl	%r11d, (%r10)
	movslq	%ecx, %rax
.L11:
	addq	$4, %rdi
	addl	$1, %r8d
	jmp	.L10
.L14:
	leal	-1(%r8), %eax
	movl	%ecx, 64(%rsp)
	movl	%eax, 32(%rsp)
	cmpl	%eax, %r14d
	jl	.L104
.L23:
	movl	64(%rsp), %eax
	addl	$1, %eax
	movl	%eax, %r14d
	cmpl	%eax, 28(%rsp)
	jle	.L16
	movslq	%eax, %rbx
	jmp	.L7
.L104:
	cltq
	movq	%r9, %r8
	movq	%rax, 80(%rsp)
.L15:
	movl	32(%rsp), %ecx
	movl	%r14d, %r10d
	leaq	(%r8,%rbx,4), %rdi
	movl	%ecx, %edx
	addl	%r14d, %edx
	movl	%edx, %eax
	shrl	$31, %eax
	addl	%edx, %eax
	sarl	%eax
	cltq
	movl	(%r8,%rax,4), %esi
	movq	80(%rsp), %rax
	.p2align 4,,10
	.p2align 3
.L17:
	movl	(%rdi), %r11d
	leaq	(%r8,%rax,4), %r9
	movl	(%r9), %edx
	cmpl	%r11d, %esi
	jl	.L18
	cmpl	%edx, %esi
	jle	.L19
	leaq	-4(%r8,%rax,4), %rax
	.p2align 4,,10
	.p2align 3
.L20:
	movq	%rax, %r9
	movl	(%rax), %edx
	subq	$4, %rax
	subl	$1, %ecx
	cmpl	%edx, %esi
	jg	.L20
.L19:
	cmpl	%ecx, %r10d
	jge	.L21
	movl	%edx, (%rdi)
	subl	$1, %ecx
	movl	%r11d, (%r9)
	movslq	%ecx, %rax
.L18:
	addq	$4, %rdi
	addl	$1, %r10d
	jmp	.L17
.L21:
	leal	-1(%r10), %eax
	movl	%ecx, 68(%rsp)
	movl	%eax, 36(%rsp)
	cmpl	%eax, %r14d
	jl	.L105
	movl	68(%rsp), %eax
	addl	$1, %eax
	movl	%eax, %r14d
	cmpl	%eax, 32(%rsp)
	jle	.L94
.L115:
	movslq	%eax, %rbx
	jmp	.L15
.L105:
	cltq
	movq	%r8, %r9
	movq	%rax, 72(%rsp)
.L22:
	movl	36(%rsp), %ecx
	movl	%r14d, %r8d
	leaq	(%r9,%rbx,4), %rdi
	movl	%ecx, %edx
	addl	%r14d, %edx
	movl	%edx, %eax
	shrl	$31, %eax
	addl	%edx, %eax
	sarl	%eax
	cltq
	movl	(%r9,%rax,4), %esi
	movq	72(%rsp), %rax
	.p2align 4,,10
	.p2align 3
.L24:
	movl	(%rdi), %r11d
	leaq	(%r9,%rax,4), %r10
	movl	(%r10), %edx
	cmpl	%r11d, %esi
	jl	.L25
	cmpl	%edx, %esi
	jle	.L26
	leaq	-4(%r9,%rax,4), %rax
	.p2align 4,,10
	.p2align 3
.L27:
	movq	%rax, %r10
	movl	(%rax), %edx
	subq	$4, %rax
	subl	$1, %ecx
	cmpl	%edx, %esi
	jg	.L27
.L26:
	cmpl	%ecx, %r8d
	jge	.L28
	movl	%edx, (%rdi)
	subl	$1, %ecx
	movl	%r11d, (%r10)
	movslq	%ecx, %rax
.L25:
	addq	$4, %rdi
	addl	$1, %r8d
	jmp	.L24
.L28:
	leal	-1(%r8), %eax
	movl	%ecx, 104(%rsp)
	movl	%eax, 24(%rsp)
	cmpl	%eax, %r14d
	jl	.L106
	movl	104(%rsp), %eax
	addl	$1, %eax
	movl	%eax, %r14d
	cmpl	%eax, 36(%rsp)
	jle	.L95
.L114:
	movslq	%eax, %rbx
	jmp	.L22
.L106:
	cltq
	movq	%r9, %r15
	movq	%rax, 48(%rsp)
.L29:
	movl	24(%rsp), %r8d
	movl	%r14d, %r10d
	leaq	(%r15,%rbx,4), %rdi
	movl	%r8d, %edx
	addl	%r14d, %edx
	movl	%edx, %eax
	shrl	$31, %eax
	addl	%edx, %eax
	sarl	%eax
	cltq
	movl	(%r15,%rax,4), %esi
	movq	48(%rsp), %rax
	.p2align 4,,10
	.p2align 3
.L31:
	movl	(%rdi), %r9d
	leaq	(%r15,%rax,4), %rcx
	movl	(%rcx), %edx
	cmpl	%r9d, %esi
	jl	.L32
	cmpl	%edx, %esi
	jle	.L33
	leaq	-4(%r15,%rax,4), %rax
	.p2align 4,,10
	.p2align 3
.L34:
	movq	%rax, %rcx
	movl	(%rax), %edx
	subq	$4, %rax
	subl	$1, %r8d
	cmpl	%edx, %esi
	jg	.L34
.L33:
	cmpl	%r8d, %r10d
	jge	.L35
	movl	%edx, (%rdi)
	subl	$1, %r8d
	movl	%r9d, (%rcx)
	movslq	%r8d, %rax
.L32:
	addq	$4, %rdi
	addl	$1, %r10d
	jmp	.L31
.L35:
	leal	-1(%r10), %eax
	movl	%eax, 12(%rsp)
	cmpl	%eax, %r14d
	jl	.L107
	leal	1(%r8), %eax
	movl	%eax, %r14d
	cmpl	%eax, 24(%rsp)
	jle	.L96
.L113:
	movslq	%eax, %rbx
	jmp	.L29
.L107:
	cltq
	movl	%r8d, 108(%rsp)
	movq	%rax, 40(%rsp)
.L36:
	movl	12(%rsp), %r9d
	movl	%r14d, %r8d
	leaq	(%r15,%rbx,4), %rdi
	movl	%r9d, %edx
	addl	%r14d, %edx
	movl	%edx, %eax
	shrl	$31, %eax
	addl	%edx, %eax
	sarl	%eax
	cltq
	movl	(%r15,%rax,4), %esi
	movq	40(%rsp), %rax
	.p2align 4,,10
	.p2align 3
.L38:
	movl	(%rdi), %r10d
	leaq	(%r15,%rax,4), %rcx
	movl	(%rcx), %edx
	cmpl	%r10d, %esi
	jl	.L39
	cmpl	%edx, %esi
	jle	.L40
	leaq	-4(%r15,%rax,4), %rax
	.p2align 4,,10
	.p2align 3
.L41:
	movq	%rax, %rcx
	movl	(%rax), %edx
	subq	$4, %rax
	subl	$1, %r9d
	cmpl	%edx, %esi
	jg	.L41
.L40:
	cmpl	%r9d, %r8d
	jge	.L42
	movl	%edx, (%rdi)
	subl	$1, %r9d
	movl	%r10d, (%rcx)
	movslq	%r9d, %rax
.L39:
	addq	$4, %rdi
	addl	$1, %r8d
	jmp	.L38
.L42:
	leal	-1(%r8), %eax
	movl	%eax, 8(%rsp)
	cmpl	%eax, %r14d
	jl	.L108
	leal	1(%r9), %eax
	movl	%eax, %r14d
	cmpl	%eax, 12(%rsp)
	jle	.L97
.L112:
	movslq	%eax, %rbx
	jmp	.L36
.L108:
	cltq
	movl	%r9d, 112(%rsp)
	movl	%r14d, %r10d
	movq	%rax, 16(%rsp)
.L43:
	movl	8(%rsp), %r12d
	leaq	(%r15,%rbx,4), %rdi
	movl	%r10d, %r14d
	leal	(%r12,%r10), %edx
	movl	%edx, %eax
	shrl	$31, %eax
	addl	%edx, %eax
	sarl	%eax
	cltq
	movl	(%r15,%rax,4), %esi
	movq	16(%rsp), %rax
	.p2align 4,,10
	.p2align 3
.L45:
	movl	(%rdi), %r8d
	leaq	(%r15,%rax,4), %rcx
	movl	(%rcx), %edx
	cmpl	%r8d, %esi
	jl	.L46
	cmpl	%edx, %esi
	jle	.L47
	leaq	-4(%r15,%rax,4), %rax
	.p2align 4,,10
	.p2align 3
.L48:
	movq	%rax, %rcx
	movl	(%rax), %edx
	subq	$4, %rax
	subl	$1, %r12d
	cmpl	%edx, %esi
	jg	.L48
.L47:
	cmpl	%r12d, %r14d
	jge	.L49
	movl	%edx, (%rdi)
	subl	$1, %r12d
	movl	%r8d, (%rcx)
	movslq	%r12d, %rax
.L46:
	addq	$4, %rdi
	addl	$1, %r14d
	jmp	.L45
.L49:
	subl	$1, %r14d
	cmpl	%r14d, %r10d
	jl	.L109
	leal	1(%r12), %r10d
	cmpl	%r10d, 8(%rsp)
	jle	.L98
.L111:
	movslq	%r10d, %rbx
	jmp	.L43
.L109:
	movl	%r12d, 116(%rsp)
	movslq	%r14d, %rax
	movq	%r15, %r9
	movq	%rax, %r15
.L50:
	leal	(%r14,%r10), %edx
	leaq	(%r9,%rbx,4), %rdi
	movl	%r10d, %r13d
	movl	%r14d, %ebp
	movl	%edx, %eax
	shrl	$31, %eax
	addl	%edx, %eax
	sarl	%eax
	cltq
	movl	(%r9,%rax,4), %esi
	movq	%r15, %rax
	.p2align 4,,10
	.p2align 3
.L52:
	movl	(%rdi), %r8d
	leaq	(%r9,%rax,4), %rcx
	movl	(%rcx), %edx
	cmpl	%r8d, %esi
	jl	.L53
	cmpl	%edx, %esi
	jle	.L54
	leaq	-4(%r9,%rax,4), %rax
	.p2align 4,,10
	.p2align 3
.L55:
	movq	%rax, %rcx
	movl	(%rax), %edx
	subq	$4, %rax
	subl	$1, %ebp
	cmpl	%edx, %esi
	jg	.L55
.L54:
	cmpl	%ebp, %r13d
	jge	.L56
	movl	%edx, (%rdi)
	subl	$1, %ebp
	movl	%r8d, (%rcx)
	movslq	%ebp, %rax
.L53:
	addq	$4, %rdi
	addl	$1, %r13d
	jmp	.L52
.L56:
	subl	$1, %r13d
	movslq	%r13d, %r12
	cmpl	%r13d, %r10d
	jl	.L57
.L65:
	leal	1(%rbp), %r10d
	cmpl	%r10d, %r14d
	jle	.L99
	movslq	%r10d, %rbx
	jmp	.L50
	.p2align 4,,10
	.p2align 3
.L63:
	leal	-1(%r8), %edx
	cmpl	%edx, %r10d
	jl	.L110
.L64:
	leal	1(%rbx), %r10d
	cmpl	%r10d, %r13d
	jle	.L65
	movslq	%r10d, %rbx
.L57:
	leal	0(%r13,%r10), %edx
	leaq	(%r9,%rbx,4), %rdi
	movl	%r10d, %r8d
	movl	%r13d, %ebx
	movl	%edx, %eax
	shrl	$31, %eax
	addl	%edx, %eax
	sarl	%eax
	cltq
	movl	(%r9,%rax,4), %esi
	movq	%r12, %rax
	.p2align 4,,10
	.p2align 3
.L59:
	movl	(%rdi), %r11d
	leaq	(%r9,%rax,4), %rcx
	movl	(%rcx), %edx
	cmpl	%r11d, %esi
	jl	.L60
	cmpl	%edx, %esi
	jle	.L61
	leaq	-4(%r9,%rax,4), %rax
	.p2align 4,,10
	.p2align 3
.L62:
	movq	%rax, %rcx
	movl	(%rax), %edx
	subq	$4, %rax
	subl	$1, %ebx
	cmpl	%edx, %esi
	jg	.L62
.L61:
	cmpl	%ebx, %r8d
	jge	.L63
	movl	%edx, (%rdi)
	subl	$1, %ebx
	movl	%r11d, (%rcx)
	movslq	%ebx, %rax
.L60:
	addq	$4, %rdi
	addl	$1, %r8d
	jmp	.L59
.L99:
	movl	116(%rsp), %r12d
	movq	%r9, %r15
	leal	1(%r12), %r10d
	cmpl	%r10d, 8(%rsp)
	jg	.L111
.L98:
	movl	112(%rsp), %r9d
	leal	1(%r9), %eax
	movl	%eax, %r14d
	cmpl	%eax, 12(%rsp)
	jg	.L112
.L97:
	movl	108(%rsp), %r8d
	leal	1(%r8), %eax
	movl	%eax, %r14d
	cmpl	%eax, 24(%rsp)
	jg	.L113
.L96:
	movl	104(%rsp), %eax
	movq	%r15, %r9
	addl	$1, %eax
	movl	%eax, %r14d
	cmpl	%eax, 36(%rsp)
	jg	.L114
.L95:
	movl	68(%rsp), %eax
	movq	%r9, %r8
	addl	$1, %eax
	movl	%eax, %r14d
	cmpl	%eax, 32(%rsp)
	jg	.L115
.L94:
	movq	%r8, %r9
	jmp	.L23
.L110:
	movq	%r9, %rdi
	movl	%r10d, %esi
	movq	%r9, 120(%rsp)
	call	quicksort_des
	movq	120(%rsp), %r9
	jmp	.L64
	.cfi_endproc
.LFE51:
	.size	quicksort_des, .-quicksort_des
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d %d"
.LC1:
	.string	"%d"
.LC2:
	.string	"Yes"
.LC3:
	.string	"No"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB52:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	leaq	.LC0(%rip), %rdi
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	subq	$4040, %rsp
	.cfi_def_cfa_offset 4080
	movq	%fs:40, %rax
	movq	%rax, 4024(%rsp)
	xorl	%eax, %eax
	leaq	12(%rsp), %rdx
	leaq	8(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	8(%rsp), %edx
	testl	%edx, %edx
	jle	.L132
	xorl	%ebp, %ebp
	xorl	%r12d, %r12d
	leaq	16(%rsp), %rbx
	leaq	.LC1(%rip), %r13
	.p2align 4,,10
	.p2align 3
.L118:
	leaq	(%rbx,%rbp,4), %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	8(%rsp), %edx
	addl	(%rbx,%rbp,4), %r12d
	addq	$1, %rbp
	cmpl	%ebp, %edx
	jg	.L118
.L117:
	subl	$1, %edx
	xorl	%esi, %esi
	movq	%rbx, %rdi
	call	quicksort_des
	movl	12(%rsp), %edx
	testl	%edx, %edx
	jle	.L133
	leal	-1(%rdx), %eax
	cmpl	$3, %eax
	jbe	.L134
	movl	%edx, %ecx
	movd	%edx, %xmm7
	pxor	%xmm2, %xmm2
	movq	%rbx, %rax
	shrl	$2, %ecx
	pshufd	$0, %xmm7, %xmm3
	movd	%r12d, %xmm7
	movdqa	%xmm3, %xmm5
	pshufd	$0, %xmm7, %xmm6
	movdqa	%xmm2, %xmm4
	subl	$1, %ecx
	salq	$4, %rcx
	psrlq	$32, %xmm5
	leaq	32(%rsp,%rcx), %rcx
	.p2align 4,,10
	.p2align 3
.L121:
	movdqa	(%rax), %xmm1
	movdqa	%xmm3, %xmm0
	pmuludq	(%rax), %xmm0
	addq	$16, %rax
	pshufd	$8, %xmm0, %xmm0
	psrlq	$32, %xmm1
	pmuludq	%xmm5, %xmm1
	pshufd	$8, %xmm1, %xmm1
	punpckldq	%xmm1, %xmm0
	movdqa	%xmm6, %xmm1
	pslld	$2, %xmm0
	pcmpgtd	%xmm0, %xmm1
	pcmpeqd	%xmm4, %xmm1
	psubd	%xmm1, %xmm2
	cmpq	%rax, %rcx
	jne	.L121
	movdqa	%xmm2, %xmm0
	movl	%edx, %ecx
	psrldq	$8, %xmm0
	andl	$-4, %ecx
	paddd	%xmm0, %xmm2
	movdqa	%xmm2, %xmm0
	psrldq	$4, %xmm0
	paddd	%xmm0, %xmm2
	movd	%xmm2, %eax
	testb	$3, %dl
	je	.L119
.L120:
	movslq	%ecx, %rsi
	movl	16(%rsp,%rsi,4), %edi
	imull	%edx, %edi
	movl	%edi, %esi
	sall	$2, %esi
	cmpl	%r12d, %esi
	setge	%sil
	movzbl	%sil, %esi
	addl	%esi, %eax
	leal	1(%rcx), %esi
	cmpl	%edx, %esi
	jge	.L119
	movslq	%esi, %rsi
	movl	16(%rsp,%rsi,4), %edi
	imull	%edx, %edi
	movl	%edi, %esi
	sall	$2, %esi
	cmpl	%esi, %r12d
	jle	.L138
.L125:
	leal	2(%rcx), %esi
	cmpl	%edx, %esi
	jge	.L119
	movslq	%esi, %rsi
	movl	16(%rsp,%rsi,4), %edi
	imull	%edx, %edi
	movl	%edi, %esi
	sall	$2, %esi
	cmpl	%r12d, %esi
	jl	.L126
	addl	$1, %eax
.L126:
	addl	$3, %ecx
	cmpl	%ecx, %edx
	jle	.L119
	movslq	%ecx, %rcx
	movl	16(%rsp,%rcx,4), %ebx
	imull	%edx, %ebx
	movl	%ebx, %ecx
	sall	$2, %ecx
	cmpl	%ecx, %r12d
	jg	.L119
	addl	$1, %eax
.L119:
	cmpl	%eax, %edx
	je	.L139
	leaq	.LC3(%rip), %rdi
	call	puts@PLT
.L130:
	movq	4024(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L140
	addq	$4040, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%rbp
	.cfi_def_cfa_offset 24
	popq	%r12
	.cfi_def_cfa_offset 16
	popq	%r13
	.cfi_def_cfa_offset 8
	ret
.L138:
	.cfi_restore_state
	addl	$1, %eax
	jmp	.L125
.L139:
	leaq	.LC2(%rip), %rdi
	call	puts@PLT
	jmp	.L130
.L133:
	xorl	%eax, %eax
	jmp	.L119
.L132:
	xorl	%r12d, %r12d
	leaq	16(%rsp), %rbx
	jmp	.L117
.L134:
	xorl	%ecx, %ecx
	xorl	%eax, %eax
	jmp	.L120
.L140:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE52:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	1f - 0f
	.long	4f - 1f
	.long	5
0:
	.string	"GNU"
1:
	.align 8
	.long	0xc0000002
	.long	3f - 2f
2:
	.long	0x3
3:
	.align 8
4:

rule
	.file	"temp.c"
	.text
	.p2align 4
	.globl	quicksort_des
	.type	quicksort_des, @function
quicksort_des:
.LFB51:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	movslq	%edx, %rax
	movq	%rdi, %r9
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	movl	%esi, %r14d
	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	$136, %rsp
	.cfi_def_cfa_offset 192
	movl	%eax, 56(%rsp)
	movq	%rax, 96(%rsp)
.L8:
	movl	56(%rsp), %ecx
	movl	%r14d, %edx
	movslq	%r14d, %rbx
	movl	%r14d, %r8d
	leaq	(%r9,%rbx,4), %rdi
	addl	%ecx, %edx
	movl	%edx, %eax
	shrl	$31, %eax
	addl	%edx, %eax
	sarl	%eax
	cltq
	movl	(%r9,%rax,4), %esi
	movq	96(%rsp), %rax
.L2:
	movl	(%rdi), %r11d
	leaq	(%r9,%rax,4), %r10
	movl	(%r10), %edx
	cmpl	%esi, %r11d
	jg	.L3
	cmpl	%edx, %esi
	jle	.L4
	leaq	-4(%r9,%rax,4), %rax
	.p2align 4,,10
	.p2align 3
.L5:
	movq	%rax, %r10
	movl	(%rax), %edx
	subq	$4, %rax
	subl	$1, %ecx
	cmpl	%esi, %edx
	jl	.L5
.L4:
	cmpl	%ecx, %r8d
	jge	.L6
	movl	%edx, (%rdi)
	subl	$1, %ecx
	movl	%r11d, (%r10)
	movslq	%ecx, %rax
.L3:
	addq	$4, %rdi
	addl	$1, %r8d
	jmp	.L2
.L6:
	leal	-1(%r8), %eax
	movl	%ecx, 60(%rsp)
	movl	%eax, 28(%rsp)
	cmpl	%r14d, %eax
	jg	.L103
.L16:
	movl	60(%rsp), %eax
	addl	$1, %eax
	movl	%eax, %r14d
	cmpl	56(%rsp), %eax
	jl	.L8
	addq	$136, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	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
.L103:
	.cfi_restore_state
	cltq
	movq	%rax, 88(%rsp)
.L7:
	movl	28(%rsp), %ecx
	movl	%r14d, %r8d
	leaq	(%r9,%rbx,4), %rdi
	movl	%ecx, %edx
	addl	%r14d, %edx
	movl	%edx, %eax
	shrl	$31, %eax
	addl	%edx, %eax
	sarl	%eax
	cltq
	movl	(%r9,%rax,4), %esi
	movq	88(%rsp), %rax
	.p2align 4,,10
	.p2align 3
.L10:
	movl	(%rdi), %r11d
	leaq	(%r9,%rax,4), %r10
	movl	(%r10), %edx
	cmpl	%r11d, %esi
	jl	.L11
	cmpl	%edx, %esi
	jle	.L12
	leaq	-4(%r9,%rax,4), %rax
	.p2align 4,,10
	.p2align 3
.L13:
	movq	%rax, %r10
	movl	(%rax), %edx
	subq	$4, %rax
	subl	$1, %ecx
	cmpl	%edx, %esi
	jg	.L13
.L12:
	cmpl	%ecx, %r8d
	jge	.L14
	movl	%edx, (%rdi)
	subl	$1, %ecx
	movl	%r11d, (%r10)
	movslq	%ecx, %rax
.L11:
	addq	$4, %rdi
	addl	$1, %r8d
	jmp	.L10
.L14:
	leal	-1(%r8), %eax
	movl	%ecx, 64(%rsp)
	movl	%eax, 32(%rsp)
	cmpl	%eax, %r14d
	jl	.L104
.L23:
	movl	64(%rsp), %eax
	addl	$1, %eax
	movl	%eax, %r14d
	cmpl	%eax, 28(%rsp)
	jle	.L16
	movslq	%eax, %rbx
	jmp	.L7
.L104:
	cltq
	movq	%r9, %r8
	movq	%rax, 80(%rsp)
.L15:
	movl	32(%rsp), %ecx
	movl	%r14d, %r10d
	leaq	(%r8,%rbx,4), %rdi
	movl	%ecx, %edx
	addl	%r14d, %edx
	movl	%edx, %eax
	shrl	$31, %eax
	addl	%edx, %eax
	sarl	%eax
	cltq
	movl	(%r8,%rax,4), %esi
	movq	80(%rsp), %rax
	.p2align 4,,10
	.p2align 3
.L17:
	movl	(%rdi), %r11d
	leaq	(%r8,%rax,4), %r9
	movl	(%r9), %edx
	cmpl	%r11d, %esi
	jl	.L18
	cmpl	%edx, %esi
	jle	.L19
	leaq	-4(%r8,%rax,4), %rax
	.p2align 4,,10
	.p2align 3
.L20:
	movq	%rax, %r9
	movl	(%rax), %edx
	subq	$4, %rax
	subl	$1, %ecx
	cmpl	%edx, %esi
	jg	.L20
.L19:
	cmpl	%ecx, %r10d
	jge	.L21
	movl	%edx, (%rdi)
	subl	$1, %ecx
	movl	%r11d, (%r9)
	movslq	%ecx, %rax
.L18:
	addq	$4, %rdi
	addl	$1, %r10d
	jmp	.L17
.L21:
	leal	-1(%r10), %eax
	movl	%ecx, 68(%rsp)
	movl	%eax, 36(%rsp)
	cmpl	%eax, %r14d
	jl	.L105
	movl	68(%rsp), %eax
	addl	$1, %eax
	movl	%eax, %r14d
	cmpl	%eax, 32(%rsp)
	jle	.L94
.L115:
	movslq	%eax, %rbx
	jmp	.L15
.L105:
	cltq
	movq	%r8, %r9
	movq	%rax, 72(%rsp)
.L22:
	movl	36(%rsp), %ecx
	movl	%r14d, %r8d
	leaq	(%r9,%rbx,4), %rdi
	movl	%ecx, %edx
	addl	%r14d, %edx
	movl	%edx, %eax
	shrl	$31, %eax
	addl	%edx, %eax
	sarl	%eax
	cltq
	movl	(%r9,%rax,4), %esi
	movq	72(%rsp), %rax
	.p2align 4,,10
	.p2align 3
.L24:
	movl	(%rdi), %r11d
	leaq	(%r9,%rax,4), %r10
	movl	(%r10), %edx
	cmpl	%r11d, %esi
	jl	.L25
	cmpl	%edx, %esi
	jle	.L26
	leaq	-4(%r9,%rax,4), %rax
	.p2align 4,,10
	.p2align 3
.L27:
	movq	%rax, %r10
	movl	(%rax), %edx
	subq	$4, %rax
	subl	$1, %ecx
	cmpl	%edx, %esi
	jg	.L27
.L26:
	cmpl	%ecx, %r8d
	jge	.L28
	movl	%edx, (%rdi)
	subl	$1, %ecx
	movl	%r11d, (%r10)
	movslq	%ecx, %rax
.L25:
	addq	$4, %rdi
	addl	$1, %r8d
	jmp	.L24
.L28:
	leal	-1(%r8), %eax
	movl	%ecx, 104(%rsp)
	movl	%eax, 24(%rsp)
	cmpl	%eax, %r14d
	jl	.L106
	movl	104(%rsp), %eax
	addl	$1, %eax
	movl	%eax, %r14d
	cmpl	%eax, 36(%rsp)
	jle	.L95
.L114:
	movslq	%eax, %rbx
	jmp	.L22
.L106:
	cltq
	movq	%r9, %r15
	movq	%rax, 48(%rsp)
.L29:
	movl	24(%rsp), %r8d
	movl	%r14d, %r10d
	leaq	(%r15,%rbx,4), %rdi
	movl	%r8d, %edx
	addl	%r14d, %edx
	movl	%edx, %eax
	shrl	$31, %eax
	addl	%edx, %eax
	sarl	%eax
	cltq
	movl	(%r15,%rax,4), %esi
	movq	48(%rsp), %rax
	.p2align 4,,10
	.p2align 3
.L31:
	movl	(%rdi), %r9d
	leaq	(%r15,%rax,4), %rcx
	movl	(%rcx), %edx
	cmpl	%r9d, %esi
	jl	.L32
	cmpl	%edx, %esi
	jle	.L33
	leaq	-4(%r15,%rax,4), %rax
	.p2align 4,,10
	.p2align 3
.L34:
	movq	%rax, %rcx
	movl	(%rax), %edx
	subq	$4, %rax
	subl	$1, %r8d
	cmpl	%edx, %esi
	jg	.L34
.L33:
	cmpl	%r8d, %r10d
	jge	.L35
	movl	%edx, (%rdi)
	subl	$1, %r8d
	movl	%r9d, (%rcx)
	movslq	%r8d, %rax
.L32:
	addq	$4, %rdi
	addl	$1, %r10d
	jmp	.L31
.L35:
	leal	-1(%r10), %eax
	movl	%eax, 12(%rsp)
	cmpl	%eax, %r14d
	jl	.L107
	leal	1(%r8), %eax
	movl	%eax, %r14d
	cmpl	%eax, 24(%rsp)
	jle	.L96
.L113:
	movslq	%eax, %rbx
	jmp	.L29
.L107:
	cltq
	movl	%r8d, 108(%rsp)
	movq	%rax, 40(%rsp)
.L36:
	movl	12(%rsp), %r9d
	movl	%r14d, %r8d
	leaq	(%r15,%rbx,4), %rdi
	movl	%r9d, %edx
	addl	%r14d, %edx
	movl	%edx, %eax
	shrl	$31, %eax
	addl	%edx, %eax
	sarl	%eax
	cltq
	movl	(%r15,%rax,4), %esi
	movq	40(%rsp), %rax
	.p2align 4,,10
	.p2align 3
.L38:
	movl	(%rdi), %r10d
	leaq	(%r15,%rax,4), %rcx
	movl	(%rcx), %edx
	cmpl	%r10d, %esi
	jl	.L39
	cmpl	%edx, %esi
	jle	.L40
	leaq	-4(%r15,%rax,4), %rax
	.p2align 4,,10
	.p2align 3
.L41:
	movq	%rax, %rcx
	movl	(%rax), %edx
	subq	$4, %rax
	subl	$1, %r9d
	cmpl	%edx, %esi
	jg	.L41
.L40:
	cmpl	%r9d, %r8d
	jge	.L42
	movl	%edx, (%rdi)
	subl	$1, %r9d
	movl	%r10d, (%rcx)
	movslq	%r9d, %rax
.L39:
	addq	$4, %rdi
	addl	$1, %r8d
	jmp	.L38
.L42:
	leal	-1(%r8), %eax
	movl	%eax, 8(%rsp)
	cmpl	%eax, %r14d
	jl	.L108
	leal	1(%r9), %eax
	movl	%eax, %r14d
	cmpl	%eax, 12(%rsp)
	jle	.L97
.L112:
	movslq	%eax, %rbx
	jmp	.L36
.L108:
	cltq
	movl	%r9d, 112(%rsp)
	movl	%r14d, %r10d
	movq	%rax, 16(%rsp)
.L43:
	movl	8(%rsp), %r12d
	leaq	(%r15,%rbx,4), %rdi
	movl	%r10d, %r14d
	leal	(%r12,%r10), %edx
	movl	%edx, %eax
	shrl	$31, %eax
	addl	%edx, %eax
	sarl	%eax
	cltq
	movl	(%r15,%rax,4), %esi
	movq	16(%rsp), %rax
	.p2align 4,,10
	.p2align 3
.L45:
	movl	(%rdi), %r8d
	leaq	(%r15,%rax,4), %rcx
	movl	(%rcx), %edx
	cmpl	%r8d, %esi
	jl	.L46
	cmpl	%edx, %esi
	jle	.L47
	leaq	-4(%r15,%rax,4), %rax
	.p2align 4,,10
	.p2align 3
.L48:
	movq	%rax, %rcx
	movl	(%rax), %edx
	subq	$4, %rax
	subl	$1, %r12d
	cmpl	%edx, %esi
	jg	.L48
.L47:
	cmpl	%r12d, %r14d
	jge	.L49
	movl	%edx, (%rdi)
	subl	$1, %r12d
	movl	%r8d, (%rcx)
	movslq	%r12d, %rax
.L46:
	addq	$4, %rdi
	addl	$1, %r14d
	jmp	.L45
.L49:
	subl	$1, %r14d
	cmpl	%r14d, %r10d
	jl	.L109
	leal	1(%r12), %r10d
	cmpl	%r10d, 8(%rsp)
	jle	.L98
.L111:
	movslq	%r10d, %rbx
	jmp	.L43
.L109:
	movl	%r12d, 116(%rsp)
	movslq	%r14d, %rax
	movq	%r15, %r9
	movq	%rax, %r15
.L50:
	leal	(%r14,%r10), %edx
	leaq	(%r9,%rbx,4), %rdi
	movl	%r10d, %r13d
	movl	%r14d, %ebp
	movl	%edx, %eax
	shrl	$31, %eax
	addl	%edx, %eax
	sarl	%eax
	cltq
	movl	(%r9,%rax,4), %esi
	movq	%r15, %rax
	.p2align 4,,10
	.p2align 3
.L52:
	movl	(%rdi), %r8d
	leaq	(%r9,%rax,4), %rcx
	movl	(%rcx), %edx
	cmpl	%r8d, %esi
	jl	.L53
	cmpl	%edx, %esi
	jle	.L54
	leaq	-4(%r9,%rax,4), %rax
	.p2align 4,,10
	.p2align 3
.L55:
	movq	%rax, %rcx
	movl	(%rax), %edx
	subq	$4, %rax
	subl	$1, %ebp
	cmpl	%edx, %esi
	jg	.L55
.L54:
	cmpl	%ebp, %r13d
	jge	.L56
	movl	%edx, (%rdi)
	subl	$1, %ebp
	movl	%r8d, (%rcx)
	movslq	%ebp, %rax
.L53:
	addq	$4, %rdi
	addl	$1, %r13d
	jmp	.L52
.L56:
	subl	$1, %r13d
	movslq	%r13d, %r12
	cmpl	%r13d, %r10d
	jl	.L57
.L65:
	leal	1(%rbp), %r10d
	cmpl	%r10d, %r14d
	jle	.L99
	movslq	%r10d, %rbx
	jmp	.L50
	.p2align 4,,10
	.p2align 3
.L63:
	leal	-1(%r8), %edx
	cmpl	%edx, %r10d
	jl	.L110
.L64:
	leal	1(%rbx), %r10d
	cmpl	%r10d, %r13d
	jle	.L65
	movslq	%r10d, %rbx
.L57:
	leal	0(%r13,%r10), %edx
	leaq	(%r9,%rbx,4), %rdi
	movl	%r10d, %r8d
	movl	%r13d, %ebx
	movl	%edx, %eax
	shrl	$31, %eax
	addl	%edx, %eax
	sarl	%eax
	cltq
	movl	(%r9,%rax,4), %esi
	movq	%r12, %rax
	.p2align 4,,10
	.p2align 3
.L59:
	movl	(%rdi), %r11d
	leaq	(%r9,%rax,4), %rcx
	movl	(%rcx), %edx
	cmpl	%r11d, %esi
	jl	.L60
	cmpl	%edx, %esi
	jle	.L61
	leaq	-4(%r9,%rax,4), %rax
	.p2align 4,,10
	.p2align 3
.L62:
	movq	%rax, %rcx
	movl	(%rax), %edx
	subq	$4, %rax
	subl	$1, %ebx
	cmpl	%edx, %esi
	jg	.L62
.L61:
	cmpl	%ebx, %r8d
	jge	.L63
	movl	%edx, (%rdi)
	subl	$1, %ebx
	movl	%r11d, (%rcx)
	movslq	%ebx, %rax
.L60:
	addq	$4, %rdi
	addl	$1, %r8d
	jmp	.L59
.L99:
	movl	116(%rsp), %r12d
	movq	%r9, %r15
	leal	1(%r12), %r10d
	cmpl	%r10d, 8(%rsp)
	jg	.L111
.L98:
	movl	112(%rsp), %r9d
	leal	1(%r9), %eax
	movl	%eax, %r14d
	cmpl	%eax, 12(%rsp)
	jg	.L112
.L97:
	movl	108(%rsp), %r8d
	leal	1(%r8), %eax
	movl	%eax, %r14d
	cmpl	%eax, 24(%rsp)
	jg	.L113
.L96:
	movl	104(%rsp), %eax
	movq	%r15, %r9
	addl	$1, %eax
	movl	%eax, %r14d
	cmpl	%eax, 36(%rsp)
	jg	.L114
.L95:
	movl	68(%rsp), %eax
	movq	%r9, %r8
	addl	$1, %eax
	movl	%eax, %r14d
	cmpl	%eax, 32(%rsp)
	jg	.L115
.L94:
	movq	%r8, %r9
	jmp	.L23
.L110:
	movq	%r9, %rdi
	movl	%r10d, %esi
	movq	%r9, 120(%rsp)
	call	quicksort_des
	movq	120(%rsp), %r9
	jmp	.L64
	.cfi_endproc
.LFE51:
	.size	quicksort_des, .-quicksort_des
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d %d"
.LC1:
	.string	"%d"
.LC2:
	.string	"Yes"
.LC3:
	.string	"No"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB52:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	leaq	.LC0(%rip), %rdi
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	subq	$4040, %rsp
	.cfi_def_cfa_offset 4080
	movq	%fs:40, %rax
	movq	%rax, 4024(%rsp)
	xorl	%eax, %eax
	leaq	12(%rsp), %rdx
	leaq	8(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	8(%rsp), %edx
	testl	%edx, %edx
	jle	.L132
	xorl	%ebp, %ebp
	xorl	%r12d, %r12d
	leaq	16(%rsp), %rbx
	leaq	.LC1(%rip), %r13
	.p2align 4,,10
	.p2align 3
.L118:
	leaq	(%rbx,%rbp,4), %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	8(%rsp), %edx
	addl	(%rbx,%rbp,4), %r12d
	addq	$1, %rbp
	cmpl	%ebp, %edx
	jg	.L118
.L117:
	subl	$1, %edx
	xorl	%esi, %esi
	movq	%rbx, %rdi
	call	quicksort_des
	movl	12(%rsp), %edx
	testl	%edx, %edx
	jle	.L133
	leal	-1(%rdx), %eax
	cmpl	$3, %eax
	jbe	.L134
	movl	%edx, %ecx
	movd	%edx, %xmm7
	pxor	%xmm2, %xmm2
	movq	%rbx, %rax
	shrl	$2, %ecx
	pshufd	$0, %xmm7, %xmm3
	movd	%r12d, %xmm7
	movdqa	%xmm3, %xmm5
	pshufd	$0, %xmm7, %xmm6
	movdqa	%xmm2, %xmm4
	subl	$1, %ecx
	salq	$4, %rcx
	psrlq	$32, %xmm5
	leaq	32(%rsp,%rcx), %rcx
	.p2align 4,,10
	.p2align 3
.L121:
	movdqa	(%rax), %xmm1
	movdqa	%xmm3, %xmm0
	pmuludq	(%rax), %xmm0
	addq	$16, %rax
	pshufd	$8, %xmm0, %xmm0
	psrlq	$32, %xmm1
	pmuludq	%xmm5, %xmm1
	pshufd	$8, %xmm1, %xmm1
	punpckldq	%xmm1, %xmm0
	movdqa	%xmm6, %xmm1
	pslld	$2, %xmm0
	pcmpgtd	%xmm0, %xmm1
	pcmpeqd	%xmm4, %xmm1
	psubd	%xmm1, %xmm2
	cmpq	%rax, %rcx
	jne	.L121
	movdqa	%xmm2, %xmm0
	movl	%edx, %ecx
	psrldq	$8, %xmm0
	andl	$-4, %ecx
	paddd	%xmm0, %xmm2
	movdqa	%xmm2, %xmm0
	psrldq	$4, %xmm0
	paddd	%xmm0, %xmm2
	movd	%xmm2, %eax
	testb	$3, %dl
	je	.L119
.L120:
	movslq	%ecx, %rsi
	movl	16(%rsp,%rsi,4), %edi
	imull	%edx, %edi
	movl	%edi, %esi
	sall	$2, %esi
	cmpl	%r12d, %esi
	setge	%sil
	movzbl	%sil, %esi
	addl	%esi, %eax
	leal	1(%rcx), %esi
	cmpl	%edx, %esi
	jge	.L119
	movslq	%esi, %rsi
	movl	16(%rsp,%rsi,4), %edi
	imull	%edx, %edi
	movl	%edi, %esi
	sall	$2, %esi
	cmpl	%esi, %r12d
	jle	.L138
.L125:
	leal	2(%rcx), %esi
	cmpl	%edx, %esi
	jge	.L119
	movslq	%esi, %rsi
	movl	16(%rsp,%rsi,4), %edi
	imull	%edx, %edi
	movl	%edi, %esi
	sall	$2, %esi
	cmpl	%r12d, %esi
	jl	.L126
	addl	$1, %eax
.L126:
	addl	$3, %ecx
	cmpl	%ecx, %edx
	jle	.L119
	movslq	%ecx, %rcx
	movl	16(%rsp,%rcx,4), %ebx
	imull	%edx, %ebx
	movl	%ebx, %ecx
	sall	$2, %ecx
	cmpl	%ecx, %r12d
	jg	.L119
	addl	$1, %eax
.L119:
	cmpl	%eax, %edx
	je	.L139
	leaq	.LC3(%rip), %rdi
	call	puts@PLT
.L130:
	movq	4024(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L140
	addq	$4040, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%rbp
	.cfi_def_cfa_offset 24
	popq	%r12
	.cfi_def_cfa_offset 16
	popq	%r13
	.cfi_def_cfa_offset 8
	ret
.L138:
	.cfi_restore_state
	addl	$1, %eax
	jmp	.L125
.L139:
	leaq	.LC2(%rip), %rdi
	call	puts@PLT
	jmp	.L130
.L133:
	xorl	%eax, %eax
	jmp	.L119
.L132:
	xorl	%r12d, %r12d
	leaq	16(%rsp), %rbx
	jmp	.L117
.L134:
	xorl	%ecx, %ecx
	xorl	%eax, %eax
	jmp	.L120
.L140:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE52:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	1f - 0f
	.long	4f - 1f
	.long	5
0:
	.string	"GNU"
1:
	.align 8
	.long	0xc0000002
	.long	3f - 2f
2:
	.long	0x3
3:
	.align 8
4:

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

typedef long long ll;
typedef int keytype;

void quicksort_des(keytype a[], int first, int last)
{
    int i, j;
    keytype x, t;

    x = a[(first + last) / 2];
    i = first;  j = last;
    for ( ; ; ) {
        while (a[i] > x) i++;
        while (x > a[j]) j--;
        if (i >= j) break;
        t = a[i];  a[i] = a[j];  a[j] = t;
        i++;  j--;
    }
    if (first  < i - 1) quicksort_des(a, first , i - 1);
    if (j + 1 < last) quicksort_des(a, j + 1, last);
}

int main(){
    int n, m;
    int a[1000];

    scanf("%d %d", &n, &m);
    int sum = 0;
    for(int i = 0; i < n; ++i){
        scanf("%d", &a[i]);
        sum += a[i];
    }

    quicksort_des(a, 0, n-1);
    int cnt = 0;
    for(int i = 0; i < m; ++i){
        if(a[i] * (4 * m) >= sum) cnt++;
    }

    if(cnt == m) puts("Yes");
    else puts("No");

    return 0;
}

4 1
5 4 0 1
 3 2
519 19 1
 12 3
4 56 78 901 2 345 67 890 123 45 3 789
 3 1
5 4 0 1
 3 2
39 19 1
 3 2
39 14 1
 3 2
39 18 1
 3 1
39 18 1
 3 1
39 16 1
 3 1
53 16 1

Yes
 No
 Yes
 Yes
 Yes
 Yes
 Yes
 Yes
 Yes
 Yes

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

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

typedef long long ll;
typedef int keytype;

void quicksort_des(keytype a[], int first, int last)
{
    int i, j;
    keytype x, t;

    x = a[(first + last) / 2];
    i = first;  j = last;
    for ( ; ; ) {
        while (a[i] > x) i++;
        while (x > a[j]) j--;
        if (i >= j) break;
        t = a[i];  a[i] = a[j];  a[j] = t;
        i++;  j--;
    }
    if (first  < i - 1) quicksort_des(a, first , i - 1);
    if (j + 1 < last) quicksort_des(a, j + 1, last);
}

int main(){
    int n, m;
    int a[1000];

    scanf("%d %d", &n, &m);
    int sum = 0;
    for(int i = 0; i < n; ++i){
        scanf("%d", &a[i]);
        sum += a[i];
    }

    quicksort_des(a, 0, n-1);
    int cnt = 0;
    for(int i = 0; i < m; ++i){
        if(a[i] * (4 * m) >= sum) cnt++;
    }

    if(cnt == m) puts("Yes");
    else puts("No");

    return 0;
}
```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	quicksort_des
	.type	quicksort_des, @function
quicksort_des:
.LFB6:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$32, %rsp
	movq	%rdi, -24(%rbp)
	movl	%esi, -28(%rbp)
	movl	%edx, -32(%rbp)
	movl	-28(%rbp), %edx
	movl	-32(%rbp), %eax
	addl	%edx, %eax
	movl	%eax, %edx
	shrl	$31, %edx
	addl	%edx, %eax
	sarl	%eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-24(%rbp), %rax
	addq	%rdx, %rax
	movl	(%rax), %eax
	movl	%eax, -8(%rbp)
	movl	-28(%rbp), %eax
	movl	%eax, -16(%rbp)
	movl	-32(%rbp), %eax
	movl	%eax, -12(%rbp)
	jmp	.L2
.L3:
	addl	$1, -16(%rbp)
.L2:
	movl	-16(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-24(%rbp), %rax
	addq	%rdx, %rax
	movl	(%rax), %eax
	cmpl	%eax, -8(%rbp)
	jl	.L3
	jmp	.L4
.L5:
	subl	$1, -12(%rbp)
.L4:
	movl	-12(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-24(%rbp), %rax
	addq	%rdx, %rax
	movl	(%rax), %eax
	cmpl	%eax, -8(%rbp)
	jg	.L5
	movl	-16(%rbp), %eax
	cmpl	-12(%rbp), %eax
	jge	.L12
	movl	-16(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-24(%rbp), %rax
	addq	%rdx, %rax
	movl	(%rax), %eax
	movl	%eax, -4(%rbp)
	movl	-12(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-24(%rbp), %rax
	addq	%rdx, %rax
	movl	-16(%rbp), %edx
	movslq	%edx, %rdx
	leaq	0(,%rdx,4), %rcx
	movq	-24(%rbp), %rdx
	addq	%rcx, %rdx
	movl	(%rax), %eax
	movl	%eax, (%rdx)
	movl	-12(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-24(%rbp), %rax
	addq	%rax, %rdx
	movl	-4(%rbp), %eax
	movl	%eax, (%rdx)
	addl	$1, -16(%rbp)
	subl	$1, -12(%rbp)
	jmp	.L2
.L12:
	nop
	movl	-16(%rbp), %eax
	subl	$1, %eax
	cmpl	%eax, -28(%rbp)
	jge	.L9
	movl	-16(%rbp), %eax
	leal	-1(%rax), %edx
	movl	-28(%rbp), %ecx
	movq	-24(%rbp), %rax
	movl	%ecx, %esi
	movq	%rax, %rdi
	call	quicksort_des
.L9:
	movl	-12(%rbp), %eax
	addl	$1, %eax
	cmpl	%eax, -32(%rbp)
	jle	.L13
	movl	-12(%rbp), %eax
	leal	1(%rax), %ecx
	movl	-32(%rbp), %edx
	movq	-24(%rbp), %rax
	movl	%ecx, %esi
	movq	%rax, %rdi
	call	quicksort_des
.L13:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	quicksort_des, .-quicksort_des
	.section	.rodata
.LC0:
	.string	"%d %d"
.LC1:
	.string	"%d"
.LC2:
	.string	"Yes"
.LC3:
	.string	"No"
	.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	$4048, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-4036(%rbp), %rdx
	leaq	-4040(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -4032(%rbp)
	movl	$0, -4028(%rbp)
	jmp	.L15
.L16:
	leaq	-4016(%rbp), %rdx
	movl	-4028(%rbp), %eax
	cltq
	salq	$2, %rax
	addq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-4028(%rbp), %eax
	cltq
	movl	-4016(%rbp,%rax,4), %eax
	addl	%eax, -4032(%rbp)
	addl	$1, -4028(%rbp)
.L15:
	movl	-4040(%rbp), %eax
	cmpl	%eax, -4028(%rbp)
	jl	.L16
	movl	-4040(%rbp), %eax
	leal	-1(%rax), %edx
	leaq	-4016(%rbp), %rax
	movl	$0, %esi
	movq	%rax, %rdi
	call	quicksort_des
	movl	$0, -4024(%rbp)
	movl	$0, -4020(%rbp)
	jmp	.L17
.L19:
	movl	-4020(%rbp), %eax
	cltq
	movl	-4016(%rbp,%rax,4), %edx
	movl	-4036(%rbp), %eax
	imull	%edx, %eax
	sall	$2, %eax
	cmpl	%eax, -4032(%rbp)
	jg	.L18
	addl	$1, -4024(%rbp)
.L18:
	addl	$1, -4020(%rbp)
.L17:
	movl	-4036(%rbp), %eax
	cmpl	%eax, -4020(%rbp)
	jl	.L19
	movl	-4036(%rbp), %eax
	cmpl	%eax, -4024(%rbp)
	jne	.L20
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	jmp	.L21
.L20:
	leaq	.LC3(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
.L21:
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L23
	call	__stack_chk_fail@PLT
.L23:
	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	quicksort_des
	.type	quicksort_des, @function
quicksort_des:
.LFB6:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$32, %rsp
	movq	%rdi, -24(%rbp)
	movl	%esi, -28(%rbp)
	movl	%edx, -32(%rbp)
	movl	-28(%rbp), %edx
	movl	-32(%rbp), %eax
	addl	%edx, %eax
	movl	%eax, %edx
	shrl	$31, %edx
	addl	%edx, %eax
	sarl	%eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-24(%rbp), %rax
	addq	%rdx, %rax
	movl	(%rax), %eax
	movl	%eax, -8(%rbp)
	movl	-28(%rbp), %eax
	movl	%eax, -16(%rbp)
	movl	-32(%rbp), %eax
	movl	%eax, -12(%rbp)
	jmp	.L2
.L3:
	addl	$1, -16(%rbp)
.L2:
	movl	-16(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-24(%rbp), %rax
	addq	%rdx, %rax
	movl	(%rax), %eax
	cmpl	%eax, -8(%rbp)
	jl	.L3
	jmp	.L4
.L5:
	subl	$1, -12(%rbp)
.L4:
	movl	-12(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-24(%rbp), %rax
	addq	%rdx, %rax
	movl	(%rax), %eax
	cmpl	%eax, -8(%rbp)
	jg	.L5
	movl	-16(%rbp), %eax
	cmpl	-12(%rbp), %eax
	jge	.L12
	movl	-16(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-24(%rbp), %rax
	addq	%rdx, %rax
	movl	(%rax), %eax
	movl	%eax, -4(%rbp)
	movl	-12(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-24(%rbp), %rax
	addq	%rdx, %rax
	movl	-16(%rbp), %edx
	movslq	%edx, %rdx
	leaq	0(,%rdx,4), %rcx
	movq	-24(%rbp), %rdx
	addq	%rcx, %rdx
	movl	(%rax), %eax
	movl	%eax, (%rdx)
	movl	-12(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-24(%rbp), %rax
	addq	%rax, %rdx
	movl	-4(%rbp), %eax
	movl	%eax, (%rdx)
	addl	$1, -16(%rbp)
	subl	$1, -12(%rbp)
	jmp	.L2
.L12:
	nop
	movl	-16(%rbp), %eax
	subl	$1, %eax
	cmpl	%eax, -28(%rbp)
	jge	.L9
	movl	-16(%rbp), %eax
	leal	-1(%rax), %edx
	movl	-28(%rbp), %ecx
	movq	-24(%rbp), %rax
	movl	%ecx, %esi
	movq	%rax, %rdi
	call	quicksort_des
.L9:
	movl	-12(%rbp), %eax
	addl	$1, %eax
	cmpl	%eax, -32(%rbp)
	jle	.L13
	movl	-12(%rbp), %eax
	leal	1(%rax), %ecx
	movl	-32(%rbp), %edx
	movq	-24(%rbp), %rax
	movl	%ecx, %esi
	movq	%rax, %rdi
	call	quicksort_des
.L13:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	quicksort_des, .-quicksort_des
	.section	.rodata
.LC0:
	.string	"%d %d"
.LC1:
	.string	"%d"
.LC2:
	.string	"Yes"
.LC3:
	.string	"No"
	.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	$4048, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-4036(%rbp), %rdx
	leaq	-4040(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -4032(%rbp)
	movl	$0, -4028(%rbp)
	jmp	.L15
.L16:
	leaq	-4016(%rbp), %rdx
	movl	-4028(%rbp), %eax
	cltq
	salq	$2, %rax
	addq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-4028(%rbp), %eax
	cltq
	movl	-4016(%rbp,%rax,4), %eax
	addl	%eax, -4032(%rbp)
	addl	$1, -4028(%rbp)
.L15:
	movl	-4040(%rbp), %eax
	cmpl	%eax, -4028(%rbp)
	jl	.L16
	movl	-4040(%rbp), %eax
	leal	-1(%rax), %edx
	leaq	-4016(%rbp), %rax
	movl	$0, %esi
	movq	%rax, %rdi
	call	quicksort_des
	movl	$0, -4024(%rbp)
	movl	$0, -4020(%rbp)
	jmp	.L17
.L19:
	movl	-4020(%rbp), %eax
	cltq
	movl	-4016(%rbp,%rax,4), %edx
	movl	-4036(%rbp), %eax
	imull	%edx, %eax
	sall	$2, %eax
	cmpl	%eax, -4032(%rbp)
	jg	.L18
	addl	$1, -4024(%rbp)
.L18:
	addl	$1, -4020(%rbp)
.L17:
	movl	-4036(%rbp), %eax
	cmpl	%eax, -4020(%rbp)
	jl	.L19
	movl	-4036(%rbp), %eax
	cmpl	%eax, -4024(%rbp)
	jne	.L20
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	jmp	.L21
.L20:
	leaq	.LC3(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
.L21:
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L23
	call	__stack_chk_fail@PLT
.L23:
	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:
