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()
{
    char s[55], t[55];
    scanf("%s%s", s, t);
    int i, j;
    int n = strlen(s), m = strlen(t);
    if (n < m)
    {
        printf("UNRESTORABLE\n");
        return 0;
    }
    int x;
    for (i = n - m; i >= 0; i--)
    {
        x = 0;
        for (j = 0; j < m; j++)
        {
            if (s[i + j] != '?' && s[i + j] != t[j])
            {
                x++;
                break;
            }
        }
        if (x == 0)
        {
            for (j = 0; j < m; j++)
                s[i + j] = t[j];
            x = -1;
            break;
        }
    }
    if (x != -1)
    {
        printf("UNRESTORABLE\n");
        return 0;
    }
    for (i = 0; i < n; i++)
        if (s[i] == '?')
            s[i] = 'a';
    printf("%s\n", s);
    return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%s%s"
.LC1:
	.string	"UNRESTORABLE"
	.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	$160, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-64(%rbp), %rdx
	leaq	-128(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	leaq	-128(%rbp), %rax
	movq	%rax, %rdi
	call	strlen@PLT
	movl	%eax, -136(%rbp)
	leaq	-64(%rbp), %rax
	movq	%rax, %rdi
	call	strlen@PLT
	movl	%eax, -132(%rbp)
	movl	-136(%rbp), %eax
	cmpl	-132(%rbp), %eax
	jge	.L2
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	movl	$0, %eax
	jmp	.L18
.L2:
	movl	-136(%rbp), %eax
	subl	-132(%rbp), %eax
	movl	%eax, -148(%rbp)
	jmp	.L4
.L13:
	movl	$0, -140(%rbp)
	movl	$0, -144(%rbp)
	jmp	.L5
.L8:
	movl	-148(%rbp), %edx
	movl	-144(%rbp), %eax
	addl	%edx, %eax
	cltq
	movzbl	-128(%rbp,%rax), %eax
	cmpb	$63, %al
	je	.L6
	movl	-148(%rbp), %edx
	movl	-144(%rbp), %eax
	addl	%edx, %eax
	cltq
	movzbl	-128(%rbp,%rax), %edx
	movl	-144(%rbp), %eax
	cltq
	movzbl	-64(%rbp,%rax), %eax
	cmpb	%al, %dl
	je	.L6
	addl	$1, -140(%rbp)
	jmp	.L7
.L6:
	addl	$1, -144(%rbp)
.L5:
	movl	-144(%rbp), %eax
	cmpl	-132(%rbp), %eax
	jl	.L8
.L7:
	cmpl	$0, -140(%rbp)
	jne	.L9
	movl	$0, -144(%rbp)
	jmp	.L10
.L11:
	movl	-148(%rbp), %edx
	movl	-144(%rbp), %eax
	leal	(%rdx,%rax), %ecx
	movl	-144(%rbp), %eax
	cltq
	movzbl	-64(%rbp,%rax), %edx
	movslq	%ecx, %rax
	movb	%dl, -128(%rbp,%rax)
	addl	$1, -144(%rbp)
.L10:
	movl	-144(%rbp), %eax
	cmpl	-132(%rbp), %eax
	jl	.L11
	movl	$-1, -140(%rbp)
	jmp	.L12
.L9:
	subl	$1, -148(%rbp)
.L4:
	cmpl	$0, -148(%rbp)
	jns	.L13
.L12:
	cmpl	$-1, -140(%rbp)
	je	.L14
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	movl	$0, %eax
	jmp	.L18
.L14:
	movl	$0, -148(%rbp)
	jmp	.L15
.L17:
	movl	-148(%rbp), %eax
	cltq
	movzbl	-128(%rbp,%rax), %eax
	cmpb	$63, %al
	jne	.L16
	movl	-148(%rbp), %eax
	cltq
	movb	$97, -128(%rbp,%rax)
.L16:
	addl	$1, -148(%rbp)
.L15:
	movl	-148(%rbp), %eax
	cmpl	-136(%rbp), %eax
	jl	.L17
	leaq	-128(%rbp), %rax
	movq	%rax, %rdi
	call	puts@PLT
	movl	$0, %eax
.L18:
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L19
	call	__stack_chk_fail@PLT
.L19:
	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%s"
.LC1:
	.string	"UNRESTORABLE"
	.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
	leaq	.LC0(%rip), %rdi
	pushq	%rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	addq	$-128, %rsp
	.cfi_def_cfa_offset 160
	movq	%fs:40, %rax
	movq	%rax, 120(%rsp)
	xorl	%eax, %eax
	leaq	64(%rsp), %rbx
	movq	%rsp, %rbp
	movq	%rbx, %rdx
	movq	%rbp, %rsi
	call	__isoc99_scanf@PLT
	movq	%rbp, %rdi
	call	strlen@PLT
	movq	%rbx, %rdi
	movq	%rax, %r12
	call	strlen@PLT
	cmpl	%eax, %r12d
	jl	.L5
	movl	%r12d, %edi
	movq	%rax, %rcx
	movl	%eax, %r8d
	subl	%eax, %edi
	movslq	%edi, %rsi
	addq	%rbp, %rsi
	testl	%edi, %edi
	js	.L5
	.p2align 4,,10
	.p2align 3
.L20:
	testl	%r8d, %r8d
	je	.L17
	xorl	%eax, %eax
	.p2align 4,,10
	.p2align 3
.L8:
	movzbl	(%rsi,%rax), %edx
	cmpb	$63, %dl
	je	.L6
	cmpb	(%rbx,%rax), %dl
	jne	.L7
.L6:
	addq	$1, %rax
	cmpq	%rax, %rcx
	jne	.L8
	movslq	%edi, %rdi
	addq	%rbp, %rdi
	cmpl	$8, %ecx
	jnb	.L9
	testb	$4, %cl
	jne	.L37
	testl	%ecx, %ecx
	jne	.L38
.L17:
	testl	%r12d, %r12d
	je	.L16
	leal	-1(%r12), %edx
	movq	%rbp, %rax
	leaq	1(%rsp,%rdx), %rdx
	.p2align 4,,10
	.p2align 3
.L19:
	cmpb	$63, (%rax)
	jne	.L18
	movb	$97, (%rax)
.L18:
	addq	$1, %rax
	cmpq	%rdx, %rax
	jne	.L19
.L16:
	movq	%rbp, %rdi
	call	puts@PLT
.L3:
	movq	120(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L39
	subq	$-128, %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
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	subl	$1, %edi
	subq	$1, %rsi
	cmpl	$-1, %edi
	jne	.L20
.L5:
	leaq	.LC1(%rip), %rdi
	call	puts@PLT
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L9:
	movq	64(%rsp), %rax
	leaq	8(%rdi), %rsi
	andq	$-8, %rsi
	movq	%rax, (%rdi)
	movl	%ecx, %eax
	movq	-8(%rbx,%rax), %rdx
	movq	%rdx, -8(%rdi,%rax)
	subq	%rsi, %rdi
	addl	%edi, %ecx
	subq	%rdi, %rbx
	andl	$-8, %ecx
	cmpl	$8, %ecx
	jb	.L17
	andl	$-8, %ecx
	xorl	%eax, %eax
.L13:
	movl	%eax, %edx
	addl	$8, %eax
	movq	(%rbx,%rdx), %rdi
	movq	%rdi, (%rsi,%rdx)
	cmpl	%ecx, %eax
	jb	.L13
	jmp	.L17
	.p2align 4,,10
	.p2align 3
.L38:
	movzbl	64(%rsp), %eax
	movb	%al, (%rdi)
	testb	$2, %cl
	je	.L17
	movl	%ecx, %ecx
	movzwl	-2(%rbx,%rcx), %eax
	movw	%ax, -2(%rdi,%rcx)
	jmp	.L17
.L37:
	movl	64(%rsp), %eax
	movl	%ecx, %ecx
	movl	%eax, (%rdi)
	movl	-4(%rbx,%rcx), %eax
	movl	%eax, -4(%rdi,%rcx)
	jmp	.L17
.L39:
	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%s"
.LC1:
	.string	"UNRESTORABLE"
	.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
	leaq	.LC0(%rip), %rdi
	pushq	%rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	addq	$-128, %rsp
	.cfi_def_cfa_offset 160
	movq	%fs:40, %rax
	movq	%rax, 120(%rsp)
	xorl	%eax, %eax
	leaq	64(%rsp), %rbx
	movq	%rsp, %rbp
	movq	%rbx, %rdx
	movq	%rbp, %rsi
	call	__isoc99_scanf@PLT
	movq	%rbp, %rdi
	call	strlen@PLT
	movq	%rbx, %rdi
	movq	%rax, %r12
	call	strlen@PLT
	cmpl	%eax, %r12d
	jl	.L5
	movl	%r12d, %edi
	movq	%rax, %rcx
	movl	%eax, %r8d
	subl	%eax, %edi
	movslq	%edi, %rsi
	addq	%rbp, %rsi
	testl	%edi, %edi
	js	.L5
	.p2align 4,,10
	.p2align 3
.L20:
	testl	%r8d, %r8d
	je	.L17
	xorl	%eax, %eax
	.p2align 4,,10
	.p2align 3
.L8:
	movzbl	(%rsi,%rax), %edx
	cmpb	$63, %dl
	je	.L6
	cmpb	(%rbx,%rax), %dl
	jne	.L7
.L6:
	addq	$1, %rax
	cmpq	%rax, %rcx
	jne	.L8
	movslq	%edi, %rdi
	addq	%rbp, %rdi
	cmpl	$8, %ecx
	jnb	.L9
	testb	$4, %cl
	jne	.L37
	testl	%ecx, %ecx
	jne	.L38
.L17:
	testl	%r12d, %r12d
	je	.L16
	leal	-1(%r12), %edx
	movq	%rbp, %rax
	leaq	1(%rsp,%rdx), %rdx
	.p2align 4,,10
	.p2align 3
.L19:
	cmpb	$63, (%rax)
	jne	.L18
	movb	$97, (%rax)
.L18:
	addq	$1, %rax
	cmpq	%rdx, %rax
	jne	.L19
.L16:
	movq	%rbp, %rdi
	call	puts@PLT
.L3:
	movq	120(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L39
	subq	$-128, %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
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	subl	$1, %edi
	subq	$1, %rsi
	cmpl	$-1, %edi
	jne	.L20
.L5:
	leaq	.LC1(%rip), %rdi
	call	puts@PLT
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L9:
	movq	64(%rsp), %rax
	leaq	8(%rdi), %rsi
	andq	$-8, %rsi
	movq	%rax, (%rdi)
	movl	%ecx, %eax
	movq	-8(%rbx,%rax), %rdx
	movq	%rdx, -8(%rdi,%rax)
	subq	%rsi, %rdi
	addl	%edi, %ecx
	subq	%rdi, %rbx
	andl	$-8, %ecx
	cmpl	$8, %ecx
	jb	.L17
	andl	$-8, %ecx
	xorl	%eax, %eax
.L13:
	movl	%eax, %edx
	addl	$8, %eax
	movq	(%rbx,%rdx), %rdi
	movq	%rdi, (%rsi,%rdx)
	cmpl	%ecx, %eax
	jb	.L13
	jmp	.L17
	.p2align 4,,10
	.p2align 3
.L38:
	movzbl	64(%rsp), %eax
	movb	%al, (%rdi)
	testb	$2, %cl
	je	.L17
	movl	%ecx, %ecx
	movzwl	-2(%rbx,%rcx), %eax
	movw	%ax, -2(%rdi,%rcx)
	jmp	.L17
.L37:
	movl	64(%rsp), %eax
	movl	%ecx, %ecx
	movl	%eax, (%rdi)
	movl	-4(%rbx,%rcx), %eax
	movl	%eax, -4(%rdi,%rcx)
	jmp	.L17
.L39:
	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()
{
    char s[55], t[55];
    scanf("%s%s", s, t);
    int i, j;
    int n = strlen(s), m = strlen(t);
    if (n < m)
    {
        printf("UNRESTORABLE\n");
        return 0;
    }
    int x;
    for (i = n - m; i >= 0; i--)
    {
        x = 0;
        for (j = 0; j < m; j++)
        {
            if (s[i + j] != '?' && s[i + j] != t[j])
            {
                x++;
                break;
            }
        }
        if (x == 0)
        {
            for (j = 0; j < m; j++)
                s[i + j] = t[j];
            x = -1;
            break;
        }
    }
    if (x != -1)
    {
        printf("UNRESTORABLE\n");
        return 0;
    }
    for (i = 0; i < n; i++)
        if (s[i] == '?')
            s[i] = 'a';
    printf("%s\n", s);
    return 0;
}
?tc??@?
coder
 >q???d?>
_ba
 d>>>???q
a`a
 d>>>???q
aaa
 ??p??d??
abb
 ?tc??@?
cnder
 ??p??d??
`bb
 ?tc??@?
endcr
 ??p??d??
`ab
 @tc??@?
endcr

UNRESTORABLE
 >q_bada>
 d>>>a`aq
 d>>>aaaq
 UNRESTORABLE
 UNRESTORABLE
 UNRESTORABLE
 UNRESTORABLE
 UNRESTORABLE
 UNRESTORABLE

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()
{
    char s[55], t[55];
    scanf("%s%s", s, t);
    int i, j;
    int n = strlen(s), m = strlen(t);
    if (n < m)
    {
        printf("UNRESTORABLE\n");
        return 0;
    }
    int x;
    for (i = n - m; i >= 0; i--)
    {
        x = 0;
        for (j = 0; j < m; j++)
        {
            if (s[i + j] != '?' && s[i + j] != t[j])
            {
                x++;
                break;
            }
        }
        if (x == 0)
        {
            for (j = 0; j < m; j++)
                s[i + j] = t[j];
            x = -1;
            break;
        }
    }
    if (x != -1)
    {
        printf("UNRESTORABLE\n");
        return 0;
    }
    for (i = 0; i < n; i++)
        if (s[i] == '?')
            s[i] = 'a';
    printf("%s\n", s);
    return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%s%s"
.LC1:
	.string	"UNRESTORABLE"
	.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	$160, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-64(%rbp), %rdx
	leaq	-128(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	leaq	-128(%rbp), %rax
	movq	%rax, %rdi
	call	strlen@PLT
	movl	%eax, -136(%rbp)
	leaq	-64(%rbp), %rax
	movq	%rax, %rdi
	call	strlen@PLT
	movl	%eax, -132(%rbp)
	movl	-136(%rbp), %eax
	cmpl	-132(%rbp), %eax
	jge	.L2
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	movl	$0, %eax
	jmp	.L18
.L2:
	movl	-136(%rbp), %eax
	subl	-132(%rbp), %eax
	movl	%eax, -148(%rbp)
	jmp	.L4
.L13:
	movl	$0, -140(%rbp)
	movl	$0, -144(%rbp)
	jmp	.L5
.L8:
	movl	-148(%rbp), %edx
	movl	-144(%rbp), %eax
	addl	%edx, %eax
	cltq
	movzbl	-128(%rbp,%rax), %eax
	cmpb	$63, %al
	je	.L6
	movl	-148(%rbp), %edx
	movl	-144(%rbp), %eax
	addl	%edx, %eax
	cltq
	movzbl	-128(%rbp,%rax), %edx
	movl	-144(%rbp), %eax
	cltq
	movzbl	-64(%rbp,%rax), %eax
	cmpb	%al, %dl
	je	.L6
	addl	$1, -140(%rbp)
	jmp	.L7
.L6:
	addl	$1, -144(%rbp)
.L5:
	movl	-144(%rbp), %eax
	cmpl	-132(%rbp), %eax
	jl	.L8
.L7:
	cmpl	$0, -140(%rbp)
	jne	.L9
	movl	$0, -144(%rbp)
	jmp	.L10
.L11:
	movl	-148(%rbp), %edx
	movl	-144(%rbp), %eax
	leal	(%rdx,%rax), %ecx
	movl	-144(%rbp), %eax
	cltq
	movzbl	-64(%rbp,%rax), %edx
	movslq	%ecx, %rax
	movb	%dl, -128(%rbp,%rax)
	addl	$1, -144(%rbp)
.L10:
	movl	-144(%rbp), %eax
	cmpl	-132(%rbp), %eax
	jl	.L11
	movl	$-1, -140(%rbp)
	jmp	.L12
.L9:
	subl	$1, -148(%rbp)
.L4:
	cmpl	$0, -148(%rbp)
	jns	.L13
.L12:
	cmpl	$-1, -140(%rbp)
	je	.L14
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	movl	$0, %eax
	jmp	.L18
.L14:
	movl	$0, -148(%rbp)
	jmp	.L15
.L17:
	movl	-148(%rbp), %eax
	cltq
	movzbl	-128(%rbp,%rax), %eax
	cmpb	$63, %al
	jne	.L16
	movl	-148(%rbp), %eax
	cltq
	movb	$97, -128(%rbp,%rax)
.L16:
	addl	$1, -148(%rbp)
.L15:
	movl	-148(%rbp), %eax
	cmpl	-136(%rbp), %eax
	jl	.L17
	leaq	-128(%rbp), %rax
	movq	%rax, %rdi
	call	puts@PLT
	movl	$0, %eax
.L18:
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L19
	call	__stack_chk_fail@PLT
.L19:
	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%s"
.LC1:
	.string	"UNRESTORABLE"
	.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	$160, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-64(%rbp), %rdx
	leaq	-128(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	leaq	-128(%rbp), %rax
	movq	%rax, %rdi
	call	strlen@PLT
	movl	%eax, -136(%rbp)
	leaq	-64(%rbp), %rax
	movq	%rax, %rdi
	call	strlen@PLT
	movl	%eax, -132(%rbp)
	movl	-136(%rbp), %eax
	cmpl	-132(%rbp), %eax
	jge	.L2
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	movl	$0, %eax
	jmp	.L18
.L2:
	movl	-136(%rbp), %eax
	subl	-132(%rbp), %eax
	movl	%eax, -148(%rbp)
	jmp	.L4
.L13:
	movl	$0, -140(%rbp)
	movl	$0, -144(%rbp)
	jmp	.L5
.L8:
	movl	-148(%rbp), %edx
	movl	-144(%rbp), %eax
	addl	%edx, %eax
	cltq
	movzbl	-128(%rbp,%rax), %eax
	cmpb	$63, %al
	je	.L6
	movl	-148(%rbp), %edx
	movl	-144(%rbp), %eax
	addl	%edx, %eax
	cltq
	movzbl	-128(%rbp,%rax), %edx
	movl	-144(%rbp), %eax
	cltq
	movzbl	-64(%rbp,%rax), %eax
	cmpb	%al, %dl
	je	.L6
	addl	$1, -140(%rbp)
	jmp	.L7
.L6:
	addl	$1, -144(%rbp)
.L5:
	movl	-144(%rbp), %eax
	cmpl	-132(%rbp), %eax
	jl	.L8
.L7:
	cmpl	$0, -140(%rbp)
	jne	.L9
	movl	$0, -144(%rbp)
	jmp	.L10
.L11:
	movl	-148(%rbp), %edx
	movl	-144(%rbp), %eax
	leal	(%rdx,%rax), %ecx
	movl	-144(%rbp), %eax
	cltq
	movzbl	-64(%rbp,%rax), %edx
	movslq	%ecx, %rax
	movb	%dl, -128(%rbp,%rax)
	addl	$1, -144(%rbp)
.L10:
	movl	-144(%rbp), %eax
	cmpl	-132(%rbp), %eax
	jl	.L11
	movl	$-1, -140(%rbp)
	jmp	.L12
.L9:
	subl	$1, -148(%rbp)
.L4:
	cmpl	$0, -148(%rbp)
	jns	.L13
.L12:
	cmpl	$-1, -140(%rbp)
	je	.L14
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	movl	$0, %eax
	jmp	.L18
.L14:
	movl	$0, -148(%rbp)
	jmp	.L15
.L17:
	movl	-148(%rbp), %eax
	cltq
	movzbl	-128(%rbp,%rax), %eax
	cmpb	$63, %al
	jne	.L16
	movl	-148(%rbp), %eax
	cltq
	movb	$97, -128(%rbp,%rax)
.L16:
	addl	$1, -148(%rbp)
.L15:
	movl	-148(%rbp), %eax
	cmpl	-136(%rbp), %eax
	jl	.L17
	leaq	-128(%rbp), %rax
	movq	%rax, %rdi
	call	puts@PLT
	movl	$0, %eax
.L18:
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L19
	call	__stack_chk_fail@PLT
.L19:
	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:
