// File: /workspace/github_c_makefile_star2_O2/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 %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x408, %rsp            # imm = 0x408
testq %rdi, %rdi
je 0x19cd77
movq %rdi, %rbx
movq (%rdi), %rdi
callq 0x1b4e3f
movq 0x68(%rbx), %rax
testq %rax, %rax
je 0x19cc49
movb 0x39(%rbx), %cl
testb %cl, %cl
jne 0x19cc94
movq 0x8(%rbx), %r13
subq 0x38(%rax), %r13
jbe 0x19cc94
movq (%rax), %r14
movq %rsp, %r15
movl $0x400, %edx            # imm = 0x400
movq %r15, %rdi
xorl %esi, %esi
callq 0x17380
movq %r13, %rbp
shrq $0xa, %rbp
pushq $0x1
popq %r12
subq $0x1, %rbp
jb 0x19cc72
movl $0x400, %edx            # imm = 0x400
movq %r15, %rdi
movq %r12, %rsi
movq %r14, %rcx
callq 0xb302c
jmp 0x19cc2e
movq 0x48(%rbx), %rdi
leaq 0x1bb0ee(%rip), %r14    # 0x357d42
movq %r14, %rsi
movl $0x1e6, %edx            # imm = 0x1E6
callq 0x936f9
movq 0x40(%rbx), %rdi
movq %r14, %rsi
movl $0x1e8, %edx            # imm = 0x1E8
jmp 0x19cd1a
movl %r13d, %edx
andl $0x3ff, %edx            # imm = 0x3FF
movq %rsp, %rdi
pushq $0x1
popq %rsi
movq %r14, %rcx
callq 0xb302c
movq 0x68(%rbx), %rax
addq %r13, 0x38(%rax)
movb 0x39(%rbx), %cl
testb $0x1, %cl
jne 0x19cca7
movq 0x38(%rax), %rcx
cmpq 0x8(%rbx), %rcx
jne 0x19cd89
movq 0x10(%rax), %rdi
testq %rdi, %rdi
je 0x19ccd1
leaq 0x1bb08b(%rip), %rsi    # 0x357d42
movl $0x1dc, %edx            # imm = 0x1DC
callq 0x936f9
movq 0x68(%rbx), %rax
xorps %xmm0, %xmm0
movups %xmm0, 0x10(%rax)
andq $0x0, 0x20(%rax)
movq (%rax), %rdi
callq 0x8a4fd
movq 0x68(%rbx), %rax
movq 0x8(%rax), %rdi
callq 0x8a4fd
movq 0x68(%rbx), %rax
movq 0x40(%rax), %rdi
leaq 0x1bb04d(%rip), %r14    # 0x357d42
movq %r14, %rsi
movl $0x1df, %edx            # imm = 0x1DF
callq 0x936f9
movq 0x68(%rbx), %rdi
xorps %xmm0, %xmm0
movups %xmm0, 0x40(%rdi)
andq $0x0, 0x50(%rdi)
movq %r14, %rsi
movl $0x1e3, %edx            # imm = 0x1E3
callq 0x936f9
leaq 0x40(%rbx), %r14
movq 0x70(%rbx), %rdi
leaq 0x1bb014(%rip), %rsi    # 0x357d42
movl $0x1eb, %edx            # imm = 0x1EB
callq 0x936f9
andq $0x0, 0x10(%r14)
xorps %xmm0, %xmm0
movups %xmm0, (%r14)
movq 0x80(%rbx), %rdi
testq %rdi, %rdi
je 0x19cd63
xorl %esi, %esi
callq 0x6dab5
movq 0x80(%rbx), %rdi
callq 0x6e064
leaq 0x1bafd8(%rip), %rsi    # 0x357d42
movq %rbx, %rdi
movl $0x1f6, %edx            # imm = 0x1F6
callq 0x936f9
addq $0x408, %rsp            # imm = 0x408
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x29b1d8(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x148279(%rip), %rsi    # 0x2e5013
leaq 0x1bafe1(%rip), %rdx    # 0x357d82
leaq 0x1bb057(%rip), %rcx    # 0x357dff
leaq 0x1baf93(%rip), %r8     # 0x357d42
movl $0x1da, %r9d            # imm = 0x1DA
xorl %eax, %eax
callq 0x17a50
callq 0x17390