// File: /workspace/github_c_makefile_star2_O0/genometools[P]genometools/src/extended/kmer_database.c
// Function: gt_kmer_database_unit_test
int gt_kmer_database_unit_test(GtError *err)
{
  int            had_err = 0;
  GtUword        i,
                 j,
                 k = (GtUword) 0,
                 kmercode,
                 startpos,
                 seq_length = (GtUword) 10,
                 nu_kmer_codes = (GtUword) 4,
                 max_nu_kmers = (GtUword) 6,
                 nu_kmers_sort_test = (GtUword) 8,
                 /*Seq: A C C T A G G T C T = 0 1 1 3 0 2 2 3 1 3
                   SB-Seq: T C G G A A = 3 1 2 2 0 0*/
                 offset[] = {(GtUword) 0,(GtUword) 2,(GtUword) 5,(GtUword) 7,
                             (GtUword) 10},
                 positions[] = {(GtUword) 0,(GtUword) 4,(GtUword) 1,(GtUword) 2,
                                (GtUword) 8,(GtUword) 5,(GtUword) 6,(GtUword) 3,
                                (GtUword) 7,(GtUword) 9},
                 seq[] = {(GtUword) 0,(GtUword) 1,(GtUword) 1,(GtUword) 3,
                          (GtUword) 0,(GtUword) 2,(GtUword) 2,(GtUword) 3,
                          (GtUword) 1,(GtUword) 3},
                 sb_codes[] = {(GtUword) 0,(GtUword) 0,(GtUword) 1,(GtUword) 2,
                               (GtUword) 2,(GtUword) 3},
                 sb_starts[] = {(GtUword) 14,(GtUword) 15,(GtUword) 11,
                                (GtUword) 12,(GtUword) 13,(GtUword) 10},
                 offset_empty[] = {(GtUword) 0,(GtUword) 2,(GtUword) 3,
                                   (GtUword) 5,(GtUword) 6},
                 starts[] = {(GtUword) 5,(GtUword) 7,(GtUword) 0,(GtUword) 2,
                             (GtUword) 3,(GtUword) 6,(GtUword) 9,(GtUword) 15},
                 unsorted_starts[] = {(GtUword) 2,(GtUword) 5,(GtUword) 9,
                                      (GtUword) 0,(GtUword) 3,(GtUword) 6,
                                      (GtUword) 15,(GtUword) 7};
  GtCodetype     codes[] = {(GtUword) 0,(GtUword) 0,(GtUword) 1,(GtUword) 2,
                            (GtUword) 2,(GtUword) 2,(GtUword) 3,(GtUword) 3},
                 unsorted_codes[] = {(GtUword) 2,(GtUword) 0,(GtUword) 3,
                                     (GtUword) 1,(GtUword) 2,(GtUword) 2,
                                     (GtUword) 3,(GtUword) 0};
  GtAlphabet *al = gt_alphabet_new_dna();
  GtEncseqBuilder *eb = gt_encseq_builder_new(al);
  GtEncseq *es;
  GtKmerDatabase *sb_test,
                 *kdb,
                 *compare_kdb,
                 *empty_kdb,
                 *intervals_too_big;
  GtKmerStartpos kmer_interval;
  gt_alphabet_delete(al);

  gt_encseq_builder_add_cstr(eb, "ACCTAGGTCT", (GtUword) 10, NULL);
  es = gt_encseq_builder_build(eb, err);
  gt_encseq_builder_delete(eb);

  sb_test = gt_kmer_database_new(GT_KMERDB_AS, GT_KMERDB_K,
                                 nu_kmers_sort_test, es),
  kdb = gt_kmer_database_new(GT_KMERDB_AS, GT_KMERDB_K,
                             max_nu_kmers, es),
  compare_kdb = gt_kmer_database_new(GT_KMERDB_AS,
                                     GT_KMERDB_K,
                                     max_nu_kmers, es),
  empty_kdb = gt_kmer_database_new(GT_KMERDB_AS, GT_KMERDB_K,
                                   max_nu_kmers, es);
  intervals_too_big = gt_kmer_database_new(GT_KMERDB_AS, GT_KMERDB_K,
                                           max_nu_kmers, es);
  gt_encseq_delete(es);

  gt_error_check(err);

  /*test if sorting in sb works*/
  for (i = 0; i < nu_kmers_sort_test; i++) {
    gt_kmer_database_add_kmer_to_sb(sb_test, unsorted_codes[i],
                                    unsorted_starts[i], 0);
  }

  gt_kmer_database_sort_sb(sb_test);

  for (i = 0; !had_err && i < nu_kmers_sort_test; i++) {
    gt_kmer_database_decode_kmer(sb_test->sb.kmers[i].a, kmercode, startpos);
    gt_ensure(kmercode == codes[i]);
    gt_ensure(startpos == starts[i]);
  }

  /*test if add_kmer works*/
  for (i = 0; i < seq_length; i++) {
    gt_kmer_database_add_kmer(kdb, seq[i], i, 0);
    gt_kmer_database_add_kmer(compare_kdb, seq[i], i, 0);
  }

  had_err = gt_kmer_database_check_consistency(kdb, err);
  if (!had_err)
    had_err = gt_kmer_database_check_consistency(compare_kdb, err);

  for (i = 0; !had_err && i <= nu_kmer_codes; i++) {
    gt_ensure(kdb->offset[i] == offset[i]);
  }
  for (i = 0; !had_err && i < seq_length; i++) {
    gt_ensure(kdb->positions[i] == positions[i]);
  }

  /*test if intervals bigger than the buffer size are handled correctly*/
  if (!had_err) {
    gt_kmer_database_add_interval(intervals_too_big, 0, max_nu_kmers + 1, 0);
    gt_kmer_database_add_interval(intervals_too_big, max_nu_kmers + 2,
                                  seq_length, 0);
    gt_kmer_database_flush(intervals_too_big);
    had_err = gt_kmer_database_check_consistency(intervals_too_big, err);
  }
  if (!had_err)
    had_err = gt_kmer_database_compare(intervals_too_big, compare_kdb, err);

  /*test if merge works with empty kmer_database*/
  for (i = 0; i < max_nu_kmers; i++) {
    gt_kmer_database_add_kmer_to_sb(empty_kdb, sb_codes[i], sb_starts[i], 0);
  }

  gt_kmer_database_merge(empty_kdb);

  if (!had_err)
    had_err = gt_kmer_database_check_consistency(empty_kdb, err);

  for (i = 0; !had_err && i <= nu_kmer_codes; i++) {
    gt_ensure(empty_kdb->offset[i] == offset_empty[i]);
  }
  for (i = 0; !had_err && i < max_nu_kmers; i++) {
    gt_ensure(empty_kdb->positions[i] == sb_starts[i]);
  }

  /*test if merge works with filled kmer_database*/
  for (i = 0; i < max_nu_kmers; i++) {
    gt_kmer_database_add_kmer(compare_kdb, sb_codes[i], sb_starts[i], 0);
    gt_kmer_database_add_kmer_to_sb(kdb, sb_codes[i], sb_starts[i], 0);
  }

  gt_kmer_database_merge(kdb);

  if (!had_err)
    had_err = gt_kmer_database_check_consistency(kdb, err);
  if (!had_err)
    had_err = gt_kmer_database_check_consistency(compare_kdb, err);
  if (!had_err)
    had_err = gt_kmer_database_compare(kdb, compare_kdb, err);

  for (i = 0; !had_err && i <= nu_kmer_codes; i++) {
    gt_ensure(kdb->offset[i] == compare_kdb->offset[i]);
  }
  for (i = 0; !had_err && i < seq_length + max_nu_kmers; i++) {
    gt_ensure(kdb->positions[i] == compare_kdb->positions[i]);
  }

  /*test if min_no_occ works*/
  if (!had_err) {
    if (gt_kmer_database_get_min_nu_of_occ(kdb) != (GtUword) 4) {
      had_err = -1;
    }
  }

  /*test if this returns the right positions*/
  for (i = 0; !had_err && i < nu_kmer_codes; i++) {
    kmer_interval = gt_kmer_database_get_startpos(kdb, i);
    for (j = 0; !had_err && j < kmer_interval.no_positions; j++) {
      gt_ensure(kmer_interval.startpos[j] == kdb->positions[k + j]);
    }
    k += j;
  }

  gt_kmer_database_delete(sb_test);
  gt_kmer_database_delete(kdb);
  gt_kmer_database_delete(compare_kdb);
  gt_kmer_database_delete(empty_kdb);
  gt_kmer_database_delete(intervals_too_big);

  return had_err;
}

// Assembly:
subq $0x338, %rsp            # imm = 0x338
movq %rdi, 0x330(%rsp)
movl $0x0, 0x32c(%rsp)
movq $0x0, 0x310(%rsp)
movq $0xa, 0x2f8(%rsp)
movq $0x4, 0x2f0(%rsp)
movq $0x6, 0x2e8(%rsp)
movq $0x8, 0x2e0(%rsp)
leaq 0x2b0(%rsp), %rdi
xorl %esi, %esi
movl $0x28, %edx
callq 0x19360
movq $0x2, 0x2b8(%rsp)
movq $0x5, 0x2c0(%rsp)
movq $0x7, 0x2c8(%rsp)
movq $0xa, 0x2d0(%rsp)
leaq 0x260(%rsp), %rdi
leaq 0x3bda07(%rip), %rsi    # 0x5581c0
movl $0x50, %edx
callq 0x19610
leaq 0x210(%rsp), %rdi
leaq 0x3bda3e(%rip), %rsi    # 0x558210
movl $0x50, %edx
callq 0x19610
leaq 0x1e0(%rsp), %rdi
xorl %esi, %esi
movl $0x30, %edx
callq 0x19360
movq $0x1, 0x1f0(%rsp)
movq $0x2, 0x1f8(%rsp)
movq $0x2, 0x200(%rsp)
movq $0x3, 0x208(%rsp)
leaq 0x1b0(%rsp), %rdi
xorl %esi, %esi
movl $0x30, %edx
callq 0x19360
movq $0xe, 0x1b0(%rsp)
movq $0xf, 0x1b8(%rsp)
movq $0xb, 0x1c0(%rsp)
movq $0xc, 0x1c8(%rsp)
movq $0xd, 0x1d0(%rsp)
movq $0xa, 0x1d8(%rsp)
leaq 0x180(%rsp), %rdi
xorl %esi, %esi
movl $0x28, %edx
callq 0x19360
movq $0x2, 0x188(%rsp)
movq $0x3, 0x190(%rsp)
movq $0x5, 0x198(%rsp)
movq $0x6, 0x1a0(%rsp)
leaq 0x140(%rsp), %rdi
leaq 0x3bd991(%rip), %rsi    # 0x558260
movl $0x40, %edx
callq 0x19610
leaq 0x100(%rsp), %rdi
leaq 0x3bd9b8(%rip), %rsi    # 0x5582a0
movl $0x40, %edx
callq 0x19610
leaq 0xc0(%rsp), %rdi
xorl %esi, %esi
movl $0x40, %edx
callq 0x19360
movq $0x1, 0xd0(%rsp)
movq $0x2, 0xd8(%rsp)
movq $0x2, 0xe0(%rsp)
movq $0x2, 0xe8(%rsp)
movq $0x3, 0xf0(%rsp)
movq $0x3, 0xf8(%rsp)
leaq 0x80(%rsp), %rdi
xorl %esi, %esi
movl $0x40, %edx
callq 0x19360
movq $0x2, 0x80(%rsp)
movq $0x3, 0x90(%rsp)
movq $0x1, 0x98(%rsp)
movq $0x2, 0xa0(%rsp)
movq $0x2, 0xa8(%rsp)
movq $0x3, 0xb0(%rsp)
callq 0x7e4b0
movq %rax, 0x78(%rsp)
movq 0x78(%rsp), %rdi
callq 0xbbec0
movq %rax, 0x70(%rsp)
movq 0x78(%rsp), %rdi
callq 0x7e3d0
movq 0x70(%rsp), %rdi
leaq 0x3bd591(%rip), %rsi    # 0x557f6a
movl $0xa, %edx
xorl %eax, %eax
movl %eax, %ecx
callq 0xbc350
movq 0x70(%rsp), %rdi
movq 0x330(%rsp), %rsi
callq 0xbd620
movq %rax, 0x68(%rsp)
movq 0x70(%rsp), %rdi
callq 0xc29a0
movq 0x2e0(%rsp), %rdx
movq 0x68(%rsp), %rcx
movl $0x4, %edi
movl $0x1, %esi
callq 0x1979a0
movq %rax, 0x60(%rsp)
movq 0x2e8(%rsp), %rdx
movq 0x68(%rsp), %rcx
movl $0x4, %edi
movl $0x1, %esi
callq 0x1979a0
movq %rax, 0x58(%rsp)
movq 0x2e8(%rsp), %rdx
movq 0x68(%rsp), %rcx
movl $0x4, %edi
movl $0x1, %esi
callq 0x1979a0
movq %rax, 0x50(%rsp)
movq 0x2e8(%rsp), %rdx
movq 0x68(%rsp), %rcx
movl $0x4, %edi
movl $0x1, %esi
callq 0x1979a0
movq %rax, 0x48(%rsp)
movq 0x2e8(%rsp), %rdx
movq 0x68(%rsp), %rcx
movl $0x4, %edi
movl $0x1, %esi
callq 0x1979a0
movq %rax, 0x40(%rsp)
movq 0x68(%rsp), %rdi
callq 0xae070
cmpq $0x0, 0x330(%rsp)
je 0x19ab0d
movq 0x330(%rsp), %rdi
callq 0xd8a60
testb $0x1, %al
jne 0x19aad5
jmp 0x19ab0d
movq 0x4a14c4(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x37b52d(%rip), %rsi    # 0x516013
leaq 0x37b6d2(%rip), %rdx    # 0x5161bf
leaq 0x3bd481(%rip), %rcx    # 0x557f75
leaq 0x3bcc40(%rip), %r8     # 0x55773b
movl $0x34e, %r9d            # imm = 0x34E
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x19ab0f
movq $0x0, 0x320(%rsp)
movq 0x320(%rsp), %rax
cmpq 0x2e0(%rsp), %rax
jae 0x19ab71
movq 0x60(%rsp), %rdi
movq 0x320(%rsp), %rax
movq 0x80(%rsp,%rax,8), %rsi
movq 0x320(%rsp), %rax
movq 0x100(%rsp,%rax,8), %rdx
xorl %eax, %eax
movl %eax, %ecx
callq 0x198230
movq 0x320(%rsp), %rax
addq $0x1, %rax
movq %rax, 0x320(%rsp)
jmp 0x19ab1b
movq 0x60(%rsp), %rdi
callq 0x1983b0
movq $0x0, 0x320(%rsp)
xorl %eax, %eax
cmpl $0x0, 0x32c(%rsp)
movb %al, 0xf(%rsp)
jne 0x19abae
movq 0x320(%rsp), %rax
cmpq 0x2e0(%rsp), %rax
setb %al
movb %al, 0xf(%rsp)
movb 0xf(%rsp), %al
testb $0x1, %al
jne 0x19abbb
jmp 0x19acfa
movq 0x60(%rsp), %rax
movq 0xa0(%rax), %rax
movq 0x320(%rsp), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movq (%rax), %rax
shrq $0x20, %rax
movq %rax, 0x308(%rsp)
movq 0x60(%rsp), %rax
movq 0xa0(%rax), %rcx
movq 0x320(%rsp), %rax
shlq $0x4, %rax
addq %rax, %rcx
movabsq $0xffffffff, %rax       # imm = 0xFFFFFFFF
andq (%rcx), %rax
movq %rax, 0x300(%rsp)
cmpl $0x0, 0x32c(%rsp)
jne 0x19ac77
movq 0x308(%rsp), %rax
movq 0x320(%rsp), %rcx
cmpq 0xc0(%rsp,%rcx,8), %rax
je 0x19ac75
movq 0x330(%rsp), %rdi
leaq 0x3949b2(%rip), %rsi    # 0x52f5fa
leaq 0x3bd341(%rip), %rdx    # 0x557f90
leaq 0x3bd31f(%rip), %rcx    # 0x557f75
leaq 0x3bcade(%rip), %r8     # 0x55773b
movl $0x35a, %r9d            # imm = 0x35A
movb $0x0, %al
callq 0xd88c0
movl $0xffffffff, 0x32c(%rsp) # imm = 0xFFFFFFFF
jmp 0x19ac77
jmp 0x19ac79
jmp 0x19ac7b
cmpl $0x0, 0x32c(%rsp)
jne 0x19acdd
movq 0x300(%rsp), %rax
movq 0x320(%rsp), %rcx
cmpq 0x140(%rsp,%rcx,8), %rax
je 0x19acdb
movq 0x330(%rsp), %rdi
leaq 0x39494c(%rip), %rsi    # 0x52f5fa
leaq 0x3bd2f0(%rip), %rdx    # 0x557fa5
leaq 0x3bd2b9(%rip), %rcx    # 0x557f75
leaq 0x3bca78(%rip), %r8     # 0x55773b
movl $0x35b, %r9d            # imm = 0x35B
movb $0x0, %al
callq 0xd88c0
movl $0xffffffff, 0x32c(%rsp) # imm = 0xFFFFFFFF
jmp 0x19acdd
jmp 0x19acdf
jmp 0x19ace1
movq 0x320(%rsp), %rax
addq $0x1, %rax
movq %rax, 0x320(%rsp)
jmp 0x19ab87
movq $0x0, 0x320(%rsp)
movq 0x320(%rsp), %rax
cmpq 0x2f8(%rsp), %rax
jae 0x19ad7a
movq 0x58(%rsp), %rdi
movq 0x320(%rsp), %rax
movq 0x210(%rsp,%rax,8), %rsi
movq 0x320(%rsp), %rdx
xorl %eax, %eax
movl %eax, %ecx
callq 0x199190
movq 0x50(%rsp), %rdi
movq 0x320(%rsp), %rax
movq 0x210(%rsp,%rax,8), %rsi
movq 0x320(%rsp), %rdx
xorl %eax, %eax
movl %eax, %ecx
callq 0x199190
movq 0x320(%rsp), %rax
addq $0x1, %rax
movq %rax, 0x320(%rsp)
jmp 0x19ad06
movq 0x58(%rsp), %rdi
movq 0x330(%rsp), %rsi
callq 0x199fe0
movl %eax, 0x32c(%rsp)
cmpl $0x0, 0x32c(%rsp)
jne 0x19adb6
movq 0x50(%rsp), %rdi
movq 0x330(%rsp), %rsi
callq 0x199fe0
movl %eax, 0x32c(%rsp)
movq $0x0, 0x320(%rsp)
xorl %eax, %eax
cmpl $0x0, 0x32c(%rsp)
movb %al, 0xe(%rsp)
jne 0x19ade9
movq 0x320(%rsp), %rax
cmpq 0x2f0(%rsp), %rax
setbe %al
movb %al, 0xe(%rsp)
movb 0xe(%rsp), %al
testb $0x1, %al
jne 0x19adf6
jmp 0x19ae83
jmp 0x19adf8
cmpl $0x0, 0x32c(%rsp)
jne 0x19ae66
movq 0x58(%rsp), %rax
movq (%rax), %rax
movq 0x320(%rsp), %rcx
movq (%rax,%rcx,8), %rax
movq 0x320(%rsp), %rcx
cmpq 0x2b0(%rsp,%rcx,8), %rax
je 0x19ae64
movq 0x330(%rsp), %rdi
leaq 0x3947c3(%rip), %rsi    # 0x52f5fa
leaq 0x3bd17d(%rip), %rdx    # 0x557fbb
leaq 0x3bd130(%rip), %rcx    # 0x557f75
leaq 0x3bc8ef(%rip), %r8     # 0x55773b
movl $0x369, %r9d            # imm = 0x369
movb $0x0, %al
callq 0xd88c0
movl $0xffffffff, 0x32c(%rsp) # imm = 0xFFFFFFFF
jmp 0x19ae66
jmp 0x19ae68
jmp 0x19ae6a
movq 0x320(%rsp), %rax
addq $0x1, %rax
movq %rax, 0x320(%rsp)
jmp 0x19adc2
movq $0x0, 0x320(%rsp)
xorl %eax, %eax
cmpl $0x0, 0x32c(%rsp)
movb %al, 0xd(%rsp)
jne 0x19aeb6
movq 0x320(%rsp), %rax
cmpq 0x2f8(%rsp), %rax
setb %al
movb %al, 0xd(%rsp)
movb 0xd(%rsp), %al
testb $0x1, %al
jne 0x19aec3
jmp 0x19af51
jmp 0x19aec5
cmpl $0x0, 0x32c(%rsp)
jne 0x19af34
movq 0x58(%rsp), %rax
movq 0x10(%rax), %rax
movq 0x320(%rsp), %rcx
movq (%rax,%rcx,8), %rax
movq 0x320(%rsp), %rcx
cmpq 0x260(%rsp,%rcx,8), %rax
je 0x19af32
movq 0x330(%rsp), %rdi
leaq 0x3946f5(%rip), %rsi    # 0x52f5fa
leaq 0x3bd0cb(%rip), %rdx    # 0x557fd7
leaq 0x3bd062(%rip), %rcx    # 0x557f75
leaq 0x3bc821(%rip), %r8     # 0x55773b
movl $0x36c, %r9d            # imm = 0x36C
movb $0x0, %al
callq 0xd88c0
movl $0xffffffff, 0x32c(%rsp) # imm = 0xFFFFFFFF
jmp 0x19af34
jmp 0x19af36
jmp 0x19af38
movq 0x320(%rsp), %rax
addq $0x1, %rax
movq %rax, 0x320(%rsp)
jmp 0x19ae8f
cmpl $0x0, 0x32c(%rsp)
jne 0x19afbd
movq 0x40(%rsp), %rdi
movq 0x2e8(%rsp), %rdx
addq $0x1, %rdx
xorl %eax, %eax
movl %eax, %ecx
movq %rcx, %rsi
callq 0x198960
movq 0x40(%rsp), %rdi
movq 0x2e8(%rsp), %rsi
addq $0x2, %rsi
movq 0x2f8(%rsp), %rdx
xorl %eax, %eax
movl %eax, %ecx
callq 0x198960
movq 0x40(%rsp), %rdi
callq 0x197f70
movq 0x40(%rsp), %rdi
movq 0x330(%rsp), %rsi
callq 0x199fe0
movl %eax, 0x32c(%rsp)
cmpl $0x0, 0x32c(%rsp)
jne 0x19afe5
movq 0x40(%rsp), %rdi
movq 0x50(%rsp), %rsi
movq 0x330(%rsp), %rdx
callq 0x199cb0
movl %eax, 0x32c(%rsp)
movq $0x0, 0x320(%rsp)
movq 0x320(%rsp), %rax
cmpq 0x2e8(%rsp), %rax
jae 0x19b047
movq 0x48(%rsp), %rdi
movq 0x320(%rsp), %rax
movq 0x1e0(%rsp,%rax,8), %rsi
movq 0x320(%rsp), %rax
movq 0x1b0(%rsp,%rax,8), %rdx
xorl %eax, %eax
movl %eax, %ecx
callq 0x198230
movq 0x320(%rsp), %rax
addq $0x1, %rax
movq %rax, 0x320(%rsp)
jmp 0x19aff1
movq 0x48(%rsp), %rdi
callq 0x198420
cmpl $0x0, 0x32c(%rsp)
jne 0x19b074
movq 0x48(%rsp), %rdi
movq 0x330(%rsp), %rsi
callq 0x199fe0
movl %eax, 0x32c(%rsp)
movq $0x0, 0x320(%rsp)
xorl %eax, %eax
cmpl $0x0, 0x32c(%rsp)
movb %al, 0xc(%rsp)
jne 0x19b0a7
movq 0x320(%rsp), %rax
cmpq 0x2f0(%rsp), %rax
setbe %al
movb %al, 0xc(%rsp)
movb 0xc(%rsp), %al
testb $0x1, %al
jne 0x19b0b4
jmp 0x19b141
jmp 0x19b0b6
cmpl $0x0, 0x32c(%rsp)
jne 0x19b124
movq 0x48(%rsp), %rax
movq (%rax), %rax
movq 0x320(%rsp), %rcx
movq (%rax,%rcx,8), %rax
movq 0x320(%rsp), %rcx
cmpq 0x180(%rsp,%rcx,8), %rax
je 0x19b122
movq 0x330(%rsp), %rdi
leaq 0x394505(%rip), %rsi    # 0x52f5fa
leaq 0x3bcefd(%rip), %rdx    # 0x557ff9
leaq 0x3bce72(%rip), %rcx    # 0x557f75
leaq 0x3bc631(%rip), %r8     # 0x55773b
movl $0x385, %r9d            # imm = 0x385
movb $0x0, %al
callq 0xd88c0
movl $0xffffffff, 0x32c(%rsp) # imm = 0xFFFFFFFF
jmp 0x19b124
jmp 0x19b126
jmp 0x19b128
movq 0x320(%rsp), %rax
addq $0x1, %rax
movq %rax, 0x320(%rsp)
jmp 0x19b080
movq $0x0, 0x320(%rsp)
xorl %eax, %eax
cmpl $0x0, 0x32c(%rsp)
movb %al, 0xb(%rsp)
jne 0x19b174
movq 0x320(%rsp), %rax
cmpq 0x2e8(%rsp), %rax
setb %al
movb %al, 0xb(%rsp)
movb 0xb(%rsp), %al
testb $0x1, %al
jne 0x19b181
jmp 0x19b20f
jmp 0x19b183
cmpl $0x0, 0x32c(%rsp)
jne 0x19b1f2
movq 0x48(%rsp), %rax
movq 0x10(%rax), %rax
movq 0x320(%rsp), %rcx
movq (%rax,%rcx,8), %rax
movq 0x320(%rsp), %rcx
cmpq 0x1b0(%rsp,%rcx,8), %rax
je 0x19b1f0
movq 0x330(%rsp), %rdi
leaq 0x394437(%rip), %rsi    # 0x52f5fa
leaq 0x3bce57(%rip), %rdx    # 0x558021
leaq 0x3bcda4(%rip), %rcx    # 0x557f75
leaq 0x3bc563(%rip), %r8     # 0x55773b
movl $0x388, %r9d            # imm = 0x388
movb $0x0, %al
callq 0xd88c0
movl $0xffffffff, 0x32c(%rsp) # imm = 0xFFFFFFFF
jmp 0x19b1f2
jmp 0x19b1f4
jmp 0x19b1f6
movq 0x320(%rsp), %rax
addq $0x1, %rax
movq %rax, 0x320(%rsp)
jmp 0x19b14d
movq $0x0, 0x320(%rsp)
movq 0x320(%rsp), %rax
cmpq 0x2e8(%rsp), %rax
jae 0x19b2a2
movq 0x50(%rsp), %rdi
movq 0x320(%rsp), %rax
movq 0x1e0(%rsp,%rax,8), %rsi
movq 0x320(%rsp), %rax
movq 0x1b0(%rsp,%rax,8), %rdx
xorl %eax, %eax
movl %eax, %ecx
callq 0x199190
movq 0x58(%rsp), %rdi
movq 0x320(%rsp), %rax
movq 0x1e0(%rsp,%rax,8), %rsi
movq 0x320(%rsp), %rax
movq 0x1b0(%rsp,%rax,8), %rdx
xorl %eax, %eax
movl %eax, %ecx
callq 0x198230
movq 0x320(%rsp), %rax
addq $0x1, %rax
movq %rax, 0x320(%rsp)
jmp 0x19b21b
movq 0x58(%rsp), %rdi
callq 0x198420
cmpl $0x0, 0x32c(%rsp)
jne 0x19b2cf
movq 0x58(%rsp), %rdi
movq 0x330(%rsp), %rsi
callq 0x199fe0
movl %eax, 0x32c(%rsp)
cmpl $0x0, 0x32c(%rsp)
jne 0x19b2f2
movq 0x50(%rsp), %rdi
movq 0x330(%rsp), %rsi
callq 0x199fe0
movl %eax, 0x32c(%rsp)
cmpl $0x0, 0x32c(%rsp)
jne 0x19b31a
movq 0x58(%rsp), %rdi
movq 0x50(%rsp), %rsi
movq 0x330(%rsp), %rdx
callq 0x199cb0
movl %eax, 0x32c(%rsp)
movq $0x0, 0x320(%rsp)
xorl %eax, %eax
cmpl $0x0, 0x32c(%rsp)
movb %al, 0xa(%rsp)
jne 0x19b34d
movq 0x320(%rsp), %rax
cmpq 0x2f0(%rsp), %rax
setbe %al
movb %al, 0xa(%rsp)
movb 0xa(%rsp), %al
testb $0x1, %al
jne 0x19b35a
jmp 0x19b3eb
jmp 0x19b35c
cmpl $0x0, 0x32c(%rsp)
jne 0x19b3ce
movq 0x58(%rsp), %rax
movq (%rax), %rax
movq 0x320(%rsp), %rcx
movq (%rax,%rcx,8), %rax
movq 0x50(%rsp), %rcx
movq (%rcx), %rcx
movq 0x320(%rsp), %rdx
cmpq (%rcx,%rdx,8), %rax
je 0x19b3cc
movq 0x330(%rsp), %rdi
leaq 0x39425b(%rip), %rsi    # 0x52f5fa
leaq 0x3bcca3(%rip), %rdx    # 0x558049
leaq 0x3bcbc8(%rip), %rcx    # 0x557f75
leaq 0x3bc387(%rip), %r8     # 0x55773b
movl $0x39b, %r9d            # imm = 0x39B
movb $0x0, %al
callq 0xd88c0
movl $0xffffffff, 0x32c(%rsp) # imm = 0xFFFFFFFF
jmp 0x19b3ce
jmp 0x19b3d0
jmp 0x19b3d2
movq 0x320(%rsp), %rax
addq $0x1, %rax
movq %rax, 0x320(%rsp)
jmp 0x19b326
movq $0x0, 0x320(%rsp)
xorl %eax, %eax
cmpl $0x0, 0x32c(%rsp)
movb %al, 0x9(%rsp)
jne 0x19b429
movq 0x320(%rsp), %rax
movq 0x2f8(%rsp), %rcx
addq 0x2e8(%rsp), %rcx
cmpq %rcx, %rax
setb %al
movb %al, 0x9(%rsp)
movb 0x9(%rsp), %al
testb $0x1, %al
jne 0x19b436
jmp 0x19b4c9
jmp 0x19b438
cmpl $0x0, 0x32c(%rsp)
jne 0x19b4ac
movq 0x58(%rsp), %rax
movq 0x10(%rax), %rax
movq 0x320(%rsp), %rcx
movq (%rax,%rcx,8), %rax
movq 0x50(%rsp), %rcx
movq 0x10(%rcx), %rcx
movq 0x320(%rsp), %rdx
cmpq (%rcx,%rdx,8), %rax
je 0x19b4aa
movq 0x330(%rsp), %rdi
leaq 0x39417d(%rip), %rsi    # 0x52f5fa
leaq 0x3bcbee(%rip), %rdx    # 0x558072
leaq 0x3bcaea(%rip), %rcx    # 0x557f75
leaq 0x3bc2a9(%rip), %r8     # 0x55773b
movl $0x39e, %r9d            # imm = 0x39E
movb $0x0, %al
callq 0xd88c0
movl $0xffffffff, 0x32c(%rsp) # imm = 0xFFFFFFFF
jmp 0x19b4ac
jmp 0x19b4ae
jmp 0x19b4b0
movq 0x320(%rsp), %rax
addq $0x1, %rax
movq %rax, 0x320(%rsp)
jmp 0x19b3f7
cmpl $0x0, 0x32c(%rsp)
jne 0x19b4f0
movq 0x58(%rsp), %rdi
callq 0x199bc0
cmpq $0x4, %rax
je 0x19b4ee
movl $0xffffffff, 0x32c(%rsp) # imm = 0xFFFFFFFF
jmp 0x19b4f0
movq $0x0, 0x320(%rsp)
xorl %eax, %eax
cmpl $0x0, 0x32c(%rsp)
movb %al, 0x8(%rsp)
jne 0x19b523
movq 0x320(%rsp), %rax
cmpq 0x2f0(%rsp), %rax
setb %al
movb %al, 0x8(%rsp)
movb 0x8(%rsp), %al
testb $0x1, %al
jne 0x19b530
jmp 0x19b66a
movq 0x58(%rsp), %rsi
movq 0x320(%rsp), %rdx
leaq 0x10(%rsp), %rdi
callq 0x199540
movq 0x10(%rsp), %rax
movq %rax, 0x28(%rsp)
movq 0x18(%rsp), %rax
movq %rax, 0x30(%rsp)
movq 0x20(%rsp), %rax
movq %rax, 0x38(%rsp)
movq $0x0, 0x318(%rsp)
xorl %eax, %eax
cmpl $0x0, 0x32c(%rsp)
movb %al, 0x7(%rsp)
jne 0x19b595
movq 0x318(%rsp), %rax
cmpq 0x38(%rsp), %rax
setb %al
movb %al, 0x7(%rsp)
movb 0x7(%rsp), %al
testb $0x1, %al
jne 0x19b5a2
jmp 0x19b639
jmp 0x19b5a4
cmpl $0x0, 0x32c(%rsp)
jne 0x19b61c
movq 0x28(%rsp), %rax
movq 0x318(%rsp), %rcx
movq (%rax,%rcx,8), %rax
movq 0x58(%rsp), %rcx
movq 0x10(%rcx), %rcx
movq 0x310(%rsp), %rdx
addq 0x318(%rsp), %rdx
cmpq (%rcx,%rdx,8), %rax
je 0x19b61a
movq 0x330(%rsp), %rdi
leaq 0x39400d(%rip), %rsi    # 0x52f5fa
leaq 0x3bcaad(%rip), %rdx    # 0x5580a1
leaq 0x3bc97a(%rip), %rcx    # 0x557f75
leaq 0x3bc139(%rip), %r8     # 0x55773b
movl $0x3ac, %r9d            # imm = 0x3AC
movb $0x0, %al
callq 0xd88c0
movl $0xffffffff, 0x32c(%rsp) # imm = 0xFFFFFFFF
jmp 0x19b61c
jmp 0x19b61e
jmp 0x19b620
movq 0x318(%rsp), %rax
addq $0x1, %rax
movq %rax, 0x318(%rsp)
jmp 0x19b571
movq 0x318(%rsp), %rax
addq 0x310(%rsp), %rax
movq %rax, 0x310(%rsp)
movq 0x320(%rsp), %rax
addq $0x1, %rax
movq %rax, 0x320(%rsp)
jmp 0x19b4fc
movq 0x60(%rsp), %rdi
callq 0x197d90
movq 0x58(%rsp), %rdi
callq 0x197d90
movq 0x50(%rsp), %rdi
callq 0x197d90
movq 0x48(%rsp), %rdi
callq 0x197d90
movq 0x40(%rsp), %rdi
callq 0x197d90
movl 0x32c(%rsp), %eax
addq $0x338, %rsp            # imm = 0x338
retq
nopl (%rax,%rax)