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

```c
#include<stdio.h>
#include<string.h>
void search(char *p, char *t)
{
  int i;
  int M = strlen(p);
  int N = strlen(t);
   
  for (i = 0; i <= N - M; i++){
      int j;
      for (j = 0; j < M; j++){
        if (t[i+j] != p[j]) break;
      }
  
      if (j == M) printf("%d\n", i);
    }
}
   
int main()
{
  char t[1000];
  char p[1000];
  scanf("%s%s",t,p);
  search(p,t);
  return 0;
}```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d\n"
	.text
	.p2align 4
	.globl	search
	.type	search, @function
search:
.LFB35:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	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
	movq	%rdi, %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	movq	%rsi, %rbx
	subq	$8, %rsp
	.cfi_def_cfa_offset 64
	call	strlen@PLT
	movq	%rbx, %rdi
	movq	%rax, %r12
	movl	%eax, %r14d
	call	strlen@PLT
	movl	%eax, %r15d
	subl	%r12d, %r15d
	js	.L1
	subl	$1, %r12d
	xorl	%r13d, %r13d
	leaq	.LC0(%rip), %rcx
	addq	$2, %r12
	.p2align 4,,10
	.p2align 3
.L3:
	movl	$1, %eax
	xorl	%edx, %edx
	testl	%r14d, %r14d
	jg	.L5
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L11:
	movl	%eax, %edx
	addq	$1, %rax
	cmpq	%rax, %r12
	je	.L7
.L5:
	movzbl	-1(%rbp,%rax), %esi
	cmpb	%sil, -1(%rbx,%rax)
	je	.L11
.L4:
	addl	$1, %r13d
	addq	$1, %rbx
	cmpl	%r15d, %r13d
	jle	.L3
.L1:
	addq	$8, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	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
.L7:
	.cfi_restore_state
	cmpl	%edx, %r14d
	jne	.L4
	movl	%r13d, %edx
	movq	%rcx, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	addl	$1, %r13d
	addq	$1, %rbx
	leaq	.LC0(%rip), %rcx
	cmpl	%r15d, %r13d
	jle	.L3
	jmp	.L1
	.cfi_endproc
.LFE35:
	.size	search, .-search
	.section	.rodata.str1.1
.LC1:
	.string	"%s%s"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB36:
	.cfi_startproc
	endbr64
	pushq	%r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	leaq	.LC1(%rip), %rdi
	pushq	%rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	subq	$2024, %rsp
	.cfi_def_cfa_offset 2048
	movq	%fs:40, %rax
	movq	%rax, 2008(%rsp)
	xorl	%eax, %eax
	leaq	1008(%rsp), %rbp
	movq	%rsp, %r12
	movq	%r12, %rsi
	movq	%rbp, %rdx
	call	__isoc99_scanf@PLT
	movq	%r12, %rsi
	movq	%rbp, %rdi
	call	search
	movq	2008(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L15
	addq	$2024, %rsp
	.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
.L15:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.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:
```

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.
Optimized Assembly Code:

user
```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d\n"
	.text
	.p2align 4
	.globl	search
	.type	search, @function
search:
.LFB35:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	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
	movq	%rdi, %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	movq	%rsi, %rbx
	subq	$8, %rsp
	.cfi_def_cfa_offset 64
	call	strlen@PLT
	movq	%rbx, %rdi
	movq	%rax, %r12
	movl	%eax, %r14d
	call	strlen@PLT
	movl	%eax, %r15d
	subl	%r12d, %r15d
	js	.L1
	subl	$1, %r12d
	xorl	%r13d, %r13d
	leaq	.LC0(%rip), %rcx
	addq	$2, %r12
	.p2align 4,,10
	.p2align 3
.L3:
	movl	$1, %eax
	xorl	%edx, %edx
	testl	%r14d, %r14d
	jg	.L5
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L11:
	movl	%eax, %edx
	addq	$1, %rax
	cmpq	%rax, %r12
	je	.L7
.L5:
	movzbl	-1(%rbp,%rax), %esi
	cmpb	%sil, -1(%rbx,%rax)
	je	.L11
.L4:
	addl	$1, %r13d
	addq	$1, %rbx
	cmpl	%r15d, %r13d
	jle	.L3
.L1:
	addq	$8, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	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
.L7:
	.cfi_restore_state
	cmpl	%edx, %r14d
	jne	.L4
	movl	%r13d, %edx
	movq	%rcx, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	addl	$1, %r13d
	addq	$1, %rbx
	leaq	.LC0(%rip), %rcx
	cmpl	%r15d, %r13d
	jle	.L3
	jmp	.L1
	.cfi_endproc
.LFE35:
	.size	search, .-search
	.section	.rodata.str1.1
.LC1:
	.string	"%s%s"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB36:
	.cfi_startproc
	endbr64
	pushq	%r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	leaq	.LC1(%rip), %rdi
	pushq	%rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	subq	$2024, %rsp
	.cfi_def_cfa_offset 2048
	movq	%fs:40, %rax
	movq	%rax, 2008(%rsp)
	xorl	%eax, %eax
	leaq	1008(%rsp), %rbp
	movq	%rsp, %r12
	movq	%r12, %rsi
	movq	%rbp, %rdx
	call	__isoc99_scanf@PLT
	movq	%r12, %rsi
	movq	%rbp, %rdi
	call	search
	movq	2008(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L15
	addq	$2024, %rsp
	.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
.L15:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.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
```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d\n"
	.text
	.p2align 4
	.globl	search
	.type	search, @function
search:
.LFB35:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	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
	movq	%rdi, %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	movq	%rsi, %rbx
	subq	$8, %rsp
	.cfi_def_cfa_offset 64
	call	strlen@PLT
	movq	%rbx, %rdi
	movq	%rax, %r12
	movl	%eax, %r14d
	call	strlen@PLT
	movl	%eax, %r15d
	subl	%r12d, %r15d
	js	.L1
	subl	$1, %r12d
	xorl	%r13d, %r13d
	leaq	.LC0(%rip), %rcx
	addq	$2, %r12
	.p2align 4,,10
	.p2align 3
.L3:
	movl	$1, %eax
	xorl	%edx, %edx
	testl	%r14d, %r14d
	jg	.L5
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L11:
	movl	%eax, %edx
	addq	$1, %rax
	cmpq	%rax, %r12
	je	.L7
.L5:
	movzbl	-1(%rbp,%rax), %esi
	cmpb	%sil, -1(%rbx,%rax)
	je	.L11
.L4:
	addl	$1, %r13d
	addq	$1, %rbx
	cmpl	%r15d, %r13d
	jle	.L3
.L1:
	addq	$8, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	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
.L7:
	.cfi_restore_state
	cmpl	%edx, %r14d
	jne	.L4
	movl	%r13d, %edx
	movq	%rcx, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	addl	$1, %r13d
	addq	$1, %rbx
	leaq	.LC0(%rip), %rcx
	cmpl	%r15d, %r13d
	jle	.L3
	jmp	.L1
	.cfi_endproc
.LFE35:
	.size	search, .-search
	.section	.rodata.str1.1
.LC1:
	.string	"%s%s"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB36:
	.cfi_startproc
	endbr64
	pushq	%r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	leaq	.LC1(%rip), %rdi
	pushq	%rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	subq	$2024, %rsp
	.cfi_def_cfa_offset 2048
	movq	%fs:40, %rax
	movq	%rax, 2008(%rsp)
	xorl	%eax, %eax
	leaq	1008(%rsp), %rbp
	movq	%rsp, %r12
	movq	%r12, %rsi
	movq	%rbp, %rdx
	call	__isoc99_scanf@PLT
	movq	%r12, %rsi
	movq	%rbp, %rdi
	call	search
	movq	2008(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L15
	addq	$2024, %rsp
	.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
.L15:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.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:
```
```c
#include<stdio.h>
#include<string.h>
void search(char *p, char *t)
{
  int i;
  int M = strlen(p);
  int N = strlen(t);
   
  for (i = 0; i <= N - M; i++){
      int j;
      for (j = 0; j < M; j++){
        if (t[i+j] != p[j]) break;
      }
  
      if (j == M) printf("%d\n", i);
    }
}
   
int main()
{
  char t[1000];
  char p[1000];
  scanf("%s%s",t,p);
  search(p,t);
  return 0;
}```
Given the following C code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
#include<stdio.h>
#include<string.h>
void search(char *p, char *t)
{
  int i;
  int M = strlen(p);
  int N = strlen(t);
   
  for (i = 0; i <= N - M; i++){
      int j;
      for (j = 0; j < M; j++){
        if (t[i+j] != p[j]) break;
      }
  
      if (j == M) printf("%d\n", i);
    }
}
   
int main()
{
  char t[1000];
  char p[1000];
  scanf("%s%s",t,p);
  search(p,t);
  return 0;
}```

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.
Optimized Assembly Code:

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 assembly code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
#include<stdio.h>
#include<string.h>
void search(char *p, char *t)
{
  int i;
  int M = strlen(p);
  int N = strlen(t);
   
  for (i = 0; i <= N - M; i++){
      int j;
      for (j = 0; j < M; j++){
        if (t[i+j] != p[j]) break;
      }
  
      if (j == M) printf("%d\n", i);
    }
}
   
int main()
{
  char t[1000];
  char p[1000];
  scanf("%s%s",t,p);
  search(p,t);
  return 0;
}```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d\n"
	.text
	.p2align 4
	.globl	search
	.type	search, @function
search:
.LFB35:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	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
	movq	%rdi, %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	movq	%rsi, %rbx
	subq	$8, %rsp
	.cfi_def_cfa_offset 64
	call	strlen@PLT
	movq	%rbx, %rdi
	movq	%rax, %r12
	movl	%eax, %r14d
	call	strlen@PLT
	movl	%eax, %r15d
	subl	%r12d, %r15d
	js	.L1
	subl	$1, %r12d
	xorl	%r13d, %r13d
	leaq	.LC0(%rip), %rcx
	addq	$2, %r12
	.p2align 4,,10
	.p2align 3
.L3:
	movl	$1, %eax
	xorl	%edx, %edx
	testl	%r14d, %r14d
	jg	.L5
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L11:
	movl	%eax, %edx
	addq	$1, %rax
	cmpq	%rax, %r12
	je	.L7
.L5:
	movzbl	-1(%rbp,%rax), %esi
	cmpb	%sil, -1(%rbx,%rax)
	je	.L11
.L4:
	addl	$1, %r13d
	addq	$1, %rbx
	cmpl	%r15d, %r13d
	jle	.L3
.L1:
	addq	$8, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	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
.L7:
	.cfi_restore_state
	cmpl	%edx, %r14d
	jne	.L4
	movl	%r13d, %edx
	movq	%rcx, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	addl	$1, %r13d
	addq	$1, %rbx
	leaq	.LC0(%rip), %rcx
	cmpl	%r15d, %r13d
	jle	.L3
	jmp	.L1
	.cfi_endproc
.LFE35:
	.size	search, .-search
	.section	.rodata.str1.1
.LC1:
	.string	"%s%s"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB36:
	.cfi_startproc
	endbr64
	pushq	%r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	leaq	.LC1(%rip), %rdi
	pushq	%rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	subq	$2024, %rsp
	.cfi_def_cfa_offset 2048
	movq	%fs:40, %rax
	movq	%rax, 2008(%rsp)
	xorl	%eax, %eax
	leaq	1008(%rsp), %rbp
	movq	%rsp, %r12
	movq	%r12, %rsi
	movq	%rbp, %rdx
	call	__isoc99_scanf@PLT
	movq	%r12, %rsi
	movq	%rbp, %rdi
	call	search
	movq	2008(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L15
	addq	$2024, %rsp
	.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
.L15:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.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:
```

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.
Optimized Assembly Code:

train
```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d\n"
	.text
	.p2align 4
	.globl	search
	.type	search, @function
search:
.LFB35:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	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
	movq	%rdi, %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	movq	%rsi, %rbx
	subq	$8, %rsp
	.cfi_def_cfa_offset 64
	call	strlen@PLT
	movq	%rbx, %rdi
	movq	%rax, %r12
	movl	%eax, %r14d
	call	strlen@PLT
	movl	%eax, %r15d
	subl	%r12d, %r15d
	js	.L1
	subl	$1, %r12d
	xorl	%r13d, %r13d
	leaq	.LC0(%rip), %rcx
	addq	$2, %r12
	.p2align 4,,10
	.p2align 3
.L3:
	movl	$1, %eax
	xorl	%edx, %edx
	testl	%r14d, %r14d
	jg	.L5
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L11:
	movl	%eax, %edx
	addq	$1, %rax
	cmpq	%rax, %r12
	je	.L7
.L5:
	movzbl	-1(%rbp,%rax), %esi
	cmpb	%sil, -1(%rbx,%rax)
	je	.L11
.L4:
	addl	$1, %r13d
	addq	$1, %rbx
	cmpl	%r15d, %r13d
	jle	.L3
.L1:
	addq	$8, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	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
.L7:
	.cfi_restore_state
	cmpl	%edx, %r14d
	jne	.L4
	movl	%r13d, %edx
	movq	%rcx, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	addl	$1, %r13d
	addq	$1, %rbx
	leaq	.LC0(%rip), %rcx
	cmpl	%r15d, %r13d
	jle	.L3
	jmp	.L1
	.cfi_endproc
.LFE35:
	.size	search, .-search
	.section	.rodata.str1.1
.LC1:
	.string	"%s%s"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB36:
	.cfi_startproc
	endbr64
	pushq	%r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	leaq	.LC1(%rip), %rdi
	pushq	%rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	subq	$2024, %rsp
	.cfi_def_cfa_offset 2048
	movq	%fs:40, %rax
	movq	%rax, 2008(%rsp)
	xorl	%eax, %eax
	leaq	1008(%rsp), %rbp
	movq	%rsp, %r12
	movq	%r12, %rsi
	movq	%rbp, %rdx
	call	__isoc99_scanf@PLT
	movq	%r12, %rsi
	movq	%rbp, %rdi
	call	search
	movq	2008(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L15
	addq	$2024, %rsp
	.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
.L15:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.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:
```