// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/core/seq_iterator_fastq.c
// Function: parse_fastq_block
static inline int parse_fastq_block(GtSeqIteratorFastQ *seqit, GtError *err)
{
  int had_err = 0;
  gt_assert(seqit);
  gt_error_check(err);

  /* parse @<seqname> */
  had_err = parse_fastq_seqname(seqit,
                                seqit->descbuffer,
                                GT_FASTQ_BLOCK_START_CHAR,
                                err);
  if (!had_err) {
    /* parse sequence */
    had_err = parse_fastq_sequence(seqit, err);
    gt_fastq_premature_end_check(had_err, seqit);
  }
  if (!had_err) {
    /* parse +[seqname] */
    had_err = parse_fastq_seqname(seqit,
                                  seqit->qdescbuffer,
                                  GT_FASTQ_QUAL_SEPARATOR_CHAR,
                                  err);
    gt_fastq_premature_end_check(had_err, seqit);
  }
  if (!had_err
      && !seqit->relax_qualdesc_check
      && gt_str_length(seqit->qdescbuffer)
      && gt_str_cmp(seqit->descbuffer, seqit->qdescbuffer) != 0)
  {
      gt_error_set(err, "sequence description '%s' is not equal to "
                        "qualities description '%s' in line "GT_WU"",
                        gt_str_get(seqit->descbuffer),
                        gt_str_get(seqit->qdescbuffer),
                        seqit->curline-1);
      return -2;
  }
  if (!had_err) {
    /* parse qualities */
    had_err = parse_fastq_qualities(seqit, err);
    if (gt_str_length(seqit->qualsbuffer)
          != gt_str_length(seqit->sequencebuffer))
    {
      gt_error_set(err, "lengths of character sequence and qualities "
                        "sequence differ ("GT_WU" <-> "GT_WU")",
                        gt_str_length(seqit->qualsbuffer),
                        gt_str_length(seqit->sequencebuffer));
      return -2;
    }
  }
  return had_err;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
testq %rdi, %rdi
je 0xa5b25
movq %rsi, %rbx
movq %rdi, %r14
testq %rsi, %rsi
je 0xa55b2
movq %rbx, %rdi
callq 0x34fea
testb %al, %al
jne 0xa5b2a
movq 0x30(%r14), %rsi
movq %r14, %rdi
movl $0x40, %edx
movq %rbx, %rcx
callq 0xa5ca2
testl %eax, %eax
jne 0xa55c9
callq 0x3b728
movq %rax, %r12
movq %rbx, %rdi
callq 0x34fea
testb %al, %al
je 0xa55d8
callq 0x22db0
movq 0x30(%r14), %rsi
movq %r14, %rdi
movl $0x40, %edx
xorl %ecx, %ecx
callq 0xa5ca2
testl %eax, %eax
je 0xa55d0
movl %eax, %ebp
jmp 0xa5715
callq 0x3b728
movq %rax, %r12
movq 0x28(%r14), %rdi
callq 0x3bb86
testq %rax, %rax
jne 0xa5b2f
cmpb $0x1, 0x21(%r14)
jne 0xa55ff
movb $0x0, 0x21(%r14)
movb 0x98(%r14), %al
jmp 0xa5645
movq 0x60(%r14), %rax
cmpq 0x58(%r14), %rax
jb 0xa562e
movq 0x48(%r14), %rdi
leaq 0x99(%r14), %rsi
movl $0x2000, %edx           # imm = 0x2000
callq 0x75fcd
cltq
movq %rax, 0x58(%r14)
testl %eax, %eax
je 0xa56dd
xorl %eax, %eax
leaq 0x1(%rax), %rcx
movq %rcx, 0x60(%r14)
movb 0x99(%r14,%rax), %al
movb %al, 0x98(%r14)
cmpb $-0x1, %al
je 0xa56dd
leaq 0x99(%r14), %r13
cmpb $0xa, %al
je 0xa5676
movzbl %al, %ecx
cmpl $0x20, %ecx
je 0xa567a
cmpl $0x2b, %ecx
je 0xa5726
movsbl %al, %esi
movq %r12, %rdi
callq 0x3b9df
jmp 0xa567a
incq 0x68(%r14)
cmpb $0x1, 0x21(%r14)
jne 0xa568f
movb $0x0, 0x21(%r14)
movb 0x98(%r14), %al
jmp 0xa56cd
movq 0x60(%r14), %rax
cmpq 0x58(%r14), %rax
jb 0xa56b6
movq 0x48(%r14), %rdi
movl $0x2000, %edx           # imm = 0x2000
movq %r13, %rsi
callq 0x75fcd
cltq
movq %rax, 0x58(%r14)
testl %eax, %eax
je 0xa56dd
xorl %eax, %eax
leaq 0x1(%rax), %rcx
movq %rcx, 0x60(%r14)
movb 0x99(%r14,%rax), %al
movb %al, 0x98(%r14)
cmpb $-0x1, %al
je 0xa56dd
incq 0x88(%r14)
jmp 0xa5654
movq %r12, %rdi
callq 0x3c87b
movq 0x90(%r14), %rdi
movl 0x8(%r14), %esi
callq 0x3ca6f
movq 0x68(%r14), %rcx
decq %rcx
leaq 0x554ad(%rip), %rsi     # 0xfabb0
movq %rbx, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0x34f1f
movl $0xfffffffe, %ebp       # imm = 0xFFFFFFFE
movl %ebp, %eax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %r12, %rdi
callq 0x3bb86
testq %rax, %rax
je 0xa5861
cmpb $0x1, 0x22(%r14)
jne 0xa576f
callq 0x3b728
movq %r13, %r15
movq %rax, %r13
movq %r12, %rdi
movq %rax, %rsi
movq %rbx, %rdx
callq 0xbecf0
movl %eax, %ebp
movq %r12, %rdi
callq 0x3c87b
movq %r13, %r12
movq %r15, %r13
testl %ebp, %ebp
jne 0xa58b2
cmpq $0x0, 0x20a0(%r14)
je 0xa5893
movq %r12, %rdi
callq 0x3bb5d
movq %rax, 0x20(%rsp)
movq %r12, %rdi
callq 0x3bb86
movq %rax, 0x18(%rsp)
testq %rax, %rax
je 0xa58b0
movq %r13, 0x8(%rsp)
leaq 0x78(%r14), %rax
movq %rax, 0x10(%rsp)
movl $0x1, %r15d
movq 0x20a0(%r14), %rax
movq 0x20(%rsp), %rcx
movsbl -0x1(%rcx,%r15), %ebp
movzbl (%rax,%rbp), %r13d
cmpq $0xfd, %r13
jne 0xa580a
movq 0x90(%r14), %rdi
movl 0x8(%r14), %esi
callq 0x3ca6f
movq 0x68(%r14), %r8
movq %rbx, %rdi
leaq 0x5557e(%rip), %rsi     # 0xfad70
movl %ebp, %edx
movq %rax, %rcx
xorl %eax, %eax
callq 0x34f1f
movl $0xfffffffe, %ebp       # imm = 0xFFFFFFFE
movq 0x10(%rsp), %rcx
jmp 0xa581a
xorl %ebp, %ebp
movq 0x10(%rsp), %rcx
movq %rcx, %rax
cmpb $-0x3, %r13b
ja 0xa5834
cmpq $0x0, (%rcx)
je 0xa5827
movq $0x0, (%rcx)
movq 0x50(%r14), %rax
testq %rax, %rax
je 0xa5837
leaq (%rax,%r13,8), %rax
incq (%rax)
movq 0x28(%r14), %rdi
movsbl %r13b, %esi
callq 0x3b9df
testl %ebp, %ebp
jne 0xa585a
leaq 0x1(%r15), %rax
cmpq 0x18(%rsp), %r15
movq %rax, %r15
jb 0xa57b4
movq 0x8(%rsp), %r13
jmp 0xa58b2
movq 0x90(%r14), %rdi
movl 0x8(%r14), %esi
callq 0x3ca6f
movq 0x68(%r14), %rcx
decq %rcx
leaq 0x554c5(%rip), %rsi     # 0xfad44
movq %rbx, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0x34f1f
movl $0xfffffffe, %ebp       # imm = 0xFFFFFFFE
jmp 0xa58b2
movq %r13, %r15
movq 0x28(%r14), %r13
movq %r12, %rdi
callq 0x3bb5d
movq %r13, %rdi
movq %r15, %r13
movq %rax, %rsi
callq 0x3b81e
xorl %ebp, %ebp
cmpb $0x1, 0x21(%r14)
je 0xa5b34
movb $0x1, 0x21(%r14)
movq %r12, %rdi
callq 0x3c87b
testl %ebp, %ebp
je 0xa58dc
cmpl $-0x1, %ebp
je 0xa56e5
jmp 0xa5715
movq 0x40(%r14), %rsi
movq %r14, %rdi
movl $0x2b, %edx
movq %rbx, %rcx
callq 0xa5ca2
movl $0xfffffffe, %ebp       # imm = 0xFFFFFFFE
testl %eax, %eax
je 0xa5907
cmpl $-0x1, %eax
je 0xa56e5
jmp 0xa5715
cmpb $0x0, 0x23(%r14)
jne 0xa5965
movq 0x40(%r14), %rdi
callq 0x3bb86
testq %rax, %rax
je 0xa5965
movq 0x30(%r14), %rdi
movq 0x40(%r14), %rsi
callq 0x3bc02
testl %eax, %eax
je 0xa5965
movq 0x30(%r14), %rdi
callq 0x3bb5d
movq %rax, %r15
movq 0x40(%r14), %rdi
callq 0x3bb5d
movq 0x68(%r14), %r8
decq %r8
leaq 0x552a7(%rip), %rsi     # 0xfabf7
movq %rbx, %rdi
movq %r15, %rdx
movq %rax, %rcx
xorl %eax, %eax
callq 0x34f1f
jmp 0xa5710
movq 0x28(%r14), %rdi
callq 0x3bb86
testq %rax, %rax
je 0xa5b39
cmpb $0x1, 0x21(%r14)
jne 0xa598c
movb $0x0, 0x21(%r14)
movb 0x98(%r14), %r15b
jmp 0xa59ce
movq 0x60(%r14), %rax
cmpq 0x58(%r14), %rax
jb 0xa59b7
movq 0x48(%r14), %rdi
movl $0x2000, %edx           # imm = 0x2000
movq %r13, %rsi
callq 0x75fcd
cltq
movq %rax, 0x58(%r14)
testl %eax, %eax
je 0xa5ad8
xorl %eax, %eax
leaq 0x1(%rax), %rcx
movq %rcx, 0x60(%r14)
movb 0x99(%r14,%rax), %r15b
movb %r15b, 0x98(%r14)
movl $0xffffffff, %ebp       # imm = 0xFFFFFFFF
cmpb $-0x1, %r15b
je 0xa5add
xorl %r12d, %r12d
incq 0x88(%r14)
movq 0x28(%r14), %rdi
callq 0x3bb86
cmpq %rax, %r12
jae 0xa5a8f
cmpb $0xa, %r15b
je 0xa5a1a
movzbl %r15b, %eax
cmpl $0x20, %eax
je 0xa5a1e
movq 0x38(%r14), %rdi
movsbl %r15b, %esi
callq 0x3b9df
incq %r12
jmp 0xa5a1e
incq 0x68(%r14)
movq 0x28(%r14), %rdi
callq 0x3bb86
cmpq %rax, %r12
jne 0xa5a30
incq 0x68(%r14)
cmpb $0x1, 0x21(%r14)
jne 0xa5a45
movb $0x0, 0x21(%r14)
movb 0x98(%r14), %r15b
jmp 0xa5a83
movq 0x60(%r14), %rax
cmpq 0x58(%r14), %rax
jb 0xa5a6c
movq 0x48(%r14), %rdi
movl $0x2000, %edx           # imm = 0x2000
movq %r13, %rsi
callq 0x75fcd
cltq
movq %rax, 0x58(%r14)
testl %eax, %eax
je 0xa5add
xorl %eax, %eax
leaq 0x1(%rax), %rcx
movq %rcx, 0x60(%r14)
movb 0x99(%r14,%rax), %r15b
movb %r15b, 0x98(%r14)
cmpb $-0x1, %r15b
jne 0xa59e0
jmp 0xa5add
xorl %ebp, %ebp
cmpb $0xa, %r15b
je 0xa5add
movq 0x28(%r14), %rdi
callq 0x3bb86
movq %rax, %r15
movq 0x90(%r14), %rdi
movl 0x8(%r14), %esi
callq 0x3ca6f
movq 0x68(%r14), %r8
decq %r8
leaq 0x55344(%rip), %rsi     # 0xfae05
movq %rbx, %rdi
movq %r15, %rdx
movq %rax, %rcx
xorl %eax, %eax
callq 0x34f1f
movl $0xfffffffe, %ebp       # imm = 0xFFFFFFFE
jmp 0xa5add
movl $0xffffffff, %ebp       # imm = 0xFFFFFFFF
movq 0x38(%r14), %rdi
callq 0x3bb86
movq %rax, %r15
movq 0x28(%r14), %rdi
callq 0x3bb86
cmpq %rax, %r15
je 0xa5715
movq 0x38(%r14), %rdi
callq 0x3bb86
movq %rax, %r15
movq 0x28(%r14), %rdi
callq 0x3bb86
leaq 0x55131(%rip), %rsi     # 0xfac48
movq %rbx, %rdi
movq %r15, %rdx
movq %rax, %rcx
jmp 0xa5709
callq 0x22ecb
callq 0x22de9
callq 0x22e22
callq 0x22e94
callq 0x22e5b