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>

typedef struct {
    char name[6];
    int n;
} DATA;

int main(void)
{
    int n;
    DATA data[1000], t;
    char name[6];
    int num;
    int i, j, k;
    int count;
    
    scanf("%d", &n);

    count = 0;
    for (i = 0; i < n; i++){
        scanf("%s", name);
        scanf("%d", &num);
        for (j = 0; j < count; j++){
            if (strcmp(name, data[j].name) == 0){
                break;
            }
        }
        if (j == count){
            strcpy(data[j].name, name);
            data[j].n = num;
            count++;
        }
        else {
            data[j].n += num;
        }
    }

    for (j = 0; j < count; j++){
        for (k = 0; k < count - 1; k++){
            if (strlen(data[k].name) > strlen(data[k + 1].name)){
                t = data[k];
                data[k] = data[k + 1];
                data[k + 1] = t;
            }
            else if (strlen(data[k].name) == strlen(data[k + 1].name)){
                if (strcmp(data[k].name, data[k + 1].name) > 0){
                    t = data[k];
                    data[k] = data[k + 1];
                    data[k + 1] = t;
                }
            }
        }
    }

    for (j = 0; j < count; j++){
        printf("%s %d\n", data[j].name, data[j].n);
    }
    return (0);
}


    ```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"%s"
.LC2:
	.string	"%s %d\n"
	.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
	pushq	%rbx
	subq	$4096, %rsp
	orq	$0, (%rsp)
	subq	$4096, %rsp
	orq	$0, (%rsp)
	subq	$3880, %rsp
	.cfi_offset 3, -24
	movq	%fs:40, %rax
	movq	%rax, -24(%rbp)
	xorl	%eax, %eax
	leaq	-12068(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -12048(%rbp)
	movl	$0, -12060(%rbp)
	jmp	.L2
.L9:
	leaq	-30(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	leaq	-12064(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -12056(%rbp)
	jmp	.L3
.L6:
	leaq	-12032(%rbp), %rcx
	movl	-12056(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	leaq	(%rcx,%rax), %rdx
	leaq	-30(%rbp), %rax
	movq	%rdx, %rsi
	movq	%rax, %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	je	.L20
	addl	$1, -12056(%rbp)
.L3:
	movl	-12056(%rbp), %eax
	cmpl	-12048(%rbp), %eax
	jl	.L6
	jmp	.L5
.L20:
	nop
.L5:
	movl	-12056(%rbp), %eax
	cmpl	-12048(%rbp), %eax
	jne	.L7
	leaq	-12032(%rbp), %rcx
	movl	-12056(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	leaq	(%rcx,%rax), %rdx
	leaq	-30(%rbp), %rax
	movq	%rax, %rsi
	movq	%rdx, %rdi
	call	strcpy@PLT
	movl	-12064(%rbp), %edx
	movl	-12056(%rbp), %eax
	movslq	%eax, %rcx
	movq	%rcx, %rax
	addq	%rax, %rax
	addq	%rcx, %rax
	salq	$2, %rax
	leaq	-16(%rax), %rax
	addq	%rbp, %rax
	subq	$12008, %rax
	movl	%edx, (%rax)
	addl	$1, -12048(%rbp)
	jmp	.L8
.L7:
	movl	-12056(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	leaq	-16(%rax), %rax
	addq	%rbp, %rax
	subq	$12008, %rax
	movl	(%rax), %edx
	movl	-12064(%rbp), %eax
	leal	(%rdx,%rax), %ecx
	movl	-12056(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	leaq	-16(%rax), %rax
	addq	%rbp, %rax
	subq	$12008, %rax
	movl	%ecx, (%rax)
.L8:
	addl	$1, -12060(%rbp)
.L2:
	movl	-12068(%rbp), %eax
	cmpl	%eax, -12060(%rbp)
	jl	.L9
	movl	$0, -12056(%rbp)
	jmp	.L10
.L15:
	movl	$0, -12052(%rbp)
	jmp	.L11
.L14:
	leaq	-12032(%rbp), %rcx
	movl	-12052(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	movq	%rax, %rdi
	call	strlen@PLT
	movq	%rax, %rbx
	movl	-12052(%rbp), %eax
	addl	$1, %eax
	leaq	-12032(%rbp), %rcx
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	movq	%rax, %rdi
	call	strlen@PLT
	cmpq	%rax, %rbx
	jbe	.L12
	movl	-12052(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	leaq	-16(%rax), %rax
	addq	%rbp, %rax
	subq	$12016, %rax
	movq	(%rax), %rdx
	movq	%rdx, -12044(%rbp)
	movl	8(%rax), %eax
	movl	%eax, -12036(%rbp)
	movl	-12052(%rbp), %eax
	leal	1(%rax), %ecx
	movl	-12052(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	leaq	-16(%rax), %rax
	addq	%rbp, %rax
	leaq	-12016(%rax), %rdx
	movslq	%ecx, %rcx
	movq	%rcx, %rax
	addq	%rax, %rax
	addq	%rcx, %rax
	salq	$2, %rax
	leaq	-16(%rax), %rax
	addq	%rbp, %rax
	subq	$12016, %rax
	movq	(%rax), %rcx
	movq	%rcx, (%rdx)
	movl	8(%rax), %eax
	movl	%eax, 8(%rdx)
	movl	-12052(%rbp), %eax
	addl	$1, %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	leaq	-16(%rax), %rax
	addq	%rbp, %rax
	subq	$12016, %rax
	movq	-12044(%rbp), %rdx
	movq	%rdx, (%rax)
	movl	-12036(%rbp), %edx
	movl	%edx, 8(%rax)
	jmp	.L13
.L12:
	leaq	-12032(%rbp), %rcx
	movl	-12052(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	movq	%rax, %rdi
	call	strlen@PLT
	movq	%rax, %rbx
	movl	-12052(%rbp), %eax
	addl	$1, %eax
	leaq	-12032(%rbp), %rcx
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	movq	%rax, %rdi
	call	strlen@PLT
	cmpq	%rax, %rbx
	jne	.L13
	movl	-12052(%rbp), %eax
	addl	$1, %eax
	leaq	-12032(%rbp), %rcx
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	leaq	(%rcx,%rax), %rdx
	leaq	-12032(%rbp), %rsi
	movl	-12052(%rbp), %eax
	movslq	%eax, %rcx
	movq	%rcx, %rax
	addq	%rax, %rax
	addq	%rcx, %rax
	salq	$2, %rax
	addq	%rsi, %rax
	movq	%rdx, %rsi
	movq	%rax, %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	jle	.L13
	movl	-12052(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	leaq	-16(%rax), %rax
	addq	%rbp, %rax
	subq	$12016, %rax
	movq	(%rax), %rdx
	movq	%rdx, -12044(%rbp)
	movl	8(%rax), %eax
	movl	%eax, -12036(%rbp)
	movl	-12052(%rbp), %eax
	leal	1(%rax), %ecx
	movl	-12052(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	leaq	-16(%rax), %rax
	addq	%rbp, %rax
	leaq	-12016(%rax), %rdx
	movslq	%ecx, %rcx
	movq	%rcx, %rax
	addq	%rax, %rax
	addq	%rcx, %rax
	salq	$2, %rax
	leaq	-16(%rax), %rax
	addq	%rbp, %rax
	subq	$12016, %rax
	movq	(%rax), %rcx
	movq	%rcx, (%rdx)
	movl	8(%rax), %eax
	movl	%eax, 8(%rdx)
	movl	-12052(%rbp), %eax
	addl	$1, %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	leaq	-16(%rax), %rax
	addq	%rbp, %rax
	subq	$12016, %rax
	movq	-12044(%rbp), %rdx
	movq	%rdx, (%rax)
	movl	-12036(%rbp), %edx
	movl	%edx, 8(%rax)
.L13:
	addl	$1, -12052(%rbp)
.L11:
	movl	-12048(%rbp), %eax
	subl	$1, %eax
	cmpl	%eax, -12052(%rbp)
	jl	.L14
	addl	$1, -12056(%rbp)
.L10:
	movl	-12056(%rbp), %eax
	cmpl	-12048(%rbp), %eax
	jl	.L15
	movl	$0, -12056(%rbp)
	jmp	.L16
.L17:
	movl	-12056(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	leaq	-16(%rax), %rax
	addq	%rbp, %rax
	subq	$12008, %rax
	movl	(%rax), %edx
	leaq	-12032(%rbp), %rsi
	movl	-12056(%rbp), %eax
	movslq	%eax, %rcx
	movq	%rcx, %rax
	addq	%rax, %rax
	addq	%rcx, %rax
	salq	$2, %rax
	addq	%rsi, %rax
	movq	%rax, %rsi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	addl	$1, -12056(%rbp)
.L16:
	movl	-12056(%rbp), %eax
	cmpl	-12048(%rbp), %eax
	jl	.L17
	movl	$0, %eax
	movq	-24(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L19
	call	__stack_chk_fail@PLT
.L19:
	movq	-8(%rbp), %rbx
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.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
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"%s"
.LC2:
	.string	"%s %d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB35:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$4096, %rsp
	.cfi_def_cfa_offset 4152
	orq	$0, (%rsp)
	subq	$4096, %rsp
	.cfi_def_cfa_offset 8248
	orq	$0, (%rsp)
	subq	$3896, %rsp
	.cfi_def_cfa_offset 12144
	leaq	.LC0(%rip), %r14
	movq	%r14, %rdi
	movq	%fs:40, %rax
	movq	%rax, 12072(%rsp)
	xorl	%eax, %eax
	leaq	44(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	44(%rsp), %eax
	testl	%eax, %eax
	jle	.L14
	leaq	48(%rsp), %rax
	xorl	%ebx, %ebx
	xorl	%r13d, %r13d
	movq	%rax, 16(%rsp)
	leaq	64(%rsp), %rax
	leaq	12066(%rsp), %rbp
	movq	%rax, 8(%rsp)
	.p2align 4,,10
	.p2align 3
.L7:
	movq	%rbp, %rsi
	leaq	.LC1(%rip), %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movq	16(%rsp), %rsi
	xorl	%eax, %eax
	movq	%r14, %rdi
	call	__isoc99_scanf@PLT
	testl	%ebx, %ebx
	je	.L16
	movq	8(%rsp), %r15
	xorl	%r12d, %r12d
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L31:
	addl	$1, %r12d
	addq	$12, %r15
	cmpl	%ebx, %r12d
	je	.L30
.L5:
	movq	%r15, %rsi
	movq	%rbp, %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	jne	.L31
	movslq	%r12d, %rdx
	leaq	(%rdx,%rdx,2), %rax
	movl	48(%rsp), %edx
	addl	%edx, 72(%rsp,%rax,4)
.L6:
	addl	$1, %r13d
	cmpl	%r13d, 44(%rsp)
	jg	.L7
	testl	%ebx, %ebx
	je	.L14
	cmpl	$1, %ebx
	je	.L32
	leaq	76(%rsp), %rcx
	leal	-2(%rbx), %eax
	xorl	%r14d, %r14d
	movq	%rcx, 16(%rsp)
	leaq	(%rax,%rax,2), %rax
	leaq	(%rcx,%rax,4), %r13
	.p2align 4,,10
	.p2align 3
.L9:
	movq	8(%rsp), %r15
	jmp	.L12
	.p2align 4,,10
	.p2align 3
.L10:
	je	.L33
.L11:
	cmpq	%r13, %r15
	je	.L34
.L12:
	movq	%r15, %rdi
	movq	%r15, %r12
	addq	$12, %r15
	call	strlen@PLT
	movq	%r15, %rdi
	movq	%rax, %rbp
	call	strlen@PLT
	cmpq	%rax, %rbp
	jbe	.L10
.L28:
	movq	12(%r12), %rdi
	movq	(%r12), %rsi
	movl	8(%r12), %eax
	movq	%rdi, (%r12)
	movl	20(%r12), %edi
	movq	%rsi, 52(%rsp)
	movl	%eax, 60(%rsp)
	movl	%edi, 8(%r12)
	movq	%rsi, 12(%r12)
	movl	%eax, 20(%r12)
	cmpq	%r13, %r15
	jne	.L12
.L34:
	addl	$1, %r14d
	cmpl	%r14d, %ebx
	jne	.L9
.L8:
	leal	-1(%rbx), %eax
	movq	16(%rsp), %rcx
	movq	8(%rsp), %r12
	leaq	.LC2(%rip), %rbx
	leaq	(%rax,%rax,2), %rax
	leaq	(%rcx,%rax,4), %rbp
	.p2align 4,,10
	.p2align 3
.L13:
	movl	8(%r12), %ecx
	movq	%r12, %rdx
	movq	%rbx, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	addq	$12, %r12
	call	__printf_chk@PLT
	cmpq	%r12, %rbp
	jne	.L13
.L14:
	movq	12072(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L35
	addq	$12088, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L33:
	.cfi_restore_state
	movq	%r15, %rsi
	movq	%r12, %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	jg	.L28
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L30:
	movslq	%ebx, %rax
.L3:
	leaq	(%rax,%rax,2), %rcx
	movq	8(%rsp), %rax
	movq	%rbp, %rsi
	addl	$1, %ebx
	movl	48(%rsp), %r8d
	leaq	0(,%rcx,4), %r12
	movl	$6, %edx
	leaq	(%rax,%r12), %rdi
	movl	%r8d, 28(%rsp)
	call	__strcpy_chk@PLT
	movl	28(%rsp), %r8d
	movl	%r8d, 72(%rsp,%r12)
	jmp	.L6
.L16:
	xorl	%eax, %eax
	jmp	.L3
.L32:
	leaq	76(%rsp), %rax
	movq	%rax, 16(%rsp)
	jmp	.L8
.L35:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE35:
	.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
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"%s"
.LC2:
	.string	"%s %d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB35:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$4096, %rsp
	.cfi_def_cfa_offset 4152
	orq	$0, (%rsp)
	subq	$4096, %rsp
	.cfi_def_cfa_offset 8248
	orq	$0, (%rsp)
	subq	$3896, %rsp
	.cfi_def_cfa_offset 12144
	leaq	.LC0(%rip), %r14
	movq	%r14, %rdi
	movq	%fs:40, %rax
	movq	%rax, 12072(%rsp)
	xorl	%eax, %eax
	leaq	44(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	44(%rsp), %eax
	testl	%eax, %eax
	jle	.L14
	leaq	48(%rsp), %rax
	xorl	%ebx, %ebx
	xorl	%r13d, %r13d
	movq	%rax, 16(%rsp)
	leaq	64(%rsp), %rax
	leaq	12066(%rsp), %rbp
	movq	%rax, 8(%rsp)
	.p2align 4,,10
	.p2align 3
.L7:
	movq	%rbp, %rsi
	leaq	.LC1(%rip), %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movq	16(%rsp), %rsi
	xorl	%eax, %eax
	movq	%r14, %rdi
	call	__isoc99_scanf@PLT
	testl	%ebx, %ebx
	je	.L16
	movq	8(%rsp), %r15
	xorl	%r12d, %r12d
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L31:
	addl	$1, %r12d
	addq	$12, %r15
	cmpl	%ebx, %r12d
	je	.L30
.L5:
	movq	%r15, %rsi
	movq	%rbp, %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	jne	.L31
	movslq	%r12d, %rdx
	leaq	(%rdx,%rdx,2), %rax
	movl	48(%rsp), %edx
	addl	%edx, 72(%rsp,%rax,4)
.L6:
	addl	$1, %r13d
	cmpl	%r13d, 44(%rsp)
	jg	.L7
	testl	%ebx, %ebx
	je	.L14
	cmpl	$1, %ebx
	je	.L32
	leaq	76(%rsp), %rcx
	leal	-2(%rbx), %eax
	xorl	%r14d, %r14d
	movq	%rcx, 16(%rsp)
	leaq	(%rax,%rax,2), %rax
	leaq	(%rcx,%rax,4), %r13
	.p2align 4,,10
	.p2align 3
.L9:
	movq	8(%rsp), %r15
	jmp	.L12
	.p2align 4,,10
	.p2align 3
.L10:
	je	.L33
.L11:
	cmpq	%r13, %r15
	je	.L34
.L12:
	movq	%r15, %rdi
	movq	%r15, %r12
	addq	$12, %r15
	call	strlen@PLT
	movq	%r15, %rdi
	movq	%rax, %rbp
	call	strlen@PLT
	cmpq	%rax, %rbp
	jbe	.L10
.L28:
	movq	12(%r12), %rdi
	movq	(%r12), %rsi
	movl	8(%r12), %eax
	movq	%rdi, (%r12)
	movl	20(%r12), %edi
	movq	%rsi, 52(%rsp)
	movl	%eax, 60(%rsp)
	movl	%edi, 8(%r12)
	movq	%rsi, 12(%r12)
	movl	%eax, 20(%r12)
	cmpq	%r13, %r15
	jne	.L12
.L34:
	addl	$1, %r14d
	cmpl	%r14d, %ebx
	jne	.L9
.L8:
	leal	-1(%rbx), %eax
	movq	16(%rsp), %rcx
	movq	8(%rsp), %r12
	leaq	.LC2(%rip), %rbx
	leaq	(%rax,%rax,2), %rax
	leaq	(%rcx,%rax,4), %rbp
	.p2align 4,,10
	.p2align 3
.L13:
	movl	8(%r12), %ecx
	movq	%r12, %rdx
	movq	%rbx, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	addq	$12, %r12
	call	__printf_chk@PLT
	cmpq	%r12, %rbp
	jne	.L13
.L14:
	movq	12072(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L35
	addq	$12088, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L33:
	.cfi_restore_state
	movq	%r15, %rsi
	movq	%r12, %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	jg	.L28
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L30:
	movslq	%ebx, %rax
.L3:
	leaq	(%rax,%rax,2), %rcx
	movq	8(%rsp), %rax
	movq	%rbp, %rsi
	addl	$1, %ebx
	movl	48(%rsp), %r8d
	leaq	0(,%rcx,4), %r12
	movl	$6, %edx
	leaq	(%rax,%r12), %rdi
	movl	%r8d, 28(%rsp)
	call	__strcpy_chk@PLT
	movl	28(%rsp), %r8d
	movl	%r8d, 72(%rsp,%r12)
	jmp	.L6
.L16:
	xorl	%eax, %eax
	jmp	.L3
.L32:
	leaq	76(%rsp), %rax
	movq	%rax, 16(%rsp)
	jmp	.L8
.L35:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE35:
	.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>

typedef struct {
    char name[6];
    int n;
} DATA;

int main(void)
{
    int n;
    DATA data[1000], t;
    char name[6];
    int num;
    int i, j, k;
    int count;
    
    scanf("%d", &n);

    count = 0;
    for (i = 0; i < n; i++){
        scanf("%s", name);
        scanf("%d", &num);
        for (j = 0; j < count; j++){
            if (strcmp(name, data[j].name) == 0){
                break;
            }
        }
        if (j == count){
            strcpy(data[j].name, name);
            data[j].n = num;
            count++;
        }
        else {
            data[j].n += num;
        }
    }

    for (j = 0; j < count; j++){
        for (k = 0; k < count - 1; k++){
            if (strlen(data[k].name) > strlen(data[k + 1].name)){
                t = data[k];
                data[k] = data[k + 1];
                data[k + 1] = t;
            }
            else if (strlen(data[k].name) == strlen(data[k + 1].name)){
                if (strcmp(data[k].name, data[k + 1].name) > 0){
                    t = data[k];
                    data[k] = data[k + 1];
                    data[k + 1] = t;
                }
            }
        }
    }

    for (j = 0; j < count; j++){
        printf("%s %d\n", data[j].name, data[j].n);
    }
    return (0);
}


    
5
A 20
B 20
A 20
AB 10
Z 10

A 40
B 20
Z 10
AB 10

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>

typedef struct {
    char name[6];
    int n;
} DATA;

int main(void)
{
    int n;
    DATA data[1000], t;
    char name[6];
    int num;
    int i, j, k;
    int count;
    
    scanf("%d", &n);

    count = 0;
    for (i = 0; i < n; i++){
        scanf("%s", name);
        scanf("%d", &num);
        for (j = 0; j < count; j++){
            if (strcmp(name, data[j].name) == 0){
                break;
            }
        }
        if (j == count){
            strcpy(data[j].name, name);
            data[j].n = num;
            count++;
        }
        else {
            data[j].n += num;
        }
    }

    for (j = 0; j < count; j++){
        for (k = 0; k < count - 1; k++){
            if (strlen(data[k].name) > strlen(data[k + 1].name)){
                t = data[k];
                data[k] = data[k + 1];
                data[k + 1] = t;
            }
            else if (strlen(data[k].name) == strlen(data[k + 1].name)){
                if (strcmp(data[k].name, data[k + 1].name) > 0){
                    t = data[k];
                    data[k] = data[k + 1];
                    data[k + 1] = t;
                }
            }
        }
    }

    for (j = 0; j < count; j++){
        printf("%s %d\n", data[j].name, data[j].n);
    }
    return (0);
}


    ```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"%s"
.LC2:
	.string	"%s %d\n"
	.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
	pushq	%rbx
	subq	$4096, %rsp
	orq	$0, (%rsp)
	subq	$4096, %rsp
	orq	$0, (%rsp)
	subq	$3880, %rsp
	.cfi_offset 3, -24
	movq	%fs:40, %rax
	movq	%rax, -24(%rbp)
	xorl	%eax, %eax
	leaq	-12068(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -12048(%rbp)
	movl	$0, -12060(%rbp)
	jmp	.L2
.L9:
	leaq	-30(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	leaq	-12064(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -12056(%rbp)
	jmp	.L3
.L6:
	leaq	-12032(%rbp), %rcx
	movl	-12056(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	leaq	(%rcx,%rax), %rdx
	leaq	-30(%rbp), %rax
	movq	%rdx, %rsi
	movq	%rax, %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	je	.L20
	addl	$1, -12056(%rbp)
.L3:
	movl	-12056(%rbp), %eax
	cmpl	-12048(%rbp), %eax
	jl	.L6
	jmp	.L5
.L20:
	nop
.L5:
	movl	-12056(%rbp), %eax
	cmpl	-12048(%rbp), %eax
	jne	.L7
	leaq	-12032(%rbp), %rcx
	movl	-12056(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	leaq	(%rcx,%rax), %rdx
	leaq	-30(%rbp), %rax
	movq	%rax, %rsi
	movq	%rdx, %rdi
	call	strcpy@PLT
	movl	-12064(%rbp), %edx
	movl	-12056(%rbp), %eax
	movslq	%eax, %rcx
	movq	%rcx, %rax
	addq	%rax, %rax
	addq	%rcx, %rax
	salq	$2, %rax
	leaq	-16(%rax), %rax
	addq	%rbp, %rax
	subq	$12008, %rax
	movl	%edx, (%rax)
	addl	$1, -12048(%rbp)
	jmp	.L8
.L7:
	movl	-12056(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	leaq	-16(%rax), %rax
	addq	%rbp, %rax
	subq	$12008, %rax
	movl	(%rax), %edx
	movl	-12064(%rbp), %eax
	leal	(%rdx,%rax), %ecx
	movl	-12056(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	leaq	-16(%rax), %rax
	addq	%rbp, %rax
	subq	$12008, %rax
	movl	%ecx, (%rax)
.L8:
	addl	$1, -12060(%rbp)
.L2:
	movl	-12068(%rbp), %eax
	cmpl	%eax, -12060(%rbp)
	jl	.L9
	movl	$0, -12056(%rbp)
	jmp	.L10
.L15:
	movl	$0, -12052(%rbp)
	jmp	.L11
.L14:
	leaq	-12032(%rbp), %rcx
	movl	-12052(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	movq	%rax, %rdi
	call	strlen@PLT
	movq	%rax, %rbx
	movl	-12052(%rbp), %eax
	addl	$1, %eax
	leaq	-12032(%rbp), %rcx
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	movq	%rax, %rdi
	call	strlen@PLT
	cmpq	%rax, %rbx
	jbe	.L12
	movl	-12052(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	leaq	-16(%rax), %rax
	addq	%rbp, %rax
	subq	$12016, %rax
	movq	(%rax), %rdx
	movq	%rdx, -12044(%rbp)
	movl	8(%rax), %eax
	movl	%eax, -12036(%rbp)
	movl	-12052(%rbp), %eax
	leal	1(%rax), %ecx
	movl	-12052(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	leaq	-16(%rax), %rax
	addq	%rbp, %rax
	leaq	-12016(%rax), %rdx
	movslq	%ecx, %rcx
	movq	%rcx, %rax
	addq	%rax, %rax
	addq	%rcx, %rax
	salq	$2, %rax
	leaq	-16(%rax), %rax
	addq	%rbp, %rax
	subq	$12016, %rax
	movq	(%rax), %rcx
	movq	%rcx, (%rdx)
	movl	8(%rax), %eax
	movl	%eax, 8(%rdx)
	movl	-12052(%rbp), %eax
	addl	$1, %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	leaq	-16(%rax), %rax
	addq	%rbp, %rax
	subq	$12016, %rax
	movq	-12044(%rbp), %rdx
	movq	%rdx, (%rax)
	movl	-12036(%rbp), %edx
	movl	%edx, 8(%rax)
	jmp	.L13
.L12:
	leaq	-12032(%rbp), %rcx
	movl	-12052(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	movq	%rax, %rdi
	call	strlen@PLT
	movq	%rax, %rbx
	movl	-12052(%rbp), %eax
	addl	$1, %eax
	leaq	-12032(%rbp), %rcx
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	movq	%rax, %rdi
	call	strlen@PLT
	cmpq	%rax, %rbx
	jne	.L13
	movl	-12052(%rbp), %eax
	addl	$1, %eax
	leaq	-12032(%rbp), %rcx
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	leaq	(%rcx,%rax), %rdx
	leaq	-12032(%rbp), %rsi
	movl	-12052(%rbp), %eax
	movslq	%eax, %rcx
	movq	%rcx, %rax
	addq	%rax, %rax
	addq	%rcx, %rax
	salq	$2, %rax
	addq	%rsi, %rax
	movq	%rdx, %rsi
	movq	%rax, %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	jle	.L13
	movl	-12052(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	leaq	-16(%rax), %rax
	addq	%rbp, %rax
	subq	$12016, %rax
	movq	(%rax), %rdx
	movq	%rdx, -12044(%rbp)
	movl	8(%rax), %eax
	movl	%eax, -12036(%rbp)
	movl	-12052(%rbp), %eax
	leal	1(%rax), %ecx
	movl	-12052(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	leaq	-16(%rax), %rax
	addq	%rbp, %rax
	leaq	-12016(%rax), %rdx
	movslq	%ecx, %rcx
	movq	%rcx, %rax
	addq	%rax, %rax
	addq	%rcx, %rax
	salq	$2, %rax
	leaq	-16(%rax), %rax
	addq	%rbp, %rax
	subq	$12016, %rax
	movq	(%rax), %rcx
	movq	%rcx, (%rdx)
	movl	8(%rax), %eax
	movl	%eax, 8(%rdx)
	movl	-12052(%rbp), %eax
	addl	$1, %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	leaq	-16(%rax), %rax
	addq	%rbp, %rax
	subq	$12016, %rax
	movq	-12044(%rbp), %rdx
	movq	%rdx, (%rax)
	movl	-12036(%rbp), %edx
	movl	%edx, 8(%rax)
.L13:
	addl	$1, -12052(%rbp)
.L11:
	movl	-12048(%rbp), %eax
	subl	$1, %eax
	cmpl	%eax, -12052(%rbp)
	jl	.L14
	addl	$1, -12056(%rbp)
.L10:
	movl	-12056(%rbp), %eax
	cmpl	-12048(%rbp), %eax
	jl	.L15
	movl	$0, -12056(%rbp)
	jmp	.L16
.L17:
	movl	-12056(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	leaq	-16(%rax), %rax
	addq	%rbp, %rax
	subq	$12008, %rax
	movl	(%rax), %edx
	leaq	-12032(%rbp), %rsi
	movl	-12056(%rbp), %eax
	movslq	%eax, %rcx
	movq	%rcx, %rax
	addq	%rax, %rax
	addq	%rcx, %rax
	salq	$2, %rax
	addq	%rsi, %rax
	movq	%rax, %rsi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	addl	$1, -12056(%rbp)
.L16:
	movl	-12056(%rbp), %eax
	cmpl	-12048(%rbp), %eax
	jl	.L17
	movl	$0, %eax
	movq	-24(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L19
	call	__stack_chk_fail@PLT
.L19:
	movq	-8(%rbp), %rbx
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.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
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"%s"
.LC2:
	.string	"%s %d\n"
	.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
	pushq	%rbx
	subq	$4096, %rsp
	orq	$0, (%rsp)
	subq	$4096, %rsp
	orq	$0, (%rsp)
	subq	$3880, %rsp
	.cfi_offset 3, -24
	movq	%fs:40, %rax
	movq	%rax, -24(%rbp)
	xorl	%eax, %eax
	leaq	-12068(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -12048(%rbp)
	movl	$0, -12060(%rbp)
	jmp	.L2
.L9:
	leaq	-30(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	leaq	-12064(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -12056(%rbp)
	jmp	.L3
.L6:
	leaq	-12032(%rbp), %rcx
	movl	-12056(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	leaq	(%rcx,%rax), %rdx
	leaq	-30(%rbp), %rax
	movq	%rdx, %rsi
	movq	%rax, %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	je	.L20
	addl	$1, -12056(%rbp)
.L3:
	movl	-12056(%rbp), %eax
	cmpl	-12048(%rbp), %eax
	jl	.L6
	jmp	.L5
.L20:
	nop
.L5:
	movl	-12056(%rbp), %eax
	cmpl	-12048(%rbp), %eax
	jne	.L7
	leaq	-12032(%rbp), %rcx
	movl	-12056(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	leaq	(%rcx,%rax), %rdx
	leaq	-30(%rbp), %rax
	movq	%rax, %rsi
	movq	%rdx, %rdi
	call	strcpy@PLT
	movl	-12064(%rbp), %edx
	movl	-12056(%rbp), %eax
	movslq	%eax, %rcx
	movq	%rcx, %rax
	addq	%rax, %rax
	addq	%rcx, %rax
	salq	$2, %rax
	leaq	-16(%rax), %rax
	addq	%rbp, %rax
	subq	$12008, %rax
	movl	%edx, (%rax)
	addl	$1, -12048(%rbp)
	jmp	.L8
.L7:
	movl	-12056(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	leaq	-16(%rax), %rax
	addq	%rbp, %rax
	subq	$12008, %rax
	movl	(%rax), %edx
	movl	-12064(%rbp), %eax
	leal	(%rdx,%rax), %ecx
	movl	-12056(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	leaq	-16(%rax), %rax
	addq	%rbp, %rax
	subq	$12008, %rax
	movl	%ecx, (%rax)
.L8:
	addl	$1, -12060(%rbp)
.L2:
	movl	-12068(%rbp), %eax
	cmpl	%eax, -12060(%rbp)
	jl	.L9
	movl	$0, -12056(%rbp)
	jmp	.L10
.L15:
	movl	$0, -12052(%rbp)
	jmp	.L11
.L14:
	leaq	-12032(%rbp), %rcx
	movl	-12052(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	movq	%rax, %rdi
	call	strlen@PLT
	movq	%rax, %rbx
	movl	-12052(%rbp), %eax
	addl	$1, %eax
	leaq	-12032(%rbp), %rcx
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	movq	%rax, %rdi
	call	strlen@PLT
	cmpq	%rax, %rbx
	jbe	.L12
	movl	-12052(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	leaq	-16(%rax), %rax
	addq	%rbp, %rax
	subq	$12016, %rax
	movq	(%rax), %rdx
	movq	%rdx, -12044(%rbp)
	movl	8(%rax), %eax
	movl	%eax, -12036(%rbp)
	movl	-12052(%rbp), %eax
	leal	1(%rax), %ecx
	movl	-12052(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	leaq	-16(%rax), %rax
	addq	%rbp, %rax
	leaq	-12016(%rax), %rdx
	movslq	%ecx, %rcx
	movq	%rcx, %rax
	addq	%rax, %rax
	addq	%rcx, %rax
	salq	$2, %rax
	leaq	-16(%rax), %rax
	addq	%rbp, %rax
	subq	$12016, %rax
	movq	(%rax), %rcx
	movq	%rcx, (%rdx)
	movl	8(%rax), %eax
	movl	%eax, 8(%rdx)
	movl	-12052(%rbp), %eax
	addl	$1, %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	leaq	-16(%rax), %rax
	addq	%rbp, %rax
	subq	$12016, %rax
	movq	-12044(%rbp), %rdx
	movq	%rdx, (%rax)
	movl	-12036(%rbp), %edx
	movl	%edx, 8(%rax)
	jmp	.L13
.L12:
	leaq	-12032(%rbp), %rcx
	movl	-12052(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	movq	%rax, %rdi
	call	strlen@PLT
	movq	%rax, %rbx
	movl	-12052(%rbp), %eax
	addl	$1, %eax
	leaq	-12032(%rbp), %rcx
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	movq	%rax, %rdi
	call	strlen@PLT
	cmpq	%rax, %rbx
	jne	.L13
	movl	-12052(%rbp), %eax
	addl	$1, %eax
	leaq	-12032(%rbp), %rcx
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	leaq	(%rcx,%rax), %rdx
	leaq	-12032(%rbp), %rsi
	movl	-12052(%rbp), %eax
	movslq	%eax, %rcx
	movq	%rcx, %rax
	addq	%rax, %rax
	addq	%rcx, %rax
	salq	$2, %rax
	addq	%rsi, %rax
	movq	%rdx, %rsi
	movq	%rax, %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	jle	.L13
	movl	-12052(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	leaq	-16(%rax), %rax
	addq	%rbp, %rax
	subq	$12016, %rax
	movq	(%rax), %rdx
	movq	%rdx, -12044(%rbp)
	movl	8(%rax), %eax
	movl	%eax, -12036(%rbp)
	movl	-12052(%rbp), %eax
	leal	1(%rax), %ecx
	movl	-12052(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	leaq	-16(%rax), %rax
	addq	%rbp, %rax
	leaq	-12016(%rax), %rdx
	movslq	%ecx, %rcx
	movq	%rcx, %rax
	addq	%rax, %rax
	addq	%rcx, %rax
	salq	$2, %rax
	leaq	-16(%rax), %rax
	addq	%rbp, %rax
	subq	$12016, %rax
	movq	(%rax), %rcx
	movq	%rcx, (%rdx)
	movl	8(%rax), %eax
	movl	%eax, 8(%rdx)
	movl	-12052(%rbp), %eax
	addl	$1, %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	leaq	-16(%rax), %rax
	addq	%rbp, %rax
	subq	$12016, %rax
	movq	-12044(%rbp), %rdx
	movq	%rdx, (%rax)
	movl	-12036(%rbp), %edx
	movl	%edx, 8(%rax)
.L13:
	addl	$1, -12052(%rbp)
.L11:
	movl	-12048(%rbp), %eax
	subl	$1, %eax
	cmpl	%eax, -12052(%rbp)
	jl	.L14
	addl	$1, -12056(%rbp)
.L10:
	movl	-12056(%rbp), %eax
	cmpl	-12048(%rbp), %eax
	jl	.L15
	movl	$0, -12056(%rbp)
	jmp	.L16
.L17:
	movl	-12056(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	leaq	-16(%rax), %rax
	addq	%rbp, %rax
	subq	$12008, %rax
	movl	(%rax), %edx
	leaq	-12032(%rbp), %rsi
	movl	-12056(%rbp), %eax
	movslq	%eax, %rcx
	movq	%rcx, %rax
	addq	%rax, %rax
	addq	%rcx, %rax
	salq	$2, %rax
	addq	%rsi, %rax
	movq	%rax, %rsi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	addl	$1, -12056(%rbp)
.L16:
	movl	-12056(%rbp), %eax
	cmpl	-12048(%rbp), %eax
	jl	.L17
	movl	$0, %eax
	movq	-24(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L19
	call	__stack_chk_fail@PLT
.L19:
	movq	-8(%rbp), %rbx
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.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:
