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 main(void){
    int h, w;
    char a[100+5][100+5];
    scanf("%d %d", &h, &w);
    for(int i=0; i<h; i++)scanf("%s", a[i]);
    // check bit
    for(int i=0; i<h; i++)a[i][w]='o';
    for(int i=0; i<w; i++)a[h][i]='o';
    
    for(int i=0; i<h; i++){
        for(int j=0; j<w; j++){
            if(a[i][j]=='#')break;
            if(j==w-1)a[i][w]='x';
        }
    }
    for(int i=0; i<w; i++){
        for(int j=0; j<h; j++){
            if(a[j][i]=='#')break;
            if(j==h-1)a[h][i]='x';
        }
    }
    
    for(int i=0; i<h; i++){
        if(a[i][w]=='o'){
            for(int j=0; j<w; j++){
                if(a[h][j]=='o')printf("%c", a[i][j]);
            }
            printf("\n");
        }
    }
    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
	subq	$4096, %rsp
	orq	$0, (%rsp)
	subq	$4096, %rsp
	orq	$0, (%rsp)
	subq	$2896, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-11080(%rbp), %rdx
	leaq	-11084(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -11076(%rbp)
	jmp	.L2
.L3:
	leaq	-11040(%rbp), %rcx
	movl	-11076(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	salq	$3, %rax
	addq	%rdx, %rax
	addq	%rcx, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -11076(%rbp)
.L2:
	movl	-11084(%rbp), %eax
	cmpl	%eax, -11076(%rbp)
	jl	.L3
	movl	$0, -11072(%rbp)
	jmp	.L4
.L5:
	movl	-11080(%rbp), %eax
	movslq	%eax, %rcx
	movl	-11072(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	salq	$3, %rax
	addq	%rdx, %rax
	addq	%rbp, %rax
	addq	%rcx, %rax
	subq	$11040, %rax
	movb	$111, (%rax)
	addl	$1, -11072(%rbp)
.L4:
	movl	-11084(%rbp), %eax
	cmpl	%eax, -11072(%rbp)
	jl	.L5
	movl	$0, -11068(%rbp)
	jmp	.L6
.L7:
	movl	-11084(%rbp), %eax
	movl	-11068(%rbp), %edx
	movslq	%edx, %rcx
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	salq	$3, %rax
	addq	%rdx, %rax
	addq	%rbp, %rax
	addq	%rcx, %rax
	subq	$11040, %rax
	movb	$111, (%rax)
	addl	$1, -11068(%rbp)
.L6:
	movl	-11080(%rbp), %eax
	cmpl	%eax, -11068(%rbp)
	jl	.L7
	movl	$0, -11064(%rbp)
	jmp	.L8
.L14:
	movl	$0, -11060(%rbp)
	jmp	.L9
.L13:
	movl	-11060(%rbp), %eax
	movslq	%eax, %rcx
	movl	-11064(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	salq	$3, %rax
	addq	%rdx, %rax
	addq	%rbp, %rax
	addq	%rcx, %rax
	subq	$11040, %rax
	movzbl	(%rax), %eax
	cmpb	$35, %al
	je	.L30
	movl	-11080(%rbp), %eax
	subl	$1, %eax
	cmpl	%eax, -11060(%rbp)
	jne	.L12
	movl	-11080(%rbp), %eax
	movslq	%eax, %rcx
	movl	-11064(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	salq	$3, %rax
	addq	%rdx, %rax
	addq	%rbp, %rax
	addq	%rcx, %rax
	subq	$11040, %rax
	movb	$120, (%rax)
.L12:
	addl	$1, -11060(%rbp)
.L9:
	movl	-11080(%rbp), %eax
	cmpl	%eax, -11060(%rbp)
	jl	.L13
	jmp	.L11
.L30:
	nop
.L11:
	addl	$1, -11064(%rbp)
.L8:
	movl	-11084(%rbp), %eax
	cmpl	%eax, -11064(%rbp)
	jl	.L14
	movl	$0, -11056(%rbp)
	jmp	.L15
.L21:
	movl	$0, -11052(%rbp)
	jmp	.L16
.L20:
	movl	-11056(%rbp), %eax
	movslq	%eax, %rcx
	movl	-11052(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	salq	$3, %rax
	addq	%rdx, %rax
	addq	%rbp, %rax
	addq	%rcx, %rax
	subq	$11040, %rax
	movzbl	(%rax), %eax
	cmpb	$35, %al
	je	.L31
	movl	-11084(%rbp), %eax
	subl	$1, %eax
	cmpl	%eax, -11052(%rbp)
	jne	.L19
	movl	-11084(%rbp), %eax
	movl	-11056(%rbp), %edx
	movslq	%edx, %rcx
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	salq	$3, %rax
	addq	%rdx, %rax
	addq	%rbp, %rax
	addq	%rcx, %rax
	subq	$11040, %rax
	movb	$120, (%rax)
.L19:
	addl	$1, -11052(%rbp)
.L16:
	movl	-11084(%rbp), %eax
	cmpl	%eax, -11052(%rbp)
	jl	.L20
	jmp	.L18
.L31:
	nop
.L18:
	addl	$1, -11056(%rbp)
.L15:
	movl	-11080(%rbp), %eax
	cmpl	%eax, -11056(%rbp)
	jl	.L21
	movl	$0, -11048(%rbp)
	jmp	.L22
.L27:
	movl	-11080(%rbp), %eax
	movslq	%eax, %rcx
	movl	-11048(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	salq	$3, %rax
	addq	%rdx, %rax
	addq	%rbp, %rax
	addq	%rcx, %rax
	subq	$11040, %rax
	movzbl	(%rax), %eax
	cmpb	$111, %al
	jne	.L23
	movl	$0, -11044(%rbp)
	jmp	.L24
.L26:
	movl	-11084(%rbp), %eax
	movl	-11044(%rbp), %edx
	movslq	%edx, %rcx
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	salq	$3, %rax
	addq	%rdx, %rax
	addq	%rbp, %rax
	addq	%rcx, %rax
	subq	$11040, %rax
	movzbl	(%rax), %eax
	cmpb	$111, %al
	jne	.L25
	movl	-11044(%rbp), %eax
	movslq	%eax, %rcx
	movl	-11048(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	salq	$3, %rax
	addq	%rdx, %rax
	addq	%rbp, %rax
	addq	%rcx, %rax
	subq	$11040, %rax
	movzbl	(%rax), %eax
	movsbl	%al, %eax
	movl	%eax, %edi
	call	putchar@PLT
.L25:
	addl	$1, -11044(%rbp)
.L24:
	movl	-11080(%rbp), %eax
	cmpl	%eax, -11044(%rbp)
	jl	.L26
	movl	$10, %edi
	call	putchar@PLT
.L23:
	addl	$1, -11048(%rbp)
.L22:
	movl	-11084(%rbp), %eax
	cmpl	%eax, -11048(%rbp)
	jl	.L27
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L29
	call	__stack_chk_fail@PLT
.L29:
	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:
.LFB23:
	.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	$2872, %rsp
	.cfi_def_cfa_offset 11120
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 11048(%rsp)
	xorl	%eax, %eax
	leaq	12(%rsp), %rdx
	leaq	8(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movslq	8(%rsp), %rbx
	testl	%ebx, %ebx
	jle	.L2
	leaq	16(%rsp), %rbp
	xorl	%r12d, %r12d
	leaq	.LC1(%rip), %r14
	movq	%rbp, %r13
	.p2align 4,,10
	.p2align 3
.L3:
	movq	%r13, %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	addl	$1, %r12d
	call	__isoc99_scanf@PLT
	movslq	8(%rsp), %rbx
	addq	$105, %r13
	cmpl	%r12d, %ebx
	jg	.L3
	movl	12(%rsp), %r13d
	testl	%ebx, %ebx
	jle	.L4
	leal	-1(%rbx), %ecx
	movslq	%r13d, %r14
	leaq	(%rcx,%rcx,2), %rsi
	leaq	105(%rbp,%r14), %rdx
	movq	%rcx, %r12
	leaq	(%rcx,%rsi,4), %rsi
	leaq	0(%rbp,%r14), %rax
	leaq	(%rcx,%rsi,8), %rcx
	addq	%rcx, %rdx
	.p2align 4,,10
	.p2align 3
.L5:
	movb	$111, (%rax)
	addq	$105, %rax
	cmpq	%rdx, %rax
	jne	.L5
	testl	%r13d, %r13d
	jle	.L31
	movslq	%ebx, %r15
	movq	%r14, %rdx
	movl	$111, %esi
	leaq	(%r15,%r15,2), %rax
	leaq	(%r15,%rax,4), %rax
	leaq	(%r15,%rax,8), %rdi
	addq	%rbp, %rdi
	call	memset@PLT
.L29:
	movl	%r12d, %eax
	movq	%rbp, %rdx
	movl	%r13d, %esi
	leaq	(%rax,%rax,2), %rcx
	leaq	(%rax,%rcx,4), %rcx
	leaq	(%rax,%rcx,8), %rax
	leal	-1(%r13), %ecx
	leaq	121(%rsp,%rax), %rdi
	.p2align 4,,10
	.p2align 3
.L10:
	xorl	%eax, %eax
	jmp	.L14
	.p2align 4,,10
	.p2align 3
.L13:
	addq	$1, %rax
	cmpq	%rsi, %rax
	je	.L15
.L14:
	cmpb	$35, (%rdx,%rax)
	je	.L15
	cmpl	%eax, %ecx
	jne	.L13
	addq	$1, %rax
	movb	$120, (%rdx,%r14)
	cmpq	%rsi, %rax
	jne	.L14
	.p2align 4,,10
	.p2align 3
.L15:
	addq	$105, %rdx
	cmpq	%rdi, %rdx
	jne	.L10
	testl	%r13d, %r13d
	jle	.L44
	leal	-1(%r13), %eax
	movq	%rbp, %rcx
	leaq	17(%rsp,%rax), %rdi
	leaq	(%r15,%r15,2), %rax
	leaq	(%r15,%rax,4), %rax
	leaq	(%r15,%rax,8), %rsi
	.p2align 4,,10
	.p2align 3
.L17:
	movq	%rcx, %rdx
	xorl	%eax, %eax
	.p2align 4,,10
	.p2align 3
.L22:
	cmpb	$35, (%rdx)
	je	.L21
	cmpl	%eax, %r12d
	je	.L45
	addl	$1, %eax
	addq	$105, %rdx
	cmpl	%ebx, %eax
	jne	.L22
.L21:
	addq	$1, %rcx
	cmpq	%rdi, %rcx
	jne	.L17
	.p2align 4,,10
	.p2align 3
.L18:
	xorl	%r15d, %r15d
	jmp	.L28
	.p2align 4,,10
	.p2align 3
.L23:
	addl	$1, %r15d
	addq	$105, %rbp
	cmpl	%r15d, %ebx
	jle	.L9
.L46:
	movslq	12(%rsp), %r14
	movq	%r14, %r13
.L28:
	movslq	%r15d, %rax
	leaq	(%rax,%rax,2), %rdx
	leaq	(%rax,%rdx,4), %rdx
	leaq	(%rax,%rdx,8), %rax
	addq	$11056, %rax
	addq	%rsp, %rax
	cmpb	$111, -11040(%rax,%r14)
	jne	.L23
	testl	%r13d, %r13d
	jle	.L24
	xorl	%r12d, %r12d
	jmp	.L27
	.p2align 4,,10
	.p2align 3
.L25:
	addq	$1, %r12
	cmpl	%r12d, %r13d
	jle	.L24
.L26:
	movslq	8(%rsp), %rbx
.L27:
	leaq	(%rbx,%rbx,2), %rax
	movslq	%r12d, %rdx
	leaq	(%rbx,%rax,4), %rax
	leaq	(%rbx,%rax,8), %rax
	addq	$11056, %rax
	addq	%rsp, %rax
	cmpb	$111, -11040(%rdx,%rax)
	jne	.L25
	movsbl	0(%rbp,%r12), %edi
	addq	$1, %r12
	call	putchar@PLT
	movl	12(%rsp), %r13d
	cmpl	%r12d, %r13d
	jg	.L26
	.p2align 4,,10
	.p2align 3
.L24:
	movl	$10, %edi
	addl	$1, %r15d
	addq	$105, %rbp
	call	putchar@PLT
	movslq	8(%rsp), %rbx
	cmpl	%r15d, %ebx
	jg	.L46
	.p2align 4,,10
	.p2align 3
.L9:
	movq	11048(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L47
	addq	$11064, %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
.L45:
	.cfi_restore_state
	movb	$120, (%rcx,%rsi)
	addq	$1, %rcx
	cmpq	%rdi, %rcx
	jne	.L17
	jmp	.L18
.L31:
	leaq	16(%rsp), %rbp
	movslq	%r13d, %r14
	testl	%ebx, %ebx
	jg	.L18
	jmp	.L9
.L2:
	movl	12(%rsp), %r13d
.L4:
	testl	%r13d, %r13d
	jle	.L31
	movslq	%ebx, %r15
	movslq	%r13d, %r14
	leaq	16(%rsp), %rbp
	movl	$111, %esi
	imulq	$105, %r15, %rdi
	movq	%r14, %rdx
	addq	%rbp, %rdi
	call	memset@PLT
	testl	%ebx, %ebx
	jle	.L9
	leal	-1(%rbx), %r12d
	jmp	.L29
.L47:
	call	__stack_chk_fail@PLT
.L44:
	testl	%ebx, %ebx
	jg	.L18
	jmp	.L9
	.cfi_endproc
.LFE23:
	.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:
.LFB23:
	.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	$2872, %rsp
	.cfi_def_cfa_offset 11120
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 11048(%rsp)
	xorl	%eax, %eax
	leaq	12(%rsp), %rdx
	leaq	8(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movslq	8(%rsp), %rbx
	testl	%ebx, %ebx
	jle	.L2
	leaq	16(%rsp), %rbp
	xorl	%r12d, %r12d
	leaq	.LC1(%rip), %r14
	movq	%rbp, %r13
	.p2align 4,,10
	.p2align 3
.L3:
	movq	%r13, %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	addl	$1, %r12d
	call	__isoc99_scanf@PLT
	movslq	8(%rsp), %rbx
	addq	$105, %r13
	cmpl	%r12d, %ebx
	jg	.L3
	movl	12(%rsp), %r13d
	testl	%ebx, %ebx
	jle	.L4
	leal	-1(%rbx), %ecx
	movslq	%r13d, %r14
	leaq	(%rcx,%rcx,2), %rsi
	leaq	105(%rbp,%r14), %rdx
	movq	%rcx, %r12
	leaq	(%rcx,%rsi,4), %rsi
	leaq	0(%rbp,%r14), %rax
	leaq	(%rcx,%rsi,8), %rcx
	addq	%rcx, %rdx
	.p2align 4,,10
	.p2align 3
.L5:
	movb	$111, (%rax)
	addq	$105, %rax
	cmpq	%rdx, %rax
	jne	.L5
	testl	%r13d, %r13d
	jle	.L31
	movslq	%ebx, %r15
	movq	%r14, %rdx
	movl	$111, %esi
	leaq	(%r15,%r15,2), %rax
	leaq	(%r15,%rax,4), %rax
	leaq	(%r15,%rax,8), %rdi
	addq	%rbp, %rdi
	call	memset@PLT
.L29:
	movl	%r12d, %eax
	movq	%rbp, %rdx
	movl	%r13d, %esi
	leaq	(%rax,%rax,2), %rcx
	leaq	(%rax,%rcx,4), %rcx
	leaq	(%rax,%rcx,8), %rax
	leal	-1(%r13), %ecx
	leaq	121(%rsp,%rax), %rdi
	.p2align 4,,10
	.p2align 3
.L10:
	xorl	%eax, %eax
	jmp	.L14
	.p2align 4,,10
	.p2align 3
.L13:
	addq	$1, %rax
	cmpq	%rsi, %rax
	je	.L15
.L14:
	cmpb	$35, (%rdx,%rax)
	je	.L15
	cmpl	%eax, %ecx
	jne	.L13
	addq	$1, %rax
	movb	$120, (%rdx,%r14)
	cmpq	%rsi, %rax
	jne	.L14
	.p2align 4,,10
	.p2align 3
.L15:
	addq	$105, %rdx
	cmpq	%rdi, %rdx
	jne	.L10
	testl	%r13d, %r13d
	jle	.L44
	leal	-1(%r13), %eax
	movq	%rbp, %rcx
	leaq	17(%rsp,%rax), %rdi
	leaq	(%r15,%r15,2), %rax
	leaq	(%r15,%rax,4), %rax
	leaq	(%r15,%rax,8), %rsi
	.p2align 4,,10
	.p2align 3
.L17:
	movq	%rcx, %rdx
	xorl	%eax, %eax
	.p2align 4,,10
	.p2align 3
.L22:
	cmpb	$35, (%rdx)
	je	.L21
	cmpl	%eax, %r12d
	je	.L45
	addl	$1, %eax
	addq	$105, %rdx
	cmpl	%ebx, %eax
	jne	.L22
.L21:
	addq	$1, %rcx
	cmpq	%rdi, %rcx
	jne	.L17
	.p2align 4,,10
	.p2align 3
.L18:
	xorl	%r15d, %r15d
	jmp	.L28
	.p2align 4,,10
	.p2align 3
.L23:
	addl	$1, %r15d
	addq	$105, %rbp
	cmpl	%r15d, %ebx
	jle	.L9
.L46:
	movslq	12(%rsp), %r14
	movq	%r14, %r13
.L28:
	movslq	%r15d, %rax
	leaq	(%rax,%rax,2), %rdx
	leaq	(%rax,%rdx,4), %rdx
	leaq	(%rax,%rdx,8), %rax
	addq	$11056, %rax
	addq	%rsp, %rax
	cmpb	$111, -11040(%rax,%r14)
	jne	.L23
	testl	%r13d, %r13d
	jle	.L24
	xorl	%r12d, %r12d
	jmp	.L27
	.p2align 4,,10
	.p2align 3
.L25:
	addq	$1, %r12
	cmpl	%r12d, %r13d
	jle	.L24
.L26:
	movslq	8(%rsp), %rbx
.L27:
	leaq	(%rbx,%rbx,2), %rax
	movslq	%r12d, %rdx
	leaq	(%rbx,%rax,4), %rax
	leaq	(%rbx,%rax,8), %rax
	addq	$11056, %rax
	addq	%rsp, %rax
	cmpb	$111, -11040(%rdx,%rax)
	jne	.L25
	movsbl	0(%rbp,%r12), %edi
	addq	$1, %r12
	call	putchar@PLT
	movl	12(%rsp), %r13d
	cmpl	%r12d, %r13d
	jg	.L26
	.p2align 4,,10
	.p2align 3
.L24:
	movl	$10, %edi
	addl	$1, %r15d
	addq	$105, %rbp
	call	putchar@PLT
	movslq	8(%rsp), %rbx
	cmpl	%r15d, %ebx
	jg	.L46
	.p2align 4,,10
	.p2align 3
.L9:
	movq	11048(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L47
	addq	$11064, %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
.L45:
	.cfi_restore_state
	movb	$120, (%rcx,%rsi)
	addq	$1, %rcx
	cmpq	%rdi, %rcx
	jne	.L17
	jmp	.L18
.L31:
	leaq	16(%rsp), %rbp
	movslq	%r13d, %r14
	testl	%ebx, %ebx
	jg	.L18
	jmp	.L9
.L2:
	movl	12(%rsp), %r13d
.L4:
	testl	%r13d, %r13d
	jle	.L31
	movslq	%ebx, %r15
	movslq	%r13d, %r14
	leaq	16(%rsp), %rbp
	movl	$111, %esi
	imulq	$105, %r15, %rdi
	movq	%r14, %rdx
	addq	%rbp, %rdi
	call	memset@PLT
	testl	%ebx, %ebx
	jle	.L9
	leal	-1(%rbx), %r12d
	jmp	.L29
.L47:
	call	__stack_chk_fail@PLT
.L44:
	testl	%ebx, %ebx
	jg	.L18
	jmp	.L9
	.cfi_endproc
.LFE23:
	.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>

int main(void){
    int h, w;
    char a[100+5][100+5];
    scanf("%d %d", &h, &w);
    for(int i=0; i<h; i++)scanf("%s", a[i]);
    // check bit
    for(int i=0; i<h; i++)a[i][w]='o';
    for(int i=0; i<w; i++)a[h][i]='o';
    
    for(int i=0; i<h; i++){
        for(int j=0; j<w; j++){
            if(a[i][j]=='#')break;
            if(j==w-1)a[i][w]='x';
        }
    }
    for(int i=0; i<w; i++){
        for(int j=0; j<h; j++){
            if(a[j][i]=='#')break;
            if(j==h-1)a[h][i]='x';
        }
    }
    
    for(int i=0; i<h; i++){
        if(a[i][w]=='o'){
            for(int j=0; j<w; j++){
                if(a[h][j]=='o')printf("%c", a[i][j]);
            }
            printf("\n");
        }
    }
    return 0;
}

4 4
##.#
....
##.$
.#.#
 4 5
-....
.....
..#..
.....
 7 6
..../.
....#.
.#....
..#...
..#...
......
.#..#.
 4 4
.#
....
.#
#.#.
 4 4
##.#
....
##.$
#.#.
 3 4
.#
....
.#
#-#.
 7 6
.././.
....#.
.#....
/..#..
..#...
......
.#..#.
 3 4
.#
....
.#
$-#.
 8 4
#.##
.-..
##.$
#.#.
 7 6
.././.
....#.
.#....
/..#..
..#...
......
.#..".

###
##$
.##
 #
 ..#
#..
.#.
.#.
#.#
 .#
.#
#.#
 ##.#
##.$
#.#.
 #
#
 ...#
#...
..#.
.#..
#..#
 #
#
 #.##
##.$
#.#.
 ...#
#...
..#.
.#..
#.."

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 main(void){
    int h, w;
    char a[100+5][100+5];
    scanf("%d %d", &h, &w);
    for(int i=0; i<h; i++)scanf("%s", a[i]);
    // check bit
    for(int i=0; i<h; i++)a[i][w]='o';
    for(int i=0; i<w; i++)a[h][i]='o';
    
    for(int i=0; i<h; i++){
        for(int j=0; j<w; j++){
            if(a[i][j]=='#')break;
            if(j==w-1)a[i][w]='x';
        }
    }
    for(int i=0; i<w; i++){
        for(int j=0; j<h; j++){
            if(a[j][i]=='#')break;
            if(j==h-1)a[h][i]='x';
        }
    }
    
    for(int i=0; i<h; i++){
        if(a[i][w]=='o'){
            for(int j=0; j<w; j++){
                if(a[h][j]=='o')printf("%c", a[i][j]);
            }
            printf("\n");
        }
    }
    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
	subq	$4096, %rsp
	orq	$0, (%rsp)
	subq	$4096, %rsp
	orq	$0, (%rsp)
	subq	$2896, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-11080(%rbp), %rdx
	leaq	-11084(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -11076(%rbp)
	jmp	.L2
.L3:
	leaq	-11040(%rbp), %rcx
	movl	-11076(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	salq	$3, %rax
	addq	%rdx, %rax
	addq	%rcx, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -11076(%rbp)
.L2:
	movl	-11084(%rbp), %eax
	cmpl	%eax, -11076(%rbp)
	jl	.L3
	movl	$0, -11072(%rbp)
	jmp	.L4
.L5:
	movl	-11080(%rbp), %eax
	movslq	%eax, %rcx
	movl	-11072(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	salq	$3, %rax
	addq	%rdx, %rax
	addq	%rbp, %rax
	addq	%rcx, %rax
	subq	$11040, %rax
	movb	$111, (%rax)
	addl	$1, -11072(%rbp)
.L4:
	movl	-11084(%rbp), %eax
	cmpl	%eax, -11072(%rbp)
	jl	.L5
	movl	$0, -11068(%rbp)
	jmp	.L6
.L7:
	movl	-11084(%rbp), %eax
	movl	-11068(%rbp), %edx
	movslq	%edx, %rcx
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	salq	$3, %rax
	addq	%rdx, %rax
	addq	%rbp, %rax
	addq	%rcx, %rax
	subq	$11040, %rax
	movb	$111, (%rax)
	addl	$1, -11068(%rbp)
.L6:
	movl	-11080(%rbp), %eax
	cmpl	%eax, -11068(%rbp)
	jl	.L7
	movl	$0, -11064(%rbp)
	jmp	.L8
.L14:
	movl	$0, -11060(%rbp)
	jmp	.L9
.L13:
	movl	-11060(%rbp), %eax
	movslq	%eax, %rcx
	movl	-11064(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	salq	$3, %rax
	addq	%rdx, %rax
	addq	%rbp, %rax
	addq	%rcx, %rax
	subq	$11040, %rax
	movzbl	(%rax), %eax
	cmpb	$35, %al
	je	.L30
	movl	-11080(%rbp), %eax
	subl	$1, %eax
	cmpl	%eax, -11060(%rbp)
	jne	.L12
	movl	-11080(%rbp), %eax
	movslq	%eax, %rcx
	movl	-11064(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	salq	$3, %rax
	addq	%rdx, %rax
	addq	%rbp, %rax
	addq	%rcx, %rax
	subq	$11040, %rax
	movb	$120, (%rax)
.L12:
	addl	$1, -11060(%rbp)
.L9:
	movl	-11080(%rbp), %eax
	cmpl	%eax, -11060(%rbp)
	jl	.L13
	jmp	.L11
.L30:
	nop
.L11:
	addl	$1, -11064(%rbp)
.L8:
	movl	-11084(%rbp), %eax
	cmpl	%eax, -11064(%rbp)
	jl	.L14
	movl	$0, -11056(%rbp)
	jmp	.L15
.L21:
	movl	$0, -11052(%rbp)
	jmp	.L16
.L20:
	movl	-11056(%rbp), %eax
	movslq	%eax, %rcx
	movl	-11052(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	salq	$3, %rax
	addq	%rdx, %rax
	addq	%rbp, %rax
	addq	%rcx, %rax
	subq	$11040, %rax
	movzbl	(%rax), %eax
	cmpb	$35, %al
	je	.L31
	movl	-11084(%rbp), %eax
	subl	$1, %eax
	cmpl	%eax, -11052(%rbp)
	jne	.L19
	movl	-11084(%rbp), %eax
	movl	-11056(%rbp), %edx
	movslq	%edx, %rcx
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	salq	$3, %rax
	addq	%rdx, %rax
	addq	%rbp, %rax
	addq	%rcx, %rax
	subq	$11040, %rax
	movb	$120, (%rax)
.L19:
	addl	$1, -11052(%rbp)
.L16:
	movl	-11084(%rbp), %eax
	cmpl	%eax, -11052(%rbp)
	jl	.L20
	jmp	.L18
.L31:
	nop
.L18:
	addl	$1, -11056(%rbp)
.L15:
	movl	-11080(%rbp), %eax
	cmpl	%eax, -11056(%rbp)
	jl	.L21
	movl	$0, -11048(%rbp)
	jmp	.L22
.L27:
	movl	-11080(%rbp), %eax
	movslq	%eax, %rcx
	movl	-11048(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	salq	$3, %rax
	addq	%rdx, %rax
	addq	%rbp, %rax
	addq	%rcx, %rax
	subq	$11040, %rax
	movzbl	(%rax), %eax
	cmpb	$111, %al
	jne	.L23
	movl	$0, -11044(%rbp)
	jmp	.L24
.L26:
	movl	-11084(%rbp), %eax
	movl	-11044(%rbp), %edx
	movslq	%edx, %rcx
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	salq	$3, %rax
	addq	%rdx, %rax
	addq	%rbp, %rax
	addq	%rcx, %rax
	subq	$11040, %rax
	movzbl	(%rax), %eax
	cmpb	$111, %al
	jne	.L25
	movl	-11044(%rbp), %eax
	movslq	%eax, %rcx
	movl	-11048(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	salq	$3, %rax
	addq	%rdx, %rax
	addq	%rbp, %rax
	addq	%rcx, %rax
	subq	$11040, %rax
	movzbl	(%rax), %eax
	movsbl	%al, %eax
	movl	%eax, %edi
	call	putchar@PLT
.L25:
	addl	$1, -11044(%rbp)
.L24:
	movl	-11080(%rbp), %eax
	cmpl	%eax, -11044(%rbp)
	jl	.L26
	movl	$10, %edi
	call	putchar@PLT
.L23:
	addl	$1, -11048(%rbp)
.L22:
	movl	-11084(%rbp), %eax
	cmpl	%eax, -11048(%rbp)
	jl	.L27
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L29
	call	__stack_chk_fail@PLT
.L29:
	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
	subq	$4096, %rsp
	orq	$0, (%rsp)
	subq	$4096, %rsp
	orq	$0, (%rsp)
	subq	$2896, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-11080(%rbp), %rdx
	leaq	-11084(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -11076(%rbp)
	jmp	.L2
.L3:
	leaq	-11040(%rbp), %rcx
	movl	-11076(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	salq	$3, %rax
	addq	%rdx, %rax
	addq	%rcx, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -11076(%rbp)
.L2:
	movl	-11084(%rbp), %eax
	cmpl	%eax, -11076(%rbp)
	jl	.L3
	movl	$0, -11072(%rbp)
	jmp	.L4
.L5:
	movl	-11080(%rbp), %eax
	movslq	%eax, %rcx
	movl	-11072(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	salq	$3, %rax
	addq	%rdx, %rax
	addq	%rbp, %rax
	addq	%rcx, %rax
	subq	$11040, %rax
	movb	$111, (%rax)
	addl	$1, -11072(%rbp)
.L4:
	movl	-11084(%rbp), %eax
	cmpl	%eax, -11072(%rbp)
	jl	.L5
	movl	$0, -11068(%rbp)
	jmp	.L6
.L7:
	movl	-11084(%rbp), %eax
	movl	-11068(%rbp), %edx
	movslq	%edx, %rcx
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	salq	$3, %rax
	addq	%rdx, %rax
	addq	%rbp, %rax
	addq	%rcx, %rax
	subq	$11040, %rax
	movb	$111, (%rax)
	addl	$1, -11068(%rbp)
.L6:
	movl	-11080(%rbp), %eax
	cmpl	%eax, -11068(%rbp)
	jl	.L7
	movl	$0, -11064(%rbp)
	jmp	.L8
.L14:
	movl	$0, -11060(%rbp)
	jmp	.L9
.L13:
	movl	-11060(%rbp), %eax
	movslq	%eax, %rcx
	movl	-11064(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	salq	$3, %rax
	addq	%rdx, %rax
	addq	%rbp, %rax
	addq	%rcx, %rax
	subq	$11040, %rax
	movzbl	(%rax), %eax
	cmpb	$35, %al
	je	.L30
	movl	-11080(%rbp), %eax
	subl	$1, %eax
	cmpl	%eax, -11060(%rbp)
	jne	.L12
	movl	-11080(%rbp), %eax
	movslq	%eax, %rcx
	movl	-11064(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	salq	$3, %rax
	addq	%rdx, %rax
	addq	%rbp, %rax
	addq	%rcx, %rax
	subq	$11040, %rax
	movb	$120, (%rax)
.L12:
	addl	$1, -11060(%rbp)
.L9:
	movl	-11080(%rbp), %eax
	cmpl	%eax, -11060(%rbp)
	jl	.L13
	jmp	.L11
.L30:
	nop
.L11:
	addl	$1, -11064(%rbp)
.L8:
	movl	-11084(%rbp), %eax
	cmpl	%eax, -11064(%rbp)
	jl	.L14
	movl	$0, -11056(%rbp)
	jmp	.L15
.L21:
	movl	$0, -11052(%rbp)
	jmp	.L16
.L20:
	movl	-11056(%rbp), %eax
	movslq	%eax, %rcx
	movl	-11052(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	salq	$3, %rax
	addq	%rdx, %rax
	addq	%rbp, %rax
	addq	%rcx, %rax
	subq	$11040, %rax
	movzbl	(%rax), %eax
	cmpb	$35, %al
	je	.L31
	movl	-11084(%rbp), %eax
	subl	$1, %eax
	cmpl	%eax, -11052(%rbp)
	jne	.L19
	movl	-11084(%rbp), %eax
	movl	-11056(%rbp), %edx
	movslq	%edx, %rcx
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	salq	$3, %rax
	addq	%rdx, %rax
	addq	%rbp, %rax
	addq	%rcx, %rax
	subq	$11040, %rax
	movb	$120, (%rax)
.L19:
	addl	$1, -11052(%rbp)
.L16:
	movl	-11084(%rbp), %eax
	cmpl	%eax, -11052(%rbp)
	jl	.L20
	jmp	.L18
.L31:
	nop
.L18:
	addl	$1, -11056(%rbp)
.L15:
	movl	-11080(%rbp), %eax
	cmpl	%eax, -11056(%rbp)
	jl	.L21
	movl	$0, -11048(%rbp)
	jmp	.L22
.L27:
	movl	-11080(%rbp), %eax
	movslq	%eax, %rcx
	movl	-11048(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	salq	$3, %rax
	addq	%rdx, %rax
	addq	%rbp, %rax
	addq	%rcx, %rax
	subq	$11040, %rax
	movzbl	(%rax), %eax
	cmpb	$111, %al
	jne	.L23
	movl	$0, -11044(%rbp)
	jmp	.L24
.L26:
	movl	-11084(%rbp), %eax
	movl	-11044(%rbp), %edx
	movslq	%edx, %rcx
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	salq	$3, %rax
	addq	%rdx, %rax
	addq	%rbp, %rax
	addq	%rcx, %rax
	subq	$11040, %rax
	movzbl	(%rax), %eax
	cmpb	$111, %al
	jne	.L25
	movl	-11044(%rbp), %eax
	movslq	%eax, %rcx
	movl	-11048(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	salq	$3, %rax
	addq	%rdx, %rax
	addq	%rbp, %rax
	addq	%rcx, %rax
	subq	$11040, %rax
	movzbl	(%rax), %eax
	movsbl	%al, %eax
	movl	%eax, %edi
	call	putchar@PLT
.L25:
	addl	$1, -11044(%rbp)
.L24:
	movl	-11080(%rbp), %eax
	cmpl	%eax, -11044(%rbp)
	jl	.L26
	movl	$10, %edi
	call	putchar@PLT
.L23:
	addl	$1, -11048(%rbp)
.L22:
	movl	-11084(%rbp), %eax
	cmpl	%eax, -11048(%rbp)
	jl	.L27
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L29
	call	__stack_chk_fail@PLT
.L29:
	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:
