// File: /workspace/github_c_makefile_star2_O0/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 %rax
movq %rdi, (%rsp)
cmpq $0x0, (%rsp)
jne 0x2c64e1
jmp 0x2c674e
movq (%rsp), %rax
movq (%rax), %rdi
callq 0x2f36e0
movq (%rsp), %rax
cmpq $0x0, 0x68(%rax)
je 0x2c6698
movq (%rsp), %rax
testb $0x1, 0x39(%rax)
jne 0x2c6553
movq (%rsp), %rax
movq 0x68(%rax), %rax
movq 0x38(%rax), %rax
movq (%rsp), %rcx
cmpq 0x8(%rcx), %rax
jae 0x2c6553
movq (%rsp), %rax
movq 0x8(%rax), %rdi
movq (%rsp), %rax
movq 0x68(%rax), %rax
subq 0x38(%rax), %rdi
movq (%rsp), %rax
movq 0x68(%rax), %rax
movq (%rax), %rsi
callq 0x2c6750
movq %rax, %rcx
movq (%rsp), %rax
movq 0x68(%rax), %rax
addq 0x38(%rax), %rcx
movq %rcx, 0x38(%rax)
jmp 0x2c6555
movq (%rsp), %rax
testb $0x1, 0x39(%rax)
jne 0x2c65ad
movq (%rsp), %rax
movq 0x68(%rax), %rax
movq 0x38(%rax), %rax
movq (%rsp), %rcx
cmpq 0x8(%rcx), %rax
je 0x2c65ad
movq 0x375a24(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x24fa8d(%rip), %rsi    # 0x516013
leaq 0x2c42bb(%rip), %rdx    # 0x58a848
leaq 0x2c4331(%rip), %rcx    # 0x58a8c5
leaq 0x2c426d(%rip), %r8     # 0x58a808
movl $0x1da, %r9d            # imm = 0x1DA
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x2c65af
jmp 0x2c65b1
movq (%rsp), %rax
movq 0x68(%rax), %rax
cmpq $0x0, 0x10(%rax)
je 0x2c660d
movq (%rsp), %rax
movq 0x68(%rax), %rax
movq 0x10(%rax), %rdi
leaq 0x2c4235(%rip), %rsi    # 0x58a808
movl $0x1dc, %edx            # imm = 0x1DC
callq 0xe88c0
movq (%rsp), %rax
movq 0x68(%rax), %rax
movq $0x0, 0x18(%rax)
movq (%rsp), %rax
movq 0x68(%rax), %rax
movq $0x0, 0x20(%rax)
movq (%rsp), %rax
movq 0x68(%rax), %rax
movq $0x0, 0x10(%rax)
jmp 0x2c660f
movq (%rsp), %rax
movq 0x68(%rax), %rax
movq (%rax), %rdi
callq 0xd9390
movq (%rsp), %rax
movq 0x68(%rax), %rax
movq 0x8(%rax), %rdi
callq 0xd9390
movq (%rsp), %rax
movq 0x68(%rax), %rax
movq 0x40(%rax), %rdi
leaq 0x2c41c5(%rip), %rsi    # 0x58a808
movl $0x1df, %edx            # imm = 0x1DF
callq 0xe88c0
movq (%rsp), %rax
movq 0x68(%rax), %rax
movq $0x0, 0x50(%rax)
movq (%rsp), %rax
movq 0x68(%rax), %rax
movq $0x0, 0x40(%rax)
movq (%rsp), %rax
movq 0x68(%rax), %rax
movq $0x0, 0x48(%rax)
movq (%rsp), %rax
movq 0x68(%rax), %rdi
leaq 0x2c417c(%rip), %rsi    # 0x58a808
movl $0x1e3, %edx            # imm = 0x1E3
callq 0xe88c0
jmp 0x2c66ca
movq (%rsp), %rax
movq 0x48(%rax), %rdi
leaq 0x2c4161(%rip), %rsi    # 0x58a808
movl $0x1e6, %edx            # imm = 0x1E6
callq 0xe88c0
movq (%rsp), %rax
movq 0x40(%rax), %rdi
leaq 0x2c4148(%rip), %rsi    # 0x58a808
movl $0x1e8, %edx            # imm = 0x1E8
callq 0xe88c0
movq (%rsp), %rax
movq 0x70(%rax), %rdi
leaq 0x2c412f(%rip), %rsi    # 0x58a808
movl $0x1eb, %edx            # imm = 0x1EB
callq 0xe88c0
movq (%rsp), %rax
movq $0x0, 0x48(%rax)
movq (%rsp), %rax
movq $0x0, 0x40(%rax)
movq (%rsp), %rax
movq $0x0, 0x50(%rax)
movq (%rsp), %rax
cmpq $0x0, 0x80(%rax)
je 0x2c6739
movq (%rsp), %rax
movq 0x80(%rax), %rdi
xorl %eax, %eax
movl %eax, %esi
callq 0xa5330
movq (%rsp), %rax
movq 0x80(%rax), %rdi
callq 0xa5bf0
movq (%rsp), %rdi
leaq 0x2c40c4(%rip), %rsi    # 0x58a808
movl $0x1f6, %edx            # imm = 0x1F6
callq 0xe88c0
popq %rax
retq