// File: /workspace/github_c_makefile_star2_O1/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 0xa63cc
movq %rsi, %rbx
movq %rdi, %r14
testq %rsi, %rsi
je 0xa5df1
movq %rbx, %rdi
callq 0x3566a
testb %al, %al
jne 0xa63d1
movq 0x30(%r14), %rsi
movq %r14, %rdi
movl $0x40, %edx
movq %rbx, %rcx
callq 0xa654e
movl %eax, %ebp
testl %eax, %eax
jne 0xa6117
callq 0x3bfe0
movq %rax, %r15
testq %rbx, %rbx
je 0xa5e2c
movq %rbx, %rdi
callq 0x3566a
testb %al, %al
jne 0xa63db
movq 0x28(%r14), %rdi
callq 0x3c434
testq %rax, %rax
jne 0xa63d6
cmpb $0x1, 0x21(%r14)
jne 0xa5e54
movb $0x0, 0x21(%r14)
movzbl 0x98(%r14), %eax
jmp 0xa5ea5
movq 0x60(%r14), %rax
cmpq 0x58(%r14), %rax
jb 0xa5e89
movq 0x48(%r14), %rdi
leaq 0x99(%r14), %rsi
movl $0x2000, %edx           # imm = 0x2000
callq 0x75a89
cltq
movq %rax, 0x58(%r14)
testl %eax, %eax
je 0xa5fd0
movq $0x0, 0x60(%r14)
movq 0x60(%r14), %rax
leaq 0x1(%rax), %rcx
movq %rcx, 0x60(%r14)
movzbl 0x99(%r14,%rax), %eax
movb %al, 0x98(%r14)
movl $0xffffffff, %ebp       # imm = 0xFFFFFFFF
cmpb $-0x1, %al
je 0xa6106
leaq 0x99(%r14), %r12
cmpb $0xa, %al
je 0xa5edb
movzbl %al, %ecx
cmpl $0x20, %ecx
je 0xa5edf
cmpl $0x2b, %ecx
je 0xa5f59
movsbl %al, %esi
movq %r15, %rdi
callq 0x3c28d
jmp 0xa5edf
incq 0x68(%r14)
cmpb $0x1, 0x21(%r14)
jne 0xa5ef5
movb $0x0, 0x21(%r14)
movzbl 0x98(%r14), %eax
jmp 0xa5f3e
movq 0x60(%r14), %rax
cmpq 0x58(%r14), %rax
jb 0xa5f22
movq 0x48(%r14), %rdi
movl $0x2000, %edx           # imm = 0x2000
movq %r12, %rsi
callq 0x75a89
cltq
movq %rax, 0x58(%r14)
testl %eax, %eax
je 0xa5f52
movq $0x0, 0x60(%r14)
movq 0x60(%r14), %rax
leaq 0x1(%rax), %rcx
movq %rcx, 0x60(%r14)
movzbl 0x99(%r14,%rax), %eax
movb %al, 0x98(%r14)
cmpb $-0x1, %al
je 0xa6106
incq 0x88(%r14)
jmp 0xa5eb9
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
jmp 0xa5f3e
movq %r15, %rdi
callq 0x3c434
movq %rax, %r12
xorl %ebp, %ebp
testq %rax, %rax
jne 0xa5f9b
movq 0x90(%r14), %rdi
movl 0x8(%r14), %esi
callq 0x3d3e2
movq 0x68(%r14), %rcx
decq %rcx
leaq 0x54e4b(%rip), %rsi     # 0xfadd4
movq %rbx, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0x3559f
movl $0xfffffffe, %ebp       # imm = 0xFFFFFFFE
testq %r12, %r12
je 0xa5fda
xorl %ebp, %ebp
cmpb $0x1, 0x22(%r14)
jne 0xa5fda
callq 0x3bfe0
movq %rax, %r12
movq %r15, %rdi
movq %rax, %rsi
movq %rbx, %rdx
callq 0xbdc6c
movl %eax, %ebp
movq %r15, %rdi
callq 0x3d1eb
movq %r12, 0x8(%rsp)
jmp 0xa5fdf
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
jmp 0xa5ea5
movq %r15, 0x8(%rsp)
testl %ebp, %ebp
jne 0xa60f1
cmpq $0x0, 0x20a0(%r14)
je 0xa60d6
movq 0x8(%rsp), %r15
movq %r15, %rdi
callq 0x3c40b
movq %rax, 0x20(%rsp)
movq %r15, %rdi
callq 0x3c434
movq %rax, 0x18(%rsp)
testq %rax, %rax
je 0xa60ef
leaq 0x78(%r14), %r12
movl $0x1, %r13d
xorl %ebp, %ebp
movq %r12, 0x10(%rsp)
movq 0x20a0(%r14), %rax
movq 0x20(%rsp), %rcx
movsbl -0x1(%rcx,%r13), %r12d
movzbl (%rax,%r12), %r15d
cmpq $0xfd, %r15
jne 0xa607e
movq 0x90(%r14), %rdi
movl 0x8(%r14), %esi
callq 0x3d3e2
movq 0x68(%r14), %r8
movq %rbx, %rdi
leaq 0x54d94(%rip), %rsi     # 0xfae00
movl %r12d, %edx
movq %rax, %rcx
xorl %eax, %eax
callq 0x3559f
movl $0xfffffffe, %ebp       # imm = 0xFFFFFFFE
movq 0x10(%rsp), %r12
movq (%r12), %rax
cmpb $-0x3, %r15b
jbe 0xa6092
movq %r12, %rcx
jmp 0xa60af
testq %rax, %rax
je 0xa609f
movq $0x0, (%r12)
movq 0x50(%r14), %rax
testq %rax, %rax
je 0xa60b5
leaq (%rax,%r15,8), %rcx
movq (%rcx), %rax
incq %rax
movq %rax, (%rcx)
movq 0x28(%r14), %rdi
movsbl %r15b, %esi
callq 0x3c28d
cmpq 0x18(%rsp), %r13
jae 0xa60f1
incq %r13
testl %ebp, %ebp
je 0xa602e
jmp 0xa60f1
movq 0x28(%r14), %r12
movq 0x8(%rsp), %rdi
callq 0x3c40b
movq %r12, %rdi
movq %rax, %rsi
callq 0x3c0cc
xorl %ebp, %ebp
cmpb $0x1, 0x21(%r14)
je 0xa63e5
movb $0x1, 0x21(%r14)
movq 0x8(%rsp), %r15
movq %r15, %rdi
callq 0x3d1eb
cmpl $-0x1, %ebp
je 0xa61a0
testl %ebp, %ebp
jne 0xa6136
movq 0x40(%r14), %rsi
movq %r14, %rdi
movl $0x2b, %edx
movq %rbx, %rcx
callq 0xa654e
movl %eax, %ebp
cmpl $-0x1, %eax
je 0xa61a0
testl %ebp, %ebp
jne 0xa63b0
cmpb $0x0, 0x23(%r14)
jne 0xa61c9
movq 0x40(%r14), %rdi
callq 0x3c434
testq %rax, %rax
je 0xa61c9
movq 0x30(%r14), %rdi
movq 0x40(%r14), %rsi
callq 0x3c4b0
testl %eax, %eax
je 0xa61c9
movq 0x30(%r14), %rdi
callq 0x3c40b
movq %rax, %r15
movq 0x40(%r14), %rdi
callq 0x3c40b
movq 0x68(%r14), %r8
decq %r8
leaq 0x54afc(%rip), %rsi     # 0xfac87
movq %rbx, %rdi
movq %r15, %rdx
movq %rax, %rcx
xorl %eax, %eax
callq 0x3559f
jmp 0xa63ab
movq 0x90(%r14), %rdi
movl 0x8(%r14), %esi
callq 0x3d3e2
movq 0x68(%r14), %rcx
decq %rcx
leaq 0x54a82(%rip), %rsi     # 0xfac40
movq %rbx, %rdi
movq %rax, %rdx
jmp 0xa63a4
movq 0x28(%r14), %rdi
callq 0x3c434
testq %rax, %rax
je 0xa63e0
cmpb $0x1, 0x21(%r14)
jne 0xa61f1
movb $0x0, 0x21(%r14)
movzbl 0x98(%r14), %r13d
jmp 0xa6242
movq 0x60(%r14), %rax
cmpq 0x58(%r14), %rax
jb 0xa6226
movq 0x48(%r14), %rdi
leaq 0x99(%r14), %rsi
movl $0x2000, %edx           # imm = 0x2000
callq 0x75a89
cltq
movq %rax, 0x58(%r14)
testl %eax, %eax
je 0xa63c1
movq $0x0, 0x60(%r14)
movq 0x60(%r14), %rax
leaq 0x1(%rax), %rcx
movq %rcx, 0x60(%r14)
movzbl 0x99(%r14,%rax), %r13d
movb %r13b, 0x98(%r14)
movl $0xffffffff, %ebp       # imm = 0xFFFFFFFF
cmpb $-0x1, %r13b
je 0xa6365
leaq 0x99(%r14), %r15
xorl %r12d, %r12d
incq 0x88(%r14)
movq 0x28(%r14), %rdi
callq 0x3c434
cmpq %rax, %r12
jae 0xa631e
cmpb $0xa, %r13b
je 0xa6295
movzbl %r13b, %eax
cmpl $0x20, %eax
je 0xa6299
movq 0x38(%r14), %rdi
movsbl %r13b, %esi
callq 0x3c28d
incq %r12
jmp 0xa6299
incq 0x68(%r14)
movq 0x28(%r14), %rdi
callq 0x3c434
cmpq %rax, %r12
jne 0xa62ab
incq 0x68(%r14)
cmpb $0x1, 0x21(%r14)
jne 0xa62c1
movb $0x0, 0x21(%r14)
movzbl 0x98(%r14), %r13d
jmp 0xa630a
movq 0x60(%r14), %rax
cmpq 0x58(%r14), %rax
jb 0xa62ee
movq 0x48(%r14), %rdi
movl $0x2000, %edx           # imm = 0x2000
movq %r15, %rsi
callq 0x75a89
cltq
movq %rax, 0x58(%r14)
testl %eax, %eax
je 0xa6316
movq $0x0, 0x60(%r14)
movq 0x60(%r14), %rax
leaq 0x1(%rax), %rcx
movq %rcx, 0x60(%r14)
movzbl 0x99(%r14,%rax), %r13d
movb %r13b, 0x98(%r14)
cmpb $-0x1, %r13b
jne 0xa625b
jmp 0xa6365
movl $0xffffffff, %r13d      # imm = 0xFFFFFFFF
jmp 0xa630a
xorl %ebp, %ebp
cmpb $0xa, %r13b
je 0xa6365
movq 0x28(%r14), %rdi
callq 0x3c434
movq %rax, %r15
movq 0x90(%r14), %rdi
movl 0x8(%r14), %esi
callq 0x3d3e2
movq 0x68(%r14), %r8
decq %r8
leaq 0x54b45(%rip), %rsi     # 0xfae95
movq %rbx, %rdi
movq %r15, %rdx
movq %rax, %rcx
xorl %eax, %eax
callq 0x3559f
movl $0xfffffffe, %ebp       # imm = 0xFFFFFFFE
movq 0x38(%r14), %rdi
callq 0x3c434
movq %rax, %r15
movq 0x28(%r14), %rdi
callq 0x3c434
cmpq %rax, %r15
je 0xa63b0
movq 0x38(%r14), %rdi
callq 0x3c434
movq %rax, %r15
movq 0x28(%r14), %rdi
callq 0x3c434
leaq 0x5493d(%rip), %rsi     # 0xfacd8
movq %rbx, %rdi
movq %r15, %rdx
movq %rax, %rcx
xorl %eax, %eax
callq 0x3559f
movl $0xfffffffe, %ebp       # imm = 0xFFFFFFFE
movl %ebp, %eax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0xffffffff, %r13d      # imm = 0xFFFFFFFF
jmp 0xa6242
callq 0x22fa3
callq 0x22e88
callq 0x22efa
callq 0x22ec1
callq 0x22f6a
callq 0x22f33