// File: /workspace/github_cpp_makefile_star2_O1/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 $0x38, %rsp
movq 0x8(%rsi), %rcx
movl $0x400, %eax            # imm = 0x400
cmpq 0x10(%rsi), %rcx
je 0xf2aa
movq %rsi, %r14
movq %rdi, -0x38(%rbp)
xorl %r15d, %r15d
leaq 0x259c(%rip), %r12      # 0x11694
leaq 0x2530(%rip), %r13      # 0x1162f
movb $0x1, -0x29(%rbp)
movq %r12, %rdi
movl $0xca, %esi
leaq -0x29(%rbp), %rdx
movq %r13, %rcx
xorl %r8d, %r8d
xorl %eax, %eax
callq 0xb89e
testb %al, %al
je 0xf29c
movq 0x8(%r14), %rax
movzbl (%rax), %ebx
cmpl $0xd, %ebx
je 0xf135
cmpl $0xa, %ebx
jne 0xf182
cmpq 0x10(%r14), %rax
setne -0x2a(%rbp)
movq %r12, %rdi
movl $0xbd, %esi
leaq -0x2a(%rbp), %rdx
movq %r13, %rcx
xorl %r8d, %r8d
xorl %eax, %eax
callq 0xb89e
testb %al, %al
je 0xf29c
movl $0x2, %ecx
movb $0x1, %r15b
incq 0x8(%r14)
testb $0x1, %cl
jne 0xf2a8
movq 0x8(%r14), %rax
cmpq 0x10(%r14), %rax
jne 0xf0ff
jmp 0xf2a1
cmpb $0x2b, %bl
sete %al
movl $0x1, %ecx
testb %r15b, %al
jne 0xf16a
movsbl %bl, %edi
callq 0x3060
testl %eax, %eax
jne 0xf267
movq -0x38(%rbp), %rcx
movq (%rcx), %rsi
movq 0x8(%rcx), %rdi
movq %rdi, %r15
subq %rsi, %r15
movq 0x10(%rcx), %rax
cmpq %r15, %rax
jbe 0xf1cf
movb %bl, (%rsi,%r15)
movq (%rcx), %rax
leaq (%rax,%r15), %rdx
incq %rdx
jmp 0xf263
leaq 0x1(%r15), %rdx
cmpq %rdx, %rax
jae 0xf24f
movq %rdi, -0x48(%rbp)
movq %rdx, %rcx
shrq %rcx
addq %rdx, %rcx
movq %rdx, -0x58(%rbp)
cmpq $0x20, %rdx
movl $0x20, %eax
cmovbq %rax, %rcx
movq %rcx, -0x50(%rbp)
leaq 0x1(%rcx), %rdi
movq %rsi, -0x40(%rbp)
callq 0x3340
movq -0x40(%rbp), %rdi
movq -0x38(%rbp), %rcx
movq %rax, (%rcx)
movq -0x50(%rbp), %rdx
movq %rdx, 0x10(%rcx)
testq %rdi, %rdi
je 0xf241
cmpq %rdi, -0x48(%rbp)
je 0xf238
movq %rax, %rdi
movq -0x40(%rbp), %rsi
movq %r15, %rdx
callq 0x3530
movq -0x40(%rbp), %rdi
callq 0x32f0
movq -0x38(%rbp), %rcx
movq (%rcx), %rax
addq %r15, %rax
movq %rax, 0x8(%rcx)
movq -0x58(%rbp), %rdx
cmpq 0x10(%rcx), %r15
jae 0xf267
movq -0x38(%rbp), %rcx
movq (%rcx), %rax
movb %bl, (%rax,%r15)
addq (%rcx), %rdx
movq %rdx, 0x8(%rcx)
movq 0x8(%r14), %rax
cmpq 0x10(%r14), %rax
setne -0x2b(%rbp)
xorl %r15d, %r15d
movq %r12, %rdi
movl $0xbd, %esi
leaq -0x2b(%rbp), %rdx
movq %r13, %rcx
xorl %r8d, %r8d
xorl %eax, %eax
callq 0xb89e
movl $0x0, %ecx
testb %al, %al
jne 0xf166
callq 0x31e0
movl $0x400, %eax            # imm = 0x400
jmp 0xf2aa
xorl %eax, %eax
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq