// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/match/sfx-bltrie.c
// Function: gt_blindtrie_new
GtBlindtrie *gt_blindtrie_new(GtSuffixsortspace *suffixsortspace,
                              GtUword maxnumofsuffixes,
                              unsigned int nodenumberincrement,
                              const GtEncseq *encseq,
                              bool cmpcharbychar,
                              GtEncseqReader *esr1,
                              GtEncseqReader *esr2,
                              GtReadmode readmode)
{
  GtBlindtrie *blindtrie;

  if (maxnumofsuffixes == 1UL)
  {
    return NULL;
  }
  blindtrie = gt_malloc(sizeof (*blindtrie));
  if (nodenumberincrement == 0)
  {
    gt_assert(maxnumofsuffixes >= 2UL);
    blindtrie->allocatedBlindtrienode
      = (GtBlindtriesnodeptr) GT_MULT2(maxnumofsuffixes + 1) + 1;
    blindtrie->nodenumberincrement = 0;
  } else
  {
    gt_assert(maxnumofsuffixes == 0);
    blindtrie->allocatedBlindtrienode = 0;
    blindtrie->nodenumberincrement = nodenumberincrement;
  }
  blindtrie->spaceBlindtrienode
    = gt_malloc(sizeof (*blindtrie->spaceBlindtrienode) *
                blindtrie->allocatedBlindtrienode);
  /*
  printf("# sizeof (blindtrie)="GT_WU"\n",
            (GtUword) (sizeof (GtBlindtrie) +
                             blindtrie->allocatedBlindtrienode *
                             sizeof (GtBlindtrienode)));
  */
  GT_INITARRAY (&blindtrie->overflowsuffixes, GtUword);
  GT_INITARRAY (&blindtrie->stack, GtBlindtriesnodeptr);
  blindtrie->nextfreeBlindtrienode = 0;
  blindtrie->encseq = encseq;
  blindtrie->has_twobitencoding_stoppos_support
    = gt_encseq_has_twobitencoding_stoppos_support(encseq);
  blindtrie->readmode = readmode;
  blindtrie->esr1 = esr1;
  blindtrie->esr2 = esr2;
  blindtrie->totallength = gt_encseq_total_length(encseq);
  blindtrie->cmpcharbychar = cmpcharbychar;
  blindtrie->sssp = suffixsortspace;
  if (cmpcharbychar)
  {
    blindtrie->vtk1 = blindtrie->vtk2 = NULL;
  } else
  {
    blindtrie->vtk1 = gt_Viatwobitkeyvalues_new();
    blindtrie->vtk2 = gt_Viatwobitkeyvalues_new();
  }
  return blindtrie;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
cmpq $0x1, %rsi
jne 0x1e6004
xorl %ebx, %ebx
jmp 0x1e6105
movq %r9, %r12
movl %r8d, %ebp
movq %rcx, %r15
movl %edx, %r14d
movq %rsi, %r13
movq %rdi, (%rsp)
leaq 0x1cfd00(%rip), %rsi    # 0x3b5d1e
movl $0x98, %edi
movl $0x38c, %edx            # imm = 0x38C
callq 0x104226
movq %rax, %rbx
testl %r14d, %r14d
je 0x1e604c
testq %r13, %r13
jne 0x1e6117
movl $0x0, (%rbx)
movl %r14d, 0x7c(%rbx)
xorl %edi, %edi
jmp 0x1e606e
testq %r13, %r13
je 0x1e611c
leal 0x3(,%r13,2), %eax
movl %eax, (%rbx)
movl $0x0, 0x7c(%rbx)
shlq $0x3, %rax
leaq (%rax,%rax,2), %rdi
movl 0x48(%rsp), %r14d
movq 0x40(%rsp), %r13
leaq 0x1cfc9f(%rip), %rsi    # 0x3b5d1e
movl $0x39b, %edx            # imm = 0x39B
callq 0x104226
movq %rax, 0x8(%rbx)
movl $0x0, 0x4(%rbx)
xorps %xmm0, %xmm0
movups %xmm0, 0x10(%rbx)
movups %xmm0, 0x20(%rbx)
movups %xmm0, 0x30(%rbx)
movq %r15, 0x40(%rbx)
movq %r15, %rdi
callq 0xe9378
movb %al, 0x7a(%rbx)
movl %r14d, 0x58(%rbx)
movq %r12, 0x48(%rbx)
movq %r13, 0x50(%rbx)
movq %r15, %rdi
callq 0xe7b9c
movq %rax, 0x60(%rbx)
movb %bpl, 0x78(%rbx)
movq (%rsp), %rax
movq %rax, 0x90(%rbx)
testb %bpl, %bpl
je 0x1e60ed
movq %rbx, %rax
subq $-0x80, %rax
xorps %xmm0, %xmm0
movups %xmm0, (%rax)
jmp 0x1e6105
callq 0xed323
movq %rax, 0x80(%rbx)
callq 0xed323
movq %rax, 0x88(%rbx)
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
callq 0x7602d
callq 0x76066