// File: /workspace/github_cpp_makefile_star2_O1/richardposner[P]BioNetFit2/src/code/Utils.cpp
// Function: split_string(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
vector<std::string> split_string(std::string str, std::string delimiter){
	vector<std::string> strs;
	size_t pos = 0;
	std::string token;
	while ((pos = str.find(delimiter)) != std::string::npos) {
		token = str.substr(0, pos);
		token = trim(token,true,true);
		strs.push_back(token);
		str.erase(0, pos + delimiter.length());
	}
	if (!str.empty()){
		strs.push_back(trim(str,true,true));  //add the last piece
	}
	return strs;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x88, %rsp
movq %rdx, %r15
movq %rsi, %r14
xorl %eax, %eax
movq %rax, 0x10(%rdi)
xorps %xmm0, %xmm0
movq %rdi, (%rsp)
movups %xmm0, (%rdi)
leaq 0x38(%rsp), %rcx
movq %rcx, -0x10(%rcx)
movq %rax, -0x8(%rcx)
movb $0x0, (%rcx)
leaq 0x8(%rsp), %r12
leaq 0x28(%rsp), %r13
leaq 0x48(%rsp), %rbp
movq (%r15), %rsi
movq 0x8(%r15), %rcx
movq %r14, %rdi
xorl %edx, %edx
callq 0x231f0
cmpq $-0x1, %rax
je 0xbf086
movq %rax, %rbx
movq %r12, %rdi
movq %r14, %rsi
xorl %edx, %edx
movq %rax, %rcx
callq 0x22a00
movq %r13, %rdi
movq %r12, %rsi
callq 0x22bb0
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0xbefed
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x229c0
leaq 0x58(%rsp), %rax
movq %rax, 0x48(%rsp)
movq 0x28(%rsp), %rsi
movq 0x30(%rsp), %rdx
addq %rsi, %rdx
movq %rbp, %rdi
callq 0x32180
movq %r12, %rdi
movq %rbp, %rsi
movl $0x1, %edx
movl $0x1, %ecx
callq 0xbf1c0
movq %r13, %rdi
movq %r12, %rsi
callq 0x22bb0
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0xbf048
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x229c0
movq 0x48(%rsp), %rdi
leaq 0x58(%rsp), %rax
cmpq %rax, %rdi
je 0xbf064
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x229c0
movq (%rsp), %rdi
movq %r13, %rsi
callq 0x31d52
addq 0x8(%r15), %rbx
movq %r14, %rdi
xorl %esi, %esi
movq %rbx, %rdx
callq 0x221d0
jmp 0xbef98
movq 0x8(%r14), %rdx
testq %rdx, %rdx
je 0xbf102
leaq 0x78(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%r14), %rsi
addq %rsi, %rdx
leaq 0x68(%rsp), %rdi
callq 0x32180
leaq 0x8(%rsp), %rdi
leaq 0x68(%rsp), %rsi
movl $0x1, %edx
movl $0x1, %ecx
callq 0xbf1c0
leaq 0x8(%rsp), %rsi
movq (%rsp), %rdi
callq 0x6a77e
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0xbf0eb
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x229c0
movq 0x68(%rsp), %rdi
cmpq %r15, %rdi
je 0xbf102
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x229c0
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0xbf11e
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x229c0
movq (%rsp), %rax
addq $0x88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0xbf158
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x229c0
jmp 0xbf158
movq %rax, %rbx
movq 0x68(%rsp), %rdi
cmpq %r15, %rdi
je 0xbf193
movq 0x78(%rsp), %rsi
jmp 0xbf184
jmp 0xbf190
jmp 0xbf190
movq %rax, %rbx
movq 0x48(%rsp), %rdi
leaq 0x58(%rsp), %rax
cmpq %rax, %rdi
je 0xbf193
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x229c0
jmp 0xbf193
jmp 0xbf190
movq %rax, %rbx
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0xbf1af
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x229c0
movq (%rsp), %rdi
callq 0x31a9e
movq %rbx, %rdi
callq 0x23240