// File: /workspace/github_cpp_makefile_star2_O1/BenLangmead[P]bowtie/./hit.h
// Function: HitSink::dumpAlign(PatternSourcePerThread&)
void dumpAlign(PatternSourcePerThread& p) {
		if(!dumpAlignFlag_) return;
		const bool paired = p.bufa().mate > 0;
		if(!paired || onePairFile_) {
			// Dump unpaired read to an aligned-read file of the same format
			if(!dumpAlBase_.empty()) {
				ThreadSafe _ts(&dumpAlignLock_);
				if(dumpAl_ == NULL) {
					dumpAl_ = openOf(dumpAlBase_, 0, "");
					assert(dumpAl_ != NULL);
				}
				*dumpAl_ << p.bufa().readOrigBuf;
			}
		} else {
			// Dump paired-end read to an aligned-read file (or pair of
			// files) of the same format
			if(!dumpAlBase_.empty()) {
				ThreadSafe _ts(&dumpAlignLockPE_);
				if(dumpAl_1_ == NULL) {
					dumpAl_1_ = openOf(dumpAlBase_, 1, "");
					dumpAl_2_ = openOf(dumpAlBase_, 2, "");
					assert(dumpAl_1_ != NULL);
					assert(dumpAl_2_ != NULL);
				}
				*dumpAl_1_ << p.bufa().readOrigBuf;
				*dumpAl_2_ << p.bufb().readOrigBuf;
			}
		}
	}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x20, %rsp
cmpb $0x1, 0x1be(%rdi)
jne 0x26c38
movq %rsi, %r14
movq %rdi, %r15
movq 0x18(%rsi), %rax
imulq $0x268, 0x50(%rsi), %rcx # imm = 0x268
cmpl $0x0, 0x188(%rax,%rcx)
jle 0x26a84
cmpb $0x1, 0x168(%r15)
jne 0x26b28
cmpq $0x0, 0x110(%r15)
je 0x26c38
leaq 0x1b8(%r15), %rbx
movq %rbx, %rdi
callq 0x4bff0
cmpq $0x0, 0x170(%r15)
jne 0x26af8
leaq 0x10(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x31a99(%rip), %rdx     # 0x58555
movq %rsp, %rdi
movq %rdx, %rsi
callq 0x1dde4
leaq 0x108(%r15), %rsi
movq %rsp, %rcx
movq %r15, %rdi
xorl %edx, %edx
callq 0x26cb2
movq %rax, 0x170(%r15)
movq (%rsp), %rdi
cmpq %r12, %rdi
je 0x26af8
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x94c0
movq 0x170(%r15), %rdi
movq 0x18(%r14), %rax
imulq $0x268, 0x50(%r14), %rcx # imm = 0x268
leaq (%rax,%rcx), %rsi
addq $0x120, %rsi            # imm = 0x120
callq 0x271a6
movq %rbx, %rdi
callq 0x4c02c
jmp 0x26c38
cmpq $0x0, 0x110(%r15)
je 0x26c38
leaq 0x1b9(%r15), %rbx
movq %rbx, %rdi
callq 0x4bff0
cmpq $0x0, 0x178(%r15)
jne 0x26bea
leaq 0x10(%rsp), %r13
movq %r13, -0x10(%r13)
leaq 0x319f2(%rip), %rdx     # 0x58555
movq %rsp, %rdi
movq %rdx, %rsi
callq 0x1dde4
leaq 0x108(%r15), %r12
movq %rsp, %rcx
movq %r15, %rdi
movq %r12, %rsi
movl $0x1, %edx
callq 0x26cb2
movq %rax, 0x178(%r15)
movq (%rsp), %rdi
cmpq %r13, %rdi
je 0x26ba5
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x94c0
movq %rsp, %rdi
movq %r13, (%rdi)
leaq 0x319a3(%rip), %rdx     # 0x58555
movq %rdx, %rsi
callq 0x1dde4
movq %rsp, %rcx
movq %r15, %rdi
movq %r12, %rsi
movl $0x2, %edx
callq 0x26cb2
movq %rax, 0x180(%r15)
movq (%rsp), %rdi
cmpq %r13, %rdi
je 0x26bea
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x94c0
movq 0x178(%r15), %rdi
movq 0x18(%r14), %rax
imulq $0x268, 0x50(%r14), %rcx # imm = 0x268
leaq (%rax,%rcx), %rsi
addq $0x120, %rsi            # imm = 0x120
callq 0x271a6
movq 0x180(%r15), %rdi
movq 0x38(%r14), %rax
imulq $0x268, 0x50(%r14), %rcx # imm = 0x268
leaq (%rax,%rcx), %rsi
addq $0x120, %rsi            # imm = 0x120
callq 0x271a6
movq %rbx, %rdi
callq 0x4c02c
addq $0x20, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
jmp 0x26c4a
jmp 0x26c86
movq %rax, %r14
movq (%rsp), %rdi
cmpq %r13, %rdi
je 0x26c89
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x94c0
jmp 0x26c89
jmp 0x26c86
movq %rax, %r14
movq (%rsp), %rdi
cmpq %r12, %rdi
je 0x26c9a
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x94c0
jmp 0x26c9a
jmp 0x26c97
jmp 0x26caa
movq %rax, %r14
movq %rbx, %rdi
callq 0x4c02c
jmp 0x26ca2
jmp 0x26caa
jmp 0x26caa
movq %rax, %r14
movq %rbx, %rdi
callq 0x4c02c
movq %r14, %rdi
callq 0x9930
movq %rax, %rdi
callq 0x1b23d