// File: /workspace/github_c_makefile_star2_O0/genometools[P]genometools/src/match/apmeoveridx.c
// Function: apme_fullmatchLimdfsstate
static void apme_fullmatchLimdfsstate(Limdfsresult *limdfsresult,
                                      DECLAREPTRDFSSTATE(aliascolumn),
                                      GT_UNUSED GtUword leftbound,
                                      GT_UNUSED GtUword rightbound,
                                      GtUword width,
                                      GT_UNUSED GtUword currentdepth,
                                      Limdfsconstinfo *mt)
{
  ApmeoveridxLimdfsstate *col = (ApmeoveridxLimdfsstate *) aliascolumn;
  ApmeoveridxLimdfsconstinfo *mti = (ApmeoveridxLimdfsconstinfo *) mt;

  if (col->maxleqk == UNDEFMAXLEQK)
  {
    limdfsresult->status = Limdfsstop; /* stop depth first traversal */
    return;
  }
  if (mti->maxintervalwidth == 0 || width == (GtUword) 1)
  {
    if (col->maxleqk == SUCCESSMAXLEQK)
    {
      /* success with match of length plen */
      limdfsresult->status = Limdfssuccess;
      limdfsresult->pprefixlen = mti->patternlength;
      limdfsresult->distance = col->lastdistvalue;
      return;
    }
  } else
  {
    if (width <= (GtUword) mti->maxintervalwidth)
    {
      /* success with match of length maxleqk */
      gt_assert(col->maxleqk > 0);
      limdfsresult->status = Limdfssuccess;
      limdfsresult->pprefixlen = col->maxleqk;
      limdfsresult->distance = col->lastdistvalue;
      return;
    }
  }
  /* continue with depth first traversal */
  limdfsresult->status = Limdfscontinue;
}

// Assembly:
subq $0x48, %rsp
movq 0x50(%rsp), %rax
movq %rdi, 0x40(%rsp)
movq %rsi, 0x38(%rsp)
movq %rdx, 0x30(%rsp)
movq %rcx, 0x28(%rsp)
movq %r8, 0x20(%rsp)
movq %r9, 0x18(%rsp)
movq 0x38(%rsp), %rax
movq %rax, 0x10(%rsp)
movq 0x50(%rsp), %rax
movq %rax, 0x8(%rsp)
movq 0x10(%rsp), %rax
movq 0x10(%rax), %rax
movq 0x8(%rsp), %rcx
movq 0x10(%rcx), %rcx
addq $0x1, %rcx
cmpq %rcx, %rax
jne 0x4a28e6
movq 0x40(%rsp), %rax
movl $0x2, (%rax)
jmp 0x4a29dd
movq 0x8(%rsp), %rax
cmpq $0x0, 0x8(%rax)
je 0x4a28fa
cmpq $0x1, 0x20(%rsp)
jne 0x4a2947
movq 0x10(%rsp), %rax
movq 0x10(%rax), %rax
movq 0x8(%rsp), %rcx
cmpq 0x10(%rcx), %rax
jne 0x4a2942
movq 0x40(%rsp), %rax
movl $0x0, (%rax)
movq 0x8(%rsp), %rax
movq 0x10(%rax), %rcx
movq 0x40(%rsp), %rax
movq %rcx, 0x8(%rax)
movq 0x10(%rsp), %rax
movq 0x18(%rax), %rcx
movq 0x40(%rsp), %rax
movq %rcx, 0x10(%rax)
jmp 0x4a29dd
jmp 0x4a29d2
movq 0x20(%rsp), %rax
movq 0x8(%rsp), %rcx
cmpq 0x8(%rcx), %rax
ja 0x4a29d0
jmp 0x4a2959
movq 0x10(%rsp), %rax
cmpq $0x0, 0x10(%rax)
ja 0x4a299d
movq 0x199634(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x7369d(%rip), %rsi     # 0x516013
leaq 0x113126(%rip), %rdx    # 0x5b5aa3
leaq 0x113130(%rip), %rcx    # 0x5b5ab4
leaq 0x1130c4(%rip), %r8     # 0x5b5a4f
movl $0xfd, %r9d
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x4a299f
movq 0x40(%rsp), %rax
movl $0x0, (%rax)
movq 0x10(%rsp), %rax
movq 0x10(%rax), %rcx
movq 0x40(%rsp), %rax
movq %rcx, 0x8(%rax)
movq 0x10(%rsp), %rax
movq 0x18(%rax), %rcx
movq 0x40(%rsp), %rax
movq %rcx, 0x10(%rax)
jmp 0x4a29dd
jmp 0x4a29d2
movq 0x40(%rsp), %rax
movl $0x1, (%rax)
addq $0x48, %rsp
retq
nopw %cs:(%rax,%rax)