Given the following C code and unoptimized assembly code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
#include <stdbool.h>
#include <stdio.h>
int main() {
    int h, w;
    bool isEnable = true;
    char f[51][51];
    scanf("%d%d", &h, &w);
    for (int i = 0; i < h; i++) {
        scanf("%s", &f[i]);
    }
    for (int y = 0; y < h; y++) {
        for (int x = 0; x < w; x++) {
            if (f[y][x] == '#') {
                if (y + 1 != h && f[y + 1][x] == '.' && y != 0 &&
                    f[y - 1][x] == '.' && x + 1 != w && f[y][x + 1] == '.' &&
                    x != 0 && f[y][x - 1] == '.')
                    isEnable = false;
            }
        }
    }
    if (isEnable)
        printf("Yes\n");
    else
        printf("No\n");
    return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d%d"
.LC1:
	.string	"%s"
.LC2:
	.string	"Yes"
.LC3:
	.string	"No"
	.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	$2656, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movb	$1, -2645(%rbp)
	leaq	-2640(%rbp), %rdx
	leaq	-2644(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -2636(%rbp)
	jmp	.L2
.L3:
	leaq	-2624(%rbp), %rcx
	movl	-2636(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	movq	%rax, %rdx
	salq	$4, %rdx
	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, -2636(%rbp)
.L2:
	movl	-2644(%rbp), %eax
	cmpl	%eax, -2636(%rbp)
	jl	.L3
	movl	$0, -2632(%rbp)
	jmp	.L4
.L8:
	movl	$0, -2628(%rbp)
	jmp	.L5
.L7:
	movl	-2628(%rbp), %eax
	movslq	%eax, %rcx
	movl	-2632(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	movq	%rax, %rdx
	salq	$4, %rdx
	addq	%rdx, %rax
	addq	%rbp, %rax
	addq	%rcx, %rax
	subq	$2624, %rax
	movzbl	(%rax), %eax
	cmpb	$35, %al
	jne	.L6
	movl	-2632(%rbp), %eax
	leal	1(%rax), %edx
	movl	-2644(%rbp), %eax
	cmpl	%eax, %edx
	je	.L6
	movl	-2632(%rbp), %eax
	leal	1(%rax), %edx
	movl	-2628(%rbp), %eax
	movslq	%eax, %rcx
	movslq	%edx, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	movq	%rax, %rdx
	salq	$4, %rdx
	addq	%rdx, %rax
	addq	%rbp, %rax
	addq	%rcx, %rax
	subq	$2624, %rax
	movzbl	(%rax), %eax
	cmpb	$46, %al
	jne	.L6
	cmpl	$0, -2632(%rbp)
	je	.L6
	movl	-2632(%rbp), %eax
	leal	-1(%rax), %edx
	movl	-2628(%rbp), %eax
	movslq	%eax, %rcx
	movslq	%edx, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	movq	%rax, %rdx
	salq	$4, %rdx
	addq	%rdx, %rax
	addq	%rbp, %rax
	addq	%rcx, %rax
	subq	$2624, %rax
	movzbl	(%rax), %eax
	cmpb	$46, %al
	jne	.L6
	movl	-2628(%rbp), %eax
	leal	1(%rax), %edx
	movl	-2640(%rbp), %eax
	cmpl	%eax, %edx
	je	.L6
	movl	-2628(%rbp), %eax
	addl	$1, %eax
	movslq	%eax, %rcx
	movl	-2632(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	movq	%rax, %rdx
	salq	$4, %rdx
	addq	%rdx, %rax
	addq	%rbp, %rax
	addq	%rcx, %rax
	subq	$2624, %rax
	movzbl	(%rax), %eax
	cmpb	$46, %al
	jne	.L6
	cmpl	$0, -2628(%rbp)
	je	.L6
	movl	-2628(%rbp), %eax
	subl	$1, %eax
	movslq	%eax, %rcx
	movl	-2632(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	movq	%rax, %rdx
	salq	$4, %rdx
	addq	%rdx, %rax
	addq	%rbp, %rax
	addq	%rcx, %rax
	subq	$2624, %rax
	movzbl	(%rax), %eax
	cmpb	$46, %al
	jne	.L6
	movb	$0, -2645(%rbp)
.L6:
	addl	$1, -2628(%rbp)
.L5:
	movl	-2640(%rbp), %eax
	cmpl	%eax, -2628(%rbp)
	jl	.L7
	addl	$1, -2632(%rbp)
.L4:
	movl	-2644(%rbp), %eax
	cmpl	%eax, -2632(%rbp)
	jl	.L8
	cmpb	$0, -2645(%rbp)
	je	.L9
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	jmp	.L10
.L9:
	leaq	.LC3(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
.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"
.LC2:
	.string	"Yes"
.LC3:
	.string	"No"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	leaq	.LC0(%rip), %rdi
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	subq	$2648, %rsp
	.cfi_def_cfa_offset 2688
	movq	%fs:40, %rax
	movq	%rax, 2632(%rsp)
	xorl	%eax, %eax
	leaq	12(%rsp), %rdx
	leaq	8(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	8(%rsp), %eax
	testl	%eax, %eax
	jle	.L15
	leaq	16(%rsp), %rbx
	xorl	%ebp, %ebp
	leaq	.LC1(%rip), %r13
	movq	%rbx, %r12
	.p2align 4,,10
	.p2align 3
.L3:
	movq	%r12, %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	addl	$1, %ebp
	call	__isoc99_scanf@PLT
	movl	8(%rsp), %edi
	addq	$51, %r12
	cmpl	%ebp, %edi
	jg	.L3
	testl	%edi, %edi
	jle	.L15
	movslq	12(%rsp), %rcx
	xorl	%esi, %esi
	movl	$1, %r11d
	xorl	%r12d, %r12d
	movq	%rcx, %r9
	.p2align 4,,10
	.p2align 3
.L4:
	leaq	51(%rbx), %r8
	leal	1(%rsi), %r10d
	testl	%r9d, %r9d
	jle	.L8
	leal	1(%rsi), %r10d
	cmpl	%r10d, %edi
	je	.L35
	movq	%rbx, %rdx
	xorl	%eax, %eax
	leaq	51(%rbx), %r8
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L5:
	addq	$1, %rax
	addq	$1, %rdx
	cmpq	%rcx, %rax
	je	.L8
.L6:
	cmpb	$35, (%rdx)
	jne	.L5
	cmpb	$46, (%r8,%rax)
	jne	.L5
	testl	%esi, %esi
	je	.L5
	cmpb	$46, -51(%rax,%rbx)
	jne	.L5
	leal	1(%rax), %ebp
	cmpl	%ebp, %r9d
	je	.L5
	cmpb	$46, 1(%rdx)
	jne	.L5
	testl	%eax, %eax
	je	.L5
	cmpb	$46, -1(%rdx)
	cmove	%r12d, %r11d
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L37:
	leaq	51(%rbx), %r8
	.p2align 4,,10
	.p2align 3
.L8:
	movl	%r10d, %esi
	movq	%r8, %rbx
	cmpl	%r10d, %edi
	jne	.L4
.L7:
	testb	%r11b, %r11b
	jne	.L15
	leaq	.LC3(%rip), %rdi
	call	puts@PLT
.L14:
	movq	2632(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L36
	addq	$2648, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%rbp
	.cfi_def_cfa_offset 24
	popq	%r12
	.cfi_def_cfa_offset 16
	popq	%r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L35:
	.cfi_restore_state
	movl	$1, %eax
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L38:
	cmpl	%eax, %r9d
	jle	.L37
.L11:
	addq	$1, %rax
.L13:
	cmpb	$35, -1(%rbx,%rax)
	jne	.L38
	cmpl	%eax, %r9d
	jg	.L11
	jmp	.L7
.L15:
	leaq	.LC2(%rip), %rdi
	call	puts@PLT
	jmp	.L14
.L36:
	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	"Yes"
.LC3:
	.string	"No"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	leaq	.LC0(%rip), %rdi
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	subq	$2648, %rsp
	.cfi_def_cfa_offset 2688
	movq	%fs:40, %rax
	movq	%rax, 2632(%rsp)
	xorl	%eax, %eax
	leaq	12(%rsp), %rdx
	leaq	8(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	8(%rsp), %eax
	testl	%eax, %eax
	jle	.L15
	leaq	16(%rsp), %rbx
	xorl	%ebp, %ebp
	leaq	.LC1(%rip), %r13
	movq	%rbx, %r12
	.p2align 4,,10
	.p2align 3
.L3:
	movq	%r12, %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	addl	$1, %ebp
	call	__isoc99_scanf@PLT
	movl	8(%rsp), %edi
	addq	$51, %r12
	cmpl	%ebp, %edi
	jg	.L3
	testl	%edi, %edi
	jle	.L15
	movslq	12(%rsp), %rcx
	xorl	%esi, %esi
	movl	$1, %r11d
	xorl	%r12d, %r12d
	movq	%rcx, %r9
	.p2align 4,,10
	.p2align 3
.L4:
	leaq	51(%rbx), %r8
	leal	1(%rsi), %r10d
	testl	%r9d, %r9d
	jle	.L8
	leal	1(%rsi), %r10d
	cmpl	%r10d, %edi
	je	.L35
	movq	%rbx, %rdx
	xorl	%eax, %eax
	leaq	51(%rbx), %r8
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L5:
	addq	$1, %rax
	addq	$1, %rdx
	cmpq	%rcx, %rax
	je	.L8
.L6:
	cmpb	$35, (%rdx)
	jne	.L5
	cmpb	$46, (%r8,%rax)
	jne	.L5
	testl	%esi, %esi
	je	.L5
	cmpb	$46, -51(%rax,%rbx)
	jne	.L5
	leal	1(%rax), %ebp
	cmpl	%ebp, %r9d
	je	.L5
	cmpb	$46, 1(%rdx)
	jne	.L5
	testl	%eax, %eax
	je	.L5
	cmpb	$46, -1(%rdx)
	cmove	%r12d, %r11d
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L37:
	leaq	51(%rbx), %r8
	.p2align 4,,10
	.p2align 3
.L8:
	movl	%r10d, %esi
	movq	%r8, %rbx
	cmpl	%r10d, %edi
	jne	.L4
.L7:
	testb	%r11b, %r11b
	jne	.L15
	leaq	.LC3(%rip), %rdi
	call	puts@PLT
.L14:
	movq	2632(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L36
	addq	$2648, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%rbp
	.cfi_def_cfa_offset 24
	popq	%r12
	.cfi_def_cfa_offset 16
	popq	%r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L35:
	.cfi_restore_state
	movl	$1, %eax
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L38:
	cmpl	%eax, %r9d
	jle	.L37
.L11:
	addq	$1, %rax
.L13:
	cmpb	$35, -1(%rbx,%rax)
	jne	.L38
	cmpl	%eax, %r9d
	jg	.L11
	jmp	.L7
.L15:
	leaq	.LC2(%rip), %rdi
	call	puts@PLT
	jmp	.L14
.L36:
	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 <stdbool.h>
#include <stdio.h>
int main() {
    int h, w;
    bool isEnable = true;
    char f[51][51];
    scanf("%d%d", &h, &w);
    for (int i = 0; i < h; i++) {
        scanf("%s", &f[i]);
    }
    for (int y = 0; y < h; y++) {
        for (int x = 0; x < w; x++) {
            if (f[y][x] == '#') {
                if (y + 1 != h && f[y + 1][x] == '.' && y != 0 &&
                    f[y - 1][x] == '.' && x + 1 != w && f[y][x + 1] == '.' &&
                    x != 0 && f[y][x - 1] == '.')
                    isEnable = false;
            }
        }
    }
    if (isEnable)
        printf("Yes\n");
    else
        printf("No\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 <stdbool.h>
#include <stdio.h>
int main() {
    int h, w;
    bool isEnable = true;
    char f[51][51];
    scanf("%d%d", &h, &w);
    for (int i = 0; i < h; i++) {
        scanf("%s", &f[i]);
    }
    for (int y = 0; y < h; y++) {
        for (int x = 0; x < w; x++) {
            if (f[y][x] == '#') {
                if (y + 1 != h && f[y + 1][x] == '.' && y != 0 &&
                    f[y - 1][x] == '.' && x + 1 != w && f[y][x + 1] == '.' &&
                    x != 0 && f[y][x - 1] == '.')
                    isEnable = false;
            }
        }
    }
    if (isEnable)
        printf("Yes\n");
    else
        printf("No\n");
    return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d%d"
.LC1:
	.string	"%s"
.LC2:
	.string	"Yes"
.LC3:
	.string	"No"
	.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	$2656, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movb	$1, -2645(%rbp)
	leaq	-2640(%rbp), %rdx
	leaq	-2644(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -2636(%rbp)
	jmp	.L2
.L3:
	leaq	-2624(%rbp), %rcx
	movl	-2636(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	movq	%rax, %rdx
	salq	$4, %rdx
	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, -2636(%rbp)
.L2:
	movl	-2644(%rbp), %eax
	cmpl	%eax, -2636(%rbp)
	jl	.L3
	movl	$0, -2632(%rbp)
	jmp	.L4
.L8:
	movl	$0, -2628(%rbp)
	jmp	.L5
.L7:
	movl	-2628(%rbp), %eax
	movslq	%eax, %rcx
	movl	-2632(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	movq	%rax, %rdx
	salq	$4, %rdx
	addq	%rdx, %rax
	addq	%rbp, %rax
	addq	%rcx, %rax
	subq	$2624, %rax
	movzbl	(%rax), %eax
	cmpb	$35, %al
	jne	.L6
	movl	-2632(%rbp), %eax
	leal	1(%rax), %edx
	movl	-2644(%rbp), %eax
	cmpl	%eax, %edx
	je	.L6
	movl	-2632(%rbp), %eax
	leal	1(%rax), %edx
	movl	-2628(%rbp), %eax
	movslq	%eax, %rcx
	movslq	%edx, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	movq	%rax, %rdx
	salq	$4, %rdx
	addq	%rdx, %rax
	addq	%rbp, %rax
	addq	%rcx, %rax
	subq	$2624, %rax
	movzbl	(%rax), %eax
	cmpb	$46, %al
	jne	.L6
	cmpl	$0, -2632(%rbp)
	je	.L6
	movl	-2632(%rbp), %eax
	leal	-1(%rax), %edx
	movl	-2628(%rbp), %eax
	movslq	%eax, %rcx
	movslq	%edx, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	movq	%rax, %rdx
	salq	$4, %rdx
	addq	%rdx, %rax
	addq	%rbp, %rax
	addq	%rcx, %rax
	subq	$2624, %rax
	movzbl	(%rax), %eax
	cmpb	$46, %al
	jne	.L6
	movl	-2628(%rbp), %eax
	leal	1(%rax), %edx
	movl	-2640(%rbp), %eax
	cmpl	%eax, %edx
	je	.L6
	movl	-2628(%rbp), %eax
	addl	$1, %eax
	movslq	%eax, %rcx
	movl	-2632(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	movq	%rax, %rdx
	salq	$4, %rdx
	addq	%rdx, %rax
	addq	%rbp, %rax
	addq	%rcx, %rax
	subq	$2624, %rax
	movzbl	(%rax), %eax
	cmpb	$46, %al
	jne	.L6
	cmpl	$0, -2628(%rbp)
	je	.L6
	movl	-2628(%rbp), %eax
	subl	$1, %eax
	movslq	%eax, %rcx
	movl	-2632(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	movq	%rax, %rdx
	salq	$4, %rdx
	addq	%rdx, %rax
	addq	%rbp, %rax
	addq	%rcx, %rax
	subq	$2624, %rax
	movzbl	(%rax), %eax
	cmpb	$46, %al
	jne	.L6
	movb	$0, -2645(%rbp)
.L6:
	addl	$1, -2628(%rbp)
.L5:
	movl	-2640(%rbp), %eax
	cmpl	%eax, -2628(%rbp)
	jl	.L7
	addl	$1, -2632(%rbp)
.L4:
	movl	-2644(%rbp), %eax
	cmpl	%eax, -2632(%rbp)
	jl	.L8
	cmpb	$0, -2645(%rbp)
	je	.L9
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	jmp	.L10
.L9:
	leaq	.LC3(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
.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"
.LC2:
	.string	"Yes"
.LC3:
	.string	"No"
	.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	$2656, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movb	$1, -2645(%rbp)
	leaq	-2640(%rbp), %rdx
	leaq	-2644(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -2636(%rbp)
	jmp	.L2
.L3:
	leaq	-2624(%rbp), %rcx
	movl	-2636(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	movq	%rax, %rdx
	salq	$4, %rdx
	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, -2636(%rbp)
.L2:
	movl	-2644(%rbp), %eax
	cmpl	%eax, -2636(%rbp)
	jl	.L3
	movl	$0, -2632(%rbp)
	jmp	.L4
.L8:
	movl	$0, -2628(%rbp)
	jmp	.L5
.L7:
	movl	-2628(%rbp), %eax
	movslq	%eax, %rcx
	movl	-2632(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	movq	%rax, %rdx
	salq	$4, %rdx
	addq	%rdx, %rax
	addq	%rbp, %rax
	addq	%rcx, %rax
	subq	$2624, %rax
	movzbl	(%rax), %eax
	cmpb	$35, %al
	jne	.L6
	movl	-2632(%rbp), %eax
	leal	1(%rax), %edx
	movl	-2644(%rbp), %eax
	cmpl	%eax, %edx
	je	.L6
	movl	-2632(%rbp), %eax
	leal	1(%rax), %edx
	movl	-2628(%rbp), %eax
	movslq	%eax, %rcx
	movslq	%edx, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	movq	%rax, %rdx
	salq	$4, %rdx
	addq	%rdx, %rax
	addq	%rbp, %rax
	addq	%rcx, %rax
	subq	$2624, %rax
	movzbl	(%rax), %eax
	cmpb	$46, %al
	jne	.L6
	cmpl	$0, -2632(%rbp)
	je	.L6
	movl	-2632(%rbp), %eax
	leal	-1(%rax), %edx
	movl	-2628(%rbp), %eax
	movslq	%eax, %rcx
	movslq	%edx, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	movq	%rax, %rdx
	salq	$4, %rdx
	addq	%rdx, %rax
	addq	%rbp, %rax
	addq	%rcx, %rax
	subq	$2624, %rax
	movzbl	(%rax), %eax
	cmpb	$46, %al
	jne	.L6
	movl	-2628(%rbp), %eax
	leal	1(%rax), %edx
	movl	-2640(%rbp), %eax
	cmpl	%eax, %edx
	je	.L6
	movl	-2628(%rbp), %eax
	addl	$1, %eax
	movslq	%eax, %rcx
	movl	-2632(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	movq	%rax, %rdx
	salq	$4, %rdx
	addq	%rdx, %rax
	addq	%rbp, %rax
	addq	%rcx, %rax
	subq	$2624, %rax
	movzbl	(%rax), %eax
	cmpb	$46, %al
	jne	.L6
	cmpl	$0, -2628(%rbp)
	je	.L6
	movl	-2628(%rbp), %eax
	subl	$1, %eax
	movslq	%eax, %rcx
	movl	-2632(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	movq	%rax, %rdx
	salq	$4, %rdx
	addq	%rdx, %rax
	addq	%rbp, %rax
	addq	%rcx, %rax
	subq	$2624, %rax
	movzbl	(%rax), %eax
	cmpb	$46, %al
	jne	.L6
	movb	$0, -2645(%rbp)
.L6:
	addl	$1, -2628(%rbp)
.L5:
	movl	-2640(%rbp), %eax
	cmpl	%eax, -2628(%rbp)
	jl	.L7
	addl	$1, -2632(%rbp)
.L4:
	movl	-2644(%rbp), %eax
	cmpl	%eax, -2632(%rbp)
	jl	.L8
	cmpb	$0, -2645(%rbp)
	je	.L9
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	jmp	.L10
.L9:
	leaq	.LC3(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
.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:
