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

```c
#define _CRT_SECURE_NO_WARNINGS
#define _USE_MATH_DEFINES
#include<stdio.h>
#include<stdlib.h>
#include<string.h>
int isSame(char*, char*, int);
int main() {
	char s[1000] = { "" }, ss[1000] = { "" },*T=s, *P=ss;
	int x,xx,i=0;
	scanf("%s", T);
	scanf("%s", P);
	x = strlen(P);
	xx = strlen(T);
	while (i<xx) {
		if (*T == *P) if (isSame(T, P, x)) printf("%d\n", i);
		++i;
		T++;
	}
	return 0;
}

int isSame(char *T, char *P, int x){
	int i;
	for (i = 1; i < x; i++) {
		if (*(P + i) == *(T + i)) continue;
		return 0;
	}
	return 1;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%s"
.LC1:
	.string	"%d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$2048, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movq	$0, -2016(%rbp)
	movq	$0, -2008(%rbp)
	leaq	-2000(%rbp), %rdx
	movl	$0, %eax
	movl	$123, %ecx
	movq	%rdx, %rdi
	rep stosq
	movq	$0, -1008(%rbp)
	movq	$0, -1000(%rbp)
	leaq	-992(%rbp), %rdx
	movl	$0, %eax
	movl	$123, %ecx
	movq	%rdx, %rdi
	rep stosq
	leaq	-2016(%rbp), %rax
	movq	%rax, -2032(%rbp)
	leaq	-1008(%rbp), %rax
	movq	%rax, -2024(%rbp)
	movl	$0, -2044(%rbp)
	movq	-2032(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movq	-2024(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movq	-2024(%rbp), %rax
	movq	%rax, %rdi
	call	strlen@PLT
	movl	%eax, -2040(%rbp)
	movq	-2032(%rbp), %rax
	movq	%rax, %rdi
	call	strlen@PLT
	movl	%eax, -2036(%rbp)
	jmp	.L2
.L4:
	movq	-2032(%rbp), %rax
	movzbl	(%rax), %edx
	movq	-2024(%rbp), %rax
	movzbl	(%rax), %eax
	cmpb	%al, %dl
	jne	.L3
	movl	-2040(%rbp), %edx
	movq	-2024(%rbp), %rcx
	movq	-2032(%rbp), %rax
	movq	%rcx, %rsi
	movq	%rax, %rdi
	call	isSame
	testl	%eax, %eax
	je	.L3
	movl	-2044(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
.L3:
	addl	$1, -2044(%rbp)
	addq	$1, -2032(%rbp)
.L2:
	movl	-2044(%rbp), %eax
	cmpl	-2036(%rbp), %eax
	jl	.L4
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L6
	call	__stack_chk_fail@PLT
.L6:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.globl	isSame
	.type	isSame, @function
isSame:
.LFB7:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movq	%rdi, -24(%rbp)
	movq	%rsi, -32(%rbp)
	movl	%edx, -36(%rbp)
	movl	$1, -4(%rbp)
	jmp	.L8
.L12:
	movl	-4(%rbp), %eax
	movslq	%eax, %rdx
	movq	-32(%rbp), %rax
	addq	%rdx, %rax
	movzbl	(%rax), %edx
	movl	-4(%rbp), %eax
	movslq	%eax, %rcx
	movq	-24(%rbp), %rax
	addq	%rcx, %rax
	movzbl	(%rax), %eax
	cmpb	%al, %dl
	je	.L14
	movl	$0, %eax
	jmp	.L11
.L14:
	nop
	addl	$1, -4(%rbp)
.L8:
	movl	-4(%rbp), %eax
	cmpl	-36(%rbp), %eax
	jl	.L12
	movl	$1, %eax
.L11:
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	isSame, .-isSame
	.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"
.LC1:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB51:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	movl	$123, %ecx
	pxor	%xmm0, %xmm0
	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
	leaq	.LC0(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$2024, %rsp
	.cfi_def_cfa_offset 2080
	movq	%fs:40, %rax
	movq	%rax, 2008(%rsp)
	xorl	%eax, %eax
	leaq	16(%rsp), %rdi
	movq	%rsp, %rbx
	leaq	1008(%rsp), %r14
	movq	%rbx, %rsi
	movaps	%xmm0, (%rsp)
	movaps	%xmm0, 1008(%rsp)
	rep stosq
	leaq	1024(%rsp), %rdi
	movl	$123, %ecx
	rep stosq
	movq	%rbp, %rdi
	call	__isoc99_scanf@PLT
	movq	%r14, %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movq	%r14, %rdi
	call	strlen@PLT
	movq	%rbx, %rdi
	movq	%rax, %r13
	call	strlen@PLT
	testq	%rax, %rax
	je	.L2
	movl	%eax, %r12d
	xorl	%ebp, %ebp
	leaq	.LC1(%rip), %r15
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L3:
	addl	$1, %ebp
	addq	$1, %rbx
	cmpl	%ebp, %r12d
	je	.L2
.L6:
	movzbl	1008(%rsp), %eax
	cmpb	%al, (%rbx)
	jne	.L3
	cmpq	$1, %r13
	jbe	.L4
	movl	$1, %eax
.L5:
	movzbl	(%rbx,%rax), %edx
	cmpb	%dl, (%r14,%rax)
	jne	.L3
	addq	$1, %rax
	cmpq	%rax, %r13
	jne	.L5
.L4:
	movl	%ebp, %edx
	movq	%r15, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L2:
	movq	2008(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L16
	addq	$2024, %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
.L16:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE51:
	.size	main, .-main
	.text
	.p2align 4
	.globl	isSame
	.type	isSame, @function
isSame:
.LFB52:
	.cfi_startproc
	endbr64
	cmpl	$1, %edx
	jle	.L20
	movslq	%edx, %rdx
	movl	$1, %eax
.L19:
	movzbl	(%rdi,%rax), %ecx
	cmpb	%cl, (%rsi,%rax)
	je	.L23
	xorl	%eax, %eax
	ret
	.p2align 4,,10
	.p2align 3
.L23:
	addq	$1, %rax
	cmpq	%rdx, %rax
	jne	.L19
.L20:
	movl	$1, %eax
	ret
	.cfi_endproc
.LFE52:
	.size	isSame, .-isSame
	.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"
.LC1:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB51:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	movl	$123, %ecx
	pxor	%xmm0, %xmm0
	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
	leaq	.LC0(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$2024, %rsp
	.cfi_def_cfa_offset 2080
	movq	%fs:40, %rax
	movq	%rax, 2008(%rsp)
	xorl	%eax, %eax
	leaq	16(%rsp), %rdi
	movq	%rsp, %rbx
	leaq	1008(%rsp), %r14
	movq	%rbx, %rsi
	movaps	%xmm0, (%rsp)
	movaps	%xmm0, 1008(%rsp)
	rep stosq
	leaq	1024(%rsp), %rdi
	movl	$123, %ecx
	rep stosq
	movq	%rbp, %rdi
	call	__isoc99_scanf@PLT
	movq	%r14, %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movq	%r14, %rdi
	call	strlen@PLT
	movq	%rbx, %rdi
	movq	%rax, %r13
	call	strlen@PLT
	testq	%rax, %rax
	je	.L2
	movl	%eax, %r12d
	xorl	%ebp, %ebp
	leaq	.LC1(%rip), %r15
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L3:
	addl	$1, %ebp
	addq	$1, %rbx
	cmpl	%ebp, %r12d
	je	.L2
.L6:
	movzbl	1008(%rsp), %eax
	cmpb	%al, (%rbx)
	jne	.L3
	cmpq	$1, %r13
	jbe	.L4
	movl	$1, %eax
.L5:
	movzbl	(%rbx,%rax), %edx
	cmpb	%dl, (%r14,%rax)
	jne	.L3
	addq	$1, %rax
	cmpq	%rax, %r13
	jne	.L5
.L4:
	movl	%ebp, %edx
	movq	%r15, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L2:
	movq	2008(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L16
	addq	$2024, %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
.L16:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE51:
	.size	main, .-main
	.text
	.p2align 4
	.globl	isSame
	.type	isSame, @function
isSame:
.LFB52:
	.cfi_startproc
	endbr64
	cmpl	$1, %edx
	jle	.L20
	movslq	%edx, %rdx
	movl	$1, %eax
.L19:
	movzbl	(%rdi,%rax), %ecx
	cmpb	%cl, (%rsi,%rax)
	je	.L23
	xorl	%eax, %eax
	ret
	.p2align 4,,10
	.p2align 3
.L23:
	addq	$1, %rax
	cmpq	%rdx, %rax
	jne	.L19
.L20:
	movl	$1, %eax
	ret
	.cfi_endproc
.LFE52:
	.size	isSame, .-isSame
	.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:

#define _CRT_SECURE_NO_WARNINGS
#define _USE_MATH_DEFINES
#include<stdio.h>
#include<stdlib.h>
#include<string.h>
int isSame(char*, char*, int);
int main() {
	char s[1000] = { "" }, ss[1000] = { "" },*T=s, *P=ss;
	int x,xx,i=0;
	scanf("%s", T);
	scanf("%s", P);
	x = strlen(P);
	xx = strlen(T);
	while (i<xx) {
		if (*T == *P) if (isSame(T, P, x)) printf("%d\n", i);
		++i;
		T++;
	}
	return 0;
}

int isSame(char *T, char *P, int x){
	int i;
	for (i = 1; i < x; i++) {
		if (*(P + i) == *(T + i)) continue;
		return 0;
	}
	return 1;
}
aaabaa
aa
 aabaaa
ba
 aaabaa
ba
 aab`aa
aa
 xyzy
yz
 aaaaba
aa
 abaaaa
aa
 abaaaa
ab
 aaacab
aa
 aaaaba
ba

0
1
4
 2
 3
 0
4
 1
 0
1
2
 2
3
4
 0
 0
1
 4

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

```c
#define _CRT_SECURE_NO_WARNINGS
#define _USE_MATH_DEFINES
#include<stdio.h>
#include<stdlib.h>
#include<string.h>
int isSame(char*, char*, int);
int main() {
	char s[1000] = { "" }, ss[1000] = { "" },*T=s, *P=ss;
	int x,xx,i=0;
	scanf("%s", T);
	scanf("%s", P);
	x = strlen(P);
	xx = strlen(T);
	while (i<xx) {
		if (*T == *P) if (isSame(T, P, x)) printf("%d\n", i);
		++i;
		T++;
	}
	return 0;
}

int isSame(char *T, char *P, int x){
	int i;
	for (i = 1; i < x; i++) {
		if (*(P + i) == *(T + i)) continue;
		return 0;
	}
	return 1;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%s"
.LC1:
	.string	"%d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$2048, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movq	$0, -2016(%rbp)
	movq	$0, -2008(%rbp)
	leaq	-2000(%rbp), %rdx
	movl	$0, %eax
	movl	$123, %ecx
	movq	%rdx, %rdi
	rep stosq
	movq	$0, -1008(%rbp)
	movq	$0, -1000(%rbp)
	leaq	-992(%rbp), %rdx
	movl	$0, %eax
	movl	$123, %ecx
	movq	%rdx, %rdi
	rep stosq
	leaq	-2016(%rbp), %rax
	movq	%rax, -2032(%rbp)
	leaq	-1008(%rbp), %rax
	movq	%rax, -2024(%rbp)
	movl	$0, -2044(%rbp)
	movq	-2032(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movq	-2024(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movq	-2024(%rbp), %rax
	movq	%rax, %rdi
	call	strlen@PLT
	movl	%eax, -2040(%rbp)
	movq	-2032(%rbp), %rax
	movq	%rax, %rdi
	call	strlen@PLT
	movl	%eax, -2036(%rbp)
	jmp	.L2
.L4:
	movq	-2032(%rbp), %rax
	movzbl	(%rax), %edx
	movq	-2024(%rbp), %rax
	movzbl	(%rax), %eax
	cmpb	%al, %dl
	jne	.L3
	movl	-2040(%rbp), %edx
	movq	-2024(%rbp), %rcx
	movq	-2032(%rbp), %rax
	movq	%rcx, %rsi
	movq	%rax, %rdi
	call	isSame
	testl	%eax, %eax
	je	.L3
	movl	-2044(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
.L3:
	addl	$1, -2044(%rbp)
	addq	$1, -2032(%rbp)
.L2:
	movl	-2044(%rbp), %eax
	cmpl	-2036(%rbp), %eax
	jl	.L4
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L6
	call	__stack_chk_fail@PLT
.L6:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.globl	isSame
	.type	isSame, @function
isSame:
.LFB7:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movq	%rdi, -24(%rbp)
	movq	%rsi, -32(%rbp)
	movl	%edx, -36(%rbp)
	movl	$1, -4(%rbp)
	jmp	.L8
.L12:
	movl	-4(%rbp), %eax
	movslq	%eax, %rdx
	movq	-32(%rbp), %rax
	addq	%rdx, %rax
	movzbl	(%rax), %edx
	movl	-4(%rbp), %eax
	movslq	%eax, %rcx
	movq	-24(%rbp), %rax
	addq	%rcx, %rax
	movzbl	(%rax), %eax
	cmpb	%al, %dl
	je	.L14
	movl	$0, %eax
	jmp	.L11
.L14:
	nop
	addl	$1, -4(%rbp)
.L8:
	movl	-4(%rbp), %eax
	cmpl	-36(%rbp), %eax
	jl	.L12
	movl	$1, %eax
.L11:
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	isSame, .-isSame
	.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"
.LC1:
	.string	"%d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$2048, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movq	$0, -2016(%rbp)
	movq	$0, -2008(%rbp)
	leaq	-2000(%rbp), %rdx
	movl	$0, %eax
	movl	$123, %ecx
	movq	%rdx, %rdi
	rep stosq
	movq	$0, -1008(%rbp)
	movq	$0, -1000(%rbp)
	leaq	-992(%rbp), %rdx
	movl	$0, %eax
	movl	$123, %ecx
	movq	%rdx, %rdi
	rep stosq
	leaq	-2016(%rbp), %rax
	movq	%rax, -2032(%rbp)
	leaq	-1008(%rbp), %rax
	movq	%rax, -2024(%rbp)
	movl	$0, -2044(%rbp)
	movq	-2032(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movq	-2024(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movq	-2024(%rbp), %rax
	movq	%rax, %rdi
	call	strlen@PLT
	movl	%eax, -2040(%rbp)
	movq	-2032(%rbp), %rax
	movq	%rax, %rdi
	call	strlen@PLT
	movl	%eax, -2036(%rbp)
	jmp	.L2
.L4:
	movq	-2032(%rbp), %rax
	movzbl	(%rax), %edx
	movq	-2024(%rbp), %rax
	movzbl	(%rax), %eax
	cmpb	%al, %dl
	jne	.L3
	movl	-2040(%rbp), %edx
	movq	-2024(%rbp), %rcx
	movq	-2032(%rbp), %rax
	movq	%rcx, %rsi
	movq	%rax, %rdi
	call	isSame
	testl	%eax, %eax
	je	.L3
	movl	-2044(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
.L3:
	addl	$1, -2044(%rbp)
	addq	$1, -2032(%rbp)
.L2:
	movl	-2044(%rbp), %eax
	cmpl	-2036(%rbp), %eax
	jl	.L4
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L6
	call	__stack_chk_fail@PLT
.L6:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.globl	isSame
	.type	isSame, @function
isSame:
.LFB7:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movq	%rdi, -24(%rbp)
	movq	%rsi, -32(%rbp)
	movl	%edx, -36(%rbp)
	movl	$1, -4(%rbp)
	jmp	.L8
.L12:
	movl	-4(%rbp), %eax
	movslq	%eax, %rdx
	movq	-32(%rbp), %rax
	addq	%rdx, %rax
	movzbl	(%rax), %edx
	movl	-4(%rbp), %eax
	movslq	%eax, %rcx
	movq	-24(%rbp), %rax
	addq	%rcx, %rax
	movzbl	(%rax), %eax
	cmpb	%al, %dl
	je	.L14
	movl	$0, %eax
	jmp	.L11
.L14:
	nop
	addl	$1, -4(%rbp)
.L8:
	movl	-4(%rbp), %eax
	cmpl	-36(%rbp), %eax
	jl	.L12
	movl	$1, %eax
.L11:
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	isSame, .-isSame
	.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:
