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>

char s[500010],t[500010];
int left[500010],right[500010];
int main(){
	scanf("%s%s",s,t);
	int sn=strlen(s);
	int tn=strlen(t);
	
	int cnt=0;
	for(int i=0;i<sn;i++){
		if(s[i]==t[cnt])cnt++;
		left[i]=cnt;
	}

	cnt=tn;
	right[sn]=tn;
	for(int i=sn-1;i>=0;i--){
		if(cnt&&s[i]==t[cnt-1])cnt--;
		right[i]=cnt;
	}
	
	if(left[sn-1]!=tn){
		puts("no");
		return 0;
	}
	
	for(int i=0;i<sn;i++)if(s[i]==t[left[i]-1]&&(i==0||left[i-1]!=left[i])){
		if(right[i+1]<left[i]){
			puts("no");
			return 0;
		}
	}
	
	puts("yes");
}
```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	s
	.bss
	.align 32
	.type	s, @object
	.size	s, 500010
s:
	.zero	500010
	.globl	t
	.align 32
	.type	t, @object
	.size	t, 500010
t:
	.zero	500010
	.globl	left
	.align 32
	.type	left, @object
	.size	left, 2000040
left:
	.zero	2000040
	.globl	right
	.align 32
	.type	right, @object
	.size	right, 2000040
right:
	.zero	2000040
	.section	.rodata
.LC0:
	.string	"%s%s"
.LC1:
	.string	"no"
.LC2:
	.string	"yes"
	.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	$32, %rsp
	leaq	t(%rip), %rax
	movq	%rax, %rdx
	leaq	s(%rip), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	leaq	s(%rip), %rax
	movq	%rax, %rdi
	call	strlen@PLT
	movl	%eax, -8(%rbp)
	leaq	t(%rip), %rax
	movq	%rax, %rdi
	call	strlen@PLT
	movl	%eax, -4(%rbp)
	movl	$0, -24(%rbp)
	movl	$0, -20(%rbp)
	jmp	.L2
.L4:
	movl	-20(%rbp), %eax
	cltq
	leaq	s(%rip), %rdx
	movzbl	(%rax,%rdx), %edx
	movl	-24(%rbp), %eax
	cltq
	leaq	t(%rip), %rcx
	movzbl	(%rax,%rcx), %eax
	cmpb	%al, %dl
	jne	.L3
	addl	$1, -24(%rbp)
.L3:
	movl	-20(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rcx
	leaq	left(%rip), %rdx
	movl	-24(%rbp), %eax
	movl	%eax, (%rcx,%rdx)
	addl	$1, -20(%rbp)
.L2:
	movl	-20(%rbp), %eax
	cmpl	-8(%rbp), %eax
	jl	.L4
	movl	-4(%rbp), %eax
	movl	%eax, -24(%rbp)
	movl	-8(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rcx
	leaq	right(%rip), %rdx
	movl	-4(%rbp), %eax
	movl	%eax, (%rcx,%rdx)
	movl	-8(%rbp), %eax
	subl	$1, %eax
	movl	%eax, -16(%rbp)
	jmp	.L5
.L7:
	cmpl	$0, -24(%rbp)
	je	.L6
	movl	-16(%rbp), %eax
	cltq
	leaq	s(%rip), %rdx
	movzbl	(%rax,%rdx), %edx
	movl	-24(%rbp), %eax
	subl	$1, %eax
	cltq
	leaq	t(%rip), %rcx
	movzbl	(%rax,%rcx), %eax
	cmpb	%al, %dl
	jne	.L6
	subl	$1, -24(%rbp)
.L6:
	movl	-16(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rcx
	leaq	right(%rip), %rdx
	movl	-24(%rbp), %eax
	movl	%eax, (%rcx,%rdx)
	subl	$1, -16(%rbp)
.L5:
	cmpl	$0, -16(%rbp)
	jns	.L7
	movl	-8(%rbp), %eax
	subl	$1, %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	left(%rip), %rax
	movl	(%rdx,%rax), %eax
	cmpl	%eax, -4(%rbp)
	je	.L8
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	movl	$0, %eax
	jmp	.L9
.L8:
	movl	$0, -12(%rbp)
	jmp	.L10
.L13:
	movl	-12(%rbp), %eax
	cltq
	leaq	s(%rip), %rdx
	movzbl	(%rax,%rdx), %edx
	movl	-12(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rcx
	leaq	left(%rip), %rax
	movl	(%rcx,%rax), %eax
	subl	$1, %eax
	cltq
	leaq	t(%rip), %rcx
	movzbl	(%rax,%rcx), %eax
	cmpb	%al, %dl
	jne	.L11
	cmpl	$0, -12(%rbp)
	je	.L12
	movl	-12(%rbp), %eax
	subl	$1, %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	left(%rip), %rax
	movl	(%rdx,%rax), %edx
	movl	-12(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rcx
	leaq	left(%rip), %rax
	movl	(%rcx,%rax), %eax
	cmpl	%eax, %edx
	je	.L11
.L12:
	movl	-12(%rbp), %eax
	addl	$1, %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	right(%rip), %rax
	movl	(%rdx,%rax), %edx
	movl	-12(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rcx
	leaq	left(%rip), %rax
	movl	(%rcx,%rax), %eax
	cmpl	%eax, %edx
	jge	.L11
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	movl	$0, %eax
	jmp	.L9
.L11:
	addl	$1, -12(%rbp)
.L10:
	movl	-12(%rbp), %eax
	cmpl	-8(%rbp), %eax
	jl	.L13
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	movl	$0, %eax
.L9:
	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	"yes"
.LC2:
	.string	"no"
	.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
	xorl	%eax, %eax
	pushq	%rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	leaq	t(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	leaq	s(%rip), %rbx
	movq	%rbp, %rdx
	movq	%rbx, %rsi
	call	__isoc99_scanf@PLT
	movq	%rbx, %rdi
	call	strlen@PLT
	movq	%rbp, %rdi
	movq	%rax, %r12
	call	strlen@PLT
	movq	%rax, %r8
	testq	%r12, %r12
	je	.L2
	xorl	%eax, %eax
	xorl	%edx, %edx
	leaq	left(%rip), %rsi
	.p2align 4,,10
	.p2align 3
.L4:
	movslq	%edx, %rcx
	movzbl	(%rbx,%rax), %edi
	cmpb	%dil, 0(%rbp,%rcx)
	sete	%cl
	movzbl	%cl, %ecx
	addl	%ecx, %edx
	movl	%edx, (%rsi,%rax,4)
	addq	$1, %rax
	cmpq	%rax, %r12
	jne	.L4
	leaq	right(%rip), %rdi
	movslq	%r12d, %rax
	leal	-1(%r12), %r10d
	movl	%r8d, %ecx
	movl	%r8d, (%rdi,%rax,4)
	movslq	%r10d, %r10
	movq	%r10, %rdx
	.p2align 4,,10
	.p2align 3
.L12:
	movslq	%edx, %rax
	testl	%ecx, %ecx
	je	.L29
	leal	-1(%rcx), %eax
	movslq	%eax, %r9
	movzbl	0(%rbp,%r9), %r11d
	cmpb	%r11b, (%rbx,%rdx)
	cmove	%eax, %ecx
	movl	%ecx, (%rdi,%rdx,4)
	subq	$1, %rdx
	cmpl	$-1, %edx
	jne	.L12
.L9:
	cmpl	(%rsi,%r10,4), %r8d
	jne	.L16
	xorl	%eax, %eax
	leaq	4+right(%rip), %rdi
	leaq	-4+left(%rip), %r8
	jmp	.L17
	.p2align 4,,10
	.p2align 3
.L14:
	addq	$1, %rax
	cmpq	%rax, %r12
	je	.L7
.L17:
	movl	(%rsi,%rax,4), %ecx
	leal	-1(%rcx), %edx
	movslq	%edx, %rdx
	movzbl	0(%rbp,%rdx), %edx
	cmpb	%dl, (%rbx,%rax)
	jne	.L14
	testq	%rax, %rax
	je	.L15
	cmpl	(%r8,%rax,4), %ecx
	je	.L14
.L15:
	cmpl	(%rdi,%rax,4), %ecx
	jle	.L14
.L16:
	leaq	.LC2(%rip), %rdi
	call	puts@PLT
	jmp	.L26
.L2:
	cmpl	-4+left(%rip), %eax
	movl	%eax, right(%rip)
	jne	.L16
.L7:
	leaq	.LC1(%rip), %rdi
	call	puts@PLT
.L26:
	popq	%rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xorl	%eax, %eax
	popq	%rbp
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	ret
.L29:
	.cfi_restore_state
	leaq	-4+right(%rip), %rdx
	.p2align 4,,10
	.p2align 3
.L10:
	movl	$0, (%rdi,%rax,4)
	testl	%eax, %eax
	je	.L9
	movl	$0, (%rdx,%rax,4)
	subq	$2, %rax
	cmpl	$-1, %eax
	jne	.L10
	jmp	.L9
	.cfi_endproc
.LFE35:
	.size	main, .-main
	.globl	right
	.bss
	.align 32
	.type	right, @object
	.size	right, 2000040
right:
	.zero	2000040
	.globl	left
	.align 32
	.type	left, @object
	.size	left, 2000040
left:
	.zero	2000040
	.globl	t
	.align 32
	.type	t, @object
	.size	t, 500010
t:
	.zero	500010
	.globl	s
	.align 32
	.type	s, @object
	.size	s, 500010
s:
	.zero	500010
	.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	"yes"
.LC2:
	.string	"no"
	.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
	xorl	%eax, %eax
	pushq	%rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	leaq	t(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	leaq	s(%rip), %rbx
	movq	%rbp, %rdx
	movq	%rbx, %rsi
	call	__isoc99_scanf@PLT
	movq	%rbx, %rdi
	call	strlen@PLT
	movq	%rbp, %rdi
	movq	%rax, %r12
	call	strlen@PLT
	movq	%rax, %r8
	testq	%r12, %r12
	je	.L2
	xorl	%eax, %eax
	xorl	%edx, %edx
	leaq	left(%rip), %rsi
	.p2align 4,,10
	.p2align 3
.L4:
	movslq	%edx, %rcx
	movzbl	(%rbx,%rax), %edi
	cmpb	%dil, 0(%rbp,%rcx)
	sete	%cl
	movzbl	%cl, %ecx
	addl	%ecx, %edx
	movl	%edx, (%rsi,%rax,4)
	addq	$1, %rax
	cmpq	%rax, %r12
	jne	.L4
	leaq	right(%rip), %rdi
	movslq	%r12d, %rax
	leal	-1(%r12), %r10d
	movl	%r8d, %ecx
	movl	%r8d, (%rdi,%rax,4)
	movslq	%r10d, %r10
	movq	%r10, %rdx
	.p2align 4,,10
	.p2align 3
.L12:
	movslq	%edx, %rax
	testl	%ecx, %ecx
	je	.L29
	leal	-1(%rcx), %eax
	movslq	%eax, %r9
	movzbl	0(%rbp,%r9), %r11d
	cmpb	%r11b, (%rbx,%rdx)
	cmove	%eax, %ecx
	movl	%ecx, (%rdi,%rdx,4)
	subq	$1, %rdx
	cmpl	$-1, %edx
	jne	.L12
.L9:
	cmpl	(%rsi,%r10,4), %r8d
	jne	.L16
	xorl	%eax, %eax
	leaq	4+right(%rip), %rdi
	leaq	-4+left(%rip), %r8
	jmp	.L17
	.p2align 4,,10
	.p2align 3
.L14:
	addq	$1, %rax
	cmpq	%rax, %r12
	je	.L7
.L17:
	movl	(%rsi,%rax,4), %ecx
	leal	-1(%rcx), %edx
	movslq	%edx, %rdx
	movzbl	0(%rbp,%rdx), %edx
	cmpb	%dl, (%rbx,%rax)
	jne	.L14
	testq	%rax, %rax
	je	.L15
	cmpl	(%r8,%rax,4), %ecx
	je	.L14
.L15:
	cmpl	(%rdi,%rax,4), %ecx
	jle	.L14
.L16:
	leaq	.LC2(%rip), %rdi
	call	puts@PLT
	jmp	.L26
.L2:
	cmpl	-4+left(%rip), %eax
	movl	%eax, right(%rip)
	jne	.L16
.L7:
	leaq	.LC1(%rip), %rdi
	call	puts@PLT
.L26:
	popq	%rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xorl	%eax, %eax
	popq	%rbp
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	ret
.L29:
	.cfi_restore_state
	leaq	-4+right(%rip), %rdx
	.p2align 4,,10
	.p2align 3
.L10:
	movl	$0, (%rdi,%rax,4)
	testl	%eax, %eax
	je	.L9
	movl	$0, (%rdx,%rax,4)
	subq	$2, %rax
	cmpl	$-1, %eax
	jne	.L10
	jmp	.L9
	.cfi_endproc
.LFE35:
	.size	main, .-main
	.globl	right
	.bss
	.align 32
	.type	right, @object
	.size	right, 2000040
right:
	.zero	2000040
	.globl	left
	.align 32
	.type	left, @object
	.size	left, 2000040
left:
	.zero	2000040
	.globl	t
	.align 32
	.type	t, @object
	.size	t, 500010
t:
	.zero	500010
	.globl	s
	.align 32
	.type	s, @object
	.size	s, 500010
s:
	.zero	500010
	.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>

char s[500010],t[500010];
int left[500010],right[500010];
int main(){
	scanf("%s%s",s,t);
	int sn=strlen(s);
	int tn=strlen(t);
	
	int cnt=0;
	for(int i=0;i<sn;i++){
		if(s[i]==t[cnt])cnt++;
		left[i]=cnt;
	}

	cnt=tn;
	right[sn]=tn;
	for(int i=sn-1;i>=0;i--){
		if(cnt&&s[i]==t[cnt-1])cnt--;
		right[i]=cnt;
	}
	
	if(left[sn-1]!=tn){
		puts("no");
		return 0;
	}
	
	for(int i=0;i<sn;i++)if(s[i]==t[left[i]-1]&&(i==0||left[i-1]!=left[i])){
		if(right[i+1]<left[i]){
			puts("no");
			return 0;
		}
	}
	
	puts("yes");
}

aizucamp
uza
 aziucamp
azu
 azjucamp
azu
 azjucamp
azt
 azjucamp
zat
 pmacujza
zat
 pmacuiza
zat
 pmicuaza
zat
 pmicvaza
zat
 pmicvaya
zat

no
 yes
 yes
 no
 no
 no
 no
 no
 no
 no

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>

char s[500010],t[500010];
int left[500010],right[500010];
int main(){
	scanf("%s%s",s,t);
	int sn=strlen(s);
	int tn=strlen(t);
	
	int cnt=0;
	for(int i=0;i<sn;i++){
		if(s[i]==t[cnt])cnt++;
		left[i]=cnt;
	}

	cnt=tn;
	right[sn]=tn;
	for(int i=sn-1;i>=0;i--){
		if(cnt&&s[i]==t[cnt-1])cnt--;
		right[i]=cnt;
	}
	
	if(left[sn-1]!=tn){
		puts("no");
		return 0;
	}
	
	for(int i=0;i<sn;i++)if(s[i]==t[left[i]-1]&&(i==0||left[i-1]!=left[i])){
		if(right[i+1]<left[i]){
			puts("no");
			return 0;
		}
	}
	
	puts("yes");
}
```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	s
	.bss
	.align 32
	.type	s, @object
	.size	s, 500010
s:
	.zero	500010
	.globl	t
	.align 32
	.type	t, @object
	.size	t, 500010
t:
	.zero	500010
	.globl	left
	.align 32
	.type	left, @object
	.size	left, 2000040
left:
	.zero	2000040
	.globl	right
	.align 32
	.type	right, @object
	.size	right, 2000040
right:
	.zero	2000040
	.section	.rodata
.LC0:
	.string	"%s%s"
.LC1:
	.string	"no"
.LC2:
	.string	"yes"
	.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	$32, %rsp
	leaq	t(%rip), %rax
	movq	%rax, %rdx
	leaq	s(%rip), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	leaq	s(%rip), %rax
	movq	%rax, %rdi
	call	strlen@PLT
	movl	%eax, -8(%rbp)
	leaq	t(%rip), %rax
	movq	%rax, %rdi
	call	strlen@PLT
	movl	%eax, -4(%rbp)
	movl	$0, -24(%rbp)
	movl	$0, -20(%rbp)
	jmp	.L2
.L4:
	movl	-20(%rbp), %eax
	cltq
	leaq	s(%rip), %rdx
	movzbl	(%rax,%rdx), %edx
	movl	-24(%rbp), %eax
	cltq
	leaq	t(%rip), %rcx
	movzbl	(%rax,%rcx), %eax
	cmpb	%al, %dl
	jne	.L3
	addl	$1, -24(%rbp)
.L3:
	movl	-20(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rcx
	leaq	left(%rip), %rdx
	movl	-24(%rbp), %eax
	movl	%eax, (%rcx,%rdx)
	addl	$1, -20(%rbp)
.L2:
	movl	-20(%rbp), %eax
	cmpl	-8(%rbp), %eax
	jl	.L4
	movl	-4(%rbp), %eax
	movl	%eax, -24(%rbp)
	movl	-8(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rcx
	leaq	right(%rip), %rdx
	movl	-4(%rbp), %eax
	movl	%eax, (%rcx,%rdx)
	movl	-8(%rbp), %eax
	subl	$1, %eax
	movl	%eax, -16(%rbp)
	jmp	.L5
.L7:
	cmpl	$0, -24(%rbp)
	je	.L6
	movl	-16(%rbp), %eax
	cltq
	leaq	s(%rip), %rdx
	movzbl	(%rax,%rdx), %edx
	movl	-24(%rbp), %eax
	subl	$1, %eax
	cltq
	leaq	t(%rip), %rcx
	movzbl	(%rax,%rcx), %eax
	cmpb	%al, %dl
	jne	.L6
	subl	$1, -24(%rbp)
.L6:
	movl	-16(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rcx
	leaq	right(%rip), %rdx
	movl	-24(%rbp), %eax
	movl	%eax, (%rcx,%rdx)
	subl	$1, -16(%rbp)
.L5:
	cmpl	$0, -16(%rbp)
	jns	.L7
	movl	-8(%rbp), %eax
	subl	$1, %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	left(%rip), %rax
	movl	(%rdx,%rax), %eax
	cmpl	%eax, -4(%rbp)
	je	.L8
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	movl	$0, %eax
	jmp	.L9
.L8:
	movl	$0, -12(%rbp)
	jmp	.L10
.L13:
	movl	-12(%rbp), %eax
	cltq
	leaq	s(%rip), %rdx
	movzbl	(%rax,%rdx), %edx
	movl	-12(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rcx
	leaq	left(%rip), %rax
	movl	(%rcx,%rax), %eax
	subl	$1, %eax
	cltq
	leaq	t(%rip), %rcx
	movzbl	(%rax,%rcx), %eax
	cmpb	%al, %dl
	jne	.L11
	cmpl	$0, -12(%rbp)
	je	.L12
	movl	-12(%rbp), %eax
	subl	$1, %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	left(%rip), %rax
	movl	(%rdx,%rax), %edx
	movl	-12(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rcx
	leaq	left(%rip), %rax
	movl	(%rcx,%rax), %eax
	cmpl	%eax, %edx
	je	.L11
.L12:
	movl	-12(%rbp), %eax
	addl	$1, %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	right(%rip), %rax
	movl	(%rdx,%rax), %edx
	movl	-12(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rcx
	leaq	left(%rip), %rax
	movl	(%rcx,%rax), %eax
	cmpl	%eax, %edx
	jge	.L11
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	movl	$0, %eax
	jmp	.L9
.L11:
	addl	$1, -12(%rbp)
.L10:
	movl	-12(%rbp), %eax
	cmpl	-8(%rbp), %eax
	jl	.L13
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	movl	$0, %eax
.L9:
	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, 500010
s:
	.zero	500010
	.globl	t
	.align 32
	.type	t, @object
	.size	t, 500010
t:
	.zero	500010
	.globl	left
	.align 32
	.type	left, @object
	.size	left, 2000040
left:
	.zero	2000040
	.globl	right
	.align 32
	.type	right, @object
	.size	right, 2000040
right:
	.zero	2000040
	.section	.rodata
.LC0:
	.string	"%s%s"
.LC1:
	.string	"no"
.LC2:
	.string	"yes"
	.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	$32, %rsp
	leaq	t(%rip), %rax
	movq	%rax, %rdx
	leaq	s(%rip), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	leaq	s(%rip), %rax
	movq	%rax, %rdi
	call	strlen@PLT
	movl	%eax, -8(%rbp)
	leaq	t(%rip), %rax
	movq	%rax, %rdi
	call	strlen@PLT
	movl	%eax, -4(%rbp)
	movl	$0, -24(%rbp)
	movl	$0, -20(%rbp)
	jmp	.L2
.L4:
	movl	-20(%rbp), %eax
	cltq
	leaq	s(%rip), %rdx
	movzbl	(%rax,%rdx), %edx
	movl	-24(%rbp), %eax
	cltq
	leaq	t(%rip), %rcx
	movzbl	(%rax,%rcx), %eax
	cmpb	%al, %dl
	jne	.L3
	addl	$1, -24(%rbp)
.L3:
	movl	-20(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rcx
	leaq	left(%rip), %rdx
	movl	-24(%rbp), %eax
	movl	%eax, (%rcx,%rdx)
	addl	$1, -20(%rbp)
.L2:
	movl	-20(%rbp), %eax
	cmpl	-8(%rbp), %eax
	jl	.L4
	movl	-4(%rbp), %eax
	movl	%eax, -24(%rbp)
	movl	-8(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rcx
	leaq	right(%rip), %rdx
	movl	-4(%rbp), %eax
	movl	%eax, (%rcx,%rdx)
	movl	-8(%rbp), %eax
	subl	$1, %eax
	movl	%eax, -16(%rbp)
	jmp	.L5
.L7:
	cmpl	$0, -24(%rbp)
	je	.L6
	movl	-16(%rbp), %eax
	cltq
	leaq	s(%rip), %rdx
	movzbl	(%rax,%rdx), %edx
	movl	-24(%rbp), %eax
	subl	$1, %eax
	cltq
	leaq	t(%rip), %rcx
	movzbl	(%rax,%rcx), %eax
	cmpb	%al, %dl
	jne	.L6
	subl	$1, -24(%rbp)
.L6:
	movl	-16(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rcx
	leaq	right(%rip), %rdx
	movl	-24(%rbp), %eax
	movl	%eax, (%rcx,%rdx)
	subl	$1, -16(%rbp)
.L5:
	cmpl	$0, -16(%rbp)
	jns	.L7
	movl	-8(%rbp), %eax
	subl	$1, %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	left(%rip), %rax
	movl	(%rdx,%rax), %eax
	cmpl	%eax, -4(%rbp)
	je	.L8
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	movl	$0, %eax
	jmp	.L9
.L8:
	movl	$0, -12(%rbp)
	jmp	.L10
.L13:
	movl	-12(%rbp), %eax
	cltq
	leaq	s(%rip), %rdx
	movzbl	(%rax,%rdx), %edx
	movl	-12(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rcx
	leaq	left(%rip), %rax
	movl	(%rcx,%rax), %eax
	subl	$1, %eax
	cltq
	leaq	t(%rip), %rcx
	movzbl	(%rax,%rcx), %eax
	cmpb	%al, %dl
	jne	.L11
	cmpl	$0, -12(%rbp)
	je	.L12
	movl	-12(%rbp), %eax
	subl	$1, %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	left(%rip), %rax
	movl	(%rdx,%rax), %edx
	movl	-12(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rcx
	leaq	left(%rip), %rax
	movl	(%rcx,%rax), %eax
	cmpl	%eax, %edx
	je	.L11
.L12:
	movl	-12(%rbp), %eax
	addl	$1, %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	right(%rip), %rax
	movl	(%rdx,%rax), %edx
	movl	-12(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rcx
	leaq	left(%rip), %rax
	movl	(%rcx,%rax), %eax
	cmpl	%eax, %edx
	jge	.L11
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	movl	$0, %eax
	jmp	.L9
.L11:
	addl	$1, -12(%rbp)
.L10:
	movl	-12(%rbp), %eax
	cmpl	-8(%rbp), %eax
	jl	.L13
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	movl	$0, %eax
.L9:
	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:
