// File: /workspace/github_cpp_makefile_star2_O3/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, 0x943a(%rip)      # 0x184d4
jne 0xf0f0
movq 0x8f2d(%rip), %r14      # 0x17fd0
leaq 0x3a37(%rip), %rsi      # 0x12ae1
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 0x39f4(%rip), %rsi      # 0x12af9
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, 0x93a1(%rip)      # 0x184d3
jne 0xf18c
movq 0x8e95(%rip), %rdi      # 0x17fd0
leaq 0x39b9(%rip), %rsi      # 0x12afb
movl $0x10, %edx
callq 0x32a0
movq 0x60(%rsp), %rsi
movq 0x68(%rsp), %rdx
movq 0x8e73(%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 0xf470
movslq %eax, %rcx
cmpq %rax, %rcx
jne 0xf47c
movq 0x10(%rsp), %rcx
movl (%rcx), %ecx
cmpl $0x22, %ecx
je 0xf47c
testl %ecx, %ecx
jne 0xf1e9
movq 0x10(%rsp), %rcx
movl %ebp, (%rcx)
movl %eax, 0xc(%rsp)
leaq 0x3905(%rip), %rsi      # 0x12af9
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, 0x92b1(%rip)      # 0x184d3
jne 0xf27c
movq 0x8da5(%rip), %rdi      # 0x17fd0
leaq 0x38da(%rip), %rsi      # 0x12b0c
movl $0x14, %edx
callq 0x32a0
movq 0x20(%rsp), %rsi
movq 0x28(%rsp), %rdx
movq 0x8d83(%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 0xf296
movl 0xc(%rsp), %eax
movl %eax, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x8(%rbx)
jmp 0xf2a3
leaq 0xc(%rsp), %rdx
movq %rbx, %rdi
callq 0x1061a
cmpq $0x0, 0x28(%rsp)
je 0xf40d
leaq 0x50(%rsp), %rbp
leaq 0x383e(%rip), %r15      # 0x12af9
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 0xf458
leaq -0x80000000(%rax), %rcx
movabsq $-0x100000000, %rdx     # imm = 0xFFFFFFFF00000000
cmpq %rdx, %rcx
jb 0xf464
movq 0x10(%rsp), %rcx
movl (%rcx), %ecx
cmpl $0x22, %ecx
je 0xf464
movq %r14, %rbp
testl %ecx, %ecx
jne 0xf357
movq 0x10(%rsp), %rcx
movl %ebx, (%rcx)
movl %eax, 0xc(%rsp)
movq 0x40(%rsp), %rdi
cmpq %rbp, %rdi
je 0xf372
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 0xf40d
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 0xf3da
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x3250
movq 0x8(%rbx), %rsi
cmpq 0x10(%rbx), %rsi
je 0xf3f4
movl 0xc(%rsp), %eax
movl %eax, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x8(%rbx)
jmp 0xf401
movq %rbx, %rdi
leaq 0xc(%rsp), %rdx
callq 0x1061a
cmpq $0x0, 0x28(%rsp)
jne 0xf2c5
leaq 0x30(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xf428
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x3250
leaq 0x70(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xf443
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 0x3703(%rip), %rdi      # 0x12b62
callq 0x3150
leaq 0x36f7(%rip), %rdi      # 0x12b62
callq 0x3310
leaq 0x36eb(%rip), %rdi      # 0x12b62
callq 0x3150
leaq 0x36df(%rip), %rdi      # 0x12b62
callq 0x3310
jmp 0xf4a8
movq %rax, %r12
jmp 0xf519
movq %rax, %r12
movq 0x10(%rsp), %rax
cmpl $0x0, (%rax)
jne 0xf4fe
movq 0x10(%rsp), %rax
movl %ebp, (%rax)
jmp 0xf4fe
movq %rax, %r12
jmp 0xf4fe
jmp 0xf4b3
jmp 0xf4b3
jmp 0xf4b3
movq %rax, %r12
jmp 0xf4e3
movq %rax, %r12
movq 0x10(%rsp), %rax
cmpl $0x0, (%rax)
jne 0xf4cc
movq 0x10(%rsp), %rax
movl %ebx, (%rax)
movq 0x40(%rsp), %rdi
cmpq %r14, %rdi
je 0xf4e3
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x3250
leaq 0x30(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xf4fe
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x3250
leaq 0x70(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xf519
movq 0x70(%rsp), %rsi
incq %rsi
callq 0x3250
movq 0x18(%rsp), %rax
movq (%rax), %rdi
testq %rdi, %rdi
je 0xf537
movq 0x18(%rsp), %rax
movq 0x10(%rax), %rsi
subq %rdi, %rsi
callq 0x3250
movq %r12, %rdi
callq 0x3400