// File: /workspace/github_c_makefile_star2_O0/genometools[P]genometools/src/match/firstcodes-psbuf.c
// Function: gt_leftborderbuffer_delete
GtStr *gt_leftborderbuffer_delete(GtLeftborderOutbuffer *lbbuf,
                                  GtFirstcodesspacelog *fcsl,
                                  GT_UNUSED GtUword expectedwritten)
{
  GtStr *outfilename;

  gt_assert(lbbuf != NULL);
  gt_leftborderbuffer_flush(lbbuf);
  gt_fa_fclose(lbbuf->fp);
  lbbuf->fp = NULL;
  gt_log_log("write %s to file %s ("GT_WU" units of size %u)",
             gt_str_get(lbbuf->name),
             gt_str_get(lbbuf->outfilename),
             lbbuf->totalwrite,(unsigned int) sizeof (*lbbuf->spaceuint32_t));
  gt_assert(lbbuf->spaceuint32_t != NULL);
  gt_free(lbbuf->spaceuint32_t);
  GT_FCI_SUBTRACTWORKSPACE(fcsl,gt_str_get(lbbuf->name));
  gt_assert(lbbuf->totalwrite == expectedwritten);
  outfilename = lbbuf->outfilename;
  gt_str_delete(lbbuf->name);
  gt_free(lbbuf);
  return outfilename;
}

// Assembly:
subq $0x38, %rsp
movq %rdi, 0x30(%rsp)
movq %rsi, 0x28(%rsp)
movq %rdx, 0x20(%rsp)
cmpq $0x0, 0x30(%rsp)
jne 0x50d263
movq 0x12ed6e(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x8dd7(%rip), %rsi      # 0x516013
leaq 0xb70a7(%rip), %rdx     # 0x5c42ea
leaq 0xb70ae(%rip), %rcx     # 0x5c42f8
leaq 0xb707c(%rip), %r8      # 0x5c42cd
movl $0x3e, %r9d
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x50d265
movq 0x30(%rsp), %rdi
callq 0x50d1c0
movq 0x30(%rsp), %rax
movq 0x30(%rax), %rdi
callq 0xd9390
movq 0x30(%rsp), %rax
movq $0x0, 0x30(%rax)
movq 0x30(%rsp), %rax
movq 0x28(%rax), %rdi
callq 0x11dee0
movq %rax, 0x10(%rsp)
movq 0x30(%rsp), %rax
movq 0x20(%rax), %rdi
callq 0x11dee0
movq 0x10(%rsp), %rsi
movq %rax, %rdx
movq 0x30(%rsp), %rax
movq 0x18(%rax), %rcx
leaq 0xb7050(%rip), %rdi     # 0x5c4313
movl $0x4, %r8d
movb $0x0, %al
callq 0xe7740
movq 0x30(%rsp), %rax
cmpq $0x0, (%rax)
jne 0x50d313
movq 0x12ecbe(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x8d27(%rip), %rsi      # 0x516013
leaq 0xb704b(%rip), %rdx     # 0x5c433e
leaq 0xb6ffe(%rip), %rcx     # 0x5c42f8
leaq 0xb6fcc(%rip), %r8      # 0x5c42cd
movl $0x46, %r9d
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x50d315
movq 0x30(%rsp), %rax
movq (%rax), %rdi
leaq 0xb6fa9(%rip), %rsi     # 0x5c42cd
movl $0x47, %edx
callq 0xe88c0
movq 0x28(%rsp), %rax
movq %rax, 0x8(%rsp)
movq 0x30(%rsp), %rax
movq 0x28(%rax), %rdi
callq 0x11dee0
movq 0x8(%rsp), %rdi
movq %rax, %r8
movl $0x48, %esi
leaq 0xb6f73(%rip), %rdx     # 0x5c42cd
xorl %ecx, %ecx
movl $0x1, %r9d
xorl %eax, %eax
movq $0x0, (%rsp)
callq 0x4bea60
movq 0x30(%rsp), %rax
movq 0x18(%rax), %rax
cmpq 0x20(%rsp), %rax
je 0x50d3b9
movq 0x12ec18(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x8c81(%rip), %rsi      # 0x516013
leaq 0xb6fc2(%rip), %rdx     # 0x5c435b
leaq 0xb6f58(%rip), %rcx     # 0x5c42f8
leaq 0xb6f26(%rip), %r8      # 0x5c42cd
movl $0x49, %r9d
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x50d3bb
movq 0x30(%rsp), %rax
movq 0x20(%rax), %rax
movq %rax, 0x18(%rsp)
movq 0x30(%rsp), %rax
movq 0x28(%rax), %rdi
callq 0x11f560
movq 0x30(%rsp), %rdi
leaq 0xb6eea(%rip), %rsi     # 0x5c42cd
movl $0x4c, %edx
callq 0xe88c0
movq 0x18(%rsp), %rax
addq $0x38, %rsp
retq
nopw (%rax,%rax)