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 <string.h>

int main(void) {

  char s[26];
  scanf("%s", s);
  int length = strlen(s);
  int alp[26];
  for (int i = 0; i < 26; i++) {
    alp[i] = 0;
  }
  for (int i = 0; i < length; i++) {
    alp[s[i]-'a']++;
  }
  if (length != 26) {
    printf("%s", s);
    for (int i = 0; i < 26; i++) {
      if (alp[i] == 0) {
        printf("%c\n", i+'a');
        return 0;
      }
    }
  } else {
    int end = -1;
    for (int i = length-1; i > 0; i--) {
      alp[s[i]-'a']--;
      if (s[i] > s[i-1]) {
        end = i-1;
        for (int j = s[end]-'a'+1; j < 26; j++) {
          if (alp[j] == 0) {
            s[end] = j+'a';
            break;
          }
        }
        break;
      }
    }
    if (end == -1) {
      printf("-1\n");
      return 0;
    }
    for (int i = 0; i <= end; i++) {
      printf("%c", s[i]);
    }
    printf("\n");
  }

  return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%s"
.LC1:
	.string	"%c\n"
.LC2:
	.string	"-1"
	.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	$192, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-48(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	leaq	-48(%rbp), %rax
	movq	%rax, %rdi
	call	strlen@PLT
	movl	%eax, -164(%rbp)
	movl	$0, -192(%rbp)
	jmp	.L2
.L3:
	movl	-192(%rbp), %eax
	cltq
	movl	$0, -160(%rbp,%rax,4)
	addl	$1, -192(%rbp)
.L2:
	cmpl	$25, -192(%rbp)
	jle	.L3
	movl	$0, -188(%rbp)
	jmp	.L4
.L5:
	movl	-188(%rbp), %eax
	cltq
	movzbl	-48(%rbp,%rax), %eax
	movsbl	%al, %eax
	subl	$97, %eax
	movslq	%eax, %rdx
	movl	-160(%rbp,%rdx,4), %edx
	addl	$1, %edx
	cltq
	movl	%edx, -160(%rbp,%rax,4)
	addl	$1, -188(%rbp)
.L4:
	movl	-188(%rbp), %eax
	cmpl	-164(%rbp), %eax
	jl	.L5
	cmpl	$26, -164(%rbp)
	je	.L6
	leaq	-48(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, -184(%rbp)
	jmp	.L7
.L10:
	movl	-184(%rbp), %eax
	cltq
	movl	-160(%rbp,%rax,4), %eax
	testl	%eax, %eax
	jne	.L8
	movl	-184(%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	.L23
.L8:
	addl	$1, -184(%rbp)
.L7:
	cmpl	$25, -184(%rbp)
	jle	.L10
	jmp	.L11
.L6:
	movl	$-1, -180(%rbp)
	movl	-164(%rbp), %eax
	subl	$1, %eax
	movl	%eax, -176(%rbp)
	jmp	.L12
.L19:
	movl	-176(%rbp), %eax
	cltq
	movzbl	-48(%rbp,%rax), %eax
	movsbl	%al, %eax
	subl	$97, %eax
	movslq	%eax, %rdx
	movl	-160(%rbp,%rdx,4), %edx
	subl	$1, %edx
	cltq
	movl	%edx, -160(%rbp,%rax,4)
	movl	-176(%rbp), %eax
	cltq
	movzbl	-48(%rbp,%rax), %edx
	movl	-176(%rbp), %eax
	subl	$1, %eax
	cltq
	movzbl	-48(%rbp,%rax), %eax
	cmpb	%al, %dl
	jle	.L13
	movl	-176(%rbp), %eax
	subl	$1, %eax
	movl	%eax, -180(%rbp)
	movl	-180(%rbp), %eax
	cltq
	movzbl	-48(%rbp,%rax), %eax
	movsbl	%al, %eax
	subl	$96, %eax
	movl	%eax, -172(%rbp)
	jmp	.L14
.L17:
	movl	-172(%rbp), %eax
	cltq
	movl	-160(%rbp,%rax,4), %eax
	testl	%eax, %eax
	jne	.L15
	movl	-172(%rbp), %eax
	addl	$97, %eax
	movl	%eax, %edx
	movl	-180(%rbp), %eax
	cltq
	movb	%dl, -48(%rbp,%rax)
	nop
	jmp	.L18
.L15:
	addl	$1, -172(%rbp)
.L14:
	cmpl	$25, -172(%rbp)
	jle	.L17
	jmp	.L18
.L13:
	subl	$1, -176(%rbp)
.L12:
	cmpl	$0, -176(%rbp)
	jg	.L19
.L18:
	cmpl	$-1, -180(%rbp)
	jne	.L20
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	movl	$0, %eax
	jmp	.L23
.L20:
	movl	$0, -168(%rbp)
	jmp	.L21
.L22:
	movl	-168(%rbp), %eax
	cltq
	movzbl	-48(%rbp,%rax), %eax
	movsbl	%al, %eax
	movl	%eax, %edi
	call	putchar@PLT
	addl	$1, -168(%rbp)
.L21:
	movl	-168(%rbp), %eax
	cmpl	-180(%rbp), %eax
	jle	.L22
	movl	$10, %edi
	call	putchar@PLT
.L11:
	movl	$0, %eax
.L23:
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L24
	call	__stack_chk_fail@PLT
.L24:
	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"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB35:
	.cfi_startproc
	endbr64
	pushq	%r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	pushq	%rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	leaq	.LC0(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	movq	%rbp, %rdi
	subq	$160, %rsp
	.cfi_def_cfa_offset 192
	movq	%fs:40, %rax
	movq	%rax, 152(%rsp)
	xorl	%eax, %eax
	leaq	112(%rsp), %r12
	movq	%rsp, %rbx
	movq	%r12, %rsi
	call	__isoc99_scanf@PLT
	movq	%r12, %rdi
	call	strlen@PLT
	movl	$13, %ecx
	movq	%rbx, %rdi
	movq	%rax, %rsi
	xorl	%eax, %eax
	rep stosq
	testq	%rsi, %rsi
	je	.L2
	leal	-1(%rsi), %eax
	movq	%r12, %rdx
	leaq	113(%rsp,%rax), %rcx
	.p2align 4,,10
	.p2align 3
.L3:
	movsbl	(%rdx), %eax
	addq	$1, %rdx
	subl	$97, %eax
	cltq
	addl	$1, (%rsp,%rax,4)
	cmpq	%rdx, %rcx
	jne	.L3
.L2:
	movq	%r12, %rdx
	movq	%rbp, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	xorl	%eax, %eax
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L4:
	addq	$1, %rax
	cmpq	$26, %rax
	je	.L5
.L6:
	movl	(%rbx,%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	152(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L15
	addq	$160, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%rbp
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	ret
.L15:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE35:
	.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"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB35:
	.cfi_startproc
	endbr64
	pushq	%r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	pushq	%rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	leaq	.LC0(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	movq	%rbp, %rdi
	subq	$160, %rsp
	.cfi_def_cfa_offset 192
	movq	%fs:40, %rax
	movq	%rax, 152(%rsp)
	xorl	%eax, %eax
	leaq	112(%rsp), %r12
	movq	%rsp, %rbx
	movq	%r12, %rsi
	call	__isoc99_scanf@PLT
	movq	%r12, %rdi
	call	strlen@PLT
	movl	$13, %ecx
	movq	%rbx, %rdi
	movq	%rax, %rsi
	xorl	%eax, %eax
	rep stosq
	testq	%rsi, %rsi
	je	.L2
	leal	-1(%rsi), %eax
	movq	%r12, %rdx
	leaq	113(%rsp,%rax), %rcx
	.p2align 4,,10
	.p2align 3
.L3:
	movsbl	(%rdx), %eax
	addq	$1, %rdx
	subl	$97, %eax
	cltq
	addl	$1, (%rsp,%rax,4)
	cmpq	%rdx, %rcx
	jne	.L3
.L2:
	movq	%r12, %rdx
	movq	%rbp, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	xorl	%eax, %eax
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L4:
	addq	$1, %rax
	cmpq	$26, %rax
	je	.L5
.L6:
	movl	(%rbx,%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	152(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L15
	addq	$160, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%rbp
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	ret
.L15:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE35:
	.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>
#include <string.h>

int main(void) {

  char s[26];
  scanf("%s", s);
  int length = strlen(s);
  int alp[26];
  for (int i = 0; i < 26; i++) {
    alp[i] = 0;
  }
  for (int i = 0; i < length; i++) {
    alp[s[i]-'a']++;
  }
  if (length != 26) {
    printf("%s", s);
    for (int i = 0; i < 26; i++) {
      if (alp[i] == 0) {
        printf("%c\n", i+'a');
        return 0;
      }
    }
  } else {
    int end = -1;
    for (int i = length-1; i > 0; i--) {
      alp[s[i]-'a']--;
      if (s[i] > s[i-1]) {
        end = i-1;
        for (int j = s[end]-'a'+1; j < 26; j++) {
          if (alp[j] == 0) {
            s[end] = j+'a';
            break;
          }
        }
        break;
      }
    }
    if (end == -1) {
      printf("-1\n");
      return 0;
    }
    for (int i = 0; i <= end; i++) {
      printf("%c", s[i]);
    }
    printf("\n");
  }

  return 0;
}
redocta
 azcdefghijklmnopqrstuvwbyx
 cba
 redoctb
 bca
 bac
 abd
 atcodes
 abcdefghijklmnopqrytuvwzsx
 btcoder

redoctab
 azcdefghijklmnopqrstuvwx
 cbad
 redoctba
 bcad
 bacd
 abdc
 atcodesb
 abcdefghijklmnopqrytuvwzx
 btcodera

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 <string.h>

int main(void) {

  char s[26];
  scanf("%s", s);
  int length = strlen(s);
  int alp[26];
  for (int i = 0; i < 26; i++) {
    alp[i] = 0;
  }
  for (int i = 0; i < length; i++) {
    alp[s[i]-'a']++;
  }
  if (length != 26) {
    printf("%s", s);
    for (int i = 0; i < 26; i++) {
      if (alp[i] == 0) {
        printf("%c\n", i+'a');
        return 0;
      }
    }
  } else {
    int end = -1;
    for (int i = length-1; i > 0; i--) {
      alp[s[i]-'a']--;
      if (s[i] > s[i-1]) {
        end = i-1;
        for (int j = s[end]-'a'+1; j < 26; j++) {
          if (alp[j] == 0) {
            s[end] = j+'a';
            break;
          }
        }
        break;
      }
    }
    if (end == -1) {
      printf("-1\n");
      return 0;
    }
    for (int i = 0; i <= end; i++) {
      printf("%c", s[i]);
    }
    printf("\n");
  }

  return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%s"
.LC1:
	.string	"%c\n"
.LC2:
	.string	"-1"
	.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	$192, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-48(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	leaq	-48(%rbp), %rax
	movq	%rax, %rdi
	call	strlen@PLT
	movl	%eax, -164(%rbp)
	movl	$0, -192(%rbp)
	jmp	.L2
.L3:
	movl	-192(%rbp), %eax
	cltq
	movl	$0, -160(%rbp,%rax,4)
	addl	$1, -192(%rbp)
.L2:
	cmpl	$25, -192(%rbp)
	jle	.L3
	movl	$0, -188(%rbp)
	jmp	.L4
.L5:
	movl	-188(%rbp), %eax
	cltq
	movzbl	-48(%rbp,%rax), %eax
	movsbl	%al, %eax
	subl	$97, %eax
	movslq	%eax, %rdx
	movl	-160(%rbp,%rdx,4), %edx
	addl	$1, %edx
	cltq
	movl	%edx, -160(%rbp,%rax,4)
	addl	$1, -188(%rbp)
.L4:
	movl	-188(%rbp), %eax
	cmpl	-164(%rbp), %eax
	jl	.L5
	cmpl	$26, -164(%rbp)
	je	.L6
	leaq	-48(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, -184(%rbp)
	jmp	.L7
.L10:
	movl	-184(%rbp), %eax
	cltq
	movl	-160(%rbp,%rax,4), %eax
	testl	%eax, %eax
	jne	.L8
	movl	-184(%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	.L23
.L8:
	addl	$1, -184(%rbp)
.L7:
	cmpl	$25, -184(%rbp)
	jle	.L10
	jmp	.L11
.L6:
	movl	$-1, -180(%rbp)
	movl	-164(%rbp), %eax
	subl	$1, %eax
	movl	%eax, -176(%rbp)
	jmp	.L12
.L19:
	movl	-176(%rbp), %eax
	cltq
	movzbl	-48(%rbp,%rax), %eax
	movsbl	%al, %eax
	subl	$97, %eax
	movslq	%eax, %rdx
	movl	-160(%rbp,%rdx,4), %edx
	subl	$1, %edx
	cltq
	movl	%edx, -160(%rbp,%rax,4)
	movl	-176(%rbp), %eax
	cltq
	movzbl	-48(%rbp,%rax), %edx
	movl	-176(%rbp), %eax
	subl	$1, %eax
	cltq
	movzbl	-48(%rbp,%rax), %eax
	cmpb	%al, %dl
	jle	.L13
	movl	-176(%rbp), %eax
	subl	$1, %eax
	movl	%eax, -180(%rbp)
	movl	-180(%rbp), %eax
	cltq
	movzbl	-48(%rbp,%rax), %eax
	movsbl	%al, %eax
	subl	$96, %eax
	movl	%eax, -172(%rbp)
	jmp	.L14
.L17:
	movl	-172(%rbp), %eax
	cltq
	movl	-160(%rbp,%rax,4), %eax
	testl	%eax, %eax
	jne	.L15
	movl	-172(%rbp), %eax
	addl	$97, %eax
	movl	%eax, %edx
	movl	-180(%rbp), %eax
	cltq
	movb	%dl, -48(%rbp,%rax)
	nop
	jmp	.L18
.L15:
	addl	$1, -172(%rbp)
.L14:
	cmpl	$25, -172(%rbp)
	jle	.L17
	jmp	.L18
.L13:
	subl	$1, -176(%rbp)
.L12:
	cmpl	$0, -176(%rbp)
	jg	.L19
.L18:
	cmpl	$-1, -180(%rbp)
	jne	.L20
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	movl	$0, %eax
	jmp	.L23
.L20:
	movl	$0, -168(%rbp)
	jmp	.L21
.L22:
	movl	-168(%rbp), %eax
	cltq
	movzbl	-48(%rbp,%rax), %eax
	movsbl	%al, %eax
	movl	%eax, %edi
	call	putchar@PLT
	addl	$1, -168(%rbp)
.L21:
	movl	-168(%rbp), %eax
	cmpl	-180(%rbp), %eax
	jle	.L22
	movl	$10, %edi
	call	putchar@PLT
.L11:
	movl	$0, %eax
.L23:
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L24
	call	__stack_chk_fail@PLT
.L24:
	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	"-1"
	.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	$192, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-48(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	leaq	-48(%rbp), %rax
	movq	%rax, %rdi
	call	strlen@PLT
	movl	%eax, -164(%rbp)
	movl	$0, -192(%rbp)
	jmp	.L2
.L3:
	movl	-192(%rbp), %eax
	cltq
	movl	$0, -160(%rbp,%rax,4)
	addl	$1, -192(%rbp)
.L2:
	cmpl	$25, -192(%rbp)
	jle	.L3
	movl	$0, -188(%rbp)
	jmp	.L4
.L5:
	movl	-188(%rbp), %eax
	cltq
	movzbl	-48(%rbp,%rax), %eax
	movsbl	%al, %eax
	subl	$97, %eax
	movslq	%eax, %rdx
	movl	-160(%rbp,%rdx,4), %edx
	addl	$1, %edx
	cltq
	movl	%edx, -160(%rbp,%rax,4)
	addl	$1, -188(%rbp)
.L4:
	movl	-188(%rbp), %eax
	cmpl	-164(%rbp), %eax
	jl	.L5
	cmpl	$26, -164(%rbp)
	je	.L6
	leaq	-48(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, -184(%rbp)
	jmp	.L7
.L10:
	movl	-184(%rbp), %eax
	cltq
	movl	-160(%rbp,%rax,4), %eax
	testl	%eax, %eax
	jne	.L8
	movl	-184(%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	.L23
.L8:
	addl	$1, -184(%rbp)
.L7:
	cmpl	$25, -184(%rbp)
	jle	.L10
	jmp	.L11
.L6:
	movl	$-1, -180(%rbp)
	movl	-164(%rbp), %eax
	subl	$1, %eax
	movl	%eax, -176(%rbp)
	jmp	.L12
.L19:
	movl	-176(%rbp), %eax
	cltq
	movzbl	-48(%rbp,%rax), %eax
	movsbl	%al, %eax
	subl	$97, %eax
	movslq	%eax, %rdx
	movl	-160(%rbp,%rdx,4), %edx
	subl	$1, %edx
	cltq
	movl	%edx, -160(%rbp,%rax,4)
	movl	-176(%rbp), %eax
	cltq
	movzbl	-48(%rbp,%rax), %edx
	movl	-176(%rbp), %eax
	subl	$1, %eax
	cltq
	movzbl	-48(%rbp,%rax), %eax
	cmpb	%al, %dl
	jle	.L13
	movl	-176(%rbp), %eax
	subl	$1, %eax
	movl	%eax, -180(%rbp)
	movl	-180(%rbp), %eax
	cltq
	movzbl	-48(%rbp,%rax), %eax
	movsbl	%al, %eax
	subl	$96, %eax
	movl	%eax, -172(%rbp)
	jmp	.L14
.L17:
	movl	-172(%rbp), %eax
	cltq
	movl	-160(%rbp,%rax,4), %eax
	testl	%eax, %eax
	jne	.L15
	movl	-172(%rbp), %eax
	addl	$97, %eax
	movl	%eax, %edx
	movl	-180(%rbp), %eax
	cltq
	movb	%dl, -48(%rbp,%rax)
	nop
	jmp	.L18
.L15:
	addl	$1, -172(%rbp)
.L14:
	cmpl	$25, -172(%rbp)
	jle	.L17
	jmp	.L18
.L13:
	subl	$1, -176(%rbp)
.L12:
	cmpl	$0, -176(%rbp)
	jg	.L19
.L18:
	cmpl	$-1, -180(%rbp)
	jne	.L20
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	movl	$0, %eax
	jmp	.L23
.L20:
	movl	$0, -168(%rbp)
	jmp	.L21
.L22:
	movl	-168(%rbp), %eax
	cltq
	movzbl	-48(%rbp,%rax), %eax
	movsbl	%al, %eax
	movl	%eax, %edi
	call	putchar@PLT
	addl	$1, -168(%rbp)
.L21:
	movl	-168(%rbp), %eax
	cmpl	-180(%rbp), %eax
	jle	.L22
	movl	$10, %edi
	call	putchar@PLT
.L11:
	movl	$0, %eax
.L23:
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L24
	call	__stack_chk_fail@PLT
.L24:
	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:
