// File: /workspace/github_c_makefile_star2_O0/genometools[P]genometools/src/match/mssufpat.c
// Function: pms_fullmatchLimdfsstate
static void pms_fullmatchLimdfsstate(Limdfsresult *limdfsresult,
                                     DECLAREPTRDFSSTATE(aliascolumn),
                                     GtUword leftbound,
                                     GtUword rightbound,
                                     GT_UNUSED GtUword width,
                                     GtUword currentdepth,
                                     Limdfsconstinfo *mt)
{
  GtMssufpatLimdfsstate *limdfsstate = (GtMssufpatLimdfsstate *) aliascolumn;
  GtMssufpatLimdfsconstinfo *mti = (GtMssufpatLimdfsconstinfo*) mt;

  if (limdfsstate->prefixofsuffixbits > 0)
  {
    GtUword bitindex = 0,
                  first1,
                  tmp = limdfsstate->prefixofsuffixbits;
    do
    {
      first1 = zerosontheright(tmp);
      gt_assert(bitindex + first1 < mti->patternlength);
      if (mti->mstatlength[bitindex+first1] < currentdepth)
      {
        /*
        printf("set mstatlength["GT_WU"]="GT_WU"\n",
               bitindex+first1,currentdepth);
        printf("set mstatwitnessleftbound["GT_WU"]="GT_WU"\n",bitindex+first1,
                                                 (GtUword) leftbound);
        */
        mti->mstatlength[bitindex+first1] = currentdepth;
        mti->mstatwitnessleftbound[bitindex+first1] = leftbound;
        mti->mstatwitnessrightbound[bitindex+first1] = rightbound;
      }
      tmp >>= (first1+1);
      bitindex += (first1+1);
    } while (tmp != 0);
    limdfsresult->status = Limdfscontinue;
  } else
  {
    limdfsresult->status = Limdfsstop;
  }
}

// Assembly:
subq $0x58, %rsp
movq 0x60(%rsp), %rax
movq %rdi, 0x50(%rsp)
movq %rsi, 0x48(%rsp)
movq %rdx, 0x40(%rsp)
movq %rcx, 0x38(%rsp)
movq %r8, 0x30(%rsp)
movq %r9, 0x28(%rsp)
movq 0x48(%rsp), %rax
movq %rax, 0x20(%rsp)
movq 0x60(%rsp), %rax
movq %rax, 0x18(%rsp)
movq 0x20(%rsp), %rax
cmpq $0x0, (%rax)
jbe 0x4d3616
movq $0x0, 0x10(%rsp)
movq 0x20(%rsp), %rax
movq (%rax), %rax
movq %rax, (%rsp)
movq (%rsp), %rdi
callq 0x4d3810
movq %rax, 0x8(%rsp)
movq 0x10(%rsp), %rax
addq 0x8(%rsp), %rax
movq 0x18(%rsp), %rcx
cmpq (%rcx), %rax
jb 0x4d3569
movq 0x168a68(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x42ad1(%rip), %rsi     # 0x516013
leaq 0xe685d(%rip), %rdx     # 0x5b9da6
leaq 0xe687d(%rip), %rcx     # 0x5b9dcd
leaq 0xe67f7(%rip), %r8      # 0x5b9d4e
movl $0xd0, %r9d
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x4d356b
movq 0x18(%rsp), %rax
movq 0x10(%rsp), %rcx
addq 0x8(%rsp), %rcx
movq 0x8(%rax,%rcx,8), %rax
cmpq 0x28(%rsp), %rax
jae 0x4d35d7
movq 0x28(%rsp), %rdx
movq 0x18(%rsp), %rax
movq 0x10(%rsp), %rcx
addq 0x8(%rsp), %rcx
movq %rdx, 0x8(%rax,%rcx,8)
movq 0x40(%rsp), %rdx
movq 0x18(%rsp), %rax
movq 0x10(%rsp), %rcx
addq 0x8(%rsp), %rcx
movq %rdx, 0x210(%rax,%rcx,8)
movq 0x38(%rsp), %rdx
movq 0x18(%rsp), %rax
movq 0x10(%rsp), %rcx
addq 0x8(%rsp), %rcx
movq %rdx, 0x410(%rax,%rcx,8)
movq 0x8(%rsp), %rcx
addq $0x1, %rcx
movq (%rsp), %rax
shrq %cl, %rax
movq %rax, (%rsp)
movq 0x8(%rsp), %rax
addq $0x1, %rax
addq 0x10(%rsp), %rax
movq %rax, 0x10(%rsp)
cmpq $0x0, (%rsp)
jne 0x4d350f
movq 0x50(%rsp), %rax
movl $0x1, (%rax)
jmp 0x4d3621
movq 0x50(%rsp), %rax
movl $0x2, (%rax)
addq $0x58, %rsp
retq
nopw %cs:(%rax,%rax)