// File: /workspace/github_c_makefile_star2_O2/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 0x195104
xorl %ebx, %ebx
jmp 0x1951f8
movq %r9, %r12
movl %r8d, %ebp
movq %rcx, %r15
movl %edx, %r14d
movq %rsi, %r13
movq %rdi, (%rsp)
leaq 0x1c1060(%rip), %rsi    # 0x35617e
movl $0x98, %edi
movl $0x38c, %edx            # imm = 0x38C
callq 0x93160
movq %rax, %rbx
testl %r14d, %r14d
je 0x195149
testq %r13, %r13
jne 0x19520a
andl $0x0, (%rbx)
movl %r14d, 0x7c(%rbx)
xorl %edi, %edi
jmp 0x195164
testq %r13, %r13
je 0x195238
leal 0x3(,%r13,2), %eax
movl %eax, (%rbx)
andl $0x0, 0x7c(%rbx)
imulq $0x18, %rax, %rdi
movl 0x48(%rsp), %r14d
movq 0x40(%rsp), %r13
leaq 0x1c1009(%rip), %rsi    # 0x35617e
movl $0x39b, %edx            # imm = 0x39B
callq 0x93160
movq %rax, 0x8(%rbx)
andl $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 0x724c8
movb %al, 0x7a(%rbx)
movl %r14d, 0x58(%rbx)
movq %r12, 0x48(%rbx)
movq %r13, 0x50(%rbx)
movq %r15, %rdi
callq 0x7055e
movq %rax, 0x60(%rbx)
movb %bpl, 0x78(%rbx)
movq (%rsp), %rax
movq %rax, 0x90(%rbx)
testb %bpl, %bpl
je 0x1951e0
movq %rbx, %rax
subq $-0x80, %rax
xorps %xmm0, %xmm0
movups %xmm0, (%rax)
jmp 0x1951f8
callq 0x77344
movq %rax, 0x80(%rbx)
callq 0x77344
movq %rax, 0x88(%rbx)
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x2a2d57(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x14fdf8(%rip), %rsi    # 0x2e5013
leaq 0x1c0f9c(%rip), %rdx    # 0x3561be
leaq 0x1c0f84(%rip), %rcx    # 0x3561ad
leaq 0x1c0f4e(%rip), %r8     # 0x35617e
movl $0x395, %r9d            # imm = 0x395
jmp 0x195264
movq 0x2a2d29(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x14fdca(%rip), %rsi    # 0x2e5013
leaq 0x1c0f45(%rip), %rdx    # 0x356195
leaq 0x1c0f56(%rip), %rcx    # 0x3561ad
leaq 0x1c0f20(%rip), %r8     # 0x35617e
movl $0x38f, %r9d            # imm = 0x38F
xorl %eax, %eax
callq 0x17a50
callq 0x17390