// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/match/sfx-sain.c
// Function: gt_sain_induceStypes1fromspecialranges
static void gt_sain_induceStypes1fromspecialranges(GtSainseq *sainseq,
                                                   GtSsainindextype *suftab)
{
  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 > 1UL)
        {
          gt_sain_special_singleSinduction1(sainseq,
                                            suftab,
                                            (GtSsainindextype)
                                            (range.start - 1));
        }
      }
      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 > 1UL)
        {
          gt_sain_special_singleSinduction1(sainseq,
                                            suftab,
                                            (GtSsainindextype)
                                            (range.start - 1));
        }
      }
      gt_bare_encseq_specialrangeiterator_delete(sri);
    }
  }
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rsi, %rbx
movq %rdi, %r14
movl 0x50(%rdi), %eax
cmpl $0x3, %eax
je 0x1fe600
cmpl $0x2, %eax
jne 0x1fe6a0
movq 0x38(%r14), %rdi
callq 0xef27f
testb %al, %al
je 0x1fe694
movq 0x38(%r14), %rdi
movl 0x40(%r14), %eax
andl $-0x3, %eax
xorl %esi, %esi
cmpl $0x1, %eax
sete %sil
callq 0xef3d9
movq %rax, %r15
leaq 0x8(%rsp), %rsi
movq %rax, %rdi
callq 0xef451
testb %al, %al
je 0x1fe5f3
leaq 0x8(%rsp), %r12
movl 0x40(%r14), %eax
orl $0x2, %eax
cmpl $0x3, %eax
jne 0x1fe5cc
movq (%r14), %rdi
movq %r12, %rsi
callq 0xfac92
movq 0x8(%rsp), %rdx
cmpq $0x2, %rdx
jb 0x1fe5e4
decl %edx
movq %r14, %rdi
movq %rbx, %rsi
callq 0x1fe4b7
movq %r15, %rdi
movq %r12, %rsi
callq 0xef451
testb %al, %al
jne 0x1fe5b5
movq %r15, %rdi
callq 0xefa48
jmp 0x1fe694
movq 0x48(%r14), %rdi
testq %rdi, %rdi
je 0x1fe6a0
callq 0x1932a9
testq %rax, %rax
je 0x1fe694
movq 0x48(%r14), %rdi
movl 0x40(%r14), %eax
andl $-0x3, %eax
xorl %esi, %esi
cmpl $0x1, %eax
sete %sil
callq 0x1932b9
testq %rax, %rax
je 0x1fe6a5
movq %rax, %r15
leaq 0x8(%rsp), %rsi
movq %rax, %rdi
callq 0x193337
testb %al, %al
je 0x1fe68c
leaq 0x8(%rsp), %r12
movl 0x40(%r14), %eax
orl $0x2, %eax
cmpl $0x3, %eax
jne 0x1fe665
movq (%r14), %rdi
movq %r12, %rsi
callq 0xfac92
movq 0x8(%rsp), %rdx
cmpq $0x2, %rdx
jb 0x1fe67d
decl %edx
movq %r14, %rdi
movq %rbx, %rsi
callq 0x1fe4b7
movq %r15, %rdi
movq %r12, %rsi
callq 0x193337
testb %al, %al
jne 0x1fe64e
movq %r15, %rdi
callq 0x193320
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
callq 0x7d497
callq 0x7d45e