// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/match/sfx-lcpvalues.c
// Function: gt_Outlcpinfo_delete
void gt_Outlcpinfo_delete(GtOutlcpinfo *outlcpinfo)
{
  if (outlcpinfo == NULL)
  {
    return;
  }
  gt_turningwheel_delete(outlcpinfo->turnwheel);
  if (outlcpinfo->lcpsubtab.lcp2file != NULL)
  {
    if (!outlcpinfo->swallow_tail_lcpvalues &&
        outlcpinfo->lcpsubtab.lcp2file->countoutputlcpvalues <
        outlcpinfo->numsuffixes2output)
    {
      outlcpinfo->lcpsubtab.lcp2file->countoutputlcpvalues
        += outmany0lcpvalues(outlcpinfo->numsuffixes2output -
                             outlcpinfo->lcpsubtab.lcp2file
                                                  ->countoutputlcpvalues,
                             outlcpinfo->lcpsubtab.lcp2file->outfplcptab);
    }
    gt_assert(outlcpinfo->swallow_tail_lcpvalues ||
              outlcpinfo->lcpsubtab.lcp2file->countoutputlcpvalues ==
              outlcpinfo->numsuffixes2output);
    GT_FREEARRAY(&outlcpinfo->lcpsubtab.lcp2file->largelcpvalues,
                 Largelcpvalue);
    gt_fa_fclose(outlcpinfo->lcpsubtab.lcp2file->outfplcptab);
    gt_fa_fclose(outlcpinfo->lcpsubtab.lcp2file->outfpllvtab);
    gt_free(outlcpinfo->lcpsubtab.lcp2file->reservoir);
    outlcpinfo->lcpsubtab.lcp2file->smalllcpvalues = NULL;
    outlcpinfo->lcpsubtab.lcp2file->reservoir = NULL;
    outlcpinfo->lcpsubtab.lcp2file->sizereservoir = 0;
    gt_free(outlcpinfo->lcpsubtab.lcp2file);
  } else
  {
    gt_free(outlcpinfo->lcpsubtab.tableoflcpvalues.bucketoflcpvalues);
#ifndef NDEBUG
    gt_free(outlcpinfo->lcpsubtab.tableoflcpvalues.isset);
#endif
  }
  gt_free(outlcpinfo->lcpsubtab.lcpprocess);
  outlcpinfo->lcpsubtab.tableoflcpvalues.bucketoflcpvalues = NULL;
#ifndef NDEBUG
  outlcpinfo->lcpsubtab.tableoflcpvalues.isset = NULL;
#endif
  outlcpinfo->lcpsubtab.tableoflcpvalues.numofentries = 0;
  if (outlcpinfo->lcpsubtab.distlcpvalues != NULL)
  {
    gt_disc_distri_show(outlcpinfo->lcpsubtab.distlcpvalues,NULL);
    gt_disc_distri_delete(outlcpinfo->lcpsubtab.distlcpvalues);
  }
  gt_free(outlcpinfo);
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x400, %rsp            # imm = 0x400
testq %rdi, %rdi
je 0x1ec84e
movq %rdi, %rbx
movq (%rdi), %rdi
callq 0x2010a1
movq 0x68(%rbx), %rax
testq %rax, %rax
je 0x1ec7ca
movb 0x39(%rbx), %cl
testb %cl, %cl
jne 0x1ec73c
movq 0x8(%rbx), %r12
subq 0x38(%rax), %r12
jbe 0x1ec73c
movq (%rax), %r14
movq %rsp, %rdi
movl $0x400, %edx            # imm = 0x400
xorl %esi, %esi
callq 0x173a0
cmpq $0x400, %r12            # imm = 0x400
jb 0x1ec718
movq %r12, %r13
shrq $0xa, %r13
movq %rsp, %r15
movl $0x1, %esi
movl $0x400, %edx            # imm = 0x400
movq %r15, %rdi
movq %r14, %rcx
callq 0x11f89c
decq %r13
jne 0x1ec6fe
movl %r12d, %edx
andl $0x3ff, %edx            # imm = 0x3FF
movq %rsp, %rdi
movl $0x1, %esi
movq %r14, %rcx
callq 0x11f89c
movq 0x68(%rbx), %rax
addq %r12, 0x38(%rax)
movb 0x39(%rbx), %cl
testb $0x1, %cl
jne 0x1ec74f
movq 0x38(%rax), %rcx
cmpq 0x8(%rbx), %rcx
jne 0x1ec85f
movq 0x10(%rax), %rdi
testq %rdi, %rdi
je 0x1ec77c
leaq 0x1cb183(%rip), %rsi    # 0x3b78e2
movl $0x1dc, %edx            # imm = 0x1DC
callq 0x1045eb
movq 0x68(%rbx), %rax
xorps %xmm0, %xmm0
movups %xmm0, 0x10(%rax)
movq $0x0, 0x20(%rax)
movq (%rax), %rdi
callq 0xfd018
movq 0x68(%rbx), %rax
movq 0x8(%rax), %rdi
callq 0xfd018
movq 0x68(%rbx), %rax
movq 0x40(%rax), %rdi
leaq 0x1cb142(%rip), %r14    # 0x3b78e2
movq %r14, %rsi
movl $0x1df, %edx            # imm = 0x1DF
callq 0x1045eb
movq 0x68(%rbx), %rdi
xorps %xmm0, %xmm0
movups %xmm0, 0x40(%rdi)
movq $0x0, 0x50(%rdi)
movq %r14, %rsi
movl $0x1e3, %edx            # imm = 0x1E3
jmp 0x1ec7ee
movq 0x48(%rbx), %rdi
leaq 0x1cb10d(%rip), %r14    # 0x3b78e2
movq %r14, %rsi
movl $0x1e6, %edx            # imm = 0x1E6
callq 0x1045eb
movq 0x40(%rbx), %rdi
movq %r14, %rsi
movl $0x1e8, %edx            # imm = 0x1E8
callq 0x1045eb
leaq 0x40(%rbx), %r14
movq 0x70(%rbx), %rdi
leaq 0x1cb0e0(%rip), %rsi    # 0x3b78e2
movl $0x1eb, %edx            # imm = 0x1EB
callq 0x1045eb
xorps %xmm0, %xmm0
movups %xmm0, (%r14)
movq $0x0, 0x10(%r14)
movq 0x80(%rbx), %rdi
testq %rdi, %rdi
je 0x1ec83a
xorl %esi, %esi
callq 0xe55d7
movq 0x80(%rbx), %rdi
callq 0xe5a93
leaq 0x1cb0a1(%rip), %rsi    # 0x3b78e2
movq %rbx, %rdi
movl $0x1f6, %edx            # imm = 0x1F6
callq 0x1045eb
addq $0x400, %rsp            # imm = 0x400
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
callq 0x788fd