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 <string.h>

int main(void) {

    int h, w;
    scanf("%d %d", &h, &w);
    char s[101];

    char a[h][101];
    for (int i = 0; i < h; i++) {
        scanf("%s", s);
        strcpy(a[i], s);
    }


    for (int i = 0; i < w + 2; i++) {
        printf("%c", '#');
    }
    printf("\n");
    for (int j = 0; j < h; j++) {
        printf("#%s#\n", a[j]);
    }
    for (int i = 0; i < w + 2; i++) {
        printf("%c", '#');
    }

    return 0;
}
```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d %d"
.LC1:
	.string	"%s"
.LC2:
	.string	"#%s#\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB35:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	leaq	.LC0(%rip), %rdi
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	pushq	%r15
	pushq	%r14
	leaq	-164(%rbp), %rdx
	leaq	-168(%rbp), %rsi
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$136, %rsp
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	movq	%fs:40, %rax
	movq	%rax, -56(%rbp)
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movslq	-168(%rbp), %rax
	movq	%rsp, %rsi
	leaq	(%rax,%rax,4), %rdx
	movq	%rax, %rcx
	leaq	(%rdx,%rdx,4), %rdx
	leaq	15(%rax,%rdx,4), %rax
	movq	%rax, %rdx
	andq	$-4096, %rax
	subq	%rax, %rsi
	andq	$-16, %rdx
	cmpq	%rsi, %rsp
	je	.L3
.L23:
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	cmpq	%rsi, %rsp
	jne	.L23
.L3:
	andl	$4095, %edx
	subq	%rdx, %rsp
	testq	%rdx, %rdx
	jne	.L24
.L4:
	movq	%rsp, %rbx
	testl	%ecx, %ecx
	jle	.L5
	movq	%rsp, %r13
	xorl	%r12d, %r12d
	leaq	-160(%rbp), %r14
	leaq	.LC1(%rip), %r15
	.p2align 4,,10
	.p2align 3
.L6:
	movq	%r14, %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	addl	$1, %r12d
	call	__isoc99_scanf@PLT
	movq	%r13, %rdi
	movq	%r14, %rsi
	addq	$101, %r13
	call	strcpy@PLT
	cmpl	%r12d, -168(%rbp)
	jg	.L6
.L5:
	cmpl	$-1, -164(%rbp)
	jl	.L7
	xorl	%r12d, %r12d
	.p2align 4,,10
	.p2align 3
.L8:
	movl	$35, %edi
	call	putchar@PLT
	movl	%r12d, %eax
	addl	$1, %r12d
	cmpl	%eax, -164(%rbp)
	jge	.L8
.L7:
	movl	$10, %edi
	call	putchar@PLT
	movl	-168(%rbp), %eax
	testl	%eax, %eax
	jle	.L9
	xorl	%r12d, %r12d
	leaq	.LC2(%rip), %r13
	.p2align 4,,10
	.p2align 3
.L10:
	movq	%rbx, %rdx
	movq	%r13, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	addl	$1, %r12d
	addq	$101, %rbx
	cmpl	%r12d, -168(%rbp)
	jg	.L10
.L9:
	cmpl	$-1, -164(%rbp)
	jl	.L11
	xorl	%ebx, %ebx
	.p2align 4,,10
	.p2align 3
.L12:
	movl	$35, %edi
	call	putchar@PLT
	movl	%ebx, %eax
	addl	$1, %ebx
	cmpl	%eax, -164(%rbp)
	jge	.L12
.L11:
	movq	-56(%rbp), %rax
	subq	%fs:40, %rax
	jne	.L25
	leaq	-40(%rbp), %rsp
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
.L24:
	.cfi_restore_state
	orq	$0, -8(%rsp,%rdx)
	jmp	.L4
.L25:
	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:
```

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
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d %d"
.LC1:
	.string	"%s"
.LC2:
	.string	"#%s#\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB35:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	leaq	.LC0(%rip), %rdi
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	pushq	%r15
	pushq	%r14
	leaq	-164(%rbp), %rdx
	leaq	-168(%rbp), %rsi
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$136, %rsp
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	movq	%fs:40, %rax
	movq	%rax, -56(%rbp)
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movslq	-168(%rbp), %rax
	movq	%rsp, %rsi
	leaq	(%rax,%rax,4), %rdx
	movq	%rax, %rcx
	leaq	(%rdx,%rdx,4), %rdx
	leaq	15(%rax,%rdx,4), %rax
	movq	%rax, %rdx
	andq	$-4096, %rax
	subq	%rax, %rsi
	andq	$-16, %rdx
	cmpq	%rsi, %rsp
	je	.L3
.L23:
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	cmpq	%rsi, %rsp
	jne	.L23
.L3:
	andl	$4095, %edx
	subq	%rdx, %rsp
	testq	%rdx, %rdx
	jne	.L24
.L4:
	movq	%rsp, %rbx
	testl	%ecx, %ecx
	jle	.L5
	movq	%rsp, %r13
	xorl	%r12d, %r12d
	leaq	-160(%rbp), %r14
	leaq	.LC1(%rip), %r15
	.p2align 4,,10
	.p2align 3
.L6:
	movq	%r14, %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	addl	$1, %r12d
	call	__isoc99_scanf@PLT
	movq	%r13, %rdi
	movq	%r14, %rsi
	addq	$101, %r13
	call	strcpy@PLT
	cmpl	%r12d, -168(%rbp)
	jg	.L6
.L5:
	cmpl	$-1, -164(%rbp)
	jl	.L7
	xorl	%r12d, %r12d
	.p2align 4,,10
	.p2align 3
.L8:
	movl	$35, %edi
	call	putchar@PLT
	movl	%r12d, %eax
	addl	$1, %r12d
	cmpl	%eax, -164(%rbp)
	jge	.L8
.L7:
	movl	$10, %edi
	call	putchar@PLT
	movl	-168(%rbp), %eax
	testl	%eax, %eax
	jle	.L9
	xorl	%r12d, %r12d
	leaq	.LC2(%rip), %r13
	.p2align 4,,10
	.p2align 3
.L10:
	movq	%rbx, %rdx
	movq	%r13, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	addl	$1, %r12d
	addq	$101, %rbx
	cmpl	%r12d, -168(%rbp)
	jg	.L10
.L9:
	cmpl	$-1, -164(%rbp)
	jl	.L11
	xorl	%ebx, %ebx
	.p2align 4,,10
	.p2align 3
.L12:
	movl	$35, %edi
	call	putchar@PLT
	movl	%ebx, %eax
	addl	$1, %ebx
	cmpl	%eax, -164(%rbp)
	jge	.L12
.L11:
	movq	-56(%rbp), %rax
	subq	%fs:40, %rax
	jne	.L25
	leaq	-40(%rbp), %rsp
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
.L24:
	.cfi_restore_state
	orq	$0, -8(%rsp,%rdx)
	jmp	.L4
.L25:
	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
```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d %d"
.LC1:
	.string	"%s"
.LC2:
	.string	"#%s#\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB35:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	leaq	.LC0(%rip), %rdi
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	pushq	%r15
	pushq	%r14
	leaq	-164(%rbp), %rdx
	leaq	-168(%rbp), %rsi
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$136, %rsp
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	movq	%fs:40, %rax
	movq	%rax, -56(%rbp)
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movslq	-168(%rbp), %rax
	movq	%rsp, %rsi
	leaq	(%rax,%rax,4), %rdx
	movq	%rax, %rcx
	leaq	(%rdx,%rdx,4), %rdx
	leaq	15(%rax,%rdx,4), %rax
	movq	%rax, %rdx
	andq	$-4096, %rax
	subq	%rax, %rsi
	andq	$-16, %rdx
	cmpq	%rsi, %rsp
	je	.L3
.L23:
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	cmpq	%rsi, %rsp
	jne	.L23
.L3:
	andl	$4095, %edx
	subq	%rdx, %rsp
	testq	%rdx, %rdx
	jne	.L24
.L4:
	movq	%rsp, %rbx
	testl	%ecx, %ecx
	jle	.L5
	movq	%rsp, %r13
	xorl	%r12d, %r12d
	leaq	-160(%rbp), %r14
	leaq	.LC1(%rip), %r15
	.p2align 4,,10
	.p2align 3
.L6:
	movq	%r14, %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	addl	$1, %r12d
	call	__isoc99_scanf@PLT
	movq	%r13, %rdi
	movq	%r14, %rsi
	addq	$101, %r13
	call	strcpy@PLT
	cmpl	%r12d, -168(%rbp)
	jg	.L6
.L5:
	cmpl	$-1, -164(%rbp)
	jl	.L7
	xorl	%r12d, %r12d
	.p2align 4,,10
	.p2align 3
.L8:
	movl	$35, %edi
	call	putchar@PLT
	movl	%r12d, %eax
	addl	$1, %r12d
	cmpl	%eax, -164(%rbp)
	jge	.L8
.L7:
	movl	$10, %edi
	call	putchar@PLT
	movl	-168(%rbp), %eax
	testl	%eax, %eax
	jle	.L9
	xorl	%r12d, %r12d
	leaq	.LC2(%rip), %r13
	.p2align 4,,10
	.p2align 3
.L10:
	movq	%rbx, %rdx
	movq	%r13, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	addl	$1, %r12d
	addq	$101, %rbx
	cmpl	%r12d, -168(%rbp)
	jg	.L10
.L9:
	cmpl	$-1, -164(%rbp)
	jl	.L11
	xorl	%ebx, %ebx
	.p2align 4,,10
	.p2align 3
.L12:
	movl	$35, %edi
	call	putchar@PLT
	movl	%ebx, %eax
	addl	$1, %ebx
	cmpl	%eax, -164(%rbp)
	jge	.L12
.L11:
	movq	-56(%rbp), %rax
	subq	%fs:40, %rax
	jne	.L25
	leaq	-40(%rbp), %rsp
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
.L24:
	.cfi_restore_state
	orq	$0, -8(%rsp,%rdx)
	jmp	.L4
.L25:
	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:
```
```c
#include <stdio.h>
#include <string.h>

int main(void) {

    int h, w;
    scanf("%d %d", &h, &w);
    char s[101];

    char a[h][101];
    for (int i = 0; i < h; i++) {
        scanf("%s", s);
        strcpy(a[i], s);
    }


    for (int i = 0; i < w + 2; i++) {
        printf("%c", '#');
    }
    printf("\n");
    for (int j = 0; j < h; j++) {
        printf("#%s#\n", a[j]);
    }
    for (int i = 0; i < w + 2; i++) {
        printf("%c", '#');
    }

    return 0;
}
```
Given the following C 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 h, w;
    scanf("%d %d", &h, &w);
    char s[101];

    char a[h][101];
    for (int i = 0; i < h; i++) {
        scanf("%s", s);
        strcpy(a[i], s);
    }


    for (int i = 0; i < w + 2; i++) {
        printf("%c", '#');
    }
    printf("\n");
    for (int j = 0; j < h; j++) {
        printf("#%s#\n", a[j]);
    }
    for (int i = 0; i < w + 2; i++) {
        printf("%c", '#');
    }

    return 0;
}
```

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:

2 3
abc
brc
 1 1
y
 2 3
abc
bqc
 0 1
y
 2 1
abc
brc
 1 1
x
 1 2
z
 0 2
z

#####
#abc#
#brc#
##### ###
#y#
### #####
#abc#
#bqc#
##### ###
### ###
#abc#
#brc#
### ###
#x#
### ####
#z#
#### ####
####
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 <string.h>

int main(void) {

    int h, w;
    scanf("%d %d", &h, &w);
    char s[101];

    char a[h][101];
    for (int i = 0; i < h; i++) {
        scanf("%s", s);
        strcpy(a[i], s);
    }


    for (int i = 0; i < w + 2; i++) {
        printf("%c", '#');
    }
    printf("\n");
    for (int j = 0; j < h; j++) {
        printf("#%s#\n", a[j]);
    }
    for (int i = 0; i < w + 2; i++) {
        printf("%c", '#');
    }

    return 0;
}
```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d %d"
.LC1:
	.string	"%s"
.LC2:
	.string	"#%s#\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB35:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	leaq	.LC0(%rip), %rdi
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	pushq	%r15
	pushq	%r14
	leaq	-164(%rbp), %rdx
	leaq	-168(%rbp), %rsi
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$136, %rsp
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	movq	%fs:40, %rax
	movq	%rax, -56(%rbp)
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movslq	-168(%rbp), %rax
	movq	%rsp, %rsi
	leaq	(%rax,%rax,4), %rdx
	movq	%rax, %rcx
	leaq	(%rdx,%rdx,4), %rdx
	leaq	15(%rax,%rdx,4), %rax
	movq	%rax, %rdx
	andq	$-4096, %rax
	subq	%rax, %rsi
	andq	$-16, %rdx
	cmpq	%rsi, %rsp
	je	.L3
.L23:
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	cmpq	%rsi, %rsp
	jne	.L23
.L3:
	andl	$4095, %edx
	subq	%rdx, %rsp
	testq	%rdx, %rdx
	jne	.L24
.L4:
	movq	%rsp, %rbx
	testl	%ecx, %ecx
	jle	.L5
	movq	%rsp, %r13
	xorl	%r12d, %r12d
	leaq	-160(%rbp), %r14
	leaq	.LC1(%rip), %r15
	.p2align 4,,10
	.p2align 3
.L6:
	movq	%r14, %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	addl	$1, %r12d
	call	__isoc99_scanf@PLT
	movq	%r13, %rdi
	movq	%r14, %rsi
	addq	$101, %r13
	call	strcpy@PLT
	cmpl	%r12d, -168(%rbp)
	jg	.L6
.L5:
	cmpl	$-1, -164(%rbp)
	jl	.L7
	xorl	%r12d, %r12d
	.p2align 4,,10
	.p2align 3
.L8:
	movl	$35, %edi
	call	putchar@PLT
	movl	%r12d, %eax
	addl	$1, %r12d
	cmpl	%eax, -164(%rbp)
	jge	.L8
.L7:
	movl	$10, %edi
	call	putchar@PLT
	movl	-168(%rbp), %eax
	testl	%eax, %eax
	jle	.L9
	xorl	%r12d, %r12d
	leaq	.LC2(%rip), %r13
	.p2align 4,,10
	.p2align 3
.L10:
	movq	%rbx, %rdx
	movq	%r13, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	addl	$1, %r12d
	addq	$101, %rbx
	cmpl	%r12d, -168(%rbp)
	jg	.L10
.L9:
	cmpl	$-1, -164(%rbp)
	jl	.L11
	xorl	%ebx, %ebx
	.p2align 4,,10
	.p2align 3
.L12:
	movl	$35, %edi
	call	putchar@PLT
	movl	%ebx, %eax
	addl	$1, %ebx
	cmpl	%eax, -164(%rbp)
	jge	.L12
.L11:
	movq	-56(%rbp), %rax
	subq	%fs:40, %rax
	jne	.L25
	leaq	-40(%rbp), %rsp
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
.L24:
	.cfi_restore_state
	orq	$0, -8(%rsp,%rdx)
	jmp	.L4
.L25:
	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:
```

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
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d %d"
.LC1:
	.string	"%s"
.LC2:
	.string	"#%s#\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB35:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	leaq	.LC0(%rip), %rdi
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	pushq	%r15
	pushq	%r14
	leaq	-164(%rbp), %rdx
	leaq	-168(%rbp), %rsi
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$136, %rsp
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	movq	%fs:40, %rax
	movq	%rax, -56(%rbp)
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movslq	-168(%rbp), %rax
	movq	%rsp, %rsi
	leaq	(%rax,%rax,4), %rdx
	movq	%rax, %rcx
	leaq	(%rdx,%rdx,4), %rdx
	leaq	15(%rax,%rdx,4), %rax
	movq	%rax, %rdx
	andq	$-4096, %rax
	subq	%rax, %rsi
	andq	$-16, %rdx
	cmpq	%rsi, %rsp
	je	.L3
.L23:
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	cmpq	%rsi, %rsp
	jne	.L23
.L3:
	andl	$4095, %edx
	subq	%rdx, %rsp
	testq	%rdx, %rdx
	jne	.L24
.L4:
	movq	%rsp, %rbx
	testl	%ecx, %ecx
	jle	.L5
	movq	%rsp, %r13
	xorl	%r12d, %r12d
	leaq	-160(%rbp), %r14
	leaq	.LC1(%rip), %r15
	.p2align 4,,10
	.p2align 3
.L6:
	movq	%r14, %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	addl	$1, %r12d
	call	__isoc99_scanf@PLT
	movq	%r13, %rdi
	movq	%r14, %rsi
	addq	$101, %r13
	call	strcpy@PLT
	cmpl	%r12d, -168(%rbp)
	jg	.L6
.L5:
	cmpl	$-1, -164(%rbp)
	jl	.L7
	xorl	%r12d, %r12d
	.p2align 4,,10
	.p2align 3
.L8:
	movl	$35, %edi
	call	putchar@PLT
	movl	%r12d, %eax
	addl	$1, %r12d
	cmpl	%eax, -164(%rbp)
	jge	.L8
.L7:
	movl	$10, %edi
	call	putchar@PLT
	movl	-168(%rbp), %eax
	testl	%eax, %eax
	jle	.L9
	xorl	%r12d, %r12d
	leaq	.LC2(%rip), %r13
	.p2align 4,,10
	.p2align 3
.L10:
	movq	%rbx, %rdx
	movq	%r13, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	addl	$1, %r12d
	addq	$101, %rbx
	cmpl	%r12d, -168(%rbp)
	jg	.L10
.L9:
	cmpl	$-1, -164(%rbp)
	jl	.L11
	xorl	%ebx, %ebx
	.p2align 4,,10
	.p2align 3
.L12:
	movl	$35, %edi
	call	putchar@PLT
	movl	%ebx, %eax
	addl	$1, %ebx
	cmpl	%eax, -164(%rbp)
	jge	.L12
.L11:
	movq	-56(%rbp), %rax
	subq	%fs:40, %rax
	jne	.L25
	leaq	-40(%rbp), %rsp
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
.L24:
	.cfi_restore_state
	orq	$0, -8(%rsp,%rdx)
	jmp	.L4
.L25:
	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:
```