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 order(int n,int p){
  int num = 0;
  double bin = (double) n;
  while(1){
    bin = bin/(double)p;
    if(bin < 0.999) break;
    else num += (int)bin;
  }
  return num;
}

int main(){
  int n;
  scanf("%d",&n);
  int prime[25];
  prime[0] = 2;
  int num = 1,flag;
  for(int i = 3; num < 25; i++){
    flag = 0;
    for(int j = 0; j < num; j++){
      if(i % prime[j] == 0){
        flag = 1;
        break;
      }
    }
    if(flag == 0){
      prime[num] = i;
      num++;
    }
  }
  int ord[25]; // n! = 2^ord[0]*... <= [97,48,24,16,9,7,5,..]
  for(int i = 0; i < 25; ++i){
    ord[i] = order(n,prime[i]);
  }
  int answer = 0;
  num = 0;
  for(int i = 0; i < 25; ++i){
    if(ord[num] < 2) break;
    num++;
  }
  for(int i = 0; i < num; ++i){
    if(ord[i] >= 74) answer++;
    for(int j = 0; j < num; ++j){
      if(i == j) break;
      if(ord[i] >= 2 && ord[j] >= 24) answer++;
      if(ord[i] >= 24 && ord[j] >= 2) answer++;
      if(ord[i] >= 4 && ord[j] >= 14) answer++;
      if(ord[i] >= 14 && ord[j] >= 4) answer++;
      for(int k = 0; k < num; ++k){
        if(j == k || k == i) break;
        if(ord[i] >= 2 && ord[j] >= 4 && ord[k] >= 4) answer++;
        if(ord[i] >= 4 && ord[j] >= 2 && ord[k] >= 4) answer++;
        if(ord[i] >= 4 && ord[j] >= 4 && ord[k] >= 2) answer++;
      }
    }
  }
  printf("%d\n",answer);
  return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	order
	.type	order, @function
order:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movl	%edi, -20(%rbp)
	movl	%esi, -24(%rbp)
	movl	$0, -12(%rbp)
	pxor	%xmm0, %xmm0
	cvtsi2sdl	-20(%rbp), %xmm0
	movsd	%xmm0, -8(%rbp)
.L5:
	pxor	%xmm1, %xmm1
	cvtsi2sdl	-24(%rbp), %xmm1
	movsd	-8(%rbp), %xmm0
	divsd	%xmm1, %xmm0
	movsd	%xmm0, -8(%rbp)
	movsd	.LC0(%rip), %xmm0
	comisd	-8(%rbp), %xmm0
	ja	.L7
	movsd	-8(%rbp), %xmm0
	cvttsd2sil	%xmm0, %eax
	addl	%eax, -12(%rbp)
	jmp	.L5
.L7:
	nop
	movl	-12(%rbp), %eax
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	order, .-order
	.section	.rodata
.LC1:
	.string	"%d"
.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	$272, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-268(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$2, -224(%rbp)
	movl	$1, -264(%rbp)
	movl	$3, -256(%rbp)
	jmp	.L9
.L15:
	movl	$0, -260(%rbp)
	movl	$0, -252(%rbp)
	jmp	.L10
.L13:
	movl	-252(%rbp), %eax
	cltq
	movl	-224(%rbp,%rax,4), %ecx
	movl	-256(%rbp), %eax
	cltd
	idivl	%ecx
	movl	%edx, %eax
	testl	%eax, %eax
	jne	.L11
	movl	$1, -260(%rbp)
	jmp	.L12
.L11:
	addl	$1, -252(%rbp)
.L10:
	movl	-252(%rbp), %eax
	cmpl	-264(%rbp), %eax
	jl	.L13
.L12:
	cmpl	$0, -260(%rbp)
	jne	.L14
	movl	-264(%rbp), %eax
	cltq
	movl	-256(%rbp), %edx
	movl	%edx, -224(%rbp,%rax,4)
	addl	$1, -264(%rbp)
.L14:
	addl	$1, -256(%rbp)
.L9:
	cmpl	$24, -264(%rbp)
	jle	.L15
	movl	$0, -248(%rbp)
	jmp	.L16
.L17:
	movl	-248(%rbp), %eax
	cltq
	movl	-224(%rbp,%rax,4), %edx
	movl	-268(%rbp), %eax
	movl	%edx, %esi
	movl	%eax, %edi
	call	order
	movl	-248(%rbp), %edx
	movslq	%edx, %rdx
	movl	%eax, -112(%rbp,%rdx,4)
	addl	$1, -248(%rbp)
.L16:
	cmpl	$24, -248(%rbp)
	jle	.L17
	movl	$0, -244(%rbp)
	movl	$0, -264(%rbp)
	movl	$0, -240(%rbp)
	jmp	.L18
.L21:
	movl	-264(%rbp), %eax
	cltq
	movl	-112(%rbp,%rax,4), %eax
	cmpl	$1, %eax
	jle	.L41
	addl	$1, -264(%rbp)
	addl	$1, -240(%rbp)
.L18:
	cmpl	$24, -240(%rbp)
	jle	.L21
	jmp	.L20
.L41:
	nop
.L20:
	movl	$0, -236(%rbp)
	jmp	.L22
.L38:
	movl	-236(%rbp), %eax
	cltq
	movl	-112(%rbp,%rax,4), %eax
	cmpl	$73, %eax
	jle	.L23
	addl	$1, -244(%rbp)
.L23:
	movl	$0, -232(%rbp)
	jmp	.L24
.L37:
	movl	-236(%rbp), %eax
	cmpl	-232(%rbp), %eax
	je	.L42
	movl	-236(%rbp), %eax
	cltq
	movl	-112(%rbp,%rax,4), %eax
	cmpl	$1, %eax
	jle	.L27
	movl	-232(%rbp), %eax
	cltq
	movl	-112(%rbp,%rax,4), %eax
	cmpl	$23, %eax
	jle	.L27
	addl	$1, -244(%rbp)
.L27:
	movl	-236(%rbp), %eax
	cltq
	movl	-112(%rbp,%rax,4), %eax
	cmpl	$23, %eax
	jle	.L28
	movl	-232(%rbp), %eax
	cltq
	movl	-112(%rbp,%rax,4), %eax
	cmpl	$1, %eax
	jle	.L28
	addl	$1, -244(%rbp)
.L28:
	movl	-236(%rbp), %eax
	cltq
	movl	-112(%rbp,%rax,4), %eax
	cmpl	$3, %eax
	jle	.L29
	movl	-232(%rbp), %eax
	cltq
	movl	-112(%rbp,%rax,4), %eax
	cmpl	$13, %eax
	jle	.L29
	addl	$1, -244(%rbp)
.L29:
	movl	-236(%rbp), %eax
	cltq
	movl	-112(%rbp,%rax,4), %eax
	cmpl	$13, %eax
	jle	.L30
	movl	-232(%rbp), %eax
	cltq
	movl	-112(%rbp,%rax,4), %eax
	cmpl	$3, %eax
	jle	.L30
	addl	$1, -244(%rbp)
.L30:
	movl	$0, -228(%rbp)
	jmp	.L31
.L36:
	movl	-232(%rbp), %eax
	cmpl	-228(%rbp), %eax
	je	.L32
	movl	-228(%rbp), %eax
	cmpl	-236(%rbp), %eax
	je	.L32
	movl	-236(%rbp), %eax
	cltq
	movl	-112(%rbp,%rax,4), %eax
	cmpl	$1, %eax
	jle	.L33
	movl	-232(%rbp), %eax
	cltq
	movl	-112(%rbp,%rax,4), %eax
	cmpl	$3, %eax
	jle	.L33
	movl	-228(%rbp), %eax
	cltq
	movl	-112(%rbp,%rax,4), %eax
	cmpl	$3, %eax
	jle	.L33
	addl	$1, -244(%rbp)
.L33:
	movl	-236(%rbp), %eax
	cltq
	movl	-112(%rbp,%rax,4), %eax
	cmpl	$3, %eax
	jle	.L34
	movl	-232(%rbp), %eax
	cltq
	movl	-112(%rbp,%rax,4), %eax
	cmpl	$1, %eax
	jle	.L34
	movl	-228(%rbp), %eax
	cltq
	movl	-112(%rbp,%rax,4), %eax
	cmpl	$3, %eax
	jle	.L34
	addl	$1, -244(%rbp)
.L34:
	movl	-236(%rbp), %eax
	cltq
	movl	-112(%rbp,%rax,4), %eax
	cmpl	$3, %eax
	jle	.L35
	movl	-232(%rbp), %eax
	cltq
	movl	-112(%rbp,%rax,4), %eax
	cmpl	$3, %eax
	jle	.L35
	movl	-228(%rbp), %eax
	cltq
	movl	-112(%rbp,%rax,4), %eax
	cmpl	$1, %eax
	jle	.L35
	addl	$1, -244(%rbp)
.L35:
	addl	$1, -228(%rbp)
.L31:
	movl	-228(%rbp), %eax
	cmpl	-264(%rbp), %eax
	jl	.L36
.L32:
	addl	$1, -232(%rbp)
.L24:
	movl	-232(%rbp), %eax
	cmpl	-264(%rbp), %eax
	jl	.L37
	jmp	.L26
.L42:
	nop
.L26:
	addl	$1, -236(%rbp)
.L22:
	movl	-236(%rbp), %eax
	cmpl	-264(%rbp), %eax
	jl	.L38
	movl	-244(%rbp), %eax
	movl	%eax, %esi
	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	.L40
	call	__stack_chk_fail@PLT
.L40:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC0:
	.long	-652835029
	.long	1072691150
	.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	order
	.type	order, @function
order:
.LFB23:
	.cfi_startproc
	endbr64
	pxor	%xmm0, %xmm0
	pxor	%xmm1, %xmm1
	movsd	.LC0(%rip), %xmm2
	xorl	%eax, %eax
	cvtsi2sdl	%edi, %xmm0
	cvtsi2sdl	%esi, %xmm1
	divsd	%xmm1, %xmm0
	comisd	%xmm0, %xmm2
	ja	.L5
	.p2align 4,,10
	.p2align 3
.L3:
	cvttsd2sil	%xmm0, %edx
	divsd	%xmm1, %xmm0
	addl	%edx, %eax
	comisd	%xmm0, %xmm2
	jbe	.L3
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	ret
	.cfi_endproc
.LFE23:
	.size	order, .-order
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"%d"
.LC2:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB24:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	leaq	.LC1(%rip), %rdi
	pushq	%rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	subq	$248, %rsp
	.cfi_def_cfa_offset 272
	movq	%fs:40, %rax
	movq	%rax, 232(%rsp)
	xorl	%eax, %eax
	leaq	12(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	$3, %edi
	movl	$1, %esi
	movl	$2, 16(%rsp)
	leaq	16(%rsp), %r9
	leaq	20(%rsp), %r10
	.p2align 4,,10
	.p2align 3
.L8:
	leal	-1(%rsi), %eax
	movq	%r9, %rcx
	leaq	(%r10,%rax,4), %r8
	.p2align 4,,10
	.p2align 3
.L10:
	movl	%edi, %eax
	cltd
	idivl	(%rcx)
	testl	%edx, %edx
	je	.L9
	addq	$4, %rcx
	cmpq	%r8, %rcx
	jne	.L10
	movslq	%esi, %rax
	addl	$1, %esi
	movl	%edi, 16(%rsp,%rax,4)
.L9:
	addl	$1, %edi
	cmpl	$25, %esi
	jne	.L8
	pxor	%xmm3, %xmm3
	movsd	.LC0(%rip), %xmm2
	xorl	%ecx, %ecx
	leaq	128(%rsp), %rbx
	cvtsi2sdl	12(%rsp), %xmm3
	.p2align 4,,10
	.p2align 3
.L16:
	pxor	%xmm1, %xmm1
	movapd	%xmm3, %xmm0
	xorl	%eax, %eax
	cvtsi2sdl	(%r9,%rcx), %xmm1
	divsd	%xmm1, %xmm0
	comisd	%xmm0, %xmm2
	ja	.L13
	.p2align 4,,10
	.p2align 3
.L14:
	cvttsd2sil	%xmm0, %edx
	divsd	%xmm1, %xmm0
	addl	%edx, %eax
	comisd	%xmm0, %xmm2
	jbe	.L14
.L13:
	movl	%eax, (%rbx,%rcx)
	addq	$4, %rcx
	cmpq	$100, %rcx
	jne	.L16
	xorl	%eax, %eax
	jmp	.L20
	.p2align 4,,10
	.p2align 3
.L17:
	addq	$1, %rax
	cmpq	$25, %rax
	je	.L18
.L20:
	cmpl	$1, (%rbx,%rax,4)
	movl	%eax, %r10d
	jg	.L17
	movl	%eax, %esi
	testl	%eax, %eax
	je	.L19
.L18:
	xorl	%ebp, %ebp
	xorl	%r10d, %r10d
	.p2align 4,,10
	.p2align 3
.L51:
	movl	(%rbx,%rbp,4), %r11d
	xorl	%eax, %eax
	movq	%rbx, %r9
	movl	%ebp, %r8d
	cmpl	$73, %r11d
	setg	%al
	xorl	%ecx, %ecx
	addl	%eax, %r10d
	.p2align 4,,10
	.p2align 3
.L50:
	cmpl	%ecx, %ebp
	je	.L22
	cmpl	$1, %r11d
	jle	.L58
	movl	(%r9), %eax
	cmpl	$23, %eax
	jle	.L24
	leal	1(%r10), %eax
	addl	$2, %r10d
	cmpl	$23, %r11d
	jle	.L75
.L30:
	addl	$1, %r10d
	cmpl	$13, %r11d
	jle	.L33
.L32:
	addl	$1, %r10d
.L33:
	cmpl	$3, %r11d
	jle	.L52
.L35:
	movq	%rbx, %rdx
	xorl	%eax, %eax
	jmp	.L48
	.p2align 4,,10
	.p2align 3
.L43:
	cmpl	$1, %edi
	jg	.L76
.L46:
	addl	$1, %eax
	addq	$4, %rdx
	cmpl	%eax, %esi
	jle	.L49
.L48:
	cmpl	%eax, %ecx
	je	.L49
	cmpl	%eax, %r8d
	je	.L49
	movl	(%r9), %edi
	cmpl	$3, %edi
	jle	.L43
	cmpl	$3, (%rdx)
	jle	.L44
	addl	$2, %r10d
.L45:
	addl	$1, %eax
	addl	$1, %r10d
	addq	$4, %rdx
	cmpl	%eax, %esi
	jg	.L48
	.p2align 4,,10
	.p2align 3
.L49:
	addl	$1, %ecx
	addq	$4, %r9
	cmpl	%ecx, %esi
	jg	.L50
.L22:
	addq	$1, %rbp
	cmpl	%ebp, %esi
	jg	.L51
.L19:
	xorl	%eax, %eax
	movl	%r10d, %edx
	movl	$1, %edi
	leaq	.LC2(%rip), %rsi
	call	__printf_chk@PLT
	movq	232(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L77
	addq	$248, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L44:
	.cfi_restore_state
	cmpl	$1, (%rdx)
	jle	.L46
	jmp	.L45
	.p2align 4,,10
	.p2align 3
.L24:
	cmpl	$23, %r11d
	jle	.L78
	cmpl	$1, %eax
	jg	.L79
.L29:
	cmpl	$3, %eax
	jle	.L33
	jmp	.L32
	.p2align 4,,10
	.p2align 3
.L76:
	cmpl	$3, (%rdx)
	jg	.L45
	jmp	.L46
	.p2align 4,,10
	.p2align 3
.L79:
	addl	$1, %r10d
	cmpl	$13, %eax
	jle	.L29
	jmp	.L30
	.p2align 4,,10
	.p2align 3
.L78:
	cmpl	$3, %r11d
	jg	.L80
.L52:
	xorl	%eax, %eax
	cmpl	$1, %r11d
	jg	.L36
	.p2align 4,,10
	.p2align 3
.L58:
	xorl	%eax, %eax
	.p2align 4,,10
	.p2align 3
.L38:
	cmpl	%eax, %r8d
	je	.L49
	cmpl	%ecx, %eax
	je	.L49
	addl	$1, %eax
	cmpl	%eax, %esi
	jg	.L38
	addl	$1, %ecx
	addq	$4, %r9
	cmpl	%ecx, %esi
	jg	.L50
	jmp	.L22
	.p2align 4,,10
	.p2align 3
.L36:
	cmpl	%eax, %r8d
	je	.L49
	cmpl	%eax, %ecx
	je	.L49
	cmpl	$3, (%r9)
	jle	.L40
	cmpl	$3, (%rbx,%rax,4)
	jle	.L40
	addl	$1, %r10d
.L40:
	addq	$1, %rax
	cmpl	%eax, %esi
	jg	.L36
	addl	$1, %ecx
	addq	$4, %r9
	cmpl	%ecx, %esi
	jg	.L50
	jmp	.L22
	.p2align 4,,10
	.p2align 3
.L75:
	movl	%eax, %r10d
	cmpl	$3, %r11d
	jle	.L52
	jmp	.L30
.L80:
	cmpl	$13, %eax
	jg	.L30
	cmpl	$13, %r11d
	jle	.L35
	cmpl	$3, %eax
	jle	.L35
	jmp	.L32
.L77:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE24:
	.size	main, .-main
	.section	.rodata.cst8,"aM",@progbits,8
	.align 8
.LC0:
	.long	-652835029
	.long	1072691150
	.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	order
	.type	order, @function
order:
.LFB23:
	.cfi_startproc
	endbr64
	pxor	%xmm0, %xmm0
	pxor	%xmm1, %xmm1
	movsd	.LC0(%rip), %xmm2
	xorl	%eax, %eax
	cvtsi2sdl	%edi, %xmm0
	cvtsi2sdl	%esi, %xmm1
	divsd	%xmm1, %xmm0
	comisd	%xmm0, %xmm2
	ja	.L5
	.p2align 4,,10
	.p2align 3
.L3:
	cvttsd2sil	%xmm0, %edx
	divsd	%xmm1, %xmm0
	addl	%edx, %eax
	comisd	%xmm0, %xmm2
	jbe	.L3
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	ret
	.cfi_endproc
.LFE23:
	.size	order, .-order
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"%d"
.LC2:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB24:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	leaq	.LC1(%rip), %rdi
	pushq	%rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	subq	$248, %rsp
	.cfi_def_cfa_offset 272
	movq	%fs:40, %rax
	movq	%rax, 232(%rsp)
	xorl	%eax, %eax
	leaq	12(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	$3, %edi
	movl	$1, %esi
	movl	$2, 16(%rsp)
	leaq	16(%rsp), %r9
	leaq	20(%rsp), %r10
	.p2align 4,,10
	.p2align 3
.L8:
	leal	-1(%rsi), %eax
	movq	%r9, %rcx
	leaq	(%r10,%rax,4), %r8
	.p2align 4,,10
	.p2align 3
.L10:
	movl	%edi, %eax
	cltd
	idivl	(%rcx)
	testl	%edx, %edx
	je	.L9
	addq	$4, %rcx
	cmpq	%r8, %rcx
	jne	.L10
	movslq	%esi, %rax
	addl	$1, %esi
	movl	%edi, 16(%rsp,%rax,4)
.L9:
	addl	$1, %edi
	cmpl	$25, %esi
	jne	.L8
	pxor	%xmm3, %xmm3
	movsd	.LC0(%rip), %xmm2
	xorl	%ecx, %ecx
	leaq	128(%rsp), %rbx
	cvtsi2sdl	12(%rsp), %xmm3
	.p2align 4,,10
	.p2align 3
.L16:
	pxor	%xmm1, %xmm1
	movapd	%xmm3, %xmm0
	xorl	%eax, %eax
	cvtsi2sdl	(%r9,%rcx), %xmm1
	divsd	%xmm1, %xmm0
	comisd	%xmm0, %xmm2
	ja	.L13
	.p2align 4,,10
	.p2align 3
.L14:
	cvttsd2sil	%xmm0, %edx
	divsd	%xmm1, %xmm0
	addl	%edx, %eax
	comisd	%xmm0, %xmm2
	jbe	.L14
.L13:
	movl	%eax, (%rbx,%rcx)
	addq	$4, %rcx
	cmpq	$100, %rcx
	jne	.L16
	xorl	%eax, %eax
	jmp	.L20
	.p2align 4,,10
	.p2align 3
.L17:
	addq	$1, %rax
	cmpq	$25, %rax
	je	.L18
.L20:
	cmpl	$1, (%rbx,%rax,4)
	movl	%eax, %r10d
	jg	.L17
	movl	%eax, %esi
	testl	%eax, %eax
	je	.L19
.L18:
	xorl	%ebp, %ebp
	xorl	%r10d, %r10d
	.p2align 4,,10
	.p2align 3
.L51:
	movl	(%rbx,%rbp,4), %r11d
	xorl	%eax, %eax
	movq	%rbx, %r9
	movl	%ebp, %r8d
	cmpl	$73, %r11d
	setg	%al
	xorl	%ecx, %ecx
	addl	%eax, %r10d
	.p2align 4,,10
	.p2align 3
.L50:
	cmpl	%ecx, %ebp
	je	.L22
	cmpl	$1, %r11d
	jle	.L58
	movl	(%r9), %eax
	cmpl	$23, %eax
	jle	.L24
	leal	1(%r10), %eax
	addl	$2, %r10d
	cmpl	$23, %r11d
	jle	.L75
.L30:
	addl	$1, %r10d
	cmpl	$13, %r11d
	jle	.L33
.L32:
	addl	$1, %r10d
.L33:
	cmpl	$3, %r11d
	jle	.L52
.L35:
	movq	%rbx, %rdx
	xorl	%eax, %eax
	jmp	.L48
	.p2align 4,,10
	.p2align 3
.L43:
	cmpl	$1, %edi
	jg	.L76
.L46:
	addl	$1, %eax
	addq	$4, %rdx
	cmpl	%eax, %esi
	jle	.L49
.L48:
	cmpl	%eax, %ecx
	je	.L49
	cmpl	%eax, %r8d
	je	.L49
	movl	(%r9), %edi
	cmpl	$3, %edi
	jle	.L43
	cmpl	$3, (%rdx)
	jle	.L44
	addl	$2, %r10d
.L45:
	addl	$1, %eax
	addl	$1, %r10d
	addq	$4, %rdx
	cmpl	%eax, %esi
	jg	.L48
	.p2align 4,,10
	.p2align 3
.L49:
	addl	$1, %ecx
	addq	$4, %r9
	cmpl	%ecx, %esi
	jg	.L50
.L22:
	addq	$1, %rbp
	cmpl	%ebp, %esi
	jg	.L51
.L19:
	xorl	%eax, %eax
	movl	%r10d, %edx
	movl	$1, %edi
	leaq	.LC2(%rip), %rsi
	call	__printf_chk@PLT
	movq	232(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L77
	addq	$248, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L44:
	.cfi_restore_state
	cmpl	$1, (%rdx)
	jle	.L46
	jmp	.L45
	.p2align 4,,10
	.p2align 3
.L24:
	cmpl	$23, %r11d
	jle	.L78
	cmpl	$1, %eax
	jg	.L79
.L29:
	cmpl	$3, %eax
	jle	.L33
	jmp	.L32
	.p2align 4,,10
	.p2align 3
.L76:
	cmpl	$3, (%rdx)
	jg	.L45
	jmp	.L46
	.p2align 4,,10
	.p2align 3
.L79:
	addl	$1, %r10d
	cmpl	$13, %eax
	jle	.L29
	jmp	.L30
	.p2align 4,,10
	.p2align 3
.L78:
	cmpl	$3, %r11d
	jg	.L80
.L52:
	xorl	%eax, %eax
	cmpl	$1, %r11d
	jg	.L36
	.p2align 4,,10
	.p2align 3
.L58:
	xorl	%eax, %eax
	.p2align 4,,10
	.p2align 3
.L38:
	cmpl	%eax, %r8d
	je	.L49
	cmpl	%ecx, %eax
	je	.L49
	addl	$1, %eax
	cmpl	%eax, %esi
	jg	.L38
	addl	$1, %ecx
	addq	$4, %r9
	cmpl	%ecx, %esi
	jg	.L50
	jmp	.L22
	.p2align 4,,10
	.p2align 3
.L36:
	cmpl	%eax, %r8d
	je	.L49
	cmpl	%eax, %ecx
	je	.L49
	cmpl	$3, (%r9)
	jle	.L40
	cmpl	$3, (%rbx,%rax,4)
	jle	.L40
	addl	$1, %r10d
.L40:
	addq	$1, %rax
	cmpl	%eax, %esi
	jg	.L36
	addl	$1, %ecx
	addq	$4, %r9
	cmpl	%ecx, %esi
	jg	.L50
	jmp	.L22
	.p2align 4,,10
	.p2align 3
.L75:
	movl	%eax, %r10d
	cmpl	$3, %r11d
	jle	.L52
	jmp	.L30
.L80:
	cmpl	$13, %eax
	jg	.L30
	cmpl	$13, %r11d
	jle	.L35
	cmpl	$3, %eax
	jle	.L35
	jmp	.L32
.L77:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE24:
	.size	main, .-main
	.section	.rodata.cst8,"aM",@progbits,8
	.align 8
.LC0:
	.long	-652835029
	.long	1072691150
	.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 order(int n,int p){
  int num = 0;
  double bin = (double) n;
  while(1){
    bin = bin/(double)p;
    if(bin < 0.999) break;
    else num += (int)bin;
  }
  return num;
}

int main(){
  int n;
  scanf("%d",&n);
  int prime[25];
  prime[0] = 2;
  int num = 1,flag;
  for(int i = 3; num < 25; i++){
    flag = 0;
    for(int j = 0; j < num; j++){
      if(i % prime[j] == 0){
        flag = 1;
        break;
      }
    }
    if(flag == 0){
      prime[num] = i;
      num++;
    }
  }
  int ord[25]; // n! = 2^ord[0]*... <= [97,48,24,16,9,7,5,..]
  for(int i = 0; i < 25; ++i){
    ord[i] = order(n,prime[i]);
  }
  int answer = 0;
  num = 0;
  for(int i = 0; i < 25; ++i){
    if(ord[num] < 2) break;
    num++;
  }
  for(int i = 0; i < num; ++i){
    if(ord[i] >= 74) answer++;
    for(int j = 0; j < num; ++j){
      if(i == j) break;
      if(ord[i] >= 2 && ord[j] >= 24) answer++;
      if(ord[i] >= 24 && ord[j] >= 2) answer++;
      if(ord[i] >= 4 && ord[j] >= 14) answer++;
      if(ord[i] >= 14 && ord[j] >= 4) answer++;
      for(int k = 0; k < num; ++k){
        if(j == k || k == i) break;
        if(ord[i] >= 2 && ord[j] >= 4 && ord[k] >= 4) answer++;
        if(ord[i] >= 4 && ord[j] >= 2 && ord[k] >= 4) answer++;
        if(ord[i] >= 4 && ord[j] >= 4 && ord[k] >= 2) answer++;
      }
    }
  }
  printf("%d\n",answer);
  return 0;
}
11
 4
 17
 20
 36
 25
 14
 29
 30
 46

1
 0
 3
 8
 42
 11
 2
 32
 35
 86

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 order(int n,int p){
  int num = 0;
  double bin = (double) n;
  while(1){
    bin = bin/(double)p;
    if(bin < 0.999) break;
    else num += (int)bin;
  }
  return num;
}

int main(){
  int n;
  scanf("%d",&n);
  int prime[25];
  prime[0] = 2;
  int num = 1,flag;
  for(int i = 3; num < 25; i++){
    flag = 0;
    for(int j = 0; j < num; j++){
      if(i % prime[j] == 0){
        flag = 1;
        break;
      }
    }
    if(flag == 0){
      prime[num] = i;
      num++;
    }
  }
  int ord[25]; // n! = 2^ord[0]*... <= [97,48,24,16,9,7,5,..]
  for(int i = 0; i < 25; ++i){
    ord[i] = order(n,prime[i]);
  }
  int answer = 0;
  num = 0;
  for(int i = 0; i < 25; ++i){
    if(ord[num] < 2) break;
    num++;
  }
  for(int i = 0; i < num; ++i){
    if(ord[i] >= 74) answer++;
    for(int j = 0; j < num; ++j){
      if(i == j) break;
      if(ord[i] >= 2 && ord[j] >= 24) answer++;
      if(ord[i] >= 24 && ord[j] >= 2) answer++;
      if(ord[i] >= 4 && ord[j] >= 14) answer++;
      if(ord[i] >= 14 && ord[j] >= 4) answer++;
      for(int k = 0; k < num; ++k){
        if(j == k || k == i) break;
        if(ord[i] >= 2 && ord[j] >= 4 && ord[k] >= 4) answer++;
        if(ord[i] >= 4 && ord[j] >= 2 && ord[k] >= 4) answer++;
        if(ord[i] >= 4 && ord[j] >= 4 && ord[k] >= 2) answer++;
      }
    }
  }
  printf("%d\n",answer);
  return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	order
	.type	order, @function
order:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movl	%edi, -20(%rbp)
	movl	%esi, -24(%rbp)
	movl	$0, -12(%rbp)
	pxor	%xmm0, %xmm0
	cvtsi2sdl	-20(%rbp), %xmm0
	movsd	%xmm0, -8(%rbp)
.L5:
	pxor	%xmm1, %xmm1
	cvtsi2sdl	-24(%rbp), %xmm1
	movsd	-8(%rbp), %xmm0
	divsd	%xmm1, %xmm0
	movsd	%xmm0, -8(%rbp)
	movsd	.LC0(%rip), %xmm0
	comisd	-8(%rbp), %xmm0
	ja	.L7
	movsd	-8(%rbp), %xmm0
	cvttsd2sil	%xmm0, %eax
	addl	%eax, -12(%rbp)
	jmp	.L5
.L7:
	nop
	movl	-12(%rbp), %eax
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	order, .-order
	.section	.rodata
.LC1:
	.string	"%d"
.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	$272, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-268(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$2, -224(%rbp)
	movl	$1, -264(%rbp)
	movl	$3, -256(%rbp)
	jmp	.L9
.L15:
	movl	$0, -260(%rbp)
	movl	$0, -252(%rbp)
	jmp	.L10
.L13:
	movl	-252(%rbp), %eax
	cltq
	movl	-224(%rbp,%rax,4), %ecx
	movl	-256(%rbp), %eax
	cltd
	idivl	%ecx
	movl	%edx, %eax
	testl	%eax, %eax
	jne	.L11
	movl	$1, -260(%rbp)
	jmp	.L12
.L11:
	addl	$1, -252(%rbp)
.L10:
	movl	-252(%rbp), %eax
	cmpl	-264(%rbp), %eax
	jl	.L13
.L12:
	cmpl	$0, -260(%rbp)
	jne	.L14
	movl	-264(%rbp), %eax
	cltq
	movl	-256(%rbp), %edx
	movl	%edx, -224(%rbp,%rax,4)
	addl	$1, -264(%rbp)
.L14:
	addl	$1, -256(%rbp)
.L9:
	cmpl	$24, -264(%rbp)
	jle	.L15
	movl	$0, -248(%rbp)
	jmp	.L16
.L17:
	movl	-248(%rbp), %eax
	cltq
	movl	-224(%rbp,%rax,4), %edx
	movl	-268(%rbp), %eax
	movl	%edx, %esi
	movl	%eax, %edi
	call	order
	movl	-248(%rbp), %edx
	movslq	%edx, %rdx
	movl	%eax, -112(%rbp,%rdx,4)
	addl	$1, -248(%rbp)
.L16:
	cmpl	$24, -248(%rbp)
	jle	.L17
	movl	$0, -244(%rbp)
	movl	$0, -264(%rbp)
	movl	$0, -240(%rbp)
	jmp	.L18
.L21:
	movl	-264(%rbp), %eax
	cltq
	movl	-112(%rbp,%rax,4), %eax
	cmpl	$1, %eax
	jle	.L41
	addl	$1, -264(%rbp)
	addl	$1, -240(%rbp)
.L18:
	cmpl	$24, -240(%rbp)
	jle	.L21
	jmp	.L20
.L41:
	nop
.L20:
	movl	$0, -236(%rbp)
	jmp	.L22
.L38:
	movl	-236(%rbp), %eax
	cltq
	movl	-112(%rbp,%rax,4), %eax
	cmpl	$73, %eax
	jle	.L23
	addl	$1, -244(%rbp)
.L23:
	movl	$0, -232(%rbp)
	jmp	.L24
.L37:
	movl	-236(%rbp), %eax
	cmpl	-232(%rbp), %eax
	je	.L42
	movl	-236(%rbp), %eax
	cltq
	movl	-112(%rbp,%rax,4), %eax
	cmpl	$1, %eax
	jle	.L27
	movl	-232(%rbp), %eax
	cltq
	movl	-112(%rbp,%rax,4), %eax
	cmpl	$23, %eax
	jle	.L27
	addl	$1, -244(%rbp)
.L27:
	movl	-236(%rbp), %eax
	cltq
	movl	-112(%rbp,%rax,4), %eax
	cmpl	$23, %eax
	jle	.L28
	movl	-232(%rbp), %eax
	cltq
	movl	-112(%rbp,%rax,4), %eax
	cmpl	$1, %eax
	jle	.L28
	addl	$1, -244(%rbp)
.L28:
	movl	-236(%rbp), %eax
	cltq
	movl	-112(%rbp,%rax,4), %eax
	cmpl	$3, %eax
	jle	.L29
	movl	-232(%rbp), %eax
	cltq
	movl	-112(%rbp,%rax,4), %eax
	cmpl	$13, %eax
	jle	.L29
	addl	$1, -244(%rbp)
.L29:
	movl	-236(%rbp), %eax
	cltq
	movl	-112(%rbp,%rax,4), %eax
	cmpl	$13, %eax
	jle	.L30
	movl	-232(%rbp), %eax
	cltq
	movl	-112(%rbp,%rax,4), %eax
	cmpl	$3, %eax
	jle	.L30
	addl	$1, -244(%rbp)
.L30:
	movl	$0, -228(%rbp)
	jmp	.L31
.L36:
	movl	-232(%rbp), %eax
	cmpl	-228(%rbp), %eax
	je	.L32
	movl	-228(%rbp), %eax
	cmpl	-236(%rbp), %eax
	je	.L32
	movl	-236(%rbp), %eax
	cltq
	movl	-112(%rbp,%rax,4), %eax
	cmpl	$1, %eax
	jle	.L33
	movl	-232(%rbp), %eax
	cltq
	movl	-112(%rbp,%rax,4), %eax
	cmpl	$3, %eax
	jle	.L33
	movl	-228(%rbp), %eax
	cltq
	movl	-112(%rbp,%rax,4), %eax
	cmpl	$3, %eax
	jle	.L33
	addl	$1, -244(%rbp)
.L33:
	movl	-236(%rbp), %eax
	cltq
	movl	-112(%rbp,%rax,4), %eax
	cmpl	$3, %eax
	jle	.L34
	movl	-232(%rbp), %eax
	cltq
	movl	-112(%rbp,%rax,4), %eax
	cmpl	$1, %eax
	jle	.L34
	movl	-228(%rbp), %eax
	cltq
	movl	-112(%rbp,%rax,4), %eax
	cmpl	$3, %eax
	jle	.L34
	addl	$1, -244(%rbp)
.L34:
	movl	-236(%rbp), %eax
	cltq
	movl	-112(%rbp,%rax,4), %eax
	cmpl	$3, %eax
	jle	.L35
	movl	-232(%rbp), %eax
	cltq
	movl	-112(%rbp,%rax,4), %eax
	cmpl	$3, %eax
	jle	.L35
	movl	-228(%rbp), %eax
	cltq
	movl	-112(%rbp,%rax,4), %eax
	cmpl	$1, %eax
	jle	.L35
	addl	$1, -244(%rbp)
.L35:
	addl	$1, -228(%rbp)
.L31:
	movl	-228(%rbp), %eax
	cmpl	-264(%rbp), %eax
	jl	.L36
.L32:
	addl	$1, -232(%rbp)
.L24:
	movl	-232(%rbp), %eax
	cmpl	-264(%rbp), %eax
	jl	.L37
	jmp	.L26
.L42:
	nop
.L26:
	addl	$1, -236(%rbp)
.L22:
	movl	-236(%rbp), %eax
	cmpl	-264(%rbp), %eax
	jl	.L38
	movl	-244(%rbp), %eax
	movl	%eax, %esi
	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	.L40
	call	__stack_chk_fail@PLT
.L40:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC0:
	.long	-652835029
	.long	1072691150
	.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	order
	.type	order, @function
order:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movl	%edi, -20(%rbp)
	movl	%esi, -24(%rbp)
	movl	$0, -12(%rbp)
	pxor	%xmm0, %xmm0
	cvtsi2sdl	-20(%rbp), %xmm0
	movsd	%xmm0, -8(%rbp)
.L5:
	pxor	%xmm1, %xmm1
	cvtsi2sdl	-24(%rbp), %xmm1
	movsd	-8(%rbp), %xmm0
	divsd	%xmm1, %xmm0
	movsd	%xmm0, -8(%rbp)
	movsd	.LC0(%rip), %xmm0
	comisd	-8(%rbp), %xmm0
	ja	.L7
	movsd	-8(%rbp), %xmm0
	cvttsd2sil	%xmm0, %eax
	addl	%eax, -12(%rbp)
	jmp	.L5
.L7:
	nop
	movl	-12(%rbp), %eax
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	order, .-order
	.section	.rodata
.LC1:
	.string	"%d"
.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	$272, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-268(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$2, -224(%rbp)
	movl	$1, -264(%rbp)
	movl	$3, -256(%rbp)
	jmp	.L9
.L15:
	movl	$0, -260(%rbp)
	movl	$0, -252(%rbp)
	jmp	.L10
.L13:
	movl	-252(%rbp), %eax
	cltq
	movl	-224(%rbp,%rax,4), %ecx
	movl	-256(%rbp), %eax
	cltd
	idivl	%ecx
	movl	%edx, %eax
	testl	%eax, %eax
	jne	.L11
	movl	$1, -260(%rbp)
	jmp	.L12
.L11:
	addl	$1, -252(%rbp)
.L10:
	movl	-252(%rbp), %eax
	cmpl	-264(%rbp), %eax
	jl	.L13
.L12:
	cmpl	$0, -260(%rbp)
	jne	.L14
	movl	-264(%rbp), %eax
	cltq
	movl	-256(%rbp), %edx
	movl	%edx, -224(%rbp,%rax,4)
	addl	$1, -264(%rbp)
.L14:
	addl	$1, -256(%rbp)
.L9:
	cmpl	$24, -264(%rbp)
	jle	.L15
	movl	$0, -248(%rbp)
	jmp	.L16
.L17:
	movl	-248(%rbp), %eax
	cltq
	movl	-224(%rbp,%rax,4), %edx
	movl	-268(%rbp), %eax
	movl	%edx, %esi
	movl	%eax, %edi
	call	order
	movl	-248(%rbp), %edx
	movslq	%edx, %rdx
	movl	%eax, -112(%rbp,%rdx,4)
	addl	$1, -248(%rbp)
.L16:
	cmpl	$24, -248(%rbp)
	jle	.L17
	movl	$0, -244(%rbp)
	movl	$0, -264(%rbp)
	movl	$0, -240(%rbp)
	jmp	.L18
.L21:
	movl	-264(%rbp), %eax
	cltq
	movl	-112(%rbp,%rax,4), %eax
	cmpl	$1, %eax
	jle	.L41
	addl	$1, -264(%rbp)
	addl	$1, -240(%rbp)
.L18:
	cmpl	$24, -240(%rbp)
	jle	.L21
	jmp	.L20
.L41:
	nop
.L20:
	movl	$0, -236(%rbp)
	jmp	.L22
.L38:
	movl	-236(%rbp), %eax
	cltq
	movl	-112(%rbp,%rax,4), %eax
	cmpl	$73, %eax
	jle	.L23
	addl	$1, -244(%rbp)
.L23:
	movl	$0, -232(%rbp)
	jmp	.L24
.L37:
	movl	-236(%rbp), %eax
	cmpl	-232(%rbp), %eax
	je	.L42
	movl	-236(%rbp), %eax
	cltq
	movl	-112(%rbp,%rax,4), %eax
	cmpl	$1, %eax
	jle	.L27
	movl	-232(%rbp), %eax
	cltq
	movl	-112(%rbp,%rax,4), %eax
	cmpl	$23, %eax
	jle	.L27
	addl	$1, -244(%rbp)
.L27:
	movl	-236(%rbp), %eax
	cltq
	movl	-112(%rbp,%rax,4), %eax
	cmpl	$23, %eax
	jle	.L28
	movl	-232(%rbp), %eax
	cltq
	movl	-112(%rbp,%rax,4), %eax
	cmpl	$1, %eax
	jle	.L28
	addl	$1, -244(%rbp)
.L28:
	movl	-236(%rbp), %eax
	cltq
	movl	-112(%rbp,%rax,4), %eax
	cmpl	$3, %eax
	jle	.L29
	movl	-232(%rbp), %eax
	cltq
	movl	-112(%rbp,%rax,4), %eax
	cmpl	$13, %eax
	jle	.L29
	addl	$1, -244(%rbp)
.L29:
	movl	-236(%rbp), %eax
	cltq
	movl	-112(%rbp,%rax,4), %eax
	cmpl	$13, %eax
	jle	.L30
	movl	-232(%rbp), %eax
	cltq
	movl	-112(%rbp,%rax,4), %eax
	cmpl	$3, %eax
	jle	.L30
	addl	$1, -244(%rbp)
.L30:
	movl	$0, -228(%rbp)
	jmp	.L31
.L36:
	movl	-232(%rbp), %eax
	cmpl	-228(%rbp), %eax
	je	.L32
	movl	-228(%rbp), %eax
	cmpl	-236(%rbp), %eax
	je	.L32
	movl	-236(%rbp), %eax
	cltq
	movl	-112(%rbp,%rax,4), %eax
	cmpl	$1, %eax
	jle	.L33
	movl	-232(%rbp), %eax
	cltq
	movl	-112(%rbp,%rax,4), %eax
	cmpl	$3, %eax
	jle	.L33
	movl	-228(%rbp), %eax
	cltq
	movl	-112(%rbp,%rax,4), %eax
	cmpl	$3, %eax
	jle	.L33
	addl	$1, -244(%rbp)
.L33:
	movl	-236(%rbp), %eax
	cltq
	movl	-112(%rbp,%rax,4), %eax
	cmpl	$3, %eax
	jle	.L34
	movl	-232(%rbp), %eax
	cltq
	movl	-112(%rbp,%rax,4), %eax
	cmpl	$1, %eax
	jle	.L34
	movl	-228(%rbp), %eax
	cltq
	movl	-112(%rbp,%rax,4), %eax
	cmpl	$3, %eax
	jle	.L34
	addl	$1, -244(%rbp)
.L34:
	movl	-236(%rbp), %eax
	cltq
	movl	-112(%rbp,%rax,4), %eax
	cmpl	$3, %eax
	jle	.L35
	movl	-232(%rbp), %eax
	cltq
	movl	-112(%rbp,%rax,4), %eax
	cmpl	$3, %eax
	jle	.L35
	movl	-228(%rbp), %eax
	cltq
	movl	-112(%rbp,%rax,4), %eax
	cmpl	$1, %eax
	jle	.L35
	addl	$1, -244(%rbp)
.L35:
	addl	$1, -228(%rbp)
.L31:
	movl	-228(%rbp), %eax
	cmpl	-264(%rbp), %eax
	jl	.L36
.L32:
	addl	$1, -232(%rbp)
.L24:
	movl	-232(%rbp), %eax
	cmpl	-264(%rbp), %eax
	jl	.L37
	jmp	.L26
.L42:
	nop
.L26:
	addl	$1, -236(%rbp)
.L22:
	movl	-236(%rbp), %eax
	cmpl	-264(%rbp), %eax
	jl	.L38
	movl	-244(%rbp), %eax
	movl	%eax, %esi
	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	.L40
	call	__stack_chk_fail@PLT
.L40:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC0:
	.long	-652835029
	.long	1072691150
	.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:
