Given the following C code and 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>
#include <time.h>
#include <math.h>
#include <limits.h>
#include <assert.h>
#define FOR(i,a,n) for(i=(a);i<(n);i++)
#define swap(type,a,b) do{type t=a;a=b;b=t;}while(0)
#define MAX(a,b) (((a)>(b))?(a):(b))
#define MIN(a,b) (((a)<(b))?(a):(b))
#define ll long long
#define INF 100000000
#define MOD 1000000007
#define SIZE 100005
#define LOCAL
#ifdef LOCAL
    #define DEBUG(...) printf(" "__VA_ARGS__)
#else
    #define DEBUG(...)
#endif /* LOCAL */
int comp(const void* a,const void* b){
	return *(int*)a-*(int*)b;
}

char str[30];
int cnt[26];
int main(void)
{
	int len,i,j;
	scanf("%s",str);
	len=strlen(str);
	FOR(i,0,len) cnt[str[i]-'a']++;
	if(len<26){
		for(i=0;cnt[i];i++);
		str[len]='a'+i;
		puts(str);
		return 0;
	}else{
		for(i=len-1;i>=0;i--){
			for(j=(str[i]-'a');j<26;j++){
				if(!cnt[j]){
					str[i]='a'+j;
					puts(str);
					return 0;
				}
			}
			cnt[str[i]-'a']=0;
			str[i]='\0';
		}
	}
	puts("-1");
	return 0;
}
    
    
```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.p2align 4
	.globl	comp
	.type	comp, @function
comp:
.LFB51:
	.cfi_startproc
	endbr64
	movl	(%rdi), %eax
	subl	(%rsi), %eax
	ret
	.cfi_endproc
.LFE51:
	.size	comp, .-comp
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%s"
.LC1:
	.string	"-1"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB52:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	leaq	str(%rip), %rbp
	leaq	.LC0(%rip), %rdi
	xorl	%eax, %eax
	movq	%rbp, %rsi
	call	__isoc99_scanf@PLT
	movq	%rbp, %rdi
	call	strlen@PLT
	testq	%rax, %rax
	je	.L4
	leal	-1(%rax), %edx
	leaq	1(%rbp), %rdi
	movq	%rbp, %rcx
	movq	%rdx, %r8
	addq	%rdx, %rdi
	leaq	cnt(%rip), %rsi
	.p2align 4,,10
	.p2align 3
.L5:
	movsbl	(%rcx), %edx
	addq	$1, %rcx
	subl	$97, %edx
	movslq	%edx, %rdx
	addl	$1, (%rsi,%rdx,4)
	cmpq	%rcx, %rdi
	jne	.L5
	movslq	%r8d, %rcx
	cmpq	$25, %rax
	jbe	.L4
.L13:
	movsbl	0(%rbp,%rcx), %eax
	movslq	%ecx, %rdi
	subl	$97, %eax
	movslq	%eax, %rdx
	cmpl	$25, %eax
	jg	.L10
	movq	%rdx, %rax
	jmp	.L12
	.p2align 4,,10
	.p2align 3
.L11:
	addq	$1, %rax
	cmpl	$25, %eax
	jg	.L10
.L12:
	movl	(%rsi,%rax,4), %r8d
	testl	%r8d, %r8d
	jne	.L11
	addl	$97, %eax
	movb	%al, 0(%rbp,%rdi)
	movq	%rbp, %rdi
	call	puts@PLT
.L9:
	xorl	%eax, %eax
	popq	%rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L10:
	.cfi_restore_state
	movb	$0, 0(%rbp,%rcx)
	subq	$1, %rcx
	movl	$0, (%rsi,%rdx,4)
	cmpl	$-1, %ecx
	jne	.L13
	leaq	.LC1(%rip), %rdi
	call	puts@PLT
	jmp	.L9
.L4:
	movl	cnt(%rip), %ecx
	testl	%ecx, %ecx
	je	.L7
	movl	$1, %edx
	leaq	-4+cnt(%rip), %rsi
	.p2align 4,,10
	.p2align 3
.L8:
	movl	%edx, %ecx
	addq	$1, %rdx
	movl	(%rsi,%rdx,4), %r9d
	testl	%r9d, %r9d
	jne	.L8
.L7:
	addl	$97, %ecx
	cltq
	movq	%rbp, %rdi
	movb	%cl, 0(%rbp,%rax)
	call	puts@PLT
	jmp	.L9
	.cfi_endproc
.LFE52:
	.size	main, .-main
	.globl	cnt
	.bss
	.align 32
	.type	cnt, @object
	.size	cnt, 104
cnt:
	.zero	104
	.globl	str
	.align 16
	.type	str, @object
	.size	str, 30
str:
	.zero	30
	.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.
Optimized Assembly Code:

user
```assembly
	.file	"temp.c"
	.text
	.p2align 4
	.globl	comp
	.type	comp, @function
comp:
.LFB51:
	.cfi_startproc
	endbr64
	movl	(%rdi), %eax
	subl	(%rsi), %eax
	ret
	.cfi_endproc
.LFE51:
	.size	comp, .-comp
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%s"
.LC1:
	.string	"-1"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB52:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	leaq	str(%rip), %rbp
	leaq	.LC0(%rip), %rdi
	xorl	%eax, %eax
	movq	%rbp, %rsi
	call	__isoc99_scanf@PLT
	movq	%rbp, %rdi
	call	strlen@PLT
	testq	%rax, %rax
	je	.L4
	leal	-1(%rax), %edx
	leaq	1(%rbp), %rdi
	movq	%rbp, %rcx
	movq	%rdx, %r8
	addq	%rdx, %rdi
	leaq	cnt(%rip), %rsi
	.p2align 4,,10
	.p2align 3
.L5:
	movsbl	(%rcx), %edx
	addq	$1, %rcx
	subl	$97, %edx
	movslq	%edx, %rdx
	addl	$1, (%rsi,%rdx,4)
	cmpq	%rcx, %rdi
	jne	.L5
	movslq	%r8d, %rcx
	cmpq	$25, %rax
	jbe	.L4
.L13:
	movsbl	0(%rbp,%rcx), %eax
	movslq	%ecx, %rdi
	subl	$97, %eax
	movslq	%eax, %rdx
	cmpl	$25, %eax
	jg	.L10
	movq	%rdx, %rax
	jmp	.L12
	.p2align 4,,10
	.p2align 3
.L11:
	addq	$1, %rax
	cmpl	$25, %eax
	jg	.L10
.L12:
	movl	(%rsi,%rax,4), %r8d
	testl	%r8d, %r8d
	jne	.L11
	addl	$97, %eax
	movb	%al, 0(%rbp,%rdi)
	movq	%rbp, %rdi
	call	puts@PLT
.L9:
	xorl	%eax, %eax
	popq	%rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L10:
	.cfi_restore_state
	movb	$0, 0(%rbp,%rcx)
	subq	$1, %rcx
	movl	$0, (%rsi,%rdx,4)
	cmpl	$-1, %ecx
	jne	.L13
	leaq	.LC1(%rip), %rdi
	call	puts@PLT
	jmp	.L9
.L4:
	movl	cnt(%rip), %ecx
	testl	%ecx, %ecx
	je	.L7
	movl	$1, %edx
	leaq	-4+cnt(%rip), %rsi
	.p2align 4,,10
	.p2align 3
.L8:
	movl	%edx, %ecx
	addq	$1, %rdx
	movl	(%rsi,%rdx,4), %r9d
	testl	%r9d, %r9d
	jne	.L8
.L7:
	addl	$97, %ecx
	cltq
	movq	%rbp, %rdi
	movb	%cl, 0(%rbp,%rax)
	call	puts@PLT
	jmp	.L9
	.cfi_endproc
.LFE52:
	.size	main, .-main
	.globl	cnt
	.bss
	.align 32
	.type	cnt, @object
	.size	cnt, 104
cnt:
	.zero	104
	.globl	str
	.align 16
	.type	str, @object
	.size	str, 30
str:
	.zero	30
	.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
```assembly
	.file	"temp.c"
	.text
	.p2align 4
	.globl	comp
	.type	comp, @function
comp:
.LFB51:
	.cfi_startproc
	endbr64
	movl	(%rdi), %eax
	subl	(%rsi), %eax
	ret
	.cfi_endproc
.LFE51:
	.size	comp, .-comp
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%s"
.LC1:
	.string	"-1"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB52:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	leaq	str(%rip), %rbp
	leaq	.LC0(%rip), %rdi
	xorl	%eax, %eax
	movq	%rbp, %rsi
	call	__isoc99_scanf@PLT
	movq	%rbp, %rdi
	call	strlen@PLT
	testq	%rax, %rax
	je	.L4
	leal	-1(%rax), %edx
	leaq	1(%rbp), %rdi
	movq	%rbp, %rcx
	movq	%rdx, %r8
	addq	%rdx, %rdi
	leaq	cnt(%rip), %rsi
	.p2align 4,,10
	.p2align 3
.L5:
	movsbl	(%rcx), %edx
	addq	$1, %rcx
	subl	$97, %edx
	movslq	%edx, %rdx
	addl	$1, (%rsi,%rdx,4)
	cmpq	%rcx, %rdi
	jne	.L5
	movslq	%r8d, %rcx
	cmpq	$25, %rax
	jbe	.L4
.L13:
	movsbl	0(%rbp,%rcx), %eax
	movslq	%ecx, %rdi
	subl	$97, %eax
	movslq	%eax, %rdx
	cmpl	$25, %eax
	jg	.L10
	movq	%rdx, %rax
	jmp	.L12
	.p2align 4,,10
	.p2align 3
.L11:
	addq	$1, %rax
	cmpl	$25, %eax
	jg	.L10
.L12:
	movl	(%rsi,%rax,4), %r8d
	testl	%r8d, %r8d
	jne	.L11
	addl	$97, %eax
	movb	%al, 0(%rbp,%rdi)
	movq	%rbp, %rdi
	call	puts@PLT
.L9:
	xorl	%eax, %eax
	popq	%rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L10:
	.cfi_restore_state
	movb	$0, 0(%rbp,%rcx)
	subq	$1, %rcx
	movl	$0, (%rsi,%rdx,4)
	cmpl	$-1, %ecx
	jne	.L13
	leaq	.LC1(%rip), %rdi
	call	puts@PLT
	jmp	.L9
.L4:
	movl	cnt(%rip), %ecx
	testl	%ecx, %ecx
	je	.L7
	movl	$1, %edx
	leaq	-4+cnt(%rip), %rsi
	.p2align 4,,10
	.p2align 3
.L8:
	movl	%edx, %ecx
	addq	$1, %rdx
	movl	(%rsi,%rdx,4), %r9d
	testl	%r9d, %r9d
	jne	.L8
.L7:
	addl	$97, %ecx
	cltq
	movq	%rbp, %rdi
	movb	%cl, 0(%rbp,%rax)
	call	puts@PLT
	jmp	.L9
	.cfi_endproc
.LFE52:
	.size	main, .-main
	.globl	cnt
	.bss
	.align 32
	.type	cnt, @object
	.size	cnt, 104
cnt:
	.zero	104
	.globl	str
	.align 16
	.type	str, @object
	.size	str, 30
str:
	.zero	30
	.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:
```
```c
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <math.h>
#include <limits.h>
#include <assert.h>
#define FOR(i,a,n) for(i=(a);i<(n);i++)
#define swap(type,a,b) do{type t=a;a=b;b=t;}while(0)
#define MAX(a,b) (((a)>(b))?(a):(b))
#define MIN(a,b) (((a)<(b))?(a):(b))
#define ll long long
#define INF 100000000
#define MOD 1000000007
#define SIZE 100005
#define LOCAL
#ifdef LOCAL
    #define DEBUG(...) printf(" "__VA_ARGS__)
#else
    #define DEBUG(...)
#endif /* LOCAL */
int comp(const void* a,const void* b){
	return *(int*)a-*(int*)b;
}

char str[30];
int cnt[26];
int main(void)
{
	int len,i,j;
	scanf("%s",str);
	len=strlen(str);
	FOR(i,0,len) cnt[str[i]-'a']++;
	if(len<26){
		for(i=0;cnt[i];i++);
		str[len]='a'+i;
		puts(str);
		return 0;
	}else{
		for(i=len-1;i>=0;i--){
			for(j=(str[i]-'a');j<26;j++){
				if(!cnt[j]){
					str[i]='a'+j;
					puts(str);
					return 0;
				}
			}
			cnt[str[i]-'a']=0;
			str[i]='\0';
		}
	}
	puts("-1");
	return 0;
}
    
    
```
Given the following C code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <math.h>
#include <limits.h>
#include <assert.h>
#define FOR(i,a,n) for(i=(a);i<(n);i++)
#define swap(type,a,b) do{type t=a;a=b;b=t;}while(0)
#define MAX(a,b) (((a)>(b))?(a):(b))
#define MIN(a,b) (((a)<(b))?(a):(b))
#define ll long long
#define INF 100000000
#define MOD 1000000007
#define SIZE 100005
#define LOCAL
#ifdef LOCAL
    #define DEBUG(...) printf(" "__VA_ARGS__)
#else
    #define DEBUG(...)
#endif /* LOCAL */
int comp(const void* a,const void* b){
	return *(int*)a-*(int*)b;
}

char str[30];
int cnt[26];
int main(void)
{
	int len,i,j;
	scanf("%s",str);
	len=strlen(str);
	FOR(i,0,len) cnt[str[i]-'a']++;
	if(len<26){
		for(i=0;cnt[i];i++);
		str[len]='a'+i;
		puts(str);
		return 0;
	}else{
		for(i=len-1;i>=0;i--){
			for(j=(str[i]-'a');j<26;j++){
				if(!cnt[j]){
					str[i]='a'+j;
					puts(str);
					return 0;
				}
			}
			cnt[str[i]-'a']=0;
			str[i]='\0';
		}
	}
	puts("-1");
	return 0;
}
    
    
```

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.
Optimized Assembly Code:

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 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>
#include <time.h>
#include <math.h>
#include <limits.h>
#include <assert.h>
#define FOR(i,a,n) for(i=(a);i<(n);i++)
#define swap(type,a,b) do{type t=a;a=b;b=t;}while(0)
#define MAX(a,b) (((a)>(b))?(a):(b))
#define MIN(a,b) (((a)<(b))?(a):(b))
#define ll long long
#define INF 100000000
#define MOD 1000000007
#define SIZE 100005
#define LOCAL
#ifdef LOCAL
    #define DEBUG(...) printf(" "__VA_ARGS__)
#else
    #define DEBUG(...)
#endif /* LOCAL */
int comp(const void* a,const void* b){
	return *(int*)a-*(int*)b;
}

char str[30];
int cnt[26];
int main(void)
{
	int len,i,j;
	scanf("%s",str);
	len=strlen(str);
	FOR(i,0,len) cnt[str[i]-'a']++;
	if(len<26){
		for(i=0;cnt[i];i++);
		str[len]='a'+i;
		puts(str);
		return 0;
	}else{
		for(i=len-1;i>=0;i--){
			for(j=(str[i]-'a');j<26;j++){
				if(!cnt[j]){
					str[i]='a'+j;
					puts(str);
					return 0;
				}
			}
			cnt[str[i]-'a']=0;
			str[i]='\0';
		}
	}
	puts("-1");
	return 0;
}
    
    
```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.p2align 4
	.globl	comp
	.type	comp, @function
comp:
.LFB51:
	.cfi_startproc
	endbr64
	movl	(%rdi), %eax
	subl	(%rsi), %eax
	ret
	.cfi_endproc
.LFE51:
	.size	comp, .-comp
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%s"
.LC1:
	.string	"-1"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB52:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	leaq	str(%rip), %rbp
	leaq	.LC0(%rip), %rdi
	xorl	%eax, %eax
	movq	%rbp, %rsi
	call	__isoc99_scanf@PLT
	movq	%rbp, %rdi
	call	strlen@PLT
	testq	%rax, %rax
	je	.L4
	leal	-1(%rax), %edx
	leaq	1(%rbp), %rdi
	movq	%rbp, %rcx
	movq	%rdx, %r8
	addq	%rdx, %rdi
	leaq	cnt(%rip), %rsi
	.p2align 4,,10
	.p2align 3
.L5:
	movsbl	(%rcx), %edx
	addq	$1, %rcx
	subl	$97, %edx
	movslq	%edx, %rdx
	addl	$1, (%rsi,%rdx,4)
	cmpq	%rcx, %rdi
	jne	.L5
	movslq	%r8d, %rcx
	cmpq	$25, %rax
	jbe	.L4
.L13:
	movsbl	0(%rbp,%rcx), %eax
	movslq	%ecx, %rdi
	subl	$97, %eax
	movslq	%eax, %rdx
	cmpl	$25, %eax
	jg	.L10
	movq	%rdx, %rax
	jmp	.L12
	.p2align 4,,10
	.p2align 3
.L11:
	addq	$1, %rax
	cmpl	$25, %eax
	jg	.L10
.L12:
	movl	(%rsi,%rax,4), %r8d
	testl	%r8d, %r8d
	jne	.L11
	addl	$97, %eax
	movb	%al, 0(%rbp,%rdi)
	movq	%rbp, %rdi
	call	puts@PLT
.L9:
	xorl	%eax, %eax
	popq	%rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L10:
	.cfi_restore_state
	movb	$0, 0(%rbp,%rcx)
	subq	$1, %rcx
	movl	$0, (%rsi,%rdx,4)
	cmpl	$-1, %ecx
	jne	.L13
	leaq	.LC1(%rip), %rdi
	call	puts@PLT
	jmp	.L9
.L4:
	movl	cnt(%rip), %ecx
	testl	%ecx, %ecx
	je	.L7
	movl	$1, %edx
	leaq	-4+cnt(%rip), %rsi
	.p2align 4,,10
	.p2align 3
.L8:
	movl	%edx, %ecx
	addq	$1, %rdx
	movl	(%rsi,%rdx,4), %r9d
	testl	%r9d, %r9d
	jne	.L8
.L7:
	addl	$97, %ecx
	cltq
	movq	%rbp, %rdi
	movb	%cl, 0(%rbp,%rax)
	call	puts@PLT
	jmp	.L9
	.cfi_endproc
.LFE52:
	.size	main, .-main
	.globl	cnt
	.bss
	.align 32
	.type	cnt, @object
	.size	cnt, 104
cnt:
	.zero	104
	.globl	str
	.align 16
	.type	str, @object
	.size	str, 30
str:
	.zero	30
	.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.
Optimized Assembly Code:

train
```assembly
	.file	"temp.c"
	.text
	.p2align 4
	.globl	comp
	.type	comp, @function
comp:
.LFB51:
	.cfi_startproc
	endbr64
	movl	(%rdi), %eax
	subl	(%rsi), %eax
	ret
	.cfi_endproc
.LFE51:
	.size	comp, .-comp
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%s"
.LC1:
	.string	"-1"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB52:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	leaq	str(%rip), %rbp
	leaq	.LC0(%rip), %rdi
	xorl	%eax, %eax
	movq	%rbp, %rsi
	call	__isoc99_scanf@PLT
	movq	%rbp, %rdi
	call	strlen@PLT
	testq	%rax, %rax
	je	.L4
	leal	-1(%rax), %edx
	leaq	1(%rbp), %rdi
	movq	%rbp, %rcx
	movq	%rdx, %r8
	addq	%rdx, %rdi
	leaq	cnt(%rip), %rsi
	.p2align 4,,10
	.p2align 3
.L5:
	movsbl	(%rcx), %edx
	addq	$1, %rcx
	subl	$97, %edx
	movslq	%edx, %rdx
	addl	$1, (%rsi,%rdx,4)
	cmpq	%rcx, %rdi
	jne	.L5
	movslq	%r8d, %rcx
	cmpq	$25, %rax
	jbe	.L4
.L13:
	movsbl	0(%rbp,%rcx), %eax
	movslq	%ecx, %rdi
	subl	$97, %eax
	movslq	%eax, %rdx
	cmpl	$25, %eax
	jg	.L10
	movq	%rdx, %rax
	jmp	.L12
	.p2align 4,,10
	.p2align 3
.L11:
	addq	$1, %rax
	cmpl	$25, %eax
	jg	.L10
.L12:
	movl	(%rsi,%rax,4), %r8d
	testl	%r8d, %r8d
	jne	.L11
	addl	$97, %eax
	movb	%al, 0(%rbp,%rdi)
	movq	%rbp, %rdi
	call	puts@PLT
.L9:
	xorl	%eax, %eax
	popq	%rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L10:
	.cfi_restore_state
	movb	$0, 0(%rbp,%rcx)
	subq	$1, %rcx
	movl	$0, (%rsi,%rdx,4)
	cmpl	$-1, %ecx
	jne	.L13
	leaq	.LC1(%rip), %rdi
	call	puts@PLT
	jmp	.L9
.L4:
	movl	cnt(%rip), %ecx
	testl	%ecx, %ecx
	je	.L7
	movl	$1, %edx
	leaq	-4+cnt(%rip), %rsi
	.p2align 4,,10
	.p2align 3
.L8:
	movl	%edx, %ecx
	addq	$1, %rdx
	movl	(%rsi,%rdx,4), %r9d
	testl	%r9d, %r9d
	jne	.L8
.L7:
	addl	$97, %ecx
	cltq
	movq	%rbp, %rdi
	movb	%cl, 0(%rbp,%rax)
	call	puts@PLT
	jmp	.L9
	.cfi_endproc
.LFE52:
	.size	main, .-main
	.globl	cnt
	.bss
	.align 32
	.type	cnt, @object
	.size	cnt, 104
cnt:
	.zero	104
	.globl	str
	.align 16
	.type	str, @object
	.size	str, 30
str:
	.zero	30
	.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:
```