// File: /workspace/github_c_makefile_star2_O0/genometools[P]genometools/src/match/sfx-diffcov.c
// Function: gt_differencecover_completelargelcpvalues
void gt_differencecover_completelargelcpvalues(const GtDifferencecover *dcov,
                                               const GtSuffixsortspace *sssp,
                                               GtLcpvalues *tableoflcpvalues,
                                               GtUword width,
                                               GtUword posoffset)
{
  GtUword idx, lcpvalue, s0, s1, r0, r1;

  gt_assert(width > 0 && sssp != NULL && tableoflcpvalues != NULL &&
            dcov->rmq != NULL);
  for (idx = 1UL; idx < width; idx++)
  {
    lcpvalue = gt_lcptab_getvalue(tableoflcpvalues,0,idx);
    if (lcpvalue >= (GtUword) dcov->vparam)
    {
      s0 = gt_suffixsortspace_get(sssp, posoffset, idx-1);
      s1 = gt_suffixsortspace_get(sssp, posoffset, idx);
      lcpvalue = (GtUword) dc_differencecover_delta(dcov,s0,s1);
      r0 = dc_inversesuftab_get(dcov,s0 + lcpvalue);
      r1 = dc_inversesuftab_get(dcov,s1 + lcpvalue);
      if (r0 < dcov->effectivesamplesize && r1 < dcov->effectivesamplesize)
      {
        gt_assert(r0 < r1);
        lcpvalue += gt_rmq_find_min_value(dcov->rmq, r0+1, r1);
      }
      gt_lcptab_update(tableoflcpvalues,0,idx,lcpvalue);
    }
  }
}

// Assembly:
subq $0x58, %rsp
movq %rdi, 0x50(%rsp)
movq %rsi, 0x48(%rsp)
movq %rdx, 0x40(%rsp)
movq %rcx, 0x38(%rsp)
movq %r8, 0x30(%rsp)
cmpq $0x0, 0x38(%rsp)
jbe 0x2bfd94
cmpq $0x0, 0x48(%rsp)
je 0x2bfd94
cmpq $0x0, 0x40(%rsp)
je 0x2bfd94
movq 0x50(%rsp), %rax
cmpq $0x0, 0x150(%rax)
jne 0x2bfdcc
movq 0x37c205(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x25626e(%rip), %rsi    # 0x516013
leaq 0x2c9c5e(%rip), %rdx    # 0x589a0a
leaq 0x2c9ca2(%rip), %rcx    # 0x589a55
leaq 0x2c9a01(%rip), %r8     # 0x5897bb
movl $0x74d, %r9d            # imm = 0x74D
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x2bfdce
movq $0x1, 0x28(%rsp)
movq 0x28(%rsp), %rax
cmpq 0x38(%rsp), %rax
jae 0x2bff57
movq 0x40(%rsp), %rdi
movq 0x28(%rsp), %rdx
xorl %eax, %eax
movl %eax, %esi
callq 0x2bff60
movq %rax, 0x20(%rsp)
movq 0x20(%rsp), %rax
movq 0x50(%rsp), %rcx
movl (%rcx), %ecx
cmpq %rcx, %rax
jb 0x2bff42
movq 0x48(%rsp), %rdi
movq 0x30(%rsp), %rsi
movq 0x28(%rsp), %rdx
subq $0x1, %rdx
callq 0x2e9ec0
movq %rax, 0x18(%rsp)
movq 0x48(%rsp), %rdi
movq 0x30(%rsp), %rsi
movq 0x28(%rsp), %rdx
callq 0x2e9ec0
movq %rax, 0x10(%rsp)
movq 0x50(%rsp), %rdi
movq 0x18(%rsp), %rsi
movq 0x10(%rsp), %rdx
callq 0x2c00a0
movl %eax, %eax
movq %rax, 0x20(%rsp)
movq 0x50(%rsp), %rdi
movq 0x18(%rsp), %rsi
addq 0x20(%rsp), %rsi
callq 0x2c0130
movq %rax, 0x8(%rsp)
movq 0x50(%rsp), %rdi
movq 0x10(%rsp), %rsi
addq 0x20(%rsp), %rsi
callq 0x2c0130
movq %rax, (%rsp)
movq 0x8(%rsp), %rax
movq 0x50(%rsp), %rcx
cmpq 0x78(%rcx), %rax
jae 0x2bff2a
movq (%rsp), %rax
movq 0x50(%rsp), %rcx
cmpq 0x78(%rcx), %rax
jae 0x2bff2a
jmp 0x2bfebb
movq 0x8(%rsp), %rax
cmpq (%rsp), %rax
jb 0x2bfefe
movq 0x37c0d3(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x25613c(%rip), %rsi    # 0x516013
leaq 0x2c9ba1(%rip), %rdx    # 0x589a7f
leaq 0x2c9b70(%rip), %rcx    # 0x589a55
leaq 0x2c98cf(%rip), %r8     # 0x5897bb
movl $0x75a, %r9d            # imm = 0x75A
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x2bff00
movq 0x50(%rsp), %rax
movq 0x150(%rax), %rdi
movq 0x8(%rsp), %rsi
addq $0x1, %rsi
movq (%rsp), %rdx
callq 0x1cc2a0
movl %eax, %eax
addq 0x20(%rsp), %rax
movq %rax, 0x20(%rsp)
movq 0x40(%rsp), %rdi
movq 0x28(%rsp), %rdx
movq 0x20(%rsp), %rcx
xorl %eax, %eax
movl %eax, %esi
callq 0x2c01b0
jmp 0x2bff44
movq 0x28(%rsp), %rax
addq $0x1, %rax
movq %rax, 0x28(%rsp)
jmp 0x2bfdd7
addq $0x58, %rsp
retq
nopl (%rax)