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 <math.h>
 
int main(void)
{
  long int i, j, k, a, b=0, g=0, r=0, result = 0;
  char n[4001];
  
  scanf("%ld", &a);
  scanf("%s", n);
  for( i = 0; i < a; i++ ){
    if( n[i] == 'B' ) b++;
    if( n[i] == 'G' ) g++;
    if( n[i] == 'R' ) r++;
  }
  
  result = b*g*r;
  
  for( i = 0; i < a; i++ ){
    for( j = i+1; j < a; j++ ){
      k = (2*j)-i;    
        if( k < a && n[i] != n[j] && n[j] != n[k] && n[k] != n[i] ){
          result--; 
      }       
    }         
  }
  
  printf("%ld\n", result);
  return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%ld"
.LC1:
	.string	"%s"
.LC2:
	.string	"%ld\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	$4080, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movq	$0, -4056(%rbp)
	movq	$0, -4048(%rbp)
	movq	$0, -4040(%rbp)
	movq	$0, -4032(%rbp)
	leaq	-4080(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	leaq	-4016(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movq	$0, -4072(%rbp)
	jmp	.L2
.L6:
	leaq	-4016(%rbp), %rdx
	movq	-4072(%rbp), %rax
	addq	%rdx, %rax
	movzbl	(%rax), %eax
	cmpb	$66, %al
	jne	.L3
	addq	$1, -4056(%rbp)
.L3:
	leaq	-4016(%rbp), %rdx
	movq	-4072(%rbp), %rax
	addq	%rdx, %rax
	movzbl	(%rax), %eax
	cmpb	$71, %al
	jne	.L4
	addq	$1, -4048(%rbp)
.L4:
	leaq	-4016(%rbp), %rdx
	movq	-4072(%rbp), %rax
	addq	%rdx, %rax
	movzbl	(%rax), %eax
	cmpb	$82, %al
	jne	.L5
	addq	$1, -4040(%rbp)
.L5:
	addq	$1, -4072(%rbp)
.L2:
	movq	-4080(%rbp), %rax
	cmpq	%rax, -4072(%rbp)
	jl	.L6
	movq	-4056(%rbp), %rax
	imulq	-4048(%rbp), %rax
	movq	-4040(%rbp), %rdx
	imulq	%rdx, %rax
	movq	%rax, -4032(%rbp)
	movq	$0, -4072(%rbp)
	jmp	.L7
.L11:
	movq	-4072(%rbp), %rax
	addq	$1, %rax
	movq	%rax, -4064(%rbp)
	jmp	.L8
.L10:
	movq	-4064(%rbp), %rax
	addq	%rax, %rax
	subq	-4072(%rbp), %rax
	movq	%rax, -4024(%rbp)
	movq	-4080(%rbp), %rax
	cmpq	%rax, -4024(%rbp)
	jge	.L9
	leaq	-4016(%rbp), %rdx
	movq	-4072(%rbp), %rax
	addq	%rdx, %rax
	movzbl	(%rax), %edx
	leaq	-4016(%rbp), %rcx
	movq	-4064(%rbp), %rax
	addq	%rcx, %rax
	movzbl	(%rax), %eax
	cmpb	%al, %dl
	je	.L9
	leaq	-4016(%rbp), %rdx
	movq	-4064(%rbp), %rax
	addq	%rdx, %rax
	movzbl	(%rax), %edx
	leaq	-4016(%rbp), %rcx
	movq	-4024(%rbp), %rax
	addq	%rcx, %rax
	movzbl	(%rax), %eax
	cmpb	%al, %dl
	je	.L9
	leaq	-4016(%rbp), %rdx
	movq	-4024(%rbp), %rax
	addq	%rdx, %rax
	movzbl	(%rax), %edx
	leaq	-4016(%rbp), %rcx
	movq	-4072(%rbp), %rax
	addq	%rcx, %rax
	movzbl	(%rax), %eax
	cmpb	%al, %dl
	je	.L9
	subq	$1, -4032(%rbp)
.L9:
	addq	$1, -4064(%rbp)
.L8:
	movq	-4080(%rbp), %rax
	cmpq	%rax, -4064(%rbp)
	jl	.L10
	addq	$1, -4072(%rbp)
.L7:
	movq	-4080(%rbp), %rax
	cmpq	%rax, -4072(%rbp)
	jl	.L11
	movq	-4032(%rbp), %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	.L13
	call	__stack_chk_fail@PLT
.L13:
	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	"%ld"
.LC1:
	.string	"%s"
.LC2:
	.string	"%ld\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	leaq	.LC0(%rip), %rdi
	subq	$4032, %rsp
	.cfi_def_cfa_offset 4048
	movq	%fs:40, %rax
	movq	%rax, 4024(%rsp)
	xorl	%eax, %eax
	leaq	8(%rsp), %rsi
	leaq	16(%rsp), %rbx
	call	__isoc99_scanf@PLT
	movq	%rbx, %rsi
	leaq	.LC1(%rip), %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movq	8(%rsp), %rcx
	testq	%rcx, %rcx
	jle	.L14
	movq	%rbx, %r9
	leaq	(%rbx,%rcx), %rsi
	movq	%rbx, %rax
	xorl	%edi, %edi
	xorl	%r8d, %r8d
	xorl	%r10d, %r10d
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L3:
	cmpb	$71, %dl
	je	.L5
	cmpb	$82, %dl
	jne	.L4
	addq	$1, %rdi
.L4:
	addq	$1, %rax
	cmpq	%rax, %rsi
	je	.L29
.L6:
	movzbl	(%rax), %edx
	cmpb	$66, %dl
	jne	.L3
	addq	$1, %rax
	addq	$1, %r10
	cmpq	%rax, %rsi
	jne	.L6
.L29:
	imulq	%r8, %r10
	movl	$1, %eax
	imulq	%rdi, %r10
	cmpq	$1, %rcx
	je	.L2
	.p2align 4,,10
	.p2align 3
.L12:
	leaq	1(%rax), %r11
	movq	%r11, %rdx
	.p2align 4,,10
	.p2align 3
.L10:
	cmpq	%rcx, %rdx
	jge	.L9
	movzbl	(%r9), %esi
	movzbl	(%rbx,%rax), %edi
	cmpb	%dil, %sil
	je	.L9
	movzbl	(%rbx,%rdx), %r8d
	cmpb	%r8b, %sil
	je	.L9
	cmpb	%r8b, %dil
	setne	%sil
	cmpb	$1, %sil
	adcq	$-1, %r10
.L9:
	addq	$1, %rax
	addq	$2, %rdx
	cmpq	%rcx, %rax
	jl	.L10
	movq	%r11, %rax
	addq	$1, %r9
	cmpq	%rcx, %r11
	jne	.L12
.L2:
	xorl	%eax, %eax
	movq	%r10, %rdx
	movl	$1, %edi
	leaq	.LC2(%rip), %rsi
	call	__printf_chk@PLT
	movq	4024(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L30
	addq	$4032, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	addq	$1, %r8
	jmp	.L4
.L14:
	xorl	%r10d, %r10d
	jmp	.L2
.L30:
	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	"%ld"
.LC1:
	.string	"%s"
.LC2:
	.string	"%ld\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	leaq	.LC0(%rip), %rdi
	subq	$4032, %rsp
	.cfi_def_cfa_offset 4048
	movq	%fs:40, %rax
	movq	%rax, 4024(%rsp)
	xorl	%eax, %eax
	leaq	8(%rsp), %rsi
	leaq	16(%rsp), %rbx
	call	__isoc99_scanf@PLT
	movq	%rbx, %rsi
	leaq	.LC1(%rip), %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movq	8(%rsp), %rcx
	testq	%rcx, %rcx
	jle	.L14
	movq	%rbx, %r9
	leaq	(%rbx,%rcx), %rsi
	movq	%rbx, %rax
	xorl	%edi, %edi
	xorl	%r8d, %r8d
	xorl	%r10d, %r10d
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L3:
	cmpb	$71, %dl
	je	.L5
	cmpb	$82, %dl
	jne	.L4
	addq	$1, %rdi
.L4:
	addq	$1, %rax
	cmpq	%rax, %rsi
	je	.L29
.L6:
	movzbl	(%rax), %edx
	cmpb	$66, %dl
	jne	.L3
	addq	$1, %rax
	addq	$1, %r10
	cmpq	%rax, %rsi
	jne	.L6
.L29:
	imulq	%r8, %r10
	movl	$1, %eax
	imulq	%rdi, %r10
	cmpq	$1, %rcx
	je	.L2
	.p2align 4,,10
	.p2align 3
.L12:
	leaq	1(%rax), %r11
	movq	%r11, %rdx
	.p2align 4,,10
	.p2align 3
.L10:
	cmpq	%rcx, %rdx
	jge	.L9
	movzbl	(%r9), %esi
	movzbl	(%rbx,%rax), %edi
	cmpb	%dil, %sil
	je	.L9
	movzbl	(%rbx,%rdx), %r8d
	cmpb	%r8b, %sil
	je	.L9
	cmpb	%r8b, %dil
	setne	%sil
	cmpb	$1, %sil
	adcq	$-1, %r10
.L9:
	addq	$1, %rax
	addq	$2, %rdx
	cmpq	%rcx, %rax
	jl	.L10
	movq	%r11, %rax
	addq	$1, %r9
	cmpq	%rcx, %r11
	jne	.L12
.L2:
	xorl	%eax, %eax
	movq	%r10, %rdx
	movl	$1, %edi
	leaq	.LC2(%rip), %rsi
	call	__printf_chk@PLT
	movq	4024(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L30
	addq	$4032, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	addq	$1, %r8
	jmp	.L4
.L14:
	xorl	%r10d, %r10d
	jmp	.L2
.L30:
	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>
#include <math.h>
 
int main(void)
{
  long int i, j, k, a, b=0, g=0, r=0, result = 0;
  char n[4001];
  
  scanf("%ld", &a);
  scanf("%s", n);
  for( i = 0; i < a; i++ ){
    if( n[i] == 'B' ) b++;
    if( n[i] == 'G' ) g++;
    if( n[i] == 'R' ) r++;
  }
  
  result = b*g*r;
  
  for( i = 0; i < a; i++ ){
    for( j = i+1; j < a; j++ ){
      k = (2*j)-i;    
        if( k < a && n[i] != n[j] && n[j] != n[k] && n[k] != n[i] ){
          result--; 
      }       
    }         
  }
  
  printf("%ld\n", result);
  return 0;
}
4
BGRR
 39
BBBGBBBRBGBRBGBRBGGBRRRBBGRRBBGGBRGBRBR
 39
RBRBRRBGGBBRRGBBGRRBGGBRBGBRBGBRBBBGBBB
 4
GRRB
 39
RRRBGRBGGBBRRGBBRBRBGGBRBGBRBGBRBBBGBBB
 39
BBBGBBBRBGBRBGBRBGGBRRBBBGRRBBGGBRGRRBR
 39
RRRBGRBGGBBRRGBBRBRBGGBRBGBRBGBBBBBGBBR
 39
RRRBGRBGGBBRRGBBRRBBGGBRBGBRBGBBBBBGBBR
 39
RBBGBBBBBGBRBRBRBGGBBGRBBGRRBBGGRRGBBRR
 4
RGBR

1
 1800
 1796
 2
 1804
 1806
 1813
 1811
 1803
 0

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 <math.h>
 
int main(void)
{
  long int i, j, k, a, b=0, g=0, r=0, result = 0;
  char n[4001];
  
  scanf("%ld", &a);
  scanf("%s", n);
  for( i = 0; i < a; i++ ){
    if( n[i] == 'B' ) b++;
    if( n[i] == 'G' ) g++;
    if( n[i] == 'R' ) r++;
  }
  
  result = b*g*r;
  
  for( i = 0; i < a; i++ ){
    for( j = i+1; j < a; j++ ){
      k = (2*j)-i;    
        if( k < a && n[i] != n[j] && n[j] != n[k] && n[k] != n[i] ){
          result--; 
      }       
    }         
  }
  
  printf("%ld\n", result);
  return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%ld"
.LC1:
	.string	"%s"
.LC2:
	.string	"%ld\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	$4080, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movq	$0, -4056(%rbp)
	movq	$0, -4048(%rbp)
	movq	$0, -4040(%rbp)
	movq	$0, -4032(%rbp)
	leaq	-4080(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	leaq	-4016(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movq	$0, -4072(%rbp)
	jmp	.L2
.L6:
	leaq	-4016(%rbp), %rdx
	movq	-4072(%rbp), %rax
	addq	%rdx, %rax
	movzbl	(%rax), %eax
	cmpb	$66, %al
	jne	.L3
	addq	$1, -4056(%rbp)
.L3:
	leaq	-4016(%rbp), %rdx
	movq	-4072(%rbp), %rax
	addq	%rdx, %rax
	movzbl	(%rax), %eax
	cmpb	$71, %al
	jne	.L4
	addq	$1, -4048(%rbp)
.L4:
	leaq	-4016(%rbp), %rdx
	movq	-4072(%rbp), %rax
	addq	%rdx, %rax
	movzbl	(%rax), %eax
	cmpb	$82, %al
	jne	.L5
	addq	$1, -4040(%rbp)
.L5:
	addq	$1, -4072(%rbp)
.L2:
	movq	-4080(%rbp), %rax
	cmpq	%rax, -4072(%rbp)
	jl	.L6
	movq	-4056(%rbp), %rax
	imulq	-4048(%rbp), %rax
	movq	-4040(%rbp), %rdx
	imulq	%rdx, %rax
	movq	%rax, -4032(%rbp)
	movq	$0, -4072(%rbp)
	jmp	.L7
.L11:
	movq	-4072(%rbp), %rax
	addq	$1, %rax
	movq	%rax, -4064(%rbp)
	jmp	.L8
.L10:
	movq	-4064(%rbp), %rax
	addq	%rax, %rax
	subq	-4072(%rbp), %rax
	movq	%rax, -4024(%rbp)
	movq	-4080(%rbp), %rax
	cmpq	%rax, -4024(%rbp)
	jge	.L9
	leaq	-4016(%rbp), %rdx
	movq	-4072(%rbp), %rax
	addq	%rdx, %rax
	movzbl	(%rax), %edx
	leaq	-4016(%rbp), %rcx
	movq	-4064(%rbp), %rax
	addq	%rcx, %rax
	movzbl	(%rax), %eax
	cmpb	%al, %dl
	je	.L9
	leaq	-4016(%rbp), %rdx
	movq	-4064(%rbp), %rax
	addq	%rdx, %rax
	movzbl	(%rax), %edx
	leaq	-4016(%rbp), %rcx
	movq	-4024(%rbp), %rax
	addq	%rcx, %rax
	movzbl	(%rax), %eax
	cmpb	%al, %dl
	je	.L9
	leaq	-4016(%rbp), %rdx
	movq	-4024(%rbp), %rax
	addq	%rdx, %rax
	movzbl	(%rax), %edx
	leaq	-4016(%rbp), %rcx
	movq	-4072(%rbp), %rax
	addq	%rcx, %rax
	movzbl	(%rax), %eax
	cmpb	%al, %dl
	je	.L9
	subq	$1, -4032(%rbp)
.L9:
	addq	$1, -4064(%rbp)
.L8:
	movq	-4080(%rbp), %rax
	cmpq	%rax, -4064(%rbp)
	jl	.L10
	addq	$1, -4072(%rbp)
.L7:
	movq	-4080(%rbp), %rax
	cmpq	%rax, -4072(%rbp)
	jl	.L11
	movq	-4032(%rbp), %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	.L13
	call	__stack_chk_fail@PLT
.L13:
	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	"%ld"
.LC1:
	.string	"%s"
.LC2:
	.string	"%ld\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	$4080, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movq	$0, -4056(%rbp)
	movq	$0, -4048(%rbp)
	movq	$0, -4040(%rbp)
	movq	$0, -4032(%rbp)
	leaq	-4080(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	leaq	-4016(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movq	$0, -4072(%rbp)
	jmp	.L2
.L6:
	leaq	-4016(%rbp), %rdx
	movq	-4072(%rbp), %rax
	addq	%rdx, %rax
	movzbl	(%rax), %eax
	cmpb	$66, %al
	jne	.L3
	addq	$1, -4056(%rbp)
.L3:
	leaq	-4016(%rbp), %rdx
	movq	-4072(%rbp), %rax
	addq	%rdx, %rax
	movzbl	(%rax), %eax
	cmpb	$71, %al
	jne	.L4
	addq	$1, -4048(%rbp)
.L4:
	leaq	-4016(%rbp), %rdx
	movq	-4072(%rbp), %rax
	addq	%rdx, %rax
	movzbl	(%rax), %eax
	cmpb	$82, %al
	jne	.L5
	addq	$1, -4040(%rbp)
.L5:
	addq	$1, -4072(%rbp)
.L2:
	movq	-4080(%rbp), %rax
	cmpq	%rax, -4072(%rbp)
	jl	.L6
	movq	-4056(%rbp), %rax
	imulq	-4048(%rbp), %rax
	movq	-4040(%rbp), %rdx
	imulq	%rdx, %rax
	movq	%rax, -4032(%rbp)
	movq	$0, -4072(%rbp)
	jmp	.L7
.L11:
	movq	-4072(%rbp), %rax
	addq	$1, %rax
	movq	%rax, -4064(%rbp)
	jmp	.L8
.L10:
	movq	-4064(%rbp), %rax
	addq	%rax, %rax
	subq	-4072(%rbp), %rax
	movq	%rax, -4024(%rbp)
	movq	-4080(%rbp), %rax
	cmpq	%rax, -4024(%rbp)
	jge	.L9
	leaq	-4016(%rbp), %rdx
	movq	-4072(%rbp), %rax
	addq	%rdx, %rax
	movzbl	(%rax), %edx
	leaq	-4016(%rbp), %rcx
	movq	-4064(%rbp), %rax
	addq	%rcx, %rax
	movzbl	(%rax), %eax
	cmpb	%al, %dl
	je	.L9
	leaq	-4016(%rbp), %rdx
	movq	-4064(%rbp), %rax
	addq	%rdx, %rax
	movzbl	(%rax), %edx
	leaq	-4016(%rbp), %rcx
	movq	-4024(%rbp), %rax
	addq	%rcx, %rax
	movzbl	(%rax), %eax
	cmpb	%al, %dl
	je	.L9
	leaq	-4016(%rbp), %rdx
	movq	-4024(%rbp), %rax
	addq	%rdx, %rax
	movzbl	(%rax), %edx
	leaq	-4016(%rbp), %rcx
	movq	-4072(%rbp), %rax
	addq	%rcx, %rax
	movzbl	(%rax), %eax
	cmpb	%al, %dl
	je	.L9
	subq	$1, -4032(%rbp)
.L9:
	addq	$1, -4064(%rbp)
.L8:
	movq	-4080(%rbp), %rax
	cmpq	%rax, -4064(%rbp)
	jl	.L10
	addq	$1, -4072(%rbp)
.L7:
	movq	-4080(%rbp), %rax
	cmpq	%rax, -4072(%rbp)
	jl	.L11
	movq	-4032(%rbp), %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	.L13
	call	__stack_chk_fail@PLT
.L13:
	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:
