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

```c
#define _CRT_SECURE_NO_WARNINGS
//#define _USE_MATH_DEFINES
#include<stdio.h>
//#include<stdlib.h>
//#include<math.h>
//#include<string.h>
//#include<time.h>
//#include<ctype.h>
//#define pi acos(-1.0)
#define P(type,x) fprintf(stdout,"%"#type"\n",x)
#define S(type,x) fscanf(stdin,"%"#type,&x)
//#define MAX(a,b) a>b?a:b
//#define MIN(a,b) a<b?a:b
char c[12] = "w kstnhmyr";
char v[6] = "aiueo";
int main() {
	char s[1001];
	S(s, s);
	int i;
	for (i = 0; s[i]; i += 2) {
		int a = s[i + 1] == 'T' ? 0 : s[i + 1] == 'L' ? 1 : s[i + 1] == 'U' ? 2 : s[i + 1] == 'R' ? 3 : 4;
		if (s[i] == '0'&&s[i+1] == 'U') printf("nn");
		else if (s[i]=='1') printf("%c", v[a]);
		else {
			printf("%c%c", c[s[i] - '0'], v[a]);
		}
	}
	puts("");
	return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	c
	.data
	.align 8
	.type	c, @object
	.size	c, 12
c:
	.string	"w kstnhmyr"
	.zero	1
	.globl	v
	.type	v, @object
	.size	v, 6
v:
	.string	"aiueo"
	.section	.rodata
.LC0:
	.string	"%s"
.LC1:
	.string	"nn"
.LC2:
	.string	"%c%c"
.LC3:
	.string	""
	.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	$1040, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movq	stdin(%rip), %rax
	leaq	-1024(%rbp), %rdx
	leaq	.LC0(%rip), %rcx
	movq	%rcx, %rsi
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_fscanf@PLT
	movl	$0, -1032(%rbp)
	jmp	.L2
.L14:
	movl	-1032(%rbp), %eax
	addl	$1, %eax
	cltq
	movzbl	-1024(%rbp,%rax), %eax
	cmpb	$84, %al
	je	.L3
	movl	-1032(%rbp), %eax
	addl	$1, %eax
	cltq
	movzbl	-1024(%rbp,%rax), %eax
	cmpb	$76, %al
	je	.L4
	movl	-1032(%rbp), %eax
	addl	$1, %eax
	cltq
	movzbl	-1024(%rbp,%rax), %eax
	cmpb	$85, %al
	je	.L5
	movl	-1032(%rbp), %eax
	addl	$1, %eax
	cltq
	movzbl	-1024(%rbp,%rax), %eax
	cmpb	$82, %al
	jne	.L6
	movl	$3, %eax
	jmp	.L10
.L6:
	movl	$4, %eax
	jmp	.L10
.L5:
	movl	$2, %eax
	jmp	.L10
.L4:
	movl	$1, %eax
	jmp	.L10
.L3:
	movl	$0, %eax
.L10:
	movl	%eax, -1028(%rbp)
	movl	-1032(%rbp), %eax
	cltq
	movzbl	-1024(%rbp,%rax), %eax
	cmpb	$48, %al
	jne	.L11
	movl	-1032(%rbp), %eax
	addl	$1, %eax
	cltq
	movzbl	-1024(%rbp,%rax), %eax
	cmpb	$85, %al
	jne	.L11
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	jmp	.L12
.L11:
	movl	-1032(%rbp), %eax
	cltq
	movzbl	-1024(%rbp,%rax), %eax
	cmpb	$49, %al
	jne	.L13
	movl	-1028(%rbp), %eax
	cltq
	leaq	v(%rip), %rdx
	movzbl	(%rax,%rdx), %eax
	movsbl	%al, %eax
	movl	%eax, %edi
	call	putchar@PLT
	jmp	.L12
.L13:
	movl	-1028(%rbp), %eax
	cltq
	leaq	v(%rip), %rdx
	movzbl	(%rax,%rdx), %eax
	movsbl	%al, %edx
	movl	-1032(%rbp), %eax
	cltq
	movzbl	-1024(%rbp,%rax), %eax
	movsbl	%al, %eax
	subl	$48, %eax
	cltq
	leaq	c(%rip), %rcx
	movzbl	(%rax,%rcx), %eax
	movsbl	%al, %eax
	movl	%eax, %esi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
.L12:
	addl	$2, -1032(%rbp)
.L2:
	movl	-1032(%rbp), %eax
	cltq
	movzbl	-1024(%rbp,%rax), %eax
	testb	%al, %al
	jne	.L14
	leaq	.LC3(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L16
	call	__stack_chk_fail@PLT
.L16:
	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	"%s"
.LC1:
	.string	""
.LC2:
	.string	"nn"
.LC3:
	.string	"%c%c"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	leaq	.LC0(%rip), %rsi
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	leaq	CSWTCH.7(%rip), %r13
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	leaq	c(%rip), %r12
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	leaq	.LC3(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	leaq	v(%rip), %rbx
	subq	$1024, %rsp
	.cfi_def_cfa_offset 1072
	movq	stdin(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 1016(%rsp)
	xorl	%eax, %eax
	movq	%rsp, %rdx
	leaq	1(%rsp), %r14
	call	__isoc99_fscanf@PLT
	movsbl	(%rsp), %eax
	testb	%al, %al
	jne	.L6
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L25:
	leal	-76(%rcx), %edx
	cmpb	$9, %dl
	ja	.L10
	movzbl	%dl, %edx
	movslq	0(%r13,%rdx,4), %rdx
	cmpb	$48, %al
	jne	.L3
	cmpb	$85, %cl
	je	.L23
.L3:
	movsbl	(%rbx,%rdx), %ecx
	cmpb	$49, %al
	je	.L24
.L5:
	subl	$48, %eax
	movq	%rbp, %rsi
	movl	$1, %edi
	cltq
	movsbl	(%r12,%rax), %edx
	xorl	%eax, %eax
	call	__printf_chk@PLT
.L4:
	movsbl	1(%r14), %eax
	addq	$2, %r14
	testb	%al, %al
	je	.L7
.L6:
	movzbl	(%r14), %ecx
	cmpb	$84, %cl
	jne	.L25
	xorl	%edx, %edx
	movsbl	(%rbx,%rdx), %ecx
	cmpb	$49, %al
	jne	.L5
.L24:
	movl	%ecx, %edi
	addq	$2, %r14
	call	putchar@PLT
	movsbl	-1(%r14), %eax
	testb	%al, %al
	jne	.L6
.L7:
	leaq	.LC1(%rip), %rdi
	call	puts@PLT
	movq	1016(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L26
	addq	$1024, %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
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	movl	$4, %edx
	jmp	.L3
.L23:
	leaq	.LC2(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L4
.L26:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.section	.rodata
	.align 32
	.type	CSWTCH.7, @object
	.size	CSWTCH.7, 40
CSWTCH.7:
	.long	1
	.long	4
	.long	4
	.long	4
	.long	4
	.long	4
	.long	3
	.long	4
	.long	4
	.long	2
	.globl	v
	.data
	.type	v, @object
	.size	v, 6
v:
	.string	"aiueo"
	.globl	c
	.align 8
	.type	c, @object
	.size	c, 12
c:
	.string	"w kstnhmyr"
	.zero	1
	.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	"%s"
.LC1:
	.string	""
.LC2:
	.string	"nn"
.LC3:
	.string	"%c%c"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	leaq	.LC0(%rip), %rsi
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	leaq	CSWTCH.7(%rip), %r13
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	leaq	c(%rip), %r12
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	leaq	.LC3(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	leaq	v(%rip), %rbx
	subq	$1024, %rsp
	.cfi_def_cfa_offset 1072
	movq	stdin(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 1016(%rsp)
	xorl	%eax, %eax
	movq	%rsp, %rdx
	leaq	1(%rsp), %r14
	call	__isoc99_fscanf@PLT
	movsbl	(%rsp), %eax
	testb	%al, %al
	jne	.L6
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L25:
	leal	-76(%rcx), %edx
	cmpb	$9, %dl
	ja	.L10
	movzbl	%dl, %edx
	movslq	0(%r13,%rdx,4), %rdx
	cmpb	$48, %al
	jne	.L3
	cmpb	$85, %cl
	je	.L23
.L3:
	movsbl	(%rbx,%rdx), %ecx
	cmpb	$49, %al
	je	.L24
.L5:
	subl	$48, %eax
	movq	%rbp, %rsi
	movl	$1, %edi
	cltq
	movsbl	(%r12,%rax), %edx
	xorl	%eax, %eax
	call	__printf_chk@PLT
.L4:
	movsbl	1(%r14), %eax
	addq	$2, %r14
	testb	%al, %al
	je	.L7
.L6:
	movzbl	(%r14), %ecx
	cmpb	$84, %cl
	jne	.L25
	xorl	%edx, %edx
	movsbl	(%rbx,%rdx), %ecx
	cmpb	$49, %al
	jne	.L5
.L24:
	movl	%ecx, %edi
	addq	$2, %r14
	call	putchar@PLT
	movsbl	-1(%r14), %eax
	testb	%al, %al
	jne	.L6
.L7:
	leaq	.LC1(%rip), %rdi
	call	puts@PLT
	movq	1016(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L26
	addq	$1024, %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
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	movl	$4, %edx
	jmp	.L3
.L23:
	leaq	.LC2(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L4
.L26:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.section	.rodata
	.align 32
	.type	CSWTCH.7, @object
	.size	CSWTCH.7, 40
CSWTCH.7:
	.long	1
	.long	4
	.long	4
	.long	4
	.long	4
	.long	4
	.long	3
	.long	4
	.long	4
	.long	2
	.globl	v
	.data
	.type	v, @object
	.size	v, 6
v:
	.string	"aiueo"
	.globl	c
	.align 8
	.type	c, @object
	.size	c, 12
c:
	.string	"w kstnhmyr"
	.zero	1
	.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:

#define _CRT_SECURE_NO_WARNINGS
//#define _USE_MATH_DEFINES
#include<stdio.h>
//#include<stdlib.h>
//#include<math.h>
//#include<string.h>
//#include<time.h>
//#include<ctype.h>
//#define pi acos(-1.0)
#define P(type,x) fprintf(stdout,"%"#type"\n",x)
#define S(type,x) fscanf(stdin,"%"#type,&x)
//#define MAX(a,b) a>b?a:b
//#define MIN(a,b) a<b?a:b
char c[12] = "w kstnhmyr";
char v[6] = "aiueo";
int main() {
	char s[1001];
	S(s, s);
	int i;
	for (i = 0; s[i]; i += 2) {
		int a = s[i + 1] == 'T' ? 0 : s[i + 1] == 'L' ? 1 : s[i + 1] == 'U' ? 2 : s[i + 1] == 'R' ? 3 : 4;
		if (s[i] == '0'&&s[i+1] == 'U') printf("nn");
		else if (s[i]=='1') printf("%c", v[a]);
		else {
			printf("%c%c", c[s[i] - '0'], v[a]);
		}
	}
	puts("");
	return 0;
}
5R3D
 5D2R
 5T2D
 5D3R
 5U2D
 4D2R
 6T2D
 3R5D
 4R2D
 6D2T

neso
 noke
 nako
 nose
 nuko
 toke
 hako
 seno
 teko
 hoka

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

```c
#define _CRT_SECURE_NO_WARNINGS
//#define _USE_MATH_DEFINES
#include<stdio.h>
//#include<stdlib.h>
//#include<math.h>
//#include<string.h>
//#include<time.h>
//#include<ctype.h>
//#define pi acos(-1.0)
#define P(type,x) fprintf(stdout,"%"#type"\n",x)
#define S(type,x) fscanf(stdin,"%"#type,&x)
//#define MAX(a,b) a>b?a:b
//#define MIN(a,b) a<b?a:b
char c[12] = "w kstnhmyr";
char v[6] = "aiueo";
int main() {
	char s[1001];
	S(s, s);
	int i;
	for (i = 0; s[i]; i += 2) {
		int a = s[i + 1] == 'T' ? 0 : s[i + 1] == 'L' ? 1 : s[i + 1] == 'U' ? 2 : s[i + 1] == 'R' ? 3 : 4;
		if (s[i] == '0'&&s[i+1] == 'U') printf("nn");
		else if (s[i]=='1') printf("%c", v[a]);
		else {
			printf("%c%c", c[s[i] - '0'], v[a]);
		}
	}
	puts("");
	return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	c
	.data
	.align 8
	.type	c, @object
	.size	c, 12
c:
	.string	"w kstnhmyr"
	.zero	1
	.globl	v
	.type	v, @object
	.size	v, 6
v:
	.string	"aiueo"
	.section	.rodata
.LC0:
	.string	"%s"
.LC1:
	.string	"nn"
.LC2:
	.string	"%c%c"
.LC3:
	.string	""
	.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	$1040, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movq	stdin(%rip), %rax
	leaq	-1024(%rbp), %rdx
	leaq	.LC0(%rip), %rcx
	movq	%rcx, %rsi
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_fscanf@PLT
	movl	$0, -1032(%rbp)
	jmp	.L2
.L14:
	movl	-1032(%rbp), %eax
	addl	$1, %eax
	cltq
	movzbl	-1024(%rbp,%rax), %eax
	cmpb	$84, %al
	je	.L3
	movl	-1032(%rbp), %eax
	addl	$1, %eax
	cltq
	movzbl	-1024(%rbp,%rax), %eax
	cmpb	$76, %al
	je	.L4
	movl	-1032(%rbp), %eax
	addl	$1, %eax
	cltq
	movzbl	-1024(%rbp,%rax), %eax
	cmpb	$85, %al
	je	.L5
	movl	-1032(%rbp), %eax
	addl	$1, %eax
	cltq
	movzbl	-1024(%rbp,%rax), %eax
	cmpb	$82, %al
	jne	.L6
	movl	$3, %eax
	jmp	.L10
.L6:
	movl	$4, %eax
	jmp	.L10
.L5:
	movl	$2, %eax
	jmp	.L10
.L4:
	movl	$1, %eax
	jmp	.L10
.L3:
	movl	$0, %eax
.L10:
	movl	%eax, -1028(%rbp)
	movl	-1032(%rbp), %eax
	cltq
	movzbl	-1024(%rbp,%rax), %eax
	cmpb	$48, %al
	jne	.L11
	movl	-1032(%rbp), %eax
	addl	$1, %eax
	cltq
	movzbl	-1024(%rbp,%rax), %eax
	cmpb	$85, %al
	jne	.L11
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	jmp	.L12
.L11:
	movl	-1032(%rbp), %eax
	cltq
	movzbl	-1024(%rbp,%rax), %eax
	cmpb	$49, %al
	jne	.L13
	movl	-1028(%rbp), %eax
	cltq
	leaq	v(%rip), %rdx
	movzbl	(%rax,%rdx), %eax
	movsbl	%al, %eax
	movl	%eax, %edi
	call	putchar@PLT
	jmp	.L12
.L13:
	movl	-1028(%rbp), %eax
	cltq
	leaq	v(%rip), %rdx
	movzbl	(%rax,%rdx), %eax
	movsbl	%al, %edx
	movl	-1032(%rbp), %eax
	cltq
	movzbl	-1024(%rbp,%rax), %eax
	movsbl	%al, %eax
	subl	$48, %eax
	cltq
	leaq	c(%rip), %rcx
	movzbl	(%rax,%rcx), %eax
	movsbl	%al, %eax
	movl	%eax, %esi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
.L12:
	addl	$2, -1032(%rbp)
.L2:
	movl	-1032(%rbp), %eax
	cltq
	movzbl	-1024(%rbp,%rax), %eax
	testb	%al, %al
	jne	.L14
	leaq	.LC3(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L16
	call	__stack_chk_fail@PLT
.L16:
	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
	.globl	c
	.data
	.align 8
	.type	c, @object
	.size	c, 12
c:
	.string	"w kstnhmyr"
	.zero	1
	.globl	v
	.type	v, @object
	.size	v, 6
v:
	.string	"aiueo"
	.section	.rodata
.LC0:
	.string	"%s"
.LC1:
	.string	"nn"
.LC2:
	.string	"%c%c"
.LC3:
	.string	""
	.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	$1040, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movq	stdin(%rip), %rax
	leaq	-1024(%rbp), %rdx
	leaq	.LC0(%rip), %rcx
	movq	%rcx, %rsi
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_fscanf@PLT
	movl	$0, -1032(%rbp)
	jmp	.L2
.L14:
	movl	-1032(%rbp), %eax
	addl	$1, %eax
	cltq
	movzbl	-1024(%rbp,%rax), %eax
	cmpb	$84, %al
	je	.L3
	movl	-1032(%rbp), %eax
	addl	$1, %eax
	cltq
	movzbl	-1024(%rbp,%rax), %eax
	cmpb	$76, %al
	je	.L4
	movl	-1032(%rbp), %eax
	addl	$1, %eax
	cltq
	movzbl	-1024(%rbp,%rax), %eax
	cmpb	$85, %al
	je	.L5
	movl	-1032(%rbp), %eax
	addl	$1, %eax
	cltq
	movzbl	-1024(%rbp,%rax), %eax
	cmpb	$82, %al
	jne	.L6
	movl	$3, %eax
	jmp	.L10
.L6:
	movl	$4, %eax
	jmp	.L10
.L5:
	movl	$2, %eax
	jmp	.L10
.L4:
	movl	$1, %eax
	jmp	.L10
.L3:
	movl	$0, %eax
.L10:
	movl	%eax, -1028(%rbp)
	movl	-1032(%rbp), %eax
	cltq
	movzbl	-1024(%rbp,%rax), %eax
	cmpb	$48, %al
	jne	.L11
	movl	-1032(%rbp), %eax
	addl	$1, %eax
	cltq
	movzbl	-1024(%rbp,%rax), %eax
	cmpb	$85, %al
	jne	.L11
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	jmp	.L12
.L11:
	movl	-1032(%rbp), %eax
	cltq
	movzbl	-1024(%rbp,%rax), %eax
	cmpb	$49, %al
	jne	.L13
	movl	-1028(%rbp), %eax
	cltq
	leaq	v(%rip), %rdx
	movzbl	(%rax,%rdx), %eax
	movsbl	%al, %eax
	movl	%eax, %edi
	call	putchar@PLT
	jmp	.L12
.L13:
	movl	-1028(%rbp), %eax
	cltq
	leaq	v(%rip), %rdx
	movzbl	(%rax,%rdx), %eax
	movsbl	%al, %edx
	movl	-1032(%rbp), %eax
	cltq
	movzbl	-1024(%rbp,%rax), %eax
	movsbl	%al, %eax
	subl	$48, %eax
	cltq
	leaq	c(%rip), %rcx
	movzbl	(%rax,%rcx), %eax
	movsbl	%al, %eax
	movl	%eax, %esi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
.L12:
	addl	$2, -1032(%rbp)
.L2:
	movl	-1032(%rbp), %eax
	cltq
	movzbl	-1024(%rbp,%rax), %eax
	testb	%al, %al
	jne	.L14
	leaq	.LC3(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L16
	call	__stack_chk_fail@PLT
.L16:
	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:
