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 ()
{
    char s[101],t[101],x[101];
    int i,j,l1,l2,k,p;
    scanf("%s %s",s,t);
    
    l1=strlen(s);
    l2=strlen(t);

    if(l1==l2)
    {
	for(i=l1-1;i>=0;i--)
	{
	    x[0]=s[i];
	    for(j=i+1,k=1;j<l1;j++,k++)
	    {
		x[k]=s[j];
	    }
	    for(j=0;j<i;j++,k++)
	    {
		x[k]=s[j];
	    }
	    for(j=0,p=0;j<l1;j++,p++)
	    {
		if(t[j]!=x[j]) break;
	    }
	    if(p==l1)
	    {
		printf("Yes\n");
		break;
	    }
	    else if(i==0)
	    {
		printf("No\n");
		break;
	    }
	}
    }
    else printf("No\n");




    return 0;
}
```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%s %s"
.LC1:
	.string	"Yes"
.LC2:
	.string	"No"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB35:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	leaq	.LC0(%rip), %rdi
	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
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$360, %rsp
	.cfi_def_cfa_offset 416
	movq	%fs:40, %rax
	movq	%rax, 344(%rsp)
	xorl	%eax, %eax
	leaq	128(%rsp), %r14
	leaq	16(%rsp), %r13
	movq	%r14, %rdx
	movq	%r13, %rsi
	call	__isoc99_scanf@PLT
	movq	%r13, %rdi
	call	strlen@PLT
	movq	%r14, %rdi
	movq	%rax, %r15
	movq	%rax, 8(%rsp)
	movl	%eax, %ebx
	call	strlen@PLT
	cmpl	%eax, %r15d
	jne	.L2
	leal	-1(%r15), %r15d
	testl	%ebx, %ebx
	je	.L3
	movslq	%ebx, %rcx
	leaq	240(%rsp), %rbp
	leaq	0(%r13,%rcx), %r12
	.p2align 4,,10
	.p2align 3
.L10:
	movzbl	-1(%r12), %eax
	movb	%al, 240(%rsp)
	leal	1(%r15), %eax
	cmpl	%eax, %ebx
	jle	.L12
	movl	8(%rsp), %eax
	leaq	241(%rsp), %rdi
	movq	%r12, %rsi
	leal	-2(%rax), %edx
	subl	%r15d, %edx
	addq	$1, %rdx
	call	memcpy@PLT
	movl	8(%rsp), %edi
	subl	%r15d, %edi
.L4:
	testl	%r15d, %r15d
	je	.L5
	movslq	%edi, %rdi
	leal	-1(%r15), %edx
	movq	%r13, %rsi
	addq	%rbp, %rdi
	addq	$1, %rdx
	call	memcpy@PLT
.L5:
	xorl	%eax, %eax
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L22:
	leal	1(%rax), %edx
	addq	$1, %rax
	cmpl	%eax, %ebx
	jle	.L6
.L7:
	movzbl	0(%rbp,%rax), %ecx
	movl	%eax, %edx
	cmpb	%cl, (%r14,%rax)
	je	.L22
.L6:
	cmpl	%edx, %ebx
	je	.L23
	subq	$1, %r12
	testl	%r15d, %r15d
	je	.L2
	subl	$1, %r15d
	jmp	.L10
.L2:
	leaq	.LC2(%rip), %rdi
	call	puts@PLT
.L3:
	movq	344(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L24
	addq	$360, %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
.L12:
	.cfi_restore_state
	movl	$1, %edi
	jmp	.L4
.L23:
	leaq	.LC1(%rip), %rdi
	call	puts@PLT
	jmp	.L3
.L24:
	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 %s"
.LC1:
	.string	"Yes"
.LC2:
	.string	"No"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB35:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	leaq	.LC0(%rip), %rdi
	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
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$360, %rsp
	.cfi_def_cfa_offset 416
	movq	%fs:40, %rax
	movq	%rax, 344(%rsp)
	xorl	%eax, %eax
	leaq	128(%rsp), %r14
	leaq	16(%rsp), %r13
	movq	%r14, %rdx
	movq	%r13, %rsi
	call	__isoc99_scanf@PLT
	movq	%r13, %rdi
	call	strlen@PLT
	movq	%r14, %rdi
	movq	%rax, %r15
	movq	%rax, 8(%rsp)
	movl	%eax, %ebx
	call	strlen@PLT
	cmpl	%eax, %r15d
	jne	.L2
	leal	-1(%r15), %r15d
	testl	%ebx, %ebx
	je	.L3
	movslq	%ebx, %rcx
	leaq	240(%rsp), %rbp
	leaq	0(%r13,%rcx), %r12
	.p2align 4,,10
	.p2align 3
.L10:
	movzbl	-1(%r12), %eax
	movb	%al, 240(%rsp)
	leal	1(%r15), %eax
	cmpl	%eax, %ebx
	jle	.L12
	movl	8(%rsp), %eax
	leaq	241(%rsp), %rdi
	movq	%r12, %rsi
	leal	-2(%rax), %edx
	subl	%r15d, %edx
	addq	$1, %rdx
	call	memcpy@PLT
	movl	8(%rsp), %edi
	subl	%r15d, %edi
.L4:
	testl	%r15d, %r15d
	je	.L5
	movslq	%edi, %rdi
	leal	-1(%r15), %edx
	movq	%r13, %rsi
	addq	%rbp, %rdi
	addq	$1, %rdx
	call	memcpy@PLT
.L5:
	xorl	%eax, %eax
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L22:
	leal	1(%rax), %edx
	addq	$1, %rax
	cmpl	%eax, %ebx
	jle	.L6
.L7:
	movzbl	0(%rbp,%rax), %ecx
	movl	%eax, %edx
	cmpb	%cl, (%r14,%rax)
	je	.L22
.L6:
	cmpl	%edx, %ebx
	je	.L23
	subq	$1, %r12
	testl	%r15d, %r15d
	je	.L2
	subl	$1, %r15d
	jmp	.L10
.L2:
	leaq	.LC2(%rip), %rdi
	call	puts@PLT
.L3:
	movq	344(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L24
	addq	$360, %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
.L12:
	.cfi_restore_state
	movl	$1, %edi
	jmp	.L4
.L23:
	leaq	.LC1(%rip), %rdi
	call	puts@PLT
	jmp	.L3
.L24:
	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 %s"
.LC1:
	.string	"Yes"
.LC2:
	.string	"No"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB35:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	leaq	.LC0(%rip), %rdi
	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
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$360, %rsp
	.cfi_def_cfa_offset 416
	movq	%fs:40, %rax
	movq	%rax, 344(%rsp)
	xorl	%eax, %eax
	leaq	128(%rsp), %r14
	leaq	16(%rsp), %r13
	movq	%r14, %rdx
	movq	%r13, %rsi
	call	__isoc99_scanf@PLT
	movq	%r13, %rdi
	call	strlen@PLT
	movq	%r14, %rdi
	movq	%rax, %r15
	movq	%rax, 8(%rsp)
	movl	%eax, %ebx
	call	strlen@PLT
	cmpl	%eax, %r15d
	jne	.L2
	leal	-1(%r15), %r15d
	testl	%ebx, %ebx
	je	.L3
	movslq	%ebx, %rcx
	leaq	240(%rsp), %rbp
	leaq	0(%r13,%rcx), %r12
	.p2align 4,,10
	.p2align 3
.L10:
	movzbl	-1(%r12), %eax
	movb	%al, 240(%rsp)
	leal	1(%r15), %eax
	cmpl	%eax, %ebx
	jle	.L12
	movl	8(%rsp), %eax
	leaq	241(%rsp), %rdi
	movq	%r12, %rsi
	leal	-2(%rax), %edx
	subl	%r15d, %edx
	addq	$1, %rdx
	call	memcpy@PLT
	movl	8(%rsp), %edi
	subl	%r15d, %edi
.L4:
	testl	%r15d, %r15d
	je	.L5
	movslq	%edi, %rdi
	leal	-1(%r15), %edx
	movq	%r13, %rsi
	addq	%rbp, %rdi
	addq	$1, %rdx
	call	memcpy@PLT
.L5:
	xorl	%eax, %eax
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L22:
	leal	1(%rax), %edx
	addq	$1, %rax
	cmpl	%eax, %ebx
	jle	.L6
.L7:
	movzbl	0(%rbp,%rax), %ecx
	movl	%eax, %edx
	cmpb	%cl, (%r14,%rax)
	je	.L22
.L6:
	cmpl	%edx, %ebx
	je	.L23
	subq	$1, %r12
	testl	%r15d, %r15d
	je	.L2
	subl	$1, %r15d
	jmp	.L10
.L2:
	leaq	.LC2(%rip), %rdi
	call	puts@PLT
.L3:
	movq	344(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L24
	addq	$360, %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
.L12:
	.cfi_restore_state
	movl	$1, %edi
	jmp	.L4
.L23:
	leaq	.LC1(%rip), %rdi
	call	puts@PLT
	jmp	.L3
.L24:
	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 ()
{
    char s[101],t[101],x[101];
    int i,j,l1,l2,k,p;
    scanf("%s %s",s,t);
    
    l1=strlen(s);
    l2=strlen(t);

    if(l1==l2)
    {
	for(i=l1-1;i>=0;i--)
	{
	    x[0]=s[i];
	    for(j=i+1,k=1;j<l1;j++,k++)
	    {
		x[k]=s[j];
	    }
	    for(j=0;j<i;j++,k++)
	    {
		x[k]=s[j];
	    }
	    for(j=0,p=0;j<l1;j++,p++)
	    {
		if(t[j]!=x[j]) break;
	    }
	    if(p==l1)
	    {
		printf("Yes\n");
		break;
	    }
	    else if(i==0)
	    {
		printf("No\n");
		break;
	    }
	}
    }
    else printf("No\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 ()
{
    char s[101],t[101],x[101];
    int i,j,l1,l2,k,p;
    scanf("%s %s",s,t);
    
    l1=strlen(s);
    l2=strlen(t);

    if(l1==l2)
    {
	for(i=l1-1;i>=0;i--)
	{
	    x[0]=s[i];
	    for(j=i+1,k=1;j<l1;j++,k++)
	    {
		x[k]=s[j];
	    }
	    for(j=0;j<i;j++,k++)
	    {
		x[k]=s[j];
	    }
	    for(j=0,p=0;j<l1;j++,p++)
	    {
		if(t[j]!=x[j]) break;
	    }
	    if(p==l1)
	    {
		printf("Yes\n");
		break;
	    }
	    else if(i==0)
	    {
		printf("No\n");
		break;
	    }
	}
    }
    else printf("No\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:

aaaaaaaaaaaaaaab
aaaabaaaaaaaaaaa
 kyoto
tnkyo
 cba
arc
 aaaaaabaaaaaaaab
aaaabaaaaaaaaaaa
 kyoto
tmkyo
 cba
cra
 aaaaaabaaaaaaaab
aaaaaaaaaaabaaaa
 kyoso
tmkyo
 bca
cra
 baaaaaaaabaaaaaa
aaaaaaaaaaabaaaa

Yes
 No
 No
 No
 No
 No
 No
 No
 No
 No

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 ()
{
    char s[101],t[101],x[101];
    int i,j,l1,l2,k,p;
    scanf("%s %s",s,t);
    
    l1=strlen(s);
    l2=strlen(t);

    if(l1==l2)
    {
	for(i=l1-1;i>=0;i--)
	{
	    x[0]=s[i];
	    for(j=i+1,k=1;j<l1;j++,k++)
	    {
		x[k]=s[j];
	    }
	    for(j=0;j<i;j++,k++)
	    {
		x[k]=s[j];
	    }
	    for(j=0,p=0;j<l1;j++,p++)
	    {
		if(t[j]!=x[j]) break;
	    }
	    if(p==l1)
	    {
		printf("Yes\n");
		break;
	    }
	    else if(i==0)
	    {
		printf("No\n");
		break;
	    }
	}
    }
    else printf("No\n");




    return 0;
}
```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%s %s"
.LC1:
	.string	"Yes"
.LC2:
	.string	"No"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB35:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	leaq	.LC0(%rip), %rdi
	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
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$360, %rsp
	.cfi_def_cfa_offset 416
	movq	%fs:40, %rax
	movq	%rax, 344(%rsp)
	xorl	%eax, %eax
	leaq	128(%rsp), %r14
	leaq	16(%rsp), %r13
	movq	%r14, %rdx
	movq	%r13, %rsi
	call	__isoc99_scanf@PLT
	movq	%r13, %rdi
	call	strlen@PLT
	movq	%r14, %rdi
	movq	%rax, %r15
	movq	%rax, 8(%rsp)
	movl	%eax, %ebx
	call	strlen@PLT
	cmpl	%eax, %r15d
	jne	.L2
	leal	-1(%r15), %r15d
	testl	%ebx, %ebx
	je	.L3
	movslq	%ebx, %rcx
	leaq	240(%rsp), %rbp
	leaq	0(%r13,%rcx), %r12
	.p2align 4,,10
	.p2align 3
.L10:
	movzbl	-1(%r12), %eax
	movb	%al, 240(%rsp)
	leal	1(%r15), %eax
	cmpl	%eax, %ebx
	jle	.L12
	movl	8(%rsp), %eax
	leaq	241(%rsp), %rdi
	movq	%r12, %rsi
	leal	-2(%rax), %edx
	subl	%r15d, %edx
	addq	$1, %rdx
	call	memcpy@PLT
	movl	8(%rsp), %edi
	subl	%r15d, %edi
.L4:
	testl	%r15d, %r15d
	je	.L5
	movslq	%edi, %rdi
	leal	-1(%r15), %edx
	movq	%r13, %rsi
	addq	%rbp, %rdi
	addq	$1, %rdx
	call	memcpy@PLT
.L5:
	xorl	%eax, %eax
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L22:
	leal	1(%rax), %edx
	addq	$1, %rax
	cmpl	%eax, %ebx
	jle	.L6
.L7:
	movzbl	0(%rbp,%rax), %ecx
	movl	%eax, %edx
	cmpb	%cl, (%r14,%rax)
	je	.L22
.L6:
	cmpl	%edx, %ebx
	je	.L23
	subq	$1, %r12
	testl	%r15d, %r15d
	je	.L2
	subl	$1, %r15d
	jmp	.L10
.L2:
	leaq	.LC2(%rip), %rdi
	call	puts@PLT
.L3:
	movq	344(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L24
	addq	$360, %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
.L12:
	.cfi_restore_state
	movl	$1, %edi
	jmp	.L4
.L23:
	leaq	.LC1(%rip), %rdi
	call	puts@PLT
	jmp	.L3
.L24:
	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 %s"
.LC1:
	.string	"Yes"
.LC2:
	.string	"No"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB35:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	leaq	.LC0(%rip), %rdi
	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
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$360, %rsp
	.cfi_def_cfa_offset 416
	movq	%fs:40, %rax
	movq	%rax, 344(%rsp)
	xorl	%eax, %eax
	leaq	128(%rsp), %r14
	leaq	16(%rsp), %r13
	movq	%r14, %rdx
	movq	%r13, %rsi
	call	__isoc99_scanf@PLT
	movq	%r13, %rdi
	call	strlen@PLT
	movq	%r14, %rdi
	movq	%rax, %r15
	movq	%rax, 8(%rsp)
	movl	%eax, %ebx
	call	strlen@PLT
	cmpl	%eax, %r15d
	jne	.L2
	leal	-1(%r15), %r15d
	testl	%ebx, %ebx
	je	.L3
	movslq	%ebx, %rcx
	leaq	240(%rsp), %rbp
	leaq	0(%r13,%rcx), %r12
	.p2align 4,,10
	.p2align 3
.L10:
	movzbl	-1(%r12), %eax
	movb	%al, 240(%rsp)
	leal	1(%r15), %eax
	cmpl	%eax, %ebx
	jle	.L12
	movl	8(%rsp), %eax
	leaq	241(%rsp), %rdi
	movq	%r12, %rsi
	leal	-2(%rax), %edx
	subl	%r15d, %edx
	addq	$1, %rdx
	call	memcpy@PLT
	movl	8(%rsp), %edi
	subl	%r15d, %edi
.L4:
	testl	%r15d, %r15d
	je	.L5
	movslq	%edi, %rdi
	leal	-1(%r15), %edx
	movq	%r13, %rsi
	addq	%rbp, %rdi
	addq	$1, %rdx
	call	memcpy@PLT
.L5:
	xorl	%eax, %eax
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L22:
	leal	1(%rax), %edx
	addq	$1, %rax
	cmpl	%eax, %ebx
	jle	.L6
.L7:
	movzbl	0(%rbp,%rax), %ecx
	movl	%eax, %edx
	cmpb	%cl, (%r14,%rax)
	je	.L22
.L6:
	cmpl	%edx, %ebx
	je	.L23
	subq	$1, %r12
	testl	%r15d, %r15d
	je	.L2
	subl	$1, %r15d
	jmp	.L10
.L2:
	leaq	.LC2(%rip), %rdi
	call	puts@PLT
.L3:
	movq	344(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L24
	addq	$360, %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
.L12:
	.cfi_restore_state
	movl	$1, %edi
	jmp	.L4
.L23:
	leaq	.LC1(%rip), %rdi
	call	puts@PLT
	jmp	.L3
.L24:
	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:
```