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)
{
	char road[150];
	int str;
	int i;
	char aka;
	
	while (scanf("%s", road)){
		if (road[0] == '#'){
			break;
		}
		str = strlen(road);
		
		aka = 'A';
		for (i = 0; i < str; i++){
			switch (aka){
			  case 'A':
			  	if (road[i] == '0'){
					aka = 'X';
			  	}
				else {
					aka = 'Y';
				}
				break;
				
			  case 'X':
			  	if (road[i] == '0'){
					aka = 0;
			  	}
				else {
					aka = 'Z';
				}
				break;
				
			  case 'Y':
			  	if (road[i] == '0'){
					aka = 'X';
			  	}
				else {
					aka = 0;
				}
				break;
				
			  case 'Z':
			  	if (road[i] == '0'){
					aka = 'W';
			  	}
				else {
					aka = 'B';
				}
				break;
				
			  case 'W':
			  	if (road[i] == '0'){
					aka = 'B';
			  	}
				else {
					aka = 'Y';
				}
				break;
				
			  case 'B':
			  	if (road[i] == '0'){
					aka = 'Y';
			  	}
				else {
					aka = 'X';
				}
				break;
				
			  default:
			  	i = str;
				break;
			}
		}
		
		if (aka == 'B'){
			printf("Yes\n");
		}
		else {
			printf("No\n");
		}
	}
	
	return (0);
}```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%s"
.LC1:
	.string	"No"
.LC2:
	.string	"Yes"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB35:
	.cfi_startproc
	endbr64
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	leaq	.LC2(%rip), %r13
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	leaq	.LC1(%rip), %r12
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	leaq	.LC0(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	subq	$160, %rsp
	.cfi_def_cfa_offset 208
	movq	%fs:40, %rax
	movq	%rax, 152(%rsp)
	xorl	%eax, %eax
	movq	%rsp, %rbx
	.p2align 4,,10
	.p2align 3
.L2:
	xorl	%eax, %eax
	movq	%rbx, %rsi
	movq	%rbp, %rdi
	call	__isoc99_scanf@PLT
	testl	%eax, %eax
	je	.L3
	movzbl	(%rsp), %r14d
	cmpb	$35, %r14b
	je	.L3
	movq	%rbx, %rdi
	call	strlen@PLT
	movq	%rax, %rcx
	movl	%eax, %edi
	testq	%rax, %rax
	je	.L4
	cmpb	$48, %r14b
	je	.L30
	movl	$2, %edx
	movl	$1, %eax
	cmpl	$1, %ecx
	je	.L4
.L7:
	cltq
	cmpb	$48, (%rsp,%rax)
	je	.L31
.L4:
	movq	%r12, %rdi
	call	puts@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L31:
	cmpl	%edx, %ecx
	jle	.L4
.L13:
	movslq	%edx, %rax
	cmpb	$48, (%rsp,%rax)
	je	.L4
	leal	1(%rdx), %esi
	cmpl	%esi, %edi
	jle	.L4
	movslq	%esi, %rsi
	leal	2(%rdx), %eax
	cmpb	$48, (%rsp,%rsi)
	je	.L32
	cmpl	%edi, %eax
	jge	.L11
.L14:
	movslq	%eax, %rsi
	leal	1(%rax), %edx
	cmpb	$48, (%rsp,%rsi)
	je	.L33
	cmpl	%edx, %edi
	jg	.L13
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L30:
	movl	$1, %edx
	cmpl	$1, %eax
	jne	.L13
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L33:
	cmpl	%edx, %ecx
	jle	.L4
	leal	2(%rax), %esi
	movl	%edx, %eax
	movl	%esi, %edx
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L32:
	cmpl	%edi, %eax
	jge	.L4
	movslq	%eax, %rsi
	leal	3(%rdx), %eax
	cmpb	$48, (%rsp,%rsi)
	je	.L34
	cmpl	%eax, %ecx
	jle	.L4
	addl	$4, %edx
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L34:
	cmpl	%eax, %edi
	jg	.L14
.L11:
	movq	%r13, %rdi
	call	puts@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L3:
	movq	152(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L35
	addq	$160, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%rbp
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r13
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	ret
.L35:
	.cfi_restore_state
	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	"%s"
.LC1:
	.string	"No"
.LC2:
	.string	"Yes"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB35:
	.cfi_startproc
	endbr64
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	leaq	.LC2(%rip), %r13
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	leaq	.LC1(%rip), %r12
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	leaq	.LC0(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	subq	$160, %rsp
	.cfi_def_cfa_offset 208
	movq	%fs:40, %rax
	movq	%rax, 152(%rsp)
	xorl	%eax, %eax
	movq	%rsp, %rbx
	.p2align 4,,10
	.p2align 3
.L2:
	xorl	%eax, %eax
	movq	%rbx, %rsi
	movq	%rbp, %rdi
	call	__isoc99_scanf@PLT
	testl	%eax, %eax
	je	.L3
	movzbl	(%rsp), %r14d
	cmpb	$35, %r14b
	je	.L3
	movq	%rbx, %rdi
	call	strlen@PLT
	movq	%rax, %rcx
	movl	%eax, %edi
	testq	%rax, %rax
	je	.L4
	cmpb	$48, %r14b
	je	.L30
	movl	$2, %edx
	movl	$1, %eax
	cmpl	$1, %ecx
	je	.L4
.L7:
	cltq
	cmpb	$48, (%rsp,%rax)
	je	.L31
.L4:
	movq	%r12, %rdi
	call	puts@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L31:
	cmpl	%edx, %ecx
	jle	.L4
.L13:
	movslq	%edx, %rax
	cmpb	$48, (%rsp,%rax)
	je	.L4
	leal	1(%rdx), %esi
	cmpl	%esi, %edi
	jle	.L4
	movslq	%esi, %rsi
	leal	2(%rdx), %eax
	cmpb	$48, (%rsp,%rsi)
	je	.L32
	cmpl	%edi, %eax
	jge	.L11
.L14:
	movslq	%eax, %rsi
	leal	1(%rax), %edx
	cmpb	$48, (%rsp,%rsi)
	je	.L33
	cmpl	%edx, %edi
	jg	.L13
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L30:
	movl	$1, %edx
	cmpl	$1, %eax
	jne	.L13
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L33:
	cmpl	%edx, %ecx
	jle	.L4
	leal	2(%rax), %esi
	movl	%edx, %eax
	movl	%esi, %edx
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L32:
	cmpl	%edi, %eax
	jge	.L4
	movslq	%eax, %rsi
	leal	3(%rdx), %eax
	cmpb	$48, (%rsp,%rsi)
	je	.L34
	cmpl	%eax, %ecx
	jle	.L4
	addl	$4, %edx
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L34:
	cmpl	%eax, %edi
	jg	.L14
.L11:
	movq	%r13, %rdi
	call	puts@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L3:
	movq	152(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L35
	addq	$160, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%rbp
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r13
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	ret
.L35:
	.cfi_restore_state
	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	"%s"
.LC1:
	.string	"No"
.LC2:
	.string	"Yes"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB35:
	.cfi_startproc
	endbr64
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	leaq	.LC2(%rip), %r13
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	leaq	.LC1(%rip), %r12
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	leaq	.LC0(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	subq	$160, %rsp
	.cfi_def_cfa_offset 208
	movq	%fs:40, %rax
	movq	%rax, 152(%rsp)
	xorl	%eax, %eax
	movq	%rsp, %rbx
	.p2align 4,,10
	.p2align 3
.L2:
	xorl	%eax, %eax
	movq	%rbx, %rsi
	movq	%rbp, %rdi
	call	__isoc99_scanf@PLT
	testl	%eax, %eax
	je	.L3
	movzbl	(%rsp), %r14d
	cmpb	$35, %r14b
	je	.L3
	movq	%rbx, %rdi
	call	strlen@PLT
	movq	%rax, %rcx
	movl	%eax, %edi
	testq	%rax, %rax
	je	.L4
	cmpb	$48, %r14b
	je	.L30
	movl	$2, %edx
	movl	$1, %eax
	cmpl	$1, %ecx
	je	.L4
.L7:
	cltq
	cmpb	$48, (%rsp,%rax)
	je	.L31
.L4:
	movq	%r12, %rdi
	call	puts@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L31:
	cmpl	%edx, %ecx
	jle	.L4
.L13:
	movslq	%edx, %rax
	cmpb	$48, (%rsp,%rax)
	je	.L4
	leal	1(%rdx), %esi
	cmpl	%esi, %edi
	jle	.L4
	movslq	%esi, %rsi
	leal	2(%rdx), %eax
	cmpb	$48, (%rsp,%rsi)
	je	.L32
	cmpl	%edi, %eax
	jge	.L11
.L14:
	movslq	%eax, %rsi
	leal	1(%rax), %edx
	cmpb	$48, (%rsp,%rsi)
	je	.L33
	cmpl	%edx, %edi
	jg	.L13
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L30:
	movl	$1, %edx
	cmpl	$1, %eax
	jne	.L13
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L33:
	cmpl	%edx, %ecx
	jle	.L4
	leal	2(%rax), %esi
	movl	%edx, %eax
	movl	%esi, %edx
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L32:
	cmpl	%edi, %eax
	jge	.L4
	movslq	%eax, %rsi
	leal	3(%rdx), %eax
	cmpb	$48, (%rsp,%rsi)
	je	.L34
	cmpl	%eax, %ecx
	jle	.L4
	addl	$4, %edx
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L34:
	cmpl	%eax, %edi
	jg	.L14
.L11:
	movq	%r13, %rdi
	call	puts@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L3:
	movq	152(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L35
	addq	$160, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%rbp
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r13
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	ret
.L35:
	.cfi_restore_state
	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)
{
	char road[150];
	int str;
	int i;
	char aka;
	
	while (scanf("%s", road)){
		if (road[0] == '#'){
			break;
		}
		str = strlen(road);
		
		aka = 'A';
		for (i = 0; i < str; i++){
			switch (aka){
			  case 'A':
			  	if (road[i] == '0'){
					aka = 'X';
			  	}
				else {
					aka = 'Y';
				}
				break;
				
			  case 'X':
			  	if (road[i] == '0'){
					aka = 0;
			  	}
				else {
					aka = 'Z';
				}
				break;
				
			  case 'Y':
			  	if (road[i] == '0'){
					aka = 'X';
			  	}
				else {
					aka = 0;
				}
				break;
				
			  case 'Z':
			  	if (road[i] == '0'){
					aka = 'W';
			  	}
				else {
					aka = 'B';
				}
				break;
				
			  case 'W':
			  	if (road[i] == '0'){
					aka = 'B';
			  	}
				else {
					aka = 'Y';
				}
				break;
				
			  case 'B':
			  	if (road[i] == '0'){
					aka = 'Y';
			  	}
				else {
					aka = 'X';
				}
				break;
				
			  default:
			  	i = str;
				break;
			}
		}
		
		if (aka == 'B'){
			printf("Yes\n");
		}
		else {
			printf("No\n");
		}
	}
	
	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)
{
	char road[150];
	int str;
	int i;
	char aka;
	
	while (scanf("%s", road)){
		if (road[0] == '#'){
			break;
		}
		str = strlen(road);
		
		aka = 'A';
		for (i = 0; i < str; i++){
			switch (aka){
			  case 'A':
			  	if (road[i] == '0'){
					aka = 'X';
			  	}
				else {
					aka = 'Y';
				}
				break;
				
			  case 'X':
			  	if (road[i] == '0'){
					aka = 0;
			  	}
				else {
					aka = 'Z';
				}
				break;
				
			  case 'Y':
			  	if (road[i] == '0'){
					aka = 'X';
			  	}
				else {
					aka = 0;
				}
				break;
				
			  case 'Z':
			  	if (road[i] == '0'){
					aka = 'W';
			  	}
				else {
					aka = 'B';
				}
				break;
				
			  case 'W':
			  	if (road[i] == '0'){
					aka = 'B';
			  	}
				else {
					aka = 'Y';
				}
				break;
				
			  case 'B':
			  	if (road[i] == '0'){
					aka = 'Y';
			  	}
				else {
					aka = 'X';
				}
				break;
				
			  default:
			  	i = str;
				break;
			}
		}
		
		if (aka == 'B'){
			printf("Yes\n");
		}
		else {
			printf("No\n");
		}
	}
	
	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:

0100
0101
10100
01000
0101011
0011
011110
#
 0100
1101
10100
11000
0001011
0011
011110
#
 0100
1101
10000
10000
0001011
0011
011110
#
 0100
0101
10100
10001
0011011
1011
011110
#
 0100
0100
10100
10001
0011011
1001
011110
#
 0100
1101
10100
10000
0001011
0011
011111
#
 0100
0101
10101
10011
0011011
1011
011110
#
 0100
0100
10110
10011
0011011
1101
011110
#
 0100
0100
10100
10011
0011011
1101
011111
#
 0100
1101
10110
11000
0101011
0011
011110
#

Yes
No
Yes
No
Yes
No
No
 Yes
No
Yes
No
No
No
No
 Yes
No
No
No
No
No
No
 Yes
No
Yes
No
No
Yes
No
 Yes
Yes
Yes
No
No
No
No
 Yes
No
Yes
No
No
No
Yes
 Yes
No
No
No
No
Yes
No
 Yes
Yes
No
No
No
No
No
 Yes
Yes
Yes
No
No
No
Yes
 Yes
No
No
No
Yes
No
No

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)
{
	char road[150];
	int str;
	int i;
	char aka;
	
	while (scanf("%s", road)){
		if (road[0] == '#'){
			break;
		}
		str = strlen(road);
		
		aka = 'A';
		for (i = 0; i < str; i++){
			switch (aka){
			  case 'A':
			  	if (road[i] == '0'){
					aka = 'X';
			  	}
				else {
					aka = 'Y';
				}
				break;
				
			  case 'X':
			  	if (road[i] == '0'){
					aka = 0;
			  	}
				else {
					aka = 'Z';
				}
				break;
				
			  case 'Y':
			  	if (road[i] == '0'){
					aka = 'X';
			  	}
				else {
					aka = 0;
				}
				break;
				
			  case 'Z':
			  	if (road[i] == '0'){
					aka = 'W';
			  	}
				else {
					aka = 'B';
				}
				break;
				
			  case 'W':
			  	if (road[i] == '0'){
					aka = 'B';
			  	}
				else {
					aka = 'Y';
				}
				break;
				
			  case 'B':
			  	if (road[i] == '0'){
					aka = 'Y';
			  	}
				else {
					aka = 'X';
				}
				break;
				
			  default:
			  	i = str;
				break;
			}
		}
		
		if (aka == 'B'){
			printf("Yes\n");
		}
		else {
			printf("No\n");
		}
	}
	
	return (0);
}```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%s"
.LC1:
	.string	"No"
.LC2:
	.string	"Yes"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB35:
	.cfi_startproc
	endbr64
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	leaq	.LC2(%rip), %r13
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	leaq	.LC1(%rip), %r12
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	leaq	.LC0(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	subq	$160, %rsp
	.cfi_def_cfa_offset 208
	movq	%fs:40, %rax
	movq	%rax, 152(%rsp)
	xorl	%eax, %eax
	movq	%rsp, %rbx
	.p2align 4,,10
	.p2align 3
.L2:
	xorl	%eax, %eax
	movq	%rbx, %rsi
	movq	%rbp, %rdi
	call	__isoc99_scanf@PLT
	testl	%eax, %eax
	je	.L3
	movzbl	(%rsp), %r14d
	cmpb	$35, %r14b
	je	.L3
	movq	%rbx, %rdi
	call	strlen@PLT
	movq	%rax, %rcx
	movl	%eax, %edi
	testq	%rax, %rax
	je	.L4
	cmpb	$48, %r14b
	je	.L30
	movl	$2, %edx
	movl	$1, %eax
	cmpl	$1, %ecx
	je	.L4
.L7:
	cltq
	cmpb	$48, (%rsp,%rax)
	je	.L31
.L4:
	movq	%r12, %rdi
	call	puts@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L31:
	cmpl	%edx, %ecx
	jle	.L4
.L13:
	movslq	%edx, %rax
	cmpb	$48, (%rsp,%rax)
	je	.L4
	leal	1(%rdx), %esi
	cmpl	%esi, %edi
	jle	.L4
	movslq	%esi, %rsi
	leal	2(%rdx), %eax
	cmpb	$48, (%rsp,%rsi)
	je	.L32
	cmpl	%edi, %eax
	jge	.L11
.L14:
	movslq	%eax, %rsi
	leal	1(%rax), %edx
	cmpb	$48, (%rsp,%rsi)
	je	.L33
	cmpl	%edx, %edi
	jg	.L13
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L30:
	movl	$1, %edx
	cmpl	$1, %eax
	jne	.L13
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L33:
	cmpl	%edx, %ecx
	jle	.L4
	leal	2(%rax), %esi
	movl	%edx, %eax
	movl	%esi, %edx
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L32:
	cmpl	%edi, %eax
	jge	.L4
	movslq	%eax, %rsi
	leal	3(%rdx), %eax
	cmpb	$48, (%rsp,%rsi)
	je	.L34
	cmpl	%eax, %ecx
	jle	.L4
	addl	$4, %edx
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L34:
	cmpl	%eax, %edi
	jg	.L14
.L11:
	movq	%r13, %rdi
	call	puts@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L3:
	movq	152(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L35
	addq	$160, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%rbp
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r13
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	ret
.L35:
	.cfi_restore_state
	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	"%s"
.LC1:
	.string	"No"
.LC2:
	.string	"Yes"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB35:
	.cfi_startproc
	endbr64
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	leaq	.LC2(%rip), %r13
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	leaq	.LC1(%rip), %r12
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	leaq	.LC0(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	subq	$160, %rsp
	.cfi_def_cfa_offset 208
	movq	%fs:40, %rax
	movq	%rax, 152(%rsp)
	xorl	%eax, %eax
	movq	%rsp, %rbx
	.p2align 4,,10
	.p2align 3
.L2:
	xorl	%eax, %eax
	movq	%rbx, %rsi
	movq	%rbp, %rdi
	call	__isoc99_scanf@PLT
	testl	%eax, %eax
	je	.L3
	movzbl	(%rsp), %r14d
	cmpb	$35, %r14b
	je	.L3
	movq	%rbx, %rdi
	call	strlen@PLT
	movq	%rax, %rcx
	movl	%eax, %edi
	testq	%rax, %rax
	je	.L4
	cmpb	$48, %r14b
	je	.L30
	movl	$2, %edx
	movl	$1, %eax
	cmpl	$1, %ecx
	je	.L4
.L7:
	cltq
	cmpb	$48, (%rsp,%rax)
	je	.L31
.L4:
	movq	%r12, %rdi
	call	puts@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L31:
	cmpl	%edx, %ecx
	jle	.L4
.L13:
	movslq	%edx, %rax
	cmpb	$48, (%rsp,%rax)
	je	.L4
	leal	1(%rdx), %esi
	cmpl	%esi, %edi
	jle	.L4
	movslq	%esi, %rsi
	leal	2(%rdx), %eax
	cmpb	$48, (%rsp,%rsi)
	je	.L32
	cmpl	%edi, %eax
	jge	.L11
.L14:
	movslq	%eax, %rsi
	leal	1(%rax), %edx
	cmpb	$48, (%rsp,%rsi)
	je	.L33
	cmpl	%edx, %edi
	jg	.L13
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L30:
	movl	$1, %edx
	cmpl	$1, %eax
	jne	.L13
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L33:
	cmpl	%edx, %ecx
	jle	.L4
	leal	2(%rax), %esi
	movl	%edx, %eax
	movl	%esi, %edx
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L32:
	cmpl	%edi, %eax
	jge	.L4
	movslq	%eax, %rsi
	leal	3(%rdx), %eax
	cmpb	$48, (%rsp,%rsi)
	je	.L34
	cmpl	%eax, %ecx
	jle	.L4
	addl	$4, %edx
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L34:
	cmpl	%eax, %edi
	jg	.L14
.L11:
	movq	%r13, %rdi
	call	puts@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L3:
	movq	152(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L35
	addq	$160, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%rbp
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r13
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	ret
.L35:
	.cfi_restore_state
	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:
```