// File: /workspace/github_c_makefile_star2_O0/ranbenbasat[P]RHHH/check2.cpp
// Function: conditionedcount(std::map<unsigned long long, Counter, std::less<unsigned long long>, std::allocator<std::pair<unsigned long long const, Counter>>> const*, std::vector<std::pair<int, unsigned long long>, std::allocator<std::pair<int, unsigned long long>>> const&, unsigned long long, int)
int conditionedcount(const map<Item, Counter> * m, const vector<Pair> &p, Item item, int mask) {
	vector<Pair> descendants; //the direct descendants of item,mask
	for (vector<Pair>::const_iterator it = p.begin(); it != p.end(); ++it) {
		if ((masks[it->first] & masks[mask]) == masks[mask] && (it->second & masks[mask]) == item) {
			//it is a descendant, now eliminate non-direct descendants
			vector<Pair> newdescendants;
			for (vector<Pair>::const_iterator iter = descendants.begin(); iter != descendants.end(); ++iter) {
				if ((masks[iter->first] & masks[it->first]) != masks[it->first] || (iter->second & masks[it->first]) != it->second) {
					newdescendants.push_back(*iter);
				}
			}
			descendants = newdescendants;
			descendants.push_back(*it);
		}
	}
	
	map<Item, Counter>::const_iterator ci = m[mask].find(item);
	int s = (ci != m[mask].end() ? ci->second.get() : 0);
	for (vector<Pair>::const_iterator iter = descendants.begin(); iter != descendants.end(); ++iter) {
		map<Item, Counter>::const_iterator ci = m[iter->first].find(iter->second);
		if (ci != m[iter->first].end()) s -= ci->second.get();
	}
	for (vector<Pair>::const_iterator iter = descendants.begin(); iter != descendants.end(); ++iter) {
		for (vector<Pair>::const_iterator it = iter + 1; it != descendants.end(); ++it) {
			//compute glb of iter and it
			if ( (iter->second & masks[it->first]) != (it->second & masks[iter->first]) ) continue;
			int glbmask = 0; while (masks[glbmask] != (masks[it->first] | masks[iter->first])) glbmask++;
			//glb has been computed now check that there is no third parent
			int numparents = 0;
			for (vector<Pair>::const_iterator it3 = descendants.begin(); it3 != descendants.end(); ++it3) {
				if (((masks[it3->first] | masks[glbmask]) == masks[glbmask])
					&& (it3->second == ((it->second | iter->second) & masks[it3->first]))) numparents++;
			}
			if (numparents < 2) {
				printf("%d ", it->first); printip(it->second >> 32); printf(" "); printip(it->second); printf("\n");
				printf("%d ", iter->first); printip(iter->second >> 32); printf(" "); printip(iter->second); printf("\n");
				printf("%d\n", numparents);
				assert(false);
			}
			if (numparents == 2) {
				map<Item, Counter>::const_iterator ci = m[glbmask].find(it->second | iter->second);
				if (ci != m[glbmask].end()) s+= ci->second.get();
			}
		}
	}

	return s;
}

// Assembly:
subq $0x3b8, %rsp            # imm = 0x3B8
movq %rdi, 0x3b0(%rsp)
movq %rsi, 0x3a8(%rsp)
movq %rdx, 0x3a0(%rsp)
movl %ecx, 0x39c(%rsp)
leaq 0x380(%rsp), %rdi
callq 0x3a20
movq 0x3a8(%rsp), %rdi
callq 0x3a30
movq %rax, 0x288(%rsp)
jmp 0x136a
movq 0x288(%rsp), %rax
movq %rax, 0x378(%rsp)
movq 0x3a8(%rsp), %rdi
callq 0x3aa0
movq %rax, 0x280(%rsp)
jmp 0x1391
movq 0x280(%rsp), %rax
movq %rax, 0x360(%rsp)
leaq 0x378(%rsp), %rdi
leaq 0x360(%rsp), %rsi
callq 0x3a60
movb %al, 0x27f(%rsp)
jmp 0x13bf
movb 0x27f(%rsp), %al
testb $0x1, %al
jne 0x13cf
jmp 0x174b
leaq 0x378(%rsp), %rdi
callq 0x3ad0
movq %rax, 0x270(%rsp)
jmp 0x13e6
movq 0x270(%rsp), %rax
movslq (%rax), %rcx
leaq 0xbcf8(%rip), %rax      # 0xd0f0
movq (%rax,%rcx,8), %rax
movslq 0x39c(%rsp), %rdx
leaq 0xbce5(%rip), %rcx      # 0xd0f0
andq (%rcx,%rdx,8), %rax
movslq 0x39c(%rsp), %rdx
leaq 0xbcd2(%rip), %rcx      # 0xd0f0
cmpq (%rcx,%rdx,8), %rax
jne 0x1735
leaq 0x378(%rsp), %rdi
callq 0x3ad0
movq %rax, 0x268(%rsp)
jmp 0x143f
movq 0x268(%rsp), %rax
movq 0x8(%rax), %rax
movslq 0x39c(%rsp), %rdx
leaq 0xbc96(%rip), %rcx      # 0xd0f0
andq (%rcx,%rdx,8), %rax
cmpq 0x3a0(%rsp), %rax
jne 0x1735
leaq 0x348(%rsp), %rdi
callq 0x3a20
jmp 0x147b
leaq 0x380(%rsp), %rdi
callq 0x3ae0
movq %rax, 0x260(%rsp)
jmp 0x1492
movq 0x260(%rsp), %rax
movq %rax, 0x338(%rsp)
leaq 0x340(%rsp), %rdi
leaq 0x338(%rsp), %rsi
callq 0x3b10
jmp 0x14b9
jmp 0x14bb
leaq 0x380(%rsp), %rdi
callq 0x3b90
movq %rax, 0x258(%rsp)
jmp 0x14d2
movq 0x258(%rsp), %rax
movq %rax, 0x330(%rsp)
leaq 0x340(%rsp), %rdi
leaq 0x330(%rsp), %rsi
callq 0x3b50
movb %al, 0x257(%rsp)
jmp 0x1500
movb 0x257(%rsp), %al
testb $0x1, %al
jne 0x1510
jmp 0x16da
leaq 0x340(%rsp), %rdi
callq 0x3ad0
movq %rax, 0x248(%rsp)
jmp 0x1527
movq 0x248(%rsp), %rax
movslq (%rax), %rcx
leaq 0xbbb7(%rip), %rax      # 0xd0f0
movq (%rax,%rcx,8), %rax
movq %rax, 0x238(%rsp)
leaq 0x378(%rsp), %rdi
callq 0x3ad0
movq %rax, 0x240(%rsp)
jmp 0x155c
movq 0x238(%rsp), %rax
movq 0x240(%rsp), %rcx
movslq (%rcx), %rdx
leaq 0xbb7a(%rip), %rcx      # 0xd0f0
movq (%rcx,%rdx,8), %rcx
andq %rcx, %rax
movq %rax, 0x228(%rsp)
leaq 0x378(%rsp), %rdi
callq 0x3ad0
movq %rax, 0x230(%rsp)
jmp 0x159c
movq 0x228(%rsp), %rax
movq 0x230(%rsp), %rcx
movslq (%rcx), %rdx
leaq 0xbb3a(%rip), %rcx      # 0xd0f0
cmpq (%rcx,%rdx,8), %rax
jne 0x1658
leaq 0x340(%rsp), %rdi
callq 0x3ad0
movq %rax, 0x220(%rsp)
jmp 0x15d7
movq 0x220(%rsp), %rax
movq 0x8(%rax), %rax
movq %rax, 0x210(%rsp)
leaq 0x378(%rsp), %rdi
callq 0x3ad0
movq %rax, 0x218(%rsp)
jmp 0x1602
movq 0x210(%rsp), %rax
movq 0x218(%rsp), %rcx
movslq (%rcx), %rdx
leaq 0xbad4(%rip), %rcx      # 0xd0f0
movq (%rcx,%rdx,8), %rcx
andq %rcx, %rax
movq %rax, 0x200(%rsp)
leaq 0x378(%rsp), %rdi
callq 0x3ad0
movq %rax, 0x208(%rsp)
jmp 0x1642
movq 0x200(%rsp), %rax
movq 0x208(%rsp), %rcx
cmpq 0x8(%rcx), %rax
je 0x16c4
leaq 0x340(%rsp), %rdi
callq 0x3c30
movq %rax, 0x1f8(%rsp)
jmp 0x166f
movq 0x1f8(%rsp), %rsi
leaq 0x348(%rsp), %rdi
callq 0x3bc0
jmp 0x1686
jmp 0x16c4
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x370(%rsp)
movl %eax, 0x36c(%rsp)
jmp 0x2205
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x370(%rsp)
movl %eax, 0x36c(%rsp)
leaq 0x348(%rsp), %rdi
callq 0x3f20
jmp 0x1730
jmp 0x16c6
leaq 0x340(%rsp), %rdi
callq 0x3c40
jmp 0x16d5
jmp 0x14bb
leaq 0x380(%rsp), %rdi
leaq 0x348(%rsp), %rsi
callq 0x3c60
jmp 0x16f1
leaq 0x378(%rsp), %rdi
callq 0x3c30
movq %rax, 0x1f0(%rsp)
jmp 0x1708
movq 0x1f0(%rsp), %rsi
leaq 0x380(%rsp), %rdi
callq 0x3bc0
jmp 0x171f
leaq 0x348(%rsp), %rdi
callq 0x3f20
jmp 0x172e
jmp 0x1735
jmp 0x2205
jmp 0x1737
leaq 0x378(%rsp), %rdi
callq 0x3c40
jmp 0x1746
jmp 0x137a
movq 0x3b0(%rsp), %rdi
movslq 0x39c(%rsp), %rax
leaq (%rax,%rax,2), %rax
shlq $0x4, %rax
addq %rax, %rdi
leaq 0x3a0(%rsp), %rsi
callq 0x3fb0
movq %rax, 0x1e8(%rsp)
jmp 0x177d
movq 0x1e8(%rsp), %rax
movq %rax, 0x328(%rsp)
movq 0x3b0(%rsp), %rdi
movslq 0x39c(%rsp), %rax
leaq (%rax,%rax,2), %rax
shlq $0x4, %rax
addq %rax, %rdi
callq 0x4000
movq %rax, 0x1e0(%rsp)
jmp 0x17b7
movq 0x1e0(%rsp), %rax
movq %rax, 0x318(%rsp)
leaq 0x328(%rsp), %rdi
leaq 0x318(%rsp), %rsi
callq 0x3fe0
movb %al, 0x1df(%rsp)
jmp 0x17e5
movb 0x1df(%rsp), %al
testb $0x1, %al
jne 0x17f2
jmp 0x1833
leaq 0x328(%rsp), %rdi
callq 0x4030
movq %rax, 0x1d0(%rsp)
jmp 0x1809
movq 0x1d0(%rsp), %rdi
addq $0x8, %rdi
callq 0x4050
movl %eax, 0x1cc(%rsp)
jmp 0x1823
movl 0x1cc(%rsp), %eax
movl %eax, 0x1c8(%rsp)
jmp 0x183e
xorl %eax, %eax
movl %eax, 0x1c8(%rsp)
jmp 0x183e
movl 0x1c8(%rsp), %eax
movl %eax, 0x324(%rsp)
leaq 0x380(%rsp), %rdi
callq 0x3ae0
movq %rax, 0x1c0(%rsp)
jmp 0x1863
movq 0x1c0(%rsp), %rax
movq %rax, 0x308(%rsp)
leaq 0x310(%rsp), %rdi
leaq 0x308(%rsp), %rsi
callq 0x3b10
jmp 0x188a
jmp 0x188c
leaq 0x380(%rsp), %rdi
callq 0x3b90
movq %rax, 0x1b8(%rsp)
jmp 0x18a3
movq 0x1b8(%rsp), %rax
movq %rax, 0x300(%rsp)
leaq 0x310(%rsp), %rdi
leaq 0x300(%rsp), %rsi
callq 0x3b50
movb %al, 0x1b7(%rsp)
jmp 0x18d1
movb 0x1b7(%rsp), %al
testb $0x1, %al
jne 0x18e1
jmp 0x1a65
movq 0x3b0(%rsp), %rax
movq %rax, 0x1a0(%rsp)
leaq 0x310(%rsp), %rdi
callq 0x3ad0
movq %rax, 0x1a8(%rsp)
jmp 0x1908
movq 0x1a0(%rsp), %rax
movq 0x1a8(%rsp), %rcx
movslq (%rcx), %rcx
leaq (%rcx,%rcx,2), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movq %rax, 0x190(%rsp)
leaq 0x310(%rsp), %rdi
callq 0x3ad0
movq %rax, 0x198(%rsp)
jmp 0x1945
movq 0x190(%rsp), %rdi
movq 0x198(%rsp), %rsi
addq $0x8, %rsi
callq 0x3fb0
movq %rax, 0x188(%rsp)
jmp 0x1968
movq 0x188(%rsp), %rax
movq %rax, 0x2f8(%rsp)
movq 0x3b0(%rsp), %rax
movq %rax, 0x178(%rsp)
leaq 0x310(%rsp), %rdi
callq 0x3ad0
movq %rax, 0x180(%rsp)
jmp 0x199f
movq 0x178(%rsp), %rdi
movq 0x180(%rsp), %rax
movslq (%rax), %rax
leaq (%rax,%rax,2), %rax
shlq $0x4, %rax
addq %rax, %rdi
callq 0x4000
movq %rax, 0x170(%rsp)
jmp 0x19cc
movq 0x170(%rsp), %rax
movq %rax, 0x2f0(%rsp)
leaq 0x2f8(%rsp), %rdi
leaq 0x2f0(%rsp), %rsi
callq 0x3fe0
movb %al, 0x16f(%rsp)
jmp 0x19fa
movb 0x16f(%rsp), %al
testb $0x1, %al
jne 0x1a07
jmp 0x1a4f
leaq 0x2f8(%rsp), %rdi
callq 0x4030
movq %rax, 0x160(%rsp)
jmp 0x1a1e
movq 0x160(%rsp), %rdi
addq $0x8, %rdi
callq 0x4050
movl %eax, 0x15c(%rsp)
jmp 0x1a38
movl 0x15c(%rsp), %ecx
movl 0x324(%rsp), %eax
subl %ecx, %eax
movl %eax, 0x324(%rsp)
jmp 0x1a51
leaq 0x310(%rsp), %rdi
callq 0x3c40
jmp 0x1a60
jmp 0x188c
leaq 0x380(%rsp), %rdi
callq 0x3ae0
movq %rax, 0x150(%rsp)
jmp 0x1a7c
movq 0x150(%rsp), %rax
movq %rax, 0x2e0(%rsp)
leaq 0x2e8(%rsp), %rdi
leaq 0x2e0(%rsp), %rsi
callq 0x3b10
jmp 0x1aa3
jmp 0x1aa5
leaq 0x380(%rsp), %rdi
callq 0x3b90
movq %rax, 0x148(%rsp)
jmp 0x1abc
movq 0x148(%rsp), %rax
movq %rax, 0x2d8(%rsp)
leaq 0x2e8(%rsp), %rdi
leaq 0x2d8(%rsp), %rsi
callq 0x3b50
movb %al, 0x147(%rsp)
jmp 0x1aea
movb 0x147(%rsp), %al
testb $0x1, %al
jne 0x1afa
jmp 0x21e3
leaq 0x2e8(%rsp), %rdi
movl $0x1, %esi
callq 0x4060
movq %rax, 0x138(%rsp)
jmp 0x1b16
movq 0x138(%rsp), %rax
movq %rax, 0x2d0(%rsp)
leaq 0x380(%rsp), %rdi
callq 0x3b90
movq %rax, 0x130(%rsp)
jmp 0x1b3d
movq 0x130(%rsp), %rax
movq %rax, 0x2c8(%rsp)
leaq 0x2d0(%rsp), %rdi
leaq 0x2c8(%rsp), %rsi
callq 0x3b50
movb %al, 0x12f(%rsp)
jmp 0x1b6b
movb 0x12f(%rsp), %al
testb $0x1, %al
jne 0x1b7b
jmp 0x21cd
leaq 0x2e8(%rsp), %rdi
callq 0x3ad0
movq %rax, 0x120(%rsp)
jmp 0x1b92
movq 0x120(%rsp), %rax
movq 0x8(%rax), %rax
movq %rax, 0x110(%rsp)
leaq 0x2d0(%rsp), %rdi
callq 0x3ad0
movq %rax, 0x118(%rsp)
jmp 0x1bbd
movq 0x110(%rsp), %rax
movq 0x118(%rsp), %rcx
movslq (%rcx), %rdx
leaq 0xb519(%rip), %rcx      # 0xd0f0
movq (%rcx,%rdx,8), %rcx
andq %rcx, %rax
movq %rax, 0x100(%rsp)
leaq 0x2d0(%rsp), %rdi
callq 0x3ad0
movq %rax, 0x108(%rsp)
jmp 0x1bfd
movq 0x108(%rsp), %rax
movq 0x8(%rax), %rax
movq %rax, 0xf0(%rsp)
leaq 0x2e8(%rsp), %rdi
callq 0x3ad0
movq %rax, 0xf8(%rsp)
jmp 0x1c28
movq 0x100(%rsp), %rax
movq 0xf0(%rsp), %rcx
movq 0xf8(%rsp), %rdx
movslq (%rdx), %rsi
leaq 0xb4a6(%rip), %rdx      # 0xd0f0
andq (%rdx,%rsi,8), %rcx
cmpq %rcx, %rax
je 0x1c58
jmp 0x21b9
movl $0x0, 0x2c4(%rsp)
movslq 0x2c4(%rsp), %rcx
leaq 0xb47e(%rip), %rax      # 0xd0f0
movq (%rax,%rcx,8), %rax
movq %rax, 0xe0(%rsp)
leaq 0x2d0(%rsp), %rdi
callq 0x3ad0
movq %rax, 0xe8(%rsp)
jmp 0x1c95
movq 0xe8(%rsp), %rax
movslq (%rax), %rcx
leaq 0xb449(%rip), %rax      # 0xd0f0
movq (%rax,%rcx,8), %rax
movq %rax, 0xd0(%rsp)
leaq 0x2e8(%rsp), %rdi
callq 0x3ad0
movq %rax, 0xd8(%rsp)
jmp 0x1cca
movq 0xe0(%rsp), %rax
movq 0xd0(%rsp), %rcx
movq 0xd8(%rsp), %rdx
movslq (%rdx), %rsi
leaq 0xb404(%rip), %rdx      # 0xd0f0
orq (%rdx,%rsi,8), %rcx
cmpq %rcx, %rax
je 0x1d0b
movl 0x2c4(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x2c4(%rsp)
jmp 0x1c63
movl $0x0, 0x2c0(%rsp)
leaq 0x380(%rsp), %rdi
callq 0x3ae0
movq %rax, 0xc8(%rsp)
jmp 0x1d2d
movq 0xc8(%rsp), %rax
movq %rax, 0x2b0(%rsp)
leaq 0x2b8(%rsp), %rdi
leaq 0x2b0(%rsp), %rsi
callq 0x3b10
jmp 0x1d54
jmp 0x1d56
leaq 0x380(%rsp), %rdi
callq 0x3b90
movq %rax, 0xc0(%rsp)
jmp 0x1d6d
movq 0xc0(%rsp), %rax
movq %rax, 0x2a8(%rsp)
leaq 0x2b8(%rsp), %rdi
leaq 0x2a8(%rsp), %rsi
callq 0x3b50
movb %al, 0xbf(%rsp)
jmp 0x1d9b
movb 0xbf(%rsp), %al
testb $0x1, %al
jne 0x1dab
jmp 0x1ef3
leaq 0x2b8(%rsp), %rdi
callq 0x3ad0
movq %rax, 0xb0(%rsp)
jmp 0x1dc2
movq 0xb0(%rsp), %rax
movslq (%rax), %rcx
leaq 0xb31c(%rip), %rax      # 0xd0f0
movq (%rax,%rcx,8), %rax
movslq 0x2c4(%rsp), %rdx
leaq 0xb309(%rip), %rcx      # 0xd0f0
orq (%rcx,%rdx,8), %rax
movslq 0x2c4(%rsp), %rdx
leaq 0xb2f6(%rip), %rcx      # 0xd0f0
cmpq (%rcx,%rdx,8), %rax
jne 0x1edd
leaq 0x2b8(%rsp), %rdi
callq 0x3ad0
movq %rax, 0xa8(%rsp)
jmp 0x1e1b
movq 0xa8(%rsp), %rax
movq 0x8(%rax), %rax
movq %rax, 0x98(%rsp)
leaq 0x2d0(%rsp), %rdi
callq 0x3ad0
movq %rax, 0xa0(%rsp)
jmp 0x1e46
movq 0xa0(%rsp), %rax
movq 0x8(%rax), %rax
movq %rax, 0x88(%rsp)
leaq 0x2e8(%rsp), %rdi
callq 0x3ad0
movq %rax, 0x90(%rsp)
jmp 0x1e71
movq 0x88(%rsp), %rax
movq 0x90(%rsp), %rcx
movq 0x8(%rcx), %rcx
orq %rcx, %rax
movq %rax, 0x78(%rsp)
leaq 0x2b8(%rsp), %rdi
callq 0x3ad0
movq %rax, 0x80(%rsp)
jmp 0x1ea4
movq 0x98(%rsp), %rax
movq 0x78(%rsp), %rcx
movq 0x80(%rsp), %rdx
movslq (%rdx), %rsi
leaq 0xb22d(%rip), %rdx      # 0xd0f0
andq (%rdx,%rsi,8), %rcx
cmpq %rcx, %rax
jne 0x1edd
movl 0x2c0(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x2c0(%rsp)
jmp 0x1edf
leaq 0x2b8(%rsp), %rdi
callq 0x3c40
jmp 0x1eee
jmp 0x1d56
cmpl $0x2, 0x2c0(%rsp)
jge 0x207f
leaq 0x2d0(%rsp), %rdi
callq 0x3ad0
movq %rax, 0x70(%rsp)
jmp 0x1f15
movq 0x70(%rsp), %rax
movl (%rax), %esi
leaq 0x70f1(%rip), %rdi      # 0x9014
xorl %eax, %eax
callq 0x1030
jmp 0x1f2c
leaq 0x2d0(%rsp), %rdi
callq 0x3ad0
movq %rax, 0x68(%rsp)
jmp 0x1f40
movq 0x68(%rsp), %rax
movl 0xc(%rax), %eax
movl %eax, %edi
movq 0xb07f(%rip), %rax      # 0xcfd0
movq (%rax), %rsi
callq 0x12b0
leaq 0x72d1(%rip), %rdi      # 0x9231
xorl %eax, %eax
callq 0x1030
jmp 0x1f69
leaq 0x2d0(%rsp), %rdi
callq 0x3ad0
movq %rax, 0x60(%rsp)
jmp 0x1f7d
movq 0x60(%rsp), %rax
movq 0x8(%rax), %rdi
movq 0xb043(%rip), %rax      # 0xcfd0
movq (%rax), %rsi
callq 0x12b0
leaq 0x7163(%rip), %rdi      # 0x90ff
xorl %eax, %eax
callq 0x1030
jmp 0x1fa5
leaq 0x2e8(%rsp), %rdi
callq 0x3ad0
movq %rax, 0x58(%rsp)
jmp 0x1fb9
movq 0x58(%rsp), %rax
movl (%rax), %esi
leaq 0x704d(%rip), %rdi      # 0x9014
xorl %eax, %eax
callq 0x1030
jmp 0x1fd0
leaq 0x2e8(%rsp), %rdi
callq 0x3ad0
movq %rax, 0x50(%rsp)
jmp 0x1fe4
movq 0x50(%rsp), %rax
movl 0xc(%rax), %eax
movl %eax, %edi
movq 0xafdb(%rip), %rax      # 0xcfd0
movq (%rax), %rsi
callq 0x12b0
leaq 0x722d(%rip), %rdi      # 0x9231
xorl %eax, %eax
callq 0x1030
jmp 0x200d
leaq 0x2e8(%rsp), %rdi
callq 0x3ad0
movq %rax, 0x48(%rsp)
jmp 0x2021
movq 0x48(%rsp), %rax
movq 0x8(%rax), %rdi
movq 0xaf9f(%rip), %rax      # 0xcfd0
movq (%rax), %rsi
callq 0x12b0
leaq 0x70bf(%rip), %rdi      # 0x90ff
xorl %eax, %eax
callq 0x1030
jmp 0x2049
movl 0x2c0(%rsp), %esi
leaq 0x71c8(%rip), %rdi      # 0x921f
xorl %eax, %eax
callq 0x1030
jmp 0x2060
leaq 0x6fb1(%rip), %rdi      # 0x9018
leaq 0x6fb0(%rip), %rsi      # 0x901e
movl $0x67, %edx
leaq 0x6faf(%rip), %rcx      # 0x9029
callq 0x1090
cmpl $0x2, 0x2c0(%rsp)
jne 0x21b7
movq 0x3b0(%rsp), %rax
movslq 0x2c4(%rsp), %rcx
leaq (%rcx,%rcx,2), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movq %rax, 0x38(%rsp)
leaq 0x2d0(%rsp), %rdi
callq 0x3ad0
movq %rax, 0x40(%rsp)
jmp 0x20c1
movq 0x40(%rsp), %rax
movq 0x8(%rax), %rax
movq %rax, 0x28(%rsp)
leaq 0x2e8(%rsp), %rdi
callq 0x3ad0
movq %rax, 0x30(%rsp)
jmp 0x20e3
movq 0x38(%rsp), %rdi
movq 0x28(%rsp), %rax
movq 0x30(%rsp), %rcx
movq 0x8(%rcx), %rcx
orq %rcx, %rax
movq %rax, 0x298(%rsp)
leaq 0x298(%rsp), %rsi
callq 0x3fb0
movq %rax, 0x20(%rsp)
jmp 0x2115
movq 0x20(%rsp), %rax
movq %rax, 0x2a0(%rsp)
movq 0x3b0(%rsp), %rdi
movslq 0x2c4(%rsp), %rax
leaq (%rax,%rax,2), %rax
shlq $0x4, %rax
addq %rax, %rdi
callq 0x4000
movq %rax, 0x18(%rsp)
jmp 0x2149
movq 0x18(%rsp), %rax
movq %rax, 0x290(%rsp)
leaq 0x2a0(%rsp), %rdi
leaq 0x290(%rsp), %rsi
callq 0x3fe0
movb %al, 0x17(%rsp)
jmp 0x2171
movb 0x17(%rsp), %al
testb $0x1, %al
jne 0x217b
jmp 0x21b5
leaq 0x2a0(%rsp), %rdi
callq 0x4030
movq %rax, 0x8(%rsp)
jmp 0x218f
movq 0x8(%rsp), %rdi
addq $0x8, %rdi
callq 0x4050
movl %eax, 0x4(%rsp)
jmp 0x21a3
movl 0x4(%rsp), %eax
addl 0x324(%rsp), %eax
movl %eax, 0x324(%rsp)
jmp 0x21b7
jmp 0x21b9
leaq 0x2d0(%rsp), %rdi
callq 0x3c40
jmp 0x21c8
jmp 0x1b26
jmp 0x21cf
leaq 0x2e8(%rsp), %rdi
callq 0x3c40
jmp 0x21de
jmp 0x1aa5
movl 0x324(%rsp), %eax
movl %eax, (%rsp)
leaq 0x380(%rsp), %rdi
callq 0x3f20
movl (%rsp), %eax
addq $0x3b8, %rsp            # imm = 0x3B8
retq
leaq 0x380(%rsp), %rdi
callq 0x3f20
jmp 0x2214
jmp 0x2216
movq 0x370(%rsp), %rdi
callq 0x1190
movq %rax, %rdi
callq 0x3fa0
nopl (%rax,%rax)