// File: /workspace/github_c_makefile_star2_O2/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 0x1bbc87(%rip), %rsi    # 0x356d90
movl $0x30c, %edx            # imm = 0x30C
callq 0x93160
movq %rax, 0x98(%rbx)
movq 0x80(%rbx), %rcx
xorl %edx, %edx
cmpq %rdx, %rcx
je 0x19b131
orl $-0x1, (%rax,%rdx,4)
incq %rdx
jmp 0x19b123
movabsq $-0x8000000000000000, %rbp # imm = 0x8000000000000000
shlq $0x2, %rcx
addq %rcx, 0x40(%rbx)
movq 0x60(%rbx), %rdi
callq 0x740a6
testb %al, %al
je 0x19b254
movq 0x60(%rbx), %rdi
movl 0x68(%rbx), %eax
andl $-0x3, %eax
xorl %esi, %esi
cmpl $0x1, %eax
setne %sil
callq 0x741f0
movq %rax, (%rsp)
movq 0x78(%rbx), %r15
movq (%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x7428b
testb %al, %al
je 0x19b24b
movq 0x8(%rsp), %r12
movq 0x10(%rsp), %r14
cmpq %r14, %r12
jae 0x19b2cc
movl 0x68(%rbx), %eax
movl %eax, %ecx
orl $0x2, %ecx
decq %r14
cmpl $0x3, %ecx
jne 0x19b1b2
movq %r14, %r13
jmp 0x19b1b5
movq %r12, %r13
orl $0x2, %eax
cmpl $0x3, %eax
jne 0x19b207
movq 0x48(%rbx), %rsi
cmpq %rsi, %r13
jae 0x19b294
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 0x19b1f9
movq %rbx, %rdi
movq %r15, %rdx
callq 0x19b985
incq %r15
leaq -0x1(%r13), %rcx
cmpq %r12, %r13
jne 0x19b240
jmp 0x19b174
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 0x19b231
movq %rbx, %rdi
movq %r13, %rsi
movq %r15, %rdx
callq 0x19b985
incq %r15
cmpq %r14, %r13
je 0x19b174
incq %r13
movq %r13, %rcx
movl 0x68(%rbx), %eax
movq %rcx, %r13
jmp 0x19b1b5
movq (%rsp), %rdi
callq 0x74a09
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 0x19b285
movq 0x70(%rbx), %rdx
testq %rdx, %rdx
je 0x19b2fa
decq %rdx
movq %rbx, %rdi
callq 0x19b985
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x29cccd(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x149d6e(%rip), %rsi    # 0x2e5013
leaq 0x1bc37d(%rip), %rdx    # 0x357629
leaq 0x1bc356(%rip), %rcx    # 0x357609
leaq 0x1bbad6(%rip), %r8     # 0x356d90
movl $0x2e9, %r9d            # imm = 0x2E9
xorl %eax, %eax
callq 0x17a50
callq 0x17390
movq 0x29cc95(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x149d36(%rip), %rsi    # 0x2e5013
leaq 0x1bc302(%rip), %rdx    # 0x3575e6
leaq 0x1bc31e(%rip), %rcx    # 0x357609
leaq 0x1bba9e(%rip), %r8     # 0x356d90
movl $0x2db, %r9d            # imm = 0x2DB
jmp 0x19b2c0
movq 0x29cc67(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x149d08(%rip), %rsi    # 0x2e5013
leaq 0x1bc2bf(%rip), %rdx    # 0x3575d1
leaq 0x1bc29b(%rip), %rcx    # 0x3575b4
leaq 0x1bba70(%rip), %r8     # 0x356d90
movl $0x32d, %r9d            # imm = 0x32D
jmp 0x19b2c0