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"
int main(){
    char s[100001];
    scanf("%s",s);
    int f[26];
    for(int i=0;i<26;i++)
        f[i]=0;
    int cnt=0;
    while(s[cnt]!='\0'){
        f[s[cnt]-'a']++;
        cnt++;
    }
    for(int i=0;i<26;i++)
        if(f[i]==0){
            printf("%c\n",'a'+i);
            return 0;
        }
    printf("None\n");
}
```

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	-98304(%rsp), %r11
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	subq	$1840, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-100016(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -100140(%rbp)
	jmp	.L2
.L3:
	movl	-100140(%rbp), %eax
	cltq
	movl	$0, -100128(%rbp,%rax,4)
	addl	$1, -100140(%rbp)
.L2:
	cmpl	$25, -100140(%rbp)
	jle	.L3
	movl	$0, -100136(%rbp)
	jmp	.L4
.L5:
	movl	-100136(%rbp), %eax
	cltq
	movzbl	-100016(%rbp,%rax), %eax
	movsbl	%al, %eax
	subl	$97, %eax
	movslq	%eax, %rdx
	movl	-100128(%rbp,%rdx,4), %edx
	addl	$1, %edx
	cltq
	movl	%edx, -100128(%rbp,%rax,4)
	addl	$1, -100136(%rbp)
.L4:
	movl	-100136(%rbp), %eax
	cltq
	movzbl	-100016(%rbp,%rax), %eax
	testb	%al, %al
	jne	.L5
	movl	$0, -100132(%rbp)
	jmp	.L6
.L9:
	movl	-100132(%rbp), %eax
	cltq
	movl	-100128(%rbp,%rax,4), %eax
	testl	%eax, %eax
	jne	.L7
	movl	-100132(%rbp), %eax
	addl	$97, %eax
	movl	%eax, %esi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	jmp	.L8
.L7:
	addl	$1, -100132(%rbp)
.L6:
	cmpl	$25, -100132(%rbp)
	jle	.L9
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	movl	$0, %eax
.L8:
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L10
	call	__stack_chk_fail@PLT
.L10:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	1f - 0f
	.long	4f - 1f
	.long	5
0:
	.string	"GNU"
1:
	.align 8
	.long	0xc0000002
	.long	3f - 2f
2:
	.long	0x3
3:
	.align 8
4:
```

Only output the optimized assembly code. Do not include any other text. Do not write any comments in the assembly code. Wrap the assembly code in ```assembly``` tags.
user
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%s"
.LC1:
	.string	"%c\n"
.LC2:
	.string	"None"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	leaq	-98304(%rsp), %r11
	.cfi_def_cfa 11, 98312
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$1832, %rsp
	.cfi_def_cfa_offset 100144
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 100120(%rsp)
	xorl	%eax, %eax
	leaq	112(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movq	%rsp, %rsi
	xorl	%eax, %eax
	movl	$13, %ecx
	movq	%rsi, %rdi
	rep stosq
	movsbl	112(%rsp), %eax
	testb	%al, %al
	je	.L2
	leaq	113(%rsp), %rdx
	.p2align 4,,10
	.p2align 3
.L3:
	subl	$97, %eax
	addq	$1, %rdx
	cltq
	addl	$1, (%rsp,%rax,4)
	movsbl	-1(%rdx), %eax
	testb	%al, %al
	jne	.L3
.L2:
	xorl	%eax, %eax
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L4:
	addq	$1, %rax
	cmpq	$26, %rax
	je	.L15
.L6:
	movl	(%rsi,%rax,4), %ecx
	movl	%eax, %edx
	testl	%ecx, %ecx
	jne	.L4
	addl	$97, %edx
	leaq	.LC1(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
.L5:
	movq	100120(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L16
	xorl	%eax, %eax
	addq	$100136, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L15:
	.cfi_restore_state
	leaq	.LC2(%rip), %rdi
	call	puts@PLT
	jmp	.L5
.L16:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	1f - 0f
	.long	4f - 1f
	.long	5
0:
	.string	"GNU"
1:
	.align 8
	.long	0xc0000002
	.long	3f - 2f
2:
	.long	0x3
3:
	.align 8
4:

rule
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%s"
.LC1:
	.string	"%c\n"
.LC2:
	.string	"None"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	leaq	-98304(%rsp), %r11
	.cfi_def_cfa 11, 98312
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$1832, %rsp
	.cfi_def_cfa_offset 100144
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 100120(%rsp)
	xorl	%eax, %eax
	leaq	112(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movq	%rsp, %rsi
	xorl	%eax, %eax
	movl	$13, %ecx
	movq	%rsi, %rdi
	rep stosq
	movsbl	112(%rsp), %eax
	testb	%al, %al
	je	.L2
	leaq	113(%rsp), %rdx
	.p2align 4,,10
	.p2align 3
.L3:
	subl	$97, %eax
	addq	$1, %rdx
	cltq
	addl	$1, (%rsp,%rax,4)
	movsbl	-1(%rdx), %eax
	testb	%al, %al
	jne	.L3
.L2:
	xorl	%eax, %eax
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L4:
	addq	$1, %rax
	cmpq	$26, %rax
	je	.L15
.L6:
	movl	(%rsi,%rax,4), %ecx
	movl	%eax, %edx
	testl	%ecx, %ecx
	jne	.L4
	addl	$97, %edx
	leaq	.LC1(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
.L5:
	movq	100120(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L16
	xorl	%eax, %eax
	addq	$100136, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L15:
	.cfi_restore_state
	leaq	.LC2(%rip), %rdi
	call	puts@PLT
	jmp	.L5
.L16:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	1f - 0f
	.long	4f - 1f
	.long	5
0:
	.string	"GNU"
1:
	.align 8
	.long	0xc0000002
	.long	3f - 2f
2:
	.long	0x3
3:
	.align 8
4:

# include"stdio.h"
int main(){
    char s[100001];
    scanf("%s",s);
    int f[26];
    for(int i=0;i<26;i++)
        f[i]=0;
    int cnt=0;
    while(s[cnt]!='\0'){
        f[s[cnt]-'a']++;
        cnt++;
    }
    for(int i=0;i<26;i++)
        if(f[i]==0){
            printf("%c\n",'a'+i);
            return 0;
        }
    printf("None\n");
}

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"
int main(){
    char s[100001];
    scanf("%s",s);
    int f[26];
    for(int i=0;i<26;i++)
        f[i]=0;
    int cnt=0;
    while(s[cnt]!='\0'){
        f[s[cnt]-'a']++;
        cnt++;
    }
    for(int i=0;i<26;i++)
        if(f[i]==0){
            printf("%c\n",'a'+i);
            return 0;
        }
    printf("None\n");
}
```

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	-98304(%rsp), %r11
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	subq	$1840, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-100016(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -100140(%rbp)
	jmp	.L2
.L3:
	movl	-100140(%rbp), %eax
	cltq
	movl	$0, -100128(%rbp,%rax,4)
	addl	$1, -100140(%rbp)
.L2:
	cmpl	$25, -100140(%rbp)
	jle	.L3
	movl	$0, -100136(%rbp)
	jmp	.L4
.L5:
	movl	-100136(%rbp), %eax
	cltq
	movzbl	-100016(%rbp,%rax), %eax
	movsbl	%al, %eax
	subl	$97, %eax
	movslq	%eax, %rdx
	movl	-100128(%rbp,%rdx,4), %edx
	addl	$1, %edx
	cltq
	movl	%edx, -100128(%rbp,%rax,4)
	addl	$1, -100136(%rbp)
.L4:
	movl	-100136(%rbp), %eax
	cltq
	movzbl	-100016(%rbp,%rax), %eax
	testb	%al, %al
	jne	.L5
	movl	$0, -100132(%rbp)
	jmp	.L6
.L9:
	movl	-100132(%rbp), %eax
	cltq
	movl	-100128(%rbp,%rax,4), %eax
	testl	%eax, %eax
	jne	.L7
	movl	-100132(%rbp), %eax
	addl	$97, %eax
	movl	%eax, %esi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	jmp	.L8
.L7:
	addl	$1, -100132(%rbp)
.L6:
	cmpl	$25, -100132(%rbp)
	jle	.L9
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	movl	$0, %eax
.L8:
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L10
	call	__stack_chk_fail@PLT
.L10:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.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
	.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	-98304(%rsp), %r11
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	subq	$1840, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-100016(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -100140(%rbp)
	jmp	.L2
.L3:
	movl	-100140(%rbp), %eax
	cltq
	movl	$0, -100128(%rbp,%rax,4)
	addl	$1, -100140(%rbp)
.L2:
	cmpl	$25, -100140(%rbp)
	jle	.L3
	movl	$0, -100136(%rbp)
	jmp	.L4
.L5:
	movl	-100136(%rbp), %eax
	cltq
	movzbl	-100016(%rbp,%rax), %eax
	movsbl	%al, %eax
	subl	$97, %eax
	movslq	%eax, %rdx
	movl	-100128(%rbp,%rdx,4), %edx
	addl	$1, %edx
	cltq
	movl	%edx, -100128(%rbp,%rax,4)
	addl	$1, -100136(%rbp)
.L4:
	movl	-100136(%rbp), %eax
	cltq
	movzbl	-100016(%rbp,%rax), %eax
	testb	%al, %al
	jne	.L5
	movl	$0, -100132(%rbp)
	jmp	.L6
.L9:
	movl	-100132(%rbp), %eax
	cltq
	movl	-100128(%rbp,%rax,4), %eax
	testl	%eax, %eax
	jne	.L7
	movl	-100132(%rbp), %eax
	addl	$97, %eax
	movl	%eax, %esi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	jmp	.L8
.L7:
	addl	$1, -100132(%rbp)
.L6:
	cmpl	$25, -100132(%rbp)
	jle	.L9
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	movl	$0, %eax
.L8:
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L10
	call	__stack_chk_fail@PLT
.L10:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.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:
