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<string.h>
int main()
{   
	int l1,l2,i,j,k,t,m;
   	char S[100],T[50];
   	scanf("%s",S);
   	scanf("%s",T);
   	l1=strlen(S);
   	l2=strlen(T);
   	for(i=l1-1;i>=0;i--)
	{
			for(j=i,m=0;j<i+l2;j++,m++) 
			{
				if(S[j]=='?'||S[j]==T[m])
				continue;
				else
				break;
			} 
			if(j==i+l2)
			{
				for(k=i,m=0;k<i+l2;k++,m++)
				{
					S[k]=T[m];  
				}
				for(k=0;k<l1;k++)
				if(S[k]=='?')
					S[k]='a';
				printf("%s",S);
				return 0;
			}
	}
	printf("UNRESTORABLE\n");
	return 0;
}
```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%s"
.LC1:
	.string	"UNRESTORABLE"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB35:
	.cfi_startproc
	endbr64
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	leaq	.LC0(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	movq	%rbp, %rdi
	subq	$176, %rsp
	.cfi_def_cfa_offset 224
	movq	%fs:40, %rax
	movq	%rax, 168(%rsp)
	xorl	%eax, %eax
	leaq	64(%rsp), %r12
	movq	%rsp, %r13
	movq	%r12, %rsi
	call	__isoc99_scanf@PLT
	movq	%r13, %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movq	%r12, %rdi
	call	strlen@PLT
	movq	%r13, %rdi
	movq	%rax, %r14
	movl	%eax, %ebx
	call	strlen@PLT
	testl	%r14d, %r14d
	je	.L2
	leal	-1(%r14), %edx
	movq	%r13, %rcx
	leaq	63(%rsp), %r8
	leal	(%rdx,%rax), %edi
	movslq	%edx, %rsi
	subl	$1, %eax
	subq	%rsi, %rcx
	leaq	2(%rsp,%rax), %r10
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L28:
	cmpb	-1(%rcx,%rax), %sil
	je	.L4
.L5:
	subl	$1, %edx
	subl	$1, %edi
	addq	$1, %rcx
	cmpl	$-1, %edx
	je	.L2
.L3:
	movq	%r10, %r9
	leal	1(%rdx), %eax
	movl	%edx, %esi
	subq	%rcx, %r9
	cmpl	%edi, %edx
	jge	.L12
.L6:
	movzbl	(%r8,%rax), %esi
	cmpb	$63, %sil
	jne	.L28
.L4:
	movl	%eax, %esi
	addq	$1, %rax
	cmpq	%r9, %rax
	jne	.L6
.L12:
	cmpl	%edi, %esi
	jne	.L5
	cmpl	%esi, %edx
	jge	.L7
	subl	%edx, %esi
	movslq	%edx, %rdi
	leal	-1(%rsi), %edx
	addq	%r12, %rdi
	movq	%r13, %rsi
	addq	$1, %rdx
	call	memcpy@PLT
.L7:
	movq	%r12, %rax
	xorl	%edx, %edx
	.p2align 4,,10
	.p2align 3
.L9:
	cmpb	$63, (%rax)
	jne	.L8
	movb	$97, (%rax)
.L8:
	addl	$1, %edx
	addq	$1, %rax
	cmpl	%edx, %ebx
	jg	.L9
	movq	%r12, %rdx
	movq	%rbp, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L10
.L2:
	leaq	.LC1(%rip), %rdi
	call	puts@PLT
.L10:
	movq	168(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L29
	addq	$176, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%rbp
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r13
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	ret
.L29:
	.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:
```

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
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%s"
.LC1:
	.string	"UNRESTORABLE"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB35:
	.cfi_startproc
	endbr64
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	leaq	.LC0(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	movq	%rbp, %rdi
	subq	$176, %rsp
	.cfi_def_cfa_offset 224
	movq	%fs:40, %rax
	movq	%rax, 168(%rsp)
	xorl	%eax, %eax
	leaq	64(%rsp), %r12
	movq	%rsp, %r13
	movq	%r12, %rsi
	call	__isoc99_scanf@PLT
	movq	%r13, %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movq	%r12, %rdi
	call	strlen@PLT
	movq	%r13, %rdi
	movq	%rax, %r14
	movl	%eax, %ebx
	call	strlen@PLT
	testl	%r14d, %r14d
	je	.L2
	leal	-1(%r14), %edx
	movq	%r13, %rcx
	leaq	63(%rsp), %r8
	leal	(%rdx,%rax), %edi
	movslq	%edx, %rsi
	subl	$1, %eax
	subq	%rsi, %rcx
	leaq	2(%rsp,%rax), %r10
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L28:
	cmpb	-1(%rcx,%rax), %sil
	je	.L4
.L5:
	subl	$1, %edx
	subl	$1, %edi
	addq	$1, %rcx
	cmpl	$-1, %edx
	je	.L2
.L3:
	movq	%r10, %r9
	leal	1(%rdx), %eax
	movl	%edx, %esi
	subq	%rcx, %r9
	cmpl	%edi, %edx
	jge	.L12
.L6:
	movzbl	(%r8,%rax), %esi
	cmpb	$63, %sil
	jne	.L28
.L4:
	movl	%eax, %esi
	addq	$1, %rax
	cmpq	%r9, %rax
	jne	.L6
.L12:
	cmpl	%edi, %esi
	jne	.L5
	cmpl	%esi, %edx
	jge	.L7
	subl	%edx, %esi
	movslq	%edx, %rdi
	leal	-1(%rsi), %edx
	addq	%r12, %rdi
	movq	%r13, %rsi
	addq	$1, %rdx
	call	memcpy@PLT
.L7:
	movq	%r12, %rax
	xorl	%edx, %edx
	.p2align 4,,10
	.p2align 3
.L9:
	cmpb	$63, (%rax)
	jne	.L8
	movb	$97, (%rax)
.L8:
	addl	$1, %edx
	addq	$1, %rax
	cmpl	%edx, %ebx
	jg	.L9
	movq	%r12, %rdx
	movq	%rbp, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L10
.L2:
	leaq	.LC1(%rip), %rdi
	call	puts@PLT
.L10:
	movq	168(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L29
	addq	$176, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%rbp
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r13
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	ret
.L29:
	.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
```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%s"
.LC1:
	.string	"UNRESTORABLE"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB35:
	.cfi_startproc
	endbr64
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	leaq	.LC0(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	movq	%rbp, %rdi
	subq	$176, %rsp
	.cfi_def_cfa_offset 224
	movq	%fs:40, %rax
	movq	%rax, 168(%rsp)
	xorl	%eax, %eax
	leaq	64(%rsp), %r12
	movq	%rsp, %r13
	movq	%r12, %rsi
	call	__isoc99_scanf@PLT
	movq	%r13, %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movq	%r12, %rdi
	call	strlen@PLT
	movq	%r13, %rdi
	movq	%rax, %r14
	movl	%eax, %ebx
	call	strlen@PLT
	testl	%r14d, %r14d
	je	.L2
	leal	-1(%r14), %edx
	movq	%r13, %rcx
	leaq	63(%rsp), %r8
	leal	(%rdx,%rax), %edi
	movslq	%edx, %rsi
	subl	$1, %eax
	subq	%rsi, %rcx
	leaq	2(%rsp,%rax), %r10
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L28:
	cmpb	-1(%rcx,%rax), %sil
	je	.L4
.L5:
	subl	$1, %edx
	subl	$1, %edi
	addq	$1, %rcx
	cmpl	$-1, %edx
	je	.L2
.L3:
	movq	%r10, %r9
	leal	1(%rdx), %eax
	movl	%edx, %esi
	subq	%rcx, %r9
	cmpl	%edi, %edx
	jge	.L12
.L6:
	movzbl	(%r8,%rax), %esi
	cmpb	$63, %sil
	jne	.L28
.L4:
	movl	%eax, %esi
	addq	$1, %rax
	cmpq	%r9, %rax
	jne	.L6
.L12:
	cmpl	%edi, %esi
	jne	.L5
	cmpl	%esi, %edx
	jge	.L7
	subl	%edx, %esi
	movslq	%edx, %rdi
	leal	-1(%rsi), %edx
	addq	%r12, %rdi
	movq	%r13, %rsi
	addq	$1, %rdx
	call	memcpy@PLT
.L7:
	movq	%r12, %rax
	xorl	%edx, %edx
	.p2align 4,,10
	.p2align 3
.L9:
	cmpb	$63, (%rax)
	jne	.L8
	movb	$97, (%rax)
.L8:
	addl	$1, %edx
	addq	$1, %rax
	cmpl	%edx, %ebx
	jg	.L9
	movq	%r12, %rdx
	movq	%rbp, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L10
.L2:
	leaq	.LC1(%rip), %rdi
	call	puts@PLT
.L10:
	movq	168(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L29
	addq	$176, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%rbp
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r13
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	ret
.L29:
	.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:
```
```c
#include<stdio.h>
#include<string.h>
int main()
{   
	int l1,l2,i,j,k,t,m;
   	char S[100],T[50];
   	scanf("%s",S);
   	scanf("%s",T);
   	l1=strlen(S);
   	l2=strlen(T);
   	for(i=l1-1;i>=0;i--)
	{
			for(j=i,m=0;j<i+l2;j++,m++) 
			{
				if(S[j]=='?'||S[j]==T[m])
				continue;
				else
				break;
			} 
			if(j==i+l2)
			{
				for(k=i,m=0;k<i+l2;k++,m++)
				{
					S[k]=T[m];  
				}
				for(k=0;k<l1;k++)
				if(S[k]=='?')
					S[k]='a';
				printf("%s",S);
				return 0;
			}
	}
	printf("UNRESTORABLE\n");
	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<string.h>
int main()
{   
	int l1,l2,i,j,k,t,m;
   	char S[100],T[50];
   	scanf("%s",S);
   	scanf("%s",T);
   	l1=strlen(S);
   	l2=strlen(T);
   	for(i=l1-1;i>=0;i--)
	{
			for(j=i,m=0;j<i+l2;j++,m++) 
			{
				if(S[j]=='?'||S[j]==T[m])
				continue;
				else
				break;
			} 
			if(j==i+l2)
			{
				for(k=i,m=0;k<i+l2;k++,m++)
				{
					S[k]=T[m];  
				}
				for(k=0;k<l1;k++)
				if(S[k]=='?')
					S[k]='a';
				printf("%s",S);
				return 0;
			}
	}
	printf("UNRESTORABLE\n");
	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:

?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 assembly code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
#include<stdio.h>
#include<string.h>
int main()
{   
	int l1,l2,i,j,k,t,m;
   	char S[100],T[50];
   	scanf("%s",S);
   	scanf("%s",T);
   	l1=strlen(S);
   	l2=strlen(T);
   	for(i=l1-1;i>=0;i--)
	{
			for(j=i,m=0;j<i+l2;j++,m++) 
			{
				if(S[j]=='?'||S[j]==T[m])
				continue;
				else
				break;
			} 
			if(j==i+l2)
			{
				for(k=i,m=0;k<i+l2;k++,m++)
				{
					S[k]=T[m];  
				}
				for(k=0;k<l1;k++)
				if(S[k]=='?')
					S[k]='a';
				printf("%s",S);
				return 0;
			}
	}
	printf("UNRESTORABLE\n");
	return 0;
}
```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%s"
.LC1:
	.string	"UNRESTORABLE"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB35:
	.cfi_startproc
	endbr64
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	leaq	.LC0(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	movq	%rbp, %rdi
	subq	$176, %rsp
	.cfi_def_cfa_offset 224
	movq	%fs:40, %rax
	movq	%rax, 168(%rsp)
	xorl	%eax, %eax
	leaq	64(%rsp), %r12
	movq	%rsp, %r13
	movq	%r12, %rsi
	call	__isoc99_scanf@PLT
	movq	%r13, %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movq	%r12, %rdi
	call	strlen@PLT
	movq	%r13, %rdi
	movq	%rax, %r14
	movl	%eax, %ebx
	call	strlen@PLT
	testl	%r14d, %r14d
	je	.L2
	leal	-1(%r14), %edx
	movq	%r13, %rcx
	leaq	63(%rsp), %r8
	leal	(%rdx,%rax), %edi
	movslq	%edx, %rsi
	subl	$1, %eax
	subq	%rsi, %rcx
	leaq	2(%rsp,%rax), %r10
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L28:
	cmpb	-1(%rcx,%rax), %sil
	je	.L4
.L5:
	subl	$1, %edx
	subl	$1, %edi
	addq	$1, %rcx
	cmpl	$-1, %edx
	je	.L2
.L3:
	movq	%r10, %r9
	leal	1(%rdx), %eax
	movl	%edx, %esi
	subq	%rcx, %r9
	cmpl	%edi, %edx
	jge	.L12
.L6:
	movzbl	(%r8,%rax), %esi
	cmpb	$63, %sil
	jne	.L28
.L4:
	movl	%eax, %esi
	addq	$1, %rax
	cmpq	%r9, %rax
	jne	.L6
.L12:
	cmpl	%edi, %esi
	jne	.L5
	cmpl	%esi, %edx
	jge	.L7
	subl	%edx, %esi
	movslq	%edx, %rdi
	leal	-1(%rsi), %edx
	addq	%r12, %rdi
	movq	%r13, %rsi
	addq	$1, %rdx
	call	memcpy@PLT
.L7:
	movq	%r12, %rax
	xorl	%edx, %edx
	.p2align 4,,10
	.p2align 3
.L9:
	cmpb	$63, (%rax)
	jne	.L8
	movb	$97, (%rax)
.L8:
	addl	$1, %edx
	addq	$1, %rax
	cmpl	%edx, %ebx
	jg	.L9
	movq	%r12, %rdx
	movq	%rbp, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L10
.L2:
	leaq	.LC1(%rip), %rdi
	call	puts@PLT
.L10:
	movq	168(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L29
	addq	$176, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%rbp
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r13
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	ret
.L29:
	.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:
```

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
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%s"
.LC1:
	.string	"UNRESTORABLE"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB35:
	.cfi_startproc
	endbr64
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	leaq	.LC0(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	movq	%rbp, %rdi
	subq	$176, %rsp
	.cfi_def_cfa_offset 224
	movq	%fs:40, %rax
	movq	%rax, 168(%rsp)
	xorl	%eax, %eax
	leaq	64(%rsp), %r12
	movq	%rsp, %r13
	movq	%r12, %rsi
	call	__isoc99_scanf@PLT
	movq	%r13, %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movq	%r12, %rdi
	call	strlen@PLT
	movq	%r13, %rdi
	movq	%rax, %r14
	movl	%eax, %ebx
	call	strlen@PLT
	testl	%r14d, %r14d
	je	.L2
	leal	-1(%r14), %edx
	movq	%r13, %rcx
	leaq	63(%rsp), %r8
	leal	(%rdx,%rax), %edi
	movslq	%edx, %rsi
	subl	$1, %eax
	subq	%rsi, %rcx
	leaq	2(%rsp,%rax), %r10
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L28:
	cmpb	-1(%rcx,%rax), %sil
	je	.L4
.L5:
	subl	$1, %edx
	subl	$1, %edi
	addq	$1, %rcx
	cmpl	$-1, %edx
	je	.L2
.L3:
	movq	%r10, %r9
	leal	1(%rdx), %eax
	movl	%edx, %esi
	subq	%rcx, %r9
	cmpl	%edi, %edx
	jge	.L12
.L6:
	movzbl	(%r8,%rax), %esi
	cmpb	$63, %sil
	jne	.L28
.L4:
	movl	%eax, %esi
	addq	$1, %rax
	cmpq	%r9, %rax
	jne	.L6
.L12:
	cmpl	%edi, %esi
	jne	.L5
	cmpl	%esi, %edx
	jge	.L7
	subl	%edx, %esi
	movslq	%edx, %rdi
	leal	-1(%rsi), %edx
	addq	%r12, %rdi
	movq	%r13, %rsi
	addq	$1, %rdx
	call	memcpy@PLT
.L7:
	movq	%r12, %rax
	xorl	%edx, %edx
	.p2align 4,,10
	.p2align 3
.L9:
	cmpb	$63, (%rax)
	jne	.L8
	movb	$97, (%rax)
.L8:
	addl	$1, %edx
	addq	$1, %rax
	cmpl	%edx, %ebx
	jg	.L9
	movq	%r12, %rdx
	movq	%rbp, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L10
.L2:
	leaq	.LC1(%rip), %rdi
	call	puts@PLT
.L10:
	movq	168(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L29
	addq	$176, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%rbp
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r13
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	ret
.L29:
	.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:
```