// File: /workspace/github_cpp_makefile_star2_O1/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 $0x4c8, %rsp            # imm = 0x4C8
movl %edi, %ebp
movaps 0xd1d0(%rip), %xmm0     # 0x11010
leaq 0x4c0(%rsp), %rdx
movaps %xmm0, -0x70(%rdx)
movaps 0xd1cd(%rip), %xmm0     # 0x11020
movaps %xmm0, -0x60(%rdx)
movaps 0xd1d2(%rip), %xmm0     # 0x11030
movaps %xmm0, -0x50(%rdx)
movaps 0xd1d7(%rip), %xmm0     # 0x11040
movaps %xmm0, -0x40(%rdx)
movaps 0xd1dc(%rip), %xmm0     # 0x11050
movaps %xmm0, -0x30(%rdx)
movaps 0xd1e1(%rip), %xmm0     # 0x11060
movaps %xmm0, -0x20(%rdx)
movaps 0xd1e6(%rip), %xmm0     # 0x11070
movaps %xmm0, -0x10(%rdx)
movaps 0xe36b(%rip), %xmm0     # 0x12200
leaq 0x410(%rsp), %rcx
movaps %xmm0, 0x20(%rcx)
movaps 0xe348(%rip), %xmm0     # 0x121f0
movaps %xmm0, 0x10(%rcx)
movaps 0xe32d(%rip), %xmm0     # 0x121e0
movaps %xmm0, (%rcx)
movabsq $0x500000001, %rax      # imm = 0x500000001
movq %rax, 0x30(%rcx)
leaq 0xf8(%rsp), %rax
movq %rax, (%rsp)
xorl %r14d, %r14d
leaq 0xa8(%rsp), %rbx
leaq 0x450(%rsp), %rsi
movl $0x5, %r8d
movq %rbx, %rdi
xorl %r9d, %r9d
callq 0x8758
leaq 0x100(%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 0xe0(%rsp), %rdi
leaq 0x78(%rsp), %rdx
callq 0x86ce
leaq 0x40(%rsp), %rdx
movq $0x0, (%rdx)
leaq 0x78(%rsp), %rdi
leaq 0xa8(%rsp), %rsi
leaq 0xf8(%rsp), %rcx
callq *0x142e1(%rip)          # 0x18238
xorps %xmm0, %xmm0
movaps %xmm0, 0x60(%rsp)
movq $0x0, 0x70(%rsp)
movl $0x28, %edi
callq 0x3240
movq %rax, 0x60(%rsp)
movq %rax, 0x68(%rsp)
movq %rax, %rcx
addq $0x28, %rcx
movq %rcx, 0x70(%rsp)
xorps %xmm0, %xmm0
movups %xmm0, 0x10(%rax)
movups %xmm0, (%rax)
movq $0x0, 0x20(%rax)
movq %rcx, 0x68(%rsp)
leaq 0x2e8(%rsp), %rdi
leaq 0xa8(%rsp), %rbx
movq %rbx, %rsi
callq 0x8826
movq 0x40(%rsp), %rdx
leaq 0x48(%rsp), %rdi
leaq 0x2e8(%rsp), %r14
leaq 0x60(%rsp), %rcx
movq %r14, %rsi
callq 0x3d56
movq 0x318(%rsp), %rdi
testq %rdi, %rdi
je 0x3fed
movl $0x1, %esi
callq 0x3250
leaq 0x300(%rsp), %r15
movq %r15, %rdi
callq 0x8a42
movq -0x18(%r15), %rdi
cmpq %r14, %rdi
je 0x401b
movq (%rdi), %r15
movl $0x28, %esi
callq 0x3250
movq %r15, %rdi
cmpq %r14, %r15
jne 0x4006
leaq 0xc0(%rsp), %r14
xorl %r13d, %r13d
leaq 0x78(%rsp), %r15
leaq 0x10(%rsp), %r12
movq %r13, 0x10(%rsp)
movq %r15, %rdi
movq %r12, %rsi
callq 0x8668
movq 0x48(%rsp), %rcx
xorps %xmm0, %xmm0
cvtsi2ssl (%rcx,%r13,4), %xmm0
movss (%rax), %xmm1
ucomiss %xmm0, %xmm1
jne 0x4aa8
jp 0x4aa8
incq %r13
cmpq $0x5, %r13
jne 0x4030
testb %bpl, %bpl
je 0x4153
movq 0x13f56(%rip), %rdi     # 0x17fd0
leaq 0xd081(%rip), %rsi      # 0x11102
movl $0x7, %edx
callq 0x32a0
leaq 0x2b0(%rsp), %rdi
leaq 0xa8(%rsp), %rsi
callq 0x8826
leaq 0x3e0(%rsp), %rdi
leaq 0x78(%rsp), %rsi
callq 0x8ace
leaq 0x10(%rsp), %rdi
leaq 0x2b0(%rsp), %r15
leaq 0x3e0(%rsp), %rdx
movq %r15, %rsi
callq 0x36ec
movq 0x10(%rsp), %rsi
movq 0x18(%rsp), %rdx
movq 0x13ef0(%rip), %rdi     # 0x17fd0
callq 0x32a0
leaq 0x20(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4100
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3250
leaq 0x3e0(%rsp), %rdi
callq 0x8ca2
movq 0x2e0(%rsp), %rdi
testq %rdi, %rdi
je 0x4124
movl $0x1, %esi
callq 0x3250
leaq 0x2c8(%rsp), %r12
movq %r12, %rdi
callq 0x8a42
movq -0x18(%r12), %rdi
cmpq %r15, %rdi
je 0x4153
movq (%rdi), %r12
movl $0x28, %esi
callq 0x3250
movq %r12, %rdi
cmpq %r15, %r12
jne 0x413e
leaq 0x40(%rsp), %rdx
movq $0x1, (%rdx)
leaq 0x10(%rsp), %rdi
leaq 0xa8(%rsp), %rsi
leaq 0xf8(%rsp), %rcx
callq *0x140be(%rip)          # 0x18238
leaq 0x78(%rsp), %rdi
callq 0x8cb6
movq 0x20(%rsp), %rax
testq %rax, %rax
je 0x41c9
leaq 0x80(%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 0x8ca2
leaq 0x278(%rsp), %rdi
leaq 0xa8(%rsp), %rsi
callq 0x8826
movq 0x40(%rsp), %rdx
leaq 0x10(%rsp), %rdi
leaq 0x278(%rsp), %r15
leaq 0x60(%rsp), %rcx
movq %r15, %rsi
callq 0x3d56
movq 0x48(%rsp), %rdi
movq 0x58(%rsp), %rsi
movq 0x10(%rsp), %rax
movq %rax, 0x48(%rsp)
movups 0x18(%rsp), %xmm0
movups %xmm0, 0x50(%rsp)
xorps %xmm0, %xmm0
movaps %xmm0, 0x10(%rsp)
movq $0x0, 0x20(%rsp)
testq %rdi, %rdi
je 0x4243
subq %rdi, %rsi
callq 0x3250
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x425a
movq 0x20(%rsp), %rsi
subq %rdi, %rsi
callq 0x3250
movq 0x2a8(%rsp), %rdi
testq %rdi, %rdi
je 0x4271
movl $0x1, %esi
callq 0x3250
leaq 0x290(%rsp), %r12
movq %r12, %rdi
callq 0x8a42
movq -0x18(%r12), %rdi
cmpq %r15, %rdi
je 0x42a0
movq (%rdi), %r12
movl $0x28, %esi
callq 0x3250
movq %r12, %rdi
cmpq %r15, %r12
jne 0x428b
xorl %r13d, %r13d
leaq 0x78(%rsp), %r15
leaq 0x10(%rsp), %r12
movq %r13, 0x10(%rsp)
movq %r15, %rdi
movq %r12, %rsi
callq 0x8668
movq 0x48(%rsp), %rcx
xorps %xmm0, %xmm0
cvtsi2ssl (%rcx,%r13,4), %xmm0
movss (%rax), %xmm1
ucomiss %xmm0, %xmm1
jne 0x4aa8
jp 0x4aa8
incq %r13
cmpq $0x5, %r13
jne 0x42ad
testb %bpl, %bpl
je 0x43d0
movq 0x13cd9(%rip), %rdi     # 0x17fd0
leaq 0xce0c(%rip), %rsi      # 0x1110a
movl $0x7, %edx
callq 0x32a0
leaq 0x240(%rsp), %rdi
leaq 0xa8(%rsp), %rsi
callq 0x8826
leaq 0x3b0(%rsp), %rdi
leaq 0x78(%rsp), %rsi
callq 0x8ace
leaq 0x10(%rsp), %rdi
leaq 0x240(%rsp), %r15
leaq 0x3b0(%rsp), %rdx
movq %r15, %rsi
callq 0x36ec
movq 0x10(%rsp), %rsi
movq 0x18(%rsp), %rdx
movq 0x13c73(%rip), %rdi     # 0x17fd0
callq 0x32a0
leaq 0x20(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x437d
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3250
leaq 0x3b0(%rsp), %rdi
callq 0x8ca2
movq 0x270(%rsp), %rdi
testq %rdi, %rdi
je 0x43a1
movl $0x1, %esi
callq 0x3250
leaq 0x258(%rsp), %r12
movq %r12, %rdi
callq 0x8a42
movq -0x18(%r12), %rdi
cmpq %r15, %rdi
je 0x43d0
movq (%rdi), %r12
movl $0x28, %esi
callq 0x3250
movq %r12, %rdi
cmpq %r15, %r12
jne 0x43bb
leaq 0x40(%rsp), %rdx
movq $0x2, (%rdx)
leaq 0x10(%rsp), %rdi
leaq 0xa8(%rsp), %rsi
leaq 0xf8(%rsp), %rcx
callq *0x13e41(%rip)          # 0x18238
leaq 0x78(%rsp), %rdi
callq 0x8cb6
movq 0x20(%rsp), %rax
testq %rax, %rax
je 0x4446
leaq 0x80(%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 0x8ca2
leaq 0x208(%rsp), %rdi
leaq 0xa8(%rsp), %rsi
callq 0x8826
movq 0x40(%rsp), %rdx
leaq 0x10(%rsp), %rdi
leaq 0x208(%rsp), %r15
leaq 0x60(%rsp), %rcx
movq %r15, %rsi
callq 0x3d56
movq 0x48(%rsp), %rdi
movq 0x58(%rsp), %rsi
movq 0x10(%rsp), %rax
movq %rax, 0x48(%rsp)
movups 0x18(%rsp), %xmm0
movups %xmm0, 0x50(%rsp)
xorps %xmm0, %xmm0
movaps %xmm0, 0x10(%rsp)
movq $0x0, 0x20(%rsp)
testq %rdi, %rdi
je 0x44c0
subq %rdi, %rsi
callq 0x3250
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x44d7
movq 0x20(%rsp), %rsi
subq %rdi, %rsi
callq 0x3250
movq 0x238(%rsp), %rdi
testq %rdi, %rdi
je 0x44ee
movl $0x1, %esi
callq 0x3250
leaq 0x220(%rsp), %r12
movq %r12, %rdi
callq 0x8a42
movq -0x18(%r12), %rdi
cmpq %r15, %rdi
je 0x451d
movq (%rdi), %r12
movl $0x28, %esi
callq 0x3250
movq %r12, %rdi
cmpq %r15, %r12
jne 0x4508
xorl %r13d, %r13d
leaq 0x78(%rsp), %r15
leaq 0x10(%rsp), %r12
movq %r13, 0x10(%rsp)
movq %r15, %rdi
movq %r12, %rsi
callq 0x8668
movq 0x48(%rsp), %rcx
xorps %xmm0, %xmm0
cvtsi2ssl (%rcx,%r13,4), %xmm0
movss (%rax), %xmm1
ucomiss %xmm0, %xmm1
jne 0x4aa8
jp 0x4aa8
incq %r13
cmpq $0x5, %r13
jne 0x452a
testb %bpl, %bpl
je 0x464d
movq 0x13a5c(%rip), %rdi     # 0x17fd0
leaq 0xcb97(%rip), %rsi      # 0x11112
movl $0x7, %edx
callq 0x32a0
leaq 0x1d0(%rsp), %rdi
leaq 0xa8(%rsp), %rsi
callq 0x8826
leaq 0x380(%rsp), %rdi
leaq 0x78(%rsp), %rsi
callq 0x8ace
leaq 0x10(%rsp), %rdi
leaq 0x1d0(%rsp), %r15
leaq 0x380(%rsp), %rdx
movq %r15, %rsi
callq 0x36ec
movq 0x10(%rsp), %rsi
movq 0x18(%rsp), %rdx
movq 0x139f6(%rip), %rdi     # 0x17fd0
callq 0x32a0
leaq 0x20(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x45fa
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3250
leaq 0x380(%rsp), %rdi
callq 0x8ca2
movq 0x200(%rsp), %rdi
testq %rdi, %rdi
je 0x461e
movl $0x1, %esi
callq 0x3250
leaq 0x1e8(%rsp), %r12
movq %r12, %rdi
callq 0x8a42
movq -0x18(%r12), %rdi
cmpq %r15, %rdi
je 0x464d
movq (%rdi), %r12
movl $0x28, %esi
callq 0x3250
movq %r12, %rdi
cmpq %r15, %r12
jne 0x4638
leaq 0x40(%rsp), %rdx
movq $0x3, (%rdx)
leaq 0x10(%rsp), %rdi
leaq 0xa8(%rsp), %rsi
leaq 0xf8(%rsp), %rcx
callq *0x13bc4(%rip)          # 0x18238
leaq 0x78(%rsp), %rdi
callq 0x8cb6
movq 0x20(%rsp), %rax
testq %rax, %rax
je 0x46c3
leaq 0x80(%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 0x8ca2
leaq 0x198(%rsp), %rdi
leaq 0xa8(%rsp), %rsi
callq 0x8826
movq 0x40(%rsp), %rdx
leaq 0x10(%rsp), %rdi
leaq 0x198(%rsp), %r15
leaq 0x60(%rsp), %rcx
movq %r15, %rsi
callq 0x3d56
movq 0x48(%rsp), %rdi
movq 0x58(%rsp), %rsi
movq 0x10(%rsp), %rax
movq %rax, 0x48(%rsp)
movups 0x18(%rsp), %xmm0
movups %xmm0, 0x50(%rsp)
xorps %xmm0, %xmm0
movaps %xmm0, 0x10(%rsp)
movq $0x0, 0x20(%rsp)
testq %rdi, %rdi
je 0x473d
subq %rdi, %rsi
callq 0x3250
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x4754
movq 0x20(%rsp), %rsi
subq %rdi, %rsi
callq 0x3250
movq 0x1c8(%rsp), %rdi
testq %rdi, %rdi
je 0x476b
movl $0x1, %esi
callq 0x3250
leaq 0x1b0(%rsp), %r12
movq %r12, %rdi
callq 0x8a42
movq -0x18(%r12), %rdi
cmpq %r15, %rdi
je 0x479a
movq (%rdi), %r12
movl $0x28, %esi
callq 0x3250
movq %r12, %rdi
cmpq %r15, %r12
jne 0x4785
xorl %r13d, %r13d
leaq 0x78(%rsp), %r15
leaq 0x10(%rsp), %r12
movq %r13, 0x10(%rsp)
movq %r15, %rdi
movq %r12, %rsi
callq 0x8668
movq 0x48(%rsp), %rcx
xorps %xmm0, %xmm0
cvtsi2ssl (%rcx,%r13,4), %xmm0
movss (%rax), %xmm1
ucomiss %xmm0, %xmm1
jne 0x4aa8
jp 0x4aa8
incq %r13
cmpq $0x5, %r13
jne 0x47a7
testb %bpl, %bpl
je 0x48ca
movq 0x137df(%rip), %rdi     # 0x17fd0
leaq 0xc922(%rip), %rsi      # 0x1111a
movl $0x7, %edx
callq 0x32a0
leaq 0x160(%rsp), %rdi
leaq 0xa8(%rsp), %rsi
callq 0x8826
leaq 0x350(%rsp), %rdi
leaq 0x78(%rsp), %rsi
callq 0x8ace
leaq 0x10(%rsp), %rdi
leaq 0x160(%rsp), %r15
leaq 0x350(%rsp), %rdx
movq %r15, %rsi
callq 0x36ec
movq 0x10(%rsp), %rsi
movq 0x18(%rsp), %rdx
movq 0x13779(%rip), %rdi     # 0x17fd0
callq 0x32a0
leaq 0x20(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4877
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3250
leaq 0x350(%rsp), %rdi
callq 0x8ca2
movq 0x190(%rsp), %rdi
testq %rdi, %rdi
je 0x489b
movl $0x1, %esi
callq 0x3250
leaq 0x178(%rsp), %r12
movq %r12, %rdi
callq 0x8a42
movq -0x18(%r12), %rdi
cmpq %r15, %rdi
je 0x48ca
movq (%rdi), %r12
movl $0x28, %esi
callq 0x3250
movq %r12, %rdi
cmpq %r15, %r12
jne 0x48b5
leaq 0x40(%rsp), %rdx
movq $0x4, (%rdx)
leaq 0x10(%rsp), %rdi
leaq 0xa8(%rsp), %rsi
leaq 0xf8(%rsp), %rcx
callq *0x13947(%rip)          # 0x18238
leaq 0x78(%rsp), %rdi
callq 0x8cb6
movq 0x20(%rsp), %rax
testq %rax, %rax
je 0x4940
leaq 0x80(%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), %r15
movq %r15, %rdi
callq 0x8ca2
movups 0xd9a0(%rip), %xmm0     # 0x122f4
movaps %xmm0, (%r15)
movl $0x0, 0x10(%r15)
leaq 0x24(%rsp), %rdx
leaq 0x48(%rsp), %rdi
leaq 0x10(%rsp), %rsi
callq 0xaa7a
xorl %r13d, %r13d
leaq 0x78(%rsp), %r15
leaq 0x10(%rsp), %r12
movq %r13, 0x10(%rsp)
movq %r15, %rdi
movq %r12, %rsi
callq 0x8668
movq 0x48(%rsp), %rcx
xorps %xmm0, %xmm0
cvtsi2ssl (%rcx,%r13,4), %xmm0
movss (%rax), %xmm1
ucomiss %xmm0, %xmm1
jne 0x4aa8
jp 0x4aa8
incq %r13
cmpq $0x5, %r13
jne 0x4981
movb $0x1, %r15b
testb %bpl, %bpl
je 0x4aab
movq 0x13602(%rip), %rdi     # 0x17fd0
leaq 0xc74d(%rip), %rsi      # 0x11122
movl $0x7, %edx
callq 0x32a0
leaq 0x128(%rsp), %rdi
leaq 0xa8(%rsp), %rsi
callq 0x8826
leaq 0x320(%rsp), %rdi
leaq 0x78(%rsp), %rsi
callq 0x8ace
leaq 0x10(%rsp), %rdi
leaq 0x128(%rsp), %r12
leaq 0x320(%rsp), %rdx
movq %r12, %rsi
callq 0x36ec
movq 0x10(%rsp), %rsi
movq 0x18(%rsp), %rdx
movq 0x1359c(%rip), %rdi     # 0x17fd0
callq 0x32a0
leaq 0x20(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4a54
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3250
leaq 0x320(%rsp), %rdi
callq 0x8ca2
movq 0x158(%rsp), %rdi
testq %rdi, %rdi
je 0x4a78
movl $0x1, %esi
callq 0x3250
leaq 0x140(%rsp), %r13
movq %r13, %rdi
callq 0x8a42
movq -0x18(%r13), %rdi
cmpq %r12, %rdi
je 0x4aab
movq (%rdi), %r13
movl $0x28, %esi
callq 0x3250
movq %r13, %rdi
cmpq %r12, %r13
jne 0x4a91
jmp 0x4aab
xorl %r15d, %r15d
movq 0x48(%rsp), %rdi
testq %rdi, %rdi
je 0x4ac2
movq 0x58(%rsp), %rsi
subq %rdi, %rsi
callq 0x3250
movq 0x60(%rsp), %rdi
testq %rdi, %rdi
je 0x4ad9
movq 0x70(%rsp), %rsi
subq %rdi, %rsi
callq 0x3250
leaq 0x78(%rsp), %rdi
callq 0x8ca2
movq 0xe0(%rsp), %rdi
testq %rdi, %rdi
je 0x4b00
movq 0xf0(%rsp), %rsi
subq %rdi, %rsi
callq 0x3250
leaq 0xf8(%rsp), %rdi
callq 0x8ce4
movq 0xd8(%rsp), %rdi
testq %rdi, %rdi
je 0x4b24
movl $0x1, %esi
callq 0x3250
movq %r14, %rdi
callq 0x8a42
movq 0xa8(%rsp), %rdi
cmpq %rbx, %rdi
je 0x4b4e
movq (%rdi), %r14
movl $0x28, %esi
callq 0x3250
movq %r14, %rdi
cmpq %rbx, %r14
jne 0x4b39
movl %r15d, %eax
addq $0x4c8, %rsp            # imm = 0x4C8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq 0x20(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4b86
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3250
jmp 0x4b86
movq %rax, %rbx
leaq 0x320(%rsp), %rdi
callq 0x8ca2
jmp 0x4b98
movq %rax, %rbx
leaq 0x128(%rsp), %rdi
jmp 0x4d05
jmp 0x4d3e
movq %rax, %rbx
leaq 0x20(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4bcd
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3250
jmp 0x4bcd
movq %rax, %rbx
leaq 0x350(%rsp), %rdi
callq 0x8ca2
jmp 0x4bdf
movq %rax, %rbx
leaq 0x160(%rsp), %rdi
jmp 0x4d05
jmp 0x4d3e
jmp 0x4d3e
jmp 0x4d3e
movq %rax, %rbx
leaq 0x20(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4c1e
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3250
jmp 0x4c1e
movq %rax, %rbx
leaq 0x380(%rsp), %rdi
callq 0x8ca2
jmp 0x4c30
movq %rax, %rbx
leaq 0x1d0(%rsp), %rdi
jmp 0x4d05
jmp 0x4d3e
movq %rax, %rbx
leaq 0x198(%rsp), %rdi
jmp 0x4d05
jmp 0x4d3e
jmp 0x4d3e
movq %rax, %rbx
leaq 0x20(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4c7f
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3250
jmp 0x4c7f
movq %rax, %rbx
leaq 0x3b0(%rsp), %rdi
callq 0x8ca2
jmp 0x4c91
movq %rax, %rbx
leaq 0x240(%rsp), %rdi
jmp 0x4d05
jmp 0x4d3e
movq %rax, %rbx
leaq 0x208(%rsp), %rdi
jmp 0x4d05
jmp 0x4d3e
jmp 0x4d3e
movq %rax, %rbx
leaq 0x20(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4cda
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3250
jmp 0x4cda
movq %rax, %rbx
leaq 0x3e0(%rsp), %rdi
callq 0x8ca2
jmp 0x4cec
movq %rax, %rbx
leaq 0x2b0(%rsp), %rdi
jmp 0x4d05
jmp 0x4d3e
jmp 0x4d3e
movq %rax, %rbx
leaq 0x278(%rsp), %rdi
callq 0x88c0
jmp 0x4d41
jmp 0x4d3e
jmp 0x4d3e
jmp 0x4d3e
movq %rax, %rbx
leaq 0x2e8(%rsp), %rdi
callq 0x88c0
jmp 0x4d58
movq %rax, %rbx
jmp 0x4d58
movq %rax, %rbx
jmp 0x4d6f
movq %rax, %rbx
jmp 0x4d79
movq %rax, %rbx
jmp 0x4d96
jmp 0x4d3e
jmp 0x4d3e
jmp 0x4d3e
movq %rax, %rbx
movq 0x48(%rsp), %rdi
testq %rdi, %rdi
je 0x4d58
movq 0x58(%rsp), %rsi
subq %rdi, %rsi
callq 0x3250
movq 0x60(%rsp), %rdi
testq %rdi, %rdi
je 0x4d6f
movq 0x70(%rsp), %rsi
subq %rdi, %rsi
callq 0x3250
leaq 0x78(%rsp), %rdi
callq 0x8ca2
movq 0xe0(%rsp), %rdi
testq %rdi, %rdi
je 0x4d96
movq 0xf0(%rsp), %rsi
subq %rdi, %rsi
callq 0x3250
leaq 0xf8(%rsp), %rdi
callq 0x8ce4
leaq 0xa8(%rsp), %rdi
callq 0x88c0
movq %rbx, %rdi
callq 0x3400