// File: 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:
subq $0x458, %rsp            # imm = 0x458
movq %rsi, 0x68(%rsp)
movq %rdi, 0x450(%rsp)
movq %rsi, 0x448(%rsp)
movq 0x450(%rsp), %rax
movq %rax, 0x60(%rsp)
leaq 0x240(%rsp), %rdi
callq 0x54c0
leaq 0x218(%rsp), %rdi
callq 0x5600
leaq 0x200(%rsp), %rdi
callq 0x77e0
movq 0x68(%rsp), %rdi
callq 0x5630
cmpq $0x0, %rax
jbe 0x23144
movq 0x68(%rsp), %rdi
callq 0x51a0
movq %rax, %rsi
leaq 0x240(%rsp), %rdi
movl $0x8, %edx
callq 0x5260
jmp 0x22b95
leaq 0x240(%rsp), %rax
movq %rax, 0x238(%rsp)
movq 0x238(%rsp), %rdi
movq (%rdi), %rax
movq -0x18(%rax), %rax
addq %rax, %rdi
callq 0x56e0
movb %al, 0x5f(%rsp)
jmp 0x22bc2
movb 0x5f(%rsp), %cl
xorl %eax, %eax
testb $0x1, %cl
movb %al, 0x5e(%rsp)
jne 0x22bd3
jmp 0x22bfa
movq 0x238(%rsp), %rdi
movq (%rdi), %rax
movq -0x18(%rax), %rax
addq %rax, %rdi
callq 0x5760
movb %al, 0x5d(%rsp)
jmp 0x22bf0
movb 0x5d(%rsp), %al
xorb $-0x1, %al
movb %al, 0x5e(%rsp)
movb 0x5e(%rsp), %al
testb $0x1, %al
jne 0x22c07
jmp 0x23142
movq 0x238(%rsp), %rdi
leaq 0x218(%rsp), %rsi
callq 0x50c0
jmp 0x22c1e
leaq 0x1cf(%rsp), %rdi
movq %rdi, 0x50(%rsp)
callq 0x5730
movq 0x50(%rsp), %rdx
leaq 0x5995c(%rip), %rsi     # 0x7c598
leaq 0x1d0(%rsp), %rdi
callq 0x7900
jmp 0x22c4b
leaq 0x218(%rsp), %rdi
leaq 0x1d0(%rsp), %rsi
leaq 0x200(%rsp), %rdx
movl $0x1, %ecx
callq 0x3d840
jmp 0x22c6f
leaq 0x1d0(%rsp), %rdi
callq 0x5250
leaq 0x1cf(%rsp), %rdi
callq 0x5480
leaq 0x200(%rsp), %rdi
callq 0x78e0
cmpq $0x3, %rax
jb 0x2313d
movq 0x60(%rsp), %rax
addq $0xa8, %rax
movq %rax, 0x40(%rsp)
xorl %eax, %eax
movl %eax, %esi
leaq 0x200(%rsp), %rdi
callq 0x79c0
movq %rax, 0x48(%rsp)
jmp 0x22cc8
leaq 0x11f(%rsp), %rdi
movq %rdi, 0x38(%rsp)
callq 0x5730
movq 0x38(%rsp), %rdx
leaq 0x598b2(%rip), %rsi     # 0x7c598
leaq 0x120(%rsp), %rdi
callq 0x7900
jmp 0x22cf5
movq 0x48(%rsp), %rsi
leaq 0x140(%rsp), %rdi
leaq 0x120(%rsp), %rdx
callq 0x3dee0
jmp 0x22d11
leaq 0x5850f(%rip), %rdx     # 0x7b227
leaq 0x160(%rsp), %rdi
leaq 0x140(%rsp), %rsi
callq 0x16d40
jmp 0x22d2f
leaq 0x200(%rsp), %rdi
movl $0x1, %esi
callq 0x79c0
movq %rax, 0x30(%rsp)
jmp 0x22d48
leaq 0xd7(%rsp), %rdi
movq %rdi, 0x28(%rsp)
callq 0x5730
movq 0x28(%rsp), %rdx
leaq 0x59832(%rip), %rsi     # 0x7c598
leaq 0xd8(%rsp), %rdi
callq 0x7900
jmp 0x22d75
movq 0x30(%rsp), %rsi
leaq 0xf8(%rsp), %rdi
leaq 0xd8(%rsp), %rdx
callq 0x3dee0
jmp 0x22d91
leaq 0x180(%rsp), %rdi
leaq 0x160(%rsp), %rsi
leaq 0xf8(%rsp), %rdx
callq 0x16d90
jmp 0x22db0
leaq 0x200(%rsp), %rdi
movl $0x2, %esi
callq 0x79c0
movq %rax, 0x20(%rsp)
jmp 0x22dc9
leaq 0x87(%rsp), %rdi
movq %rdi, 0x18(%rsp)
callq 0x5730
movq 0x18(%rsp), %rdx
leaq 0x597b1(%rip), %rsi     # 0x7c598
leaq 0x88(%rsp), %rdi
callq 0x7900
jmp 0x22df6
movq 0x20(%rsp), %rsi
leaq 0xa8(%rsp), %rdi
leaq 0x88(%rsp), %rdx
callq 0x3dee0
jmp 0x22e12
leaq 0xa8(%rsp), %rdi
callq 0x51a0
movq %rax, %rdi
callq 0x5530
movsd %xmm0, 0xc8(%rsp)
leaq 0x1a0(%rsp), %rdi
leaq 0x180(%rsp), %rsi
leaq 0xc8(%rsp), %rdx
callq 0x38b00
jmp 0x22e4f
movq 0x40(%rsp), %rdi
leaq 0x1a0(%rsp), %rsi
callq 0x386b0
movb %dl, 0xf(%rsp)
movq %rax, 0x10(%rsp)
jmp 0x22e6c
movb 0xf(%rsp), %al
movq 0x10(%rsp), %rcx
movq %rcx, 0x70(%rsp)
movb %al, 0x78(%rsp)
leaq 0x1a0(%rsp), %rdi
callq 0x38790
leaq 0xa8(%rsp), %rdi
callq 0x5250
leaq 0x88(%rsp), %rdi
callq 0x5250
leaq 0x87(%rsp), %rdi
callq 0x5480
leaq 0x180(%rsp), %rdi
callq 0x5250
leaq 0xf8(%rsp), %rdi
callq 0x5250
leaq 0xd8(%rsp), %rdi
callq 0x5250
leaq 0xd7(%rsp), %rdi
callq 0x5480
leaq 0x160(%rsp), %rdi
callq 0x5250
leaq 0x140(%rsp), %rdi
callq 0x5250
leaq 0x120(%rsp), %rdi
callq 0x5250
leaq 0x11f(%rsp), %rdi
callq 0x5480
jmp 0x2313d
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x1f8(%rsp)
movl %eax, 0x1f4(%rsp)
jmp 0x23173
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x1f8(%rsp)
movl %eax, 0x1f4(%rsp)
jmp 0x22f6f
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x1f8(%rsp)
movl %eax, 0x1f4(%rsp)
leaq 0x1d0(%rsp), %rdi
callq 0x5250
leaq 0x1cf(%rsp), %rdi
callq 0x5480
jmp 0x23173
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x1f8(%rsp)
movl %eax, 0x1f4(%rsp)
jmp 0x2312e
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x1f8(%rsp)
movl %eax, 0x1f4(%rsp)
jmp 0x23121
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x1f8(%rsp)
movl %eax, 0x1f4(%rsp)
jmp 0x23114
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x1f8(%rsp)
movl %eax, 0x1f4(%rsp)
jmp 0x23107
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x1f8(%rsp)
movl %eax, 0x1f4(%rsp)
jmp 0x230fa
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x1f8(%rsp)
movl %eax, 0x1f4(%rsp)
jmp 0x230ed
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x1f8(%rsp)
movl %eax, 0x1f4(%rsp)
jmp 0x230e0
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x1f8(%rsp)
movl %eax, 0x1f4(%rsp)
jmp 0x230d3
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x1f8(%rsp)
movl %eax, 0x1f4(%rsp)
jmp 0x230c6
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x1f8(%rsp)
movl %eax, 0x1f4(%rsp)
jmp 0x230b9
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x1f8(%rsp)
movl %eax, 0x1f4(%rsp)
jmp 0x230ac
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x1f8(%rsp)
movl %eax, 0x1f4(%rsp)
leaq 0x1a0(%rsp), %rdi
callq 0x38790
leaq 0xa8(%rsp), %rdi
callq 0x5250
leaq 0x88(%rsp), %rdi
callq 0x5250
leaq 0x87(%rsp), %rdi
callq 0x5480
leaq 0x180(%rsp), %rdi
callq 0x5250
leaq 0xf8(%rsp), %rdi
callq 0x5250
leaq 0xd8(%rsp), %rdi
callq 0x5250
leaq 0xd7(%rsp), %rdi
callq 0x5480
leaq 0x160(%rsp), %rdi
callq 0x5250
leaq 0x140(%rsp), %rdi
callq 0x5250
leaq 0x120(%rsp), %rdi
callq 0x5250
leaq 0x11f(%rsp), %rdi
callq 0x5480
jmp 0x23173
jmp 0x22ba5
jmp 0x23144
leaq 0x200(%rsp), %rdi
callq 0x7ab0
leaq 0x218(%rsp), %rdi
callq 0x5250
leaq 0x240(%rsp), %rdi
callq 0x5120
addq $0x458, %rsp            # imm = 0x458
retq
leaq 0x200(%rsp), %rdi
callq 0x7ab0
leaq 0x218(%rsp), %rdi
callq 0x5250
leaq 0x240(%rsp), %rdi
callq 0x5120
movq 0x1f8(%rsp), %rdi
callq 0x5720
nopw (%rax,%rax)