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 <string.h>
#include <ctype.h>
int len;
char line[26];
void C(void){
    char temp=line[0];
    int i=1;
    while(line[i]){
        line[i-1]=line[i];
        i++;
    }
    line[i-1]=temp;
}
void J(void){
    int i=len-2;
    char temp=line[len-1];
    while(i!=-1){
        line[i+1]=line[i];
        i--;
    }
    line[0]=temp;
}
void E(void){
    int t=0,i;
    char temp1[14];
    for(i=0;i<len/2;i++)
        temp1[i]=line[i];
    temp1[i]=0;
    len%2?(i=len/2+1):(i=len/2);
    for(;line[i];i++){
        line[t++]=line[i];
    }
    len%2?(t++):(t=t);
    for(i=0;temp1[i];i++)
        line[t++]=temp1[i];
}
void A(void){
    int i,len1=len-1;
    char temp;
    for(i=0;i<len1;i++,len1--){
        temp=line[i];
        line[i]=line[len1];
        line[len1]=temp;
    }
}
void P(void){
    int i=0;
    while(line[i]){
        if(isdigit(line[i])){
            if(line[i] == '0')
                line[i]='9';
            else
                line[i]--;
        }
        i++;
    }
}
void M(void){
    int i=0;
    while(line[i]){
        if(isdigit(line[i])){
            if(line[i]=='9')
                line[i]='0';
            else
                line[i]++;
        }
        i++;
    }
}
int main(void){
    int num,i,o,len1;
    char ope[7];
    scanf("%d",&num);
    for(i=0;i<num;i++){
        scanf("%s %s",ope,line);
        len=strlen(line);
        len1=strlen(ope);
        for(o=len1-1;o>=0;o--){
            switch(ope[o]){
                case 'J':J();break;
                case 'C':C();break;
                case 'E':E();break;
                case 'A':A();break;
                case 'P':P();break;
                case 'M':M();break;
            }
        }
        puts(line);
    }
    return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	len
	.bss
	.align 4
	.type	len, @object
	.size	len, 4
len:
	.zero	4
	.globl	line
	.align 16
	.type	line, @object
	.size	line, 26
line:
	.zero	26
	.text
	.globl	C
	.type	C, @function
C:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movzbl	line(%rip), %eax
	movb	%al, -5(%rbp)
	movl	$1, -4(%rbp)
	jmp	.L2
.L3:
	movl	-4(%rbp), %eax
	leal	-1(%rax), %ecx
	movl	-4(%rbp), %eax
	cltq
	leaq	line(%rip), %rdx
	movzbl	(%rax,%rdx), %edx
	movslq	%ecx, %rax
	leaq	line(%rip), %rcx
	movb	%dl, (%rax,%rcx)
	addl	$1, -4(%rbp)
.L2:
	movl	-4(%rbp), %eax
	cltq
	leaq	line(%rip), %rdx
	movzbl	(%rax,%rdx), %eax
	testb	%al, %al
	jne	.L3
	movl	-4(%rbp), %eax
	subl	$1, %eax
	cltq
	leaq	line(%rip), %rcx
	movzbl	-5(%rbp), %edx
	movb	%dl, (%rax,%rcx)
	nop
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	C, .-C
	.globl	J
	.type	J, @function
J:
.LFB1:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movl	len(%rip), %eax
	subl	$2, %eax
	movl	%eax, -4(%rbp)
	movl	len(%rip), %eax
	subl	$1, %eax
	cltq
	leaq	line(%rip), %rdx
	movzbl	(%rax,%rdx), %eax
	movb	%al, -5(%rbp)
	jmp	.L5
.L6:
	movl	-4(%rbp), %eax
	leal	1(%rax), %ecx
	movl	-4(%rbp), %eax
	cltq
	leaq	line(%rip), %rdx
	movzbl	(%rax,%rdx), %edx
	movslq	%ecx, %rax
	leaq	line(%rip), %rcx
	movb	%dl, (%rax,%rcx)
	subl	$1, -4(%rbp)
.L5:
	cmpl	$-1, -4(%rbp)
	jne	.L6
	movzbl	-5(%rbp), %eax
	movb	%al, line(%rip)
	nop
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	J, .-J
	.globl	E
	.type	E, @function
E:
.LFB2:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$32, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movl	$0, -32(%rbp)
	movl	$0, -28(%rbp)
	jmp	.L8
.L9:
	movl	-28(%rbp), %eax
	cltq
	leaq	line(%rip), %rdx
	movzbl	(%rax,%rdx), %edx
	movl	-28(%rbp), %eax
	cltq
	movb	%dl, -22(%rbp,%rax)
	addl	$1, -28(%rbp)
.L8:
	movl	len(%rip), %eax
	movl	%eax, %edx
	shrl	$31, %edx
	addl	%edx, %eax
	sarl	%eax
	cmpl	%eax, -28(%rbp)
	jl	.L9
	movl	-28(%rbp), %eax
	cltq
	movb	$0, -22(%rbp,%rax)
	movl	len(%rip), %eax
	andl	$1, %eax
	testl	%eax, %eax
	je	.L10
	movl	len(%rip), %eax
	movl	%eax, %edx
	shrl	$31, %edx
	addl	%edx, %eax
	sarl	%eax
	addl	$1, %eax
	movl	%eax, -28(%rbp)
	jmp	.L12
.L10:
	movl	len(%rip), %eax
	movl	%eax, %edx
	shrl	$31, %edx
	addl	%edx, %eax
	sarl	%eax
	movl	%eax, -28(%rbp)
	jmp	.L12
.L13:
	movl	-32(%rbp), %eax
	leal	1(%rax), %edx
	movl	%edx, -32(%rbp)
	movl	-28(%rbp), %edx
	movslq	%edx, %rdx
	leaq	line(%rip), %rcx
	movzbl	(%rdx,%rcx), %edx
	cltq
	leaq	line(%rip), %rcx
	movb	%dl, (%rax,%rcx)
	addl	$1, -28(%rbp)
.L12:
	movl	-28(%rbp), %eax
	cltq
	leaq	line(%rip), %rdx
	movzbl	(%rax,%rdx), %eax
	testb	%al, %al
	jne	.L13
	movl	len(%rip), %eax
	andl	$1, %eax
	testl	%eax, %eax
	je	.L15
	movl	-32(%rbp), %eax
	addl	$1, %eax
	movl	%eax, -32(%rbp)
.L15:
	movl	$0, -28(%rbp)
	jmp	.L16
.L17:
	movl	-32(%rbp), %eax
	leal	1(%rax), %edx
	movl	%edx, -32(%rbp)
	movl	-28(%rbp), %edx
	movslq	%edx, %rdx
	movzbl	-22(%rbp,%rdx), %edx
	cltq
	leaq	line(%rip), %rcx
	movb	%dl, (%rax,%rcx)
	addl	$1, -28(%rbp)
.L16:
	movl	-28(%rbp), %eax
	cltq
	movzbl	-22(%rbp,%rax), %eax
	testb	%al, %al
	jne	.L17
	nop
	movq	-8(%rbp), %rax
	subq	%fs:40, %rax
	je	.L18
	call	__stack_chk_fail@PLT
.L18:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	E, .-E
	.globl	A
	.type	A, @function
A:
.LFB3:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movl	len(%rip), %eax
	subl	$1, %eax
	movl	%eax, -4(%rbp)
	movl	$0, -8(%rbp)
	jmp	.L20
.L21:
	movl	-8(%rbp), %eax
	cltq
	leaq	line(%rip), %rdx
	movzbl	(%rax,%rdx), %eax
	movb	%al, -9(%rbp)
	movl	-4(%rbp), %eax
	cltq
	leaq	line(%rip), %rdx
	movzbl	(%rax,%rdx), %edx
	movl	-8(%rbp), %eax
	cltq
	leaq	line(%rip), %rcx
	movb	%dl, (%rax,%rcx)
	movl	-4(%rbp), %eax
	cltq
	leaq	line(%rip), %rcx
	movzbl	-9(%rbp), %edx
	movb	%dl, (%rax,%rcx)
	addl	$1, -8(%rbp)
	subl	$1, -4(%rbp)
.L20:
	movl	-8(%rbp), %eax
	cmpl	-4(%rbp), %eax
	jl	.L21
	nop
	nop
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	A, .-A
	.globl	P
	.type	P, @function
P:
.LFB4:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$16, %rsp
	movl	$0, -4(%rbp)
	jmp	.L23
.L26:
	call	__ctype_b_loc@PLT
	movq	(%rax), %rcx
	movl	-4(%rbp), %eax
	cltq
	leaq	line(%rip), %rdx
	movzbl	(%rax,%rdx), %eax
	movsbq	%al, %rax
	addq	%rax, %rax
	addq	%rcx, %rax
	movzwl	(%rax), %eax
	movzwl	%ax, %eax
	andl	$2048, %eax
	testl	%eax, %eax
	je	.L24
	movl	-4(%rbp), %eax
	cltq
	leaq	line(%rip), %rdx
	movzbl	(%rax,%rdx), %eax
	cmpb	$48, %al
	jne	.L25
	movl	-4(%rbp), %eax
	cltq
	leaq	line(%rip), %rdx
	movb	$57, (%rax,%rdx)
	jmp	.L24
.L25:
	movl	-4(%rbp), %eax
	cltq
	leaq	line(%rip), %rdx
	movzbl	(%rax,%rdx), %eax
	subl	$1, %eax
	movl	%eax, %ecx
	movl	-4(%rbp), %eax
	cltq
	leaq	line(%rip), %rdx
	movb	%cl, (%rax,%rdx)
.L24:
	addl	$1, -4(%rbp)
.L23:
	movl	-4(%rbp), %eax
	cltq
	leaq	line(%rip), %rdx
	movzbl	(%rax,%rdx), %eax
	testb	%al, %al
	jne	.L26
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	P, .-P
	.globl	M
	.type	M, @function
M:
.LFB5:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$16, %rsp
	movl	$0, -4(%rbp)
	jmp	.L28
.L31:
	call	__ctype_b_loc@PLT
	movq	(%rax), %rcx
	movl	-4(%rbp), %eax
	cltq
	leaq	line(%rip), %rdx
	movzbl	(%rax,%rdx), %eax
	movsbq	%al, %rax
	addq	%rax, %rax
	addq	%rcx, %rax
	movzwl	(%rax), %eax
	movzwl	%ax, %eax
	andl	$2048, %eax
	testl	%eax, %eax
	je	.L29
	movl	-4(%rbp), %eax
	cltq
	leaq	line(%rip), %rdx
	movzbl	(%rax,%rdx), %eax
	cmpb	$57, %al
	jne	.L30
	movl	-4(%rbp), %eax
	cltq
	leaq	line(%rip), %rdx
	movb	$48, (%rax,%rdx)
	jmp	.L29
.L30:
	movl	-4(%rbp), %eax
	cltq
	leaq	line(%rip), %rdx
	movzbl	(%rax,%rdx), %eax
	addl	$1, %eax
	movl	%eax, %ecx
	movl	-4(%rbp), %eax
	cltq
	leaq	line(%rip), %rdx
	movb	%cl, (%rax,%rdx)
.L29:
	addl	$1, -4(%rbp)
.L28:
	movl	-4(%rbp), %eax
	cltq
	leaq	line(%rip), %rdx
	movzbl	(%rax,%rdx), %eax
	testb	%al, %al
	jne	.L31
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE5:
	.size	M, .-M
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"%s %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
	subq	$32, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-32(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -28(%rbp)
	jmp	.L33
.L44:
	leaq	-15(%rbp), %rax
	leaq	line(%rip), %rdx
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	leaq	line(%rip), %rax
	movq	%rax, %rdi
	call	strlen@PLT
	movl	%eax, len(%rip)
	leaq	-15(%rbp), %rax
	movq	%rax, %rdi
	call	strlen@PLT
	movl	%eax, -20(%rbp)
	movl	-20(%rbp), %eax
	subl	$1, %eax
	movl	%eax, -24(%rbp)
	jmp	.L34
.L43:
	movl	-24(%rbp), %eax
	cltq
	movzbl	-15(%rbp,%rax), %eax
	movsbl	%al, %eax
	subl	$65, %eax
	cmpl	$15, %eax
	ja	.L35
	movl	%eax, %eax
	leaq	0(,%rax,4), %rdx
	leaq	.L37(%rip), %rax
	movl	(%rdx,%rax), %eax
	cltq
	leaq	.L37(%rip), %rdx
	addq	%rdx, %rax
	notrack jmp	*%rax
	.section	.rodata
	.align 4
	.align 4
.L37:
	.long	.L42-.L37
	.long	.L35-.L37
	.long	.L41-.L37
	.long	.L35-.L37
	.long	.L40-.L37
	.long	.L35-.L37
	.long	.L35-.L37
	.long	.L35-.L37
	.long	.L35-.L37
	.long	.L39-.L37
	.long	.L35-.L37
	.long	.L35-.L37
	.long	.L38-.L37
	.long	.L35-.L37
	.long	.L35-.L37
	.long	.L36-.L37
	.text
.L39:
	call	J
	jmp	.L35
.L41:
	call	C
	jmp	.L35
.L40:
	call	E
	jmp	.L35
.L42:
	call	A
	jmp	.L35
.L36:
	call	P
	jmp	.L35
.L38:
	call	M
	nop
.L35:
	subl	$1, -24(%rbp)
.L34:
	cmpl	$0, -24(%rbp)
	jns	.L43
	leaq	line(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	addl	$1, -28(%rbp)
.L33:
	movl	-32(%rbp), %eax
	cmpl	%eax, -28(%rbp)
	jl	.L44
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L46
	call	__stack_chk_fail@PLT
.L46:
	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
	.p2align 4
	.globl	C
	.type	C, @function
C:
.LFB37:
	.cfi_startproc
	endbr64
	movzbl	1+line(%rip), %edx
	movzbl	line(%rip), %r8d
	leaq	line(%rip), %rdi
	testb	%dl, %dl
	je	.L4
	movl	$1, %esi
	movq	%rdi, %rax
	subl	%edi, %esi
	.p2align 4,,10
	.p2align 3
.L3:
	movb	%dl, (%rax)
	leal	(%rsi,%rax), %ecx
	movzbl	2(%rax), %edx
	addq	$1, %rax
	testb	%dl, %dl
	jne	.L3
	movslq	%ecx, %rcx
	movb	%r8b, (%rdi,%rcx)
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	xorl	%ecx, %ecx
	movslq	%ecx, %rcx
	movb	%r8b, (%rdi,%rcx)
	ret
	.cfi_endproc
.LFE37:
	.size	C, .-C
	.p2align 4
	.globl	J
	.type	J, @function
J:
.LFB38:
	.cfi_startproc
	endbr64
	movl	len(%rip), %ecx
	leaq	line(%rip), %rax
	pushq	%rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	leal	-1(%rcx), %esi
	movslq	%esi, %rsi
	movzbl	(%rax,%rsi), %ebx
	cmpl	$1, %ecx
	je	.L8
	leal	-2(%rcx), %edx
	movl	%edx, %ecx
	movslq	%edx, %rdx
	movq	%rdx, %rsi
	leaq	1(%rcx), %r8
	subq	%rcx, %rsi
	addq	%rax, %rsi
	subq	%rcx, %rax
	leaq	1(%rax,%rdx), %rdi
	movq	%r8, %rdx
	call	memmove@PLT
.L8:
	movb	%bl, line(%rip)
	popq	%rbx
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE38:
	.size	J, .-J
	.p2align 4
	.globl	E
	.type	E, @function
E:
.LFB39:
	.cfi_startproc
	endbr64
	pushq	%r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	pushq	%rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	subq	$32, %rsp
	.cfi_def_cfa_offset 64
	movl	len(%rip), %r12d
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	movl	%r12d, %ebx
	shrl	$31, %ebx
	addl	%r12d, %ebx
	sarl	%ebx
	cmpl	$1, %r12d
	jle	.L23
	leal	-1(%rbx), %edx
	leaq	line(%rip), %rbp
	addq	$1, %rdx
	leaq	10(%rsp), %rdi
	movq	%rbp, %rsi
	call	memcpy@PLT
	testl	%ebx, %ebx
	movl	$1, %eax
	cmovg	%ebx, %eax
.L14:
	cltq
	movb	$0, 10(%rsp,%rax)
	andl	$1, %r12d
	je	.L15
	addl	$1, %ebx
	movslq	%ebx, %rbx
	movzbl	0(%rbp,%rbx), %edx
	testb	%dl, %dl
	je	.L24
.L21:
	movl	$1, %eax
	leaq	-1+line(%rip), %rdi
	leaq	0(%rbp,%rbx), %rcx
	.p2align 4,,10
	.p2align 3
.L17:
	movb	%dl, (%rdi,%rax)
	movl	%eax, %esi
	addq	$1, %rax
	movzbl	-1(%rcx,%rax), %edx
	testb	%dl, %dl
	jne	.L17
	cmpl	$1, %r12d
	sbbl	$-1, %esi
.L18:
	movzbl	10(%rsp), %edx
	testb	%dl, %dl
	je	.L13
	movslq	%esi, %rcx
	leal	1(%rsi), %eax
	movb	%dl, 0(%rbp,%rcx)
	movzbl	11(%rsp), %ecx
	testb	%cl, %cl
	je	.L13
	cltq
	leal	2(%rsi), %edx
	movb	%cl, 0(%rbp,%rax)
	movzbl	12(%rsp), %ecx
	testb	%cl, %cl
	je	.L13
	movslq	%edx, %rdx
	leal	3(%rsi), %eax
	movb	%cl, 0(%rbp,%rdx)
	movzbl	13(%rsp), %ecx
	testb	%cl, %cl
	je	.L13
	cltq
	leal	4(%rsi), %edx
	movb	%cl, 0(%rbp,%rax)
	movzbl	14(%rsp), %ecx
	testb	%cl, %cl
	je	.L13
	movslq	%edx, %rdx
	leal	5(%rsi), %eax
	movb	%cl, 0(%rbp,%rdx)
	movzbl	15(%rsp), %ecx
	testb	%cl, %cl
	je	.L13
	cltq
	leal	6(%rsi), %edx
	movb	%cl, 0(%rbp,%rax)
	movzbl	16(%rsp), %ecx
	testb	%cl, %cl
	je	.L13
	movslq	%edx, %rdx
	leal	7(%rsi), %eax
	movb	%cl, 0(%rbp,%rdx)
	movzbl	17(%rsp), %ecx
	testb	%cl, %cl
	je	.L13
	cltq
	leal	8(%rsi), %edx
	movb	%cl, 0(%rbp,%rax)
	movzbl	18(%rsp), %ecx
	testb	%cl, %cl
	je	.L13
	movslq	%edx, %rdx
	leal	9(%rsi), %eax
	movb	%cl, 0(%rbp,%rdx)
	movzbl	19(%rsp), %ecx
	testb	%cl, %cl
	je	.L13
	cltq
	leal	10(%rsi), %edx
	movb	%cl, 0(%rbp,%rax)
	movzbl	20(%rsp), %ecx
	testb	%cl, %cl
	je	.L13
	movslq	%edx, %rdx
	leal	11(%rsi), %eax
	movb	%cl, 0(%rbp,%rdx)
	movzbl	21(%rsp), %edx
	testb	%dl, %dl
	je	.L13
	cltq
	addl	$12, %esi
	movb	%dl, 0(%rbp,%rax)
	movzbl	22(%rsp), %eax
	testb	%al, %al
	je	.L13
	movslq	%esi, %rsi
	movb	%al, 0(%rbp,%rsi)
.L13:
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L66
	addq	$32, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%rbp
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L15:
	.cfi_restore_state
	movslq	%ebx, %rbx
	xorl	%esi, %esi
	movzbl	0(%rbp,%rbx), %edx
	testb	%dl, %dl
	jne	.L21
	jmp	.L18
.L24:
	movl	$1, %esi
	jmp	.L18
	.p2align 4,,10
	.p2align 3
.L23:
	xorl	%eax, %eax
	leaq	line(%rip), %rbp
	jmp	.L14
.L66:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE39:
	.size	E, .-E
	.p2align 4
	.globl	A
	.type	A, @function
A:
.LFB40:
	.cfi_startproc
	endbr64
	movl	len(%rip), %eax
	subl	$1, %eax
	testl	%eax, %eax
	jle	.L67
	cltq
	xorl	%edx, %edx
	leaq	line(%rip), %rcx
	.p2align 4,,10
	.p2align 3
.L69:
	movzbl	(%rcx,%rdx), %esi
	movzbl	(%rcx,%rax), %edi
	movb	%dil, (%rcx,%rdx)
	addq	$1, %rdx
	movb	%sil, (%rcx,%rax)
	subq	$1, %rax
	cmpl	%eax, %edx
	jl	.L69
.L67:
	ret
	.cfi_endproc
.LFE40:
	.size	A, .-A
	.p2align 4
	.globl	P
	.type	P, @function
P:
.LFB41:
	.cfi_startproc
	endbr64
	pushq	%rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	movzbl	line(%rip), %ebx
	testb	%bl, %bl
	je	.L71
	call	__ctype_b_loc@PLT
	leaq	line(%rip), %rcx
	jmp	.L75
	.p2align 4,,10
	.p2align 3
.L74:
	subl	$1, %ebx
	movb	%bl, (%rcx)
.L73:
	movzbl	1(%rcx), %ebx
	addq	$1, %rcx
	testb	%bl, %bl
	je	.L71
.L75:
	movq	(%rax), %rsi
	movsbq	%bl, %rdx
	testb	$8, 1(%rsi,%rdx,2)
	je	.L73
	cmpb	$48, %bl
	jne	.L74
	movb	$57, (%rcx)
	movzbl	1(%rcx), %ebx
	addq	$1, %rcx
	testb	%bl, %bl
	jne	.L75
.L71:
	popq	%rbx
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE41:
	.size	P, .-P
	.p2align 4
	.globl	M
	.type	M, @function
M:
.LFB42:
	.cfi_startproc
	endbr64
	pushq	%rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	movzbl	line(%rip), %ebx
	testb	%bl, %bl
	je	.L84
	call	__ctype_b_loc@PLT
	leaq	line(%rip), %rcx
	jmp	.L88
	.p2align 4,,10
	.p2align 3
.L87:
	addl	$1, %ebx
	movb	%bl, (%rcx)
.L86:
	movzbl	1(%rcx), %ebx
	addq	$1, %rcx
	testb	%bl, %bl
	je	.L84
.L88:
	movq	(%rax), %rsi
	movsbq	%bl, %rdx
	testb	$8, 1(%rsi,%rdx,2)
	je	.L86
	cmpb	$57, %bl
	jne	.L87
	movb	$48, (%rcx)
	movzbl	1(%rcx), %ebx
	addq	$1, %rcx
	testb	%bl, %bl
	jne	.L88
.L84:
	popq	%rbx
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE42:
	.size	M, .-M
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"%s %s"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB43:
	.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
	leaq	line(%rip), %r14
	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
	movl	$1, %ebp
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subl	%r14d, %ebp
	leaq	.L103(%rip), %rbx
	subq	$56, %rsp
	.cfi_def_cfa_offset 112
	movq	%fs:40, %rax
	movq	%rax, 40(%rsp)
	xorl	%eax, %eax
	leaq	28(%rsp), %rsi
	leaq	33(%rsp), %r13
	call	__isoc99_scanf@PLT
	movl	28(%rsp), %eax
	testl	%eax, %eax
	jle	.L100
	.p2align 4,,10
	.p2align 3
.L98:
	movq	%r14, %rdx
	movq	%r13, %rsi
	leaq	.LC1(%rip), %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movq	%r14, %rdi
	call	strlen@PLT
	movq	%r13, %rdi
	movl	%eax, len(%rip)
	call	strlen@PLT
	subl	$1, %eax
	movslq	%eax, %r15
	cmpl	$-1, %eax
	je	.L124
	.p2align 4,,10
	.p2align 3
.L123:
	movzbl	0(%r13,%r15), %eax
	subl	$65, %eax
	cmpb	$15, %al
	ja	.L101
	movzbl	%al, %eax
	movslq	(%rbx,%rax,4), %rax
	addq	%rbx, %rax
	notrack jmp	*%rax
	.section	.rodata
	.align 4
	.align 4
.L103:
	.long	.L108-.L103
	.long	.L101-.L103
	.long	.L107-.L103
	.long	.L101-.L103
	.long	.L106-.L103
	.long	.L101-.L103
	.long	.L101-.L103
	.long	.L101-.L103
	.long	.L101-.L103
	.long	.L105-.L103
	.long	.L101-.L103
	.long	.L101-.L103
	.long	.L104-.L103
	.long	.L101-.L103
	.long	.L101-.L103
	.long	.L102-.L103
	.section	.text.startup
	.p2align 4,,10
	.p2align 3
.L105:
	movl	len(%rip), %edx
	leal	-1(%rdx), %esi
	leal	-2(%rdx), %eax
	movslq	%esi, %rsi
	movzbl	(%r14,%rsi), %r8d
	cmpl	$1, %edx
	je	.L113
	movl	%eax, %edx
	cltq
	movq	%r14, %rdi
	movb	%r8b, 15(%rsp)
	movq	%rax, %rsi
	leaq	1(%rdx), %r9
	subq	%rdx, %rdi
	subq	%rdx, %rsi
	leaq	1(%rdi,%rax), %rdi
	movq	%r9, %rdx
	addq	%r14, %rsi
	call	memmove@PLT
	movzbl	15(%rsp), %r8d
.L113:
	movb	%r8b, (%r14)
	.p2align 4,,10
	.p2align 3
.L101:
	subq	$1, %r15
	cmpl	$-1, %r15d
	jne	.L123
.L124:
	movq	%r14, %rdi
	addl	$1, %r12d
	call	puts@PLT
	cmpl	%r12d, 28(%rsp)
	jg	.L98
.L100:
	movq	40(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L145
	addq	$56, %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
	.p2align 4,,10
	.p2align 3
.L102:
	.cfi_restore_state
	movzbl	(%r14), %edx
	testb	%dl, %dl
	je	.L101
	movb	%dl, 15(%rsp)
	call	__ctype_b_loc@PLT
	movzbl	15(%rsp), %edx
	leaq	line(%rip), %rdi
	jmp	.L119
	.p2align 4,,10
	.p2align 3
.L118:
	subl	$1, %edx
	movb	%dl, (%rdi)
.L117:
	movzbl	1(%rdi), %edx
	addq	$1, %rdi
	testb	%dl, %dl
	je	.L101
.L119:
	movq	(%rax), %r8
	movsbq	%dl, %rsi
	testb	$8, 1(%r8,%rsi,2)
	je	.L117
	cmpb	$48, %dl
	jne	.L118
	movb	$57, (%rdi)
	jmp	.L117
	.p2align 4,,10
	.p2align 3
.L104:
	movzbl	(%r14), %edx
	testb	%dl, %dl
	je	.L101
	movb	%dl, 15(%rsp)
	call	__ctype_b_loc@PLT
	movzbl	15(%rsp), %edx
	leaq	line(%rip), %rdi
	jmp	.L122
	.p2align 4,,10
	.p2align 3
.L121:
	addl	$1, %edx
	movb	%dl, (%rdi)
.L120:
	movzbl	1(%rdi), %edx
	addq	$1, %rdi
	testb	%dl, %dl
	je	.L101
.L122:
	movq	(%rax), %r8
	movsbq	%dl, %rsi
	testb	$8, 1(%r8,%rsi,2)
	je	.L120
	cmpb	$57, %dl
	jne	.L121
	movb	$48, (%rdi)
	jmp	.L120
	.p2align 4,,10
	.p2align 3
.L106:
	call	E
	subq	$1, %r15
	cmpl	$-1, %r15d
	jne	.L123
	jmp	.L124
	.p2align 4,,10
	.p2align 3
.L107:
	movzbl	1+line(%rip), %edx
	movzbl	(%r14), %edi
	testb	%dl, %dl
	je	.L127
	leaq	line(%rip), %rax
	.p2align 4,,10
	.p2align 3
.L115:
	movb	%dl, (%rax)
	leal	0(%rbp,%rax), %esi
	movzbl	2(%rax), %edx
	addq	$1, %rax
	testb	%dl, %dl
	jne	.L115
	movslq	%esi, %rsi
	movb	%dil, (%r14,%rsi)
.L146:
	subq	$1, %r15
	cmpl	$-1, %r15d
	jne	.L123
	jmp	.L124
	.p2align 4,,10
	.p2align 3
.L108:
	movl	len(%rip), %eax
	subl	$1, %eax
	testl	%eax, %eax
	jle	.L101
	cltq
	xorl	%edx, %edx
	.p2align 4,,10
	.p2align 3
.L116:
	movzbl	(%r14,%rdx), %esi
	movzbl	(%r14,%rax), %edi
	movb	%dil, (%r14,%rdx)
	addq	$1, %rdx
	movb	%sil, (%r14,%rax)
	subq	$1, %rax
	cmpl	%eax, %edx
	jl	.L116
	subq	$1, %r15
	cmpl	$-1, %r15d
	jne	.L123
	jmp	.L124
	.p2align 4,,10
	.p2align 3
.L127:
	xorl	%esi, %esi
	movslq	%esi, %rsi
	movb	%dil, (%r14,%rsi)
	jmp	.L146
.L145:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE43:
	.size	main, .-main
	.globl	line
	.bss
	.align 16
	.type	line, @object
	.size	line, 26
line:
	.zero	26
	.globl	len
	.align 4
	.type	len, @object
	.size	len, 4
len:
	.zero	4
	.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
	.p2align 4
	.globl	C
	.type	C, @function
C:
.LFB37:
	.cfi_startproc
	endbr64
	movzbl	1+line(%rip), %edx
	movzbl	line(%rip), %r8d
	leaq	line(%rip), %rdi
	testb	%dl, %dl
	je	.L4
	movl	$1, %esi
	movq	%rdi, %rax
	subl	%edi, %esi
	.p2align 4,,10
	.p2align 3
.L3:
	movb	%dl, (%rax)
	leal	(%rsi,%rax), %ecx
	movzbl	2(%rax), %edx
	addq	$1, %rax
	testb	%dl, %dl
	jne	.L3
	movslq	%ecx, %rcx
	movb	%r8b, (%rdi,%rcx)
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	xorl	%ecx, %ecx
	movslq	%ecx, %rcx
	movb	%r8b, (%rdi,%rcx)
	ret
	.cfi_endproc
.LFE37:
	.size	C, .-C
	.p2align 4
	.globl	J
	.type	J, @function
J:
.LFB38:
	.cfi_startproc
	endbr64
	movl	len(%rip), %ecx
	leaq	line(%rip), %rax
	pushq	%rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	leal	-1(%rcx), %esi
	movslq	%esi, %rsi
	movzbl	(%rax,%rsi), %ebx
	cmpl	$1, %ecx
	je	.L8
	leal	-2(%rcx), %edx
	movl	%edx, %ecx
	movslq	%edx, %rdx
	movq	%rdx, %rsi
	leaq	1(%rcx), %r8
	subq	%rcx, %rsi
	addq	%rax, %rsi
	subq	%rcx, %rax
	leaq	1(%rax,%rdx), %rdi
	movq	%r8, %rdx
	call	memmove@PLT
.L8:
	movb	%bl, line(%rip)
	popq	%rbx
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE38:
	.size	J, .-J
	.p2align 4
	.globl	E
	.type	E, @function
E:
.LFB39:
	.cfi_startproc
	endbr64
	pushq	%r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	pushq	%rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	subq	$32, %rsp
	.cfi_def_cfa_offset 64
	movl	len(%rip), %r12d
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	movl	%r12d, %ebx
	shrl	$31, %ebx
	addl	%r12d, %ebx
	sarl	%ebx
	cmpl	$1, %r12d
	jle	.L23
	leal	-1(%rbx), %edx
	leaq	line(%rip), %rbp
	addq	$1, %rdx
	leaq	10(%rsp), %rdi
	movq	%rbp, %rsi
	call	memcpy@PLT
	testl	%ebx, %ebx
	movl	$1, %eax
	cmovg	%ebx, %eax
.L14:
	cltq
	movb	$0, 10(%rsp,%rax)
	andl	$1, %r12d
	je	.L15
	addl	$1, %ebx
	movslq	%ebx, %rbx
	movzbl	0(%rbp,%rbx), %edx
	testb	%dl, %dl
	je	.L24
.L21:
	movl	$1, %eax
	leaq	-1+line(%rip), %rdi
	leaq	0(%rbp,%rbx), %rcx
	.p2align 4,,10
	.p2align 3
.L17:
	movb	%dl, (%rdi,%rax)
	movl	%eax, %esi
	addq	$1, %rax
	movzbl	-1(%rcx,%rax), %edx
	testb	%dl, %dl
	jne	.L17
	cmpl	$1, %r12d
	sbbl	$-1, %esi
.L18:
	movzbl	10(%rsp), %edx
	testb	%dl, %dl
	je	.L13
	movslq	%esi, %rcx
	leal	1(%rsi), %eax
	movb	%dl, 0(%rbp,%rcx)
	movzbl	11(%rsp), %ecx
	testb	%cl, %cl
	je	.L13
	cltq
	leal	2(%rsi), %edx
	movb	%cl, 0(%rbp,%rax)
	movzbl	12(%rsp), %ecx
	testb	%cl, %cl
	je	.L13
	movslq	%edx, %rdx
	leal	3(%rsi), %eax
	movb	%cl, 0(%rbp,%rdx)
	movzbl	13(%rsp), %ecx
	testb	%cl, %cl
	je	.L13
	cltq
	leal	4(%rsi), %edx
	movb	%cl, 0(%rbp,%rax)
	movzbl	14(%rsp), %ecx
	testb	%cl, %cl
	je	.L13
	movslq	%edx, %rdx
	leal	5(%rsi), %eax
	movb	%cl, 0(%rbp,%rdx)
	movzbl	15(%rsp), %ecx
	testb	%cl, %cl
	je	.L13
	cltq
	leal	6(%rsi), %edx
	movb	%cl, 0(%rbp,%rax)
	movzbl	16(%rsp), %ecx
	testb	%cl, %cl
	je	.L13
	movslq	%edx, %rdx
	leal	7(%rsi), %eax
	movb	%cl, 0(%rbp,%rdx)
	movzbl	17(%rsp), %ecx
	testb	%cl, %cl
	je	.L13
	cltq
	leal	8(%rsi), %edx
	movb	%cl, 0(%rbp,%rax)
	movzbl	18(%rsp), %ecx
	testb	%cl, %cl
	je	.L13
	movslq	%edx, %rdx
	leal	9(%rsi), %eax
	movb	%cl, 0(%rbp,%rdx)
	movzbl	19(%rsp), %ecx
	testb	%cl, %cl
	je	.L13
	cltq
	leal	10(%rsi), %edx
	movb	%cl, 0(%rbp,%rax)
	movzbl	20(%rsp), %ecx
	testb	%cl, %cl
	je	.L13
	movslq	%edx, %rdx
	leal	11(%rsi), %eax
	movb	%cl, 0(%rbp,%rdx)
	movzbl	21(%rsp), %edx
	testb	%dl, %dl
	je	.L13
	cltq
	addl	$12, %esi
	movb	%dl, 0(%rbp,%rax)
	movzbl	22(%rsp), %eax
	testb	%al, %al
	je	.L13
	movslq	%esi, %rsi
	movb	%al, 0(%rbp,%rsi)
.L13:
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L66
	addq	$32, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%rbp
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L15:
	.cfi_restore_state
	movslq	%ebx, %rbx
	xorl	%esi, %esi
	movzbl	0(%rbp,%rbx), %edx
	testb	%dl, %dl
	jne	.L21
	jmp	.L18
.L24:
	movl	$1, %esi
	jmp	.L18
	.p2align 4,,10
	.p2align 3
.L23:
	xorl	%eax, %eax
	leaq	line(%rip), %rbp
	jmp	.L14
.L66:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE39:
	.size	E, .-E
	.p2align 4
	.globl	A
	.type	A, @function
A:
.LFB40:
	.cfi_startproc
	endbr64
	movl	len(%rip), %eax
	subl	$1, %eax
	testl	%eax, %eax
	jle	.L67
	cltq
	xorl	%edx, %edx
	leaq	line(%rip), %rcx
	.p2align 4,,10
	.p2align 3
.L69:
	movzbl	(%rcx,%rdx), %esi
	movzbl	(%rcx,%rax), %edi
	movb	%dil, (%rcx,%rdx)
	addq	$1, %rdx
	movb	%sil, (%rcx,%rax)
	subq	$1, %rax
	cmpl	%eax, %edx
	jl	.L69
.L67:
	ret
	.cfi_endproc
.LFE40:
	.size	A, .-A
	.p2align 4
	.globl	P
	.type	P, @function
P:
.LFB41:
	.cfi_startproc
	endbr64
	pushq	%rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	movzbl	line(%rip), %ebx
	testb	%bl, %bl
	je	.L71
	call	__ctype_b_loc@PLT
	leaq	line(%rip), %rcx
	jmp	.L75
	.p2align 4,,10
	.p2align 3
.L74:
	subl	$1, %ebx
	movb	%bl, (%rcx)
.L73:
	movzbl	1(%rcx), %ebx
	addq	$1, %rcx
	testb	%bl, %bl
	je	.L71
.L75:
	movq	(%rax), %rsi
	movsbq	%bl, %rdx
	testb	$8, 1(%rsi,%rdx,2)
	je	.L73
	cmpb	$48, %bl
	jne	.L74
	movb	$57, (%rcx)
	movzbl	1(%rcx), %ebx
	addq	$1, %rcx
	testb	%bl, %bl
	jne	.L75
.L71:
	popq	%rbx
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE41:
	.size	P, .-P
	.p2align 4
	.globl	M
	.type	M, @function
M:
.LFB42:
	.cfi_startproc
	endbr64
	pushq	%rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	movzbl	line(%rip), %ebx
	testb	%bl, %bl
	je	.L84
	call	__ctype_b_loc@PLT
	leaq	line(%rip), %rcx
	jmp	.L88
	.p2align 4,,10
	.p2align 3
.L87:
	addl	$1, %ebx
	movb	%bl, (%rcx)
.L86:
	movzbl	1(%rcx), %ebx
	addq	$1, %rcx
	testb	%bl, %bl
	je	.L84
.L88:
	movq	(%rax), %rsi
	movsbq	%bl, %rdx
	testb	$8, 1(%rsi,%rdx,2)
	je	.L86
	cmpb	$57, %bl
	jne	.L87
	movb	$48, (%rcx)
	movzbl	1(%rcx), %ebx
	addq	$1, %rcx
	testb	%bl, %bl
	jne	.L88
.L84:
	popq	%rbx
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE42:
	.size	M, .-M
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"%s %s"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB43:
	.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
	leaq	line(%rip), %r14
	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
	movl	$1, %ebp
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subl	%r14d, %ebp
	leaq	.L103(%rip), %rbx
	subq	$56, %rsp
	.cfi_def_cfa_offset 112
	movq	%fs:40, %rax
	movq	%rax, 40(%rsp)
	xorl	%eax, %eax
	leaq	28(%rsp), %rsi
	leaq	33(%rsp), %r13
	call	__isoc99_scanf@PLT
	movl	28(%rsp), %eax
	testl	%eax, %eax
	jle	.L100
	.p2align 4,,10
	.p2align 3
.L98:
	movq	%r14, %rdx
	movq	%r13, %rsi
	leaq	.LC1(%rip), %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movq	%r14, %rdi
	call	strlen@PLT
	movq	%r13, %rdi
	movl	%eax, len(%rip)
	call	strlen@PLT
	subl	$1, %eax
	movslq	%eax, %r15
	cmpl	$-1, %eax
	je	.L124
	.p2align 4,,10
	.p2align 3
.L123:
	movzbl	0(%r13,%r15), %eax
	subl	$65, %eax
	cmpb	$15, %al
	ja	.L101
	movzbl	%al, %eax
	movslq	(%rbx,%rax,4), %rax
	addq	%rbx, %rax
	notrack jmp	*%rax
	.section	.rodata
	.align 4
	.align 4
.L103:
	.long	.L108-.L103
	.long	.L101-.L103
	.long	.L107-.L103
	.long	.L101-.L103
	.long	.L106-.L103
	.long	.L101-.L103
	.long	.L101-.L103
	.long	.L101-.L103
	.long	.L101-.L103
	.long	.L105-.L103
	.long	.L101-.L103
	.long	.L101-.L103
	.long	.L104-.L103
	.long	.L101-.L103
	.long	.L101-.L103
	.long	.L102-.L103
	.section	.text.startup
	.p2align 4,,10
	.p2align 3
.L105:
	movl	len(%rip), %edx
	leal	-1(%rdx), %esi
	leal	-2(%rdx), %eax
	movslq	%esi, %rsi
	movzbl	(%r14,%rsi), %r8d
	cmpl	$1, %edx
	je	.L113
	movl	%eax, %edx
	cltq
	movq	%r14, %rdi
	movb	%r8b, 15(%rsp)
	movq	%rax, %rsi
	leaq	1(%rdx), %r9
	subq	%rdx, %rdi
	subq	%rdx, %rsi
	leaq	1(%rdi,%rax), %rdi
	movq	%r9, %rdx
	addq	%r14, %rsi
	call	memmove@PLT
	movzbl	15(%rsp), %r8d
.L113:
	movb	%r8b, (%r14)
	.p2align 4,,10
	.p2align 3
.L101:
	subq	$1, %r15
	cmpl	$-1, %r15d
	jne	.L123
.L124:
	movq	%r14, %rdi
	addl	$1, %r12d
	call	puts@PLT
	cmpl	%r12d, 28(%rsp)
	jg	.L98
.L100:
	movq	40(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L145
	addq	$56, %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
	.p2align 4,,10
	.p2align 3
.L102:
	.cfi_restore_state
	movzbl	(%r14), %edx
	testb	%dl, %dl
	je	.L101
	movb	%dl, 15(%rsp)
	call	__ctype_b_loc@PLT
	movzbl	15(%rsp), %edx
	leaq	line(%rip), %rdi
	jmp	.L119
	.p2align 4,,10
	.p2align 3
.L118:
	subl	$1, %edx
	movb	%dl, (%rdi)
.L117:
	movzbl	1(%rdi), %edx
	addq	$1, %rdi
	testb	%dl, %dl
	je	.L101
.L119:
	movq	(%rax), %r8
	movsbq	%dl, %rsi
	testb	$8, 1(%r8,%rsi,2)
	je	.L117
	cmpb	$48, %dl
	jne	.L118
	movb	$57, (%rdi)
	jmp	.L117
	.p2align 4,,10
	.p2align 3
.L104:
	movzbl	(%r14), %edx
	testb	%dl, %dl
	je	.L101
	movb	%dl, 15(%rsp)
	call	__ctype_b_loc@PLT
	movzbl	15(%rsp), %edx
	leaq	line(%rip), %rdi
	jmp	.L122
	.p2align 4,,10
	.p2align 3
.L121:
	addl	$1, %edx
	movb	%dl, (%rdi)
.L120:
	movzbl	1(%rdi), %edx
	addq	$1, %rdi
	testb	%dl, %dl
	je	.L101
.L122:
	movq	(%rax), %r8
	movsbq	%dl, %rsi
	testb	$8, 1(%r8,%rsi,2)
	je	.L120
	cmpb	$57, %dl
	jne	.L121
	movb	$48, (%rdi)
	jmp	.L120
	.p2align 4,,10
	.p2align 3
.L106:
	call	E
	subq	$1, %r15
	cmpl	$-1, %r15d
	jne	.L123
	jmp	.L124
	.p2align 4,,10
	.p2align 3
.L107:
	movzbl	1+line(%rip), %edx
	movzbl	(%r14), %edi
	testb	%dl, %dl
	je	.L127
	leaq	line(%rip), %rax
	.p2align 4,,10
	.p2align 3
.L115:
	movb	%dl, (%rax)
	leal	0(%rbp,%rax), %esi
	movzbl	2(%rax), %edx
	addq	$1, %rax
	testb	%dl, %dl
	jne	.L115
	movslq	%esi, %rsi
	movb	%dil, (%r14,%rsi)
.L146:
	subq	$1, %r15
	cmpl	$-1, %r15d
	jne	.L123
	jmp	.L124
	.p2align 4,,10
	.p2align 3
.L108:
	movl	len(%rip), %eax
	subl	$1, %eax
	testl	%eax, %eax
	jle	.L101
	cltq
	xorl	%edx, %edx
	.p2align 4,,10
	.p2align 3
.L116:
	movzbl	(%r14,%rdx), %esi
	movzbl	(%r14,%rax), %edi
	movb	%dil, (%r14,%rdx)
	addq	$1, %rdx
	movb	%sil, (%r14,%rax)
	subq	$1, %rax
	cmpl	%eax, %edx
	jl	.L116
	subq	$1, %r15
	cmpl	$-1, %r15d
	jne	.L123
	jmp	.L124
	.p2align 4,,10
	.p2align 3
.L127:
	xorl	%esi, %esi
	movslq	%esi, %rsi
	movb	%dil, (%r14,%rsi)
	jmp	.L146
.L145:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE43:
	.size	main, .-main
	.globl	line
	.bss
	.align 16
	.type	line, @object
	.size	line, 26
line:
	.zero	26
	.globl	len
	.align 4
	.type	len, @object
	.size	len, 4
len:
	.zero	4
	.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 <string.h>
#include <ctype.h>
int len;
char line[26];
void C(void){
    char temp=line[0];
    int i=1;
    while(line[i]){
        line[i-1]=line[i];
        i++;
    }
    line[i-1]=temp;
}
void J(void){
    int i=len-2;
    char temp=line[len-1];
    while(i!=-1){
        line[i+1]=line[i];
        i--;
    }
    line[0]=temp;
}
void E(void){
    int t=0,i;
    char temp1[14];
    for(i=0;i<len/2;i++)
        temp1[i]=line[i];
    temp1[i]=0;
    len%2?(i=len/2+1):(i=len/2);
    for(;line[i];i++){
        line[t++]=line[i];
    }
    len%2?(t++):(t=t);
    for(i=0;temp1[i];i++)
        line[t++]=temp1[i];
}
void A(void){
    int i,len1=len-1;
    char temp;
    for(i=0;i<len1;i++,len1--){
        temp=line[i];
        line[i]=line[len1];
        line[len1]=temp;
    }
}
void P(void){
    int i=0;
    while(line[i]){
        if(isdigit(line[i])){
            if(line[i] == '0')
                line[i]='9';
            else
                line[i]--;
        }
        i++;
    }
}
void M(void){
    int i=0;
    while(line[i]){
        if(isdigit(line[i])){
            if(line[i]=='9')
                line[i]='0';
            else
                line[i]++;
        }
        i++;
    }
}
int main(void){
    int num,i,o,len1;
    char ope[7];
    scanf("%d",&num);
    for(i=0;i<num;i++){
        scanf("%s %s",ope,line);
        len=strlen(line);
        len1=strlen(ope);
        for(o=len1-1;o>=0;o--){
            switch(ope[o]){
                case 'J':J();break;
                case 'C':C();break;
                case 'E':E();break;
                case 'A':A();break;
                case 'P':P();break;
                case 'M':M();break;
            }
        }
        puts(line);
    }
    return 0;
}
5
AJMP
aB33d
E
86AE
AM
6
JPEM
WaEaETC302Q
CP
rTurnAGundam1isdefferentf
 5
AJMP
aB33d
E
86AE
AM
6
EPJM
WaEaETC302Q
CP
rTurnAGundam1isdefferentf
 5
AJMP
aB33d
E
86AE
AM
0
EPJM
WaEaETC302Q
CP
rTurnAGundam1isdefferentf
 5
AJMP
aB33d
E
86AE
AM
0
MPJE
WaEaETC302Q
CP
rTurnAGundam1isdefferentf
 5
AJMP
aB33d
E
86AE
AM
0
MPJE
WaEaETC302Q
CP
rTurnAGumdam1isdefferentf
 5
AJMP
aB33d
E
86AE
AM
1
MPJE
WaEaETC302Q
CP
rTurnAGumdam1isdefferentf
 5
AJMP
aB23d
E
EA68
AM
6
JPEM
WaEaETC302Q
CP
rTurnAGundam1isdefferentf
 5
AJMP
aB33d
E
EA68
AM
6
JPEM
WaEaETC302Q
CP
rTurnAGundam1isdefferentf
 5
AJMP
aB33d
E
86AE
AM
1
EPJM
WaEaETC302Q
CP
rTurnAGundam1isdefferentf
 5
AJMP
aB33d
E
86AE
AM
-1
MPJE
WaEaETC302Q
CP
rTurnAGumdam1isdefferentf

33Bad
AE86
7
EC302QTWaEa
TurnAGundam0isdefferentfr
 33Bad
AE86
7
TC302EQWaEa
TurnAGundam0isdefferentfr
 33Bad
AE86
1
TC302EQWaEa
TurnAGundam0isdefferentfr
 33Bad
AE86
1
EC302QTWaEa
TurnAGundam0isdefferentfr
 33Bad
AE86
1
EC302QTWaEa
TurnAGumdam0isdefferentfr
 33Bad
AE86
2
EC302QTWaEa
TurnAGumdam0isdefferentfr
 32Bad
68EA
7
EC302QTWaEa
TurnAGundam0isdefferentfr
 33Bad
68EA
7
EC302QTWaEa
TurnAGundam0isdefferentfr
 33Bad
AE86
2
TC302EQWaEa
TurnAGundam0isdefferentfr
 33Bad
AE86
2-
EC302QTWaEa
TurnAGumdam0isdefferentfr

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 <string.h>
#include <ctype.h>
int len;
char line[26];
void C(void){
    char temp=line[0];
    int i=1;
    while(line[i]){
        line[i-1]=line[i];
        i++;
    }
    line[i-1]=temp;
}
void J(void){
    int i=len-2;
    char temp=line[len-1];
    while(i!=-1){
        line[i+1]=line[i];
        i--;
    }
    line[0]=temp;
}
void E(void){
    int t=0,i;
    char temp1[14];
    for(i=0;i<len/2;i++)
        temp1[i]=line[i];
    temp1[i]=0;
    len%2?(i=len/2+1):(i=len/2);
    for(;line[i];i++){
        line[t++]=line[i];
    }
    len%2?(t++):(t=t);
    for(i=0;temp1[i];i++)
        line[t++]=temp1[i];
}
void A(void){
    int i,len1=len-1;
    char temp;
    for(i=0;i<len1;i++,len1--){
        temp=line[i];
        line[i]=line[len1];
        line[len1]=temp;
    }
}
void P(void){
    int i=0;
    while(line[i]){
        if(isdigit(line[i])){
            if(line[i] == '0')
                line[i]='9';
            else
                line[i]--;
        }
        i++;
    }
}
void M(void){
    int i=0;
    while(line[i]){
        if(isdigit(line[i])){
            if(line[i]=='9')
                line[i]='0';
            else
                line[i]++;
        }
        i++;
    }
}
int main(void){
    int num,i,o,len1;
    char ope[7];
    scanf("%d",&num);
    for(i=0;i<num;i++){
        scanf("%s %s",ope,line);
        len=strlen(line);
        len1=strlen(ope);
        for(o=len1-1;o>=0;o--){
            switch(ope[o]){
                case 'J':J();break;
                case 'C':C();break;
                case 'E':E();break;
                case 'A':A();break;
                case 'P':P();break;
                case 'M':M();break;
            }
        }
        puts(line);
    }
    return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	len
	.bss
	.align 4
	.type	len, @object
	.size	len, 4
len:
	.zero	4
	.globl	line
	.align 16
	.type	line, @object
	.size	line, 26
line:
	.zero	26
	.text
	.globl	C
	.type	C, @function
C:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movzbl	line(%rip), %eax
	movb	%al, -5(%rbp)
	movl	$1, -4(%rbp)
	jmp	.L2
.L3:
	movl	-4(%rbp), %eax
	leal	-1(%rax), %ecx
	movl	-4(%rbp), %eax
	cltq
	leaq	line(%rip), %rdx
	movzbl	(%rax,%rdx), %edx
	movslq	%ecx, %rax
	leaq	line(%rip), %rcx
	movb	%dl, (%rax,%rcx)
	addl	$1, -4(%rbp)
.L2:
	movl	-4(%rbp), %eax
	cltq
	leaq	line(%rip), %rdx
	movzbl	(%rax,%rdx), %eax
	testb	%al, %al
	jne	.L3
	movl	-4(%rbp), %eax
	subl	$1, %eax
	cltq
	leaq	line(%rip), %rcx
	movzbl	-5(%rbp), %edx
	movb	%dl, (%rax,%rcx)
	nop
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	C, .-C
	.globl	J
	.type	J, @function
J:
.LFB1:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movl	len(%rip), %eax
	subl	$2, %eax
	movl	%eax, -4(%rbp)
	movl	len(%rip), %eax
	subl	$1, %eax
	cltq
	leaq	line(%rip), %rdx
	movzbl	(%rax,%rdx), %eax
	movb	%al, -5(%rbp)
	jmp	.L5
.L6:
	movl	-4(%rbp), %eax
	leal	1(%rax), %ecx
	movl	-4(%rbp), %eax
	cltq
	leaq	line(%rip), %rdx
	movzbl	(%rax,%rdx), %edx
	movslq	%ecx, %rax
	leaq	line(%rip), %rcx
	movb	%dl, (%rax,%rcx)
	subl	$1, -4(%rbp)
.L5:
	cmpl	$-1, -4(%rbp)
	jne	.L6
	movzbl	-5(%rbp), %eax
	movb	%al, line(%rip)
	nop
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	J, .-J
	.globl	E
	.type	E, @function
E:
.LFB2:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$32, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movl	$0, -32(%rbp)
	movl	$0, -28(%rbp)
	jmp	.L8
.L9:
	movl	-28(%rbp), %eax
	cltq
	leaq	line(%rip), %rdx
	movzbl	(%rax,%rdx), %edx
	movl	-28(%rbp), %eax
	cltq
	movb	%dl, -22(%rbp,%rax)
	addl	$1, -28(%rbp)
.L8:
	movl	len(%rip), %eax
	movl	%eax, %edx
	shrl	$31, %edx
	addl	%edx, %eax
	sarl	%eax
	cmpl	%eax, -28(%rbp)
	jl	.L9
	movl	-28(%rbp), %eax
	cltq
	movb	$0, -22(%rbp,%rax)
	movl	len(%rip), %eax
	andl	$1, %eax
	testl	%eax, %eax
	je	.L10
	movl	len(%rip), %eax
	movl	%eax, %edx
	shrl	$31, %edx
	addl	%edx, %eax
	sarl	%eax
	addl	$1, %eax
	movl	%eax, -28(%rbp)
	jmp	.L12
.L10:
	movl	len(%rip), %eax
	movl	%eax, %edx
	shrl	$31, %edx
	addl	%edx, %eax
	sarl	%eax
	movl	%eax, -28(%rbp)
	jmp	.L12
.L13:
	movl	-32(%rbp), %eax
	leal	1(%rax), %edx
	movl	%edx, -32(%rbp)
	movl	-28(%rbp), %edx
	movslq	%edx, %rdx
	leaq	line(%rip), %rcx
	movzbl	(%rdx,%rcx), %edx
	cltq
	leaq	line(%rip), %rcx
	movb	%dl, (%rax,%rcx)
	addl	$1, -28(%rbp)
.L12:
	movl	-28(%rbp), %eax
	cltq
	leaq	line(%rip), %rdx
	movzbl	(%rax,%rdx), %eax
	testb	%al, %al
	jne	.L13
	movl	len(%rip), %eax
	andl	$1, %eax
	testl	%eax, %eax
	je	.L15
	movl	-32(%rbp), %eax
	addl	$1, %eax
	movl	%eax, -32(%rbp)
.L15:
	movl	$0, -28(%rbp)
	jmp	.L16
.L17:
	movl	-32(%rbp), %eax
	leal	1(%rax), %edx
	movl	%edx, -32(%rbp)
	movl	-28(%rbp), %edx
	movslq	%edx, %rdx
	movzbl	-22(%rbp,%rdx), %edx
	cltq
	leaq	line(%rip), %rcx
	movb	%dl, (%rax,%rcx)
	addl	$1, -28(%rbp)
.L16:
	movl	-28(%rbp), %eax
	cltq
	movzbl	-22(%rbp,%rax), %eax
	testb	%al, %al
	jne	.L17
	nop
	movq	-8(%rbp), %rax
	subq	%fs:40, %rax
	je	.L18
	call	__stack_chk_fail@PLT
.L18:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	E, .-E
	.globl	A
	.type	A, @function
A:
.LFB3:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movl	len(%rip), %eax
	subl	$1, %eax
	movl	%eax, -4(%rbp)
	movl	$0, -8(%rbp)
	jmp	.L20
.L21:
	movl	-8(%rbp), %eax
	cltq
	leaq	line(%rip), %rdx
	movzbl	(%rax,%rdx), %eax
	movb	%al, -9(%rbp)
	movl	-4(%rbp), %eax
	cltq
	leaq	line(%rip), %rdx
	movzbl	(%rax,%rdx), %edx
	movl	-8(%rbp), %eax
	cltq
	leaq	line(%rip), %rcx
	movb	%dl, (%rax,%rcx)
	movl	-4(%rbp), %eax
	cltq
	leaq	line(%rip), %rcx
	movzbl	-9(%rbp), %edx
	movb	%dl, (%rax,%rcx)
	addl	$1, -8(%rbp)
	subl	$1, -4(%rbp)
.L20:
	movl	-8(%rbp), %eax
	cmpl	-4(%rbp), %eax
	jl	.L21
	nop
	nop
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	A, .-A
	.globl	P
	.type	P, @function
P:
.LFB4:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$16, %rsp
	movl	$0, -4(%rbp)
	jmp	.L23
.L26:
	call	__ctype_b_loc@PLT
	movq	(%rax), %rcx
	movl	-4(%rbp), %eax
	cltq
	leaq	line(%rip), %rdx
	movzbl	(%rax,%rdx), %eax
	movsbq	%al, %rax
	addq	%rax, %rax
	addq	%rcx, %rax
	movzwl	(%rax), %eax
	movzwl	%ax, %eax
	andl	$2048, %eax
	testl	%eax, %eax
	je	.L24
	movl	-4(%rbp), %eax
	cltq
	leaq	line(%rip), %rdx
	movzbl	(%rax,%rdx), %eax
	cmpb	$48, %al
	jne	.L25
	movl	-4(%rbp), %eax
	cltq
	leaq	line(%rip), %rdx
	movb	$57, (%rax,%rdx)
	jmp	.L24
.L25:
	movl	-4(%rbp), %eax
	cltq
	leaq	line(%rip), %rdx
	movzbl	(%rax,%rdx), %eax
	subl	$1, %eax
	movl	%eax, %ecx
	movl	-4(%rbp), %eax
	cltq
	leaq	line(%rip), %rdx
	movb	%cl, (%rax,%rdx)
.L24:
	addl	$1, -4(%rbp)
.L23:
	movl	-4(%rbp), %eax
	cltq
	leaq	line(%rip), %rdx
	movzbl	(%rax,%rdx), %eax
	testb	%al, %al
	jne	.L26
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	P, .-P
	.globl	M
	.type	M, @function
M:
.LFB5:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$16, %rsp
	movl	$0, -4(%rbp)
	jmp	.L28
.L31:
	call	__ctype_b_loc@PLT
	movq	(%rax), %rcx
	movl	-4(%rbp), %eax
	cltq
	leaq	line(%rip), %rdx
	movzbl	(%rax,%rdx), %eax
	movsbq	%al, %rax
	addq	%rax, %rax
	addq	%rcx, %rax
	movzwl	(%rax), %eax
	movzwl	%ax, %eax
	andl	$2048, %eax
	testl	%eax, %eax
	je	.L29
	movl	-4(%rbp), %eax
	cltq
	leaq	line(%rip), %rdx
	movzbl	(%rax,%rdx), %eax
	cmpb	$57, %al
	jne	.L30
	movl	-4(%rbp), %eax
	cltq
	leaq	line(%rip), %rdx
	movb	$48, (%rax,%rdx)
	jmp	.L29
.L30:
	movl	-4(%rbp), %eax
	cltq
	leaq	line(%rip), %rdx
	movzbl	(%rax,%rdx), %eax
	addl	$1, %eax
	movl	%eax, %ecx
	movl	-4(%rbp), %eax
	cltq
	leaq	line(%rip), %rdx
	movb	%cl, (%rax,%rdx)
.L29:
	addl	$1, -4(%rbp)
.L28:
	movl	-4(%rbp), %eax
	cltq
	leaq	line(%rip), %rdx
	movzbl	(%rax,%rdx), %eax
	testb	%al, %al
	jne	.L31
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE5:
	.size	M, .-M
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"%s %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
	subq	$32, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-32(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -28(%rbp)
	jmp	.L33
.L44:
	leaq	-15(%rbp), %rax
	leaq	line(%rip), %rdx
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	leaq	line(%rip), %rax
	movq	%rax, %rdi
	call	strlen@PLT
	movl	%eax, len(%rip)
	leaq	-15(%rbp), %rax
	movq	%rax, %rdi
	call	strlen@PLT
	movl	%eax, -20(%rbp)
	movl	-20(%rbp), %eax
	subl	$1, %eax
	movl	%eax, -24(%rbp)
	jmp	.L34
.L43:
	movl	-24(%rbp), %eax
	cltq
	movzbl	-15(%rbp,%rax), %eax
	movsbl	%al, %eax
	subl	$65, %eax
	cmpl	$15, %eax
	ja	.L35
	movl	%eax, %eax
	leaq	0(,%rax,4), %rdx
	leaq	.L37(%rip), %rax
	movl	(%rdx,%rax), %eax
	cltq
	leaq	.L37(%rip), %rdx
	addq	%rdx, %rax
	notrack jmp	*%rax
	.section	.rodata
	.align 4
	.align 4
.L37:
	.long	.L42-.L37
	.long	.L35-.L37
	.long	.L41-.L37
	.long	.L35-.L37
	.long	.L40-.L37
	.long	.L35-.L37
	.long	.L35-.L37
	.long	.L35-.L37
	.long	.L35-.L37
	.long	.L39-.L37
	.long	.L35-.L37
	.long	.L35-.L37
	.long	.L38-.L37
	.long	.L35-.L37
	.long	.L35-.L37
	.long	.L36-.L37
	.text
.L39:
	call	J
	jmp	.L35
.L41:
	call	C
	jmp	.L35
.L40:
	call	E
	jmp	.L35
.L42:
	call	A
	jmp	.L35
.L36:
	call	P
	jmp	.L35
.L38:
	call	M
	nop
.L35:
	subl	$1, -24(%rbp)
.L34:
	cmpl	$0, -24(%rbp)
	jns	.L43
	leaq	line(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	addl	$1, -28(%rbp)
.L33:
	movl	-32(%rbp), %eax
	cmpl	%eax, -28(%rbp)
	jl	.L44
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L46
	call	__stack_chk_fail@PLT
.L46:
	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.
train
	.file	"temp.c"
	.text
	.globl	len
	.bss
	.align 4
	.type	len, @object
	.size	len, 4
len:
	.zero	4
	.globl	line
	.align 16
	.type	line, @object
	.size	line, 26
line:
	.zero	26
	.text
	.globl	C
	.type	C, @function
C:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movzbl	line(%rip), %eax
	movb	%al, -5(%rbp)
	movl	$1, -4(%rbp)
	jmp	.L2
.L3:
	movl	-4(%rbp), %eax
	leal	-1(%rax), %ecx
	movl	-4(%rbp), %eax
	cltq
	leaq	line(%rip), %rdx
	movzbl	(%rax,%rdx), %edx
	movslq	%ecx, %rax
	leaq	line(%rip), %rcx
	movb	%dl, (%rax,%rcx)
	addl	$1, -4(%rbp)
.L2:
	movl	-4(%rbp), %eax
	cltq
	leaq	line(%rip), %rdx
	movzbl	(%rax,%rdx), %eax
	testb	%al, %al
	jne	.L3
	movl	-4(%rbp), %eax
	subl	$1, %eax
	cltq
	leaq	line(%rip), %rcx
	movzbl	-5(%rbp), %edx
	movb	%dl, (%rax,%rcx)
	nop
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	C, .-C
	.globl	J
	.type	J, @function
J:
.LFB1:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movl	len(%rip), %eax
	subl	$2, %eax
	movl	%eax, -4(%rbp)
	movl	len(%rip), %eax
	subl	$1, %eax
	cltq
	leaq	line(%rip), %rdx
	movzbl	(%rax,%rdx), %eax
	movb	%al, -5(%rbp)
	jmp	.L5
.L6:
	movl	-4(%rbp), %eax
	leal	1(%rax), %ecx
	movl	-4(%rbp), %eax
	cltq
	leaq	line(%rip), %rdx
	movzbl	(%rax,%rdx), %edx
	movslq	%ecx, %rax
	leaq	line(%rip), %rcx
	movb	%dl, (%rax,%rcx)
	subl	$1, -4(%rbp)
.L5:
	cmpl	$-1, -4(%rbp)
	jne	.L6
	movzbl	-5(%rbp), %eax
	movb	%al, line(%rip)
	nop
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	J, .-J
	.globl	E
	.type	E, @function
E:
.LFB2:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$32, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movl	$0, -32(%rbp)
	movl	$0, -28(%rbp)
	jmp	.L8
.L9:
	movl	-28(%rbp), %eax
	cltq
	leaq	line(%rip), %rdx
	movzbl	(%rax,%rdx), %edx
	movl	-28(%rbp), %eax
	cltq
	movb	%dl, -22(%rbp,%rax)
	addl	$1, -28(%rbp)
.L8:
	movl	len(%rip), %eax
	movl	%eax, %edx
	shrl	$31, %edx
	addl	%edx, %eax
	sarl	%eax
	cmpl	%eax, -28(%rbp)
	jl	.L9
	movl	-28(%rbp), %eax
	cltq
	movb	$0, -22(%rbp,%rax)
	movl	len(%rip), %eax
	andl	$1, %eax
	testl	%eax, %eax
	je	.L10
	movl	len(%rip), %eax
	movl	%eax, %edx
	shrl	$31, %edx
	addl	%edx, %eax
	sarl	%eax
	addl	$1, %eax
	movl	%eax, -28(%rbp)
	jmp	.L12
.L10:
	movl	len(%rip), %eax
	movl	%eax, %edx
	shrl	$31, %edx
	addl	%edx, %eax
	sarl	%eax
	movl	%eax, -28(%rbp)
	jmp	.L12
.L13:
	movl	-32(%rbp), %eax
	leal	1(%rax), %edx
	movl	%edx, -32(%rbp)
	movl	-28(%rbp), %edx
	movslq	%edx, %rdx
	leaq	line(%rip), %rcx
	movzbl	(%rdx,%rcx), %edx
	cltq
	leaq	line(%rip), %rcx
	movb	%dl, (%rax,%rcx)
	addl	$1, -28(%rbp)
.L12:
	movl	-28(%rbp), %eax
	cltq
	leaq	line(%rip), %rdx
	movzbl	(%rax,%rdx), %eax
	testb	%al, %al
	jne	.L13
	movl	len(%rip), %eax
	andl	$1, %eax
	testl	%eax, %eax
	je	.L15
	movl	-32(%rbp), %eax
	addl	$1, %eax
	movl	%eax, -32(%rbp)
.L15:
	movl	$0, -28(%rbp)
	jmp	.L16
.L17:
	movl	-32(%rbp), %eax
	leal	1(%rax), %edx
	movl	%edx, -32(%rbp)
	movl	-28(%rbp), %edx
	movslq	%edx, %rdx
	movzbl	-22(%rbp,%rdx), %edx
	cltq
	leaq	line(%rip), %rcx
	movb	%dl, (%rax,%rcx)
	addl	$1, -28(%rbp)
.L16:
	movl	-28(%rbp), %eax
	cltq
	movzbl	-22(%rbp,%rax), %eax
	testb	%al, %al
	jne	.L17
	nop
	movq	-8(%rbp), %rax
	subq	%fs:40, %rax
	je	.L18
	call	__stack_chk_fail@PLT
.L18:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	E, .-E
	.globl	A
	.type	A, @function
A:
.LFB3:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movl	len(%rip), %eax
	subl	$1, %eax
	movl	%eax, -4(%rbp)
	movl	$0, -8(%rbp)
	jmp	.L20
.L21:
	movl	-8(%rbp), %eax
	cltq
	leaq	line(%rip), %rdx
	movzbl	(%rax,%rdx), %eax
	movb	%al, -9(%rbp)
	movl	-4(%rbp), %eax
	cltq
	leaq	line(%rip), %rdx
	movzbl	(%rax,%rdx), %edx
	movl	-8(%rbp), %eax
	cltq
	leaq	line(%rip), %rcx
	movb	%dl, (%rax,%rcx)
	movl	-4(%rbp), %eax
	cltq
	leaq	line(%rip), %rcx
	movzbl	-9(%rbp), %edx
	movb	%dl, (%rax,%rcx)
	addl	$1, -8(%rbp)
	subl	$1, -4(%rbp)
.L20:
	movl	-8(%rbp), %eax
	cmpl	-4(%rbp), %eax
	jl	.L21
	nop
	nop
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	A, .-A
	.globl	P
	.type	P, @function
P:
.LFB4:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$16, %rsp
	movl	$0, -4(%rbp)
	jmp	.L23
.L26:
	call	__ctype_b_loc@PLT
	movq	(%rax), %rcx
	movl	-4(%rbp), %eax
	cltq
	leaq	line(%rip), %rdx
	movzbl	(%rax,%rdx), %eax
	movsbq	%al, %rax
	addq	%rax, %rax
	addq	%rcx, %rax
	movzwl	(%rax), %eax
	movzwl	%ax, %eax
	andl	$2048, %eax
	testl	%eax, %eax
	je	.L24
	movl	-4(%rbp), %eax
	cltq
	leaq	line(%rip), %rdx
	movzbl	(%rax,%rdx), %eax
	cmpb	$48, %al
	jne	.L25
	movl	-4(%rbp), %eax
	cltq
	leaq	line(%rip), %rdx
	movb	$57, (%rax,%rdx)
	jmp	.L24
.L25:
	movl	-4(%rbp), %eax
	cltq
	leaq	line(%rip), %rdx
	movzbl	(%rax,%rdx), %eax
	subl	$1, %eax
	movl	%eax, %ecx
	movl	-4(%rbp), %eax
	cltq
	leaq	line(%rip), %rdx
	movb	%cl, (%rax,%rdx)
.L24:
	addl	$1, -4(%rbp)
.L23:
	movl	-4(%rbp), %eax
	cltq
	leaq	line(%rip), %rdx
	movzbl	(%rax,%rdx), %eax
	testb	%al, %al
	jne	.L26
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	P, .-P
	.globl	M
	.type	M, @function
M:
.LFB5:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$16, %rsp
	movl	$0, -4(%rbp)
	jmp	.L28
.L31:
	call	__ctype_b_loc@PLT
	movq	(%rax), %rcx
	movl	-4(%rbp), %eax
	cltq
	leaq	line(%rip), %rdx
	movzbl	(%rax,%rdx), %eax
	movsbq	%al, %rax
	addq	%rax, %rax
	addq	%rcx, %rax
	movzwl	(%rax), %eax
	movzwl	%ax, %eax
	andl	$2048, %eax
	testl	%eax, %eax
	je	.L29
	movl	-4(%rbp), %eax
	cltq
	leaq	line(%rip), %rdx
	movzbl	(%rax,%rdx), %eax
	cmpb	$57, %al
	jne	.L30
	movl	-4(%rbp), %eax
	cltq
	leaq	line(%rip), %rdx
	movb	$48, (%rax,%rdx)
	jmp	.L29
.L30:
	movl	-4(%rbp), %eax
	cltq
	leaq	line(%rip), %rdx
	movzbl	(%rax,%rdx), %eax
	addl	$1, %eax
	movl	%eax, %ecx
	movl	-4(%rbp), %eax
	cltq
	leaq	line(%rip), %rdx
	movb	%cl, (%rax,%rdx)
.L29:
	addl	$1, -4(%rbp)
.L28:
	movl	-4(%rbp), %eax
	cltq
	leaq	line(%rip), %rdx
	movzbl	(%rax,%rdx), %eax
	testb	%al, %al
	jne	.L31
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE5:
	.size	M, .-M
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"%s %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
	subq	$32, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-32(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -28(%rbp)
	jmp	.L33
.L44:
	leaq	-15(%rbp), %rax
	leaq	line(%rip), %rdx
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	leaq	line(%rip), %rax
	movq	%rax, %rdi
	call	strlen@PLT
	movl	%eax, len(%rip)
	leaq	-15(%rbp), %rax
	movq	%rax, %rdi
	call	strlen@PLT
	movl	%eax, -20(%rbp)
	movl	-20(%rbp), %eax
	subl	$1, %eax
	movl	%eax, -24(%rbp)
	jmp	.L34
.L43:
	movl	-24(%rbp), %eax
	cltq
	movzbl	-15(%rbp,%rax), %eax
	movsbl	%al, %eax
	subl	$65, %eax
	cmpl	$15, %eax
	ja	.L35
	movl	%eax, %eax
	leaq	0(,%rax,4), %rdx
	leaq	.L37(%rip), %rax
	movl	(%rdx,%rax), %eax
	cltq
	leaq	.L37(%rip), %rdx
	addq	%rdx, %rax
	notrack jmp	*%rax
	.section	.rodata
	.align 4
	.align 4
.L37:
	.long	.L42-.L37
	.long	.L35-.L37
	.long	.L41-.L37
	.long	.L35-.L37
	.long	.L40-.L37
	.long	.L35-.L37
	.long	.L35-.L37
	.long	.L35-.L37
	.long	.L35-.L37
	.long	.L39-.L37
	.long	.L35-.L37
	.long	.L35-.L37
	.long	.L38-.L37
	.long	.L35-.L37
	.long	.L35-.L37
	.long	.L36-.L37
	.text
.L39:
	call	J
	jmp	.L35
.L41:
	call	C
	jmp	.L35
.L40:
	call	E
	jmp	.L35
.L42:
	call	A
	jmp	.L35
.L36:
	call	P
	jmp	.L35
.L38:
	call	M
	nop
.L35:
	subl	$1, -24(%rbp)
.L34:
	cmpl	$0, -24(%rbp)
	jns	.L43
	leaq	line(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	addl	$1, -28(%rbp)
.L33:
	movl	-32(%rbp), %eax
	cmpl	%eax, -28(%rbp)
	jl	.L44
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L46
	call	__stack_chk_fail@PLT
.L46:
	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:
