// File: nmmmnu[P]HM3/hm3/test/test_list.cc
// Function: void list_test<hm3::STLVectorList>(char const*, hm3::STLVectorList&)
static void list_test(const char *module, LIST &list){
	Pair p = nullptr;
	StringRef nullstr = nullptr;


	PRINTF_TEST("put null",		list.put(p)				);

	PRINTF_TEST("get null",		list.get(nullstr).getKey().empty()	);
	PRINTF_TEST("remove null",	list.remove(nullstr)			);


	// TEST GENERAL

	const size_t size = list_populate(list);

	const typename LIST::size_type count = 4;

	PRINTF_TEST("print it",		true					);
	list.print();

	PRINTF_TEST("count",		list.getCount() == count		);
	PRINTF_TEST("count estim",	list.getCount(true) >= count		);
	PRINTF_TEST("empty",		! list.isEmpty()			);
	PRINTF_TEST("sizeof",		list.getBytes() == size			);



	// TEST GET

	p = list.get("3 city");
	PRINTF_TEST("get",		p.getVal() == "Sofia"			);

//	p = list["3 city"];
//	PRINTF_TEST("get[]",		p.getVal() == "Sofia"			);

	p = list.get("nonexistent");
	PRINTF_TEST("get non existent",	! p					);



	// TEST OVERWRITE

	const char *key_overwr = "2 val";
	const char *val_overwr = "overwritten";

	list.put( Pair(key_overwr, "original") );
	list.put( Pair(key_overwr, val_overwr) );
	p = list.get(key_overwr);
	PRINTF_TEST("overwrite",	p.getVal() == val_overwr		);



	// TEST REMOVE

	list_populate(list);

	// remove non existent
	list.remove("nonexistent");

	// remove middle
	list.remove("2 age");

	// remove first
	list.remove("1 name");

	// remove last
	list.remove("4 os");

	p = list.get("3 city");

	PRINTF_TEST("remove",		p.getVal() == "Sofia"			);
	PRINTF_TEST("remove count",	list.getCount() == 1			);
	PRINTF_TEST("remove sizeof",	list.getBytes() == p.getBytes()		);

	// overwrite sizeof test
	const Pair sopair = { "3 city", "" };

	list.put(sopair);
	PRINTF_TEST("overwrite count",	list.getCount() == 1			);
	PRINTF_TEST("overwrite sizeof",	list.getBytes() == sopair.getBytes()	);

	// remove last element
	list.remove("3 city");

	// remove non existent from empty list
	list.remove("nonexistent");

	PRINTF_TEST("remove count",	list.getCount() == 0			);
	PRINTF_TEST("remove empty",	list.isEmpty()				);



	// TEST ITERATOR

	list_populate(list);

	iterator_test(module, list);
	iterator_get_test(module, list);

	// TEST REFERENCES

	list.removeAll();
	ref_test(module, list);

	// MOVE TESTS

	/* size = */ list_populate(list);

	LIST mlist = std::move(list);
	PRINTF_TEST("move c-tor 1",	mlist.getBytes() == size			);
	PRINTF_TEST("move c-tor 2",	list.isEmpty()				);
}

// Assembly:
subq $0x378, %rsp            # imm = 0x378
movq %rdi, 0x370(%rsp)
movq %rsi, 0x368(%rsp)
xorl %eax, %eax
movl %eax, %esi
movq %rsi, 0x1a0(%rsp)
leaq 0x360(%rsp), %rdi
callq 0x14b60
movq 0x1a0(%rsp), %rsi
leaq 0x350(%rsp), %rdi
callq 0x98c0
jmp 0x2ce7
movq 0x370(%rsp), %rax
movq %rax, 0x190(%rsp)
movq 0x368(%rsp), %rdi
leaq 0x360(%rsp), %rsi
callq 0xa1f0
movb %al, 0x19f(%rsp)
jmp 0x2d15
movq 0x190(%rsp), %rsi
movb 0x19f(%rsp), %dl
leaq 0x142fc(%rip), %rax     # 0x17027
leaq 0x142f8(%rip), %rcx     # 0x1702a
testb $0x1, %dl
cmovneq %rax, %rcx
leaq 0x142c4(%rip), %rdi     # 0x17004
leaq 0x14367(%rip), %rdx     # 0x170ae
xorl %eax, %eax
callq 0x2030
jmp 0x2d50
movq 0x370(%rsp), %rax
movq %rax, 0x180(%rsp)
movq 0x368(%rsp), %rdi
leaq 0x350(%rsp), %rsi
callq 0xf8d0
movq %rax, 0x188(%rsp)
jmp 0x2d7f
movq 0x188(%rsp), %rdi
callq 0x14c40
movq %rax, 0x330(%rsp)
movq %rdx, 0x338(%rsp)
leaq 0x330(%rsp), %rdi
callq 0xa220
movq 0x180(%rsp), %rsi
movb %al, %dl
leaq 0x1426d(%rip), %rax     # 0x17027
leaq 0x14269(%rip), %rcx     # 0x1702a
testb %dl, %dl
cmovneq %rax, %rcx
leaq 0x14236(%rip), %rdi     # 0x17004
leaq 0x142e2(%rip), %rdx     # 0x170b7
xorl %eax, %eax
callq 0x2030
jmp 0x2dde
movq 0x370(%rsp), %rax
movq %rax, 0x170(%rsp)
movq 0x368(%rsp), %rdi
leaq 0x350(%rsp), %rsi
callq 0xf990
movb %al, 0x17f(%rsp)
jmp 0x2e0c
movq 0x170(%rsp), %rsi
movb 0x17f(%rsp), %dl
leaq 0x14205(%rip), %rax     # 0x17027
leaq 0x14201(%rip), %rcx     # 0x1702a
testb $0x1, %dl
cmovneq %rax, %rcx
leaq 0x141cd(%rip), %rdi     # 0x17004
leaq 0x14282(%rip), %rdx     # 0x170c0
xorl %eax, %eax
callq 0x2030
jmp 0x2e47
movq 0x368(%rsp), %rdi
callq 0x73a0
movq %rax, 0x168(%rsp)
jmp 0x2e5e
movq 0x168(%rsp), %rax
movq %rax, 0x328(%rsp)
movq $0x4, 0x320(%rsp)
movq 0x370(%rsp), %rsi
leaq 0x1417b(%rip), %rdi     # 0x17004
leaq 0x1418e(%rip), %rdx     # 0x1701e
leaq 0x14190(%rip), %rcx     # 0x17027
xorl %eax, %eax
callq 0x2030
jmp 0x2ea0
movq 0x368(%rsp), %rdi
movl $0xa, %esi
callq 0xa240
jmp 0x2eb4
movq 0x370(%rsp), %rax
movq %rax, 0x158(%rsp)
movq 0x368(%rsp), %rdi
xorl %esi, %esi
callq 0xa2e0
movq %rax, 0x160(%rsp)
jmp 0x2edd
movq 0x158(%rsp), %rsi
movq 0x160(%rsp), %rax
subq $0x4, %rax
leaq 0x1412f(%rip), %rax     # 0x17027
leaq 0x1412b(%rip), %rcx     # 0x1702a
cmoveq %rax, %rcx
leaq 0x140fa(%rip), %rdi     # 0x17004
leaq 0x14222(%rip), %rdx     # 0x17133
xorl %eax, %eax
callq 0x2030
jmp 0x2f1a
movq 0x370(%rsp), %rax
movq %rax, 0x148(%rsp)
movq 0x368(%rsp), %rdi
movl $0x1, %esi
callq 0xa2e0
movq %rax, 0x150(%rsp)
jmp 0x2f46
movq 0x148(%rsp), %rsi
movq 0x150(%rsp), %rax
subq $0x4, %rax
leaq 0x140c6(%rip), %rax     # 0x17027
leaq 0x140c2(%rip), %rcx     # 0x1702a
cmovaeq %rax, %rcx
leaq 0x14091(%rip), %rdi     # 0x17004
leaq 0x140b5(%rip), %rdx     # 0x1702f
xorl %eax, %eax
callq 0x2030
jmp 0x2f83
movq 0x370(%rsp), %rax
movq %rax, 0x138(%rsp)
movq 0x368(%rsp), %rdi
callq 0xa310
movb %al, 0x147(%rsp)
jmp 0x2fa9
movq 0x138(%rsp), %rsi
movb 0x147(%rsp), %dl
leaq 0x1406b(%rip), %rax     # 0x1702a
leaq 0x14061(%rip), %rcx     # 0x17027
testb $0x1, %dl
cmovneq %rax, %rcx
leaq 0x14030(%rip), %rdi     # 0x17004
leaq 0x14176(%rip), %rdx     # 0x17151
xorl %eax, %eax
callq 0x2030
jmp 0x2fe4
movq 0x370(%rsp), %rax
movq %rax, 0x128(%rsp)
movq 0x368(%rsp), %rdi
callq 0xa330
movq %rax, 0x130(%rsp)
jmp 0x300b
movq 0x128(%rsp), %rsi
movq 0x130(%rsp), %rax
movq 0x328(%rsp), %rcx
subq %rcx, %rax
leaq 0x13ffa(%rip), %rax     # 0x17027
leaq 0x13ff6(%rip), %rcx     # 0x1702a
cmoveq %rax, %rcx
leaq 0x13fc5(%rip), %rdi     # 0x17004
leaq 0x140fd(%rip), %rdx     # 0x17143
xorl %eax, %eax
callq 0x2030
jmp 0x304f
movq 0x368(%rsp), %rax
movq %rax, 0x120(%rsp)
leaq 0x1401b(%rip), %rsi     # 0x17081
leaq 0x310(%rsp), %rdi
callq 0x98c0
jmp 0x3075
movq 0x120(%rsp), %rdi
leaq 0x310(%rsp), %rsi
callq 0xf8d0
movq %rax, 0x118(%rsp)
jmp 0x3094
movq 0x118(%rsp), %rsi
leaq 0x360(%rsp), %rdi
callq 0x14bd0
jmp 0x30ab
movq 0x370(%rsp), %rax
movq %rax, 0x110(%rsp)
leaq 0x360(%rsp), %rdi
callq 0x14cd0
movq %rax, 0x300(%rsp)
movq %rdx, 0x308(%rsp)
leaq 0x13fa9(%rip), %rsi     # 0x17088
leaq 0x300(%rsp), %rdi
callq 0xa340
movq 0x110(%rsp), %rsi
movb %al, %dl
leaq 0x13f2a(%rip), %rax     # 0x17027
leaq 0x13f26(%rip), %rcx     # 0x1702a
testb %dl, %dl
cmovneq %rax, %rcx
leaq 0x13ef3(%rip), %rdi     # 0x17004
leaq 0x13f2b(%rip), %rdx     # 0x17043
xorl %eax, %eax
callq 0x2030
jmp 0x3121
movq 0x368(%rsp), %rax
movq %rax, 0x108(%rsp)
leaq 0x13f94(%rip), %rsi     # 0x170cc
leaq 0x2f0(%rsp), %rdi
callq 0x98c0
jmp 0x3147
movq 0x108(%rsp), %rdi
leaq 0x2f0(%rsp), %rsi
callq 0xf8d0
movq %rax, 0x100(%rsp)
jmp 0x3166
movq 0x100(%rsp), %rsi
leaq 0x360(%rsp), %rdi
callq 0x14bd0
jmp 0x317d
movq 0x370(%rsp), %rax
movq %rax, 0xf8(%rsp)
leaq 0x360(%rsp), %rdi
callq 0x9940
movq 0xf8(%rsp), %rsi
movb %al, %dl
leaq 0x13e7f(%rip), %rax     # 0x1702a
leaq 0x13e75(%rip), %rcx     # 0x17027
testb %dl, %dl
cmovneq %rax, %rcx
leaq 0x13e45(%rip), %rdi     # 0x17004
leaq 0x13f12(%rip), %rdx     # 0x170d8
xorl %eax, %eax
callq 0x2030
jmp 0x31cf
leaq 0x13f13(%rip), %rax     # 0x170e9
movq %rax, 0x2e8(%rsp)
leaq 0x13f0a(%rip), %rax     # 0x170ef
movq %rax, 0x2e0(%rsp)
movq 0x368(%rsp), %rax
movq %rax, 0xf0(%rsp)
movq 0x2e8(%rsp), %rsi
leaq 0x2c8(%rsp), %rdi
callq 0x98c0
jmp 0x3214
leaq 0x13ee0(%rip), %rsi     # 0x170fb
leaq 0x2b8(%rsp), %rdi
callq 0x98c0
jmp 0x322a
leaq 0x2d8(%rsp), %rdi
leaq 0x2c8(%rsp), %rsi
leaq 0x2b8(%rsp), %rdx
xorl %r8d, %r8d
movl %r8d, %ecx
callq 0x14ad0
jmp 0x324f
movq 0xf0(%rsp), %rdi
leaq 0x2d8(%rsp), %rsi
callq 0xa390
jmp 0x3266
leaq 0x2d8(%rsp), %rdi
callq 0x14a60
movq 0x368(%rsp), %rax
movq %rax, 0xe8(%rsp)
movq 0x2e8(%rsp), %rsi
leaq 0x2a0(%rsp), %rdi
callq 0x98c0
jmp 0x329a
movq 0x2e0(%rsp), %rsi
leaq 0x290(%rsp), %rdi
callq 0x98c0
jmp 0x32b1
leaq 0x2b0(%rsp), %rdi
leaq 0x2a0(%rsp), %rsi
leaq 0x290(%rsp), %rdx
xorl %r8d, %r8d
movl %r8d, %ecx
callq 0x14ad0
jmp 0x32d6
movq 0xe8(%rsp), %rdi
leaq 0x2b0(%rsp), %rsi
callq 0xa390
jmp 0x32ed
leaq 0x2b0(%rsp), %rdi
callq 0x14a60
movq 0x368(%rsp), %rax
movq %rax, 0xe0(%rsp)
movq 0x2e8(%rsp), %rsi
leaq 0x280(%rsp), %rdi
callq 0x98c0
jmp 0x3321
movq 0xe0(%rsp), %rdi
leaq 0x280(%rsp), %rsi
callq 0xf8d0
movq %rax, 0xd8(%rsp)
jmp 0x3340
movq 0xd8(%rsp), %rsi
leaq 0x360(%rsp), %rdi
callq 0x14bd0
jmp 0x3357
movq 0x370(%rsp), %rax
movq %rax, 0xd0(%rsp)
leaq 0x360(%rsp), %rdi
callq 0x14cd0
movq %rax, 0x270(%rsp)
movq %rdx, 0x278(%rsp)
movq 0x2e0(%rsp), %rsi
leaq 0x270(%rsp), %rdi
callq 0xa340
movq 0xd0(%rsp), %rsi
movb %al, %dl
leaq 0x13c7d(%rip), %rax     # 0x17027
leaq 0x13c79(%rip), %rcx     # 0x1702a
testb %dl, %dl
cmovneq %rax, %rcx
leaq 0x13c46(%rip), %rdi     # 0x17004
leaq 0x13d3f(%rip), %rdx     # 0x17104
xorl %eax, %eax
callq 0x2030
jmp 0x33ce
movq 0x368(%rsp), %rdi
callq 0x73a0
jmp 0x33dd
movq 0x368(%rsp), %rax
movq %rax, 0xc8(%rsp)
leaq 0x13cd8(%rip), %rsi     # 0x170cc
leaq 0x260(%rsp), %rdi
callq 0x98c0
jmp 0x3403
movq 0xc8(%rsp), %rdi
leaq 0x260(%rsp), %rsi
callq 0xf990
jmp 0x341a
movq 0x368(%rsp), %rax
movq %rax, 0xc0(%rsp)
leaq 0x13c74(%rip), %rsi     # 0x170a5
leaq 0x250(%rsp), %rdi
callq 0x98c0
jmp 0x3440
movq 0xc0(%rsp), %rdi
leaq 0x250(%rsp), %rsi
callq 0xf990
jmp 0x3457
movq 0x368(%rsp), %rax
movq %rax, 0xb8(%rsp)
leaq 0x13c20(%rip), %rsi     # 0x1708e
leaq 0x240(%rsp), %rdi
callq 0x98c0
jmp 0x347d
movq 0xb8(%rsp), %rdi
leaq 0x240(%rsp), %rsi
callq 0xf990
jmp 0x3494
movq 0x368(%rsp), %rax
movq %rax, 0xb0(%rsp)
leaq 0x13bef(%rip), %rsi     # 0x1709a
leaq 0x230(%rsp), %rdi
callq 0x98c0
jmp 0x34ba
movq 0xb0(%rsp), %rdi
leaq 0x230(%rsp), %rsi
callq 0xf990
jmp 0x34d1
movq 0x368(%rsp), %rax
movq %rax, 0xa8(%rsp)
leaq 0x13b99(%rip), %rsi     # 0x17081
leaq 0x220(%rsp), %rdi
callq 0x98c0
jmp 0x34f7
movq 0xa8(%rsp), %rdi
leaq 0x220(%rsp), %rsi
callq 0xf8d0
movq %rax, 0xa0(%rsp)
jmp 0x3516
movq 0xa0(%rsp), %rsi
leaq 0x360(%rsp), %rdi
callq 0x14bd0
jmp 0x352d
movq 0x370(%rsp), %rax
movq %rax, 0x98(%rsp)
leaq 0x360(%rsp), %rdi
callq 0x14cd0
movq %rax, 0x210(%rsp)
movq %rdx, 0x218(%rsp)
leaq 0x13b27(%rip), %rsi     # 0x17088
leaq 0x210(%rsp), %rdi
callq 0xa340
movq 0x98(%rsp), %rsi
movb %al, %dl
leaq 0x13aa8(%rip), %rax     # 0x17027
leaq 0x13aa4(%rip), %rcx     # 0x1702a
testb %dl, %dl
cmovneq %rax, %rcx
leaq 0x13a71(%rip), %rdi     # 0x17004
leaq 0x13aad(%rip), %rdx     # 0x17047
xorl %eax, %eax
callq 0x2030
jmp 0x35a3
movq 0x370(%rsp), %rax
movq %rax, 0x88(%rsp)
movq 0x368(%rsp), %rdi
xorl %esi, %esi
callq 0xa2e0
movq %rax, 0x90(%rsp)
jmp 0x35cc
movq 0x88(%rsp), %rsi
movq 0x90(%rsp), %rax
subq $0x1, %rax
leaq 0x13a40(%rip), %rax     # 0x17027
leaq 0x13a3c(%rip), %rcx     # 0x1702a
cmoveq %rax, %rcx
leaq 0x13a0b(%rip), %rdi     # 0x17004
leaq 0x13b0e(%rip), %rdx     # 0x1710e
xorl %eax, %eax
callq 0x2030
jmp 0x3609
movq 0x370(%rsp), %rax
movq %rax, 0x78(%rsp)
movq 0x368(%rsp), %rdi
callq 0xa330
movq %rax, 0x80(%rsp)
jmp 0x362d
leaq 0x360(%rsp), %rdi
callq 0x15050
movq 0x78(%rsp), %rsi
movq %rax, %rcx
movq 0x80(%rsp), %rax
subq %rcx, %rax
leaq 0x139d3(%rip), %rax     # 0x17027
leaq 0x139cf(%rip), %rcx     # 0x1702a
cmoveq %rax, %rcx
leaq 0x1399e(%rip), %rdi     # 0x17004
leaq 0x13aae(%rip), %rdx     # 0x1711b
xorl %eax, %eax
callq 0x2030
jmp 0x3676
leaq 0x13a04(%rip), %rsi     # 0x17081
leaq 0x1f8(%rsp), %rdi
callq 0x98c0
jmp 0x368c
leaq 0x13c35(%rip), %rsi     # 0x172c8
leaq 0x1e8(%rsp), %rdi
callq 0x98c0
jmp 0x36a2
leaq 0x208(%rsp), %rdi
leaq 0x1f8(%rsp), %rsi
leaq 0x1e8(%rsp), %rdx
xorl %r8d, %r8d
movl %r8d, %ecx
callq 0x14ad0
jmp 0x36c7
movq 0x368(%rsp), %rdi
leaq 0x208(%rsp), %rsi
callq 0xa1f0
jmp 0x36de
movq 0x370(%rsp), %rax
movq %rax, 0x68(%rsp)
movq 0x368(%rsp), %rdi
xorl %esi, %esi
callq 0xa2e0
movq %rax, 0x70(%rsp)
jmp 0x3701
movq 0x68(%rsp), %rsi
movq 0x70(%rsp), %rax
subq $0x1, %rax
leaq 0x13911(%rip), %rax     # 0x17027
leaq 0x1390d(%rip), %rcx     # 0x1702a
cmoveq %rax, %rcx
leaq 0x138dc(%rip), %rdi     # 0x17004
leaq 0x139fa(%rip), %rdx     # 0x17129
xorl %eax, %eax
callq 0x2030
jmp 0x3738
movq 0x370(%rsp), %rax
movq %rax, 0x58(%rsp)
movq 0x368(%rsp), %rdi
callq 0xa330
movq %rax, 0x60(%rsp)
jmp 0x3759
leaq 0x208(%rsp), %rdi
callq 0x15050
movq 0x58(%rsp), %rsi
movq %rax, %rcx
movq 0x60(%rsp), %rax
subq %rcx, %rax
leaq 0x138aa(%rip), %rax     # 0x17027
leaq 0x138a6(%rip), %rcx     # 0x1702a
cmoveq %rax, %rcx
leaq 0x13875(%rip), %rdi     # 0x17004
leaq 0x139a3(%rip), %rdx     # 0x17139
xorl %eax, %eax
callq 0x2030
jmp 0x379f
movq 0x368(%rsp), %rax
movq %rax, 0x50(%rsp)
leaq 0x138ce(%rip), %rsi     # 0x17081
leaq 0x1d8(%rsp), %rdi
callq 0x98c0
jmp 0x37c2
movq 0x50(%rsp), %rdi
leaq 0x1d8(%rsp), %rsi
callq 0xf990
jmp 0x37d6
movq 0x368(%rsp), %rax
movq %rax, 0x48(%rsp)
leaq 0x138e2(%rip), %rsi     # 0x170cc
leaq 0x1c8(%rsp), %rdi
callq 0x98c0
jmp 0x37f9
movq 0x48(%rsp), %rdi
leaq 0x1c8(%rsp), %rsi
callq 0xf990
jmp 0x380d
movq 0x370(%rsp), %rax
movq %rax, 0x38(%rsp)
movq 0x368(%rsp), %rdi
xorl %esi, %esi
callq 0xa2e0
movq %rax, 0x40(%rsp)
jmp 0x3830
movq 0x38(%rsp), %rsi
movq 0x40(%rsp), %rax
testq %rax, %rax
leaq 0x137e3(%rip), %rax     # 0x17027
leaq 0x137df(%rip), %rcx     # 0x1702a
cmoveq %rax, %rcx
leaq 0x137ae(%rip), %rdi     # 0x17004
leaq 0x138b1(%rip), %rdx     # 0x1710e
xorl %eax, %eax
callq 0x2030
jmp 0x3866
movq 0x370(%rsp), %rax
movq %rax, 0x28(%rsp)
movq 0x368(%rsp), %rdi
callq 0xa310
movb %al, 0x37(%rsp)
jmp 0x3886
movq 0x28(%rsp), %rsi
movb 0x37(%rsp), %dl
leaq 0x13791(%rip), %rax     # 0x17027
leaq 0x1378d(%rip), %rcx     # 0x1702a
testb $0x1, %dl
cmovneq %rax, %rcx
leaq 0x13759(%rip), %rdi     # 0x17004
leaq 0x13898(%rip), %rdx     # 0x1714a
xorl %eax, %eax
callq 0x2030
jmp 0x38bb
movq 0x368(%rsp), %rdi
callq 0x73a0
jmp 0x38ca
movq 0x370(%rsp), %rdi
movq 0x368(%rsp), %rsi
callq 0x7700
jmp 0x38e1
movq 0x370(%rsp), %rdi
movq 0x368(%rsp), %rsi
callq 0x77f0
jmp 0x38f8
movq 0x368(%rsp), %rdi
callq 0xa3c0
jmp 0x3907
movq 0x370(%rsp), %rdi
movq 0x368(%rsp), %rsi
callq 0x7940
jmp 0x391e
movq 0x368(%rsp), %rdi
callq 0x73a0
jmp 0x392d
movq 0x368(%rsp), %rsi
leaq 0x1a8(%rsp), %rdi
movq %rdi, 0x10(%rsp)
callq 0xa3f0
movq 0x10(%rsp), %rdi
movq 0x370(%rsp), %rax
movq %rax, 0x18(%rsp)
callq 0xa330
movq %rax, 0x20(%rsp)
jmp 0x3965
movq 0x18(%rsp), %rsi
movq 0x20(%rsp), %rax
movq 0x328(%rsp), %rcx
subq %rcx, %rax
leaq 0x136a6(%rip), %rax     # 0x17027
leaq 0x136a2(%rip), %rcx     # 0x1702a
cmoveq %rax, %rcx
leaq 0x13671(%rip), %rdi     # 0x17004
leaq 0x137bd(%rip), %rdx     # 0x17157
xorl %eax, %eax
callq 0x2030
jmp 0x39a3
movq 0x370(%rsp), %rax
movq %rax, (%rsp)
movq 0x368(%rsp), %rdi
callq 0xa310
movb %al, 0xf(%rsp)
jmp 0x39c2
movq (%rsp), %rsi
movb 0xf(%rsp), %dl
leaq 0x13656(%rip), %rax     # 0x17027
leaq 0x13652(%rip), %rcx     # 0x1702a
testb $0x1, %dl
cmovneq %rax, %rcx
leaq 0x1361e(%rip), %rdi     # 0x17004
leaq 0x13777(%rip), %rdx     # 0x17164
xorl %eax, %eax
callq 0x2030
jmp 0x39f6
leaq 0x1a8(%rsp), %rdi
callq 0x9a90
leaq 0x208(%rsp), %rdi
callq 0x14a60
leaq 0x360(%rsp), %rdi
callq 0x14a60
addq $0x378, %rsp            # imm = 0x378
retq
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x348(%rsp)
movl %eax, 0x344(%rsp)
jmp 0x3ac8
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x348(%rsp)
movl %eax, 0x344(%rsp)
leaq 0x2d8(%rsp), %rdi
callq 0x14a60
jmp 0x3ac8
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x348(%rsp)
movl %eax, 0x344(%rsp)
leaq 0x2b0(%rsp), %rdi
callq 0x14a60
jmp 0x3ac8
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x348(%rsp)
movl %eax, 0x344(%rsp)
jmp 0x3abb
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x348(%rsp)
movl %eax, 0x344(%rsp)
leaq 0x1a8(%rsp), %rdi
callq 0x9a90
leaq 0x208(%rsp), %rdi
callq 0x14a60
leaq 0x360(%rsp), %rdi
callq 0x14a60
movq 0x348(%rsp), %rdi
callq 0x2220
nopw %cs:(%rax,%rax)