// File: /workspace/github_c_makefile_star2_O1/OpenGene[P]pecheck/src/fastqreader.cpp
// Function: FastqReader::isZipFastq(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
bool FastqReader::isZipFastq(string filename) {
	if (ends_with(filename, ".fastq.gz"))
		return true;
	else if (ends_with(filename, ".fq.gz"))
		return true;
	else if (ends_with(filename, ".fasta.gz"))
		return true;
	else if (ends_with(filename, ".fa.gz"))
		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 0x8c61(%rip), %rsi      # 0xd042
leaq 0x8c63(%rip), %rdx      # 0xd04b
leaq 0x8(%rsp), %r14
movq %r14, %rdi
callq 0x4e10
movq 0x8(%r14), %rcx
movq 0x8(%rbx), %rax
cmpq %rax, %rcx
ja 0x4451
testq %rcx, %rcx
sete %r14b
je 0x4454
movq 0x8(%rsp), %rdx
movq (%rbx), %rsi
movb -0x1(%rdx,%rcx), %dil
cmpb -0x1(%rsi,%rax), %dil
jne 0x4451
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 0x4454
movb (%rdx,%rcx), %dil
leaq -0x1(%rcx), %r8
cmpb (%rax,%rcx), %dil
movq %r8, %rcx
je 0x4437
xorl %r14d, %r14d
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x446b
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x32e0
movb $0x1, %bpl
testb %r14b, %r14b
jne 0x4644
leaq 0x8(%rsp), %r14
movq %r15, (%r14)
leaq 0x8c03(%rip), %rsi      # 0xd089
leaq 0x8c02(%rip), %rdx      # 0xd08f
movq %r14, %rdi
callq 0x4e10
movq 0x8(%r14), %rcx
movq 0x8(%rbx), %rax
cmpq %rax, %rcx
ja 0x44f1
testq %rcx, %rcx
sete %r14b
je 0x44f4
movq 0x8(%rsp), %rdx
movq (%rbx), %rsi
movb -0x1(%rdx,%rcx), %dil
cmpb -0x1(%rsi,%rax), %dil
jne 0x44f1
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 0x44f4
movb (%rdx,%rcx), %dil
leaq -0x1(%rcx), %r8
cmpb (%rax,%rcx), %dil
movq %r8, %rcx
je 0x44d7
xorl %r14d, %r14d
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x450b
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x32e0
testb %r14b, %r14b
jne 0x4644
leaq 0x8(%rsp), %r14
movq %r15, (%r14)
leaq 0x8b29(%rip), %rsi      # 0xd04c
leaq 0x8b2b(%rip), %rdx      # 0xd055
movq %r14, %rdi
callq 0x4e10
movq 0x8(%r14), %rcx
movq 0x8(%rbx), %rax
cmpq %rax, %rcx
ja 0x458e
testq %rcx, %rcx
sete %r14b
je 0x4591
movq 0x8(%rsp), %rdx
movq (%rbx), %rsi
movb -0x1(%rdx,%rcx), %dil
cmpb -0x1(%rsi,%rax), %dil
jne 0x458e
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 0x4591
movb (%rdx,%rcx), %dil
leaq -0x1(%rcx), %r8
cmpb (%rax,%rcx), %dil
movq %r8, %rcx
je 0x4574
xorl %r14d, %r14d
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x45a8
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x32e0
testb %r14b, %r14b
jne 0x4644
leaq 0x8(%rsp), %r14
movq %r15, (%r14)
leaq 0x8a96(%rip), %rsi      # 0xd056
leaq 0x8a95(%rip), %rdx      # 0xd05c
movq %r14, %rdi
callq 0x4e10
movq 0x8(%r14), %rcx
movq 0x8(%rbx), %rax
cmpq %rax, %rcx
ja 0x462b
testq %rcx, %rcx
sete %bpl
je 0x462d
movq 0x8(%rsp), %rdx
movq (%rbx), %rsi
movb -0x1(%rdx,%rcx), %dil
cmpb -0x1(%rsi,%rax), %dil
jne 0x462b
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 0x462d
movb (%rdx,%rcx), %dil
leaq -0x1(%rcx), %r8
cmpb (%rax,%rcx), %dil
movq %r8, %rcx
je 0x4611
xorl %ebp, %ebp
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x4644
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x32e0
movl %ebp, %eax
addq $0x28, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
nop