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

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

int asc(const void *a, const void *b) {
  return *(int *)a - *(int *)b;
}

int main()
{
    int n,d[200000],m,t[200000],i,j = 0;

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

    qsort(d,n,sizeof(int),asc);
    qsort(t,m,sizeof(int),asc);

    for (i = 0; i < n; i++)
    {
        if(d[i] == t[j])
        {
            j++;
            if(j == m)break;
        }
    }

    printf("%s\n",i == n ? "NO" : "YES");
}```

Assembly Code:

```assembly
	.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	"NO"
.LC1:
	.string	"YES"
.LC2:
	.string	"%d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB40:
	.cfi_startproc
	endbr64
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	leaq	-1597440(%rsp), %r11
	.cfi_def_cfa 11, 1597488
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$2592, %rsp
	.cfi_def_cfa_offset 1600080
	leaq	.LC2(%rip), %r13
	xorl	%ebx, %ebx
	movq	%r13, %rdi
	movq	%fs:40, %rax
	movq	%rax, 1600024(%rsp)
	xorl	%eax, %eax
	leaq	8(%rsp), %rsi
	leaq	16(%rsp), %r12
	movq	%r12, %rbp
	call	__isoc99_scanf@PLT
	movl	8(%rsp), %edx
	testl	%edx, %edx
	jle	.L4
	.p2align 4,,10
	.p2align 3
.L5:
	movq	%rbp, %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	addl	$1, %ebx
	call	__isoc99_scanf@PLT
	addq	$4, %rbp
	cmpl	%ebx, 8(%rsp)
	jg	.L5
.L4:
	leaq	12(%rsp), %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	xorl	%ebx, %ebx
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %eax
	leaq	800016(%rsp), %r14
	movq	%r14, %rbp
	testl	%eax, %eax
	jle	.L6
	.p2align 4,,10
	.p2align 3
.L7:
	movq	%rbp, %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	addl	$1, %ebx
	call	__isoc99_scanf@PLT
	addq	$4, %rbp
	cmpl	%ebx, 12(%rsp)
	jg	.L7
.L6:
	movslq	8(%rsp), %rsi
	leaq	asc(%rip), %r13
	movl	$4, %edx
	movq	%r12, %rdi
	movq	%r13, %rcx
	call	qsort@PLT
	movslq	12(%rsp), %rsi
	movq	%r13, %rcx
	movq	%r14, %rdi
	movl	$4, %edx
	call	qsort@PLT
	movl	8(%rsp), %r8d
	testl	%r8d, %r8d
	jle	.L13
	movl	12(%rsp), %edi
	leal	1(%r8), %esi
	movl	$1, %eax
	xorl	%edx, %edx
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L9:
	movl	%eax, %ecx
	addq	$1, %rax
	cmpq	%rax, %rsi
	je	.L8
.L11:
	movslq	%edx, %rcx
	movl	800016(%rsp,%rcx,4), %ebx
	cmpl	%ebx, -4(%r12,%rax,4)
	jne	.L9
	addl	$1, %edx
	cmpl	%edx, %edi
	jne	.L9
	leaq	.LC1(%rip), %rdi
	jmp	.L10
.L13:
	xorl	%ecx, %ecx
	.p2align 4,,10
	.p2align 3
.L8:
	cmpl	%ecx, %r8d
	leaq	.LC1(%rip), %rdi
	leaq	.LC0(%rip), %rax
	cmove	%rax, %rdi
.L10:
	call	puts@PLT
	movq	1600024(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L24
	addq	$1600032, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%rbp
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r13
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	ret
.L24:
	.cfi_restore_state
	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:
```

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.
Optimized Assembly Code:

user
```assembly
	.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	"NO"
.LC1:
	.string	"YES"
.LC2:
	.string	"%d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB40:
	.cfi_startproc
	endbr64
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	leaq	-1597440(%rsp), %r11
	.cfi_def_cfa 11, 1597488
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$2592, %rsp
	.cfi_def_cfa_offset 1600080
	leaq	.LC2(%rip), %r13
	xorl	%ebx, %ebx
	movq	%r13, %rdi
	movq	%fs:40, %rax
	movq	%rax, 1600024(%rsp)
	xorl	%eax, %eax
	leaq	8(%rsp), %rsi
	leaq	16(%rsp), %r12
	movq	%r12, %rbp
	call	__isoc99_scanf@PLT
	movl	8(%rsp), %edx
	testl	%edx, %edx
	jle	.L4
	.p2align 4,,10
	.p2align 3
.L5:
	movq	%rbp, %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	addl	$1, %ebx
	call	__isoc99_scanf@PLT
	addq	$4, %rbp
	cmpl	%ebx, 8(%rsp)
	jg	.L5
.L4:
	leaq	12(%rsp), %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	xorl	%ebx, %ebx
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %eax
	leaq	800016(%rsp), %r14
	movq	%r14, %rbp
	testl	%eax, %eax
	jle	.L6
	.p2align 4,,10
	.p2align 3
.L7:
	movq	%rbp, %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	addl	$1, %ebx
	call	__isoc99_scanf@PLT
	addq	$4, %rbp
	cmpl	%ebx, 12(%rsp)
	jg	.L7
.L6:
	movslq	8(%rsp), %rsi
	leaq	asc(%rip), %r13
	movl	$4, %edx
	movq	%r12, %rdi
	movq	%r13, %rcx
	call	qsort@PLT
	movslq	12(%rsp), %rsi
	movq	%r13, %rcx
	movq	%r14, %rdi
	movl	$4, %edx
	call	qsort@PLT
	movl	8(%rsp), %r8d
	testl	%r8d, %r8d
	jle	.L13
	movl	12(%rsp), %edi
	leal	1(%r8), %esi
	movl	$1, %eax
	xorl	%edx, %edx
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L9:
	movl	%eax, %ecx
	addq	$1, %rax
	cmpq	%rax, %rsi
	je	.L8
.L11:
	movslq	%edx, %rcx
	movl	800016(%rsp,%rcx,4), %ebx
	cmpl	%ebx, -4(%r12,%rax,4)
	jne	.L9
	addl	$1, %edx
	cmpl	%edx, %edi
	jne	.L9
	leaq	.LC1(%rip), %rdi
	jmp	.L10
.L13:
	xorl	%ecx, %ecx
	.p2align 4,,10
	.p2align 3
.L8:
	cmpl	%ecx, %r8d
	leaq	.LC1(%rip), %rdi
	leaq	.LC0(%rip), %rax
	cmove	%rax, %rdi
.L10:
	call	puts@PLT
	movq	1600024(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L24
	addq	$1600032, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%rbp
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r13
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	ret
.L24:
	.cfi_restore_state
	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
```assembly
	.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	"NO"
.LC1:
	.string	"YES"
.LC2:
	.string	"%d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB40:
	.cfi_startproc
	endbr64
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	leaq	-1597440(%rsp), %r11
	.cfi_def_cfa 11, 1597488
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$2592, %rsp
	.cfi_def_cfa_offset 1600080
	leaq	.LC2(%rip), %r13
	xorl	%ebx, %ebx
	movq	%r13, %rdi
	movq	%fs:40, %rax
	movq	%rax, 1600024(%rsp)
	xorl	%eax, %eax
	leaq	8(%rsp), %rsi
	leaq	16(%rsp), %r12
	movq	%r12, %rbp
	call	__isoc99_scanf@PLT
	movl	8(%rsp), %edx
	testl	%edx, %edx
	jle	.L4
	.p2align 4,,10
	.p2align 3
.L5:
	movq	%rbp, %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	addl	$1, %ebx
	call	__isoc99_scanf@PLT
	addq	$4, %rbp
	cmpl	%ebx, 8(%rsp)
	jg	.L5
.L4:
	leaq	12(%rsp), %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	xorl	%ebx, %ebx
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %eax
	leaq	800016(%rsp), %r14
	movq	%r14, %rbp
	testl	%eax, %eax
	jle	.L6
	.p2align 4,,10
	.p2align 3
.L7:
	movq	%rbp, %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	addl	$1, %ebx
	call	__isoc99_scanf@PLT
	addq	$4, %rbp
	cmpl	%ebx, 12(%rsp)
	jg	.L7
.L6:
	movslq	8(%rsp), %rsi
	leaq	asc(%rip), %r13
	movl	$4, %edx
	movq	%r12, %rdi
	movq	%r13, %rcx
	call	qsort@PLT
	movslq	12(%rsp), %rsi
	movq	%r13, %rcx
	movq	%r14, %rdi
	movl	$4, %edx
	call	qsort@PLT
	movl	8(%rsp), %r8d
	testl	%r8d, %r8d
	jle	.L13
	movl	12(%rsp), %edi
	leal	1(%r8), %esi
	movl	$1, %eax
	xorl	%edx, %edx
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L9:
	movl	%eax, %ecx
	addq	$1, %rax
	cmpq	%rax, %rsi
	je	.L8
.L11:
	movslq	%edx, %rcx
	movl	800016(%rsp,%rcx,4), %ebx
	cmpl	%ebx, -4(%r12,%rax,4)
	jne	.L9
	addl	$1, %edx
	cmpl	%edx, %edi
	jne	.L9
	leaq	.LC1(%rip), %rdi
	jmp	.L10
.L13:
	xorl	%ecx, %ecx
	.p2align 4,,10
	.p2align 3
.L8:
	cmpl	%ecx, %r8d
	leaq	.LC1(%rip), %rdi
	leaq	.LC0(%rip), %rax
	cmove	%rax, %rdi
.L10:
	call	puts@PLT
	movq	1600024(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L24
	addq	$1600032, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%rbp
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r13
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	ret
.L24:
	.cfi_restore_state
	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:
```
```c
#include <stdio.h>
#include <stdlib.h>

int asc(const void *a, const void *b) {
  return *(int *)a - *(int *)b;
}

int main()
{
    int n,d[200000],m,t[200000],i,j = 0;

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

    qsort(d,n,sizeof(int),asc);
    qsort(t,m,sizeof(int),asc);

    for (i = 0; i < n; i++)
    {
        if(d[i] == t[j])
        {
            j++;
            if(j == m)break;
        }
    }

    printf("%s\n",i == n ? "NO" : "YES");
}```
Given the following C code, your task is to generate highly optimized x86-64 assembly code.
C Code:

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

int asc(const void *a, const void *b) {
  return *(int *)a - *(int *)b;
}

int main()
{
    int n,d[200000],m,t[200000],i,j = 0;

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

    qsort(d,n,sizeof(int),asc);
    qsort(t,m,sizeof(int),asc);

    for (i = 0; i < n; i++)
    {
        if(d[i] == t[j])
        {
            j++;
            if(j == m)break;
        }
    }

    printf("%s\n",i == n ? "NO" : "YES");
}```

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.
Optimized Assembly Code:

1
13
5
100 100 100 100 100
 15
1 2 2 3 4 3 4 4 8 6 5 3 5 5 7
9
7 4 3 2 1 2 3 8 5
 15
1 2 2 3 3 3 4 4 4 4 5 5 5 5 5
9
7 4 3 2 1 2 3 4 5
 7
100 200 500 700 238 1600 2000
6
100 200 500 700 1600 1600
 1
13
5
100 000 100 100 100
 15
1 2 2 3 3 3 4 4 4 4 5 3 5 5 5
9
7 4 3 2 1 2 3 4 5
 7
100 200 500 700 238 1600 2000
6
100 200 500 337 1600 1600
 1
18
5
100 000 100 100 100
 15
1 2 2 3 4 3 4 4 4 4 5 3 5 5 5
9
7 4 3 2 1 2 3 4 5
 7
100 200 500 700 238 1600 2000
6
100 200 500 337 499 1600

NO
 YES
 NO
 NO
 NO
 NO
 NO
 NO
 NO
 NO

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

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

int asc(const void *a, const void *b) {
  return *(int *)a - *(int *)b;
}

int main()
{
    int n,d[200000],m,t[200000],i,j = 0;

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

    qsort(d,n,sizeof(int),asc);
    qsort(t,m,sizeof(int),asc);

    for (i = 0; i < n; i++)
    {
        if(d[i] == t[j])
        {
            j++;
            if(j == m)break;
        }
    }

    printf("%s\n",i == n ? "NO" : "YES");
}```

Assembly Code:

```assembly
	.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	"NO"
.LC1:
	.string	"YES"
.LC2:
	.string	"%d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB40:
	.cfi_startproc
	endbr64
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	leaq	-1597440(%rsp), %r11
	.cfi_def_cfa 11, 1597488
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$2592, %rsp
	.cfi_def_cfa_offset 1600080
	leaq	.LC2(%rip), %r13
	xorl	%ebx, %ebx
	movq	%r13, %rdi
	movq	%fs:40, %rax
	movq	%rax, 1600024(%rsp)
	xorl	%eax, %eax
	leaq	8(%rsp), %rsi
	leaq	16(%rsp), %r12
	movq	%r12, %rbp
	call	__isoc99_scanf@PLT
	movl	8(%rsp), %edx
	testl	%edx, %edx
	jle	.L4
	.p2align 4,,10
	.p2align 3
.L5:
	movq	%rbp, %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	addl	$1, %ebx
	call	__isoc99_scanf@PLT
	addq	$4, %rbp
	cmpl	%ebx, 8(%rsp)
	jg	.L5
.L4:
	leaq	12(%rsp), %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	xorl	%ebx, %ebx
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %eax
	leaq	800016(%rsp), %r14
	movq	%r14, %rbp
	testl	%eax, %eax
	jle	.L6
	.p2align 4,,10
	.p2align 3
.L7:
	movq	%rbp, %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	addl	$1, %ebx
	call	__isoc99_scanf@PLT
	addq	$4, %rbp
	cmpl	%ebx, 12(%rsp)
	jg	.L7
.L6:
	movslq	8(%rsp), %rsi
	leaq	asc(%rip), %r13
	movl	$4, %edx
	movq	%r12, %rdi
	movq	%r13, %rcx
	call	qsort@PLT
	movslq	12(%rsp), %rsi
	movq	%r13, %rcx
	movq	%r14, %rdi
	movl	$4, %edx
	call	qsort@PLT
	movl	8(%rsp), %r8d
	testl	%r8d, %r8d
	jle	.L13
	movl	12(%rsp), %edi
	leal	1(%r8), %esi
	movl	$1, %eax
	xorl	%edx, %edx
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L9:
	movl	%eax, %ecx
	addq	$1, %rax
	cmpq	%rax, %rsi
	je	.L8
.L11:
	movslq	%edx, %rcx
	movl	800016(%rsp,%rcx,4), %ebx
	cmpl	%ebx, -4(%r12,%rax,4)
	jne	.L9
	addl	$1, %edx
	cmpl	%edx, %edi
	jne	.L9
	leaq	.LC1(%rip), %rdi
	jmp	.L10
.L13:
	xorl	%ecx, %ecx
	.p2align 4,,10
	.p2align 3
.L8:
	cmpl	%ecx, %r8d
	leaq	.LC1(%rip), %rdi
	leaq	.LC0(%rip), %rax
	cmove	%rax, %rdi
.L10:
	call	puts@PLT
	movq	1600024(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L24
	addq	$1600032, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%rbp
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r13
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	ret
.L24:
	.cfi_restore_state
	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:
```

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.
Optimized Assembly Code:

train
```assembly
	.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	"NO"
.LC1:
	.string	"YES"
.LC2:
	.string	"%d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB40:
	.cfi_startproc
	endbr64
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	leaq	-1597440(%rsp), %r11
	.cfi_def_cfa 11, 1597488
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$2592, %rsp
	.cfi_def_cfa_offset 1600080
	leaq	.LC2(%rip), %r13
	xorl	%ebx, %ebx
	movq	%r13, %rdi
	movq	%fs:40, %rax
	movq	%rax, 1600024(%rsp)
	xorl	%eax, %eax
	leaq	8(%rsp), %rsi
	leaq	16(%rsp), %r12
	movq	%r12, %rbp
	call	__isoc99_scanf@PLT
	movl	8(%rsp), %edx
	testl	%edx, %edx
	jle	.L4
	.p2align 4,,10
	.p2align 3
.L5:
	movq	%rbp, %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	addl	$1, %ebx
	call	__isoc99_scanf@PLT
	addq	$4, %rbp
	cmpl	%ebx, 8(%rsp)
	jg	.L5
.L4:
	leaq	12(%rsp), %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	xorl	%ebx, %ebx
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %eax
	leaq	800016(%rsp), %r14
	movq	%r14, %rbp
	testl	%eax, %eax
	jle	.L6
	.p2align 4,,10
	.p2align 3
.L7:
	movq	%rbp, %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	addl	$1, %ebx
	call	__isoc99_scanf@PLT
	addq	$4, %rbp
	cmpl	%ebx, 12(%rsp)
	jg	.L7
.L6:
	movslq	8(%rsp), %rsi
	leaq	asc(%rip), %r13
	movl	$4, %edx
	movq	%r12, %rdi
	movq	%r13, %rcx
	call	qsort@PLT
	movslq	12(%rsp), %rsi
	movq	%r13, %rcx
	movq	%r14, %rdi
	movl	$4, %edx
	call	qsort@PLT
	movl	8(%rsp), %r8d
	testl	%r8d, %r8d
	jle	.L13
	movl	12(%rsp), %edi
	leal	1(%r8), %esi
	movl	$1, %eax
	xorl	%edx, %edx
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L9:
	movl	%eax, %ecx
	addq	$1, %rax
	cmpq	%rax, %rsi
	je	.L8
.L11:
	movslq	%edx, %rcx
	movl	800016(%rsp,%rcx,4), %ebx
	cmpl	%ebx, -4(%r12,%rax,4)
	jne	.L9
	addl	$1, %edx
	cmpl	%edx, %edi
	jne	.L9
	leaq	.LC1(%rip), %rdi
	jmp	.L10
.L13:
	xorl	%ecx, %ecx
	.p2align 4,,10
	.p2align 3
.L8:
	cmpl	%ecx, %r8d
	leaq	.LC1(%rip), %rdi
	leaq	.LC0(%rip), %rax
	cmove	%rax, %rdi
.L10:
	call	puts@PLT
	movq	1600024(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L24
	addq	$1600032, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%rbp
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r13
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	ret
.L24:
	.cfi_restore_state
	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:
```