// File: /workspace/github_c_makefile_star2_O2/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 $0x38, %rsp
movq %rdi, %rbx
movq 0x8(%rdi), %rdi
callq 0x705a1
movq %rax, 0x30(%rsp)
movq 0x8(%rbx), %rdi
callq 0x7055e
movq %rax, 0x28(%rsp)
movq 0x8(%rbx), %rdi
callq 0x755c5
leaq 0x1(%rax), %rdi
leaq 0x20ae97(%rip), %rsi    # 0x33e3c9
pushq $0x44
popq %rdx
callq 0x93160
movq %rax, %r12
movq %rbx, 0x8(%rsp)
movq 0x8(%rbx), %rdi
callq 0x776db
movq %rax, %r13
xorl %eax, %eax
pushq $0x20
popq %rdi
leaq 0x20aee2(%rip), %r14    # 0x33e43c
xorl %edx, %edx
xorl %ecx, %ecx
xorl %ebp, %ebp
xorl %ebx, %ebx
testb $0x1, %al
jne 0x133646
leaq 0x1(%rdx), %rax
movq 0x28(%rsp), %r15
movq %rax, 0x18(%rsp)
cmpq 0x30(%rsp), %rax
sete %al
movq %rax, 0x10(%rsp)
je 0x1335b3
movq 0x8(%rsp), %rax
movq 0x8(%rax), %rdi
movq 0x18(%rsp), %rsi
movq %rdx, 0x20(%rsp)
movq %rcx, %r15
callq 0x74d9c
movq %r15, %rcx
movq 0x20(%rsp), %rdx
pushq $0x20
popq %rdi
movq %rax, %r15
decq %r15
cmpq %rcx, %r15
cmovbeq %rcx, %r15
movq %r15, %rax
subq %rcx, %rax
xorl %r8d, %r8d
cmpq %r8, %rax
je 0x1335f4
testq %rbx, %rbx
jne 0x1335d8
movq (%r13), %rbp
addq $0x8, %r13
movq %rdi, %rbx
decq %rbx
leal (%rbx,%rbx), %ecx
movq %rbp, %rsi
shrq %cl, %rsi
andl $0x3, %esi
movb (%rsi,%r14), %cl
movb %cl, (%r12,%r8)
incq %r8
jmp 0x1335c3
movb $0x0, (%r12,%rax)
movq 0x8(%rsp), %rax
movq (%rax), %rdi
leaq 0x20ae39(%rip), %rsi    # 0x33e441
movq %r12, %rcx
pushq $0x30
popq %r8
xorl %eax, %eax
callq 0x8d432
testq %rbx, %rbx
je 0x133620
pushq $0x20
popq %rdi
jmp 0x13362e
movq (%r13), %rbp
addq $0x8, %r13
pushq $0x20
popq %rdi
movq %rdi, %rbx
movq 0x10(%rsp), %rax
incq %r15
decq %rbx
movq 0x18(%rsp), %rdx
movq %r15, %rcx
jmp 0x133562
leaq 0x20ad7c(%rip), %rsi    # 0x33e3c9
pushq $0x66
popq %rdx
movq %r12, %rdi
callq 0x936f9
xorl %eax, %eax
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq