// File: /workspace/github_cpp_makefile_star2_O1/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, 0x10(%rsp)
movl $0x30000008, %edi       # imm = 0x30000008
callq 0x6410
movq %rax, %r15
movq %rax, 0x30(%rsp)
movl $0x30000008, %edi       # imm = 0x30000008
callq 0x6410
movq %rax, %r14
movq %rax, 0x28(%rsp)
movl $0x30000008, %edi       # imm = 0x30000008
callq 0x6410
movq %rax, %rbx
movq %rax, 0x20(%rsp)
callq 0x53e60
movq %rax, 0x18(%rsp)
callq 0x53e60
movq %rax, 0x58(%rsp)
movq 0x31073(%rip), %r12     # 0x74fe8
leaq 0x1bdeb(%rip), %rsi     # 0x5fd67
movl $0x5, %edx
movq %r12, %rdi
callq 0x64a0
movq (%r12), %rax
addq -0x18(%rax), %r12
movq %r12, %rdi
movl $0xa, %esi
callq 0x63d0
movsbl %al, %esi
movq 0x31040(%rip), %rdi     # 0x74fe8
callq 0x6040
movq %rax, %rdi
callq 0x62a0
xorl %ebp, %ebp
movl $0x4000000, %edx        # imm = 0x4000000
movq 0x10(%rsp), %rdi
xorl %esi, %esi
callq 0x6210
movl $0x18, %eax
xorps %xmm0, %xmm0
movups %xmm0, -0x18(%r15,%rax)
movl %ebp, -0x8(%r15,%rax)
movups %xmm0, (%r15,%rax)
movl %ebp, 0x10(%r15,%rax)
addq $0x30, %rax
cmpq $0x30000018, %rax       # imm = 0x30000018
jne 0x43fd0
movl $0x18, %eax
xorps %xmm0, %xmm0
xorl %ecx, %ecx
movups %xmm0, -0x18(%r14,%rax)
movl %ecx, -0x8(%r14,%rax)
movups %xmm0, (%r14,%rax)
movl %ecx, 0x10(%r14,%rax)
addq $0x30, %rax
cmpq $0x30000018, %rax       # imm = 0x30000018
jne 0x43ffb
movl $0x18, %eax
xorps %xmm0, %xmm0
xorl %ecx, %ecx
movups %xmm0, -0x18(%rbx,%rax)
movl %ecx, -0x8(%rbx,%rax)
movups %xmm0, (%rbx,%rax)
movl %ecx, 0x10(%rbx,%rax)
addq $0x30, %rax
cmpq $0x30000018, %rax       # imm = 0x30000018
jne 0x44026
movq 0x58(%rsp), %rdi
callq 0x53e8b
leaq 0xb0(%rsp), %rbp
movq 0x18(%rsp), %r13
addq $0x4748, %r13           # imm = 0x4748
movl $0x1, 0xc(%rsp)
leaq 0x4a0(%rsp), %rbx
leaq 0x8e8(%rsp), %r12
movq %rbx, %rdi
callq 0x6560
movq 0x18(%rsp), %rdi
movq 0x58(%rsp), %rsi
callq 0x5432c
movl $0xe, %edx
leaq 0x4a0(%rsp), %rdi
leaq 0x1bcdc(%rip), %rsi     # 0x5fd80
callq 0x64a0
movq 0x35598(%rip), %rsi     # 0x79648
movq 0x35599(%rip), %rdx     # 0x79650
leaq 0x4a0(%rsp), %rdi
callq 0x64a0
movq %rax, %rdi
movl 0xc(%rsp), %esi
callq 0x6740
movl $0x4, %edx
movq %rax, %rdi
leaq 0x1ae70(%rip), %rsi     # 0x5ef4f
callq 0x64a0
leaq 0xa0(%rsp), %rdi
leaq 0x4a8(%rsp), %rsi
callq 0x6680
movq 0xa0(%rsp), %rdi
movq %r12, %rsi
callq 0x4562f
movq 0xa0(%rsp), %rdi
cmpq %rbp, %rdi
je 0x44126
movq 0xb0(%rsp), %rsi
incq %rsi
callq 0x6420
leaq 0xa0(%rsp), %rdi
leaq 0x4a8(%rsp), %rsi
callq 0x6680
movq 0xa0(%rsp), %rsi
movq 0xa8(%rsp), %rdx
movq 0x30e96(%rip), %rdi     # 0x74fe8
callq 0x64a0
movq %rax, %rbx
movl $0x2, %edx
movq %rax, %rdi
leaq 0x19af5(%rip), %rsi     # 0x5dc5e
callq 0x64a0
movl 0x8ec(%rsp), %esi
movq %rbx, %rdi
callq 0x6740
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x63d0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x6040
movq %rax, %rdi
callq 0x62a0
movq 0xa0(%rsp), %rdi
cmpq %rbp, %rdi
je 0x441c4
movq 0xb0(%rsp), %rsi
incq %rsi
callq 0x6420
cmpl $0x0, 0x8ec(%rsp)
jle 0x442b6
movl $0x1, %r14d
xorl %r15d, %r15d
movq %r12, %rdi
movl %r15d, %esi
callq 0x455dc
movl %eax, %ebx
testl %eax, %eax
je 0x44292
movq %r13, %rdi
movl %ebx, %esi
callq 0x4f857
movl %eax, %edi
leaq 0x8a0(%rsp), %rsi
callq 0x4f162
movl $0x1000000, %eax        # imm = 0x1000000
xorl %ecx, %ecx
movl %eax, %edx
movl 0x8a0(%rsp,%rcx,4), %eax
cmpl %eax, %edx
cmovbl %edx, %eax
incq %rcx
cmpq $0x10, %rcx
jne 0x44210
movl %eax, %eax
movq 0x10(%rsp), %rcx
incl (%rcx,%rax,4)
movslq %ebx, %rax
leaq (%rax,%rax,2), %rax
leaq (,%rax,8), %rbp
addq %r13, %rbp
movq %rbp, %rdi
leaq 0x80(%rsp), %rsi
callq 0x51654
movq 0x88(%rsp), %rsi
leaq 0x30(%rsp), %rdi
movq %rbp, %rdx
callq 0x44ce2
movq 0x90(%rsp), %rsi
leaq 0x28(%rsp), %rdi
movq %rbp, %rdx
callq 0x44ce2
movq 0x98(%rsp), %rsi
leaq 0x20(%rsp), %rdi
movq %rbp, %rdx
callq 0x44ce2
movq 0x18(%rsp), %rdi
movl %ebx, %esi
movl %r14d, %edx
callq 0x55134
xorl $0x3, %r14d
incl %r15d
cmpl 0x8ec(%rsp), %r15d
jl 0x441db
leaq 0x4a0(%rsp), %rbx
movq %rbx, %rdi
movq 0x30cd0(%rip), %rsi     # 0x74f98
callq 0x61f0
leaq 0x510(%rsp), %rdi
callq 0x60f0
movl 0xc(%rsp), %eax
incl %eax
movl %eax, 0xc(%rsp)
cmpl $0x7531, %eax           # imm = 0x7531
leaq 0xb0(%rsp), %rbp
jne 0x44079
leaq 0x60(%rsp), %rdi
callq 0x23e49
movq 0x35340(%rip), %rsi     # 0x79648
movq 0x35341(%rip), %rdx     # 0x79650
leaq 0x60(%rsp), %rdi
callq 0x60d0
leaq 0x6b0(%rsp), %rbx
movq %rbx, -0x10(%rbx)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x44349
movq %rdx, 0x6a0(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x6b0(%rsp)
jmp 0x4434f
movups (%rcx), %xmm0
movups %xmm0, (%rbx)
movq 0x8(%rax), %rdx
leaq 0x6a0(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x1ba1b(%rip), %rsi     # 0x5fd90
callq 0x6810
leaq 0x2b0(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x443aa
movq %rdx, 0x2a0(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x2b0(%rsp)
jmp 0x443b1
movups (%rcx), %xmm0
movups %xmm0, (%r15)
movq 0x8(%rax), %rdx
leaq 0x2a0(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x35271(%rip), %rsi     # 0x79648
movq 0x35272(%rip), %rdx     # 0x79650
callq 0x60d0
movq %rbp, 0xa0(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x4440f
movq %rdx, 0xa0(%rsp)
movq (%rcx), %rdx
movq %rdx, 0xb0(%rsp)
jmp 0x44416
movups (%rcx), %xmm0
movups %xmm0, (%rbp)
movq 0x8(%rax), %rdx
leaq 0xa0(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x1b964(%rip), %rsi     # 0x5fda0
callq 0x6810
leaq 0x4b0(%rsp), %r12
movq %r12, -0x10(%r12)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x44472
movq %rdx, 0x4a0(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x4b0(%rsp)
jmp 0x4447a
movups (%rcx), %xmm0
movups %xmm0, (%r12)
movq 0x8(%rax), %rdx
leaq 0x4a0(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x351a8(%rip), %rsi     # 0x79648
movq 0x351a9(%rip), %rdx     # 0x79650
callq 0x60d0
leaq 0x48(%rsp), %r13
movq %r13, -0x10(%r13)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x444d3
movq %rdx, 0x38(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x48(%rsp)
jmp 0x444db
movups (%rcx), %xmm0
movups %xmm0, (%r13)
movq 0x8(%rax), %rdx
movq %rdx, 0x40(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x4a0(%rsp), %rdi
cmpq %r12, %rdi
je 0x44510
movq 0x4b0(%rsp), %rsi
incq %rsi
callq 0x6420
movq 0xa0(%rsp), %rdi
cmpq %rbp, %rdi
je 0x4452d
movq 0xb0(%rsp), %rsi
incq %rsi
callq 0x6420
movq 0x2a0(%rsp), %rdi
cmpq %r15, %rdi
je 0x4454a
movq 0x2b0(%rsp), %rsi
incq %rsi
callq 0x6420
movq 0x6a0(%rsp), %rdi
cmpq %rbx, %rdi
je 0x44567
movq 0x6b0(%rsp), %rsi
incq %rsi
callq 0x6420
leaq 0x70(%rsp), %r12
movq -0x10(%r12), %rdi
cmpq %r12, %rdi
je 0x44583
movq 0x70(%rsp), %rsi
incq %rsi
callq 0x6420
leaq 0xa0(%rsp), %rdi
movq %rbp, (%rdi)
movq 0x38(%rsp), %rsi
movq 0x40(%rsp), %rdx
addq %rsi, %rdx
callq 0x2039e
leaq 0x1b808(%rip), %rsi     # 0x5fdaf
leaq 0xa0(%rsp), %rdi
callq 0x6810
leaq 0x4a0(%rsp), %rdi
leaq 0xa0(%rsp), %rsi
movl $0x10, %edx
callq 0x6820
movq 0xa0(%rsp), %rdi
cmpq %rbp, %rdi
je 0x445eb
movq 0xb0(%rsp), %rsi
incq %rsi
callq 0x6420
leaq 0x2a0(%rsp), %rdi
movq %r15, (%rdi)
movq 0x38(%rsp), %rsi
movq 0x40(%rsp), %rdx
addq %rsi, %rdx
callq 0x2039e
leaq 0x1b7ae(%rip), %rsi     # 0x5fdbd
leaq 0x2a0(%rsp), %rdi
callq 0x6810
leaq 0xa0(%rsp), %rdi
leaq 0x2a0(%rsp), %rsi
movl $0x10, %edx
callq 0x6820
movq 0x2a0(%rsp), %rdi
cmpq %r15, %rdi
je 0x44653
movq 0x2b0(%rsp), %rsi
incq %rsi
callq 0x6420
leaq 0x6a0(%rsp), %rdi
movq %rbx, (%rdi)
movq 0x38(%rsp), %rsi
movq 0x40(%rsp), %rdx
addq %rsi, %rdx
callq 0x2039e
leaq 0x1b754(%rip), %rsi     # 0x5fdcb
leaq 0x6a0(%rsp), %rdi
callq 0x6810
leaq 0x2a0(%rsp), %rdi
leaq 0x6a0(%rsp), %rsi
movl $0x10, %edx
callq 0x6820
movq 0x6a0(%rsp), %rdi
cmpq %rbx, %rdi
je 0x446bb
movq 0x6b0(%rsp), %rsi
incq %rsi
callq 0x6420
leaq 0x60(%rsp), %rdi
movq %r12, (%rdi)
movq 0x38(%rsp), %rsi
movq 0x40(%rsp), %rdx
addq %rsi, %rdx
callq 0x2039e
leaq 0x1b6fd(%rip), %rsi     # 0x5fdd9
leaq 0x60(%rsp), %rdi
callq 0x6810
leaq 0x6a0(%rsp), %rdi
leaq 0x60(%rsp), %rsi
movl $0x10, %edx
callq 0x6820
movq 0x60(%rsp), %rdi
cmpq %r12, %rdi
je 0x44714
movq 0x70(%rsp), %rsi
incq %rsi
callq 0x6420
xorl %r14d, %r14d
leaq 0x4a0(%rsp), %rbx
movq 0x10(%rsp), %rax
cmpl $0xa, (%rax,%r14,4)
jl 0x44760
movq %rbx, %rdi
movl %r14d, %esi
callq 0x6740
movq %rax, %r15
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x63d0
movsbl %al, %esi
movq %r15, %rdi
callq 0x6040
movq %rax, %rdi
callq 0x62a0
incq %r14
cmpq $0x1000000, %r14        # imm = 0x1000000
jne 0x4471f
movl $0x28, %ebx
movq 0x30(%rsp), %r12
leaq 0xa0(%rsp), %r15
cmpl $0x1, (%r12,%rbx)
jne 0x447c4
cmpl $0xa, -0x8(%r12,%rbx)
jl 0x447c4
movq -0x28(%r12,%rbx), %rsi
movq %r15, %rdi
callq 0x6280
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x63d0
movsbl %al, %esi
movq %r14, %rdi
callq 0x6040
movq %rax, %rdi
callq 0x62a0
addq $0x30, %rbx
cmpq $0x30000028, %rbx       # imm = 0x30000028
jne 0x4477e
movl $0x28, %ebx
movq 0x28(%rsp), %r14
leaq 0x2a0(%rsp), %rbp
cmpl $0x1, (%r14,%rbx)
jne 0x44829
cmpl $0xa, -0x8(%r14,%rbx)
jl 0x44829
movq -0x28(%r14,%rbx), %rsi
movq %rbp, %rdi
callq 0x6280
movq %rax, %r15
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x63d0
movsbl %al, %esi
movq %r15, %rdi
callq 0x6040
movq %rax, %rdi
callq 0x62a0
addq $0x30, %rbx
cmpq $0x30000028, %rbx       # imm = 0x30000028
jne 0x447e3
movl $0x28, %ebp
movq 0x20(%rsp), %r13
leaq 0x6a0(%rsp), %r15
cmpl $0x1, (%r13,%rbp)
jne 0x4488f
cmpl $0xa, -0x8(%r13,%rbp)
jl 0x4488f
movq -0x28(%r13,%rbp), %rsi
movq %r15, %rdi
callq 0x6280
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x63d0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x6040
movq %rax, %rdi
callq 0x62a0
addq $0x30, %rbp
cmpq $0x30000028, %rbp       # imm = 0x30000028
jne 0x44848
movq 0x306c5(%rip), %rax     # 0x74f68
movq (%rax), %rbx
movq 0x18(%rax), %rbp
leaq 0x6a8(%rsp), %rdi
movq %rbx, -0x8(%rdi)
movq -0x18(%rbx), %rax
movq %rbp, 0x6a0(%rsp,%rax)
callq 0x6340
movl $0xf8, %eax
addq %rax, %r15
movq %r15, %rdi
callq 0x60f0
leaq 0x2a8(%rsp), %rdi
movq %rbx, -0x8(%rdi)
movq -0x18(%rbx), %rax
movq %rbp, 0x2a0(%rsp,%rax)
callq 0x6340
leaq 0x2a0(%rsp), %rdi
movl $0xf8, %r15d
addq %r15, %rdi
callq 0x60f0
leaq 0xa8(%rsp), %rdi
movq %rbx, -0x8(%rdi)
movq -0x18(%rbx), %rax
movq %rbp, 0xa0(%rsp,%rax)
callq 0x6340
leaq 0xa0(%rsp), %rdi
addq %r15, %rdi
movl $0xf8, %r15d
callq 0x60f0
leaq 0x4a8(%rsp), %rdi
movq %rbx, -0x8(%rdi)
movq -0x18(%rbx), %rax
movq %rbp, 0x4a0(%rsp,%rax)
callq 0x6340
leaq 0x4a0(%rsp), %rdi
addq %r15, %rdi
callq 0x60f0
movq 0x38(%rsp), %rdi
leaq 0x48(%rsp), %rax
cmpq %rax, %rdi
je 0x44986
movq 0x48(%rsp), %rsi
incq %rsi
callq 0x6420
movq 0x18(%rsp), %rdi
callq 0x53e7b
movq 0x58(%rsp), %rdi
callq 0x53e7b
movq 0x30647(%rip), %rbx     # 0x74fe8
leaq 0x1b3c5(%rip), %rsi     # 0x5fd6d
movl $0x6, %edx
movq %rbx, %rdi
callq 0x64a0
movq (%rbx), %rax
addq -0x18(%rax), %rbx
movq %rbx, %rdi
movl $0xa, %esi
callq 0x63d0
movsbl %al, %esi
movq 0x30615(%rip), %rdi     # 0x74fe8
callq 0x6040
movq %rax, %rdi
callq 0x62a0
testq %r13, %r13
je 0x449f2
movl $0x30000008, %esi       # imm = 0x30000008
movq %r13, %rdi
callq 0x6420
testq %r14, %r14
je 0x44a04
movl $0x30000008, %esi       # imm = 0x30000008
movq %r14, %rdi
callq 0x6420
testq %r12, %r12
je 0x44a16
movl $0x30000008, %esi       # imm = 0x30000008
movq %r12, %rdi
callq 0x6420
movq 0x10(%rsp), %rdi
callq 0x6550
addq $0x4988, %rsp           # imm = 0x4988
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x44a34
movq %rax, %r14
movq 0x60(%rsp), %rdi
cmpq %r12, %rdi
je 0x44bf1
movq 0x70(%rsp), %rsi
incq %rsi
callq 0x6420
jmp 0x44bf1
movq %rax, %r14
jmp 0x44bf1
jmp 0x44a61
movq %rax, %r14
movq 0x6a0(%rsp), %rdi
cmpq %rbx, %rdi
je 0x44bfe
movq 0x6b0(%rsp), %rsi
incq %rsi
callq 0x6420
jmp 0x44bfe
movq %rax, %r14
jmp 0x44bfe
jmp 0x44a94
movq %rax, %r14
movq 0x2a0(%rsp), %rdi
cmpq %r15, %rdi
je 0x44c0b
movq 0x2b0(%rsp), %rsi
incq %rsi
callq 0x6420
jmp 0x44c0b
movq %rax, %r14
jmp 0x44c0b
jmp 0x44ac7
movq %rax, %r14
movq 0xa0(%rsp), %rdi
cmpq %rbp, %rdi
je 0x44c18
movq 0xb0(%rsp), %rsi
incq %rsi
callq 0x6420
jmp 0x44c18
movq %rax, %r14
jmp 0x44c18
movq %rax, %r14
movq 0x4a0(%rsp), %rdi
cmpq %r12, %rdi
je 0x44b1d
movq 0x4b0(%rsp), %rsi
incq %rsi
callq 0x6420
jmp 0x44b1d
movq %rax, %r14
movq 0xa0(%rsp), %rdi
leaq 0xb0(%rsp), %rax
cmpq %rax, %rdi
je 0x44b47
movq 0xb0(%rsp), %rsi
incq %rsi
callq 0x6420
jmp 0x44b47
movq %rax, %r14
movq 0x2a0(%rsp), %rdi
cmpq %r15, %rdi
je 0x44b69
movq 0x2b0(%rsp), %rsi
incq %rsi
callq 0x6420
jmp 0x44b69
movq %rax, %r14
movq 0x6a0(%rsp), %rdi
cmpq %rbx, %rdi
je 0x44b8b
movq 0x6b0(%rsp), %rsi
incq %rsi
callq 0x6420
jmp 0x44b8b
movq %rax, %r14
leaq 0x70(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x44c79
movq 0x70(%rsp), %rsi
jmp 0x44c27
jmp 0x44bd3
jmp 0x44bd3
movq %rax, %r14
jmp 0x44c96
movq %rax, %r14
jmp 0x44cb3
movq %rax, %r14
jmp 0x44cd0
jmp 0x44bd3
movq %rax, %r14
leaq 0x48(%rsp), %r13
jmp 0x44be4
jmp 0x44be1
jmp 0x44be1
movq %rax, %r14
jmp 0x44c79
jmp 0x44c55
jmp 0x44c33
jmp 0x44c55
movq %rax, %r14
leaq 0x6a0(%rsp), %rdi
callq 0x6610
leaq 0x2a0(%rsp), %rdi
callq 0x6610
leaq 0xa0(%rsp), %rdi
callq 0x6610
leaq 0x4a0(%rsp), %rdi
callq 0x6610
movq 0x38(%rsp), %rdi
cmpq %r13, %rdi
je 0x44c79
movq 0x48(%rsp), %rsi
incq %rsi
callq 0x6420
jmp 0x44c79
jmp 0x44c55
movq %rax, %r14
movq 0xa0(%rsp), %rdi
cmpq %rbp, %rdi
je 0x44c58
movq 0xb0(%rsp), %rsi
incq %rsi
callq 0x6420
jmp 0x44c58
movq %rax, %r14
movq 0x30339(%rip), %rsi     # 0x74f98
leaq 0x4a0(%rsp), %rdi
callq 0x61f0
leaq 0x510(%rsp), %rdi
callq 0x60f0
movq 0x20(%rsp), %rdi
testq %rdi, %rdi
je 0x44c8d
movl $0x30000008, %esi       # imm = 0x30000008
callq 0x6420
movq $0x0, 0x20(%rsp)
movq 0x28(%rsp), %rdi
testq %rdi, %rdi
je 0x44caa
movl $0x30000008, %esi       # imm = 0x30000008
callq 0x6420
movq $0x0, 0x28(%rsp)
movq 0x30(%rsp), %rdi
testq %rdi, %rdi
je 0x44cc7
movl $0x30000008, %esi       # imm = 0x30000008
callq 0x6420
movq $0x0, 0x30(%rsp)
movq 0x10(%rsp), %rdi
callq 0x6550
movq %r14, %rdi
callq 0x6770