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 a[200001];
    char b[200001];
    scanf("%s",a);
    scanf("%s",b);
    int n=0;
    while(a[n]!='\0'){
        n++;
    }
    int count=0;
    for(int i=0;i<n;i++){
        if(a[i]!=b[i])
        count++;
    }
    printf("%d",count);
    return 0;

}
```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%s"
.LC1:
	.string	"%d"
	.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
	leaq	-397312(%rsp), %r11
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	subq	$2736, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-400032(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	leaq	-200016(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -400044(%rbp)
	jmp	.L2
.L3:
	addl	$1, -400044(%rbp)
.L2:
	movl	-400044(%rbp), %eax
	cltq
	movzbl	-400032(%rbp,%rax), %eax
	testb	%al, %al
	jne	.L3
	movl	$0, -400040(%rbp)
	movl	$0, -400036(%rbp)
	jmp	.L4
.L6:
	movl	-400036(%rbp), %eax
	cltq
	movzbl	-400032(%rbp,%rax), %edx
	movl	-400036(%rbp), %eax
	cltq
	movzbl	-200016(%rbp,%rax), %eax
	cmpb	%al, %dl
	je	.L5
	addl	$1, -400040(%rbp)
.L5:
	addl	$1, -400036(%rbp)
.L4:
	movl	-400036(%rbp), %eax
	cmpl	-400044(%rbp), %eax
	jl	.L6
	movl	-400040(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L8
	call	__stack_chk_fail@PLT
.L8:
	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"
.LC2:
	.string	"%d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	pushq	%rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	leaq	-397312(%rsp), %r11
	.cfi_def_cfa 11, 397344
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$2720, %rsp
	.cfi_def_cfa_offset 400064
	leaq	.LC0(%rip), %r12
	movq	%r12, %rdi
	movq	%fs:40, %rax
	movq	%rax, 400024(%rsp)
	xorl	%eax, %eax
	movq	%rsp, %rbx
	leaq	200016(%rsp), %rbp
	movq	%rbx, %rsi
	call	__isoc99_scanf@PLT
	xorl	%eax, %eax
	movq	%rbp, %rsi
	movq	%r12, %rdi
	call	__isoc99_scanf@PLT
	cmpb	$0, (%rsp)
	je	.L24
	xorl	%eax, %eax
	.p2align 4,,10
	.p2align 3
.L3:
	movl	%eax, %ecx
	addq	$1, %rax
	cmpb	$0, (%rbx,%rax)
	jne	.L3
	leal	1(%rcx), %esi
	cmpl	$14, %ecx
	jbe	.L25
	movl	%esi, %edx
	movdqa	.LC1(%rip), %xmm6
	xorl	%eax, %eax
	pxor	%xmm1, %xmm1
	shrl	$4, %edx
	pxor	%xmm5, %xmm5
	pxor	%xmm4, %xmm4
	salq	$4, %rdx
	.p2align 4,,10
	.p2align 3
.L5:
	movdqa	(%rbx,%rax), %xmm0
	movdqa	%xmm5, %xmm3
	pcmpeqb	0(%rbp,%rax), %xmm0
	addq	$16, %rax
	pandn	%xmm6, %xmm0
	pcmpgtb	%xmm0, %xmm3
	movdqa	%xmm0, %xmm2
	punpcklbw	%xmm3, %xmm2
	punpckhbw	%xmm3, %xmm0
	movdqa	%xmm4, %xmm3
	pcmpgtw	%xmm2, %xmm3
	movdqa	%xmm2, %xmm7
	punpcklwd	%xmm3, %xmm7
	punpckhwd	%xmm3, %xmm2
	movdqa	%xmm0, %xmm3
	paddd	%xmm7, %xmm1
	paddd	%xmm2, %xmm1
	movdqa	%xmm4, %xmm2
	pcmpgtw	%xmm0, %xmm2
	punpcklwd	%xmm2, %xmm3
	punpckhwd	%xmm2, %xmm0
	paddd	%xmm3, %xmm1
	paddd	%xmm0, %xmm1
	cmpq	%rax, %rdx
	jne	.L5
	movdqa	%xmm1, %xmm0
	movl	%esi, %eax
	psrldq	$8, %xmm0
	andl	$-16, %eax
	andl	$15, %esi
	paddd	%xmm0, %xmm1
	movdqa	%xmm1, %xmm0
	psrldq	$4, %xmm0
	paddd	%xmm0, %xmm1
	movd	%xmm1, %edx
	je	.L2
.L4:
	movslq	%eax, %rsi
	movzbl	(%rsp,%rsi), %ebx
	cmpb	%bl, 200016(%rsp,%rsi)
	je	.L7
	addl	$1, %edx
.L7:
	leal	1(%rax), %esi
	cmpl	%eax, %ecx
	jle	.L2
	movslq	%esi, %rdi
	movzbl	200016(%rsp,%rdi), %ebx
	cmpb	%bl, (%rsp,%rdi)
	je	.L8
	addl	$1, %edx
.L8:
	leal	2(%rax), %edi
	cmpl	%ecx, %esi
	jge	.L2
	movslq	%edi, %rsi
	movzbl	200016(%rsp,%rsi), %ebx
	cmpb	%bl, (%rsp,%rsi)
	je	.L9
	addl	$1, %edx
.L9:
	leal	3(%rax), %esi
	cmpl	%edi, %ecx
	jle	.L2
	movslq	%esi, %rdi
	movzbl	200016(%rsp,%rdi), %ebx
	cmpb	%bl, (%rsp,%rdi)
	je	.L10
	addl	$1, %edx
.L10:
	leal	4(%rax), %edi
	cmpl	%ecx, %esi
	jge	.L2
	movslq	%edi, %rsi
	movzbl	200016(%rsp,%rsi), %ebx
	cmpb	%bl, (%rsp,%rsi)
	je	.L11
	addl	$1, %edx
.L11:
	leal	5(%rax), %esi
	cmpl	%edi, %ecx
	jle	.L2
	movslq	%esi, %rdi
	movzbl	200016(%rsp,%rdi), %ebx
	cmpb	%bl, (%rsp,%rdi)
	je	.L12
	addl	$1, %edx
.L12:
	leal	6(%rax), %edi
	cmpl	%esi, %ecx
	jle	.L2
	movslq	%edi, %rsi
	movzbl	200016(%rsp,%rsi), %ebx
	cmpb	%bl, (%rsp,%rsi)
	je	.L13
	addl	$1, %edx
.L13:
	leal	7(%rax), %esi
	cmpl	%edi, %ecx
	jle	.L2
	movslq	%esi, %rdi
	movzbl	200016(%rsp,%rdi), %ebx
	cmpb	%bl, (%rsp,%rdi)
	je	.L14
	addl	$1, %edx
.L14:
	leal	8(%rax), %edi
	cmpl	%esi, %ecx
	jle	.L2
	movslq	%edi, %rsi
	movzbl	200016(%rsp,%rsi), %ebx
	cmpb	%bl, (%rsp,%rsi)
	je	.L15
	addl	$1, %edx
.L15:
	leal	9(%rax), %esi
	cmpl	%edi, %ecx
	jle	.L2
	movslq	%esi, %rdi
	movzbl	200016(%rsp,%rdi), %ebx
	cmpb	%bl, (%rsp,%rdi)
	je	.L16
	addl	$1, %edx
.L16:
	leal	10(%rax), %edi
	cmpl	%esi, %ecx
	jle	.L2
	movslq	%edi, %rsi
	movzbl	200016(%rsp,%rsi), %ebx
	cmpb	%bl, (%rsp,%rsi)
	je	.L17
	addl	$1, %edx
.L17:
	leal	11(%rax), %esi
	cmpl	%edi, %ecx
	jle	.L2
	movslq	%esi, %rdi
	movzbl	200016(%rsp,%rdi), %ebx
	cmpb	%bl, (%rsp,%rdi)
	je	.L18
	addl	$1, %edx
.L18:
	leal	12(%rax), %edi
	cmpl	%esi, %ecx
	jle	.L2
	movslq	%edi, %rsi
	movzbl	200016(%rsp,%rsi), %ebx
	cmpb	%bl, (%rsp,%rsi)
	je	.L19
	addl	$1, %edx
.L19:
	leal	13(%rax), %esi
	cmpl	%edi, %ecx
	jle	.L2
	movslq	%esi, %rdi
	movzbl	200016(%rsp,%rdi), %ebx
	cmpb	%bl, (%rsp,%rdi)
	je	.L20
	addl	$1, %edx
.L20:
	addl	$14, %eax
	cmpl	%esi, %ecx
	jle	.L2
	cltq
	movzbl	200016(%rsp,%rax), %ecx
	cmpb	%cl, (%rsp,%rax)
	je	.L2
	addl	$1, %edx
	.p2align 4,,10
	.p2align 3
.L2:
	xorl	%eax, %eax
	leaq	.LC2(%rip), %rsi
	movl	$1, %edi
	call	__printf_chk@PLT
	movq	400024(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L30
	addq	$400032, %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
.L24:
	.cfi_restore_state
	xorl	%edx, %edx
	jmp	.L2
.L25:
	xorl	%eax, %eax
	xorl	%edx, %edx
	jmp	.L4
.L30:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.section	.rodata.cst16,"aM",@progbits,16
	.align 16
.LC1:
	.byte	1
	.byte	1
	.byte	1
	.byte	1
	.byte	1
	.byte	1
	.byte	1
	.byte	1
	.byte	1
	.byte	1
	.byte	1
	.byte	1
	.byte	1
	.byte	1
	.byte	1
	.byte	1
	.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"
.LC2:
	.string	"%d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	pushq	%rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	leaq	-397312(%rsp), %r11
	.cfi_def_cfa 11, 397344
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$2720, %rsp
	.cfi_def_cfa_offset 400064
	leaq	.LC0(%rip), %r12
	movq	%r12, %rdi
	movq	%fs:40, %rax
	movq	%rax, 400024(%rsp)
	xorl	%eax, %eax
	movq	%rsp, %rbx
	leaq	200016(%rsp), %rbp
	movq	%rbx, %rsi
	call	__isoc99_scanf@PLT
	xorl	%eax, %eax
	movq	%rbp, %rsi
	movq	%r12, %rdi
	call	__isoc99_scanf@PLT
	cmpb	$0, (%rsp)
	je	.L24
	xorl	%eax, %eax
	.p2align 4,,10
	.p2align 3
.L3:
	movl	%eax, %ecx
	addq	$1, %rax
	cmpb	$0, (%rbx,%rax)
	jne	.L3
	leal	1(%rcx), %esi
	cmpl	$14, %ecx
	jbe	.L25
	movl	%esi, %edx
	movdqa	.LC1(%rip), %xmm6
	xorl	%eax, %eax
	pxor	%xmm1, %xmm1
	shrl	$4, %edx
	pxor	%xmm5, %xmm5
	pxor	%xmm4, %xmm4
	salq	$4, %rdx
	.p2align 4,,10
	.p2align 3
.L5:
	movdqa	(%rbx,%rax), %xmm0
	movdqa	%xmm5, %xmm3
	pcmpeqb	0(%rbp,%rax), %xmm0
	addq	$16, %rax
	pandn	%xmm6, %xmm0
	pcmpgtb	%xmm0, %xmm3
	movdqa	%xmm0, %xmm2
	punpcklbw	%xmm3, %xmm2
	punpckhbw	%xmm3, %xmm0
	movdqa	%xmm4, %xmm3
	pcmpgtw	%xmm2, %xmm3
	movdqa	%xmm2, %xmm7
	punpcklwd	%xmm3, %xmm7
	punpckhwd	%xmm3, %xmm2
	movdqa	%xmm0, %xmm3
	paddd	%xmm7, %xmm1
	paddd	%xmm2, %xmm1
	movdqa	%xmm4, %xmm2
	pcmpgtw	%xmm0, %xmm2
	punpcklwd	%xmm2, %xmm3
	punpckhwd	%xmm2, %xmm0
	paddd	%xmm3, %xmm1
	paddd	%xmm0, %xmm1
	cmpq	%rax, %rdx
	jne	.L5
	movdqa	%xmm1, %xmm0
	movl	%esi, %eax
	psrldq	$8, %xmm0
	andl	$-16, %eax
	andl	$15, %esi
	paddd	%xmm0, %xmm1
	movdqa	%xmm1, %xmm0
	psrldq	$4, %xmm0
	paddd	%xmm0, %xmm1
	movd	%xmm1, %edx
	je	.L2
.L4:
	movslq	%eax, %rsi
	movzbl	(%rsp,%rsi), %ebx
	cmpb	%bl, 200016(%rsp,%rsi)
	je	.L7
	addl	$1, %edx
.L7:
	leal	1(%rax), %esi
	cmpl	%eax, %ecx
	jle	.L2
	movslq	%esi, %rdi
	movzbl	200016(%rsp,%rdi), %ebx
	cmpb	%bl, (%rsp,%rdi)
	je	.L8
	addl	$1, %edx
.L8:
	leal	2(%rax), %edi
	cmpl	%ecx, %esi
	jge	.L2
	movslq	%edi, %rsi
	movzbl	200016(%rsp,%rsi), %ebx
	cmpb	%bl, (%rsp,%rsi)
	je	.L9
	addl	$1, %edx
.L9:
	leal	3(%rax), %esi
	cmpl	%edi, %ecx
	jle	.L2
	movslq	%esi, %rdi
	movzbl	200016(%rsp,%rdi), %ebx
	cmpb	%bl, (%rsp,%rdi)
	je	.L10
	addl	$1, %edx
.L10:
	leal	4(%rax), %edi
	cmpl	%ecx, %esi
	jge	.L2
	movslq	%edi, %rsi
	movzbl	200016(%rsp,%rsi), %ebx
	cmpb	%bl, (%rsp,%rsi)
	je	.L11
	addl	$1, %edx
.L11:
	leal	5(%rax), %esi
	cmpl	%edi, %ecx
	jle	.L2
	movslq	%esi, %rdi
	movzbl	200016(%rsp,%rdi), %ebx
	cmpb	%bl, (%rsp,%rdi)
	je	.L12
	addl	$1, %edx
.L12:
	leal	6(%rax), %edi
	cmpl	%esi, %ecx
	jle	.L2
	movslq	%edi, %rsi
	movzbl	200016(%rsp,%rsi), %ebx
	cmpb	%bl, (%rsp,%rsi)
	je	.L13
	addl	$1, %edx
.L13:
	leal	7(%rax), %esi
	cmpl	%edi, %ecx
	jle	.L2
	movslq	%esi, %rdi
	movzbl	200016(%rsp,%rdi), %ebx
	cmpb	%bl, (%rsp,%rdi)
	je	.L14
	addl	$1, %edx
.L14:
	leal	8(%rax), %edi
	cmpl	%esi, %ecx
	jle	.L2
	movslq	%edi, %rsi
	movzbl	200016(%rsp,%rsi), %ebx
	cmpb	%bl, (%rsp,%rsi)
	je	.L15
	addl	$1, %edx
.L15:
	leal	9(%rax), %esi
	cmpl	%edi, %ecx
	jle	.L2
	movslq	%esi, %rdi
	movzbl	200016(%rsp,%rdi), %ebx
	cmpb	%bl, (%rsp,%rdi)
	je	.L16
	addl	$1, %edx
.L16:
	leal	10(%rax), %edi
	cmpl	%esi, %ecx
	jle	.L2
	movslq	%edi, %rsi
	movzbl	200016(%rsp,%rsi), %ebx
	cmpb	%bl, (%rsp,%rsi)
	je	.L17
	addl	$1, %edx
.L17:
	leal	11(%rax), %esi
	cmpl	%edi, %ecx
	jle	.L2
	movslq	%esi, %rdi
	movzbl	200016(%rsp,%rdi), %ebx
	cmpb	%bl, (%rsp,%rdi)
	je	.L18
	addl	$1, %edx
.L18:
	leal	12(%rax), %edi
	cmpl	%esi, %ecx
	jle	.L2
	movslq	%edi, %rsi
	movzbl	200016(%rsp,%rsi), %ebx
	cmpb	%bl, (%rsp,%rsi)
	je	.L19
	addl	$1, %edx
.L19:
	leal	13(%rax), %esi
	cmpl	%edi, %ecx
	jle	.L2
	movslq	%esi, %rdi
	movzbl	200016(%rsp,%rdi), %ebx
	cmpb	%bl, (%rsp,%rdi)
	je	.L20
	addl	$1, %edx
.L20:
	addl	$14, %eax
	cmpl	%esi, %ecx
	jle	.L2
	cltq
	movzbl	200016(%rsp,%rax), %ecx
	cmpb	%cl, (%rsp,%rax)
	je	.L2
	addl	$1, %edx
	.p2align 4,,10
	.p2align 3
.L2:
	xorl	%eax, %eax
	leaq	.LC2(%rip), %rsi
	movl	$1, %edi
	call	__printf_chk@PLT
	movq	400024(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L30
	addq	$400032, %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
.L24:
	.cfi_restore_state
	xorl	%edx, %edx
	jmp	.L2
.L25:
	xorl	%eax, %eax
	xorl	%edx, %edx
	jmp	.L4
.L30:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.section	.rodata.cst16,"aM",@progbits,16
	.align 16
.LC1:
	.byte	1
	.byte	1
	.byte	1
	.byte	1
	.byte	1
	.byte	1
	.byte	1
	.byte	1
	.byte	1
	.byte	1
	.byte	1
	.byte	1
	.byte	1
	.byte	1
	.byte	1
	.byte	1
	.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 a[200001];
    char b[200001];
    scanf("%s",a);
    scanf("%s",b);
    int n=0;
    while(a[n]!='\0'){
        n++;
    }
    int count=0;
    for(int i=0;i<n;i++){
        if(a[i]!=b[i])
        count++;
    }
    printf("%d",count);
    return 0;

}

apple
elppa
 abcdd
bcdea
 eeffocfopuc
cupofhottea
 elppa
elppa
 elppa
elppb
 elpap
elppb
 ddc`a
bbcfa
 ffgdmdfqpuc
oeutaieppud
 ffgdmdfqpuc
oevt`ieuppd
 hcfrahdjpmr
wvfxmhpcema

4 5 11 0 1 2 3 9 10 8
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 a[200001];
    char b[200001];
    scanf("%s",a);
    scanf("%s",b);
    int n=0;
    while(a[n]!='\0'){
        n++;
    }
    int count=0;
    for(int i=0;i<n;i++){
        if(a[i]!=b[i])
        count++;
    }
    printf("%d",count);
    return 0;

}
```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%s"
.LC1:
	.string	"%d"
	.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
	leaq	-397312(%rsp), %r11
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	subq	$2736, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-400032(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	leaq	-200016(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -400044(%rbp)
	jmp	.L2
.L3:
	addl	$1, -400044(%rbp)
.L2:
	movl	-400044(%rbp), %eax
	cltq
	movzbl	-400032(%rbp,%rax), %eax
	testb	%al, %al
	jne	.L3
	movl	$0, -400040(%rbp)
	movl	$0, -400036(%rbp)
	jmp	.L4
.L6:
	movl	-400036(%rbp), %eax
	cltq
	movzbl	-400032(%rbp,%rax), %edx
	movl	-400036(%rbp), %eax
	cltq
	movzbl	-200016(%rbp,%rax), %eax
	cmpb	%al, %dl
	je	.L5
	addl	$1, -400040(%rbp)
.L5:
	addl	$1, -400036(%rbp)
.L4:
	movl	-400036(%rbp), %eax
	cmpl	-400044(%rbp), %eax
	jl	.L6
	movl	-400040(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L8
	call	__stack_chk_fail@PLT
.L8:
	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"
.LC1:
	.string	"%d"
	.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
	leaq	-397312(%rsp), %r11
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	subq	$2736, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-400032(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	leaq	-200016(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -400044(%rbp)
	jmp	.L2
.L3:
	addl	$1, -400044(%rbp)
.L2:
	movl	-400044(%rbp), %eax
	cltq
	movzbl	-400032(%rbp,%rax), %eax
	testb	%al, %al
	jne	.L3
	movl	$0, -400040(%rbp)
	movl	$0, -400036(%rbp)
	jmp	.L4
.L6:
	movl	-400036(%rbp), %eax
	cltq
	movzbl	-400032(%rbp,%rax), %edx
	movl	-400036(%rbp), %eax
	cltq
	movzbl	-200016(%rbp,%rax), %eax
	cmpb	%al, %dl
	je	.L5
	addl	$1, -400040(%rbp)
.L5:
	addl	$1, -400036(%rbp)
.L4:
	movl	-400036(%rbp), %eax
	cmpl	-400044(%rbp), %eax
	jl	.L6
	movl	-400040(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L8
	call	__stack_chk_fail@PLT
.L8:
	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:
