// File: /workspace/github_cpp_makefile_star2_O3/melop[P]admixem/Individual.cpp
// Function: Individual::fnSetParserPopWide(Parser*, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::pair<double, double>, 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::pair<double, double>>>>&)
bool Individual::fnSetParserPopWide(Parser * pParser,  vector<string> &vSymbols, const string &sPrefix,  map< string , pair< double, double> > &mpSumPhenotypes) { // returns skipped.
	int nCurrGen = SimulConfig.GetCurrGen();
	for(vector<string>::iterator itSymbol=vSymbols.begin();itSymbol!=vSymbols.end();++itSymbol)
				{
					if (nCurrGen == 0) {
						return true; // skipped this rule
					}

					string sSymbol = (*itSymbol).substr(4);
					string sType = (*itSymbol).substr(0, 3); //either Avg or Std

					if (mpSumPhenotypes.find(sSymbol) == mpSumPhenotypes.end()) {
						throw new Exception("Unable to find population symbol");
					}

					if (sType == "Avg") {
						pParser->symbols_[string(sPrefix + "_Avg_"+sSymbol)] = mpSumPhenotypes[sSymbol].first;
					}
					else if (sType == "Std") {
						pParser->symbols_[string(sPrefix + "_Std_"+sSymbol)] = mpSumPhenotypes[sSymbol].second;
					}

	}

	return false;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xa8, %rsp
movq %r8, %rbx
movq %rcx, %r14
movq %rdx, %r15
movq %rsi, %r12
leaq 0x232a0(%rip), %rdi     # 0x48908
callq 0x199ca
movq (%r15), %r13
testl %eax, %eax
sete %cl
movq %r15, 0x80(%rsp)
cmpq 0x8(%r15), %r13
setne %al
sete %dl
orb %cl, %dl
jne 0x25918
leaq 0x8(%rbx), %rax
movq %rax, 0x78(%rsp)
addq $0x68, %r12
movq %r12, 0x50(%rsp)
leaq 0x58(%rsp), %rbp
leaq 0x88(%rsp), %r12
movl $0x4, %edx
movq %rbp, %rdi
movq %r13, %rsi
movq $-0x1, %rcx
callq 0x73c0
movl $0x3, %ecx
movq %r12, %rdi
movq %r13, %rsi
xorl %edx, %edx
callq 0x73c0
movq %rbx, %rdi
movq %rbp, %rsi
callq 0x27446
cmpq 0x78(%rsp), %rax
je 0x2592a
movq %r12, %rdi
leaq 0x107df(%rip), %rsi     # 0x35ed6
callq 0x7100
testl %eax, %eax
je 0x257a2
movq %r12, %rdi
leaq 0x107cc(%rip), %rsi     # 0x35eda
callq 0x7100
testl %eax, %eax
jne 0x258bf
movq %rbx, %rdi
movq %rbp, %rsi
callq 0x26884
movsd 0x8(%rax), %xmm0
movsd %xmm0, 0x48(%rsp)
leaq 0x18(%rsp), %rax
movq %rax, 0x8(%rsp)
movq (%r14), %rsi
movq 0x8(%r14), %rdx
addq %rsi, %rdx
leaq 0x8(%rsp), %r15
movq %r15, %rdi
callq 0xa9b2
movq %r15, %rdi
leaq 0x11231(%rip), %rsi     # 0x3698d
callq 0x76f0
movq 0x58(%rsp), %rsi
movq 0x60(%rsp), %rdx
movq %r15, %rdi
callq 0x7110
leaq 0x38(%rsp), %rsi
movq %rsi, 0x28(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x25850
movq %rdx, 0x28(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x38(%rsp)
jmp 0x25856
movq %rbx, %rdi
movq %rbp, %rsi
callq 0x26884
movsd (%rax), %xmm0
movsd %xmm0, 0x48(%rsp)
leaq 0x18(%rsp), %rax
movq %rax, 0x8(%rsp)
movq (%r14), %rsi
movq 0x8(%r14), %rdx
addq %rsi, %rdx
leaq 0x8(%rsp), %r15
movq %r15, %rdi
callq 0xa9b2
movq %r15, %rdi
leaq 0x111a2(%rip), %rsi     # 0x36984
callq 0x76f0
movq 0x58(%rsp), %rsi
movq 0x60(%rsp), %rdx
movq %r15, %rdi
callq 0x7110
leaq 0x38(%rsp), %rsi
movq %rsi, 0x28(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x25821
movq %rdx, 0x28(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x38(%rsp)
jmp 0x25827
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, 0x30(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x50(%rsp), %rdi
leaq 0x28(%rsp), %rsi
callq 0x1b47a
jmp 0x2587d
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, 0x30(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x50(%rsp), %rdi
leaq 0x28(%rsp), %rsi
callq 0x1b47a
movsd 0x48(%rsp), %xmm0
movsd %xmm0, (%rax)
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x258a3
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x7390
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x258bf
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x7390
movq 0x88(%rsp), %rdi
leaq 0x98(%rsp), %rax
cmpq %rax, %rdi
je 0x258e4
movq 0x98(%rsp), %rsi
incq %rsi
callq 0x7390
movq 0x58(%rsp), %rdi
leaq 0x68(%rsp), %rax
cmpq %rax, %rdi
je 0x25900
movq 0x68(%rsp), %rsi
incq %rsi
callq 0x7390
addq $0x20, %r13
movq 0x80(%rsp), %rax
cmpq 0x8(%rax), %r13
jne 0x256ae
xorl %eax, %eax
addq $0xa8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0x8, %edi
callq 0x7180
movq %rax, %r14
movl $0x1, %edi
callq 0x7380
movq %rax, %r15
leaq 0x1056a(%rip), %rsi     # 0x35eb5
movq %rax, %rdi
callq 0xb5c8
movq %r15, (%r14)
leaq 0x2235b(%rip), %rsi     # 0x47cb8
movq %r14, %rdi
xorl %edx, %edx
callq 0x7660
jmp 0x259a8
jmp 0x259a8
jmp 0x259dd
jmp 0x25985
jmp 0x259dd
movq %rax, %rbx
movl $0x1, %esi
movq %r15, %rdi
callq 0x7390
jmp 0x259cc
jmp 0x259dd
movq %rax, %rbx
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x259ab
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x7390
jmp 0x259ab
jmp 0x259a8
movq %rax, %rbx
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x259e0
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x7390
jmp 0x259e0
movq %rax, %rbx
movq %r14, %rdi
callq 0x72a0
jmp 0x259e0
jmp 0x259dd
movq %rax, %rbx
jmp 0x25a05
movq %rax, %rbx
movq 0x88(%rsp), %rdi
leaq 0x98(%rsp), %rax
cmpq %rax, %rdi
je 0x25a05
movq 0x98(%rsp), %rsi
incq %rsi
callq 0x7390
movq 0x58(%rsp), %rdi
leaq 0x68(%rsp), %rax
cmpq %rax, %rdi
je 0x25a21
movq 0x68(%rsp), %rsi
incq %rsi
callq 0x7390
movq %rbx, %rdi
callq 0x76a0
nop