// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/match/sfx-sain.c
// Function: gt_sain_induceStypes2fromspecialranges
static void gt_sain_induceStypes2fromspecialranges(const GtSainseq *sainseq,
                                                   GtSsainindextype *suftab,
                                                   GtUword nonspecialentries)
{
  if (sainseq->seqtype == GT_SAIN_ENCSEQ)
  {
    if (gt_encseq_has_specialranges(sainseq->seq.encseq))
    {
      GtSpecialrangeiterator *sri;
      GtRange range;
      sri = gt_specialrangeiterator_new(sainseq->seq.encseq,
                                        GT_ISDIRREVERSE(sainseq->readmode)
                                          ? true : false);
      while (gt_specialrangeiterator_next(sri,&range))
      {
        if (GT_ISDIRREVERSE(sainseq->readmode))
        {
          gt_range_reverse(sainseq->totallength,&range);
        }
        if (range.start > 0)
        {
          gt_sain_special_singleSinduction2(sainseq,
                                            suftab,
                                            (GtSsainindextype) range.start,
                                            nonspecialentries);
        }
      }
      gt_specialrangeiterator_delete(sri);
    }
  } else
  {
    gt_assert(sainseq->seqtype == GT_SAIN_BARE_ENCSEQ &&
              sainseq->bare_encseq != NULL);
    if (gt_bare_encseq_specialcharacters(sainseq->bare_encseq) > 0)
    {
      GtRange range;
      GtBareSpecialrangeiterator *sri
        = gt_bare_encseq_specialrangeiterator_new(sainseq->bare_encseq,
                                        GT_ISDIRREVERSE(sainseq->readmode)
                                          ? true : false);

      gt_assert(sri != NULL);
      while (gt_bare_encseq_specialrangeiterator_next(sri,&range))
      {
        if (GT_ISDIRREVERSE(sainseq->readmode))
        {
          gt_range_reverse(sainseq->totallength,&range);
        }
        if (range.start > 0)
        {
          gt_sain_special_singleSinduction2(sainseq,
                                            suftab,
                                            (GtSsainindextype) range.start,
                                            nonspecialentries);
        }
      }
      gt_bare_encseq_specialrangeiterator_delete(sri);
    }
  }
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x10, %rsp
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
movl 0x50(%rdi), %eax
cmpl $0x3, %eax
je 0x1f50e8
cmpl $0x2, %eax
jne 0x1f5185
movq 0x38(%r15), %rdi
callq 0xeacd6
testb %al, %al
je 0x1f5177
movq 0x38(%r15), %rdi
movl 0x40(%r15), %eax
andl $-0x3, %eax
xorl %esi, %esi
cmpl $0x1, %eax
sete %sil
callq 0xeae2c
movq %rax, %r12
movq %rsp, %rsi
movq %rax, %rdi
callq 0xeae9a
testb %al, %al
je 0x1f50db
movq %rsp, %r13
movl 0x40(%r15), %eax
orl $0x2, %eax
cmpl $0x3, %eax
jne 0x1f50b5
movq (%r15), %rdi
movq %r13, %rsi
callq 0xf6579
movq (%rsp), %rdx
testq %rdx, %rdx
je 0x1f50cc
movq %r15, %rdi
movq %r14, %rsi
movq %rbx, %rcx
callq 0x1f4fb8
movq %r12, %rdi
movq %r13, %rsi
callq 0xeae9a
testb %al, %al
jne 0x1f509e
movq %r12, %rdi
callq 0xeb455
jmp 0x1f5177
movq 0x48(%r15), %rdi
testq %rdi, %rdi
je 0x1f5185
callq 0x18ac40
testq %rax, %rax
je 0x1f5177
movq 0x48(%r15), %rdi
movl 0x40(%r15), %eax
andl $-0x3, %eax
xorl %esi, %esi
cmpl $0x1, %eax
sete %sil
callq 0x18ac50
testq %rax, %rax
je 0x1f518a
movq %rax, %r12
movq %rsp, %rsi
movq %rax, %rdi
callq 0x18acce
testb %al, %al
je 0x1f516f
movq %rsp, %r13
movl 0x40(%r15), %eax
orl $0x2, %eax
cmpl $0x3, %eax
jne 0x1f5149
movq (%r15), %rdi
movq %r13, %rsi
callq 0xf6579
movq (%rsp), %rdx
testq %rdx, %rdx
je 0x1f5160
movq %r15, %rdi
movq %r14, %rsi
movq %rbx, %rcx
callq 0x1f4fb8
movq %r12, %rdi
movq %r13, %rsi
callq 0x18acce
testb %al, %al
jne 0x1f5132
movq %r12, %rdi
callq 0x18acb7
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
callq 0x7b81c
callq 0x7b7e3
nop