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>
#include<string.h>
char K[10][6]={
  {"no"},
  {".,!? "},
  {"abc"},
  {"def"},
  {"ghi"},
  {"jkl"},
  {"mno"},
  {"pqrs"},
  {"tuv"},
  {"wxyz"}};

char Henkan(int, int);
int main()
{
  int N,i,j,sum=0,SSS;
  char S[1025],SS;

  scanf("%d",&N);
  for(i=0;i<N;i++){
    scanf("%s",S);
    for(j=0;j<strlen(S);j++){
      if(S[j]!=48)sum++;
      else if(S[j-1]!=48 && j>0){
        SSS=S[j-1]-'0';
        SS=Henkan(SSS,sum-1);
	printf("%c",SS);
        sum=0;
      }
    }
    printf("\n");
  }
  return 0;
}

char Henkan(int mo,int sum)
{
  if(mo==0)return '0';
  return K[mo][sum%(strlen(K[mo]))];
}
   ```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	K
	.data
	.align 32
	.type	K, @object
	.size	K, 60
K:
	.string	"no"
	.zero	3
	.string	".,!? "
	.string	"abc"
	.zero	2
	.string	"def"
	.zero	2
	.string	"ghi"
	.zero	2
	.string	"jkl"
	.zero	2
	.string	"mno"
	.zero	2
	.string	"pqrs"
	.zero	1
	.string	"tuv"
	.zero	2
	.string	"wxyz"
	.zero	1
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"%s"
	.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
	pushq	%rbx
	subq	$1080, %rsp
	.cfi_offset 3, -24
	movq	%fs:40, %rax
	movq	%rax, -24(%rbp)
	xorl	%eax, %eax
	movl	$0, -1064(%rbp)
	leaq	-1076(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -1072(%rbp)
	jmp	.L2
.L7:
	leaq	-1056(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -1068(%rbp)
	jmp	.L3
.L6:
	movl	-1068(%rbp), %eax
	cltq
	movzbl	-1056(%rbp,%rax), %eax
	cmpb	$48, %al
	je	.L4
	addl	$1, -1064(%rbp)
	jmp	.L5
.L4:
	movl	-1068(%rbp), %eax
	subl	$1, %eax
	cltq
	movzbl	-1056(%rbp,%rax), %eax
	cmpb	$48, %al
	je	.L5
	cmpl	$0, -1068(%rbp)
	jle	.L5
	movl	-1068(%rbp), %eax
	subl	$1, %eax
	cltq
	movzbl	-1056(%rbp,%rax), %eax
	movsbl	%al, %eax
	subl	$48, %eax
	movl	%eax, -1060(%rbp)
	movl	-1064(%rbp), %eax
	leal	-1(%rax), %edx
	movl	-1060(%rbp), %eax
	movl	%edx, %esi
	movl	%eax, %edi
	call	Henkan
	movb	%al, -1077(%rbp)
	movsbl	-1077(%rbp), %eax
	movl	%eax, %edi
	call	putchar@PLT
	movl	$0, -1064(%rbp)
.L5:
	addl	$1, -1068(%rbp)
.L3:
	movl	-1068(%rbp), %eax
	movslq	%eax, %rbx
	leaq	-1056(%rbp), %rax
	movq	%rax, %rdi
	call	strlen@PLT
	cmpq	%rax, %rbx
	jb	.L6
	movl	$10, %edi
	call	putchar@PLT
	addl	$1, -1072(%rbp)
.L2:
	movl	-1076(%rbp), %eax
	cmpl	%eax, -1072(%rbp)
	jl	.L7
	movl	$0, %eax
	movq	-24(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L9
	call	__stack_chk_fail@PLT
.L9:
	movq	-8(%rbp), %rbx
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.globl	Henkan
	.type	Henkan, @function
Henkan:
.LFB7:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset 3, -24
	movl	%edi, -20(%rbp)
	movl	%esi, -24(%rbp)
	cmpl	$0, -20(%rbp)
	jne	.L11
	movl	$48, %eax
	jmp	.L12
.L11:
	movl	-24(%rbp), %eax
	movslq	%eax, %rbx
	movl	-20(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	addq	%rax, %rax
	leaq	K(%rip), %rdx
	addq	%rdx, %rax
	movq	%rax, %rdi
	call	strlen@PLT
	movq	%rax, %rsi
	movq	%rbx, %rax
	movl	$0, %edx
	divq	%rsi
	movq	%rdx, %rcx
	movl	-20(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	addq	%rax, %rax
	leaq	(%rax,%rcx), %rdx
	leaq	K(%rip), %rax
	addq	%rdx, %rax
	movzbl	(%rax), %eax
.L12:
	movq	-8(%rbp), %rbx
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	Henkan, .-Henkan
	.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"
.LC1:
	.string	"%s"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB51:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	leaq	.LC0(%rip), %rdi
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$1064, %rsp
	.cfi_def_cfa_offset 1120
	movq	%fs:40, %rax
	movq	%rax, 1048(%rsp)
	xorl	%eax, %eax
	leaq	12(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %eax
	testl	%eax, %eax
	jle	.L2
	xorl	%r12d, %r12d
	xorl	%r13d, %r13d
	leaq	16(%rsp), %rbp
	leaq	.LC1(%rip), %r14
	.p2align 4,,10
	.p2align 3
.L7:
	movq	%rbp, %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	xorl	%ebx, %ebx
	call	__isoc99_scanf@PLT
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L19:
	addl	$1, %r12d
.L5:
	addq	$1, %rbx
.L3:
	movq	%rbp, %rdi
	call	strlen@PLT
	cmpq	%rbx, %rax
	jbe	.L18
	cmpb	$48, 0(%rbp,%rbx)
	jne	.L19
	movsbl	15(%rsp,%rbx), %eax
	testl	%ebx, %ebx
	je	.L5
	cmpb	$48, %al
	je	.L5
	subl	$48, %eax
	leaq	K(%rip), %rcx
	cltq
	leaq	(%rax,%rax,2), %rax
	leaq	(%rcx,%rax,2), %r15
	movq	%r15, %rdi
	call	strlen@PLT
	xorl	%edx, %edx
	movq	%rax, %r8
	leal	-1(%r12), %eax
	xorl	%r12d, %r12d
	cltq
	divq	%r8
	movsbl	(%r15,%rdx), %edi
	call	putchar@PLT
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L18:
	movl	$10, %edi
	addl	$1, %r13d
	call	putchar@PLT
	cmpl	%r13d, 12(%rsp)
	jg	.L7
.L2:
	movq	1048(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L20
	addq	$1064, %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
.L20:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE51:
	.size	main, .-main
	.text
	.p2align 4
	.globl	Henkan
	.type	Henkan, @function
Henkan:
.LFB52:
	.cfi_startproc
	endbr64
	testl	%edi, %edi
	je	.L25
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movslq	%edi, %rdi
	leaq	K(%rip), %rax
	pushq	%rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	leaq	(%rdi,%rdi,2), %rdx
	movl	%esi, %ebx
	leaq	(%rax,%rdx,2), %rbp
	movq	%rbp, %rdi
	subq	$8, %rsp
	.cfi_def_cfa_offset 32
	call	strlen@PLT
	xorl	%edx, %edx
	movq	%rax, %r8
	movslq	%ebx, %rax
	divq	%r8
	movzbl	0(%rbp,%rdx), %eax
	addq	$8, %rsp
	.cfi_def_cfa_offset 24
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L25:
	.cfi_restore 3
	.cfi_restore 6
	movl	$48, %eax
	ret
	.cfi_endproc
.LFE52:
	.size	Henkan, .-Henkan
	.globl	K
	.data
	.align 32
	.type	K, @object
	.size	K, 60
K:
	.string	"no"
	.zero	3
	.string	".,!? "
	.string	"abc"
	.zero	2
	.string	"def"
	.zero	2
	.string	"ghi"
	.zero	2
	.string	"jkl"
	.zero	2
	.string	"mno"
	.zero	2
	.string	"pqrs"
	.zero	1
	.string	"tuv"
	.zero	2
	.string	"wxyz"
	.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	"%d"
.LC1:
	.string	"%s"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB51:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	leaq	.LC0(%rip), %rdi
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$1064, %rsp
	.cfi_def_cfa_offset 1120
	movq	%fs:40, %rax
	movq	%rax, 1048(%rsp)
	xorl	%eax, %eax
	leaq	12(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %eax
	testl	%eax, %eax
	jle	.L2
	xorl	%r12d, %r12d
	xorl	%r13d, %r13d
	leaq	16(%rsp), %rbp
	leaq	.LC1(%rip), %r14
	.p2align 4,,10
	.p2align 3
.L7:
	movq	%rbp, %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	xorl	%ebx, %ebx
	call	__isoc99_scanf@PLT
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L19:
	addl	$1, %r12d
.L5:
	addq	$1, %rbx
.L3:
	movq	%rbp, %rdi
	call	strlen@PLT
	cmpq	%rbx, %rax
	jbe	.L18
	cmpb	$48, 0(%rbp,%rbx)
	jne	.L19
	movsbl	15(%rsp,%rbx), %eax
	testl	%ebx, %ebx
	je	.L5
	cmpb	$48, %al
	je	.L5
	subl	$48, %eax
	leaq	K(%rip), %rcx
	cltq
	leaq	(%rax,%rax,2), %rax
	leaq	(%rcx,%rax,2), %r15
	movq	%r15, %rdi
	call	strlen@PLT
	xorl	%edx, %edx
	movq	%rax, %r8
	leal	-1(%r12), %eax
	xorl	%r12d, %r12d
	cltq
	divq	%r8
	movsbl	(%r15,%rdx), %edi
	call	putchar@PLT
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L18:
	movl	$10, %edi
	addl	$1, %r13d
	call	putchar@PLT
	cmpl	%r13d, 12(%rsp)
	jg	.L7
.L2:
	movq	1048(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L20
	addq	$1064, %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
.L20:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE51:
	.size	main, .-main
	.text
	.p2align 4
	.globl	Henkan
	.type	Henkan, @function
Henkan:
.LFB52:
	.cfi_startproc
	endbr64
	testl	%edi, %edi
	je	.L25
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movslq	%edi, %rdi
	leaq	K(%rip), %rax
	pushq	%rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	leaq	(%rdi,%rdi,2), %rdx
	movl	%esi, %ebx
	leaq	(%rax,%rdx,2), %rbp
	movq	%rbp, %rdi
	subq	$8, %rsp
	.cfi_def_cfa_offset 32
	call	strlen@PLT
	xorl	%edx, %edx
	movq	%rax, %r8
	movslq	%ebx, %rax
	divq	%r8
	movzbl	0(%rbp,%rdx), %eax
	addq	$8, %rsp
	.cfi_def_cfa_offset 24
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L25:
	.cfi_restore 3
	.cfi_restore 6
	movl	$48, %eax
	ret
	.cfi_endproc
.LFE52:
	.size	Henkan, .-Henkan
	.globl	K
	.data
	.align 32
	.type	K, @object
	.size	K, 60
K:
	.string	"no"
	.zero	3
	.string	".,!? "
	.string	"abc"
	.zero	2
	.string	"def"
	.zero	2
	.string	"ghi"
	.zero	2
	.string	"jkl"
	.zero	2
	.string	"mno"
	.zero	2
	.string	"pqrs"
	.zero	1
	.string	"tuv"
	.zero	2
	.string	"wxyz"
	.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:

#include<stdio.h>
#include<stdlib.h>
#include<string.h>
char K[10][6]={
  {"no"},
  {".,!? "},
  {"abc"},
  {"def"},
  {"ghi"},
  {"jkl"},
  {"mno"},
  {"pqrs"},
  {"tuv"},
  {"wxyz"}};

char Henkan(int, int);
int main()
{
  int N,i,j,sum=0,SSS;
  char S[1025],SS;

  scanf("%d",&N);
  for(i=0;i<N;i++){
    scanf("%s",S);
    for(j=0;j<strlen(S);j++){
      if(S[j]!=48)sum++;
      else if(S[j-1]!=48 && j>0){
        SSS=S[j-1]-'0';
        SS=Henkan(SSS,sum-1);
	printf("%c",SS);
        sum=0;
      }
    }
    printf("\n");
  }
  return 0;
}

char Henkan(int mo,int sum)
{
  if(mo==0)return '0';
  return K[mo][sum%(strlen(K[mo]))];
}
   
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>
#include<string.h>
char K[10][6]={
  {"no"},
  {".,!? "},
  {"abc"},
  {"def"},
  {"ghi"},
  {"jkl"},
  {"mno"},
  {"pqrs"},
  {"tuv"},
  {"wxyz"}};

char Henkan(int, int);
int main()
{
  int N,i,j,sum=0,SSS;
  char S[1025],SS;

  scanf("%d",&N);
  for(i=0;i<N;i++){
    scanf("%s",S);
    for(j=0;j<strlen(S);j++){
      if(S[j]!=48)sum++;
      else if(S[j-1]!=48 && j>0){
        SSS=S[j-1]-'0';
        SS=Henkan(SSS,sum-1);
	printf("%c",SS);
        sum=0;
      }
    }
    printf("\n");
  }
  return 0;
}

char Henkan(int mo,int sum)
{
  if(mo==0)return '0';
  return K[mo][sum%(strlen(K[mo]))];
}
   ```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	K
	.data
	.align 32
	.type	K, @object
	.size	K, 60
K:
	.string	"no"
	.zero	3
	.string	".,!? "
	.string	"abc"
	.zero	2
	.string	"def"
	.zero	2
	.string	"ghi"
	.zero	2
	.string	"jkl"
	.zero	2
	.string	"mno"
	.zero	2
	.string	"pqrs"
	.zero	1
	.string	"tuv"
	.zero	2
	.string	"wxyz"
	.zero	1
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"%s"
	.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
	pushq	%rbx
	subq	$1080, %rsp
	.cfi_offset 3, -24
	movq	%fs:40, %rax
	movq	%rax, -24(%rbp)
	xorl	%eax, %eax
	movl	$0, -1064(%rbp)
	leaq	-1076(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -1072(%rbp)
	jmp	.L2
.L7:
	leaq	-1056(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -1068(%rbp)
	jmp	.L3
.L6:
	movl	-1068(%rbp), %eax
	cltq
	movzbl	-1056(%rbp,%rax), %eax
	cmpb	$48, %al
	je	.L4
	addl	$1, -1064(%rbp)
	jmp	.L5
.L4:
	movl	-1068(%rbp), %eax
	subl	$1, %eax
	cltq
	movzbl	-1056(%rbp,%rax), %eax
	cmpb	$48, %al
	je	.L5
	cmpl	$0, -1068(%rbp)
	jle	.L5
	movl	-1068(%rbp), %eax
	subl	$1, %eax
	cltq
	movzbl	-1056(%rbp,%rax), %eax
	movsbl	%al, %eax
	subl	$48, %eax
	movl	%eax, -1060(%rbp)
	movl	-1064(%rbp), %eax
	leal	-1(%rax), %edx
	movl	-1060(%rbp), %eax
	movl	%edx, %esi
	movl	%eax, %edi
	call	Henkan
	movb	%al, -1077(%rbp)
	movsbl	-1077(%rbp), %eax
	movl	%eax, %edi
	call	putchar@PLT
	movl	$0, -1064(%rbp)
.L5:
	addl	$1, -1068(%rbp)
.L3:
	movl	-1068(%rbp), %eax
	movslq	%eax, %rbx
	leaq	-1056(%rbp), %rax
	movq	%rax, %rdi
	call	strlen@PLT
	cmpq	%rax, %rbx
	jb	.L6
	movl	$10, %edi
	call	putchar@PLT
	addl	$1, -1072(%rbp)
.L2:
	movl	-1076(%rbp), %eax
	cmpl	%eax, -1072(%rbp)
	jl	.L7
	movl	$0, %eax
	movq	-24(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L9
	call	__stack_chk_fail@PLT
.L9:
	movq	-8(%rbp), %rbx
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.globl	Henkan
	.type	Henkan, @function
Henkan:
.LFB7:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset 3, -24
	movl	%edi, -20(%rbp)
	movl	%esi, -24(%rbp)
	cmpl	$0, -20(%rbp)
	jne	.L11
	movl	$48, %eax
	jmp	.L12
.L11:
	movl	-24(%rbp), %eax
	movslq	%eax, %rbx
	movl	-20(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	addq	%rax, %rax
	leaq	K(%rip), %rdx
	addq	%rdx, %rax
	movq	%rax, %rdi
	call	strlen@PLT
	movq	%rax, %rsi
	movq	%rbx, %rax
	movl	$0, %edx
	divq	%rsi
	movq	%rdx, %rcx
	movl	-20(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	addq	%rax, %rax
	leaq	(%rax,%rcx), %rdx
	leaq	K(%rip), %rax
	addq	%rdx, %rax
	movzbl	(%rax), %eax
.L12:
	movq	-8(%rbp), %rbx
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	Henkan, .-Henkan
	.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	K
	.data
	.align 32
	.type	K, @object
	.size	K, 60
K:
	.string	"no"
	.zero	3
	.string	".,!? "
	.string	"abc"
	.zero	2
	.string	"def"
	.zero	2
	.string	"ghi"
	.zero	2
	.string	"jkl"
	.zero	2
	.string	"mno"
	.zero	2
	.string	"pqrs"
	.zero	1
	.string	"tuv"
	.zero	2
	.string	"wxyz"
	.zero	1
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"%s"
	.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
	pushq	%rbx
	subq	$1080, %rsp
	.cfi_offset 3, -24
	movq	%fs:40, %rax
	movq	%rax, -24(%rbp)
	xorl	%eax, %eax
	movl	$0, -1064(%rbp)
	leaq	-1076(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -1072(%rbp)
	jmp	.L2
.L7:
	leaq	-1056(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -1068(%rbp)
	jmp	.L3
.L6:
	movl	-1068(%rbp), %eax
	cltq
	movzbl	-1056(%rbp,%rax), %eax
	cmpb	$48, %al
	je	.L4
	addl	$1, -1064(%rbp)
	jmp	.L5
.L4:
	movl	-1068(%rbp), %eax
	subl	$1, %eax
	cltq
	movzbl	-1056(%rbp,%rax), %eax
	cmpb	$48, %al
	je	.L5
	cmpl	$0, -1068(%rbp)
	jle	.L5
	movl	-1068(%rbp), %eax
	subl	$1, %eax
	cltq
	movzbl	-1056(%rbp,%rax), %eax
	movsbl	%al, %eax
	subl	$48, %eax
	movl	%eax, -1060(%rbp)
	movl	-1064(%rbp), %eax
	leal	-1(%rax), %edx
	movl	-1060(%rbp), %eax
	movl	%edx, %esi
	movl	%eax, %edi
	call	Henkan
	movb	%al, -1077(%rbp)
	movsbl	-1077(%rbp), %eax
	movl	%eax, %edi
	call	putchar@PLT
	movl	$0, -1064(%rbp)
.L5:
	addl	$1, -1068(%rbp)
.L3:
	movl	-1068(%rbp), %eax
	movslq	%eax, %rbx
	leaq	-1056(%rbp), %rax
	movq	%rax, %rdi
	call	strlen@PLT
	cmpq	%rax, %rbx
	jb	.L6
	movl	$10, %edi
	call	putchar@PLT
	addl	$1, -1072(%rbp)
.L2:
	movl	-1076(%rbp), %eax
	cmpl	%eax, -1072(%rbp)
	jl	.L7
	movl	$0, %eax
	movq	-24(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L9
	call	__stack_chk_fail@PLT
.L9:
	movq	-8(%rbp), %rbx
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.globl	Henkan
	.type	Henkan, @function
Henkan:
.LFB7:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset 3, -24
	movl	%edi, -20(%rbp)
	movl	%esi, -24(%rbp)
	cmpl	$0, -20(%rbp)
	jne	.L11
	movl	$48, %eax
	jmp	.L12
.L11:
	movl	-24(%rbp), %eax
	movslq	%eax, %rbx
	movl	-20(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	addq	%rax, %rax
	leaq	K(%rip), %rdx
	addq	%rdx, %rax
	movq	%rax, %rdi
	call	strlen@PLT
	movq	%rax, %rsi
	movq	%rbx, %rax
	movl	$0, %edx
	divq	%rsi
	movq	%rdx, %rcx
	movl	-20(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	addq	%rax, %rax
	leaq	(%rax,%rcx), %rdx
	leaq	K(%rip), %rax
	addq	%rdx, %rax
	movzbl	(%rax), %eax
.L12:
	movq	-8(%rbp), %rbx
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	Henkan, .-Henkan
	.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:
