// File: /workspace/github_c_makefile_star2_O0/genometools[P]genometools/src/extended/condenseq_creator.c
// Function: ces_c_write_unique_fasta
static void ces_c_write_unique_fasta(GtCondenseqCreator *ces_c, FILE *fp)
{
  GtUword idx;
  char *buffer = NULL;
  unsigned int buffsize = 0;
  GtCondenseqUnique current;
  for (idx = 0; idx < ces_c->ces->uds_nelems; ++idx) {
    current = ces_c->ces->uniques[idx];
    gt_assert(current.len != 0);
    if (gt_log_enabled()) {
      fprintf(fp, ">unique" GT_WU " start: " GT_WU ", len: "GT_WU "\n",
              idx, current.orig_startpos, (GtUword) current.len);
    }
    else
      fprintf(fp, ">" GT_WU" \n", idx);

    if (buffsize < (unsigned int) current.len) {
      gt_safe_assign(buffsize, current.len + 1);
      buffer = gt_realloc(buffer, buffsize * sizeof (*buffer));
    }
    gt_encseq_extract_decoded(ces_c->input_es,
                              buffer,
                              current.orig_startpos,
                              current.orig_startpos + current.len - 1);
    fprintf(fp, "%.*s\n", (int) current.len, buffer);
  }
  gt_free(buffer);
}

// Assembly:
subq $0x68, %rsp
movq %rdi, 0x60(%rsp)
movq %rsi, 0x58(%rsp)
movq $0x0, 0x48(%rsp)
movl $0x0, 0x44(%rsp)
movq $0x0, 0x50(%rsp)
movq 0x50(%rsp), %rax
movq 0x60(%rsp), %rcx
movq 0x28(%rcx), %rcx
cmpq 0x98(%rcx), %rax
jae 0x146323
movq 0x60(%rsp), %rax
movq 0x28(%rax), %rax
movq 0x10(%rax), %rsi
imulq $0x28, 0x50(%rsp), %rax
addq %rax, %rsi
leaq 0x18(%rsp), %rdi
movl $0x28, %edx
callq 0x19610
cmpl $0x0, 0x38(%rsp)
jne 0x1461b7
movq 0x4f5e1a(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x3cfe83(%rip), %rsi    # 0x516013
leaq 0x40657e(%rip), %rdx    # 0x54c715
leaq 0x406588(%rip), %rcx    # 0x54c726
leaq 0x405849(%rip), %r8     # 0x54b9ee
movl $0x654, %r9d            # imm = 0x654
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x1461b9
callq 0xe7720
testb $0x1, %al
jne 0x1461c4
jmp 0x1461ea
movq 0x58(%rsp), %rdi
movq 0x50(%rsp), %rdx
movq 0x30(%rsp), %rcx
movl 0x38(%rsp), %eax
movl %eax, %r8d
leaq 0x40655e(%rip), %rsi    # 0x54c73f
movb $0x0, %al
callq 0x199f0
jmp 0x146202
movq 0x58(%rsp), %rdi
movq 0x50(%rsp), %rdx
leaq 0x406565(%rip), %rsi    # 0x54c760
movb $0x0, %al
callq 0x199f0
movl 0x44(%rsp), %eax
cmpl 0x38(%rsp), %eax
jae 0x1462cd
jmp 0x146212
movl 0x38(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x14(%rsp)
movl 0x14(%rsp), %eax
movl %eax, 0x10(%rsp)
movl 0x14(%rsp), %eax
cmpl 0x10(%rsp), %eax
jne 0x14625e
cmpl $0x1, 0x14(%rsp)
setb %al
andb $0x1, %al
movzbl %al, %eax
cmpl $0x1, 0x10(%rsp)
setb %cl
andb $0x1, %cl
movzbl %cl, %ecx
cmpl %ecx, %eax
jne 0x14625e
movl 0x10(%rsp), %eax
movl %eax, 0x44(%rsp)
xorl %eax, %eax
movl %eax, 0x8(%rsp)
jmp 0x146269
movl $0x1, %eax
movl %eax, 0x8(%rsp)
jmp 0x146269
movl 0x8(%rsp), %eax
movl %eax, 0xc(%rsp)
cmpl $0x0, 0xc(%rsp)
je 0x1462a6
movq 0x4f5d21(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x3d1d9c(%rip), %rsi    # 0x518025
leaq 0x40575e(%rip), %rdx    # 0x54b9ee
movl $0x65d, %ecx            # imm = 0x65D
movb $0x0, %al
callq 0x199f0
movl $0x1, %edi
callq 0x19890
jmp 0x1462a8
movq 0x48(%rsp), %rdi
movl 0x44(%rsp), %eax
movl %eax, %esi
shlq $0x0, %rsi
leaq 0x405730(%rip), %rdx    # 0x54b9ee
movl $0x65e, %ecx            # imm = 0x65E
callq 0xe8540
movq %rax, 0x48(%rsp)
movq 0x60(%rsp), %rax
movq (%rax), %rdi
movq 0x48(%rsp), %rsi
movq 0x30(%rsp), %rdx
movq 0x30(%rsp), %rcx
movl 0x38(%rsp), %eax
addq %rax, %rcx
subq $0x1, %rcx
callq 0xac570
movq 0x58(%rsp), %rdi
movl 0x38(%rsp), %edx
movq 0x48(%rsp), %rcx
leaq 0x40645e(%rip), %rsi    # 0x54c767
movb $0x0, %al
callq 0x199f0
movq 0x50(%rsp), %rax
addq $0x1, %rax
movq %rax, 0x50(%rsp)
jmp 0x146138
movq 0x48(%rsp), %rdi
leaq 0x4056bf(%rip), %rsi    # 0x54b9ee
movl $0x666, %edx            # imm = 0x666
callq 0xe88c0
addq $0x68, %rsp
retq
nop