// File: /workspace/github_c_makefile_star2_O0/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:
subq $0x48, %rsp
movq %rdi, 0x40(%rsp)
cmpq $0x0, 0x40(%rsp)
jne 0x2c2979
movq 0x379658(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x2536c1(%rip), %rsi    # 0x516013
leaq 0x2c6ea8(%rip), %rdx    # 0x589801
leaq 0x2c7693(%rip), %rcx    # 0x589ff3
leaq 0x2c6e54(%rip), %r8     # 0x5897bb
movl $0x30a, %r9d            # imm = 0x30A
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x2c297b
movq 0x40(%rsp), %rax
movq 0x80(%rax), %rdi
shlq $0x2, %rdi
leaq 0x2c6e29(%rip), %rsi    # 0x5897bb
movl $0x30c, %edx            # imm = 0x30C
callq 0xe80f0
movq %rax, %rcx
movq 0x40(%rsp), %rax
movq %rcx, 0x98(%rax)
movq $0x0, 0x38(%rsp)
movq 0x38(%rsp), %rax
movq 0x40(%rsp), %rcx
cmpq 0x80(%rcx), %rax
jae 0x2c29ef
movq 0x40(%rsp), %rax
movq 0x98(%rax), %rax
movq 0x38(%rsp), %rcx
movl $0xffffffff, (%rax,%rcx,4) # imm = 0xFFFFFFFF
movq 0x38(%rsp), %rax
addq $0x1, %rax
movq %rax, 0x38(%rsp)
jmp 0x2c29b4
movq 0x40(%rsp), %rax
movq 0x80(%rax), %rcx
shlq $0x2, %rcx
movq 0x40(%rsp), %rax
addq 0x40(%rax), %rcx
movq %rcx, 0x40(%rax)
movq 0x40(%rsp), %rax
movq 0x60(%rax), %rdi
callq 0xaf360
testb $0x1, %al
jne 0x2c2a23
jmp 0x2c2ad4
movq 0x40(%rsp), %rax
movq 0x60(%rax), %rax
movq %rax, 0x8(%rsp)
movq 0x40(%rsp), %rcx
movb $0x1, %al
cmpl $0x1, 0x68(%rcx)
movb %al, 0x17(%rsp)
je 0x2c2a52
movq 0x40(%rsp), %rax
cmpl $0x3, 0x68(%rax)
sete %al
movb %al, 0x17(%rsp)
movq 0x8(%rsp), %rdi
movb 0x17(%rsp), %dl
movl $0x1, %eax
xorl %ecx, %ecx
testb $0x1, %dl
cmovnel %ecx, %eax
cmpl $0x0, %eax
setne %al
movzbl %al, %esi
andl $0x1, %esi
callq 0xaf650
movq %rax, 0x30(%rsp)
movq 0x40(%rsp), %rax
movq 0x78(%rax), %rax
movq %rax, 0x18(%rsp)
movq 0x30(%rsp), %rdi
leaq 0x20(%rsp), %rsi
callq 0xaf770
testb $0x1, %al
jne 0x2c2aa1
jmp 0x2c2ac1
movq 0x40(%rsp), %rdi
movq 0x18(%rsp), %rsi
movq 0x20(%rsp), %rdx
movq 0x28(%rsp), %rcx
callq 0x2c3da0
movq %rax, 0x18(%rsp)
jmp 0x2c2a8c
movq 0x30(%rsp), %rdi
callq 0xafc80
movq $0x0, 0x30(%rsp)
movq 0x40(%rsp), %rdi
movq 0x40(%rsp), %rax
movq 0x48(%rax), %rsi
movq 0x40(%rsp), %rax
movl 0xc(%rax), %eax
andq %rax, %rsi
callq 0x2c3d50
testb $0x1, %al
jne 0x2c2af8
jmp 0x2c2b60
jmp 0x2c2afa
movq 0x40(%rsp), %rax
cmpq $0x0, 0x70(%rax)
ja 0x2c2b3e
movq 0x379493(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x2534fc(%rip), %rsi    # 0x516013
leaq 0x2c74f2(%rip), %rdx    # 0x58a010
leaq 0x2c74ce(%rip), %rcx    # 0x589ff3
leaq 0x2c6c8f(%rip), %r8     # 0x5897bb
movl $0x32d, %r9d            # imm = 0x32D
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x2c2b40
movq 0x40(%rsp), %rdi
movq 0x40(%rsp), %rax
movq 0x48(%rax), %rsi
movq 0x40(%rsp), %rax
movq 0x70(%rax), %rdx
subq $0x1, %rdx
callq 0x2c3f90
addq $0x48, %rsp
retq
nopw %cs:(%rax,%rax)