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>
typedef long long int ll;
int asc(const void *a,const void *b){return *(int*)a-*(int*)b;}
int main(){
    static int n,a[200000];
    int flg=0;

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

    
    qsort(a,n,sizeof(int),asc);

    for(int i=0;i<n;i++){
        if(a[i]!=0){
            flg=1;
            break;
        }
    }

    if(!flg){
        printf("Yes\n");
        return 0;
    }

    if(n%3!=0){
        printf("No\n");
        return 0;
    }

    
    if(a[0]!=a[n/3-1]||a[n/3]!=a[2*n/3-1]||a[2*n/3]!=a[n-1]){
        printf("No\n");
        return 0;
    }

    if((a[0]^a[2*n/3])==a[n/3]){
        printf("Yes\n");
        return 0;
    }
    printf("No\n");




    return 0;

}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	asc
	.type	asc, @function
asc:
.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
	movl	(%rax), %edx
	movq	-16(%rbp), %rax
	movl	(%rax), %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	asc, .-asc
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"Yes"
.LC2:
	.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	$16, %rsp
	movl	$0, -12(%rbp)
	leaq	n.1(%rip), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -8(%rbp)
	jmp	.L4
.L5:
	movl	-8(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	a.0(%rip), %rax
	addq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -8(%rbp)
.L4:
	movl	n.1(%rip), %eax
	cmpl	%eax, -8(%rbp)
	jl	.L5
	movl	n.1(%rip), %eax
	cltq
	leaq	asc(%rip), %rdx
	movq	%rdx, %rcx
	movl	$4, %edx
	movq	%rax, %rsi
	leaq	a.0(%rip), %rax
	movq	%rax, %rdi
	call	qsort@PLT
	movl	$0, -4(%rbp)
	jmp	.L6
.L9:
	movl	-4(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	a.0(%rip), %rax
	movl	(%rdx,%rax), %eax
	testl	%eax, %eax
	je	.L7
	movl	$1, -12(%rbp)
	jmp	.L8
.L7:
	addl	$1, -4(%rbp)
.L6:
	movl	n.1(%rip), %eax
	cmpl	%eax, -4(%rbp)
	jl	.L9
.L8:
	cmpl	$0, -12(%rbp)
	jne	.L10
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	movl	$0, %eax
	jmp	.L11
.L10:
	movl	n.1(%rip), %edx
	movslq	%edx, %rax
	imulq	$1431655766, %rax, %rax
	shrq	$32, %rax
	movl	%edx, %ecx
	sarl	$31, %ecx
	subl	%ecx, %eax
	movl	%eax, %ecx
	addl	%ecx, %ecx
	addl	%eax, %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	testl	%eax, %eax
	je	.L12
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	movl	$0, %eax
	jmp	.L11
.L12:
	movl	a.0(%rip), %edx
	movl	n.1(%rip), %eax
	movslq	%eax, %rcx
	imulq	$1431655766, %rcx, %rcx
	shrq	$32, %rcx
	sarl	$31, %eax
	movl	%eax, %esi
	movl	%ecx, %eax
	subl	%esi, %eax
	subl	$1, %eax
	cltq
	leaq	0(,%rax,4), %rcx
	leaq	a.0(%rip), %rax
	movl	(%rcx,%rax), %eax
	cmpl	%eax, %edx
	jne	.L13
	movl	n.1(%rip), %eax
	movslq	%eax, %rdx
	imulq	$1431655766, %rdx, %rdx
	shrq	$32, %rdx
	sarl	$31, %eax
	movl	%eax, %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	a.0(%rip), %rax
	movl	(%rdx,%rax), %edx
	movl	n.1(%rip), %eax
	addl	%eax, %eax
	movslq	%eax, %rcx
	imulq	$1431655766, %rcx, %rcx
	shrq	$32, %rcx
	sarl	$31, %eax
	movl	%eax, %esi
	movl	%ecx, %eax
	subl	%esi, %eax
	subl	$1, %eax
	cltq
	leaq	0(,%rax,4), %rcx
	leaq	a.0(%rip), %rax
	movl	(%rcx,%rax), %eax
	cmpl	%eax, %edx
	jne	.L13
	movl	n.1(%rip), %eax
	addl	%eax, %eax
	movslq	%eax, %rdx
	imulq	$1431655766, %rdx, %rdx
	shrq	$32, %rdx
	sarl	$31, %eax
	movl	%eax, %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	a.0(%rip), %rax
	movl	(%rdx,%rax), %edx
	movl	n.1(%rip), %eax
	subl	$1, %eax
	cltq
	leaq	0(,%rax,4), %rcx
	leaq	a.0(%rip), %rax
	movl	(%rcx,%rax), %eax
	cmpl	%eax, %edx
	je	.L14
.L13:
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	movl	$0, %eax
	jmp	.L11
.L14:
	movl	a.0(%rip), %ecx
	movl	n.1(%rip), %eax
	addl	%eax, %eax
	movslq	%eax, %rdx
	imulq	$1431655766, %rdx, %rdx
	shrq	$32, %rdx
	sarl	$31, %eax
	movl	%eax, %esi
	movl	%edx, %eax
	subl	%esi, %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	a.0(%rip), %rax
	movl	(%rdx,%rax), %eax
	xorl	%eax, %ecx
	movl	n.1(%rip), %eax
	movslq	%eax, %rdx
	imulq	$1431655766, %rdx, %rdx
	shrq	$32, %rdx
	sarl	$31, %eax
	movl	%eax, %esi
	movl	%edx, %eax
	subl	%esi, %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	a.0(%rip), %rax
	movl	(%rdx,%rax), %eax
	cmpl	%eax, %ecx
	jne	.L15
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	movl	$0, %eax
	jmp	.L11
.L15:
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	movl	$0, %eax
.L11:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	main, .-main
	.local	n.1
	.comm	n.1,4,4
	.local	a.0
	.comm	a.0,800000,32
	.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	asc
	.type	asc, @function
asc:
.LFB39:
	.cfi_startproc
	endbr64
	movl	(%rdi), %eax
	subl	(%rsi), %eax
	ret
	.cfi_endproc
.LFE39:
	.size	asc, .-asc
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"No"
.LC2:
	.string	"Yes"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB40:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	leaq	.LC0(%rip), %r13
	leaq	n.1(%rip), %rsi
	xorl	%eax, %eax
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	movq	%r13, %rdi
	leaq	a.0(%rip), %r12
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	subq	$8, %rsp
	.cfi_def_cfa_offset 48
	call	__isoc99_scanf@PLT
	movslq	n.1(%rip), %rsi
	testl	%esi, %esi
	jle	.L4
	movq	%r12, %rbp
	xorl	%ebx, %ebx
	.p2align 4,,10
	.p2align 3
.L5:
	movq	%rbp, %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	addl	$1, %ebx
	call	__isoc99_scanf@PLT
	movslq	n.1(%rip), %rsi
	addq	$4, %rbp
	cmpl	%ebx, %esi
	jg	.L5
.L4:
	leaq	asc(%rip), %rcx
	movl	$4, %edx
	movq	%r12, %rdi
	call	qsort@PLT
	movl	n.1(%rip), %esi
	testl	%esi, %esi
	jle	.L6
	leaq	a.0(%rip), %rdx
	leal	-1(%rsi), %ecx
	leaq	4(%rdx), %rax
	movq	%rcx, %rdi
	leaq	(%rax,%rcx,4), %rcx
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L18:
	addq	$4, %rdx
	cmpq	%rcx, %rdx
	je	.L6
.L8:
	movl	(%rdx), %eax
	testl	%eax, %eax
	je	.L18
	imull	$-1431655765, %esi, %eax
	addl	$715827882, %eax
	cmpl	$1431655764, %eax
	ja	.L10
	movl	%esi, %eax
	movl	$3, %ecx
	movl	a.0(%rip), %r8d
	cltd
	idivl	%ecx
	leal	-1(%rax), %edx
	movslq	%edx, %rdx
	cmpl	(%r12,%rdx,4), %r8d
	jne	.L10
	cltq
	movl	(%r12,%rax,4), %r9d
	leal	(%rsi,%rsi), %eax
	cltd
	idivl	%ecx
	leal	-1(%rax), %edx
	movslq	%edx, %rdx
	cmpl	(%r12,%rdx,4), %r9d
	jne	.L10
	cltq
	movslq	%edi, %rdi
	movl	(%r12,%rax,4), %eax
	cmpl	(%r12,%rdi,4), %eax
	je	.L19
	.p2align 4,,10
	.p2align 3
.L10:
	leaq	.LC1(%rip), %rdi
	call	puts@PLT
.L15:
	addq	$8, %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
.L19:
	.cfi_restore_state
	xorl	%eax, %r8d
	cmpl	%r8d, %r9d
	jne	.L10
.L6:
	leaq	.LC2(%rip), %rdi
	call	puts@PLT
	jmp	.L15
	.cfi_endproc
.LFE40:
	.size	main, .-main
	.local	a.0
	.comm	a.0,800000,32
	.local	n.1
	.comm	n.1,4,4
	.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	asc
	.type	asc, @function
asc:
.LFB39:
	.cfi_startproc
	endbr64
	movl	(%rdi), %eax
	subl	(%rsi), %eax
	ret
	.cfi_endproc
.LFE39:
	.size	asc, .-asc
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"No"
.LC2:
	.string	"Yes"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB40:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	leaq	.LC0(%rip), %r13
	leaq	n.1(%rip), %rsi
	xorl	%eax, %eax
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	movq	%r13, %rdi
	leaq	a.0(%rip), %r12
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	subq	$8, %rsp
	.cfi_def_cfa_offset 48
	call	__isoc99_scanf@PLT
	movslq	n.1(%rip), %rsi
	testl	%esi, %esi
	jle	.L4
	movq	%r12, %rbp
	xorl	%ebx, %ebx
	.p2align 4,,10
	.p2align 3
.L5:
	movq	%rbp, %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	addl	$1, %ebx
	call	__isoc99_scanf@PLT
	movslq	n.1(%rip), %rsi
	addq	$4, %rbp
	cmpl	%ebx, %esi
	jg	.L5
.L4:
	leaq	asc(%rip), %rcx
	movl	$4, %edx
	movq	%r12, %rdi
	call	qsort@PLT
	movl	n.1(%rip), %esi
	testl	%esi, %esi
	jle	.L6
	leaq	a.0(%rip), %rdx
	leal	-1(%rsi), %ecx
	leaq	4(%rdx), %rax
	movq	%rcx, %rdi
	leaq	(%rax,%rcx,4), %rcx
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L18:
	addq	$4, %rdx
	cmpq	%rcx, %rdx
	je	.L6
.L8:
	movl	(%rdx), %eax
	testl	%eax, %eax
	je	.L18
	imull	$-1431655765, %esi, %eax
	addl	$715827882, %eax
	cmpl	$1431655764, %eax
	ja	.L10
	movl	%esi, %eax
	movl	$3, %ecx
	movl	a.0(%rip), %r8d
	cltd
	idivl	%ecx
	leal	-1(%rax), %edx
	movslq	%edx, %rdx
	cmpl	(%r12,%rdx,4), %r8d
	jne	.L10
	cltq
	movl	(%r12,%rax,4), %r9d
	leal	(%rsi,%rsi), %eax
	cltd
	idivl	%ecx
	leal	-1(%rax), %edx
	movslq	%edx, %rdx
	cmpl	(%r12,%rdx,4), %r9d
	jne	.L10
	cltq
	movslq	%edi, %rdi
	movl	(%r12,%rax,4), %eax
	cmpl	(%r12,%rdi,4), %eax
	je	.L19
	.p2align 4,,10
	.p2align 3
.L10:
	leaq	.LC1(%rip), %rdi
	call	puts@PLT
.L15:
	addq	$8, %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
.L19:
	.cfi_restore_state
	xorl	%eax, %r8d
	cmpl	%r8d, %r9d
	jne	.L10
.L6:
	leaq	.LC2(%rip), %rdi
	call	puts@PLT
	jmp	.L15
	.cfi_endproc
.LFE40:
	.size	main, .-main
	.local	a.0
	.comm	a.0,800000,32
	.local	n.1
	.comm	n.1,4,4
	.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>
typedef long long int ll;
int asc(const void *a,const void *b){return *(int*)a-*(int*)b;}
int main(){
    static int n,a[200000];
    int flg=0;

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

    
    qsort(a,n,sizeof(int),asc);

    for(int i=0;i<n;i++){
        if(a[i]!=0){
            flg=1;
            break;
        }
    }

    if(!flg){
        printf("Yes\n");
        return 0;
    }

    if(n%3!=0){
        printf("No\n");
        return 0;
    }

    
    if(a[0]!=a[n/3-1]||a[n/3]!=a[2*n/3-1]||a[2*n/3]!=a[n-1]){
        printf("No\n");
        return 0;
    }

    if((a[0]^a[2*n/3])==a[n/3]){
        printf("Yes\n");
        return 0;
    }
    printf("No\n");




    return 0;

}
3
1 2 0
 3
3 2 1
 4
1 2 4 11
 3
0 2 0
 4
0 2 4 11
 3
0 1 0
 4
0 4 4 11
 3
0 1 -1
 4
0 4 4 20
 3
1 2 1

No
 Yes
 No
 No
 No
 No
 No
 No
 No
 No

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>
typedef long long int ll;
int asc(const void *a,const void *b){return *(int*)a-*(int*)b;}
int main(){
    static int n,a[200000];
    int flg=0;

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

    
    qsort(a,n,sizeof(int),asc);

    for(int i=0;i<n;i++){
        if(a[i]!=0){
            flg=1;
            break;
        }
    }

    if(!flg){
        printf("Yes\n");
        return 0;
    }

    if(n%3!=0){
        printf("No\n");
        return 0;
    }

    
    if(a[0]!=a[n/3-1]||a[n/3]!=a[2*n/3-1]||a[2*n/3]!=a[n-1]){
        printf("No\n");
        return 0;
    }

    if((a[0]^a[2*n/3])==a[n/3]){
        printf("Yes\n");
        return 0;
    }
    printf("No\n");




    return 0;

}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	asc
	.type	asc, @function
asc:
.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
	movl	(%rax), %edx
	movq	-16(%rbp), %rax
	movl	(%rax), %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	asc, .-asc
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"Yes"
.LC2:
	.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	$16, %rsp
	movl	$0, -12(%rbp)
	leaq	n.1(%rip), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -8(%rbp)
	jmp	.L4
.L5:
	movl	-8(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	a.0(%rip), %rax
	addq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -8(%rbp)
.L4:
	movl	n.1(%rip), %eax
	cmpl	%eax, -8(%rbp)
	jl	.L5
	movl	n.1(%rip), %eax
	cltq
	leaq	asc(%rip), %rdx
	movq	%rdx, %rcx
	movl	$4, %edx
	movq	%rax, %rsi
	leaq	a.0(%rip), %rax
	movq	%rax, %rdi
	call	qsort@PLT
	movl	$0, -4(%rbp)
	jmp	.L6
.L9:
	movl	-4(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	a.0(%rip), %rax
	movl	(%rdx,%rax), %eax
	testl	%eax, %eax
	je	.L7
	movl	$1, -12(%rbp)
	jmp	.L8
.L7:
	addl	$1, -4(%rbp)
.L6:
	movl	n.1(%rip), %eax
	cmpl	%eax, -4(%rbp)
	jl	.L9
.L8:
	cmpl	$0, -12(%rbp)
	jne	.L10
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	movl	$0, %eax
	jmp	.L11
.L10:
	movl	n.1(%rip), %edx
	movslq	%edx, %rax
	imulq	$1431655766, %rax, %rax
	shrq	$32, %rax
	movl	%edx, %ecx
	sarl	$31, %ecx
	subl	%ecx, %eax
	movl	%eax, %ecx
	addl	%ecx, %ecx
	addl	%eax, %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	testl	%eax, %eax
	je	.L12
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	movl	$0, %eax
	jmp	.L11
.L12:
	movl	a.0(%rip), %edx
	movl	n.1(%rip), %eax
	movslq	%eax, %rcx
	imulq	$1431655766, %rcx, %rcx
	shrq	$32, %rcx
	sarl	$31, %eax
	movl	%eax, %esi
	movl	%ecx, %eax
	subl	%esi, %eax
	subl	$1, %eax
	cltq
	leaq	0(,%rax,4), %rcx
	leaq	a.0(%rip), %rax
	movl	(%rcx,%rax), %eax
	cmpl	%eax, %edx
	jne	.L13
	movl	n.1(%rip), %eax
	movslq	%eax, %rdx
	imulq	$1431655766, %rdx, %rdx
	shrq	$32, %rdx
	sarl	$31, %eax
	movl	%eax, %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	a.0(%rip), %rax
	movl	(%rdx,%rax), %edx
	movl	n.1(%rip), %eax
	addl	%eax, %eax
	movslq	%eax, %rcx
	imulq	$1431655766, %rcx, %rcx
	shrq	$32, %rcx
	sarl	$31, %eax
	movl	%eax, %esi
	movl	%ecx, %eax
	subl	%esi, %eax
	subl	$1, %eax
	cltq
	leaq	0(,%rax,4), %rcx
	leaq	a.0(%rip), %rax
	movl	(%rcx,%rax), %eax
	cmpl	%eax, %edx
	jne	.L13
	movl	n.1(%rip), %eax
	addl	%eax, %eax
	movslq	%eax, %rdx
	imulq	$1431655766, %rdx, %rdx
	shrq	$32, %rdx
	sarl	$31, %eax
	movl	%eax, %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	a.0(%rip), %rax
	movl	(%rdx,%rax), %edx
	movl	n.1(%rip), %eax
	subl	$1, %eax
	cltq
	leaq	0(,%rax,4), %rcx
	leaq	a.0(%rip), %rax
	movl	(%rcx,%rax), %eax
	cmpl	%eax, %edx
	je	.L14
.L13:
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	movl	$0, %eax
	jmp	.L11
.L14:
	movl	a.0(%rip), %ecx
	movl	n.1(%rip), %eax
	addl	%eax, %eax
	movslq	%eax, %rdx
	imulq	$1431655766, %rdx, %rdx
	shrq	$32, %rdx
	sarl	$31, %eax
	movl	%eax, %esi
	movl	%edx, %eax
	subl	%esi, %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	a.0(%rip), %rax
	movl	(%rdx,%rax), %eax
	xorl	%eax, %ecx
	movl	n.1(%rip), %eax
	movslq	%eax, %rdx
	imulq	$1431655766, %rdx, %rdx
	shrq	$32, %rdx
	sarl	$31, %eax
	movl	%eax, %esi
	movl	%edx, %eax
	subl	%esi, %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	a.0(%rip), %rax
	movl	(%rdx,%rax), %eax
	cmpl	%eax, %ecx
	jne	.L15
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	movl	$0, %eax
	jmp	.L11
.L15:
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	movl	$0, %eax
.L11:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	main, .-main
	.local	n.1
	.comm	n.1,4,4
	.local	a.0
	.comm	a.0,800000,32
	.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	asc
	.type	asc, @function
asc:
.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
	movl	(%rax), %edx
	movq	-16(%rbp), %rax
	movl	(%rax), %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	asc, .-asc
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"Yes"
.LC2:
	.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	$16, %rsp
	movl	$0, -12(%rbp)
	leaq	n.1(%rip), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -8(%rbp)
	jmp	.L4
.L5:
	movl	-8(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	a.0(%rip), %rax
	addq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -8(%rbp)
.L4:
	movl	n.1(%rip), %eax
	cmpl	%eax, -8(%rbp)
	jl	.L5
	movl	n.1(%rip), %eax
	cltq
	leaq	asc(%rip), %rdx
	movq	%rdx, %rcx
	movl	$4, %edx
	movq	%rax, %rsi
	leaq	a.0(%rip), %rax
	movq	%rax, %rdi
	call	qsort@PLT
	movl	$0, -4(%rbp)
	jmp	.L6
.L9:
	movl	-4(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	a.0(%rip), %rax
	movl	(%rdx,%rax), %eax
	testl	%eax, %eax
	je	.L7
	movl	$1, -12(%rbp)
	jmp	.L8
.L7:
	addl	$1, -4(%rbp)
.L6:
	movl	n.1(%rip), %eax
	cmpl	%eax, -4(%rbp)
	jl	.L9
.L8:
	cmpl	$0, -12(%rbp)
	jne	.L10
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	movl	$0, %eax
	jmp	.L11
.L10:
	movl	n.1(%rip), %edx
	movslq	%edx, %rax
	imulq	$1431655766, %rax, %rax
	shrq	$32, %rax
	movl	%edx, %ecx
	sarl	$31, %ecx
	subl	%ecx, %eax
	movl	%eax, %ecx
	addl	%ecx, %ecx
	addl	%eax, %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	testl	%eax, %eax
	je	.L12
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	movl	$0, %eax
	jmp	.L11
.L12:
	movl	a.0(%rip), %edx
	movl	n.1(%rip), %eax
	movslq	%eax, %rcx
	imulq	$1431655766, %rcx, %rcx
	shrq	$32, %rcx
	sarl	$31, %eax
	movl	%eax, %esi
	movl	%ecx, %eax
	subl	%esi, %eax
	subl	$1, %eax
	cltq
	leaq	0(,%rax,4), %rcx
	leaq	a.0(%rip), %rax
	movl	(%rcx,%rax), %eax
	cmpl	%eax, %edx
	jne	.L13
	movl	n.1(%rip), %eax
	movslq	%eax, %rdx
	imulq	$1431655766, %rdx, %rdx
	shrq	$32, %rdx
	sarl	$31, %eax
	movl	%eax, %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	a.0(%rip), %rax
	movl	(%rdx,%rax), %edx
	movl	n.1(%rip), %eax
	addl	%eax, %eax
	movslq	%eax, %rcx
	imulq	$1431655766, %rcx, %rcx
	shrq	$32, %rcx
	sarl	$31, %eax
	movl	%eax, %esi
	movl	%ecx, %eax
	subl	%esi, %eax
	subl	$1, %eax
	cltq
	leaq	0(,%rax,4), %rcx
	leaq	a.0(%rip), %rax
	movl	(%rcx,%rax), %eax
	cmpl	%eax, %edx
	jne	.L13
	movl	n.1(%rip), %eax
	addl	%eax, %eax
	movslq	%eax, %rdx
	imulq	$1431655766, %rdx, %rdx
	shrq	$32, %rdx
	sarl	$31, %eax
	movl	%eax, %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	a.0(%rip), %rax
	movl	(%rdx,%rax), %edx
	movl	n.1(%rip), %eax
	subl	$1, %eax
	cltq
	leaq	0(,%rax,4), %rcx
	leaq	a.0(%rip), %rax
	movl	(%rcx,%rax), %eax
	cmpl	%eax, %edx
	je	.L14
.L13:
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	movl	$0, %eax
	jmp	.L11
.L14:
	movl	a.0(%rip), %ecx
	movl	n.1(%rip), %eax
	addl	%eax, %eax
	movslq	%eax, %rdx
	imulq	$1431655766, %rdx, %rdx
	shrq	$32, %rdx
	sarl	$31, %eax
	movl	%eax, %esi
	movl	%edx, %eax
	subl	%esi, %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	a.0(%rip), %rax
	movl	(%rdx,%rax), %eax
	xorl	%eax, %ecx
	movl	n.1(%rip), %eax
	movslq	%eax, %rdx
	imulq	$1431655766, %rdx, %rdx
	shrq	$32, %rdx
	sarl	$31, %eax
	movl	%eax, %esi
	movl	%edx, %eax
	subl	%esi, %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	a.0(%rip), %rax
	movl	(%rdx,%rax), %eax
	cmpl	%eax, %ecx
	jne	.L15
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	movl	$0, %eax
	jmp	.L11
.L15:
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	movl	$0, %eax
.L11:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	main, .-main
	.local	n.1
	.comm	n.1,4,4
	.local	a.0
	.comm	a.0,800000,32
	.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:
