// File: /workspace/github_cpp_makefile_star2_O3/BenLangmead[P]bowtie/./reference.h
// Function: BitPairReference::getStretch(unsigned int*, unsigned long, unsigned long, unsigned long) const
int getStretch(uint32_t *destU32,
	               size_t tidx,
	               size_t toff,
	               size_t count) const
	{
		ASSERT_ONLY(size_t origCount = count);
		ASSERT_ONLY(size_t origToff = toff);
		if(count == 0) return 0;
		uint8_t *dest = (uint8_t*)destU32;
#ifndef NDEBUG
		uint32_t *destU32_2 = new uint32_t[(origCount >> 2) + 2];
		int off2 = getStretchNaive(destU32_2, tidx, origToff, origCount);
		uint8_t *dest_2 = ((uint8_t*)destU32_2) + off2;
#endif
		destU32[0] = 0x04040404; // Add Ns, which we might end up using later
		uint64_t reci = refRecOffs_[tidx];   // first record for target reference sequence
		uint64_t recf = refRecOffs_[tidx+1]; // last record (exclusive) for target seq
		assert_gt(recf, reci);
		uint64_t cur = 4; // keep a cushion of 4 bases at the beginning
		uint64_t bufOff = refOffs_[tidx];
		uint64_t off = 0;
		int64_t offset = 4;
		bool firstStretch = true;
		ASSERT_ONLY(bool binarySearched = false);
		uint64_t left  = reci;
		uint64_t right = recf;
		uint64_t mid   = 0;
		// For all records pertaining to the target reference sequence...
		for(uint64_t i = reci; i < recf; i++) {
#ifndef NDEBUG
			uint64_t origBufOff = bufOff;
#endif
			assert_geq(toff, off);
			if (firstStretch && recf > reci + 16){
				// binary search finds smallest i s.t. toff >= cumRefOff_[i]
				while (left < right-1) {
					mid = left + ((right - left) >> 1);
					if (cumRefOff_[mid] <= toff)
						left = mid;
					else
						right = mid;
				}
				off = cumRefOff_[left];
				bufOff = cumUnambig_[left];
#ifndef NDEBUG
				origBufOff = bufOff;
#endif
				i = left;
				assert(cumRefOff_[i+1] == 0 || cumRefOff_[i+1] > toff);
				ASSERT_ONLY(binarySearched = true);
			}
			off += recs_[i].off; // skip Ns at beginning of stretch
			assert_gt(count, 0);
			if(toff < off) {
				size_t cpycnt = min((size_t)(off - toff), count);
				memset(&dest[cur], 4, cpycnt);
				count -= cpycnt;
				toff += cpycnt;
				cur += cpycnt;
				if(count == 0) break;
			}
			assert_geq(toff, off);
			if(toff < off + recs_[i].len) {
				bufOff += toff - off; // move bufOff pointer forward
			} else {
				bufOff += recs_[i].len;
			}
			off += recs_[i].len;
			assert(off == cumRefOff_[i+1] || cumRefOff_[i+1] == 0);
			assert(!binarySearched || toff < off);
			if(toff < off) {
				if(firstStretch) {
					if(toff + 8 < off && count > 8) {
						// We already added some Ns, so we have to do
						// a fixup at the beginning of the buffer so
						// that we can start clobbering at cur >> 2
						if(cur & 3) {
							offset -= (cur & 3);
						}
						uint64_t curU32 = cur >> 2;
						// Do the initial few bases
						if(bufOff & 3) {
							const uint64_t bufElt = (bufOff) >> 2;
							const int64_t low2 = bufOff & 3;
							// Lots of cache misses on the following line
							destU32[curU32] = byteToU32_[buf_[bufElt]];
							for(int j = 0; j < low2; j++) {
								((char *)(&destU32[curU32]))[j] = 4;
							}
							curU32++;
							offset += low2;
							const int64_t chars = 4 - low2;
							count -= chars;
							bufOff += chars;
							toff += chars;
						}
						assert_eq(0, bufOff & 3);
						uint64_t bufOffU32 = bufOff >> 2;
						uint64_t countLim = count >> 2;
						uint64_t offLim = ((off - (toff + 4)) >> 2);
						uint64_t lim = min(countLim, offLim);
						// Do the fast thing for as far as possible
						for(uint64_t j = 0; j < lim; j++) {
							// Lots of cache misses on the following line
							destU32[curU32] = byteToU32_[buf_[bufOffU32++]];
#ifndef NDEBUG
							if(dest_2 != NULL) {
								assert_eq(dest[(curU32 << 2) + 0], dest_2[(curU32 << 2) - offset + 0]);
								assert_eq(dest[(curU32 << 2) + 1], dest_2[(curU32 << 2) - offset + 1]);
								assert_eq(dest[(curU32 << 2) + 2], dest_2[(curU32 << 2) - offset + 2]);
								assert_eq(dest[(curU32 << 2) + 3], dest_2[(curU32 << 2) - offset + 3]);
							}
#endif
							curU32++;
						}
						toff += (lim << 2);
						assert_leq(toff, off);
						assert_leq((lim << 2), count);
						count -= (lim << 2);
						bufOff = bufOffU32 << 2;
						cur = curU32 << 2;
					}
					// Do the slow thing for the rest
					for(; toff < off && count > 0; toff++) {
						assert_lt(bufOff, bufSz_);
						const uint64_t bufElt = (bufOff) >> 2;
						const uint64_t shift = (bufOff & 3) << 1;
						dest[cur++] = (buf_[bufElt] >> shift) & 3;
						bufOff++;
						count--;
					}
					firstStretch = false;
				} else {
					// Do the slow thing
					for(; toff < off && count > 0; toff++) {
						assert_lt(bufOff, bufSz_);
						const uint64_t bufElt = (bufOff) >> 2;
						const uint64_t shift = (bufOff & 3) << 1;
						dest[cur++] = (buf_[bufElt] >> shift) & 3;
						bufOff++;
						count--;
					}
				}
			}
			if(count == 0) break;
			assert_eq(recs_[i].len, bufOff - origBufOff);
			assert_geq(toff, off);
		} // end for loop over records
		// In any chars are left after scanning all the records,
		// they must be ambiguous
		while(count > 0) {
			count--;
			dest[cur++] = 4;
		}
		assert_eq(0, count);
#ifndef NDEBUG
		delete[] destU32_2;
#endif
		return (int)offset;
	}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xb8, %rsp
movq %rcx, 0x8(%rsp)
movq %rdi, 0x18(%rsp)
testq %r8, %r8
je 0x13be7
movq %r8, %r14
movq %rdx, %rbx
movq %rsi, %rbp
movq %r8, %rax
andq $-0x4, %rax
addq $0x8, %rax
cmpq $-0x8, %r8
movq $-0x1, %rdi
cmovbq %rax, %rdi
callq 0x4030
movq %r14, %r8
movq 0x18(%rsp), %r14
movq %r14, %rdi
movq %rax, 0x48(%rsp)
movq %rax, %rsi
movq %rbx, %rdx
movq 0x8(%rsp), %rcx
movq %r8, 0x40(%rsp)
callq 0x1e7d2
movl %eax, %r12d
movl $0x4040404, (%rbp)      # imm = 0x4040404
leaq 0x4c0(%r14), %r13
movq %r13, %rdi
movq %rbx, %rsi
callq 0x1ed3e
movq (%rax), %r15
leaq 0x1(%rbx), %rsi
movq %r13, %rdi
callq 0x1ed3e
movq (%rax), %rax
movq %rax, 0x68(%rsp)
cmpq %r15, %rax
jbe 0x14953
movq %rbp, %r13
movslq %r12d, %r12
movq 0x18(%rsp), %r14
leaq 0x460(%r14), %rdi
movq %rbx, %rsi
callq 0x1ed3e
movq (%rax), %rbp
leaq 0x10(%r15), %rax
movq %rax, 0xb0(%rsp)
leaq 0x4a0(%r14), %rax
movq %rax, 0x58(%rsp)
leaq 0x480(%r14), %rax
movq %rax, 0xa8(%rsp)
leaq 0x400(%r14), %rax
movq %rax, 0x38(%rsp)
movq %r13, 0x20(%rsp)
leaq 0x3(%r13), %rcx
movq %rcx, 0xa0(%rsp)
movq %r12, 0x50(%rsp)
movq 0x48(%rsp), %rax
leaq 0x3(%r12,%rax), %rax
movq %rax, 0x98(%rsp)
movq %r15, %rbx
movb $0x1, %r15b
movl $0x4, %eax
movq %rax, 0x10(%rsp)
xorl %ecx, %ecx
movq %rax, 0x28(%rsp)
movq $0x0, 0x78(%rsp)
movq 0x68(%rsp), %rax
movq %rax, %r13
movq %rbx, %r12
movq 0x40(%rsp), %r14
cmpq %rcx, 0x8(%rsp)
jb 0x1433c
cmpq 0xb0(%rsp), %rax
seta %al
andb %r15b, %al
cmpb $0x1, %al
jne 0x13698
leaq -0x1(%r13), %rax
cmpq %rax, %r12
jae 0x136aa
movq 0x58(%rsp), %rbp
movq %r13, %rbx
subq %r12, %rbx
shrq %rbx
addq %r12, %rbx
movq %rbp, %rdi
movq %rbx, %rsi
callq 0x1ed3e
movq 0x8(%rsp), %rcx
cmpq %rcx, (%rax)
ja 0x1368a
movq %rbx, %r12
jmp 0x1368d
movq %rbx, %r13
leaq -0x1(%r13), %rax
cmpq %rax, %r12
jb 0x13664
jmp 0x136af
movq %r13, 0x80(%rsp)
movq %rcx, %r13
movq %rbp, 0x30(%rsp)
jmp 0x1371a
movq 0x58(%rsp), %rbp
movq %r13, 0x80(%rsp)
movq %rbp, %rdi
movq %r12, %rsi
callq 0x1ed3e
movq (%rax), %r13
movq 0xa8(%rsp), %rdi
movq %r12, %rsi
callq 0x1ed3e
movq (%rax), %rax
movq %rax, 0x30(%rsp)
leaq 0x1(%r12), %rbx
movq %rbp, %rdi
movq %rbx, %rsi
callq 0x1ed3e
movb $0x1, %cl
movq %rcx, 0x78(%rsp)
cmpq $0x0, (%rax)
je 0x13717
movq %rbp, %rdi
movq %rbx, %rsi
callq 0x1ed3e
movq %r12, %rbx
movq 0x8(%rsp), %rcx
cmpq %rcx, (%rax)
ja 0x1371a
jmp 0x146be
movq %r12, %rbx
movl %r15d, 0x70(%rsp)
movq 0x38(%rsp), %rdi
movq %rbx, %rsi
callq 0x1800c
movq %r13, %rcx
addq (%rax), %rcx
movq %rcx, %rbp
subq 0x8(%rsp), %rbp
movq %rbx, 0x60(%rsp)
jbe 0x137a0
movq 0x8(%rsp), %r15
movq %rcx, 0x40(%rsp)
cmpq %rbp, %r14
movq %rbp, %rbx
cmovbq %r14, %rbx
movq 0x20(%rsp), %rax
movq 0x10(%rsp), %r13
leaq (%rax,%r13), %rdi
movl $0x4, %esi
movq %rbx, %rdx
callq 0x4190
movq %r14, %rax
subq %rbx, %rax
addq %rbx, %r13
movq %r13, 0x10(%rsp)
cmpq %rbp, %r14
jbe 0x13beb
addq %rbx, %r15
movq %r15, 0x8(%rsp)
movq 0x38(%rsp), %r14
movq 0x40(%rsp), %rcx
movq 0x60(%rsp), %rbx
jmp 0x137a8
movq %r14, %rax
movq 0x38(%rsp), %r14
movq %rax, 0x88(%rsp)
movq 0x8(%rsp), %r15
subq %rcx, %r15
movq %rcx, %rbp
jb 0x143e4
movq %r14, %rdi
movq %rbx, %rsi
callq 0x1800c
movq 0x8(%rax), %rax
movq %rbx, %r13
movq %rbp, %rbx
addq %rbp, %rax
cmpq %rax, 0x8(%rsp)
jb 0x137ef
movq %r14, %rdi
movq %r13, %rsi
callq 0x1800c
movq 0x8(%rax), %r15
movq 0x58(%rsp), %rbp
movq %r14, %rdi
movq %r13, %rsi
callq 0x1800c
addq 0x8(%rax), %rbx
leaq 0x1(%r13), %rsi
movq %rbp, %rdi
movq %rsi, 0x90(%rsp)
callq 0x1ed3e
movq %rbx, %r10
cmpq (%rax), %rbx
movq %rbx, 0x40(%rsp)
je 0x13843
movq %rbp, %rdi
movq 0x90(%rsp), %rsi
callq 0x1ed3e
movq 0x40(%rsp), %r10
cmpq $0x0, (%rax)
jne 0x1469f
cmpq %r10, 0x8(%rsp)
setae %al
andb 0x78(%rsp), %al
cmpb $0x1, %al
je 0x14489
movq %r15, %r14
movq 0x30(%rsp), %rax
leaq (%r15,%rax), %rbp
cmpq %r10, 0x8(%rsp)
movq 0x48(%rsp), %r9
movq 0x60(%rsp), %rbx
movq 0x38(%rsp), %rdi
movl 0x70(%rsp), %r15d
movq 0x88(%rsp), %r8
jb 0x1388e
movq %r8, %r14
jmp 0x13b95
testb $0x1, %r15b
je 0x13a4e
cmpq $0x9, %r8
jb 0x13aee
movq 0x8(%rsp), %rax
addq $0x8, %rax
cmpq %r10, %rax
jae 0x13aee
movq 0x10(%rsp), %rax
movl %eax, %ecx
andl $0x3, %ecx
movq 0x28(%rsp), %r11
movq %rcx, 0x70(%rsp)
subq %rcx, %r11
movq %rax, %r15
shrq $0x2, %r15
movq %rbp, %r13
andq $0x3, %r13
je 0x13939
movq %rbp, %rax
shrq $0x2, %rax
movq 0x18(%rsp), %rdx
movq 0x540(%rdx), %rcx
movzbl (%rcx,%rax), %eax
movl (%rdx,%rax,4), %eax
movq 0x20(%rsp), %rcx
leaq (%rcx,%r15,4), %rdi
movl %eax, (%rdi)
movl $0x4, %esi
movq %r13, %rdx
movq %r11, %rbx
callq 0x4190
movq %rbx, %r11
movq 0x88(%rsp), %r8
movq 0x40(%rsp), %r10
incq %r15
addq %r13, %r11
movl $0x4, %eax
subq %r13, %rax
subq %rax, %r8
addq %rax, %rbp
addq %rax, 0x8(%rsp)
movq %rbp, %rbx
andq $0x3, %rbx
jne 0x1482b
movq %r8, %rax
shrq $0x2, %rax
movq %r10, %rbx
subq 0x8(%rsp), %rbx
addq $-0x4, %rbx
shrq $0x2, %rbx
cmpq %rax, %rbx
cmovaeq %rax, %rbx
testq %rbx, %rbx
movq 0x48(%rsp), %r9
je 0x13a0a
movq %rbp, %rax
shrq $0x2, %rax
andq $-0x4, %rbp
movq 0xa0(%rsp), %rcx
leaq (%rcx,%r15,4), %rcx
movq 0x70(%rsp), %rdx
leaq (%rdx,%r15,4), %rdx
subq 0x28(%rsp), %rdx
subq %r13, %rdx
addq 0x98(%rsp), %rdx
xorl %r13d, %r13d
movq 0x18(%rsp), %rdi
movq 0x540(%rdi), %rsi
addq %rax, %rsi
movzbl (%r13,%rsi), %esi
movl (%rdi,%rsi,4), %esi
movl %esi, -0x3(%rcx,%r13,4)
cmpb %sil, -0x3(%rdx,%r13,4)
jne 0x13d93
movb -0x2(%rcx,%r13,4), %sil
cmpb -0x2(%rdx,%r13,4), %sil
jne 0x1406a
movb -0x1(%rcx,%r13,4), %sil
cmpb -0x1(%rdx,%r13,4), %sil
jne 0x13f01
movb (%rcx,%r13,4), %sil
cmpb (%rdx,%r13,4), %sil
jne 0x141d3
incq %r13
addq $0x4, %rbp
cmpq %r13, %rbx
jne 0x139a5
addq %r13, %r15
movq 0x8(%rsp), %rcx
leaq (%rcx,%rbx,4), %rcx
movq %rcx, 0x8(%rsp)
cmpq %r10, %rcx
movq 0x38(%rsp), %rdi
ja 0x14783
shlq $0x2, %rbx
movq %r8, %r14
subq %rbx, %r14
jb 0x146dd
shlq $0x2, %r15
movq %r11, 0x28(%rsp)
movq %r15, 0x10(%rsp)
movq 0x60(%rsp), %rbx
jmp 0x13af1
testq %r8, %r8
je 0x13c14
movq 0x20(%rsp), %rax
movq 0x10(%rsp), %rcx
addq %rcx, %rax
leal (,%rbp,2), %edx
leaq -0x1(%r8), %rsi
xorl %r13d, %r13d
movq %rbp, %rcx
addq %r13, %rcx
movq 0x18(%rsp), %rdi
cmpq 0x550(%rdi), %rcx
jae 0x13c33
shrq $0x2, %rcx
movq 0x18(%rsp), %rdi
movq 0x540(%rdi), %rdi
movb (%rdi,%rcx), %dil
movl %edx, %ecx
andb $0x6, %cl
shrb %cl, %dil
andb $0x3, %dil
movb %dil, (%rax,%r13)
movq 0x8(%rsp), %rcx
leaq (%rcx,%r13), %rdi
incq %rdi
leaq 0x1(%r13), %rcx
cmpq %r10, %rdi
jae 0x13ace
addb $0x2, %dl
cmpq %r13, %rsi
movq %rcx, %r13
jne 0x13a72
addq %rcx, 0x8(%rsp)
addq %rcx, 0x10(%rsp)
addq %rcx, %rbp
subq %rcx, %r8
xorl %r15d, %r15d
movq %r8, %r14
movq 0x38(%rsp), %rdi
jmp 0x13b95
movq %r8, %r14
xorl %r15d, %r15d
cmpq %r10, 0x8(%rsp)
jae 0x13b95
testq %r14, %r14
je 0x13b95
movq 0x20(%rsp), %rax
movq 0x10(%rsp), %rcx
addq %rcx, %rax
leal (,%rbp,2), %edx
leaq -0x1(%r14), %rsi
xorl %r11d, %r11d
leaq (%r11,%rbp), %rbx
movq 0x18(%rsp), %rcx
cmpq 0x550(%rcx), %rbx
jae 0x13ce7
shrq $0x2, %rbx
movq 0x18(%rsp), %rcx
movq 0x540(%rcx), %rcx
movb (%rcx,%rbx), %r8b
movl %edx, %ecx
andb $0x6, %cl
shrb %cl, %r8b
andb $0x3, %r8b
movb %r8b, (%rax,%r11)
movq 0x8(%rsp), %rcx
leaq (%r11,%rcx), %r8
incq %r8
leaq 0x1(%r11), %rcx
cmpq %r10, %r8
jae 0x13b7d
addb $0x2, %dl
cmpq %r11, %rsi
movq %rcx, %r11
jne 0x13b23
addq %rcx, 0x8(%rsp)
addq %rcx, 0x10(%rsp)
addq %rcx, %rbp
subq %rcx, %r14
xorl %r15d, %r15d
movq 0x60(%rsp), %rbx
testq %r14, %r14
je 0x13c14
movq %rbx, %rsi
callq 0x1800c
movq %rbx, %r13
movq %rbp, %rbx
subq 0x30(%rsp), %rbx
cmpq %rbx, 0x8(%rax)
jne 0x144a8
movq 0x40(%rsp), %rcx
cmpq %rcx, 0x8(%rsp)
movq 0x68(%rsp), %rax
movq 0x80(%rsp), %r13
jb 0x145f7
movq 0x90(%rsp), %rbx
cmpq %rax, %rbx
jb 0x13639
jmp 0x13bf8
xorl %eax, %eax
jmp 0x13c21
movq %rax, %r14
testq %rax, %rax
movq 0x48(%rsp), %r9
je 0x13c14
movq 0x20(%rsp), %rdi
addq 0x10(%rsp), %rdi
movl $0x4, %esi
movq %r14, %rdx
callq 0x4190
movq 0x48(%rsp), %r9
movq %r9, %rdi
callq 0x4420
movq 0x28(%rsp), %rax
addq $0xb8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x2337e(%rip), %rbx     # 0x36fb8
leaq 0x186b3(%rip), %rsi     # 0x2c2f4
movq %rbx, %rdi
callq 0x4310
addq 0x30(%rsp), %r14
addq %r13, %r14
movq %rax, %rdi
movq %r14, %rsi
callq 0x40c0
leaq 0x186a7(%rip), %rsi     # 0x2c30a
movq %rax, %rdi
callq 0x4310
movq 0x18(%rsp), %rcx
movq 0x550(%rcx), %rsi
movq %rax, %rdi
callq 0x40c0
leaq 0x1a71f(%rip), %rsi     # 0x2e3a5
movq %rax, %rdi
callq 0x4310
movq %rax, %rdi
callq 0x4150
leaq 0x19bc8(%rip), %r14     # 0x2d865
movq %rbx, %rdi
movq %r14, %rsi
callq 0x4310
leaq 0x19af9(%rip), %rsi     # 0x2d7a8
movq %rax, %rdi
callq 0x4310
movq %rax, %rdi
movl $0x266, %esi            # imm = 0x266
callq 0x4610
movq %rax, %rdi
callq 0x4150
leaq 0x199b5(%rip), %rdi     # 0x2d688
leaq 0x19b99(%rip), %rcx     # 0x2d873
movq %r14, %rsi
movl $0x266, %edx            # imm = 0x266
callq 0x41c0
movq 0x232ca(%rip), %r15     # 0x36fb8
leaq 0x185ff(%rip), %rsi     # 0x2c2f4
movq %r15, %rdi
callq 0x4310
movq %rax, %rdi
movq %rbx, %rsi
callq 0x40c0
leaq 0x185fb(%rip), %rsi     # 0x2c30a
movq %rax, %rdi
callq 0x4310
movq 0x18(%rsp), %rcx
movq 0x550(%rcx), %rsi
movq %rax, %rdi
callq 0x40c0
leaq 0x1a673(%rip), %rsi     # 0x2e3a5
movq %rax, %rdi
callq 0x4310
movq %rax, %rdi
callq 0x4150
leaq 0x19b1c(%rip), %rbx     # 0x2d865
movq %r15, %rdi
movq %rbx, %rsi
callq 0x4310
leaq 0x19a4d(%rip), %rsi     # 0x2d7a8
movq %rax, %rdi
callq 0x4310
movq %rax, %rdi
movl $0x25b, %esi            # imm = 0x25B
callq 0x4610
movq %rax, %rdi
callq 0x4150
leaq 0x19909(%rip), %rdi     # 0x2d688
leaq 0x19aed(%rip), %rcx     # 0x2d873
movq %rbx, %rsi
movl $0x25b, %edx            # imm = 0x25B
callq 0x41c0
movq 0x20(%rsp), %rax
movq %r15, %rbx
leaq (%rax,%r15,4), %r15
movq 0x23212(%rip), %rdi     # 0x36fb8
leaq 0x18419(%rip), %rsi     # 0x2c1c6
movq %r9, %r12
callq 0x4310
movzbl (%r15,%r13,4), %esi
movq %rax, %rdi
callq 0x4500
movq %r14, %rbp
leaq 0x18410(%rip), %r14     # 0x2c1dc
movq %rax, %rdi
movq %r14, %rsi
callq 0x4310
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
movl 0x18(%rax,%rcx), %edx
andl $-0x4b, %edx
orl $0x8, %edx
movl %edx, 0x18(%rax,%rcx)
movzbl (%r15,%r13,4), %esi
movq %rax, %rdi
callq 0x4500
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
movl 0x18(%rax,%rcx), %edx
andl $-0x4b, %edx
orl $0x2, %edx
movl %edx, 0x18(%rax,%rcx)
leaq 0x183cc(%rip), %rsi     # 0x2c1e1
movq %rax, %rdi
callq 0x4310
movq 0x50(%rsp), %rcx
addq %r12, %rcx
movq 0x10(%rsp), %rdx
andl $0x3, %edx
leaq (%rdx,%rbx,4), %r15
subq 0x28(%rsp), %r15
movq 0x30(%rsp), %rdx
addl %ebp, %edx
andl $0x3, %edx
subq %rdx, %r15
addq %rcx, %r15
movzbl (%r15,%r13,4), %esi
movq %rax, %rdi
callq 0x4500
movq %rax, %rdi
movq %r14, %rsi
callq 0x4310
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
movl 0x18(%rax,%rcx), %edx
andl $-0x4b, %edx
orl $0x8, %edx
movl %edx, 0x18(%rax,%rcx)
movzbl (%r15,%r13,4), %esi
movq %rax, %rdi
callq 0x4500
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
movl 0x18(%rax,%rcx), %edx
andl $-0x4b, %edx
orl $0x2, %edx
movl %edx, 0x18(%rax,%rcx)
leaq 0x1a509(%rip), %rsi     # 0x2e3a5
movq %rax, %rdi
callq 0x4310
movq %rax, %rdi
callq 0x4150
leaq 0x199b2(%rip), %r14     # 0x2d865
movq 0x230fe(%rip), %rdi     # 0x36fb8
movq %r14, %rsi
callq 0x4310
leaq 0x198df(%rip), %rsi     # 0x2d7a8
movq %rax, %rdi
callq 0x4310
movq %rax, %rdi
movl $0x24a, %esi            # imm = 0x24A
callq 0x4610
movq %rax, %rdi
callq 0x4150
leaq 0x1979b(%rip), %rdi     # 0x2d688
leaq 0x1997f(%rip), %rcx     # 0x2d873
movq %r14, %rsi
movl $0x24a, %edx            # imm = 0x24A
callq 0x41c0
movq 0x20(%rsp), %rax
leaq (%rax,%r15,4), %r12
movq 0x50(%rsp), %rax
addq %r9, %rax
movq 0x10(%rsp), %rcx
andl $0x3, %ecx
leaq (%rcx,%r15,4), %r15
subq 0x28(%rsp), %r15
movq 0x30(%rsp), %rcx
addl %r14d, %ecx
andl $0x3, %ecx
subq %rcx, %r15
addq %rax, %r15
movq 0x2307d(%rip), %rbx     # 0x36fb8
leaq 0x18284(%rip), %rsi     # 0x2c1c6
movq %rbx, %rdi
callq 0x4310
movzbl 0x2(%r12,%r13,4), %esi
movq %rax, %rdi
callq 0x4500
leaq 0x1827d(%rip), %r14     # 0x2c1dc
movq %rax, %rdi
movq %r14, %rsi
callq 0x4310
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
movl 0x18(%rax,%rcx), %edx
andl $-0x4b, %edx
orl $0x8, %edx
movl %edx, 0x18(%rax,%rcx)
movzbl 0x2(%r12,%r13,4), %esi
movq %rax, %rdi
callq 0x4500
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
movl 0x18(%rax,%rcx), %edx
andl $-0x4b, %edx
orl $0x2, %edx
movl %edx, 0x18(%rax,%rcx)
leaq 0x18238(%rip), %rsi     # 0x2c1e1
movq %rax, %rdi
callq 0x4310
movzbl 0x2(%r15,%r13,4), %esi
movq %rax, %rdi
callq 0x4500
movq %rax, %rdi
movq %r14, %rsi
callq 0x4310
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
movl 0x18(%rax,%rcx), %edx
andl $-0x4b, %edx
orl $0x8, %edx
movl %edx, 0x18(%rax,%rcx)
movzbl 0x2(%r15,%r13,4), %esi
movq %rax, %rdi
callq 0x4500
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
movl 0x18(%rax,%rcx), %edx
andl $-0x4b, %edx
orl $0x2, %edx
movl %edx, 0x18(%rax,%rcx)
leaq 0x1a39c(%rip), %rsi     # 0x2e3a5
movq %rax, %rdi
callq 0x4310
movq %rax, %rdi
callq 0x4150
leaq 0x19845(%rip), %r14     # 0x2d865
movq %rbx, %rdi
movq %r14, %rsi
callq 0x4310
leaq 0x19776(%rip), %rsi     # 0x2d7a8
movq %rax, %rdi
callq 0x4310
movq %rax, %rdi
movl $0x24c, %esi            # imm = 0x24C
callq 0x4610
movq %rax, %rdi
callq 0x4150
leaq 0x19632(%rip), %rdi     # 0x2d688
leaq 0x19816(%rip), %rcx     # 0x2d873
movq %r14, %rsi
movl $0x24c, %edx            # imm = 0x24C
callq 0x41c0
movq 0x20(%rsp), %rax
leaq (%rax,%r15,4), %r12
movq 0x50(%rsp), %rax
addq %r9, %rax
movq 0x10(%rsp), %rcx
andl $0x3, %ecx
leaq (%rcx,%r15,4), %r15
subq 0x28(%rsp), %r15
movq 0x30(%rsp), %rcx
addl %r14d, %ecx
andl $0x3, %ecx
subq %rcx, %r15
addq %rax, %r15
movq 0x22f14(%rip), %rbx     # 0x36fb8
leaq 0x1811b(%rip), %rsi     # 0x2c1c6
movq %rbx, %rdi
callq 0x4310
movzbl 0x1(%r12,%r13,4), %esi
movq %rax, %rdi
callq 0x4500
leaq 0x18114(%rip), %r14     # 0x2c1dc
movq %rax, %rdi
movq %r14, %rsi
callq 0x4310
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
movl 0x18(%rax,%rcx), %edx
andl $-0x4b, %edx
orl $0x8, %edx
movl %edx, 0x18(%rax,%rcx)
movzbl 0x1(%r12,%r13,4), %esi
movq %rax, %rdi
callq 0x4500
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
movl 0x18(%rax,%rcx), %edx
andl $-0x4b, %edx
orl $0x2, %edx
movl %edx, 0x18(%rax,%rcx)
leaq 0x180cf(%rip), %rsi     # 0x2c1e1
movq %rax, %rdi
callq 0x4310
movzbl 0x1(%r15,%r13,4), %esi
movq %rax, %rdi
callq 0x4500
movq %rax, %rdi
movq %r14, %rsi
callq 0x4310
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
movl 0x18(%rax,%rcx), %edx
andl $-0x4b, %edx
orl $0x8, %edx
movl %edx, 0x18(%rax,%rcx)
movzbl 0x1(%r15,%r13,4), %esi
movq %rax, %rdi
callq 0x4500
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
movl 0x18(%rax,%rcx), %edx
andl $-0x4b, %edx
orl $0x2, %edx
movl %edx, 0x18(%rax,%rcx)
leaq 0x1a233(%rip), %rsi     # 0x2e3a5
movq %rax, %rdi
callq 0x4310
movq %rax, %rdi
callq 0x4150
leaq 0x196dc(%rip), %r14     # 0x2d865
movq %rbx, %rdi
movq %r14, %rsi
callq 0x4310
leaq 0x1960d(%rip), %rsi     # 0x2d7a8
movq %rax, %rdi
callq 0x4310
movq %rax, %rdi
movl $0x24b, %esi            # imm = 0x24B
callq 0x4610
movq %rax, %rdi
callq 0x4150
leaq 0x194c9(%rip), %rdi     # 0x2d688
leaq 0x196ad(%rip), %rcx     # 0x2d873
movq %r14, %rsi
movl $0x24b, %edx            # imm = 0x24B
callq 0x41c0
movq 0x20(%rsp), %rax
leaq (%rax,%r15,4), %r12
movq 0x50(%rsp), %rax
addq %r9, %rax
movq 0x10(%rsp), %rcx
andl $0x3, %ecx
leaq (%rcx,%r15,4), %r15
subq 0x28(%rsp), %r15
movq 0x30(%rsp), %rcx
addl %r14d, %ecx
andl $0x3, %ecx
subq %rcx, %r15
addq %rax, %r15
movq 0x22dab(%rip), %rbx     # 0x36fb8
leaq 0x17fb2(%rip), %rsi     # 0x2c1c6
movq %rbx, %rdi
callq 0x4310
movzbl 0x3(%r12,%r13,4), %esi
movq %rax, %rdi
callq 0x4500
leaq 0x17fab(%rip), %r14     # 0x2c1dc
movq %rax, %rdi
movq %r14, %rsi
callq 0x4310
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
movl 0x18(%rax,%rcx), %edx
andl $-0x4b, %edx
orl $0x8, %edx
movl %edx, 0x18(%rax,%rcx)
movzbl 0x3(%r12,%r13,4), %esi
movq %rax, %rdi
callq 0x4500
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
movl 0x18(%rax,%rcx), %edx
andl $-0x4b, %edx
orl $0x2, %edx
movl %edx, 0x18(%rax,%rcx)
leaq 0x17f66(%rip), %rsi     # 0x2c1e1
movq %rax, %rdi
callq 0x4310
movzbl 0x3(%r15,%r13,4), %esi
movq %rax, %rdi
callq 0x4500
movq %rax, %rdi
movq %r14, %rsi
callq 0x4310
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
movl 0x18(%rax,%rcx), %edx
andl $-0x4b, %edx
orl $0x8, %edx
movl %edx, 0x18(%rax,%rcx)
movzbl 0x3(%r15,%r13,4), %esi
movq %rax, %rdi
callq 0x4500
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
movl 0x18(%rax,%rcx), %edx
andl $-0x4b, %edx
orl $0x2, %edx
movl %edx, 0x18(%rax,%rcx)
leaq 0x1a0ca(%rip), %rsi     # 0x2e3a5
movq %rax, %rdi
callq 0x4310
movq %rax, %rdi
callq 0x4150
leaq 0x19573(%rip), %r14     # 0x2d865
movq %rbx, %rdi
movq %r14, %rsi
callq 0x4310
leaq 0x194a4(%rip), %rsi     # 0x2d7a8
movq %rax, %rdi
callq 0x4310
movq %rax, %rdi
movl $0x24d, %esi            # imm = 0x24D
callq 0x4610
movq %rax, %rdi
callq 0x4150
leaq 0x19360(%rip), %rdi     # 0x2d688
leaq 0x19544(%rip), %rcx     # 0x2d873
movq %r14, %rsi
movl $0x24d, %edx            # imm = 0x24D
callq 0x41c0
movq 0x22c75(%rip), %rbx     # 0x36fb8
leaq 0x17f68(%rip), %rsi     # 0x2c2b2
movq %rbx, %rdi
movq %rcx, %r14
callq 0x4310
movq %rax, %rdi
movq 0x8(%rsp), %rsi
callq 0x40c0
leaq 0x17f60(%rip), %rsi     # 0x2c2c9
movq %rax, %rdi
callq 0x4310
movq %rax, %rdi
movq %r14, %rsi
callq 0x40c0
leaq 0x1a022(%rip), %rsi     # 0x2e3a5
movq %rax, %rdi
callq 0x4310
movq %rax, %rdi
callq 0x4150
leaq 0x194cb(%rip), %r14     # 0x2d865
movq %rbx, %rdi
movq %r14, %rsi
callq 0x4310
leaq 0x193fc(%rip), %rsi     # 0x2d7a8
movq %rax, %rdi
callq 0x4310
movq %rax, %rdi
movl $0x1ff, %esi            # imm = 0x1FF
callq 0x4610
movq %rax, %rdi
callq 0x4150
leaq 0x192b8(%rip), %rdi     # 0x2d688
leaq 0x1949c(%rip), %rcx     # 0x2d873
movq %r14, %rsi
movl $0x1ff, %edx            # imm = 0x1FF
callq 0x41c0
movq 0x22bcd(%rip), %rbx     # 0x36fb8
leaq 0x17ec0(%rip), %rsi     # 0x2c2b2
movq %rbx, %rdi
callq 0x4310
movq %rax, %rdi
movq 0x8(%rsp), %rsi
callq 0x40c0
leaq 0x17ebb(%rip), %rsi     # 0x2c2c9
movq %rax, %rdi
callq 0x4310
movq %rax, %rdi
movq %rbp, %rsi
callq 0x40c0
leaq 0x19f7d(%rip), %rsi     # 0x2e3a5
movq %rax, %rdi
callq 0x4310
movq %rax, %rdi
callq 0x4150
leaq 0x19426(%rip), %r14     # 0x2d865
movq %rbx, %rdi
movq %r14, %rsi
callq 0x4310
leaq 0x19357(%rip), %rsi     # 0x2d7a8
movq %rax, %rdi
callq 0x4310
movq %rax, %rdi
movl $0x21c, %esi            # imm = 0x21C
callq 0x4610
movq %rax, %rdi
callq 0x4150
leaq 0x19213(%rip), %rdi     # 0x2d688
leaq 0x193f7(%rip), %rcx     # 0x2d873
movq %r14, %rsi
movl $0x21c, %edx            # imm = 0x21C
callq 0x41c0
leaq 0x1948c(%rip), %rdi     # 0x2d91c
leaq 0x193ce(%rip), %rsi     # 0x2d865
leaq 0x193d5(%rip), %rcx     # 0x2d873
movl $0x224, %edx            # imm = 0x224
callq 0x41c0
movq 0x22b09(%rip), %r14     # 0x36fb8
leaq 0x17d10(%rip), %rsi     # 0x2c1c6
movq %r14, %rdi
callq 0x4310
movq %rax, %r15
movq 0x38(%rsp), %rbp
movq %rbp, %rdi
movq %r13, %rsi
callq 0x1800c
movq 0x8(%rax), %rsi
movq %r15, %rdi
callq 0x40c0
leaq 0x17cf8(%rip), %r15     # 0x2c1dc
movq %rax, %rdi
movq %r15, %rsi
callq 0x4310
movq %rax, %r12
movq (%rax), %rax
movq -0x18(%rax), %rax
movl 0x18(%r12,%rax), %ecx
andl $-0x4b, %ecx
orl $0x8, %ecx
movl %ecx, 0x18(%r12,%rax)
movq %rbp, %rdi
movq %r13, %rsi
callq 0x1800c
movq 0x8(%rax), %rsi
movq %r12, %rdi
callq 0x40c0
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
movl 0x18(%rax,%rcx), %edx
andl $-0x4b, %edx
orl $0x2, %edx
movl %edx, 0x18(%rax,%rcx)
leaq 0x17ca5(%rip), %rsi     # 0x2c1e1
movq %rax, %rdi
callq 0x4310
movq %rax, %rdi
movq %rbx, %rsi
callq 0x40c0
movq %rax, %rdi
movq %r15, %rsi
callq 0x4310
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
movl 0x18(%rax,%rcx), %edx
andl $-0x4b, %edx
orl $0x8, %edx
movl %edx, 0x18(%rax,%rcx)
movq %rax, %rdi
movq %rbx, %rsi
callq 0x40c0
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
movl 0x18(%rax,%rcx), %edx
andl $-0x4b, %edx
orl $0x2, %edx
movl %edx, 0x18(%rax,%rcx)
leaq 0x19e0f(%rip), %rsi     # 0x2e3a5
movq %rax, %rdi
callq 0x4310
movq %rax, %rdi
callq 0x4150
leaq 0x192b8(%rip), %rbx     # 0x2d865
movq %r14, %rdi
movq %rbx, %rsi
callq 0x4310
leaq 0x191e9(%rip), %rsi     # 0x2d7a8
movq %rax, %rdi
callq 0x4310
movq %rax, %rdi
movl $0x270, %esi            # imm = 0x270
callq 0x4610
movq %rax, %rdi
callq 0x4150
leaq 0x190a5(%rip), %rdi     # 0x2d688
leaq 0x19289(%rip), %rcx     # 0x2d873
movq %rbx, %rsi
movl $0x270, %edx            # imm = 0x270
callq 0x41c0
movq 0x229ba(%rip), %rbx     # 0x36fb8
leaq 0x17cad(%rip), %rsi     # 0x2c2b2
movq %rbx, %rdi
movq %rcx, %r14
callq 0x4310
movq %rax, %rdi
movq 0x8(%rsp), %rsi
callq 0x40c0
leaq 0x17ca5(%rip), %rsi     # 0x2c2c9
movq %rax, %rdi
callq 0x4310
movq %rax, %rdi
movq %r14, %rsi
callq 0x40c0
leaq 0x19d67(%rip), %rsi     # 0x2e3a5
movq %rax, %rdi
callq 0x4310
movq %rax, %rdi
callq 0x4150
leaq 0x19210(%rip), %r14     # 0x2d865
movq %rbx, %rdi
movq %r14, %rsi
callq 0x4310
leaq 0x19141(%rip), %rsi     # 0x2d7a8
movq %rax, %rdi
callq 0x4310
movq %rax, %rdi
movl $0x271, %esi            # imm = 0x271
callq 0x4610
movq %rax, %rdi
callq 0x4150
leaq 0x18ffd(%rip), %rdi     # 0x2d688
leaq 0x191e1(%rip), %rcx     # 0x2d873
movq %r14, %rsi
movl $0x271, %edx            # imm = 0x271
callq 0x41c0
leaq 0x19247(%rip), %rdi     # 0x2d8ed
leaq 0x191b8(%rip), %rsi     # 0x2d865
leaq 0x191bf(%rip), %rcx     # 0x2d873
movl $0x223, %edx            # imm = 0x223
callq 0x41c0
leaq 0x191f9(%rip), %rdi     # 0x2d8be
leaq 0x19199(%rip), %rsi     # 0x2d865
leaq 0x191a0(%rip), %rcx     # 0x2d873
movl $0x20f, %edx            # imm = 0x20F
callq 0x41c0
movq 0x228d4(%rip), %r14     # 0x36fb8
leaq 0x17b65(%rip), %rsi     # 0x2c250
movq %r14, %rdi
movq %r8, %r15
callq 0x4310
movq %rax, %rdi
movq %rbx, %rsi
callq 0x40c0
leaq 0x17b5f(%rip), %rsi     # 0x2c267
movq %rax, %rdi
callq 0x4310
movq %rax, %rdi
movq %r15, %rsi
callq 0x40c0
leaq 0x19c83(%rip), %rsi     # 0x2e3a5
movq %rax, %rdi
callq 0x4310
movq %rax, %rdi
callq 0x4150
leaq 0x1912c(%rip), %rbx     # 0x2d865
movq %r14, %rdi
movq %rbx, %rsi
callq 0x4310
leaq 0x1905d(%rip), %rsi     # 0x2d7a8
movq %rax, %rdi
callq 0x4310
movq %rax, %rdi
movl $0x254, %esi            # imm = 0x254
callq 0x4610
movq %rax, %rdi
callq 0x4150
leaq 0x18f19(%rip), %rdi     # 0x2d688
leaq 0x190fd(%rip), %rcx     # 0x2d873
movq %rbx, %rsi
movl $0x254, %edx            # imm = 0x254
callq 0x41c0
movq 0x2282e(%rip), %rbx     # 0x36fb8
leaq 0x17abf(%rip), %rsi     # 0x2c250
movq %rbx, %rdi
movq %r10, %r14
callq 0x4310
movq %rax, %rdi
movq 0x8(%rsp), %rsi
callq 0x40c0
leaq 0x17ab7(%rip), %rsi     # 0x2c267
movq %rax, %rdi
callq 0x4310
movq %rax, %rdi
movq %r14, %rsi
callq 0x40c0
leaq 0x19bdb(%rip), %rsi     # 0x2e3a5
movq %rax, %rdi
callq 0x4310
movq %rax, %rdi
callq 0x4150
leaq 0x19084(%rip), %r14     # 0x2d865
movq %rbx, %rdi
movq %r14, %rsi
callq 0x4310
leaq 0x18fb5(%rip), %rsi     # 0x2d7a8
movq %rax, %rdi
callq 0x4310
movq %rax, %rdi
movl $0x253, %esi            # imm = 0x253
callq 0x4610
movq %rax, %rdi
callq 0x4150
leaq 0x18e71(%rip), %rdi     # 0x2d688
leaq 0x19055(%rip), %rcx     # 0x2d873
movq %r14, %rsi
movl $0x253, %edx            # imm = 0x253
callq 0x41c0
movq 0x22786(%rip), %r14     # 0x36fb8
leaq 0x1798d(%rip), %rsi     # 0x2c1c6
movq %r14, %rdi
callq 0x4310
movq %rax, %rdi
xorl %esi, %esi
callq 0x4610
leaq 0x1798a(%rip), %r15     # 0x2c1dc
movq %rax, %rdi
movq %r15, %rsi
callq 0x4310
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
movl 0x18(%rax,%rcx), %edx
andl $-0x4b, %edx
orl $0x8, %edx
movl %edx, 0x18(%rax,%rcx)
movq %rax, %rdi
xorl %esi, %esi
callq 0x4610
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
movl 0x18(%rax,%rcx), %edx
andl $-0x4b, %edx
orl $0x2, %edx
movl %edx, 0x18(%rax,%rcx)
leaq 0x17949(%rip), %rsi     # 0x2c1e1
movq %rax, %rdi
callq 0x4310
movq %rax, %rdi
movq %rbx, %rsi
callq 0x40c0
movq %rax, %rdi
movq %r15, %rsi
callq 0x4310
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
movl 0x18(%rax,%rcx), %edx
andl $-0x4b, %edx
orl $0x8, %edx
movl %edx, 0x18(%rax,%rcx)
movq %rax, %rdi
movq %rbx, %rsi
callq 0x40c0
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
movl 0x18(%rax,%rcx), %edx
andl $-0x4b, %edx
orl $0x2, %edx
movl %edx, 0x18(%rax,%rcx)
leaq 0x19ab3(%rip), %rsi     # 0x2e3a5
movq %rax, %rdi
callq 0x4310
movq %rax, %rdi
callq 0x4150
leaq 0x18f5c(%rip), %rbx     # 0x2d865
movq %r14, %rdi
movq %rbx, %rsi
callq 0x4310
leaq 0x18e8d(%rip), %rsi     # 0x2d7a8
movq %rax, %rdi
callq 0x4310
movq %rax, %rdi
movl $0x23f, %esi            # imm = 0x23F
callq 0x4610
movq %rax, %rdi
callq 0x4150
leaq 0x18d49(%rip), %rdi     # 0x2d688
leaq 0x18f2d(%rip), %rcx     # 0x2d873
movq %rbx, %rsi
movl $0x23f, %edx            # imm = 0x23F
callq 0x41c0
movq 0x2265e(%rip), %rbx     # 0x36fb8
leaq 0x17844(%rip), %rsi     # 0x2c1a5
movq %rbx, %rdi
callq 0x4310
movq %rax, %rdi
movq 0x68(%rsp), %rsi
callq 0x40c0
leaq 0x1783e(%rip), %rsi     # 0x2c1bb
movq %rax, %rdi
callq 0x4310
movq %rax, %rdi
movq %r15, %rsi
callq 0x40c0
leaq 0x19a0e(%rip), %rsi     # 0x2e3a5
movq %rax, %rdi
callq 0x4310
movq %rax, %rdi
callq 0x4150
leaq 0x18eb7(%rip), %r14     # 0x2d865
movq %rbx, %rdi
movq %r14, %rsi
callq 0x4310
leaq 0x18de8(%rip), %rsi     # 0x2d7a8
movq %rax, %rdi
callq 0x4310
movq %rax, %rdi
movl $0x1f0, %esi            # imm = 0x1F0
callq 0x4610
movq %rax, %rdi
callq 0x4150
leaq 0x18ca4(%rip), %rdi     # 0x2d688
leaq 0x18e88(%rip), %rcx     # 0x2d873
movq %r14, %rsi
movl $0x1f0, %edx            # imm = 0x1F0
callq 0x41c0