// File: /workspace/github_c_makefile_star2_O0/genometools[P]genometools/src/match/idx-limdfs.c
// Function: pck_splitandprocess
static void pck_splitandprocess(Limdfsresources *limdfsresources,
                                const AbstractDfstransformer *adfst)
{
  GtUword idx;
  GtUword sumwidth = 0;
  const Indexbounds *parent = &(currentparent(limdfsresources)->lcpitv);
  GtCodetype startcode;

  if (parent->offset < (GtUword) limdfsresources->genericindex->maxdepth)
  {
    smalldepthbwtrangesplitwithoutspecial(&limdfsresources->bwci,
                                          limdfsresources->genericindex->mbtab,
                                          limdfsresources->alphasize,
                                          parent->code,
                                          (GtUword) (parent->offset + 1));
    startcode = parent->code * limdfsresources->alphasize;
  } else
  {
    gt_bwtrangesplitwithoutspecial(&limdfsresources->bwci,
                                limdfsresources->rangeOccs,
                                limdfsresources->genericindex->packedindex,
                                parent->leftbound,
                                parent->rightbound);
    startcode = 0;
  }
  for (idx = 0; idx < limdfsresources->bwci.nextfreeBoundswithchar; idx++)
  {
    Indexbounds child;

    /* reset as parentptr may have been moved */
    parent = &(currentparent(limdfsresources)->lcpitv);
    child.inchar = limdfsresources->bwci.spaceBoundswithchar[idx].inchar;
    child.offset = parent->offset+1;
    child.leftbound = limdfsresources->bwci.spaceBoundswithchar[idx].lbound;
    child.rightbound = limdfsresources->bwci.spaceBoundswithchar[idx].rbound;
    gt_assert(child.inchar < limdfsresources->alphasize);
    child.code = startcode + child.inchar;
    addpathchar(limdfsresources,(GtUword) parent->offset,child.inchar);
    sumwidth += child.rightbound - child.leftbound;
#ifdef SKDEBUG
    printf("%u-child of ",(unsigned int) child.inchar);
    showLCPinterval(limdfsresources->genericindex->withesa,parent);
    printf(" is ");
    showLCPinterval(limdfsresources->genericindex->withesa,&child);
    printf("\n");
#endif
    processchildinterval(limdfsresources, &child, adfst);
  }
  if (!limdfsresources->nowildcards)
  {
    GtUword bound;
    Indexbounds child;

    for (bound = parent->leftbound + sumwidth;
         bound < parent->rightbound; bound++)
    {
      GtUchar cc = gt_bwtseqgetsymbol(bound,
                                   limdfsresources->genericindex->packedindex);

      child.offset = parent->offset+1;
      child.code = 0;  /* not used, but we better define it */
      if (cc != (GtUchar) GT_SEPARATOR)
      {
        child.leftbound = bound;
        child.inchar = cc;
        pck_overcontext(limdfsresources,&child,adfst);
      }
    }
  }
}

// Assembly:
subq $0x98, %rsp
movq %rdi, 0x90(%rsp)
movq %rsi, 0x88(%rsp)
movq $0x0, 0x78(%rsp)
movq 0x90(%rsp), %rdi
callq 0x256440
movq %rax, 0x70(%rsp)
movq 0x70(%rsp), %rax
movq (%rax), %rax
movq 0x90(%rsp), %rcx
movq 0xd8(%rcx), %rcx
movl 0x28(%rcx), %ecx
cmpq %rcx, %rax
jae 0x2569ae
movq 0x90(%rsp), %rdi
addq $0x8, %rdi
movq 0x90(%rsp), %rax
movq 0xd8(%rax), %rax
movq 0x20(%rax), %rsi
movq 0x90(%rsp), %rax
movb 0xc9(%rax), %al
movq 0x70(%rsp), %rcx
movq 0x18(%rcx), %rcx
movq 0x70(%rsp), %rdx
movq (%rdx), %r8
addq $0x1, %r8
movzbl %al, %edx
callq 0x257ff0
movq 0x70(%rsp), %rax
movq 0x18(%rax), %rax
movq 0x90(%rsp), %rcx
movzbl 0xc9(%rcx), %ecx
imulq %rcx, %rax
movq %rax, 0x68(%rsp)
jmp 0x2569fc
movq 0x90(%rsp), %rdi
addq $0x8, %rdi
movq 0x90(%rsp), %rax
movq 0xf0(%rax), %rsi
movq 0x90(%rsp), %rax
movq 0xd8(%rax), %rax
movq 0x10(%rax), %rdx
movq 0x70(%rsp), %rax
movq 0x8(%rax), %rcx
movq 0x70(%rsp), %rax
movq 0x10(%rax), %r8
callq 0x22fef0
movq $0x0, 0x68(%rsp)
movq $0x0, 0x80(%rsp)
movq 0x80(%rsp), %rax
movq 0x90(%rsp), %rcx
cmpq 0x18(%rcx), %rax
jae 0x256b6a
movq 0x90(%rsp), %rdi
callq 0x256440
movq %rax, 0x70(%rsp)
movq 0x90(%rsp), %rax
movq 0x8(%rax), %rax
imulq $0x18, 0x80(%rsp), %rcx
addq %rcx, %rax
movb 0x10(%rax), %al
movb %al, 0x60(%rsp)
movq 0x70(%rsp), %rax
movq (%rax), %rax
addq $0x1, %rax
movq %rax, 0x40(%rsp)
movq 0x90(%rsp), %rax
movq 0x8(%rax), %rax
imulq $0x18, 0x80(%rsp), %rcx
addq %rcx, %rax
movq (%rax), %rax
movq %rax, 0x48(%rsp)
movq 0x90(%rsp), %rax
movq 0x8(%rax), %rax
imulq $0x18, 0x80(%rsp), %rcx
addq %rcx, %rax
movq 0x8(%rax), %rax
movq %rax, 0x50(%rsp)
movzbl 0x60(%rsp), %eax
movq 0x90(%rsp), %rcx
movzbl 0xc9(%rcx), %ecx
cmpl %ecx, %eax
jl 0x256af5
movq 0x3e54dc(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x2bf545(%rip), %rsi    # 0x516013
leaq 0x323b9f(%rip), %rdx    # 0x57a674
leaq 0x323bc2(%rip), %rcx    # 0x57a69e
leaq 0x3234ae(%rip), %r8     # 0x579f91
movl $0x43b, %r9d            # imm = 0x43B
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x256af7
movq 0x68(%rsp), %rax
movzbl 0x60(%rsp), %ecx
addq %rcx, %rax
movq %rax, 0x58(%rsp)
movq 0x90(%rsp), %rdi
movq 0x70(%rsp), %rax
movq (%rax), %rsi
movzbl 0x60(%rsp), %edx
callq 0x256500
movq 0x50(%rsp), %rax
subq 0x48(%rsp), %rax
addq 0x78(%rsp), %rax
movq %rax, 0x78(%rsp)
movq 0x90(%rsp), %rdi
movq 0x88(%rsp), %rdx
leaq 0x40(%rsp), %rsi
callq 0x256d50
movq 0x80(%rsp), %rax
addq $0x1, %rax
movq %rax, 0x80(%rsp)
jmp 0x256a08
movq 0x90(%rsp), %rax
testb $0x1, 0xe0(%rax)
jne 0x256c30
movq 0x70(%rsp), %rax
movq 0x8(%rax), %rax
addq 0x78(%rsp), %rax
movq %rax, 0x38(%rsp)
movq 0x38(%rsp), %rax
movq 0x70(%rsp), %rcx
cmpq 0x10(%rcx), %rax
jae 0x256c2e
movq 0x38(%rsp), %rdi
movq 0x90(%rsp), %rax
movq 0xd8(%rax), %rax
movq 0x10(%rax), %rsi
callq 0x22f780
movb %al, 0xf(%rsp)
movq 0x70(%rsp), %rax
movq (%rax), %rax
addq $0x1, %rax
movq %rax, 0x10(%rsp)
movq $0x0, 0x28(%rsp)
movzbl 0xf(%rsp), %eax
cmpl $0xff, %eax
je 0x256c19
movq 0x38(%rsp), %rax
movq %rax, 0x18(%rsp)
movb 0xf(%rsp), %al
movb %al, 0x30(%rsp)
movq 0x90(%rsp), %rdi
movq 0x88(%rsp), %rdx
leaq 0x10(%rsp), %rsi
callq 0x257550
jmp 0x256c1b
movq 0x38(%rsp), %rax
addq $0x1, %rax
movq %rax, 0x38(%rsp)
jmp 0x256b92
jmp 0x256c30
addq $0x98, %rsp
retq
nopl (%rax,%rax)