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>
int main(void)
{
    int N, L;
    char s[100][200], tmp[200];
    scanf("%d %d", &N, &L);
    for (int i = 0; i < N; i++)
        scanf("%s", s[i]);
    for (int i = 0; i < N; i++) {
        for (int j = i + 1; j < N; j++) {
            if (strcmp(s[i], s[j]) > 0) {
                strcpy(tmp, s[i]);
                strcpy(s[i], s[j]);
                strcpy(s[j], tmp);
            }
        }
    }
    for (int i = 0; i < N; i++)
        printf("%s", s[i]);
    return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d %d"
.LC1:
	.string	"%s"
	.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	-16384(%rsp), %r11
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	subq	$3856, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-20228(%rbp), %rdx
	leaq	-20232(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -20224(%rbp)
	jmp	.L2
.L3:
	leaq	-20208(%rbp), %rcx
	movl	-20224(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	addq	%rdx, %rax
	salq	$3, %rax
	addq	%rcx, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -20224(%rbp)
.L2:
	movl	-20232(%rbp), %eax
	cmpl	%eax, -20224(%rbp)
	jl	.L3
	movl	$0, -20220(%rbp)
	jmp	.L4
.L8:
	movl	-20220(%rbp), %eax
	addl	$1, %eax
	movl	%eax, -20216(%rbp)
	jmp	.L5
.L7:
	leaq	-20208(%rbp), %rcx
	movl	-20216(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	addq	%rdx, %rax
	salq	$3, %rax
	leaq	(%rcx,%rax), %rdx
	leaq	-20208(%rbp), %rsi
	movl	-20220(%rbp), %eax
	movslq	%eax, %rcx
	movq	%rcx, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	leaq	0(,%rax,4), %rcx
	addq	%rcx, %rax
	salq	$3, %rax
	addq	%rsi, %rax
	movq	%rdx, %rsi
	movq	%rax, %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	jle	.L6
	leaq	-20208(%rbp), %rcx
	movl	-20220(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	addq	%rdx, %rax
	salq	$3, %rax
	leaq	(%rcx,%rax), %rdx
	leaq	-208(%rbp), %rax
	movq	%rdx, %rsi
	movq	%rax, %rdi
	call	strcpy@PLT
	leaq	-20208(%rbp), %rcx
	movl	-20216(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	addq	%rdx, %rax
	salq	$3, %rax
	leaq	(%rcx,%rax), %rdx
	leaq	-20208(%rbp), %rsi
	movl	-20220(%rbp), %eax
	movslq	%eax, %rcx
	movq	%rcx, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	leaq	0(,%rax,4), %rcx
	addq	%rcx, %rax
	salq	$3, %rax
	addq	%rsi, %rax
	movq	%rdx, %rsi
	movq	%rax, %rdi
	call	strcpy@PLT
	leaq	-20208(%rbp), %rcx
	movl	-20216(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	addq	%rdx, %rax
	salq	$3, %rax
	leaq	(%rcx,%rax), %rdx
	leaq	-208(%rbp), %rax
	movq	%rax, %rsi
	movq	%rdx, %rdi
	call	strcpy@PLT
.L6:
	addl	$1, -20216(%rbp)
.L5:
	movl	-20232(%rbp), %eax
	cmpl	%eax, -20216(%rbp)
	jl	.L7
	addl	$1, -20220(%rbp)
.L4:
	movl	-20232(%rbp), %eax
	cmpl	%eax, -20220(%rbp)
	jl	.L8
	movl	$0, -20212(%rbp)
	jmp	.L9
.L10:
	leaq	-20208(%rbp), %rcx
	movl	-20212(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	addq	%rdx, %rax
	salq	$3, %rax
	addq	%rcx, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	addl	$1, -20212(%rbp)
.L9:
	movl	-20232(%rbp), %eax
	cmpl	%eax, -20212(%rbp)
	jl	.L10
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L12
	call	__stack_chk_fail@PLT
.L12:
	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 %d"
.LC1:
	.string	"%s"
	.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
	leaq	-16384(%rsp), %r11
	.cfi_def_cfa 11, 16440
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$3880, %rsp
	.cfi_def_cfa_offset 20320
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 20248(%rsp)
	xorl	%eax, %eax
	leaq	44(%rsp), %rdx
	leaq	40(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	40(%rsp), %eax
	testl	%eax, %eax
	jle	.L11
	leaq	48(%rsp), %rax
	xorl	%ebx, %ebx
	movq	%rax, 24(%rsp)
	movq	%rax, %rbp
	.p2align 4,,10
	.p2align 3
.L3:
	movq	%rbp, %rsi
	leaq	.LC1(%rip), %rdi
	xorl	%eax, %eax
	addl	$1, %ebx
	call	__isoc99_scanf@PLT
	movl	40(%rsp), %r13d
	addq	$200, %rbp
	cmpl	%ebx, %r13d
	jg	.L3
	testl	%r13d, %r13d
	jle	.L11
	leaq	248(%rsp), %rax
	movl	$1, 12(%rsp)
	leaq	20048(%rsp), %r14
	movq	%rax, 16(%rsp)
	cmpl	$1, %r13d
	je	.L5
	.p2align 4,,10
	.p2align 3
.L6:
	movq	16(%rsp), %r15
	movl	12(%rsp), %ebp
	leaq	-200(%r15), %r12
	.p2align 4,,10
	.p2align 3
.L9:
	movq	%r15, %rsi
	movq	%r12, %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	jle	.L8
	movl	$200, %edx
	movq	%r12, %rsi
	movq	%r14, %rdi
	call	__stpcpy_chk@PLT
	movq	%r15, %rsi
	movq	%r12, %rdi
	movq	%rax, %rbx
	call	strcpy@PLT
	subq	%r14, %rbx
	movq	%r14, %rsi
	movq	%r15, %rdi
	leaq	1(%rbx), %rdx
	call	memcpy@PLT
.L8:
	addl	$1, %ebp
	addq	$200, %r15
	cmpl	%ebp, %r13d
	jg	.L9
	addl	$1, 12(%rsp)
	movl	12(%rsp), %eax
	addq	$200, 16(%rsp)
	cmpl	%eax, %r13d
	jne	.L6
.L5:
	movq	24(%rsp), %rbx
	xorl	%ebp, %ebp
	.p2align 4,,10
	.p2align 3
.L7:
	movq	%rbx, %rdx
	leaq	.LC1(%rip), %rsi
	xorl	%eax, %eax
	addl	$1, %ebp
	movl	$1, %edi
	addq	$200, %rbx
	call	__printf_chk@PLT
	cmpl	%ebp, 40(%rsp)
	jg	.L7
.L11:
	movq	20248(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L22
	addq	$20264, %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
.L22:
	.cfi_restore_state
	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 %d"
.LC1:
	.string	"%s"
	.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
	leaq	-16384(%rsp), %r11
	.cfi_def_cfa 11, 16440
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$3880, %rsp
	.cfi_def_cfa_offset 20320
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 20248(%rsp)
	xorl	%eax, %eax
	leaq	44(%rsp), %rdx
	leaq	40(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	40(%rsp), %eax
	testl	%eax, %eax
	jle	.L11
	leaq	48(%rsp), %rax
	xorl	%ebx, %ebx
	movq	%rax, 24(%rsp)
	movq	%rax, %rbp
	.p2align 4,,10
	.p2align 3
.L3:
	movq	%rbp, %rsi
	leaq	.LC1(%rip), %rdi
	xorl	%eax, %eax
	addl	$1, %ebx
	call	__isoc99_scanf@PLT
	movl	40(%rsp), %r13d
	addq	$200, %rbp
	cmpl	%ebx, %r13d
	jg	.L3
	testl	%r13d, %r13d
	jle	.L11
	leaq	248(%rsp), %rax
	movl	$1, 12(%rsp)
	leaq	20048(%rsp), %r14
	movq	%rax, 16(%rsp)
	cmpl	$1, %r13d
	je	.L5
	.p2align 4,,10
	.p2align 3
.L6:
	movq	16(%rsp), %r15
	movl	12(%rsp), %ebp
	leaq	-200(%r15), %r12
	.p2align 4,,10
	.p2align 3
.L9:
	movq	%r15, %rsi
	movq	%r12, %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	jle	.L8
	movl	$200, %edx
	movq	%r12, %rsi
	movq	%r14, %rdi
	call	__stpcpy_chk@PLT
	movq	%r15, %rsi
	movq	%r12, %rdi
	movq	%rax, %rbx
	call	strcpy@PLT
	subq	%r14, %rbx
	movq	%r14, %rsi
	movq	%r15, %rdi
	leaq	1(%rbx), %rdx
	call	memcpy@PLT
.L8:
	addl	$1, %ebp
	addq	$200, %r15
	cmpl	%ebp, %r13d
	jg	.L9
	addl	$1, 12(%rsp)
	movl	12(%rsp), %eax
	addq	$200, 16(%rsp)
	cmpl	%eax, %r13d
	jne	.L6
.L5:
	movq	24(%rsp), %rbx
	xorl	%ebp, %ebp
	.p2align 4,,10
	.p2align 3
.L7:
	movq	%rbx, %rdx
	leaq	.LC1(%rip), %rsi
	xorl	%eax, %eax
	addl	$1, %ebp
	movl	$1, %edi
	addq	$200, %rbx
	call	__printf_chk@PLT
	cmpl	%ebp, 40(%rsp)
	jg	.L7
.L11:
	movq	20248(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L22
	addq	$20264, %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
.L22:
	.cfi_restore_state
	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>
int main(void)
{
    int N, L;
    char s[100][200], tmp[200];
    scanf("%d %d", &N, &L);
    for (int i = 0; i < N; i++)
        scanf("%s", s[i]);
    for (int i = 0; i < N; i++) {
        for (int j = i + 1; j < N; j++) {
            if (strcmp(s[i], s[j]) > 0) {
                strcpy(tmp, s[i]);
                strcpy(s[i], s[j]);
                strcpy(s[j], tmp);
            }
        }
    }
    for (int i = 0; i < N; i++)
        printf("%s", s[i]);
    return 0;
}
3 3
dxx
axx
dxx
 3 3
dxx
axx
xxd
 3 3
dxx
xxa
xxd
 3 3
cxx
xxa
xxd
 3 3
dxx
`xx
cxx
 3 3
xdx
axx
dxx
 3 3
xxd
axx
xxd
 3 3
xxd
xxa
xxd
 3 3
cxx
axx
xxd
 3 3
xxd
`xx
cxx

axxdxxdxx axxdxxxxd dxxxxaxxd cxxxxaxxd `xxcxxdxx axxdxxxdx axxxxdxxd xxaxxdxxd axxcxxxxd `xxcxxxxd
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>
int main(void)
{
    int N, L;
    char s[100][200], tmp[200];
    scanf("%d %d", &N, &L);
    for (int i = 0; i < N; i++)
        scanf("%s", s[i]);
    for (int i = 0; i < N; i++) {
        for (int j = i + 1; j < N; j++) {
            if (strcmp(s[i], s[j]) > 0) {
                strcpy(tmp, s[i]);
                strcpy(s[i], s[j]);
                strcpy(s[j], tmp);
            }
        }
    }
    for (int i = 0; i < N; i++)
        printf("%s", s[i]);
    return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d %d"
.LC1:
	.string	"%s"
	.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	-16384(%rsp), %r11
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	subq	$3856, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-20228(%rbp), %rdx
	leaq	-20232(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -20224(%rbp)
	jmp	.L2
.L3:
	leaq	-20208(%rbp), %rcx
	movl	-20224(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	addq	%rdx, %rax
	salq	$3, %rax
	addq	%rcx, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -20224(%rbp)
.L2:
	movl	-20232(%rbp), %eax
	cmpl	%eax, -20224(%rbp)
	jl	.L3
	movl	$0, -20220(%rbp)
	jmp	.L4
.L8:
	movl	-20220(%rbp), %eax
	addl	$1, %eax
	movl	%eax, -20216(%rbp)
	jmp	.L5
.L7:
	leaq	-20208(%rbp), %rcx
	movl	-20216(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	addq	%rdx, %rax
	salq	$3, %rax
	leaq	(%rcx,%rax), %rdx
	leaq	-20208(%rbp), %rsi
	movl	-20220(%rbp), %eax
	movslq	%eax, %rcx
	movq	%rcx, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	leaq	0(,%rax,4), %rcx
	addq	%rcx, %rax
	salq	$3, %rax
	addq	%rsi, %rax
	movq	%rdx, %rsi
	movq	%rax, %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	jle	.L6
	leaq	-20208(%rbp), %rcx
	movl	-20220(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	addq	%rdx, %rax
	salq	$3, %rax
	leaq	(%rcx,%rax), %rdx
	leaq	-208(%rbp), %rax
	movq	%rdx, %rsi
	movq	%rax, %rdi
	call	strcpy@PLT
	leaq	-20208(%rbp), %rcx
	movl	-20216(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	addq	%rdx, %rax
	salq	$3, %rax
	leaq	(%rcx,%rax), %rdx
	leaq	-20208(%rbp), %rsi
	movl	-20220(%rbp), %eax
	movslq	%eax, %rcx
	movq	%rcx, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	leaq	0(,%rax,4), %rcx
	addq	%rcx, %rax
	salq	$3, %rax
	addq	%rsi, %rax
	movq	%rdx, %rsi
	movq	%rax, %rdi
	call	strcpy@PLT
	leaq	-20208(%rbp), %rcx
	movl	-20216(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	addq	%rdx, %rax
	salq	$3, %rax
	leaq	(%rcx,%rax), %rdx
	leaq	-208(%rbp), %rax
	movq	%rax, %rsi
	movq	%rdx, %rdi
	call	strcpy@PLT
.L6:
	addl	$1, -20216(%rbp)
.L5:
	movl	-20232(%rbp), %eax
	cmpl	%eax, -20216(%rbp)
	jl	.L7
	addl	$1, -20220(%rbp)
.L4:
	movl	-20232(%rbp), %eax
	cmpl	%eax, -20220(%rbp)
	jl	.L8
	movl	$0, -20212(%rbp)
	jmp	.L9
.L10:
	leaq	-20208(%rbp), %rcx
	movl	-20212(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	addq	%rdx, %rax
	salq	$3, %rax
	addq	%rcx, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	addl	$1, -20212(%rbp)
.L9:
	movl	-20232(%rbp), %eax
	cmpl	%eax, -20212(%rbp)
	jl	.L10
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L12
	call	__stack_chk_fail@PLT
.L12:
	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 %d"
.LC1:
	.string	"%s"
	.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	-16384(%rsp), %r11
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	subq	$3856, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-20228(%rbp), %rdx
	leaq	-20232(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -20224(%rbp)
	jmp	.L2
.L3:
	leaq	-20208(%rbp), %rcx
	movl	-20224(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	addq	%rdx, %rax
	salq	$3, %rax
	addq	%rcx, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -20224(%rbp)
.L2:
	movl	-20232(%rbp), %eax
	cmpl	%eax, -20224(%rbp)
	jl	.L3
	movl	$0, -20220(%rbp)
	jmp	.L4
.L8:
	movl	-20220(%rbp), %eax
	addl	$1, %eax
	movl	%eax, -20216(%rbp)
	jmp	.L5
.L7:
	leaq	-20208(%rbp), %rcx
	movl	-20216(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	addq	%rdx, %rax
	salq	$3, %rax
	leaq	(%rcx,%rax), %rdx
	leaq	-20208(%rbp), %rsi
	movl	-20220(%rbp), %eax
	movslq	%eax, %rcx
	movq	%rcx, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	leaq	0(,%rax,4), %rcx
	addq	%rcx, %rax
	salq	$3, %rax
	addq	%rsi, %rax
	movq	%rdx, %rsi
	movq	%rax, %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	jle	.L6
	leaq	-20208(%rbp), %rcx
	movl	-20220(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	addq	%rdx, %rax
	salq	$3, %rax
	leaq	(%rcx,%rax), %rdx
	leaq	-208(%rbp), %rax
	movq	%rdx, %rsi
	movq	%rax, %rdi
	call	strcpy@PLT
	leaq	-20208(%rbp), %rcx
	movl	-20216(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	addq	%rdx, %rax
	salq	$3, %rax
	leaq	(%rcx,%rax), %rdx
	leaq	-20208(%rbp), %rsi
	movl	-20220(%rbp), %eax
	movslq	%eax, %rcx
	movq	%rcx, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	leaq	0(,%rax,4), %rcx
	addq	%rcx, %rax
	salq	$3, %rax
	addq	%rsi, %rax
	movq	%rdx, %rsi
	movq	%rax, %rdi
	call	strcpy@PLT
	leaq	-20208(%rbp), %rcx
	movl	-20216(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	addq	%rdx, %rax
	salq	$3, %rax
	leaq	(%rcx,%rax), %rdx
	leaq	-208(%rbp), %rax
	movq	%rax, %rsi
	movq	%rdx, %rdi
	call	strcpy@PLT
.L6:
	addl	$1, -20216(%rbp)
.L5:
	movl	-20232(%rbp), %eax
	cmpl	%eax, -20216(%rbp)
	jl	.L7
	addl	$1, -20220(%rbp)
.L4:
	movl	-20232(%rbp), %eax
	cmpl	%eax, -20220(%rbp)
	jl	.L8
	movl	$0, -20212(%rbp)
	jmp	.L9
.L10:
	leaq	-20208(%rbp), %rcx
	movl	-20212(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	addq	%rdx, %rax
	salq	$3, %rax
	addq	%rcx, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	addl	$1, -20212(%rbp)
.L9:
	movl	-20232(%rbp), %eax
	cmpl	%eax, -20212(%rbp)
	jl	.L10
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L12
	call	__stack_chk_fail@PLT
.L12:
	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:
