// File: /workspace/github_cpp_makefile_star2_O1/flastest[P]HeterogeneousParallelDijkstra/BBO_graph_creator.cc
// Function: get_teammates(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
std::vector<int> get_teammates (std::string team_list)
{
	if (MINIMAL_DEBUG) std::cout<<"getting teammates from "<<team_list<<std::endl;

	std::vector<int> teammates;

	std::string first_player = team_list.substr(0,team_list.find("/"));

	if (DEBUG_LOGS) std::cout<<"first player is "<<first_player<<std::endl;

	int player = std::stoi(first_player);
	std::string remaining_teammates = team_list.substr(team_list.find("/")+1);

	if (DEBUG_LOGS) std::cout<<"rest of players are "<<remaining_teammates<<std::endl;


	teammates.push_back(player);
	while(remaining_teammates.length()>0)
	{
		player = std::stoi(remaining_teammates.substr(0,remaining_teammates.find("/")));
		//if (DEBUG_LOGS) std::cout<<"next player is "<<player<<std::endl;

		// after the last teammate, there will be no "/" to look for
		if(remaining_teammates.find("/") > remaining_teammates.length()) break; 
		remaining_teammates = remaining_teammates.substr(remaining_teammates.find("/")+1);
		teammates.push_back(player);
	}
	
	return teammates;

}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x88, %rsp
movq %rsi, %r15
movq %rdi, %rbx
cmpb $0x1, 0x919a(%rip)      # 0x184d4
jne 0xf390
movq 0x8c8d(%rip), %r14      # 0x17fd0
leaq 0x3757(%rip), %rsi      # 0x12aa1
movl $0x17, %edx
movq %r14, %rdi
callq 0x32a0
movq (%r15), %rsi
movq 0x8(%r15), %rdx
movq %r14, %rdi
callq 0x32a0
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x3230
movsbl %al, %esi
movq %r14, %rdi
callq 0x3040
movq %rax, %rdi
callq 0x31a0
xorps %xmm0, %xmm0
movups %xmm0, (%rbx)
movq $0x0, 0x10(%rbx)
leaq 0x3714(%rip), %rsi      # 0x12ab9
movl $0x1, %ecx
movq %r15, %rdi
xorl %edx, %edx
callq 0x33f0
leaq 0x60(%rsp), %rdi
movq %r15, %rsi
xorl %edx, %edx
movq %rax, %rcx
movq %rbx, 0x18(%rsp)
callq 0x3270
cmpb $0x1, 0x9101(%rip)      # 0x184d3
jne 0xf42c
movq 0x8bf5(%rip), %rdi      # 0x17fd0
leaq 0x36d9(%rip), %rsi      # 0x12abb
movl $0x10, %edx
callq 0x32a0
movq 0x60(%rsp), %rsi
movq 0x68(%rsp), %rdx
movq 0x8bd3(%rip), %rdi      # 0x17fd0
callq 0x32a0
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x3230
movsbl %al, %esi
movq %r14, %rdi
callq 0x3040
movq %rax, %rdi
callq 0x31a0
movq 0x60(%rsp), %r12
callq 0x3050
movl (%rax), %ebp
movq %rax, 0x10(%rsp)
movl $0x0, (%rax)
leaq 0x20(%rsp), %r13
movq %r12, %rdi
movq %r13, %rsi
movl $0xa, %edx
callq 0x32f0
cmpq %r12, (%r13)
je 0xf710
movslq %eax, %rcx
cmpq %rax, %rcx
jne 0xf71c
movq 0x10(%rsp), %rcx
movl (%rcx), %ecx
cmpl $0x22, %ecx
je 0xf71c
testl %ecx, %ecx
jne 0xf489
movq 0x10(%rsp), %rcx
movl %ebp, (%rcx)
movl %eax, 0xc(%rsp)
leaq 0x3625(%rip), %rsi      # 0x12ab9
movl $0x1, %ecx
movq %r15, %rdi
xorl %edx, %edx
callq 0x33f0
leaq 0x1(%rax), %rdx
leaq 0x20(%rsp), %rdi
movq %r15, %rsi
movq $-0x1, %rcx
callq 0x3270
cmpb $0x1, 0x9011(%rip)      # 0x184d3
jne 0xf51c
movq 0x8b05(%rip), %rdi      # 0x17fd0
leaq 0x35fa(%rip), %rsi      # 0x12acc
movl $0x14, %edx
callq 0x32a0
movq 0x20(%rsp), %rsi
movq 0x28(%rsp), %rdx
movq 0x8ae3(%rip), %rdi      # 0x17fd0
callq 0x32a0
movq %rax, %r15
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x3230
movsbl %al, %esi
movq %r15, %rdi
callq 0x3040
movq %rax, %rdi
callq 0x31a0
movq 0x8(%rbx), %rsi
cmpq 0x10(%rbx), %rsi
je 0xf536
movl 0xc(%rsp), %eax
movl %eax, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x8(%rbx)
jmp 0xf543
leaq 0xc(%rsp), %rdx
movq %rbx, %rdi
callq 0x108c8
cmpq $0x0, 0x28(%rsp)
je 0xf6ad
leaq 0x50(%rsp), %rbp
leaq 0x355e(%rip), %r15      # 0x12ab9
leaq 0x20(%rsp), %r12
leaq 0x40(%rsp), %r13
movq %r15, %rsi
movq %rbp, %r14
movl $0x1, %ecx
movq %r12, %rdi
xorl %edx, %edx
callq 0x33f0
movq %r13, %rdi
movq %r12, %rsi
xorl %edx, %edx
movq %rax, %rcx
callq 0x3270
movq 0x40(%rsp), %rbp
movq 0x10(%rsp), %rax
movl (%rax), %ebx
movl $0x0, (%rax)
movq %rbp, %rdi
leaq 0x80(%rsp), %rsi
movl $0xa, %edx
callq 0x32f0
cmpq %rbp, 0x80(%rsp)
je 0xf6f8
leaq -0x80000000(%rax), %rcx
movabsq $-0x100000000, %rdx     # imm = 0xFFFFFFFF00000000
cmpq %rdx, %rcx
jb 0xf704
movq 0x10(%rsp), %rcx
movl (%rcx), %ecx
cmpl $0x22, %ecx
je 0xf704
movq %r14, %rbp
testl %ecx, %ecx
jne 0xf5f7
movq 0x10(%rsp), %rcx
movl %ebx, (%rcx)
movl %eax, 0xc(%rsp)
movq 0x40(%rsp), %rdi
cmpq %rbp, %rdi
je 0xf612
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x3250
movl $0x1, %ecx
movq %r12, %rdi
movq %r15, %rsi
xorl %edx, %edx
callq 0x33f0
cmpq 0x28(%rsp), %rax
movq 0x18(%rsp), %rbx
ja 0xf6ad
movl $0x1, %ecx
movq %r12, %rdi
movq %r15, %rsi
xorl %edx, %edx
callq 0x33f0
leaq 0x1(%rax), %rdx
movq %r13, %rdi
movq %r12, %rsi
movq $-0x1, %rcx
callq 0x3270
movq %r12, %rdi
movq %r13, %rsi
callq 0x32c0
movq 0x40(%rsp), %rdi
cmpq %rbp, %rdi
je 0xf67a
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x3250
movq 0x8(%rbx), %rsi
cmpq 0x10(%rbx), %rsi
je 0xf694
movl 0xc(%rsp), %eax
movl %eax, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x8(%rbx)
jmp 0xf6a1
movq %rbx, %rdi
leaq 0xc(%rsp), %rdx
callq 0x108c8
cmpq $0x0, 0x28(%rsp)
jne 0xf565
leaq 0x30(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xf6c8
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x3250
leaq 0x70(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xf6e3
movq 0x70(%rsp), %rsi
incq %rsi
callq 0x3250
movq %rbx, %rax
addq $0x88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x3423(%rip), %rdi      # 0x12b22
callq 0x3150
leaq 0x3417(%rip), %rdi      # 0x12b22
callq 0x3310
leaq 0x340b(%rip), %rdi      # 0x12b22
callq 0x3150
leaq 0x33ff(%rip), %rdi      # 0x12b22
callq 0x3310
jmp 0xf748
movq %rax, %r12
jmp 0xf7b9
movq %rax, %r12
movq 0x10(%rsp), %rax
cmpl $0x0, (%rax)
jne 0xf79e
movq 0x10(%rsp), %rax
movl %ebp, (%rax)
jmp 0xf79e
movq %rax, %r12
jmp 0xf79e
jmp 0xf753
jmp 0xf753
jmp 0xf753
movq %rax, %r12
jmp 0xf783
movq %rax, %r12
movq 0x10(%rsp), %rax
cmpl $0x0, (%rax)
jne 0xf76c
movq 0x10(%rsp), %rax
movl %ebx, (%rax)
movq 0x40(%rsp), %rdi
cmpq %r14, %rdi
je 0xf783
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x3250
leaq 0x30(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xf79e
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x3250
leaq 0x70(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xf7b9
movq 0x70(%rsp), %rsi
incq %rsi
callq 0x3250
movq 0x18(%rsp), %rax
movq (%rax), %rdi
testq %rdi, %rdi
je 0xf7d7
movq 0x18(%rsp), %rax
movq 0x10(%rax), %rsi
subq %rdi, %rsi
callq 0x3250
movq %r12, %rdi
callq 0x3400