// File: /workspace/github_c_makefile_star2_O0/genometools[P]genometools/src/match/rdj-spmfind.c
// Function: gt_spmfind_eqlen_process
int gt_spmfind_eqlen_process(void *data,
    const GtUword *seqnum_relpos_bucket, const GtSeqnumrelpos *snrp,
    const uint16_t *lcptab_bucket, GtUword nonspecials,
    GtUword spaceforbucketprocessing, GtError *err)
{
  GtBUstate_spmeq *state = data;
#ifdef GT_READJOINER_DEBUG
  unsigned int nof_w_parts = 0;
#endif
  gt_assert(state != NULL);
  gt_assert(snrp != NULL);
  gt_assert(lcptab_bucket != NULL);
  state->spaceforbucketprocessing = spaceforbucketprocessing;
  state->w_offset = 0;
  do
  {
    state->w_nextfree = 0;
    state->w_overflow = false;
    state->w_count = 0;
    if (gt_esa_bottomup_RAM_spmeq(seqnum_relpos_bucket, lcptab_bucket,
          nonspecials, (GtArrayGtBUItvinfo_spmeq *) state->stack, state,
          snrp, err)
        != 0)
    {
      return -1;
    }
#ifdef GT_READJOINER_DEBUG
    if (state->w_overflow)
      nof_w_parts++;
#endif
    state->w_offset += state->w_maxsize;
  } while (state->w_overflow);
#ifdef GT_READJOINER_DEBUG
  gt_log_log("%s: bucket divided in %u parts", __func__, nof_w_parts);
#endif
  return 0;
}

// Assembly:
subq $0x48, %rsp
movq 0x50(%rsp), %rax
movq %rdi, 0x38(%rsp)
movq %rsi, 0x30(%rsp)
movq %rdx, 0x28(%rsp)
movq %rcx, 0x20(%rsp)
movq %r8, 0x18(%rsp)
movq %r9, 0x10(%rsp)
movq 0x38(%rsp), %rax
movq %rax, 0x8(%rsp)
cmpq $0x0, 0x8(%rsp)
jne 0x288c51
movq 0x3b3380(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x28d3e9(%rip), %rsi    # 0x516013
leaq 0x2eacef(%rip), %rdx    # 0x573920
leaq 0x2f84b2(%rip), %rcx    # 0x5810ea
leaq 0x2f84c4(%rip), %r8     # 0x581103
movl $0x358, %r9d            # imm = 0x358
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x288c53
jmp 0x288c55
cmpq $0x0, 0x28(%rsp)
jne 0x288c95
movq 0x3b333c(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x28d3a5(%rip), %rsi    # 0x516013
leaq 0x2eefdb(%rip), %rdx    # 0x577c50
leaq 0x2f846e(%rip), %rcx    # 0x5810ea
leaq 0x2f8480(%rip), %r8     # 0x581103
movl $0x359, %r9d            # imm = 0x359
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x288c97
jmp 0x288c99
cmpq $0x0, 0x20(%rsp)
jne 0x288cd9
movq 0x3b32f8(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x28d361(%rip), %rsi    # 0x516013
leaq 0x2eefb9(%rip), %rdx    # 0x577c72
leaq 0x2f842a(%rip), %rcx    # 0x5810ea
leaq 0x2f843c(%rip), %r8     # 0x581103
movl $0x35a, %r9d            # imm = 0x35A
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x288cdb
movq 0x10(%rsp), %rcx
movq 0x8(%rsp), %rax
movq %rcx, 0xf0(%rax)
movq 0x8(%rsp), %rax
movq $0x0, 0x90(%rax)
movq 0x8(%rsp), %rax
movq $0x0, 0x80(%rax)
movq 0x8(%rsp), %rax
movb $0x0, 0xa8(%rax)
movq 0x8(%rsp), %rax
movq $0x0, 0x98(%rax)
movq 0x30(%rsp), %rdi
movq 0x20(%rsp), %rsi
movq 0x18(%rsp), %rdx
movq 0x8(%rsp), %rax
movq (%rax), %rcx
movq 0x8(%rsp), %r8
movq 0x28(%rsp), %r9
movq 0x50(%rsp), %rax
movq %rax, (%rsp)
callq 0x288db0
cmpl $0x0, %eax
je 0x288d66
movl $0xffffffff, 0x44(%rsp) # imm = 0xFFFFFFFF
jmp 0x288d9f
movq 0x8(%rsp), %rax
movq 0xa0(%rax), %rcx
movq 0x8(%rsp), %rax
addq 0x90(%rax), %rcx
movq %rcx, 0x90(%rax)
movq 0x8(%rsp), %rax
testb $0x1, 0xa8(%rax)
jne 0x288cfc
movl $0x0, 0x44(%rsp)
movl 0x44(%rsp), %eax
addq $0x48, %rsp
retq
nopl (%rax,%rax)