// File: /workspace/github_c_makefile_star2_O0/genometools[P]genometools/src/extended/compressed_bitsequence.c
// Function: gt_compressed_bitsequence_init_s_tabs
static void gt_compressed_bitsequence_init_s_tabs(GtCompressedBitsequence *cbs)
{
  cbs->num_of_superblocks = cbs->num_of_blocks / cbs->superblocksize;
  if (cbs->num_of_blocks % cbs->superblocksize != 0)
    cbs->num_of_superblocks++;

  cbs->superblockoffsets_size = (GtUword)
    GT_NUMOFINTSFORBITS(cbs->num_of_superblocks * cbs->superblockoffsets_bits);
  cbs->superblockranks_size = (GtUword)
    GT_NUMOFINTSFORBITS(cbs->num_of_superblocks * cbs->superblockranks_bits);
  GT_INITBITTAB(cbs->superblockoffsets,
                cbs->num_of_superblocks * cbs->superblockoffsets_bits);
  GT_INITBITTAB(cbs->superblockranks,
                cbs->num_of_superblocks * cbs->superblockranks_bits);
}

// Assembly:
subq $0x38, %rsp
movq %rdi, 0x30(%rsp)
movq 0x30(%rsp), %rax
movq 0xb8(%rax), %rax
movq 0x30(%rsp), %rcx
movl 0xec(%rcx), %ecx
xorl %edx, %edx
divq %rcx
movq %rax, %rcx
movq 0x30(%rsp), %rax
movq %rcx, 0xc0(%rax)
movq 0x30(%rsp), %rax
movq 0xb8(%rax), %rax
movq 0x30(%rsp), %rcx
movl 0xec(%rcx), %ecx
xorl %edx, %edx
divq %rcx
cmpq $0x0, %rdx
je 0x13a82d
movq 0x30(%rsp), %rax
movq 0xc0(%rax), %rcx
addq $0x1, %rcx
movq %rcx, 0xc0(%rax)
movq 0x30(%rsp), %rax
movq 0xc0(%rax), %rax
movq 0x30(%rsp), %rcx
movl 0xe4(%rcx), %ecx
imulq %rcx, %rax
shrq $0x6, %rax
cmpq $0x0, %rax
jne 0x13a85e
movl $0x1, %eax
movq %rax, 0x18(%rsp)
jmp 0x13a88a
movq 0x30(%rsp), %rax
movq 0xc0(%rax), %rax
movq 0x30(%rsp), %rcx
movl 0xe4(%rcx), %ecx
imulq %rcx, %rax
subq $0x1, %rax
shrq $0x6, %rax
addq $0x1, %rax
movq %rax, 0x18(%rsp)
movq 0x18(%rsp), %rcx
movq 0x30(%rsp), %rax
movq %rcx, 0xc8(%rax)
movq 0x30(%rsp), %rax
movq 0xc0(%rax), %rax
movq 0x30(%rsp), %rcx
movl 0xe8(%rcx), %ecx
imulq %rcx, %rax
shrq $0x6, %rax
cmpq $0x0, %rax
jne 0x13a8cc
movl $0x1, %eax
movq %rax, 0x10(%rsp)
jmp 0x13a8f8
movq 0x30(%rsp), %rax
movq 0xc0(%rax), %rax
movq 0x30(%rsp), %rcx
movl 0xe8(%rcx), %ecx
imulq %rcx, %rax
subq $0x1, %rax
shrq $0x6, %rax
addq $0x1, %rax
movq %rax, 0x10(%rsp)
movq 0x10(%rsp), %rcx
movq 0x30(%rsp), %rax
movq %rcx, 0xd0(%rax)
movq 0x30(%rsp), %rax
movq 0xc0(%rax), %rax
movq 0x30(%rsp), %rcx
movl 0xe4(%rcx), %ecx
imulq %rcx, %rax
shrq $0x6, %rax
cmpq $0x0, %rax
jne 0x13a93a
movl $0x1, %eax
movq %rax, 0x8(%rsp)
jmp 0x13a966
movq 0x30(%rsp), %rax
movq 0xc0(%rax), %rax
movq 0x30(%rsp), %rcx
movl 0xe4(%rcx), %ecx
imulq %rcx, %rax
subq $0x1, %rax
shrq $0x6, %rax
addq $0x1, %rax
movq %rax, 0x8(%rsp)
movq 0x8(%rsp), %rax
movq %rax, 0x28(%rsp)
movq 0x28(%rsp), %rsi
shlq $0x3, %rsi
xorl %eax, %eax
movl %eax, %edi
leaq 0x40fe82(%rip), %rdx    # 0x54a806
movl $0x156, %ecx            # imm = 0x156
callq 0xe8540
movq %rax, %rcx
movq 0x30(%rsp), %rax
movq %rcx, 0x80(%rax)
movq 0x30(%rsp), %rax
movq 0x80(%rax), %rdi
movq 0x28(%rsp), %rdx
shlq $0x3, %rdx
xorl %esi, %esi
callq 0x19360
movq 0x30(%rsp), %rax
movq 0xc0(%rax), %rax
movq 0x30(%rsp), %rcx
movl 0xe8(%rcx), %ecx
imulq %rcx, %rax
shrq $0x6, %rax
cmpq $0x0, %rax
jne 0x13a9e9
movl $0x1, %eax
movq %rax, (%rsp)
jmp 0x13aa14
movq 0x30(%rsp), %rax
movq 0xc0(%rax), %rax
movq 0x30(%rsp), %rcx
movl 0xe8(%rcx), %ecx
imulq %rcx, %rax
subq $0x1, %rax
shrq $0x6, %rax
addq $0x1, %rax
movq %rax, (%rsp)
movq (%rsp), %rax
movq %rax, 0x20(%rsp)
movq 0x20(%rsp), %rsi
shlq $0x3, %rsi
xorl %eax, %eax
movl %eax, %edi
leaq 0x40fdd5(%rip), %rdx    # 0x54a806
movl $0x158, %ecx            # imm = 0x158
callq 0xe8540
movq %rax, %rcx
movq 0x30(%rsp), %rax
movq %rcx, 0x88(%rax)
movq 0x30(%rsp), %rax
movq 0x88(%rax), %rdi
movq 0x20(%rsp), %rdx
shlq $0x3, %rdx
xorl %esi, %esi
callq 0x19360
addq $0x38, %rsp
retq
nopl (%rax,%rax)