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>
int count(char d[],int p[]);
int sort(int p[]);
int main()
{
    char a[200001];
    int x[26]={0},y[26]={0},i,m=1;

    scanf("%s",a);
    count(a,x);
    scanf("%s",a);
    count(a,y);

    for(i=0;i<26;i++)
    {
        if(x[i]!=y[i])
        {
            m=0;
            break;
        }
    }
    if(m)
        printf("Yes");
    else
        printf("No");

}
int count(char d[],int p[])
{
    int i;
    for(i=0;d[i];i++)
        p[d[i]-97]++;
    sort(p);

}

int sort(int p[])
{
    int i,j;

    for(i=0;i<26;i++)
        for(j=25;j>i;j--)
    {
        if(p[i]<p[j]){
        size_t t=p[i];
        p[i]=p[j];
        p[j]=t;
        }
    }
}
```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%s"
.LC1:
	.string	"Yes"
.LC2:
	.string	"No"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	leaq	-196608(%rsp), %r11
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	subq	$3648, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-200240(%rbp), %rdx
	movl	$0, %eax
	movl	$13, %ecx
	movq	%rdx, %rdi
	rep stosq
	leaq	-200128(%rbp), %rdx
	movl	$0, %eax
	movl	$13, %ecx
	movq	%rdx, %rdi
	rep stosq
	movl	$1, -200244(%rbp)
	leaq	-200016(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	leaq	-200240(%rbp), %rdx
	leaq	-200016(%rbp), %rax
	movq	%rdx, %rsi
	movq	%rax, %rdi
	call	count
	leaq	-200016(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	leaq	-200128(%rbp), %rdx
	leaq	-200016(%rbp), %rax
	movq	%rdx, %rsi
	movq	%rax, %rdi
	call	count
	movl	$0, -200248(%rbp)
	jmp	.L2
.L5:
	movl	-200248(%rbp), %eax
	cltq
	movl	-200240(%rbp,%rax,4), %edx
	movl	-200248(%rbp), %eax
	cltq
	movl	-200128(%rbp,%rax,4), %eax
	cmpl	%eax, %edx
	je	.L3
	movl	$0, -200244(%rbp)
	jmp	.L4
.L3:
	addl	$1, -200248(%rbp)
.L2:
	cmpl	$25, -200248(%rbp)
	jle	.L5
.L4:
	cmpl	$0, -200244(%rbp)
	je	.L6
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	jmp	.L7
.L6:
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
.L7:
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L9
	call	__stack_chk_fail@PLT
.L9:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	count
	.type	count, @function
count:
.LFB1:
	.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)
	movq	%rsi, -32(%rbp)
	movl	$0, -4(%rbp)
	jmp	.L11
.L12:
	movl	-4(%rbp), %eax
	movslq	%eax, %rdx
	movq	-24(%rbp), %rax
	addq	%rdx, %rax
	movzbl	(%rax), %eax
	movsbq	%al, %rax
	salq	$2, %rax
	leaq	-388(%rax), %rdx
	movq	-32(%rbp), %rax
	addq	%rdx, %rax
	movl	(%rax), %edx
	addl	$1, %edx
	movl	%edx, (%rax)
	addl	$1, -4(%rbp)
.L11:
	movl	-4(%rbp), %eax
	movslq	%eax, %rdx
	movq	-24(%rbp), %rax
	addq	%rdx, %rax
	movzbl	(%rax), %eax
	testb	%al, %al
	jne	.L12
	movq	-32(%rbp), %rax
	movq	%rax, %rdi
	call	sort
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	count, .-count
	.globl	sort
	.type	sort, @function
sort:
.LFB2:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movq	%rdi, -24(%rbp)
	movl	$0, -16(%rbp)
	jmp	.L14
.L18:
	movl	$25, -12(%rbp)
	jmp	.L15
.L17:
	movl	-16(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-24(%rbp), %rax
	addq	%rdx, %rax
	movl	(%rax), %edx
	movl	-12(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rcx
	movq	-24(%rbp), %rax
	addq	%rcx, %rax
	movl	(%rax), %eax
	cmpl	%eax, %edx
	jge	.L16
	movl	-16(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-24(%rbp), %rax
	addq	%rdx, %rax
	movl	(%rax), %eax
	cltq
	movq	%rax, -8(%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	%rdx, %rax
	movq	-8(%rbp), %rdx
	movl	%edx, (%rax)
.L16:
	subl	$1, -12(%rbp)
.L15:
	movl	-12(%rbp), %eax
	cmpl	-16(%rbp), %eax
	jg	.L17
	addl	$1, -16(%rbp)
.L14:
	cmpl	$25, -16(%rbp)
	jle	.L18
	nop
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	sort, .-sort
	.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	count
	.type	count, @function
count:
.LFB24:
	.cfi_startproc
	endbr64
	movsbq	(%rdi), %rax
	movq	%rdi, %rdx
	movq	%rsi, %r9
	addq	$1, %rdx
	testb	%al, %al
	je	.L5
	.p2align 4,,10
	.p2align 3
.L4:
	addl	$1, -388(%r9,%rax,4)
	movsbq	(%rdx), %rax
	addq	$1, %rdx
	testb	%al, %al
	jne	.L4
.L5:
	xorl	%eax, %eax
	movq	%r9, %rsi
	leaq	96(%r9), %r11
	movl	$25, %r10d
	leal	1(%rax), %r8d
	cmpl	$24, %eax
	ja	.L18
	.p2align 4,,10
	.p2align 3
.L10:
	movl	%r10d, %edx
	movq	%r11, %rdi
	leaq	100(%r9), %rax
	subl	%r8d, %edx
	salq	$2, %rdx
	subq	%rdx, %rdi
	.p2align 4,,10
	.p2align 3
.L7:
	movl	(%rsi), %edx
	movl	(%rax), %ecx
	cmpl	%ecx, %edx
	jge	.L6
	movl	%ecx, (%rsi)
	movl	%edx, (%rax)
.L6:
	subq	$4, %rax
	cmpq	%rdi, %rax
	jne	.L7
.L8:
	movl	%r8d, %eax
	addq	$4, %rsi
	leal	1(%rax), %r8d
	cmpl	$24, %eax
	jbe	.L10
.L18:
	cmpl	$26, %r8d
	jne	.L8
	ret
	.cfi_endproc
.LFE24:
	.size	count, .-count
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%s"
.LC1:
	.string	"Yes"
.LC2:
	.string	"No"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	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
	leaq	-196608(%rsp), %r11
	.cfi_def_cfa 11, 196648
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$3640, %rsp
	.cfi_def_cfa_offset 200288
	movl	$13, %ecx
	leaq	.LC0(%rip), %r13
	movq	%fs:40, %rax
	movq	%rax, 200232(%rsp)
	xorl	%eax, %eax
	movq	%rsp, %rdi
	leaq	224(%rsp), %r12
	movq	%rsp, %rbp
	movq	%r12, %rsi
	leaq	112(%rsp), %rbx
	rep stosq
	leaq	112(%rsp), %rdi
	movl	$13, %ecx
	rep stosq
	movq	%r13, %rdi
	call	__isoc99_scanf@PLT
	movq	%rbp, %rsi
	movq	%r12, %rdi
	call	count
	movq	%r12, %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movq	%rbx, %rsi
	movq	%r12, %rdi
	call	count
	xorl	%eax, %eax
	jmp	.L21
	.p2align 4,,10
	.p2align 3
.L30:
	addq	$4, %rax
	cmpq	$104, %rax
	je	.L29
.L21:
	movl	(%rbx,%rax), %edx
	cmpl	%edx, 0(%rbp,%rax)
	je	.L30
	leaq	.LC2(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
.L23:
	movq	200232(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L31
	addq	$200248, %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
.L29:
	.cfi_restore_state
	leaq	.LC1(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L23
.L31:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.text
	.p2align 4
	.globl	sort
	.type	sort, @function
sort:
.LFB25:
	.cfi_startproc
	endbr64
	xorl	%eax, %eax
	movq	%rdi, %rsi
	leaq	96(%rdi), %r11
	movl	$25, %r10d
	leal	1(%rax), %r9d
	cmpl	$24, %eax
	ja	.L43
	.p2align 4,,10
	.p2align 3
.L38:
	movl	%r10d, %edx
	movq	%r11, %r8
	leaq	100(%rdi), %rax
	subl	%r9d, %edx
	salq	$2, %rdx
	subq	%rdx, %r8
	.p2align 4,,10
	.p2align 3
.L35:
	movl	(%rsi), %edx
	movl	(%rax), %ecx
	cmpl	%ecx, %edx
	jge	.L34
	movl	%ecx, (%rsi)
	movl	%edx, (%rax)
.L34:
	subq	$4, %rax
	cmpq	%r8, %rax
	jne	.L35
.L36:
	movl	%r9d, %eax
	addq	$4, %rsi
	leal	1(%rax), %r9d
	cmpl	$24, %eax
	jbe	.L38
.L43:
	cmpl	$26, %r9d
	jne	.L36
	ret
	.cfi_endproc
.LFE25:
	.size	sort, .-sort
	.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	count
	.type	count, @function
count:
.LFB24:
	.cfi_startproc
	endbr64
	movsbq	(%rdi), %rax
	movq	%rdi, %rdx
	movq	%rsi, %r9
	addq	$1, %rdx
	testb	%al, %al
	je	.L5
	.p2align 4,,10
	.p2align 3
.L4:
	addl	$1, -388(%r9,%rax,4)
	movsbq	(%rdx), %rax
	addq	$1, %rdx
	testb	%al, %al
	jne	.L4
.L5:
	xorl	%eax, %eax
	movq	%r9, %rsi
	leaq	96(%r9), %r11
	movl	$25, %r10d
	leal	1(%rax), %r8d
	cmpl	$24, %eax
	ja	.L18
	.p2align 4,,10
	.p2align 3
.L10:
	movl	%r10d, %edx
	movq	%r11, %rdi
	leaq	100(%r9), %rax
	subl	%r8d, %edx
	salq	$2, %rdx
	subq	%rdx, %rdi
	.p2align 4,,10
	.p2align 3
.L7:
	movl	(%rsi), %edx
	movl	(%rax), %ecx
	cmpl	%ecx, %edx
	jge	.L6
	movl	%ecx, (%rsi)
	movl	%edx, (%rax)
.L6:
	subq	$4, %rax
	cmpq	%rdi, %rax
	jne	.L7
.L8:
	movl	%r8d, %eax
	addq	$4, %rsi
	leal	1(%rax), %r8d
	cmpl	$24, %eax
	jbe	.L10
.L18:
	cmpl	$26, %r8d
	jne	.L8
	ret
	.cfi_endproc
.LFE24:
	.size	count, .-count
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%s"
.LC1:
	.string	"Yes"
.LC2:
	.string	"No"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	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
	leaq	-196608(%rsp), %r11
	.cfi_def_cfa 11, 196648
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$3640, %rsp
	.cfi_def_cfa_offset 200288
	movl	$13, %ecx
	leaq	.LC0(%rip), %r13
	movq	%fs:40, %rax
	movq	%rax, 200232(%rsp)
	xorl	%eax, %eax
	movq	%rsp, %rdi
	leaq	224(%rsp), %r12
	movq	%rsp, %rbp
	movq	%r12, %rsi
	leaq	112(%rsp), %rbx
	rep stosq
	leaq	112(%rsp), %rdi
	movl	$13, %ecx
	rep stosq
	movq	%r13, %rdi
	call	__isoc99_scanf@PLT
	movq	%rbp, %rsi
	movq	%r12, %rdi
	call	count
	movq	%r12, %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movq	%rbx, %rsi
	movq	%r12, %rdi
	call	count
	xorl	%eax, %eax
	jmp	.L21
	.p2align 4,,10
	.p2align 3
.L30:
	addq	$4, %rax
	cmpq	$104, %rax
	je	.L29
.L21:
	movl	(%rbx,%rax), %edx
	cmpl	%edx, 0(%rbp,%rax)
	je	.L30
	leaq	.LC2(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
.L23:
	movq	200232(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L31
	addq	$200248, %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
.L29:
	.cfi_restore_state
	leaq	.LC1(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L23
.L31:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.text
	.p2align 4
	.globl	sort
	.type	sort, @function
sort:
.LFB25:
	.cfi_startproc
	endbr64
	xorl	%eax, %eax
	movq	%rdi, %rsi
	leaq	96(%rdi), %r11
	movl	$25, %r10d
	leal	1(%rax), %r9d
	cmpl	$24, %eax
	ja	.L43
	.p2align 4,,10
	.p2align 3
.L38:
	movl	%r10d, %edx
	movq	%r11, %r8
	leaq	100(%rdi), %rax
	subl	%r9d, %edx
	salq	$2, %rdx
	subq	%rdx, %r8
	.p2align 4,,10
	.p2align 3
.L35:
	movl	(%rsi), %edx
	movl	(%rax), %ecx
	cmpl	%ecx, %edx
	jge	.L34
	movl	%ecx, (%rsi)
	movl	%edx, (%rax)
.L34:
	subq	$4, %rax
	cmpq	%r8, %rax
	jne	.L35
.L36:
	movl	%r9d, %eax
	addq	$4, %rsi
	leal	1(%rax), %r9d
	cmpl	$24, %eax
	jbe	.L38
.L43:
	cmpl	$26, %r9d
	jne	.L36
	ret
	.cfi_endproc
.LFE25:
	.size	sort, .-sort
	.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>
int count(char d[],int p[]);
int sort(int p[]);
int main()
{
    char a[200001];
    int x[26]={0},y[26]={0},i,m=1;

    scanf("%s",a);
    count(a,x);
    scanf("%s",a);
    count(a,y);

    for(i=0;i<26;i++)
    {
        if(x[i]!=y[i])
        {
            m=0;
            break;
        }
    }
    if(m)
        printf("Yes");
    else
        printf("No");

}
int count(char d[],int p[])
{
    int i;
    for(i=0;d[i];i++)
        p[d[i]-97]++;
    sort(p);

}

int sort(int p[])
{
    int i,j;

    for(i=0;i<26;i++)
        for(j=25;j>i;j--)
    {
        if(p[i]<p[j]){
        size_t t=p[i];
        p[i]=p[j];
        p[j]=t;
        }
    }
}

azzel
apqle
 abcdefghijklmnopqrstuvwxyz
unomzpgwdtsjxlcvakerfqhybi
 ihokudac
redcoder
 azzle
apqle
 zyxwvutsrqponmlkjihgfedcba
unomzpgwdtsjxlcvakerfqhybi
 cadukohi
redcoder
 azzle
apqld
 zyxwvutsrqponmlkjihgfedcba
unonzpgwdtsjxlcvakerfqhybi
 ihojudac
redcoder
 azzle
dlqpa

No Yes No No Yes 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>
int count(char d[],int p[]);
int sort(int p[]);
int main()
{
    char a[200001];
    int x[26]={0},y[26]={0},i,m=1;

    scanf("%s",a);
    count(a,x);
    scanf("%s",a);
    count(a,y);

    for(i=0;i<26;i++)
    {
        if(x[i]!=y[i])
        {
            m=0;
            break;
        }
    }
    if(m)
        printf("Yes");
    else
        printf("No");

}
int count(char d[],int p[])
{
    int i;
    for(i=0;d[i];i++)
        p[d[i]-97]++;
    sort(p);

}

int sort(int p[])
{
    int i,j;

    for(i=0;i<26;i++)
        for(j=25;j>i;j--)
    {
        if(p[i]<p[j]){
        size_t t=p[i];
        p[i]=p[j];
        p[j]=t;
        }
    }
}
```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%s"
.LC1:
	.string	"Yes"
.LC2:
	.string	"No"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	leaq	-196608(%rsp), %r11
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	subq	$3648, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-200240(%rbp), %rdx
	movl	$0, %eax
	movl	$13, %ecx
	movq	%rdx, %rdi
	rep stosq
	leaq	-200128(%rbp), %rdx
	movl	$0, %eax
	movl	$13, %ecx
	movq	%rdx, %rdi
	rep stosq
	movl	$1, -200244(%rbp)
	leaq	-200016(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	leaq	-200240(%rbp), %rdx
	leaq	-200016(%rbp), %rax
	movq	%rdx, %rsi
	movq	%rax, %rdi
	call	count
	leaq	-200016(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	leaq	-200128(%rbp), %rdx
	leaq	-200016(%rbp), %rax
	movq	%rdx, %rsi
	movq	%rax, %rdi
	call	count
	movl	$0, -200248(%rbp)
	jmp	.L2
.L5:
	movl	-200248(%rbp), %eax
	cltq
	movl	-200240(%rbp,%rax,4), %edx
	movl	-200248(%rbp), %eax
	cltq
	movl	-200128(%rbp,%rax,4), %eax
	cmpl	%eax, %edx
	je	.L3
	movl	$0, -200244(%rbp)
	jmp	.L4
.L3:
	addl	$1, -200248(%rbp)
.L2:
	cmpl	$25, -200248(%rbp)
	jle	.L5
.L4:
	cmpl	$0, -200244(%rbp)
	je	.L6
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	jmp	.L7
.L6:
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
.L7:
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L9
	call	__stack_chk_fail@PLT
.L9:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	count
	.type	count, @function
count:
.LFB1:
	.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)
	movq	%rsi, -32(%rbp)
	movl	$0, -4(%rbp)
	jmp	.L11
.L12:
	movl	-4(%rbp), %eax
	movslq	%eax, %rdx
	movq	-24(%rbp), %rax
	addq	%rdx, %rax
	movzbl	(%rax), %eax
	movsbq	%al, %rax
	salq	$2, %rax
	leaq	-388(%rax), %rdx
	movq	-32(%rbp), %rax
	addq	%rdx, %rax
	movl	(%rax), %edx
	addl	$1, %edx
	movl	%edx, (%rax)
	addl	$1, -4(%rbp)
.L11:
	movl	-4(%rbp), %eax
	movslq	%eax, %rdx
	movq	-24(%rbp), %rax
	addq	%rdx, %rax
	movzbl	(%rax), %eax
	testb	%al, %al
	jne	.L12
	movq	-32(%rbp), %rax
	movq	%rax, %rdi
	call	sort
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	count, .-count
	.globl	sort
	.type	sort, @function
sort:
.LFB2:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movq	%rdi, -24(%rbp)
	movl	$0, -16(%rbp)
	jmp	.L14
.L18:
	movl	$25, -12(%rbp)
	jmp	.L15
.L17:
	movl	-16(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-24(%rbp), %rax
	addq	%rdx, %rax
	movl	(%rax), %edx
	movl	-12(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rcx
	movq	-24(%rbp), %rax
	addq	%rcx, %rax
	movl	(%rax), %eax
	cmpl	%eax, %edx
	jge	.L16
	movl	-16(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-24(%rbp), %rax
	addq	%rdx, %rax
	movl	(%rax), %eax
	cltq
	movq	%rax, -8(%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	%rdx, %rax
	movq	-8(%rbp), %rdx
	movl	%edx, (%rax)
.L16:
	subl	$1, -12(%rbp)
.L15:
	movl	-12(%rbp), %eax
	cmpl	-16(%rbp), %eax
	jg	.L17
	addl	$1, -16(%rbp)
.L14:
	cmpl	$25, -16(%rbp)
	jle	.L18
	nop
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	sort, .-sort
	.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
	.section	.rodata
.LC0:
	.string	"%s"
.LC1:
	.string	"Yes"
.LC2:
	.string	"No"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	leaq	-196608(%rsp), %r11
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	subq	$3648, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-200240(%rbp), %rdx
	movl	$0, %eax
	movl	$13, %ecx
	movq	%rdx, %rdi
	rep stosq
	leaq	-200128(%rbp), %rdx
	movl	$0, %eax
	movl	$13, %ecx
	movq	%rdx, %rdi
	rep stosq
	movl	$1, -200244(%rbp)
	leaq	-200016(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	leaq	-200240(%rbp), %rdx
	leaq	-200016(%rbp), %rax
	movq	%rdx, %rsi
	movq	%rax, %rdi
	call	count
	leaq	-200016(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	leaq	-200128(%rbp), %rdx
	leaq	-200016(%rbp), %rax
	movq	%rdx, %rsi
	movq	%rax, %rdi
	call	count
	movl	$0, -200248(%rbp)
	jmp	.L2
.L5:
	movl	-200248(%rbp), %eax
	cltq
	movl	-200240(%rbp,%rax,4), %edx
	movl	-200248(%rbp), %eax
	cltq
	movl	-200128(%rbp,%rax,4), %eax
	cmpl	%eax, %edx
	je	.L3
	movl	$0, -200244(%rbp)
	jmp	.L4
.L3:
	addl	$1, -200248(%rbp)
.L2:
	cmpl	$25, -200248(%rbp)
	jle	.L5
.L4:
	cmpl	$0, -200244(%rbp)
	je	.L6
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	jmp	.L7
.L6:
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
.L7:
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L9
	call	__stack_chk_fail@PLT
.L9:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	count
	.type	count, @function
count:
.LFB1:
	.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)
	movq	%rsi, -32(%rbp)
	movl	$0, -4(%rbp)
	jmp	.L11
.L12:
	movl	-4(%rbp), %eax
	movslq	%eax, %rdx
	movq	-24(%rbp), %rax
	addq	%rdx, %rax
	movzbl	(%rax), %eax
	movsbq	%al, %rax
	salq	$2, %rax
	leaq	-388(%rax), %rdx
	movq	-32(%rbp), %rax
	addq	%rdx, %rax
	movl	(%rax), %edx
	addl	$1, %edx
	movl	%edx, (%rax)
	addl	$1, -4(%rbp)
.L11:
	movl	-4(%rbp), %eax
	movslq	%eax, %rdx
	movq	-24(%rbp), %rax
	addq	%rdx, %rax
	movzbl	(%rax), %eax
	testb	%al, %al
	jne	.L12
	movq	-32(%rbp), %rax
	movq	%rax, %rdi
	call	sort
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	count, .-count
	.globl	sort
	.type	sort, @function
sort:
.LFB2:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movq	%rdi, -24(%rbp)
	movl	$0, -16(%rbp)
	jmp	.L14
.L18:
	movl	$25, -12(%rbp)
	jmp	.L15
.L17:
	movl	-16(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-24(%rbp), %rax
	addq	%rdx, %rax
	movl	(%rax), %edx
	movl	-12(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rcx
	movq	-24(%rbp), %rax
	addq	%rcx, %rax
	movl	(%rax), %eax
	cmpl	%eax, %edx
	jge	.L16
	movl	-16(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-24(%rbp), %rax
	addq	%rdx, %rax
	movl	(%rax), %eax
	cltq
	movq	%rax, -8(%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	%rdx, %rax
	movq	-8(%rbp), %rdx
	movl	%edx, (%rax)
.L16:
	subl	$1, -12(%rbp)
.L15:
	movl	-12(%rbp), %eax
	cmpl	-16(%rbp), %eax
	jg	.L17
	addl	$1, -16(%rbp)
.L14:
	cmpl	$25, -16(%rbp)
	jle	.L18
	nop
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	sort, .-sort
	.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:
