// File: /workspace/github_c_makefile_star2_O2/genometools[P]genometools/src/match/sfx-bltrie.c
// Function: gt_blindtrie_suffixsort
void gt_blindtrie_suffixsort(GtBlindtrie *blindtrie,
                             GtUword subbucketleft,
                             GtLcpvalues *tableoflcpvalues,
                             GtUword numberofsuffixes,
                             GtUword offset,
                             GtUword sortmaxdepth,
                             GtProcessunsortedsuffixrange
                               processunsortedsuffixrange,
                             void *processunsortedsuffixrangeinfo)
{
  GtUword idx, currentstartpos;

  gt_blindtrie_reset(blindtrie);
  for (idx=0; idx < numberofsuffixes; idx++)
  {
    currentstartpos = gt_suffixsortspace_get(blindtrie->sssp,subbucketleft,idx);
    gt_blindtrie_insertsuffix(blindtrie,
                              offset,
                              sortmaxdepth,
                              currentstartpos + offset);
#ifdef SKDEBUG
    blindtrie_showstate(blindtrie,
                        subbucketleft,
                        idx+1,
                        offset);
#endif
  }
  gt_blindtrie2sorting(blindtrie,
                       subbucketleft,
                       tableoflcpvalues,
                       offset,
                       sortmaxdepth,
                       processunsortedsuffixrange,
                       processunsortedsuffixrangeinfo);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movq %r9, %r14
movq %r8, %rbx
movq %rcx, 0x28(%rsp)
movq %rdx, 0x40(%rsp)
movq %rsi, %r15
movq %rdi, %r12
andl $0x0, 0x4(%rdi)
andq $0x0, 0x20(%rdi)
movq %r9, %rax
subq %r8, %rax
xorl %r13d, %r13d
movq %r9, 0x30(%rsp)
subq $0x1, %r14
cmovbq %r13, %rax
movq %rax, 0x10(%rsp)
movq %r8, 0x18(%rsp)
movq %rsi, 0x20(%rsp)
cmpq %r13, 0x28(%rsp)
je 0x19556c
movq 0x90(%r12), %rdi
movq %r15, %rsi
movq %r13, %rdx
callq 0x1af8b2
cmpq %rbx, %r14
jb 0x195911
movq %rax, %rbp
addq %rbx, %rbp
cmpl $0x0, 0x4(%r12)
je 0x195453
movq 0x70(%r12), %rax
testq %rax, %rax
je 0x195476
addq %rbp, %rax
movq 0x60(%r12), %rcx
cmpq %rcx, %rax
cmovaeq %rcx, %rax
jmp 0x19547b
movq 0x10(%rsp), %rax
movq %rax, 0x70(%r12)
andq $0x0, 0x38(%r12)
movq %r12, %rdi
movq %rbp, %rsi
pushq $-0x1
popq %rdx
callq 0x195c16
jmp 0x195564
movq 0x60(%r12), %rax
cmpq %rbp, %rax
jbe 0x19550a
movq %r12, %rdi
movq %rbp, %rsi
callq 0x195d16
movq %rax, %r15
movq %r12, %rdi
movq %rbp, %rsi
movq %rax, %rdx
callq 0x195d58
movl %eax, %ebx
movq %r12, %rdi
movl %eax, %esi
callq 0x195fa6
testb %al, %al
je 0x19596d
movq %r15, (%rsp)
leaq 0x50(%rsp), %rdi
xorl %esi, %esi
leaq 0x48(%rsp), %rdx
movq %r12, %rcx
movl %ebx, %r8d
movq %rbp, %r9
callq 0x195ff4
movq %rax, %rbx
movq %r12, %rdi
movq %rax, %rsi
callq 0x19648b
movq 0x50(%rsp), %rdx
movq 0x48(%rsp), %r8
movq %r15, (%rsp)
movq %r12, %rdi
movl %eax, %esi
movq %rbx, %rcx
movq %rbp, %r9
callq 0x1964da
movq 0x18(%rsp), %rbx
movq 0x20(%rsp), %r15
jmp 0x195564
movq 0x30(%r12), %rax
cmpq %rax, 0x38(%r12)
jae 0x19551d
movq 0x28(%r12), %rax
jmp 0x195549
leaq 0x20(%rax), %rcx
movq %rcx, 0x30(%r12)
movq 0x28(%r12), %rdi
leaq 0x100(,%rax,8), %rsi
leaq 0x1c0c44(%rip), %rdx    # 0x35617e
movl $0x47e, %ecx            # imm = 0x47E
callq 0x93472
movq %rax, 0x28(%r12)
testq %rax, %rax
je 0x19593f
movq 0x38(%r12), %rcx
leaq 0x1(%rcx), %rdx
movq %rdx, 0x38(%r12)
movq %rbp, (%rax,%rcx,8)
incq %r13
jmp 0x195403
andq $0x0, 0x20(%r12)
cmpq $0x0, 0x18(%r12)
je 0x195581
movq 0x10(%r12), %rax
jmp 0x1955aa
movq $0x80, 0x18(%r12)
movq 0x10(%r12), %rdi
leaq 0x1c0be8(%rip), %rdx    # 0x35617e
movl $0x200, %esi            # imm = 0x200
movl $0x31c, %ecx            # imm = 0x31C
callq 0x93472
movq %rax, 0x10(%r12)
testq %rax, %rax
je 0x1959d3
movq 0x20(%r12), %rcx
leaq 0x1(%rcx), %rdx
movq %rdx, 0x20(%r12)
andl $0x0, (%rax,%rcx,4)
movq $0x0, 0x28(%rsp)
movq %r12, %rdi
xorl %esi, %esi
callq 0x196820
movq %r12, %rdi
movl %eax, %esi
callq 0x195fa6
movl %eax, %ebp
movq %r12, %rdi
xorl %esi, %esi
callq 0x196820
movl %eax, 0xc(%rsp)
movq 0x90(%r12), %rdi
callq 0x1afb8c
addq %r15, %rax
movq %rax, 0x38(%rsp)
movq $0x0, 0x10(%rsp)
xorl %r13d, %r13d
xorl %eax, %eax
movq %r13, %r15
movl %eax, %ebx
movq %r12, %rdi
movq 0x28(%rsp), %rsi
callq 0x196880
movq %r15, %r14
notq %r14
testb $0x1, %bpl
jne 0x195700
movq 0x20(%r12), %rax
testb $0x1, %bl
movq 0x40(%rsp), %r13
je 0x195677
cmpq $0x1, %rax
je 0x195848
leaq -0x1(%rax), %rcx
movq %rcx, 0x20(%r12)
movq 0x10(%r12), %rcx
movl -0x4(%rcx,%rax,4), %esi
movq %r12, %rdi
callq 0x196a13
movb $0x1, %bl
xorl %ebp, %ebp
testl %eax, %eax
je 0x19561a
jmp 0x1957b5
movq 0x18(%r12), %rcx
cmpq %rcx, %rax
jae 0x195688
movq 0x10(%r12), %rax
jmp 0x1956b7
leaq 0x80(%rcx), %rax
movq %rax, 0x18(%r12)
movq 0x10(%r12), %rdi
leaq 0x200(,%rcx,4), %rsi
leaq 0x1c0ad6(%rip), %rdx    # 0x35617e
movl $0x36a, %ecx            # imm = 0x36A
callq 0x93472
movq %rax, 0x10(%r12)
testq %rax, %rax
je 0x1959a5
movq 0x20(%r12), %rcx
leaq 0x1(%rcx), %rdx
movq %rdx, 0x20(%r12)
movl 0xc(%rsp), %ebx
movl %ebx, (%rax,%rcx,4)
movq %r12, %rdi
movl %ebx, %esi
callq 0x196820
movq %r12, %rdi
movl %eax, %esi
callq 0x195fa6
movl %eax, %ebp
movq %r12, %rdi
movl %ebx, %esi
callq 0x196820
movl %eax, 0xc(%rsp)
xorl %ebx, %ebx
jmp 0x19561a
cmpq $0x0, 0x10(%rsp)
je 0x195748
movq %rax, %r13
movq 0x40(%rsp), %rdi
testq %rdi, %rdi
je 0x19572d
movq 0x18(%rsp), %rax
leaq (%rax,%r13), %rcx
movq 0x20(%rsp), %rsi
movq 0x10(%rsp), %rdx
callq 0x1968df
movq 0x30(%rsp), %rax
testq %rax, %rax
je 0x195748
addq 0x18(%rsp), %r13
cmpq %rax, %r13
jne 0x1957eb
incq %r15
movq %r15, %r13
movq %r12, %rdi
movl 0xc(%rsp), %ebp
movl %ebp, %esi
callq 0x1969b2
movq %r12, %rdi
movq 0x20(%rsp), %rsi
movq 0x18(%rsp), %rdx
movq 0x10(%rsp), %r14
movq %r14, %rcx
movq %rax, %r8
callq 0x19699d
incq %r14
movq %r14, 0x10(%rsp)
movq %r12, %rdi
movl %ebp, %esi
callq 0x196a13
movl %eax, %r14d
movb $0x1, %al
xorl %ebp, %ebp
testl %r14d, %r14d
je 0x195615
movq %r12, %rdi
movl %r14d, %esi
callq 0x195fa6
movl %eax, %ebp
movq 0x20(%r12), %rcx
shlq $0x2, %rcx
addq 0x10(%r12), %rcx
jmp 0x1957d7
movl %eax, %r14d
movq %r12, %rdi
movl %eax, %esi
callq 0x195fa6
movq 0x20(%r12), %rcx
shlq $0x2, %rcx
addq 0x10(%r12), %rcx
movl %eax, %ebp
xorl %ebx, %ebx
movq %r15, %r13
movl %r14d, 0xc(%rsp)
movl -0x4(%rcx), %eax
movq %rax, 0x28(%rsp)
movl %ebx, %eax
jmp 0x195615
jae 0x195a01
cmpq $0x0, 0x90(%rsp)
je 0x195840
movl $0x0, %r13d
testq %r15, %r15
je 0x19574b
movq 0x90(%r12), %rsi
movq 0x10(%rsp), %rax
movq 0x38(%rsp), %rcx
addq %rcx, %rax
addq %rax, %r14
incq %r15
movq 0x98(%rsp), %rdi
movq %r14, %rdx
movq %r15, %rcx
movq 0x30(%rsp), %r8
callq *0x90(%rsp)
xorl %r13d, %r13d
jmp 0x19574b
movq 0x90(%rsp), %rax
testq %rax, %rax
je 0x19588c
cmpq $0x0, 0x10(%rsp)
je 0x19588c
testq %r15, %r15
je 0x19588c
movq 0x90(%r12), %rsi
movq 0x38(%rsp), %rdx
addq 0x10(%rsp), %rdx
addq %r14, %rdx
incq %r15
movq 0x98(%rsp), %rdi
movq %r15, %rcx
movq 0x30(%rsp), %r8
callq *%rax
movq 0x38(%r12), %rsi
testq %rsi, %rsi
movq 0x18(%rsp), %r15
je 0x195902
cmpq $0x1, %rsi
je 0x1958b5
movq 0x28(%r12), %rdi
leaq 0x11b8(%rip), %rcx      # 0x196a65
pushq $0x8
popq %rdx
callq 0x17ed0
xorl %r14d, %r14d
movq 0x20(%rsp), %rbp
cmpq 0x38(%r12), %r14
jae 0x195902
movq 0x10(%rsp), %rax
leaq (%rax,%r14), %rbx
testq %r13, %r13
je 0x1958e3
movq %r13, %rdi
movq %rbp, %rsi
movq %rbx, %rdx
movq %r15, %rcx
callq 0x1968df
movq 0x28(%r12), %rax
movq (%rax,%r14,8), %r8
movq %r12, %rdi
movq %rbp, %rsi
movq %r15, %rdx
movq %rbx, %rcx
callq 0x19699d
incq %r14
jmp 0x1958bd
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x2a2650(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x14f6f1(%rip), %rsi    # 0x2e5013
leaq 0x1c095b(%rip), %rdx    # 0x356284
leaq 0x1c097f(%rip), %rcx    # 0x3562af
leaq 0x1c0847(%rip), %r8     # 0x35617e
movl $0x454, %r9d            # imm = 0x454
jmp 0x195999
movq 0x2a2622(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x14f6c3(%rip), %rsi    # 0x2e5013
leaq 0x1c0972(%rip), %rdx    # 0x3562c9
leaq 0x1c0951(%rip), %rcx    # 0x3562af
leaq 0x1c0819(%rip), %r8     # 0x35617e
movl $0x47e, %r9d            # imm = 0x47E
jmp 0x195999
movq 0x2a25f4(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x14f695(%rip), %rsi    # 0x2e5013
leaq 0x1c08d5(%rip), %rdx    # 0x35625a
leaq 0x1c0923(%rip), %rcx    # 0x3562af
leaq 0x1c07eb(%rip), %r8     # 0x35617e
movl $0x46c, %r9d            # imm = 0x46C
xorl %eax, %eax
callq 0x17a50
callq 0x17390
movq 0x2a25bc(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x14f65d(%rip), %rsi    # 0x2e5013
leaq 0x1c095f(%rip), %rdx    # 0x35631c
leaq 0x1c093a(%rip), %rcx    # 0x3562fe
leaq 0x1c07b3(%rip), %r8     # 0x35617e
movl $0x36a, %r9d            # imm = 0x36A
jmp 0x195999
movq 0x2a258e(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x14f62f(%rip), %rsi    # 0x2e5013
leaq 0x1c0931(%rip), %rdx    # 0x35631c
leaq 0x1c090c(%rip), %rcx    # 0x3562fe
leaq 0x1c0785(%rip), %r8     # 0x35617e
movl $0x31c, %r9d            # imm = 0x31C
jmp 0x195999
movq 0x2a2560(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x14f601(%rip), %rsi    # 0x2e5013
leaq 0x1c0939(%rip), %rdx    # 0x356352
leaq 0x1c08de(%rip), %rcx    # 0x3562fe
leaq 0x1c0757(%rip), %r8     # 0x35617e
movl $0x334, %r9d            # imm = 0x334
jmp 0x195999