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()
{
  int i, j;
  char t[1003], p[1003];
  fgets(t, 1002, stdin);
  fgets(p, 1002, stdin);

  if (p[strlen(p)-1]=='\n') p[strlen(p)-1]='\0';

  int n = strlen(t)-1;
  int m = strlen(p);
  int qt[128];
  for (int i=0; i<128; i++) qt[i] = m+1;
  for (int i=0; i<m; i++) {
    qt[(int)p[i]] = m-i;
  }

  i=0;
  while (i<=n-m) {
    for (j=0; j<m; j++) {
      if (t[i+j] != p[j]) break;
    }
    if (j==m)
      printf("%d\n", i);

    i += qt[(int)t[i+m]];
  }
  return 0;
}

```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d\n"
	.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	$2576, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movq	stdin(%rip), %rdx
	leaq	-2032(%rbp), %rax
	movl	$1002, %esi
	movq	%rax, %rdi
	call	fgets@PLT
	movq	stdin(%rip), %rdx
	leaq	-1024(%rbp), %rax
	movl	$1002, %esi
	movq	%rax, %rdi
	call	fgets@PLT
	leaq	-1024(%rbp), %rax
	movq	%rax, %rdi
	call	strlen@PLT
	subq	$1, %rax
	movzbl	-1024(%rbp,%rax), %eax
	cmpb	$10, %al
	jne	.L2
	leaq	-1024(%rbp), %rax
	movq	%rax, %rdi
	call	strlen@PLT
	subq	$1, %rax
	movb	$0, -1024(%rbp,%rax)
.L2:
	leaq	-2032(%rbp), %rax
	movq	%rax, %rdi
	call	strlen@PLT
	subl	$1, %eax
	movl	%eax, -2552(%rbp)
	leaq	-1024(%rbp), %rax
	movq	%rax, %rdi
	call	strlen@PLT
	movl	%eax, -2548(%rbp)
	movl	$0, -2560(%rbp)
	jmp	.L3
.L4:
	movl	-2548(%rbp), %eax
	leal	1(%rax), %edx
	movl	-2560(%rbp), %eax
	cltq
	movl	%edx, -2544(%rbp,%rax,4)
	addl	$1, -2560(%rbp)
.L3:
	cmpl	$127, -2560(%rbp)
	jle	.L4
	movl	$0, -2556(%rbp)
	jmp	.L5
.L6:
	movl	-2556(%rbp), %eax
	cltq
	movzbl	-1024(%rbp,%rax), %eax
	movsbl	%al, %ecx
	movl	-2548(%rbp), %eax
	subl	-2556(%rbp), %eax
	movl	%eax, %edx
	movslq	%ecx, %rax
	movl	%edx, -2544(%rbp,%rax,4)
	addl	$1, -2556(%rbp)
.L5:
	movl	-2556(%rbp), %eax
	cmpl	-2548(%rbp), %eax
	jl	.L6
	movl	$0, -2568(%rbp)
	jmp	.L7
.L13:
	movl	$0, -2564(%rbp)
	jmp	.L8
.L11:
	movl	-2568(%rbp), %edx
	movl	-2564(%rbp), %eax
	addl	%edx, %eax
	cltq
	movzbl	-2032(%rbp,%rax), %edx
	movl	-2564(%rbp), %eax
	cltq
	movzbl	-1024(%rbp,%rax), %eax
	cmpb	%al, %dl
	jne	.L16
	addl	$1, -2564(%rbp)
.L8:
	movl	-2564(%rbp), %eax
	cmpl	-2548(%rbp), %eax
	jl	.L11
	jmp	.L10
.L16:
	nop
.L10:
	movl	-2564(%rbp), %eax
	cmpl	-2548(%rbp), %eax
	jne	.L12
	movl	-2568(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
.L12:
	movl	-2568(%rbp), %edx
	movl	-2548(%rbp), %eax
	addl	%edx, %eax
	cltq
	movzbl	-2032(%rbp,%rax), %eax
	movsbl	%al, %eax
	cltq
	movl	-2544(%rbp,%rax,4), %eax
	addl	%eax, -2568(%rbp)
.L7:
	movl	-2552(%rbp), %eax
	subl	-2548(%rbp), %eax
	cmpl	%eax, -2568(%rbp)
	jle	.L13
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L15
	call	__stack_chk_fail@PLT
.L15:
	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	"%d\n"
	.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
	movl	$1002, %esi
	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	$2552, %rsp
	.cfi_def_cfa_offset 2608
	movq	stdin(%rip), %rdx
	leaq	512(%rsp), %r13
	leaq	1520(%rsp), %rbp
	movq	%fs:40, %rax
	movq	%rax, 2536(%rsp)
	xorl	%eax, %eax
	movq	%r13, %rdi
	call	fgets@PLT
	movq	stdin(%rip), %rdx
	movl	$1002, %esi
	movq	%rbp, %rdi
	call	fgets@PLT
	movq	%rbp, %rdi
	call	strlen@PLT
	cmpb	$10, 1519(%rsp,%rax)
	jne	.L2
	movb	$0, 1519(%rsp,%rax)
.L2:
	movq	%r13, %rdi
	leaq	512(%rsp), %r13
	call	strlen@PLT
	movq	%rbp, %rdi
	leal	-1(%rax), %r14d
	call	strlen@PLT
	movq	%rax, %rbx
	movl	%eax, %r15d
	leal	1(%rax), %eax
	movd	%eax, %xmm0
	movq	%rsp, %rax
	pshufd	$0, %xmm0, %xmm0
	.p2align 4,,10
	.p2align 3
.L3:
	movaps	%xmm0, (%rax)
	addq	$16, %rax
	cmpq	%r13, %rax
	jne	.L3
	testq	%rbx, %rbx
	je	.L8
	leal	-1(%rbx), %edx
	movq	%rbp, %rax
	leal	(%rbx,%rbp), %esi
	leaq	1521(%rsp,%rdx), %rdi
	.p2align 4,,10
	.p2align 3
.L7:
	movsbq	(%rax), %rdx
	movl	%esi, %ecx
	subl	%eax, %ecx
	addq	$1, %rax
	movl	%ecx, (%rsp,%rdx,4)
	cmpq	%rdi, %rax
	jne	.L7
.L8:
	xorl	%r12d, %r12d
	leaq	.LC0(%rip), %rsi
	subl	%ebx, %r14d
	js	.L6
	.p2align 4,,10
	.p2align 3
.L5:
	movslq	%r12d, %rcx
	xorl	%eax, %eax
	addq	%r13, %rcx
	testq	%rbx, %rbx
	jne	.L10
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L24:
	leal	1(%rax), %edx
	addq	$1, %rax
	cmpq	%rax, %rbx
	je	.L9
.L10:
	movzbl	0(%rbp,%rax), %edi
	movl	%eax, %edx
	cmpb	%dil, (%rcx,%rax)
	je	.L24
.L9:
	cmpl	%edx, %r15d
	je	.L13
	leal	(%r15,%r12), %eax
	cltq
	movsbq	512(%rsp,%rax), %rax
	addl	(%rsp,%rax,4), %r12d
	cmpl	%r12d, %r14d
	jge	.L5
.L6:
	movq	2536(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L25
	addq	$2552, %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
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	movl	%r12d, %edx
	xorl	%eax, %eax
	movl	$1, %edi
	call	__printf_chk@PLT
	leal	(%r15,%r12), %eax
	leaq	.LC0(%rip), %rsi
	cltq
	movsbq	512(%rsp,%rax), %rax
	addl	(%rsp,%rax,4), %r12d
	cmpl	%r14d, %r12d
	jle	.L5
	jmp	.L6
.L25:
	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
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d\n"
	.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
	movl	$1002, %esi
	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	$2552, %rsp
	.cfi_def_cfa_offset 2608
	movq	stdin(%rip), %rdx
	leaq	512(%rsp), %r13
	leaq	1520(%rsp), %rbp
	movq	%fs:40, %rax
	movq	%rax, 2536(%rsp)
	xorl	%eax, %eax
	movq	%r13, %rdi
	call	fgets@PLT
	movq	stdin(%rip), %rdx
	movl	$1002, %esi
	movq	%rbp, %rdi
	call	fgets@PLT
	movq	%rbp, %rdi
	call	strlen@PLT
	cmpb	$10, 1519(%rsp,%rax)
	jne	.L2
	movb	$0, 1519(%rsp,%rax)
.L2:
	movq	%r13, %rdi
	leaq	512(%rsp), %r13
	call	strlen@PLT
	movq	%rbp, %rdi
	leal	-1(%rax), %r14d
	call	strlen@PLT
	movq	%rax, %rbx
	movl	%eax, %r15d
	leal	1(%rax), %eax
	movd	%eax, %xmm0
	movq	%rsp, %rax
	pshufd	$0, %xmm0, %xmm0
	.p2align 4,,10
	.p2align 3
.L3:
	movaps	%xmm0, (%rax)
	addq	$16, %rax
	cmpq	%r13, %rax
	jne	.L3
	testq	%rbx, %rbx
	je	.L8
	leal	-1(%rbx), %edx
	movq	%rbp, %rax
	leal	(%rbx,%rbp), %esi
	leaq	1521(%rsp,%rdx), %rdi
	.p2align 4,,10
	.p2align 3
.L7:
	movsbq	(%rax), %rdx
	movl	%esi, %ecx
	subl	%eax, %ecx
	addq	$1, %rax
	movl	%ecx, (%rsp,%rdx,4)
	cmpq	%rdi, %rax
	jne	.L7
.L8:
	xorl	%r12d, %r12d
	leaq	.LC0(%rip), %rsi
	subl	%ebx, %r14d
	js	.L6
	.p2align 4,,10
	.p2align 3
.L5:
	movslq	%r12d, %rcx
	xorl	%eax, %eax
	addq	%r13, %rcx
	testq	%rbx, %rbx
	jne	.L10
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L24:
	leal	1(%rax), %edx
	addq	$1, %rax
	cmpq	%rax, %rbx
	je	.L9
.L10:
	movzbl	0(%rbp,%rax), %edi
	movl	%eax, %edx
	cmpb	%dil, (%rcx,%rax)
	je	.L24
.L9:
	cmpl	%edx, %r15d
	je	.L13
	leal	(%r15,%r12), %eax
	cltq
	movsbq	512(%rsp,%rax), %rax
	addl	(%rsp,%rax,4), %r12d
	cmpl	%r12d, %r14d
	jge	.L5
.L6:
	movq	2536(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L25
	addq	$2552, %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
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	movl	%r12d, %edx
	xorl	%eax, %eax
	movl	$1, %edi
	call	__printf_chk@PLT
	leal	(%r15,%r12), %eax
	leaq	.LC0(%rip), %rsi
	cltq
	movsbq	512(%rsp,%rax), %rax
	addl	(%rsp,%rax,4), %r12d
	cmpl	%r14d, %r12d
	jle	.L5
	jmp	.L6
.L25:
	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:

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


int main()
{
  int i, j;
  char t[1003], p[1003];
  fgets(t, 1002, stdin);
  fgets(p, 1002, stdin);

  if (p[strlen(p)-1]=='\n') p[strlen(p)-1]='\0';

  int n = strlen(t)-1;
  int m = strlen(p);
  int qt[128];
  for (int i=0; i<128; i++) qt[i] = m+1;
  for (int i=0; i<m; i++) {
    qt[(int)p[i]] = m-i;
  }

  i=0;
  while (i<=n-m) {
    for (j=0; j<m; j++) {
      if (t[i+j] != p[j]) break;
    }
    if (j==m)
      printf("%d\n", i);

    i += qt[(int)t[i+m]];
  }
  return 0;
}


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


int main()
{
  int i, j;
  char t[1003], p[1003];
  fgets(t, 1002, stdin);
  fgets(p, 1002, stdin);

  if (p[strlen(p)-1]=='\n') p[strlen(p)-1]='\0';

  int n = strlen(t)-1;
  int m = strlen(p);
  int qt[128];
  for (int i=0; i<128; i++) qt[i] = m+1;
  for (int i=0; i<m; i++) {
    qt[(int)p[i]] = m-i;
  }

  i=0;
  while (i<=n-m) {
    for (j=0; j<m; j++) {
      if (t[i+j] != p[j]) break;
    }
    if (j==m)
      printf("%d\n", i);

    i += qt[(int)t[i+m]];
  }
  return 0;
}

```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d\n"
	.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	$2576, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movq	stdin(%rip), %rdx
	leaq	-2032(%rbp), %rax
	movl	$1002, %esi
	movq	%rax, %rdi
	call	fgets@PLT
	movq	stdin(%rip), %rdx
	leaq	-1024(%rbp), %rax
	movl	$1002, %esi
	movq	%rax, %rdi
	call	fgets@PLT
	leaq	-1024(%rbp), %rax
	movq	%rax, %rdi
	call	strlen@PLT
	subq	$1, %rax
	movzbl	-1024(%rbp,%rax), %eax
	cmpb	$10, %al
	jne	.L2
	leaq	-1024(%rbp), %rax
	movq	%rax, %rdi
	call	strlen@PLT
	subq	$1, %rax
	movb	$0, -1024(%rbp,%rax)
.L2:
	leaq	-2032(%rbp), %rax
	movq	%rax, %rdi
	call	strlen@PLT
	subl	$1, %eax
	movl	%eax, -2552(%rbp)
	leaq	-1024(%rbp), %rax
	movq	%rax, %rdi
	call	strlen@PLT
	movl	%eax, -2548(%rbp)
	movl	$0, -2560(%rbp)
	jmp	.L3
.L4:
	movl	-2548(%rbp), %eax
	leal	1(%rax), %edx
	movl	-2560(%rbp), %eax
	cltq
	movl	%edx, -2544(%rbp,%rax,4)
	addl	$1, -2560(%rbp)
.L3:
	cmpl	$127, -2560(%rbp)
	jle	.L4
	movl	$0, -2556(%rbp)
	jmp	.L5
.L6:
	movl	-2556(%rbp), %eax
	cltq
	movzbl	-1024(%rbp,%rax), %eax
	movsbl	%al, %ecx
	movl	-2548(%rbp), %eax
	subl	-2556(%rbp), %eax
	movl	%eax, %edx
	movslq	%ecx, %rax
	movl	%edx, -2544(%rbp,%rax,4)
	addl	$1, -2556(%rbp)
.L5:
	movl	-2556(%rbp), %eax
	cmpl	-2548(%rbp), %eax
	jl	.L6
	movl	$0, -2568(%rbp)
	jmp	.L7
.L13:
	movl	$0, -2564(%rbp)
	jmp	.L8
.L11:
	movl	-2568(%rbp), %edx
	movl	-2564(%rbp), %eax
	addl	%edx, %eax
	cltq
	movzbl	-2032(%rbp,%rax), %edx
	movl	-2564(%rbp), %eax
	cltq
	movzbl	-1024(%rbp,%rax), %eax
	cmpb	%al, %dl
	jne	.L16
	addl	$1, -2564(%rbp)
.L8:
	movl	-2564(%rbp), %eax
	cmpl	-2548(%rbp), %eax
	jl	.L11
	jmp	.L10
.L16:
	nop
.L10:
	movl	-2564(%rbp), %eax
	cmpl	-2548(%rbp), %eax
	jne	.L12
	movl	-2568(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
.L12:
	movl	-2568(%rbp), %edx
	movl	-2548(%rbp), %eax
	addl	%edx, %eax
	cltq
	movzbl	-2032(%rbp,%rax), %eax
	movsbl	%al, %eax
	cltq
	movl	-2544(%rbp,%rax,4), %eax
	addl	%eax, -2568(%rbp)
.L7:
	movl	-2552(%rbp), %eax
	subl	-2548(%rbp), %eax
	cmpl	%eax, -2568(%rbp)
	jle	.L13
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L15
	call	__stack_chk_fail@PLT
.L15:
	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	"%d\n"
	.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	$2576, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movq	stdin(%rip), %rdx
	leaq	-2032(%rbp), %rax
	movl	$1002, %esi
	movq	%rax, %rdi
	call	fgets@PLT
	movq	stdin(%rip), %rdx
	leaq	-1024(%rbp), %rax
	movl	$1002, %esi
	movq	%rax, %rdi
	call	fgets@PLT
	leaq	-1024(%rbp), %rax
	movq	%rax, %rdi
	call	strlen@PLT
	subq	$1, %rax
	movzbl	-1024(%rbp,%rax), %eax
	cmpb	$10, %al
	jne	.L2
	leaq	-1024(%rbp), %rax
	movq	%rax, %rdi
	call	strlen@PLT
	subq	$1, %rax
	movb	$0, -1024(%rbp,%rax)
.L2:
	leaq	-2032(%rbp), %rax
	movq	%rax, %rdi
	call	strlen@PLT
	subl	$1, %eax
	movl	%eax, -2552(%rbp)
	leaq	-1024(%rbp), %rax
	movq	%rax, %rdi
	call	strlen@PLT
	movl	%eax, -2548(%rbp)
	movl	$0, -2560(%rbp)
	jmp	.L3
.L4:
	movl	-2548(%rbp), %eax
	leal	1(%rax), %edx
	movl	-2560(%rbp), %eax
	cltq
	movl	%edx, -2544(%rbp,%rax,4)
	addl	$1, -2560(%rbp)
.L3:
	cmpl	$127, -2560(%rbp)
	jle	.L4
	movl	$0, -2556(%rbp)
	jmp	.L5
.L6:
	movl	-2556(%rbp), %eax
	cltq
	movzbl	-1024(%rbp,%rax), %eax
	movsbl	%al, %ecx
	movl	-2548(%rbp), %eax
	subl	-2556(%rbp), %eax
	movl	%eax, %edx
	movslq	%ecx, %rax
	movl	%edx, -2544(%rbp,%rax,4)
	addl	$1, -2556(%rbp)
.L5:
	movl	-2556(%rbp), %eax
	cmpl	-2548(%rbp), %eax
	jl	.L6
	movl	$0, -2568(%rbp)
	jmp	.L7
.L13:
	movl	$0, -2564(%rbp)
	jmp	.L8
.L11:
	movl	-2568(%rbp), %edx
	movl	-2564(%rbp), %eax
	addl	%edx, %eax
	cltq
	movzbl	-2032(%rbp,%rax), %edx
	movl	-2564(%rbp), %eax
	cltq
	movzbl	-1024(%rbp,%rax), %eax
	cmpb	%al, %dl
	jne	.L16
	addl	$1, -2564(%rbp)
.L8:
	movl	-2564(%rbp), %eax
	cmpl	-2548(%rbp), %eax
	jl	.L11
	jmp	.L10
.L16:
	nop
.L10:
	movl	-2564(%rbp), %eax
	cmpl	-2548(%rbp), %eax
	jne	.L12
	movl	-2568(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
.L12:
	movl	-2568(%rbp), %edx
	movl	-2548(%rbp), %eax
	addl	%edx, %eax
	cltq
	movzbl	-2032(%rbp,%rax), %eax
	movsbl	%al, %eax
	cltq
	movl	-2544(%rbp,%rax,4), %eax
	addl	%eax, -2568(%rbp)
.L7:
	movl	-2552(%rbp), %eax
	subl	-2548(%rbp), %eax
	cmpl	%eax, -2568(%rbp)
	jle	.L13
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L15
	call	__stack_chk_fail@PLT
.L15:
	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:
