// File: /workspace/github_c_makefile_star2_O0/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:
subq $0x108, %rsp            # imm = 0x108
movq %rdi, 0x38(%rsp)
movq %rdi, 0xf8(%rsp)
leaq 0xd7(%rsp), %rdi
movq %rdi, 0x40(%rsp)
callq 0x46b0
movq 0x40(%rsp), %rdx
leaq 0x10560(%rip), %rsi     # 0x16042
leaq 0xd8(%rsp), %rdi
callq 0x67f0
jmp 0x5af1
movq 0x38(%rsp), %rdi
leaq 0xd8(%rsp), %rsi
callq 0x6760
movb %al, 0x37(%rsp)
jmp 0x5b09
leaq 0xd8(%rsp), %rdi
callq 0x4758
leaq 0xd7(%rsp), %rdi
callq 0x43e0
movb 0x37(%rsp), %al
testb $0x1, %al
jne 0x5b2d
jmp 0x5b83
movb $0x1, 0x107(%rsp)
jmp 0x5d98
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0xc8(%rsp)
movl %eax, 0xc4(%rsp)
jmp 0x5b71
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0xc8(%rsp)
movl %eax, 0xc4(%rsp)
leaq 0xd8(%rsp), %rdi
callq 0x4758
leaq 0xd7(%rsp), %rdi
callq 0x43e0
jmp 0x5da9
leaq 0x9f(%rsp), %rdi
movq %rdi, 0x28(%rsp)
callq 0x46b0
movq 0x28(%rsp), %rdx
leaq 0x104e8(%rip), %rsi     # 0x16089
leaq 0xa0(%rsp), %rdi
callq 0x67f0
jmp 0x5bb0
movq 0x38(%rsp), %rdi
leaq 0xa0(%rsp), %rsi
callq 0x6760
movb %al, 0x27(%rsp)
jmp 0x5bc8
leaq 0xa0(%rsp), %rdi
callq 0x4758
leaq 0x9f(%rsp), %rdi
callq 0x43e0
movb 0x27(%rsp), %al
testb $0x1, %al
jne 0x5bec
jmp 0x5c42
movb $0x1, 0x107(%rsp)
jmp 0x5d98
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0xc8(%rsp)
movl %eax, 0xc4(%rsp)
jmp 0x5c30
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0xc8(%rsp)
movl %eax, 0xc4(%rsp)
leaq 0xa0(%rsp), %rdi
callq 0x4758
leaq 0x9f(%rsp), %rdi
callq 0x43e0
jmp 0x5da9
leaq 0x77(%rsp), %rdi
movq %rdi, 0x18(%rsp)
callq 0x46b0
movq 0x18(%rsp), %rdx
leaq 0x103ef(%rip), %rsi     # 0x1604c
leaq 0x78(%rsp), %rdi
callq 0x67f0
jmp 0x5c69
movq 0x38(%rsp), %rdi
leaq 0x78(%rsp), %rsi
callq 0x6760
movb %al, 0x17(%rsp)
jmp 0x5c7e
leaq 0x78(%rsp), %rdi
callq 0x4758
leaq 0x77(%rsp), %rdi
callq 0x43e0
movb 0x17(%rsp), %al
testb $0x1, %al
jne 0x5c9c
jmp 0x5cec
movb $0x1, 0x107(%rsp)
jmp 0x5d98
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0xc8(%rsp)
movl %eax, 0xc4(%rsp)
jmp 0x5cdd
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0xc8(%rsp)
movl %eax, 0xc4(%rsp)
leaq 0x78(%rsp), %rdi
callq 0x4758
leaq 0x77(%rsp), %rdi
callq 0x43e0
jmp 0x5da9
leaq 0x4f(%rsp), %rdi
movq %rdi, 0x8(%rsp)
callq 0x46b0
movq 0x8(%rsp), %rdx
leaq 0x1034f(%rip), %rsi     # 0x16056
leaq 0x50(%rsp), %rdi
callq 0x67f0
jmp 0x5d13
movq 0x38(%rsp), %rdi
leaq 0x50(%rsp), %rsi
callq 0x6760
movb %al, 0x7(%rsp)
jmp 0x5d28
leaq 0x50(%rsp), %rdi
callq 0x4758
leaq 0x4f(%rsp), %rdi
callq 0x43e0
movb 0x7(%rsp), %al
testb $0x1, %al
jne 0x5d46
jmp 0x5d90
movb $0x1, 0x107(%rsp)
jmp 0x5d98
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0xc8(%rsp)
movl %eax, 0xc4(%rsp)
jmp 0x5d84
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0xc8(%rsp)
movl %eax, 0xc4(%rsp)
leaq 0x50(%rsp), %rdi
callq 0x4758
leaq 0x4f(%rsp), %rdi
callq 0x43e0
jmp 0x5da9
movb $0x0, 0x107(%rsp)
movb 0x107(%rsp), %al
andb $0x1, %al
addq $0x108, %rsp            # imm = 0x108
retq
movq 0xc8(%rsp), %rdi
callq 0x46a0
nopw %cs:(%rax,%rax)