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

```c
char s[51],t[26],u[26];b;j;main(i){for(gets(s);gets(s);b++){for(i=0;s[i];)t[s[i++]-97]++;for(i=0;i<26;t[i]=0,++i)u[i]=b?fmin(u[i],t[i]):t[i];}for(;j<26;)u[j]--?putchar(97+j):j++;puts("");}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	s
	.bss
	.align 32
	.type	s, @object
	.size	s, 51
s:
	.zero	51
	.globl	t
	.align 16
	.type	t, @object
	.size	t, 26
t:
	.zero	26
	.globl	u
	.align 16
	.type	u, @object
	.size	u, 26
u:
	.zero	26
	.globl	b
	.align 4
	.type	b, @object
	.size	b, 4
b:
	.zero	4
	.globl	j
	.align 4
	.type	j, @object
	.size	j, 4
j:
	.zero	4
	.section	.rodata
.LC0:
	.string	""
	.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	$16, %rsp
	movl	%edi, -4(%rbp)
	leaq	s(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	gets@PLT
	jmp	.L2
.L9:
	movl	$0, -4(%rbp)
	jmp	.L3
.L4:
	movl	-4(%rbp), %eax
	leal	1(%rax), %edx
	movl	%edx, -4(%rbp)
	cltq
	leaq	s(%rip), %rdx
	movzbl	(%rax,%rdx), %eax
	movsbl	%al, %eax
	subl	$97, %eax
	movslq	%eax, %rdx
	leaq	t(%rip), %rcx
	movzbl	(%rdx,%rcx), %edx
	addl	$1, %edx
	movl	%edx, %ecx
	cltq
	leaq	t(%rip), %rdx
	movb	%cl, (%rax,%rdx)
.L3:
	movl	-4(%rbp), %eax
	cltq
	leaq	s(%rip), %rdx
	movzbl	(%rax,%rdx), %eax
	testb	%al, %al
	jne	.L4
	movl	$0, -4(%rbp)
	jmp	.L5
.L8:
	movl	b(%rip), %eax
	testl	%eax, %eax
	je	.L6
	movl	-4(%rbp), %eax
	cltq
	leaq	t(%rip), %rdx
	movzbl	(%rax,%rdx), %eax
	movsbl	%al, %eax
	pxor	%xmm0, %xmm0
	cvtsi2sdl	%eax, %xmm0
	movl	-4(%rbp), %eax
	cltq
	leaq	u(%rip), %rdx
	movzbl	(%rax,%rdx), %eax
	movsbl	%al, %eax
	pxor	%xmm2, %xmm2
	cvtsi2sdl	%eax, %xmm2
	movq	%xmm2, %rax
	movapd	%xmm0, %xmm1
	movq	%rax, %xmm0
	call	fmin@PLT
	cvttsd2sil	%xmm0, %eax
	movl	%eax, %ecx
	jmp	.L7
.L6:
	movl	-4(%rbp), %eax
	cltq
	leaq	t(%rip), %rdx
	movzbl	(%rax,%rdx), %eax
	movsbl	%al, %eax
	pxor	%xmm0, %xmm0
	cvtsi2sdl	%eax, %xmm0
	cvttsd2sil	%xmm0, %eax
	movl	%eax, %ecx
.L7:
	movl	-4(%rbp), %eax
	cltq
	leaq	u(%rip), %rdx
	movb	%cl, (%rax,%rdx)
	movl	-4(%rbp), %eax
	cltq
	leaq	t(%rip), %rdx
	movb	$0, (%rax,%rdx)
	addl	$1, -4(%rbp)
.L5:
	cmpl	$25, -4(%rbp)
	jle	.L8
	movl	b(%rip), %eax
	addl	$1, %eax
	movl	%eax, b(%rip)
.L2:
	leaq	s(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	gets@PLT
	testl	%eax, %eax
	jne	.L9
	jmp	.L10
.L12:
	movl	j(%rip), %eax
	movslq	%eax, %rdx
	leaq	u(%rip), %rcx
	movzbl	(%rdx,%rcx), %edx
	movl	%edx, %ecx
	subl	$1, %ecx
	movl	%ecx, %esi
	cltq
	leaq	u(%rip), %rcx
	movb	%sil, (%rax,%rcx)
	testb	%dl, %dl
	je	.L11
	movl	j(%rip), %eax
	addl	$97, %eax
	movl	%eax, %edi
	call	putchar@PLT
	jmp	.L10
.L11:
	movl	j(%rip), %eax
	addl	$1, %eax
	movl	%eax, j(%rip)
.L10:
	movl	j(%rip), %eax
	cmpl	$25, %eax
	jle	.L12
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	movl	$0, %eax
	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	""
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	xorl	%eax, %eax
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	leaq	s(%rip), %r12
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	movq	%r12, %rdi
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	leaq	t(%rip), %rbx
	leaq	26(%rbx), %rbp
	subq	$8, %rsp
	.cfi_def_cfa_offset 64
	call	gets@PLT
	xorl	%eax, %eax
	movq	%r12, %rdi
	call	gets@PLT
	testl	%eax, %eax
	je	.L7
	.p2align 4,,10
	.p2align 3
.L25:
	movsbl	(%r12), %eax
	leaq	1+s(%rip), %rdx
	testb	%al, %al
	je	.L9
	.p2align 4,,10
	.p2align 3
.L3:
	subl	$97, %eax
	addq	$1, %rdx
	cltq
	addb	$1, (%rbx,%rax)
	movsbl	-1(%rdx), %eax
	testb	%al, %al
	jne	.L3
.L9:
	movl	b(%rip), %r15d
	testl	%r15d, %r15d
	jne	.L4
	movq	16+t(%rip), %rax
	movdqa	(%rbx), %xmm2
	pxor	%xmm0, %xmm0
	movq	$0, 16+t(%rip)
	movaps	%xmm0, t(%rip)
	movq	%rax, 16+u(%rip)
	movzwl	24+t(%rip), %eax
	movaps	%xmm2, u(%rip)
	movw	%ax, 24+u(%rip)
	xorl	%eax, %eax
	movw	%ax, 24+t(%rip)
.L5:
	addl	$1, %r15d
	xorl	%eax, %eax
	movq	%r12, %rdi
	movl	%r15d, b(%rip)
	call	gets@PLT
	testl	%eax, %eax
	jne	.L25
.L7:
	movl	j(%rip), %eax
	leaq	u(%rip), %rbx
	cmpl	$25, %eax
	jg	.L13
	.p2align 4,,10
	.p2align 3
.L10:
	movslq	%eax, %rcx
	movzbl	(%rbx,%rcx), %edx
	leal	-1(%rdx), %esi
	movb	%sil, (%rbx,%rcx)
	testb	%dl, %dl
	jne	.L26
	addl	$1, %eax
	movl	%eax, j(%rip)
	cmpl	$26, %eax
	jne	.L10
.L13:
	leaq	.LC0(%rip), %rdi
	call	puts@PLT
	addq	$8, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	leaq	t(%rip), %r13
	leaq	u(%rip), %r14
	.p2align 4,,10
	.p2align 3
.L6:
	movsbl	(%r14), %edx
	pxor	%xmm0, %xmm0
	pxor	%xmm1, %xmm1
	addq	$1, %r13
	movsbl	-1(%r13), %eax
	addq	$1, %r14
	cvtsi2sdl	%edx, %xmm0
	cvtsi2sdl	%eax, %xmm1
	call	fmin@PLT
	movb	$0, -1(%r13)
	cvttsd2sil	%xmm0, %eax
	movb	%al, -1(%r14)
	cmpq	%rbp, %r13
	jne	.L6
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L26:
	leal	97(%rax), %edi
	call	putchar@PLT
	movl	j(%rip), %eax
	cmpl	$25, %eax
	jle	.L10
	jmp	.L13
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	j
	.bss
	.align 4
	.type	j, @object
	.size	j, 4
j:
	.zero	4
	.globl	b
	.align 4
	.type	b, @object
	.size	b, 4
b:
	.zero	4
	.globl	u
	.align 16
	.type	u, @object
	.size	u, 26
u:
	.zero	26
	.globl	t
	.align 16
	.type	t, @object
	.size	t, 26
t:
	.zero	26
	.globl	s
	.align 32
	.type	s, @object
	.size	s, 51
s:
	.zero	51
	.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	""
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	xorl	%eax, %eax
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	leaq	s(%rip), %r12
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	movq	%r12, %rdi
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	leaq	t(%rip), %rbx
	leaq	26(%rbx), %rbp
	subq	$8, %rsp
	.cfi_def_cfa_offset 64
	call	gets@PLT
	xorl	%eax, %eax
	movq	%r12, %rdi
	call	gets@PLT
	testl	%eax, %eax
	je	.L7
	.p2align 4,,10
	.p2align 3
.L25:
	movsbl	(%r12), %eax
	leaq	1+s(%rip), %rdx
	testb	%al, %al
	je	.L9
	.p2align 4,,10
	.p2align 3
.L3:
	subl	$97, %eax
	addq	$1, %rdx
	cltq
	addb	$1, (%rbx,%rax)
	movsbl	-1(%rdx), %eax
	testb	%al, %al
	jne	.L3
.L9:
	movl	b(%rip), %r15d
	testl	%r15d, %r15d
	jne	.L4
	movq	16+t(%rip), %rax
	movdqa	(%rbx), %xmm2
	pxor	%xmm0, %xmm0
	movq	$0, 16+t(%rip)
	movaps	%xmm0, t(%rip)
	movq	%rax, 16+u(%rip)
	movzwl	24+t(%rip), %eax
	movaps	%xmm2, u(%rip)
	movw	%ax, 24+u(%rip)
	xorl	%eax, %eax
	movw	%ax, 24+t(%rip)
.L5:
	addl	$1, %r15d
	xorl	%eax, %eax
	movq	%r12, %rdi
	movl	%r15d, b(%rip)
	call	gets@PLT
	testl	%eax, %eax
	jne	.L25
.L7:
	movl	j(%rip), %eax
	leaq	u(%rip), %rbx
	cmpl	$25, %eax
	jg	.L13
	.p2align 4,,10
	.p2align 3
.L10:
	movslq	%eax, %rcx
	movzbl	(%rbx,%rcx), %edx
	leal	-1(%rdx), %esi
	movb	%sil, (%rbx,%rcx)
	testb	%dl, %dl
	jne	.L26
	addl	$1, %eax
	movl	%eax, j(%rip)
	cmpl	$26, %eax
	jne	.L10
.L13:
	leaq	.LC0(%rip), %rdi
	call	puts@PLT
	addq	$8, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	leaq	t(%rip), %r13
	leaq	u(%rip), %r14
	.p2align 4,,10
	.p2align 3
.L6:
	movsbl	(%r14), %edx
	pxor	%xmm0, %xmm0
	pxor	%xmm1, %xmm1
	addq	$1, %r13
	movsbl	-1(%r13), %eax
	addq	$1, %r14
	cvtsi2sdl	%edx, %xmm0
	cvtsi2sdl	%eax, %xmm1
	call	fmin@PLT
	movb	$0, -1(%r13)
	cvttsd2sil	%xmm0, %eax
	movb	%al, -1(%r14)
	cmpq	%rbp, %r13
	jne	.L6
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L26:
	leal	97(%rax), %edi
	call	putchar@PLT
	movl	j(%rip), %eax
	cmpl	$25, %eax
	jle	.L10
	jmp	.L13
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	j
	.bss
	.align 4
	.type	j, @object
	.size	j, 4
j:
	.zero	4
	.globl	b
	.align 4
	.type	b, @object
	.size	b, 4
b:
	.zero	4
	.globl	u
	.align 16
	.type	u, @object
	.size	u, 26
u:
	.zero	26
	.globl	t
	.align 16
	.type	t, @object
	.size	t, 26
t:
	.zero	26
	.globl	s
	.align 32
	.type	s, @object
	.size	s, 51
s:
	.zero	51
	.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:

char s[51],t[26],u[26];b;j;main(i){for(gets(s);gets(s);b++){for(i=0;s[i];)t[s[i++]-97]++;for(i=0;i<26;t[i]=0,++i)u[i]=b?fmin(u[i],t[i]):t[i];}for(;j<26;)u[j]--?putchar(97+j):j++;puts("");}
3
cbaa
daacc
acacac

aac

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

```c
char s[51],t[26],u[26];b;j;main(i){for(gets(s);gets(s);b++){for(i=0;s[i];)t[s[i++]-97]++;for(i=0;i<26;t[i]=0,++i)u[i]=b?fmin(u[i],t[i]):t[i];}for(;j<26;)u[j]--?putchar(97+j):j++;puts("");}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	s
	.bss
	.align 32
	.type	s, @object
	.size	s, 51
s:
	.zero	51
	.globl	t
	.align 16
	.type	t, @object
	.size	t, 26
t:
	.zero	26
	.globl	u
	.align 16
	.type	u, @object
	.size	u, 26
u:
	.zero	26
	.globl	b
	.align 4
	.type	b, @object
	.size	b, 4
b:
	.zero	4
	.globl	j
	.align 4
	.type	j, @object
	.size	j, 4
j:
	.zero	4
	.section	.rodata
.LC0:
	.string	""
	.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	$16, %rsp
	movl	%edi, -4(%rbp)
	leaq	s(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	gets@PLT
	jmp	.L2
.L9:
	movl	$0, -4(%rbp)
	jmp	.L3
.L4:
	movl	-4(%rbp), %eax
	leal	1(%rax), %edx
	movl	%edx, -4(%rbp)
	cltq
	leaq	s(%rip), %rdx
	movzbl	(%rax,%rdx), %eax
	movsbl	%al, %eax
	subl	$97, %eax
	movslq	%eax, %rdx
	leaq	t(%rip), %rcx
	movzbl	(%rdx,%rcx), %edx
	addl	$1, %edx
	movl	%edx, %ecx
	cltq
	leaq	t(%rip), %rdx
	movb	%cl, (%rax,%rdx)
.L3:
	movl	-4(%rbp), %eax
	cltq
	leaq	s(%rip), %rdx
	movzbl	(%rax,%rdx), %eax
	testb	%al, %al
	jne	.L4
	movl	$0, -4(%rbp)
	jmp	.L5
.L8:
	movl	b(%rip), %eax
	testl	%eax, %eax
	je	.L6
	movl	-4(%rbp), %eax
	cltq
	leaq	t(%rip), %rdx
	movzbl	(%rax,%rdx), %eax
	movsbl	%al, %eax
	pxor	%xmm0, %xmm0
	cvtsi2sdl	%eax, %xmm0
	movl	-4(%rbp), %eax
	cltq
	leaq	u(%rip), %rdx
	movzbl	(%rax,%rdx), %eax
	movsbl	%al, %eax
	pxor	%xmm2, %xmm2
	cvtsi2sdl	%eax, %xmm2
	movq	%xmm2, %rax
	movapd	%xmm0, %xmm1
	movq	%rax, %xmm0
	call	fmin@PLT
	cvttsd2sil	%xmm0, %eax
	movl	%eax, %ecx
	jmp	.L7
.L6:
	movl	-4(%rbp), %eax
	cltq
	leaq	t(%rip), %rdx
	movzbl	(%rax,%rdx), %eax
	movsbl	%al, %eax
	pxor	%xmm0, %xmm0
	cvtsi2sdl	%eax, %xmm0
	cvttsd2sil	%xmm0, %eax
	movl	%eax, %ecx
.L7:
	movl	-4(%rbp), %eax
	cltq
	leaq	u(%rip), %rdx
	movb	%cl, (%rax,%rdx)
	movl	-4(%rbp), %eax
	cltq
	leaq	t(%rip), %rdx
	movb	$0, (%rax,%rdx)
	addl	$1, -4(%rbp)
.L5:
	cmpl	$25, -4(%rbp)
	jle	.L8
	movl	b(%rip), %eax
	addl	$1, %eax
	movl	%eax, b(%rip)
.L2:
	leaq	s(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	gets@PLT
	testl	%eax, %eax
	jne	.L9
	jmp	.L10
.L12:
	movl	j(%rip), %eax
	movslq	%eax, %rdx
	leaq	u(%rip), %rcx
	movzbl	(%rdx,%rcx), %edx
	movl	%edx, %ecx
	subl	$1, %ecx
	movl	%ecx, %esi
	cltq
	leaq	u(%rip), %rcx
	movb	%sil, (%rax,%rcx)
	testb	%dl, %dl
	je	.L11
	movl	j(%rip), %eax
	addl	$97, %eax
	movl	%eax, %edi
	call	putchar@PLT
	jmp	.L10
.L11:
	movl	j(%rip), %eax
	addl	$1, %eax
	movl	%eax, j(%rip)
.L10:
	movl	j(%rip), %eax
	cmpl	$25, %eax
	jle	.L12
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	movl	$0, %eax
	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	s
	.bss
	.align 32
	.type	s, @object
	.size	s, 51
s:
	.zero	51
	.globl	t
	.align 16
	.type	t, @object
	.size	t, 26
t:
	.zero	26
	.globl	u
	.align 16
	.type	u, @object
	.size	u, 26
u:
	.zero	26
	.globl	b
	.align 4
	.type	b, @object
	.size	b, 4
b:
	.zero	4
	.globl	j
	.align 4
	.type	j, @object
	.size	j, 4
j:
	.zero	4
	.section	.rodata
.LC0:
	.string	""
	.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	$16, %rsp
	movl	%edi, -4(%rbp)
	leaq	s(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	gets@PLT
	jmp	.L2
.L9:
	movl	$0, -4(%rbp)
	jmp	.L3
.L4:
	movl	-4(%rbp), %eax
	leal	1(%rax), %edx
	movl	%edx, -4(%rbp)
	cltq
	leaq	s(%rip), %rdx
	movzbl	(%rax,%rdx), %eax
	movsbl	%al, %eax
	subl	$97, %eax
	movslq	%eax, %rdx
	leaq	t(%rip), %rcx
	movzbl	(%rdx,%rcx), %edx
	addl	$1, %edx
	movl	%edx, %ecx
	cltq
	leaq	t(%rip), %rdx
	movb	%cl, (%rax,%rdx)
.L3:
	movl	-4(%rbp), %eax
	cltq
	leaq	s(%rip), %rdx
	movzbl	(%rax,%rdx), %eax
	testb	%al, %al
	jne	.L4
	movl	$0, -4(%rbp)
	jmp	.L5
.L8:
	movl	b(%rip), %eax
	testl	%eax, %eax
	je	.L6
	movl	-4(%rbp), %eax
	cltq
	leaq	t(%rip), %rdx
	movzbl	(%rax,%rdx), %eax
	movsbl	%al, %eax
	pxor	%xmm0, %xmm0
	cvtsi2sdl	%eax, %xmm0
	movl	-4(%rbp), %eax
	cltq
	leaq	u(%rip), %rdx
	movzbl	(%rax,%rdx), %eax
	movsbl	%al, %eax
	pxor	%xmm2, %xmm2
	cvtsi2sdl	%eax, %xmm2
	movq	%xmm2, %rax
	movapd	%xmm0, %xmm1
	movq	%rax, %xmm0
	call	fmin@PLT
	cvttsd2sil	%xmm0, %eax
	movl	%eax, %ecx
	jmp	.L7
.L6:
	movl	-4(%rbp), %eax
	cltq
	leaq	t(%rip), %rdx
	movzbl	(%rax,%rdx), %eax
	movsbl	%al, %eax
	pxor	%xmm0, %xmm0
	cvtsi2sdl	%eax, %xmm0
	cvttsd2sil	%xmm0, %eax
	movl	%eax, %ecx
.L7:
	movl	-4(%rbp), %eax
	cltq
	leaq	u(%rip), %rdx
	movb	%cl, (%rax,%rdx)
	movl	-4(%rbp), %eax
	cltq
	leaq	t(%rip), %rdx
	movb	$0, (%rax,%rdx)
	addl	$1, -4(%rbp)
.L5:
	cmpl	$25, -4(%rbp)
	jle	.L8
	movl	b(%rip), %eax
	addl	$1, %eax
	movl	%eax, b(%rip)
.L2:
	leaq	s(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	gets@PLT
	testl	%eax, %eax
	jne	.L9
	jmp	.L10
.L12:
	movl	j(%rip), %eax
	movslq	%eax, %rdx
	leaq	u(%rip), %rcx
	movzbl	(%rdx,%rcx), %edx
	movl	%edx, %ecx
	subl	$1, %ecx
	movl	%ecx, %esi
	cltq
	leaq	u(%rip), %rcx
	movb	%sil, (%rax,%rcx)
	testb	%dl, %dl
	je	.L11
	movl	j(%rip), %eax
	addl	$97, %eax
	movl	%eax, %edi
	call	putchar@PLT
	jmp	.L10
.L11:
	movl	j(%rip), %eax
	addl	$1, %eax
	movl	%eax, j(%rip)
.L10:
	movl	j(%rip), %eax
	cmpl	$25, %eax
	jle	.L12
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	movl	$0, %eax
	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:
