// File: /workspace/github_cpp_makefile_star2_O2/BenLangmead[P]bowtie/./hit.h
// Function: HitSink::dumpMaxed(PatternSourcePerThread&)
void dumpMaxed(PatternSourcePerThread& p) {
		if(!dumpMaxedFlag_) {
			if(dumpUnalignFlag_) dumpUnal(p);
			return;
		}
		const bool paired = p.bufa().mate > 0;
		if(!paired || onePairFile_) {
			// Dump unpaired read to an maxed-out-read file of the same format
			if(!dumpMaxBase_.empty()) {
				ThreadSafe _ts(&dumpMaxLock_);
				if(dumpMax_ == NULL) {
					dumpMax_ = openOf(dumpMaxBase_, 0, "");
					assert(dumpMax_ != NULL);
				}
				*dumpMax_ << p.bufa().readOrigBuf.toZBuf();
			}
		} else {
			// Dump paired-end read to a maxed-out-read file (or pair
			// of files) of the same format
			if(!dumpMaxBase_.empty()) {
				ThreadSafe _ts(&dumpMaxLockPE_);
				if(dumpMax_1_ == NULL) {
					dumpMax_1_ = openOf(dumpMaxBase_, 1, "");
					dumpMax_2_ = openOf(dumpMaxBase_, 2, "");
					assert(dumpMax_1_ != NULL);
					assert(dumpMax_2_ != NULL);
				}
				*dumpMax_1_ << p.bufa().readOrigBuf;
				*dumpMax_2_ << p.bufb().readOrigBuf;
			}
		}
	}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x30, %rsp
movq %rsi, %rbx
movq %rdi, %r14
cmpb $0x0, 0x1c0(%rdi)
je 0x1e844
movq 0x18(%rbx), %rax
imulq $0x268, 0x50(%rbx), %rcx # imm = 0x268
cmpl $0x0, 0x188(%rax,%rcx)
jle 0x1e7a0
cmpb $0x1, 0x168(%r14)
jne 0x1e866
cmpq $0x0, 0x150(%r14)
je 0x1e96f
leaq 0x1bc(%r14), %rdi
movq %rdi, 0x8(%rsp)
callq 0x40dda
movq 0x1a0(%r14), %rdi
testq %rdi, %rdi
jne 0x1e80f
leaq 0x2dda3(%rip), %rsi     # 0x4c575
leaq 0x10(%rsp), %rdi
leaq 0x7(%rsp), %rdx
callq 0x15df2
leaq 0x148(%r14), %rsi
leaq 0x10(%rsp), %rcx
movq %r14, %rdi
xorl %edx, %edx
callq 0x1edf4
movq %rax, 0x1a0(%r14)
leaq 0x10(%rsp), %rdi
callq 0x9a68
movq 0x1a0(%r14), %rdi
imulq $0x268, 0x50(%rbx), %rax # imm = 0x268
movq 0x18(%rbx), %rcx
leaq (%rcx,%rax), %rsi
addq $0x120, %rsi            # imm = 0x120
movq 0x20(%rsi), %rax
testq %rax, %rax
je 0x1e958
movq 0x8(%rsi), %rcx
movb $0x0, (%rcx,%rax)
movq 0x8(%rsi), %rsi
jmp 0x1e960
cmpb $0x1, 0x1bf(%r14)
jne 0x1e96f
movq %r14, %rdi
movq %rbx, %rsi
addq $0x30, %rsp
popq %rbx
popq %r14
popq %r15
jmp 0x1e9aa
cmpq $0x0, 0x150(%r14)
je 0x1e96f
leaq 0x1bd(%r14), %rdi
movq %rdi, 0x8(%rsp)
callq 0x40dda
movq 0x1a8(%r14), %rdi
testq %rdi, %rdi
jne 0x1e917
leaq 0x2dcd9(%rip), %rsi     # 0x4c575
leaq 0x10(%rsp), %rdi
leaq 0x7(%rsp), %rdx
callq 0x15df2
leaq 0x148(%r14), %r15
pushq $0x1
popq %rdx
leaq 0x10(%rsp), %rcx
movq %r14, %rdi
movq %r15, %rsi
callq 0x1edf4
movq %rax, 0x1a8(%r14)
leaq 0x10(%rsp), %rdi
callq 0x9a68
leaq 0x2dc98(%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, 0x1b0(%r14)
leaq 0x10(%rsp), %rdi
callq 0x9a68
movq 0x1a8(%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 0x1b0(%r14), %rdi
movq 0x38(%rbx), %rax
imulq $0x268, 0x50(%rbx), %rcx # imm = 0x268
leaq (%rax,%rcx), %rsi
addq $0x120, %rsi            # imm = 0x120
callq 0x1f09f
jmp 0x1e965
movb $0x0, 0x19(%rsi)
addq $0x19, %rsi
callq 0x94e0
leaq 0x8(%rsp), %rdi
callq 0x1a9ee
addq $0x30, %rsp
popq %rbx
popq %r14
popq %r15
retq
jmp 0x1e981
jmp 0x1e994
jmp 0x1e981
jmp 0x1e994
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x9a68
jmp 0x1e997
jmp 0x1e994
jmp 0x1e994
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x1a9ee
movq %rbx, %rdi
callq 0x9950
nop