// File: /workspace/github_cpp_makefile_star2_O3/flastest[P]HeterogeneousParallelDijkstra/workloads.cc
// Function: test1(bool)
bool test1 (bool TEST_DEBUG)
{
	const int num_nodes = 5;
	enum nodes { A, B, C, D, E };
	//char name[] = "ABCDE";
	Edge edge_array[] = { 
			Edge(A, B), Edge(A, C), Edge(A, D), 
			Edge(B, A), Edge(B, D), Edge(B, E), 
			Edge(C, A), Edge(C, D), 
			Edge(D, A), Edge(D, B), Edge(D, C), Edge(D, E), 
			Edge(E, B), Edge(E, D)
	};
	int weights[] = { 
		12, 2, 10, 
		12, 3, 1, 
		2, 4,
		10, 3, 4, 5,
		1, 5
	};
	int num_arcs = sizeof(edge_array) / sizeof(Edge);

	//the graph
	graph_t g(edge_array, edge_array + num_arcs, weights, num_nodes);

	// Keeps track of the predecessor of each vertex
	predecessor_map_t p;
	

	// Keeps track of the distance to each vertex
	std::vector<int> d(num_vertices(g));



	// test1a, with source A.
	vertex_descriptor s = vertex(A, g);

	auto distances = dijkstra_algorithm(g, s, p);


	std::vector<vertex_descriptor> p_BGL(num_nodes);

	vector<int> true_distances = testBGL ( g,  s, p_BGL);
	
	//this needs to iterate thru the vectors

	for (int i = 0; i < 5; i++)
	{
		if (distances[vertex(i, g)] != true_distances[i]){
			return false;
		}
	}
	if (TEST_DEBUG) cout << "test1a\n" << print_dijkstra_results(g,distances);

	//test1b with source B
	s = vertex(B, g);
	distances = dijkstra_algorithm(g, s, p);

	true_distances = testBGL ( g,  s, p_BGL);;
	for (int i = 0; i < 5; i++)
	{
		if (distances[vertex(i,g)] != true_distances[i]){
			return false;
		}
	}
	if (TEST_DEBUG) cout << "test1b\n" << print_dijkstra_results(g,distances);


	//test1c with source C
	s = vertex(C, g);
	distances = dijkstra_algorithm(g, s, p);

	true_distances = testBGL ( g,  s, p_BGL);;
	for (int i = 0; i < 5; i++)
	{
		if (distances[vertex(i,g)] != true_distances[i]){
			return false;
		}
	}
	if (TEST_DEBUG) cout << "test1c\n" << print_dijkstra_results(g,distances);



	//test1d with source D
	s = vertex(D, g);
	distances = dijkstra_algorithm(g, s, p);

	true_distances = testBGL ( g,  s, p_BGL);;
	for (int i = 0; i < 5; i++)
	{
		if (distances[vertex(i,g)] != true_distances[i]){
			return false;
		}
	}
	if (TEST_DEBUG) cout << "test1d\n" << print_dijkstra_results(g,distances);

	//test1e with source E
	s = vertex(E, g);
	distances = dijkstra_algorithm(g, s, p);

	true_distances = {10,1,8,4,0};
	for (int i = 0; i < 5; i++)
	{
		if (distances[vertex(i,g)] != true_distances[i]){
			return false;
		}
	}
	if (TEST_DEBUG) cout << "test1e\n" << print_dijkstra_results(g,distances);



	return true;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x4d8, %rsp            # imm = 0x4D8
movl %edi, %ebp
movaps 0xd1d4(%rip), %xmm0     # 0x11010
leaq 0x4d0(%rsp), %rdx
movaps %xmm0, -0x70(%rdx)
movaps 0xd1d1(%rip), %xmm0     # 0x11020
movaps %xmm0, -0x60(%rdx)
movaps 0xd1d6(%rip), %xmm0     # 0x11030
movaps %xmm0, -0x50(%rdx)
movaps 0xd1db(%rip), %xmm0     # 0x11040
movaps %xmm0, -0x40(%rdx)
movaps 0xd1e0(%rip), %xmm0     # 0x11050
movaps %xmm0, -0x30(%rdx)
movaps 0xd1e5(%rip), %xmm0     # 0x11060
movaps %xmm0, -0x20(%rdx)
movaps 0xd1ea(%rip), %xmm0     # 0x11070
movaps %xmm0, -0x10(%rdx)
movaps 0xe3af(%rip), %xmm0     # 0x12240
leaq 0x420(%rsp), %rcx
movaps %xmm0, 0x20(%rcx)
movaps 0xe38c(%rip), %xmm0     # 0x12230
movaps %xmm0, 0x10(%rcx)
movaps 0xe371(%rip), %xmm0     # 0x12220
movaps %xmm0, (%rcx)
movabsq $0x500000001, %rax      # imm = 0x500000001
movq %rax, 0x30(%rcx)
leaq 0x108(%rsp), %rax
movq %rax, (%rsp)
xorl %r14d, %r14d
leaq 0xa0(%rsp), %rbx
leaq 0x460(%rsp), %rsi
movl $0x5, %r8d
movq %rbx, %rdi
xorl %r9d, %r9d
callq 0x8600
leaq 0x110(%rsp), %rax
movl $0x0, (%rax)
movq %r14, 0x8(%rax)
movq %rax, 0x10(%rax)
movq %rax, 0x18(%rax)
movq %r14, 0x20(%rax)
movq 0x20(%rbx), %rsi
subq 0x18(%rbx), %rsi
sarq $0x5, %rsi
leaq 0xf0(%rsp), %rdi
leaq 0x70(%rsp), %rdx
callq 0x8574
leaq 0x48(%rsp), %rdx
movq $0x0, (%rdx)
leaq 0x70(%rsp), %rdi
leaq 0xa0(%rsp), %rsi
leaq 0x108(%rsp), %rcx
callq *0x142e5(%rip)          # 0x18238
movl $0x28, %edi
callq 0x3240
movq %rax, %rbx
movq %rax, 0xd8(%rsp)
addq $0x28, %rax
movq %rax, 0xe8(%rsp)
xorps %xmm0, %xmm0
movups %xmm0, 0x10(%rbx)
movups %xmm0, (%rbx)
movq $0x0, 0x20(%rbx)
movq %rax, 0xe0(%rsp)
leaq 0x3e8(%rsp), %rdi
leaq 0xa0(%rsp), %r14
movq %r14, %rsi
callq 0x86d2
movq 0x48(%rsp), %rdx
leaq 0x50(%rsp), %rdi
leaq 0x3e8(%rsp), %r15
leaq 0xd8(%rsp), %rcx
movq %r15, %rsi
callq 0x3d52
leaq 0x400(%rsp), %r12
movq 0x18(%r12), %rdi
movl $0x1, %esi
callq 0x3250
movq %r12, %rdi
callq 0x88ea
movq -0x18(%r12), %rdi
cmpq %r15, %rdi
je 0x4006
movq (%rdi), %r12
movl $0x28, %esi
callq 0x3250
movq %r12, %rdi
cmpq %r15, %r12
jne 0x3ff1
xorl %r15d, %r15d
leaq 0x70(%rsp), %r12
leaq 0x10(%rsp), %r13
movq %r15, 0x10(%rsp)
movq %r12, %rdi
movq %r13, %rsi
callq 0x850e
movq 0x50(%rsp), %rdi
xorps %xmm0, %xmm0
cvtsi2ssl (%rdi,%r15,4), %xmm0
movss (%rax), %xmm1
ucomiss %xmm0, %xmm1
jne 0x4a48
jp 0x4a48
incq %r15
cmpq $0x5, %r15
jne 0x4013
testb %bpl, %bpl
je 0x412c
movq 0x13f73(%rip), %rdi     # 0x17fd0
leaq 0xd0e2(%rip), %rsi      # 0x11146
movl $0x7, %edx
callq 0x32a0
leaq 0x3b0(%rsp), %rdi
leaq 0xa0(%rsp), %rsi
callq 0x86d2
leaq 0x1f8(%rsp), %rdi
leaq 0x70(%rsp), %rsi
callq 0x897c
leaq 0x10(%rsp), %rdi
leaq 0x3b0(%rsp), %r12
leaq 0x1f8(%rsp), %rdx
movq %r12, %rsi
callq 0x36ec
movq 0x10(%rsp), %rsi
movq 0x18(%rsp), %rdx
movq 0x13f0d(%rip), %rdi     # 0x17fd0
callq 0x32a0
leaq 0x20(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x40e3
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3250
leaq 0x1f8(%rsp), %rdi
callq 0x8b50
leaq 0x3c8(%rsp), %r13
movq 0x18(%r13), %rdi
movl $0x1, %esi
callq 0x3250
movq %r13, %rdi
callq 0x88ea
movq -0x18(%r13), %rdi
cmpq %r12, %rdi
je 0x412c
movq (%rdi), %r15
movl $0x28, %esi
callq 0x3250
movq %r15, %rdi
cmpq %r12, %r15
jne 0x4117
leaq 0x48(%rsp), %rdx
movq $0x1, (%rdx)
leaq 0x10(%rsp), %rdi
leaq 0xa0(%rsp), %rsi
leaq 0x108(%rsp), %rcx
callq *0x140e5(%rip)          # 0x18238
leaq 0x70(%rsp), %rdi
callq 0x8b64
movq 0x20(%rsp), %rax
testq %rax, %rax
je 0x419f
leaq 0x78(%rsp), %rcx
leaq 0x18(%rsp), %rdx
movl (%rdx), %esi
movl %esi, (%rcx)
movq %rax, 0x8(%rcx)
movups 0x10(%rdx), %xmm0
movups %xmm0, 0x10(%rcx)
movq %rcx, 0x8(%rax)
movq 0x20(%rdx), %rax
movq %rax, 0x20(%rcx)
xorl %eax, %eax
movq %rax, 0x8(%rdx)
movq %rdx, 0x10(%rdx)
movq %rdx, 0x18(%rdx)
movq %rax, 0x20(%rdx)
leaq 0x10(%rsp), %rdi
callq 0x8b50
leaq 0x378(%rsp), %rdi
leaq 0xa0(%rsp), %rsi
callq 0x86d2
movq 0x48(%rsp), %rdx
leaq 0x10(%rsp), %rdi
leaq 0x378(%rsp), %r12
leaq 0xd8(%rsp), %rcx
movq %r12, %rsi
callq 0x3d52
movq 0x50(%rsp), %rdi
movq 0x60(%rsp), %rsi
movaps 0x10(%rsp), %xmm0
movaps %xmm0, 0x50(%rsp)
movq 0x20(%rsp), %rax
movq %rax, 0x60(%rsp)
xorps %xmm0, %xmm0
movaps %xmm0, 0x10(%rsp)
movq $0x0, 0x20(%rsp)
testq %rdi, %rdi
je 0x4233
subq %rdi, %rsi
callq 0x3250
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x4233
movq 0x20(%rsp), %rsi
subq %rdi, %rsi
callq 0x3250
leaq 0x390(%rsp), %r13
movq 0x18(%r13), %rdi
movl $0x1, %esi
callq 0x3250
movq %r13, %rdi
callq 0x88ea
movq -0x18(%r13), %rdi
cmpq %r12, %rdi
je 0x426f
movq (%rdi), %r15
movl $0x28, %esi
callq 0x3250
movq %r15, %rdi
cmpq %r12, %r15
jne 0x425a
xorl %r15d, %r15d
leaq 0x70(%rsp), %r12
leaq 0x10(%rsp), %r13
movq %r15, 0x10(%rsp)
movq %r12, %rdi
movq %r13, %rsi
callq 0x850e
movq 0x50(%rsp), %rdi
xorps %xmm0, %xmm0
cvtsi2ssl (%rdi,%r15,4), %xmm0
movss (%rax), %xmm1
ucomiss %xmm0, %xmm1
jne 0x4a48
jp 0x4a48
incq %r15
cmpq $0x5, %r15
jne 0x427c
testb %bpl, %bpl
je 0x4395
movq 0x13d0a(%rip), %rdi     # 0x17fd0
leaq 0xce81(%rip), %rsi      # 0x1114e
movl $0x7, %edx
callq 0x32a0
leaq 0x340(%rsp), %rdi
leaq 0xa0(%rsp), %rsi
callq 0x86d2
leaq 0x1c8(%rsp), %rdi
leaq 0x70(%rsp), %rsi
callq 0x897c
leaq 0x10(%rsp), %rdi
leaq 0x340(%rsp), %r12
leaq 0x1c8(%rsp), %rdx
movq %r12, %rsi
callq 0x36ec
movq 0x10(%rsp), %rsi
movq 0x18(%rsp), %rdx
movq 0x13ca4(%rip), %rdi     # 0x17fd0
callq 0x32a0
leaq 0x20(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x434c
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3250
leaq 0x1c8(%rsp), %rdi
callq 0x8b50
leaq 0x358(%rsp), %r13
movq 0x18(%r13), %rdi
movl $0x1, %esi
callq 0x3250
movq %r13, %rdi
callq 0x88ea
movq -0x18(%r13), %rdi
cmpq %r12, %rdi
je 0x4395
movq (%rdi), %r15
movl $0x28, %esi
callq 0x3250
movq %r15, %rdi
cmpq %r12, %r15
jne 0x4380
leaq 0x48(%rsp), %rdx
movq $0x2, (%rdx)
leaq 0x10(%rsp), %rdi
leaq 0xa0(%rsp), %rsi
leaq 0x108(%rsp), %rcx
callq *0x13e7c(%rip)          # 0x18238
leaq 0x70(%rsp), %rdi
callq 0x8b64
movq 0x20(%rsp), %rax
testq %rax, %rax
je 0x4408
leaq 0x78(%rsp), %rcx
leaq 0x18(%rsp), %rdx
movl (%rdx), %esi
movl %esi, (%rcx)
movq %rax, 0x8(%rcx)
movups 0x10(%rdx), %xmm0
movups %xmm0, 0x10(%rcx)
movq %rcx, 0x8(%rax)
movq 0x20(%rdx), %rax
movq %rax, 0x20(%rcx)
xorl %eax, %eax
movq %rax, 0x8(%rdx)
movq %rdx, 0x10(%rdx)
movq %rdx, 0x18(%rdx)
movq %rax, 0x20(%rdx)
leaq 0x10(%rsp), %rdi
callq 0x8b50
leaq 0x308(%rsp), %rdi
leaq 0xa0(%rsp), %rsi
callq 0x86d2
movq 0x48(%rsp), %rdx
leaq 0x10(%rsp), %rdi
leaq 0x308(%rsp), %r12
leaq 0xd8(%rsp), %rcx
movq %r12, %rsi
callq 0x3d52
movq 0x50(%rsp), %rdi
movq 0x60(%rsp), %rsi
movaps 0x10(%rsp), %xmm0
movaps %xmm0, 0x50(%rsp)
movq 0x20(%rsp), %rax
movq %rax, 0x60(%rsp)
xorps %xmm0, %xmm0
movaps %xmm0, 0x10(%rsp)
movq $0x0, 0x20(%rsp)
testq %rdi, %rdi
je 0x449c
subq %rdi, %rsi
callq 0x3250
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x449c
movq 0x20(%rsp), %rsi
subq %rdi, %rsi
callq 0x3250
leaq 0x320(%rsp), %r13
movq 0x18(%r13), %rdi
movl $0x1, %esi
callq 0x3250
movq %r13, %rdi
callq 0x88ea
movq -0x18(%r13), %rdi
cmpq %r12, %rdi
je 0x44d8
movq (%rdi), %r15
movl $0x28, %esi
callq 0x3250
movq %r15, %rdi
cmpq %r12, %r15
jne 0x44c3
xorl %r15d, %r15d
leaq 0x70(%rsp), %r12
leaq 0x10(%rsp), %r13
movq %r15, 0x10(%rsp)
movq %r12, %rdi
movq %r13, %rsi
callq 0x850e
movq 0x50(%rsp), %rdi
xorps %xmm0, %xmm0
cvtsi2ssl (%rdi,%r15,4), %xmm0
movss (%rax), %xmm1
ucomiss %xmm0, %xmm1
jne 0x4a48
jp 0x4a48
incq %r15
cmpq $0x5, %r15
jne 0x44e5
testb %bpl, %bpl
je 0x45fe
movq 0x13aa1(%rip), %rdi     # 0x17fd0
leaq 0xcc20(%rip), %rsi      # 0x11156
movl $0x7, %edx
callq 0x32a0
leaq 0x2d0(%rsp), %rdi
leaq 0xa0(%rsp), %rsi
callq 0x86d2
leaq 0x198(%rsp), %rdi
leaq 0x70(%rsp), %rsi
callq 0x897c
leaq 0x10(%rsp), %rdi
leaq 0x2d0(%rsp), %r12
leaq 0x198(%rsp), %rdx
movq %r12, %rsi
callq 0x36ec
movq 0x10(%rsp), %rsi
movq 0x18(%rsp), %rdx
movq 0x13a3b(%rip), %rdi     # 0x17fd0
callq 0x32a0
leaq 0x20(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x45b5
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3250
leaq 0x198(%rsp), %rdi
callq 0x8b50
leaq 0x2e8(%rsp), %r13
movq 0x18(%r13), %rdi
movl $0x1, %esi
callq 0x3250
movq %r13, %rdi
callq 0x88ea
movq -0x18(%r13), %rdi
cmpq %r12, %rdi
je 0x45fe
movq (%rdi), %r15
movl $0x28, %esi
callq 0x3250
movq %r15, %rdi
cmpq %r12, %r15
jne 0x45e9
leaq 0x48(%rsp), %rdx
movq $0x3, (%rdx)
leaq 0x10(%rsp), %rdi
leaq 0xa0(%rsp), %rsi
leaq 0x108(%rsp), %rcx
callq *0x13c13(%rip)          # 0x18238
leaq 0x70(%rsp), %rdi
callq 0x8b64
movq 0x20(%rsp), %rax
testq %rax, %rax
je 0x4671
leaq 0x78(%rsp), %rcx
leaq 0x18(%rsp), %rdx
movl (%rdx), %esi
movl %esi, (%rcx)
movq %rax, 0x8(%rcx)
movups 0x10(%rdx), %xmm0
movups %xmm0, 0x10(%rcx)
movq %rcx, 0x8(%rax)
movq 0x20(%rdx), %rax
movq %rax, 0x20(%rcx)
xorl %eax, %eax
movq %rax, 0x8(%rdx)
movq %rdx, 0x10(%rdx)
movq %rdx, 0x18(%rdx)
movq %rax, 0x20(%rdx)
leaq 0x10(%rsp), %rdi
callq 0x8b50
leaq 0x298(%rsp), %rdi
leaq 0xa0(%rsp), %rsi
callq 0x86d2
movq 0x48(%rsp), %rdx
leaq 0x10(%rsp), %rdi
leaq 0x298(%rsp), %r12
leaq 0xd8(%rsp), %rcx
movq %r12, %rsi
callq 0x3d52
movq 0x50(%rsp), %rdi
movq 0x60(%rsp), %rsi
movaps 0x10(%rsp), %xmm0
movaps %xmm0, 0x50(%rsp)
movq 0x20(%rsp), %rax
movq %rax, 0x60(%rsp)
xorps %xmm0, %xmm0
movaps %xmm0, 0x10(%rsp)
movq $0x0, 0x20(%rsp)
testq %rdi, %rdi
je 0x4705
subq %rdi, %rsi
callq 0x3250
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x4705
movq 0x20(%rsp), %rsi
subq %rdi, %rsi
callq 0x3250
leaq 0x2b0(%rsp), %r13
movq 0x18(%r13), %rdi
movl $0x1, %esi
callq 0x3250
movq %r13, %rdi
callq 0x88ea
movq -0x18(%r13), %rdi
cmpq %r12, %rdi
je 0x4741
movq (%rdi), %r15
movl $0x28, %esi
callq 0x3250
movq %r15, %rdi
cmpq %r12, %r15
jne 0x472c
xorl %r15d, %r15d
leaq 0x70(%rsp), %r12
leaq 0x10(%rsp), %r13
movq %r15, 0x10(%rsp)
movq %r12, %rdi
movq %r13, %rsi
callq 0x850e
movq 0x50(%rsp), %rdi
xorps %xmm0, %xmm0
cvtsi2ssl (%rdi,%r15,4), %xmm0
movss (%rax), %xmm1
ucomiss %xmm0, %xmm1
jne 0x4a48
jp 0x4a48
incq %r15
cmpq $0x5, %r15
jne 0x474e
testb %bpl, %bpl
je 0x4867
movq 0x13838(%rip), %rdi     # 0x17fd0
leaq 0xc9bf(%rip), %rsi      # 0x1115e
movl $0x7, %edx
callq 0x32a0
leaq 0x260(%rsp), %rdi
leaq 0xa0(%rsp), %rsi
callq 0x86d2
leaq 0x168(%rsp), %rdi
leaq 0x70(%rsp), %rsi
callq 0x897c
leaq 0x10(%rsp), %rdi
leaq 0x260(%rsp), %r12
leaq 0x168(%rsp), %rdx
movq %r12, %rsi
callq 0x36ec
movq 0x10(%rsp), %rsi
movq 0x18(%rsp), %rdx
movq 0x137d2(%rip), %rdi     # 0x17fd0
callq 0x32a0
leaq 0x20(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x481e
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3250
leaq 0x168(%rsp), %rdi
callq 0x8b50
leaq 0x278(%rsp), %r13
movq 0x18(%r13), %rdi
movl $0x1, %esi
callq 0x3250
movq %r13, %rdi
callq 0x88ea
movq -0x18(%r13), %rdi
cmpq %r12, %rdi
je 0x4867
movq (%rdi), %r15
movl $0x28, %esi
callq 0x3250
movq %r15, %rdi
cmpq %r12, %r15
jne 0x4852
leaq 0x48(%rsp), %rdx
movq $0x4, (%rdx)
leaq 0x10(%rsp), %rdi
leaq 0xa0(%rsp), %rsi
leaq 0x108(%rsp), %rcx
callq *0x139aa(%rip)          # 0x18238
leaq 0x70(%rsp), %rdi
callq 0x8b64
movq 0x20(%rsp), %rax
testq %rax, %rax
je 0x48da
leaq 0x78(%rsp), %rcx
leaq 0x18(%rsp), %rdx
movl (%rdx), %esi
movl %esi, (%rcx)
movq %rax, 0x8(%rcx)
movups 0x10(%rdx), %xmm0
movups %xmm0, 0x10(%rcx)
movq %rcx, 0x8(%rax)
movq 0x20(%rdx), %rax
movq %rax, 0x20(%rcx)
xorl %eax, %eax
movq %rax, 0x8(%rdx)
movq %rdx, 0x10(%rdx)
movq %rdx, 0x18(%rdx)
movq %rax, 0x20(%rdx)
leaq 0x10(%rsp), %r12
movq %r12, %rdi
callq 0x8b50
movups 0xda46(%rip), %xmm0     # 0x12334
movaps %xmm0, (%r12)
movl $0x0, 0x10(%r12)
leaq 0x24(%rsp), %rdx
leaq 0x50(%rsp), %rdi
leaq 0x10(%rsp), %rsi
callq 0xa822
xorl %r15d, %r15d
leaq 0x70(%rsp), %r12
leaq 0x10(%rsp), %r13
movq %r15, 0x10(%rsp)
movq %r12, %rdi
movq %r13, %rsi
callq 0x850e
movq 0x50(%rsp), %rdi
xorps %xmm0, %xmm0
cvtsi2ssl (%rdi,%r15,4), %xmm0
movss (%rax), %xmm1
ucomiss %xmm0, %xmm1
jne 0x4a48
jp 0x4a48
incq %r15
cmpq $0x5, %r15
jne 0x491d
movb $0x1, %r12b
testb %bpl, %bpl
je 0x4a4b
movq 0x13666(%rip), %rdi     # 0x17fd0
leaq 0xc7f5(%rip), %rsi      # 0x11166
movl $0x7, %edx
callq 0x32a0
leaq 0x228(%rsp), %rdi
leaq 0xa0(%rsp), %rsi
callq 0x86d2
leaq 0x138(%rsp), %rdi
leaq 0x70(%rsp), %rsi
callq 0x897c
leaq 0x10(%rsp), %rdi
leaq 0x228(%rsp), %r12
leaq 0x138(%rsp), %rdx
movq %r12, %rsi
callq 0x36ec
movq 0x10(%rsp), %rsi
movq 0x18(%rsp), %rdx
movq 0x13600(%rip), %rdi     # 0x17fd0
callq 0x32a0
leaq 0x20(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x49f0
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3250
leaq 0x138(%rsp), %rdi
callq 0x8b50
leaq 0x240(%rsp), %r13
movq 0x18(%r13), %rdi
movl $0x1, %esi
callq 0x3250
movq %r13, %rdi
callq 0x88ea
movq -0x18(%r13), %rdi
cmpq %r12, %rdi
je 0x4a39
movq (%rdi), %r15
movl $0x28, %esi
callq 0x3250
movq %r15, %rdi
cmpq %r12, %r15
jne 0x4a24
movq 0x50(%rsp), %rdi
movb $0x1, %r12b
testq %rdi, %rdi
jne 0x4a4b
jmp 0x4a58
xorl %r12d, %r12d
movq 0x60(%rsp), %rsi
subq %rdi, %rsi
callq 0x3250
movl $0x28, %esi
movq %rbx, %rdi
callq 0x3250
leaq 0x70(%rsp), %rdi
callq 0x8b50
movq 0xf0(%rsp), %rdi
testq %rdi, %rdi
je 0x4a8c
movq 0x100(%rsp), %rsi
subq %rdi, %rsi
callq 0x3250
leaq 0x108(%rsp), %rdi
callq 0x8b92
movq 0xd0(%rsp), %rdi
movl $0x1, %esi
callq 0x3250
leaq 0xb8(%rsp), %rdi
callq 0x88ea
movq 0xa0(%rsp), %rdi
cmpq %r14, %rdi
je 0x4ada
movq (%rdi), %rbx
movl $0x28, %esi
callq 0x3250
movq %rbx, %rdi
cmpq %r14, %rbx
jne 0x4ac5
movl %r12d, %eax
addq $0x4d8, %rsp            # imm = 0x4D8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
leaq 0x20(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4b12
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3250
jmp 0x4b12
movq %rax, %r14
leaq 0x138(%rsp), %rdi
callq 0x8b50
jmp 0x4b24
movq %rax, %r14
leaq 0x228(%rsp), %rdi
jmp 0x4c91
jmp 0x4cca
movq %rax, %r14
leaq 0x20(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4b59
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3250
jmp 0x4b59
movq %rax, %r14
leaq 0x168(%rsp), %rdi
callq 0x8b50
jmp 0x4b6b
movq %rax, %r14
leaq 0x260(%rsp), %rdi
jmp 0x4c91
jmp 0x4cca
jmp 0x4cca
jmp 0x4cca
movq %rax, %r14
leaq 0x20(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4baa
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3250
jmp 0x4baa
movq %rax, %r14
leaq 0x198(%rsp), %rdi
callq 0x8b50
jmp 0x4bbc
movq %rax, %r14
leaq 0x2d0(%rsp), %rdi
jmp 0x4c91
jmp 0x4cca
movq %rax, %r14
leaq 0x298(%rsp), %rdi
jmp 0x4c91
jmp 0x4cca
jmp 0x4cca
movq %rax, %r14
leaq 0x20(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4c0b
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3250
jmp 0x4c0b
movq %rax, %r14
leaq 0x1c8(%rsp), %rdi
callq 0x8b50
jmp 0x4c1d
movq %rax, %r14
leaq 0x340(%rsp), %rdi
jmp 0x4c91
jmp 0x4cca
movq %rax, %r14
leaq 0x308(%rsp), %rdi
jmp 0x4c91
jmp 0x4cca
jmp 0x4cca
movq %rax, %r14
leaq 0x20(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4c66
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3250
jmp 0x4c66
movq %rax, %r14
leaq 0x1f8(%rsp), %rdi
callq 0x8b50
jmp 0x4c78
movq %rax, %r14
leaq 0x3b0(%rsp), %rdi
jmp 0x4c91
jmp 0x4cca
jmp 0x4cca
movq %rax, %r14
leaq 0x378(%rsp), %rdi
callq 0x876c
jmp 0x4ccd
jmp 0x4cca
jmp 0x4cca
jmp 0x4cca
movq %rax, %r14
leaq 0x3e8(%rsp), %rdi
callq 0x876c
jmp 0x4ce4
movq %rax, %r14
jmp 0x4ce4
movq %rax, %r14
jmp 0x4cf1
movq %rax, %r14
jmp 0x4cfb
movq %rax, %r14
jmp 0x4d18
jmp 0x4cca
jmp 0x4cca
jmp 0x4cca
movq %rax, %r14
movq 0x50(%rsp), %rdi
testq %rdi, %rdi
je 0x4ce4
movq 0x60(%rsp), %rsi
subq %rdi, %rsi
callq 0x3250
movl $0x28, %esi
movq %rbx, %rdi
callq 0x3250
leaq 0x70(%rsp), %rdi
callq 0x8b50
movq 0xf0(%rsp), %rdi
testq %rdi, %rdi
je 0x4d18
movq 0x100(%rsp), %rsi
subq %rdi, %rsi
callq 0x3250
leaq 0x108(%rsp), %rdi
callq 0x8b92
leaq 0xa0(%rsp), %rdi
callq 0x876c
movq %r14, %rdi
callq 0x3400