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 <stdlib.h>
#include <string.h>

int b[26] ={0};

int main(void)
{
    char s[101];
    scanf("%s", s);
    int l = strlen(s);
    for (int i = 0; i < l; ++i){
       b[s[i] -'a'] ++;
    }

    for (int j = 0; j < 26; ++j){
        if (b[j]){
            int k = 0;
            int max = 0;
            for (int i = 0; i < l; ++i){
                if (s[i] == j + 'a'){
                    if (k > max){
                        max = k;
                        k = 0;
                    }
                     k = 0;
                }
                else
                    k++;
            }
            if (k > max)
                b[j] = k;
            else
                b[j] = max;
        }
        else
            b[j] = 200;
    }
       
    int min = 200;
    for (int j = 0; j < 26; ++j){
        if (b[j] < min){
            min = b[j];
        }
    }
    printf("%d\n", min);
    return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	b
	.bss
	.align 32
	.type	b, @object
	.size	b, 104
b:
	.zero	104
	.section	.rodata
.LC0:
	.string	"%s"
.LC1:
	.string	"%d\n"
	.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	$144, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-112(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	leaq	-112(%rbp), %rax
	movq	%rax, %rdi
	call	strlen@PLT
	movl	%eax, -116(%rbp)
	movl	$0, -144(%rbp)
	jmp	.L2
.L3:
	movl	-144(%rbp), %eax
	cltq
	movzbl	-112(%rbp,%rax), %eax
	movsbl	%al, %eax
	subl	$97, %eax
	movslq	%eax, %rdx
	leaq	0(,%rdx,4), %rcx
	leaq	b(%rip), %rdx
	movl	(%rcx,%rdx), %edx
	leal	1(%rdx), %ecx
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	b(%rip), %rax
	movl	%ecx, (%rdx,%rax)
	addl	$1, -144(%rbp)
.L2:
	movl	-144(%rbp), %eax
	cmpl	-116(%rbp), %eax
	jl	.L3
	movl	$0, -140(%rbp)
	jmp	.L4
.L13:
	movl	-140(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	b(%rip), %rax
	movl	(%rdx,%rax), %eax
	testl	%eax, %eax
	je	.L5
	movl	$0, -136(%rbp)
	movl	$0, -132(%rbp)
	movl	$0, -128(%rbp)
	jmp	.L6
.L10:
	movl	-128(%rbp), %eax
	cltq
	movzbl	-112(%rbp,%rax), %eax
	movsbl	%al, %eax
	movl	-140(%rbp), %edx
	addl	$97, %edx
	cmpl	%edx, %eax
	jne	.L7
	movl	-136(%rbp), %eax
	cmpl	-132(%rbp), %eax
	jle	.L8
	movl	-136(%rbp), %eax
	movl	%eax, -132(%rbp)
	movl	$0, -136(%rbp)
.L8:
	movl	$0, -136(%rbp)
	jmp	.L9
.L7:
	addl	$1, -136(%rbp)
.L9:
	addl	$1, -128(%rbp)
.L6:
	movl	-128(%rbp), %eax
	cmpl	-116(%rbp), %eax
	jl	.L10
	movl	-136(%rbp), %eax
	cmpl	-132(%rbp), %eax
	jle	.L11
	movl	-140(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rcx
	leaq	b(%rip), %rdx
	movl	-136(%rbp), %eax
	movl	%eax, (%rcx,%rdx)
	jmp	.L12
.L11:
	movl	-140(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rcx
	leaq	b(%rip), %rdx
	movl	-132(%rbp), %eax
	movl	%eax, (%rcx,%rdx)
	jmp	.L12
.L5:
	movl	-140(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	b(%rip), %rax
	movl	$200, (%rdx,%rax)
.L12:
	addl	$1, -140(%rbp)
.L4:
	cmpl	$25, -140(%rbp)
	jle	.L13
	movl	$200, -124(%rbp)
	movl	$0, -120(%rbp)
	jmp	.L14
.L16:
	movl	-120(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	b(%rip), %rax
	movl	(%rdx,%rax), %eax
	cmpl	%eax, -124(%rbp)
	jle	.L15
	movl	-120(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	b(%rip), %rax
	movl	(%rdx,%rax), %eax
	movl	%eax, -124(%rbp)
.L15:
	addl	$1, -120(%rbp)
.L14:
	cmpl	$25, -120(%rbp)
	jle	.L16
	movl	-124(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L18
	call	__stack_chk_fail@PLT
.L18:
	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
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%s"
.LC2:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB51:
	.cfi_startproc
	endbr64
	pushq	%rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	leaq	.LC0(%rip), %rdi
	subq	$112, %rsp
	.cfi_def_cfa_offset 128
	movq	%fs:40, %rax
	movq	%rax, 104(%rsp)
	xorl	%eax, %eax
	movq	%rsp, %rbx
	movq	%rbx, %rsi
	call	__isoc99_scanf@PLT
	movq	%rbx, %rdi
	call	strlen@PLT
	movq	%rax, %r10
	testq	%rax, %rax
	je	.L5
	leal	-1(%rax), %eax
	movq	%rbx, %rdx
	leaq	b(%rip), %rcx
	leaq	1(%rsp,%rax), %rsi
	.p2align 4,,10
	.p2align 3
.L4:
	movsbl	(%rdx), %eax
	addq	$1, %rdx
	subl	$97, %eax
	cltq
	addl	$1, (%rcx,%rax,4)
	cmpq	%rsi, %rdx
	jne	.L4
.L5:
	leal	-1(%r10), %eax
	leaq	b(%rip), %rdi
	movl	$97, %ecx
	leaq	1(%rsp,%rax), %r9
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L6:
	addl	$1, %ecx
	movl	%edx, (%rdi)
	addq	$4, %rdi
	cmpl	$123, %ecx
	je	.L19
.L3:
	movl	(%rdi), %eax
	movl	$200, %edx
	testl	%eax, %eax
	je	.L6
	testq	%r10, %r10
	je	.L13
	movq	%rbx, %rax
	xorl	%r8d, %r8d
	xorl	%edx, %edx
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L8:
	addq	$1, %rax
	addl	$1, %edx
	cmpq	%r9, %rax
	je	.L20
.L10:
	movsbl	(%rax), %esi
	cmpl	%ecx, %esi
	jne	.L8
	cmpl	%edx, %r8d
	cmovl	%edx, %r8d
	addq	$1, %rax
	xorl	%edx, %edx
	cmpq	%r9, %rax
	jne	.L10
.L20:
	cmpl	%edx, %r8d
	jl	.L6
.L7:
	movl	%r8d, %edx
	addl	$1, %ecx
	addq	$4, %rdi
	movl	%edx, -4(%rdi)
	cmpl	$123, %ecx
	jne	.L3
	.p2align 4,,10
	.p2align 3
.L19:
	movdqa	32+b(%rip), %xmm1
	movdqa	48+b(%rip), %xmm0
	leaq	.LC2(%rip), %rsi
	movl	$1, %edi
	movdqa	b(%rip), %xmm2
	movdqa	.LC1(%rip), %xmm3
	pcmpgtd	48+b(%rip), %xmm1
	movl	100+b(%rip), %edx
	movl	96+b(%rip), %ecx
	cmpl	%ecx, %edx
	pand	%xmm1, %xmm0
	pandn	32+b(%rip), %xmm1
	cmovg	%ecx, %edx
	por	%xmm0, %xmm1
	movdqa	16+b(%rip), %xmm0
	pcmpgtd	b(%rip), %xmm0
	pand	%xmm0, %xmm2
	pandn	16+b(%rip), %xmm0
	por	%xmm2, %xmm0
	movdqa	%xmm1, %xmm2
	pcmpgtd	%xmm0, %xmm2
	pand	%xmm2, %xmm0
	pandn	%xmm1, %xmm2
	movdqa	80+b(%rip), %xmm1
	por	%xmm0, %xmm2
	movdqa	64+b(%rip), %xmm0
	pcmpgtd	64+b(%rip), %xmm1
	pand	%xmm1, %xmm0
	pandn	80+b(%rip), %xmm1
	por	%xmm0, %xmm1
	movdqa	%xmm1, %xmm0
	pcmpgtd	%xmm3, %xmm0
	pand	%xmm0, %xmm3
	pandn	%xmm1, %xmm0
	movdqa	%xmm2, %xmm1
	por	%xmm3, %xmm0
	pcmpgtd	%xmm0, %xmm1
	pand	%xmm1, %xmm0
	pandn	%xmm2, %xmm1
	por	%xmm0, %xmm1
	movdqa	%xmm1, %xmm2
	psrldq	$8, %xmm2
	movdqa	%xmm2, %xmm0
	pcmpgtd	%xmm1, %xmm0
	pand	%xmm0, %xmm1
	pandn	%xmm2, %xmm0
	por	%xmm1, %xmm0
	movdqa	%xmm0, %xmm2
	psrldq	$4, %xmm2
	movdqa	%xmm2, %xmm1
	pcmpgtd	%xmm0, %xmm1
	pand	%xmm1, %xmm0
	pandn	%xmm2, %xmm1
	por	%xmm0, %xmm1
	movd	%xmm1, %eax
	cmpl	%eax, %edx
	cmovg	%eax, %edx
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movq	104(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L21
	addq	$112, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	xorl	%r8d, %r8d
	jmp	.L7
.L21:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE51:
	.size	main, .-main
	.globl	b
	.bss
	.align 32
	.type	b, @object
	.size	b, 104
b:
	.zero	104
	.section	.rodata.cst16,"aM",@progbits,16
	.align 16
.LC1:
	.long	200
	.long	200
	.long	200
	.long	200
	.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"
.LC2:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB51:
	.cfi_startproc
	endbr64
	pushq	%rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	leaq	.LC0(%rip), %rdi
	subq	$112, %rsp
	.cfi_def_cfa_offset 128
	movq	%fs:40, %rax
	movq	%rax, 104(%rsp)
	xorl	%eax, %eax
	movq	%rsp, %rbx
	movq	%rbx, %rsi
	call	__isoc99_scanf@PLT
	movq	%rbx, %rdi
	call	strlen@PLT
	movq	%rax, %r10
	testq	%rax, %rax
	je	.L5
	leal	-1(%rax), %eax
	movq	%rbx, %rdx
	leaq	b(%rip), %rcx
	leaq	1(%rsp,%rax), %rsi
	.p2align 4,,10
	.p2align 3
.L4:
	movsbl	(%rdx), %eax
	addq	$1, %rdx
	subl	$97, %eax
	cltq
	addl	$1, (%rcx,%rax,4)
	cmpq	%rsi, %rdx
	jne	.L4
.L5:
	leal	-1(%r10), %eax
	leaq	b(%rip), %rdi
	movl	$97, %ecx
	leaq	1(%rsp,%rax), %r9
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L6:
	addl	$1, %ecx
	movl	%edx, (%rdi)
	addq	$4, %rdi
	cmpl	$123, %ecx
	je	.L19
.L3:
	movl	(%rdi), %eax
	movl	$200, %edx
	testl	%eax, %eax
	je	.L6
	testq	%r10, %r10
	je	.L13
	movq	%rbx, %rax
	xorl	%r8d, %r8d
	xorl	%edx, %edx
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L8:
	addq	$1, %rax
	addl	$1, %edx
	cmpq	%r9, %rax
	je	.L20
.L10:
	movsbl	(%rax), %esi
	cmpl	%ecx, %esi
	jne	.L8
	cmpl	%edx, %r8d
	cmovl	%edx, %r8d
	addq	$1, %rax
	xorl	%edx, %edx
	cmpq	%r9, %rax
	jne	.L10
.L20:
	cmpl	%edx, %r8d
	jl	.L6
.L7:
	movl	%r8d, %edx
	addl	$1, %ecx
	addq	$4, %rdi
	movl	%edx, -4(%rdi)
	cmpl	$123, %ecx
	jne	.L3
	.p2align 4,,10
	.p2align 3
.L19:
	movdqa	32+b(%rip), %xmm1
	movdqa	48+b(%rip), %xmm0
	leaq	.LC2(%rip), %rsi
	movl	$1, %edi
	movdqa	b(%rip), %xmm2
	movdqa	.LC1(%rip), %xmm3
	pcmpgtd	48+b(%rip), %xmm1
	movl	100+b(%rip), %edx
	movl	96+b(%rip), %ecx
	cmpl	%ecx, %edx
	pand	%xmm1, %xmm0
	pandn	32+b(%rip), %xmm1
	cmovg	%ecx, %edx
	por	%xmm0, %xmm1
	movdqa	16+b(%rip), %xmm0
	pcmpgtd	b(%rip), %xmm0
	pand	%xmm0, %xmm2
	pandn	16+b(%rip), %xmm0
	por	%xmm2, %xmm0
	movdqa	%xmm1, %xmm2
	pcmpgtd	%xmm0, %xmm2
	pand	%xmm2, %xmm0
	pandn	%xmm1, %xmm2
	movdqa	80+b(%rip), %xmm1
	por	%xmm0, %xmm2
	movdqa	64+b(%rip), %xmm0
	pcmpgtd	64+b(%rip), %xmm1
	pand	%xmm1, %xmm0
	pandn	80+b(%rip), %xmm1
	por	%xmm0, %xmm1
	movdqa	%xmm1, %xmm0
	pcmpgtd	%xmm3, %xmm0
	pand	%xmm0, %xmm3
	pandn	%xmm1, %xmm0
	movdqa	%xmm2, %xmm1
	por	%xmm3, %xmm0
	pcmpgtd	%xmm0, %xmm1
	pand	%xmm1, %xmm0
	pandn	%xmm2, %xmm1
	por	%xmm0, %xmm1
	movdqa	%xmm1, %xmm2
	psrldq	$8, %xmm2
	movdqa	%xmm2, %xmm0
	pcmpgtd	%xmm1, %xmm0
	pand	%xmm0, %xmm1
	pandn	%xmm2, %xmm0
	por	%xmm1, %xmm0
	movdqa	%xmm0, %xmm2
	psrldq	$4, %xmm2
	movdqa	%xmm2, %xmm1
	pcmpgtd	%xmm0, %xmm1
	pand	%xmm1, %xmm0
	pandn	%xmm2, %xmm1
	por	%xmm0, %xmm1
	movd	%xmm1, %eax
	cmpl	%eax, %edx
	cmovg	%eax, %edx
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movq	104(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L21
	addq	$112, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	xorl	%r8d, %r8d
	jmp	.L7
.L21:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE51:
	.size	main, .-main
	.globl	b
	.bss
	.align 32
	.type	b, @object
	.size	b, 104
b:
	.zero	104
	.section	.rodata.cst16,"aM",@progbits,16
	.align 16
.LC1:
	.long	200
	.long	200
	.long	200
	.long	200
	.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 <stdlib.h>
#include <string.h>

int b[26] ={0};

int main(void)
{
    char s[101];
    scanf("%s", s);
    int l = strlen(s);
    for (int i = 0; i < l; ++i){
       b[s[i] -'a'] ++;
    }

    for (int j = 0; j < 26; ++j){
        if (b[j]){
            int k = 0;
            int max = 0;
            for (int i = 0; i < l; ++i){
                if (s[i] == j + 'a'){
                    if (k > max){
                        max = k;
                        k = 0;
                    }
                     k = 0;
                }
                else
                    k++;
            }
            if (k > max)
                b[j] = k;
            else
                b[j] = max;
        }
        else
            b[j] = 200;
    }
       
    int min = 200;
    for (int j = 0; j < 26; ++j){
        if (b[j] < min){
            min = b[j];
        }
    }
    printf("%d\n", min);
    return 0;
}
resval
 whbrjpjyhsrywlqjxcbrbaomnw
 zzy
 lakjac
 xmboabrbnxjrlwyrthyjpjrchv
 whcrjpbyhtxywkrlxnbrbaojmr
 smjoabjdoxmrjwypugydyqrchv
 whdrpxdwhuozxkrmxodjaaojkt
 xwwwnajdrxmrqwzpugnhlojced
 wyeoqidphazibqrnvxibngzwpx

3
 8
 1
 2
 6
 10
 11
 9
 12
 7

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 <stdlib.h>
#include <string.h>

int b[26] ={0};

int main(void)
{
    char s[101];
    scanf("%s", s);
    int l = strlen(s);
    for (int i = 0; i < l; ++i){
       b[s[i] -'a'] ++;
    }

    for (int j = 0; j < 26; ++j){
        if (b[j]){
            int k = 0;
            int max = 0;
            for (int i = 0; i < l; ++i){
                if (s[i] == j + 'a'){
                    if (k > max){
                        max = k;
                        k = 0;
                    }
                     k = 0;
                }
                else
                    k++;
            }
            if (k > max)
                b[j] = k;
            else
                b[j] = max;
        }
        else
            b[j] = 200;
    }
       
    int min = 200;
    for (int j = 0; j < 26; ++j){
        if (b[j] < min){
            min = b[j];
        }
    }
    printf("%d\n", min);
    return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	b
	.bss
	.align 32
	.type	b, @object
	.size	b, 104
b:
	.zero	104
	.section	.rodata
.LC0:
	.string	"%s"
.LC1:
	.string	"%d\n"
	.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	$144, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-112(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	leaq	-112(%rbp), %rax
	movq	%rax, %rdi
	call	strlen@PLT
	movl	%eax, -116(%rbp)
	movl	$0, -144(%rbp)
	jmp	.L2
.L3:
	movl	-144(%rbp), %eax
	cltq
	movzbl	-112(%rbp,%rax), %eax
	movsbl	%al, %eax
	subl	$97, %eax
	movslq	%eax, %rdx
	leaq	0(,%rdx,4), %rcx
	leaq	b(%rip), %rdx
	movl	(%rcx,%rdx), %edx
	leal	1(%rdx), %ecx
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	b(%rip), %rax
	movl	%ecx, (%rdx,%rax)
	addl	$1, -144(%rbp)
.L2:
	movl	-144(%rbp), %eax
	cmpl	-116(%rbp), %eax
	jl	.L3
	movl	$0, -140(%rbp)
	jmp	.L4
.L13:
	movl	-140(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	b(%rip), %rax
	movl	(%rdx,%rax), %eax
	testl	%eax, %eax
	je	.L5
	movl	$0, -136(%rbp)
	movl	$0, -132(%rbp)
	movl	$0, -128(%rbp)
	jmp	.L6
.L10:
	movl	-128(%rbp), %eax
	cltq
	movzbl	-112(%rbp,%rax), %eax
	movsbl	%al, %eax
	movl	-140(%rbp), %edx
	addl	$97, %edx
	cmpl	%edx, %eax
	jne	.L7
	movl	-136(%rbp), %eax
	cmpl	-132(%rbp), %eax
	jle	.L8
	movl	-136(%rbp), %eax
	movl	%eax, -132(%rbp)
	movl	$0, -136(%rbp)
.L8:
	movl	$0, -136(%rbp)
	jmp	.L9
.L7:
	addl	$1, -136(%rbp)
.L9:
	addl	$1, -128(%rbp)
.L6:
	movl	-128(%rbp), %eax
	cmpl	-116(%rbp), %eax
	jl	.L10
	movl	-136(%rbp), %eax
	cmpl	-132(%rbp), %eax
	jle	.L11
	movl	-140(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rcx
	leaq	b(%rip), %rdx
	movl	-136(%rbp), %eax
	movl	%eax, (%rcx,%rdx)
	jmp	.L12
.L11:
	movl	-140(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rcx
	leaq	b(%rip), %rdx
	movl	-132(%rbp), %eax
	movl	%eax, (%rcx,%rdx)
	jmp	.L12
.L5:
	movl	-140(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	b(%rip), %rax
	movl	$200, (%rdx,%rax)
.L12:
	addl	$1, -140(%rbp)
.L4:
	cmpl	$25, -140(%rbp)
	jle	.L13
	movl	$200, -124(%rbp)
	movl	$0, -120(%rbp)
	jmp	.L14
.L16:
	movl	-120(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	b(%rip), %rax
	movl	(%rdx,%rax), %eax
	cmpl	%eax, -124(%rbp)
	jle	.L15
	movl	-120(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	b(%rip), %rax
	movl	(%rdx,%rax), %eax
	movl	%eax, -124(%rbp)
.L15:
	addl	$1, -120(%rbp)
.L14:
	cmpl	$25, -120(%rbp)
	jle	.L16
	movl	-124(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L18
	call	__stack_chk_fail@PLT
.L18:
	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	b
	.bss
	.align 32
	.type	b, @object
	.size	b, 104
b:
	.zero	104
	.section	.rodata
.LC0:
	.string	"%s"
.LC1:
	.string	"%d\n"
	.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	$144, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-112(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	leaq	-112(%rbp), %rax
	movq	%rax, %rdi
	call	strlen@PLT
	movl	%eax, -116(%rbp)
	movl	$0, -144(%rbp)
	jmp	.L2
.L3:
	movl	-144(%rbp), %eax
	cltq
	movzbl	-112(%rbp,%rax), %eax
	movsbl	%al, %eax
	subl	$97, %eax
	movslq	%eax, %rdx
	leaq	0(,%rdx,4), %rcx
	leaq	b(%rip), %rdx
	movl	(%rcx,%rdx), %edx
	leal	1(%rdx), %ecx
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	b(%rip), %rax
	movl	%ecx, (%rdx,%rax)
	addl	$1, -144(%rbp)
.L2:
	movl	-144(%rbp), %eax
	cmpl	-116(%rbp), %eax
	jl	.L3
	movl	$0, -140(%rbp)
	jmp	.L4
.L13:
	movl	-140(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	b(%rip), %rax
	movl	(%rdx,%rax), %eax
	testl	%eax, %eax
	je	.L5
	movl	$0, -136(%rbp)
	movl	$0, -132(%rbp)
	movl	$0, -128(%rbp)
	jmp	.L6
.L10:
	movl	-128(%rbp), %eax
	cltq
	movzbl	-112(%rbp,%rax), %eax
	movsbl	%al, %eax
	movl	-140(%rbp), %edx
	addl	$97, %edx
	cmpl	%edx, %eax
	jne	.L7
	movl	-136(%rbp), %eax
	cmpl	-132(%rbp), %eax
	jle	.L8
	movl	-136(%rbp), %eax
	movl	%eax, -132(%rbp)
	movl	$0, -136(%rbp)
.L8:
	movl	$0, -136(%rbp)
	jmp	.L9
.L7:
	addl	$1, -136(%rbp)
.L9:
	addl	$1, -128(%rbp)
.L6:
	movl	-128(%rbp), %eax
	cmpl	-116(%rbp), %eax
	jl	.L10
	movl	-136(%rbp), %eax
	cmpl	-132(%rbp), %eax
	jle	.L11
	movl	-140(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rcx
	leaq	b(%rip), %rdx
	movl	-136(%rbp), %eax
	movl	%eax, (%rcx,%rdx)
	jmp	.L12
.L11:
	movl	-140(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rcx
	leaq	b(%rip), %rdx
	movl	-132(%rbp), %eax
	movl	%eax, (%rcx,%rdx)
	jmp	.L12
.L5:
	movl	-140(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	b(%rip), %rax
	movl	$200, (%rdx,%rax)
.L12:
	addl	$1, -140(%rbp)
.L4:
	cmpl	$25, -140(%rbp)
	jle	.L13
	movl	$200, -124(%rbp)
	movl	$0, -120(%rbp)
	jmp	.L14
.L16:
	movl	-120(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	b(%rip), %rax
	movl	(%rdx,%rax), %eax
	cmpl	%eax, -124(%rbp)
	jle	.L15
	movl	-120(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	b(%rip), %rax
	movl	(%rdx,%rax), %eax
	movl	%eax, -124(%rbp)
.L15:
	addl	$1, -120(%rbp)
.L14:
	cmpl	$25, -120(%rbp)
	jle	.L16
	movl	-124(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L18
	call	__stack_chk_fail@PLT
.L18:
	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:
