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

```c
#include<stdio.h>
#include<string.h>

void change(char *str){
    int len=strlen(str);
    int i;
    for(i=0;i<len;i++){
        if('a'<=str[i]&&str[i]<='z'){
            str[i]-=32;
        }
    }
}

int main(){
    char t[10000];
    char key[10000];
    char eofstr[]={"END_OF_TEXT"};
    int ans=0;

    scanf("%s",key);
    change(key);

    while(1){
        scanf("%s",t);
        if(strcmp(t,eofstr)==0){
            break;
        }
        change(t);
        if(strcmp(t,key)==0){
            ans++;
        }
    }

printf("%d\n",ans);
return 0;
}
```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.p2align 4
	.globl	change
	.type	change, @function
change:
.LFB35:
	.cfi_startproc
	endbr64
	pushq	%rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	movq	%rdi, %rbx
	call	strlen@PLT
	testl	%eax, %eax
	jle	.L1
	subl	$1, %eax
	movq	%rbx, %rdi
	leaq	1(%rbx,%rax), %rcx
	.p2align 4,,10
	.p2align 3
.L4:
	movzbl	(%rdi), %eax
	leal	-97(%rax), %edx
	cmpb	$25, %dl
	ja	.L3
	subl	$32, %eax
	movb	%al, (%rdi)
.L3:
	addq	$1, %rdi
	cmpq	%rcx, %rdi
	jne	.L4
.L1:
	popq	%rbx
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE35:
	.size	change, .-change
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%s"
.LC1:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB36:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	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
	leaq	-16384(%rsp), %r11
	.cfi_def_cfa 11, 16440
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$3656, %rsp
	.cfi_def_cfa_offset 20096
	leaq	.LC0(%rip), %r13
	xorl	%r12d, %r12d
	movq	%r13, %rdi
	movq	%fs:40, %rax
	movq	%rax, 20024(%rsp)
	movabsq	$6079655328688131653, %rax
	leaq	16(%rsp), %r15
	leaq	4(%rsp), %rbx
	movl	$5527621, 12(%rsp)
	leaq	10016(%rsp), %rbp
	leaq	17(%rsp), %r14
	movq	%rbp, %rsi
	movq	%rax, 4(%rsp)
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movq	%rbp, %rdi
	call	change
	.p2align 4,,10
	.p2align 3
.L9:
	movq	%r15, %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movq	(%rbx), %rax
	cmpq	%rax, (%r15)
	je	.L24
.L10:
	movq	%r15, %rdi
	call	strlen@PLT
	testq	%rax, %rax
	je	.L13
	leal	-1(%rax), %esi
	movq	%r15, %rdx
	addq	%r14, %rsi
	.p2align 4,,10
	.p2align 3
.L15:
	movzbl	(%rdx), %eax
	leal	-97(%rax), %ecx
	cmpb	$25, %cl
	ja	.L14
	subl	$32, %eax
	movb	%al, (%rdx)
.L14:
	addq	$1, %rdx
	cmpq	%rsi, %rdx
	jne	.L15
.L13:
	movq	%rbp, %rsi
	movq	%r15, %rdi
	call	strcmp@PLT
	cmpl	$1, %eax
	adcl	$0, %r12d
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L24:
	movl	8(%rbx), %eax
	cmpl	%eax, 8(%r15)
	jne	.L10
	xorl	%eax, %eax
	movl	%r12d, %edx
	movl	$1, %edi
	leaq	.LC1(%rip), %rsi
	call	__printf_chk@PLT
	movq	20024(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L25
	addq	$20040, %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
.L25:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE36:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	1f - 0f
	.long	4f - 1f
	.long	5
0:
	.string	"GNU"
1:
	.align 8
	.long	0xc0000002
	.long	3f - 2f
2:
	.long	0x3
3:
	.align 8
4:
```

Only output the optimized assembly code. Do not include any other text. Do not write any comments in the assembly code. Wrap the assembly code in ```assembly``` tags.
Optimized Assembly Code:

user
```assembly
	.file	"temp.c"
	.text
	.p2align 4
	.globl	change
	.type	change, @function
change:
.LFB35:
	.cfi_startproc
	endbr64
	pushq	%rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	movq	%rdi, %rbx
	call	strlen@PLT
	testl	%eax, %eax
	jle	.L1
	subl	$1, %eax
	movq	%rbx, %rdi
	leaq	1(%rbx,%rax), %rcx
	.p2align 4,,10
	.p2align 3
.L4:
	movzbl	(%rdi), %eax
	leal	-97(%rax), %edx
	cmpb	$25, %dl
	ja	.L3
	subl	$32, %eax
	movb	%al, (%rdi)
.L3:
	addq	$1, %rdi
	cmpq	%rcx, %rdi
	jne	.L4
.L1:
	popq	%rbx
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE35:
	.size	change, .-change
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%s"
.LC1:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB36:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	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
	leaq	-16384(%rsp), %r11
	.cfi_def_cfa 11, 16440
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$3656, %rsp
	.cfi_def_cfa_offset 20096
	leaq	.LC0(%rip), %r13
	xorl	%r12d, %r12d
	movq	%r13, %rdi
	movq	%fs:40, %rax
	movq	%rax, 20024(%rsp)
	movabsq	$6079655328688131653, %rax
	leaq	16(%rsp), %r15
	leaq	4(%rsp), %rbx
	movl	$5527621, 12(%rsp)
	leaq	10016(%rsp), %rbp
	leaq	17(%rsp), %r14
	movq	%rbp, %rsi
	movq	%rax, 4(%rsp)
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movq	%rbp, %rdi
	call	change
	.p2align 4,,10
	.p2align 3
.L9:
	movq	%r15, %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movq	(%rbx), %rax
	cmpq	%rax, (%r15)
	je	.L24
.L10:
	movq	%r15, %rdi
	call	strlen@PLT
	testq	%rax, %rax
	je	.L13
	leal	-1(%rax), %esi
	movq	%r15, %rdx
	addq	%r14, %rsi
	.p2align 4,,10
	.p2align 3
.L15:
	movzbl	(%rdx), %eax
	leal	-97(%rax), %ecx
	cmpb	$25, %cl
	ja	.L14
	subl	$32, %eax
	movb	%al, (%rdx)
.L14:
	addq	$1, %rdx
	cmpq	%rsi, %rdx
	jne	.L15
.L13:
	movq	%rbp, %rsi
	movq	%r15, %rdi
	call	strcmp@PLT
	cmpl	$1, %eax
	adcl	$0, %r12d
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L24:
	movl	8(%rbx), %eax
	cmpl	%eax, 8(%r15)
	jne	.L10
	xorl	%eax, %eax
	movl	%r12d, %edx
	movl	$1, %edi
	leaq	.LC1(%rip), %rsi
	call	__printf_chk@PLT
	movq	20024(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L25
	addq	$20040, %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
.L25:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE36:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	1f - 0f
	.long	4f - 1f
	.long	5
0:
	.string	"GNU"
1:
	.align 8
	.long	0xc0000002
	.long	3f - 2f
2:
	.long	0x3
3:
	.align 8
4:
```
rule
```assembly
	.file	"temp.c"
	.text
	.p2align 4
	.globl	change
	.type	change, @function
change:
.LFB35:
	.cfi_startproc
	endbr64
	pushq	%rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	movq	%rdi, %rbx
	call	strlen@PLT
	testl	%eax, %eax
	jle	.L1
	subl	$1, %eax
	movq	%rbx, %rdi
	leaq	1(%rbx,%rax), %rcx
	.p2align 4,,10
	.p2align 3
.L4:
	movzbl	(%rdi), %eax
	leal	-97(%rax), %edx
	cmpb	$25, %dl
	ja	.L3
	subl	$32, %eax
	movb	%al, (%rdi)
.L3:
	addq	$1, %rdi
	cmpq	%rcx, %rdi
	jne	.L4
.L1:
	popq	%rbx
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE35:
	.size	change, .-change
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%s"
.LC1:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB36:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	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
	leaq	-16384(%rsp), %r11
	.cfi_def_cfa 11, 16440
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$3656, %rsp
	.cfi_def_cfa_offset 20096
	leaq	.LC0(%rip), %r13
	xorl	%r12d, %r12d
	movq	%r13, %rdi
	movq	%fs:40, %rax
	movq	%rax, 20024(%rsp)
	movabsq	$6079655328688131653, %rax
	leaq	16(%rsp), %r15
	leaq	4(%rsp), %rbx
	movl	$5527621, 12(%rsp)
	leaq	10016(%rsp), %rbp
	leaq	17(%rsp), %r14
	movq	%rbp, %rsi
	movq	%rax, 4(%rsp)
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movq	%rbp, %rdi
	call	change
	.p2align 4,,10
	.p2align 3
.L9:
	movq	%r15, %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movq	(%rbx), %rax
	cmpq	%rax, (%r15)
	je	.L24
.L10:
	movq	%r15, %rdi
	call	strlen@PLT
	testq	%rax, %rax
	je	.L13
	leal	-1(%rax), %esi
	movq	%r15, %rdx
	addq	%r14, %rsi
	.p2align 4,,10
	.p2align 3
.L15:
	movzbl	(%rdx), %eax
	leal	-97(%rax), %ecx
	cmpb	$25, %cl
	ja	.L14
	subl	$32, %eax
	movb	%al, (%rdx)
.L14:
	addq	$1, %rdx
	cmpq	%rsi, %rdx
	jne	.L15
.L13:
	movq	%rbp, %rsi
	movq	%r15, %rdi
	call	strcmp@PLT
	cmpl	$1, %eax
	adcl	$0, %r12d
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L24:
	movl	8(%rbx), %eax
	cmpl	%eax, 8(%r15)
	jne	.L10
	xorl	%eax, %eax
	movl	%r12d, %edx
	movl	$1, %edi
	leaq	.LC1(%rip), %rsi
	call	__printf_chk@PLT
	movq	20024(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L25
	addq	$20040, %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
.L25:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE36:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	1f - 0f
	.long	4f - 1f
	.long	5
0:
	.string	"GNU"
1:
	.align 8
	.long	0xc0000002
	.long	3f - 2f
2:
	.long	0x3
3:
	.align 8
4:
```
```c
#include<stdio.h>
#include<string.h>

void change(char *str){
    int len=strlen(str);
    int i;
    for(i=0;i<len;i++){
        if('a'<=str[i]&&str[i]<='z'){
            str[i]-=32;
        }
    }
}

int main(){
    char t[10000];
    char key[10000];
    char eofstr[]={"END_OF_TEXT"};
    int ans=0;

    scanf("%s",key);
    change(key);

    while(1){
        scanf("%s",t);
        if(strcmp(t,eofstr)==0){
            break;
        }
        change(t);
        if(strcmp(t,key)==0){
            ans++;
        }
    }

printf("%d\n",ans);
return 0;
}
```
Given the following C code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
#include<stdio.h>
#include<string.h>

void change(char *str){
    int len=strlen(str);
    int i;
    for(i=0;i<len;i++){
        if('a'<=str[i]&&str[i]<='z'){
            str[i]-=32;
        }
    }
}

int main(){
    char t[10000];
    char key[10000];
    char eofstr[]={"END_OF_TEXT"};
    int ans=0;

    scanf("%s",key);
    change(key);

    while(1){
        scanf("%s",t);
        if(strcmp(t,eofstr)==0){
            break;
        }
        change(t);
        if(strcmp(t,key)==0){
            ans++;
        }
    }

printf("%d\n",ans);
return 0;
}
```

Only output the optimized assembly code. Do not include any other text. Do not write any comments in the assembly code. Wrap the assembly code in ```assembly``` tags.
Optimized Assembly Code:

computer
Nurtures computer scientists and highly-skilled computer engineers
who will create and exploit "knowledge" for the enw era.
Provides an outstanding computer environment.
END_OF_TEXT
 comquter
Nurtures computer scientists and highly-skilled computer engineers
who will create and tiolpxe "knowledge" for the enw era.
Provides an outstanding computer environment.
END_OF_TEXT
 computer
Nurtures computer scientists and highly-skilled computes engineers
who will create and exploit "knowledge" for the enw era.
Provides an outstanding computer environment.
END_OF_TEXT
 comquter
Nurtures computer stsitneics and highly-skilked computer engineers
who wilk create and tiolpxe "knowledge" for the enw era.
Provides an sutotanding comquter environment.
END_OF_TEXT
 computer
Nurtures computer scientists and highly-skilled computer engineers
who will create and tiolpxe "knowledge" for the enw era.
Provides an outstanding computer environment.
END_OF_TEXT
 comquter
Nurtures computer scientists and highly-skilled computer engineers
who will create and tiolpxe "knowledge" for the enw era.
Provides an sutotanding computer environment.
END_OF_TEXT
 comquter
Nurtures computer scientists and highlx-skilled computer engineers
who will create and tiolpxe "knowledge" for the enw era.
Provides an sutotanding computer environment.
END_OF_TEXT
 comquter
Nurtures computer scientists and highlx-skilled computer engineers
who will create and tiolpxe "knowledge" for the enw era.
Provides an sutotanding ctmpuoer environment.
END_OF_TEXT
 comquter
serutruN computer scientists and highlx-skilled computer engineers
who will create and tiolpxe "knowledge" for the enw era.
Provides an sutotanding ctmpuoer environment.
END_OF_TEXT
 comquter
serutruN computer scientists aod highlx-skilled computer engineers
who will create and tiolpxe "knowledge" for the enw era.
Provides an sutotanding ctmpuoer environment.
END_OF_TEXT

3
 0
 2
 1
 3
 0
 0
 0
 0
 0

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

```c
#include<stdio.h>
#include<string.h>

void change(char *str){
    int len=strlen(str);
    int i;
    for(i=0;i<len;i++){
        if('a'<=str[i]&&str[i]<='z'){
            str[i]-=32;
        }
    }
}

int main(){
    char t[10000];
    char key[10000];
    char eofstr[]={"END_OF_TEXT"};
    int ans=0;

    scanf("%s",key);
    change(key);

    while(1){
        scanf("%s",t);
        if(strcmp(t,eofstr)==0){
            break;
        }
        change(t);
        if(strcmp(t,key)==0){
            ans++;
        }
    }

printf("%d\n",ans);
return 0;
}
```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.p2align 4
	.globl	change
	.type	change, @function
change:
.LFB35:
	.cfi_startproc
	endbr64
	pushq	%rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	movq	%rdi, %rbx
	call	strlen@PLT
	testl	%eax, %eax
	jle	.L1
	subl	$1, %eax
	movq	%rbx, %rdi
	leaq	1(%rbx,%rax), %rcx
	.p2align 4,,10
	.p2align 3
.L4:
	movzbl	(%rdi), %eax
	leal	-97(%rax), %edx
	cmpb	$25, %dl
	ja	.L3
	subl	$32, %eax
	movb	%al, (%rdi)
.L3:
	addq	$1, %rdi
	cmpq	%rcx, %rdi
	jne	.L4
.L1:
	popq	%rbx
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE35:
	.size	change, .-change
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%s"
.LC1:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB36:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	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
	leaq	-16384(%rsp), %r11
	.cfi_def_cfa 11, 16440
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$3656, %rsp
	.cfi_def_cfa_offset 20096
	leaq	.LC0(%rip), %r13
	xorl	%r12d, %r12d
	movq	%r13, %rdi
	movq	%fs:40, %rax
	movq	%rax, 20024(%rsp)
	movabsq	$6079655328688131653, %rax
	leaq	16(%rsp), %r15
	leaq	4(%rsp), %rbx
	movl	$5527621, 12(%rsp)
	leaq	10016(%rsp), %rbp
	leaq	17(%rsp), %r14
	movq	%rbp, %rsi
	movq	%rax, 4(%rsp)
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movq	%rbp, %rdi
	call	change
	.p2align 4,,10
	.p2align 3
.L9:
	movq	%r15, %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movq	(%rbx), %rax
	cmpq	%rax, (%r15)
	je	.L24
.L10:
	movq	%r15, %rdi
	call	strlen@PLT
	testq	%rax, %rax
	je	.L13
	leal	-1(%rax), %esi
	movq	%r15, %rdx
	addq	%r14, %rsi
	.p2align 4,,10
	.p2align 3
.L15:
	movzbl	(%rdx), %eax
	leal	-97(%rax), %ecx
	cmpb	$25, %cl
	ja	.L14
	subl	$32, %eax
	movb	%al, (%rdx)
.L14:
	addq	$1, %rdx
	cmpq	%rsi, %rdx
	jne	.L15
.L13:
	movq	%rbp, %rsi
	movq	%r15, %rdi
	call	strcmp@PLT
	cmpl	$1, %eax
	adcl	$0, %r12d
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L24:
	movl	8(%rbx), %eax
	cmpl	%eax, 8(%r15)
	jne	.L10
	xorl	%eax, %eax
	movl	%r12d, %edx
	movl	$1, %edi
	leaq	.LC1(%rip), %rsi
	call	__printf_chk@PLT
	movq	20024(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L25
	addq	$20040, %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
.L25:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE36:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	1f - 0f
	.long	4f - 1f
	.long	5
0:
	.string	"GNU"
1:
	.align 8
	.long	0xc0000002
	.long	3f - 2f
2:
	.long	0x3
3:
	.align 8
4:
```

Only output the optimized assembly code. Do not include any other text. Do not write any comments in the assembly code. Wrap the assembly code in ```assembly``` tags.
Optimized Assembly Code:

train
```assembly
	.file	"temp.c"
	.text
	.p2align 4
	.globl	change
	.type	change, @function
change:
.LFB35:
	.cfi_startproc
	endbr64
	pushq	%rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	movq	%rdi, %rbx
	call	strlen@PLT
	testl	%eax, %eax
	jle	.L1
	subl	$1, %eax
	movq	%rbx, %rdi
	leaq	1(%rbx,%rax), %rcx
	.p2align 4,,10
	.p2align 3
.L4:
	movzbl	(%rdi), %eax
	leal	-97(%rax), %edx
	cmpb	$25, %dl
	ja	.L3
	subl	$32, %eax
	movb	%al, (%rdi)
.L3:
	addq	$1, %rdi
	cmpq	%rcx, %rdi
	jne	.L4
.L1:
	popq	%rbx
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE35:
	.size	change, .-change
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%s"
.LC1:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB36:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	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
	leaq	-16384(%rsp), %r11
	.cfi_def_cfa 11, 16440
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$3656, %rsp
	.cfi_def_cfa_offset 20096
	leaq	.LC0(%rip), %r13
	xorl	%r12d, %r12d
	movq	%r13, %rdi
	movq	%fs:40, %rax
	movq	%rax, 20024(%rsp)
	movabsq	$6079655328688131653, %rax
	leaq	16(%rsp), %r15
	leaq	4(%rsp), %rbx
	movl	$5527621, 12(%rsp)
	leaq	10016(%rsp), %rbp
	leaq	17(%rsp), %r14
	movq	%rbp, %rsi
	movq	%rax, 4(%rsp)
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movq	%rbp, %rdi
	call	change
	.p2align 4,,10
	.p2align 3
.L9:
	movq	%r15, %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movq	(%rbx), %rax
	cmpq	%rax, (%r15)
	je	.L24
.L10:
	movq	%r15, %rdi
	call	strlen@PLT
	testq	%rax, %rax
	je	.L13
	leal	-1(%rax), %esi
	movq	%r15, %rdx
	addq	%r14, %rsi
	.p2align 4,,10
	.p2align 3
.L15:
	movzbl	(%rdx), %eax
	leal	-97(%rax), %ecx
	cmpb	$25, %cl
	ja	.L14
	subl	$32, %eax
	movb	%al, (%rdx)
.L14:
	addq	$1, %rdx
	cmpq	%rsi, %rdx
	jne	.L15
.L13:
	movq	%rbp, %rsi
	movq	%r15, %rdi
	call	strcmp@PLT
	cmpl	$1, %eax
	adcl	$0, %r12d
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L24:
	movl	8(%rbx), %eax
	cmpl	%eax, 8(%r15)
	jne	.L10
	xorl	%eax, %eax
	movl	%r12d, %edx
	movl	$1, %edi
	leaq	.LC1(%rip), %rsi
	call	__printf_chk@PLT
	movq	20024(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L25
	addq	$20040, %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
.L25:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE36:
	.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:
```