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>

int main(){
  int n,i;
  char s1[52],s2[52];
  long long int sum=0;
  scanf("%d",&n);
  scanf("%s",s1);
  scanf("%s",s2);
  if(s1[0]==s2[0]){
    sum=3;
    i=1;
  }
  else{
    sum=6;
    i=2;
  }
  for(;i<n;i++){
    if(s1[i]==s2[i]&&s1[i-1]==s2[i-1])
      sum*=2;
    else if(s1[i]!=s2[i]&&s1[i-1]!=s2[i-1]){
      sum*=3;
      i++;
    }
    else if(s1[i]!=s2[i]&&s1[i-1]==s2[i-1]){
      sum*=2;
      i++;
    }
  }
  printf("%lld\n",sum%1000000007);
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"%s"
.LC2:
	.string	"%lld\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	$144, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movq	$0, -136(%rbp)
	leaq	-144(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	leaq	-128(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	leaq	-64(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movzbl	-128(%rbp), %edx
	movzbl	-64(%rbp), %eax
	cmpb	%al, %dl
	jne	.L2
	movq	$3, -136(%rbp)
	movl	$1, -140(%rbp)
	jmp	.L4
.L2:
	movq	$6, -136(%rbp)
	movl	$2, -140(%rbp)
	jmp	.L4
.L8:
	movl	-140(%rbp), %eax
	cltq
	movzbl	-128(%rbp,%rax), %edx
	movl	-140(%rbp), %eax
	cltq
	movzbl	-64(%rbp,%rax), %eax
	cmpb	%al, %dl
	jne	.L5
	movl	-140(%rbp), %eax
	subl	$1, %eax
	cltq
	movzbl	-128(%rbp,%rax), %edx
	movl	-140(%rbp), %eax
	subl	$1, %eax
	cltq
	movzbl	-64(%rbp,%rax), %eax
	cmpb	%al, %dl
	jne	.L5
	salq	-136(%rbp)
	jmp	.L6
.L5:
	movl	-140(%rbp), %eax
	cltq
	movzbl	-128(%rbp,%rax), %edx
	movl	-140(%rbp), %eax
	cltq
	movzbl	-64(%rbp,%rax), %eax
	cmpb	%al, %dl
	je	.L7
	movl	-140(%rbp), %eax
	subl	$1, %eax
	cltq
	movzbl	-128(%rbp,%rax), %edx
	movl	-140(%rbp), %eax
	subl	$1, %eax
	cltq
	movzbl	-64(%rbp,%rax), %eax
	cmpb	%al, %dl
	je	.L7
	movq	-136(%rbp), %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	movq	%rax, -136(%rbp)
	addl	$1, -140(%rbp)
	jmp	.L6
.L7:
	movl	-140(%rbp), %eax
	cltq
	movzbl	-128(%rbp,%rax), %edx
	movl	-140(%rbp), %eax
	cltq
	movzbl	-64(%rbp,%rax), %eax
	cmpb	%al, %dl
	je	.L6
	movl	-140(%rbp), %eax
	subl	$1, %eax
	cltq
	movzbl	-128(%rbp,%rax), %edx
	movl	-140(%rbp), %eax
	subl	$1, %eax
	cltq
	movzbl	-64(%rbp,%rax), %eax
	cmpb	%al, %dl
	jne	.L6
	salq	-136(%rbp)
	addl	$1, -140(%rbp)
.L6:
	addl	$1, -140(%rbp)
.L4:
	movl	-144(%rbp), %eax
	cmpl	%eax, -140(%rbp)
	jl	.L8
	movq	-136(%rbp), %rcx
	movabsq	$-8543223828751151131, %rdx
	movq	%rcx, %rax
	imulq	%rdx
	leaq	(%rdx,%rcx), %rax
	sarq	$29, %rax
	movq	%rcx, %rdx
	sarq	$63, %rdx
	subq	%rdx, %rax
	imulq	$1000000007, %rax, %rdx
	movq	%rcx, %rax
	subq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L10
	call	__stack_chk_fail@PLT
.L10:
	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"
.LC1:
	.string	"%s"
.LC2:
	.string	"%lld\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	leaq	.LC0(%rip), %rdi
	leaq	.LC1(%rip), %rbp
	subq	$144, %rsp
	.cfi_def_cfa_offset 160
	movq	%fs:40, %rax
	movq	%rax, 136(%rsp)
	xorl	%eax, %eax
	leaq	12(%rsp), %rsi
	call	__isoc99_scanf@PLT
	leaq	16(%rsp), %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	xorl	%eax, %eax
	leaq	80(%rsp), %rsi
	movq	%rbp, %rdi
	call	__isoc99_scanf@PLT
	movzbl	80(%rsp), %eax
	xorl	%ecx, %ecx
	cmpb	%al, 16(%rsp)
	setne	%al
	movl	12(%rsp), %r9d
	setne	%cl
	movzbl	%al, %eax
	leaq	3(%rcx,%rcx,2), %rcx
	addl	$1, %eax
	cmpl	%r9d, %eax
	jl	.L7
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L4:
	leaq	(%rcx,%rcx), %rax
	addq	%rax, %rcx
	cmpb	%dil, %r8b
	cmove	%rax, %rcx
	leal	1(%rsi), %eax
	cmpl	%eax, %r9d
	jle	.L3
.L7:
	leal	-1(%rax), %edx
	leal	1(%rax), %esi
	movslq	%edx, %rdx
	movzbl	16(%rsp,%rdx), %r8d
	movzbl	80(%rsp,%rdx), %edi
	movslq	%eax, %rdx
	movzbl	80(%rsp,%rdx), %r10d
	cmpb	%r10b, 16(%rsp,%rdx)
	jne	.L4
	movl	%eax, %esi
	movq	%rcx, %rax
	addq	%rcx, %rcx
	cmpb	%dil, %r8b
	cmovne	%rax, %rcx
	leal	1(%rsi), %eax
	cmpl	%eax, %r9d
	jg	.L7
.L3:
	movq	%rcx, %rax
	leaq	.LC2(%rip), %rsi
	movl	$1, %edi
	movabsq	$-8543223828751151131, %rdx
	mulq	%rdx
	shrq	$29, %rdx
	imulq	$1000000007, %rdx, %rax
	subq	%rax, %rcx
	xorl	%eax, %eax
	movq	%rcx, %rdx
	call	__printf_chk@PLT
	movq	136(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L14
	addq	$144, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	xorl	%eax, %eax
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
.L14:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.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"
.LC1:
	.string	"%s"
.LC2:
	.string	"%lld\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	leaq	.LC0(%rip), %rdi
	leaq	.LC1(%rip), %rbp
	subq	$144, %rsp
	.cfi_def_cfa_offset 160
	movq	%fs:40, %rax
	movq	%rax, 136(%rsp)
	xorl	%eax, %eax
	leaq	12(%rsp), %rsi
	call	__isoc99_scanf@PLT
	leaq	16(%rsp), %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	xorl	%eax, %eax
	leaq	80(%rsp), %rsi
	movq	%rbp, %rdi
	call	__isoc99_scanf@PLT
	movzbl	80(%rsp), %eax
	xorl	%ecx, %ecx
	cmpb	%al, 16(%rsp)
	setne	%al
	movl	12(%rsp), %r9d
	setne	%cl
	movzbl	%al, %eax
	leaq	3(%rcx,%rcx,2), %rcx
	addl	$1, %eax
	cmpl	%r9d, %eax
	jl	.L7
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L4:
	leaq	(%rcx,%rcx), %rax
	addq	%rax, %rcx
	cmpb	%dil, %r8b
	cmove	%rax, %rcx
	leal	1(%rsi), %eax
	cmpl	%eax, %r9d
	jle	.L3
.L7:
	leal	-1(%rax), %edx
	leal	1(%rax), %esi
	movslq	%edx, %rdx
	movzbl	16(%rsp,%rdx), %r8d
	movzbl	80(%rsp,%rdx), %edi
	movslq	%eax, %rdx
	movzbl	80(%rsp,%rdx), %r10d
	cmpb	%r10b, 16(%rsp,%rdx)
	jne	.L4
	movl	%eax, %esi
	movq	%rcx, %rax
	addq	%rcx, %rcx
	cmpb	%dil, %r8b
	cmovne	%rax, %rcx
	leal	1(%rsi), %eax
	cmpl	%eax, %r9d
	jg	.L7
.L3:
	movq	%rcx, %rax
	leaq	.LC2(%rip), %rsi
	movl	$1, %edi
	movabsq	$-8543223828751151131, %rdx
	mulq	%rdx
	shrq	$29, %rdx
	imulq	$1000000007, %rdx, %rax
	subq	%rax, %rcx
	xorl	%eax, %eax
	movq	%rcx, %rdx
	call	__printf_chk@PLT
	movq	136(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L14
	addq	$144, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	xorl	%eax, %eax
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
.L14:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.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>

int main(){
  int n,i;
  char s1[52],s2[52];
  long long int sum=0;
  scanf("%d",&n);
  scanf("%s",s1);
  scanf("%s",s2);
  if(s1[0]==s2[0]){
    sum=3;
    i=1;
  }
  else{
    sum=6;
    i=2;
  }
  for(;i<n;i++){
    if(s1[i]==s2[i]&&s1[i-1]==s2[i-1])
      sum*=2;
    else if(s1[i]!=s2[i]&&s1[i-1]!=s2[i-1]){
      sum*=3;
      i++;
    }
    else if(s1[i]!=s2[i]&&s1[i-1]==s2[i-1]){
      sum*=2;
      i++;
    }
  }
  printf("%lld\n",sum%1000000007);
}
1
[
[
 52
RvvttdWIyyPPQFFZZssffEEkkaSSDKqcibbeYrhAljCCGGJppHHn
RLLwwdWIxxNNQUUXXVVMMooCBaggDKqcimmeYrhAljOOTTJuuzzn
 3
aab
acc
 3
bab
bab
 3
aab
cbb
 3
aab
bbb
 3
aab
bcb
 3
aab
bdb
 52
nHHppJGGCCjlAhrYebbicqKDSSakkEEffssZZFFQPPyyIWdttvvR
nzzuuJTTOOjlAhrYemmicqKDggaBBooMMVVXXUUQNNxxIWdwwLLR
 3
baa
bbb

3
 958681902
 6
 12
 6
 6
 6
 6
 958681902
 6

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>

int main(){
  int n,i;
  char s1[52],s2[52];
  long long int sum=0;
  scanf("%d",&n);
  scanf("%s",s1);
  scanf("%s",s2);
  if(s1[0]==s2[0]){
    sum=3;
    i=1;
  }
  else{
    sum=6;
    i=2;
  }
  for(;i<n;i++){
    if(s1[i]==s2[i]&&s1[i-1]==s2[i-1])
      sum*=2;
    else if(s1[i]!=s2[i]&&s1[i-1]!=s2[i-1]){
      sum*=3;
      i++;
    }
    else if(s1[i]!=s2[i]&&s1[i-1]==s2[i-1]){
      sum*=2;
      i++;
    }
  }
  printf("%lld\n",sum%1000000007);
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"%s"
.LC2:
	.string	"%lld\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	$144, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movq	$0, -136(%rbp)
	leaq	-144(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	leaq	-128(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	leaq	-64(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movzbl	-128(%rbp), %edx
	movzbl	-64(%rbp), %eax
	cmpb	%al, %dl
	jne	.L2
	movq	$3, -136(%rbp)
	movl	$1, -140(%rbp)
	jmp	.L4
.L2:
	movq	$6, -136(%rbp)
	movl	$2, -140(%rbp)
	jmp	.L4
.L8:
	movl	-140(%rbp), %eax
	cltq
	movzbl	-128(%rbp,%rax), %edx
	movl	-140(%rbp), %eax
	cltq
	movzbl	-64(%rbp,%rax), %eax
	cmpb	%al, %dl
	jne	.L5
	movl	-140(%rbp), %eax
	subl	$1, %eax
	cltq
	movzbl	-128(%rbp,%rax), %edx
	movl	-140(%rbp), %eax
	subl	$1, %eax
	cltq
	movzbl	-64(%rbp,%rax), %eax
	cmpb	%al, %dl
	jne	.L5
	salq	-136(%rbp)
	jmp	.L6
.L5:
	movl	-140(%rbp), %eax
	cltq
	movzbl	-128(%rbp,%rax), %edx
	movl	-140(%rbp), %eax
	cltq
	movzbl	-64(%rbp,%rax), %eax
	cmpb	%al, %dl
	je	.L7
	movl	-140(%rbp), %eax
	subl	$1, %eax
	cltq
	movzbl	-128(%rbp,%rax), %edx
	movl	-140(%rbp), %eax
	subl	$1, %eax
	cltq
	movzbl	-64(%rbp,%rax), %eax
	cmpb	%al, %dl
	je	.L7
	movq	-136(%rbp), %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	movq	%rax, -136(%rbp)
	addl	$1, -140(%rbp)
	jmp	.L6
.L7:
	movl	-140(%rbp), %eax
	cltq
	movzbl	-128(%rbp,%rax), %edx
	movl	-140(%rbp), %eax
	cltq
	movzbl	-64(%rbp,%rax), %eax
	cmpb	%al, %dl
	je	.L6
	movl	-140(%rbp), %eax
	subl	$1, %eax
	cltq
	movzbl	-128(%rbp,%rax), %edx
	movl	-140(%rbp), %eax
	subl	$1, %eax
	cltq
	movzbl	-64(%rbp,%rax), %eax
	cmpb	%al, %dl
	jne	.L6
	salq	-136(%rbp)
	addl	$1, -140(%rbp)
.L6:
	addl	$1, -140(%rbp)
.L4:
	movl	-144(%rbp), %eax
	cmpl	%eax, -140(%rbp)
	jl	.L8
	movq	-136(%rbp), %rcx
	movabsq	$-8543223828751151131, %rdx
	movq	%rcx, %rax
	imulq	%rdx
	leaq	(%rdx,%rcx), %rax
	sarq	$29, %rax
	movq	%rcx, %rdx
	sarq	$63, %rdx
	subq	%rdx, %rax
	imulq	$1000000007, %rax, %rdx
	movq	%rcx, %rax
	subq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L10
	call	__stack_chk_fail@PLT
.L10:
	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"
.LC1:
	.string	"%s"
.LC2:
	.string	"%lld\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	$144, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movq	$0, -136(%rbp)
	leaq	-144(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	leaq	-128(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	leaq	-64(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movzbl	-128(%rbp), %edx
	movzbl	-64(%rbp), %eax
	cmpb	%al, %dl
	jne	.L2
	movq	$3, -136(%rbp)
	movl	$1, -140(%rbp)
	jmp	.L4
.L2:
	movq	$6, -136(%rbp)
	movl	$2, -140(%rbp)
	jmp	.L4
.L8:
	movl	-140(%rbp), %eax
	cltq
	movzbl	-128(%rbp,%rax), %edx
	movl	-140(%rbp), %eax
	cltq
	movzbl	-64(%rbp,%rax), %eax
	cmpb	%al, %dl
	jne	.L5
	movl	-140(%rbp), %eax
	subl	$1, %eax
	cltq
	movzbl	-128(%rbp,%rax), %edx
	movl	-140(%rbp), %eax
	subl	$1, %eax
	cltq
	movzbl	-64(%rbp,%rax), %eax
	cmpb	%al, %dl
	jne	.L5
	salq	-136(%rbp)
	jmp	.L6
.L5:
	movl	-140(%rbp), %eax
	cltq
	movzbl	-128(%rbp,%rax), %edx
	movl	-140(%rbp), %eax
	cltq
	movzbl	-64(%rbp,%rax), %eax
	cmpb	%al, %dl
	je	.L7
	movl	-140(%rbp), %eax
	subl	$1, %eax
	cltq
	movzbl	-128(%rbp,%rax), %edx
	movl	-140(%rbp), %eax
	subl	$1, %eax
	cltq
	movzbl	-64(%rbp,%rax), %eax
	cmpb	%al, %dl
	je	.L7
	movq	-136(%rbp), %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	movq	%rax, -136(%rbp)
	addl	$1, -140(%rbp)
	jmp	.L6
.L7:
	movl	-140(%rbp), %eax
	cltq
	movzbl	-128(%rbp,%rax), %edx
	movl	-140(%rbp), %eax
	cltq
	movzbl	-64(%rbp,%rax), %eax
	cmpb	%al, %dl
	je	.L6
	movl	-140(%rbp), %eax
	subl	$1, %eax
	cltq
	movzbl	-128(%rbp,%rax), %edx
	movl	-140(%rbp), %eax
	subl	$1, %eax
	cltq
	movzbl	-64(%rbp,%rax), %eax
	cmpb	%al, %dl
	jne	.L6
	salq	-136(%rbp)
	addl	$1, -140(%rbp)
.L6:
	addl	$1, -140(%rbp)
.L4:
	movl	-144(%rbp), %eax
	cmpl	%eax, -140(%rbp)
	jl	.L8
	movq	-136(%rbp), %rcx
	movabsq	$-8543223828751151131, %rdx
	movq	%rcx, %rax
	imulq	%rdx
	leaq	(%rdx,%rcx), %rax
	sarq	$29, %rax
	movq	%rcx, %rdx
	sarq	$63, %rdx
	subq	%rdx, %rax
	imulq	$1000000007, %rax, %rdx
	movq	%rcx, %rax
	subq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L10
	call	__stack_chk_fail@PLT
.L10:
	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:
