// File: BenLangmead[P]bowtie/./aligner.h
// Function: PairedBWAlignerV2<EbwtRangeSource>::resolveOutstandingInRef(std::pair<unsigned int, unsigned int> const&, unsigned int, Range const&)
bool resolveOutstandingInRef(const UPair& off,
	                             const TIndexOffU tlen,
	                             const Range& range)
	{
		assert(!donePe_);
		assert(refs_->loaded());
		assert_lt(off.first, refs_->numRefs());
		// pairFw = true if the anchor indicates that the pair will
		// align in its forward orientation (i.e. with mate1 to the
		// left of mate2)
		bool pairFw = (range.mate1)? (range.fw == fw1_) : (range.fw == fw2_);
		// matchRight = true, if the opposite mate will be to the right
		// of the anchor mate
		bool matchRight = (pairFw ? range.mate1 : !range.mate1);
		// fw = orientation of the opposite mate
		bool fw = range.mate1 ? fw2_ : fw1_; // whether outstanding mate is fw/rc
		if(!pairFw) fw = !fw;
		// 'seq' = sequence for opposite mate
		const BTDnaString& seq  =
			fw ? (range.mate1 ? patsrc_->bufb().patFw   :
		                        patsrc_->bufa().patFw)  :
		         (range.mate1 ? patsrc_->bufb().patRc   :
		                        patsrc_->bufa().patRc);
		// 'qual' = qualities for opposite mate
		const BTString& qual =
			fw ? (range.mate1 ? patsrc_->bufb().qual  :
			                    patsrc_->bufa().qual) :
			     (range.mate1 ? patsrc_->bufb().qualRev :
			                    patsrc_->bufa().qualRev);
		uint32_t qlen = (uint32_t)seq.length();  // length of outstanding mate
		uint32_t alen = (range.mate1 ? patsrc_->bufa().length() :
		                               patsrc_->bufb().length());
		int minins = minInsert_;
		int maxins = maxInsert_;
		if(fw1_) {
			minins = max<int>(0, minins - patsrc_->bufa().trimmed5);
			maxins = max<int>(0, maxins - patsrc_->bufa().trimmed5);
		} else {
			minins = max<int>(0, minins - patsrc_->bufa().trimmed3);
			maxins = max<int>(0, maxins - patsrc_->bufa().trimmed3);
		}
		if(fw2_) {
			minins = max<int>(0, minins - patsrc_->bufb().trimmed3);
			maxins = max<int>(0, maxins - patsrc_->bufb().trimmed3);
		} else {
			minins = max<int>(0, minins - patsrc_->bufb().trimmed5);
			maxins = max<int>(0, maxins - patsrc_->bufb().trimmed5);
		}
		assert_geq(minins, 0);
		assert_geq(maxins, 0);
		// Don't even try if either of the mates is longer than the
		// maximum insert size.
		if((uint32_t)maxins <= max(qlen, alen)) {
			return false;
		}
		const TIndexOffU tidx = off.first;  // text id where anchor mate hit
		const TIndexOffU toff = off.second; // offset where anchor mate hit
		// Set begin/end to the range of reference positions where
		// outstanding mate may align while fulfilling insert-length
		// constraints.
		TIndexOffU begin, end;
		assert_geq(maxins, minins);
		TIndexOffU insDiff = maxins - minins;
		if(matchRight) {
			end = toff + maxins;
			// Adding 1 disallows the opposite from starting at the
			// left-hand edge of the anchor mate.
			begin = toff + (gAllowMateContainment ? 0 : 1);
			// We can also add a bit more if qlen is less than alen,
			// since we're requiring that opposite not be contained
			// within anchor.
			if(!gAllowMateContainment && qlen < alen) {
				begin += alen-qlen;
			}
			if(end > insDiff + qlen) {
				begin = max<TIndexOffU>(begin, end - insDiff - qlen);
			}
			end = min<TIndexOffU>(refs_->approxLen(tidx), end);
			begin = min<TIndexOffU>(refs_->approxLen(tidx), begin);
		} else {
			if(toff + alen < (TIndexOffU)maxins) {
				begin = 0;
			} else {
				begin = toff + alen - maxins;
			}
			uint32_t mi = min<uint32_t>(alen, qlen);
			if(gAllowMateContainment) {
				end = toff + alen - 1;
			} else {
				end = toff + mi - 1;
				end = min<TIndexOffU>(end, toff + alen - minins + qlen - 1);
				if(toff + alen + qlen < (TIndexOffU)minins + 1) end = 0;
			}
		}
		// Check if there's not enough space in the range to fit an
		// alignment for the outstanding mate.
		if(end - begin < qlen) return false;
		EList<Range> ranges;
		EList<TIndexOffU> offs;
		refAligner_->find(1, tidx, refs_, seq, qual, begin, end, ranges,
		                  offs, pairFw ? &pairs_fw_ : &pairs_rc_,
		                  toff, fw);
		assert_eq(ranges.size(), offs.size());
		for(size_t i = 0; i < ranges.size(); i++) {
			Range& r = ranges[i];
			r.fw = fw;
			r.cost |= (r.stratum << 14);
			r.mate1 = !range.mate1;
			const TIndexOffU result = offs[i];
			// Just copy the known range's top and bot for now
			r.top = range.top;
			r.bot = range.bot;
			bool ebwtLFw = matchRight ? range.ebwt->fw() : true;
			bool ebwtRFw = matchRight ? true : range.ebwt->fw();
			if(report(
				matchRight ? range : r, // range for upstream mate
				matchRight ? r : range, // range for downstream mate
				tidx,                   // ref idx
				matchRight ? toff : result, // upstream offset
				matchRight ? result : toff, // downstream offset
				tlen,       // length of ref
				pairFw,     // whether the pair is being mapped to fw strand
				ebwtLFw,
				ebwtRFw)) return true;
		}
		return false;
	}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x258, %rsp            # imm = 0x258
movq %rdi, -0x28(%rbp)
movq %rsi, -0x30(%rbp)
movl %edx, -0x34(%rbp)
movq %rcx, -0x40(%rbp)
movq -0x28(%rbp), %rax
movq %rax, -0x148(%rbp)
movq -0x40(%rbp), %rax
testb $0x1, 0x15(%rax)
je 0x63dd0
movq -0x148(%rbp), %rcx
movq -0x40(%rbp), %rax
movb 0x14(%rax), %al
andb $0x1, %al
movzbl %al, %eax
movb 0xc0(%rcx), %cl
andb $0x1, %cl
movzbl %cl, %ecx
cmpl %ecx, %eax
sete %al
movb %al, -0x149(%rbp)
jmp 0x63dfa
movq -0x148(%rbp), %rcx
movq -0x40(%rbp), %rax
movb 0x14(%rax), %al
andb $0x1, %al
movzbl %al, %eax
movb 0xc1(%rcx), %cl
andb $0x1, %cl
movzbl %cl, %ecx
cmpl %ecx, %eax
sete %al
movb %al, -0x149(%rbp)
movb -0x149(%rbp), %al
andb $0x1, %al
movb %al, -0x41(%rbp)
testb $0x1, -0x41(%rbp)
je 0x63e1a
movq -0x40(%rbp), %rax
movb 0x15(%rax), %al
movb %al, -0x14a(%rbp)
jmp 0x63e29
movq -0x40(%rbp), %rax
movb 0x15(%rax), %al
xorb $-0x1, %al
movb %al, -0x14a(%rbp)
movb -0x14a(%rbp), %al
andb $0x1, %al
movb %al, -0x42(%rbp)
movq -0x40(%rbp), %rax
testb $0x1, 0x15(%rax)
je 0x63e53
movq -0x148(%rbp), %rax
movb 0xc1(%rax), %al
movb %al, -0x14b(%rbp)
jmp 0x63e66
movq -0x148(%rbp), %rax
movb 0xc0(%rax), %al
movb %al, -0x14b(%rbp)
movb -0x14b(%rbp), %al
andb $0x1, %al
movb %al, -0x43(%rbp)
testb $0x1, -0x41(%rbp)
jne 0x63e81
movb -0x43(%rbp), %al
xorb $-0x1, %al
andb $0x1, %al
movb %al, -0x43(%rbp)
testb $0x1, -0x43(%rbp)
je 0x63ed1
movq -0x40(%rbp), %rax
testb $0x1, 0x15(%rax)
je 0x63eaa
movq -0x148(%rbp), %rax
movq 0x58(%rax), %rdi
callq 0x38890
movq %rax, -0x158(%rbp)
jmp 0x63ec1
movq -0x148(%rbp), %rax
movq 0x58(%rax), %rdi
callq 0x37f00
movq %rax, -0x158(%rbp)
movq -0x158(%rbp), %rax
movq %rax, -0x160(%rbp)
jmp 0x63f21
movq -0x40(%rbp), %rax
testb $0x1, 0x15(%rax)
je 0x63ef8
movq -0x148(%rbp), %rax
movq 0x58(%rax), %rdi
callq 0x38890
addq $0x30, %rax
movq %rax, -0x168(%rbp)
jmp 0x63f13
movq -0x148(%rbp), %rax
movq 0x58(%rax), %rdi
callq 0x37f00
addq $0x30, %rax
movq %rax, -0x168(%rbp)
movq -0x168(%rbp), %rax
movq %rax, -0x160(%rbp)
movq -0x160(%rbp), %rax
movq %rax, -0x50(%rbp)
testb $0x1, -0x43(%rbp)
je 0x63f84
movq -0x40(%rbp), %rax
testb $0x1, 0x15(%rax)
je 0x63f59
movq -0x148(%rbp), %rax
movq 0x58(%rax), %rdi
callq 0x38890
addq $0x60, %rax
movq %rax, -0x170(%rbp)
jmp 0x63f74
movq -0x148(%rbp), %rax
movq 0x58(%rax), %rdi
callq 0x37f00
addq $0x60, %rax
movq %rax, -0x170(%rbp)
movq -0x170(%rbp), %rax
movq %rax, -0x178(%rbp)
jmp 0x63fd8
movq -0x40(%rbp), %rax
testb $0x1, 0x15(%rax)
je 0x63fad
movq -0x148(%rbp), %rax
movq 0x58(%rax), %rdi
callq 0x38890
addq $0xf0, %rax
movq %rax, -0x180(%rbp)
jmp 0x63fca
movq -0x148(%rbp), %rax
movq 0x58(%rax), %rdi
callq 0x37f00
addq $0xf0, %rax
movq %rax, -0x180(%rbp)
movq -0x180(%rbp), %rax
movq %rax, -0x178(%rbp)
movq -0x178(%rbp), %rax
movq %rax, -0x58(%rbp)
movq -0x50(%rbp), %rdi
callq 0x2ef90
movl %eax, -0x5c(%rbp)
movq -0x40(%rbp), %rax
testb $0x1, 0x15(%rax)
je 0x6401a
movq -0x148(%rbp), %rax
movq 0x58(%rax), %rdi
callq 0x37f00
movq %rax, %rdi
callq 0x499c0
movq %rax, -0x188(%rbp)
jmp 0x64039
movq -0x148(%rbp), %rax
movq 0x58(%rax), %rdi
callq 0x38890
movq %rax, %rdi
callq 0x499c0
movq %rax, -0x188(%rbp)
movq -0x148(%rbp), %rax
movq -0x188(%rbp), %rcx
movl %ecx, -0x60(%rbp)
movl 0xb0(%rax), %ecx
movl %ecx, -0x64(%rbp)
movl 0xb4(%rax), %ecx
movl %ecx, -0x68(%rbp)
testb $0x1, 0xc0(%rax)
je 0x640f9
movq -0x148(%rbp), %rax
movl $0x0, -0x6c(%rbp)
movl -0x64(%rbp), %ecx
movl %ecx, -0x190(%rbp)
movq 0x58(%rax), %rdi
callq 0x37f00
movq %rax, %rcx
movl -0x190(%rbp), %eax
subl 0x1a8(%rcx), %eax
movl %eax, -0x70(%rbp)
leaq -0x6c(%rbp), %rdi
leaq -0x70(%rbp), %rsi
callq 0x31970
movq %rax, %rcx
movq -0x148(%rbp), %rax
movl (%rcx), %ecx
movl %ecx, -0x64(%rbp)
movl $0x0, -0x74(%rbp)
movl -0x68(%rbp), %ecx
movl %ecx, -0x18c(%rbp)
movq 0x58(%rax), %rdi
callq 0x37f00
movq %rax, %rcx
movl -0x18c(%rbp), %eax
subl 0x1a8(%rcx), %eax
movl %eax, -0x78(%rbp)
leaq -0x74(%rbp), %rdi
leaq -0x78(%rbp), %rsi
callq 0x31970
movl (%rax), %eax
movl %eax, -0x68(%rbp)
jmp 0x64190
movq -0x148(%rbp), %rax
movl $0x0, -0x7c(%rbp)
movl -0x64(%rbp), %ecx
movl %ecx, -0x198(%rbp)
movq 0x58(%rax), %rdi
callq 0x37f00
movq %rax, %rcx
movl -0x198(%rbp), %eax
subl 0x1ac(%rcx), %eax
movl %eax, -0x80(%rbp)
leaq -0x7c(%rbp), %rdi
leaq -0x80(%rbp), %rsi
callq 0x31970
movq %rax, %rcx
movq -0x148(%rbp), %rax
movl (%rcx), %ecx
movl %ecx, -0x64(%rbp)
movl $0x0, -0x84(%rbp)
movl -0x68(%rbp), %ecx
movl %ecx, -0x194(%rbp)
movq 0x58(%rax), %rdi
callq 0x37f00
movq %rax, %rcx
movl -0x194(%rbp), %eax
subl 0x1ac(%rcx), %eax
movl %eax, -0x88(%rbp)
leaq -0x84(%rbp), %rdi
leaq -0x88(%rbp), %rsi
callq 0x31970
movl (%rax), %eax
movl %eax, -0x68(%rbp)
movq -0x148(%rbp), %rax
testb $0x1, 0xc1(%rax)
je 0x6424c
movq -0x148(%rbp), %rax
movl $0x0, -0x8c(%rbp)
movl -0x64(%rbp), %ecx
movl %ecx, -0x1a0(%rbp)
movq 0x58(%rax), %rdi
callq 0x38890
movq %rax, %rcx
movl -0x1a0(%rbp), %eax
subl 0x1ac(%rcx), %eax
movl %eax, -0x90(%rbp)
leaq -0x8c(%rbp), %rdi
leaq -0x90(%rbp), %rsi
callq 0x31970
movq %rax, %rcx
movq -0x148(%rbp), %rax
movl (%rcx), %ecx
movl %ecx, -0x64(%rbp)
movl $0x0, -0x94(%rbp)
movl -0x68(%rbp), %ecx
movl %ecx, -0x19c(%rbp)
movq 0x58(%rax), %rdi
callq 0x38890
movq %rax, %rcx
movl -0x19c(%rbp), %eax
subl 0x1ac(%rcx), %eax
movl %eax, -0x98(%rbp)
leaq -0x94(%rbp), %rdi
leaq -0x98(%rbp), %rsi
callq 0x31970
movl (%rax), %eax
movl %eax, -0x68(%rbp)
jmp 0x642ef
movq -0x148(%rbp), %rax
movl $0x0, -0x9c(%rbp)
movl -0x64(%rbp), %ecx
movl %ecx, -0x1a8(%rbp)
movq 0x58(%rax), %rdi
callq 0x38890
movq %rax, %rcx
movl -0x1a8(%rbp), %eax
subl 0x1a8(%rcx), %eax
movl %eax, -0xa0(%rbp)
leaq -0x9c(%rbp), %rdi
leaq -0xa0(%rbp), %rsi
callq 0x31970
movq %rax, %rcx
movq -0x148(%rbp), %rax
movl (%rcx), %ecx
movl %ecx, -0x64(%rbp)
movl $0x0, -0xa4(%rbp)
movl -0x68(%rbp), %ecx
movl %ecx, -0x1a4(%rbp)
movq 0x58(%rax), %rdi
callq 0x38890
movq %rax, %rcx
movl -0x1a4(%rbp), %eax
subl 0x1a8(%rcx), %eax
movl %eax, -0xa8(%rbp)
leaq -0xa4(%rbp), %rdi
leaq -0xa8(%rbp), %rsi
callq 0x31970
movl (%rax), %eax
movl %eax, -0x68(%rbp)
movl -0x68(%rbp), %eax
movl %eax, -0x1ac(%rbp)
leaq -0x5c(%rbp), %rdi
leaq -0x60(%rbp), %rsi
callq 0x628a0
movq %rax, %rcx
movl -0x1ac(%rbp), %eax
cmpl (%rcx), %eax
ja 0x6431b
movb $0x0, -0x19(%rbp)
jmp 0x6495e
movq -0x30(%rbp), %rax
movl (%rax), %eax
movl %eax, -0xac(%rbp)
movq -0x30(%rbp), %rax
movl 0x4(%rax), %eax
movl %eax, -0xb0(%rbp)
movl -0x68(%rbp), %eax
subl -0x64(%rbp), %eax
movl %eax, -0xbc(%rbp)
testb $0x1, -0x42(%rbp)
je 0x64458
movl -0xb0(%rbp), %eax
addl -0x68(%rbp), %eax
movl %eax, -0xb8(%rbp)
movl -0xb0(%rbp), %eax
movb 0x46fca(%rip), %sil     # 0xab330
movl $0x1, %ecx
xorl %edx, %edx
testb $0x1, %sil
cmovnel %edx, %ecx
addl %ecx, %eax
movl %eax, -0xb4(%rbp)
testb $0x1, 0x46fad(%rip)     # 0xab330
jne 0x6439f
movl -0x5c(%rbp), %eax
cmpl -0x60(%rbp), %eax
jae 0x6439f
movl -0x60(%rbp), %eax
subl -0x5c(%rbp), %eax
addl -0xb4(%rbp), %eax
movl %eax, -0xb4(%rbp)
movl -0xb8(%rbp), %eax
movl -0xbc(%rbp), %ecx
addl -0x5c(%rbp), %ecx
cmpl %ecx, %eax
jbe 0x643e2
movl -0xb8(%rbp), %eax
subl -0xbc(%rbp), %eax
subl -0x5c(%rbp), %eax
movl %eax, -0xc0(%rbp)
leaq -0xb4(%rbp), %rdi
leaq -0xc0(%rbp), %rsi
callq 0x628a0
movl (%rax), %eax
movl %eax, -0xb4(%rbp)
movq -0x148(%rbp), %rax
movq 0x50(%rax), %rdi
movl -0xac(%rbp), %esi
callq 0x628e0
movl %eax, -0xc4(%rbp)
leaq -0xc4(%rbp), %rdi
leaq -0xb8(%rbp), %rsi
callq 0x26c20
movq %rax, %rcx
movq -0x148(%rbp), %rax
movl (%rcx), %ecx
movl %ecx, -0xb8(%rbp)
movq 0x50(%rax), %rdi
movl -0xac(%rbp), %esi
callq 0x628e0
movl %eax, -0xc8(%rbp)
leaq -0xc8(%rbp), %rdi
leaq -0xb4(%rbp), %rsi
callq 0x26c20
movl (%rax), %eax
movl %eax, -0xb4(%rbp)
jmp 0x64522
movl -0xb0(%rbp), %eax
addl -0x60(%rbp), %eax
cmpl -0x68(%rbp), %eax
jae 0x64472
movl $0x0, -0xb4(%rbp)
jmp 0x64484
movl -0xb0(%rbp), %eax
addl -0x60(%rbp), %eax
subl -0x68(%rbp), %eax
movl %eax, -0xb4(%rbp)
leaq -0x60(%rbp), %rdi
leaq -0x5c(%rbp), %rsi
callq 0x26c20
movl (%rax), %eax
movl %eax, -0xcc(%rbp)
testb $0x1, 0x46e90(%rip)     # 0xab330
je 0x644b6
movl -0xb0(%rbp), %eax
addl -0x60(%rbp), %eax
subl $0x1, %eax
movl %eax, -0xb8(%rbp)
jmp 0x64520
movl -0xb0(%rbp), %eax
addl -0xcc(%rbp), %eax
subl $0x1, %eax
movl %eax, -0xb8(%rbp)
movl -0xb0(%rbp), %eax
addl -0x60(%rbp), %eax
subl -0x64(%rbp), %eax
addl -0x5c(%rbp), %eax
subl $0x1, %eax
movl %eax, -0xd0(%rbp)
leaq -0xb8(%rbp), %rdi
leaq -0xd0(%rbp), %rsi
callq 0x26c20
movl (%rax), %eax
movl %eax, -0xb8(%rbp)
movl -0xb0(%rbp), %eax
addl -0x60(%rbp), %eax
addl -0x5c(%rbp), %eax
movl -0x64(%rbp), %ecx
addl $0x1, %ecx
cmpl %ecx, %eax
jae 0x6451e
movl $0x0, -0xb8(%rbp)
jmp 0x64520
jmp 0x64522
movl -0xb8(%rbp), %eax
subl -0xb4(%rbp), %eax
cmpl -0x5c(%rbp), %eax
jae 0x6453c
movb $0x0, -0x19(%rbp)
jmp 0x6495e
leaq -0xf0(%rbp), %rdi
callq 0x5fe00
leaq -0x110(%rbp), %rdi
callq 0x31f40
jmp 0x64556
movq -0x148(%rbp), %rax
movq 0x70(%rax), %rcx
movq %rcx, -0x1e0(%rbp)
movl -0xac(%rbp), %ecx
movq %rcx, -0x1d8(%rbp)
movq 0x50(%rax), %rax
movq %rax, -0x1d0(%rbp)
movq -0x50(%rbp), %rax
movq %rax, -0x1c8(%rbp)
movq -0x58(%rbp), %rax
movq %rax, -0x1c0(%rbp)
movl -0xb4(%rbp), %eax
movl %eax, -0x1b4(%rbp)
movl -0xb8(%rbp), %eax
movl %eax, -0x1b0(%rbp)
testb $0x1, -0x41(%rbp)
je 0x645ca
movq -0x148(%rbp), %rax
addq $0xf0, %rax
movq %rax, -0x1e8(%rbp)
jmp 0x645de
movq -0x148(%rbp), %rax
addq $0x120, %rax            # imm = 0x120
movq %rax, -0x1e8(%rbp)
movq -0x1c0(%rbp), %r9
movq -0x1c8(%rbp), %r8
movq -0x1d0(%rbp), %rcx
movq -0x1d8(%rbp), %rdx
movq -0x1e0(%rbp), %rdi
movl -0x1b4(%rbp), %r10d
movl -0x1b0(%rbp), %r11d
movq -0x1e8(%rbp), %rbx
movl -0xb0(%rbp), %r14d
movq (%rdi), %rax
movq 0x10(%rax), %rax
movzbl -0x43(%rbp), %r15d
andl $0x1, %r15d
movq %rsp, %rsi
movl %r15d, 0x30(%rsi)
movl %r14d, 0x28(%rsi)
movq %rbx, 0x20(%rsi)
leaq -0x110(%rbp), %rbx
movq %rbx, 0x18(%rsi)
leaq -0xf0(%rbp), %rbx
movq %rbx, 0x10(%rsi)
movl %r11d, 0x8(%rsi)
movl %r10d, (%rsi)
movl $0x1, %esi
callq *%rax
jmp 0x64662
movq $0x0, -0x128(%rbp)
movq -0x128(%rbp), %rax
movq %rax, -0x1f0(%rbp)
leaq -0xf0(%rbp), %rdi
callq 0x5a130
movq %rax, %rcx
movq -0x1f0(%rbp), %rax
cmpq %rcx, %rax
jae 0x64928
movq -0x128(%rbp), %rsi
leaq -0xf0(%rbp), %rdi
callq 0x62910
movq %rax, -0x130(%rbp)
movb -0x43(%rbp), %cl
movq -0x130(%rbp), %rax
andb $0x1, %cl
movb %cl, 0x14(%rax)
movq -0x130(%rbp), %rax
movl 0x8(%rax), %ecx
movl 0xc(%rax), %edx
shll $0xe, %edx
orl %edx, %ecx
movw %cx, 0x8(%rax)
movq -0x40(%rbp), %rax
movb 0x15(%rax), %cl
notb %cl
movq -0x130(%rbp), %rax
andb $0x1, %cl
movb %cl, 0x15(%rax)
movq -0x128(%rbp), %rsi
leaq -0x110(%rbp), %rdi
callq 0x24930
movq %rax, -0x1f8(%rbp)
jmp 0x6470c
movq -0x1f8(%rbp), %rax
movl (%rax), %eax
movl %eax, -0x134(%rbp)
movq -0x40(%rbp), %rax
movl (%rax), %ecx
movq -0x130(%rbp), %rax
movl %ecx, (%rax)
movq -0x40(%rbp), %rax
movl 0x4(%rax), %ecx
movq -0x130(%rbp), %rax
movl %ecx, 0x4(%rax)
testb $0x1, -0x42(%rbp)
je 0x64756
movq -0x40(%rbp), %rax
movq 0x58(%rax), %rdi
callq 0x402a0
movb %al, -0x1f9(%rbp)
jmp 0x64760
movb $0x1, %al
movb %al, -0x1f9(%rbp)
jmp 0x64760
movb -0x1f9(%rbp), %al
andb $0x1, %al
movb %al, -0x135(%rbp)
testb $0x1, -0x42(%rbp)
je 0x6477e
movb $0x1, %al
movb %al, -0x1fa(%rbp)
jmp 0x64791
movq -0x40(%rbp), %rax
movq 0x58(%rax), %rdi
callq 0x402a0
movb %al, -0x1fa(%rbp)
movb -0x1fa(%rbp), %al
andb $0x1, %al
movb %al, -0x136(%rbp)
testb $0x1, -0x42(%rbp)
je 0x647b2
movq -0x40(%rbp), %rax
movq %rax, -0x208(%rbp)
jmp 0x647c0
movq -0x130(%rbp), %rax
movq %rax, -0x208(%rbp)
movq -0x208(%rbp), %rax
movq %rax, -0x210(%rbp)
testb $0x1, -0x42(%rbp)
je 0x647e4
movq -0x130(%rbp), %rax
movq %rax, -0x218(%rbp)
jmp 0x647ef
movq -0x40(%rbp), %rax
movq %rax, -0x218(%rbp)
movq -0x218(%rbp), %rax
movq %rax, -0x228(%rbp)
movl -0xac(%rbp), %eax
movl %eax, -0x21c(%rbp)
testb $0x1, -0x42(%rbp)
je 0x6481d
movl -0xb0(%rbp), %eax
movl %eax, -0x22c(%rbp)
jmp 0x64829
movl -0x134(%rbp), %eax
movl %eax, -0x22c(%rbp)
movl -0x22c(%rbp), %eax
movl %eax, -0x230(%rbp)
testb $0x1, -0x42(%rbp)
je 0x64849
movl -0x134(%rbp), %eax
movl %eax, -0x234(%rbp)
jmp 0x64855
movl -0xb0(%rbp), %eax
movl %eax, -0x234(%rbp)
movl -0x230(%rbp), %r8d
movl -0x21c(%rbp), %ecx
movq -0x228(%rbp), %rdx
movq -0x210(%rbp), %rsi
movq -0x148(%rbp), %rdi
movl -0x234(%rbp), %r9d
movl -0x34(%rbp), %r10d
movzbl -0x41(%rbp), %r11d
movzbl -0x135(%rbp), %ebx
movzbl -0x136(%rbp), %r14d
andl $0x1, %r14d
movq %rsp, %rax
movl %r14d, 0x18(%rax)
andl $0x1, %ebx
movl %ebx, 0x10(%rax)
andl $0x1, %r11d
movl %r11d, 0x8(%rax)
movl %r10d, (%rax)
callq 0x64dc0
movb %al, -0x235(%rbp)
jmp 0x648bf
movb -0x235(%rbp), %al
testb $0x1, %al
jne 0x648cb
jmp 0x6490f
movb $0x1, -0x19(%rbp)
movl $0x1, -0x13c(%rbp)
jmp 0x64936
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x118(%rbp)
movl %eax, -0x11c(%rbp)
jmp 0x64950
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x118(%rbp)
movl %eax, -0x11c(%rbp)
leaq -0x110(%rbp), %rdi
callq 0x322a0
jmp 0x64950
jmp 0x64911
movq -0x128(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x128(%rbp)
jmp 0x6466d
movb $0x0, -0x19(%rbp)
movl $0x1, -0x13c(%rbp)
leaq -0x110(%rbp), %rdi
callq 0x322a0
leaq -0xf0(%rbp), %rdi
callq 0x5fe40
jmp 0x6495e
leaq -0xf0(%rbp), %rdi
callq 0x5fe40
jmp 0x64971
movb -0x19(%rbp), %al
andb $0x1, %al
addq $0x258, %rsp            # imm = 0x258
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movq -0x118(%rbp), %rdi
callq 0xab60
nopl (%rax)