// File: /workspace/github_c_makefile_star2_O1/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 0xec1e8
movq %rax, 0x20(%rsp)
movq 0x8(%rbx), %rdi
callq 0xec1d8
movq %rax, 0x18(%rsp)
testq %rbx, %rbx
je 0x192c92
movq 0x8(%rbx), %rdi
callq 0xf035e
leaq 0x1(%rax), %rdi
leaq 0x2149d0(%rip), %rsi    # 0x3a7544
movl $0x44, %edx
callq 0x1092b2
movq %rax, %r12
movq %rbx, (%rsp)
movq 0x8(%rbx), %rdi
callq 0xf1c71
movq %rax, %r13
xorl %r15d, %r15d
xorl %r14d, %r14d
xorl %ebx, %ebx
xorl %ebp, %ebp
xorl %edx, %edx
leaq 0x1(%rdx), %rcx
movb $0x1, %sil
movq 0x18(%rsp), %rax
movq %rcx, 0x8(%rsp)
cmpq 0x20(%rsp), %rcx
je 0x192bd7
movq (%rsp), %rax
movq 0x8(%rax), %rdi
movq 0x8(%rsp), %rsi
movq %rdx, 0x10(%rsp)
callq 0xefce0
movq 0x10(%rsp), %rdx
decq %rax
movl %r15d, %esi
movl %esi, %r15d
movq %rax, %rsi
xorl %r9d, %r9d
subq %rbp, %rsi
jbe 0x192c22
leaq 0x2149cb(%rip), %r8     # 0x3a75b7
testq %r14, %r14
jne 0x192bff
movq (%r13), %rbx
addq $0x8, %r13
movl $0x20, %r14d
decq %r14
leal (%r14,%r14), %ecx
movq %rbx, %rdi
shrq %cl, %rdi
andl $0x3, %edi
movb (%rdi,%r8), %cl
movb %cl, (%r12,%r9)
incq %r9
cmpq %r9, %rsi
jne 0x192bec
movq %rax, %rbp
movb $0x0, (%r12,%r9)
movq (%rsp), %rax
movq (%rax), %rdi
leaq 0x2149a4(%rip), %rsi    # 0x3a75d9
movq %r12, %rcx
movl $0x30, %r8d
xorl %eax, %eax
callq 0x103d21
testq %r14, %r14
jne 0x192c58
movq (%r13), %rbx
addq $0x8, %r13
movl $0x20, %r14d
incq %rbp
decq %r14
movq 0x8(%rsp), %rdx
testb $0x1, %r15b
je 0x192b9d
leaq 0x2148d0(%rip), %rsi    # 0x3a7544
movq %r12, %rdi
movl $0x66, %edx
callq 0x109670
xorl %eax, %eax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
callq 0x5c8a5