// File: /workspace/github_c_makefile_star2_O0/genometools[P]genometools/src/core/seq_iterator_fastq.c
// Function: parse_fastq_seqname
static inline int parse_fastq_seqname(GtSeqIteratorFastQ *seqit,
                                      GtStr *buffer,
                                      char startchar,
                                      GtError *err)
{
  char currentchar;
  bool firstsymbol = true;
  gt_error_check(err);
  gt_assert(seqit && buffer);
  gt_assert(gt_str_length(buffer) == 0);
  if ((currentchar = fastq_buf_getchar(seqit)) == EOF)
    return EOF;
  seqit->currentread++;
  if (currentchar != startchar) {
    gt_error_set(err, "'%c' expected, '%c' encountered instead in line "GT_WU"",
                      startchar,
                      currentchar,
                      seqit->curline);
    return -2;
  }
  while (currentchar != GT_FASTQ_NEWLINESYMBOL) {
    if (!firstsymbol)
      gt_str_append_char(buffer, currentchar);
    else
      firstsymbol = false;
    if ((currentchar = fastq_buf_getchar(seqit)) == EOF)
      return EOF;
    seqit->currentread++;
  }
  seqit->curline++;
  return 0;
}

// Assembly:
subq $0x38, %rsp
movb %dl, %al
movq %rdi, 0x28(%rsp)
movq %rsi, 0x20(%rsp)
movb %al, 0x1f(%rsp)
movq %rcx, 0x10(%rsp)
movb $0x1, 0xe(%rsp)
cmpq $0x0, 0x10(%rsp)
je 0xe449e
movq 0x10(%rsp), %rdi
callq 0xc270
testb $0x1, %al
jne 0xe4466
jmp 0xe449e
movq 0xcfb6b(%rip), %rax     # 0x1b3fd8
movq (%rax), %rdi
leaq 0x79bef(%rip), %rsi     # 0x15e066
leaq 0x7a1ca(%rip), %rdx     # 0x15e648
leaq 0x94c75(%rip), %rcx     # 0x1790fa
leaq 0x94a0e(%rip), %r8      # 0x178e9a
movl $0x64, %r9d
movb $0x0, %al
callq 0xb890
callq 0xb2e0
jmp 0xe44a0
jmp 0xe44a2
cmpq $0x0, 0x28(%rsp)
je 0xe44b2
cmpq $0x0, 0x20(%rsp)
jne 0xe44ea
movq 0xcfb1f(%rip), %rax     # 0x1b3fd8
movq (%rax), %rdi
leaq 0x79ba3(%rip), %rsi     # 0x15e066
leaq 0x94c44(%rip), %rdx     # 0x17910e
leaq 0x94c29(%rip), %rcx     # 0x1790fa
leaq 0x949c2(%rip), %r8      # 0x178e9a
movl $0x65, %r9d
movb $0x0, %al
callq 0xb890
callq 0xb2e0
jmp 0xe44ec
jmp 0xe44ee
movq 0x20(%rsp), %rdi
callq 0x19a00
cmpq $0x0, %rax
je 0xe4536
movq 0xcfad3(%rip), %rax     # 0x1b3fd8
movq (%rax), %rdi
leaq 0x79b57(%rip), %rsi     # 0x15e066
leaq 0x94c08(%rip), %rdx     # 0x17911e
leaq 0x94bdd(%rip), %rcx     # 0x1790fa
leaq 0x94976(%rip), %r8      # 0x178e9a
movl $0x66, %r9d
movb $0x0, %al
callq 0xb890
callq 0xb2e0
jmp 0xe4538
movq 0x28(%rsp), %rdi
callq 0xe4cd0
movb %al, 0xf(%rsp)
movsbl %al, %eax
cmpl $-0x1, %eax
jne 0xe455b
movl $0xffffffff, 0x34(%rsp) # imm = 0xFFFFFFFF
jmp 0xe462b
movq 0x28(%rsp), %rax
movq 0x88(%rax), %rcx
addq $0x1, %rcx
movq %rcx, 0x88(%rax)
movsbl 0xf(%rsp), %eax
movsbl 0x1f(%rsp), %ecx
cmpl %ecx, %eax
je 0xe45b0
movq 0x10(%rsp), %rdi
movsbl 0x1f(%rsp), %edx
movsbl 0xf(%rsp), %ecx
movq 0x28(%rsp), %rax
movq 0x68(%rax), %r8
leaq 0x94b9a(%rip), %rsi     # 0x179139
movb $0x0, %al
callq 0xc0d0
movl $0xfffffffe, 0x34(%rsp) # imm = 0xFFFFFFFE
jmp 0xe462b
jmp 0xe45b2
movsbl 0xf(%rsp), %eax
cmpl $0xa, %eax
je 0xe4612
testb $0x1, 0xe(%rsp)
jne 0xe45d4
movq 0x20(%rsp), %rdi
movsbl 0xf(%rsp), %esi
callq 0x194d0
jmp 0xe45d9
movb $0x0, 0xe(%rsp)
movq 0x28(%rsp), %rdi
callq 0xe4cd0
movb %al, 0xf(%rsp)
movsbl %al, %eax
cmpl $-0x1, %eax
jne 0xe45f9
movl $0xffffffff, 0x34(%rsp) # imm = 0xFFFFFFFF
jmp 0xe462b
movq 0x28(%rsp), %rax
movq 0x88(%rax), %rcx
addq $0x1, %rcx
movq %rcx, 0x88(%rax)
jmp 0xe45b2
movq 0x28(%rsp), %rax
movq 0x68(%rax), %rcx
addq $0x1, %rcx
movq %rcx, 0x68(%rax)
movl $0x0, 0x34(%rsp)
movl 0x34(%rsp), %eax
addq $0x38, %rsp
retq
nopw %cs:(%rax,%rax)