// File: /workspace/github_c_makefile_star2_O1/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 0x1fe85a
cmpl $0x2, %eax
jne 0x1fe8f7
movq 0x38(%r15), %rdi
callq 0xef27f
testb %al, %al
je 0x1fe8e9
movq 0x38(%r15), %rdi
movl 0x40(%r15), %eax
andl $-0x3, %eax
xorl %esi, %esi
cmpl $0x1, %eax
sete %sil
callq 0xef3d9
movq %rax, %r12
movq %rsp, %rsi
movq %rax, %rdi
callq 0xef451
testb %al, %al
je 0x1fe84d
movq %rsp, %r13
movl 0x40(%r15), %eax
orl $0x2, %eax
cmpl $0x3, %eax
jne 0x1fe827
movq (%r15), %rdi
movq %r13, %rsi
callq 0xfac92
movq (%rsp), %rdx
testq %rdx, %rdx
je 0x1fe83e
movq %r15, %rdi
movq %r14, %rsi
movq %rbx, %rcx
callq 0x1fe72a
movq %r12, %rdi
movq %r13, %rsi
callq 0xef451
testb %al, %al
jne 0x1fe810
movq %r12, %rdi
callq 0xefa48
jmp 0x1fe8e9
movq 0x48(%r15), %rdi
testq %rdi, %rdi
je 0x1fe8f7
callq 0x1932a9
testq %rax, %rax
je 0x1fe8e9
movq 0x48(%r15), %rdi
movl 0x40(%r15), %eax
andl $-0x3, %eax
xorl %esi, %esi
cmpl $0x1, %eax
sete %sil
callq 0x1932b9
testq %rax, %rax
je 0x1fe8fc
movq %rax, %r12
movq %rsp, %rsi
movq %rax, %rdi
callq 0x193337
testb %al, %al
je 0x1fe8e1
movq %rsp, %r13
movl 0x40(%r15), %eax
orl $0x2, %eax
cmpl $0x3, %eax
jne 0x1fe8bb
movq (%r15), %rdi
movq %r13, %rsi
callq 0xfac92
movq (%rsp), %rdx
testq %rdx, %rdx
je 0x1fe8d2
movq %r15, %rdi
movq %r14, %rsi
movq %rbx, %rcx
callq 0x1fe72a
movq %r12, %rdi
movq %r13, %rsi
callq 0x193337
testb %al, %al
jne 0x1fe8a4
movq %r12, %rdi
callq 0x193320
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
callq 0x7d57b
callq 0x7d542
nopl (%rax)