// File: /workspace/github_c_makefile_star2_O1/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 0x1f6035
movq %rdi, %rbx
movq (%rdi), %rdi
callq 0x20a8f9
movq 0x68(%rbx), %rax
testq %rax, %rax
je 0x1f5fb1
cmpb $0x0, 0x39(%rbx)
jne 0x1f5f16
movq 0x8(%rbx), %r12
subq 0x38(%rax), %r12
jbe 0x1f5f16
movq (%rax), %r14
movq %rsp, %rdi
movl $0x400, %edx            # imm = 0x400
xorl %esi, %esi
callq 0x173a0
cmpq $0x400, %r12            # imm = 0x400
jb 0x1f5ef5
movq %r12, %r13
shrq $0xa, %r13
movq %rsp, %r15
movl $0x1, %esi
movl $0x400, %edx            # imm = 0x400
movq %r15, %rdi
movq %r14, %rcx
callq 0x125658
decq %r13
jne 0x1f5edb
movl %r12d, %edx
andl $0x3ff, %edx            # imm = 0x3FF
movq %rsp, %rdi
movl $0x1, %esi
movq %r14, %rcx
callq 0x125658
movq 0x68(%rbx), %rax
addq %r12, 0x38(%rax)
cmpb $0x0, 0x39(%rbx)
jne 0x1f5f2e
movq 0x68(%rbx), %rax
movq 0x38(%rax), %rax
cmpq 0x8(%rbx), %rax
jne 0x1f6046
movq 0x68(%rbx), %rax
movq 0x10(%rax), %rdi
testq %rdi, %rdi
je 0x1f5f5f
leaq 0x1cafd9(%rip), %rsi    # 0x3c0f1b
movl $0x1dc, %edx            # imm = 0x1DC
callq 0x109670
movq 0x68(%rbx), %rax
xorps %xmm0, %xmm0
movups %xmm0, 0x10(%rax)
movq $0x0, 0x20(%rax)
movq 0x68(%rbx), %rax
movq (%rax), %rdi
callq 0x101e80
movq 0x68(%rbx), %rax
movq 0x8(%rax), %rdi
callq 0x101e80
movq 0x68(%rbx), %rax
movq 0x40(%rax), %rdi
leaq 0x1caf94(%rip), %r14    # 0x3c0f1b
movq %r14, %rsi
movl $0x1df, %edx            # imm = 0x1DF
callq 0x109670
movq 0x68(%rbx), %rdi
xorps %xmm0, %xmm0
movups %xmm0, 0x40(%rdi)
movq $0x0, 0x50(%rdi)
movq %r14, %rsi
movl $0x1e3, %edx            # imm = 0x1E3
jmp 0x1f5fd5
movq 0x48(%rbx), %rdi
leaq 0x1caf5f(%rip), %r14    # 0x3c0f1b
movq %r14, %rsi
movl $0x1e6, %edx            # imm = 0x1E6
callq 0x109670
movq 0x40(%rbx), %rdi
movq %r14, %rsi
movl $0x1e8, %edx            # imm = 0x1E8
callq 0x109670
leaq 0x40(%rbx), %r14
movq 0x70(%rbx), %rdi
leaq 0x1caf32(%rip), %rsi    # 0x3c0f1b
movl $0x1eb, %edx            # imm = 0x1EB
callq 0x109670
xorps %xmm0, %xmm0
movups %xmm0, (%r14)
movq $0x0, 0x10(%r14)
movq 0x80(%rbx), %rdi
testq %rdi, %rdi
je 0x1f6021
xorl %esi, %esi
callq 0xe9ad1
movq 0x80(%rbx), %rdi
callq 0xe9ff6
leaq 0x1caef3(%rip), %rsi    # 0x3c0f1b
movq %rbx, %rdi
movl $0x1f6, %edx            # imm = 0x1F6
callq 0x109670
addq $0x400, %rsp            # imm = 0x400
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
callq 0x7a5c3