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 N;
char s[101];
char t[101];
int cmp(){
  int d=N;
  int flag=0;
  int i,j;
  for( i=N-1;i>=0;i--){
    flag=0;
    if(s[i]==t[0]){
      for(j=1;i+j<N;j++){
	if(s[i+j]!=t[j]){
	  //printf("not %c %c\n",s[i+j],t[j]);
	  flag=1;
	}
      }
    if(flag==0)d=i;
    }
    // printf("%d\n",d);
  }
  return d;
}
int main(){
  int len;
  scanf("%d",&N);
  scanf("%s %s",s,t);
  if(N==1){
    if(s[0]==t[0])printf("1\n");
    else printf("2\n");
    return 0;
  }
  len=cmp();
  printf("%d\n",len+N);
  
  return 0;
}
```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	N
	.bss
	.align 4
	.type	N, @object
	.size	N, 4
N:
	.zero	4
	.globl	s
	.align 32
	.type	s, @object
	.size	s, 101
s:
	.zero	101
	.globl	t
	.align 32
	.type	t, @object
	.size	t, 101
t:
	.zero	101
	.text
	.globl	cmp
	.type	cmp, @function
cmp:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movl	N(%rip), %eax
	movl	%eax, -16(%rbp)
	movl	$0, -12(%rbp)
	movl	N(%rip), %eax
	subl	$1, %eax
	movl	%eax, -8(%rbp)
	jmp	.L2
.L7:
	movl	$0, -12(%rbp)
	movl	-8(%rbp), %eax
	cltq
	leaq	s(%rip), %rdx
	movzbl	(%rax,%rdx), %edx
	movzbl	t(%rip), %eax
	cmpb	%al, %dl
	jne	.L3
	movl	$1, -4(%rbp)
	jmp	.L4
.L6:
	movl	-8(%rbp), %edx
	movl	-4(%rbp), %eax
	addl	%edx, %eax
	cltq
	leaq	s(%rip), %rdx
	movzbl	(%rax,%rdx), %edx
	movl	-4(%rbp), %eax
	cltq
	leaq	t(%rip), %rcx
	movzbl	(%rax,%rcx), %eax
	cmpb	%al, %dl
	je	.L5
	movl	$1, -12(%rbp)
.L5:
	addl	$1, -4(%rbp)
.L4:
	movl	-8(%rbp), %edx
	movl	-4(%rbp), %eax
	addl	%eax, %edx
	movl	N(%rip), %eax
	cmpl	%eax, %edx
	jl	.L6
	cmpl	$0, -12(%rbp)
	jne	.L3
	movl	-8(%rbp), %eax
	movl	%eax, -16(%rbp)
.L3:
	subl	$1, -8(%rbp)
.L2:
	cmpl	$0, -8(%rbp)
	jns	.L7
	movl	-16(%rbp), %eax
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	cmp, .-cmp
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"%s %s"
.LC2:
	.string	"1"
.LC3:
	.string	"2"
.LC4:
	.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	$16, %rsp
	leaq	N(%rip), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	leaq	t(%rip), %rax
	movq	%rax, %rdx
	leaq	s(%rip), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	N(%rip), %eax
	cmpl	$1, %eax
	jne	.L10
	movzbl	s(%rip), %edx
	movzbl	t(%rip), %eax
	cmpb	%al, %dl
	jne	.L11
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	jmp	.L12
.L11:
	leaq	.LC3(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
.L12:
	movl	$0, %eax
	jmp	.L13
.L10:
	movl	$0, %eax
	call	cmp
	movl	%eax, -4(%rbp)
	movl	N(%rip), %edx
	movl	-4(%rbp), %eax
	addl	%edx, %eax
	movl	%eax, %esi
	leaq	.LC4(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
.L13:
	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	cmp
	.type	cmp, @function
cmp:
.LFB35:
	.cfi_startproc
	endbr64
	movl	N(%rip), %r8d
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	movl	%r8d, %edx
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	subl	$1, %edx
	js	.L7
	movzbl	t(%rip), %ebx
	movslq	%edx, %rdx
	movl	%r8d, %esi
	movl	%r8d, %r12d
	leaq	s(%rip), %rdi
	leaq	t(%rip), %rbp
	movl	$1, %r10d
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L3:
	subq	$1, %rdx
	subl	$1, %esi
	testl	%edx, %edx
	js	.L1
.L6:
	movl	%edx, %r11d
	cmpb	%bl, (%rdi,%rdx)
	jne	.L3
	cmpl	%esi, %r8d
	jle	.L8
	movq	%rbp, %r9
	movslq	%esi, %rax
	xorl	%ecx, %ecx
	subq	%rdx, %r9
	.p2align 4,,10
	.p2align 3
.L5:
	movzbl	(%r9,%rax), %r14d
	cmpb	%r14b, (%rdi,%rax)
	cmovne	%r10d, %ecx
	addq	$1, %rax
	cmpl	%eax, %r8d
	jg	.L5
	testl	%ecx, %ecx
	cmove	%r11d, %r12d
	subq	$1, %rdx
	subl	$1, %esi
	testl	%edx, %edx
	jns	.L6
.L1:
	popq	%rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	movl	%r12d, %eax
	popq	%rbp
	.cfi_def_cfa_offset 24
	popq	%r12
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	movl	%edx, %r12d
	jmp	.L3
.L7:
	movl	%r8d, %r12d
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%rbp
	.cfi_def_cfa_offset 24
	movl	%r12d, %eax
	popq	%r12
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE35:
	.size	cmp, .-cmp
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"%s %s"
.LC2:
	.string	"1"
.LC3:
	.string	"2"
.LC4:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB36:
	.cfi_startproc
	endbr64
	pushq	%rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	leaq	N(%rip), %rsi
	leaq	.LC0(%rip), %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	leaq	t(%rip), %rdx
	leaq	s(%rip), %rsi
	xorl	%eax, %eax
	leaq	.LC1(%rip), %rdi
	call	__isoc99_scanf@PLT
	movl	N(%rip), %ebx
	cmpl	$1, %ebx
	je	.L19
	xorl	%eax, %eax
	call	cmp
	leaq	.LC4(%rip), %rsi
	movl	$1, %edi
	leal	(%rbx,%rax), %edx
	xorl	%eax, %eax
	call	__printf_chk@PLT
.L17:
	xorl	%eax, %eax
	popq	%rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L19:
	.cfi_restore_state
	movzbl	t(%rip), %eax
	cmpb	%al, s(%rip)
	je	.L20
	leaq	.LC3(%rip), %rdi
	call	puts@PLT
	jmp	.L17
.L20:
	leaq	.LC2(%rip), %rdi
	call	puts@PLT
	jmp	.L17
	.cfi_endproc
.LFE36:
	.size	main, .-main
	.globl	t
	.bss
	.align 32
	.type	t, @object
	.size	t, 101
t:
	.zero	101
	.globl	s
	.align 32
	.type	s, @object
	.size	s, 101
s:
	.zero	101
	.globl	N
	.align 4
	.type	N, @object
	.size	N, 4
N:
	.zero	4
	.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	cmp
	.type	cmp, @function
cmp:
.LFB35:
	.cfi_startproc
	endbr64
	movl	N(%rip), %r8d
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	movl	%r8d, %edx
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	subl	$1, %edx
	js	.L7
	movzbl	t(%rip), %ebx
	movslq	%edx, %rdx
	movl	%r8d, %esi
	movl	%r8d, %r12d
	leaq	s(%rip), %rdi
	leaq	t(%rip), %rbp
	movl	$1, %r10d
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L3:
	subq	$1, %rdx
	subl	$1, %esi
	testl	%edx, %edx
	js	.L1
.L6:
	movl	%edx, %r11d
	cmpb	%bl, (%rdi,%rdx)
	jne	.L3
	cmpl	%esi, %r8d
	jle	.L8
	movq	%rbp, %r9
	movslq	%esi, %rax
	xorl	%ecx, %ecx
	subq	%rdx, %r9
	.p2align 4,,10
	.p2align 3
.L5:
	movzbl	(%r9,%rax), %r14d
	cmpb	%r14b, (%rdi,%rax)
	cmovne	%r10d, %ecx
	addq	$1, %rax
	cmpl	%eax, %r8d
	jg	.L5
	testl	%ecx, %ecx
	cmove	%r11d, %r12d
	subq	$1, %rdx
	subl	$1, %esi
	testl	%edx, %edx
	jns	.L6
.L1:
	popq	%rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	movl	%r12d, %eax
	popq	%rbp
	.cfi_def_cfa_offset 24
	popq	%r12
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	movl	%edx, %r12d
	jmp	.L3
.L7:
	movl	%r8d, %r12d
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%rbp
	.cfi_def_cfa_offset 24
	movl	%r12d, %eax
	popq	%r12
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE35:
	.size	cmp, .-cmp
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"%s %s"
.LC2:
	.string	"1"
.LC3:
	.string	"2"
.LC4:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB36:
	.cfi_startproc
	endbr64
	pushq	%rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	leaq	N(%rip), %rsi
	leaq	.LC0(%rip), %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	leaq	t(%rip), %rdx
	leaq	s(%rip), %rsi
	xorl	%eax, %eax
	leaq	.LC1(%rip), %rdi
	call	__isoc99_scanf@PLT
	movl	N(%rip), %ebx
	cmpl	$1, %ebx
	je	.L19
	xorl	%eax, %eax
	call	cmp
	leaq	.LC4(%rip), %rsi
	movl	$1, %edi
	leal	(%rbx,%rax), %edx
	xorl	%eax, %eax
	call	__printf_chk@PLT
.L17:
	xorl	%eax, %eax
	popq	%rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L19:
	.cfi_restore_state
	movzbl	t(%rip), %eax
	cmpb	%al, s(%rip)
	je	.L20
	leaq	.LC3(%rip), %rdi
	call	puts@PLT
	jmp	.L17
.L20:
	leaq	.LC2(%rip), %rdi
	call	puts@PLT
	jmp	.L17
	.cfi_endproc
.LFE36:
	.size	main, .-main
	.globl	t
	.bss
	.align 32
	.type	t, @object
	.size	t, 101
t:
	.zero	101
	.globl	s
	.align 32
	.type	s, @object
	.size	s, 101
s:
	.zero	101
	.globl	N
	.align 4
	.type	N, @object
	.size	N, 4
N:
	.zero	4
	.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 N;
char s[101];
char t[101];
int cmp(){
  int d=N;
  int flag=0;
  int i,j;
  for( i=N-1;i>=0;i--){
    flag=0;
    if(s[i]==t[0]){
      for(j=1;i+j<N;j++){
	if(s[i+j]!=t[j]){
	  //printf("not %c %c\n",s[i+j],t[j]);
	  flag=1;
	}
      }
    if(flag==0)d=i;
    }
    // printf("%d\n",d);
  }
  return d;
}
int main(){
  int len;
  scanf("%d",&N);
  scanf("%s %s",s,t);
  if(N==1){
    if(s[0]==t[0])printf("1\n");
    else printf("2\n");
    return 0;
  }
  len=cmp();
  printf("%d\n",len+N);
  
  return 0;
}

3
abc
cce
 1
a
{
 4
expr
expq
 3
cba
cec
 4
expr
rxep
 3
abc
cec
 1
`
z
 4
expr
epxq
 1
`
{
 4
expr
pexq

5
 2
 8
 6
 7
 5
 2
 8
 2
 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 N;
char s[101];
char t[101];
int cmp(){
  int d=N;
  int flag=0;
  int i,j;
  for( i=N-1;i>=0;i--){
    flag=0;
    if(s[i]==t[0]){
      for(j=1;i+j<N;j++){
	if(s[i+j]!=t[j]){
	  //printf("not %c %c\n",s[i+j],t[j]);
	  flag=1;
	}
      }
    if(flag==0)d=i;
    }
    // printf("%d\n",d);
  }
  return d;
}
int main(){
  int len;
  scanf("%d",&N);
  scanf("%s %s",s,t);
  if(N==1){
    if(s[0]==t[0])printf("1\n");
    else printf("2\n");
    return 0;
  }
  len=cmp();
  printf("%d\n",len+N);
  
  return 0;
}
```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	N
	.bss
	.align 4
	.type	N, @object
	.size	N, 4
N:
	.zero	4
	.globl	s
	.align 32
	.type	s, @object
	.size	s, 101
s:
	.zero	101
	.globl	t
	.align 32
	.type	t, @object
	.size	t, 101
t:
	.zero	101
	.text
	.globl	cmp
	.type	cmp, @function
cmp:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movl	N(%rip), %eax
	movl	%eax, -16(%rbp)
	movl	$0, -12(%rbp)
	movl	N(%rip), %eax
	subl	$1, %eax
	movl	%eax, -8(%rbp)
	jmp	.L2
.L7:
	movl	$0, -12(%rbp)
	movl	-8(%rbp), %eax
	cltq
	leaq	s(%rip), %rdx
	movzbl	(%rax,%rdx), %edx
	movzbl	t(%rip), %eax
	cmpb	%al, %dl
	jne	.L3
	movl	$1, -4(%rbp)
	jmp	.L4
.L6:
	movl	-8(%rbp), %edx
	movl	-4(%rbp), %eax
	addl	%edx, %eax
	cltq
	leaq	s(%rip), %rdx
	movzbl	(%rax,%rdx), %edx
	movl	-4(%rbp), %eax
	cltq
	leaq	t(%rip), %rcx
	movzbl	(%rax,%rcx), %eax
	cmpb	%al, %dl
	je	.L5
	movl	$1, -12(%rbp)
.L5:
	addl	$1, -4(%rbp)
.L4:
	movl	-8(%rbp), %edx
	movl	-4(%rbp), %eax
	addl	%eax, %edx
	movl	N(%rip), %eax
	cmpl	%eax, %edx
	jl	.L6
	cmpl	$0, -12(%rbp)
	jne	.L3
	movl	-8(%rbp), %eax
	movl	%eax, -16(%rbp)
.L3:
	subl	$1, -8(%rbp)
.L2:
	cmpl	$0, -8(%rbp)
	jns	.L7
	movl	-16(%rbp), %eax
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	cmp, .-cmp
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"%s %s"
.LC2:
	.string	"1"
.LC3:
	.string	"2"
.LC4:
	.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	$16, %rsp
	leaq	N(%rip), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	leaq	t(%rip), %rax
	movq	%rax, %rdx
	leaq	s(%rip), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	N(%rip), %eax
	cmpl	$1, %eax
	jne	.L10
	movzbl	s(%rip), %edx
	movzbl	t(%rip), %eax
	cmpb	%al, %dl
	jne	.L11
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	jmp	.L12
.L11:
	leaq	.LC3(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
.L12:
	movl	$0, %eax
	jmp	.L13
.L10:
	movl	$0, %eax
	call	cmp
	movl	%eax, -4(%rbp)
	movl	N(%rip), %edx
	movl	-4(%rbp), %eax
	addl	%edx, %eax
	movl	%eax, %esi
	leaq	.LC4(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
.L13:
	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	N
	.bss
	.align 4
	.type	N, @object
	.size	N, 4
N:
	.zero	4
	.globl	s
	.align 32
	.type	s, @object
	.size	s, 101
s:
	.zero	101
	.globl	t
	.align 32
	.type	t, @object
	.size	t, 101
t:
	.zero	101
	.text
	.globl	cmp
	.type	cmp, @function
cmp:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movl	N(%rip), %eax
	movl	%eax, -16(%rbp)
	movl	$0, -12(%rbp)
	movl	N(%rip), %eax
	subl	$1, %eax
	movl	%eax, -8(%rbp)
	jmp	.L2
.L7:
	movl	$0, -12(%rbp)
	movl	-8(%rbp), %eax
	cltq
	leaq	s(%rip), %rdx
	movzbl	(%rax,%rdx), %edx
	movzbl	t(%rip), %eax
	cmpb	%al, %dl
	jne	.L3
	movl	$1, -4(%rbp)
	jmp	.L4
.L6:
	movl	-8(%rbp), %edx
	movl	-4(%rbp), %eax
	addl	%edx, %eax
	cltq
	leaq	s(%rip), %rdx
	movzbl	(%rax,%rdx), %edx
	movl	-4(%rbp), %eax
	cltq
	leaq	t(%rip), %rcx
	movzbl	(%rax,%rcx), %eax
	cmpb	%al, %dl
	je	.L5
	movl	$1, -12(%rbp)
.L5:
	addl	$1, -4(%rbp)
.L4:
	movl	-8(%rbp), %edx
	movl	-4(%rbp), %eax
	addl	%eax, %edx
	movl	N(%rip), %eax
	cmpl	%eax, %edx
	jl	.L6
	cmpl	$0, -12(%rbp)
	jne	.L3
	movl	-8(%rbp), %eax
	movl	%eax, -16(%rbp)
.L3:
	subl	$1, -8(%rbp)
.L2:
	cmpl	$0, -8(%rbp)
	jns	.L7
	movl	-16(%rbp), %eax
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	cmp, .-cmp
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"%s %s"
.LC2:
	.string	"1"
.LC3:
	.string	"2"
.LC4:
	.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	$16, %rsp
	leaq	N(%rip), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	leaq	t(%rip), %rax
	movq	%rax, %rdx
	leaq	s(%rip), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	N(%rip), %eax
	cmpl	$1, %eax
	jne	.L10
	movzbl	s(%rip), %edx
	movzbl	t(%rip), %eax
	cmpb	%al, %dl
	jne	.L11
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	jmp	.L12
.L11:
	leaq	.LC3(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
.L12:
	movl	$0, %eax
	jmp	.L13
.L10:
	movl	$0, %eax
	call	cmp
	movl	%eax, -4(%rbp)
	movl	N(%rip), %edx
	movl	-4(%rbp), %eax
	addl	%edx, %eax
	movl	%eax, %esi
	leaq	.LC4(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
.L13:
	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:
