// File: /workspace/github_cpp_makefile_star2_O3/kobanium[P]Ray/src/learn/PatternAnalyzer.cpp
// Function: AnalyzePattern()
void
AnalyzePattern( void )
{
  std::unique_ptr<int[]> md2_count(new int[MD2_MAX]);
  std::unique_ptr<hash_table_t> md3_count(new hash_table_t);
  std::unique_ptr<hash_table_t> md4_count(new hash_table_t);
  std::unique_ptr<hash_table_t> md5_count(new hash_table_t);
  game_info_t *game = AllocateGame(), *init_game = AllocateGame();
  pattern_hash_t hash_pat;
  SGF_record_t kifu;
  unsigned int md2_transp[16];
  unsigned int md2;
  unsigned int min_md2;


  std::cerr << "Start" << std::endl;

  std::fill_n(md2_count.get(), MD2_MAX, 0);
  ClearAllHashData(md3_count);
  ClearAllHashData(md4_count);
  ClearAllHashData(md5_count);

  InitializeBoard(init_game);

  for (int i = ANALYZE_KIFU_START; i <= ANALYZE_KIFU_END; i++) {
    int color = S_BLACK;
    std::ostringstream oss;

    CopyGame(game, init_game);

    oss << ANALYZE_KIFU_PATH << PATH_SEPARATOR << i << ".sgf";


    ExtractKifu(oss.str().c_str(), &kifu);

    std::cerr << oss.str() << ", " << kifu.moves << std::endl;

    for (int j = 0; j < kifu.moves; j++) {
      const int pos = GetKifuMove(&kifu, j);

      if (pos != PASS) {
        md2 = MD2(game->pat, pos);
        MD2Transpose16(md2, md2_transp);
        min_md2 = MD2_MAX;
        for (int k = 0; k < 16; k++) {
          if (min_md2 > md2_transp[k]) {
            min_md2 = md2_transp[k];
          }
        }
        md2_count[min_md2]++;

        PatternHash(&game->pat[pos], &hash_pat);
        Count(md3_count, hash_pat.list[MD_3], &game->pat[pos]);
        Count(md4_count, hash_pat.list[MD_4], &game->pat[pos]);
        Count(md5_count, hash_pat.list[MD_MAX + MD_5], &game->pat[pos]);
      }

      PutStone(game, pos, color);
      color = GetOppositeColor(color);
    }
  }

  OutputTargetPattern(md2_count, md3_count, md4_count, md5_count);

  FreeGame(game);
  FreeGame(init_game);

  std::cerr << "Finish" << std::endl;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x4988, %rsp           # imm = 0x4988
movl $0x4000000, %edi        # imm = 0x4000000
callq 0x6030
movq %rax, 0x28(%rsp)
movl $0x30000008, %edi       # imm = 0x30000008
callq 0x6400
movq %rax, 0x18(%rsp)
movl $0x30000008, %edi       # imm = 0x30000008
callq 0x6400
movq %rax, 0x10(%rsp)
movl $0x30000008, %edi       # imm = 0x30000008
callq 0x6400
movq %rax, 0x8(%rsp)
callq 0x543a6
movq %rax, 0x30(%rsp)
callq 0x543a6
movq %rax, 0x58(%rsp)
movq 0x31dd0(%rip), %rbx     # 0x75fe8
leaq 0x1bbe1(%rip), %rsi     # 0x5fe00
movl $0x5, %edx
movq %rbx, %rdi
callq 0x6490
movq (%rbx), %rax
addq -0x18(%rax), %rbx
movq %rbx, %rdi
movl $0xa, %esi
callq 0x63c0
movsbl %al, %esi
movq 0x31d9e(%rip), %rdi     # 0x75fe8
callq 0x6040
movq %rax, %rdi
callq 0x6290
xorl %ebx, %ebx
movl $0x4000000, %edx        # imm = 0x4000000
movq 0x28(%rsp), %rdi
xorl %esi, %esi
callq 0x6200
movl $0x18, %eax
pxor %xmm0, %xmm0
movq 0x18(%rsp), %rcx
movdqu %xmm0, -0x18(%rcx,%rax)
movl %ebx, -0x8(%rcx,%rax)
movdqu %xmm0, (%rcx,%rax)
movl %ebx, 0x10(%rcx,%rax)
addq $0x30, %rax
cmpq $0x30000018, %rax       # imm = 0x30000018
jne 0x44278
movl $0x18, %eax
pxor %xmm0, %xmm0
xorl %ecx, %ecx
movq 0x10(%rsp), %rdx
movdqu %xmm0, -0x18(%rdx,%rax)
movl %ecx, -0x8(%rdx,%rax)
movdqu %xmm0, (%rdx,%rax)
movl %ecx, 0x10(%rdx,%rax)
addq $0x30, %rax
cmpq $0x30000018, %rax       # imm = 0x30000018
jne 0x442a7
movl $0x18, %eax
pxor %xmm0, %xmm0
xorl %ecx, %ecx
movq 0x8(%rsp), %rdx
movdqu %xmm0, -0x18(%rdx,%rax)
movl %ecx, -0x8(%rdx,%rax)
movdqu %xmm0, (%rdx,%rax)
movl %ecx, 0x10(%rdx,%rax)
addq $0x30, %rax
cmpq $0x30000018, %rax       # imm = 0x30000018
jne 0x442d6
movq 0x58(%rsp), %rdi
callq 0x543d1
leaq 0x6a8(%rsp), %rbx
movq 0x30(%rsp), %r13
addq $0x4748, %r13           # imm = 0x4748
movl $0x1, 0x24(%rsp)
leaq 0x6a0(%rsp), %r15
leaq 0x8e8(%rsp), %r14
movq %r15, %rdi
callq 0x6550
movq 0x30(%rsp), %rdi
movq 0x58(%rsp), %rsi
callq 0x549d9
movl $0xe, %edx
leaq 0x6a0(%rsp), %rdi
leaq 0x1baba(%rip), %rsi     # 0x5fe10
callq 0x6490
movq 0x362e6(%rip), %rsi     # 0x7a648
movq 0x362e7(%rip), %rdx     # 0x7a650
leaq 0x6a0(%rsp), %rdi
callq 0x6490
movq %rax, %rdi
movl 0x24(%rsp), %esi
callq 0x6730
movl $0x4, %edx
movq %rax, %rdi
leaq 0x1ac1e(%rip), %rsi     # 0x5efaf
callq 0x6490
leaq 0xa0(%rsp), %rdi
movq %rbx, %rsi
callq 0x6670
movq 0xa0(%rsp), %rdi
movq %r14, %rsi
callq 0x4595b
movq 0xa0(%rsp), %rdi
leaq 0xb0(%rsp), %rax
cmpq %rax, %rdi
je 0x443db
movq 0xb0(%rsp), %rsi
incq %rsi
callq 0x6410
leaq 0xa0(%rsp), %rdi
movq %rbx, %rsi
callq 0x6670
movq 0xa0(%rsp), %rsi
movq 0xa8(%rsp), %rdx
movq 0x31be6(%rip), %rdi     # 0x75fe8
callq 0x6490
movq %rax, %rbx
movl $0x2, %edx
movq %rax, %rdi
leaq 0x19845(%rip), %rsi     # 0x5dc5e
callq 0x6490
movl 0x8ec(%rsp), %esi
movq %rbx, %rdi
callq 0x6730
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x63c0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x6040
movq %rax, %rdi
callq 0x6290
movq 0xa0(%rsp), %rdi
leaq 0xb0(%rsp), %rax
cmpq %rax, %rdi
je 0x4447c
movq 0xb0(%rsp), %rsi
incq %rsi
callq 0x6410
cmpl $0x0, 0x8ec(%rsp)
jle 0x445e5
movl $0x1, %ebp
xorl %r15d, %r15d
movq %r14, %rdi
movl %r15d, %esi
callq 0x45908
movl %eax, %r12d
testl %eax, %eax
je 0x445c2
movq %r13, %rdi
movl %r12d, %esi
callq 0x4fc36
movl %eax, %edi
leaq 0x8a0(%rsp), %rsi
callq 0x4f4d8
xorl %eax, %eax
movdqa 0x1b924(%rip), %xmm0    # 0x5fdf0
movdqa 0x1b3cc(%rip), %xmm4    # 0x5f8a0
movdqa 0x8a0(%rsp,%rax,4), %xmm1
movdqa %xmm0, %xmm2
pxor %xmm4, %xmm0
movdqa %xmm1, %xmm3
pxor %xmm4, %xmm3
pcmpgtd %xmm0, %xmm3
pand %xmm3, %xmm2
pandn %xmm1, %xmm3
movdqa %xmm3, %xmm0
por %xmm2, %xmm0
addq $0x4, %rax
cmpq $0x10, %rax
jne 0x444d4
pshufd $0xee, %xmm0, %xmm1     # xmm1 = xmm0[2,3,2,3]
movdqa %xmm0, %xmm2
pxor %xmm4, %xmm2
movdqa %xmm1, %xmm3
pxor %xmm4, %xmm3
pcmpgtd %xmm2, %xmm3
pand %xmm3, %xmm0
pandn %xmm1, %xmm3
por %xmm0, %xmm3
pshufd $0x55, %xmm3, %xmm0     # xmm0 = xmm3[1,1,1,1]
movdqa %xmm3, %xmm1
pxor %xmm4, %xmm1
movdqa %xmm0, %xmm2
pxor %xmm4, %xmm2
pcmpgtd %xmm1, %xmm2
pand %xmm2, %xmm3
pandn %xmm0, %xmm2
por %xmm3, %xmm2
movd %xmm2, %eax
movq 0x28(%rsp), %rcx
incl (%rcx,%rax,4)
movslq %r12d, %rax
leaq (%rax,%rax,2), %rax
leaq (,%rax,8), %rbx
addq %r13, %rbx
movq %rbx, %rdi
leaq 0x80(%rsp), %rsi
callq 0x51a30
movq 0x88(%rsp), %rsi
movq 0x18(%rsp), %rdi
movq %rbx, %rdx
callq 0x45024
movq 0x90(%rsp), %rsi
movq 0x10(%rsp), %rdi
movq %rbx, %rdx
callq 0x45024
movq 0x98(%rsp), %rsi
movq 0x8(%rsp), %rdi
movq %rbx, %rdx
callq 0x45024
movq 0x30(%rsp), %rdi
movl %r12d, %esi
movl %ebp, %edx
callq 0x55ae8
xorl $0x3, %ebp
incl %r15d
cmpl 0x8ec(%rsp), %r15d
jl 0x44492
leaq 0x6a0(%rsp), %r15
movq %r15, %rdi
movq 0x319a1(%rip), %rsi     # 0x75f98
callq 0x61e0
leaq 0x710(%rsp), %rdi
callq 0x60f0
movl 0x24(%rsp), %eax
incl %eax
movl %eax, 0x24(%rsp)
cmpl $0x7531, %eax           # imm = 0x7531
leaq 0x6a8(%rsp), %rbx
jne 0x4432b
leaq 0x60(%rsp), %rdi
callq 0x23cc5
movq 0x36011(%rip), %rsi     # 0x7a648
movq 0x36012(%rip), %rdx     # 0x7a650
leaq 0x60(%rsp), %rdi
callq 0x60d0
leaq 0x2b0(%rsp), %rbx
movq %rbx, -0x10(%rbx)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x44678
movq %rdx, 0x2a0(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x2b0(%rsp)
jmp 0x44680
movdqu (%rcx), %xmm0
movdqu %xmm0, (%rbx)
movq 0x8(%rax), %rdx
leaq 0x2a0(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x1b77a(%rip), %rsi     # 0x5fe20
callq 0x6800
leaq 0x4b0(%rsp), %r14
movq %r14, -0x10(%r14)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x446db
movq %rdx, 0x4a0(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x4b0(%rsp)
jmp 0x446e4
movdqu (%rcx), %xmm0
movdqu %xmm0, (%r14)
movq 0x8(%rax), %rdx
leaq 0x4a0(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x35f3e(%rip), %rsi     # 0x7a648
movq 0x35f3f(%rip), %rdx     # 0x7a650
callq 0x60d0
leaq 0xb0(%rsp), %rsi
movq %rsi, 0xa0(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x4474a
movq %rdx, 0xa0(%rsp)
movq (%rcx), %rdx
movq %rdx, 0xb0(%rsp)
jmp 0x44752
movdqu (%rcx), %xmm0
movdqu %xmm0, (%rsi)
movq 0x8(%rax), %rdx
leaq 0xa0(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x1b6b8(%rip), %rsi     # 0x5fe30
callq 0x6800
leaq 0x6b0(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x447ad
movq %rdx, 0x6a0(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x6b0(%rsp)
jmp 0x447b6
movdqu (%rcx), %xmm0
movdqu %xmm0, (%r15)
movq 0x8(%rax), %rdx
leaq 0x6a0(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x35e6c(%rip), %rsi     # 0x7a648
movq 0x35e6d(%rip), %rdx     # 0x7a650
callq 0x60d0
leaq 0x48(%rsp), %rbp
movq %rbp, -0x10(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x4480f
movq %rdx, 0x38(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x48(%rsp)
jmp 0x44818
movdqu (%rcx), %xmm0
movdqu %xmm0, (%rbp)
movq 0x8(%rax), %rdx
movq %rdx, 0x40(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x6a0(%rsp), %rdi
cmpq %r15, %rdi
je 0x4484d
movq 0x6b0(%rsp), %rsi
incq %rsi
callq 0x6410
movq 0xa0(%rsp), %rdi
leaq 0xb0(%rsp), %rax
cmpq %rax, %rdi
je 0x44872
movq 0xb0(%rsp), %rsi
incq %rsi
callq 0x6410
movq 0x4a0(%rsp), %rdi
cmpq %r14, %rdi
je 0x4488f
movq 0x4b0(%rsp), %rsi
incq %rsi
callq 0x6410
movq 0x2a0(%rsp), %rdi
cmpq %rbx, %rdi
je 0x448ac
movq 0x2b0(%rsp), %rsi
incq %rsi
callq 0x6410
leaq 0x70(%rsp), %r15
movq -0x10(%r15), %rdi
cmpq %r15, %rdi
je 0x448c7
movq 0x70(%rsp), %rsi
incq %rsi
callq 0x6410
leaq 0xa0(%rsp), %rdi
leaq 0xb0(%rsp), %rax
movq %rax, (%rdi)
movq 0x38(%rsp), %rsi
movq 0x40(%rsp), %rdx
addq %rsi, %rdx
callq 0x20192
leaq 0x1b54c(%rip), %rsi     # 0x5fe3f
leaq 0xa0(%rsp), %rdi
callq 0x6800
leaq 0x6a0(%rsp), %rdi
leaq 0xa0(%rsp), %rsi
movl $0x10, %edx
callq 0x6810
movq 0xa0(%rsp), %rdi
leaq 0xb0(%rsp), %rax
cmpq %rax, %rdi
je 0x4493f
movq 0xb0(%rsp), %rsi
incq %rsi
callq 0x6410
leaq 0x4a0(%rsp), %rdi
movq %r14, (%rdi)
movq 0x38(%rsp), %rsi
movq 0x40(%rsp), %rdx
addq %rsi, %rdx
callq 0x20192
leaq 0x1b4ea(%rip), %rsi     # 0x5fe4d
leaq 0x4a0(%rsp), %rdi
callq 0x6800
leaq 0xa0(%rsp), %rdi
leaq 0x4a0(%rsp), %rsi
movl $0x10, %edx
callq 0x6810
movq 0x4a0(%rsp), %rdi
cmpq %r14, %rdi
je 0x449a7
movq 0x4b0(%rsp), %rsi
incq %rsi
callq 0x6410
leaq 0x2a0(%rsp), %rdi
movq %rbx, (%rdi)
movq 0x38(%rsp), %rsi
movq 0x40(%rsp), %rdx
addq %rsi, %rdx
callq 0x20192
leaq 0x1b490(%rip), %rsi     # 0x5fe5b
leaq 0x2a0(%rsp), %rdi
callq 0x6800
leaq 0x4a0(%rsp), %rdi
leaq 0x2a0(%rsp), %rsi
movl $0x10, %edx
callq 0x6810
movq 0x2a0(%rsp), %rdi
cmpq %rbx, %rdi
je 0x44a0f
movq 0x2b0(%rsp), %rsi
incq %rsi
callq 0x6410
leaq 0x60(%rsp), %rdi
movq %r15, (%rdi)
movq 0x38(%rsp), %rsi
movq 0x40(%rsp), %rdx
addq %rsi, %rdx
callq 0x20192
leaq 0x1b439(%rip), %rsi     # 0x5fe69
leaq 0x60(%rsp), %rdi
callq 0x6800
leaq 0x2a0(%rsp), %rdi
leaq 0x60(%rsp), %rsi
movl $0x10, %edx
callq 0x6810
movq 0x60(%rsp), %rdi
cmpq %r15, %rdi
je 0x44a68
movq 0x70(%rsp), %rsi
incq %rsi
callq 0x6410
xorl %r14d, %r14d
leaq 0x6a0(%rsp), %rbx
movq 0x28(%rsp), %rax
cmpl $0xa, (%rax,%r14,4)
jl 0x44ab4
movq %rbx, %rdi
movl %r14d, %esi
callq 0x6730
movq %rax, %r15
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x63c0
movsbl %al, %esi
movq %r15, %rdi
callq 0x6040
movq %rax, %rdi
callq 0x6290
incq %r14
cmpq $0x1000000, %r14        # imm = 0x1000000
jne 0x44a73
movl $0x28, %r12d
leaq 0xa0(%rsp), %r14
movq 0x18(%rsp), %rax
cmpl $0x1, (%rax,%r12)
jne 0x44b23
movq 0x18(%rsp), %rax
cmpl $0xa, -0x8(%rax,%r12)
jl 0x44b23
movq 0x18(%rsp), %rax
movq -0x28(%rax,%r12), %rsi
movq %r14, %rdi
callq 0x6270
movq %rax, %r15
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x63c0
movsbl %al, %esi
movq %r15, %rdi
callq 0x6040
movq %rax, %rdi
callq 0x6290
addq $0x30, %r12
cmpq $0x30000028, %r12       # imm = 0x30000028
jne 0x44ace
movl $0x28, %r13d
leaq 0x4a0(%rsp), %r15
movq 0x10(%rsp), %rax
cmpl $0x1, (%rax,%r13)
jne 0x44b93
movq 0x10(%rsp), %rax
cmpl $0xa, -0x8(%rax,%r13)
jl 0x44b93
movq 0x10(%rsp), %rax
movq -0x28(%rax,%r13), %rsi
movq %r15, %rdi
callq 0x6270
movq %rax, %r12
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r12, %rdi
movl $0xa, %esi
callq 0x63c0
movsbl %al, %esi
movq %r12, %rdi
callq 0x6040
movq %rax, %rdi
callq 0x6290
addq $0x30, %r13
cmpq $0x30000028, %r13       # imm = 0x30000028
jne 0x44b3e
movl $0x28, %ebp
leaq 0x2a0(%rsp), %r12
movq 0x8(%rsp), %rax
cmpl $0x1, (%rax,%rbp)
jne 0x44c00
movq 0x8(%rsp), %rax
cmpl $0xa, -0x8(%rax,%rbp)
jl 0x44c00
movq 0x8(%rsp), %rax
movq -0x28(%rax,%rbp), %rsi
movq %r12, %rdi
callq 0x6270
movq %rax, %r13
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r13, %rdi
movl $0xa, %esi
callq 0x63c0
movsbl %al, %esi
movq %r13, %rdi
callq 0x6040
movq %rax, %rdi
callq 0x6290
addq $0x30, %rbp
cmpq $0x30000028, %rbp       # imm = 0x30000028
jne 0x44bad
movq 0x31354(%rip), %rax     # 0x75f68
movq (%rax), %r13
movq 0x18(%rax), %rbp
leaq 0x2a8(%rsp), %rdi
movq %r13, -0x8(%rdi)
movq -0x18(%r13), %rax
movq %rbp, 0x2a0(%rsp,%rax)
callq 0x6330
movl $0xf8, %eax
addq %rax, %r12
movq %r12, %rdi
callq 0x60f0
leaq 0x4a8(%rsp), %rdi
movq %r13, -0x8(%rdi)
movq -0x18(%r13), %rax
movq %rbp, 0x4a0(%rsp,%rax)
callq 0x6330
movl $0xf8, %r12d
addq %r12, %r15
movq %r15, %rdi
callq 0x60f0
leaq 0xa8(%rsp), %rdi
movq %r13, -0x8(%rdi)
movq -0x18(%r13), %rax
movq %rbp, 0xa0(%rsp,%rax)
callq 0x6330
addq %r12, %r14
movl $0xf8, %r15d
movq %r14, %rdi
callq 0x60f0
leaq 0x6a8(%rsp), %rdi
movq %r13, -0x8(%rdi)
movq -0x18(%r13), %rax
movq %rbp, 0x6a0(%rsp,%rax)
callq 0x6330
addq %r15, %rbx
movq %rbx, %rdi
callq 0x60f0
movq 0x38(%rsp), %rdi
leaq 0x48(%rsp), %rax
cmpq %rax, %rdi
je 0x44ce8
movq 0x48(%rsp), %rsi
incq %rsi
callq 0x6410
movq 0x30(%rsp), %rdi
callq 0x543c1
movq 0x58(%rsp), %rdi
callq 0x543c1
movq 0x312e5(%rip), %rbx     # 0x75fe8
leaq 0x1b0fc(%rip), %rsi     # 0x5fe06
movl $0x6, %edx
movq %rbx, %rdi
callq 0x6490
movq (%rbx), %rax
addq -0x18(%rax), %rbx
movq %rbx, %rdi
movl $0xa, %esi
callq 0x63c0
movsbl %al, %esi
movq 0x312b3(%rip), %rdi     # 0x75fe8
callq 0x6040
movq %rax, %rdi
callq 0x6290
movl $0x30000008, %esi       # imm = 0x30000008
movq 0x8(%rsp), %rdi
callq 0x6410
movl $0x30000008, %esi       # imm = 0x30000008
movq 0x10(%rsp), %rdi
callq 0x6410
movl $0x30000008, %esi       # imm = 0x30000008
movq 0x18(%rsp), %rdi
callq 0x6410
movq 0x28(%rsp), %rdi
callq 0x6540
addq $0x4988, %rsp           # imm = 0x4988
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x44d8d
movq %rax, %r13
movq 0x60(%rsp), %rdi
cmpq %r15, %rdi
je 0x44f55
movq 0x70(%rsp), %rsi
incq %rsi
callq 0x6410
jmp 0x44f55
movq %rax, %r13
jmp 0x44f55
jmp 0x44dba
movq %rax, %r13
movq 0x2a0(%rsp), %rdi
cmpq %rbx, %rdi
je 0x44f62
movq 0x2b0(%rsp), %rsi
incq %rsi
callq 0x6410
jmp 0x44f62
movq %rax, %r13
jmp 0x44f62
jmp 0x44ded
movq %rax, %r13
movq 0x4a0(%rsp), %rdi
cmpq %r14, %rdi
je 0x44f6f
movq 0x4b0(%rsp), %rsi
incq %rsi
callq 0x6410
jmp 0x44f6f
movq %rax, %r13
jmp 0x44f6f
jmp 0x44e20
movq %rax, %r13
movq 0xa0(%rsp), %rdi
leaq 0xb0(%rsp), %rax
cmpq %rax, %rdi
je 0x44f7c
movq 0xb0(%rsp), %rsi
incq %rsi
callq 0x6410
jmp 0x44f7c
movq %rax, %r13
jmp 0x44f7c
movq %rax, %r13
movq 0x6a0(%rsp), %rdi
cmpq %r15, %rdi
je 0x44e7e
movq 0x6b0(%rsp), %rsi
incq %rsi
callq 0x6410
jmp 0x44e7e
movq %rax, %r13
movq 0xa0(%rsp), %rdi
leaq 0xb0(%rsp), %rax
cmpq %rax, %rdi
je 0x44ea8
movq 0xb0(%rsp), %rsi
incq %rsi
callq 0x6410
jmp 0x44ea8
movq %rax, %r13
movq 0x4a0(%rsp), %rdi
cmpq %r14, %rdi
je 0x44eca
movq 0x4b0(%rsp), %rsi
incq %rsi
callq 0x6410
jmp 0x44eca
movq %rax, %r13
movq 0x2a0(%rsp), %rdi
cmpq %rbx, %rdi
je 0x44eec
movq 0x2b0(%rsp), %rsi
incq %rsi
callq 0x6410
jmp 0x44eec
movq %rax, %r13
leaq 0x70(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x44fe5
movq 0x70(%rsp), %rsi
jmp 0x44f8b
jmp 0x44f34
jmp 0x44f34
movq %rax, %r13
jmp 0x44ff4
movq %rax, %r13
jmp 0x45003
movq %rax, %r13
jmp 0x45012
jmp 0x44f34
movq %rax, %r13
leaq 0x48(%rsp), %rbp
jmp 0x44f48
jmp 0x44f45
jmp 0x44f45
movq %rax, %r13
jmp 0x44fe5
jmp 0x44fc1
jmp 0x44f97
jmp 0x44fc1
movq %rax, %r13
leaq 0x2a0(%rsp), %rdi
callq 0x6600
leaq 0x4a0(%rsp), %rdi
callq 0x6600
leaq 0xa0(%rsp), %rdi
callq 0x6600
leaq 0x6a0(%rsp), %rdi
callq 0x6600
movq 0x38(%rsp), %rdi
cmpq %rbp, %rdi
je 0x44fe5
movq 0x48(%rsp), %rsi
incq %rsi
callq 0x6410
jmp 0x44fe5
jmp 0x44fc1
movq %rax, %r13
movq 0xa0(%rsp), %rdi
leaq 0xb0(%rsp), %rax
cmpq %rax, %rdi
je 0x44fc4
movq 0xb0(%rsp), %rsi
incq %rsi
callq 0x6410
jmp 0x44fc4
movq %rax, %r13
movq 0x30fcd(%rip), %rsi     # 0x75f98
leaq 0x6a0(%rsp), %rdi
callq 0x61e0
leaq 0x710(%rsp), %rdi
callq 0x60f0
movl $0x30000008, %esi       # imm = 0x30000008
movq 0x8(%rsp), %rdi
callq 0x6410
movl $0x30000008, %esi       # imm = 0x30000008
movq 0x10(%rsp), %rdi
callq 0x6410
movl $0x30000008, %esi       # imm = 0x30000008
movq 0x18(%rsp), %rdi
callq 0x6410
movq 0x28(%rsp), %rdi
callq 0x6540
movq %r13, %rdi
callq 0x6760