// File: /workspace/github_cpp_makefile_star2_O2/atfrank[P]PCASA/lib/CASA.cpp
// Function: CASA::loadSASAFile(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
void CASA::loadSASAFile(const std::string fsasa){
    std::ifstream sasaFile;
    std::istream* sasainp;
    std::string line;
    std::vector<std::string> s;
    if (fsasa.length() > 0){
        sasaFile.open(fsasa.c_str(), std::ios::in);
        sasainp=&sasaFile;
        while (sasainp->good() && !(sasainp->eof())){
            getline(*sasainp, line);
            Misc::splitStr(line, " ", s, true);
            if (s.size() >= 3){
                this->targetSASA.insert(std::pair<std::string,double>(Misc::trim(s.at(0))+":"+Misc::trim(s.at(1)),atof(Misc::trim(s.at(2)).c_str())));
            }
        }
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x378, %rsp            # imm = 0x378
movq %rsi, %rbx
movq %rdi, 0x8(%rsp)
leaq 0x170(%rsp), %rdi
callq 0x4360
leaq 0x80(%rsp), %rax
movq %rax, -0x10(%rax)
andq $0x0, -0x8(%rax)
movb $0x0, (%rax)
xorps %xmm0, %xmm0
andq $0x0, 0x40(%rsp)
movaps %xmm0, 0x30(%rsp)
xorl %eax, %eax
cmpq %rax, 0x8(%rbx)
je 0xfaf4
movq (%rbx), %rsi
leaq 0x170(%rsp), %rdi
pushq $0x8
popq %rdx
callq 0x41e0
addq $0xa8, 0x8(%rsp)
leaq 0x1ecf9(%rip), %r12     # 0x2e5c4
leaq 0x48(%rsp), %r13
leaq 0x30(%rsp), %r14
movq 0x170(%rsp), %rax
movq -0x18(%rax), %rax
cmpl $0x0, 0x190(%rsp,%rax)
jne 0xfaf4
leaq 0x170(%rsp), %rdi
leaq 0x70(%rsp), %rsi
callq 0x4080
movq %r13, %rdi
movq %r12, %rsi
leaq 0x10(%rsp), %rdx
callq 0x58d8
leaq 0x70(%rsp), %rdi
movq %r13, %rsi
movq %r14, %rdx
pushq $0x1
popq %rcx
callq 0x188fc
movq %r13, %rdi
callq 0x4170
movq 0x38(%rsp), %rax
subq 0x30(%rsp), %rax
cmpq $0x41, %rax
jb 0xf8d5
movq %r14, %rdi
xorl %esi, %esi
callq 0x5914
movq %rax, %rbx
leaq 0x130(%rsp), %r15
movq %r15, %rdi
movq %r12, %rsi
leaq 0x7(%rsp), %rdx
callq 0x58d8
leaq 0x150(%rsp), %rbp
movq %rbp, %rdi
movq %rbx, %rsi
movq %r15, %rdx
callq 0x18be4
leaq 0xb0(%rsp), %rdi
movq %rbp, %rsi
leaq 0x1d8aa(%rip), %rdx     # 0x2d233
callq 0xc871
movq %r14, %rdi
pushq $0x1
popq %rsi
callq 0x5914
movq %rax, %rbx
leaq 0xf0(%rsp), %r15
movq %r15, %rdi
movq %r12, %rsi
leaq 0x6(%rsp), %rdx
callq 0x58d8
leaq 0x110(%rsp), %rbp
movq %rbp, %rdi
movq %rbx, %rsi
movq %r15, %rdx
callq 0x18be4
leaq 0x10(%rsp), %rdi
leaq 0xb0(%rsp), %rsi
movq %rbp, %rdx
callq 0xc890
movq %r14, %rdi
pushq $0x2
popq %rsi
callq 0x5914
movq %rax, %rbx
leaq 0xd0(%rsp), %r15
movq %r15, %rdi
movq %r12, %rsi
leaq 0x5(%rsp), %rdx
callq 0x58d8
leaq 0x90(%rsp), %rdi
movq %rbx, %rsi
movq %r15, %rdx
callq 0x18be4
movq 0x90(%rsp), %rdi
callq 0x43a0
leaq 0x58(%rsp), %rcx
movq %rcx, 0x48(%rsp)
movq 0x10(%rsp), %rax
leaq 0x20(%rsp), %rdx
cmpq %rdx, %rax
je 0xfa4f
movq %rax, 0x48(%rsp)
movq 0x20(%rsp), %rax
movq %rax, 0x58(%rsp)
jmp 0xfa55
movups (%rdx), %xmm1
movups %xmm1, (%rcx)
movq 0x18(%rsp), %rax
movq %rdx, 0x10(%rsp)
andq $0x0, 0x18(%rsp)
movq %rax, 0x50(%rsp)
movb $0x0, 0x20(%rsp)
movsd %xmm0, 0x68(%rsp)
movq 0x8(%rsp), %rdi
movq %r13, %rsi
callq 0x174a0
movq %r13, %rdi
callq 0x4170
leaq 0x90(%rsp), %rdi
callq 0x4170
leaq 0xd0(%rsp), %rdi
callq 0x4170
leaq 0x10(%rsp), %rdi
callq 0x4170
leaq 0x110(%rsp), %rdi
callq 0x4170
leaq 0xf0(%rsp), %rdi
callq 0x4170
leaq 0xb0(%rsp), %rdi
callq 0x4170
leaq 0x150(%rsp), %rdi
callq 0x4170
leaq 0x130(%rsp), %rdi
callq 0x4170
jmp 0xf8d5
leaq 0x30(%rsp), %rdi
callq 0x59a0
leaq 0x70(%rsp), %rdi
callq 0x4170
leaq 0x170(%rsp), %rdi
callq 0x40e0
addq $0x378, %rsp            # imm = 0x378
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0xfbd6
jmp 0xfbd6
movq %rax, %rbx
jmp 0xfbc5
jmp 0xfb51
movq %rax, %rbx
jmp 0xfb9e
jmp 0xfb5b
movq %rax, %rbx
jmp 0xfb7a
jmp 0xfbd6
movq %rax, %rbx
jmp 0xfbb8
movq %rax, %rbx
jmp 0xfbab
movq %rax, %rbx
jmp 0xfb91
movq %rax, %rbx
jmp 0xfb87
movq %rax, %rbx
leaq 0x48(%rsp), %rdi
callq 0x4170
leaq 0x90(%rsp), %rdi
callq 0x4170
leaq 0xd0(%rsp), %rdi
callq 0x4170
leaq 0x10(%rsp), %rdi
callq 0x4170
leaq 0x110(%rsp), %rdi
callq 0x4170
leaq 0xf0(%rsp), %rdi
callq 0x4170
leaq 0xb0(%rsp), %rdi
callq 0x4170
leaq 0x150(%rsp), %rdi
callq 0x4170
leaq 0x130(%rsp), %rdi
callq 0x4170
jmp 0xfbd9
jmp 0xfbd6
movq %rax, %rbx
leaq 0x30(%rsp), %rdi
callq 0x59a0
leaq 0x70(%rsp), %rdi
callq 0x4170
leaq 0x170(%rsp), %rdi
callq 0x40e0
movq %rbx, %rdi
callq 0x4560
movq %rax, %rbx
leaq 0x48(%rsp), %rdi
jmp 0xfbcd