// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/match/sfx-diffcov.c
// Function: dc_initinversesuftabspecials
static void dc_initinversesuftabspecials(GtDifferencecover *dcov)
{
  GtUword idx;

  gt_assert(dcov != NULL);
  dcov->inversesuftab = gt_malloc(sizeof (*dcov->inversesuftab) *
                                  dcov->samplesize_upperbound);
  for (idx = 0; idx < dcov->samplesize_upperbound; idx++)
  {
    dcov->inversesuftab[idx] = GT_DIFFERENCECOVER_INVERSESUFTAB_UNDEF;
  }
  dcov->requiredspace += sizeof (*dcov->inversesuftab) *
                         dcov->samplesize_upperbound;
  if (gt_encseq_has_specialranges(dcov->encseq))
  {
    GtSpecialrangeiterator *sri;
    GtRange range;
    GtUword specialidx;

    sri = gt_specialrangeiterator_new(dcov->encseq,
                                      GT_ISDIRREVERSE(dcov->readmode)
                                      ? false : true);
    specialidx = dcov->effectivesamplesize;
    while (gt_specialrangeiterator_next(sri,&range))
    {
      /*
      printf("specialrange "GT_WU" "GT_WU"\n",(GtUword) range.leftpos,
                                      (GtUword) range.rightpos);
      */
      specialidx = dc_insertfullspecialrangesample(dcov,
                                                   specialidx,
                                                   range.start,
                                                   range.end);
    }
    gt_specialrangeiterator_delete(sri);
    sri = NULL;
  }
  if (dc_is_in_differencecover(dcov,(GtUword) GT_MODV(dcov->totallength)))
  {
    gt_assert(dcov->samplesize > 0);
    dc_inversesuftab_set(dcov,dcov->totallength,dcov->samplesize-1);
  }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdi, %rbx
movq 0x80(%rdi), %rdi
shlq $0x2, %rdi
leaq 0x1cb93e(%rip), %rsi    # 0x3b6930
movl $0x30c, %edx            # imm = 0x30C
callq 0x104226
movq %rax, 0x98(%rbx)
movq 0x80(%rbx), %r14
testq %r14, %r14
je 0x1eb025
shlq $0x2, %r14
movq %rax, %rdi
movl $0xff, %esi
movq %r14, %rdx
callq 0x173a0
jmp 0x1eb028
xorl %r14d, %r14d
movabsq $-0x8000000000000000, %rbp # imm = 0x8000000000000000
addq %r14, 0x40(%rbx)
movq 0x60(%rbx), %rdi
callq 0xeacd6
testb %al, %al
je 0x1eb146
movq 0x60(%rbx), %rdi
movl 0x68(%rbx), %eax
andl $-0x3, %eax
xorl %esi, %esi
cmpl $0x1, %eax
setne %sil
callq 0xeae2c
movq 0x78(%rbx), %r15
leaq 0x8(%rsp), %rsi
movq %rax, (%rsp)
movq %rax, %rdi
callq 0xeae9a
testb %al, %al
je 0x1eb13d
movq 0x8(%rsp), %r12
movq 0x10(%rsp), %r14
cmpq %r14, %r12
jae 0x1eb187
movl 0x68(%rbx), %eax
movl %eax, %ecx
orl $0x2, %ecx
decq %r14
cmpl $0x3, %ecx
jne 0x1eb0a4
movq %r14, %r13
jmp 0x1eb0a7
movq %r12, %r13
orl $0x2, %eax
cmpl $0x3, %eax
jne 0x1eb0f5
movq 0x48(%rbx), %rsi
cmpq %rsi, %r13
jae 0x1eb182
movq %r13, %rax
notq %rax
addq %rax, %rsi
movl 0xc(%rbx), %ecx
andl %esi, %ecx
movq 0x28(%rbx), %rax
movq %rbp, %rdx
shrq %cl, %rdx
shrl $0x6, %ecx
testq %rdx, (%rax,%rcx,8)
je 0x1eb0eb
movq %rbx, %rdi
movq %r15, %rdx
callq 0x1eb788
incq %r15
cmpq %r12, %r13
je 0x1eb12f
decq %r13
jmp 0x1eb127
movl 0xc(%rbx), %ecx
andl %r13d, %ecx
movq 0x28(%rbx), %rax
movq %rbp, %rdx
shrq %cl, %rdx
shrl $0x6, %ecx
testq %rdx, (%rax,%rcx,8)
je 0x1eb11f
movq %rbx, %rdi
movq %r13, %rsi
movq %r15, %rdx
callq 0x1eb788
incq %r15
cmpq %r14, %r13
je 0x1eb12f
incq %r13
movl 0x68(%rbx), %eax
jmp 0x1eb0a7
movq (%rsp), %rdi
leaq 0x8(%rsp), %rsi
jmp 0x1eb06f
movq (%rsp), %rdi
callq 0xeb455
movq 0x28(%rbx), %rax
movq 0x48(%rbx), %rsi
movl 0xc(%rbx), %ecx
andl %esi, %ecx
shrq %cl, %rbp
shrl $0x6, %ecx
testq %rbp, (%rax,%rcx,8)
je 0x1eb173
movq 0x70(%rbx), %rdx
testq %rdx, %rdx
je 0x1eb18c
decq %rdx
movq %rbx, %rdi
callq 0x1eb788
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
callq 0x78175
callq 0x7813c
callq 0x781ae