// File: /workspace/github_cpp_makefile_star2_O2/atfrank[P]PCASA/lib/CASA.cpp
// Function: CASA::loadParmFile(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
void CASA::loadParmFile(const std::string fparmfile)
{
	std::ifstream parmFile;
	std::istream* parminp;
	std::string line, key;
	std::vector<std::string> s;
	double alpha;
	if (fparmfile.length() > 0){
		parmFile.open(fparmfile.c_str(), std::ios::in);
		parminp=&parmFile;
		if (parmFile.is_open()){
			while (parminp->good() && !(parminp->eof()))
			{
				getline(*parminp, line);
				Misc::splitStr(line, " ", s, true);            
				if (s.size() ==  2){
					key = Misc::trim(s.at(0));
					alpha = atof(Misc::trim(s.at(1)).c_str());
					this->sasaCoef.insert(std::pair<std::string,double>(key,alpha));
				}
			}
		}
		else {
			std::cerr << "Error: Unable to open file: " << fparmfile << std::endl;	
			exit(0);		
		}
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x2e8, %rsp            # imm = 0x2E8
movq %rsi, %rbx
movq %rdi, 0x8(%rsp)
leaq 0xe0(%rsp), %rdi
callq 0x4360
leaq 0x68(%rsp), %rax
movq %rax, -0x10(%rax)
andq $0x0, -0x8(%rax)
xorl %ecx, %ecx
movb %cl, (%rax)
leaq 0x48(%rsp), %rax
movq %rax, -0x10(%rax)
andq $0x0, -0x8(%rax)
movb %cl, (%rax)
andq $0x0, 0x20(%rsp)
xorps %xmm0, %xmm0
movaps %xmm0, 0x10(%rsp)
cmpq %rcx, 0x8(%rbx)
je 0xfdeb
movq (%rbx), %rsi
leaq 0xe0(%rsp), %rdi
pushq $0x8
popq %rdx
callq 0x41e0
leaq 0x158(%rsp), %rdi
callq 0x40b0
testb %al, %al
je 0xfe28
addq $0x48, 0x8(%rsp)
leaq 0x1e923(%rip), %r12     # 0x2e5c4
leaq 0x78(%rsp), %r13
leaq 0x7(%rsp), %rbp
leaq 0x10(%rsp), %rbx
movq 0xe0(%rsp), %rax
movq -0x18(%rax), %rax
cmpl $0x0, 0x100(%rsp,%rax)
jne 0xfdeb
leaq 0xe0(%rsp), %rdi
leaq 0x58(%rsp), %rsi
callq 0x4080
movq %r13, %rdi
movq %r12, %rsi
movq %rbp, %rdx
callq 0x58d8
leaq 0x58(%rsp), %rdi
movq %r13, %rsi
movq %rbx, %rdx
pushq $0x1
popq %rcx
callq 0x188fc
movq %r13, %rdi
callq 0x4170
movq 0x18(%rsp), %rax
subq 0x10(%rsp), %rax
cmpq $0x40, %rax
jne 0xfcb0
movq %rbx, %rdi
xorl %esi, %esi
callq 0x5914
movq %rax, %r14
leaq 0xc0(%rsp), %r15
movq %r15, %rdi
movq %r12, %rsi
movq %rbp, %rdx
callq 0x58d8
movq %r13, %rdi
movq %r14, %rsi
movq %r15, %rdx
callq 0x18be4
leaq 0x38(%rsp), %rdi
movq %r13, %rsi
callq 0x4390
movq %r13, %rdi
callq 0x4170
movq %r15, %rdi
callq 0x4170
movq %rbx, %rdi
pushq $0x1
popq %rsi
callq 0x5914
movq %rax, %r14
leaq 0xa0(%rsp), %r15
movq %r15, %rdi
movq %r12, %rsi
movq %rbp, %rdx
callq 0x58d8
movq %r13, %rdi
movq %r14, %rsi
movq %r15, %rdx
callq 0x18be4
movq 0x78(%rsp), %rdi
callq 0x43a0
movsd %xmm0, 0x30(%rsp)
movq %r13, %rdi
callq 0x4170
movq %r15, %rdi
callq 0x4170
movq %r13, %rdi
leaq 0x38(%rsp), %rsi
callq 0x4430
movsd 0x30(%rsp), %xmm0
movsd %xmm0, 0x98(%rsp)
movq 0x8(%rsp), %rdi
movq %r13, %rsi
callq 0x174a0
movq %r13, %rdi
callq 0x4170
jmp 0xfcb0
leaq 0x10(%rsp), %rdi
callq 0x59a0
leaq 0x38(%rsp), %rdi
callq 0x4170
leaq 0x58(%rsp), %rdi
callq 0x4170
leaq 0xe0(%rsp), %rdi
callq 0x40e0
addq $0x2e8, %rsp            # imm = 0x2E8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x3d51c1(%rip), %rdi    # 0x3e4ff0
leaq 0x1e4dc(%rip), %rsi     # 0x2e312
callq 0x4300
movq %rax, %rdi
movq %rbx, %rsi
callq 0x42c0
movq %rax, %rdi
callq 0x4180
xorl %edi, %edi
callq 0x4380
jmp 0xfe7f
jmp 0xfe7f
movq %rax, %rbx
leaq 0xc0(%rsp), %rdi
jmp 0xfe8c
jmp 0xfe7f
jmp 0xfe7f
jmp 0xfe7f
jmp 0xfe7f
movq %rax, %rbx
leaq 0xa0(%rsp), %rdi
jmp 0xfe8c
jmp 0xfe84
jmp 0xfe7f
movq %rax, %rbx
jmp 0xfe91
movq %rax, %rbx
leaq 0x78(%rsp), %rdi
callq 0x4170
leaq 0x10(%rsp), %rdi
callq 0x59a0
leaq 0x38(%rsp), %rdi
callq 0x4170
leaq 0x58(%rsp), %rdi
callq 0x4170
leaq 0xe0(%rsp), %rdi
callq 0x40e0
movq %rbx, %rdi
callq 0x4560