// File: Laakeri[P]maxpre/src/AMSLEX.cpp
// Function: maxPreprocessor::AMSLEX::amsLexSEPerm(std::vector<int, std::allocator<int>> const&)
vector<int> AMSLEX::amsLexSEPerm(const vector<int>& clauses) {
	vector<vecP> D(clauses.size());
	vector<int> d0Index;
	ALIt++;
	int pid = 0;
	int maxFreq = 0;
	unsigned dataP = 0;
	for (unsigned i = 0; i < clauses.size(); i++) {
		assumeSize(dataP + pi.clauses[clauses[i]].lit.size());
		memcpy(data + dataP, pi.clauses[clauses[i]].lit.data(), pi.clauses[clauses[i]].lit.size()*sizeof(int));
		D[i].B = dataP;
		D[i].E = dataP + pi.clauses[clauses[i]].lit.size();
		D[i].O = clauses[i];
		dataP += D[i].size();
		
		for (unsigned j = D[i].B; j < D[i].E; j++) {
			if ((int)ALU.size() <= data[j]) {
				ALU.resize(data[j] + 1);
				ALI.resize(data[j] + 1);
			}
			if (ALU[data[j]] != ALIt) {
				ALU[data[j]] = ALIt;
				if (pid >= (int)ALF.size()) ALF.resize(pid + 1);
				ALF[pid] = 0;
				ALI[data[j]] = pid++;
			}
			data[j] = ALI[data[j]];
			ALF[data[j]]++;
			maxFreq = max(maxFreq, ALF[data[j]]);
		}
	}
	vector<vector<int> > cSort(maxFreq + 1);
	for (int i = 0; i < pid; i++) {
		cSort[ALF[i]].push_back(i);
	}
	vector<unsigned> perm(pid);
	unsigned i2 = 0;
	for (int i = 0; i <= maxFreq; i++) {
		for (int t : cSort[i]) {
			perm[t] = i2++;
		}
	}
	for (unsigned i = 0; i < D.size(); i++) {
		for (unsigned j = D[i].B; j < D[i].E; j++) {
			data[j] = perm[data[j]];
		}
		sort(data + D[i].B, data + D[i].E);
	}
	auto cmp = [&](vecP a, vecP b) {
		if (getD(a, 0) < getD(b, 0)) return true;
		else if (getD(a, 0) > getD(b, 0)) return false;
		unsigned sz = min(a.size(), b.size());
		for (unsigned i = 1; i < sz; i++) {
			if (getD(a, i) < getD(b, i)) return true;
			else if (getD(a, i) > getD(b, i)) return false;
		}
		return a.size() < b.size();
	};
	vector<vector<vecP> > cSort2(pid);
	for (unsigned i = 0; i < D.size(); i++) {
		cSort2[getD(D[i], 0)].push_back(D[i]);
	}
	unsigned di = 0;
	for (int i = 0; i < pid; i++) {
		sort(cSort2[i].begin(), cSort2[i].end(), cmp);
		for (unsigned j = 0; j < cSort2[i].size(); j++) {
			D[di++] = cSort2[i][j];
		}
	}
	d0Index.resize(pid + 1);
	int idx = 0;
	for (unsigned i = 0; i < D.size(); i++) {
		if (i == 0 || getD(D[i], 0) > getD(D[i - 1], 0)) {
			while (idx <= getD(D[i], 0)) {
				d0Index[idx++] = i;
			}
		}
	}
	while (idx <= pid) {
		d0Index[idx++] = (int)D.size();
	}
	vector<int> subsumed(D.size());
	unsigned S = 0;
	for (unsigned i = 1; i < D.size(); i++) {
		if (D[S].size() <= D[i].size() && isPrefix(D[S], D[i])) {
			subsumed[i] = true;
		}
		else {
			S = i;
		}
	}
	for (unsigned i = 0; i + 1 < D.size(); i++) {
		if (!subsumed[i] && CSO1(D, i + 1, D.size() - 1, D[i], 0, 0, d0Index)) {
			subsumed[i] = true;
		}
	}
	vector<int> ret;
	for (unsigned i = 0; i < D.size(); i++) {
		if (subsumed[i]) ret.push_back(D[i].O);
	}
	return ret;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x3d0, %rsp            # imm = 0x3D0
movq %rdi, -0x1f8(%rbp)
movq %rdi, %rax
movq %rax, -0x1f0(%rbp)
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x1e8(%rbp)
movq -0x18(%rbp), %rdi
callq 0xf940
movq %rax, -0x1e0(%rbp)
leaq -0x31(%rbp), %rdi
movq %rdi, -0x1d8(%rbp)
callq 0x6f160
movq -0x1e0(%rbp), %rsi
movq -0x1d8(%rbp), %rdx
leaq -0x30(%rbp), %rdi
callq 0x6f180
jmp 0x68a2c
leaq -0x31(%rbp), %rdi
callq 0x6f1f0
leaq -0x60(%rbp), %rdi
callq 0xa7e0
movq -0x1e8(%rbp), %rax
movl 0x30(%rax), %ecx
addl $0x1, %ecx
movl %ecx, 0x30(%rax)
movl $0x0, -0x64(%rbp)
movl $0x0, -0x68(%rbp)
movl $0x0, -0x6c(%rbp)
movl $0x0, -0x70(%rbp)
movl -0x70(%rbp), %eax
movq %rax, -0x200(%rbp)
movq -0x18(%rbp), %rdi
callq 0xf940
movq %rax, %rcx
movq -0x200(%rbp), %rax
cmpq %rcx, %rax
jae 0x68ee3
movq -0x1e8(%rbp), %rax
movl -0x6c(%rbp), %ecx
movl %ecx, -0x204(%rbp)
movq 0x68(%rax), %rax
movq %rax, -0x210(%rbp)
movq -0x18(%rbp), %rdi
movl -0x70(%rbp), %eax
movl %eax, %esi
callq 0x3c5b0
movq -0x210(%rbp), %rdi
movslq (%rax), %rsi
callq 0x3d060
movq %rax, %rdi
callq 0xf940
movl -0x204(%rbp), %esi
movq -0x1e8(%rbp), %rdi
addl %eax, %esi
callq 0x67790
jmp 0x68ae6
movq -0x1e8(%rbp), %rdx
movl -0x6c(%rbp), %eax
movl %eax, %ecx
movq 0x58(%rdx), %rax
movq 0x68(%rdx), %rdx
movq %rdx, -0x260(%rbp)
leaq (%rax,%rcx,4), %rax
movq %rax, -0x250(%rbp)
movq -0x18(%rbp), %rdi
movl -0x70(%rbp), %eax
movl %eax, %esi
callq 0x3c5b0
movq -0x260(%rbp), %rdi
movslq (%rax), %rsi
callq 0x3d060
movq %rax, %rdi
callq 0x6f210
movq %rax, %rcx
movq -0x1e8(%rbp), %rax
movq %rcx, -0x248(%rbp)
movq 0x68(%rax), %rax
movq %rax, -0x258(%rbp)
movq -0x18(%rbp), %rdi
movl -0x70(%rbp), %eax
movl %eax, %esi
callq 0x3c5b0
movq -0x258(%rbp), %rdi
movslq (%rax), %rsi
callq 0x3d060
movq %rax, %rdi
callq 0xf940
movq -0x250(%rbp), %rdi
movq -0x248(%rbp), %rsi
movq %rax, %rdx
shlq $0x2, %rdx
callq 0x4320
movl -0x6c(%rbp), %eax
movl %eax, -0x23c(%rbp)
movl -0x70(%rbp), %eax
movl %eax, %esi
leaq -0x30(%rbp), %rdi
movq %rdi, -0x220(%rbp)
callq 0x6f230
movl -0x23c(%rbp), %edx
movq %rax, %rcx
movq -0x1e8(%rbp), %rax
movl %edx, (%rcx)
movl -0x6c(%rbp), %ecx
movl %ecx, -0x22c(%rbp)
movq 0x68(%rax), %rax
movq %rax, -0x238(%rbp)
movq -0x18(%rbp), %rdi
movl -0x70(%rbp), %eax
movl %eax, %esi
callq 0x3c5b0
movq -0x238(%rbp), %rdi
movslq (%rax), %rsi
callq 0x3d060
movq %rax, %rdi
callq 0xf940
movq -0x220(%rbp), %rdi
movq %rax, %rcx
movl -0x22c(%rbp), %eax
addl %ecx, %eax
movl %eax, -0x228(%rbp)
movl -0x70(%rbp), %eax
movl %eax, %esi
callq 0x6f230
movl -0x228(%rbp), %ecx
movl %ecx, 0x4(%rax)
movq -0x18(%rbp), %rdi
movl -0x70(%rbp), %eax
movl %eax, %esi
callq 0x3c5b0
movq -0x220(%rbp), %rdi
movl (%rax), %eax
movl %eax, -0x224(%rbp)
movl -0x70(%rbp), %eax
movl %eax, %esi
callq 0x6f230
movl -0x224(%rbp), %ecx
movq -0x220(%rbp), %rdi
movl %ecx, 0x8(%rax)
movl -0x70(%rbp), %eax
movl %eax, %esi
callq 0x6f230
movq %rax, %rdi
callq 0x6f120
movl %eax, -0x214(%rbp)
jmp 0x68c71
movl -0x214(%rbp), %eax
addl -0x6c(%rbp), %eax
movl %eax, -0x6c(%rbp)
movl -0x70(%rbp), %eax
movl %eax, %esi
leaq -0x30(%rbp), %rdi
callq 0x6f230
movl (%rax), %eax
movl %eax, -0x74(%rbp)
movl -0x74(%rbp), %eax
movl %eax, -0x264(%rbp)
movl -0x70(%rbp), %eax
movl %eax, %esi
leaq -0x30(%rbp), %rdi
callq 0x6f230
movq %rax, %rcx
movl -0x264(%rbp), %eax
cmpl 0x4(%rcx), %eax
jae 0x68ed3
movq -0x1e8(%rbp), %rdi
callq 0xf940
movq -0x1e8(%rbp), %rcx
movq 0x58(%rcx), %rcx
movl -0x74(%rbp), %edx
cmpl (%rcx,%rdx,4), %eax
jg 0x68d46
movq -0x1e8(%rbp), %rdi
movq 0x58(%rdi), %rax
movl -0x74(%rbp), %ecx
movl (%rax,%rcx,4), %eax
incl %eax
movslq %eax, %rsi
callq 0xa990
jmp 0x68cf5
movq -0x1e8(%rbp), %rax
movq %rax, %rdi
addq $0x18, %rdi
movq 0x58(%rax), %rax
movl -0x74(%rbp), %ecx
movl (%rax,%rcx,4), %eax
incl %eax
movslq %eax, %rsi
callq 0xa990
jmp 0x68d19
jmp 0x68d46
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
leaq -0x31(%rbp), %rdi
callq 0x6f1f0
jmp 0x69b88
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x69b76
movq -0x1e8(%rbp), %rdi
movq 0x58(%rdi), %rax
movl -0x74(%rbp), %ecx
movslq (%rax,%rcx,4), %rsi
callq 0xa7c0
movq -0x1e8(%rbp), %rcx
movl (%rax), %eax
cmpl 0x30(%rcx), %eax
je 0x68e2b
movq -0x1e8(%rbp), %rdi
movl 0x30(%rdi), %eax
movl %eax, -0x26c(%rbp)
movq 0x58(%rdi), %rax
movl -0x74(%rbp), %ecx
movslq (%rax,%rcx,4), %rsi
callq 0xa7c0
movl -0x26c(%rbp), %ecx
movq -0x1e8(%rbp), %rdi
movl %ecx, (%rax)
movl -0x64(%rbp), %eax
movl %eax, -0x268(%rbp)
addq $0x38, %rdi
callq 0xf940
movq %rax, %rcx
movl -0x268(%rbp), %eax
cmpl %ecx, %eax
jl 0x68dd9
movq -0x1e8(%rbp), %rdi
addq $0x38, %rdi
movl -0x64(%rbp), %eax
incl %eax
movslq %eax, %rsi
callq 0xa990
jmp 0x68dd7
jmp 0x68dd9
movq -0x1e8(%rbp), %rdi
addq $0x38, %rdi
movslq -0x64(%rbp), %rsi
callq 0xa7c0
movq %rax, %rcx
movq -0x1e8(%rbp), %rax
movl $0x0, (%rcx)
movl -0x64(%rbp), %ecx
movl %ecx, -0x270(%rbp)
addl $0x1, %ecx
movl %ecx, -0x64(%rbp)
movq %rax, %rdi
addq $0x18, %rdi
movq 0x58(%rax), %rax
movl -0x74(%rbp), %ecx
movslq (%rax,%rcx,4), %rsi
callq 0xa7c0
movl -0x270(%rbp), %ecx
movl %ecx, (%rax)
movq -0x1e8(%rbp), %rax
movq %rax, %rdi
addq $0x18, %rdi
movq 0x58(%rax), %rax
movl -0x74(%rbp), %ecx
movslq (%rax,%rcx,4), %rsi
callq 0xa7c0
movq %rax, %rcx
movq -0x1e8(%rbp), %rax
movl (%rcx), %esi
movq 0x58(%rax), %rcx
movl -0x74(%rbp), %edx
movl %esi, (%rcx,%rdx,4)
movq %rax, %rdi
addq $0x38, %rdi
movq %rdi, -0x280(%rbp)
movq 0x58(%rax), %rax
movl -0x74(%rbp), %ecx
movslq (%rax,%rcx,4), %rsi
callq 0xa7c0
movq -0x280(%rbp), %rdi
movq %rax, %rcx
movq -0x1e8(%rbp), %rax
movl (%rcx), %edx
incl %edx
movl %edx, (%rcx)
movq 0x58(%rax), %rax
movl -0x74(%rbp), %ecx
movslq (%rax,%rcx,4), %rsi
callq 0xa7c0
movq %rax, %rsi
leaq -0x68(%rbp), %rdi
callq 0x3e430
movq %rax, -0x278(%rbp)
jmp 0x68eb9
movq -0x278(%rbp), %rax
movl (%rax), %eax
movl %eax, -0x68(%rbp)
movl -0x74(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x74(%rbp)
jmp 0x68c90
jmp 0x68ed5
movl -0x70(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x70(%rbp)
jmp 0x68a6a
movl -0x68(%rbp), %eax
incl %eax
cltq
movq %rax, -0x290(%rbp)
leaq -0x91(%rbp), %rdi
movq %rdi, -0x288(%rbp)
callq 0xb350
movq -0x290(%rbp), %rsi
movq -0x288(%rbp), %rdx
leaq -0x90(%rbp), %rdi
callq 0x3ed40
jmp 0x68f20
leaq -0x91(%rbp), %rdi
callq 0xb5f0
movl $0x0, -0x98(%rbp)
movl -0x98(%rbp), %eax
cmpl -0x64(%rbp), %eax
jge 0x68fb9
movq -0x1e8(%rbp), %rdi
addq $0x38, %rdi
movslq -0x98(%rbp), %rsi
callq 0xa7c0
movslq (%rax), %rsi
leaq -0x90(%rbp), %rdi
callq 0xaab0
movq %rax, %rdi
leaq -0x98(%rbp), %rsi
callq 0xa8c0
jmp 0x68f78
jmp 0x68f7a
movl -0x98(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x98(%rbp)
jmp 0x68f36
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
leaq -0x91(%rbp), %rdi
callq 0xb5f0
jmp 0x69b76
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x69b6a
movslq -0x64(%rbp), %rax
movq %rax, -0x2a0(%rbp)
leaq -0xb1(%rbp), %rdi
movq %rdi, -0x298(%rbp)
callq 0x6f250
movq -0x2a0(%rbp), %rsi
movq -0x298(%rbp), %rdx
leaq -0xb0(%rbp), %rdi
callq 0x6f270
jmp 0x68ff3
leaq -0xb1(%rbp), %rdi
callq 0x6f2e0
movl $0x0, -0xb8(%rbp)
movl $0x0, -0xbc(%rbp)
movl -0xbc(%rbp), %eax
cmpl -0x68(%rbp), %eax
jg 0x69100
movslq -0xbc(%rbp), %rsi
leaq -0x90(%rbp), %rdi
callq 0xaab0
movq %rax, -0xc8(%rbp)
movq -0xc8(%rbp), %rdi
callq 0xa800
movq %rax, -0xd0(%rbp)
movq -0xc8(%rbp), %rdi
callq 0xa830
movq %rax, -0xd8(%rbp)
leaq -0xd0(%rbp), %rdi
leaq -0xd8(%rbp), %rsi
callq 0xa860
testb $0x1, %al
jne 0x6907b
jmp 0x690ea
leaq -0xd0(%rbp), %rdi
callq 0xa8a0
movl (%rax), %eax
movl %eax, -0xdc(%rbp)
movl -0xb8(%rbp), %eax
movl %eax, -0x2a4(%rbp)
addl $0x1, %eax
movl %eax, -0xb8(%rbp)
movslq -0xdc(%rbp), %rsi
leaq -0xb0(%rbp), %rdi
callq 0x6f300
movl -0x2a4(%rbp), %ecx
movl %ecx, (%rax)
leaq -0xd0(%rbp), %rdi
callq 0xa930
jmp 0x69062
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
leaq -0xb1(%rbp), %rdi
callq 0x6f2e0
jmp 0x69b6a
jmp 0x690ec
movl -0xbc(%rbp), %eax
addl $0x1, %eax
movl %eax, -0xbc(%rbp)
jmp 0x69013
movl $0x0, -0xe0(%rbp)
movl -0xe0(%rbp), %eax
movq %rax, -0x2b0(%rbp)
leaq -0x30(%rbp), %rdi
callq 0x6f320
movq %rax, %rcx
movq -0x2b0(%rbp), %rax
cmpq %rcx, %rax
jae 0x6926f
movl -0xe0(%rbp), %eax
movl %eax, %esi
leaq -0x30(%rbp), %rdi
callq 0x6f230
movl (%rax), %eax
movl %eax, -0xe4(%rbp)
movl -0xe4(%rbp), %eax
movl %eax, -0x2b4(%rbp)
movl -0xe0(%rbp), %eax
movl %eax, %esi
leaq -0x30(%rbp), %rdi
callq 0x6f230
movq %rax, %rcx
movl -0x2b4(%rbp), %eax
cmpl 0x4(%rcx), %eax
jae 0x691c2
movq -0x1e8(%rbp), %rax
movq 0x58(%rax), %rax
movl -0xe4(%rbp), %ecx
movslq (%rax,%rcx,4), %rsi
leaq -0xb0(%rbp), %rdi
callq 0x6f300
movq %rax, %rcx
movq -0x1e8(%rbp), %rax
movl (%rcx), %edx
movq 0x58(%rax), %rax
movl -0xe4(%rbp), %ecx
movl %edx, (%rax,%rcx,4)
movl -0xe4(%rbp), %eax
addl $0x1, %eax
movl %eax, -0xe4(%rbp)
jmp 0x6914c
movq -0x1e8(%rbp), %rax
movq 0x58(%rax), %rax
movq %rax, -0x2d8(%rbp)
movl -0xe0(%rbp), %eax
movl %eax, %esi
leaq -0x30(%rbp), %rdi
movq %rdi, -0x2d0(%rbp)
callq 0x6f230
movq -0x2d8(%rbp), %rcx
movq -0x2d0(%rbp), %rdi
movq %rax, %rdx
movq -0x1e8(%rbp), %rax
movl (%rdx), %edx
leaq (%rcx,%rdx,4), %rcx
movq %rcx, -0x2c8(%rbp)
movq 0x58(%rax), %rax
movq %rax, -0x2c0(%rbp)
movl -0xe0(%rbp), %eax
movl %eax, %esi
callq 0x6f230
movq -0x2c8(%rbp), %rdi
movq %rax, %rcx
movq -0x2c0(%rbp), %rax
movl 0x4(%rcx), %ecx
leaq (%rax,%rcx,4), %rsi
callq 0x6f350
jmp 0x69248
jmp 0x6924a
movl -0xe0(%rbp), %eax
addl $0x1, %eax
movl %eax, -0xe0(%rbp)
jmp 0x6910a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x69b5e
movq -0x1e8(%rbp), %rax
movq %rax, -0xf0(%rbp)
movslq -0x64(%rbp), %rax
movq %rax, -0x2e8(%rbp)
leaq -0x109(%rbp), %rdi
movq %rdi, -0x2e0(%rbp)
callq 0x6f390
movq -0x2e8(%rbp), %rsi
movq -0x2e0(%rbp), %rdx
leaq -0x108(%rbp), %rdi
callq 0x6f3b0
jmp 0x692b7
leaq -0x109(%rbp), %rdi
callq 0x6f420
movl $0x0, -0x110(%rbp)
movl -0x110(%rbp), %eax
movq %rax, -0x2f0(%rbp)
leaq -0x30(%rbp), %rdi
callq 0x6f320
movq %rax, %rcx
movq -0x2f0(%rbp), %rax
cmpq %rcx, %rax
jae 0x693ac
movq -0x1e8(%rbp), %rax
movq 0x58(%rax), %rax
movq %rax, -0x308(%rbp)
movl -0x110(%rbp), %eax
movl %eax, %esi
leaq -0x30(%rbp), %rdi
movq %rdi, -0x300(%rbp)
callq 0x6f230
movq %rax, %rcx
movq -0x308(%rbp), %rax
movl (%rcx), %ecx
movslq (%rax,%rcx,4), %rsi
leaq -0x108(%rbp), %rdi
callq 0x6f440
movq -0x300(%rbp), %rdi
movq %rax, -0x2f8(%rbp)
movl -0x110(%rbp), %eax
movl %eax, %esi
callq 0x6f230
movq -0x2f8(%rbp), %rdi
movq %rax, %rsi
callq 0x6f460
jmp 0x69368
jmp 0x6936a
movl -0x110(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x110(%rbp)
jmp 0x692cd
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
leaq -0x109(%rbp), %rdi
callq 0x6f420
jmp 0x69b5e
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x69b52
movl $0x0, -0x114(%rbp)
movl $0x0, -0x118(%rbp)
movl -0x118(%rbp), %eax
cmpl -0x64(%rbp), %eax
jge 0x6950a
movslq -0x118(%rbp), %rsi
leaq -0x108(%rbp), %rdi
movq %rdi, -0x310(%rbp)
callq 0x6f440
movq %rax, %rdi
callq 0x6f4d0
movq -0x310(%rbp), %rdi
movq %rax, -0x120(%rbp)
movslq -0x118(%rbp), %rsi
callq 0x6f440
movq %rax, %rdi
callq 0x6f500
movq %rax, -0x128(%rbp)
movq -0xf0(%rbp), %rax
movq %rax, -0x130(%rbp)
movq -0x120(%rbp), %rdi
movq -0x128(%rbp), %rsi
movq -0x130(%rbp), %rdx
callq 0x69ba0
jmp 0x69444
movl $0x0, -0x134(%rbp)
movl -0x134(%rbp), %eax
movq %rax, -0x318(%rbp)
movslq -0x118(%rbp), %rsi
leaq -0x108(%rbp), %rdi
callq 0x6f440
movq %rax, %rdi
callq 0x6f320
movq %rax, %rcx
movq -0x318(%rbp), %rax
cmpq %rcx, %rax
jae 0x694f4
movslq -0x118(%rbp), %rsi
leaq -0x108(%rbp), %rdi
callq 0x6f440
movq %rax, %rdi
movl -0x134(%rbp), %eax
movl %eax, %esi
callq 0x6f230
movq %rax, -0x320(%rbp)
movl -0x114(%rbp), %eax
movl %eax, %ecx
addl $0x1, %ecx
movl %ecx, -0x114(%rbp)
movl %eax, %eax
movl %eax, %esi
leaq -0x30(%rbp), %rdi
callq 0x6f230
movq -0x320(%rbp), %rcx
movq (%rcx), %rdx
movq %rdx, (%rax)
movl 0x8(%rcx), %ecx
movl %ecx, 0x8(%rax)
movl -0x134(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x134(%rbp)
jmp 0x6944e
jmp 0x694f6
movl -0x118(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x118(%rbp)
jmp 0x693c0
movl -0x64(%rbp), %eax
incl %eax
movslq %eax, %rsi
leaq -0x60(%rbp), %rdi
callq 0xa990
jmp 0x6951d
movl $0x0, -0x138(%rbp)
movl $0x0, -0x13c(%rbp)
movl -0x13c(%rbp), %eax
movq %rax, -0x328(%rbp)
leaq -0x30(%rbp), %rdi
callq 0x6f320
movq %rax, %rcx
movq -0x328(%rbp), %rax
cmpq %rcx, %rax
jae 0x69684
cmpl $0x0, -0x13c(%rbp)
je 0x695ec
movq -0x1e8(%rbp), %rax
movq 0x58(%rax), %rax
movq %rax, -0x340(%rbp)
movl -0x13c(%rbp), %eax
movl %eax, %esi
leaq -0x30(%rbp), %rdi
callq 0x6f230
movq -0x340(%rbp), %rcx
movq %rax, %rdx
movq -0x1e8(%rbp), %rax
movl (%rdx), %edx
addl $0x0, %edx
movl %edx, %edx
movl (%rcx,%rdx,4), %ecx
movl %ecx, -0x32c(%rbp)
movq 0x58(%rax), %rax
movq %rax, -0x338(%rbp)
movl -0x13c(%rbp), %eax
subl $0x1, %eax
movl %eax, %eax
movl %eax, %esi
leaq -0x30(%rbp), %rdi
callq 0x6f230
movq -0x338(%rbp), %rcx
movq %rax, %rdx
movl -0x32c(%rbp), %eax
movl (%rdx), %edx
addl $0x0, %edx
movl %edx, %edx
cmpl (%rcx,%rdx,4), %eax
jle 0x6966e
jmp 0x695ee
movq -0x1e8(%rbp), %rax
movl -0x138(%rbp), %ecx
movl %ecx, -0x344(%rbp)
movq 0x58(%rax), %rax
movq %rax, -0x350(%rbp)
movl -0x13c(%rbp), %eax
movl %eax, %esi
leaq -0x30(%rbp), %rdi
callq 0x6f230
movq -0x350(%rbp), %rcx
movq %rax, %rdx
movl -0x344(%rbp), %eax
movl (%rdx), %edx
addl $0x0, %edx
movl %edx, %edx
cmpl (%rcx,%rdx,4), %eax
jg 0x6966c
movl -0x13c(%rbp), %eax
movl %eax, -0x354(%rbp)
movl -0x138(%rbp), %eax
movl %eax, %ecx
addl $0x1, %ecx
movl %ecx, -0x138(%rbp)
movslq %eax, %rsi
leaq -0x60(%rbp), %rdi
callq 0xa7c0
movl -0x354(%rbp), %ecx
movl %ecx, (%rax)
jmp 0x695ee
jmp 0x6966e
jmp 0x69670
movl -0x13c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x13c(%rbp)
jmp 0x69531
jmp 0x69686
movl -0x138(%rbp), %eax
cmpl -0x64(%rbp), %eax
jg 0x696c7
leaq -0x30(%rbp), %rdi
callq 0x6f320
movl %eax, -0x358(%rbp)
movl -0x138(%rbp), %eax
movl %eax, %ecx
addl $0x1, %ecx
movl %ecx, -0x138(%rbp)
movslq %eax, %rsi
leaq -0x60(%rbp), %rdi
callq 0xa7c0
movl -0x358(%rbp), %ecx
movl %ecx, (%rax)
jmp 0x69686
leaq -0x30(%rbp), %rdi
callq 0x6f320
movq %rax, -0x368(%rbp)
leaq -0x159(%rbp), %rdi
movq %rdi, -0x360(%rbp)
callq 0xa710
movq -0x368(%rbp), %rsi
movq -0x360(%rbp), %rdx
leaq -0x158(%rbp), %rdi
callq 0xa730
jmp 0x69706
leaq -0x159(%rbp), %rdi
callq 0xa7a0
movl $0x0, -0x160(%rbp)
movl $0x1, -0x164(%rbp)
movl -0x164(%rbp), %eax
movq %rax, -0x370(%rbp)
leaq -0x30(%rbp), %rdi
callq 0x6f320
movq %rax, %rcx
movq -0x370(%rbp), %rax
cmpq %rcx, %rax
jae 0x698d2
movl -0x160(%rbp), %eax
movl %eax, %esi
leaq -0x30(%rbp), %rdi
callq 0x6f230
movq %rax, %rdi
callq 0x6f120
movl %eax, -0x374(%rbp)
jmp 0x69770
movl -0x164(%rbp), %eax
movl %eax, %esi
leaq -0x30(%rbp), %rdi
callq 0x6f230
movq %rax, %rdi
callq 0x6f120
movl %eax, -0x378(%rbp)
jmp 0x69791
movl -0x374(%rbp), %eax
movl -0x378(%rbp), %ecx
cmpl %ecx, %eax
ja 0x698b0
movl -0x160(%rbp), %eax
movl %eax, %esi
leaq -0x30(%rbp), %rdi
movq %rdi, -0x388(%rbp)
callq 0x6f230
movq -0x388(%rbp), %rdi
movl 0x8(%rax), %ecx
movl %ecx, -0x168(%rbp)
movq (%rax), %rax
movq %rax, -0x170(%rbp)
movl -0x164(%rbp), %eax
movl %eax, %esi
callq 0x6f230
movq -0x1e8(%rbp), %rdi
movl 0x8(%rax), %ecx
movl %ecx, -0x178(%rbp)
movq (%rax), %rax
movq %rax, -0x180(%rbp)
movl -0x168(%rbp), %eax
movl %eax, -0x188(%rbp)
movq -0x170(%rbp), %rax
movq %rax, -0x190(%rbp)
movq -0x190(%rbp), %rsi
movl -0x188(%rbp), %edx
movl -0x178(%rbp), %eax
movl %eax, -0x198(%rbp)
movq -0x180(%rbp), %rax
movq %rax, -0x1a0(%rbp)
movq -0x1a0(%rbp), %rcx
movl -0x198(%rbp), %r8d
callq 0x67890
movb %al, -0x379(%rbp)
jmp 0x6985a
movb -0x379(%rbp), %al
testb $0x1, %al
jne 0x69866
jmp 0x698b0
movl -0x164(%rbp), %eax
movl %eax, %esi
leaq -0x158(%rbp), %rdi
callq 0xa7c0
movl $0x1, (%rax)
jmp 0x698bc
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
leaq -0x159(%rbp), %rdi
callq 0xa7a0
jmp 0x69b52
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x69b46
movl -0x164(%rbp), %eax
movl %eax, -0x160(%rbp)
jmp 0x698be
movl -0x164(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x164(%rbp)
jmp 0x69726
movl $0x0, -0x1a4(%rbp)
movl -0x1a4(%rbp), %eax
addl $0x1, %eax
movl %eax, %eax
movq %rax, -0x390(%rbp)
leaq -0x30(%rbp), %rdi
callq 0x6f320
movq %rax, %rcx
movq -0x390(%rbp), %rax
cmpq %rcx, %rax
jae 0x69a19
movl -0x1a4(%rbp), %eax
movl %eax, %esi
leaq -0x158(%rbp), %rdi
callq 0xa7c0
cmpl $0x0, (%rax)
jne 0x69a03
movl -0x1a4(%rbp), %eax
incl %eax
movl %eax, -0x39c(%rbp)
leaq -0x30(%rbp), %rdi
movq %rdi, -0x3a8(%rbp)
callq 0x6f320
movq -0x3a8(%rbp), %rdi
decl %eax
movl %eax, -0x398(%rbp)
movl -0x1a4(%rbp), %eax
movl %eax, %esi
callq 0x6f230
movq -0x1e8(%rbp), %rdi
movq -0x3a8(%rbp), %rsi
movl -0x39c(%rbp), %edx
movl -0x398(%rbp), %ecx
movl 0x8(%rax), %r8d
movl %r8d, -0x1a8(%rbp)
movq (%rax), %rax
movq %rax, -0x1b0(%rbp)
movl -0x1a8(%rbp), %eax
movl %eax, -0x1b8(%rbp)
movq -0x1b0(%rbp), %rax
movq %rax, -0x1c0(%rbp)
movq -0x1c0(%rbp), %r8
movl -0x1b8(%rbp), %r9d
movq %rsp, %rax
leaq -0x60(%rbp), %r10
movq %r10, 0x10(%rax)
movl $0x0, 0x8(%rax)
movl $0x0, (%rax)
callq 0x67940
movb %al, -0x391(%rbp)
jmp 0x699dd
movb -0x391(%rbp), %al
testb $0x1, %al
jne 0x699e9
jmp 0x69a03
movl -0x1a4(%rbp), %eax
movl %eax, %esi
leaq -0x158(%rbp), %rdi
callq 0xa7c0
movl $0x1, (%rax)
jmp 0x69a05
movl -0x1a4(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x1a4(%rbp)
jmp 0x698dc
movq -0x1f8(%rbp), %rdi
movb $0x0, -0x1c1(%rbp)
callq 0xa7e0
movl $0x0, -0x1c8(%rbp)
movl -0x1c8(%rbp), %eax
movq %rax, -0x3b0(%rbp)
leaq -0x30(%rbp), %rdi
callq 0x6f320
movq %rax, %rcx
movq -0x3b0(%rbp), %rax
cmpq %rcx, %rax
jae 0x69ad8
movl -0x1c8(%rbp), %eax
movl %eax, %esi
leaq -0x158(%rbp), %rdi
callq 0xa7c0
cmpl $0x0, (%rax)
je 0x69ac2
movl -0x1c8(%rbp), %eax
movl %eax, %esi
leaq -0x30(%rbp), %rdi
callq 0x6f230
movq -0x1f8(%rbp), %rdi
movl 0x8(%rax), %eax
movl %eax, -0x1cc(%rbp)
leaq -0x1cc(%rbp), %rsi
callq 0x3c850
jmp 0x69aa3
jmp 0x69ac2
movq -0x1f8(%rbp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
callq 0xab00
jmp 0x69b46
jmp 0x69ac4
movl -0x1c8(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x1c8(%rbp)
jmp 0x69a36
movb $0x1, -0x1c1(%rbp)
testb $0x1, -0x1c1(%rbp)
jne 0x69af4
movq -0x1f8(%rbp), %rdi
callq 0xab00
leaq -0x158(%rbp), %rdi
callq 0xab00
leaq -0x108(%rbp), %rdi
callq 0x6f530
leaq -0xb0(%rbp), %rdi
callq 0x6f590
leaq -0x90(%rbp), %rdi
callq 0xb3b0
leaq -0x60(%rbp), %rdi
callq 0xab00
leaq -0x30(%rbp), %rdi
callq 0x6f5f0
movq -0x1f0(%rbp), %rax
addq $0x3d0, %rsp            # imm = 0x3D0
popq %rbp
retq
leaq -0x158(%rbp), %rdi
callq 0xab00
leaq -0x108(%rbp), %rdi
callq 0x6f530
leaq -0xb0(%rbp), %rdi
callq 0x6f590
leaq -0x90(%rbp), %rdi
callq 0xb3b0
leaq -0x60(%rbp), %rdi
callq 0xab00
leaq -0x30(%rbp), %rdi
callq 0x6f5f0
movq -0x40(%rbp), %rdi
callq 0x4610
nopw %cs:(%rax,%rax)