// File: /workspace/github_c_makefile_star2_O0/genometools[P]genometools/src/match/reads2twobit.c
// Function: gt_reads2twobit_finalize_descriptions_membased
static void gt_reads2twobit_finalize_descriptions_membased(
    GtReads2TwobitEncodeState *state)
{
  GtUword i;
  gt_assert(!state->invalid_mode);
  gt_assert(state->descs != NULL);
  gt_assert(gt_str_length(state->dbuf) > 0);
  for (i = 0; i < gt_str_length(state->dbuf); i++)
  {
    gt_desc_buffer_append_char(state->descs, gt_str_get(state->dbuf)[i]);
  }
  gt_desc_buffer_finish(state->descs);
  (*state->n_descs)++;
  if (gt_str_length(state->dbuf2) > 0)
  {
    for (i = 0; i < gt_str_length(state->dbuf2); i++)
    {
      gt_desc_buffer_append_char(state->descs, gt_str_get(state->dbuf2)[i]);
    }
    gt_desc_buffer_finish(state->descs);
    (*state->n_descs)++;
  }
  gt_str_reset(state->dbuf);
  gt_str_reset(state->dbuf2);
}

// Assembly:
subq $0x38, %rsp
movq %rdi, 0x30(%rsp)
movq 0x30(%rsp), %rax
testb $0x1, 0x8f1(%rax)
je 0x2a61ef
movq 0x395de2(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x26fe4b(%rip), %rsi    # 0x516013
leaq 0x2df572(%rip), %rdx    # 0x585741
leaq 0x2df580(%rip), %rcx    # 0x585756
leaq 0x2dedd3(%rip), %r8     # 0x584fb0
movl $0x2c7, %r9d            # imm = 0x2C7
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x2a61f1
jmp 0x2a61f3
movq 0x30(%rsp), %rax
cmpq $0x0, 0x990(%rax)
jne 0x2a623a
movq 0x395d97(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x26fe00(%rip), %rsi    # 0x516013
leaq 0x2df56b(%rip), %rdx    # 0x585785
leaq 0x2df535(%rip), %rcx    # 0x585756
leaq 0x2ded88(%rip), %r8     # 0x584fb0
movl $0x2c8, %r9d            # imm = 0x2C8
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x2a623c
jmp 0x2a623e
movq 0x30(%rsp), %rax
movq 0x948(%rax), %rdi
callq 0x11dfa0
cmpq $0x0, %rax
ja 0x2a628d
movq 0x395d44(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x26fdad(%rip), %rsi    # 0x516013
leaq 0x2df9be(%rip), %rdx    # 0x585c2b
leaq 0x2df4e2(%rip), %rcx    # 0x585756
leaq 0x2ded35(%rip), %r8     # 0x584fb0
movl $0x2c9, %r9d            # imm = 0x2C9
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x2a628f
movq $0x0, 0x28(%rsp)
movq 0x28(%rsp), %rax
movq %rax, 0x20(%rsp)
movq 0x30(%rsp), %rax
movq 0x948(%rax), %rdi
callq 0x11dfa0
movq %rax, %rcx
movq 0x20(%rsp), %rax
cmpq %rcx, %rax
jae 0x2a6305
movq 0x30(%rsp), %rax
movq 0x990(%rax), %rax
movq %rax, 0x18(%rsp)
movq 0x30(%rsp), %rax
movq 0x948(%rax), %rdi
callq 0x11dee0
movq 0x18(%rsp), %rdi
movq 0x28(%rsp), %rcx
movsbl (%rax,%rcx), %esi
callq 0xa4230
movq 0x28(%rsp), %rax
addq $0x1, %rax
movq %rax, 0x28(%rsp)
jmp 0x2a6298
movq 0x30(%rsp), %rax
movq 0x990(%rax), %rdi
callq 0xa4400
movq 0x30(%rsp), %rax
movq 0x9b0(%rax), %rax
movq (%rax), %rcx
addq $0x1, %rcx
movq %rcx, (%rax)
movq 0x30(%rsp), %rax
movq 0x950(%rax), %rdi
callq 0x11dfa0
cmpq $0x0, %rax
jbe 0x2a63e4
movq $0x0, 0x28(%rsp)
movq 0x28(%rsp), %rax
movq %rax, 0x10(%rsp)
movq 0x30(%rsp), %rax
movq 0x950(%rax), %rdi
callq 0x11dfa0
movq %rax, %rcx
movq 0x10(%rsp), %rax
cmpq %rcx, %rax
jae 0x2a63bd
movq 0x30(%rsp), %rax
movq 0x990(%rax), %rax
movq %rax, 0x8(%rsp)
movq 0x30(%rsp), %rax
movq 0x950(%rax), %rdi
callq 0x11dee0
movq 0x8(%rsp), %rdi
movq 0x28(%rsp), %rcx
movsbl (%rax,%rcx), %esi
callq 0xa4230
movq 0x28(%rsp), %rax
addq $0x1, %rax
movq %rax, 0x28(%rsp)
jmp 0x2a6350
movq 0x30(%rsp), %rax
movq 0x990(%rax), %rdi
callq 0xa4400
movq 0x30(%rsp), %rax
movq 0x9b0(%rax), %rax
movq (%rax), %rcx
addq $0x1, %rcx
movq %rcx, (%rax)
movq 0x30(%rsp), %rax
movq 0x948(%rax), %rdi
callq 0x11e110
movq 0x30(%rsp), %rax
movq 0x950(%rax), %rdi
callq 0x11e110
addq $0x38, %rsp
retq
nopl (%rax,%rax)