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

```c
/*
  AOJ 0595
  Title:Schedule
  @kankichi573
*/
#include <stdio.h>

int N;
char sekinin[1001];
int memo[10001][2][2][2]; 
char mem[3]="JOI";

int solve(int j,int o,int i,int day)
{
  char sek,next;
  int j_f,o_f,i_f,l,ret;

  ret=memo[day][j][o][i];
  if(ret>0)
    return(ret);
  sek=sekinin[day];

  if(day==N-1)
    if(j+o+i==3)
      return(4);
    else if(j+o+i==2)
      {
	if((j && sek=='J')||(o && sek=='O')||(i && sek=='I'))
	  return(4);
	else
	  return(3);
      }
    else if(j+o+i==1)
      {
	if((j && sek=='J')||(o && sek=='O')||(i && sek=='I'))
	  return(4);
	else
	  return(2);
      }
  next=sekinin[day+1];
  for(l=1,ret=0;l<=7;l++)
    {
      j_f=(l&1);
      o_f=(l&2)>>1;
      i_f=(l&4)>>2;
      if(((j_f && j)||(o_f && o)||(i_f && i)) && 
	 ((j_f && sek=='J')||(o_f && sek=='O')||(i_f && sek=='I')))
	{
	  ret += solve(j_f,o_f,i_f,day+1);
	  ret %= 10007;
	}
    }
  memo[day][j][o][i]=ret;
  return(ret);
}
main()
{
  int ret;

  scanf("%d",&N);
  scanf("%s",&sekinin[0]);
    ret=solve(1,0,0,0);  //'J' first 
  printf("%d\n",ret);
  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	sekinin
	.align 32
	.type	sekinin, @object
	.size	sekinin, 1001
sekinin:
	.zero	1001
	.globl	memo
	.align 32
	.type	memo, @object
	.size	memo, 320032
memo:
	.zero	320032
	.globl	mem
	.data
	.type	mem, @object
	.size	mem, 3
mem:
	.ascii	"JOI"
	.text
	.globl	solve
	.type	solve, @function
solve:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$48, %rsp
	movl	%edi, -36(%rbp)
	movl	%esi, -40(%rbp)
	movl	%edx, -44(%rbp)
	movl	%ecx, -48(%rbp)
	movl	-44(%rbp), %eax
	movslq	%eax, %rcx
	movl	-36(%rbp), %eax
	movslq	%eax, %rdx
	movl	-48(%rbp), %eax
	cltq
	addq	%rax, %rax
	addq	%rax, %rdx
	movl	-40(%rbp), %eax
	cltq
	addq	%rdx, %rdx
	addq	%rdx, %rax
	addq	%rax, %rax
	addq	%rcx, %rax
	leaq	0(,%rax,4), %rdx
	leaq	memo(%rip), %rax
	movl	(%rdx,%rax), %eax
	movl	%eax, -16(%rbp)
	cmpl	$0, -16(%rbp)
	jle	.L2
	movl	-16(%rbp), %eax
	jmp	.L3
.L2:
	movl	-48(%rbp), %eax
	cltq
	leaq	sekinin(%rip), %rdx
	movzbl	(%rax,%rdx), %eax
	movb	%al, -22(%rbp)
	movl	N(%rip), %eax
	subl	$1, %eax
	cmpl	%eax, -48(%rbp)
	jne	.L4
	movl	-36(%rbp), %edx
	movl	-40(%rbp), %eax
	addl	%eax, %edx
	movl	-44(%rbp), %eax
	addl	%edx, %eax
	cmpl	$3, %eax
	jne	.L5
	movl	$4, %eax
	jmp	.L3
.L5:
	movl	-36(%rbp), %edx
	movl	-40(%rbp), %eax
	addl	%eax, %edx
	movl	-44(%rbp), %eax
	addl	%edx, %eax
	cmpl	$2, %eax
	jne	.L6
	cmpl	$0, -36(%rbp)
	je	.L7
	cmpb	$74, -22(%rbp)
	je	.L8
.L7:
	cmpl	$0, -40(%rbp)
	je	.L9
	cmpb	$79, -22(%rbp)
	je	.L8
.L9:
	cmpl	$0, -44(%rbp)
	je	.L10
	cmpb	$73, -22(%rbp)
	jne	.L10
.L8:
	movl	$4, %eax
	jmp	.L3
.L10:
	movl	$3, %eax
	jmp	.L3
.L6:
	movl	-36(%rbp), %edx
	movl	-40(%rbp), %eax
	addl	%eax, %edx
	movl	-44(%rbp), %eax
	addl	%edx, %eax
	cmpl	$1, %eax
	jne	.L4
	cmpl	$0, -36(%rbp)
	je	.L11
	cmpb	$74, -22(%rbp)
	je	.L12
.L11:
	cmpl	$0, -40(%rbp)
	je	.L13
	cmpb	$79, -22(%rbp)
	je	.L12
.L13:
	cmpl	$0, -44(%rbp)
	je	.L14
	cmpb	$73, -22(%rbp)
	jne	.L14
.L12:
	movl	$4, %eax
	jmp	.L3
.L14:
	movl	$2, %eax
	jmp	.L3
.L4:
	movl	-48(%rbp), %eax
	addl	$1, %eax
	cltq
	leaq	sekinin(%rip), %rdx
	movzbl	(%rax,%rdx), %eax
	movb	%al, -21(%rbp)
	movl	$1, -20(%rbp)
	movl	$0, -16(%rbp)
	jmp	.L15
.L23:
	movl	-20(%rbp), %eax
	andl	$1, %eax
	movl	%eax, -12(%rbp)
	movl	-20(%rbp), %eax
	sarl	%eax
	andl	$1, %eax
	movl	%eax, -8(%rbp)
	movl	-20(%rbp), %eax
	sarl	$2, %eax
	andl	$1, %eax
	movl	%eax, -4(%rbp)
	cmpl	$0, -12(%rbp)
	je	.L16
	cmpl	$0, -36(%rbp)
	jne	.L17
.L16:
	cmpl	$0, -8(%rbp)
	je	.L18
	cmpl	$0, -40(%rbp)
	jne	.L17
.L18:
	cmpl	$0, -4(%rbp)
	je	.L19
	cmpl	$0, -44(%rbp)
	je	.L19
.L17:
	cmpl	$0, -12(%rbp)
	je	.L20
	cmpb	$74, -22(%rbp)
	je	.L21
.L20:
	cmpl	$0, -8(%rbp)
	je	.L22
	cmpb	$79, -22(%rbp)
	je	.L21
.L22:
	cmpl	$0, -4(%rbp)
	je	.L19
	cmpb	$73, -22(%rbp)
	jne	.L19
.L21:
	movl	-48(%rbp), %eax
	leal	1(%rax), %ecx
	movl	-4(%rbp), %edx
	movl	-8(%rbp), %esi
	movl	-12(%rbp), %eax
	movl	%eax, %edi
	call	solve
	addl	%eax, -16(%rbp)
	movl	-16(%rbp), %eax
	movslq	%eax, %rdx
	imulq	$1757988013, %rdx, %rdx
	shrq	$32, %rdx
	sarl	$12, %edx
	movl	%eax, %ecx
	sarl	$31, %ecx
	subl	%ecx, %edx
	imull	$10007, %edx, %edx
	subl	%edx, %eax
	movl	%eax, -16(%rbp)
.L19:
	addl	$1, -20(%rbp)
.L15:
	cmpl	$7, -20(%rbp)
	jle	.L23
	movl	-44(%rbp), %eax
	movslq	%eax, %rcx
	movl	-36(%rbp), %eax
	movslq	%eax, %rdx
	movl	-48(%rbp), %eax
	cltq
	addq	%rax, %rax
	addq	%rax, %rdx
	movl	-40(%rbp), %eax
	cltq
	addq	%rdx, %rdx
	addq	%rdx, %rax
	addq	%rax, %rax
	addq	%rcx, %rax
	leaq	0(,%rax,4), %rcx
	leaq	memo(%rip), %rdx
	movl	-16(%rbp), %eax
	movl	%eax, (%rcx,%rdx)
	movl	-16(%rbp), %eax
.L3:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	solve, .-solve
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"%s"
.LC2:
	.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	sekinin(%rip), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, %ecx
	movl	$0, %edx
	movl	$0, %esi
	movl	$1, %edi
	call	solve
	movl	%eax, -4(%rbp)
	movl	-4(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	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
	.type	solve.part.0, @function
solve.part.0:
.LFB25:
	.cfi_startproc
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	movslq	%ecx, %rax
	movl	%edi, %r15d
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	movl	%edx, %r14d
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	movl	%esi, %r13d
	movq	%rax, %rsi
	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	$40, %rsp
	.cfi_def_cfa_offset 96
	movq	%rax, 16(%rsp)
	leaq	sekinin(%rip), %rax
	movzbl	(%rax,%rsi), %ebp
	movl	N(%rip), %eax
	subl	$1, %eax
	cmpl	%eax, %ecx
	je	.L77
.L2:
	leal	1(%rcx), %eax
	testl	%r15d, %r15d
	movl	%r15d, 28(%rsp)
	movl	$1, %ebx
	movslq	%eax, %r10
	setne	%r9b
	movl	%eax, 24(%rsp)
	movl	%r13d, %r15d
	movq	%r10, %rax
	xorl	%r12d, %r12d
	movl	%r14d, %r10d
	movl	%r9d, %r13d
	leaq	memo(%rip), %r8
	movq	%rax, %r14
	jmp	.L18
	.p2align 4,,10
	.p2align 3
.L10:
	cmpb	$74, %bpl
	jne	.L32
	testb	%dl, %dl
	jne	.L14
.L32:
	cmpb	$79, %bpl
	jne	.L33
	testb	$1, %al
	je	.L33
.L14:
	movl	%ebx, %ecx
	movl	%eax, %esi
	andl	$1, %eax
	movslq	%r11d, %rdx
	andl	$1, %ecx
	movl	%ebx, %edi
	andl	$1, %esi
	leaq	(%rcx,%r14,2), %rcx
	andl	$1, %edi
	leaq	(%rax,%rcx,2), %rax
	leaq	(%rdx,%rax,2), %rax
	movl	(%r8,%rax,4), %eax
	testl	%eax, %eax
	jg	.L17
	movl	24(%rsp), %ecx
	movl	%r11d, %edx
	movl	%r10d, 12(%rsp)
	call	solve.part.0
	movl	12(%rsp), %r10d
	leaq	memo(%rip), %r8
.L17:
	addl	%r12d, %eax
	movslq	%eax, %r12
	cltd
	imulq	$1757988013, %r12, %r12
	sarq	$44, %r12
	subl	%edx, %r12d
	imull	$10007, %r12d, %edx
	subl	%edx, %eax
	movl	%eax, %r12d
.L13:
	addl	$1, %ebx
	cmpl	$8, %ebx
	je	.L78
.L18:
	movl	%ebx, %eax
	movl	%ebx, %r11d
	movl	%ebx, %edx
	sarl	%eax
	sarl	$2, %r11d
	andl	$1, %edx
	je	.L30
	testb	%r13b, %r13b
	jne	.L10
.L30:
	testl	%r15d, %r15d
	je	.L31
	testb	$1, %al
	jne	.L10
.L31:
	testl	%r10d, %r10d
	je	.L13
	testb	$1, %r11b
	jne	.L10
	addl	$1, %ebx
	cmpl	$8, %ebx
	jne	.L18
	.p2align 4,,10
	.p2align 3
.L78:
	movslq	%r15d, %r13
	movq	16(%rsp), %rax
	movslq	28(%rsp), %r15
	movslq	%r10d, %r14
	leaq	(%r15,%rax,2), %rax
	leaq	0(%r13,%rax,2), %rax
	leaq	(%r14,%rax,2), %rax
	movl	%r12d, (%r8,%rax,4)
.L1:
	addq	$40, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	movl	%r12d, %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
.L33:
	.cfi_restore_state
	cmpb	$73, %bpl
	jne	.L13
	testb	$1, %r11b
	jne	.L14
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L77:
	leal	(%rdi,%r13), %eax
	addl	%edx, %eax
	cmpl	$3, %eax
	je	.L19
	testl	%edi, %edi
	setne	%dl
	cmpl	$2, %eax
	je	.L79
	cmpl	$1, %eax
	jne	.L2
	cmpb	$74, %bpl
	jne	.L27
	movl	$4, %r12d
	testb	%dl, %dl
	jne	.L1
.L27:
	testl	%r13d, %r13d
	je	.L28
	movl	$4, %r12d
	cmpb	$79, %bpl
	je	.L1
.L28:
	testl	%r14d, %r14d
	je	.L29
	movl	$4, %r12d
	cmpb	$73, %bpl
	je	.L1
.L29:
	movl	$2, %r12d
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L79:
	cmpb	$74, %bpl
	jne	.L25
	movl	$4, %r12d
	testb	%dl, %dl
	jne	.L1
.L25:
	testl	%r13d, %r13d
	je	.L26
	movl	$4, %r12d
	cmpb	$79, %bpl
	je	.L1
.L26:
	testl	%r14d, %r14d
	setne	%al
	xorl	%r12d, %r12d
	cmpb	$73, %bpl
	sete	%r12b
	andl	%eax, %r12d
	addl	$3, %r12d
	jmp	.L1
.L19:
	movl	$4, %r12d
	jmp	.L1
	.cfi_endproc
.LFE25:
	.size	solve.part.0, .-solve.part.0
	.p2align 4
	.globl	solve
	.type	solve, @function
solve:
.LFB23:
	.cfi_startproc
	endbr64
	movslq	%edi, %r8
	movslq	%ecx, %r9
	movslq	%edx, %rax
	leaq	(%r8,%r9,2), %r9
	movslq	%esi, %r8
	leaq	(%r8,%r9,2), %r8
	leaq	(%rax,%r8,2), %r8
	leaq	memo(%rip), %rax
	movl	(%rax,%r8,4), %eax
	testl	%eax, %eax
	jg	.L80
	jmp	solve.part.0
	.p2align 4,,10
	.p2align 3
.L80:
	ret
	.cfi_endproc
.LFE23:
	.size	solve, .-solve
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"%s"
.LC2:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB24:
	.cfi_startproc
	endbr64
	subq	$8, %rsp
	.cfi_def_cfa_offset 16
	leaq	N(%rip), %rsi
	leaq	.LC0(%rip), %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	leaq	sekinin(%rip), %rsi
	leaq	.LC1(%rip), %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	16+memo(%rip), %edx
	testl	%edx, %edx
	jg	.L83
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%esi, %esi
	movl	$1, %edi
	call	solve.part.0
	movl	%eax, %edx
.L83:
	leaq	.LC2(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	xorl	%eax, %eax
	addq	$8, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE24:
	.size	main, .-main
	.globl	mem
	.data
	.type	mem, @object
	.size	mem, 3
mem:
	.ascii	"JOI"
	.globl	memo
	.bss
	.align 32
	.type	memo, @object
	.size	memo, 320032
memo:
	.zero	320032
	.globl	sekinin
	.align 32
	.type	sekinin, @object
	.size	sekinin, 1001
sekinin:
	.zero	1001
	.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
	.type	solve.part.0, @function
solve.part.0:
.LFB25:
	.cfi_startproc
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	movslq	%ecx, %rax
	movl	%edi, %r15d
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	movl	%edx, %r14d
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	movl	%esi, %r13d
	movq	%rax, %rsi
	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	$40, %rsp
	.cfi_def_cfa_offset 96
	movq	%rax, 16(%rsp)
	leaq	sekinin(%rip), %rax
	movzbl	(%rax,%rsi), %ebp
	movl	N(%rip), %eax
	subl	$1, %eax
	cmpl	%eax, %ecx
	je	.L77
.L2:
	leal	1(%rcx), %eax
	testl	%r15d, %r15d
	movl	%r15d, 28(%rsp)
	movl	$1, %ebx
	movslq	%eax, %r10
	setne	%r9b
	movl	%eax, 24(%rsp)
	movl	%r13d, %r15d
	movq	%r10, %rax
	xorl	%r12d, %r12d
	movl	%r14d, %r10d
	movl	%r9d, %r13d
	leaq	memo(%rip), %r8
	movq	%rax, %r14
	jmp	.L18
	.p2align 4,,10
	.p2align 3
.L10:
	cmpb	$74, %bpl
	jne	.L32
	testb	%dl, %dl
	jne	.L14
.L32:
	cmpb	$79, %bpl
	jne	.L33
	testb	$1, %al
	je	.L33
.L14:
	movl	%ebx, %ecx
	movl	%eax, %esi
	andl	$1, %eax
	movslq	%r11d, %rdx
	andl	$1, %ecx
	movl	%ebx, %edi
	andl	$1, %esi
	leaq	(%rcx,%r14,2), %rcx
	andl	$1, %edi
	leaq	(%rax,%rcx,2), %rax
	leaq	(%rdx,%rax,2), %rax
	movl	(%r8,%rax,4), %eax
	testl	%eax, %eax
	jg	.L17
	movl	24(%rsp), %ecx
	movl	%r11d, %edx
	movl	%r10d, 12(%rsp)
	call	solve.part.0
	movl	12(%rsp), %r10d
	leaq	memo(%rip), %r8
.L17:
	addl	%r12d, %eax
	movslq	%eax, %r12
	cltd
	imulq	$1757988013, %r12, %r12
	sarq	$44, %r12
	subl	%edx, %r12d
	imull	$10007, %r12d, %edx
	subl	%edx, %eax
	movl	%eax, %r12d
.L13:
	addl	$1, %ebx
	cmpl	$8, %ebx
	je	.L78
.L18:
	movl	%ebx, %eax
	movl	%ebx, %r11d
	movl	%ebx, %edx
	sarl	%eax
	sarl	$2, %r11d
	andl	$1, %edx
	je	.L30
	testb	%r13b, %r13b
	jne	.L10
.L30:
	testl	%r15d, %r15d
	je	.L31
	testb	$1, %al
	jne	.L10
.L31:
	testl	%r10d, %r10d
	je	.L13
	testb	$1, %r11b
	jne	.L10
	addl	$1, %ebx
	cmpl	$8, %ebx
	jne	.L18
	.p2align 4,,10
	.p2align 3
.L78:
	movslq	%r15d, %r13
	movq	16(%rsp), %rax
	movslq	28(%rsp), %r15
	movslq	%r10d, %r14
	leaq	(%r15,%rax,2), %rax
	leaq	0(%r13,%rax,2), %rax
	leaq	(%r14,%rax,2), %rax
	movl	%r12d, (%r8,%rax,4)
.L1:
	addq	$40, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	movl	%r12d, %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
.L33:
	.cfi_restore_state
	cmpb	$73, %bpl
	jne	.L13
	testb	$1, %r11b
	jne	.L14
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L77:
	leal	(%rdi,%r13), %eax
	addl	%edx, %eax
	cmpl	$3, %eax
	je	.L19
	testl	%edi, %edi
	setne	%dl
	cmpl	$2, %eax
	je	.L79
	cmpl	$1, %eax
	jne	.L2
	cmpb	$74, %bpl
	jne	.L27
	movl	$4, %r12d
	testb	%dl, %dl
	jne	.L1
.L27:
	testl	%r13d, %r13d
	je	.L28
	movl	$4, %r12d
	cmpb	$79, %bpl
	je	.L1
.L28:
	testl	%r14d, %r14d
	je	.L29
	movl	$4, %r12d
	cmpb	$73, %bpl
	je	.L1
.L29:
	movl	$2, %r12d
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L79:
	cmpb	$74, %bpl
	jne	.L25
	movl	$4, %r12d
	testb	%dl, %dl
	jne	.L1
.L25:
	testl	%r13d, %r13d
	je	.L26
	movl	$4, %r12d
	cmpb	$79, %bpl
	je	.L1
.L26:
	testl	%r14d, %r14d
	setne	%al
	xorl	%r12d, %r12d
	cmpb	$73, %bpl
	sete	%r12b
	andl	%eax, %r12d
	addl	$3, %r12d
	jmp	.L1
.L19:
	movl	$4, %r12d
	jmp	.L1
	.cfi_endproc
.LFE25:
	.size	solve.part.0, .-solve.part.0
	.p2align 4
	.globl	solve
	.type	solve, @function
solve:
.LFB23:
	.cfi_startproc
	endbr64
	movslq	%edi, %r8
	movslq	%ecx, %r9
	movslq	%edx, %rax
	leaq	(%r8,%r9,2), %r9
	movslq	%esi, %r8
	leaq	(%r8,%r9,2), %r8
	leaq	(%rax,%r8,2), %r8
	leaq	memo(%rip), %rax
	movl	(%rax,%r8,4), %eax
	testl	%eax, %eax
	jg	.L80
	jmp	solve.part.0
	.p2align 4,,10
	.p2align 3
.L80:
	ret
	.cfi_endproc
.LFE23:
	.size	solve, .-solve
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"%s"
.LC2:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB24:
	.cfi_startproc
	endbr64
	subq	$8, %rsp
	.cfi_def_cfa_offset 16
	leaq	N(%rip), %rsi
	leaq	.LC0(%rip), %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	leaq	sekinin(%rip), %rsi
	leaq	.LC1(%rip), %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	16+memo(%rip), %edx
	testl	%edx, %edx
	jg	.L83
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%esi, %esi
	movl	$1, %edi
	call	solve.part.0
	movl	%eax, %edx
.L83:
	leaq	.LC2(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	xorl	%eax, %eax
	addq	$8, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE24:
	.size	main, .-main
	.globl	mem
	.data
	.type	mem, @object
	.size	mem, 3
mem:
	.ascii	"JOI"
	.globl	memo
	.bss
	.align 32
	.type	memo, @object
	.size	memo, 320032
memo:
	.zero	320032
	.globl	sekinin
	.align 32
	.type	sekinin, @object
	.size	sekinin, 1001
sekinin:
	.zero	1001
	.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:

/*
  AOJ 0595
  Title:Schedule
  @kankichi573
*/
#include <stdio.h>

int N;
char sekinin[1001];
int memo[10001][2][2][2]; 
char mem[3]="JOI";

int solve(int j,int o,int i,int day)
{
  char sek,next;
  int j_f,o_f,i_f,l,ret;

  ret=memo[day][j][o][i];
  if(ret>0)
    return(ret);
  sek=sekinin[day];

  if(day==N-1)
    if(j+o+i==3)
      return(4);
    else if(j+o+i==2)
      {
	if((j && sek=='J')||(o && sek=='O')||(i && sek=='I'))
	  return(4);
	else
	  return(3);
      }
    else if(j+o+i==1)
      {
	if((j && sek=='J')||(o && sek=='O')||(i && sek=='I'))
	  return(4);
	else
	  return(2);
      }
  next=sekinin[day+1];
  for(l=1,ret=0;l<=7;l++)
    {
      j_f=(l&1);
      o_f=(l&2)>>1;
      i_f=(l&4)>>2;
      if(((j_f && j)||(o_f && o)||(i_f && i)) && 
	 ((j_f && sek=='J')||(o_f && sek=='O')||(i_f && sek=='I')))
	{
	  ret += solve(j_f,o_f,i_f,day+1);
	  ret %= 10007;
	}
    }
  memo[day][j][o][i]=ret;
  return(ret);
}
main()
{
  int ret;

  scanf("%d",&N);
  scanf("%s",&sekinin[0]);
    ret=solve(1,0,0,0);  //'J' first 
  printf("%d\n",ret);
  return(0);
}
2
OI

7

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

```c
/*
  AOJ 0595
  Title:Schedule
  @kankichi573
*/
#include <stdio.h>

int N;
char sekinin[1001];
int memo[10001][2][2][2]; 
char mem[3]="JOI";

int solve(int j,int o,int i,int day)
{
  char sek,next;
  int j_f,o_f,i_f,l,ret;

  ret=memo[day][j][o][i];
  if(ret>0)
    return(ret);
  sek=sekinin[day];

  if(day==N-1)
    if(j+o+i==3)
      return(4);
    else if(j+o+i==2)
      {
	if((j && sek=='J')||(o && sek=='O')||(i && sek=='I'))
	  return(4);
	else
	  return(3);
      }
    else if(j+o+i==1)
      {
	if((j && sek=='J')||(o && sek=='O')||(i && sek=='I'))
	  return(4);
	else
	  return(2);
      }
  next=sekinin[day+1];
  for(l=1,ret=0;l<=7;l++)
    {
      j_f=(l&1);
      o_f=(l&2)>>1;
      i_f=(l&4)>>2;
      if(((j_f && j)||(o_f && o)||(i_f && i)) && 
	 ((j_f && sek=='J')||(o_f && sek=='O')||(i_f && sek=='I')))
	{
	  ret += solve(j_f,o_f,i_f,day+1);
	  ret %= 10007;
	}
    }
  memo[day][j][o][i]=ret;
  return(ret);
}
main()
{
  int ret;

  scanf("%d",&N);
  scanf("%s",&sekinin[0]);
    ret=solve(1,0,0,0);  //'J' first 
  printf("%d\n",ret);
  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	sekinin
	.align 32
	.type	sekinin, @object
	.size	sekinin, 1001
sekinin:
	.zero	1001
	.globl	memo
	.align 32
	.type	memo, @object
	.size	memo, 320032
memo:
	.zero	320032
	.globl	mem
	.data
	.type	mem, @object
	.size	mem, 3
mem:
	.ascii	"JOI"
	.text
	.globl	solve
	.type	solve, @function
solve:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$48, %rsp
	movl	%edi, -36(%rbp)
	movl	%esi, -40(%rbp)
	movl	%edx, -44(%rbp)
	movl	%ecx, -48(%rbp)
	movl	-44(%rbp), %eax
	movslq	%eax, %rcx
	movl	-36(%rbp), %eax
	movslq	%eax, %rdx
	movl	-48(%rbp), %eax
	cltq
	addq	%rax, %rax
	addq	%rax, %rdx
	movl	-40(%rbp), %eax
	cltq
	addq	%rdx, %rdx
	addq	%rdx, %rax
	addq	%rax, %rax
	addq	%rcx, %rax
	leaq	0(,%rax,4), %rdx
	leaq	memo(%rip), %rax
	movl	(%rdx,%rax), %eax
	movl	%eax, -16(%rbp)
	cmpl	$0, -16(%rbp)
	jle	.L2
	movl	-16(%rbp), %eax
	jmp	.L3
.L2:
	movl	-48(%rbp), %eax
	cltq
	leaq	sekinin(%rip), %rdx
	movzbl	(%rax,%rdx), %eax
	movb	%al, -22(%rbp)
	movl	N(%rip), %eax
	subl	$1, %eax
	cmpl	%eax, -48(%rbp)
	jne	.L4
	movl	-36(%rbp), %edx
	movl	-40(%rbp), %eax
	addl	%eax, %edx
	movl	-44(%rbp), %eax
	addl	%edx, %eax
	cmpl	$3, %eax
	jne	.L5
	movl	$4, %eax
	jmp	.L3
.L5:
	movl	-36(%rbp), %edx
	movl	-40(%rbp), %eax
	addl	%eax, %edx
	movl	-44(%rbp), %eax
	addl	%edx, %eax
	cmpl	$2, %eax
	jne	.L6
	cmpl	$0, -36(%rbp)
	je	.L7
	cmpb	$74, -22(%rbp)
	je	.L8
.L7:
	cmpl	$0, -40(%rbp)
	je	.L9
	cmpb	$79, -22(%rbp)
	je	.L8
.L9:
	cmpl	$0, -44(%rbp)
	je	.L10
	cmpb	$73, -22(%rbp)
	jne	.L10
.L8:
	movl	$4, %eax
	jmp	.L3
.L10:
	movl	$3, %eax
	jmp	.L3
.L6:
	movl	-36(%rbp), %edx
	movl	-40(%rbp), %eax
	addl	%eax, %edx
	movl	-44(%rbp), %eax
	addl	%edx, %eax
	cmpl	$1, %eax
	jne	.L4
	cmpl	$0, -36(%rbp)
	je	.L11
	cmpb	$74, -22(%rbp)
	je	.L12
.L11:
	cmpl	$0, -40(%rbp)
	je	.L13
	cmpb	$79, -22(%rbp)
	je	.L12
.L13:
	cmpl	$0, -44(%rbp)
	je	.L14
	cmpb	$73, -22(%rbp)
	jne	.L14
.L12:
	movl	$4, %eax
	jmp	.L3
.L14:
	movl	$2, %eax
	jmp	.L3
.L4:
	movl	-48(%rbp), %eax
	addl	$1, %eax
	cltq
	leaq	sekinin(%rip), %rdx
	movzbl	(%rax,%rdx), %eax
	movb	%al, -21(%rbp)
	movl	$1, -20(%rbp)
	movl	$0, -16(%rbp)
	jmp	.L15
.L23:
	movl	-20(%rbp), %eax
	andl	$1, %eax
	movl	%eax, -12(%rbp)
	movl	-20(%rbp), %eax
	sarl	%eax
	andl	$1, %eax
	movl	%eax, -8(%rbp)
	movl	-20(%rbp), %eax
	sarl	$2, %eax
	andl	$1, %eax
	movl	%eax, -4(%rbp)
	cmpl	$0, -12(%rbp)
	je	.L16
	cmpl	$0, -36(%rbp)
	jne	.L17
.L16:
	cmpl	$0, -8(%rbp)
	je	.L18
	cmpl	$0, -40(%rbp)
	jne	.L17
.L18:
	cmpl	$0, -4(%rbp)
	je	.L19
	cmpl	$0, -44(%rbp)
	je	.L19
.L17:
	cmpl	$0, -12(%rbp)
	je	.L20
	cmpb	$74, -22(%rbp)
	je	.L21
.L20:
	cmpl	$0, -8(%rbp)
	je	.L22
	cmpb	$79, -22(%rbp)
	je	.L21
.L22:
	cmpl	$0, -4(%rbp)
	je	.L19
	cmpb	$73, -22(%rbp)
	jne	.L19
.L21:
	movl	-48(%rbp), %eax
	leal	1(%rax), %ecx
	movl	-4(%rbp), %edx
	movl	-8(%rbp), %esi
	movl	-12(%rbp), %eax
	movl	%eax, %edi
	call	solve
	addl	%eax, -16(%rbp)
	movl	-16(%rbp), %eax
	movslq	%eax, %rdx
	imulq	$1757988013, %rdx, %rdx
	shrq	$32, %rdx
	sarl	$12, %edx
	movl	%eax, %ecx
	sarl	$31, %ecx
	subl	%ecx, %edx
	imull	$10007, %edx, %edx
	subl	%edx, %eax
	movl	%eax, -16(%rbp)
.L19:
	addl	$1, -20(%rbp)
.L15:
	cmpl	$7, -20(%rbp)
	jle	.L23
	movl	-44(%rbp), %eax
	movslq	%eax, %rcx
	movl	-36(%rbp), %eax
	movslq	%eax, %rdx
	movl	-48(%rbp), %eax
	cltq
	addq	%rax, %rax
	addq	%rax, %rdx
	movl	-40(%rbp), %eax
	cltq
	addq	%rdx, %rdx
	addq	%rdx, %rax
	addq	%rax, %rax
	addq	%rcx, %rax
	leaq	0(,%rax,4), %rcx
	leaq	memo(%rip), %rdx
	movl	-16(%rbp), %eax
	movl	%eax, (%rcx,%rdx)
	movl	-16(%rbp), %eax
.L3:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	solve, .-solve
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"%s"
.LC2:
	.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	sekinin(%rip), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, %ecx
	movl	$0, %edx
	movl	$0, %esi
	movl	$1, %edi
	call	solve
	movl	%eax, -4(%rbp)
	movl	-4(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	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	sekinin
	.align 32
	.type	sekinin, @object
	.size	sekinin, 1001
sekinin:
	.zero	1001
	.globl	memo
	.align 32
	.type	memo, @object
	.size	memo, 320032
memo:
	.zero	320032
	.globl	mem
	.data
	.type	mem, @object
	.size	mem, 3
mem:
	.ascii	"JOI"
	.text
	.globl	solve
	.type	solve, @function
solve:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$48, %rsp
	movl	%edi, -36(%rbp)
	movl	%esi, -40(%rbp)
	movl	%edx, -44(%rbp)
	movl	%ecx, -48(%rbp)
	movl	-44(%rbp), %eax
	movslq	%eax, %rcx
	movl	-36(%rbp), %eax
	movslq	%eax, %rdx
	movl	-48(%rbp), %eax
	cltq
	addq	%rax, %rax
	addq	%rax, %rdx
	movl	-40(%rbp), %eax
	cltq
	addq	%rdx, %rdx
	addq	%rdx, %rax
	addq	%rax, %rax
	addq	%rcx, %rax
	leaq	0(,%rax,4), %rdx
	leaq	memo(%rip), %rax
	movl	(%rdx,%rax), %eax
	movl	%eax, -16(%rbp)
	cmpl	$0, -16(%rbp)
	jle	.L2
	movl	-16(%rbp), %eax
	jmp	.L3
.L2:
	movl	-48(%rbp), %eax
	cltq
	leaq	sekinin(%rip), %rdx
	movzbl	(%rax,%rdx), %eax
	movb	%al, -22(%rbp)
	movl	N(%rip), %eax
	subl	$1, %eax
	cmpl	%eax, -48(%rbp)
	jne	.L4
	movl	-36(%rbp), %edx
	movl	-40(%rbp), %eax
	addl	%eax, %edx
	movl	-44(%rbp), %eax
	addl	%edx, %eax
	cmpl	$3, %eax
	jne	.L5
	movl	$4, %eax
	jmp	.L3
.L5:
	movl	-36(%rbp), %edx
	movl	-40(%rbp), %eax
	addl	%eax, %edx
	movl	-44(%rbp), %eax
	addl	%edx, %eax
	cmpl	$2, %eax
	jne	.L6
	cmpl	$0, -36(%rbp)
	je	.L7
	cmpb	$74, -22(%rbp)
	je	.L8
.L7:
	cmpl	$0, -40(%rbp)
	je	.L9
	cmpb	$79, -22(%rbp)
	je	.L8
.L9:
	cmpl	$0, -44(%rbp)
	je	.L10
	cmpb	$73, -22(%rbp)
	jne	.L10
.L8:
	movl	$4, %eax
	jmp	.L3
.L10:
	movl	$3, %eax
	jmp	.L3
.L6:
	movl	-36(%rbp), %edx
	movl	-40(%rbp), %eax
	addl	%eax, %edx
	movl	-44(%rbp), %eax
	addl	%edx, %eax
	cmpl	$1, %eax
	jne	.L4
	cmpl	$0, -36(%rbp)
	je	.L11
	cmpb	$74, -22(%rbp)
	je	.L12
.L11:
	cmpl	$0, -40(%rbp)
	je	.L13
	cmpb	$79, -22(%rbp)
	je	.L12
.L13:
	cmpl	$0, -44(%rbp)
	je	.L14
	cmpb	$73, -22(%rbp)
	jne	.L14
.L12:
	movl	$4, %eax
	jmp	.L3
.L14:
	movl	$2, %eax
	jmp	.L3
.L4:
	movl	-48(%rbp), %eax
	addl	$1, %eax
	cltq
	leaq	sekinin(%rip), %rdx
	movzbl	(%rax,%rdx), %eax
	movb	%al, -21(%rbp)
	movl	$1, -20(%rbp)
	movl	$0, -16(%rbp)
	jmp	.L15
.L23:
	movl	-20(%rbp), %eax
	andl	$1, %eax
	movl	%eax, -12(%rbp)
	movl	-20(%rbp), %eax
	sarl	%eax
	andl	$1, %eax
	movl	%eax, -8(%rbp)
	movl	-20(%rbp), %eax
	sarl	$2, %eax
	andl	$1, %eax
	movl	%eax, -4(%rbp)
	cmpl	$0, -12(%rbp)
	je	.L16
	cmpl	$0, -36(%rbp)
	jne	.L17
.L16:
	cmpl	$0, -8(%rbp)
	je	.L18
	cmpl	$0, -40(%rbp)
	jne	.L17
.L18:
	cmpl	$0, -4(%rbp)
	je	.L19
	cmpl	$0, -44(%rbp)
	je	.L19
.L17:
	cmpl	$0, -12(%rbp)
	je	.L20
	cmpb	$74, -22(%rbp)
	je	.L21
.L20:
	cmpl	$0, -8(%rbp)
	je	.L22
	cmpb	$79, -22(%rbp)
	je	.L21
.L22:
	cmpl	$0, -4(%rbp)
	je	.L19
	cmpb	$73, -22(%rbp)
	jne	.L19
.L21:
	movl	-48(%rbp), %eax
	leal	1(%rax), %ecx
	movl	-4(%rbp), %edx
	movl	-8(%rbp), %esi
	movl	-12(%rbp), %eax
	movl	%eax, %edi
	call	solve
	addl	%eax, -16(%rbp)
	movl	-16(%rbp), %eax
	movslq	%eax, %rdx
	imulq	$1757988013, %rdx, %rdx
	shrq	$32, %rdx
	sarl	$12, %edx
	movl	%eax, %ecx
	sarl	$31, %ecx
	subl	%ecx, %edx
	imull	$10007, %edx, %edx
	subl	%edx, %eax
	movl	%eax, -16(%rbp)
.L19:
	addl	$1, -20(%rbp)
.L15:
	cmpl	$7, -20(%rbp)
	jle	.L23
	movl	-44(%rbp), %eax
	movslq	%eax, %rcx
	movl	-36(%rbp), %eax
	movslq	%eax, %rdx
	movl	-48(%rbp), %eax
	cltq
	addq	%rax, %rax
	addq	%rax, %rdx
	movl	-40(%rbp), %eax
	cltq
	addq	%rdx, %rdx
	addq	%rdx, %rax
	addq	%rax, %rax
	addq	%rcx, %rax
	leaq	0(,%rax,4), %rcx
	leaq	memo(%rip), %rdx
	movl	-16(%rbp), %eax
	movl	%eax, (%rcx,%rdx)
	movl	-16(%rbp), %eax
.L3:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	solve, .-solve
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"%s"
.LC2:
	.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	sekinin(%rip), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, %ecx
	movl	$0, %edx
	movl	$0, %esi
	movl	$1, %edi
	call	solve
	movl	%eax, -4(%rbp)
	movl	-4(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	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:
