// File: /workspace/github_c_makefile_star2_O1/OpenGene[P]pecheck/src/fastqreader.cpp
// Function: FastqReader::isFastq(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
bool FastqReader::isFastq(string filename) {
	if (ends_with(filename, ".fastq"))
		return true;
	else if (ends_with(filename, ".fq"))
		return true;
	else if (ends_with(filename, ".fasta"))
		return true;
	else if (ends_with(filename, ".fa"))
		return true;
	else
		return false;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x28, %rsp
movq %rdi, %rbx
leaq 0x18(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x89ee(%rip), %rsi      # 0xd05d
leaq 0x89ed(%rip), %rdx      # 0xd063
leaq 0x8(%rsp), %r14
movq %r14, %rdi
callq 0x4e10
movq 0x8(%r14), %rcx
movq 0x8(%rbx), %rax
cmpq %rax, %rcx
ja 0x46df
testq %rcx, %rcx
sete %r14b
je 0x46e2
movq 0x8(%rsp), %rdx
movq (%rbx), %rsi
movb -0x1(%rdx,%rcx), %dil
cmpb -0x1(%rsi,%rax), %dil
jne 0x46df
addq %rsi, %rax
addq $-0x2, %rax
addq %rcx, %rdx
addq $-0x2, %rdx
movl $0x1, %esi
subq %rcx, %rsi
xorl %ecx, %ecx
cmpq %rcx, %rsi
sete %r14b
je 0x46e2
movb (%rdx,%rcx), %dil
leaq -0x1(%rcx), %r8
cmpb (%rax,%rcx), %dil
movq %r8, %rcx
je 0x46c5
xorl %r14d, %r14d
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x46f9
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x32e0
movb $0x1, %bpl
testb %r14b, %r14b
jne 0x48d2
leaq 0x8(%rsp), %r14
movq %r15, (%r14)
leaq 0x8966(%rip), %rsi      # 0xd07a
leaq 0x8962(%rip), %rdx      # 0xd07d
movq %r14, %rdi
callq 0x4e10
movq 0x8(%r14), %rcx
movq 0x8(%rbx), %rax
cmpq %rax, %rcx
ja 0x477f
testq %rcx, %rcx
sete %r14b
je 0x4782
movq 0x8(%rsp), %rdx
movq (%rbx), %rsi
movb -0x1(%rdx,%rcx), %dil
cmpb -0x1(%rsi,%rax), %dil
jne 0x477f
addq %rsi, %rax
addq $-0x2, %rax
addq %rcx, %rdx
addq $-0x2, %rdx
movl $0x1, %esi
subq %rcx, %rsi
xorl %ecx, %ecx
cmpq %rcx, %rsi
sete %r14b
je 0x4782
movb (%rdx,%rcx), %dil
leaq -0x1(%rcx), %r8
cmpb (%rax,%rcx), %dil
movq %r8, %rcx
je 0x4765
xorl %r14d, %r14d
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x4799
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x32e0
testb %r14b, %r14b
jne 0x48d2
leaq 0x8(%rsp), %r14
movq %r15, (%r14)
leaq 0x88b3(%rip), %rsi      # 0xd064
leaq 0x88b2(%rip), %rdx      # 0xd06a
movq %r14, %rdi
callq 0x4e10
movq 0x8(%r14), %rcx
movq 0x8(%rbx), %rax
cmpq %rax, %rcx
ja 0x481c
testq %rcx, %rcx
sete %r14b
je 0x481f
movq 0x8(%rsp), %rdx
movq (%rbx), %rsi
movb -0x1(%rdx,%rcx), %dil
cmpb -0x1(%rsi,%rax), %dil
jne 0x481c
addq %rsi, %rax
addq $-0x2, %rax
addq %rcx, %rdx
addq $-0x2, %rdx
movl $0x1, %esi
subq %rcx, %rsi
xorl %ecx, %ecx
cmpq %rcx, %rsi
sete %r14b
je 0x481f
movb (%rdx,%rcx), %dil
leaq -0x1(%rcx), %r8
cmpb (%rax,%rcx), %dil
movq %r8, %rcx
je 0x4802
xorl %r14d, %r14d
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x4836
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x32e0
testb %r14b, %r14b
jne 0x48d2
leaq 0x8(%rsp), %r14
movq %r15, (%r14)
leaq 0x881d(%rip), %rsi      # 0xd06b
leaq 0x8819(%rip), %rdx      # 0xd06e
movq %r14, %rdi
callq 0x4e10
movq 0x8(%r14), %rcx
movq 0x8(%rbx), %rax
cmpq %rax, %rcx
ja 0x48b9
testq %rcx, %rcx
sete %bpl
je 0x48bb
movq 0x8(%rsp), %rdx
movq (%rbx), %rsi
movb -0x1(%rdx,%rcx), %dil
cmpb -0x1(%rsi,%rax), %dil
jne 0x48b9
addq %rsi, %rax
addq $-0x2, %rax
addq %rcx, %rdx
addq $-0x2, %rdx
movl $0x1, %esi
subq %rcx, %rsi
xorl %ecx, %ecx
cmpq %rcx, %rsi
sete %bpl
je 0x48bb
movb (%rdx,%rcx), %dil
leaq -0x1(%rcx), %r8
cmpb (%rax,%rcx), %dil
movq %r8, %rcx
je 0x489f
xorl %ebp, %ebp
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x48d2
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x32e0
movl %ebp, %eax
addq $0x28, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
nop