// File: /workspace/github_c_makefile_star2_O2/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 0x1a7380
cmpl $0x2, %eax
jne 0x1a741f
movq 0x38(%r14), %rdi
callq 0x740a6
testb %al, %al
je 0x1a7413
movq 0x38(%r14), %rdi
movl 0x40(%r14), %eax
andl $-0x3, %eax
xorl %esi, %esi
cmpl $0x1, %eax
sete %sil
callq 0x741f0
movq %rax, %r15
leaq 0x8(%rsp), %r12
movq %r15, %rdi
movq %r12, %rsi
callq 0x7428b
testb %al, %al
je 0x1a740b
movl 0x40(%r14), %eax
orl $0x2, %eax
cmpl $0x3, %eax
jne 0x1a7366
movq (%r14), %rdi
movq %r12, %rsi
callq 0x81e2f
movq 0x8(%rsp), %rdx
cmpq $0x2, %rdx
jb 0x1a733c
decl %edx
movq %r14, %rdi
movq %rbx, %rsi
callq 0x1a71f9
jmp 0x1a733c
movq 0x48(%r14), %rdi
testq %rdi, %rdi
je 0x1a741f
callq 0x133e7b
testq %rax, %rax
je 0x1a7413
movq 0x48(%r14), %rdi
movl 0x40(%r14), %eax
andl $-0x3, %eax
xorl %esi, %esi
cmpl $0x1, %eax
sete %sil
callq 0x133ebe
testq %rax, %rax
je 0x1a744d
movq %rax, %r15
leaq 0x8(%rsp), %r12
movq %r15, %rdi
movq %r12, %rsi
callq 0x133f6d
testb %al, %al
je 0x1a7401
movl 0x40(%r14), %eax
orl $0x2, %eax
cmpl $0x3, %eax
jne 0x1a73e7
movq (%r14), %rdi
movq %r12, %rsi
callq 0x81e2f
movq 0x8(%rsp), %rdx
cmpq $0x2, %rdx
jb 0x1a73c1
decl %edx
movq %r14, %rdi
movq %rbx, %rsi
callq 0x1a71f9
jmp 0x1a73c1
movq %r15, %rdi
callq 0x133f56
jmp 0x1a7413
movq %r15, %rdi
callq 0x74a09
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq 0x290b42(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x13dbe3(%rip), %rsi    # 0x2e5013
leaq 0x1b278e(%rip), %rdx    # 0x359bc5
leaq 0x1b27cf(%rip), %rcx    # 0x359c0d
leaq 0x1b20b3(%rip), %r8     # 0x3594f8
movl $0x228, %r9d            # imm = 0x228
jmp 0x1a7479
movq 0x290b14(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x13dbb5(%rip), %rsi    # 0x2e5013
leaq 0x1b27cf(%rip), %rdx    # 0x359c34
leaq 0x1b27a1(%rip), %rcx    # 0x359c0d
leaq 0x1b2085(%rip), %r8     # 0x3594f8
movl $0x231, %r9d            # imm = 0x231
xorl %eax, %eax
callq 0x17a50
callq 0x17390