// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/match/asqg_writer.c
// Function: gt_asqg_writer_show_vertices
int gt_asqg_writer_show_vertices(GtAsqgWriter *aw, GT_UNUSED GtError *err)
{
  const GtTwobitencoding *nextencoded;
  GtTwobitencoding code = 0;
  GtUword seqnum = 0, nofseqs = gt_encseq_num_of_sequences(aw->encseq),
                pos = 0, next_stop, i,
                tlen = gt_encseq_total_length(aw->encseq), charsincode = 0;
  char *seqbuffer;
  bool last_seq = false;
  const char code2char[] = "ACGT";
  gt_assert(aw != NULL);
  seqbuffer = gt_malloc(sizeof (*seqbuffer) *
      (gt_encseq_max_seq_length(aw->encseq) + 1UL));
  nextencoded = gt_encseq_twobitencoding_export(aw->encseq);
  i = 0;
  while (!last_seq)
  {
    if (seqnum + 1UL == nofseqs)
    {
      last_seq = true;
      next_stop = tlen;
    }
    else
      next_stop = gt_encseq_seqstartpos(aw->encseq, seqnum + 1UL) - 1UL;
    for (/**/; i < next_stop; i++)
    {
      if (charsincode == 0)
      {
        code = *(nextencoded++);
        charsincode = (GtUword)GT_UNITSIN2BITENC;
      }
      seqbuffer[pos++] = code2char[code >> ((--charsincode) << 1) & 3];
    }
    seqbuffer[pos] = '\0';
    gt_asqg_writer_show_vertex_line(aw->file, seqnum, seqbuffer, false);
    pos = 0;
    /* consume separator */
    i++;
    if (charsincode == 0)
    {
      code = *(nextencoded++);
      charsincode = (GtUword)GT_UNITSIN2BITENC;
    }
    charsincode--;
    seqnum++;
  }
  gt_free(seqbuffer);
  return 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdi, %rbx
movq 0x8(%rdi), %rdi
callq 0xe7bac
movq %rax, %r14
movq 0x8(%rbx), %rdi
callq 0xe7b9c
movq %rax, 0x20(%rsp)
movq 0x8(%rbx), %rdi
callq 0xebd5d
leaq 0x1(%rax), %rdi
leaq 0x213b24(%rip), %rsi    # 0x39e069
movl $0x44, %edx
callq 0x104226
movq %rax, %r12
movq %rbx, 0x8(%rsp)
movq 0x8(%rbx), %rdi
callq 0xed62d
movq %r14, %rcx
movq %rax, %r13
leaq 0x213b6f(%rip), %rbx    # 0x39e0dc
xorl %r15d, %r15d
xorl %r14d, %r14d
xorl %ebp, %ebp
xorl %edx, %edx
movq %rcx, (%rsp)
leaq 0x1(%rdx), %rsi
movq 0x20(%rsp), %rax
movq %rsi, 0x10(%rsp)
cmpq %rcx, %rsi
je 0x18a5ae
movq 0x8(%rsp), %rax
movq 0x8(%rax), %rdi
movq 0x10(%rsp), %rsi
movq %rdx, 0x18(%rsp)
callq 0xeb6ee
movq 0x18(%rsp), %rdx
decq %rax
movq %rax, %r8
subq %rbp, %r8
jbe 0x18a5ef
xorl %esi, %esi
testq %r15, %r15
jne 0x18a5cb
movq (%r13), %r14
addq $0x8, %r13
movl $0x20, %r15d
decq %r15
leal (%r15,%r15), %ecx
movq %r14, %rdi
shrq %cl, %rdi
andl $0x3, %edi
movb (%rdi,%rbx), %cl
movb %cl, (%r12,%rsi)
incq %rsi
cmpq %rsi, %r8
jne 0x18a5b8
movq %rax, %rbp
jmp 0x18a5f2
xorl %r8d, %r8d
movb $0x0, (%r12,%r8)
movq 0x8(%rsp), %rax
movq (%rax), %rdi
leaq 0x213adb(%rip), %rsi    # 0x39e0e1
movq %r12, %rcx
movl $0x30, %r8d
xorl %eax, %eax
callq 0xfee51
testq %r15, %r15
jne 0x18a629
movq (%r13), %r14
addq $0x8, %r13
movl $0x20, %r15d
movq (%rsp), %rcx
incq %rbp
decq %r15
movq 0x10(%rsp), %rax
movq %rax, %rdx
cmpq %rcx, %rax
jne 0x18a57b
leaq 0x213a1e(%rip), %rsi    # 0x39e069
movq %r12, %rdi
movl $0x66, %edx
callq 0x1045eb
xorl %eax, %eax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq