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>

char CompareCharacter(char* a_acS);

int main(void) {
	static char s_acS[100001];

	//文字列Sに入るアルファベットを入力
	scanf("%s", s_acS);
	//Sに現れない最も早いアルファベットを調べ、出力
	if (CompareCharacter(s_acS) != 0x30) {
		printf("%c\n", CompareCharacter(s_acS));
	}
	else {
		printf("None\n");
	}
	return 0;
}

char CompareCharacter(char* a_acS) {
	int i,j;
	char acChar[27];
	char cAlp = 0x30;

	for (i = 0;i < 27;i++) {
		acChar[i] = 0x61 +(char)(0x01*i);
	}

	for (i = 0;a_acS[i] != 0x00;i++) {
		for (j = 0;j < 26;j++) {
			if (a_acS[i] == acChar[j]) {
				acChar[j] = 0x30;
			}
			else {}
		}
	}

	for (i = 0;(cAlp == 0x30 )&& i < 26;i++) {
		cAlp = acChar[i];
	}

	return(cAlp);
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%s"
.LC1:
	.string	"%c\n"
.LC2:
	.string	"None"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	leaq	s_acS.0(%rip), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	leaq	s_acS.0(%rip), %rax
	movq	%rax, %rdi
	call	CompareCharacter
	cmpb	$48, %al
	je	.L2
	leaq	s_acS.0(%rip), %rax
	movq	%rax, %rdi
	call	CompareCharacter
	movsbl	%al, %eax
	movl	%eax, %esi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	jmp	.L3
.L2:
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
.L3:
	movl	$0, %eax
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	CompareCharacter
	.type	CompareCharacter, @function
CompareCharacter:
.LFB1:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$80, %rsp
	movq	%rdi, -72(%rbp)
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movb	$48, -57(%rbp)
	movl	$0, -56(%rbp)
	jmp	.L6
.L7:
	movl	-56(%rbp), %eax
	addl	$97, %eax
	movl	%eax, %edx
	movl	-56(%rbp), %eax
	cltq
	movb	%dl, -48(%rbp,%rax)
	addl	$1, -56(%rbp)
.L6:
	cmpl	$26, -56(%rbp)
	jle	.L7
	movl	$0, -56(%rbp)
	jmp	.L8
.L12:
	movl	$0, -52(%rbp)
	jmp	.L9
.L11:
	movl	-56(%rbp), %eax
	movslq	%eax, %rdx
	movq	-72(%rbp), %rax
	addq	%rdx, %rax
	movzbl	(%rax), %edx
	movl	-52(%rbp), %eax
	cltq
	movzbl	-48(%rbp,%rax), %eax
	cmpb	%al, %dl
	jne	.L10
	movl	-52(%rbp), %eax
	cltq
	movb	$48, -48(%rbp,%rax)
.L10:
	addl	$1, -52(%rbp)
.L9:
	cmpl	$25, -52(%rbp)
	jle	.L11
	addl	$1, -56(%rbp)
.L8:
	movl	-56(%rbp), %eax
	movslq	%eax, %rdx
	movq	-72(%rbp), %rax
	addq	%rdx, %rax
	movzbl	(%rax), %eax
	testb	%al, %al
	jne	.L12
	movl	$0, -56(%rbp)
	jmp	.L13
.L15:
	movl	-56(%rbp), %eax
	cltq
	movzbl	-48(%rbp,%rax), %eax
	movb	%al, -57(%rbp)
	addl	$1, -56(%rbp)
.L13:
	cmpb	$48, -57(%rbp)
	jne	.L14
	cmpl	$25, -56(%rbp)
	jle	.L15
.L14:
	movzbl	-57(%rbp), %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L17
	call	__stack_chk_fail@PLT
.L17:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	CompareCharacter, .-CompareCharacter
	.local	s_acS.0
	.comm	s_acS.0,100001,32
	.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	CompareCharacter
	.type	CompareCharacter, @function
CompareCharacter:
.LFB24:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	subq	$56, %rsp
	.cfi_def_cfa_offset 96
	movdqa	.LC0(%rip), %xmm1
	movq	%fs:40, %rax
	movq	%rax, 40(%rsp)
	xorl	%eax, %eax
	movq	.LC1(%rip), %rax
	movb	$123, 26(%rsp)
	movaps	%xmm1, (%rsp)
	movq	%rax, 16(%rsp)
	movl	$31353, %eax
	movw	%ax, 24(%rsp)
	movzbl	(%rdi), %eax
	testb	%al, %al
	je	.L16
	leaq	1(%rdi), %r12
	movl	$121, %r9d
	movl	$120, %ebp
	movdqa	.LC2(%rip), %xmm3
	movl	$119, %r8d
	movl	$117, %esi
	movl	$115, %edi
	movl	$118, %r11d
	movl	$116, %r10d
	movl	$114, %ebx
	movl	$122, %r13d
	movl	$113, %ecx
	movl	$48, %edx
	.p2align 4,,10
	.p2align 3
.L15:
	cmpb	%al, %cl
	movd	%eax, %xmm0
	movdqa	%xmm3, %xmm2
	cmove	%edx, %ecx
	cmpb	%al, %bl
	punpcklbw	%xmm0, %xmm0
	cmove	%edx, %ebx
	punpcklwd	%xmm0, %xmm0
	cmpb	%al, %dil
	cmove	%edx, %edi
	pshufd	$0, %xmm0, %xmm0
	cmpb	%al, %r10b
	pcmpeqb	%xmm1, %xmm0
	cmove	%edx, %r10d
	cmpb	%sil, %al
	cmove	%edx, %esi
	cmpb	%r11b, %al
	cmove	%edx, %r11d
	cmpb	%r8b, %al
	cmove	%edx, %r8d
	pand	%xmm0, %xmm2
	cmpb	%bpl, %al
	cmove	%edx, %ebp
	pandn	%xmm1, %xmm0
	cmpb	%r9b, %al
	cmove	%edx, %r9d
	movdqa	%xmm0, %xmm1
	addq	$1, %r12
	cmpb	%al, %r13b
	por	%xmm2, %xmm1
	movzbl	-1(%r12), %eax
	je	.L13
.L30:
	testb	%al, %al
	jne	.L15
	movb	%cl, 16(%rsp)
	movb	%bl, 17(%rsp)
	movb	%dil, 18(%rsp)
	movb	%r10b, 19(%rsp)
	movb	%sil, 20(%rsp)
	movb	%r11b, 21(%rsp)
	movb	%r8b, 22(%rsp)
	movb	%bpl, 23(%rsp)
	movb	%r9b, 24(%rsp)
	movb	%r13b, 25(%rsp)
	movaps	%xmm1, (%rsp)
.L16:
	movl	$1, %eax
	leaq	-1(%rsp), %rsi
	.p2align 4,,10
	.p2align 3
.L3:
	movzbl	(%rsi,%rax), %r8d
	cmpb	$48, %r8b
	sete	%cl
	cmpl	$25, %eax
	setle	%dl
	addq	$1, %rax
	testb	%dl, %cl
	jne	.L3
	movq	40(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L32
	addq	$56, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	movl	%r8d, %eax
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%rbp
	.cfi_def_cfa_offset 24
	popq	%r12
	.cfi_def_cfa_offset 16
	popq	%r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	movl	$48, %r13d
	jmp	.L30
.L32:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE24:
	.size	CompareCharacter, .-CompareCharacter
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC3:
	.string	"%s"
.LC4:
	.string	"%c\n"
.LC5:
	.string	"None"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	leaq	s_acS.0(%rip), %rbp
	leaq	.LC3(%rip), %rdi
	xorl	%eax, %eax
	movq	%rbp, %rsi
	call	__isoc99_scanf@PLT
	movq	%rbp, %rdi
	call	CompareCharacter
	cmpb	$48, %al
	je	.L34
	movsbl	%al, %edx
	leaq	.LC4(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
.L35:
	xorl	%eax, %eax
	popq	%rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L34:
	.cfi_restore_state
	leaq	.LC5(%rip), %rdi
	call	puts@PLT
	jmp	.L35
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.local	s_acS.0
	.comm	s_acS.0,100001,32
	.section	.rodata.cst16,"aM",@progbits,16
	.align 16
.LC0:
	.byte	97
	.byte	98
	.byte	99
	.byte	100
	.byte	101
	.byte	102
	.byte	103
	.byte	104
	.byte	105
	.byte	106
	.byte	107
	.byte	108
	.byte	109
	.byte	110
	.byte	111
	.byte	112
	.section	.rodata.cst8,"aM",@progbits,8
	.align 8
.LC1:
	.byte	113
	.byte	114
	.byte	115
	.byte	116
	.byte	117
	.byte	118
	.byte	119
	.byte	120
	.section	.rodata.cst16
	.align 16
.LC2:
	.byte	48
	.byte	48
	.byte	48
	.byte	48
	.byte	48
	.byte	48
	.byte	48
	.byte	48
	.byte	48
	.byte	48
	.byte	48
	.byte	48
	.byte	48
	.byte	48
	.byte	48
	.byte	48
	.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	CompareCharacter
	.type	CompareCharacter, @function
CompareCharacter:
.LFB24:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	subq	$56, %rsp
	.cfi_def_cfa_offset 96
	movdqa	.LC0(%rip), %xmm1
	movq	%fs:40, %rax
	movq	%rax, 40(%rsp)
	xorl	%eax, %eax
	movq	.LC1(%rip), %rax
	movb	$123, 26(%rsp)
	movaps	%xmm1, (%rsp)
	movq	%rax, 16(%rsp)
	movl	$31353, %eax
	movw	%ax, 24(%rsp)
	movzbl	(%rdi), %eax
	testb	%al, %al
	je	.L16
	leaq	1(%rdi), %r12
	movl	$121, %r9d
	movl	$120, %ebp
	movdqa	.LC2(%rip), %xmm3
	movl	$119, %r8d
	movl	$117, %esi
	movl	$115, %edi
	movl	$118, %r11d
	movl	$116, %r10d
	movl	$114, %ebx
	movl	$122, %r13d
	movl	$113, %ecx
	movl	$48, %edx
	.p2align 4,,10
	.p2align 3
.L15:
	cmpb	%al, %cl
	movd	%eax, %xmm0
	movdqa	%xmm3, %xmm2
	cmove	%edx, %ecx
	cmpb	%al, %bl
	punpcklbw	%xmm0, %xmm0
	cmove	%edx, %ebx
	punpcklwd	%xmm0, %xmm0
	cmpb	%al, %dil
	cmove	%edx, %edi
	pshufd	$0, %xmm0, %xmm0
	cmpb	%al, %r10b
	pcmpeqb	%xmm1, %xmm0
	cmove	%edx, %r10d
	cmpb	%sil, %al
	cmove	%edx, %esi
	cmpb	%r11b, %al
	cmove	%edx, %r11d
	cmpb	%r8b, %al
	cmove	%edx, %r8d
	pand	%xmm0, %xmm2
	cmpb	%bpl, %al
	cmove	%edx, %ebp
	pandn	%xmm1, %xmm0
	cmpb	%r9b, %al
	cmove	%edx, %r9d
	movdqa	%xmm0, %xmm1
	addq	$1, %r12
	cmpb	%al, %r13b
	por	%xmm2, %xmm1
	movzbl	-1(%r12), %eax
	je	.L13
.L30:
	testb	%al, %al
	jne	.L15
	movb	%cl, 16(%rsp)
	movb	%bl, 17(%rsp)
	movb	%dil, 18(%rsp)
	movb	%r10b, 19(%rsp)
	movb	%sil, 20(%rsp)
	movb	%r11b, 21(%rsp)
	movb	%r8b, 22(%rsp)
	movb	%bpl, 23(%rsp)
	movb	%r9b, 24(%rsp)
	movb	%r13b, 25(%rsp)
	movaps	%xmm1, (%rsp)
.L16:
	movl	$1, %eax
	leaq	-1(%rsp), %rsi
	.p2align 4,,10
	.p2align 3
.L3:
	movzbl	(%rsi,%rax), %r8d
	cmpb	$48, %r8b
	sete	%cl
	cmpl	$25, %eax
	setle	%dl
	addq	$1, %rax
	testb	%dl, %cl
	jne	.L3
	movq	40(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L32
	addq	$56, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	movl	%r8d, %eax
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%rbp
	.cfi_def_cfa_offset 24
	popq	%r12
	.cfi_def_cfa_offset 16
	popq	%r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	movl	$48, %r13d
	jmp	.L30
.L32:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE24:
	.size	CompareCharacter, .-CompareCharacter
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC3:
	.string	"%s"
.LC4:
	.string	"%c\n"
.LC5:
	.string	"None"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	leaq	s_acS.0(%rip), %rbp
	leaq	.LC3(%rip), %rdi
	xorl	%eax, %eax
	movq	%rbp, %rsi
	call	__isoc99_scanf@PLT
	movq	%rbp, %rdi
	call	CompareCharacter
	cmpb	$48, %al
	je	.L34
	movsbl	%al, %edx
	leaq	.LC4(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
.L35:
	xorl	%eax, %eax
	popq	%rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L34:
	.cfi_restore_state
	leaq	.LC5(%rip), %rdi
	call	puts@PLT
	jmp	.L35
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.local	s_acS.0
	.comm	s_acS.0,100001,32
	.section	.rodata.cst16,"aM",@progbits,16
	.align 16
.LC0:
	.byte	97
	.byte	98
	.byte	99
	.byte	100
	.byte	101
	.byte	102
	.byte	103
	.byte	104
	.byte	105
	.byte	106
	.byte	107
	.byte	108
	.byte	109
	.byte	110
	.byte	111
	.byte	112
	.section	.rodata.cst8,"aM",@progbits,8
	.align 8
.LC1:
	.byte	113
	.byte	114
	.byte	115
	.byte	116
	.byte	117
	.byte	118
	.byte	119
	.byte	120
	.section	.rodata.cst16
	.align 16
.LC2:
	.byte	48
	.byte	48
	.byte	48
	.byte	48
	.byte	48
	.byte	48
	.byte	48
	.byte	48
	.byte	48
	.byte	48
	.byte	48
	.byte	48
	.byte	48
	.byte	48
	.byte	48
	.byte	48
	.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>

char CompareCharacter(char* a_acS);

int main(void) {
	static char s_acS[100001];

	//文字列Sに入るアルファベットを入力
	scanf("%s", s_acS);
	//Sに現れない最も早いアルファベットを調べ、出力
	if (CompareCharacter(s_acS) != 0x30) {
		printf("%c\n", CompareCharacter(s_acS));
	}
	else {
		printf("None\n");
	}
	return 0;
}

char CompareCharacter(char* a_acS) {
	int i,j;
	char acChar[27];
	char cAlp = 0x30;

	for (i = 0;i < 27;i++) {
		acChar[i] = 0x61 +(char)(0x01*i);
	}

	for (i = 0;a_acS[i] != 0x00;i++) {
		for (j = 0;j < 26;j++) {
			if (a_acS[i] == acChar[j]) {
				acChar[j] = 0x30;
			}
			else {}
		}
	}

	for (i = 0;(cAlp == 0x30 )&& i < 26;i++) {
		cAlp = acChar[i];
	}

	return(cAlp);
}
atcoderregularcontest

b

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>

char CompareCharacter(char* a_acS);

int main(void) {
	static char s_acS[100001];

	//文字列Sに入るアルファベットを入力
	scanf("%s", s_acS);
	//Sに現れない最も早いアルファベットを調べ、出力
	if (CompareCharacter(s_acS) != 0x30) {
		printf("%c\n", CompareCharacter(s_acS));
	}
	else {
		printf("None\n");
	}
	return 0;
}

char CompareCharacter(char* a_acS) {
	int i,j;
	char acChar[27];
	char cAlp = 0x30;

	for (i = 0;i < 27;i++) {
		acChar[i] = 0x61 +(char)(0x01*i);
	}

	for (i = 0;a_acS[i] != 0x00;i++) {
		for (j = 0;j < 26;j++) {
			if (a_acS[i] == acChar[j]) {
				acChar[j] = 0x30;
			}
			else {}
		}
	}

	for (i = 0;(cAlp == 0x30 )&& i < 26;i++) {
		cAlp = acChar[i];
	}

	return(cAlp);
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%s"
.LC1:
	.string	"%c\n"
.LC2:
	.string	"None"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	leaq	s_acS.0(%rip), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	leaq	s_acS.0(%rip), %rax
	movq	%rax, %rdi
	call	CompareCharacter
	cmpb	$48, %al
	je	.L2
	leaq	s_acS.0(%rip), %rax
	movq	%rax, %rdi
	call	CompareCharacter
	movsbl	%al, %eax
	movl	%eax, %esi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	jmp	.L3
.L2:
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
.L3:
	movl	$0, %eax
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	CompareCharacter
	.type	CompareCharacter, @function
CompareCharacter:
.LFB1:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$80, %rsp
	movq	%rdi, -72(%rbp)
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movb	$48, -57(%rbp)
	movl	$0, -56(%rbp)
	jmp	.L6
.L7:
	movl	-56(%rbp), %eax
	addl	$97, %eax
	movl	%eax, %edx
	movl	-56(%rbp), %eax
	cltq
	movb	%dl, -48(%rbp,%rax)
	addl	$1, -56(%rbp)
.L6:
	cmpl	$26, -56(%rbp)
	jle	.L7
	movl	$0, -56(%rbp)
	jmp	.L8
.L12:
	movl	$0, -52(%rbp)
	jmp	.L9
.L11:
	movl	-56(%rbp), %eax
	movslq	%eax, %rdx
	movq	-72(%rbp), %rax
	addq	%rdx, %rax
	movzbl	(%rax), %edx
	movl	-52(%rbp), %eax
	cltq
	movzbl	-48(%rbp,%rax), %eax
	cmpb	%al, %dl
	jne	.L10
	movl	-52(%rbp), %eax
	cltq
	movb	$48, -48(%rbp,%rax)
.L10:
	addl	$1, -52(%rbp)
.L9:
	cmpl	$25, -52(%rbp)
	jle	.L11
	addl	$1, -56(%rbp)
.L8:
	movl	-56(%rbp), %eax
	movslq	%eax, %rdx
	movq	-72(%rbp), %rax
	addq	%rdx, %rax
	movzbl	(%rax), %eax
	testb	%al, %al
	jne	.L12
	movl	$0, -56(%rbp)
	jmp	.L13
.L15:
	movl	-56(%rbp), %eax
	cltq
	movzbl	-48(%rbp,%rax), %eax
	movb	%al, -57(%rbp)
	addl	$1, -56(%rbp)
.L13:
	cmpb	$48, -57(%rbp)
	jne	.L14
	cmpl	$25, -56(%rbp)
	jle	.L15
.L14:
	movzbl	-57(%rbp), %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L17
	call	__stack_chk_fail@PLT
.L17:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	CompareCharacter, .-CompareCharacter
	.local	s_acS.0
	.comm	s_acS.0,100001,32
	.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
	.section	.rodata
.LC0:
	.string	"%s"
.LC1:
	.string	"%c\n"
.LC2:
	.string	"None"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	leaq	s_acS.0(%rip), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	leaq	s_acS.0(%rip), %rax
	movq	%rax, %rdi
	call	CompareCharacter
	cmpb	$48, %al
	je	.L2
	leaq	s_acS.0(%rip), %rax
	movq	%rax, %rdi
	call	CompareCharacter
	movsbl	%al, %eax
	movl	%eax, %esi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	jmp	.L3
.L2:
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
.L3:
	movl	$0, %eax
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	CompareCharacter
	.type	CompareCharacter, @function
CompareCharacter:
.LFB1:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$80, %rsp
	movq	%rdi, -72(%rbp)
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movb	$48, -57(%rbp)
	movl	$0, -56(%rbp)
	jmp	.L6
.L7:
	movl	-56(%rbp), %eax
	addl	$97, %eax
	movl	%eax, %edx
	movl	-56(%rbp), %eax
	cltq
	movb	%dl, -48(%rbp,%rax)
	addl	$1, -56(%rbp)
.L6:
	cmpl	$26, -56(%rbp)
	jle	.L7
	movl	$0, -56(%rbp)
	jmp	.L8
.L12:
	movl	$0, -52(%rbp)
	jmp	.L9
.L11:
	movl	-56(%rbp), %eax
	movslq	%eax, %rdx
	movq	-72(%rbp), %rax
	addq	%rdx, %rax
	movzbl	(%rax), %edx
	movl	-52(%rbp), %eax
	cltq
	movzbl	-48(%rbp,%rax), %eax
	cmpb	%al, %dl
	jne	.L10
	movl	-52(%rbp), %eax
	cltq
	movb	$48, -48(%rbp,%rax)
.L10:
	addl	$1, -52(%rbp)
.L9:
	cmpl	$25, -52(%rbp)
	jle	.L11
	addl	$1, -56(%rbp)
.L8:
	movl	-56(%rbp), %eax
	movslq	%eax, %rdx
	movq	-72(%rbp), %rax
	addq	%rdx, %rax
	movzbl	(%rax), %eax
	testb	%al, %al
	jne	.L12
	movl	$0, -56(%rbp)
	jmp	.L13
.L15:
	movl	-56(%rbp), %eax
	cltq
	movzbl	-48(%rbp,%rax), %eax
	movb	%al, -57(%rbp)
	addl	$1, -56(%rbp)
.L13:
	cmpb	$48, -57(%rbp)
	jne	.L14
	cmpl	$25, -56(%rbp)
	jle	.L15
.L14:
	movzbl	-57(%rbp), %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L17
	call	__stack_chk_fail@PLT
.L17:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	CompareCharacter, .-CompareCharacter
	.local	s_acS.0
	.comm	s_acS.0,100001,32
	.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:
