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>
#include <stdlib.h>


int main(){
	char numbers[3000];
	char x;
	char one[5] = {'.',',','!','?', ' '};
	char two[3] = {'a','b','c'};
	char three[3] = {'d','e','f'};
	char four[3] = {'g','h','i'};
	char five[3] = {'j','k','l'};
	char six[3] = {'m','n','o'};
	char seven[4] = {'p','q','r','s'};
	char eight[3] = {'t', 'u', 'v'};
	char nine[4] = {'w','x','y','z'};
	int n, rem_n, i=0, j=0;
	int counter = 0;
	int cases;
	scanf("%d\n", &cases);

	fgets(numbers, sizeof(numbers), stdin);
	//printf("%s", numbers);
	while(1){
		x = numbers[i++];

		while(x != '\0'){
			n = atoi(&x);
			rem_n = n;
			if(n != 0){
				while(x != '\n'){
					if(n == rem_n){
						counter++;
						//printf("counter+:%d\n",counter);
					}
					else if(x == '0'){
						switch(rem_n){
							case 1: printf("%c", one[(counter-1)%5]);
									break;
							case 2: printf("%c", two[(counter-1)%3]);
									break;
							case 3: printf("%c", three[(counter-1)%3]);
									break;
							case 4: printf("%c", four[(counter-1)%3]);
									break;
							case 5: printf("%c", five[(counter-1)%3]);
									break;
							case 6: printf("%c", six[(counter-1)%3]);
									break;
							case 7: printf("%c", seven[(counter-1)%4]);
									break;
							case 8: printf("%c", eight[(counter-1)%3]);
									break;
							case 9: printf("%c", nine[(counter-1)%4]);
									break;
						}
						counter = 0;
						x = numbers[i++];
						break;
					}
					else{
						counter = 1;					
						break;
					}
					x = numbers[i++];
					n = atoi(&x);					
				}
			}				
			else{
				x = numbers[i++];
			}
		}
		newline:
		printf("\n");
		if(++j >= cases)
			break;
		fgets(numbers, sizeof(numbers), stdin);
		i = 0;
	}
	return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.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
	movl	$1059138606, -3013(%rbp)
	movb	$32, -3009(%rbp)
	movw	$25185, -3039(%rbp)
	movb	$99, -3037(%rbp)
	movw	$25956, -3036(%rbp)
	movb	$102, -3034(%rbp)
	movw	$26727, -3033(%rbp)
	movb	$105, -3031(%rbp)
	movw	$27498, -3030(%rbp)
	movb	$108, -3028(%rbp)
	movw	$28269, -3027(%rbp)
	movb	$111, -3025(%rbp)
	movl	$1936879984, -3021(%rbp)
	movw	$30068, -3024(%rbp)
	movb	$118, -3022(%rbp)
	movl	$2054781047, -3017(%rbp)
	movl	$0, -3056(%rbp)
	movl	$0, -3052(%rbp)
	movl	$0, -3048(%rbp)
	leaq	-3064(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movq	stdin(%rip), %rdx
	leaq	-3008(%rbp), %rax
	movl	$3000, %esi
	movq	%rax, %rdi
	call	fgets@PLT
.L25:
	movl	-3056(%rbp), %eax
	leal	1(%rax), %edx
	movl	%edx, -3056(%rbp)
	cltq
	movzbl	-3008(%rbp,%rax), %eax
	movb	%al, -3065(%rbp)
	jmp	.L2
.L21:
	leaq	-3065(%rbp), %rax
	movq	%rax, %rdi
	call	atoi@PLT
	movl	%eax, -3060(%rbp)
	movl	-3060(%rbp), %eax
	movl	%eax, -3044(%rbp)
	cmpl	$0, -3060(%rbp)
	je	.L3
	jmp	.L4
.L20:
	movl	-3060(%rbp), %eax
	cmpl	-3044(%rbp), %eax
	jne	.L5
	addl	$1, -3048(%rbp)
	jmp	.L28
.L5:
	movzbl	-3065(%rbp), %eax
	cmpb	$48, %al
	jne	.L7
	cmpl	$9, -3044(%rbp)
	ja	.L8
	movl	-3044(%rbp), %eax
	leaq	0(,%rax,4), %rdx
	leaq	.L10(%rip), %rax
	movl	(%rdx,%rax), %eax
	cltq
	leaq	.L10(%rip), %rdx
	addq	%rdx, %rax
	notrack jmp	*%rax
	.section	.rodata
	.align 4
	.align 4
.L10:
	.long	.L8-.L10
	.long	.L18-.L10
	.long	.L17-.L10
	.long	.L16-.L10
	.long	.L15-.L10
	.long	.L14-.L10
	.long	.L13-.L10
	.long	.L12-.L10
	.long	.L11-.L10
	.long	.L9-.L10
	.text
.L18:
	movl	-3048(%rbp), %eax
	leal	-1(%rax), %edx
	movslq	%edx, %rax
	imulq	$1717986919, %rax, %rax
	shrq	$32, %rax
	sarl	%eax
	movl	%edx, %ecx
	sarl	$31, %ecx
	subl	%ecx, %eax
	movl	%eax, %ecx
	sall	$2, %ecx
	addl	%eax, %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	cltq
	movzbl	-3013(%rbp,%rax), %eax
	movsbl	%al, %eax
	movl	%eax, %edi
	call	putchar@PLT
	jmp	.L8
.L17:
	movl	-3048(%rbp), %eax
	leal	-1(%rax), %edx
	movslq	%edx, %rax
	imulq	$1431655766, %rax, %rax
	shrq	$32, %rax
	movl	%edx, %ecx
	sarl	$31, %ecx
	subl	%ecx, %eax
	movl	%eax, %ecx
	addl	%ecx, %ecx
	addl	%eax, %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	cltq
	movzbl	-3039(%rbp,%rax), %eax
	movsbl	%al, %eax
	movl	%eax, %edi
	call	putchar@PLT
	jmp	.L8
.L16:
	movl	-3048(%rbp), %eax
	leal	-1(%rax), %edx
	movslq	%edx, %rax
	imulq	$1431655766, %rax, %rax
	shrq	$32, %rax
	movl	%edx, %ecx
	sarl	$31, %ecx
	subl	%ecx, %eax
	movl	%eax, %ecx
	addl	%ecx, %ecx
	addl	%eax, %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	cltq
	movzbl	-3036(%rbp,%rax), %eax
	movsbl	%al, %eax
	movl	%eax, %edi
	call	putchar@PLT
	jmp	.L8
.L15:
	movl	-3048(%rbp), %eax
	leal	-1(%rax), %edx
	movslq	%edx, %rax
	imulq	$1431655766, %rax, %rax
	shrq	$32, %rax
	movl	%edx, %ecx
	sarl	$31, %ecx
	subl	%ecx, %eax
	movl	%eax, %ecx
	addl	%ecx, %ecx
	addl	%eax, %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	cltq
	movzbl	-3033(%rbp,%rax), %eax
	movsbl	%al, %eax
	movl	%eax, %edi
	call	putchar@PLT
	jmp	.L8
.L14:
	movl	-3048(%rbp), %eax
	leal	-1(%rax), %edx
	movslq	%edx, %rax
	imulq	$1431655766, %rax, %rax
	shrq	$32, %rax
	movl	%edx, %ecx
	sarl	$31, %ecx
	subl	%ecx, %eax
	movl	%eax, %ecx
	addl	%ecx, %ecx
	addl	%eax, %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	cltq
	movzbl	-3030(%rbp,%rax), %eax
	movsbl	%al, %eax
	movl	%eax, %edi
	call	putchar@PLT
	jmp	.L8
.L13:
	movl	-3048(%rbp), %eax
	leal	-1(%rax), %edx
	movslq	%edx, %rax
	imulq	$1431655766, %rax, %rax
	shrq	$32, %rax
	movl	%edx, %ecx
	sarl	$31, %ecx
	subl	%ecx, %eax
	movl	%eax, %ecx
	addl	%ecx, %ecx
	addl	%eax, %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	cltq
	movzbl	-3027(%rbp,%rax), %eax
	movsbl	%al, %eax
	movl	%eax, %edi
	call	putchar@PLT
	jmp	.L8
.L12:
	movl	-3048(%rbp), %eax
	subl	$1, %eax
	cltd
	shrl	$30, %edx
	addl	%edx, %eax
	andl	$3, %eax
	subl	%edx, %eax
	cltq
	movzbl	-3021(%rbp,%rax), %eax
	movsbl	%al, %eax
	movl	%eax, %edi
	call	putchar@PLT
	jmp	.L8
.L11:
	movl	-3048(%rbp), %eax
	leal	-1(%rax), %edx
	movslq	%edx, %rax
	imulq	$1431655766, %rax, %rax
	shrq	$32, %rax
	movl	%edx, %ecx
	sarl	$31, %ecx
	subl	%ecx, %eax
	movl	%eax, %ecx
	addl	%ecx, %ecx
	addl	%eax, %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	cltq
	movzbl	-3024(%rbp,%rax), %eax
	movsbl	%al, %eax
	movl	%eax, %edi
	call	putchar@PLT
	jmp	.L8
.L9:
	movl	-3048(%rbp), %eax
	subl	$1, %eax
	cltd
	shrl	$30, %edx
	addl	%edx, %eax
	andl	$3, %eax
	subl	%edx, %eax
	cltq
	movzbl	-3017(%rbp,%rax), %eax
	movsbl	%al, %eax
	movl	%eax, %edi
	call	putchar@PLT
	nop
.L8:
	movl	$0, -3048(%rbp)
	movl	-3056(%rbp), %eax
	leal	1(%rax), %edx
	movl	%edx, -3056(%rbp)
	cltq
	movzbl	-3008(%rbp,%rax), %eax
	movb	%al, -3065(%rbp)
	jmp	.L2
.L7:
	movl	$1, -3048(%rbp)
	jmp	.L2
.L28:
	movl	-3056(%rbp), %eax
	leal	1(%rax), %edx
	movl	%edx, -3056(%rbp)
	cltq
	movzbl	-3008(%rbp,%rax), %eax
	movb	%al, -3065(%rbp)
	leaq	-3065(%rbp), %rax
	movq	%rax, %rdi
	call	atoi@PLT
	movl	%eax, -3060(%rbp)
.L4:
	movzbl	-3065(%rbp), %eax
	cmpb	$10, %al
	jne	.L20
	jmp	.L2
.L3:
	movl	-3056(%rbp), %eax
	leal	1(%rax), %edx
	movl	%edx, -3056(%rbp)
	cltq
	movzbl	-3008(%rbp,%rax), %eax
	movb	%al, -3065(%rbp)
.L2:
	movzbl	-3065(%rbp), %eax
	testb	%al, %al
	jne	.L21
	nop
.L22:
	movl	$10, %edi
	call	putchar@PLT
	addl	$1, -3052(%rbp)
	movl	-3064(%rbp), %eax
	cmpl	%eax, -3052(%rbp)
	jge	.L30
	movq	stdin(%rip), %rdx
	leaq	-3008(%rbp), %rax
	movl	$3000, %esi
	movq	%rax, %rdi
	call	fgets@PLT
	movl	$0, -3056(%rbp)
	jmp	.L25
.L30:
	nop
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L27
	call	__stack_chk_fail@PLT
.L27:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.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\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB39:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	movl	$26727, %esi
	movl	$27498, %edi
	movl	$25185, %edx
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	movl	$25956, %ecx
	movl	$28269, %r8d
	movl	$30068, %r9d
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	xorl	%r12d, %r12d
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$3096, %rsp
	.cfi_def_cfa_offset 3152
	movq	%fs:40, %rax
	movq	%rax, 3080(%rsp)
	xorl	%eax, %eax
	movw	%si, 55(%rsp)
	leaq	44(%rsp), %rsi
	leaq	80(%rsp), %r15
	movw	%di, 58(%rsp)
	leaq	.LC0(%rip), %rdi
	movw	%dx, 49(%rsp)
	movw	%cx, 52(%rsp)
	movw	%r8w, 61(%rsp)
	movw	%r9w, 64(%rsp)
	movl	$1059138606, 75(%rsp)
	movb	$32, 79(%rsp)
	movb	$99, 51(%rsp)
	movb	$102, 54(%rsp)
	movb	$105, 57(%rsp)
	movb	$108, 60(%rsp)
	movb	$111, 63(%rsp)
	movl	$1936879984, 67(%rsp)
	movb	$118, 66(%rsp)
	movl	$2054781047, 71(%rsp)
	call	__isoc99_scanf@PLT
	movq	stdin(%rip), %rdx
	movl	$3000, %esi
	movq	%r15, %rdi
	call	fgets@PLT
	movl	$0, 28(%rsp)
	.p2align 4,,10
	.p2align 3
.L23:
	movzbl	80(%rsp), %eax
	movb	%al, 43(%rsp)
	testb	%al, %al
	je	.L2
	movl	$1, %ebp
	leaq	43(%rsp), %r13
	.p2align 4,,10
	.p2align 3
.L21:
	movl	$10, %edx
	xorl	%esi, %esi
	movq	%r13, %rdi
	call	strtol@PLT
	movq	%rax, 16(%rsp)
	movl	%eax, 12(%rsp)
	testl	%eax, %eax
	jne	.L36
	movslq	%ebp, %rax
	addl	$1, %ebp
	movzbl	80(%rsp,%rax), %edx
	movb	%dl, 43(%rsp)
.L8:
	testb	%dl, %dl
	jne	.L21
.L2:
	movl	$10, %edi
	call	putchar@PLT
	addl	$1, 28(%rsp)
	movl	28(%rsp), %eax
	cmpl	%eax, 44(%rsp)
	jle	.L22
	movq	stdin(%rip), %rdx
	movl	$3000, %esi
	movq	%r15, %rdi
	call	fgets@PLT
	jmp	.L23
	.p2align 4,,10
	.p2align 3
.L36:
	cmpb	$10, 43(%rsp)
	je	.L21
	movslq	%ebp, %r14
	.p2align 4,,10
	.p2align 3
.L20:
	movzbl	(%r15,%r14), %eax
	movl	$10, %edx
	xorl	%esi, %esi
	movq	%r13, %rdi
	movl	%r14d, 24(%rsp)
	movl	%r12d, %ebx
	leal	1(%r14), %ebp
	leal	1(%r12), %r12d
	movb	%al, 43(%rsp)
	call	strtol@PLT
	movzbl	43(%rsp), %edx
	cmpb	$10, %dl
	je	.L21
	addq	$1, %r14
	cmpl	%eax, 12(%rsp)
	je	.L20
	movl	$1, %r12d
	cmpb	$48, %dl
	jne	.L8
	movq	16(%rsp), %rax
	cmpl	$9, %eax
	ja	.L9
	leaq	.L11(%rip), %rdi
	movl	%eax, %eax
	movslq	(%rdi,%rax,4), %rax
	addq	%rdi, %rax
	notrack jmp	*%rax
	.section	.rodata
	.align 4
	.align 4
.L11:
	.long	.L9-.L11
	.long	.L19-.L11
	.long	.L18-.L11
	.long	.L17-.L11
	.long	.L16-.L11
	.long	.L15-.L11
	.long	.L14-.L11
	.long	.L13-.L11
	.long	.L12-.L11
	.long	.L10-.L11
	.section	.text.startup
.L19:
	movl	%ebx, %eax
	movl	$5, %ecx
	cltd
	idivl	%ecx
	movslq	%edx, %rdx
	movsbl	75(%rsp,%rdx), %edi
	call	putchar@PLT
	.p2align 4,,10
	.p2align 3
.L9:
	movslq	%ebp, %rbp
	movl	24(%rsp), %eax
	xorl	%r12d, %r12d
	movzbl	80(%rsp,%rbp), %edx
	leal	2(%rax), %ebp
	movb	%dl, 43(%rsp)
	jmp	.L8
.L22:
	movq	3080(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L37
	addq	$3096, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
.L10:
	.cfi_restore_state
	movl	%ebx, %r8d
	andl	$3, %r8d
	movsbl	71(%rsp,%r8), %edi
	call	putchar@PLT
	jmp	.L9
.L12:
	movl	%ebx, %eax
	movl	$3, %ecx
	cltd
	idivl	%ecx
	movslq	%edx, %rdx
	movsbl	64(%rsp,%rdx), %edi
	call	putchar@PLT
	jmp	.L9
.L13:
	movl	%ebx, %r8d
	andl	$3, %r8d
	movsbl	67(%rsp,%r8), %edi
	call	putchar@PLT
	jmp	.L9
.L14:
	movl	%ebx, %eax
	movl	$3, %ecx
	cltd
	idivl	%ecx
	movslq	%edx, %rdx
	movsbl	61(%rsp,%rdx), %edi
	call	putchar@PLT
	jmp	.L9
.L15:
	movl	%ebx, %eax
	movl	$3, %ecx
	cltd
	idivl	%ecx
	movslq	%edx, %rdx
	movsbl	58(%rsp,%rdx), %edi
	call	putchar@PLT
	jmp	.L9
.L16:
	movl	%ebx, %eax
	movl	$3, %ecx
	cltd
	idivl	%ecx
	movslq	%edx, %rdx
	movsbl	55(%rsp,%rdx), %edi
	call	putchar@PLT
	jmp	.L9
.L17:
	movl	%ebx, %eax
	movl	$3, %ecx
	cltd
	idivl	%ecx
	movslq	%edx, %rdx
	movsbl	52(%rsp,%rdx), %edi
	call	putchar@PLT
	jmp	.L9
.L18:
	movl	%ebx, %eax
	movl	$3, %ecx
	cltd
	idivl	%ecx
	movslq	%edx, %rdx
	movsbl	49(%rsp,%rdx), %edi
	call	putchar@PLT
	jmp	.L9
.L37:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE39:
	.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\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB39:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	movl	$26727, %esi
	movl	$27498, %edi
	movl	$25185, %edx
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	movl	$25956, %ecx
	movl	$28269, %r8d
	movl	$30068, %r9d
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	xorl	%r12d, %r12d
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$3096, %rsp
	.cfi_def_cfa_offset 3152
	movq	%fs:40, %rax
	movq	%rax, 3080(%rsp)
	xorl	%eax, %eax
	movw	%si, 55(%rsp)
	leaq	44(%rsp), %rsi
	leaq	80(%rsp), %r15
	movw	%di, 58(%rsp)
	leaq	.LC0(%rip), %rdi
	movw	%dx, 49(%rsp)
	movw	%cx, 52(%rsp)
	movw	%r8w, 61(%rsp)
	movw	%r9w, 64(%rsp)
	movl	$1059138606, 75(%rsp)
	movb	$32, 79(%rsp)
	movb	$99, 51(%rsp)
	movb	$102, 54(%rsp)
	movb	$105, 57(%rsp)
	movb	$108, 60(%rsp)
	movb	$111, 63(%rsp)
	movl	$1936879984, 67(%rsp)
	movb	$118, 66(%rsp)
	movl	$2054781047, 71(%rsp)
	call	__isoc99_scanf@PLT
	movq	stdin(%rip), %rdx
	movl	$3000, %esi
	movq	%r15, %rdi
	call	fgets@PLT
	movl	$0, 28(%rsp)
	.p2align 4,,10
	.p2align 3
.L23:
	movzbl	80(%rsp), %eax
	movb	%al, 43(%rsp)
	testb	%al, %al
	je	.L2
	movl	$1, %ebp
	leaq	43(%rsp), %r13
	.p2align 4,,10
	.p2align 3
.L21:
	movl	$10, %edx
	xorl	%esi, %esi
	movq	%r13, %rdi
	call	strtol@PLT
	movq	%rax, 16(%rsp)
	movl	%eax, 12(%rsp)
	testl	%eax, %eax
	jne	.L36
	movslq	%ebp, %rax
	addl	$1, %ebp
	movzbl	80(%rsp,%rax), %edx
	movb	%dl, 43(%rsp)
.L8:
	testb	%dl, %dl
	jne	.L21
.L2:
	movl	$10, %edi
	call	putchar@PLT
	addl	$1, 28(%rsp)
	movl	28(%rsp), %eax
	cmpl	%eax, 44(%rsp)
	jle	.L22
	movq	stdin(%rip), %rdx
	movl	$3000, %esi
	movq	%r15, %rdi
	call	fgets@PLT
	jmp	.L23
	.p2align 4,,10
	.p2align 3
.L36:
	cmpb	$10, 43(%rsp)
	je	.L21
	movslq	%ebp, %r14
	.p2align 4,,10
	.p2align 3
.L20:
	movzbl	(%r15,%r14), %eax
	movl	$10, %edx
	xorl	%esi, %esi
	movq	%r13, %rdi
	movl	%r14d, 24(%rsp)
	movl	%r12d, %ebx
	leal	1(%r14), %ebp
	leal	1(%r12), %r12d
	movb	%al, 43(%rsp)
	call	strtol@PLT
	movzbl	43(%rsp), %edx
	cmpb	$10, %dl
	je	.L21
	addq	$1, %r14
	cmpl	%eax, 12(%rsp)
	je	.L20
	movl	$1, %r12d
	cmpb	$48, %dl
	jne	.L8
	movq	16(%rsp), %rax
	cmpl	$9, %eax
	ja	.L9
	leaq	.L11(%rip), %rdi
	movl	%eax, %eax
	movslq	(%rdi,%rax,4), %rax
	addq	%rdi, %rax
	notrack jmp	*%rax
	.section	.rodata
	.align 4
	.align 4
.L11:
	.long	.L9-.L11
	.long	.L19-.L11
	.long	.L18-.L11
	.long	.L17-.L11
	.long	.L16-.L11
	.long	.L15-.L11
	.long	.L14-.L11
	.long	.L13-.L11
	.long	.L12-.L11
	.long	.L10-.L11
	.section	.text.startup
.L19:
	movl	%ebx, %eax
	movl	$5, %ecx
	cltd
	idivl	%ecx
	movslq	%edx, %rdx
	movsbl	75(%rsp,%rdx), %edi
	call	putchar@PLT
	.p2align 4,,10
	.p2align 3
.L9:
	movslq	%ebp, %rbp
	movl	24(%rsp), %eax
	xorl	%r12d, %r12d
	movzbl	80(%rsp,%rbp), %edx
	leal	2(%rax), %ebp
	movb	%dl, 43(%rsp)
	jmp	.L8
.L22:
	movq	3080(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L37
	addq	$3096, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
.L10:
	.cfi_restore_state
	movl	%ebx, %r8d
	andl	$3, %r8d
	movsbl	71(%rsp,%r8), %edi
	call	putchar@PLT
	jmp	.L9
.L12:
	movl	%ebx, %eax
	movl	$3, %ecx
	cltd
	idivl	%ecx
	movslq	%edx, %rdx
	movsbl	64(%rsp,%rdx), %edi
	call	putchar@PLT
	jmp	.L9
.L13:
	movl	%ebx, %r8d
	andl	$3, %r8d
	movsbl	67(%rsp,%r8), %edi
	call	putchar@PLT
	jmp	.L9
.L14:
	movl	%ebx, %eax
	movl	$3, %ecx
	cltd
	idivl	%ecx
	movslq	%edx, %rdx
	movsbl	61(%rsp,%rdx), %edi
	call	putchar@PLT
	jmp	.L9
.L15:
	movl	%ebx, %eax
	movl	$3, %ecx
	cltd
	idivl	%ecx
	movslq	%edx, %rdx
	movsbl	58(%rsp,%rdx), %edi
	call	putchar@PLT
	jmp	.L9
.L16:
	movl	%ebx, %eax
	movl	$3, %ecx
	cltd
	idivl	%ecx
	movslq	%edx, %rdx
	movsbl	55(%rsp,%rdx), %edi
	call	putchar@PLT
	jmp	.L9
.L17:
	movl	%ebx, %eax
	movl	$3, %ecx
	cltd
	idivl	%ecx
	movslq	%edx, %rdx
	movsbl	52(%rsp,%rdx), %edi
	call	putchar@PLT
	jmp	.L9
.L18:
	movl	%ebx, %eax
	movl	$3, %ecx
	cltd
	idivl	%ecx
	movslq	%edx, %rdx
	movsbl	49(%rsp,%rdx), %edi
	call	putchar@PLT
	jmp	.L9
.L37:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE39:
	.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>
#include <stdlib.h>


int main(){
	char numbers[3000];
	char x;
	char one[5] = {'.',',','!','?', ' '};
	char two[3] = {'a','b','c'};
	char three[3] = {'d','e','f'};
	char four[3] = {'g','h','i'};
	char five[3] = {'j','k','l'};
	char six[3] = {'m','n','o'};
	char seven[4] = {'p','q','r','s'};
	char eight[3] = {'t', 'u', 'v'};
	char nine[4] = {'w','x','y','z'};
	int n, rem_n, i=0, j=0;
	int counter = 0;
	int cases;
	scanf("%d\n", &cases);

	fgets(numbers, sizeof(numbers), stdin);
	//printf("%s", numbers);
	while(1){
		x = numbers[i++];

		while(x != '\0'){
			n = atoi(&x);
			rem_n = n;
			if(n != 0){
				while(x != '\n'){
					if(n == rem_n){
						counter++;
						//printf("counter+:%d\n",counter);
					}
					else if(x == '0'){
						switch(rem_n){
							case 1: printf("%c", one[(counter-1)%5]);
									break;
							case 2: printf("%c", two[(counter-1)%3]);
									break;
							case 3: printf("%c", three[(counter-1)%3]);
									break;
							case 4: printf("%c", four[(counter-1)%3]);
									break;
							case 5: printf("%c", five[(counter-1)%3]);
									break;
							case 6: printf("%c", six[(counter-1)%3]);
									break;
							case 7: printf("%c", seven[(counter-1)%4]);
									break;
							case 8: printf("%c", eight[(counter-1)%3]);
									break;
							case 9: printf("%c", nine[(counter-1)%4]);
									break;
						}
						counter = 0;
						x = numbers[i++];
						break;
					}
					else{
						counter = 1;					
						break;
					}
					x = numbers[i++];
					n = atoi(&x);					
				}
			}				
			else{
				x = numbers[i++];
			}
		}
		newline:
		printf("\n");
		if(++j >= cases)
			break;
		fgets(numbers, sizeof(numbers), stdin);
		i = 0;
	}
	return 0;
}
5
40
220
222220
44033055505550666011011111090666077705550301110
000555555550000330000444000080000200004440000
 5
40
30
222220
44033055505550666011011111090666077705550301110
000555555550000330000444000080000200004440000
 5
10
220
222220
44033055505550666011011111090666077705550301110
000555555550000330000444000080000200004440000
 5
40
40
222220
44033055505550666011011111090666077705550301110
000555555550000330000444000080000200004440000
 5
20
40
222220
44033055505550666011011111090666077705550301110
000555555550000330000444000080000200004440000
 5
40
50
222220
44033055505550666011011111090666077705550301110
000555555550000330000444000080000200004440000
 5
0
220
222220
44033055505550666011011111090666077705550301110
000555555550000330000444000080000200004440000
 5
20
300
222220
44033055505550666011011111090666077705550301110
000555555550000330000444000080000200004440000
 5
20
10
222220
44033055505550666011011111090666077705550301110
000555555550000330000444000080000200004440000
 5
0
300
222220
44033055505550666011011111090666077705550301110
000555555550000330000444000080000200004440000

g
b
b
hello, world!
keitai
 g
d
b
hello, world!
keitai
 .
b
b
hello, world!
keitai
 g
g
b
hello, world!
keitai
 a
g
b
hello, world!
keitai
 g
j
b
hello, world!
keitai
 
b
b
hello, world!
keitai
 a
d
b
hello, world!
keitai
 a
.
b
hello, world!
keitai
 
d
b
hello, world!
keitai

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>
#include <stdlib.h>


int main(){
	char numbers[3000];
	char x;
	char one[5] = {'.',',','!','?', ' '};
	char two[3] = {'a','b','c'};
	char three[3] = {'d','e','f'};
	char four[3] = {'g','h','i'};
	char five[3] = {'j','k','l'};
	char six[3] = {'m','n','o'};
	char seven[4] = {'p','q','r','s'};
	char eight[3] = {'t', 'u', 'v'};
	char nine[4] = {'w','x','y','z'};
	int n, rem_n, i=0, j=0;
	int counter = 0;
	int cases;
	scanf("%d\n", &cases);

	fgets(numbers, sizeof(numbers), stdin);
	//printf("%s", numbers);
	while(1){
		x = numbers[i++];

		while(x != '\0'){
			n = atoi(&x);
			rem_n = n;
			if(n != 0){
				while(x != '\n'){
					if(n == rem_n){
						counter++;
						//printf("counter+:%d\n",counter);
					}
					else if(x == '0'){
						switch(rem_n){
							case 1: printf("%c", one[(counter-1)%5]);
									break;
							case 2: printf("%c", two[(counter-1)%3]);
									break;
							case 3: printf("%c", three[(counter-1)%3]);
									break;
							case 4: printf("%c", four[(counter-1)%3]);
									break;
							case 5: printf("%c", five[(counter-1)%3]);
									break;
							case 6: printf("%c", six[(counter-1)%3]);
									break;
							case 7: printf("%c", seven[(counter-1)%4]);
									break;
							case 8: printf("%c", eight[(counter-1)%3]);
									break;
							case 9: printf("%c", nine[(counter-1)%4]);
									break;
						}
						counter = 0;
						x = numbers[i++];
						break;
					}
					else{
						counter = 1;					
						break;
					}
					x = numbers[i++];
					n = atoi(&x);					
				}
			}				
			else{
				x = numbers[i++];
			}
		}
		newline:
		printf("\n");
		if(++j >= cases)
			break;
		fgets(numbers, sizeof(numbers), stdin);
		i = 0;
	}
	return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.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
	movl	$1059138606, -3013(%rbp)
	movb	$32, -3009(%rbp)
	movw	$25185, -3039(%rbp)
	movb	$99, -3037(%rbp)
	movw	$25956, -3036(%rbp)
	movb	$102, -3034(%rbp)
	movw	$26727, -3033(%rbp)
	movb	$105, -3031(%rbp)
	movw	$27498, -3030(%rbp)
	movb	$108, -3028(%rbp)
	movw	$28269, -3027(%rbp)
	movb	$111, -3025(%rbp)
	movl	$1936879984, -3021(%rbp)
	movw	$30068, -3024(%rbp)
	movb	$118, -3022(%rbp)
	movl	$2054781047, -3017(%rbp)
	movl	$0, -3056(%rbp)
	movl	$0, -3052(%rbp)
	movl	$0, -3048(%rbp)
	leaq	-3064(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movq	stdin(%rip), %rdx
	leaq	-3008(%rbp), %rax
	movl	$3000, %esi
	movq	%rax, %rdi
	call	fgets@PLT
.L25:
	movl	-3056(%rbp), %eax
	leal	1(%rax), %edx
	movl	%edx, -3056(%rbp)
	cltq
	movzbl	-3008(%rbp,%rax), %eax
	movb	%al, -3065(%rbp)
	jmp	.L2
.L21:
	leaq	-3065(%rbp), %rax
	movq	%rax, %rdi
	call	atoi@PLT
	movl	%eax, -3060(%rbp)
	movl	-3060(%rbp), %eax
	movl	%eax, -3044(%rbp)
	cmpl	$0, -3060(%rbp)
	je	.L3
	jmp	.L4
.L20:
	movl	-3060(%rbp), %eax
	cmpl	-3044(%rbp), %eax
	jne	.L5
	addl	$1, -3048(%rbp)
	jmp	.L28
.L5:
	movzbl	-3065(%rbp), %eax
	cmpb	$48, %al
	jne	.L7
	cmpl	$9, -3044(%rbp)
	ja	.L8
	movl	-3044(%rbp), %eax
	leaq	0(,%rax,4), %rdx
	leaq	.L10(%rip), %rax
	movl	(%rdx,%rax), %eax
	cltq
	leaq	.L10(%rip), %rdx
	addq	%rdx, %rax
	notrack jmp	*%rax
	.section	.rodata
	.align 4
	.align 4
.L10:
	.long	.L8-.L10
	.long	.L18-.L10
	.long	.L17-.L10
	.long	.L16-.L10
	.long	.L15-.L10
	.long	.L14-.L10
	.long	.L13-.L10
	.long	.L12-.L10
	.long	.L11-.L10
	.long	.L9-.L10
	.text
.L18:
	movl	-3048(%rbp), %eax
	leal	-1(%rax), %edx
	movslq	%edx, %rax
	imulq	$1717986919, %rax, %rax
	shrq	$32, %rax
	sarl	%eax
	movl	%edx, %ecx
	sarl	$31, %ecx
	subl	%ecx, %eax
	movl	%eax, %ecx
	sall	$2, %ecx
	addl	%eax, %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	cltq
	movzbl	-3013(%rbp,%rax), %eax
	movsbl	%al, %eax
	movl	%eax, %edi
	call	putchar@PLT
	jmp	.L8
.L17:
	movl	-3048(%rbp), %eax
	leal	-1(%rax), %edx
	movslq	%edx, %rax
	imulq	$1431655766, %rax, %rax
	shrq	$32, %rax
	movl	%edx, %ecx
	sarl	$31, %ecx
	subl	%ecx, %eax
	movl	%eax, %ecx
	addl	%ecx, %ecx
	addl	%eax, %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	cltq
	movzbl	-3039(%rbp,%rax), %eax
	movsbl	%al, %eax
	movl	%eax, %edi
	call	putchar@PLT
	jmp	.L8
.L16:
	movl	-3048(%rbp), %eax
	leal	-1(%rax), %edx
	movslq	%edx, %rax
	imulq	$1431655766, %rax, %rax
	shrq	$32, %rax
	movl	%edx, %ecx
	sarl	$31, %ecx
	subl	%ecx, %eax
	movl	%eax, %ecx
	addl	%ecx, %ecx
	addl	%eax, %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	cltq
	movzbl	-3036(%rbp,%rax), %eax
	movsbl	%al, %eax
	movl	%eax, %edi
	call	putchar@PLT
	jmp	.L8
.L15:
	movl	-3048(%rbp), %eax
	leal	-1(%rax), %edx
	movslq	%edx, %rax
	imulq	$1431655766, %rax, %rax
	shrq	$32, %rax
	movl	%edx, %ecx
	sarl	$31, %ecx
	subl	%ecx, %eax
	movl	%eax, %ecx
	addl	%ecx, %ecx
	addl	%eax, %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	cltq
	movzbl	-3033(%rbp,%rax), %eax
	movsbl	%al, %eax
	movl	%eax, %edi
	call	putchar@PLT
	jmp	.L8
.L14:
	movl	-3048(%rbp), %eax
	leal	-1(%rax), %edx
	movslq	%edx, %rax
	imulq	$1431655766, %rax, %rax
	shrq	$32, %rax
	movl	%edx, %ecx
	sarl	$31, %ecx
	subl	%ecx, %eax
	movl	%eax, %ecx
	addl	%ecx, %ecx
	addl	%eax, %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	cltq
	movzbl	-3030(%rbp,%rax), %eax
	movsbl	%al, %eax
	movl	%eax, %edi
	call	putchar@PLT
	jmp	.L8
.L13:
	movl	-3048(%rbp), %eax
	leal	-1(%rax), %edx
	movslq	%edx, %rax
	imulq	$1431655766, %rax, %rax
	shrq	$32, %rax
	movl	%edx, %ecx
	sarl	$31, %ecx
	subl	%ecx, %eax
	movl	%eax, %ecx
	addl	%ecx, %ecx
	addl	%eax, %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	cltq
	movzbl	-3027(%rbp,%rax), %eax
	movsbl	%al, %eax
	movl	%eax, %edi
	call	putchar@PLT
	jmp	.L8
.L12:
	movl	-3048(%rbp), %eax
	subl	$1, %eax
	cltd
	shrl	$30, %edx
	addl	%edx, %eax
	andl	$3, %eax
	subl	%edx, %eax
	cltq
	movzbl	-3021(%rbp,%rax), %eax
	movsbl	%al, %eax
	movl	%eax, %edi
	call	putchar@PLT
	jmp	.L8
.L11:
	movl	-3048(%rbp), %eax
	leal	-1(%rax), %edx
	movslq	%edx, %rax
	imulq	$1431655766, %rax, %rax
	shrq	$32, %rax
	movl	%edx, %ecx
	sarl	$31, %ecx
	subl	%ecx, %eax
	movl	%eax, %ecx
	addl	%ecx, %ecx
	addl	%eax, %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	cltq
	movzbl	-3024(%rbp,%rax), %eax
	movsbl	%al, %eax
	movl	%eax, %edi
	call	putchar@PLT
	jmp	.L8
.L9:
	movl	-3048(%rbp), %eax
	subl	$1, %eax
	cltd
	shrl	$30, %edx
	addl	%edx, %eax
	andl	$3, %eax
	subl	%edx, %eax
	cltq
	movzbl	-3017(%rbp,%rax), %eax
	movsbl	%al, %eax
	movl	%eax, %edi
	call	putchar@PLT
	nop
.L8:
	movl	$0, -3048(%rbp)
	movl	-3056(%rbp), %eax
	leal	1(%rax), %edx
	movl	%edx, -3056(%rbp)
	cltq
	movzbl	-3008(%rbp,%rax), %eax
	movb	%al, -3065(%rbp)
	jmp	.L2
.L7:
	movl	$1, -3048(%rbp)
	jmp	.L2
.L28:
	movl	-3056(%rbp), %eax
	leal	1(%rax), %edx
	movl	%edx, -3056(%rbp)
	cltq
	movzbl	-3008(%rbp,%rax), %eax
	movb	%al, -3065(%rbp)
	leaq	-3065(%rbp), %rax
	movq	%rax, %rdi
	call	atoi@PLT
	movl	%eax, -3060(%rbp)
.L4:
	movzbl	-3065(%rbp), %eax
	cmpb	$10, %al
	jne	.L20
	jmp	.L2
.L3:
	movl	-3056(%rbp), %eax
	leal	1(%rax), %edx
	movl	%edx, -3056(%rbp)
	cltq
	movzbl	-3008(%rbp,%rax), %eax
	movb	%al, -3065(%rbp)
.L2:
	movzbl	-3065(%rbp), %eax
	testb	%al, %al
	jne	.L21
	nop
.L22:
	movl	$10, %edi
	call	putchar@PLT
	addl	$1, -3052(%rbp)
	movl	-3064(%rbp), %eax
	cmpl	%eax, -3052(%rbp)
	jge	.L30
	movq	stdin(%rip), %rdx
	leaq	-3008(%rbp), %rax
	movl	$3000, %esi
	movq	%rax, %rdi
	call	fgets@PLT
	movl	$0, -3056(%rbp)
	jmp	.L25
.L30:
	nop
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L27
	call	__stack_chk_fail@PLT
.L27:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.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.
val
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.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
	movl	$1059138606, -3013(%rbp)
	movb	$32, -3009(%rbp)
	movw	$25185, -3039(%rbp)
	movb	$99, -3037(%rbp)
	movw	$25956, -3036(%rbp)
	movb	$102, -3034(%rbp)
	movw	$26727, -3033(%rbp)
	movb	$105, -3031(%rbp)
	movw	$27498, -3030(%rbp)
	movb	$108, -3028(%rbp)
	movw	$28269, -3027(%rbp)
	movb	$111, -3025(%rbp)
	movl	$1936879984, -3021(%rbp)
	movw	$30068, -3024(%rbp)
	movb	$118, -3022(%rbp)
	movl	$2054781047, -3017(%rbp)
	movl	$0, -3056(%rbp)
	movl	$0, -3052(%rbp)
	movl	$0, -3048(%rbp)
	leaq	-3064(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movq	stdin(%rip), %rdx
	leaq	-3008(%rbp), %rax
	movl	$3000, %esi
	movq	%rax, %rdi
	call	fgets@PLT
.L25:
	movl	-3056(%rbp), %eax
	leal	1(%rax), %edx
	movl	%edx, -3056(%rbp)
	cltq
	movzbl	-3008(%rbp,%rax), %eax
	movb	%al, -3065(%rbp)
	jmp	.L2
.L21:
	leaq	-3065(%rbp), %rax
	movq	%rax, %rdi
	call	atoi@PLT
	movl	%eax, -3060(%rbp)
	movl	-3060(%rbp), %eax
	movl	%eax, -3044(%rbp)
	cmpl	$0, -3060(%rbp)
	je	.L3
	jmp	.L4
.L20:
	movl	-3060(%rbp), %eax
	cmpl	-3044(%rbp), %eax
	jne	.L5
	addl	$1, -3048(%rbp)
	jmp	.L28
.L5:
	movzbl	-3065(%rbp), %eax
	cmpb	$48, %al
	jne	.L7
	cmpl	$9, -3044(%rbp)
	ja	.L8
	movl	-3044(%rbp), %eax
	leaq	0(,%rax,4), %rdx
	leaq	.L10(%rip), %rax
	movl	(%rdx,%rax), %eax
	cltq
	leaq	.L10(%rip), %rdx
	addq	%rdx, %rax
	notrack jmp	*%rax
	.section	.rodata
	.align 4
	.align 4
.L10:
	.long	.L8-.L10
	.long	.L18-.L10
	.long	.L17-.L10
	.long	.L16-.L10
	.long	.L15-.L10
	.long	.L14-.L10
	.long	.L13-.L10
	.long	.L12-.L10
	.long	.L11-.L10
	.long	.L9-.L10
	.text
.L18:
	movl	-3048(%rbp), %eax
	leal	-1(%rax), %edx
	movslq	%edx, %rax
	imulq	$1717986919, %rax, %rax
	shrq	$32, %rax
	sarl	%eax
	movl	%edx, %ecx
	sarl	$31, %ecx
	subl	%ecx, %eax
	movl	%eax, %ecx
	sall	$2, %ecx
	addl	%eax, %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	cltq
	movzbl	-3013(%rbp,%rax), %eax
	movsbl	%al, %eax
	movl	%eax, %edi
	call	putchar@PLT
	jmp	.L8
.L17:
	movl	-3048(%rbp), %eax
	leal	-1(%rax), %edx
	movslq	%edx, %rax
	imulq	$1431655766, %rax, %rax
	shrq	$32, %rax
	movl	%edx, %ecx
	sarl	$31, %ecx
	subl	%ecx, %eax
	movl	%eax, %ecx
	addl	%ecx, %ecx
	addl	%eax, %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	cltq
	movzbl	-3039(%rbp,%rax), %eax
	movsbl	%al, %eax
	movl	%eax, %edi
	call	putchar@PLT
	jmp	.L8
.L16:
	movl	-3048(%rbp), %eax
	leal	-1(%rax), %edx
	movslq	%edx, %rax
	imulq	$1431655766, %rax, %rax
	shrq	$32, %rax
	movl	%edx, %ecx
	sarl	$31, %ecx
	subl	%ecx, %eax
	movl	%eax, %ecx
	addl	%ecx, %ecx
	addl	%eax, %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	cltq
	movzbl	-3036(%rbp,%rax), %eax
	movsbl	%al, %eax
	movl	%eax, %edi
	call	putchar@PLT
	jmp	.L8
.L15:
	movl	-3048(%rbp), %eax
	leal	-1(%rax), %edx
	movslq	%edx, %rax
	imulq	$1431655766, %rax, %rax
	shrq	$32, %rax
	movl	%edx, %ecx
	sarl	$31, %ecx
	subl	%ecx, %eax
	movl	%eax, %ecx
	addl	%ecx, %ecx
	addl	%eax, %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	cltq
	movzbl	-3033(%rbp,%rax), %eax
	movsbl	%al, %eax
	movl	%eax, %edi
	call	putchar@PLT
	jmp	.L8
.L14:
	movl	-3048(%rbp), %eax
	leal	-1(%rax), %edx
	movslq	%edx, %rax
	imulq	$1431655766, %rax, %rax
	shrq	$32, %rax
	movl	%edx, %ecx
	sarl	$31, %ecx
	subl	%ecx, %eax
	movl	%eax, %ecx
	addl	%ecx, %ecx
	addl	%eax, %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	cltq
	movzbl	-3030(%rbp,%rax), %eax
	movsbl	%al, %eax
	movl	%eax, %edi
	call	putchar@PLT
	jmp	.L8
.L13:
	movl	-3048(%rbp), %eax
	leal	-1(%rax), %edx
	movslq	%edx, %rax
	imulq	$1431655766, %rax, %rax
	shrq	$32, %rax
	movl	%edx, %ecx
	sarl	$31, %ecx
	subl	%ecx, %eax
	movl	%eax, %ecx
	addl	%ecx, %ecx
	addl	%eax, %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	cltq
	movzbl	-3027(%rbp,%rax), %eax
	movsbl	%al, %eax
	movl	%eax, %edi
	call	putchar@PLT
	jmp	.L8
.L12:
	movl	-3048(%rbp), %eax
	subl	$1, %eax
	cltd
	shrl	$30, %edx
	addl	%edx, %eax
	andl	$3, %eax
	subl	%edx, %eax
	cltq
	movzbl	-3021(%rbp,%rax), %eax
	movsbl	%al, %eax
	movl	%eax, %edi
	call	putchar@PLT
	jmp	.L8
.L11:
	movl	-3048(%rbp), %eax
	leal	-1(%rax), %edx
	movslq	%edx, %rax
	imulq	$1431655766, %rax, %rax
	shrq	$32, %rax
	movl	%edx, %ecx
	sarl	$31, %ecx
	subl	%ecx, %eax
	movl	%eax, %ecx
	addl	%ecx, %ecx
	addl	%eax, %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	cltq
	movzbl	-3024(%rbp,%rax), %eax
	movsbl	%al, %eax
	movl	%eax, %edi
	call	putchar@PLT
	jmp	.L8
.L9:
	movl	-3048(%rbp), %eax
	subl	$1, %eax
	cltd
	shrl	$30, %edx
	addl	%edx, %eax
	andl	$3, %eax
	subl	%edx, %eax
	cltq
	movzbl	-3017(%rbp,%rax), %eax
	movsbl	%al, %eax
	movl	%eax, %edi
	call	putchar@PLT
	nop
.L8:
	movl	$0, -3048(%rbp)
	movl	-3056(%rbp), %eax
	leal	1(%rax), %edx
	movl	%edx, -3056(%rbp)
	cltq
	movzbl	-3008(%rbp,%rax), %eax
	movb	%al, -3065(%rbp)
	jmp	.L2
.L7:
	movl	$1, -3048(%rbp)
	jmp	.L2
.L28:
	movl	-3056(%rbp), %eax
	leal	1(%rax), %edx
	movl	%edx, -3056(%rbp)
	cltq
	movzbl	-3008(%rbp,%rax), %eax
	movb	%al, -3065(%rbp)
	leaq	-3065(%rbp), %rax
	movq	%rax, %rdi
	call	atoi@PLT
	movl	%eax, -3060(%rbp)
.L4:
	movzbl	-3065(%rbp), %eax
	cmpb	$10, %al
	jne	.L20
	jmp	.L2
.L3:
	movl	-3056(%rbp), %eax
	leal	1(%rax), %edx
	movl	%edx, -3056(%rbp)
	cltq
	movzbl	-3008(%rbp,%rax), %eax
	movb	%al, -3065(%rbp)
.L2:
	movzbl	-3065(%rbp), %eax
	testb	%al, %al
	jne	.L21
	nop
.L22:
	movl	$10, %edi
	call	putchar@PLT
	addl	$1, -3052(%rbp)
	movl	-3064(%rbp), %eax
	cmpl	%eax, -3052(%rbp)
	jge	.L30
	movq	stdin(%rip), %rdx
	leaq	-3008(%rbp), %rax
	movl	$3000, %esi
	movq	%rax, %rdi
	call	fgets@PLT
	movl	$0, -3056(%rbp)
	jmp	.L25
.L30:
	nop
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L27
	call	__stack_chk_fail@PLT
.L27:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.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:
