// File: /workspace/github_c_makefile_star2_O0/genometools[P]genometools/src/match/radixsort_str.c
// Function: gt_radixsort_str_new
GtRadixsortstringinfo *gt_radixsort_str_new(const GtTwobitencoding
                                             *twobitencoding,
                                            GtUword realtotallength,
                                            GtUword equallengthplus1,
                                            GtUword maxwidth)
{
  GtRadixsortstringinfo *rsi = gt_malloc(sizeof(*rsi));

  rsi->twobitencoding = twobitencoding;
  rsi->equallengthplus1 = equallengthplus1;
  rsi->realtotallength = realtotallength;
  rsi->maxwidth = maxwidth/2;
  rsi->bytesinsizesofbuckets = sizeof (*rsi->sizesofbuckets) *
                               GT_RADIXSORT_STR_NOFBUCKETS;
  rsi->sizesofbuckets = gt_malloc(rsi->bytesinsizesofbuckets);
  rsi->sorted = gt_malloc(sizeof (*rsi->sorted) * rsi->maxwidth);
  rsi->oracle = gt_malloc(sizeof (*rsi->oracle) * rsi->maxwidth);
  rsi->xorvalue2lcp = gt_radixsort_str_init_xorvalue2lcp();
  GT_STACK_INIT(&rsi->stack, 1024UL);
  return rsi;
}

// Assembly:
subq $0x38, %rsp
movq %rdi, 0x30(%rsp)
movq %rsi, 0x28(%rsp)
movq %rdx, 0x20(%rsp)
movq %rcx, 0x18(%rsp)
movl $0x8080, %edi           # imm = 0x8080
leaq 0xe5e69(%rip), %rsi     # 0x5b9e9d
movl $0x88, %edx
callq 0xe80f0
movq %rax, 0x10(%rsp)
movq 0x30(%rsp), %rcx
movq 0x10(%rsp), %rax
movq %rcx, (%rax)
movq 0x20(%rsp), %rcx
movq 0x10(%rsp), %rax
movq %rcx, 0x10(%rax)
movq 0x28(%rsp), %rcx
movq 0x10(%rsp), %rax
movq %rcx, 0x18(%rax)
movq 0x18(%rsp), %rcx
shrq %rcx
movq 0x10(%rsp), %rax
movq %rcx, 0x20(%rax)
movq 0x10(%rsp), %rax
movq $0x2008, 0x8(%rax)      # imm = 0x2008
movq 0x10(%rsp), %rax
movq 0x8(%rax), %rdi
leaq 0xe5e03(%rip), %rsi     # 0x5b9e9d
movl $0x90, %edx
callq 0xe80f0
movq %rax, %rcx
movq 0x10(%rsp), %rax
movq %rcx, 0x28(%rax)
movq 0x10(%rsp), %rax
movq 0x20(%rax), %rdi
shlq $0x3, %rdi
leaq 0xe5dd9(%rip), %rsi     # 0x5b9e9d
movl $0x91, %edx
callq 0xe80f0
movq %rax, %rcx
movq 0x10(%rsp), %rax
movq %rcx, 0x30(%rax)
movq 0x10(%rsp), %rax
movq 0x20(%rax), %rdi
shlq %rdi
leaq 0xe5db0(%rip), %rsi     # 0x5b9e9d
movl $0x92, %edx
callq 0xe80f0
movq %rax, %rcx
movq 0x10(%rsp), %rax
movq %rcx, 0x38(%rax)
callq 0x4d4200
movq %rax, %rcx
movq 0x10(%rsp), %rax
movq %rcx, 0x40(%rax)
movq 0x10(%rsp), %rax
movq $0x400, 0x60(%rax)      # imm = 0x400
movq 0x10(%rsp), %rax
movq $0x400, 0x68(%rax)      # imm = 0x400
movq 0x10(%rsp), %rax
movq 0x60(%rax), %rcx
movq 0x10(%rsp), %rax
movq %rcx, 0x48(%rax)
movq 0x10(%rsp), %rax
movq $0x0, 0x58(%rax)
movq 0x10(%rsp), %rax
movq $0x0, 0x50(%rax)
movq 0x10(%rsp), %rcx
addq $0x48, %rcx
addq $0x28, %rcx
movq 0x10(%rsp), %rax
movq %rcx, 0x8070(%rax)
movq 0x10(%rsp), %rax
movq $0x0, 0x8078(%rax)
movq 0x10(%rsp), %rax
cmpq $0x0, 0x8078(%rax)
je 0x4d41f3
movq 0x10(%rsp), %rax
movq $0x0, 0x8078(%rax)
movq $0x0, 0x8(%rsp)
movq 0x8(%rsp), %rax
movq 0x10(%rsp), %rcx
cmpq 0x60(%rcx), %rax
jae 0x4d41f1
movq 0x10(%rsp), %rax
movq 0x8078(%rax), %rax
movq 0x10(%rsp), %rcx
movq 0x8070(%rcx), %rdi
movq 0x8(%rsp), %rcx
shlq $0x5, %rcx
addq %rcx, %rdi
callq *%rax
movq 0x8(%rsp), %rax
addq $0x1, %rax
movq %rax, 0x8(%rsp)
jmp 0x4d41ab
jmp 0x4d41f3
movq 0x10(%rsp), %rax
addq $0x38, %rsp
retq
nopl (%rax)