// File: /workspace/github_c_makefile_star2_O0/genometools[P]genometools/src/match/esa-spmsk.c
// Function: processlcpinterval_spmsk
static int processlcpinterval_spmsk(GtUword lcp,
                                    GtBUinfo_spmsk *info,
                                    GtBUstate_spmsk *state,
                                    GT_UNUSED GtError *err)
{
  if (lcp >= state->minmatchlength)
  {
    GtUword lidx, widx, firstpos;

    gt_assert(info != NULL);
    firstpos = ((GtBUinfo_spmsk *) info)->firstinW;
    for (lidx = 0; lidx < state->Lset.nextfreeGtUword; lidx++)
    {
      if (state->outputspms)
      {
        GtUword lpos = state->Lset.spaceGtUword[lidx];

        for (widx = firstpos; widx < state->Wset.nextfreeGtUword; widx++)
        {
          printf(GT_WU " " GT_WU " " GT_WU "\n",lpos,
                 state->Wset.spaceGtUword[widx],lcp);
        }
      } else
      {
        gt_assert(state->countspms);
        if (firstpos < state->Wset.nextfreeGtUword)
        {
          state->spmcounter += state->Wset.nextfreeGtUword - firstpos;
        }
      }
    }
    state->Lset.nextfreeGtUword = 0;
  } else
  {
    state->Wset.nextfreeGtUword = 0;
  }
  return 0;
}

// Assembly:
subq $0x48, %rsp
movq %rdi, 0x40(%rsp)
movq %rsi, 0x38(%rsp)
movq %rdx, 0x30(%rsp)
movq %rcx, 0x28(%rsp)
movq 0x40(%rsp), %rax
movq 0x30(%rsp), %rcx
cmpq 0x18(%rcx), %rax
jb 0x24194a
jmp 0x2417ce
cmpq $0x0, 0x38(%rsp)
jne 0x24180e
movq 0x3fa7c3(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x2d482c(%rip), %rsi    # 0x516013
leaq 0x331e56(%rip), %rdx    # 0x573644
leaq 0x336531(%rip), %rcx    # 0x577d26
leaq 0x33643e(%rip), %r8     # 0x577c3a
movl $0x60, %r9d
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x241810
movq 0x38(%rsp), %rax
movq (%rax), %rax
movq %rax, 0x10(%rsp)
movq $0x0, 0x20(%rsp)
movq 0x20(%rsp), %rax
movq 0x30(%rsp), %rcx
cmpq 0x60(%rcx), %rax
jae 0x24193b
movq 0x30(%rsp), %rax
testb $0x1, 0x31(%rax)
je 0x2418b2
movq 0x30(%rsp), %rax
movq 0x50(%rax), %rax
movq 0x20(%rsp), %rcx
movq (%rax,%rcx,8), %rax
movq %rax, 0x8(%rsp)
movq 0x10(%rsp), %rax
movq %rax, 0x18(%rsp)
movq 0x18(%rsp), %rax
movq 0x30(%rsp), %rcx
cmpq 0x48(%rcx), %rax
jae 0x2418b0
movq 0x8(%rsp), %rsi
movq 0x30(%rsp), %rax
movq 0x38(%rax), %rax
movq 0x18(%rsp), %rcx
movq (%rax,%rcx,8), %rdx
movq 0x40(%rsp), %rcx
leaq 0x335525(%rip), %rdi    # 0x576dbe
movb $0x0, %al
callq 0x19070
movq 0x18(%rsp), %rax
addq $0x1, %rax
movq %rax, 0x18(%rsp)
jmp 0x241866
jmp 0x241926
jmp 0x2418b4
movq 0x30(%rsp), %rax
testb $0x1, 0x30(%rax)
jne 0x2418f7
movq 0x3fa6da(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x2d4743(%rip), %rsi    # 0x516013
leaq 0x336468(%rip), %rdx    # 0x577d3f
leaq 0x336448(%rip), %rcx    # 0x577d26
leaq 0x336355(%rip), %r8     # 0x577c3a
movl $0x6f, %r9d
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x2418f9
movq 0x10(%rsp), %rax
movq 0x30(%rsp), %rcx
cmpq 0x48(%rcx), %rax
jae 0x241924
movq 0x30(%rsp), %rax
movq 0x48(%rax), %rcx
subq 0x10(%rsp), %rcx
movq 0x30(%rsp), %rax
addq 0x20(%rax), %rcx
movq %rcx, 0x20(%rax)
jmp 0x241926
jmp 0x241928
movq 0x20(%rsp), %rax
addq $0x1, %rax
movq %rax, 0x20(%rsp)
jmp 0x241826
movq 0x30(%rsp), %rax
movq $0x0, 0x60(%rax)
jmp 0x241957
movq 0x30(%rsp), %rax
movq $0x0, 0x48(%rax)
xorl %eax, %eax
addq $0x48, %rsp
retq
nop