// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/match/chain2dim.c
// Function: gt_chain_fastchaining
void gt_chain_fastchaining(const GtChain2Dimmode *chainmode,
                           GtChain2Dim *chain,
                           GtChain2Dimmatchtable *matchtable,
                           bool gapsL1,
                           unsigned int presortdim,
                           bool withequivclasses,
                           GtChain2Dimprocessor chainprocessor,
                           void *cpinfo,
                           GtLogger *logger)
{
  GT_UNUSED unsigned int retval;
  GtChain2Dimgapcostfunction chaingapcostfunction;

  gt_assert(presortdim <= 1U);
  chaingapcostfunction
    = assignchaingapcostfunction(chainmode->chainkind,gapsL1);
  if (matchtable->nextfree > 1UL)
  {
    GtChain2DimMatchstore matchstore;

    gt_logger_log(logger,"compute chain scores");
    matchstore.dictroot = NULL;
    if (chainmode->chainkind == GLOBALCHAININGWITHOVERLAPS)
    {
      gt_chain2dim_bruteforcechainingscores(chainmode,matchtable,
                                            chaingapcostfunction);
    } else
    {
      if (chainmode->chainkind == GLOBALCHAININGALLCHAINS)
      {
        gt_chain2dim_ndbfchainscores(matchtable);
      } else
      {
        fastchainingscores(chainmode,
                           matchtable,
                           &matchstore,
                           presortdim,
                           gapsL1);
      }
    }
    gt_logger_log(logger,"retrieve optimal chains");
    retval = gt_chain2dim_findmaximalscores(chainmode,
                               chain,
                               matchtable,
                               &matchstore,
                               chainprocessor,
                               withequivclasses,
                               cpinfo,
                               logger);
    if (chainmode->chainkind != GLOBALCHAININGWITHOVERLAPS
        && chainmode->chainkind != GLOBALCHAININGALLCHAINS)
    {
      gt_rbtree_delete(matchstore.dictroot);
    }
  } else
  {
    gt_chain2dim_chainingboundarycases(chainmode, chain, matchtable);
    if (chainmode->chainkind != LOCALCHAININGTHRESHOLD ||
        matchtable->matches[0].weight >= chainmode->minimumscore)
    {
      chainprocessor(cpinfo,matchtable,chain);
    }
    retval = 0;
  }
  /* retval is not reported. */
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x88, %rsp
movl %r8d, %r13d
cmpl $0x2, %r8d
jae 0x18dff5
movl %ecx, %ebp
movq %rsi, %r8
movl (%rdi), %eax
testl %eax, %eax
movq %rdi, 0x10(%rsp)
je 0x18ca97
cmpl $0x2, %eax
je 0x18caa2
cmpl $0x3, %eax
jne 0x18cab0
movq $0x0, 0x60(%rsp)
jmp 0x18caca
leaq 0x18e6(%rip), %rcx      # 0x18e38f
movq %rcx, 0x60(%rsp)
jmp 0x18caca
leaq 0x1914(%rip), %rcx      # 0x18e3cb
leaq 0x1937(%rip), %rsi      # 0x18e3f5
testb %bpl, %bpl
cmovneq %rcx, %rsi
movq %rsi, 0x60(%rsp)
movq 0xc8(%rsp), %rcx
movq %rcx, 0x50(%rsp)
movq 0xc0(%rsp), %rcx
movq %rcx, 0x58(%rsp)
movq 0x18(%rdx), %rcx
cmpq $0x2, %rcx
movq %r8, 0x40(%rsp)
movq %rdx, 0x8(%rsp)
jb 0x18cdbf
movl %r9d, 0x6c(%rsp)
movq 0xd0(%rsp), %rdi
leaq 0x21206d(%rip), %rsi    # 0x39eb7d
movq %rdi, 0x80(%rsp)
xorl %eax, %eax
callq 0x103fe1
movq 0x8(%rsp), %r11
movq $0x0, 0x70(%rsp)
movq 0x10(%rsp), %r10
movl (%r10), %eax
movq 0x18(%r11), %rdi
cmpl $0x3, %eax
je 0x18ce1c
cmpl $0x2, %eax
jne 0x18d0aa
cmpq $0x2, %rdi
jb 0x18d09c
movq (%r11), %rdx
movq $0x0, 0x20(%rdx)
movq %rdi, 0x28(%rdx)
movq 0x30(%rdx), %rax
movq %rax, 0x48(%rdx)
movl $0x1, %r14d
movl $0x2, %eax
movl $0x2, %ecx
leaq (%r14,%r14,4), %rbp
shlq $0x4, %rbp
movq 0x30(%rdx,%rbp), %rbx
movq $0x0, 0x38(%rsp)
xorl %r13d, %r13d
movq $0x0, 0x28(%rsp)
movq $0x0, 0x20(%rsp)
movl $0x0, 0x18(%rsp)
xorl %r12d, %r12d
movq %rbx, 0x48(%rsp)
movq 0x8(%r10), %rdi
movq (%r11), %rdx
movq (%rdx,%rbp), %rsi
testq %rdi, %rdi
je 0x18cbfe
movq 0x10(%rdx,%r13), %r8
cmpq %r8, %rsi
jbe 0x18cbe0
notq %r8
addq %rsi, %r8
cmpq %rdi, %r8
ja 0x18cd2a
movq 0x8(%rdx,%rbp), %r8
movq 0x18(%rdx,%r13), %r9
cmpq %r9, %r8
jbe 0x18cbfe
notq %r9
addq %r9, %r8
cmpq %rdi, %r8
ja 0x18cd2a
leaq (%rdx,%rbp), %rdi
cmpl $0x2, %ecx
jne 0x18cc4a
movl $0x2, %ecx
cmpq %rsi, (%rdx,%r13)
jae 0x18cd2a
movq 0x10(%rdx,%r13), %rsi
cmpq 0x10(%rdi), %rsi
jae 0x18cd2a
movq 0x8(%rdx,%r13), %rsi
cmpq 0x8(%rdi), %rsi
jae 0x18cd2a
movq 0x18(%rdx,%r13), %rsi
cmpq 0x18(%rdi), %rsi
jae 0x18cd2a
movq 0x48(%rdx,%r13), %r15
jmp 0x18cc6d
cmpq %rsi, 0x10(%rdx,%r13)
jae 0x18cd2a
movq 0x18(%rdx,%r13), %rsi
cmpq 0x8(%rdi), %rsi
jae 0x18cd2a
movq 0x48(%rdx,%r13), %r15
testl %ecx, %ecx
je 0x18ccd0
movq %r11, %rdi
movq %r12, %rsi
movq %r14, %rdx
movq %r11, %rbx
callq *0x60(%rsp)
subq %rax, %r15
movq 0x10(%rsp), %r10
movl (%r10), %eax
cmpl $0x1, %eax
jne 0x18ccb7
movq (%rbx), %rax
movq 0x48(%rsp), %rsi
addq %rsi, %r15
addq 0x40(%rax,%r13), %r15
subq 0x40(%rax,%rbp), %r15
movl $0x1, %eax
movl $0x1, %ecx
movq %r12, %rdx
movq %rbx, %r11
movq %rsi, %rbx
jmp 0x18cced
testq %r15, %r15
jle 0x18ccda
movq 0x48(%rsp), %rbx
addq %rbx, %r15
movl %eax, %ecx
movq %r12, %rdx
movq 0x8(%rsp), %r11
jmp 0x18cced
addq %rbx, %r15
xorl %ecx, %ecx
movq %r12, %rdx
jmp 0x18cced
movq 0x8(%rsp), %r11
movq 0x18(%r11), %rdx
movl %eax, %ecx
movq 0x48(%rsp), %rbx
movq %rbx, %r15
movq 0x28(%rsp), %rdi
cmpq %r15, %rdi
setge %sil
movl 0x18(%rsp), %r8d
movzbl %r8b, %r8d
testb %sil, %r8b
movl $0x1, %esi
cmovel %esi, %r8d
movl %r8d, 0x18(%rsp)
movq 0x20(%rsp), %rsi
cmoveq %rdx, %rsi
movq %rsi, 0x20(%rsp)
cmoveq %r15, %rdi
movq %rdi, 0x28(%rsp)
incq %r12
addq $0x50, %r13
cmpq %r12, %r14
jne 0x18cbb7
testb $0x1, 0x18(%rsp)
je 0x18cd78
movq (%r11), %rdx
movq 0x20(%rsp), %r8
movq %r8, 0x28(%rdx,%rbp)
movq 0x18(%r11), %rsi
movq %r14, %rdi
cmpq %rsi, %r8
je 0x18cd67
leaq (%r8,%r8,4), %rdi
shlq $0x4, %rdi
movq 0x20(%rdx,%rdi), %rdi
movq %rdi, 0x20(%rdx,%rbp)
movq 0x28(%rsp), %rdi
movq %rdi, 0x48(%rdx,%rbp)
jmp 0x18cdae
movq (%r11), %rdx
movq 0x18(%r11), %rsi
movq %rsi, 0x28(%rdx,%rbp)
movq %r14, 0x20(%rdx,%rbp)
movq %rbx, 0x48(%rdx,%rbp)
cmpl $0x1, %eax
jne 0x18cdac
movq 0x38(%rdx,%rbp), %rcx
addq 0x40(%rdx,%rbp), %rcx
subq %rcx, %rbx
movq %rbx, 0x48(%rdx,%rbp)
movl $0x1, %ecx
jmp 0x18cdae
movl %eax, %ecx
incq %r14
cmpq %rsi, %r14
jb 0x18cb7c
jmp 0x18d2f3
movb $0x0, 0x20(%r8)
testq %rcx, %rcx
je 0x18ce08
movq (%rdx), %rdi
movq 0x30(%rdi), %rcx
movq %rcx, 0x18(%r8)
cmpl $0x1, %eax
movq 0x10(%rsp), %rsi
jne 0x18cded
movq 0x38(%rdi), %rax
addq 0x40(%rdi), %rax
subq %rax, %rcx
movq %rcx, 0x18(%r8)
movq $0x0, 0x10(%r8)
cmpq $0x0, 0x8(%r8)
je 0x18d987
movq (%r8), %rax
jmp 0x18d9ba
pxor %xmm0, %xmm0
movdqu %xmm0, 0x10(%r8)
movq 0x10(%rsp), %rsi
jmp 0x18d9d7
cmpq $0x2, %rdi
jb 0x18d09c
movq (%r11), %rax
xorl %r15d, %r15d
movq %r15, 0x20(%rax)
movq %rdi, 0x28(%rax)
movq 0x30(%rax), %rcx
movq %rcx, 0x48(%rax)
shlq $0x3, %rdi
leaq 0x211c31(%rip), %r14    # 0x39ea78
movq %r14, %rsi
movl $0x29f, %edx            # imm = 0x29F
callq 0x104226
movq 0x8(%rsp), %rcx
movq %rax, 0x30(%rcx)
movq 0x8(%rsp), %rax
movq 0x18(%rax), %rdi
shlq $0x3, %rdi
movq %r14, %rsi
movl $0x2a1, %edx            # imm = 0x2A1
callq 0x104226
movq 0x8(%rsp), %rsi
movq %rax, 0x38(%rsi)
movq 0x30(%rsi), %r8
movq %r15, (%r8)
movq 0x18(%rsi), %rbx
cmpq $0x2, %rbx
jb 0x18cf7e
movq %rax, 0x20(%rsp)
movq (%rsi), %rdx
leaq 0x10(%rdx), %rax
movq %rax, 0x18(%rsp)
movl $0x1, %edi
movq %r8, 0x28(%rsp)
leaq (%rdi,%rdi,4), %r10
shlq $0x4, %r10
leaq (%rdx,%r10), %r12
movq (%rdx,%r10), %r13
movq 0x30(%rdx,%r10), %r8
xorl %r11d, %r11d
movq 0x18(%rsp), %rbp
xorl %r14d, %r14d
xorl %eax, %eax
xorl %esi, %esi
xorl %ecx, %ecx
cmpq %r13, (%rbp)
jae 0x18cf29
movq 0x8(%rbp), %r9
cmpq 0x8(%r12), %r9
jae 0x18cf29
movq 0x38(%rbp), %r15
testq %r15, %r15
movl $0x0, %r9d
cmovleq %r9, %r15
movq %rbx, %r9
cmovgq %rcx, %r9
addq %r8, %r15
testb $0x1, %sil
je 0x18cf1a
cmpq %r15, %r14
jl 0x18cf1d
sete %r9b
movzbl %r9b, %r9d
addq %r9, %r11
jmp 0x18cf29
movb $0x1, %sil
movq %r9, %rax
movq %r15, %r14
movl $0x1, %r11d
incq %rcx
addq $0x50, %rbp
cmpq %rcx, %rdi
jne 0x18ced6
testb $0x1, %sil
je 0x18cf45
testq %r11, %r11
jne 0x18cf4e
jmp 0x18dffa
movq %rbx, %rax
movq %r8, %r14
xorl %r11d, %r11d
movq %rax, 0x28(%rdx,%r10)
movq %r14, 0x48(%rdx,%r10)
movq 0x28(%rsp), %r8
movq %r11, (%r8,%rdi,8)
incq %rdi
movq 0x8(%rsp), %rsi
movq 0x18(%rsi), %rbx
cmpq %rbx, %rdi
jb 0x18ceb0
movq (%r8), %r15
movq 0x20(%rsp), %rax
movq %r15, (%rax)
movq 0x18(%rsi), %rcx
cmpq $0x2, %rcx
jb 0x18cfa9
movl $0x1, %edx
movq (%r8,%rdx,8), %rcx
addq -0x8(%rax,%rdx,8), %rcx
movq %rcx, (%rax,%rdx,8)
incq %rdx
movq 0x18(%rsi), %rcx
cmpq %rcx, %rdx
jb 0x18cf90
movq -0x8(%rax,%rcx,8), %rdi
movq %rdi, 0x28(%rsi)
shlq $0x3, %rdi
leaq 0x211abb(%rip), %rsi    # 0x39ea78
movl $0x2ef, %edx            # imm = 0x2EF
callq 0x104226
movq 0x8(%rsp), %rdx
movq %rax, 0x40(%rdx)
movq 0x18(%rdx), %r8
cmpq $0x2, %r8
jb 0x18d09c
movq (%rdx), %rcx
movq 0x30(%rdx), %rdx
leaq 0x10(%rcx), %rsi
movl $0x1, %edi
movq $0x0, 0x38(%rsp)
cmpq $0x0, (%rdx,%rdi,8)
je 0x18d08b
leaq (%rdi,%rdi,4), %r8
shlq $0x4, %r8
leaq (%rcx,%r8), %r9
addq $0x48, %r9
movq -0x18(%r9), %r10
addq %rcx, %r8
movq %rsi, %r11
xorl %ebx, %ebx
movq (%r11), %r14
cmpq (%r8), %r14
jae 0x18d076
movq 0x8(%r11), %r14
cmpq 0x8(%r8), %r14
jae 0x18d076
movq 0x38(%r11), %r15
testq %r15, %r15
jle 0x18d041
addq %r10, %r15
movq %rbx, %r14
jmp 0x18d04d
movq 0x8(%rsp), %r14
movq 0x18(%r14), %r14
movq %r10, %r15
cmpq (%r9), %r15
jne 0x18d076
movq 0x8(%rsp), %r15
movq 0x38(%r15), %r15
movq (%r15,%rdi,8), %r12
testq %r12, %r12
je 0x18dfe1
leaq -0x1(%r12), %r13
movq %r13, (%r15,%rdi,8)
movq %r14, -0x8(%rax,%r12,8)
incq %rbx
addq $0x50, %r11
cmpq %rbx, %rdi
jne 0x18d01e
movq 0x8(%rsp), %r8
movq 0x18(%r8), %r8
incq %rdi
cmpq %r8, %rdi
jb 0x18cff7
jmp 0x18d2f3
movq $0x0, 0x38(%rsp)
jmp 0x18d2f3
shlq $0x3, %rdi
leaq 0x2119c3(%rip), %rsi    # 0x39ea78
movl $0x592, %edx            # imm = 0x592
movq %r11, %rbx
callq 0x104226
movq 0x10(%rsp), %r11
movq %rax, %r14
movq %rax, 0x78(%rsp)
cmpq $0x0, 0x18(%rbx)
je 0x18d166
xorl %eax, %eax
movq 0x8(%rsp), %rcx
movq %rax, (%r14,%rax,8)
incq %rax
movq 0x18(%rcx), %rdx
cmpq %rdx, %rax
jb 0x18d0e1
cmpq $0x2, %rdx
jl 0x18d166
leaq 0x8(%r14), %rax
movl %r13d, %ecx
cmpq %r14, %rax
jbe 0x18d159
movq 0x8(%rsp), %rdx
movq (%rdx), %rdx
movq (%rax), %rsi
leaq (%rsi,%rsi,4), %rdi
shlq $0x4, %rdi
addq %rdx, %rdi
leaq (%rdi,%rcx,8), %rdi
addq $0x10, %rdi
movq %rax, %r8
movq -0x8(%r8), %r9
leaq (%r9,%r9,4), %r10
shlq $0x4, %r10
addq %rdx, %r10
movq 0x10(%r10,%rcx,8), %r10
cmpq (%rdi), %r10
jbe 0x18d150
movq %rsi, -0x8(%r8)
movq %r9, (%r8)
leaq -0x8(%r8), %r9
movq %r9, %r8
cmpq %r14, %r9
ja 0x18d124
movq 0x8(%rsp), %rdx
movq 0x18(%rdx), %rdx
addq $0x8, %rax
leaq (%r14,%rdx,8), %rsi
cmpq %rsi, %rax
jb 0x18d0fe
movl (%r11), %r15d
leaq 0x12d7(%rip), %rdi      # 0x18e447
leaq -0x88acd(%rip), %rsi    # 0x1046aa
xorl %edx, %edx
callq 0x165f7c
movq %rax, 0x38(%rsp)
movq %rax, 0x70(%rsp)
movq 0x8(%rsp), %r10
cmpq $0x0, 0x18(%r10)
je 0x18d2df
movl $0x1, %eax
subl %r13d, %eax
movl %eax, 0x48(%rsp)
movl %r13d, %eax
movq %rax, 0x28(%rsp)
xorl %r12d, %r12d
movzbl %bpl, %ebp
xorl %ebx, %ebx
movq 0x10(%rsp), %rdi
movl %r15d, 0x20(%rsp)
movl %ebp, 0x18(%rsp)
movq (%r10), %rax
leaq (%r12,%r12,4), %rcx
shlq $0x4, %rcx
addq %rax, %rcx
movq (%r14,%rbx,8), %rsi
movq 0x28(%rsp), %r8
movq (%rcx,%r8,8), %rcx
leaq (%rsi,%rsi,4), %rdx
shlq $0x4, %rdx
addq %rax, %rdx
cmpq 0x10(%rdx,%r8,8), %rcx
jbe 0x18d229
movl %r13d, %r15d
xorl %r13d, %r13d
cmpl $0x0, 0x20(%rsp)
setne %r13b
movq %r10, %rdi
movl 0x48(%rsp), %edx
movq %r10, %rbp
callq 0x18e780
movl %r13d, %edi
movl %r15d, %r13d
movq %rbp, %rsi
leaq 0x70(%rsp), %rdx
movq %rax, %rcx
callq 0x18e5ee
incq %rbx
jmp 0x18d244
movq %r10, %rsi
leaq 0x70(%rsp), %rdx
movl %ebp, %ecx
movq %r12, %r8
movl %r13d, %r9d
movq %r10, %rbp
callq 0x18e471
incq %r12
movq 0x18(%rbp), %rax
cmpq %rax, %r12
movq 0x10(%rsp), %rdi
movq %rbp, %r10
movl 0x18(%rsp), %ebp
jae 0x18d262
cmpq %rax, %rbx
jb 0x18d1c3
cmpq %rax, %r12
jae 0x18d293
movq %rdi, %r15
movq %r15, %rdi
movq %r10, %rsi
leaq 0x70(%rsp), %rdx
movl %ebp, %ecx
movq %r12, %r8
movl %r13d, %r9d
callq 0x18e471
movq 0x8(%rsp), %r10
incq %r12
movq 0x18(%r10), %rax
cmpq %rax, %r12
jb 0x18d26a
cmpq %rax, %rbx
movl 0x20(%rsp), %r15d
movl 0x48(%rsp), %r13d
jae 0x18d2df
leaq 0x70(%rsp), %r12
xorl %ebp, %ebp
testl %r15d, %r15d
setne %bpl
movq (%r14,%rbx,8), %rsi
movq %r10, %rdi
movl %r13d, %edx
callq 0x18e780
movl %ebp, %edi
movq 0x8(%rsp), %rsi
movq %r12, %rdx
movq %rax, %rcx
callq 0x18e5ee
movq 0x8(%rsp), %r10
incq %rbx
cmpq 0x18(%r10), %rbx
jb 0x18d2a7
leaq 0x211792(%rip), %rsi    # 0x39ea78
movq %r14, %rdi
movl $0x59b, %edx            # imm = 0x59B
callq 0x1045eb
leaq 0x211898(%rip), %rsi    # 0x39eb92
xorl %r15d, %r15d
movq 0x80(%rsp), %rdi
xorl %eax, %eax
callq 0x103fe1
movq $0x0, 0x30(%rsp)
cmpb $0x0, 0x6c(%rsp)
je 0x18d335
movq 0x10(%rsp), %rsi
movl (%rsi), %edi
cmpl $0x4, %edi
movq 0x8(%rsp), %rdx
jae 0x18d344
xorl %r15d, %r15d
jmp 0x18d950
movq 0x10(%rsp), %rsi
movq 0x8(%rsp), %rdx
jmp 0x18d94e
movq 0x18(%rdx), %rdi
shlq $0x4, %rdi
leaq 0x211725(%rip), %rsi    # 0x39ea78
movl $0x526, %edx            # imm = 0x526
callq 0x104226
movq 0x8(%rsp), %rdx
movq %rax, %r15
movq 0x18(%rdx), %rax
testq %rax, %rax
jle 0x18d8ec
movq %rax, %rsi
shlq $0x4, %rsi
addq %r15, %rsi
leaq 0x10(%r15), %rcx
cmpq %rcx, %rsi
cmovbeq %rcx, %rsi
movq %r15, %rcx
notq %rcx
addq %rsi, %rcx
movq %rcx, %xmm0
shrq $0x4, %rcx
addq $0x10, %rcx
andq $-0x10, %rcx
pshufd $0x44, %xmm0, %xmm0     # xmm0 = xmm0[0,1,0,1]
psrlq $0x4, %xmm0
leaq 0xf0(%r15), %r8
xorl %esi, %esi
movdqa 0x211624(%rip), %xmm3   # 0x39e9e0
movdqa 0x21162c(%rip), %xmm4   # 0x39e9f0
movdqa 0x211634(%rip), %xmm5   # 0x39ea00
movdqa 0x21163c(%rip), %xmm6   # 0x39ea10
movdqa 0x211644(%rip), %xmm7   # 0x39ea20
movdqa 0x1cb63b(%rip), %xmm8   # 0x358a20
movdqa 0x1cb642(%rip), %xmm9   # 0x358a30
pcmpeqd %xmm10, %xmm10
movq %rsi, %xmm11
pshufd $0x44, %xmm11, %xmm11   # xmm11 = xmm11[0,1,0,1]
movdqa %xmm11, %xmm13
por %xmm8, %xmm13
movdqa %xmm0, %xmm12
pxor %xmm9, %xmm12
pxor %xmm9, %xmm13
movdqa %xmm13, %xmm15
pcmpgtd %xmm12, %xmm15
pshufd $0xa0, %xmm15, %xmm14   # xmm14 = xmm15[0,0,2,2]
pshuflw $0xe8, %xmm14, %xmm1    # xmm1 = xmm14[0,2,2,3,4,5,6,7]
pcmpeqd %xmm12, %xmm13
pshufd $0xf5, %xmm13, %xmm13   # xmm13 = xmm13[1,1,3,3]
pshuflw $0xe8, %xmm13, %xmm2    # xmm2 = xmm13[0,2,2,3,4,5,6,7]
pand %xmm1, %xmm2
pshufd $0xf5, %xmm15, %xmm15   # xmm15 = xmm15[1,1,3,3]
pshuflw $0xe8, %xmm15, %xmm1    # xmm1 = xmm15[0,2,2,3,4,5,6,7]
por %xmm2, %xmm1
pxor %xmm10, %xmm1
packssdw %xmm1, %xmm1
movd %xmm1, %edi
testb $0x1, %dil
je 0x18d46d
movb $0x0, -0xf0(%r8)
pand %xmm14, %xmm13
por %xmm15, %xmm13
packssdw %xmm13, %xmm13
pxor %xmm10, %xmm13
packssdw %xmm13, %xmm13
packsswb %xmm13, %xmm13
movd %xmm13, %edi
shrl $0x8, %edi
testb $0x1, %dil
je 0x18d4a1
movb $0x0, -0xe0(%r8)
movdqa %xmm11, %xmm1
por %xmm7, %xmm1
pxor %xmm9, %xmm1
movdqa %xmm1, %xmm2
pcmpgtd %xmm12, %xmm2
pshufd $0xa0, %xmm2, %xmm13    # xmm13 = xmm2[0,0,2,2]
pcmpeqd %xmm12, %xmm1
pshufd $0xf5, %xmm1, %xmm14    # xmm14 = xmm1[1,1,3,3]
movdqa %xmm14, %xmm1
pand %xmm13, %xmm1
pshufd $0xf5, %xmm2, %xmm15    # xmm15 = xmm2[1,1,3,3]
por %xmm15, %xmm1
packssdw %xmm1, %xmm1
pxor %xmm10, %xmm1
packssdw %xmm1, %xmm1
packsswb %xmm1, %xmm1
movd %xmm1, %edi
shrl $0x10, %edi
testb $0x1, %dil
je 0x18d504
movb $0x0, -0xd0(%r8)
pshufhw $0x84, %xmm13, %xmm1    # xmm1 = xmm13[0,1,2,3,4,5,4,6]
pshufhw $0x84, %xmm14, %xmm2    # xmm2 = xmm14[0,1,2,3,4,5,4,6]
pand %xmm1, %xmm2
pshufhw $0x84, %xmm15, %xmm1    # xmm1 = xmm15[0,1,2,3,4,5,4,6]
por %xmm2, %xmm1
pxor %xmm10, %xmm1
packssdw %xmm1, %xmm1
packsswb %xmm1, %xmm1
movd %xmm1, %edi
shrl $0x18, %edi
testb $0x1, %dil
je 0x18d540
movb $0x0, -0xc0(%r8)
movdqa %xmm11, %xmm1
por %xmm6, %xmm1
pxor %xmm9, %xmm1
movdqa %xmm1, %xmm2
pcmpgtd %xmm12, %xmm2
pshufd $0xa0, %xmm2, %xmm14    # xmm14 = xmm2[0,0,2,2]
pshuflw $0xe8, %xmm14, %xmm15   # xmm15 = xmm14[0,2,2,3,4,5,6,7]
pcmpeqd %xmm12, %xmm1
pshufd $0xf5, %xmm1, %xmm13    # xmm13 = xmm1[1,1,3,3]
pshuflw $0xe8, %xmm13, %xmm1    # xmm1 = xmm13[0,2,2,3,4,5,6,7]
pand %xmm15, %xmm1
pshufd $0xf5, %xmm2, %xmm15    # xmm15 = xmm2[1,1,3,3]
pshuflw $0xe8, %xmm15, %xmm2    # xmm2 = xmm15[0,2,2,3,4,5,6,7]
por %xmm1, %xmm2
pxor %xmm10, %xmm2
packssdw %xmm2, %xmm1
packsswb %xmm1, %xmm1
pextrw $0x2, %xmm1, %edi
testb $0x1, %dil
je 0x18d5a9
movb $0x0, -0xb0(%r8)
pand %xmm14, %xmm13
por %xmm15, %xmm13
packssdw %xmm13, %xmm13
pxor %xmm10, %xmm13
packssdw %xmm13, %xmm1
packsswb %xmm1, %xmm1
pextrw $0x2, %xmm1, %edi
shrl $0x8, %edi
testb $0x1, %dil
je 0x18d5dc
movb $0x0, -0xa0(%r8)
movdqa %xmm11, %xmm1
por %xmm5, %xmm1
pxor %xmm9, %xmm1
movdqa %xmm1, %xmm2
pcmpgtd %xmm12, %xmm2
pshufd $0xa0, %xmm2, %xmm13    # xmm13 = xmm2[0,0,2,2]
pcmpeqd %xmm12, %xmm1
pshufd $0xf5, %xmm1, %xmm14    # xmm14 = xmm1[1,1,3,3]
movdqa %xmm14, %xmm1
pand %xmm13, %xmm1
pshufd $0xf5, %xmm2, %xmm15    # xmm15 = xmm2[1,1,3,3]
por %xmm15, %xmm1
packssdw %xmm1, %xmm1
pxor %xmm10, %xmm1
packssdw %xmm1, %xmm1
packsswb %xmm1, %xmm1
pextrw $0x3, %xmm1, %edi
testb $0x1, %dil
je 0x18d63d
movb $0x0, -0x90(%r8)
pshufhw $0x84, %xmm13, %xmm1    # xmm1 = xmm13[0,1,2,3,4,5,4,6]
pshufhw $0x84, %xmm14, %xmm2    # xmm2 = xmm14[0,1,2,3,4,5,4,6]
pand %xmm1, %xmm2
pshufhw $0x84, %xmm15, %xmm1    # xmm1 = xmm15[0,1,2,3,4,5,4,6]
por %xmm2, %xmm1
pxor %xmm10, %xmm1
packssdw %xmm1, %xmm1
packsswb %xmm1, %xmm1
pextrw $0x3, %xmm1, %edi
shrl $0x8, %edi
testb $0x1, %dil
je 0x18d677
movb $0x0, -0x80(%r8)
movdqa %xmm11, %xmm1
por %xmm4, %xmm1
pxor %xmm9, %xmm1
movdqa %xmm1, %xmm2
pcmpgtd %xmm12, %xmm2
pshufd $0xa0, %xmm2, %xmm14    # xmm14 = xmm2[0,0,2,2]
pshuflw $0xe8, %xmm14, %xmm15   # xmm15 = xmm14[0,2,2,3,4,5,6,7]
pcmpeqd %xmm12, %xmm1
pshufd $0xf5, %xmm1, %xmm13    # xmm13 = xmm1[1,1,3,3]
pshuflw $0xe8, %xmm13, %xmm1    # xmm1 = xmm13[0,2,2,3,4,5,6,7]
pand %xmm15, %xmm1
pshufd $0xf5, %xmm2, %xmm15    # xmm15 = xmm2[1,1,3,3]
pshuflw $0xe8, %xmm15, %xmm2    # xmm2 = xmm15[0,2,2,3,4,5,6,7]
por %xmm1, %xmm2
pxor %xmm10, %xmm2
packssdw %xmm2, %xmm2
packsswb %xmm2, %xmm1
pextrw $0x4, %xmm1, %edi
testb $0x1, %dil
je 0x18d6dd
movb $0x0, -0x70(%r8)
pand %xmm14, %xmm13
por %xmm15, %xmm13
packssdw %xmm13, %xmm13
pxor %xmm10, %xmm13
packssdw %xmm13, %xmm13
packsswb %xmm13, %xmm1
pextrw $0x4, %xmm1, %edi
shrl $0x8, %edi
testb $0x1, %dil
je 0x18d70e
movb $0x0, -0x60(%r8)
movdqa %xmm11, %xmm1
por %xmm3, %xmm1
pxor %xmm9, %xmm1
movdqa %xmm1, %xmm2
pcmpgtd %xmm12, %xmm2
pshufd $0xa0, %xmm2, %xmm13    # xmm13 = xmm2[0,0,2,2]
pcmpeqd %xmm12, %xmm1
pshufd $0xf5, %xmm1, %xmm14    # xmm14 = xmm1[1,1,3,3]
movdqa %xmm14, %xmm1
pand %xmm13, %xmm1
pshufd $0xf5, %xmm2, %xmm15    # xmm15 = xmm2[1,1,3,3]
por %xmm15, %xmm1
packssdw %xmm1, %xmm1
pxor %xmm10, %xmm1
packssdw %xmm1, %xmm1
packsswb %xmm1, %xmm1
pextrw $0x5, %xmm1, %edi
testb $0x1, %dil
je 0x18d76c
movb $0x0, -0x50(%r8)
pshufhw $0x84, %xmm13, %xmm1    # xmm1 = xmm13[0,1,2,3,4,5,4,6]
pshufhw $0x84, %xmm14, %xmm2    # xmm2 = xmm14[0,1,2,3,4,5,4,6]
pand %xmm1, %xmm2
pshufhw $0x84, %xmm15, %xmm1    # xmm1 = xmm15[0,1,2,3,4,5,4,6]
por %xmm2, %xmm1
pxor %xmm10, %xmm1
packssdw %xmm1, %xmm1
packsswb %xmm1, %xmm1
pextrw $0x5, %xmm1, %edi
shrl $0x8, %edi
testb $0x1, %dil
je 0x18d7a6
movb $0x0, -0x40(%r8)
movdqa %xmm11, %xmm1
por 0x21121d(%rip), %xmm1   # 0x39e9d0
pxor %xmm9, %xmm1
movdqa %xmm1, %xmm2
pcmpgtd %xmm12, %xmm2
pshufd $0xa0, %xmm2, %xmm14    # xmm14 = xmm2[0,0,2,2]
pshuflw $0xe8, %xmm14, %xmm15   # xmm15 = xmm14[0,2,2,3,4,5,6,7]
pcmpeqd %xmm12, %xmm1
pshufd $0xf5, %xmm1, %xmm13    # xmm13 = xmm1[1,1,3,3]
pshuflw $0xe8, %xmm13, %xmm1    # xmm1 = xmm13[0,2,2,3,4,5,6,7]
pand %xmm15, %xmm1
pshufd $0xf5, %xmm2, %xmm15    # xmm15 = xmm2[1,1,3,3]
pshuflw $0xe8, %xmm15, %xmm2    # xmm2 = xmm15[0,2,2,3,4,5,6,7]
por %xmm1, %xmm2
pxor %xmm10, %xmm2
packssdw %xmm2, %xmm1
packsswb %xmm1, %xmm1
pextrw $0x6, %xmm1, %edi
testb $0x1, %dil
je 0x18d810
movb $0x0, -0x30(%r8)
pand %xmm14, %xmm13
por %xmm15, %xmm13
packssdw %xmm13, %xmm13
pxor %xmm10, %xmm13
packssdw %xmm13, %xmm1
packsswb %xmm1, %xmm1
pextrw $0x6, %xmm1, %edi
shrl $0x8, %edi
testb $0x1, %dil
je 0x18d840
movb $0x0, -0x20(%r8)
por 0x211177(%rip), %xmm11  # 0x39e9c0
pxor %xmm9, %xmm11
movdqa %xmm11, %xmm1
pcmpgtd %xmm12, %xmm1
pshufd $0xa0, %xmm1, %xmm13    # xmm13 = xmm1[0,0,2,2]
pcmpeqd %xmm12, %xmm11
pshufd $0xf5, %xmm11, %xmm11   # xmm11 = xmm11[1,1,3,3]
movdqa %xmm11, %xmm2
pand %xmm13, %xmm2
pshufd $0xf5, %xmm1, %xmm12    # xmm12 = xmm1[1,1,3,3]
por %xmm12, %xmm2
packssdw %xmm2, %xmm1
pxor %xmm10, %xmm1
packssdw %xmm1, %xmm1
packsswb %xmm1, %xmm1
pextrw $0x7, %xmm1, %edi
testb $0x1, %dil
je 0x18d89f
movb $0x0, -0x10(%r8)
pshufhw $0x84, %xmm13, %xmm1    # xmm1 = xmm13[0,1,2,3,4,5,4,6]
pshufhw $0x84, %xmm11, %xmm2    # xmm2 = xmm11[0,1,2,3,4,5,4,6]
pand %xmm1, %xmm2
pshufhw $0x84, %xmm12, %xmm1    # xmm1 = xmm12[0,1,2,3,4,5,4,6]
por %xmm2, %xmm1
pxor %xmm10, %xmm1
packssdw %xmm1, %xmm1
packsswb %xmm1, %xmm1
pextrw $0x7, %xmm1, %edi
shrl $0x8, %edi
testb $0x1, %dil
je 0x18d8d8
movb $0x0, (%r8)
addq $0x10, %rsi
addq $0x100, %r8             # imm = 0x100
cmpq %rsi, %rcx
jne 0x18d3f3
testq %rax, %rax
movq 0x10(%rsp), %rsi
je 0x18d94e
leaq -0x1(%rax), %rcx
movq (%rdx), %r10
addq $0x20, %r10
xorl %r9d, %r9d
cmpq %r9, %rcx
je 0x18d919
cmpq 0x58(%r10), %r9
jne 0x18d919
movq 0x78(%r10), %rdi
cmpq 0x28(%r10), %rdi
jge 0x18d942
movq (%r10), %r8
shlq $0x4, %r8
leaq (%r15,%r8), %rdi
cmpb $0x0, (%r15,%r8)
je 0x18d937
movq 0x28(%r10), %r8
cmpq %r8, 0x8(%rdi)
jl 0x18d93b
jmp 0x18d942
movq 0x28(%r10), %r8
movq %r8, 0x8(%rdi)
movb $0x1, (%rdi)
incq %r9
addq $0x50, %r10
cmpq %r9, %rax
jne 0x18d904
movl (%rsi), %edi
cmpl $0x7, %edi
ja 0x18e009
movl %edi, %eax
leaq 0x2110ce(%rip), %rcx    # 0x39ea30
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
leaq 0x30(%rsp), %rdi
callq 0x18e7cc
testb %al, %al
je 0x18df98
movq 0x30(%rsp), %r12
jmp 0x18db8d
movq $0x20, 0x8(%r8)
movq (%r8), %rdi
leaq 0x2110df(%rip), %rdx    # 0x39ea78
movl $0x100, %esi            # imm = 0x100
movl $0x195, %ecx            # imm = 0x195
callq 0x104461
movq 0x8(%rsp), %rdx
movq 0x40(%rsp), %r8
movq 0x10(%rsp), %rsi
movq %rax, (%r8)
testq %rax, %rax
je 0x18e004
movq 0x10(%r8), %rcx
leaq 0x1(%rcx), %rdi
movq %rdi, 0x10(%r8)
movq $0x0, (%rax,%rcx,8)
cmpl $0x5, (%rsi)
jne 0x18d9ed
movq (%rdx), %rax
movq 0x30(%rax), %rax
cmpq 0x10(%rsi), %rax
jl 0x18dfca
movq 0x50(%rsp), %rdi
movq %rdx, %rsi
movq %r8, %rdx
movq 0x58(%rsp), %rax
addq $0x88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmpq *%rax
movq 0x38(%rsp), %rdi
callq 0x166abb
testq %rax, %rax
je 0x18e00e
movq (%rax), %rax
movq 0x8(%rsp), %rcx
movq (%rcx), %rcx
leaq (%rax,%rax,4), %rax
shlq $0x4, %rax
movq 0x48(%rcx,%rax), %r12
movq %r12, 0x30(%rsp)
jmp 0x18db8d
leaq 0x30(%rsp), %rdi
callq 0x18e7cc
testb %al, %al
je 0x18df98
cvtsi2sdq 0x30(%rsp), %xmm0
movq 0x10(%rsp), %rsi
movsd 0x20(%rsi), %xmm1
unpcklps 0x1b9e71(%rip), %xmm1   # xmm1 = xmm1[0],mem[0],xmm1[1],mem[1]
subpd 0x1b9e79(%rip), %xmm1   # 0x3478f0
movapd %xmm1, %xmm2
unpckhpd %xmm1, %xmm2            # xmm2 = xmm2[1],xmm1[1]
addsd %xmm1, %xmm2
divsd 0x210f2d(%rip), %xmm2   # 0x39e9b8
addsd 0x1b8795(%rip), %xmm2   # 0x346228
mulsd %xmm0, %xmm2
cvttsd2si %xmm2, %r12
jmp 0x18daa2
movq 0x10(%rsi), %r12
movq %r12, 0x30(%rsp)
jmp 0x18db92
movq 0x18(%rsi), %r12
movq 0x18(%rdx), %rdi
shlq $0x3, %rdi
leaq 0x210fb9(%rip), %rsi    # 0x39ea78
movl $0x45c, %edx            # imm = 0x45C
callq 0x104226
movq %rax, %r14
leaq 0xd6e(%rip), %rsi       # 0x18e841
movq %r12, %rdi
xorl %edx, %edx
xorl %ecx, %ecx
callq 0x165594
movq 0x8(%rsp), %rsi
movq %rax, %r13
movq 0x18(%rsi), %rax
testq %rax, %rax
je 0x18df7c
movq %r15, %rbp
movl $0x48, %ebx
xorl %r15d, %r15d
xorl %r12d, %r12d
leaq -0x1(%rax), %rdx
movq (%rsi), %rcx
cmpq %rdx, %r15
je 0x18db20
cmpq 0x30(%rcx,%rbx), %r15
jne 0x18db20
movq 0x50(%rcx,%rbx), %rdx
cmpq (%rcx,%rbx), %rdx
jge 0x18db40
movq (%rcx,%rbx), %rax
leaq (%r14,%r12,8), %rsi
movq %rax, (%r14,%r12,8)
movq %r13, %rdi
callq 0x165607
movq 0x8(%rsp), %rsi
incq %r12
movq 0x18(%rsi), %rax
incq %r15
addq $0x50, %rbx
cmpq %rax, %r15
jb 0x18db02
testq %r12, %r12
movq %rbp, %r15
je 0x18df7c
movq %r13, %rdi
callq 0x1656d1
testq %rax, %rax
je 0x18e013
movq (%rax), %r12
movq %r12, 0x30(%rsp)
movq %r13, %rdi
callq 0x1657ec
leaq 0x210ef8(%rip), %rsi    # 0x39ea78
movq %r14, %rdi
movl $0x473, %edx            # imm = 0x473
callq 0x1045eb
movq 0x10(%rsp), %rsi
movl (%rsi), %eax
cmpl $0x3, %eax
leaq 0x1cd9a3(%rip), %rax    # 0x35b541
leaq 0x23c5cb(%rip), %rdx    # 0x3ca170
cmoveq %rax, %rdx
leaq 0x1b876c(%rip), %rax    # 0x34631c
leaq 0x206b41(%rip), %rcx    # 0x3946f8
cmovbeq %rax, %rcx
leaq 0x211313(%rip), %rsi    # 0x39eed5
movq 0x80(%rsp), %rdi
movq %r12, %r8
xorl %eax, %eax
callq 0x103fe1
movq 0x8(%rsp), %rsi
movq 0x18(%rsi), %rcx
testq %rcx, %rcx
je 0x18df98
xorl %r13d, %r13d
xorl %r14d, %r14d
xorl %r10d, %r10d
movq 0x10(%rsp), %r8
decq %rcx
movq (%rsi), %rax
cmpq %r13, %rcx
je 0x18dc2b
leaq (,%r13,4), %rcx
addq %r13, %rcx
shlq $0x4, %rcx
cmpq %r13, 0x78(%rax,%rcx)
jne 0x18dc2b
leaq (%rax,%rcx), %rdx
movq 0x98(%rdx), %rdx
cmpq 0x48(%rax,%rcx), %rdx
jge 0x18dd31
movl (%r8), %ecx
cmpl $0x1, %ecx
jne 0x18dc49
leaq (,%r13,4), %rdx
addq %r13, %rdx
shlq $0x4, %rdx
movq 0x40(%rax,%rdx), %rdi
jmp 0x18dc4b
xorl %edi, %edi
leaq (,%r13,4), %r9
addq %r13, %r9
shlq $0x4, %r9
movq 0x48(%rax,%r9), %rdx
subq %rdi, %rdx
cmpq %r12, %rdx
jl 0x18dd31
testq %r15, %r15
je 0x18dca6
cmpl $0x3, %ecx
jbe 0x18dff0
movq 0x20(%rax,%r9), %rax
shlq $0x4, %rax
addq %r15, %rax
cmpb $0x1, (%rax)
jne 0x18dd31
cmpq %rdx, 0x8(%rax)
jne 0x18dd31
movq 0x40(%rsp), %rbx
movq %rdx, 0x18(%rbx)
movb $0x0, (%rax)
jmp 0x18dd05
movq 0x40(%rsp), %rbx
movq %rdx, 0x18(%rbx)
cmpl $0x3, %ecx
jne 0x18dd05
movq 0x30(%rsi), %rax
cmpq $0x0, (%rax,%r13,8)
je 0x18dd31
movq 0x40(%rsp), %rbx
movb $0x1, 0x20(%rbx)
cmpq $0x20, 0x8(%rbx)
ja 0x18dd46
movq $0x20, 0x8(%rbx)
movq (%rbx), %rdi
movl $0x100, %esi            # imm = 0x100
leaq 0x210d92(%rip), %rdx    # 0x39ea78
movl $0x1cd, %ecx            # imm = 0x1CD
movq %r10, %rbp
callq 0x104461
movq %rbp, %r10
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %r8
movq %rax, (%rbx)
jmp 0x18dd49
movq %rbx, %rdi
movq %r13, %rdx
movq %r10, %rbp
callq 0x18e855
movq 0x50(%rsp), %rdi
movq 0x8(%rsp), %rsi
movq %rbx, %rdx
callq *0x58(%rsp)
movq %rbp, %r10
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %r8
incq %r13
movq 0x18(%rsi), %rcx
cmpq %rcx, %r13
jb 0x18dbf4
jmp 0x18df66
movq (%rbx), %rax
testq %rax, %rax
je 0x18dfff
movq %r13, (%rax)
movq 0x40(%rsp), %rax
movq $0x1, 0x10(%rax)
movq 0x30(%rsi), %rax
movq 0x38(%rsi), %rcx
movq (%rcx,%r13,8), %rbx
movq (%rax,%r13,8), %rdx
addq %rbx, %rdx
cmpq %rdx, %rbx
jae 0x18dd31
movq 0x40(%rsi), %rdx
xorl %ebp, %ebp
movq (%rdx,%rbx,8), %rdi
cmpq 0x18(%rsi), %rdi
je 0x18ddf2
cmpq %r10, %rbp
jb 0x18ddc1
addq $0x20, %r10
movq %r10, %rsi
shlq $0x4, %rsi
movq %r14, %rdi
leaq 0x210cd4(%rip), %rdx    # 0x39ea78
movl $0x1d6, %ecx            # imm = 0x1D6
movq %r10, %r14
callq 0x104461
movq %r14, %r10
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %r8
movq %rax, %r14
testq %r14, %r14
je 0x18dfeb
leaq 0x1(%rbp), %rdi
shlq $0x4, %rbp
movq $0x1, (%r14,%rbp)
movq 0x40(%rsi), %rdx
movq (%rdx,%rbx,8), %rax
movq %rax, 0x8(%r14,%rbp)
movq 0x30(%rsi), %rax
movq 0x38(%rsi), %rcx
movq %rdi, %rbp
incq %rbx
movq (%rax,%r13,8), %rdi
addq (%rcx,%r13,8), %rdi
cmpq %rdi, %rbx
jb 0x18dd80
testq %rbp, %rbp
movq %r15, 0x28(%rsp)
movq %r12, 0x20(%rsp)
je 0x18dd31
decq %rbp
movq %rbp, %rax
shlq $0x4, %rax
movq (%r14,%rax), %r15
movq 0x8(%r14,%rax), %rbx
leaq 0x1(%r15), %r12
movq 0x40(%rsp), %rdx
cmpq 0x8(%rdx), %r12
movq %r10, 0x18(%rsp)
jae 0x18de45
movq (%rdx), %rax
jmp 0x18de72
movq %r12, 0x8(%rdx)
movq (%rdx), %rdi
leaq (,%r12,8), %rsi
leaq 0x210c1d(%rip), %rdx    # 0x39ea78
movl $0x1df, %ecx            # imm = 0x1DF
callq 0x104461
movq 0x8(%rsp), %rsi
movq 0x40(%rsp), %rdx
movq %rax, (%rdx)
testq %rax, %rax
je 0x18dfe6
movq %rbx, (%rax,%r15,8)
movq %r12, 0x10(%rdx)
movq 0x30(%rsi), %rax
movq (%rax,%rbx,8), %rdi
testq %rdi, %rdi
je 0x18df36
movq 0x38(%rsi), %rcx
movq (%rcx,%rbx,8), %r15
addq %r15, %rdi
cmpq %rdi, %r15
jae 0x18df44
movq 0x40(%rsi), %rdx
movq 0x10(%rsp), %r8
movq 0x18(%rsp), %r10
movq (%rdx,%r15,8), %rdi
cmpq 0x18(%rsi), %rdi
je 0x18df24
cmpq %r10, %rbp
jb 0x18def7
addq $0x20, %r10
movq %r10, %rsi
shlq $0x4, %rsi
movq %r14, %rdi
leaq 0x210b9e(%rip), %rdx    # 0x39ea78
movl $0x1ed, %ecx            # imm = 0x1ED
movq %r10, %r14
callq 0x104461
movq %r14, %r10
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %r8
movq %rax, %r14
testq %r14, %r14
je 0x18dfdc
leaq 0x1(%rbp), %rdi
shlq $0x4, %rbp
movq %r12, (%r14,%rbp)
movq 0x40(%rsi), %rdx
movq (%rdx,%r15,8), %rax
movq %rax, 0x8(%r14,%rbp)
movq 0x30(%rsi), %rax
movq 0x38(%rsi), %rcx
movq %rdi, %rbp
incq %r15
movq (%rax,%rbx,8), %rdi
addq (%rcx,%rbx,8), %rdi
cmpq %rdi, %r15
jb 0x18deb6
jmp 0x18df4e
movq 0x50(%rsp), %rdi
callq *0x58(%rsp)
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %r8
movq 0x18(%rsp), %r10
testq %rbp, %rbp
movq 0x28(%rsp), %r15
movq 0x20(%rsp), %r12
jne 0x18de19
jmp 0x18dd31
testq %r14, %r14
je 0x18df98
leaq 0x210b06(%rip), %rsi    # 0x39ea78
movq %r14, %rdi
movl $0x4b4, %edx            # imm = 0x4B4
jmp 0x18df93
movq %r13, %rdi
callq 0x1657ec
leaq 0x210aed(%rip), %rsi    # 0x39ea78
movq %r14, %rdi
movl $0x473, %edx            # imm = 0x473
callq 0x1045eb
testq %r15, %r15
je 0x18dfb1
leaq 0x210ad4(%rip), %rsi    # 0x39ea78
movq %r15, %rdi
movl $0x56b, %edx            # imm = 0x56B
callq 0x1045eb
movq 0x10(%rsp), %rax
movl (%rax), %eax
andl $-0x2, %eax
cmpl $0x2, %eax
je 0x18dfca
movq 0x38(%rsp), %rdi
callq 0x165fc5
addq $0x88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
callq 0x5c376
callq 0x5c259
callq 0x5c3af
callq 0x5c33d
callq 0x5c304
callq 0x5c1e7
callq 0x5c292
callq 0x5c3e8
callq 0x5c220
callq 0x5c45a
callq 0x5c421
callq 0x5c2cb