// File: /workspace/github_c_makefile_star2_O0/genometools[P]genometools/src/extended/popcount_tab.c
// Function: gt_popcount_tab_get
GtUword gt_popcount_tab_get(GtPopcountTab *popcount_tab,
                                  unsigned int popcount_c,
                                  GtUword i)
{
  gt_assert(popcount_c <= popcount_tab->blocksize);
  if (popcount_c == 0) {
    gt_assert(i == 0);
    return 0;
  }
  if (popcount_c < popcount_tab->blocksize)
    gt_assert(i <
              gt_compact_ulong_store_get(popcount_tab->offsets,
                                         (GtUword) popcount_c + 1) -
              gt_compact_ulong_store_get(popcount_tab->offsets,
                                         (GtUword) popcount_c));
  else
    gt_assert(i == 0);
  return gt_compact_ulong_store_get(
                    popcount_tab->blocks,
                    gt_compact_ulong_store_get(popcount_tab->offsets,
                                               (GtUword) popcount_c) + i);
}

// Assembly:
subq $0x38, %rsp
movq %rdi, 0x28(%rsp)
movl %esi, 0x24(%rsp)
movq %rdx, 0x18(%rsp)
movl 0x24(%rsp), %eax
movq 0x28(%rsp), %rcx
cmpl 0x28(%rcx), %eax
jbe 0x1b4878
movq 0x487759(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x3617c2(%rip), %rsi    # 0x516013
leaq 0x3aba95(%rip), %rdx    # 0x5602ed
leaq 0x3abab4(%rip), %rcx    # 0x560313
leaq 0x3aba42(%rip), %r8     # 0x5602a8
movl $0xa2, %r9d
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x1b487a
cmpl $0x0, 0x24(%rsp)
jne 0x1b48d3
jmp 0x1b4883
cmpq $0x0, 0x18(%rsp)
je 0x1b48c3
movq 0x48770e(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x361777(%rip), %rsi    # 0x516013
leaq 0x38d2e9(%rip), %rdx    # 0x541b8c
leaq 0x3aba69(%rip), %rcx    # 0x560313
leaq 0x3ab9f7(%rip), %r8     # 0x5602a8
movl $0xa4, %r9d
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x1b48c5
movq $0x0, 0x30(%rsp)
jmp 0x1b49f0
movl 0x24(%rsp), %eax
movq 0x28(%rsp), %rcx
cmpl 0x28(%rcx), %eax
jae 0x1b4973
jmp 0x1b48e7
movq 0x18(%rsp), %rax
movq %rax, 0x10(%rsp)
movq 0x28(%rsp), %rax
movq 0x10(%rax), %rdi
movl 0x24(%rsp), %eax
movl %eax, %esi
addq $0x1, %rsi
callq 0xa20c0
movq %rax, 0x8(%rsp)
movq 0x28(%rsp), %rax
movq 0x10(%rax), %rdi
movl 0x24(%rsp), %eax
movl %eax, %esi
callq 0xa20c0
movq 0x8(%rsp), %rcx
movq %rax, %rdx
movq 0x10(%rsp), %rax
subq %rdx, %rcx
cmpq %rcx, %rax
jb 0x1b496f
movq 0x487662(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x3616cb(%rip), %rsi    # 0x516013
leaq 0x3ab9d8(%rip), %rdx    # 0x560327
leaq 0x3ab9bd(%rip), %rcx    # 0x560313
leaq 0x3ab94b(%rip), %r8     # 0x5602a8
movl $0xac, %r9d
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x1b4971
jmp 0x1b49b9
jmp 0x1b4975
cmpq $0x0, 0x18(%rsp)
je 0x1b49b5
movq 0x48761c(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x361685(%rip), %rsi    # 0x516013
leaq 0x38d1f7(%rip), %rdx    # 0x541b8c
leaq 0x3ab977(%rip), %rcx    # 0x560313
leaq 0x3ab905(%rip), %r8     # 0x5602a8
movl $0xae, %r9d
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x1b49b7
jmp 0x1b49b9
movq 0x28(%rsp), %rax
movq 0x8(%rax), %rax
movq %rax, (%rsp)
movq 0x28(%rsp), %rax
movq 0x10(%rax), %rdi
movl 0x24(%rsp), %eax
movl %eax, %esi
callq 0xa20c0
movq (%rsp), %rdi
movq %rax, %rsi
addq 0x18(%rsp), %rsi
callq 0xa20c0
movq %rax, 0x30(%rsp)
movq 0x30(%rsp), %rax
addq $0x38, %rsp
retq
nopw (%rax,%rax)