// File: flastest[P]HeterogeneousParallelDijkstra/workloads.cc
// Function: print_dijkstra_results[abi:cxx11](boost::adjacency_list<boost::listS, boost::vecS, boost::directedS, boost::no_property, boost::property<boost::edge_weight_t, int, boost::no_property>, boost::no_property, boost::listS>, std::map<unsigned long, float, std::less<unsigned long>, std::allocator<std::pair<unsigned long const, float>>>)
string print_dijkstra_results(graph_t g, distance_map_t distances)
{
	string results;

	auto [current, finish] = vertices(g);
	while (current != finish)
	{
		results = results + "node is "+to_string(   static_cast<int>(*current)) + " and distance is " + to_string(static_cast<int>(distances[*current])) + "\n";


		//std::cout<<"node is "<<*current<<" and distance is "<<distances[*current]<<std::endl;

		current++;
	}

	return results;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x1a0, %rsp            # imm = 0x1A0
movq %rdx, -0x170(%rbp)
movq %rsi, -0x158(%rbp)
movq %rdi, -0x168(%rbp)
movq %rdi, %rax
movq %rax, -0x160(%rbp)
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movb $0x0, -0x19(%rbp)
callq 0x4410
movq -0x158(%rbp), %rdi
callq 0xa910
movq %rdx, -0x150(%rbp)
movq %rax, -0x148(%rbp)
jmp 0x49cb
movq -0x150(%rbp), %rax
movq -0x148(%rbp), %rcx
movq %rcx, -0x30(%rbp)
movq %rax, -0x28(%rbp)
leaq -0x30(%rbp), %rdi
callq 0xa990
movq %rax, -0x48(%rbp)
leaq -0x30(%rbp), %rdi
callq 0xa9b0
movq %rax, -0x50(%rbp)
movq -0x48(%rbp), %rdi
movq -0x50(%rbp), %rsi
callq 0xa9d0
movb %al, -0x171(%rbp)
jmp 0x4a10
movb -0x171(%rbp), %al
testb $0x1, %al
jne 0x4a1f
jmp 0x4c68
movq -0x168(%rbp), %rsi
leaq 0x26028(%rip), %rdx     # 0x2aa55
leaq -0xf0(%rbp), %rdi
callq 0xab30
jmp 0x4a3b
movq -0x48(%rbp), %rdi
callq 0xacd0
movq %rax, -0x180(%rbp)
jmp 0x4a4d
movq -0x180(%rbp), %rax
movl %eax, %esi
leaq -0x110(%rbp), %rdi
callq 0xabb0
jmp 0x4a64
leaq -0xd0(%rbp), %rdi
leaq -0xf0(%rbp), %rsi
leaq -0x110(%rbp), %rdx
callq 0xaa60
jmp 0x4a80
leaq 0x2457d(%rip), %rdx     # 0x29004
leaq -0xb0(%rbp), %rdi
leaq -0xd0(%rbp), %rsi
callq 0xaa10
jmp 0x4a9c
movq -0x48(%rbp), %rdi
callq 0xacd0
movq %rax, -0x188(%rbp)
jmp 0x4aae
movq -0x170(%rbp), %rdi
movq -0x188(%rbp), %rax
movq %rax, -0x138(%rbp)
leaq -0x138(%rbp), %rsi
callq 0xad00
movq %rax, -0x190(%rbp)
jmp 0x4ad8
movq -0x190(%rbp), %rax
cvttss2si (%rax), %esi
leaq -0x130(%rbp), %rdi
callq 0xabb0
jmp 0x4af1
leaq -0x90(%rbp), %rdi
leaq -0xb0(%rbp), %rsi
leaq -0x130(%rbp), %rdx
callq 0xaa60
jmp 0x4b0d
leaq 0x24508(%rip), %rdx     # 0x2901c
leaq -0x70(%rbp), %rdi
leaq -0x90(%rbp), %rsi
callq 0xaa10
jmp 0x4b26
movq -0x168(%rbp), %rdi
leaq -0x70(%rbp), %rsi
movq %rsi, -0x1a0(%rbp)
callq 0x43d0
movq -0x1a0(%rbp), %rdi
callq 0x41e0
leaq -0x90(%rbp), %rdi
callq 0x41e0
leaq -0x130(%rbp), %rdi
callq 0x41e0
leaq -0xb0(%rbp), %rdi
callq 0x41e0
leaq -0xd0(%rbp), %rdi
callq 0x41e0
leaq -0x110(%rbp), %rdi
callq 0x41e0
leaq -0xf0(%rbp), %rdi
callq 0x41e0
movq -0x48(%rbp), %rdi
xorl %esi, %esi
callq 0xade0
movq %rax, -0x198(%rbp)
jmp 0x4ba5
movq -0x198(%rbp), %rax
movq %rax, -0x140(%rbp)
jmp 0x49fb
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
jmp 0x4c8e
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
jmp 0x4c5a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
jmp 0x4c4e
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
jmp 0x4c42
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
jmp 0x4c36
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
jmp 0x4c2a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
leaq -0x90(%rbp), %rdi
callq 0x41e0
leaq -0x130(%rbp), %rdi
callq 0x41e0
leaq -0xb0(%rbp), %rdi
callq 0x41e0
leaq -0xd0(%rbp), %rdi
callq 0x41e0
leaq -0x110(%rbp), %rdi
callq 0x41e0
leaq -0xf0(%rbp), %rdi
callq 0x41e0
jmp 0x4c8e
movb $0x1, -0x19(%rbp)
testb $0x1, -0x19(%rbp)
jne 0x4c7e
movq -0x168(%rbp), %rdi
callq 0x41e0
movq -0x160(%rbp), %rax
addq $0x1a0, %rsp            # imm = 0x1A0
popq %rbp
retq
movq -0x168(%rbp), %rdi
callq 0x41e0
movq -0x38(%rbp), %rdi
callq 0x4520
nopw %cs:(%rax,%rax)