// File: /workspace/github_cpp_makefile_star2_O1/richardposner[P]BioNetFit2/src/code/Parser.cpp
// Function: Parser::symbolExpand(std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>>&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&)
void Parser::symbolExpand(map<string, string>& symbols, string& s) {
	bool expanded;
	do {
		expanded = false;
		for (map<string, string>::iterator i = symbols.begin(); i != symbols.end(); ++i) {
			string search = "%" + i->first + "%";
			string replace = i->second;
			size_t pos = s.find(search);
			if (pos != string::npos) {
				expanded = true;
				s.replace(pos, search.length(), replace);
			}
		}
	} while (expanded);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
leaq 0x8(%rsi), %rax
movq %rsi, 0x50(%rsp)
movq 0x18(%rsi), %r15
movq %rax, 0x48(%rsp)
cmpq %rax, %r15
je 0x53216
movq %rdx, %rbx
leaq 0x38(%rsp), %r14
xorl %r12d, %r12d
leaq 0x28(%rsp), %r13
leaq 0x20(%r15), %rdx
movq %r13, %rdi
leaq 0xa51c4(%rip), %rbp     # 0xf82b5
movq %rbp, %rsi
callq 0x319d8
movq %r13, %rdi
movq %rbp, %rsi
callq 0x233b0
leaq 0x18(%rsp), %rsi
movq %rsi, 0x8(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x5312c
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
jmp 0x53132
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, 0x10(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x28(%rsp), %rdi
cmpq %r14, %rdi
je 0x53161
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x229c0
movq %r14, 0x28(%rsp)
movq 0x40(%r15), %rsi
movq 0x48(%r15), %rdx
addq %rsi, %rdx
movq %r13, %rdi
callq 0x32180
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rcx
movq %rbx, %rdi
xorl %edx, %edx
callq 0x231f0
cmpq $-0x1, %rax
je 0x531b0
movq 0x10(%rsp), %rdx
movb $0x1, %r12b
movq 0x28(%rsp), %rcx
movq 0x30(%rsp), %r8
movq %rbx, %rdi
movq %rax, %rsi
callq 0x22a80
movq 0x28(%rsp), %rdi
cmpq %r14, %rdi
je 0x531c7
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x229c0
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x531e3
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x229c0
movq %r15, %rdi
callq 0x22670
movq %rax, %r15
cmpq 0x48(%rsp), %rax
jne 0x530e3
testb $0x1, %r12b
je 0x53216
movq 0x50(%rsp), %rax
movq 0x18(%rax), %r15
xorl %r12d, %r12d
cmpq 0x48(%rsp), %r15
jne 0x530e3
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq 0x28(%rsp), %rdi
cmpq %r14, %rdi
je 0x53244
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x229c0
jmp 0x53244
movq %rax, %rbx
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x53274
movq 0x18(%rsp), %rsi
jmp 0x5326c
movq %rax, %rbx
movq 0x28(%rsp), %rdi
cmpq %r14, %rdi
je 0x53274
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x229c0
movq %rbx, %rdi
callq 0x23240