// File: /workspace/github_c_makefile_star2_O1/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 0x1cb786(%rip), %rsi    # 0x3bff50
movl $0x30c, %edx            # imm = 0x30C
callq 0x1092b2
movq %rax, 0x98(%rbx)
movq 0x80(%rbx), %r14
testq %r14, %r14
je 0x1f47fc
leaq (,%r14,4), %rdx
movq %rax, %rdi
movl $0xff, %esi
callq 0x173a0
movabsq $-0x8000000000000000, %rbp # imm = 0x8000000000000000
shlq $0x2, %r14
addq %r14, 0x40(%rbx)
movq 0x60(%rbx), %rdi
callq 0xef27f
testb %al, %al
je 0x1f4927
movq 0x60(%rbx), %rdi
movl 0x68(%rbx), %eax
andl $-0x3, %eax
xorl %esi, %esi
cmpl $0x1, %eax
setne %sil
callq 0xef3d9
movq 0x78(%rbx), %r15
leaq 0x8(%rsp), %rsi
movq %rax, (%rsp)
movq %rax, %rdi
callq 0xef451
testb %al, %al
je 0x1f491e
movq 0x8(%rsp), %r12
movq 0x10(%rsp), %r14
cmpq %r14, %r12
jae 0x1f4968
movl 0x68(%rbx), %eax
orl $0x2, %eax
movq %r12, %r13
cmpl $0x3, %eax
jne 0x1f4879
leaq -0x1(%r14), %r13
decq %r14
movl 0x68(%rbx), %eax
orl $0x2, %eax
cmpl $0x3, %eax
jne 0x1f48d4
movq 0x48(%rbx), %rsi
cmpq %rsi, %r13
jae 0x1f4963
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 0x1f48c3
movq %rbx, %rdi
movq %r15, %rdx
callq 0x1f4f58
incq %r15
xorl %eax, %eax
cmpq %r12, %r13
setne %cl
je 0x1f4910
movb %cl, %al
negq %rax
jmp 0x1f4908
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 0x1f48fe
movq %rbx, %rdi
movq %r13, %rsi
movq %r15, %rdx
callq 0x1f4f58
incq %r15
movl $0x1, %eax
cmpq %r14, %r13
je 0x1f4910
addq %rax, %r13
jmp 0x1f487c
movq (%rsp), %rdi
leaq 0x8(%rsp), %rsi
jmp 0x1f4847
movq (%rsp), %rdi
callq 0xefa48
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 0x1f4954
movq 0x70(%rbx), %rdx
testq %rdx, %rdx
je 0x1f496d
decq %rdx
movq %rbx, %rdi
callq 0x1f4f58
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
callq 0x79e02
callq 0x79dc9
callq 0x79e3b