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){

        long int a,b,c,d,n;
        int judge = 0;
        char s[200000];
    
        scanf("%ld%ld%ld%ld%ld",&n,&a,&b,&c,&d);
        scanf("%s",s);

        //if(s[a-1] == '.' && s[b-1] == '.' && s[c-1] == '.' && s[d-1] == '.'){//abcdについて   
                if(c>d){//どこかでaがbを跨がなければならない//bとdの間に...がないとできない
                        for(int i=b-1;i<d;i++){
                                if(s[i-1] == '.' && s[i] == '.' && s[i+1] == '.'){
                                        judge = 2;
                                }   
                        }   
                }else{
                        judge = 2;
                }   
        //} 


if(d>c){
        for(int i=a;i<d;i++){
                if(s[i] == '#' && s[i+1] == '#'){
                        judge = 1;
                }   
        }   
}else{
        for(int i=a;i<c;i++){
                if(s[i] == '#' && s[i+1] == '#'){
                        judge = 1;
                }   
        }   
}
    
        if(judge == 2){ 
                printf("Yes\n");
        }else{
                printf("No\n");
        }   
return 0;
}
```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%ld%ld%ld%ld%ld"
.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
	leaq	-196608(%rsp), %r11
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	subq	$3472, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movl	$0, -200072(%rbp)
	leaq	-200032(%rbp), %rdi
	leaq	-200040(%rbp), %rsi
	leaq	-200048(%rbp), %rcx
	leaq	-200056(%rbp), %rdx
	leaq	-200024(%rbp), %rax
	movq	%rdi, %r9
	movq	%rsi, %r8
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	leaq	-200016(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movq	-200040(%rbp), %rdx
	movq	-200032(%rbp), %rax
	cmpq	%rax, %rdx
	jle	.L2
	movq	-200048(%rbp), %rax
	subl	$1, %eax
	movl	%eax, -200068(%rbp)
	jmp	.L3
.L5:
	movl	-200068(%rbp), %eax
	subl	$1, %eax
	cltq
	movzbl	-200016(%rbp,%rax), %eax
	cmpb	$46, %al
	jne	.L4
	movl	-200068(%rbp), %eax
	cltq
	movzbl	-200016(%rbp,%rax), %eax
	cmpb	$46, %al
	jne	.L4
	movl	-200068(%rbp), %eax
	addl	$1, %eax
	cltq
	movzbl	-200016(%rbp,%rax), %eax
	cmpb	$46, %al
	jne	.L4
	movl	$2, -200072(%rbp)
.L4:
	addl	$1, -200068(%rbp)
.L3:
	movl	-200068(%rbp), %eax
	movslq	%eax, %rdx
	movq	-200032(%rbp), %rax
	cmpq	%rax, %rdx
	jl	.L5
	jmp	.L6
.L2:
	movl	$2, -200072(%rbp)
.L6:
	movq	-200032(%rbp), %rdx
	movq	-200040(%rbp), %rax
	cmpq	%rax, %rdx
	jle	.L7
	movq	-200056(%rbp), %rax
	movl	%eax, -200064(%rbp)
	jmp	.L8
.L10:
	movl	-200064(%rbp), %eax
	cltq
	movzbl	-200016(%rbp,%rax), %eax
	cmpb	$35, %al
	jne	.L9
	movl	-200064(%rbp), %eax
	addl	$1, %eax
	cltq
	movzbl	-200016(%rbp,%rax), %eax
	cmpb	$35, %al
	jne	.L9
	movl	$1, -200072(%rbp)
.L9:
	addl	$1, -200064(%rbp)
.L8:
	movl	-200064(%rbp), %eax
	movslq	%eax, %rdx
	movq	-200032(%rbp), %rax
	cmpq	%rax, %rdx
	jl	.L10
	jmp	.L11
.L7:
	movq	-200056(%rbp), %rax
	movl	%eax, -200060(%rbp)
	jmp	.L12
.L14:
	movl	-200060(%rbp), %eax
	cltq
	movzbl	-200016(%rbp,%rax), %eax
	cmpb	$35, %al
	jne	.L13
	movl	-200060(%rbp), %eax
	addl	$1, %eax
	cltq
	movzbl	-200016(%rbp,%rax), %eax
	cmpb	$35, %al
	jne	.L13
	movl	$1, -200072(%rbp)
.L13:
	addl	$1, -200060(%rbp)
.L12:
	movl	-200060(%rbp), %eax
	movslq	%eax, %rdx
	movq	-200040(%rbp), %rax
	cmpq	%rax, %rdx
	jl	.L14
.L11:
	cmpl	$2, -200072(%rbp)
	jne	.L15
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	jmp	.L16
.L15:
	leaq	.LC3(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
.L16:
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L18
	call	__stack_chk_fail@PLT
.L18:
	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	"%ld%ld%ld%ld%ld"
.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	%r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	pushq	%rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	leaq	-196608(%rsp), %r11
	.cfi_def_cfa 11, 196640
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$3456, %rsp
	.cfi_def_cfa_offset 200096
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 200056(%rsp)
	xorl	%eax, %eax
	leaq	16(%rsp), %rcx
	leaq	24(%rsp), %r8
	leaq	8(%rsp), %rdx
	leaq	40(%rsp), %rsi
	leaq	32(%rsp), %r9
	leaq	48(%rsp), %rbx
	call	__isoc99_scanf@PLT
	movq	%rbx, %rsi
	leaq	.LC1(%rip), %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movq	24(%rsp), %r8
	movq	32(%rsp), %rcx
	cmpq	%rcx, %r8
	jle	.L2
	movq	16(%rsp), %r9
	movq	8(%rsp), %rbp
	leal	-1(%r9), %r11d
	movl	%ebp, %edx
	movl	%r9d, %esi
	movslq	%ebp, %rbp
	movslq	%r11d, %r11
	cmpq	%r11, %rcx
	jle	.L3
	movslq	%r9d, %r9
	addq	%rbx, %rcx
	leal	-2(%rsi), %r10d
	xorl	%edi, %edi
	addq	%r9, %rcx
	leaq	(%rbx,%r9), %rax
	movslq	%r10d, %r10
	movl	$2, %r12d
	subq	%r11, %rcx
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L4:
	addq	$1, %rax
	cmpq	%rcx, %rax
	je	.L26
.L5:
	movq	%rax, %rsi
	subq	%r9, %rsi
	cmpb	$46, (%rsi,%r10)
	jne	.L4
	cmpb	$46, (%rsi,%r11)
	jne	.L4
	cmpb	$46, (%rax)
	cmove	%r12d, %edi
	jmp	.L4
.L2:
	movq	8(%rsp), %rax
	movl	%eax, %edx
	cltq
	jge	.L7
	cmpq	%rax, %rcx
	jle	.L8
	leaq	(%rbx,%rcx), %rdx
	addq	%rbx, %rax
	movl	$2, %edi
	movl	$1, %ecx
	.p2align 4,,10
	.p2align 3
.L10:
	cmpb	$35, (%rax)
	jne	.L9
	cmpb	$35, 1(%rax)
	cmove	%ecx, %edi
.L9:
	addq	$1, %rax
	cmpq	%rdx, %rax
	jne	.L10
.L11:
	cmpl	$2, %edi
	je	.L8
.L13:
	leaq	.LC3(%rip), %rdi
	call	puts@PLT
.L16:
	movq	200056(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L27
	addq	$200064, %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
.L7:
	.cfi_restore_state
	movl	$2, %edi
	cmpq	%rax, %r8
	jg	.L12
.L8:
	leaq	.LC2(%rip), %rdi
	call	puts@PLT
	jmp	.L16
.L26:
	cmpq	%rbp, %r8
	jle	.L11
.L12:
	movslq	%edx, %rax
	movl	$1, %ecx
	addq	%rbx, %rax
	.p2align 4,,10
	.p2align 3
.L15:
	cmpb	$35, (%rax)
	jne	.L14
	cmpb	$35, 1(%rax)
	cmove	%ecx, %edi
.L14:
	addq	$1, %rax
	movq	%rax, %rdx
	subq	%rbx, %rdx
	cmpq	%rdx, %r8
	jg	.L15
	jmp	.L11
.L3:
	xorl	%edi, %edi
	cmpq	%rbp, %r8
	jg	.L12
	jmp	.L13
.L27:
	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	"%ld%ld%ld%ld%ld"
.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	%r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	pushq	%rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	leaq	-196608(%rsp), %r11
	.cfi_def_cfa 11, 196640
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$3456, %rsp
	.cfi_def_cfa_offset 200096
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 200056(%rsp)
	xorl	%eax, %eax
	leaq	16(%rsp), %rcx
	leaq	24(%rsp), %r8
	leaq	8(%rsp), %rdx
	leaq	40(%rsp), %rsi
	leaq	32(%rsp), %r9
	leaq	48(%rsp), %rbx
	call	__isoc99_scanf@PLT
	movq	%rbx, %rsi
	leaq	.LC1(%rip), %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movq	24(%rsp), %r8
	movq	32(%rsp), %rcx
	cmpq	%rcx, %r8
	jle	.L2
	movq	16(%rsp), %r9
	movq	8(%rsp), %rbp
	leal	-1(%r9), %r11d
	movl	%ebp, %edx
	movl	%r9d, %esi
	movslq	%ebp, %rbp
	movslq	%r11d, %r11
	cmpq	%r11, %rcx
	jle	.L3
	movslq	%r9d, %r9
	addq	%rbx, %rcx
	leal	-2(%rsi), %r10d
	xorl	%edi, %edi
	addq	%r9, %rcx
	leaq	(%rbx,%r9), %rax
	movslq	%r10d, %r10
	movl	$2, %r12d
	subq	%r11, %rcx
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L4:
	addq	$1, %rax
	cmpq	%rcx, %rax
	je	.L26
.L5:
	movq	%rax, %rsi
	subq	%r9, %rsi
	cmpb	$46, (%rsi,%r10)
	jne	.L4
	cmpb	$46, (%rsi,%r11)
	jne	.L4
	cmpb	$46, (%rax)
	cmove	%r12d, %edi
	jmp	.L4
.L2:
	movq	8(%rsp), %rax
	movl	%eax, %edx
	cltq
	jge	.L7
	cmpq	%rax, %rcx
	jle	.L8
	leaq	(%rbx,%rcx), %rdx
	addq	%rbx, %rax
	movl	$2, %edi
	movl	$1, %ecx
	.p2align 4,,10
	.p2align 3
.L10:
	cmpb	$35, (%rax)
	jne	.L9
	cmpb	$35, 1(%rax)
	cmove	%ecx, %edi
.L9:
	addq	$1, %rax
	cmpq	%rdx, %rax
	jne	.L10
.L11:
	cmpl	$2, %edi
	je	.L8
.L13:
	leaq	.LC3(%rip), %rdi
	call	puts@PLT
.L16:
	movq	200056(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L27
	addq	$200064, %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
.L7:
	.cfi_restore_state
	movl	$2, %edi
	cmpq	%rax, %r8
	jg	.L12
.L8:
	leaq	.LC2(%rip), %rdi
	call	puts@PLT
	jmp	.L16
.L26:
	cmpq	%rbp, %r8
	jle	.L11
.L12:
	movslq	%edx, %rax
	movl	$1, %ecx
	addq	%rbx, %rax
	.p2align 4,,10
	.p2align 3
.L15:
	cmpb	$35, (%rax)
	jne	.L14
	cmpb	$35, 1(%rax)
	cmove	%ecx, %edi
.L14:
	addq	$1, %rax
	movq	%rax, %rdx
	subq	%rbx, %rdx
	cmpq	%rdx, %r8
	jg	.L15
	jmp	.L11
.L3:
	xorl	%edi, %edi
	cmpq	%rbp, %r8
	jg	.L12
	jmp	.L13
.L27:
	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){

        long int a,b,c,d,n;
        int judge = 0;
        char s[200000];
    
        scanf("%ld%ld%ld%ld%ld",&n,&a,&b,&c,&d);
        scanf("%s",s);

        //if(s[a-1] == '.' && s[b-1] == '.' && s[c-1] == '.' && s[d-1] == '.'){//abcdについて   
                if(c>d){//どこかでaがbを跨がなければならない//bとdの間に...がないとできない
                        for(int i=b-1;i<d;i++){
                                if(s[i-1] == '.' && s[i] == '.' && s[i+1] == '.'){
                                        judge = 2;
                                }   
                        }   
                }else{
                        judge = 2;
                }   
        //} 


if(d>c){
        for(int i=a;i<d;i++){
                if(s[i] == '#' && s[i+1] == '#'){
                        judge = 1;
                }   
        }   
}else{
        for(int i=a;i<c;i++){
                if(s[i] == '#' && s[i+1] == '#'){
                        judge = 1;
                }   
        }   
}
    
        if(judge == 2){ 
                printf("Yes\n");
        }else{
                printf("No\n");
        }   
return 0;
}

9 1 3 7 6
.#..#..
 15 1 3 15 11
...#.#...#.#...
 4 1 3 7 6
.#..#..
 8 1 3 7 6
.#..#..
 15 0 3 15 13
...#.#...#.#...
 15 0 3 15 11
...#.#...#.#...
 1 1 3 7 6
.#..#..
 15 1 3 15 7
...#.#...#.#...
 8 1 4 7 6
.#..#..
 15 0 6 15 13
...#.#...#.#...

No
 Yes
 No
 No
 Yes
 Yes
 No
 No
 No
 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){

        long int a,b,c,d,n;
        int judge = 0;
        char s[200000];
    
        scanf("%ld%ld%ld%ld%ld",&n,&a,&b,&c,&d);
        scanf("%s",s);

        //if(s[a-1] == '.' && s[b-1] == '.' && s[c-1] == '.' && s[d-1] == '.'){//abcdについて   
                if(c>d){//どこかでaがbを跨がなければならない//bとdの間に...がないとできない
                        for(int i=b-1;i<d;i++){
                                if(s[i-1] == '.' && s[i] == '.' && s[i+1] == '.'){
                                        judge = 2;
                                }   
                        }   
                }else{
                        judge = 2;
                }   
        //} 


if(d>c){
        for(int i=a;i<d;i++){
                if(s[i] == '#' && s[i+1] == '#'){
                        judge = 1;
                }   
        }   
}else{
        for(int i=a;i<c;i++){
                if(s[i] == '#' && s[i+1] == '#'){
                        judge = 1;
                }   
        }   
}
    
        if(judge == 2){ 
                printf("Yes\n");
        }else{
                printf("No\n");
        }   
return 0;
}
```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%ld%ld%ld%ld%ld"
.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
	leaq	-196608(%rsp), %r11
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	subq	$3472, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movl	$0, -200072(%rbp)
	leaq	-200032(%rbp), %rdi
	leaq	-200040(%rbp), %rsi
	leaq	-200048(%rbp), %rcx
	leaq	-200056(%rbp), %rdx
	leaq	-200024(%rbp), %rax
	movq	%rdi, %r9
	movq	%rsi, %r8
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	leaq	-200016(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movq	-200040(%rbp), %rdx
	movq	-200032(%rbp), %rax
	cmpq	%rax, %rdx
	jle	.L2
	movq	-200048(%rbp), %rax
	subl	$1, %eax
	movl	%eax, -200068(%rbp)
	jmp	.L3
.L5:
	movl	-200068(%rbp), %eax
	subl	$1, %eax
	cltq
	movzbl	-200016(%rbp,%rax), %eax
	cmpb	$46, %al
	jne	.L4
	movl	-200068(%rbp), %eax
	cltq
	movzbl	-200016(%rbp,%rax), %eax
	cmpb	$46, %al
	jne	.L4
	movl	-200068(%rbp), %eax
	addl	$1, %eax
	cltq
	movzbl	-200016(%rbp,%rax), %eax
	cmpb	$46, %al
	jne	.L4
	movl	$2, -200072(%rbp)
.L4:
	addl	$1, -200068(%rbp)
.L3:
	movl	-200068(%rbp), %eax
	movslq	%eax, %rdx
	movq	-200032(%rbp), %rax
	cmpq	%rax, %rdx
	jl	.L5
	jmp	.L6
.L2:
	movl	$2, -200072(%rbp)
.L6:
	movq	-200032(%rbp), %rdx
	movq	-200040(%rbp), %rax
	cmpq	%rax, %rdx
	jle	.L7
	movq	-200056(%rbp), %rax
	movl	%eax, -200064(%rbp)
	jmp	.L8
.L10:
	movl	-200064(%rbp), %eax
	cltq
	movzbl	-200016(%rbp,%rax), %eax
	cmpb	$35, %al
	jne	.L9
	movl	-200064(%rbp), %eax
	addl	$1, %eax
	cltq
	movzbl	-200016(%rbp,%rax), %eax
	cmpb	$35, %al
	jne	.L9
	movl	$1, -200072(%rbp)
.L9:
	addl	$1, -200064(%rbp)
.L8:
	movl	-200064(%rbp), %eax
	movslq	%eax, %rdx
	movq	-200032(%rbp), %rax
	cmpq	%rax, %rdx
	jl	.L10
	jmp	.L11
.L7:
	movq	-200056(%rbp), %rax
	movl	%eax, -200060(%rbp)
	jmp	.L12
.L14:
	movl	-200060(%rbp), %eax
	cltq
	movzbl	-200016(%rbp,%rax), %eax
	cmpb	$35, %al
	jne	.L13
	movl	-200060(%rbp), %eax
	addl	$1, %eax
	cltq
	movzbl	-200016(%rbp,%rax), %eax
	cmpb	$35, %al
	jne	.L13
	movl	$1, -200072(%rbp)
.L13:
	addl	$1, -200060(%rbp)
.L12:
	movl	-200060(%rbp), %eax
	movslq	%eax, %rdx
	movq	-200040(%rbp), %rax
	cmpq	%rax, %rdx
	jl	.L14
.L11:
	cmpl	$2, -200072(%rbp)
	jne	.L15
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	jmp	.L16
.L15:
	leaq	.LC3(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
.L16:
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L18
	call	__stack_chk_fail@PLT
.L18:
	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	"%ld%ld%ld%ld%ld"
.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
	leaq	-196608(%rsp), %r11
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	subq	$3472, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movl	$0, -200072(%rbp)
	leaq	-200032(%rbp), %rdi
	leaq	-200040(%rbp), %rsi
	leaq	-200048(%rbp), %rcx
	leaq	-200056(%rbp), %rdx
	leaq	-200024(%rbp), %rax
	movq	%rdi, %r9
	movq	%rsi, %r8
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	leaq	-200016(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movq	-200040(%rbp), %rdx
	movq	-200032(%rbp), %rax
	cmpq	%rax, %rdx
	jle	.L2
	movq	-200048(%rbp), %rax
	subl	$1, %eax
	movl	%eax, -200068(%rbp)
	jmp	.L3
.L5:
	movl	-200068(%rbp), %eax
	subl	$1, %eax
	cltq
	movzbl	-200016(%rbp,%rax), %eax
	cmpb	$46, %al
	jne	.L4
	movl	-200068(%rbp), %eax
	cltq
	movzbl	-200016(%rbp,%rax), %eax
	cmpb	$46, %al
	jne	.L4
	movl	-200068(%rbp), %eax
	addl	$1, %eax
	cltq
	movzbl	-200016(%rbp,%rax), %eax
	cmpb	$46, %al
	jne	.L4
	movl	$2, -200072(%rbp)
.L4:
	addl	$1, -200068(%rbp)
.L3:
	movl	-200068(%rbp), %eax
	movslq	%eax, %rdx
	movq	-200032(%rbp), %rax
	cmpq	%rax, %rdx
	jl	.L5
	jmp	.L6
.L2:
	movl	$2, -200072(%rbp)
.L6:
	movq	-200032(%rbp), %rdx
	movq	-200040(%rbp), %rax
	cmpq	%rax, %rdx
	jle	.L7
	movq	-200056(%rbp), %rax
	movl	%eax, -200064(%rbp)
	jmp	.L8
.L10:
	movl	-200064(%rbp), %eax
	cltq
	movzbl	-200016(%rbp,%rax), %eax
	cmpb	$35, %al
	jne	.L9
	movl	-200064(%rbp), %eax
	addl	$1, %eax
	cltq
	movzbl	-200016(%rbp,%rax), %eax
	cmpb	$35, %al
	jne	.L9
	movl	$1, -200072(%rbp)
.L9:
	addl	$1, -200064(%rbp)
.L8:
	movl	-200064(%rbp), %eax
	movslq	%eax, %rdx
	movq	-200032(%rbp), %rax
	cmpq	%rax, %rdx
	jl	.L10
	jmp	.L11
.L7:
	movq	-200056(%rbp), %rax
	movl	%eax, -200060(%rbp)
	jmp	.L12
.L14:
	movl	-200060(%rbp), %eax
	cltq
	movzbl	-200016(%rbp,%rax), %eax
	cmpb	$35, %al
	jne	.L13
	movl	-200060(%rbp), %eax
	addl	$1, %eax
	cltq
	movzbl	-200016(%rbp,%rax), %eax
	cmpb	$35, %al
	jne	.L13
	movl	$1, -200072(%rbp)
.L13:
	addl	$1, -200060(%rbp)
.L12:
	movl	-200060(%rbp), %eax
	movslq	%eax, %rdx
	movq	-200040(%rbp), %rax
	cmpq	%rax, %rdx
	jl	.L14
.L11:
	cmpl	$2, -200072(%rbp)
	jne	.L15
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	jmp	.L16
.L15:
	leaq	.LC3(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
.L16:
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L18
	call	__stack_chk_fail@PLT
.L18:
	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:
