// File: /workspace/github_c_makefile_star2_O2/deplinenoise[P]tundra/src/InspectMain.cpp
// Function: main
int main(int argc, char* argv[])
{
  MemoryMappedFile f;

  const char* fn = argc >=2 ? argv[1] : ".tundra2.dag";

  MmapFileInit(&f);
  MmapFileMap(&f, fn);

  if (MmapFileValid(&f))
  {
    const char* suffix = strrchr(fn, '.');

    if (0 == strcmp(suffix, ".dag"))
    {
      const DagData* data = (const DagData*) f.m_Address;
      if (data->m_MagicNumber == DagData::MagicNumber)
      {
        DumpDag(data);
      }
      else
      {
        fprintf(stderr, "%s: bad magic number\n", fn);
      }
    }
    else if (0 == strcmp(suffix, ".state"))
    {
      const StateData* data = (const StateData*) f.m_Address;
      if (data->m_MagicNumber == StateData::MagicNumber)
      {
        DumpState(data);
      }
      else
      {
        fprintf(stderr, "%s: bad magic number\n", fn);
      }
    }
    else if (0 == strcmp(suffix, ".scancache"))
    {
      const ScanData* data = (const ScanData*) f.m_Address;
      if (data->m_MagicNumber == ScanData::MagicNumber)
      {
        DumpScanCache(data);
      }
      else
      {
        fprintf(stderr, "%s: bad magic number\n", fn);
      }
    }
    else if (0 == strcmp(suffix, ".digestcache"))
    {
      const DigestCacheState* data = (const DigestCacheState*) f.m_Address;
      if (data->m_MagicNumber == DigestCacheState::MagicNumber)
      {
        DumpDigestCache(data);
      }
      else
      {
        fprintf(stderr, "%s: bad magic number\n", fn);
      }
    }
    else
    {
      fprintf(stderr, "%s: unknown file type\n", fn);
    }
  }
  else
  {
    fprintf(stderr, "%s: couldn't mmap file\n", fn);
  }

  MmapFileUnmap(&f);
  return 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x78, %rsp
cmpl $0x2, %edi
jl 0x27a5
movq 0x8(%rsi), %rbx
jmp 0x27ac
leaq 0xf858(%rip), %rbx      # 0x12004
leaq 0x58(%rsp), %r14
movq %r14, %rdi
callq 0x3984
movq %r14, %rdi
movq %rbx, %rsi
callq 0x3a2b
movq (%r14), %rbp
testq %rbp, %rbp
je 0x3669
pushq $0x2e
popq %rsi
movq %rbx, %rdi
callq 0x23a0
movq %rax, %r14
leaq 0xf827(%rip), %rsi      # 0x1200c
movq %rax, %rdi
callq 0x24a0
testl %eax, %eax
je 0x292b
leaq 0x11305(%rip), %rsi     # 0x13b01
movq %r14, %rdi
callq 0x24a0
testl %eax, %eax
je 0x3348
leaq 0x11333(%rip), %rsi     # 0x13b46
movq %r14, %rdi
callq 0x24a0
testl %eax, %eax
je 0x34fd
leaq 0x1136f(%rip), %rsi     # 0x13b99
movq %r14, %rdi
callq 0x24a0
testl %eax, %eax
jne 0x36b2
cmpl $0x6a683db8, (%rbp)     # imm = 0x6A683DB8
jne 0x367c
movl 0x4(%rbp), %esi
leaq 0xfba0(%rip), %rdi      # 0x123f1
xorl %eax, %eax
callq 0x2060
movslq 0x8(%rbp), %rax
testq %rax, %rax
leaq 0x8(%rax,%rbp), %r12
cmoveq %rax, %r12
movslq 0x4(%rbp), %rax
leaq 0x24(%r12), %r13
imulq $0x30, %rax, %rbx
leaq 0x30(%rsp), %r15
leaq 0x18b2f(%rip), %rbp     # 0x1b3b0
pushq $0xa
popq %r14
testq %rbx, %rbx
je 0x3697
movslq 0x24(%r12), %rax
leaq (%rax,%r13), %rsi
testq %rax, %rax
cmoveq %rax, %rsi
leaq 0xfb5e(%rip), %rdi      # 0x12403
xorl %eax, %eax
callq 0x2060
movl 0x10(%r12), %esi
leaq 0xfb60(%rip), %rdi      # 0x12418
xorl %eax, %eax
callq 0x2060
leaq 0x14(%r12), %rsi
movq %r15, %rdi
callq 0x3925
leaq 0xfb5c(%rip), %rdi      # 0x1242f
movq %r15, %rsi
xorl %eax, %eax
callq 0x2060
movq 0x8(%r12), %rdi
callq 0x36c5
leaq 0xfb56(%rip), %rdi      # 0x12444
movq %rbp, %rsi
xorl %eax, %eax
callq 0x2060
movq (%r12), %rdi
callq 0x36c5
leaq 0xfb51(%rip), %rdi      # 0x12459
movq %rbp, %rsi
xorl %eax, %eax
callq 0x2060
movl %r14d, %edi
callq 0x2490
addq $0x30, %r12
addq $0x30, %r13
addq $-0x30, %rbx
jmp 0x2885
cmpl $0x6d992313, (%rbp)     # imm = 0x6D992313
jne 0x367c
movl 0x4(%rbp), %r14d
leaq 0xf713(%rip), %rdi      # 0x12056
xorl %ebx, %ebx
movl $0x6d992313, %esi       # imm = 0x6D992313
xorl %eax, %eax
callq 0x2060
leaq 0xf714(%rip), %rdi      # 0x1206c
movl %r14d, %esi
xorl %eax, %eax
callq 0x2060
leaq 0x8(%rbp), %rax
movq %rax, 0x20(%rsp)
leaq 0xc(%rbp), %rax
movq %rax, 0x28(%rsp)
testl %r14d, %r14d
cmovlel %ebx, %r14d
movq %r14, 0x18(%rsp)
leaq 0xf793(%rip), %rbx      # 0x1211a
leaq 0xfcb9(%rip), %r15      # 0x12647
xorl %r12d, %r12d
movq %rbp, 0x10(%rsp)
cmpq 0x18(%rsp), %r12
je 0x2e87
leaq 0xf6d4(%rip), %rdi      # 0x1207c
movl %r12d, %esi
xorl %eax, %eax
callq 0x2060
movq 0x20(%rsp), %rcx
movslq (%rcx), %rax
addq %rax, %rcx
testq %rax, %rax
cmoveq %rax, %rcx
movq %r12, %rsi
shlq $0x4, %rsi
addq %rcx, %rsi
leaq 0x30(%rsp), %r13
movq %r13, %rdi
callq 0x3925
movq 0x28(%rsp), %rcx
movslq (%rcx), %rax
leaq (%rax,%rcx), %r14
testq %rax, %rax
cmoveq %rax, %r14
movq %r12, 0x8(%rsp)
imulq $0x48, %r12, %r12
leaq (%r14,%r12), %rbp
leaq 0xf684(%rip), %rdi      # 0x12086
movq %r13, %rsi
xorl %eax, %eax
callq 0x2060
leaq 0xf747(%rip), %rdi      # 0x1215a
xorl %eax, %eax
callq 0x2060
movl 0x44(%r14,%r12), %eax
testb $0x2, %al
je 0x2a34
leaq 0xf668(%rip), %rdi      # 0x12092
xorl %eax, %eax
callq 0x2060
movl 0x44(%rbp), %eax
testb $0x1, %al
je 0x2a49
leaq 0xf65d(%rip), %rdi      # 0x1209c
xorl %eax, %eax
callq 0x2060
movl 0x44(%rbp), %eax
testb $0x4, %al
je 0x2a5b
leaq 0xf653(%rip), %rdi      # 0x120a7
xorl %eax, %eax
callq 0x2060
movslq (%rbp), %rax
leaq (%rax,%rbp), %rsi
testq %rax, %rax
cmoveq %rax, %rsi
leaq 0xf641(%rip), %rdi      # 0x120b2
xorl %eax, %eax
callq 0x2060
movslq 0x4(%rbp), %rax
leaq (%rax,%rbp), %rsi
addq $0x4, %rsi
testq %rsi, %rsi
leaq 0xf644(%rip), %rcx      # 0x120d2
cmoveq %rcx, %rsi
testq %rax, %rax
cmoveq %rcx, %rsi
leaq 0xf621(%rip), %rdi      # 0x120c1
xorl %eax, %eax
callq 0x2060
movslq 0x8(%rbp), %rax
testq %rax, %rax
leaq 0x8(%rax,%rbp), %rsi
cmoveq %rax, %rsi
leaq 0xf61b(%rip), %rdi      # 0x120d9
xorl %eax, %eax
callq 0x2060
movl 0xc(%rbp), %esi
leaq 0xf61c(%rip), %rdi      # 0x120eb
xorl %eax, %eax
callq 0x2060
leaq 0xf620(%rip), %rdi      # 0x120fd
xorl %eax, %eax
callq 0x2060
movslq 0x14(%rbp), %rax
testq %rax, %rax
leaq 0x14(%rax,%rbp), %r14
cmoveq %rax, %r14
movslq 0x10(%rbp), %r12
shlq $0x2, %r12
xorl %r13d, %r13d
cmpq %r13, %r12
je 0x2b18
movl (%r14,%r13), %esi
movq %r15, %rdi
xorl %eax, %eax
callq 0x2060
addq $0x4, %r13
jmp 0x2aff
pushq $0xa
popq %rdi
callq 0x2490
leaq 0xf5e6(%rip), %rdi      # 0x1210d
xorl %eax, %eax
callq 0x2060
movslq 0x1c(%rbp), %rax
testq %rax, %rax
leaq 0x1c(%rax,%rbp), %r14
cmoveq %rax, %r14
movslq 0x18(%rbp), %r12
shlq $0x2, %r12
xorl %r13d, %r13d
cmpq %r13, %r12
je 0x2b62
movl (%r14,%r13), %esi
movq %r15, %rdi
xorl %eax, %eax
callq 0x2060
addq $0x4, %r13
jmp 0x2b49
pushq $0xa
popq %rdi
callq 0x2490
leaq 0xf979(%rip), %rdi      # 0x124ea
callq 0x2570
movslq 0x24(%rbp), %rax
testq %rax, %rax
leaq 0x24(%rax,%rbp), %r14
cmoveq %rax, %r14
movslq 0x20(%rbp), %r12
shlq $0x3, %r12
movq %r14, %r13
testq %r12, %r12
je 0x2bc1
movslq (%r13), %rax
leaq (%r14,%rax), %rsi
testq %rax, %rax
cmoveq %rax, %rsi
movl 0x4(%r13), %edx
movq %rbx, %rdi
xorl %eax, %eax
callq 0x2060
addq $0x8, %r13
addq $0x8, %r14
addq $-0x8, %r12
jmp 0x2b91
leaq 0xf9a9(%rip), %rdi      # 0x12571
callq 0x2570
movslq 0x2c(%rbp), %rax
testq %rax, %rax
leaq 0x2c(%rax,%rbp), %r14
cmoveq %rax, %r14
movslq 0x28(%rbp), %r12
shlq $0x3, %r12
movq %r14, %r13
testq %r12, %r12
je 0x2c18
movslq (%r13), %rax
leaq (%r14,%rax), %rsi
testq %rax, %rax
cmoveq %rax, %rsi
movl 0x4(%r13), %edx
movq %rbx, %rdi
xorl %eax, %eax
callq 0x2060
addq $0x8, %r13
addq $0x8, %r14
addq $-0x8, %r12
jmp 0x2be8
leaq 0xf8d5(%rip), %rdi      # 0x124f4
callq 0x2570
movslq 0x34(%rbp), %rax
testq %rax, %rax
leaq 0x34(%rax,%rbp), %r14
cmoveq %rax, %r14
movslq 0x30(%rbp), %r12
shlq $0x3, %r12
movq %r14, %r13
testq %r12, %r12
je 0x2c6f
movslq (%r13), %rax
leaq (%r14,%rax), %rsi
testq %rax, %rax
cmoveq %rax, %rsi
movl 0x4(%r13), %edx
movq %rbx, %rdi
xorl %eax, %eax
callq 0x2060
addq $0x8, %r13
addq $0x8, %r14
addq $-0x8, %r12
jmp 0x2c3f
leaq 0xf88d(%rip), %rdi      # 0x12503
callq 0x2570
movslq 0x3c(%rbp), %rax
testq %rax, %rax
leaq 0x3c(%rax,%rbp), %r13
cmoveq %rax, %r13
movslq 0x38(%rbp), %r12
shlq $0x3, %r12
movq %r13, %r14
testq %r12, %r12
je 0x2cd5
movslq (%r14), %rax
leaq (%rax,%r13), %rsi
testq %rax, %rax
cmoveq %rax, %rsi
movslq 0x4(%r14), %rax
testq %rax, %rax
leaq 0x4(%r13,%rax), %rdx
cmoveq %rax, %rdx
leaq 0xf46b(%rip), %rdi      # 0x1212b
xorl %eax, %eax
callq 0x2060
addq $0x8, %r14
addq $0x8, %r13
addq $-0x8, %r12
jmp 0x2c96
movslq 0x40(%rbp), %rax
addq $0x40, %rbp
testq %rax, %rax
sete %cl
addq %rax, %rbp
sete %al
orb %cl, %al
jne 0x2e6d
leaq 0xf81a(%rip), %rdi      # 0x12512
callq 0x2570
movl (%rbp), %eax
cmpl $0x1, %eax
leaq 0xf833(%rip), %rdi      # 0x1253d
leaq 0xf80c(%rip), %rcx      # 0x1251d
cmoveq %rcx, %rdi
testl %eax, %eax
leaq 0xf811(%rip), %rax      # 0x1252f
cmoveq %rax, %rdi
callq 0x2570
leaq 0xf822(%rip), %rdi      # 0x12550
callq 0x2570
movslq 0x8(%rbp), %rax
testq %rax, %rax
leaq 0x8(%rax,%rbp), %r14
cmoveq %rax, %r14
movslq 0x4(%rbp), %r12
shlq $0x2, %r12
xorl %r13d, %r13d
cmpq %r13, %r12
je 0x2d79
leaq (%r14,%r13), %rsi
movslq (%r14,%r13), %rax
addq %rax, %rsi
testq %rax, %rax
cmoveq %rax, %rsi
leaq 0xf3cc(%rip), %rdi      # 0x12138
xorl %eax, %eax
callq 0x2060
addq $0x4, %r13
jmp 0x2d4e
leaq 0xc(%rbp), %rsi
leaq 0x30(%rsp), %r14
movq %r14, %rdi
callq 0x3925
leaq 0xf3b1(%rip), %rdi      # 0x12142
movq %r14, %rsi
xorl %eax, %eax
callq 0x2060
cmpl $0x1, (%rbp)
jne 0x2e6d
leaq 0xf3ac(%rip), %rdi      # 0x12158
xorl %eax, %eax
callq 0x2060
movl 0x1c(%rbp), %eax
testb $0x1, %al
je 0x2dcb
leaq 0xf3a2(%rip), %rdi      # 0x12163
xorl %eax, %eax
callq 0x2060
movl 0x1c(%rbp), %eax
testb $0x2, %al
je 0x2de0
leaq 0xf3a0(%rip), %rdi      # 0x12176
xorl %eax, %eax
callq 0x2060
movl 0x1c(%rbp), %eax
testb $0x4, %al
je 0x2df2
leaq 0xf39a(%rip), %rdi      # 0x12185
xorl %eax, %eax
callq 0x2060
pushq $0xa
popq %rdi
callq 0x2490
leaq 0xf762(%rip), %rdi      # 0x12563
callq 0x2570
movslq 0x24(%rbp), %rax
testq %rax, %rax
leaq 0x24(%rax,%rbp), %r14
cmoveq %rax, %r14
movslq 0x20(%rbp), %r12
shlq $0x3, %r12
movq %r14, %r13
testq %r12, %r12
je 0x2e6d
movslq (%r13), %rax
leaq (%r14,%rax), %rsi
testq %rax, %rax
cmoveq %rax, %rsi
cmpb $0x0, 0x6(%r13)
movswl 0x4(%r13), %edx
leaq 0xf372(%rip), %rcx      # 0x121b8
leaq 0xf36f(%rip), %rax      # 0x121bc
cmoveq %rax, %rcx
leaq 0xf33e(%rip), %rdi      # 0x12196
xorl %eax, %eax
callq 0x2060
addq $0x8, %r13
addq $0x8, %r14
addq $-0x8, %r12
jmp 0x2e21
pushq $0xa
popq %rdi
callq 0x2490
movq 0x8(%rsp), %r12
incq %r12
movq 0x10(%rsp), %rbp
jmp 0x2996
movl 0x10(%rbp), %esi
leaq 0xf32e(%rip), %rdi      # 0x121bf
xorl %eax, %eax
callq 0x2060
movslq 0x14(%rbp), %rax
testq %rax, %rax
leaq 0x14(%rax,%rbp), %r14
cmoveq %rax, %r14
movslq 0x10(%rbp), %r15
shlq $0x2, %r15
leaq 0xf319(%rip), %rbx      # 0x121d0
xorl %r12d, %r12d
cmpq %r12, %r15
je 0x2ee1
leaq (%r14,%r12), %rsi
movslq (%r14,%r12), %rax
addq %rax, %rsi
testq %rax, %rax
cmoveq %rax, %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq 0x2060
addq $0x4, %r12
jmp 0x2eba
movl 0x18(%rbp), %esi
leaq 0xf2f1(%rip), %rdi      # 0x121dc
xorl %eax, %eax
callq 0x2060
leaq 0x1c(%rbp), %r15
leaq 0x20(%rbp), %r12
leaq 0xf2ee(%rip), %rbx      # 0x121ef
xorl %r13d, %r13d
xorl %r14d, %r14d
movslq 0x18(%rbp), %rax
cmpq %rax, %r14
jge 0x2f58
movslq (%r15), %rax
leaq (%rax,%r15), %rdx
testq %rax, %rax
cmoveq %rax, %rdx
movslq (%rdx,%r14,4), %rax
addq %r13, %rdx
addq %rax, %rdx
testq %rax, %rax
cmoveq %rax, %rdx
movslq (%r12), %rax
leaq (%rax,%r12), %rcx
testq %rax, %rax
cmoveq %rax, %rcx
movl (%rcx,%r14,4), %ecx
movq %rbx, %rdi
movl %r14d, %esi
xorl %eax, %eax
callq 0x2060
incq %r14
addq $0x4, %r13
jmp 0x2f07
movl 0x24(%rbp), %esi
leaq 0xf2aa(%rip), %rdi      # 0x1220c
xorl %eax, %eax
callq 0x2060
leaq 0x28(%rbp), %r15
leaq 0x2c(%rbp), %r12
leaq 0xf277(%rip), %rbx      # 0x121ef
xorl %r13d, %r13d
xorl %r14d, %r14d
movslq 0x24(%rbp), %rax
cmpq %rax, %r14
jge 0x2fcf
movslq (%r15), %rax
leaq (%rax,%r15), %rdx
testq %rax, %rax
cmoveq %rax, %rdx
movslq (%rdx,%r14,4), %rax
addq %r13, %rdx
addq %rax, %rdx
testq %rax, %rax
cmoveq %rax, %rdx
movslq (%r12), %rax
leaq (%rax,%r12), %rcx
testq %rax, %rax
cmoveq %rax, %rcx
movl (%rcx,%r14,4), %ecx
movq %rbx, %rdi
movl %r14d, %esi
xorl %eax, %eax
callq 0x2060
incq %r14
addq $0x4, %r13
jmp 0x2f7e
movl 0x30(%rbp), %esi
leaq 0xf247(%rip), %rdi      # 0x12220
xorl %eax, %eax
callq 0x2060
leaq 0x34(%rbp), %r15
leaq 0x38(%rbp), %r12
leaq 0xf200(%rip), %rbx      # 0x121ef
xorl %r13d, %r13d
xorl %r14d, %r14d
movslq 0x30(%rbp), %rax
cmpq %rax, %r14
jge 0x3046
movslq (%r15), %rax
leaq (%rax,%r15), %rdx
testq %rax, %rax
cmoveq %rax, %rdx
movslq (%rdx,%r14,4), %rax
addq %r13, %rdx
addq %rax, %rdx
testq %rax, %rax
cmoveq %rax, %rdx
movslq (%r12), %rax
leaq (%rax,%r12), %rcx
testq %rax, %rax
cmoveq %rax, %rcx
movl (%rcx,%r14,4), %ecx
movq %rbx, %rdi
movl %r14d, %esi
xorl %eax, %eax
callq 0x2060
incq %r14
addq $0x4, %r13
jmp 0x2ff5
movl 0x44(%rbp), %esi
leaq 0xf1e7(%rip), %rdi      # 0x12237
xorl %eax, %eax
callq 0x2060
movl 0x48(%rbp), %esi
leaq 0xf1f1(%rip), %rdi      # 0x12252
xorl %eax, %eax
callq 0x2060
movl 0x4c(%rbp), %esi
leaq 0xf1fb(%rip), %rdi      # 0x1226d
xorl %eax, %eax
callq 0x2060
leaq 0xf3fa(%rip), %rdi      # 0x1247a
callq 0x2570
movslq 0x40(%rbp), %rax
testq %rax, %rax
leaq 0x40(%rax,%rbp), %r12
cmoveq %rax, %r12
movslq 0x3c(%rbp), %rax
imulq $0x24, %rax, %rax
addq %r12, %rax
movq %rax, 0x8(%rsp)
leaq 0xf22f(%rip), %r14      # 0x122db
leaq 0xf594(%rip), %r15      # 0x12647
cmpq 0x8(%rsp), %r12
je 0x31f7
movl (%r12), %esi
leaq 0xf1c2(%rip), %rdi      # 0x1228b
xorl %eax, %eax
callq 0x2060
movl 0x4(%r12), %esi
leaq 0xf1c5(%rip), %rdi      # 0x122a1
xorl %eax, %eax
callq 0x2060
movl 0x8(%r12), %esi
leaq 0xf186(%rip), %rdi      # 0x12275
xorl %eax, %eax
callq 0x2060
leaq 0xf1ba(%rip), %rdi      # 0x122b7
xorl %eax, %eax
callq 0x2060
movslq 0x18(%r12), %rax
testq %rax, %rax
leaq 0x18(%rax,%r12), %rbx
cmoveq %rax, %rbx
movslq 0x14(%r12), %r13
shlq $0x2, %r13
xorl %ebp, %ebp
cmpq %rbp, %r13
je 0x3138
movl (%rbx,%rbp), %esi
movq %r15, %rdi
xorl %eax, %eax
callq 0x2060
addq $0x4, %rbp
jmp 0x3120
pushq $0xa
popq %rdi
callq 0x2490
leaq 0xf182(%rip), %rdi      # 0x122c9
xorl %eax, %eax
callq 0x2060
movslq 0x10(%r12), %rax
testq %rax, %rax
leaq 0x10(%rax,%r12), %rbx
cmoveq %rax, %rbx
movslq 0xc(%r12), %r13
shlq $0x2, %r13
xorl %ebp, %ebp
cmpq %rbp, %r13
je 0x3182
movl (%rbx,%rbp), %esi
movq %r15, %rdi
xorl %eax, %eax
callq 0x2060
addq $0x4, %rbp
jmp 0x316a
pushq $0xa
popq %rdi
callq 0x2490
leaq 0xf34c(%rip), %rdi      # 0x124dd
callq 0x2570
movslq 0x20(%r12), %rax
testq %rax, %rax
leaq 0x20(%rax,%r12), %rbp
cmoveq %rax, %rbp
movslq 0x1c(%r12), %r13
shlq $0x3, %r13
movq %rbp, %rbx
testq %r13, %r13
je 0x31e1
movslq (%rbx), %rax
leaq (%rax,%rbp), %rsi
testq %rax, %rax
cmoveq %rax, %rsi
movl 0x4(%rbx), %edx
movq %r14, %rdi
xorl %eax, %eax
callq 0x2060
addq $0x8, %rbx
addq $0x8, %rbp
addq $-0x8, %r13
jmp 0x31b3
pushq $0xa
popq %rdi
callq 0x2490
addq $0x24, %r12
movq 0x10(%rsp), %rbp
jmp 0x30b3
leaq 0xf28b(%rip), %rdi      # 0x12489
callq 0x2570
movslq 0x54(%rbp), %rax
testq %rax, %rax
leaq 0x54(%rax,%rbp), %r15
cmoveq %rax, %r15
movslq 0x50(%rbp), %r12
shlq $0x4, %r12
leaq 0xf0c9(%rip), %rbx      # 0x122eb
leaq 0xf0d8(%rip), %r14      # 0x12301
movq %r15, %r13
testq %r12, %r12
je 0x3266
movslq (%r13), %rax
leaq (%r15,%rax), %rsi
testq %rax, %rax
cmoveq %rax, %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq 0x2060
movl 0x8(%r13), %esi
movq %r14, %rdi
xorl %eax, %eax
callq 0x2060
addq $0x10, %r13
addq $0x10, %r15
addq $-0x10, %r12
jmp 0x322c
leaq 0xf22e(%rip), %rdi      # 0x1249b
callq 0x2570
movslq 0x5c(%rbp), %rax
testq %rax, %rax
leaq 0x5c(%rax,%rbp), %r12
cmoveq %rax, %r12
movslq 0x58(%rbp), %rax
imulq $0x14, %rax, %r13
leaq 0x30(%rsp), %rbx
leaq 0xf081(%rip), %r14      # 0x12317
leaq 0xf090(%rip), %r15      # 0x1232d
movq %r12, %rbp
testq %r13, %r13
je 0x32e5
leaq 0x4(%rbp), %rsi
movq %rbx, %rdi
callq 0x3925
movslq (%rbp), %rsi
leaq (%r12,%rsi), %rax
testq %rsi, %rsi
cmovneq %rax, %rsi
movq %r14, %rdi
xorl %eax, %eax
callq 0x2060
movq %r15, %rdi
movq %rbx, %rsi
xorl %eax, %eax
callq 0x2060
addq $0x14, %rbp
addq $0x14, %r12
addq $-0x14, %r13
jmp 0x32a0
leaq 0xf1c1(%rip), %rdi      # 0x124ad
callq 0x2570
movq 0x10(%rsp), %r13
movslq 0x64(%r13), %rax
testq %rax, %rax
leaq 0x64(%rax,%r13), %r14
cmoveq %rax, %r14
movslq 0x60(%r13), %r15
shlq $0x2, %r15
leaq 0xf02e(%rip), %rbx      # 0x12343
xorl %r12d, %r12d
cmpq %r12, %r15
je 0x3331
movl (%r14,%r12), %esi
movq %rbx, %rdi
xorl %eax, %eax
callq 0x2060
addq $0x4, %r12
jmp 0x3318
movl 0x68(%r13), %esi
leaq 0xf021(%rip), %rdi      # 0x1235d
xorl %eax, %eax
callq 0x2060
jmp 0x3697
cmpl $0x6d99231c, (%rbp)     # imm = 0x6D99231C
jne 0x367c
movl 0x4(%rbp), %r14d
leaq 0xecf6(%rip), %rdi      # 0x12056
xorl %ebx, %ebx
movl $0x6d99231c, %esi       # imm = 0x6D99231C
xorl %eax, %eax
callq 0x2060
leaq 0xecf7(%rip), %rdi      # 0x1206c
movl %r14d, %esi
xorl %eax, %eax
callq 0x2060
leaq 0xc(%rbp), %rax
movq %rax, 0x18(%rsp)
addq $0x8, %rbp
movq %rbp, 0x10(%rsp)
testl %r14d, %r14d
cmovlel %ebx, %r14d
movq %r14, 0x8(%rsp)
leaq 0xed96(%rip), %rbp      # 0x1213a
xorl %r14d, %r14d
cmpq 0x8(%rsp), %r14
je 0x3697
leaq 0xecc3(%rip), %rdi      # 0x1207c
movl %r14d, %esi
xorl %eax, %eax
callq 0x2060
movq 0x18(%rsp), %rcx
movslq (%rcx), %rax
leaq (%rax,%rcx), %r15
testq %rax, %rax
cmoveq %rax, %r15
imulq $0x24, %r14, %r12
movq 0x10(%rsp), %rcx
movslq (%rcx), %rax
addq %rax, %rcx
testq %rax, %rax
cmovneq %rcx, %rax
leaq (%r15,%r12), %rbx
movq %r14, %rsi
shlq $0x4, %rsi
addq %rax, %rsi
leaq 0x30(%rsp), %r13
movq %r13, %rdi
callq 0x3925
leaq 0xec78(%rip), %rdi      # 0x12086
movq %r13, %rsi
xorl %eax, %eax
callq 0x2060
addq %r15, %r12
addq $0x4, %r12
movl -0x4(%r12), %esi
leaq 0xef4b(%rip), %rdi      # 0x12376
xorl %eax, %eax
callq 0x2060
movq %r13, %rdi
movq %r12, %rsi
callq 0x3925
leaq 0xef46(%rip), %rdi      # 0x1238a
movq %r13, %rsi
xorl %eax, %eax
callq 0x2060
leaq 0xf11c(%rip), %rdi      # 0x12571
callq 0x2570
movslq 0x14(%r12), %rax
testq %rax, %rax
leaq 0x18(%rax,%rbx), %r13
cmoveq %rax, %r13
movslq 0x10(%r12), %r12
shlq $0x2, %r12
xorl %r15d, %r15d
cmpq %r15, %r12
je 0x349f
leaq (%r15,%r13), %rsi
movslq (%r13,%r15), %rax
addq %rax, %rsi
testq %rax, %rax
cmoveq %rax, %rsi
movq %rbp, %rdi
xorl %eax, %eax
callq 0x2060
addq $0x4, %r15
jmp 0x3477
leaq 0xf0d6(%rip), %rdi      # 0x1257c
callq 0x2570
movslq 0x20(%rbx), %rax
testq %rax, %rax
leaq 0x20(%rax,%rbx), %r12
cmoveq %rax, %r12
movslq 0x1c(%rbx), %rbx
shlq $0x2, %rbx
xorl %r13d, %r13d
cmpq %r13, %rbx
je 0x34ed
leaq (%r12,%r13), %rsi
movslq (%r12,%r13), %rax
addq %rax, %rsi
testq %rax, %rax
cmoveq %rax, %rsi
movq %rbp, %rdi
xorl %eax, %eax
callq 0x2060
addq $0x4, %r13
jmp 0x34c6
pushq $0xa
popq %rdi
callq 0x2490
incq %r14
jmp 0x33a7
cmpl $0x6d072210, (%rbp)     # imm = 0x6D072210
jne 0x367c
movl 0x4(%rbp), %r15d
leaq 0xeb41(%rip), %rdi      # 0x12056
xorl %ebx, %ebx
movl $0x6d072210, %esi       # imm = 0x6D072210
xorl %eax, %eax
callq 0x2060
leaq 0xee77(%rip), %rdi      # 0x123a1
movl %r15d, %esi
xorl %eax, %eax
callq 0x2060
leaq 0xc(%rbp), %rax
movq %rax, 0x18(%rsp)
leaq 0x8(%rbp), %rax
movq %rax, 0x20(%rsp)
addq $0x10, %rbp
movq %rbp, 0x10(%rsp)
testl %r15d, %r15d
cmovlel %ebx, %r15d
movq %r15, 0x8(%rsp)
leaq 0xebb8(%rip), %r12      # 0x1211a
xorl %r15d, %r15d
cmpq 0x8(%rsp), %r15
je 0x3697
leaq 0xee3b(%rip), %rdi      # 0x123b2
movl %r15d, %esi
xorl %eax, %eax
callq 0x2060
movq 0x18(%rsp), %rcx
movslq (%rcx), %rax
leaq (%rax,%rcx), %rbx
testq %rax, %rax
cmoveq %rax, %rbx
movq %r15, %r13
shlq $0x4, %r13
leaq (%rbx,%r13), %rbp
movq 0x20(%rsp), %rax
movslq (%rax), %rsi
addq %rsi, %rax
testq %rsi, %rsi
cmovneq %rax, %rsi
addq %r13, %rsi
leaq 0x30(%rsp), %r14
movq %r14, %rdi
callq 0x3925
leaq 0xeabe(%rip), %rdi      # 0x12086
movq %r14, %rsi
xorl %eax, %eax
callq 0x2060
movq 0x10(%rsp), %rcx
movslq (%rcx), %rax
addq %rax, %rcx
testq %rax, %rax
cmoveq %rax, %rcx
movq (%rcx,%r15,8), %rsi
leaq 0xedce(%rip), %rdi      # 0x123bd
xorl %eax, %eax
callq 0x2060
movq (%rbx,%r13), %rsi
leaq 0xedd7(%rip), %rdi      # 0x123d8
xorl %eax, %eax
callq 0x2060
leaq 0xef7c(%rip), %rdi      # 0x1258b
callq 0x2570
movslq 0xc(%rbx,%r13), %rax
testq %rax, %rax
leaq 0xc(%rax,%rbp), %rbp
cmoveq %rax, %rbp
movslq 0x8(%rbx,%r13), %rbx
shlq $0x3, %rbx
movq %rbp, %r13
testq %rbx, %rbx
je 0x3661
movslq (%r13), %rax
leaq (%rax,%rbp), %rsi
testq %rax, %rax
cmoveq %rax, %rsi
movl 0x4(%r13), %edx
movq %r12, %rdi
xorl %eax, %eax
callq 0x2060
addq $0x8, %r13
addq $0x8, %rbp
addq $-0x8, %rbx
jmp 0x3631
incq %r15
jmp 0x3565
movq 0x17970(%rip), %rax     # 0x1afe0
movq (%rax), %rdi
leaq 0xe9c4(%rip), %rsi      # 0x1203e
jmp 0x368d
movq 0x1795d(%rip), %rax     # 0x1afe0
movq (%rax), %rdi
leaq 0xe984(%rip), %rsi      # 0x12011
movq %rbx, %rdx
xorl %eax, %eax
callq 0x24b0
leaq 0x58(%rsp), %rdi
callq 0x3994
xorl %eax, %eax
addq $0x78, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x17927(%rip), %rax     # 0x1afe0
movq (%rax), %rdi
leaq 0xe964(%rip), %rsi      # 0x12027
jmp 0x368d