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>

long long llgcd(long long a,long long b){long long c;while(b!=0){c=a%b;a=b;b=c;}return a;}
long long llmin(long long a,long long b){if(a<b){return a;}return b;}

int main(void){
  long long i,j,n,m,k,a,b,c,h,w,r=0,l,t,g;
  long long mem[64][64]={0};
  char s[64];
  scanf("%lld",&n);
  for(i=0;i<n;i++){
    scanf("%s",s);
    l=strlen(s);
    t=0;w=0;a=0;
    for(j=0;j<l;j++){
      if(s[j]=='.'){t=1;continue;}
      a*=10;
      a+=(s[j]-'0');
      if(t){w++;}
    }
    for(j=w+1;j<=9;j++){a*=10;}
    g=a;
    h=0;w=0;
    while(g%2==0){g/=2;h++;}
    while(g%5==0){g/=5;w++;}
    //printf("%lld %lld\n",h,w);
    mem[h][w]++;
  }
  for(i=0;i<64;i++){
    for(j=0;j<64;j++){
      for(k=0;k<64;k++){
        for(l=0;l<64;l++){
          if((i+k)<18 || (j+l)<18){continue;}
          if(i==k&&j==l){
            if(mem[i][j]>=2){
              r+=(mem[i][j]*(mem[i][j]-1));
            }
          }
          else{
            r+=(mem[i][j]*mem[k][l]);
          }
        }
      }
    }
  }
  printf("%lld\n",r/2);
  return 0;
}
```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	llgcd
	.type	llgcd, @function
llgcd:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movq	%rdi, -24(%rbp)
	movq	%rsi, -32(%rbp)
	jmp	.L2
.L3:
	movq	-24(%rbp), %rax
	cqto
	idivq	-32(%rbp)
	movq	%rdx, -8(%rbp)
	movq	-32(%rbp), %rax
	movq	%rax, -24(%rbp)
	movq	-8(%rbp), %rax
	movq	%rax, -32(%rbp)
.L2:
	cmpq	$0, -32(%rbp)
	jne	.L3
	movq	-24(%rbp), %rax
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	llgcd, .-llgcd
	.globl	llmin
	.type	llmin, @function
llmin:
.LFB1:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movq	%rdi, -8(%rbp)
	movq	%rsi, -16(%rbp)
	movq	-8(%rbp), %rax
	cmpq	-16(%rbp), %rax
	jge	.L6
	movq	-8(%rbp), %rax
	jmp	.L7
.L6:
	movq	-16(%rbp), %rax
.L7:
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	llmin, .-llmin
	.section	.rodata
.LC0:
	.string	"%lld"
.LC1:
	.string	"%s"
.LC2:
	.string	"%lld\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB2:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	leaq	-32768(%rsp), %r11
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	subq	$176, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movq	$0, -32880(%rbp)
	leaq	-32848(%rbp), %rax
	movl	$32768, %edx
	movl	$0, %esi
	movq	%rax, %rdi
	call	memset@PLT
	leaq	-32936(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movq	$0, -32928(%rbp)
	jmp	.L9
.L20:
	leaq	-80(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	leaq	-80(%rbp), %rax
	movq	%rax, %rdi
	call	strlen@PLT
	movq	%rax, -32872(%rbp)
	movq	$0, -32864(%rbp)
	movq	$0, -32888(%rbp)
	movq	$0, -32904(%rbp)
	movq	$0, -32920(%rbp)
	jmp	.L10
.L13:
	leaq	-80(%rbp), %rdx
	movq	-32920(%rbp), %rax
	addq	%rdx, %rax
	movzbl	(%rax), %eax
	cmpb	$46, %al
	jne	.L11
	movq	$1, -32864(%rbp)
	jmp	.L12
.L11:
	movq	-32904(%rbp), %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rax, %rax
	movq	%rax, -32904(%rbp)
	leaq	-80(%rbp), %rdx
	movq	-32920(%rbp), %rax
	addq	%rdx, %rax
	movzbl	(%rax), %eax
	movsbl	%al, %eax
	subl	$48, %eax
	cltq
	addq	%rax, -32904(%rbp)
	cmpq	$0, -32864(%rbp)
	je	.L12
	addq	$1, -32888(%rbp)
.L12:
	addq	$1, -32920(%rbp)
.L10:
	movq	-32920(%rbp), %rax
	cmpq	-32872(%rbp), %rax
	jl	.L13
	movq	-32888(%rbp), %rax
	addq	$1, %rax
	movq	%rax, -32920(%rbp)
	jmp	.L14
.L15:
	movq	-32904(%rbp), %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rax, %rax
	movq	%rax, -32904(%rbp)
	addq	$1, -32920(%rbp)
.L14:
	cmpq	$9, -32920(%rbp)
	jle	.L15
	movq	-32904(%rbp), %rax
	movq	%rax, -32856(%rbp)
	movq	$0, -32896(%rbp)
	movq	$0, -32888(%rbp)
	jmp	.L16
.L17:
	movq	-32856(%rbp), %rax
	movq	%rax, %rdx
	shrq	$63, %rdx
	addq	%rdx, %rax
	sarq	%rax
	movq	%rax, -32856(%rbp)
	addq	$1, -32896(%rbp)
.L16:
	movq	-32856(%rbp), %rax
	andl	$1, %eax
	testq	%rax, %rax
	je	.L17
	jmp	.L18
.L19:
	movq	-32856(%rbp), %rcx
	movabsq	$7378697629483820647, %rdx
	movq	%rcx, %rax
	imulq	%rdx
	movq	%rdx, %rax
	sarq	%rax
	sarq	$63, %rcx
	movq	%rcx, %rdx
	subq	%rdx, %rax
	movq	%rax, -32856(%rbp)
	addq	$1, -32888(%rbp)
.L18:
	movq	-32856(%rbp), %rcx
	movabsq	$7378697629483820647, %rdx
	movq	%rcx, %rax
	imulq	%rdx
	movq	%rdx, %rax
	sarq	%rax
	movq	%rcx, %rdx
	sarq	$63, %rdx
	subq	%rdx, %rax
	movq	%rax, %rdx
	salq	$2, %rdx
	addq	%rax, %rdx
	movq	%rcx, %rax
	subq	%rdx, %rax
	testq	%rax, %rax
	je	.L19
	movq	-32896(%rbp), %rax
	salq	$6, %rax
	movq	%rax, %rdx
	movq	-32888(%rbp), %rax
	addq	%rdx, %rax
	movq	-32848(%rbp,%rax,8), %rax
	leaq	1(%rax), %rdx
	movq	-32896(%rbp), %rax
	salq	$6, %rax
	movq	%rax, %rcx
	movq	-32888(%rbp), %rax
	addq	%rcx, %rax
	movq	%rdx, -32848(%rbp,%rax,8)
	addq	$1, -32928(%rbp)
.L9:
	movq	-32936(%rbp), %rax
	cmpq	%rax, -32928(%rbp)
	jl	.L20
	movq	$0, -32928(%rbp)
	jmp	.L21
.L33:
	movq	$0, -32920(%rbp)
	jmp	.L22
.L32:
	movq	$0, -32912(%rbp)
	jmp	.L23
.L31:
	movq	$0, -32872(%rbp)
	jmp	.L24
.L30:
	movq	-32928(%rbp), %rdx
	movq	-32912(%rbp), %rax
	addq	%rdx, %rax
	cmpq	$17, %rax
	jle	.L36
	movq	-32920(%rbp), %rdx
	movq	-32872(%rbp), %rax
	addq	%rdx, %rax
	cmpq	$17, %rax
	jle	.L36
	movq	-32928(%rbp), %rax
	cmpq	-32912(%rbp), %rax
	jne	.L28
	movq	-32920(%rbp), %rax
	cmpq	-32872(%rbp), %rax
	jne	.L28
	movq	-32928(%rbp), %rax
	salq	$6, %rax
	movq	%rax, %rdx
	movq	-32920(%rbp), %rax
	addq	%rdx, %rax
	movq	-32848(%rbp,%rax,8), %rax
	cmpq	$1, %rax
	jle	.L27
	movq	-32928(%rbp), %rax
	salq	$6, %rax
	movq	%rax, %rdx
	movq	-32920(%rbp), %rax
	addq	%rdx, %rax
	movq	-32848(%rbp,%rax,8), %rax
	movq	-32928(%rbp), %rdx
	movq	%rdx, %rcx
	salq	$6, %rcx
	movq	-32920(%rbp), %rdx
	addq	%rcx, %rdx
	movq	-32848(%rbp,%rdx,8), %rdx
	subq	$1, %rdx
	imulq	%rdx, %rax
	addq	%rax, -32880(%rbp)
	jmp	.L27
.L28:
	movq	-32928(%rbp), %rax
	salq	$6, %rax
	movq	%rax, %rdx
	movq	-32920(%rbp), %rax
	addq	%rdx, %rax
	movq	-32848(%rbp,%rax,8), %rdx
	movq	-32912(%rbp), %rax
	salq	$6, %rax
	movq	%rax, %rcx
	movq	-32872(%rbp), %rax
	addq	%rcx, %rax
	movq	-32848(%rbp,%rax,8), %rax
	imulq	%rdx, %rax
	addq	%rax, -32880(%rbp)
	jmp	.L27
.L36:
	nop
.L27:
	addq	$1, -32872(%rbp)
.L24:
	cmpq	$63, -32872(%rbp)
	jle	.L30
	addq	$1, -32912(%rbp)
.L23:
	cmpq	$63, -32912(%rbp)
	jle	.L31
	addq	$1, -32920(%rbp)
.L22:
	cmpq	$63, -32920(%rbp)
	jle	.L32
	addq	$1, -32928(%rbp)
.L21:
	cmpq	$63, -32928(%rbp)
	jle	.L33
	movq	-32880(%rbp), %rax
	movq	%rax, %rdx
	shrq	$63, %rdx
	addq	%rdx, %rax
	sarq	%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	.L35
	call	__stack_chk_fail@PLT
.L35:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.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	llgcd
	.type	llgcd, @function
llgcd:
.LFB35:
	.cfi_startproc
	endbr64
	movq	%rdi, %rax
	movq	%rsi, %rdx
	testq	%rsi, %rsi
	je	.L4
	.p2align 4,,10
	.p2align 3
.L3:
	movq	%rdx, %r8
	cqto
	idivq	%r8
	movq	%r8, %rax
	testq	%rdx, %rdx
	jne	.L3
	movq	%r8, %rax
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	movq	%rdi, %r8
	movq	%r8, %rax
	ret
	.cfi_endproc
.LFE35:
	.size	llgcd, .-llgcd
	.p2align 4
	.globl	llmin
	.type	llmin, @function
llmin:
.LFB36:
	.cfi_startproc
	endbr64
	cmpq	%rsi, %rdi
	movq	%rsi, %rax
	cmovle	%rdi, %rax
	ret
	.cfi_endproc
.LFE36:
	.size	llmin, .-llmin
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%lld"
.LC1:
	.string	"%s"
.LC2:
	.string	"%lld\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB37:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	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
	leaq	-32768(%rsp), %r11
	.cfi_def_cfa 11, 32824
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$104, %rsp
	.cfi_def_cfa_offset 32928
	xorl	%esi, %esi
	movl	$32768, %edx
	xorl	%r12d, %r12d
	leaq	.LC1(%rip), %r14
	movabsq	$7378697629483820647, %r13
	movabsq	$-3689348814741910323, %rbp
	movq	%fs:40, %rax
	movq	%rax, 32856(%rsp)
	xorl	%eax, %eax
	leaq	16(%rsp), %rbx
	leaq	32784(%rsp), %r15
	movq	%rbx, %rdi
	call	memset@PLT
	xorl	%eax, %eax
	leaq	8(%rsp), %rsi
	leaq	.LC0(%rip), %rdi
	call	__isoc99_scanf@PLT
	cmpq	$0, 8(%rsp)
	jle	.L20
.L9:
	movq	%r14, %rdi
	xorl	%eax, %eax
	movq	%r15, %rsi
	call	__isoc99_scanf@PLT
	movq	%r15, %rdi
	call	strlen@PLT
	testq	%rax, %rax
	je	.L33
	movq	%r15, %rdi
	leaq	(%r15,%rax), %rsi
	xorl	%r8d, %r8d
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	jmp	.L13
.L74:
	subl	$48, %eax
	cmpq	$1, %r8
	leaq	(%rcx,%rcx,4), %rcx
	cltq
	sbbq	$-1, %rdx
	addq	$1, %rdi
	leaq	(%rax,%rcx,2), %rcx
	cmpq	%rsi, %rdi
	je	.L73
.L13:
	movsbl	(%rdi), %eax
	cmpb	$46, %al
	jne	.L74
	addq	$1, %rdi
	movl	$1, %r8d
	cmpq	%rsi, %rdi
	jne	.L13
.L73:
	leaq	1(%rdx), %rax
	cmpq	$9, %rax
	jg	.L14
	leaq	(%rcx,%rcx,4), %rax
	leaq	(%rax,%rax), %rcx
	cmpq	$8, %rdx
	je	.L14
	leaq	(%rax,%rax,4), %rax
	leaq	3(%rdx), %rsi
	salq	$2, %rax
	movq	%rax, %rcx
	cmpq	$7, %rdx
	je	.L14
.L11:
	leaq	(%rax,%rax,4), %rdx
	leaq	(%rdx,%rdx), %rcx
	cmpq	$9, %rsi
	je	.L14
	leaq	(%rdx,%rdx,4), %rcx
	salq	$2, %rcx
	cmpq	$8, %rsi
	je	.L14
	imulq	$1000, %rax, %rcx
	cmpq	$7, %rsi
	je	.L14
	imulq	$10000, %rax, %rcx
	cmpq	$6, %rsi
	je	.L14
	imulq	$100000, %rax, %rcx
	leaq	5(%rsi), %rdx
	cmpq	$5, %rsi
	je	.L14
	imulq	$1000000, %rax, %rcx
	cmpq	$8, %rdx
	jne	.L14
	imulq	$10000000, %rax, %rcx
.L14:
	xorl	%edi, %edi
	testb	$1, %cl
	jne	.L16
.L17:
	movq	%rcx, %rax
	addq	$1, %rdi
	shrq	$63, %rax
	addq	%rcx, %rax
	movq	%rax, %rcx
	sarq	%rcx
	testb	$2, %al
	je	.L17
.L16:
	movq	%rcx, %rax
	imulq	%r13
	movq	%rcx, %rax
	sarq	$63, %rax
	sarq	%rdx
	movq	%rdx, %rsi
	subq	%rax, %rsi
	leaq	(%rsi,%rsi,4), %rax
	movq	%rcx, %rsi
	subq	%rax, %rsi
	jne	.L36
	movabsq	$1844674407370955161, %r9
	movabsq	$3689348814741910322, %r8
.L19:
	movq	%rcx, %rax
	addq	$1, %rsi
	imulq	%r13
	movq	%rcx, %rax
	sarq	$63, %rax
	sarq	%rdx
	movq	%rdx, %rcx
	subq	%rax, %rcx
	movq	%rcx, %rax
	imulq	%rbp, %rax
	addq	%r9, %rax
	cmpq	%r8, %rax
	jbe	.L19
.L18:
	movq	%rdi, %rax
	addq	$1, %r12
	salq	$6, %rax
	addq	%rsi, %rax
	addq	$1, 16(%rsp,%rax,8)
	cmpq	%r12, 8(%rsp)
	jg	.L9
.L20:
	movq	%rbx, %rbp
	xorl	%esi, %esi
	xorl	%r10d, %r10d
.L10:
	movq	%rbp, %r8
	xorl	%ecx, %ecx
.L30:
	movq	%rbx, %r11
	xorl	%r9d, %r9d
	.p2align 4,,10
	.p2align 3
.L28:
	leaq	(%r9,%r10), %rax
	cmpq	$17, %rax
	jbe	.L22
	xorl	%eax, %eax
	jmp	.L26
	.p2align 4,,10
	.p2align 3
.L75:
	cmpq	%r9, %r10
	jne	.L37
	cmpq	$1, %rdx
	jle	.L23
	leaq	-1(%rdx), %rdi
	imulq	%rdi, %rdx
	addq	%rdx, %rsi
.L23:
	addq	$1, %rax
	cmpq	$64, %rax
	je	.L22
.L26:
	leaq	(%rcx,%rax), %rdx
	cmpq	$17, %rdx
	jbe	.L23
	movq	(%r8), %rdx
	cmpq	%rax, %rcx
	je	.L75
.L37:
	imulq	(%r11,%rax,8), %rdx
	addq	$1, %rax
	addq	%rdx, %rsi
	cmpq	$64, %rax
	jne	.L26
	.p2align 4,,10
	.p2align 3
.L22:
	addq	$1, %r9
	addq	$512, %r11
	cmpq	$64, %r9
	jne	.L28
	addq	$1, %rcx
	addq	$8, %r8
	cmpq	$64, %rcx
	jne	.L30
	addq	$1, %r10
	addq	$512, %rbp
	cmpq	$64, %r10
	jne	.L10
	movq	%rsi, %rdx
	xorl	%eax, %eax
	movl	$1, %edi
	shrq	$63, %rdx
	addq	%rsi, %rdx
	leaq	.LC2(%rip), %rsi
	sarq	%rdx
	call	__printf_chk@PLT
	movq	32856(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L76
	addq	$32872, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xorl	%eax, %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
.L36:
	.cfi_restore_state
	xorl	%esi, %esi
	jmp	.L18
.L33:
	xorl	%eax, %eax
	movl	$3, %esi
	jmp	.L11
.L76:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE37:
	.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
	.p2align 4
	.globl	llgcd
	.type	llgcd, @function
llgcd:
.LFB35:
	.cfi_startproc
	endbr64
	movq	%rdi, %rax
	movq	%rsi, %rdx
	testq	%rsi, %rsi
	je	.L4
	.p2align 4,,10
	.p2align 3
.L3:
	movq	%rdx, %r8
	cqto
	idivq	%r8
	movq	%r8, %rax
	testq	%rdx, %rdx
	jne	.L3
	movq	%r8, %rax
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	movq	%rdi, %r8
	movq	%r8, %rax
	ret
	.cfi_endproc
.LFE35:
	.size	llgcd, .-llgcd
	.p2align 4
	.globl	llmin
	.type	llmin, @function
llmin:
.LFB36:
	.cfi_startproc
	endbr64
	cmpq	%rsi, %rdi
	movq	%rsi, %rax
	cmovle	%rdi, %rax
	ret
	.cfi_endproc
.LFE36:
	.size	llmin, .-llmin
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%lld"
.LC1:
	.string	"%s"
.LC2:
	.string	"%lld\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB37:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	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
	leaq	-32768(%rsp), %r11
	.cfi_def_cfa 11, 32824
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$104, %rsp
	.cfi_def_cfa_offset 32928
	xorl	%esi, %esi
	movl	$32768, %edx
	xorl	%r12d, %r12d
	leaq	.LC1(%rip), %r14
	movabsq	$7378697629483820647, %r13
	movabsq	$-3689348814741910323, %rbp
	movq	%fs:40, %rax
	movq	%rax, 32856(%rsp)
	xorl	%eax, %eax
	leaq	16(%rsp), %rbx
	leaq	32784(%rsp), %r15
	movq	%rbx, %rdi
	call	memset@PLT
	xorl	%eax, %eax
	leaq	8(%rsp), %rsi
	leaq	.LC0(%rip), %rdi
	call	__isoc99_scanf@PLT
	cmpq	$0, 8(%rsp)
	jle	.L20
.L9:
	movq	%r14, %rdi
	xorl	%eax, %eax
	movq	%r15, %rsi
	call	__isoc99_scanf@PLT
	movq	%r15, %rdi
	call	strlen@PLT
	testq	%rax, %rax
	je	.L33
	movq	%r15, %rdi
	leaq	(%r15,%rax), %rsi
	xorl	%r8d, %r8d
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	jmp	.L13
.L74:
	subl	$48, %eax
	cmpq	$1, %r8
	leaq	(%rcx,%rcx,4), %rcx
	cltq
	sbbq	$-1, %rdx
	addq	$1, %rdi
	leaq	(%rax,%rcx,2), %rcx
	cmpq	%rsi, %rdi
	je	.L73
.L13:
	movsbl	(%rdi), %eax
	cmpb	$46, %al
	jne	.L74
	addq	$1, %rdi
	movl	$1, %r8d
	cmpq	%rsi, %rdi
	jne	.L13
.L73:
	leaq	1(%rdx), %rax
	cmpq	$9, %rax
	jg	.L14
	leaq	(%rcx,%rcx,4), %rax
	leaq	(%rax,%rax), %rcx
	cmpq	$8, %rdx
	je	.L14
	leaq	(%rax,%rax,4), %rax
	leaq	3(%rdx), %rsi
	salq	$2, %rax
	movq	%rax, %rcx
	cmpq	$7, %rdx
	je	.L14
.L11:
	leaq	(%rax,%rax,4), %rdx
	leaq	(%rdx,%rdx), %rcx
	cmpq	$9, %rsi
	je	.L14
	leaq	(%rdx,%rdx,4), %rcx
	salq	$2, %rcx
	cmpq	$8, %rsi
	je	.L14
	imulq	$1000, %rax, %rcx
	cmpq	$7, %rsi
	je	.L14
	imulq	$10000, %rax, %rcx
	cmpq	$6, %rsi
	je	.L14
	imulq	$100000, %rax, %rcx
	leaq	5(%rsi), %rdx
	cmpq	$5, %rsi
	je	.L14
	imulq	$1000000, %rax, %rcx
	cmpq	$8, %rdx
	jne	.L14
	imulq	$10000000, %rax, %rcx
.L14:
	xorl	%edi, %edi
	testb	$1, %cl
	jne	.L16
.L17:
	movq	%rcx, %rax
	addq	$1, %rdi
	shrq	$63, %rax
	addq	%rcx, %rax
	movq	%rax, %rcx
	sarq	%rcx
	testb	$2, %al
	je	.L17
.L16:
	movq	%rcx, %rax
	imulq	%r13
	movq	%rcx, %rax
	sarq	$63, %rax
	sarq	%rdx
	movq	%rdx, %rsi
	subq	%rax, %rsi
	leaq	(%rsi,%rsi,4), %rax
	movq	%rcx, %rsi
	subq	%rax, %rsi
	jne	.L36
	movabsq	$1844674407370955161, %r9
	movabsq	$3689348814741910322, %r8
.L19:
	movq	%rcx, %rax
	addq	$1, %rsi
	imulq	%r13
	movq	%rcx, %rax
	sarq	$63, %rax
	sarq	%rdx
	movq	%rdx, %rcx
	subq	%rax, %rcx
	movq	%rcx, %rax
	imulq	%rbp, %rax
	addq	%r9, %rax
	cmpq	%r8, %rax
	jbe	.L19
.L18:
	movq	%rdi, %rax
	addq	$1, %r12
	salq	$6, %rax
	addq	%rsi, %rax
	addq	$1, 16(%rsp,%rax,8)
	cmpq	%r12, 8(%rsp)
	jg	.L9
.L20:
	movq	%rbx, %rbp
	xorl	%esi, %esi
	xorl	%r10d, %r10d
.L10:
	movq	%rbp, %r8
	xorl	%ecx, %ecx
.L30:
	movq	%rbx, %r11
	xorl	%r9d, %r9d
	.p2align 4,,10
	.p2align 3
.L28:
	leaq	(%r9,%r10), %rax
	cmpq	$17, %rax
	jbe	.L22
	xorl	%eax, %eax
	jmp	.L26
	.p2align 4,,10
	.p2align 3
.L75:
	cmpq	%r9, %r10
	jne	.L37
	cmpq	$1, %rdx
	jle	.L23
	leaq	-1(%rdx), %rdi
	imulq	%rdi, %rdx
	addq	%rdx, %rsi
.L23:
	addq	$1, %rax
	cmpq	$64, %rax
	je	.L22
.L26:
	leaq	(%rcx,%rax), %rdx
	cmpq	$17, %rdx
	jbe	.L23
	movq	(%r8), %rdx
	cmpq	%rax, %rcx
	je	.L75
.L37:
	imulq	(%r11,%rax,8), %rdx
	addq	$1, %rax
	addq	%rdx, %rsi
	cmpq	$64, %rax
	jne	.L26
	.p2align 4,,10
	.p2align 3
.L22:
	addq	$1, %r9
	addq	$512, %r11
	cmpq	$64, %r9
	jne	.L28
	addq	$1, %rcx
	addq	$8, %r8
	cmpq	$64, %rcx
	jne	.L30
	addq	$1, %r10
	addq	$512, %rbp
	cmpq	$64, %r10
	jne	.L10
	movq	%rsi, %rdx
	xorl	%eax, %eax
	movl	$1, %edi
	shrq	$63, %rdx
	addq	%rsi, %rdx
	leaq	.LC2(%rip), %rsi
	sarq	%rdx
	call	__printf_chk@PLT
	movq	32856(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L76
	addq	$32872, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xorl	%eax, %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
.L36:
	.cfi_restore_state
	xorl	%esi, %esi
	jmp	.L18
.L33:
	xorl	%eax, %eax
	movl	$3, %esi
	jmp	.L11
.L76:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE37:
	.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<string.h>

long long llgcd(long long a,long long b){long long c;while(b!=0){c=a%b;a=b;b=c;}return a;}
long long llmin(long long a,long long b){if(a<b){return a;}return b;}

int main(void){
  long long i,j,n,m,k,a,b,c,h,w,r=0,l,t,g;
  long long mem[64][64]={0};
  char s[64];
  scanf("%lld",&n);
  for(i=0;i<n;i++){
    scanf("%s",s);
    l=strlen(s);
    t=0;w=0;a=0;
    for(j=0;j<l;j++){
      if(s[j]=='.'){t=1;continue;}
      a*=10;
      a+=(s[j]-'0');
      if(t){w++;}
    }
    for(j=w+1;j<=9;j++){a*=10;}
    g=a;
    h=0;w=0;
    while(g%2==0){g/=2;h++;}
    while(g%5==0){g/=5;w++;}
    //printf("%lld %lld\n",h,w);
    mem[h][w]++;
  }
  for(i=0;i<64;i++){
    for(j=0;j<64;j++){
      for(k=0;k<64;k++){
        for(l=0;l<64;l++){
          if((i+k)<18 || (j+l)<18){continue;}
          if(i==k&&j==l){
            if(mem[i][j]>=2){
              r+=(mem[i][j]*(mem[i][j]-1));
            }
          }
          else{
            r+=(mem[i][j]*mem[k][l]);
          }
        }
      }
    }
  }
  printf("%lld\n",r/2);
  return 0;
}

5
7.5
2.4
17.000000001
17
16.487690532545415
 5
7.950925288494011
2.4
17.000000001
17
16.487690532545415
 5
7.5
2.4
17.000000001
22
16.000000000
 11
0.9
1
1
1.25
2.30000
5
70
0.000000001
9999.999999999
0.999999999
1.7676771981771382
 5
7.5
2.4
17.000000001
22
16.47557284807662
 11
0.9
1
1
1.25
2.7527267588296525
5
70
0.000000001
9999.999999999
0.999999999
1.7676771981771382
 5
8.205736028631307
2.4
17.000000001
17
16.487690532545415
 5
8.205736028631307
2.4
17.292178828580756
17
16.487690532545415
 5
8.205736028631307
2.4
17.292178828580756
17
16.73330360342837
 5
8.205736028631307
2.4
17.649163518733673
17
16.73330360342837

1
 0
 4
 8
 2
 7
 0
 0
 0
 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<string.h>

long long llgcd(long long a,long long b){long long c;while(b!=0){c=a%b;a=b;b=c;}return a;}
long long llmin(long long a,long long b){if(a<b){return a;}return b;}

int main(void){
  long long i,j,n,m,k,a,b,c,h,w,r=0,l,t,g;
  long long mem[64][64]={0};
  char s[64];
  scanf("%lld",&n);
  for(i=0;i<n;i++){
    scanf("%s",s);
    l=strlen(s);
    t=0;w=0;a=0;
    for(j=0;j<l;j++){
      if(s[j]=='.'){t=1;continue;}
      a*=10;
      a+=(s[j]-'0');
      if(t){w++;}
    }
    for(j=w+1;j<=9;j++){a*=10;}
    g=a;
    h=0;w=0;
    while(g%2==0){g/=2;h++;}
    while(g%5==0){g/=5;w++;}
    //printf("%lld %lld\n",h,w);
    mem[h][w]++;
  }
  for(i=0;i<64;i++){
    for(j=0;j<64;j++){
      for(k=0;k<64;k++){
        for(l=0;l<64;l++){
          if((i+k)<18 || (j+l)<18){continue;}
          if(i==k&&j==l){
            if(mem[i][j]>=2){
              r+=(mem[i][j]*(mem[i][j]-1));
            }
          }
          else{
            r+=(mem[i][j]*mem[k][l]);
          }
        }
      }
    }
  }
  printf("%lld\n",r/2);
  return 0;
}
```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	llgcd
	.type	llgcd, @function
llgcd:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movq	%rdi, -24(%rbp)
	movq	%rsi, -32(%rbp)
	jmp	.L2
.L3:
	movq	-24(%rbp), %rax
	cqto
	idivq	-32(%rbp)
	movq	%rdx, -8(%rbp)
	movq	-32(%rbp), %rax
	movq	%rax, -24(%rbp)
	movq	-8(%rbp), %rax
	movq	%rax, -32(%rbp)
.L2:
	cmpq	$0, -32(%rbp)
	jne	.L3
	movq	-24(%rbp), %rax
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	llgcd, .-llgcd
	.globl	llmin
	.type	llmin, @function
llmin:
.LFB1:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movq	%rdi, -8(%rbp)
	movq	%rsi, -16(%rbp)
	movq	-8(%rbp), %rax
	cmpq	-16(%rbp), %rax
	jge	.L6
	movq	-8(%rbp), %rax
	jmp	.L7
.L6:
	movq	-16(%rbp), %rax
.L7:
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	llmin, .-llmin
	.section	.rodata
.LC0:
	.string	"%lld"
.LC1:
	.string	"%s"
.LC2:
	.string	"%lld\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB2:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	leaq	-32768(%rsp), %r11
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	subq	$176, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movq	$0, -32880(%rbp)
	leaq	-32848(%rbp), %rax
	movl	$32768, %edx
	movl	$0, %esi
	movq	%rax, %rdi
	call	memset@PLT
	leaq	-32936(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movq	$0, -32928(%rbp)
	jmp	.L9
.L20:
	leaq	-80(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	leaq	-80(%rbp), %rax
	movq	%rax, %rdi
	call	strlen@PLT
	movq	%rax, -32872(%rbp)
	movq	$0, -32864(%rbp)
	movq	$0, -32888(%rbp)
	movq	$0, -32904(%rbp)
	movq	$0, -32920(%rbp)
	jmp	.L10
.L13:
	leaq	-80(%rbp), %rdx
	movq	-32920(%rbp), %rax
	addq	%rdx, %rax
	movzbl	(%rax), %eax
	cmpb	$46, %al
	jne	.L11
	movq	$1, -32864(%rbp)
	jmp	.L12
.L11:
	movq	-32904(%rbp), %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rax, %rax
	movq	%rax, -32904(%rbp)
	leaq	-80(%rbp), %rdx
	movq	-32920(%rbp), %rax
	addq	%rdx, %rax
	movzbl	(%rax), %eax
	movsbl	%al, %eax
	subl	$48, %eax
	cltq
	addq	%rax, -32904(%rbp)
	cmpq	$0, -32864(%rbp)
	je	.L12
	addq	$1, -32888(%rbp)
.L12:
	addq	$1, -32920(%rbp)
.L10:
	movq	-32920(%rbp), %rax
	cmpq	-32872(%rbp), %rax
	jl	.L13
	movq	-32888(%rbp), %rax
	addq	$1, %rax
	movq	%rax, -32920(%rbp)
	jmp	.L14
.L15:
	movq	-32904(%rbp), %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rax, %rax
	movq	%rax, -32904(%rbp)
	addq	$1, -32920(%rbp)
.L14:
	cmpq	$9, -32920(%rbp)
	jle	.L15
	movq	-32904(%rbp), %rax
	movq	%rax, -32856(%rbp)
	movq	$0, -32896(%rbp)
	movq	$0, -32888(%rbp)
	jmp	.L16
.L17:
	movq	-32856(%rbp), %rax
	movq	%rax, %rdx
	shrq	$63, %rdx
	addq	%rdx, %rax
	sarq	%rax
	movq	%rax, -32856(%rbp)
	addq	$1, -32896(%rbp)
.L16:
	movq	-32856(%rbp), %rax
	andl	$1, %eax
	testq	%rax, %rax
	je	.L17
	jmp	.L18
.L19:
	movq	-32856(%rbp), %rcx
	movabsq	$7378697629483820647, %rdx
	movq	%rcx, %rax
	imulq	%rdx
	movq	%rdx, %rax
	sarq	%rax
	sarq	$63, %rcx
	movq	%rcx, %rdx
	subq	%rdx, %rax
	movq	%rax, -32856(%rbp)
	addq	$1, -32888(%rbp)
.L18:
	movq	-32856(%rbp), %rcx
	movabsq	$7378697629483820647, %rdx
	movq	%rcx, %rax
	imulq	%rdx
	movq	%rdx, %rax
	sarq	%rax
	movq	%rcx, %rdx
	sarq	$63, %rdx
	subq	%rdx, %rax
	movq	%rax, %rdx
	salq	$2, %rdx
	addq	%rax, %rdx
	movq	%rcx, %rax
	subq	%rdx, %rax
	testq	%rax, %rax
	je	.L19
	movq	-32896(%rbp), %rax
	salq	$6, %rax
	movq	%rax, %rdx
	movq	-32888(%rbp), %rax
	addq	%rdx, %rax
	movq	-32848(%rbp,%rax,8), %rax
	leaq	1(%rax), %rdx
	movq	-32896(%rbp), %rax
	salq	$6, %rax
	movq	%rax, %rcx
	movq	-32888(%rbp), %rax
	addq	%rcx, %rax
	movq	%rdx, -32848(%rbp,%rax,8)
	addq	$1, -32928(%rbp)
.L9:
	movq	-32936(%rbp), %rax
	cmpq	%rax, -32928(%rbp)
	jl	.L20
	movq	$0, -32928(%rbp)
	jmp	.L21
.L33:
	movq	$0, -32920(%rbp)
	jmp	.L22
.L32:
	movq	$0, -32912(%rbp)
	jmp	.L23
.L31:
	movq	$0, -32872(%rbp)
	jmp	.L24
.L30:
	movq	-32928(%rbp), %rdx
	movq	-32912(%rbp), %rax
	addq	%rdx, %rax
	cmpq	$17, %rax
	jle	.L36
	movq	-32920(%rbp), %rdx
	movq	-32872(%rbp), %rax
	addq	%rdx, %rax
	cmpq	$17, %rax
	jle	.L36
	movq	-32928(%rbp), %rax
	cmpq	-32912(%rbp), %rax
	jne	.L28
	movq	-32920(%rbp), %rax
	cmpq	-32872(%rbp), %rax
	jne	.L28
	movq	-32928(%rbp), %rax
	salq	$6, %rax
	movq	%rax, %rdx
	movq	-32920(%rbp), %rax
	addq	%rdx, %rax
	movq	-32848(%rbp,%rax,8), %rax
	cmpq	$1, %rax
	jle	.L27
	movq	-32928(%rbp), %rax
	salq	$6, %rax
	movq	%rax, %rdx
	movq	-32920(%rbp), %rax
	addq	%rdx, %rax
	movq	-32848(%rbp,%rax,8), %rax
	movq	-32928(%rbp), %rdx
	movq	%rdx, %rcx
	salq	$6, %rcx
	movq	-32920(%rbp), %rdx
	addq	%rcx, %rdx
	movq	-32848(%rbp,%rdx,8), %rdx
	subq	$1, %rdx
	imulq	%rdx, %rax
	addq	%rax, -32880(%rbp)
	jmp	.L27
.L28:
	movq	-32928(%rbp), %rax
	salq	$6, %rax
	movq	%rax, %rdx
	movq	-32920(%rbp), %rax
	addq	%rdx, %rax
	movq	-32848(%rbp,%rax,8), %rdx
	movq	-32912(%rbp), %rax
	salq	$6, %rax
	movq	%rax, %rcx
	movq	-32872(%rbp), %rax
	addq	%rcx, %rax
	movq	-32848(%rbp,%rax,8), %rax
	imulq	%rdx, %rax
	addq	%rax, -32880(%rbp)
	jmp	.L27
.L36:
	nop
.L27:
	addq	$1, -32872(%rbp)
.L24:
	cmpq	$63, -32872(%rbp)
	jle	.L30
	addq	$1, -32912(%rbp)
.L23:
	cmpq	$63, -32912(%rbp)
	jle	.L31
	addq	$1, -32920(%rbp)
.L22:
	cmpq	$63, -32920(%rbp)
	jle	.L32
	addq	$1, -32928(%rbp)
.L21:
	cmpq	$63, -32928(%rbp)
	jle	.L33
	movq	-32880(%rbp), %rax
	movq	%rax, %rdx
	shrq	$63, %rdx
	addq	%rdx, %rax
	sarq	%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	.L35
	call	__stack_chk_fail@PLT
.L35:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.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	llgcd
	.type	llgcd, @function
llgcd:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movq	%rdi, -24(%rbp)
	movq	%rsi, -32(%rbp)
	jmp	.L2
.L3:
	movq	-24(%rbp), %rax
	cqto
	idivq	-32(%rbp)
	movq	%rdx, -8(%rbp)
	movq	-32(%rbp), %rax
	movq	%rax, -24(%rbp)
	movq	-8(%rbp), %rax
	movq	%rax, -32(%rbp)
.L2:
	cmpq	$0, -32(%rbp)
	jne	.L3
	movq	-24(%rbp), %rax
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	llgcd, .-llgcd
	.globl	llmin
	.type	llmin, @function
llmin:
.LFB1:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movq	%rdi, -8(%rbp)
	movq	%rsi, -16(%rbp)
	movq	-8(%rbp), %rax
	cmpq	-16(%rbp), %rax
	jge	.L6
	movq	-8(%rbp), %rax
	jmp	.L7
.L6:
	movq	-16(%rbp), %rax
.L7:
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	llmin, .-llmin
	.section	.rodata
.LC0:
	.string	"%lld"
.LC1:
	.string	"%s"
.LC2:
	.string	"%lld\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB2:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	leaq	-32768(%rsp), %r11
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	subq	$176, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movq	$0, -32880(%rbp)
	leaq	-32848(%rbp), %rax
	movl	$32768, %edx
	movl	$0, %esi
	movq	%rax, %rdi
	call	memset@PLT
	leaq	-32936(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movq	$0, -32928(%rbp)
	jmp	.L9
.L20:
	leaq	-80(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	leaq	-80(%rbp), %rax
	movq	%rax, %rdi
	call	strlen@PLT
	movq	%rax, -32872(%rbp)
	movq	$0, -32864(%rbp)
	movq	$0, -32888(%rbp)
	movq	$0, -32904(%rbp)
	movq	$0, -32920(%rbp)
	jmp	.L10
.L13:
	leaq	-80(%rbp), %rdx
	movq	-32920(%rbp), %rax
	addq	%rdx, %rax
	movzbl	(%rax), %eax
	cmpb	$46, %al
	jne	.L11
	movq	$1, -32864(%rbp)
	jmp	.L12
.L11:
	movq	-32904(%rbp), %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rax, %rax
	movq	%rax, -32904(%rbp)
	leaq	-80(%rbp), %rdx
	movq	-32920(%rbp), %rax
	addq	%rdx, %rax
	movzbl	(%rax), %eax
	movsbl	%al, %eax
	subl	$48, %eax
	cltq
	addq	%rax, -32904(%rbp)
	cmpq	$0, -32864(%rbp)
	je	.L12
	addq	$1, -32888(%rbp)
.L12:
	addq	$1, -32920(%rbp)
.L10:
	movq	-32920(%rbp), %rax
	cmpq	-32872(%rbp), %rax
	jl	.L13
	movq	-32888(%rbp), %rax
	addq	$1, %rax
	movq	%rax, -32920(%rbp)
	jmp	.L14
.L15:
	movq	-32904(%rbp), %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rax, %rax
	movq	%rax, -32904(%rbp)
	addq	$1, -32920(%rbp)
.L14:
	cmpq	$9, -32920(%rbp)
	jle	.L15
	movq	-32904(%rbp), %rax
	movq	%rax, -32856(%rbp)
	movq	$0, -32896(%rbp)
	movq	$0, -32888(%rbp)
	jmp	.L16
.L17:
	movq	-32856(%rbp), %rax
	movq	%rax, %rdx
	shrq	$63, %rdx
	addq	%rdx, %rax
	sarq	%rax
	movq	%rax, -32856(%rbp)
	addq	$1, -32896(%rbp)
.L16:
	movq	-32856(%rbp), %rax
	andl	$1, %eax
	testq	%rax, %rax
	je	.L17
	jmp	.L18
.L19:
	movq	-32856(%rbp), %rcx
	movabsq	$7378697629483820647, %rdx
	movq	%rcx, %rax
	imulq	%rdx
	movq	%rdx, %rax
	sarq	%rax
	sarq	$63, %rcx
	movq	%rcx, %rdx
	subq	%rdx, %rax
	movq	%rax, -32856(%rbp)
	addq	$1, -32888(%rbp)
.L18:
	movq	-32856(%rbp), %rcx
	movabsq	$7378697629483820647, %rdx
	movq	%rcx, %rax
	imulq	%rdx
	movq	%rdx, %rax
	sarq	%rax
	movq	%rcx, %rdx
	sarq	$63, %rdx
	subq	%rdx, %rax
	movq	%rax, %rdx
	salq	$2, %rdx
	addq	%rax, %rdx
	movq	%rcx, %rax
	subq	%rdx, %rax
	testq	%rax, %rax
	je	.L19
	movq	-32896(%rbp), %rax
	salq	$6, %rax
	movq	%rax, %rdx
	movq	-32888(%rbp), %rax
	addq	%rdx, %rax
	movq	-32848(%rbp,%rax,8), %rax
	leaq	1(%rax), %rdx
	movq	-32896(%rbp), %rax
	salq	$6, %rax
	movq	%rax, %rcx
	movq	-32888(%rbp), %rax
	addq	%rcx, %rax
	movq	%rdx, -32848(%rbp,%rax,8)
	addq	$1, -32928(%rbp)
.L9:
	movq	-32936(%rbp), %rax
	cmpq	%rax, -32928(%rbp)
	jl	.L20
	movq	$0, -32928(%rbp)
	jmp	.L21
.L33:
	movq	$0, -32920(%rbp)
	jmp	.L22
.L32:
	movq	$0, -32912(%rbp)
	jmp	.L23
.L31:
	movq	$0, -32872(%rbp)
	jmp	.L24
.L30:
	movq	-32928(%rbp), %rdx
	movq	-32912(%rbp), %rax
	addq	%rdx, %rax
	cmpq	$17, %rax
	jle	.L36
	movq	-32920(%rbp), %rdx
	movq	-32872(%rbp), %rax
	addq	%rdx, %rax
	cmpq	$17, %rax
	jle	.L36
	movq	-32928(%rbp), %rax
	cmpq	-32912(%rbp), %rax
	jne	.L28
	movq	-32920(%rbp), %rax
	cmpq	-32872(%rbp), %rax
	jne	.L28
	movq	-32928(%rbp), %rax
	salq	$6, %rax
	movq	%rax, %rdx
	movq	-32920(%rbp), %rax
	addq	%rdx, %rax
	movq	-32848(%rbp,%rax,8), %rax
	cmpq	$1, %rax
	jle	.L27
	movq	-32928(%rbp), %rax
	salq	$6, %rax
	movq	%rax, %rdx
	movq	-32920(%rbp), %rax
	addq	%rdx, %rax
	movq	-32848(%rbp,%rax,8), %rax
	movq	-32928(%rbp), %rdx
	movq	%rdx, %rcx
	salq	$6, %rcx
	movq	-32920(%rbp), %rdx
	addq	%rcx, %rdx
	movq	-32848(%rbp,%rdx,8), %rdx
	subq	$1, %rdx
	imulq	%rdx, %rax
	addq	%rax, -32880(%rbp)
	jmp	.L27
.L28:
	movq	-32928(%rbp), %rax
	salq	$6, %rax
	movq	%rax, %rdx
	movq	-32920(%rbp), %rax
	addq	%rdx, %rax
	movq	-32848(%rbp,%rax,8), %rdx
	movq	-32912(%rbp), %rax
	salq	$6, %rax
	movq	%rax, %rcx
	movq	-32872(%rbp), %rax
	addq	%rcx, %rax
	movq	-32848(%rbp,%rax,8), %rax
	imulq	%rdx, %rax
	addq	%rax, -32880(%rbp)
	jmp	.L27
.L36:
	nop
.L27:
	addq	$1, -32872(%rbp)
.L24:
	cmpq	$63, -32872(%rbp)
	jle	.L30
	addq	$1, -32912(%rbp)
.L23:
	cmpq	$63, -32912(%rbp)
	jle	.L31
	addq	$1, -32920(%rbp)
.L22:
	cmpq	$63, -32920(%rbp)
	jle	.L32
	addq	$1, -32928(%rbp)
.L21:
	cmpq	$63, -32928(%rbp)
	jle	.L33
	movq	-32880(%rbp), %rax
	movq	%rax, %rdx
	shrq	$63, %rdx
	addq	%rdx, %rax
	sarq	%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	.L35
	call	__stack_chk_fail@PLT
.L35:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.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:
