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 <malloc.h>
#include <string.h>

int cmpStr(char *str, int s1, int l1, int s2, int l2)
{
    int i;
    if (l1 != l2)
    {
        return 1;
    }

    for (i = 0; i < l1; i++)
    {
        if (str[s1 + i] != str[s2 + i])
        {
            return 1;
        }
    }

    return 0;
}

int main(void)
{
    int i, j, k, len;
    int prev = 1, curr = 1;
    int count = 0;
    char *str = (char *)calloc(200001, sizeof(char));

    scanf("%s", str);

    len = strlen(str);

    i = 0;
    j = 1;
    prev = 1;
    curr = 1;

    while (j <= len)
    {
        if (0 == cmpStr(str, i, prev, j, curr))
        {
            curr++;
        }
        else
        {
            /*
            printf("i = %d, curr = %d, ", i, curr);
            for (k = i; k < i + prev; k++)
            {
                printf("%c", str[k]);
            }
            printf("\n");
            */
            count++;
            prev = curr;
            i = j;
            j += curr;
            curr = 1;
        }
    }

    printf("%d\n", count);

    free(str);
    return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	cmpStr
	.type	cmpStr, @function
cmpStr:
.LFB0:
	.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)
	movl	%esi, -28(%rbp)
	movl	%edx, -32(%rbp)
	movl	%ecx, -36(%rbp)
	movl	%r8d, -40(%rbp)
	movl	-32(%rbp), %eax
	cmpl	-40(%rbp), %eax
	je	.L2
	movl	$1, %eax
	jmp	.L3
.L2:
	movl	$0, -4(%rbp)
	jmp	.L4
.L6:
	movl	-28(%rbp), %edx
	movl	-4(%rbp), %eax
	addl	%edx, %eax
	movslq	%eax, %rdx
	movq	-24(%rbp), %rax
	addq	%rdx, %rax
	movzbl	(%rax), %edx
	movl	-36(%rbp), %ecx
	movl	-4(%rbp), %eax
	addl	%ecx, %eax
	movslq	%eax, %rcx
	movq	-24(%rbp), %rax
	addq	%rcx, %rax
	movzbl	(%rax), %eax
	cmpb	%al, %dl
	je	.L5
	movl	$1, %eax
	jmp	.L3
.L5:
	addl	$1, -4(%rbp)
.L4:
	movl	-4(%rbp), %eax
	cmpl	-32(%rbp), %eax
	jl	.L6
	movl	$0, %eax
.L3:
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	cmpStr, .-cmpStr
	.section	.rodata
.LC0:
	.string	"%s"
.LC1:
	.string	"%d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB1:
	.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
	movl	$1, -24(%rbp)
	movl	$1, -20(%rbp)
	movl	$0, -16(%rbp)
	movl	$1, %esi
	movl	$200001, %edi
	call	calloc@PLT
	movq	%rax, -8(%rbp)
	movq	-8(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movq	-8(%rbp), %rax
	movq	%rax, %rdi
	call	strlen@PLT
	movl	%eax, -12(%rbp)
	movl	$0, -32(%rbp)
	movl	$1, -28(%rbp)
	movl	$1, -24(%rbp)
	movl	$1, -20(%rbp)
	jmp	.L8
.L10:
	movl	-20(%rbp), %edi
	movl	-28(%rbp), %ecx
	movl	-24(%rbp), %edx
	movl	-32(%rbp), %esi
	movq	-8(%rbp), %rax
	movl	%edi, %r8d
	movq	%rax, %rdi
	call	cmpStr
	testl	%eax, %eax
	jne	.L9
	addl	$1, -20(%rbp)
	jmp	.L8
.L9:
	addl	$1, -16(%rbp)
	movl	-20(%rbp), %eax
	movl	%eax, -24(%rbp)
	movl	-28(%rbp), %eax
	movl	%eax, -32(%rbp)
	movl	-20(%rbp), %eax
	addl	%eax, -28(%rbp)
	movl	$1, -20(%rbp)
.L8:
	movl	-28(%rbp), %eax
	cmpl	-12(%rbp), %eax
	jle	.L10
	movl	-16(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movq	-8(%rbp), %rax
	movq	%rax, %rdi
	call	free@PLT
	movl	$0, %eax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.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
	.p2align 4
	.globl	cmpStr
	.type	cmpStr, @function
cmpStr:
.LFB35:
	.cfi_startproc
	endbr64
	movl	$1, %eax
	cmpl	%r8d, %edx
	jne	.L1
	testl	%edx, %edx
	jle	.L5
	movslq	%esi, %rsi
	subl	$1, %edx
	movslq	%ecx, %rcx
	leaq	(%rdi,%rsi), %rax
	leaq	1(%rdi,%rsi), %rdi
	addq	%rdx, %rdi
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L9:
	addq	$1, %rax
	cmpq	%rdi, %rax
	je	.L5
.L3:
	movq	%rax, %rdx
	subq	%rsi, %rdx
	movzbl	(%rdx,%rcx), %edx
	cmpb	%dl, (%rax)
	je	.L9
	movl	$1, %eax
.L1:
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	xorl	%eax, %eax
	ret
	.cfi_endproc
.LFE35:
	.size	cmpStr, .-cmpStr
	.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:
.LFB36:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	movl	$1, %esi
	movl	$200001, %edi
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	subq	$8, %rsp
	.cfi_def_cfa_offset 48
	call	calloc@PLT
	leaq	.LC0(%rip), %rdi
	movq	%rax, %rbp
	movq	%rax, %rsi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movq	%rbp, %rdi
	call	strlen@PLT
	testl	%eax, %eax
	jle	.L17
	movl	%eax, %r12d
	xorl	%r11d, %r11d
	movl	$1, %r10d
	xorl	%ebx, %ebx
	movl	$1, %r9d
	movl	$1, %r8d
	leaq	1(%rbp), %r13
	.p2align 4,,10
	.p2align 3
.L15:
	cmpl	%r10d, %r9d
	jne	.L12
	movslq	%ebx, %rcx
	leal	-1(%r9), %edx
	movslq	%r8d, %rdi
	leaq	0(%r13,%rcx), %rsi
	leaq	0(%rbp,%rcx), %rax
	addq	%rdx, %rsi
	.p2align 4,,10
	.p2align 3
.L13:
	movq	%rax, %rdx
	subq	%rcx, %rdx
	movzbl	(%rdx,%rdi), %edx
	cmpb	%dl, (%rax)
	jne	.L12
	addq	$1, %rax
	cmpq	%rax, %rsi
	jne	.L13
	addl	$1, %r10d
.L16:
	cmpl	%r12d, %r8d
	jle	.L15
.L11:
	movl	%r11d, %edx
	leaq	.LC1(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movq	%rbp, %rdi
	call	free@PLT
	addq	$8, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%rbp
	.cfi_def_cfa_offset 24
	popq	%r12
	.cfi_def_cfa_offset 16
	popq	%r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_restore_state
	movl	%r10d, %r9d
	movl	%r8d, %ebx
	addl	$1, %r11d
	addl	%r10d, %r8d
	movl	$1, %r10d
	jmp	.L16
.L17:
	xorl	%r11d, %r11d
	jmp	.L11
	.cfi_endproc
.LFE36:
	.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
	.file	"temp.c"
	.text
	.p2align 4
	.globl	cmpStr
	.type	cmpStr, @function
cmpStr:
.LFB35:
	.cfi_startproc
	endbr64
	movl	$1, %eax
	cmpl	%r8d, %edx
	jne	.L1
	testl	%edx, %edx
	jle	.L5
	movslq	%esi, %rsi
	subl	$1, %edx
	movslq	%ecx, %rcx
	leaq	(%rdi,%rsi), %rax
	leaq	1(%rdi,%rsi), %rdi
	addq	%rdx, %rdi
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L9:
	addq	$1, %rax
	cmpq	%rdi, %rax
	je	.L5
.L3:
	movq	%rax, %rdx
	subq	%rsi, %rdx
	movzbl	(%rdx,%rcx), %edx
	cmpb	%dl, (%rax)
	je	.L9
	movl	$1, %eax
.L1:
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	xorl	%eax, %eax
	ret
	.cfi_endproc
.LFE35:
	.size	cmpStr, .-cmpStr
	.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:
.LFB36:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	movl	$1, %esi
	movl	$200001, %edi
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	subq	$8, %rsp
	.cfi_def_cfa_offset 48
	call	calloc@PLT
	leaq	.LC0(%rip), %rdi
	movq	%rax, %rbp
	movq	%rax, %rsi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movq	%rbp, %rdi
	call	strlen@PLT
	testl	%eax, %eax
	jle	.L17
	movl	%eax, %r12d
	xorl	%r11d, %r11d
	movl	$1, %r10d
	xorl	%ebx, %ebx
	movl	$1, %r9d
	movl	$1, %r8d
	leaq	1(%rbp), %r13
	.p2align 4,,10
	.p2align 3
.L15:
	cmpl	%r10d, %r9d
	jne	.L12
	movslq	%ebx, %rcx
	leal	-1(%r9), %edx
	movslq	%r8d, %rdi
	leaq	0(%r13,%rcx), %rsi
	leaq	0(%rbp,%rcx), %rax
	addq	%rdx, %rsi
	.p2align 4,,10
	.p2align 3
.L13:
	movq	%rax, %rdx
	subq	%rcx, %rdx
	movzbl	(%rdx,%rdi), %edx
	cmpb	%dl, (%rax)
	jne	.L12
	addq	$1, %rax
	cmpq	%rax, %rsi
	jne	.L13
	addl	$1, %r10d
.L16:
	cmpl	%r12d, %r8d
	jle	.L15
.L11:
	movl	%r11d, %edx
	leaq	.LC1(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movq	%rbp, %rdi
	call	free@PLT
	addq	$8, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%rbp
	.cfi_def_cfa_offset 24
	popq	%r12
	.cfi_def_cfa_offset 16
	popq	%r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_restore_state
	movl	%r10d, %r9d
	movl	%r8d, %ebx
	addl	$1, %r11d
	addl	%r10d, %r8d
	movl	$1, %r10d
	jmp	.L16
.L17:
	xorl	%r11d, %r11d
	jmp	.L11
	.cfi_endproc
.LFE36:
	.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:

#include <stdio.h>
#include <malloc.h>
#include <string.h>

int cmpStr(char *str, int s1, int l1, int s2, int l2)
{
    int i;
    if (l1 != l2)
    {
        return 1;
    }

    for (i = 0; i < l1; i++)
    {
        if (str[s1 + i] != str[s2 + i])
        {
            return 1;
        }
    }

    return 0;
}

int main(void)
{
    int i, j, k, len;
    int prev = 1, curr = 1;
    int count = 0;
    char *str = (char *)calloc(200001, sizeof(char));

    scanf("%s", str);

    len = strlen(str);

    i = 0;
    j = 1;
    prev = 1;
    curr = 1;

    while (j <= len)
    {
        if (0 == cmpStr(str, i, prev, j, curr))
        {
            curr++;
        }
        else
        {
            /*
            printf("i = %d, curr = %d, ", i, curr);
            for (k = i; k < i + prev; k++)
            {
                printf("%c", str[k]);
            }
            printf("\n");
            */
            count++;
            prev = curr;
            i = j;
            j += curr;
            curr = 1;
        }
    }

    printf("%d\n", count);

    free(str);
    return 0;
}
aaaccacabaababb
 a`bbaa
 abbccacabaababa
 abbccaaabaababc
 b`aba`
 b``aaa
 `abab`cbbba`c`b
 `_b`ab`_babcdba
 aabccacabaababb
 a`bcaa

11
 5
 13
 12
 6
 4
 14
 15
 11
 5

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 <malloc.h>
#include <string.h>

int cmpStr(char *str, int s1, int l1, int s2, int l2)
{
    int i;
    if (l1 != l2)
    {
        return 1;
    }

    for (i = 0; i < l1; i++)
    {
        if (str[s1 + i] != str[s2 + i])
        {
            return 1;
        }
    }

    return 0;
}

int main(void)
{
    int i, j, k, len;
    int prev = 1, curr = 1;
    int count = 0;
    char *str = (char *)calloc(200001, sizeof(char));

    scanf("%s", str);

    len = strlen(str);

    i = 0;
    j = 1;
    prev = 1;
    curr = 1;

    while (j <= len)
    {
        if (0 == cmpStr(str, i, prev, j, curr))
        {
            curr++;
        }
        else
        {
            /*
            printf("i = %d, curr = %d, ", i, curr);
            for (k = i; k < i + prev; k++)
            {
                printf("%c", str[k]);
            }
            printf("\n");
            */
            count++;
            prev = curr;
            i = j;
            j += curr;
            curr = 1;
        }
    }

    printf("%d\n", count);

    free(str);
    return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	cmpStr
	.type	cmpStr, @function
cmpStr:
.LFB0:
	.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)
	movl	%esi, -28(%rbp)
	movl	%edx, -32(%rbp)
	movl	%ecx, -36(%rbp)
	movl	%r8d, -40(%rbp)
	movl	-32(%rbp), %eax
	cmpl	-40(%rbp), %eax
	je	.L2
	movl	$1, %eax
	jmp	.L3
.L2:
	movl	$0, -4(%rbp)
	jmp	.L4
.L6:
	movl	-28(%rbp), %edx
	movl	-4(%rbp), %eax
	addl	%edx, %eax
	movslq	%eax, %rdx
	movq	-24(%rbp), %rax
	addq	%rdx, %rax
	movzbl	(%rax), %edx
	movl	-36(%rbp), %ecx
	movl	-4(%rbp), %eax
	addl	%ecx, %eax
	movslq	%eax, %rcx
	movq	-24(%rbp), %rax
	addq	%rcx, %rax
	movzbl	(%rax), %eax
	cmpb	%al, %dl
	je	.L5
	movl	$1, %eax
	jmp	.L3
.L5:
	addl	$1, -4(%rbp)
.L4:
	movl	-4(%rbp), %eax
	cmpl	-32(%rbp), %eax
	jl	.L6
	movl	$0, %eax
.L3:
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	cmpStr, .-cmpStr
	.section	.rodata
.LC0:
	.string	"%s"
.LC1:
	.string	"%d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB1:
	.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
	movl	$1, -24(%rbp)
	movl	$1, -20(%rbp)
	movl	$0, -16(%rbp)
	movl	$1, %esi
	movl	$200001, %edi
	call	calloc@PLT
	movq	%rax, -8(%rbp)
	movq	-8(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movq	-8(%rbp), %rax
	movq	%rax, %rdi
	call	strlen@PLT
	movl	%eax, -12(%rbp)
	movl	$0, -32(%rbp)
	movl	$1, -28(%rbp)
	movl	$1, -24(%rbp)
	movl	$1, -20(%rbp)
	jmp	.L8
.L10:
	movl	-20(%rbp), %edi
	movl	-28(%rbp), %ecx
	movl	-24(%rbp), %edx
	movl	-32(%rbp), %esi
	movq	-8(%rbp), %rax
	movl	%edi, %r8d
	movq	%rax, %rdi
	call	cmpStr
	testl	%eax, %eax
	jne	.L9
	addl	$1, -20(%rbp)
	jmp	.L8
.L9:
	addl	$1, -16(%rbp)
	movl	-20(%rbp), %eax
	movl	%eax, -24(%rbp)
	movl	-28(%rbp), %eax
	movl	%eax, -32(%rbp)
	movl	-20(%rbp), %eax
	addl	%eax, -28(%rbp)
	movl	$1, -20(%rbp)
.L8:
	movl	-28(%rbp), %eax
	cmpl	-12(%rbp), %eax
	jle	.L10
	movl	-16(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movq	-8(%rbp), %rax
	movq	%rax, %rdi
	call	free@PLT
	movl	$0, %eax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.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	cmpStr
	.type	cmpStr, @function
cmpStr:
.LFB0:
	.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)
	movl	%esi, -28(%rbp)
	movl	%edx, -32(%rbp)
	movl	%ecx, -36(%rbp)
	movl	%r8d, -40(%rbp)
	movl	-32(%rbp), %eax
	cmpl	-40(%rbp), %eax
	je	.L2
	movl	$1, %eax
	jmp	.L3
.L2:
	movl	$0, -4(%rbp)
	jmp	.L4
.L6:
	movl	-28(%rbp), %edx
	movl	-4(%rbp), %eax
	addl	%edx, %eax
	movslq	%eax, %rdx
	movq	-24(%rbp), %rax
	addq	%rdx, %rax
	movzbl	(%rax), %edx
	movl	-36(%rbp), %ecx
	movl	-4(%rbp), %eax
	addl	%ecx, %eax
	movslq	%eax, %rcx
	movq	-24(%rbp), %rax
	addq	%rcx, %rax
	movzbl	(%rax), %eax
	cmpb	%al, %dl
	je	.L5
	movl	$1, %eax
	jmp	.L3
.L5:
	addl	$1, -4(%rbp)
.L4:
	movl	-4(%rbp), %eax
	cmpl	-32(%rbp), %eax
	jl	.L6
	movl	$0, %eax
.L3:
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	cmpStr, .-cmpStr
	.section	.rodata
.LC0:
	.string	"%s"
.LC1:
	.string	"%d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB1:
	.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
	movl	$1, -24(%rbp)
	movl	$1, -20(%rbp)
	movl	$0, -16(%rbp)
	movl	$1, %esi
	movl	$200001, %edi
	call	calloc@PLT
	movq	%rax, -8(%rbp)
	movq	-8(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movq	-8(%rbp), %rax
	movq	%rax, %rdi
	call	strlen@PLT
	movl	%eax, -12(%rbp)
	movl	$0, -32(%rbp)
	movl	$1, -28(%rbp)
	movl	$1, -24(%rbp)
	movl	$1, -20(%rbp)
	jmp	.L8
.L10:
	movl	-20(%rbp), %edi
	movl	-28(%rbp), %ecx
	movl	-24(%rbp), %edx
	movl	-32(%rbp), %esi
	movq	-8(%rbp), %rax
	movl	%edi, %r8d
	movq	%rax, %rdi
	call	cmpStr
	testl	%eax, %eax
	jne	.L9
	addl	$1, -20(%rbp)
	jmp	.L8
.L9:
	addl	$1, -16(%rbp)
	movl	-20(%rbp), %eax
	movl	%eax, -24(%rbp)
	movl	-28(%rbp), %eax
	movl	%eax, -32(%rbp)
	movl	-20(%rbp), %eax
	addl	%eax, -28(%rbp)
	movl	$1, -20(%rbp)
.L8:
	movl	-28(%rbp), %eax
	cmpl	-12(%rbp), %eax
	jle	.L10
	movl	-16(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movq	-8(%rbp), %rax
	movq	%rax, %rdi
	call	free@PLT
	movl	$0, %eax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.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:
