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 s[50+5][50+5];
    scanf("%d %d", &h, &w);
    
    for(int i=1; i<=h; i++){
        scanf("%s", &s[i][1]);
    }
    for(int i=1; i<=h; i++){
        for(int j=1; j<=w; j++){
            if(s[i][j]=='#'){
                // 独立した黒なら不可能
                if(s[i+1][j]=='.' && s[i-1][j]=='.' && s[i][j+1]=='.' && s[i][j-1]=='.'){
                    printf("No\n");
                    return 0;
                }
            }
        }
    }
    printf("Yes\n");
    return 0;
}
```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d %d"
.LC1:
	.string	"%s"
.LC2:
	.string	"No"
.LC3:
	.string	"Yes"
	.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	$3072, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-3056(%rbp), %rdx
	leaq	-3060(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$1, -3052(%rbp)
	jmp	.L2
.L3:
	leaq	-3040(%rbp), %rcx
	movl	-3052(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	addq	%rdx, %rax
	addq	$1, %rax
	addq	%rcx, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -3052(%rbp)
.L2:
	movl	-3060(%rbp), %eax
	cmpl	%eax, -3052(%rbp)
	jle	.L3
	movl	$1, -3048(%rbp)
	jmp	.L4
.L9:
	movl	$1, -3044(%rbp)
	jmp	.L5
.L8:
	movl	-3044(%rbp), %eax
	movslq	%eax, %rcx
	movl	-3048(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	addq	%rdx, %rax
	addq	%rbp, %rax
	addq	%rcx, %rax
	subq	$3040, %rax
	movzbl	(%rax), %eax
	cmpb	$35, %al
	jne	.L6
	movl	-3048(%rbp), %eax
	leal	1(%rax), %edx
	movl	-3044(%rbp), %eax
	movslq	%eax, %rcx
	movslq	%edx, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	addq	%rdx, %rax
	addq	%rbp, %rax
	addq	%rcx, %rax
	subq	$3040, %rax
	movzbl	(%rax), %eax
	cmpb	$46, %al
	jne	.L6
	movl	-3048(%rbp), %eax
	leal	-1(%rax), %edx
	movl	-3044(%rbp), %eax
	movslq	%eax, %rcx
	movslq	%edx, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	addq	%rdx, %rax
	addq	%rbp, %rax
	addq	%rcx, %rax
	subq	$3040, %rax
	movzbl	(%rax), %eax
	cmpb	$46, %al
	jne	.L6
	movl	-3044(%rbp), %eax
	addl	$1, %eax
	movslq	%eax, %rcx
	movl	-3048(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	addq	%rdx, %rax
	addq	%rbp, %rax
	addq	%rcx, %rax
	subq	$3040, %rax
	movzbl	(%rax), %eax
	cmpb	$46, %al
	jne	.L6
	movl	-3044(%rbp), %eax
	subl	$1, %eax
	movslq	%eax, %rcx
	movl	-3048(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	addq	%rdx, %rax
	addq	%rbp, %rax
	addq	%rcx, %rax
	subq	$3040, %rax
	movzbl	(%rax), %eax
	cmpb	$46, %al
	jne	.L6
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	movl	$0, %eax
	jmp	.L10
.L6:
	addl	$1, -3044(%rbp)
.L5:
	movl	-3056(%rbp), %eax
	cmpl	%eax, -3044(%rbp)
	jle	.L8
	addl	$1, -3048(%rbp)
.L4:
	movl	-3060(%rbp), %eax
	cmpl	%eax, -3048(%rbp)
	jle	.L9
	leaq	.LC3(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	movl	$0, %eax
.L10:
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L11
	call	__stack_chk_fail@PLT
.L11:
	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"
.LC2:
	.string	"No"
.LC3:
	.string	"Yes"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	leaq	.LC0(%rip), %rdi
	pushq	%rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	subq	$3056, %rsp
	.cfi_def_cfa_offset 3088
	movq	%fs:40, %rax
	movq	%rax, 3048(%rsp)
	xorl	%eax, %eax
	leaq	12(%rsp), %rdx
	leaq	8(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	8(%rsp), %eax
	testl	%eax, %eax
	jle	.L2
	leaq	72(%rsp), %rbp
	movl	$1, %ebx
	leaq	.LC1(%rip), %r12
	.p2align 4,,10
	.p2align 3
.L3:
	movq	%rbp, %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	addl	$1, %ebx
	call	__isoc99_scanf@PLT
	movl	8(%rsp), %r11d
	addq	$55, %rbp
	cmpl	%ebx, %r11d
	jge	.L3
	testl	%r11d, %r11d
	jle	.L2
	movl	12(%rsp), %ecx
	movl	$110, %r8d
	leaq	-39(%rsp), %rbp
	movq	$-55, %rdi
	movl	$1, %r9d
	movq	$-55, %rbx
	.p2align 4,,10
	.p2align 3
.L4:
	movq	%rbx, %r10
	addl	$1, %r9d
	leaq	0(%rbp,%r8), %rax
	movl	$1, %edx
	subq	%rdi, %r10
	testl	%ecx, %ecx
	jg	.L7
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L5:
	addq	$1, %rax
	cmpl	%edx, %ecx
	jl	.L9
.L7:
	addl	$1, %edx
	cmpb	$35, 1(%rax)
	jne	.L5
	leaq	(%rdi,%rax), %rsi
	cmpb	$46, 1(%rsi,%r8)
	jne	.L5
	cmpb	$46, 1(%rsi,%r10)
	jne	.L5
	cmpb	$46, 2(%rax)
	jne	.L5
	cmpb	$46, (%rax)
	jne	.L5
	leaq	.LC2(%rip), %rdi
	call	puts@PLT
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L9:
	subq	$55, %rdi
	addq	$55, %r8
	cmpl	%r9d, %r11d
	jge	.L4
.L2:
	leaq	.LC3(%rip), %rdi
	call	puts@PLT
.L6:
	movq	3048(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L16
	addq	$3056, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%rbp
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	ret
.L16:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.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"
.LC2:
	.string	"No"
.LC3:
	.string	"Yes"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	leaq	.LC0(%rip), %rdi
	pushq	%rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	subq	$3056, %rsp
	.cfi_def_cfa_offset 3088
	movq	%fs:40, %rax
	movq	%rax, 3048(%rsp)
	xorl	%eax, %eax
	leaq	12(%rsp), %rdx
	leaq	8(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	8(%rsp), %eax
	testl	%eax, %eax
	jle	.L2
	leaq	72(%rsp), %rbp
	movl	$1, %ebx
	leaq	.LC1(%rip), %r12
	.p2align 4,,10
	.p2align 3
.L3:
	movq	%rbp, %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	addl	$1, %ebx
	call	__isoc99_scanf@PLT
	movl	8(%rsp), %r11d
	addq	$55, %rbp
	cmpl	%ebx, %r11d
	jge	.L3
	testl	%r11d, %r11d
	jle	.L2
	movl	12(%rsp), %ecx
	movl	$110, %r8d
	leaq	-39(%rsp), %rbp
	movq	$-55, %rdi
	movl	$1, %r9d
	movq	$-55, %rbx
	.p2align 4,,10
	.p2align 3
.L4:
	movq	%rbx, %r10
	addl	$1, %r9d
	leaq	0(%rbp,%r8), %rax
	movl	$1, %edx
	subq	%rdi, %r10
	testl	%ecx, %ecx
	jg	.L7
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L5:
	addq	$1, %rax
	cmpl	%edx, %ecx
	jl	.L9
.L7:
	addl	$1, %edx
	cmpb	$35, 1(%rax)
	jne	.L5
	leaq	(%rdi,%rax), %rsi
	cmpb	$46, 1(%rsi,%r8)
	jne	.L5
	cmpb	$46, 1(%rsi,%r10)
	jne	.L5
	cmpb	$46, 2(%rax)
	jne	.L5
	cmpb	$46, (%rax)
	jne	.L5
	leaq	.LC2(%rip), %rdi
	call	puts@PLT
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L9:
	subq	$55, %rdi
	addq	$55, %r8
	cmpl	%r9d, %r11d
	jge	.L4
.L2:
	leaq	.LC3(%rip), %rdi
	call	puts@PLT
.L6:
	movq	3048(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L16
	addq	$3056, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%rbp
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	ret
.L16:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.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 s[50+5][50+5];
    scanf("%d %d", &h, &w);
    
    for(int i=1; i<=h; i++){
        scanf("%s", &s[i][1]);
    }
    for(int i=1; i<=h; i++){
        for(int j=1; j<=w; j++){
            if(s[i][j]=='#'){
                // 独立した黒なら不可能
                if(s[i+1][j]=='.' && s[i-1][j]=='.' && s[i][j+1]=='.' && s[i][j-1]=='.'){
                    printf("No\n");
                    return 0;
                }
            }
        }
    }
    printf("Yes\n");
    return 0;
}

3 5
.#.
###
.#.
 5 5
.#.#
.#.#.
-#.#
.#.#.
.#.#
 11 11
...#####...
.##.....##.
..##.##..#
..##.##..#
.........#
...###...#
.#########.
.#.#.#.#.#.
.#.#.#.#$
..##.#.##..
.##..#..##.
 3 6
.#.
###
.#.
 11 11
...#####...
.##.....##.
..##.##..#
..##.##..#
.........#
...###...#
.#########.
.#.#.#.#.#.
.$.#.#.#$
..##.#.##..
.##..#..##.
 5 6
.#.
###
.#.
 11 11
...#####...
.##.....##.
..##.##..#
..##.##..#
.........#
...###...#
.#########.
.#...#.###.
.$.#.#.#$
..##.#.##..
.##..#..##.
 6 6
.#.
###
.#.
 11 15
...#####...
.##.....##.
..##.##..#
..##.##..#
.........#
...###...#
.#########.
.#...#.###.
.$.#.#.#$
..##.#.##..
.##..#..##.
 6 6
#..
###
.#.

Yes
 Yes
 Yes
 Yes
 Yes
 Yes
 Yes
 Yes
 Yes
 Yes

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 s[50+5][50+5];
    scanf("%d %d", &h, &w);
    
    for(int i=1; i<=h; i++){
        scanf("%s", &s[i][1]);
    }
    for(int i=1; i<=h; i++){
        for(int j=1; j<=w; j++){
            if(s[i][j]=='#'){
                // 独立した黒なら不可能
                if(s[i+1][j]=='.' && s[i-1][j]=='.' && s[i][j+1]=='.' && s[i][j-1]=='.'){
                    printf("No\n");
                    return 0;
                }
            }
        }
    }
    printf("Yes\n");
    return 0;
}
```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d %d"
.LC1:
	.string	"%s"
.LC2:
	.string	"No"
.LC3:
	.string	"Yes"
	.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	$3072, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-3056(%rbp), %rdx
	leaq	-3060(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$1, -3052(%rbp)
	jmp	.L2
.L3:
	leaq	-3040(%rbp), %rcx
	movl	-3052(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	addq	%rdx, %rax
	addq	$1, %rax
	addq	%rcx, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -3052(%rbp)
.L2:
	movl	-3060(%rbp), %eax
	cmpl	%eax, -3052(%rbp)
	jle	.L3
	movl	$1, -3048(%rbp)
	jmp	.L4
.L9:
	movl	$1, -3044(%rbp)
	jmp	.L5
.L8:
	movl	-3044(%rbp), %eax
	movslq	%eax, %rcx
	movl	-3048(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	addq	%rdx, %rax
	addq	%rbp, %rax
	addq	%rcx, %rax
	subq	$3040, %rax
	movzbl	(%rax), %eax
	cmpb	$35, %al
	jne	.L6
	movl	-3048(%rbp), %eax
	leal	1(%rax), %edx
	movl	-3044(%rbp), %eax
	movslq	%eax, %rcx
	movslq	%edx, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	addq	%rdx, %rax
	addq	%rbp, %rax
	addq	%rcx, %rax
	subq	$3040, %rax
	movzbl	(%rax), %eax
	cmpb	$46, %al
	jne	.L6
	movl	-3048(%rbp), %eax
	leal	-1(%rax), %edx
	movl	-3044(%rbp), %eax
	movslq	%eax, %rcx
	movslq	%edx, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	addq	%rdx, %rax
	addq	%rbp, %rax
	addq	%rcx, %rax
	subq	$3040, %rax
	movzbl	(%rax), %eax
	cmpb	$46, %al
	jne	.L6
	movl	-3044(%rbp), %eax
	addl	$1, %eax
	movslq	%eax, %rcx
	movl	-3048(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	addq	%rdx, %rax
	addq	%rbp, %rax
	addq	%rcx, %rax
	subq	$3040, %rax
	movzbl	(%rax), %eax
	cmpb	$46, %al
	jne	.L6
	movl	-3044(%rbp), %eax
	subl	$1, %eax
	movslq	%eax, %rcx
	movl	-3048(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	addq	%rdx, %rax
	addq	%rbp, %rax
	addq	%rcx, %rax
	subq	$3040, %rax
	movzbl	(%rax), %eax
	cmpb	$46, %al
	jne	.L6
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	movl	$0, %eax
	jmp	.L10
.L6:
	addl	$1, -3044(%rbp)
.L5:
	movl	-3056(%rbp), %eax
	cmpl	%eax, -3044(%rbp)
	jle	.L8
	addl	$1, -3048(%rbp)
.L4:
	movl	-3060(%rbp), %eax
	cmpl	%eax, -3048(%rbp)
	jle	.L9
	leaq	.LC3(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	movl	$0, %eax
.L10:
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L11
	call	__stack_chk_fail@PLT
.L11:
	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"
.LC2:
	.string	"No"
.LC3:
	.string	"Yes"
	.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	$3072, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-3056(%rbp), %rdx
	leaq	-3060(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$1, -3052(%rbp)
	jmp	.L2
.L3:
	leaq	-3040(%rbp), %rcx
	movl	-3052(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	addq	%rdx, %rax
	addq	$1, %rax
	addq	%rcx, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -3052(%rbp)
.L2:
	movl	-3060(%rbp), %eax
	cmpl	%eax, -3052(%rbp)
	jle	.L3
	movl	$1, -3048(%rbp)
	jmp	.L4
.L9:
	movl	$1, -3044(%rbp)
	jmp	.L5
.L8:
	movl	-3044(%rbp), %eax
	movslq	%eax, %rcx
	movl	-3048(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	addq	%rdx, %rax
	addq	%rbp, %rax
	addq	%rcx, %rax
	subq	$3040, %rax
	movzbl	(%rax), %eax
	cmpb	$35, %al
	jne	.L6
	movl	-3048(%rbp), %eax
	leal	1(%rax), %edx
	movl	-3044(%rbp), %eax
	movslq	%eax, %rcx
	movslq	%edx, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	addq	%rdx, %rax
	addq	%rbp, %rax
	addq	%rcx, %rax
	subq	$3040, %rax
	movzbl	(%rax), %eax
	cmpb	$46, %al
	jne	.L6
	movl	-3048(%rbp), %eax
	leal	-1(%rax), %edx
	movl	-3044(%rbp), %eax
	movslq	%eax, %rcx
	movslq	%edx, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	addq	%rdx, %rax
	addq	%rbp, %rax
	addq	%rcx, %rax
	subq	$3040, %rax
	movzbl	(%rax), %eax
	cmpb	$46, %al
	jne	.L6
	movl	-3044(%rbp), %eax
	addl	$1, %eax
	movslq	%eax, %rcx
	movl	-3048(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	addq	%rdx, %rax
	addq	%rbp, %rax
	addq	%rcx, %rax
	subq	$3040, %rax
	movzbl	(%rax), %eax
	cmpb	$46, %al
	jne	.L6
	movl	-3044(%rbp), %eax
	subl	$1, %eax
	movslq	%eax, %rcx
	movl	-3048(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	addq	%rdx, %rax
	addq	%rbp, %rax
	addq	%rcx, %rax
	subq	$3040, %rax
	movzbl	(%rax), %eax
	cmpb	$46, %al
	jne	.L6
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	movl	$0, %eax
	jmp	.L10
.L6:
	addl	$1, -3044(%rbp)
.L5:
	movl	-3056(%rbp), %eax
	cmpl	%eax, -3044(%rbp)
	jle	.L8
	addl	$1, -3048(%rbp)
.L4:
	movl	-3060(%rbp), %eax
	cmpl	%eax, -3048(%rbp)
	jle	.L9
	leaq	.LC3(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	movl	$0, %eax
.L10:
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L11
	call	__stack_chk_fail@PLT
.L11:
	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:
