// File: 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
movq %rsp, %rbp
subq $0x1a0, %rsp            # imm = 0x1A0
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
movq %rcx, -0x28(%rbp)
movq %r8, -0x30(%rbp)
leaq 0x50852(%rip), %rdi     # 0xaaa58
callq 0x282f0
movl %eax, -0x34(%rbp)
movq -0x20(%rbp), %rdi
callq 0x3f3c0
movq %rax, -0x40(%rbp)
movq -0x20(%rbp), %rdi
callq 0x3f240
movq %rax, -0x48(%rbp)
leaq -0x40(%rbp), %rdi
leaq -0x48(%rbp), %rsi
callq 0x46260
testb $0x1, %al
jne 0x5a23e
jmp 0x5a63d
cmpl $0x0, -0x34(%rbp)
jne 0x5a24d
movb $0x1, -0x1(%rbp)
jmp 0x5a641
leaq -0x40(%rbp), %rdi
movq %rdi, -0x130(%rbp)
callq 0x462a0
movq %rax, %rsi
leaq -0x68(%rbp), %rdi
movl $0x4, %edx
movq $-0x1, %rcx
callq 0x8500
movq -0x130(%rbp), %rdi
callq 0x462a0
movq %rax, %rsi
xorl %eax, %eax
movl %eax, %edx
leaq -0x88(%rbp), %rdi
movl $0x3, %ecx
callq 0x8500
jmp 0x5a29b
movq -0x30(%rbp), %rdi
leaq -0x68(%rbp), %rsi
callq 0x5c190
movq %rax, -0x138(%rbp)
jmp 0x5a2b1
movq -0x138(%rbp), %rax
movq %rax, -0xa0(%rbp)
movq -0x30(%rbp), %rdi
callq 0x5c1c0
movq %rax, -0xa8(%rbp)
leaq -0xa0(%rbp), %rdi
leaq -0xa8(%rbp), %rsi
callq 0x5c160
testb $0x1, %al
jne 0x5a2eb
jmp 0x5a3c0
movl $0x8, %edi
callq 0x8230
movq %rax, -0x148(%rbp)
movl $0x1, %edi
callq 0x84c0
movq %rax, -0x140(%rbp)
jmp 0x5a30f
movq -0x140(%rbp), %rdi
leaq 0x1ddb8(%rip), %rsi     # 0x780d5
callq 0x129a0
jmp 0x5a324
movq -0x148(%rbp), %rdi
movq -0x140(%rbp), %rax
movq %rax, (%rdi)
leaq 0x4f98c(%rip), %rsi     # 0xa9cc8
xorl %eax, %eax
movl %eax, %edx
callq 0x8820
jmp 0x5a65b
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x90(%rbp)
movl %eax, -0x94(%rbp)
jmp 0x5a632
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x90(%rbp)
movl %eax, -0x94(%rbp)
jmp 0x5a626
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x90(%rbp)
movl %eax, -0x94(%rbp)
jmp 0x5a3af
movq -0x140(%rbp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x90(%rbp)
movl %eax, -0x94(%rbp)
movl $0x1, %esi
callq 0x84d0
movq -0x148(%rbp), %rdi
callq 0x8370
jmp 0x5a626
leaq 0x1dd2f(%rip), %rsi     # 0x780f6
leaq -0x88(%rbp), %rdi
callq 0xcbe0
movb %al, -0x149(%rbp)
jmp 0x5a3db
movb -0x149(%rbp), %al
testb $0x1, %al
jne 0x5a3ea
jmp 0x5a4e3
movq -0x30(%rbp), %rdi
leaq -0x68(%rbp), %rsi
callq 0x5c1f0
movq %rax, -0x158(%rbp)
jmp 0x5a400
movq -0x158(%rbp), %rax
movsd (%rax), %xmm0
movsd %xmm0, -0x168(%rbp)
movq -0x18(%rbp), %rax
addq $0x68, %rax
movq %rax, -0x160(%rbp)
movq -0x28(%rbp), %rsi
leaq 0x1e7cf(%rip), %rdx     # 0x78bfc
leaq -0xe8(%rbp), %rdi
callq 0x5bbc0
jmp 0x5a43b
leaq -0xc8(%rbp), %rdi
leaq -0xe8(%rbp), %rsi
leaq -0x68(%rbp), %rdx
callq 0x5c2d0
jmp 0x5a454
movq -0x160(%rbp), %rdi
leaq -0xc8(%rbp), %rsi
callq 0x31840
movq %rax, -0x170(%rbp)
jmp 0x5a470
movq -0x170(%rbp), %rax
movsd -0x168(%rbp), %xmm0
movsd %xmm0, (%rax)
leaq -0xc8(%rbp), %rdi
callq 0x82e0
leaq -0xe8(%rbp), %rdi
callq 0x82e0
jmp 0x5a603
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x90(%rbp)
movl %eax, -0x94(%rbp)
jmp 0x5a4d2
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x90(%rbp)
movl %eax, -0x94(%rbp)
leaq -0xc8(%rbp), %rdi
callq 0x82e0
leaq -0xe8(%rbp), %rdi
callq 0x82e0
jmp 0x5a626
leaq 0x1dc10(%rip), %rsi     # 0x780fa
leaq -0x88(%rbp), %rdi
callq 0xcbe0
movb %al, -0x171(%rbp)
jmp 0x5a4fe
movb -0x171(%rbp), %al
testb $0x1, %al
jne 0x5a50d
jmp 0x5a601
movq -0x30(%rbp), %rdi
leaq -0x68(%rbp), %rsi
callq 0x5c1f0
movq %rax, -0x180(%rbp)
jmp 0x5a523
movq -0x180(%rbp), %rax
movsd 0x8(%rax), %xmm0
movsd %xmm0, -0x190(%rbp)
movq -0x18(%rbp), %rax
addq $0x68, %rax
movq %rax, -0x188(%rbp)
movq -0x28(%rbp), %rsi
leaq 0x1e6b4(%rip), %rdx     # 0x78c05
leaq -0x128(%rbp), %rdi
callq 0x5bbc0
jmp 0x5a55f
leaq -0x108(%rbp), %rdi
leaq -0x128(%rbp), %rsi
leaq -0x68(%rbp), %rdx
callq 0x5c2d0
jmp 0x5a578
movq -0x188(%rbp), %rdi
leaq -0x108(%rbp), %rsi
callq 0x31840
movq %rax, -0x198(%rbp)
jmp 0x5a594
movq -0x198(%rbp), %rax
movsd -0x190(%rbp), %xmm0
movsd %xmm0, (%rax)
leaq -0x108(%rbp), %rdi
callq 0x82e0
leaq -0x128(%rbp), %rdi
callq 0x82e0
jmp 0x5a601
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x90(%rbp)
movl %eax, -0x94(%rbp)
jmp 0x5a5f3
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x90(%rbp)
movl %eax, -0x94(%rbp)
leaq -0x108(%rbp), %rdi
callq 0x82e0
leaq -0x128(%rbp), %rdi
callq 0x82e0
jmp 0x5a626
jmp 0x5a603
leaq -0x88(%rbp), %rdi
callq 0x82e0
leaq -0x68(%rbp), %rdi
callq 0x82e0
leaq -0x40(%rbp), %rdi
callq 0x462c0
jmp 0x5a21b
leaq -0x88(%rbp), %rdi
callq 0x82e0
leaq -0x68(%rbp), %rdi
callq 0x82e0
jmp 0x5a64f
movb $0x0, -0x1(%rbp)
movb -0x1(%rbp), %al
andb $0x1, %al
addq $0x1a0, %rsp            # imm = 0x1A0
popq %rbp
retq
movq -0x90(%rbp), %rdi
callq 0x8860
nopl (%rax,%rax)