// File: /workspace/github_c_makefile_star2_O2/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 $0x18, %rsp
testq %rdi, %rdi
je 0x860d3
movq %rsi, %rbx
movq %rdi, %r14
testq %rsi, %rsi
je 0x85ca7
movq %rbx, %rdi
callq 0xc103
testb %al, %al
jne 0x86104
movq 0x30(%r14), %rsi
pushq $0x40
popq %rdx
movq %r14, %rdi
movq %rbx, %rcx
callq 0x863ed
movl %eax, %ebp
testl %eax, %eax
jne 0x85d30
callq 0x13d5c
movq %rax, %r15
testq %rbx, %rbx
je 0x85cdc
movq %rbx, %rdi
callq 0xc103
testb %al, %al
jne 0x86160
movq 0x28(%r14), %rdi
callq 0x14461
testq %rax, %rax
jne 0x86132
movq %r14, %rdi
callq 0x8653c
cmpb $-0x1, %al
jne 0x85d41
movq %r15, %rdi
callq 0x152db
movq 0x90(%r14), %rdi
movl 0x8(%r14), %esi
callq 0x1555e
movq 0x68(%r14), %rcx
decq %rcx
leaq 0x5e1a0(%rip), %rsi     # 0xe3ec0
movq %rbx, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0xc007
pushq $-0x2
popq %rbp
movl %ebp, %eax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
cmpb $0xa, %al
je 0x85d5f
movzbl %al, %ecx
cmpl $0x20, %ecx
je 0x85d63
cmpl $0x2b, %ecx
je 0x85d78
movsbl %al, %esi
movq %r15, %rdi
callq 0x140b1
jmp 0x85d63
incq 0x68(%r14)
movq %r14, %rdi
callq 0x8653c
cmpb $-0x1, %al
je 0x85cfa
incq 0x88(%r14)
jmp 0x85d41
movq %r15, %rdi
callq 0x14461
testq %rax, %rax
je 0x85e93
cmpb $0x1, 0x22(%r14)
jne 0x85dbb
callq 0x13d5c
movq %rax, %r12
movq %r15, %rdi
movq %rax, %rsi
movq %rbx, %rdx
callq 0xa0bb8
movl %eax, %ebp
movq %r15, %rdi
callq 0x152db
movq %r12, %r15
testl %ebp, %ebp
jne 0x85edc
cmpq $0x0, 0x20a0(%r14)
je 0x85ec3
movq %r15, %rdi
callq 0x143d2
movq %rax, 0x8(%rsp)
movq %r15, %rdi
callq 0x14461
movq %rax, 0x10(%rsp)
leaq 0x78(%r14), %rdx
xorl %ebp, %ebp
xorl %r13d, %r13d
movq %rdx, (%rsp)
testl %ebp, %ebp
jne 0x85edc
cmpq 0x10(%rsp), %r13
jae 0x85edc
movq 0x20a0(%r14), %rax
movq 0x8(%rsp), %rcx
movsbl (%rcx,%r13), %ebp
movzbl (%rax,%rbp), %r12d
cmpq $0xfd, %r12
jne 0x85e55
movq 0x90(%r14), %rdi
movl 0x8(%r14), %esi
callq 0x1555e
movq 0x68(%r14), %r8
movq %rbx, %rdi
leaq 0x5e240(%rip), %rsi     # 0xe4080
movl %ebp, %edx
movq %rax, %rcx
xorl %eax, %eax
callq 0xc007
movq (%rsp), %rdx
pushq $-0x2
popq %rbp
jmp 0x85e60
xorl %ebp, %ebp
movq %rdx, %rax
cmpb $-0x3, %r12b
ja 0x85e77
cmpq $0x0, (%rdx)
je 0x85e6a
andq $0x0, (%rdx)
movq 0x50(%r14), %rax
testq %rax, %rax
je 0x85e7a
leaq (%rax,%r12,8), %rax
incq (%rax)
movq 0x28(%r14), %rdi
movsbl %r12b, %esi
callq 0x140b1
incq %r13
movq (%rsp), %rdx
jmp 0x85df0
movq 0x90(%r14), %rdi
movl 0x8(%r14), %esi
callq 0x1555e
movq 0x68(%r14), %rcx
decq %rcx
leaq 0x5e1a3(%rip), %rsi     # 0xe4054
movq %rbx, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0xc007
pushq $-0x2
popq %rbp
jmp 0x85edc
movq 0x28(%r14), %r12
movq %r15, %rdi
callq 0x143d2
movq %r12, %rdi
movq %rax, %rsi
callq 0x13e63
xorl %ebp, %ebp
cmpb $0x1, 0x21(%r14)
je 0x86198
movb $0x1, 0x21(%r14)
movq %r15, %rdi
callq 0x152db
testl %ebp, %ebp
je 0x85f06
cmpl $-0x1, %ebp
je 0x85d02
jmp 0x85d30
movq 0x40(%r14), %rsi
pushq $0x2b
popq %rdx
movq %r14, %rdi
movq %rbx, %rcx
callq 0x863ed
pushq $-0x2
popq %r12
testl %eax, %eax
je 0x85f52
cmpl $-0x1, %eax
jne 0x860cb
movq 0x90(%r14), %rdi
movl 0x8(%r14), %esi
callq 0x1555e
movq 0x68(%r14), %rcx
decq %rcx
leaq 0x5df79(%rip), %rsi     # 0xe3ec0
movq %rbx, %rdi
movq %rax, %rdx
jmp 0x860c4
cmpb $0x0, 0x23(%r14)
jne 0x85fb0
movq 0x40(%r14), %rdi
callq 0x14461
testq %rax, %rax
je 0x85fb0
movq 0x30(%r14), %rdi
movq 0x40(%r14), %rsi
callq 0x14573
testl %eax, %eax
je 0x85fb0
movq 0x30(%r14), %rdi
callq 0x143d2
movq %rax, %r15
movq 0x40(%r14), %rdi
callq 0x143d2
movq 0x68(%r14), %r8
decq %r8
leaq 0x5df6c(%rip), %rsi     # 0xe3f07
movq %rbx, %rdi
movq %r15, %rdx
movq %rax, %rcx
xorl %eax, %eax
callq 0xc007
jmp 0x860cb
movq 0x28(%r14), %rdi
callq 0x14461
testq %rax, %rax
je 0x861c4
movq %r14, %rdi
callq 0x8653c
movl %eax, %r15d
pushq $-0x1
popq %rbp
cmpb $-0x1, %r15b
je 0x86081
xorl %r13d, %r13d
incq 0x88(%r14)
movq 0x28(%r14), %rdi
callq 0x14461
cmpq %rax, %r13
jae 0x8603c
cmpb $0xa, %r15b
je 0x86013
movzbl %r15b, %eax
cmpl $0x20, %eax
je 0x86017
movq 0x38(%r14), %rdi
movsbl %r15b, %esi
callq 0x140b1
incq %r13
jmp 0x86017
incq 0x68(%r14)
movq 0x28(%r14), %rdi
callq 0x14461
cmpq %rax, %r13
jne 0x86029
incq 0x68(%r14)
movq %r14, %rdi
callq 0x8653c
movl %eax, %r15d
cmpb $-0x1, %r15b
jne 0x85fdd
jmp 0x86081
xorl %ebp, %ebp
cmpb $0xa, %r15b
je 0x86081
movq 0x28(%r14), %rdi
callq 0x14461
movq %rax, %r15
movq 0x90(%r14), %rdi
movl 0x8(%r14), %esi
callq 0x1555e
movq 0x68(%r14), %r8
decq %r8
leaq 0x5e0a7(%rip), %rsi     # 0xe4115
movq %rbx, %rdi
movq %r15, %rdx
movq %rax, %rcx
xorl %eax, %eax
callq 0xc007
pushq $-0x2
popq %rbp
movq 0x38(%r14), %rdi
callq 0x14461
movq %rax, %r15
movq 0x28(%r14), %rdi
callq 0x14461
cmpq %rax, %r15
je 0x85d30
movq 0x38(%r14), %rdi
callq 0x14461
movq %rax, %r15
movq 0x28(%r14), %rdi
callq 0x14461
leaq 0x5de9d(%rip), %rsi     # 0xe3f58
movq %rbx, %rdi
movq %r15, %rdx
movq %rax, %rcx
xorl %eax, %eax
callq 0xc007
movl %r12d, %ebp
jmp 0x85d30
movq 0xa7ede(%rip), %rax     # 0x12dfb8
movq (%rax), %rdi
leaq 0x43f82(%rip), %rsi     # 0xca066
leaq 0x5db11(%rip), %rdx     # 0xe3bfc
leaq 0x5ddbc(%rip), %rcx     # 0xe3eae
leaq 0x5dc49(%rip), %r8      # 0xe3d42
movl $0x104, %r9d            # imm = 0x104
jmp 0x8618c
movq 0xa7ead(%rip), %rax     # 0x12dfb8
movq (%rax), %rdi
leaq 0x43f51(%rip), %rsi     # 0xca066
leaq 0x4453d(%rip), %rdx     # 0xca659
leaq 0x5dd8b(%rip), %rcx     # 0xe3eae
leaq 0x5dc18(%rip), %r8      # 0xe3d42
movl $0x105, %r9d            # imm = 0x105
jmp 0x8618c
movq 0xa7e7f(%rip), %rax     # 0x12dfb8
movq (%rax), %rdi
leaq 0x43f23(%rip), %rsi     # 0xca066
leaq 0x5dee0(%rip), %rdx     # 0xe402a
leaq 0x5dec4(%rip), %rcx     # 0xe4015
leaq 0x5dbea(%rip), %r8      # 0xe3d42
movl $0x87, %r9d
jmp 0x8618c
movq 0xa7e51(%rip), %rax     # 0x12dfb8
movq (%rax), %rdi
leaq 0x43ef5(%rip), %rsi     # 0xca066
leaq 0x444e1(%rip), %rdx     # 0xca659
leaq 0x5de96(%rip), %rcx     # 0xe4015
leaq 0x5dbbc(%rip), %r8      # 0xe3d42
movl $0x85, %r9d
xorl %eax, %eax
callq 0xb8c0
callq 0xb300
movq 0xa7e19(%rip), %rax     # 0x12dfb8
movq (%rax), %rdi
leaq 0x43ebd(%rip), %rsi     # 0xca066
leaq 0x5defc(%rip), %rdx     # 0xe40ac
leaq 0x5df0b(%rip), %rcx     # 0xe40c2
leaq 0x5db84(%rip), %r8      # 0xe3d42
pushq $0x59
popq %r9
jmp 0x8618c
movq 0xa7ded(%rip), %rax     # 0x12dfb8
movq (%rax), %rdi
leaq 0x43e91(%rip), %rsi     # 0xca066
leaq 0x5defa(%rip), %rdx     # 0xe40d6
leaq 0x5df1c(%rip), %rcx     # 0xe40ff
leaq 0x5db58(%rip), %r8      # 0xe3d42
movl $0xd4, %r9d
jmp 0x8618c