// File: /workspace/github_cpp_makefile_star2_O3/mshabbirhasan[P]ups-indel/include/seqan/seq_io/read_fasta_fastq.h
// Function: int seqan::_readSequenceFastAQCharImpl<seqan::String<char, seqan::Alloc<void>>, seqan::RecordReader<seqan::String<char, seqan::MMap<seqan::MMapConfig<seqan::File<seqan::Async<void>>, unsigned long>>>, seqan::SinglePass<seqan::Tag<seqan::StringReader_>>>, seqan::Tag<seqan::TagFastq_>>(seqan::String<char, seqan::Alloc<void>>&, seqan::RecordReader<seqan::String<char, seqan::MMap<seqan::MMapConfig<seqan::File<seqan::Async<void>>, unsigned long>>>, seqan::SinglePass<seqan::Tag<seqan::StringReader_>>>&, seqan::Tag<seqan::TagFastq_> const&)
inline int
_readSequenceFastAQCharImpl(TString & string,
                            TRecordReader & reader,
                            TFormatTag const & /*formatTag*/)
{
    // The variable afterEol is true if we are after an EOL char and we are not at the beginning of the sequence
    // record.  Empty sequence lines are fine, non-existent ones are not.
    bool afterEol = false;

    while (!atEnd(reader))
    {
        char c = value(reader);
        if (c == '\r' || c == '\n')
        {
            afterEol = true;
            goNext(reader);
            if (resultCode(reader) != 0)
                return resultCode(reader);
            continue;
        }

        if (afterEol && c == AfterSeqFirstChar_<TFormatTag>::VALUE)
        {
            return 0;  // Done, at stop char.
        }

        if (!isspace(c))
            appendValue(string, c);
        afterEol = false;
        goNext(reader);
        if (resultCode(reader) != 0)
            return resultCode(reader);
    }

    return EOF_BEFORE_SUCCESS;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq 0x8(%rsi), %rcx
movl $0x400, %eax            # imm = 0x400
cmpq 0x10(%rsi), %rcx
je 0xeb5d
movq %rsi, %r14
movq %rdi, -0x38(%rbp)
xorl %ebx, %ebx
leaq 0x2ca4(%rip), %r15      # 0x1165a
leaq 0x2c72(%rip), %r12      # 0x1162f
movb $0x1, -0x29(%rbp)
movq %r15, %rdi
movl $0xca, %esi
leaq -0x29(%rbp), %rdx
movq %r12, %r13
movq %r12, %rcx
xorl %r8d, %r8d
xorl %eax, %eax
callq 0xb61f
testb %al, %al
je 0xeb6c
movq 0x8(%r14), %rax
movzbl (%rax), %r12d
cmpl $0xd, %r12d
je 0xe9f9
cmpl $0xa, %r12d
jne 0xea24
cmpq 0x10(%r14), %rax
setne -0x2a(%rbp)
movq %r15, %rdi
movl $0xbd, %esi
leaq -0x2a(%rbp), %rdx
movq %r13, %r12
movq %r13, %rcx
xorl %r8d, %r8d
xorl %eax, %eax
callq 0xb61f
movb $0x1, %bl
jmp 0xeb3b
cmpb $0x2b, %r12b
sete %al
testb %al, %bl
jne 0xeb5b
movsbl %r12b, %edi
callq 0x3060
testl %eax, %eax
jne 0xeb0a
movq -0x38(%rbp), %rcx
movq (%rcx), %rdx
movq 0x8(%rcx), %rsi
movq %rsi, %rbx
subq %rdx, %rbx
movq 0x10(%rcx), %r15
cmpq %rbx, %r15
jbe 0xea70
movb %r12b, (%rdx,%rbx)
movq (%rcx), %rax
addq %rbx, %rax
incq %rax
jmp 0xeb06
leaq 0x1(%rbx), %rax
cmpq %rax, %r15
jae 0xeaf6
movq %rsi, -0x48(%rbp)
movq %rax, %r15
shrq %r15
addq %rax, %r15
movq %rax, -0x50(%rbp)
cmpq $0x20, %rax
movl $0x20, %eax
cmovbq %rax, %r15
leaq 0x1(%r15), %rdi
movq %rdx, -0x40(%rbp)
callq 0x3340
movq -0x40(%rbp), %rdi
movq -0x38(%rbp), %rcx
movq %rax, (%rcx)
movq %r15, 0x10(%rcx)
testq %rdi, %rdi
je 0xeae3
cmpq %rdi, -0x48(%rbp)
je 0xead1
movq %rax, %rdi
movq -0x40(%rbp), %rsi
movq %rbx, %rdx
callq 0x3530
movq -0x40(%rbp), %rdi
callq 0x32f0
movq -0x38(%rbp), %rdx
movq (%rdx), %rax
movq 0x10(%rdx), %r15
jmp 0xeae7
movq -0x38(%rbp), %rdx
leaq (%rax,%rbx), %rcx
movq %rcx, 0x8(%rdx)
movq %rax, %rdx
movq -0x50(%rbp), %rax
cmpq %r15, %rbx
jae 0xeb0a
movb %r12b, (%rdx,%rbx)
movq -0x38(%rbp), %rcx
addq (%rcx), %rax
movq %rax, 0x8(%rcx)
movq 0x8(%r14), %rax
cmpq 0x10(%r14), %rax
setne -0x2b(%rbp)
xorl %ebx, %ebx
leaq 0x2b3b(%rip), %r15      # 0x1165a
movq %r15, %rdi
movl $0xbd, %esi
leaq -0x2b(%rbp), %rdx
movq %r13, %r12
movq %r13, %rcx
xorl %r8d, %r8d
xorl %eax, %eax
callq 0xb61f
testb %al, %al
je 0xeb6c
movq 0x8(%r14), %rax
incq %rax
movq %rax, 0x8(%r14)
cmpq 0x10(%r14), %rax
jne 0xe9bd
movl $0x400, %eax            # imm = 0x400
jmp 0xeb5d
xorl %eax, %eax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
callq 0x31e0