// File: /workspace/github_cpp_makefile_star2_O2/BenLangmead[P]bowtie/./hit.h
// Function: HitSink::dumpUnal(PatternSourcePerThread&)
void dumpUnal(PatternSourcePerThread& p) {
		if(!dumpUnalignFlag_) return;
		const bool paired = p.bufa().mate > 0;
		if(!paired || onePairFile_) {
			// Dump unpaired read to an unaligned-read file of the same format
			if(!dumpUnalBase_.empty()) {
				ThreadSafe _ts(&dumpUnalLock_);
				if(dumpUnal_ == NULL) {
					dumpUnal_ = openOf(dumpUnalBase_, 0, "");
					assert(dumpUnal_ != NULL);
				}
				*dumpUnal_ << p.bufa().readOrigBuf;
			}
		} else {
			// Dump paired-end read to an unaligned-read file (or pair
			// of files) of the same format
			if(!dumpUnalBase_.empty()) {
				ThreadSafe _ts(&dumpUnalLockPE_);
				if(dumpUnal_1_ == NULL) {
					assert(dumpUnal_1_ == NULL);
					assert(dumpUnal_2_ == NULL);
					dumpUnal_1_ = openOf(dumpUnalBase_, 1, "");
					dumpUnal_2_ = openOf(dumpUnalBase_, 2, "");
					assert(dumpUnal_1_ != NULL);
					assert(dumpUnal_2_ != NULL);
				}
				*dumpUnal_1_ << p.bufa().readOrigBuf;
				*dumpUnal_2_ << p.bufb().readOrigBuf;
			}
		}
	}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x30, %rsp
cmpb $0x1, 0x1bf(%rdi)
jne 0x1eb74
movq %rsi, %rbx
movq %rdi, %r14
movq 0x18(%rsi), %rax
imulq $0x268, 0x50(%rsi), %rcx # imm = 0x268
cmpl $0x0, 0x188(%rax,%rcx)
jle 0x1e9ea
cmpb $0x1, 0x168(%r14)
jne 0x1ea7a
cmpq $0x0, 0x130(%r14)
je 0x1eb74
leaq 0x1ba(%r14), %rdi
movq %rdi, 0x8(%rsp)
callq 0x40dda
movq 0x188(%r14), %rdi
testq %rdi, %rdi
jne 0x1ea59
leaq 0x2db59(%rip), %rsi     # 0x4c575
leaq 0x10(%rsp), %rdi
leaq 0x7(%rsp), %rdx
callq 0x15df2
leaq 0x128(%r14), %rsi
leaq 0x10(%rsp), %rcx
movq %r14, %rdi
xorl %edx, %edx
callq 0x1edf4
movq %rax, 0x188(%r14)
leaq 0x10(%rsp), %rdi
callq 0x9a68
movq 0x188(%r14), %rdi
movq 0x18(%rbx), %rax
imulq $0x268, 0x50(%rbx), %rcx # imm = 0x268
leaq (%rax,%rcx), %rsi
addq $0x120, %rsi            # imm = 0x120
callq 0x1f09f
jmp 0x1eb6a
cmpq $0x0, 0x130(%r14)
je 0x1eb74
leaq 0x1bb(%r14), %rdi
movq %rdi, 0x8(%rsp)
callq 0x40dda
movq 0x190(%r14), %rdi
testq %rdi, %rdi
jne 0x1eb2b
leaq 0x2dac5(%rip), %rsi     # 0x4c575
leaq 0x10(%rsp), %rdi
leaq 0x7(%rsp), %rdx
callq 0x15df2
leaq 0x128(%r14), %r15
pushq $0x1
popq %rdx
leaq 0x10(%rsp), %rcx
movq %r14, %rdi
movq %r15, %rsi
callq 0x1edf4
movq %rax, 0x190(%r14)
leaq 0x10(%rsp), %rdi
callq 0x9a68
leaq 0x2da84(%rip), %rsi     # 0x4c575
leaq 0x10(%rsp), %rdi
leaq 0x7(%rsp), %rdx
callq 0x15df2
pushq $0x2
popq %rdx
leaq 0x10(%rsp), %rcx
movq %r14, %rdi
movq %r15, %rsi
callq 0x1edf4
movq %rax, 0x198(%r14)
leaq 0x10(%rsp), %rdi
callq 0x9a68
movq 0x190(%r14), %rdi
movq 0x18(%rbx), %rax
imulq $0x268, 0x50(%rbx), %rcx # imm = 0x268
leaq (%rax,%rcx), %rsi
addq $0x120, %rsi            # imm = 0x120
callq 0x1f09f
movq 0x198(%r14), %rdi
movq 0x38(%rbx), %rax
imulq $0x268, 0x50(%rbx), %rcx # imm = 0x268
leaq (%rax,%rcx), %rsi
addq $0x120, %rsi            # imm = 0x120
callq 0x1f09f
leaq 0x8(%rsp), %rdi
callq 0x1a9ee
addq $0x30, %rsp
popq %rbx
popq %r14
popq %r15
retq
jmp 0x1eb86
jmp 0x1eb99
jmp 0x1eb86
jmp 0x1eb99
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x9a68
jmp 0x1eb9c
jmp 0x1eb99
jmp 0x1eb99
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x1a9ee
movq %rbx, %rdi
callq 0x9950