// File: /workspace/github_cpp_makefile_star2_O3/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 0xbe76c
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 0xbe6d3
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 0x3213c
movq %r12, %rdi
movq %rbp, %rsi
movl $0x1, %edx
movl $0x1, %ecx
callq 0xbe8a6
movq %r13, %rdi
movq %r12, %rsi
callq 0x22bb0
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0xbe72e
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x229c0
movq 0x48(%rsp), %rdi
leaq 0x58(%rsp), %rax
cmpq %rax, %rdi
je 0xbe74a
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x229c0
movq (%rsp), %rdi
movq %r13, %rsi
callq 0x31cec
addq 0x8(%r15), %rbx
movq %r14, %rdi
xorl %esi, %esi
movq %rbx, %rdx
callq 0x221d0
jmp 0xbe67e
movq 0x8(%r14), %rdx
testq %rdx, %rdx
je 0xbe7e8
leaq 0x78(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%r14), %rsi
addq %rsi, %rdx
leaq 0x68(%rsp), %rdi
callq 0x3213c
leaq 0x8(%rsp), %rdi
leaq 0x68(%rsp), %rsi
movl $0x1, %edx
movl $0x1, %ecx
callq 0xbe8a6
leaq 0x8(%rsp), %rsi
movq (%rsp), %rdi
callq 0x6a2a2
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0xbe7d1
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x229c0
movq 0x68(%rsp), %rdi
cmpq %r15, %rdi
je 0xbe7e8
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x229c0
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0xbe804
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 0xbe83e
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x229c0
jmp 0xbe83e
movq %rax, %rbx
movq 0x68(%rsp), %rdi
cmpq %r15, %rdi
je 0xbe879
movq 0x78(%rsp), %rsi
jmp 0xbe86a
jmp 0xbe876
jmp 0xbe876
movq %rax, %rbx
movq 0x48(%rsp), %rdi
leaq 0x58(%rsp), %rax
cmpq %rax, %rdi
je 0xbe879
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x229c0
jmp 0xbe879
jmp 0xbe876
movq %rax, %rbx
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0xbe895
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x229c0
movq (%rsp), %rdi
callq 0x31a0a
movq %rbx, %rdi
callq 0x23240