// File: /workspace/github_c_makefile_star2_O3/skeeto[P]enchive/src/curve25519-donna.c
// Function: curve25519_donna
int
curve25519_donna(
        uint8_t *mypublic,
        const uint8_t *secret,
        const uint8_t *basepoint)
{
  int64_t bp[10], x[10], z[11], zmone[10];
  uint8_t e[32];
  int i;

  for (i = 0; i < 32; ++i) e[i] = secret[i];
  e[0] &= 248;
  e[31] &= 127;
  e[31] |= 64;

  fexpand(bp, basepoint);
  cmult(x, z, e, bp);
  crecip(zmone, z);
  fmul(z, x, zmone);
  fcontract(mypublic, z);
  return 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xaa8, %rsp            # imm = 0xAA8
movq %rdi, 0x20(%rsp)
movdqu (%rsi), %xmm0
movdqu 0x10(%rsi), %xmm1
leaq 0x180(%rsp), %rcx
movdqa %xmm0, (%rcx)
movdqa %xmm1, 0x10(%rcx)
andb $-0x8, (%rcx)
movb 0x1f(%rcx), %al
andb $0x3f, %al
orb $0x40, %al
movb %al, 0x1f(%rcx)
movzwl (%rdx), %eax
movzbl 0x2(%rdx), %ecx
shll $0x10, %ecx
orq %rax, %rcx
movzbl 0x3(%rdx), %eax
andl $0x3, %eax
shll $0x18, %eax
orq %rcx, %rax
leaq 0x560(%rsp), %rdi
movq %rax, (%rdi)
movl 0x3(%rdx), %ecx
shrl $0x2, %ecx
movl $0x1ffffff, %eax        # imm = 0x1FFFFFF
andl %eax, %ecx
movq %rcx, 0x8(%rdi)
movl 0x6(%rdx), %esi
shrl $0x3, %esi
movl $0x3ffffff, %ecx        # imm = 0x3FFFFFF
andl %ecx, %esi
movq %rsi, 0x10(%rdi)
movl 0x9(%rdx), %esi
shrl $0x5, %esi
andl %eax, %esi
movq %rsi, 0x18(%rdi)
movl 0xc(%rdx), %esi
shrl $0x6, %esi
movq %rsi, 0x20(%rdi)
movq %rdi, %r8
movzwl 0x10(%rdx), %esi
movzbl 0x12(%rdx), %edi
shll $0x10, %edi
orq %rsi, %rdi
movzbl 0x13(%rdx), %esi
andl $0x1, %esi
shll $0x18, %esi
orq %rdi, %rsi
movq %rsi, 0x28(%r8)
movl 0x13(%rdx), %esi
shrl %esi
andl %ecx, %esi
movq %rsi, 0x30(%r8)
movl 0x16(%rdx), %esi
shrl $0x3, %esi
andl %eax, %esi
movq %rsi, 0x38(%r8)
movl 0x19(%rdx), %esi
shrl $0x4, %esi
andl %ecx, %esi
movq %rsi, 0x40(%r8)
movl 0x1c(%rdx), %ecx
shrl $0x6, %ecx
andl %eax, %ecx
movq %rcx, 0x48(%r8)
leaq 0x650(%rsp), %rbx
movl $0x98, %edx
movq %rbx, %rdi
xorl %esi, %esi
callq 0x2160
movl $0x1, %r14d
movq %r14, (%rbx)
leaq 0x1a0(%rsp), %rbx
movl $0x98, %edx
movq %rbx, %rdi
xorl %esi, %esi
callq 0x2160
movq %r14, (%rbx)
leaq 0x380(%rsp), %rbx
movl $0x98, %edx
movq %rbx, %rdi
xorl %esi, %esi
callq 0x2160
leaq 0x830(%rsp), %rbp
movl $0x98, %edx
movq %rbp, %rdi
xorl %esi, %esi
callq 0x2160
leaq 0xa10(%rsp), %r15
movl $0x98, %edx
movq %r15, %rdi
xorl %esi, %esi
callq 0x2160
movq %r14, (%r15)
leaq 0x970(%rsp), %r12
movl $0x98, %edx
movq %r12, %rdi
xorl %esi, %esi
callq 0x2160
leaq 0x8d0(%rsp), %r13
movl $0x98, %edx
movq %r13, %rdi
xorl %esi, %esi
callq 0x2160
leaq 0x1a0(%rsp), %r8
movq %r14, (%r13)
pxor %xmm0, %xmm0
leaq 0x6f0(%rsp), %r14
movdqa %xmm0, 0x50(%r14)
movdqa %xmm0, 0x60(%r14)
movdqa %xmm0, 0x70(%r14)
movdqa %xmm0, 0x80(%r14)
movq $0x0, 0x90(%r14)
movl $0xa, %ecx
movq %r14, %rdi
leaq 0x560(%rsp), %rsi
rep  movsq (%rsi), %es:(%rdi)
leaq 0x650(%rsp), %rdi
movl $0x0, %ecx
leaq 0x180(%rsp), %rax
movq %rcx, 0x28(%rsp)
subq %rcx, %rax
movb 0x1f(%rax), %r9b
movq %r14, %rax
xorl %r10d, %r10d
movq %r13, %rcx
movq %r12, %rdx
movq %r15, %rsi
movq %r8, %r12
movq %rbx, %r13
movq %rdi, %r15
movq %rbp, %r14
movq %rcx, %rbx
movq %rax, %rbp
movl %r9d, %eax
sarb $0x7, %al
movsbl %al, %eax
movd %eax, %xmm0
pshufd $0x50, %xmm0, %xmm4     # xmm4 = xmm0[0,0,1,1]
xorl %eax, %eax
movdqu (%r12,%rax,8), %xmm0
pshufd $0xe8, %xmm0, %xmm1     # xmm1 = xmm0[0,2,2,3]
movdqu (%rbp,%rax,8), %xmm2
pxor %xmm2, %xmm0
pshufd $0xe8, %xmm0, %xmm0     # xmm0 = xmm0[0,2,2,3]
pand %xmm4, %xmm0
pxor %xmm0, %xmm1
pxor %xmm3, %xmm3
pcmpgtd %xmm1, %xmm3
punpckldq %xmm3, %xmm1    # xmm1 = xmm1[0],xmm3[0],xmm1[1],xmm3[1]
movdqu %xmm1, (%r12,%rax,8)
pshufd $0xe8, %xmm2, %xmm1     # xmm1 = xmm2[0,2,2,3]
pxor %xmm0, %xmm1
pxor %xmm0, %xmm0
pcmpgtd %xmm1, %xmm0
punpckldq %xmm0, %xmm1    # xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
movdqu %xmm1, (%rbp,%rax,8)
addq $0x2, %rax
cmpq $0xa, %rax
jne 0x5752
movq %rsi, 0x18(%rsp)
xorl %eax, %eax
movdqu (%r13,%rax,8), %xmm0
pshufd $0xe8, %xmm0, %xmm1     # xmm1 = xmm0[0,2,2,3]
movdqu (%r15,%rax,8), %xmm2
pxor %xmm2, %xmm0
pshufd $0xe8, %xmm0, %xmm0     # xmm0 = xmm0[0,2,2,3]
pand %xmm4, %xmm0
pxor %xmm0, %xmm1
pxor %xmm3, %xmm3
pcmpgtd %xmm1, %xmm3
punpckldq %xmm3, %xmm1    # xmm1 = xmm1[0],xmm3[0],xmm1[1],xmm3[1]
movdqu %xmm1, (%r13,%rax,8)
pshufd $0xe8, %xmm2, %xmm1     # xmm1 = xmm2[0,2,2,3]
pxor %xmm0, %xmm1
pxor %xmm0, %xmm0
pcmpgtd %xmm1, %xmm0
punpckldq %xmm0, %xmm1    # xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
movdqu %xmm1, (%r15,%rax,8)
addq $0x2, %rax
cmpq $0xa, %rax
jne 0x57b2
movl $0xa, %ecx
leaq 0x470(%rsp), %rdi
movq %r12, %rsi
rep  movsq (%rsi), %es:(%rdi)
movq $-0x2, %rax
movdqu 0x10(%r12,%rax,8), %xmm0
movdqu 0x10(%r13,%rax,8), %xmm1
paddq %xmm0, %xmm1
movdqu %xmm1, 0x10(%r12,%rax,8)
addq $0x2, %rax
cmpq $0x8, %rax
jb 0x5827
xorl %eax, %eax
movq 0x470(%rsp,%rax,8), %rcx
subq (%r13,%rax,8), %rcx
movq %rcx, (%r13,%rax,8)
incq %rax
cmpq $0xa, %rax
jne 0x584c
movl $0xa, %ecx
leaq 0x420(%rsp), %rdi
movq %rbp, %rsi
rep  movsq (%rsi), %es:(%rdi)
movq $-0x2, %rax
movdqu 0x10(%rbp,%rax,8), %xmm0
movdqu 0x10(%r15,%rax,8), %xmm1
paddq %xmm0, %xmm1
movdqu %xmm1, 0x10(%rbp,%rax,8)
addq $0x2, %rax
cmpq $0x8, %rax
jb 0x5881
movdqa %xmm4, 0xd0(%rsp)
movl %r10d, 0x14(%rsp)
movb %r9b, 0x7(%rsp)
movq %rdx, 0x8(%rsp)
xorl %eax, %eax
movq 0x420(%rsp,%rax,8), %rcx
subq (%r15,%rax,8), %rcx
movq %rcx, (%r15,%rax,8)
incq %rax
cmpq $0xa, %rax
jne 0x58bc
leaq 0x240(%rsp), %rdi
movq %rbp, %rsi
movq %r13, %rdx
callq 0x6329
leaq 0xe0(%rsp), %rdi
movq %r12, %rsi
movq %r15, %rdx
callq 0x6329
leaq 0x240(%rsp), %rdi
callq 0x6918
leaq 0x240(%rsp), %rdi
callq 0x69fd
leaq 0xe0(%rsp), %rdi
callq 0x6918
leaq 0xe0(%rsp), %rdi
callq 0x69fd
movl $0xa, %ecx
leaq 0x420(%rsp), %rdi
leaq 0x240(%rsp), %rsi
rep  movsq (%rsi), %es:(%rdi)
movq $-0x2, %rax
movdqa 0xf0(%rsp,%rax,8), %xmm0
paddq 0x250(%rsp,%rax,8), %xmm0
movdqa %xmm0, 0x250(%rsp,%rax,8)
addq $0x2, %rax
cmpq $0x8, %rax
jb 0x594e
xorl %eax, %eax
movdqa 0x420(%rsp,%rax,8), %xmm0
psubq 0xe0(%rsp,%rax,8), %xmm0
movdqa %xmm0, 0xe0(%rsp,%rax,8)
addq $0x2, %rax
cmpq $0xa, %rax
jne 0x5975
leaq 0x790(%rsp), %rdi
leaq 0x240(%rsp), %rsi
callq 0x6ab1
leaq 0x5b0(%rsp), %rdi
leaq 0xe0(%rsp), %rsi
callq 0x6ab1
leaq 0xe0(%rsp), %rdi
leaq 0x5b0(%rsp), %rsi
leaq 0x560(%rsp), %rdx
callq 0x6329
leaq 0xe0(%rsp), %rdi
callq 0x6918
leaq 0xe0(%rsp), %rdi
callq 0x69fd
movl $0xa, %ecx
movq %r14, %rdi
leaq 0x790(%rsp), %rsi
rep  movsq (%rsi), %es:(%rdi)
movl $0xa, %ecx
movq 0x18(%rsp), %rdi
leaq 0xe0(%rsp), %rsi
rep  movsq (%rsi), %es:(%rdi)
leaq 0x30(%rsp), %rdi
movq %r12, %rsi
callq 0x6ab1
leaq 0x4c0(%rsp), %rdi
movq %r13, %rsi
callq 0x6ab1
movq 0x8(%rsp), %rdi
leaq 0x30(%rsp), %rsi
leaq 0x4c0(%rsp), %rdx
callq 0x6329
movq 0x8(%rsp), %rdi
callq 0x6918
movq 0x8(%rsp), %rdi
callq 0x69fd
xorl %eax, %eax
movdqa 0x30(%rsp,%rax,8), %xmm0
psubq 0x4c0(%rsp,%rax,8), %xmm0
movdqa %xmm0, 0x4c0(%rsp,%rax,8)
addq $0x2, %rax
cmpq $0xa, %rax
jne 0x5a6d
pxor %xmm0, %xmm0
leaq 0x330(%rsp), %rax
movdqa %xmm0, 0x30(%rax)
movdqa %xmm0, 0x20(%rax)
movdqa %xmm0, 0x10(%rax)
movdqa %xmm0, (%rax)
movq $0x0, 0x40(%rax)
xorl %eax, %eax
movdqa 0x34c0(%rip), %xmm2     # 0x8f80
movdqa 0x4c0(%rsp,%rax,8), %xmm0
movdqa %xmm0, %xmm1
pmuludq %xmm2, %xmm1
psrlq $0x20, %xmm0
pmuludq %xmm2, %xmm0
psllq $0x20, %xmm0
paddq %xmm1, %xmm0
movdqa %xmm0, 0x2e0(%rsp,%rax,8)
addq $0x2, %rax
cmpq $0xa, %rax
jne 0x5ac0
leaq 0x2e0(%rsp), %rdi
callq 0x69fd
movq $-0x2, %rax
movdqa 0x40(%rsp,%rax,8), %xmm0
paddq 0x2f0(%rsp,%rax,8), %xmm0
movdqa %xmm0, 0x2f0(%rsp,%rax,8)
addq $0x2, %rax
cmpq $0x8, %rax
jb 0x5b0a
movq %rbx, %rdi
leaq 0x4c0(%rsp), %rsi
leaq 0x2e0(%rsp), %rdx
callq 0x6329
movq %rbx, %rdi
callq 0x6918
movq %rbx, %rdi
callq 0x69fd
xorl %eax, %eax
movq 0x8(%rsp), %r8
movdqa 0xd0(%rsp), %xmm4
movdqu (%r8,%rax,8), %xmm0
pshufd $0xe8, %xmm0, %xmm1     # xmm1 = xmm0[0,2,2,3]
movdqu (%r14,%rax,8), %xmm2
pxor %xmm2, %xmm0
pshufd $0xe8, %xmm0, %xmm0     # xmm0 = xmm0[0,2,2,3]
pand %xmm4, %xmm0
pxor %xmm0, %xmm1
pxor %xmm3, %xmm3
pcmpgtd %xmm1, %xmm3
punpckldq %xmm3, %xmm1    # xmm1 = xmm1[0],xmm3[0],xmm1[1],xmm3[1]
movdqu %xmm1, (%r8,%rax,8)
pshufd $0xe8, %xmm2, %xmm1     # xmm1 = xmm2[0,2,2,3]
pxor %xmm0, %xmm1
pxor %xmm0, %xmm0
pcmpgtd %xmm1, %xmm0
punpckldq %xmm0, %xmm1    # xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
movdqu %xmm1, (%r14,%rax,8)
addq $0x2, %rax
cmpq $0xa, %rax
jne 0x5b64
xorl %eax, %eax
movq 0x18(%rsp), %rdi
movb 0x7(%rsp), %r9b
movl 0x14(%rsp), %r10d
movdqu (%rbx,%rax,8), %xmm0
pshufd $0xe8, %xmm0, %xmm1     # xmm1 = xmm0[0,2,2,3]
movdqu (%rdi,%rax,8), %xmm2
pxor %xmm2, %xmm0
pshufd $0xe8, %xmm0, %xmm0     # xmm0 = xmm0[0,2,2,3]
pand %xmm4, %xmm0
pxor %xmm0, %xmm1
pxor %xmm3, %xmm3
pcmpgtd %xmm1, %xmm3
punpckldq %xmm3, %xmm1    # xmm1 = xmm1[0],xmm3[0],xmm1[1],xmm3[1]
movdqu %xmm1, (%rbx,%rax,8)
pshufd $0xe8, %xmm2, %xmm1     # xmm1 = xmm2[0,2,2,3]
pxor %xmm0, %xmm1
pxor %xmm0, %xmm0
pcmpgtd %xmm1, %xmm0
punpckldq %xmm0, %xmm1    # xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
movdqu %xmm1, (%rdi,%rax,8)
addq $0x2, %rax
cmpq $0xa, %rax
jne 0x5bce
addb %r9b, %r9b
incl %r10d
movq %r14, %rax
movq %r13, %rcx
movq %r12, %rdx
movq %r15, %rsi
cmpl $0x8, %r10d
jne 0x572c
movq 0x28(%rsp), %rcx
incq %rcx
cmpq $0x20, %rcx
jne 0x5709
leaq 0x470(%rsp), %rdi
movl $0xa, %ecx
movq %r8, %rsi
rep  movsq (%rsi), %es:(%rdi)
leaq 0x2e0(%rsp), %r15
movl $0xa, %ecx
movq %r15, %rdi
movq %rbx, %rsi
rep  movsq (%rsi), %es:(%rdi)
leaq 0x30(%rsp), %r12
movq %r12, %rdi
movq %r15, %rsi
callq 0x6ab1
leaq 0x380(%rsp), %rbx
movq %rbx, %rdi
movq %r12, %rsi
callq 0x6ab1
leaq 0x1a0(%rsp), %r14
movq %r14, %rdi
movq %rbx, %rsi
callq 0x6ab1
leaq 0x4c0(%rsp), %r13
movq %r13, %rdi
movq %r14, %rsi
movq %r15, %rdx
callq 0x62e8
leaq 0x240(%rsp), %r15
movq %r15, %rdi
movq %r13, %rsi
movq %r12, %rdx
callq 0x62e8
movq %r14, %rdi
movq %r15, %rsi
callq 0x6ab1
leaq 0xe0(%rsp), %r15
movq %r15, %rdi
movq %r14, %rsi
movq %r13, %rdx
callq 0x62e8
movq %r14, %rdi
movq %r15, %rsi
callq 0x6ab1
movq %rbx, %rdi
movq %r14, %rsi
callq 0x6ab1
movq %r14, %rdi
movq %rbx, %rsi
callq 0x6ab1
movq %rbx, %rdi
movq %r14, %rsi
callq 0x6ab1
movq %r14, %rdi
movq %rbx, %rsi
callq 0x6ab1
leaq 0x5b0(%rsp), %r12
movq %r12, %rdi
movq %r14, %rsi
movq %r15, %rdx
callq 0x62e8
movq %r14, %rdi
movq %r12, %rsi
callq 0x6ab1
movq %rbx, %rdi
movq %r14, %rsi
callq 0x6ab1
xorl %ebp, %ebp
movq %r14, %rdi
movq %rbx, %rsi
callq 0x6ab1
movq %rbx, %rdi
movq %r14, %rsi
callq 0x6ab1
addl $0x2, %ebp
cmpl $0x8, %ebp
jb 0x5d62
leaq 0x790(%rsp), %r15
leaq 0x380(%rsp), %rbx
leaq 0x5b0(%rsp), %rdx
movq %r15, %rdi
movq %rbx, %rsi
callq 0x62e8
leaq 0x1a0(%rsp), %r14
movq %r14, %rdi
movq %r15, %rsi
callq 0x6ab1
movq %rbx, %rdi
movq %r14, %rsi
callq 0x6ab1
xorl %ebp, %ebp
movq %r14, %rdi
movq %rbx, %rsi
callq 0x6ab1
movq %rbx, %rdi
movq %r14, %rsi
callq 0x6ab1
addl $0x2, %ebp
cmpl $0x12, %ebp
jb 0x5dc3
leaq 0x1a0(%rsp), %rbx
leaq 0x380(%rsp), %r14
leaq 0x790(%rsp), %rdx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x62e8
movq %r14, %rdi
movq %rbx, %rsi
callq 0x6ab1
movq %rbx, %rdi
movq %r14, %rsi
callq 0x6ab1
xorl %ebp, %ebp
movq %r14, %rdi
movq %rbx, %rsi
callq 0x6ab1
movq %rbx, %rdi
movq %r14, %rsi
callq 0x6ab1
addl $0x2, %ebp
cmpl $0x8, %ebp
jb 0x5e1c
leaq 0x6f0(%rsp), %r14
leaq 0x1a0(%rsp), %rbx
leaq 0x5b0(%rsp), %rdx
movq %r14, %rdi
movq %rbx, %rsi
callq 0x62e8
movq %rbx, %rdi
movq %r14, %rsi
callq 0x6ab1
leaq 0x380(%rsp), %r14
movq %r14, %rdi
movq %rbx, %rsi
callq 0x6ab1
xorl %ebp, %ebp
movq %rbx, %rdi
movq %r14, %rsi
callq 0x6ab1
movq %r14, %rdi
movq %rbx, %rsi
callq 0x6ab1
addl $0x2, %ebp
cmpl $0x30, %ebp
jb 0x5e7d
leaq 0x650(%rsp), %r14
leaq 0x380(%rsp), %rbx
leaq 0x6f0(%rsp), %rdx
movq %r14, %rdi
movq %rbx, %rsi
callq 0x62e8
movq %rbx, %rdi
movq %r14, %rsi
callq 0x6ab1
leaq 0x1a0(%rsp), %r14
movq %r14, %rdi
movq %rbx, %rsi
callq 0x6ab1
xorl %ebp, %ebp
movq %rbx, %rdi
movq %r14, %rsi
callq 0x6ab1
movq %r14, %rdi
movq %rbx, %rsi
callq 0x6ab1
addl $0x2, %ebp
cmpl $0x62, %ebp
jb 0x5ede
leaq 0x380(%rsp), %rbx
leaq 0x1a0(%rsp), %r14
leaq 0x650(%rsp), %rdx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x62e8
movq %r14, %rdi
movq %rbx, %rsi
callq 0x6ab1
movq %rbx, %rdi
movq %r14, %rsi
callq 0x6ab1
xorl %ebp, %ebp
movq %r14, %rdi
movq %rbx, %rsi
callq 0x6ab1
movq %rbx, %rdi
movq %r14, %rsi
callq 0x6ab1
addl $0x2, %ebp
cmpl $0x30, %ebp
jb 0x5f37
leaq 0x1a0(%rsp), %r14
leaq 0x380(%rsp), %rbx
leaq 0x6f0(%rsp), %rdx
movq %r14, %rdi
movq %rbx, %rsi
callq 0x62e8
movq %rbx, %rdi
movq %r14, %rsi
callq 0x6ab1
movq %r14, %rdi
movq %rbx, %rsi
callq 0x6ab1
movq %rbx, %rdi
movq %r14, %rsi
callq 0x6ab1
movq %r14, %rdi
movq %rbx, %rsi
callq 0x6ab1
movq %rbx, %rdi
movq %r14, %rsi
callq 0x6ab1
leaq 0x830(%rsp), %r14
leaq 0x240(%rsp), %rdx
movq %r14, %rdi
movq %rbx, %rsi
callq 0x62e8
leaq 0x2e0(%rsp), %rdi
leaq 0x470(%rsp), %rsi
movq %r14, %rdx
callq 0x62e8
xorl %eax, %eax
pshufd $0xe8, 0x2e0(%rsp,%rax,8), %xmm0 # xmm0 = mem[0,2,2,3]
movq %xmm0, 0x30(%rsp,%rax,4)
addq $0x2, %rax
cmpq $0xa, %rax
jne 0x5fe4
movb $0x1, %al
xorl %ecx, %ecx
movl 0x30(%rsp,%rcx,4), %esi
movl %esi, %edi
sarl $0x1f, %edi
andl %esi, %edi
movl %edi, %edx
testb $0x1, %cl
jne 0x6029
sarl $0x1a, %edx
andl $0xfc000000, %edi       # imm = 0xFC000000
subl %edi, %esi
movl %esi, 0x30(%rsp,%rcx,4)
orq $0x1, %rcx
jmp 0x603b
sarl $0x19, %edx
andl $0xfe000000, %edi       # imm = 0xFE000000
subl %edi, %esi
movl %esi, 0x30(%rsp,%rcx,4)
incq %rcx
addl %edx, 0x30(%rsp,%rcx,4)
cmpq $0x9, %rcx
jne 0x6002
movl 0x54(%rsp), %ecx
movl %ecx, %edx
sarl $0x1f, %edx
andl %ecx, %edx
movl %edx, %esi
sarl $0x19, %esi
andl $0xfe000000, %edx       # imm = 0xFE000000
subl %edx, %ecx
movl %ecx, 0x54(%rsp)
leal (%rsi,%rsi,8), %ecx
leal (%rsi,%rcx,2), %ecx
addl 0x30(%rsp), %ecx
movl %ecx, 0x30(%rsp)
testb $0x1, %al
movl $0x0, %eax
jne 0x6000
movl %ecx, %eax
sarl $0x1f, %eax
andl %ecx, %eax
movl %eax, %edx
sarl $0x1a, %edx
andl $0xfc000000, %eax       # imm = 0xFC000000
subl %eax, %ecx
movl %ecx, 0x30(%rsp)
addl %edx, 0x34(%rsp)
movb $0x1, %al
xorl %ecx, %ecx
movl 0x30(%rsp,%rcx,4), %esi
movl %esi, %edx
testb $0x1, %cl
jne 0x60b5
sarl $0x1a, %edx
andl $0x3ffffff, %esi        # imm = 0x3FFFFFF
movl %esi, 0x30(%rsp,%rcx,4)
orq $0x1, %rcx
jmp 0x60c5
sarl $0x19, %edx
andl $0x1ffffff, %esi        # imm = 0x1FFFFFF
movl %esi, 0x30(%rsp,%rcx,4)
incq %rcx
addl %edx, 0x30(%rsp,%rcx,4)
cmpq $0x9, %rcx
jne 0x6097
movl 0x54(%rsp), %ecx
movl %ecx, %edx
sarl $0x19, %edx
andl $0x1ffffff, %ecx        # imm = 0x1FFFFFF
movl %ecx, 0x54(%rsp)
leal (%rdx,%rdx,8), %ecx
leal (%rdx,%rcx,2), %edx
addl 0x30(%rsp), %edx
movl %edx, 0x30(%rsp)
testb $0x1, %al
movl $0x0, %eax
jne 0x6095
xorl %eax, %eax
cmpl $0x3ffffed, %edx        # imm = 0x3FFFFED
setge %al
negl %eax
movl $0x1, %ecx
movl 0x30(%rsp,%rcx,4), %esi
movl %ecx, %edi
orl $-0x2, %edi
shll $0x19, %edi
xorl %esi, %edi
shll $0x10, %esi
andl %edi, %esi
movl %esi, %edi
shll $0x8, %edi
andl %esi, %edi
movl %edi, %esi
shll $0x4, %esi
andl %edi, %esi
leal (,%rsi,4), %edi
andl %esi, %edi
leal (%rdi,%rdi), %esi
andl %edi, %esi
sarl $0x1f, %esi
andl %esi, %eax
incq %rcx
cmpq $0xa, %rcx
jne 0x610b
movl $0x1, %ecx
xorl %esi, %esi
testb $0x1, %cl
sete %sil
shll $0x19, %esi
orl $0x1ffffff, %esi        # imm = 0x1FFFFFF
andl %eax, %esi
subl %esi, 0x30(%rsp,%rcx,4)
incq %rcx
cmpq $0xa, %rcx
jne 0x614d
andl $0x3ffffed, %eax        # imm = 0x3FFFFED
subl %eax, %edx
movl 0x34(%rsp), %r11d
movl 0x38(%rsp), %r10d
movl 0x3c(%rsp), %r9d
movl 0x40(%rsp), %r8d
movl 0x48(%rsp), %edi
movl 0x4c(%rsp), %esi
movl 0x50(%rsp), %ecx
movl 0x54(%rsp), %eax
movq 0x20(%rsp), %rbp
movb %dl, (%rbp)
movb %dh, 0x1(%rbp)
movl %edx, %ebx
shrl $0x10, %ebx
movb %bl, 0x2(%rbp)
leal (,%r11,4), %ebx
shrl $0x18, %edx
orl %ebx, %edx
movb %dl, 0x3(%rbp)
movl %r11d, %edx
shrl $0x6, %edx
movb %dl, 0x4(%rbp)
movl %r11d, %edx
shrl $0xe, %edx
movb %dl, 0x5(%rbp)
leal (,%r10,8), %edx
shrl $0x16, %r11d
orl %edx, %r11d
movb %r11b, 0x6(%rbp)
movl %r10d, %edx
shrl $0x5, %edx
movb %dl, 0x7(%rbp)
movl %r10d, %edx
shrl $0xd, %edx
movb %dl, 0x8(%rbp)
movl %r9d, %edx
shll $0x5, %edx
shrl $0x15, %r10d
orl %edx, %r10d
movb %r10b, 0x9(%rbp)
movl %r9d, %edx
shrl $0x3, %edx
movb %dl, 0xa(%rbp)
movl %r9d, %edx
shrl $0xb, %edx
movb %dl, 0xb(%rbp)
movl %r8d, %edx
shll $0x6, %edx
shrl $0x13, %r9d
orl %edx, %r9d
movb %r9b, 0xc(%rbp)
movl %r8d, %edx
shrl $0x2, %edx
movb %dl, 0xd(%rbp)
movl %r8d, %edx
shrl $0xa, %edx
movb %dl, 0xe(%rbp)
shrl $0x12, %r8d
movb %r8b, 0xf(%rbp)
movl 0x44(%rsp), %edx
movb %dl, 0x10(%rbp)
movb %dh, 0x11(%rbp)
movl %edx, %r8d
shrl $0x10, %r8d
movb %r8b, 0x12(%rbp)
leal (%rdi,%rdi), %r8d
shrl $0x18, %edx
orl %r8d, %edx
movb %dl, 0x13(%rbp)
movl %edi, %edx
shrl $0x7, %edx
movb %dl, 0x14(%rbp)
movl %edi, %edx
shrl $0xf, %edx
movb %dl, 0x15(%rbp)
leal (,%rsi,8), %edx
shrl $0x17, %edi
orl %edx, %edi
movb %dil, 0x16(%rbp)
movl %esi, %edx
shrl $0x5, %edx
movb %dl, 0x17(%rbp)
movl %esi, %edx
shrl $0xd, %edx
movb %dl, 0x18(%rbp)
movl %ecx, %edx
shll $0x4, %edx
shrl $0x15, %esi
orl %edx, %esi
movb %sil, 0x19(%rbp)
movl %ecx, %edx
shrl $0x4, %edx
movb %dl, 0x1a(%rbp)
movl %ecx, %edx
shrl $0xc, %edx
movb %dl, 0x1b(%rbp)
movl %eax, %edx
shll $0x6, %edx
shrl $0x14, %ecx
orl %edx, %ecx
movb %cl, 0x1c(%rbp)
movl %eax, %ecx
shrl $0x2, %ecx
movb %cl, 0x1d(%rbp)
movl %eax, %ecx
shrl $0xa, %ecx
movb %cl, 0x1e(%rbp)
shrl $0x12, %eax
movb %al, 0x1f(%rbp)
xorl %eax, %eax
addq $0xaa8, %rsp            # imm = 0xAA8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq