// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/match/sfx-sain.c
// Function: gt_sain_induceLtypesuffixes2
static void gt_sain_induceLtypesuffixes2(const GtSainseq *sainseq,
                                         GtSsainindextype *suftab,
                                         GtUword nonspecialentries)
{
  switch (sainseq->seqtype)
  {
    case GT_SAIN_PLAINSEQ:
    case GT_SAIN_BARE_ENCSEQ:
      gt_sain_PLAINSEQ_induceLtypesuffixes2(sainseq,sainseq->seq.plainseq,
                                            suftab,nonspecialentries);
      break;
    case GT_SAIN_ENCSEQ:
      gt_sain_ENCSEQ_induceLtypesuffixes2(sainseq,sainseq->seq.encseq,suftab,
                                          nonspecialentries);
      break;
    case GT_SAIN_INTSEQ:
      gt_sain_INTSEQ_induceLtypesuffixes2(sainseq,sainseq->seq.array,
                                          suftab,nonspecialentries);
      break;
  }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rsi, (%rsp)
movl 0x50(%rdi), %eax
cmpq $0x3, %rax
ja 0x1fd570
movq %rdi, %rbp
leaq 0x1c53a0(%rip), %rcx    # 0x3c26e8
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
testq %rdx, %rdx
jle 0x1fd570
movq 0x20(%rbp), %rax
movq 0x38(%rbp), %rcx
movq (%rsp), %rsi
leaq (%rsi,%rdx,4), %rdx
xorl %edi, %edi
xorl %r8d, %r8d
movslq (%rsi), %r9
movl %r9d, %r10d
notl %r10d
movl %r10d, (%rsi)
testq %r9, %r9
jle 0x1fd3e1
leal -0x1(%r9), %r10d
movzbl (%rcx,%r10), %r11d
cmpq %r11, 0x8(%rbp)
jbe 0x1fd3e1
testq %r11, %r11
je 0x1fd584
testq %r8, %r8
je 0x1fd3ae
cmpq %r11, %rdi
je 0x1fd3bd
subq (%rsp), %r8
shrq $0x2, %r8
movl %r8d, (%rax,%rdi,4)
movl (%rax,%r11,4), %edi
movq (%rsp), %r8
leaq (%r8,%rdi,4), %r8
movq %r11, %rdi
cmpq %r8, %rsi
jae 0x1fd57f
cmpl $0x1, %r9d
je 0x1fd3da
movl %r9d, %ebx
negl %ebx
cmpb %r11b, -0x2(%rcx,%r9)
cmovbl %ebx, %r10d
movl %r10d, (%r8)
addq $0x4, %r8
addq $0x4, %rsi
cmpq %rdx, %rsi
jb 0x1fd36f
jmp 0x1fd570
testq %rdx, %rdx
jle 0x1fd570
movq 0x20(%rbp), %rax
movq 0x38(%rbp), %rcx
movq (%rsp), %rsi
leaq (%rsi,%rdx,4), %rdx
xorl %edi, %edi
xorl %r8d, %r8d
movslq (%rsi), %r9
movl %r9d, %r10d
notl %r10d
movl %r10d, (%rsi)
testq %r9, %r9
jle 0x1fd47e
leal -0x1(%r9), %r10d
movl (%rcx,%r10,4), %r11d
cmpq %r11, 0x8(%rbp)
jbe 0x1fd47e
testq %r11, %r11
je 0x1fd593
testq %r8, %r8
je 0x1fd44b
cmpq %r11, %rdi
je 0x1fd45a
subq (%rsp), %r8
shrq $0x2, %r8
movl %r8d, (%rax,%rdi,4)
movl (%rax,%r11,4), %edi
movq (%rsp), %r8
leaq (%r8,%rdi,4), %r8
movq %r11, %rdi
cmpq %r8, %rsi
jae 0x1fd589
cmpl $0x1, %r9d
je 0x1fd477
movl %r9d, %ebx
negl %ebx
cmpl %r11d, -0x8(%rcx,%r9,4)
cmovbl %ebx, %r10d
movl %r10d, (%r8)
addq $0x4, %r8
addq $0x4, %rsi
cmpq %rdx, %rsi
jb 0x1fd40d
jmp 0x1fd570
testq %rdx, %rdx
jle 0x1fd570
movq 0x20(%rbp), %rax
movq %rax, 0x10(%rsp)
movq 0x38(%rbp), %rax
movq %rax, 0x18(%rsp)
movq (%rsp), %rbx
leaq (%rbx,%rdx,4), %rax
movq %rax, 0x20(%rsp)
xorl %r14d, %r14d
xorl %r13d, %r13d
movq %rbp, 0x8(%rsp)
movl (%rbx), %r15d
movl %r15d, %eax
notl %eax
movl %eax, (%rbx)
testl %r15d, %r15d
jle 0x1fd561
leal -0x1(%r15), %r12d
movl 0x40(%rbp), %edx
movq 0x18(%rsp), %rdi
movq %r12, %rsi
callq 0xec1f8
movq %rbp, %rcx
movzbl %al, %ebp
cmpq %rbp, 0x8(%rcx)
jbe 0x1fd55c
testq %rbp, %rbp
je 0x1fd598
testq %r13, %r13
je 0x1fd516
cmpq %rbp, %r14
je 0x1fd529
subq (%rsp), %r13
shrq $0x2, %r13
movq 0x10(%rsp), %rax
movl %r13d, (%rax,%r14,4)
movq 0x10(%rsp), %rax
movl (%rax,%rbp,4), %eax
movq (%rsp), %rcx
leaq (%rcx,%rax,4), %r13
movq %rbp, %r14
cmpq %r13, %rbx
jae 0x1fd58e
cmpl $0x1, %r15d
je 0x1fd554
leal -0x2(%r15), %esi
movq 0x8(%rsp), %rax
movl 0x40(%rax), %edx
movq 0x18(%rsp), %rdi
callq 0xec1f8
negl %r15d
cmpb %bpl, %al
cmovbl %r15d, %r12d
movl %r12d, (%r13)
addq $0x4, %r13
movq 0x8(%rsp), %rbp
addq $0x4, %rbx
cmpq 0x20(%rsp), %rbx
jb 0x1fd4bf
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
callq 0x7cc9d
callq 0x7ccd6
callq 0x7cbb9
callq 0x7cc2b
callq 0x7cbf2
callq 0x7cc64