// File: /workspace/github_cpp_makefile_star2_O1/BenLangmead[P]bowtie/./ebwt.h
// Function: void Ebwt::initFromVector<SString<char>>(EList<FileBuf*, 128>&, EList<RefRecord, 128>&, EList<unsigned int, 128>&, unsigned int, RefReadInParams const&, std::basic_ofstream<char, std::char_traits<char>>&, std::basic_ofstream<char, std::char_traits<char>>&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, int, bool, unsigned int, unsigned int, unsigned int, int, unsigned int)
void initFromVector(
		EList<FileBuf*>& is,
		EList<RefRecord>& szs,
		EList<uint32_t>& plens,
		TIndexOffU sztot,
		const RefReadInParams& refparams,
		ofstream& out1,
		ofstream& out2,
		const string& outfile,
		int nthreads,
		bool useBlockwise,
		TIndexOffU bmax,
		TIndexOffU bmaxSqrtMult,
		TIndexOffU bmaxDivN,
		int dcv,
		uint32_t seed)
	{
		// Compose text strings into single string
		VMSG_NL("Calculating joined length");
		TStr s; // holds the entire joined reference after call to joinToDisk
		TIndexOffU jlen;
		jlen = joinedLen(szs);
		assert_geq(jlen, sztot);
		VMSG_NL("Writing header");
		writeFromMemory(true, out1, out2);
		try {
			VMSG_NL("Reserving space for joined string");
			s.resize(jlen);
			VMSG_NL("Joining reference sequences");
			if(refparams.reverse == REF_READ_REVERSE) {
				{
					Timer timer(cout, "  Time to join reference sequences: ", _verbose);
					joinToDisk(is, szs, plens, sztot, refparams, s, out1, out2, seed);
				} {
					Timer timer(cout, "  Time to reverse reference sequence: ", _verbose);
					EList<RefRecord> tmp;
					s.reverse();
					reverseRefRecords(szs, tmp, false, false);
					szsToDisk(tmp, out1, refparams.reverse);
				}
			} else {
				Timer timer(cout, "  Time to join reference sequences: ", _verbose);
				joinToDisk(is, szs, plens, sztot, refparams, s, out1, out2, seed);
				szsToDisk(szs, out1, refparams.reverse);
			}
			// Joined reference sequence now in 's'
		} catch(bad_alloc& e) {
			// If we throw an allocation exception in the try block,
			// that means that the joined version of the reference
			// string itself is too larger to fit in memory.  The only
			// alternatives are to tell the user to give us more memory
			// or to try again with a packed representation of the
			// reference (if we haven't tried that already).
			cerr << "Could not allocate space for a joined string of " << jlen << " elements." << endl;
			if(!isPacked() && _passMemExc) {
				// Pass the exception up so that we can retry using a
				// packed string representation
				throw e;
			}
			// There's no point passing this exception on.  The fact
			// that we couldn't allocate the joined string means that
			// --bmax is irrelevant - the user should re-run with
			// ebwt-build-packed
			if(isPacked()) {
				cerr << "Please try running bowtie-build on a computer with more memory." << endl;
			} else {
				cerr << "Please try running bowtie-build in packed mode (-p/--packed) or in automatic" << endl
				     << "mode (-a/--auto), or try again on a computer with more memory." << endl;
			}
			if(sizeof(void*) == 4) {
				cerr << "If this computer has more than 4 GB of memory, try using a 64-bit executable;" << endl
				     << "this executable is 32-bit." << endl;
			}
			throw 1;
		}
		// Succesfully obtained joined reference string
		assert_geq(s.length(), jlen);
		if(bmax != OFF_MASK) {
			VMSG_NL("bmax according to bmax setting: " << bmax);
		}
		else if(bmaxSqrtMult != OFF_MASK) {
			bmax *= bmaxSqrtMult;
			VMSG_NL("bmax according to bmaxSqrtMult setting: " << bmax);
		}
		else if(bmaxDivN != OFF_MASK) {
			bmax = max<TIndexOffU>(jlen / bmaxDivN, 1);
			VMSG_NL("bmax according to bmaxDivN setting: " << bmax);
		}
		else {
			bmax = (TIndexOffU)sqrt(s.length());
			VMSG_NL("bmax defaulted to: " << bmax);
		}
		int iter = 0;
		bool first = true;
		// Look for bmax/dcv parameters that work.
		while(true) {
			if(!first && bmax < 40 && _passMemExc) {
				cerr << "Could not find approrpiate bmax/dcv settings for building this index." << endl;
				if(!isPacked()) {
					// Throw an exception exception so that we can
					// retry using a packed string representation
					throw bad_alloc();
				} else {
					cerr << "Already tried a packed string representation." << endl;
				}
				cerr << "Please try indexing this reference on a computer with more memory." << endl;
				if(sizeof(void*) == 4) {
					cerr << "If this computer has more than 4 GB of memory, try using a 64-bit executable;" << endl
						 << "this executable is 32-bit." << endl;
				}
				throw 1;
			}
			if(dcv > 4096) dcv = 4096;
			if((iter % 6) == 5 && dcv < 4096 && dcv != 0) {
				dcv <<= 1; // double difference-cover period
			} else {
				bmax -= (bmax >> 2); // reduce by 25%
			}
			VMSG("Using parameters --bmax " << bmax);
			if(dcv == 0) {
				VMSG_NL(" and *no difference cover*");
			} else {
				VMSG_NL(" --dcv " << dcv);
			}
			iter++;
			try {
				{
					VMSG_NL("  Doing ahead-of-time memory usage test");
					// Make a quick-and-dirty attempt to force a bad_alloc iff
					// we would have thrown one eventually as part of
					// constructing the DifferenceCoverSample
					dcv <<= 1;
					TIndexOffU sz = (TIndexOffU)DifferenceCoverSample<TStr>::simulateAllocs(s, dcv >> 1);
					if(nthreads > 1) sz *= (nthreads + 1);
					AutoArray<uint8_t> tmp(sz, EBWT_CAT);
					dcv >>= 1;
					// Likewise with the KarkkainenBlockwiseSA
					sz = (TIndexOffU)KarkkainenBlockwiseSA<TStr>::simulateAllocs(s, bmax);
					AutoArray<uint8_t> tmp2(sz, EBWT_CAT);
					// Now throw in the 'ftab' and 'isaSample' structures
					// that we'll eventually allocate in buildToDisk
					AutoArray<TIndexOffU> ftab(_eh._ftabLen * 2, EBWT_CAT);
					AutoArray<uint8_t> side(_eh._sideSz);
					// Grab another 20 MB out of caution
					AutoArray<uint32_t> extra(20*1024*1024, EBWT_CAT);
					// If we made it here without throwing bad_alloc, then we
					// passed the memory-usage stress test
					VMSG("  Passed!  Constructing with these parameters: --bmax " << bmax << " --dcv " << dcv);
					if(isPacked()) {
						VMSG(" --packed");
					}
					VMSG_NL("");
				}
				VMSG_NL("Constructing suffix-array element generator");
				KarkkainenBlockwiseSA<TStr> bsa(s, bmax, nthreads, dcv, seed, _sanity, _passMemExc, _verbose, outfile);
				assert(bsa.suffixItrIsReset());
				assert_eq(bsa.size(), s.length()+1);
				VMSG_NL("Converting suffix-array elements to index image");
				buildToDisk(bsa, s, out1, out2);
				out1.flush(); out2.flush();
				if(out1.fail() || out2.fail()) {
					cerr << "An error occurred writing the index to disk.  Please check if the disk is full." << endl;
					throw 1;
				}
				break;
			} catch(bad_alloc& e) {
				if(_passMemExc) {
					VMSG_NL("  Ran out of memory; automatically trying more memory-economical parameters.");
				} else {
					cerr << "Out of memory while constructing suffix array.  Please try using a smaller" << endl
						 << "number of blocks by specifying a smaller --bmax or a larger --bmaxdivn" << endl;
					throw 1;
				}
			}
			first = false;
		}
		assert(repOk());
		// Now write reference sequence names on the end
#ifdef ACCOUNT_FOR_ALL_GAP_REFS
		assert_geq(this->_refnames.size(), this->_nPat);
#else
		assert_eq(this->_refnames.size(), this->_nPat);
#endif
		for(TIndexOffU i = 0; i < this->_refnames.size(); i++) {
			out1 << this->_refnames[i] << endl;
		}
		out1 << '\0';
		out1.flush(); out2.flush();
		if(out1.fail() || out2.fail()) {
			cerr << "An error occurred writing the index to disk.  Please check if the disk is full." << endl;
			throw 1;
		}
		VMSG_NL("Returning from initFromVector");
	}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x348, %rsp            # imm = 0x348
movq %r9, %r14
movl %r8d, %ebp
movq %rcx, 0x18(%rsp)
movq %rdx, %r12
movq %rsi, 0x28(%rsp)
movq %rdi, %rbx
cmpb $0x1, 0xc(%rdi)
jne 0x13c91
leaq 0x180(%rsp), %rdi
callq 0x5200
leaq 0x190(%rsp), %r15
leaq 0x1c393(%rip), %rsi     # 0x2ff90
movl $0x19, %edx
movq %r15, %rdi
callq 0x5400
movq 0x190(%rsp), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x5340
movsbl %al, %esi
movq %r15, %rdi
callq 0x5040
movq %rax, %rdi
callq 0x51f0
leaq 0x198(%rsp), %rsi
leaq 0x50(%rsp), %rdi
callq 0x55a0
leaq 0x50(%rsp), %rsi
movq %rbx, %rdi
callq 0xdd06
leaq 0x60(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x13c70
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x5380
movq 0x272e1(%rip), %rsi     # 0x3af58
leaq 0x180(%rsp), %rdi
callq 0x5230
leaq 0x200(%rsp), %rdi
callq 0x5130
movl %ebp, 0x20(%rsp)
leaq 0x26e24(%rip), %rax     # 0x3aac0
movq %rax, 0x30(%rsp)
xorpd %xmm0, %xmm0
movupd %xmm0, 0x38(%rsp)
movq $0x0, 0x48(%rsp)
movq 0x18(%r12), %rax
testq %rax, %rax
je 0x13cdf
movq 0x8(%r12), %rcx
addq $0x4, %rcx
xorl %ebp, %ebp
movl $0x1, %edx
addl (%rcx), %ebp
movl %edx, %esi
addq $0xc, %rcx
incl %edx
cmpq %rsi, %rax
ja 0x13cce
jmp 0x13ce1
xorl %ebp, %ebp
cmpb $0x1, 0xc(%rbx)
jne 0x13d9b
leaq 0x180(%rsp), %rdi
callq 0x5200
leaq 0x190(%rsp), %r15
leaq 0x1c2a3(%rip), %rsi     # 0x2ffaa
movl $0xe, %edx
movq %r15, %rdi
callq 0x5400
movq 0x190(%rsp), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x5340
movsbl %al, %esi
movq %r15, %rdi
callq 0x5040
movq %rax, %rdi
callq 0x51f0
leaq 0x198(%rsp), %rsi
leaq 0x50(%rsp), %rdi
callq 0x55a0
leaq 0x50(%rsp), %rsi
movq %rbx, %rdi
callq 0xdd06
leaq 0x60(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x13d7a
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x5380
movq 0x271d7(%rip), %rsi     # 0x3af58
leaq 0x180(%rsp), %rdi
callq 0x5230
leaq 0x200(%rsp), %rdi
callq 0x5130
movq 0x388(%rsp), %rcx
movq 0x380(%rsp), %rdx
movq %rbx, %rdi
movl $0x1, %esi
callq 0x8cce
cmpb $0x1, 0xc(%rbx)
jne 0x13e72
leaq 0x180(%rsp), %rdi
callq 0x5200
leaq 0x190(%rsp), %r13
leaq 0x1c1db(%rip), %rsi     # 0x2ffb9
movl $0x21, %edx
movq %r13, %rdi
callq 0x5400
movq 0x190(%rsp), %rax
movq -0x18(%rax), %rdi
addq %r13, %rdi
movl $0xa, %esi
callq 0x5340
movsbl %al, %esi
movq %r13, %rdi
callq 0x5040
movq %rax, %rdi
callq 0x51f0
leaq 0x198(%rsp), %rsi
leaq 0x50(%rsp), %rdi
callq 0x55a0
leaq 0x50(%rsp), %rsi
movq %rbx, %rdi
callq 0xdd06
leaq 0x60(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x13e51
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x5380
movq 0x27100(%rip), %rsi     # 0x3af58
leaq 0x180(%rsp), %rdi
callq 0x5230
leaq 0x200(%rsp), %rdi
callq 0x5130
movl %ebp, %esi
leaq 0x30(%rsp), %rdi
callq 0xdd30
cmpb $0x1, 0xc(%rbx)
jne 0x13f38
leaq 0x180(%rsp), %rdi
callq 0x5200
leaq 0x190(%rsp), %r15
leaq 0x1c137(%rip), %rsi     # 0x2ffdb
movl $0x1b, %edx
movq %r15, %rdi
callq 0x5400
movq 0x190(%rsp), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x5340
movsbl %al, %esi
movq %r15, %rdi
callq 0x5040
movq %rax, %rdi
callq 0x51f0
leaq 0x198(%rsp), %rsi
leaq 0x50(%rsp), %rdi
callq 0x55a0
leaq 0x50(%rsp), %rsi
movq %rbx, %rdi
callq 0xdd06
leaq 0x60(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x13f17
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x5380
movq 0x2703a(%rip), %rsi     # 0x3af58
leaq 0x180(%rsp), %rdi
callq 0x5230
leaq 0x200(%rsp), %rdi
callq 0x5130
movq %r12, 0x10(%rsp)
movl 0x3c8(%rsp), %r12d
cmpl $0x1, (%r14)
movq %r14, %r13
jne 0x140c2
movb 0xc(%rbx), %r15b
xorl %edi, %edi
callq 0x5300
movq %rax, 0x180(%rsp)
movq 0x27034(%rip), %r14     # 0x3afa0
movq %r14, 0x188(%rsp)
leaq 0x1c07c(%rip), %rax     # 0x2fff7
movq %rax, 0x190(%rsp)
movb %r15b, 0x198(%rsp)
movq %rbx, %rdi
movq 0x28(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq 0x18(%rsp), %rcx
movl 0x20(%rsp), %r8d
movq %r13, 0x18(%rsp)
movq %r13, %r9
pushq %r12
pushq 0x390(%rsp)
pushq 0x390(%rsp)
leaq 0x48(%rsp), %rax
pushq %rax
callq 0x15806
addq $0x20, %rsp
leaq 0x180(%rsp), %r15
movq %r15, %rdi
callq 0xff2c
movb 0xc(%rbx), %r13b
xorl %r12d, %r12d
xorl %edi, %edi
callq 0x5300
movq %rax, (%r15)
movq %r14, 0x8(%r15)
leaq 0x1c027(%rip), %rax     # 0x3001c
movq %rax, 0x10(%r15)
movb %r13b, 0x18(%r15)
movabsq $-0x100000000, %rax     # imm = 0xFFFFFFFF00000000
movq %rax, 0x50(%rsp)
movq %r12, 0x58(%rsp)
movq $0x80, 0x60(%rsp)
movq %r12, 0x68(%rsp)
movq 0x48(%rsp), %rdx
cmpq $0x2, %rdx
jb 0x14069
movq $-0x1, %rax
xorl %ecx, %ecx
movq 0x38(%rsp), %rsi
movb (%rsi,%rcx), %dil
addq %rsi, %rdx
movb (%rax,%rdx), %dl
movb %dl, (%rsi,%rcx)
movq 0x38(%rsp), %rdx
addq 0x48(%rsp), %rdx
movb %dil, (%rax,%rdx)
incq %rcx
movq 0x48(%rsp), %rdx
movq %rdx, %rsi
shrq %rsi
decq %rax
cmpq %rsi, %rcx
jb 0x14033
leaq 0x58(%rsp), %r15
leaq 0x50(%rsp), %rsi
movq 0x10(%rsp), %rdi
xorl %edx, %edx
xorl %ecx, %ecx
callq 0x2bfa7
movq 0x18(%rsp), %rax
movl (%rax), %ecx
leaq 0x50(%rsp), %rsi
movq %rbx, %rdi
movq 0x380(%rsp), %rdx
callq 0x15c7c
movq 0x58(%rsp), %rdi
testq %rdi, %rdi
je 0x140bd
callq 0x5450
xorpd %xmm0, %xmm0
movupd %xmm0, (%r15)
movq $0x0, 0x10(%r15)
jmp 0x1414c
movb 0xc(%rbx), %r14b
xorl %edi, %edi
callq 0x5300
movq %rax, 0x180(%rsp)
movq 0x26ec4(%rip), %rax     # 0x3afa0
movq %rax, 0x188(%rsp)
leaq 0x1bf0c(%rip), %rax     # 0x2fff7
movq %rax, 0x190(%rsp)
movb %r14b, 0x198(%rsp)
movq %rbx, %rdi
movq 0x28(%rsp), %rsi
movq 0x10(%rsp), %r15
movq %r15, %rdx
movq 0x18(%rsp), %rcx
movl 0x20(%rsp), %r8d
movq %r13, %r9
pushq %r12
pushq 0x390(%rsp)
movq 0x390(%rsp), %r14
pushq %r14
leaq 0x48(%rsp), %rax
pushq %rax
callq 0x15806
addq $0x20, %rsp
movl (%r13), %ecx
movq %rbx, %rdi
movq %r15, %rsi
movq %r14, %rdx
callq 0x15c7c
leaq 0x180(%rsp), %rdi
callq 0xff2c
movl 0x3a8(%rsp), %r13d
cmpl $-0x1, %r13d
je 0x14212
cmpb $0x1, 0xc(%rbx)
jne 0x14495
leaq 0x180(%rsp), %rdi
callq 0x5200
leaq 0x190(%rsp), %r14
leaq 0x1bfba(%rip), %rsi     # 0x3014b
movl $0x20, %edx
movq %r14, %rdi
callq 0x5400
movl %r13d, %esi
movq %r14, %rdi
callq 0x51e0
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x5340
movsbl %al, %esi
movq %r14, %rdi
callq 0x5040
movq %rax, %rdi
callq 0x51f0
leaq 0x198(%rsp), %rsi
leaq 0x50(%rsp), %rdi
callq 0x55a0
leaq 0x50(%rsp), %rsi
movq %rbx, %rdi
callq 0xdd06
leaq 0x60(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1420d
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x5380
jmp 0x14474
movl 0x3b0(%rsp), %r13d
cmpl $-0x1, %r13d
je 0x142ce
negl %r13d
cmpb $0x1, 0xc(%rbx)
jne 0x14495
leaq 0x180(%rsp), %rdi
callq 0x5200
leaq 0x190(%rsp), %r14
leaq 0x1bf1f(%rip), %rsi     # 0x3016c
movl $0x28, %edx
movq %r14, %rdi
callq 0x5400
movl %r13d, %esi
movq %r14, %rdi
callq 0x51e0
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x5340
movsbl %al, %esi
movq %r14, %rdi
callq 0x5040
movq %rax, %rdi
callq 0x51f0
leaq 0x198(%rsp), %rsi
leaq 0x50(%rsp), %rdi
callq 0x55a0
leaq 0x50(%rsp), %rsi
movq %rbx, %rdi
callq 0xdd06
leaq 0x60(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x142c9
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x5380
jmp 0x14474
movl 0x3b8(%rsp), %ecx
cmpl $-0x1, %ecx
je 0x14397
movl %ebp, %eax
xorl %edx, %edx
divl %ecx
cmpl %ecx, %ebp
movl $0x1, %r13d
cmovael %eax, %r13d
cmpb $0x1, 0xc(%rbx)
jne 0x14495
leaq 0x180(%rsp), %rdi
callq 0x5200
leaq 0x190(%rsp), %r14
leaq 0x1be7f(%rip), %rsi     # 0x30195
movl $0x24, %edx
movq %r14, %rdi
callq 0x5400
movl %r13d, %esi
movq %r14, %rdi
callq 0x51e0
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x5340
movsbl %al, %esi
movq %r14, %rdi
callq 0x5040
movq %rax, %rdi
callq 0x51f0
leaq 0x198(%rsp), %rsi
leaq 0x50(%rsp), %rdi
callq 0x55a0
leaq 0x50(%rsp), %rsi
movq %rbx, %rdi
callq 0xdd06
leaq 0x60(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x14392
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x5380
jmp 0x14474
movsd 0x48(%rsp), %xmm1
unpcklps 0x19cfc(%rip), %xmm1    # xmm1 = xmm1[0],mem[0],xmm1[1],mem[1]
subpd 0x19d04(%rip), %xmm1    # 0x2e0b0
movapd %xmm1, %xmm0
unpckhpd %xmm1, %xmm0            # xmm0 = xmm0[1],xmm1[1]
addsd %xmm1, %xmm0
xorpd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jb 0x143c8
sqrtsd %xmm0, %xmm0
jmp 0x143cd
callq 0x5260
cvttsd2si %xmm0, %r13
cmpb $0x1, 0xc(%rbx)
jne 0x14495
leaq 0x180(%rsp), %rdi
callq 0x5200
leaq 0x190(%rsp), %r14
leaq 0x1bdc2(%rip), %rsi     # 0x301ba
movl $0x13, %edx
movq %r14, %rdi
callq 0x5400
movl %r13d, %esi
movq %r14, %rdi
callq 0x51e0
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x5340
movsbl %al, %esi
movq %r14, %rdi
callq 0x5040
movq %rax, %rdi
callq 0x51f0
leaq 0x198(%rsp), %rsi
leaq 0x50(%rsp), %rdi
callq 0x55a0
leaq 0x50(%rsp), %rsi
movq %rbx, %rdi
callq 0xdd06
leaq 0x60(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x14474
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x5380
movq 0x26add(%rip), %rsi     # 0x3af58
leaq 0x180(%rsp), %rdi
callq 0x5230
leaq 0x200(%rsp), %rdi
callq 0x5130
movl 0x3c0(%rsp), %ebp
leaq 0x180(%rsp), %rax
addq $0x80, %rax
movq %rax, 0x10(%rsp)
movl $0x5, %r15d
movl $0xaaaaaaab, %ecx       # imm = 0xAAAAAAAB
movl $0x1000, %edx           # imm = 0x1000
leaq 0x1bec0(%rip), %rax     # 0x30386
movq %rax, 0x20(%rsp)
xorl %r12d, %r12d
xorl %r14d, %r14d
testb $0x1, %r14b
je 0x144e7
cmpl $0x27, %r13d
ja 0x144e7
cmpb $0x1, 0xd(%rbx)
je 0x151e1
movl %r12d, 0x28(%rsp)
movl %r12d, %eax
imulq %rcx, %rax
shrq $0x22, %rax
leal (%rax,%rax,2), %eax
movq %r15, 0x18(%rsp)
leal (%r15,%rax,2), %eax
testl %eax, %eax
sete %al
cmpl %edx, %ebp
movl $0x1000, %r12d          # imm = 0x1000
cmovll %ebp, %r12d
setl %dl
testl %ebp, %ebp
setne %cl
andb %dl, %cl
andb %al, %cl
movl %r13d, %eax
shll %cl, %r12d
shrl $0x2, %eax
testb %cl, %cl
movl $0x0, %ecx
cmovnel %ecx, %eax
subl %eax, %r13d
cmpb $0x1, 0xc(%rbx)
movl %r13d, %r14d
jne 0x145d1
leaq 0x180(%rsp), %rdi
callq 0x5200
movl $0x18, %edx
leaq 0x190(%rsp), %r15
movq %r15, %rdi
leaq 0x1bd1e(%rip), %rsi     # 0x30285
callq 0x5400
movq %r15, %rdi
movq %r14, %rsi
callq 0x51e0
leaq 0x50(%rsp), %r15
movq %r15, %rdi
leaq 0x198(%rsp), %rsi
callq 0x55a0
movq %rbx, %rdi
movq %r15, %rsi
callq 0xdd06
movq 0x50(%rsp), %rdi
leaq 0x60(%rsp), %rax
cmpq %rax, %rdi
je 0x145b3
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x5380
leaq 0x180(%rsp), %rdi
movq 0x26996(%rip), %rsi     # 0x3af58
callq 0x5230
movq 0x10(%rsp), %rdi
callq 0x5130
movb 0xc(%rbx), %al
testl %r12d, %r12d
je 0x14686
testb %al, %al
je 0x14747
leaq 0x180(%rsp), %rdi
callq 0x5200
movl $0x7, %edx
leaq 0x190(%rsp), %rdi
leaq 0x1bcb3(%rip), %rsi     # 0x302b9
callq 0x5400
leaq 0x190(%rsp), %rdi
movl %r12d, %esi
callq 0x5680
movq %rax, %r15
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x5340
movsbl %al, %esi
movq %r15, %rdi
callq 0x5040
movq %rax, %rdi
callq 0x51f0
leaq 0x50(%rsp), %r15
movq %r15, %rdi
leaq 0x198(%rsp), %rsi
callq 0x55a0
movq %rbx, %rdi
movq %r15, %rsi
callq 0xdd06
movq 0x50(%rsp), %rdi
leaq 0x60(%rsp), %rax
cmpq %rax, %rdi
je 0x14681
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x5380
jmp 0x14729
testb %al, %al
je 0x14747
leaq 0x180(%rsp), %rdi
callq 0x5200
movl $0x1a, %edx
leaq 0x190(%rsp), %rdi
leaq 0x1bbef(%rip), %rsi     # 0x3029e
callq 0x5400
movq 0x190(%rsp), %rax
movq -0x18(%rax), %rdi
leaq 0x190(%rsp), %rax
addq %rax, %rdi
movl $0xa, %esi
callq 0x5340
movsbl %al, %esi
leaq 0x190(%rsp), %rdi
callq 0x5040
movq %rax, %rdi
callq 0x51f0
leaq 0x50(%rsp), %r15
movq %r15, %rdi
leaq 0x198(%rsp), %rsi
callq 0x55a0
movq %rbx, %rdi
movq %r15, %rsi
callq 0xdd06
movq 0x50(%rsp), %rdi
leaq 0x60(%rsp), %rax
cmpq %rax, %rdi
je 0x14729
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x5380
leaq 0x180(%rsp), %rdi
movq 0x26820(%rip), %rsi     # 0x3af58
callq 0x5230
movq 0x10(%rsp), %rdi
callq 0x5130
cmpb $0x1, 0xc(%rbx)
jne 0x1480a
leaq 0x180(%rsp), %rdi
callq 0x5200
movl $0x27, %edx
leaq 0x190(%rsp), %rdi
leaq 0x1bb4f(%rip), %rsi     # 0x302c1
callq 0x5400
movq 0x190(%rsp), %rax
movq -0x18(%rax), %rdi
leaq 0x190(%rsp), %rax
addq %rax, %rdi
movl $0xa, %esi
callq 0x5340
movsbl %al, %esi
leaq 0x190(%rsp), %rdi
callq 0x5040
movq %rax, %rdi
callq 0x51f0
leaq 0x50(%rsp), %r15
movq %r15, %rdi
leaq 0x198(%rsp), %rsi
callq 0x55a0
movq %rbx, %rdi
movq %r15, %rsi
callq 0xdd06
movq 0x50(%rsp), %rdi
leaq 0x60(%rsp), %rax
cmpq %rax, %rdi
je 0x147ec
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x5380
leaq 0x180(%rsp), %rdi
movq 0x2675d(%rip), %rsi     # 0x3af58
callq 0x5230
movq 0x10(%rsp), %rdi
callq 0x5130
addl %r12d, %r12d
movl %r12d, %ebp
sarl %ebp
leaq 0x30(%rsp), %rdi
movl %ebp, %esi
callq 0x15dca
cmpb $0x0, 0xc(%rbx)
je 0x148d9
leaq 0x180(%rsp), %rdi
callq 0x5200
movl $0x36, %edx
leaq 0x190(%rsp), %rdi
leaq 0x1baa0(%rip), %rsi     # 0x302e9
callq 0x5400
leaq 0x190(%rsp), %rdi
movq %r14, %rsi
callq 0x51e0
movq %rax, %r14
movl $0x7, %edx
movq %rax, %rdi
leaq 0x1ba49(%rip), %rsi     # 0x302b9
callq 0x5400
movq %r14, %rdi
movl %ebp, %esi
callq 0x5680
leaq 0x50(%rsp), %r14
movq %r14, %rdi
leaq 0x198(%rsp), %rsi
callq 0x55a0
movq %rbx, %rdi
movq %r14, %rsi
callq 0xdd06
movq 0x50(%rsp), %rdi
leaq 0x60(%rsp), %rax
cmpq %rax, %rdi
je 0x148bb
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x5380
leaq 0x180(%rsp), %rdi
movq 0x2668e(%rip), %rsi     # 0x3af58
callq 0x5230
movq 0x10(%rsp), %rdi
callq 0x5130
cmpb $0x1, 0x180(%rbx)
jne 0x14970
cmpb $0x1, 0xc(%rbx)
jne 0x14970
leaq 0x180(%rsp), %rdi
callq 0x5200
movl $0x9, %edx
leaq 0x190(%rsp), %rdi
leaq 0x1ba0f(%rip), %rsi     # 0x30320
callq 0x5400
leaq 0x50(%rsp), %r14
movq %r14, %rdi
leaq 0x198(%rsp), %rsi
callq 0x55a0
movq %rbx, %rdi
movq %r14, %rsi
callq 0xdd06
movq 0x50(%rsp), %rdi
leaq 0x60(%rsp), %rax
cmpq %rax, %rdi
je 0x14952
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x5380
leaq 0x180(%rsp), %rdi
movq 0x265f7(%rip), %rsi     # 0x3af58
callq 0x5230
movq 0x10(%rsp), %rdi
callq 0x5130
cmpb $0x1, 0xc(%rbx)
jne 0x14a30
leaq 0x180(%rsp), %rdi
callq 0x5200
leaq 0x190(%rsp), %rdi
leaq 0x1c769(%rip), %rsi     # 0x310ff
xorl %edx, %edx
callq 0x5400
movq 0x190(%rsp), %rax
movq -0x18(%rax), %rdi
leaq 0x190(%rsp), %rax
addq %rax, %rdi
movl $0xa, %esi
callq 0x5340
movsbl %al, %esi
leaq 0x190(%rsp), %rdi
callq 0x5040
movq %rax, %rdi
callq 0x51f0
leaq 0x50(%rsp), %r14
movq %r14, %rdi
leaq 0x198(%rsp), %rsi
callq 0x55a0
movq %rbx, %rdi
movq %r14, %rsi
callq 0xdd06
movq 0x50(%rsp), %rdi
leaq 0x60(%rsp), %rax
cmpq %rax, %rdi
je 0x14a12
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x5380
leaq 0x180(%rsp), %rdi
movq 0x26537(%rip), %rsi     # 0x3af58
callq 0x5230
movq 0x10(%rsp), %rdi
callq 0x5130
cmpb $0x1, 0xc(%rbx)
jne 0x14af3
leaq 0x180(%rsp), %rdi
callq 0x5200
movl $0x2b, %edx
leaq 0x190(%rsp), %rdi
leaq 0x1b8cf(%rip), %rsi     # 0x3032a
callq 0x5400
movq 0x190(%rsp), %rax
movq -0x18(%rax), %rdi
leaq 0x190(%rsp), %rax
addq %rax, %rdi
movl $0xa, %esi
callq 0x5340
movsbl %al, %esi
leaq 0x190(%rsp), %rdi
callq 0x5040
movq %rax, %rdi
callq 0x51f0
leaq 0x50(%rsp), %r14
movq %r14, %rdi
leaq 0x198(%rsp), %rsi
callq 0x55a0
movq %rbx, %rdi
movq %r14, %rsi
callq 0xdd06
movq 0x50(%rsp), %rdi
leaq 0x60(%rsp), %rax
cmpq %rax, %rdi
je 0x14ad5
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x5380
leaq 0x180(%rsp), %rdi
movq 0x26474(%rip), %rsi     # 0x3af58
callq 0x5230
movq 0x10(%rsp), %rdi
callq 0x5130
movb 0xe(%rbx), %r14b
movb 0xc(%rbx), %r12b
movb 0xd(%rbx), %r15b
leaq 0x318(%rsp), %rax
movq %rax, 0x308(%rsp)
movq 0x390(%rsp), %rax
movq (%rax), %rsi
movq 0x8(%rax), %rdx
addq %rsi, %rdx
leaq 0x308(%rsp), %rdi
callq 0x10866
subq $0x8, %rsp
movzbl %r12b, %eax
movzbl %r15b, %r10d
movzbl %r14b, %r11d
leaq 0x58(%rsp), %rdi
leaq 0x38(%rsp), %rsi
movl %r13d, %edx
movl 0x3a0(%rsp), %ecx
movl %ebp, %r8d
movl 0x3d0(%rsp), %r9d
pushq 0x2643d(%rip)           # 0x3afa0
leaq 0x318(%rsp), %r14
pushq %r14
pushq %rax
pushq %r10
pushq %r11
callq 0x15e36
addq $0x30, %rsp
movq 0x308(%rsp), %rdi
leaq 0x318(%rsp), %rax
cmpq %rax, %rdi
je 0x14ba0
movq 0x318(%rsp), %rsi
incq %rsi
callq 0x5380
cmpb $0x1, 0xc(%rbx)
jne 0x14c6f
leaq 0x180(%rsp), %rdi
callq 0x5200
movl $0x2f, %edx
leaq 0x190(%rsp), %rdi
leaq 0x1b78b(%rip), %rsi     # 0x30356
callq 0x5400
movq 0x190(%rsp), %rax
movq -0x18(%rax), %rdi
leaq 0x190(%rsp), %rax
addq %rax, %rdi
movl $0xa, %esi
callq 0x5340
movsbl %al, %esi
leaq 0x190(%rsp), %rdi
callq 0x5040
movq %rax, %rdi
callq 0x51f0
leaq 0x328(%rsp), %r14
movq %r14, %rdi
leaq 0x198(%rsp), %rsi
callq 0x55a0
movq %rbx, %rdi
movq %r14, %rsi
callq 0xdd06
movq 0x328(%rsp), %rdi
leaq 0x338(%rsp), %rax
cmpq %rax, %rdi
je 0x14c51
movq 0x338(%rsp), %rsi
incq %rsi
callq 0x5380
leaq 0x180(%rsp), %rdi
movq 0x262f8(%rip), %rsi     # 0x3af58
callq 0x5230
movq 0x10(%rsp), %rdi
callq 0x5130
movq %rbx, %rdi
leaq 0x50(%rsp), %rsi
leaq 0x30(%rsp), %rdx
movq 0x380(%rsp), %rcx
movq 0x388(%rsp), %r8
callq 0x16094
movq 0x380(%rsp), %rdi
callq 0x51f0
movq 0x388(%rsp), %rdi
callq 0x51f0
movq 0x380(%rsp), %rcx
movq (%rcx), %rax
movq -0x18(%rax), %rax
testb $0x5, 0x20(%rcx,%rax)
jne 0x14ce6
movq 0x388(%rsp), %rcx
movq (%rcx), %rax
movq -0x18(%rax), %rax
testb $0x5, 0x20(%rcx,%rax)
jne 0x14ce6
leaq 0x50(%rsp), %rdi
callq 0x170de
jmp 0x1503a
movl $0x4f, %edx
movq 0x262fe(%rip), %rdi     # 0x3aff0
leaq 0x1b68d(%rip), %rsi     # 0x30386
callq 0x5400
movq 0x262eb(%rip), %rdi     # 0x3aff0
callq 0x5170
movl $0x4, %edi
callq 0x5180
movl $0x1, (%rax)
movq %rax, %rdi
movq 0x26224(%rip), %rsi     # 0x3af48
xorl %edx, %edx
callq 0x5650
jmp 0x152b4
movq %rdx, %r14
movq %rax, 0x8(%rsp)
movq 0x50(%rsp), %rdi
leaq 0x60(%rsp), %rax
cmpq %rax, %rdi
je 0x14d54
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x5380
jmp 0x14ef8
jmp 0x14ee6
jmp 0x14ee6
jmp 0x14f57
movq %rdx, %r14
movq %rax, 0x8(%rsp)
movq 0x328(%rsp), %rdi
leaq 0x338(%rsp), %rax
cmpq %rax, %rdi
je 0x14ec4
movq 0x338(%rsp), %rsi
incq %rsi
callq 0x5380
jmp 0x14ec4
jmp 0x14ebc
movq %rdx, %r14
movq %rax, 0x8(%rsp)
movq 0x50(%rsp), %rdi
leaq 0x60(%rsp), %rax
cmpq %rax, %rdi
je 0x14dc7
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x5380
jmp 0x14ef8
jmp 0x14f43
jmp 0x14ee6
movq %rdx, %r14
movq %rax, 0x8(%rsp)
movq 0x50(%rsp), %rdi
leaq 0x60(%rsp), %rax
cmpq %rax, %rdi
je 0x14dfa
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x5380
jmp 0x14ef8
jmp 0x14ee6
jmp 0x14f57
movq %rdx, %r14
movq %rax, 0x8(%rsp)
movq 0x50(%rsp), %rdi
leaq 0x60(%rsp), %rax
cmpq %rax, %rdi
je 0x14ef8
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x5380
jmp 0x14ef8
jmp 0x14ef0
jmp 0x14f57
movq %rdx, %r14
movq %rax, 0x8(%rsp)
movq 0x50(%rsp), %rdi
leaq 0x60(%rsp), %rax
cmpq %rax, %rdi
je 0x14f20
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x5380
jmp 0x14f20
jmp 0x14f18
jmp 0x14f57
jmp 0x14eaf
movq %rdx, %r14
movq %rax, 0x8(%rsp)
movq 0x308(%rsp), %rdi
leaq 0x318(%rsp), %rax
cmpq %rax, %rdi
je 0x14f5f
movq 0x318(%rsp), %rsi
incq %rsi
callq 0x5380
jmp 0x14f5f
movq %rdx, %r14
movq %rax, 0x8(%rsp)
jmp 0x14f3e
movq %rdx, %r14
movq %rax, 0x8(%rsp)
leaq 0x180(%rsp), %rdi
movq 0x26085(%rip), %rsi     # 0x3af58
callq 0x5230
movq 0x10(%rsp), %rdi
callq 0x5130
jmp 0x14f4b
jmp 0x14ee6
movq %rdx, %r14
movq %rax, 0x8(%rsp)
jmp 0x14ef8
movq %rdx, %r14
movq %rax, 0x8(%rsp)
leaq 0x180(%rsp), %rdi
movq 0x26051(%rip), %rsi     # 0x3af58
callq 0x5230
movq 0x10(%rsp), %rdi
callq 0x5130
jmp 0x14f5f
movq %rdx, %r14
movq %rax, 0x8(%rsp)
leaq 0x180(%rsp), %rdi
movq 0x26029(%rip), %rsi     # 0x3af58
callq 0x5230
movq 0x10(%rsp), %rdi
callq 0x5130
movl %r12d, %ebp
jmp 0x14f5f
movq %rdx, %r14
movq %rax, 0x8(%rsp)
leaq 0x50(%rsp), %rdi
callq 0x170de
jmp 0x14f5f
movq %rdx, %r14
movq %rax, 0x8(%rsp)
cmpl $0x1, %r14d
jne 0x157f2
movq 0x8(%rsp), %rdi
callq 0x5140
cmpb $0x1, 0xd(%rbx)
jne 0x152b4
cmpb $0x1, 0xc(%rbx)
jne 0x15013
leaq 0x180(%rsp), %rdi
callq 0x5200
movl $0x4c, %edx
leaq 0x190(%rsp), %rdi
leaq 0x1b42e(%rip), %rsi     # 0x303d6
callq 0x5400
leaq 0x190(%rsp), %rdi
callq 0x5170
leaq 0x50(%rsp), %rdi
leaq 0x198(%rsp), %rsi
callq 0x55a0
movq %rbx, %rdi
leaq 0x50(%rsp), %rsi
callq 0xdd06
movq 0x50(%rsp), %rdi
leaq 0x60(%rsp), %rax
cmpq %rax, %rdi
je 0x14ff5
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x5380
leaq 0x180(%rsp), %rdi
movq 0x25f54(%rip), %rsi     # 0x3af58
callq 0x5230
movq 0x10(%rsp), %rdi
callq 0x5130
movq 0x18(%rsp), %r15
decl %r15d
movl 0x28(%rsp), %r12d
incl %r12d
movb $0x1, %r14b
callq 0x55d0
movl $0xaaaaaaab, %ecx       # imm = 0xAAAAAAAB
movl $0x1000, %edx           # imm = 0x1000
jmp 0x144d1
cmpq $0x0, 0xe0(%rbx)
je 0x150a3
movl $0x1, %ebp
xorl %eax, %eax
movq 0xd0(%rbx), %rcx
shlq $0x5, %rax
movq (%rcx,%rax), %rsi
movq 0x8(%rcx,%rax), %rdx
movq 0x380(%rsp), %rdi
callq 0x5400
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x5340
movsbl %al, %esi
movq %r14, %rdi
callq 0x5040
movq %rax, %rdi
callq 0x51f0
movl %ebp, %eax
incl %ebp
cmpq %rax, 0xe0(%rbx)
ja 0x1504b
leaq 0x180(%rsp), %rsi
movb $0x0, (%rsi)
movl $0x1, %edx
movq 0x380(%rsp), %r14
movq %r14, %rdi
callq 0x5400
movq %r14, %rdi
callq 0x51f0
movq 0x388(%rsp), %rdi
callq 0x51f0
movq (%r14), %rax
movq -0x18(%rax), %rax
movl $0x4f, %edx
testb $0x5, 0x20(%r14,%rax)
jne 0x15243
movq 0x388(%rsp), %rcx
movq (%rcx), %rax
movq -0x18(%rax), %rax
testb $0x5, 0x20(%rcx,%rax)
leaq 0x190(%rsp), %r14
jne 0x15243
cmpb $0x1, 0xc(%rbx)
jne 0x151c5
leaq 0x180(%rsp), %rdi
callq 0x5200
leaq 0x1b385(%rip), %rsi     # 0x304b5
movl $0x1d, %edx
movq %r14, %rdi
callq 0x5400
movq 0x190(%rsp), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x5340
movsbl %al, %esi
movq %r14, %rdi
callq 0x5040
movq %rax, %rdi
callq 0x51f0
leaq 0x198(%rsp), %rsi
leaq 0x50(%rsp), %rdi
callq 0x55a0
leaq 0x50(%rsp), %rsi
movq %rbx, %rdi
callq 0xdd06
movq 0x50(%rsp), %rdi
leaq 0x60(%rsp), %rax
cmpq %rax, %rdi
je 0x151a4
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x5380
movq 0x25dad(%rip), %rsi     # 0x3af58
leaq 0x180(%rsp), %rdi
callq 0x5230
leaq 0x200(%rsp), %rdi
callq 0x5130
leaq 0x30(%rsp), %rdi
callq 0xdd8e
addq $0x348, %rsp            # imm = 0x348
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x25e08(%rip), %rdi     # 0x3aff0
leaq 0x1afdf(%rip), %rsi     # 0x301ce
movl $0x45, %edx
callq 0x5400
movq 0x25df0(%rip), %rdi     # 0x3aff0
callq 0x5170
cmpb $0x0, 0x180(%rbx)
je 0x15281
movq 0x25ddb(%rip), %rdi     # 0x3aff0
leaq 0x1aff8(%rip), %rsi     # 0x30214
movl $0x2d, %edx
callq 0x5400
movq 0x25dc3(%rip), %rdi     # 0x3aff0
callq 0x5170
movl $0x42, %edx
leaq 0x1b004(%rip), %rax     # 0x30242
movq %rax, 0x20(%rsp)
movq 0x25da6(%rip), %rdi     # 0x3aff0
movq 0x20(%rsp), %rsi
callq 0x5400
movq 0x25d95(%rip), %rdi     # 0x3aff0
callq 0x5170
movl $0x4, %edi
callq 0x5180
movl $0x1, (%rax)
movq 0x25cd1(%rip), %rsi     # 0x3af48
movq %rax, %rdi
xorl %edx, %edx
callq 0x5650
movl $0x8, %edi
callq 0x5180
movq 0x25cfe(%rip), %rcx     # 0x3af90
addq $0x10, %rcx
movq %rcx, (%rax)
movq 0x25d08(%rip), %rsi     # 0x3afa8
movq 0x25cd1(%rip), %rdx     # 0x3af78
movq %rax, %rdi
callq 0x5650
jmp 0x1574a
movq 0x25d35(%rip), %rdi     # 0x3aff0
leaq 0x1b161(%rip), %rsi     # 0x30423
movl $0x4a, %edx
callq 0x5400
movq 0x25d1d(%rip), %rdi     # 0x3aff0
callq 0x5170
movq %rax, %rbx
leaq 0x1b18c(%rip), %rsi     # 0x3046e
movl $0x46, %edx
movq %rax, %rdi
callq 0x5400
movq %rbx, %rdi
callq 0x5170
movl $0x4, %edi
callq 0x5180
movl $0x1, (%rax)
movq 0x25c3a(%rip), %rsi     # 0x3af48
movq %rax, %rdi
xorl %edx, %edx
callq 0x5650
jmp 0x1574a
jmp 0x15371
jmp 0x157ed
movq %rax, 0x8(%rsp)
movq 0x50(%rsp), %rdi
leaq 0x60(%rsp), %rax
cmpq %rax, %rdi
je 0x1534e
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x5380
jmp 0x1534e
jmp 0x15349
movq %rax, 0x8(%rsp)
movq 0x25c03(%rip), %rsi     # 0x3af58
leaq 0x180(%rsp), %rdi
callq 0x5230
leaq 0x200(%rsp), %rdi
callq 0x5130
jmp 0x15376
movq %rax, 0x8(%rsp)
callq 0x55d0
jmp 0x157f2
jmp 0x157e3
movq %rax, 0x8(%rsp)
leaq 0x60(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x153a5
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x5380
jmp 0x1578c
jmp 0x15630
jmp 0x157ed
movq %rax, 0x8(%rsp)
leaq 0x60(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x153d4
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x5380
jmp 0x1578c
jmp 0x15630
jmp 0x157ed
movq %rax, 0x8(%rsp)
leaq 0x60(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x15403
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x5380
jmp 0x1578c
jmp 0x15630
jmp 0x157ed
jmp 0x15630
movq %rax, 0x8(%rsp)
movq 0x50(%rsp), %rdi
leaq 0x60(%rsp), %rax
cmpq %rax, %rdi
je 0x15438
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x5380
jmp 0x1578c
jmp 0x15630
jmp 0x157ed
jmp 0x15630
movq %rax, 0x8(%rsp)
movq 0x50(%rsp), %rdi
leaq 0x60(%rsp), %rax
cmpq %rax, %rdi
je 0x1546d
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x5380
jmp 0x1578c
jmp 0x15630
movq %rax, 0x8(%rsp)
leaq 0x60(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x15497
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x5380
jmp 0x1578c
jmp 0x157ed
jmp 0x15630
jmp 0x157ed
movq %rax, 0x8(%rsp)
movq 0x50(%rsp), %rdi
leaq 0x60(%rsp), %rax
cmpq %rax, %rdi
je 0x154cc
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x5380
jmp 0x1578c
jmp 0x15630
jmp 0x157ed
movq %rax, 0x8(%rsp)
movq 0x50(%rsp), %rdi
leaq 0x60(%rsp), %rax
cmpq %rax, %rdi
je 0x154fc
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x5380
jmp 0x1578c
jmp 0x15630
jmp 0x157ed
movq %rdx, %r14
movq %rax, 0x8(%rsp)
leaq 0x60(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1552e
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x5380
jmp 0x1564c
jmp 0x1563a
jmp 0x15606
movq %rdx, %r14
movq %rax, 0x8(%rsp)
leaq 0x60(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1564c
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x5380
jmp 0x1564c
jmp 0x15644
jmp 0x1561d
movq %rax, 0x8(%rsp)
leaq 0x60(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1578c
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x5380
jmp 0x1578c
jmp 0x15787
jmp 0x1561d
movq %rax, 0x8(%rsp)
leaq 0x60(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x157b4
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x5380
jmp 0x157b4
jmp 0x157af
jmp 0x157ed
jmp 0x15630
jmp 0x15630
jmp 0x15630
movq %rdx, %r14
movq %rax, 0x8(%rsp)
movq 0x58(%rsp), %rdi
testq %rdi, %rdi
je 0x15604
callq 0x5450
xorpd %xmm0, %xmm0
movupd %xmm0, (%r15)
movq $0x0, 0x10(%r15)
jmp 0x1560e
movq %rdx, %r14
movq %rax, 0x8(%rsp)
leaq 0x180(%rsp), %rdi
callq 0xff2c
jmp 0x1566d
movq %rdx, %r14
movq %rax, 0x8(%rsp)
jmp 0x1566d
jmp 0x157ed
jmp 0x15630
jmp 0x15630
movq %rax, 0x8(%rsp)
jmp 0x1578c
movq %rdx, %r14
movq %rax, 0x8(%rsp)
jmp 0x1564c
movq %rdx, %r14
movq %rax, 0x8(%rsp)
movq 0x25905(%rip), %rsi     # 0x3af58
leaq 0x180(%rsp), %rdi
callq 0x5230
leaq 0x200(%rsp), %rdi
callq 0x5130
cmpl $0x1, %r14d
jne 0x157f2
movq 0x8(%rsp), %rdi
callq 0x5140
movq 0x25968(%rip), %rdi     # 0x3aff0
leaq 0x1a9b4(%rip), %rsi     # 0x30043
movl $0x30, %edx
callq 0x5400
movl %ebp, %esi
movq 0x2594e(%rip), %r14     # 0x3aff0
movq %r14, %rdi
callq 0x51e0
movq %rax, %r15
leaq 0x1a9c0(%rip), %rsi     # 0x30074
movl $0xa, %edx
movq %rax, %rdi
callq 0x5400
movq %r15, %rdi
callq 0x5170
movb 0x180(%rbx), %al
testb %al, %al
jne 0x1570d
cmpb $0x1, 0xd(%rbx)
jne 0x15709
movl $0x8, %edi
callq 0x5180
movq 0x258a6(%rip), %rcx     # 0x3af90
addq $0x10, %rcx
movq %rcx, (%rax)
movq 0x258b0(%rip), %rsi     # 0x3afa8
movq 0x25879(%rip), %rdx     # 0x3af78
movq %rax, %rdi
callq 0x5650
jmp 0x1574a
testb %al, %al
je 0x1574a
leaq 0x1a96b(%rip), %rsi     # 0x3007f
movl $0x3f, %edx
movq %r14, %rdi
callq 0x5400
movq %r14, %rdi
callq 0x5170
movl $0x4, %edi
callq 0x5180
movl $0x1, (%rax)
movq 0x25808(%rip), %rsi     # 0x3af48
movq %rax, %rdi
xorl %edx, %edx
callq 0x5650
movq 0x2589f(%rip), %rdi     # 0x3aff0
leaq 0x1a967(%rip), %rsi     # 0x300bf
movl $0x4c, %edx
callq 0x5400
movq 0x25887(%rip), %rdi     # 0x3aff0
callq 0x5170
movq %rax, %r14
leaq 0x1a994(%rip), %rsi     # 0x3010c
movl $0x3e, %edx
movq %rax, %rdi
callq 0x5400
jmp 0x15721
movq %rax, 0x8(%rsp)
movq 0x257c5(%rip), %rsi     # 0x3af58
leaq 0x180(%rsp), %rdi
callq 0x5230
leaq 0x200(%rsp), %rdi
callq 0x5130
jmp 0x157f2
movq %rax, 0x8(%rsp)
movq 0x2579d(%rip), %rsi     # 0x3af58
leaq 0x180(%rsp), %rdi
callq 0x5230
leaq 0x200(%rsp), %rdi
callq 0x5130
jmp 0x157fc
movq %rax, 0x8(%rsp)
callq 0x55d0
jmp 0x157f2
movq %rax, %rdi
callq 0xdcfa
jmp 0x157ed
movq %rax, 0x8(%rsp)
leaq 0x30(%rsp), %rdi
callq 0xdd8e
movq 0x8(%rsp), %rdi
callq 0x56a0