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

```c
#include<stdbool.h>

bool alp[26];
main(c){
        while((c=getchar())!='\n') alp[c-'a'] = true;
        for(int i=0; i<26; i++) if(!alp[i]) {
                putchar(i+'a');
                return 0;
        }
        puts("None");
        return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	alp
	.bss
	.align 16
	.type	alp, @object
	.size	alp, 26
alp:
	.zero	26
	.section	.rodata
.LC0:
	.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
	subq	$32, %rsp
	movl	%edi, -20(%rbp)
	jmp	.L2
.L3:
	movl	-20(%rbp), %eax
	subl	$97, %eax
	cltq
	leaq	alp(%rip), %rdx
	movb	$1, (%rax,%rdx)
.L2:
	movl	$0, %eax
	call	getchar@PLT
	movl	%eax, -20(%rbp)
	cmpl	$10, -20(%rbp)
	jne	.L3
	movl	$0, -4(%rbp)
	jmp	.L4
.L7:
	movl	-4(%rbp), %eax
	cltq
	leaq	alp(%rip), %rdx
	movzbl	(%rax,%rdx), %eax
	xorl	$1, %eax
	testb	%al, %al
	je	.L5
	movl	-4(%rbp), %eax
	addl	$97, %eax
	movl	%eax, %edi
	call	putchar@PLT
	movl	$0, %eax
	jmp	.L6
.L5:
	addl	$1, -4(%rbp)
.L4:
	cmpl	$25, -4(%rbp)
	jle	.L7
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	movl	$0, %eax
.L6:
	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	"None"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	leaq	alp(%rip), %rbx
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L3:
	subl	$97, %eax
	cltq
	movb	$1, (%rbx,%rax)
.L2:
	xorl	%eax, %eax
	call	getchar@PLT
	cmpl	$10, %eax
	jne	.L3
	xorl	%eax, %eax
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L4:
	addq	$1, %rax
	cmpq	$26, %rax
	je	.L10
.L6:
	cmpb	$0, (%rbx,%rax)
	movl	%eax, %edi
	jne	.L4
	addl	$97, %edi
	call	putchar@PLT
.L5:
	xorl	%eax, %eax
	popq	%rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L10:
	.cfi_restore_state
	leaq	.LC0(%rip), %rdi
	call	puts@PLT
	jmp	.L5
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	alp
	.bss
	.align 16
	.type	alp, @object
	.size	alp, 26
alp:
	.zero	26
	.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	"None"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	leaq	alp(%rip), %rbx
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L3:
	subl	$97, %eax
	cltq
	movb	$1, (%rbx,%rax)
.L2:
	xorl	%eax, %eax
	call	getchar@PLT
	cmpl	$10, %eax
	jne	.L3
	xorl	%eax, %eax
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L4:
	addq	$1, %rax
	cmpq	$26, %rax
	je	.L10
.L6:
	cmpb	$0, (%rbx,%rax)
	movl	%eax, %edi
	jne	.L4
	addl	$97, %edi
	call	putchar@PLT
.L5:
	xorl	%eax, %eax
	popq	%rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L10:
	.cfi_restore_state
	leaq	.LC0(%rip), %rdi
	call	puts@PLT
	jmp	.L5
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	alp
	.bss
	.align 16
	.type	alp, @object
	.size	alp, 26
alp:
	.zero	26
	.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<stdbool.h>

bool alp[26];
main(c){
        while((c=getchar())!='\n') alp[c-'a'] = true;
        for(int i=0; i<26; i++) if(!alp[i]) {
                putchar(i+'a');
                return 0;
        }
        puts("None");
        return 0;
}
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<stdbool.h>

bool alp[26];
main(c){
        while((c=getchar())!='\n') alp[c-'a'] = true;
        for(int i=0; i<26; i++) if(!alp[i]) {
                putchar(i+'a');
                return 0;
        }
        puts("None");
        return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	alp
	.bss
	.align 16
	.type	alp, @object
	.size	alp, 26
alp:
	.zero	26
	.section	.rodata
.LC0:
	.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
	subq	$32, %rsp
	movl	%edi, -20(%rbp)
	jmp	.L2
.L3:
	movl	-20(%rbp), %eax
	subl	$97, %eax
	cltq
	leaq	alp(%rip), %rdx
	movb	$1, (%rax,%rdx)
.L2:
	movl	$0, %eax
	call	getchar@PLT
	movl	%eax, -20(%rbp)
	cmpl	$10, -20(%rbp)
	jne	.L3
	movl	$0, -4(%rbp)
	jmp	.L4
.L7:
	movl	-4(%rbp), %eax
	cltq
	leaq	alp(%rip), %rdx
	movzbl	(%rax,%rdx), %eax
	xorl	$1, %eax
	testb	%al, %al
	je	.L5
	movl	-4(%rbp), %eax
	addl	$97, %eax
	movl	%eax, %edi
	call	putchar@PLT
	movl	$0, %eax
	jmp	.L6
.L5:
	addl	$1, -4(%rbp)
.L4:
	cmpl	$25, -4(%rbp)
	jle	.L7
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	movl	$0, %eax
.L6:
	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
	.globl	alp
	.bss
	.align 16
	.type	alp, @object
	.size	alp, 26
alp:
	.zero	26
	.section	.rodata
.LC0:
	.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
	subq	$32, %rsp
	movl	%edi, -20(%rbp)
	jmp	.L2
.L3:
	movl	-20(%rbp), %eax
	subl	$97, %eax
	cltq
	leaq	alp(%rip), %rdx
	movb	$1, (%rax,%rdx)
.L2:
	movl	$0, %eax
	call	getchar@PLT
	movl	%eax, -20(%rbp)
	cmpl	$10, -20(%rbp)
	jne	.L3
	movl	$0, -4(%rbp)
	jmp	.L4
.L7:
	movl	-4(%rbp), %eax
	cltq
	leaq	alp(%rip), %rdx
	movzbl	(%rax,%rdx), %eax
	xorl	$1, %eax
	testb	%al, %al
	je	.L5
	movl	-4(%rbp), %eax
	addl	$97, %eax
	movl	%eax, %edi
	call	putchar@PLT
	movl	$0, %eax
	jmp	.L6
.L5:
	addl	$1, -4(%rbp)
.L4:
	cmpl	$25, -4(%rbp)
	jle	.L7
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	movl	$0, %eax
.L6:
	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:
