// File: /workspace/github_cpp_makefile_star2_O2/Luthaf[P]zeopp/arguments.cc
// Function: processAccuracyParameters(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>>>>)
string processAccuracyParameters(vector<string> args){
    string accSetting;
    cout << "High accuracy requested (DEF (default) settings). "<< "\n";
    if(args.size() == 1){
        accSetting = "DEF";
    }
    else if(args.size() == 2){
        
        string tempSetting = toUpperCase(args[1]);
        
        if(tempSetting == "OCC" ||
           tempSetting == "FCC" ||
           tempSetting == "ACC" ||
           tempSetting == "AQC" ||
           tempSetting == "DDH" ||
           tempSetting == "TIH" ||
           tempSetting == "ICH" ||
           tempSetting == "ICC" ||
           tempSetting == "RIH" ||
           tempSetting == "S4" ||
           tempSetting == "S10" ||
           tempSetting == "S20" ||
           tempSetting == "S30" ||
           tempSetting == "S40" ||
           tempSetting == "S50" ||
           tempSetting == "S100" ||
           tempSetting == "S500" ||
           tempSetting == "S1000" ||
           tempSetting == "S10000" ||
           tempSetting == "DEF" ||
           tempSetting == "HI" ||
           tempSetting == "MED" ||
           tempSetting == "LOW") { cout << "Selected accuracy setting: " << tempSetting << "\n"; accSetting = tempSetting;}
        else{
            cerr << "Error: -ha option of " << tempSetting << " is not recognized.\n"
            << "Available options: FCC ACC AQC DDH TIH ICH ICC RIH S4 S10 S20 S30 S40 S50 S100 S500 S1000 S10000 HI MED LOW DEF\n"
            << "Exiting..." << "\n";
            exit(1);
            
        };
        
    }
    else{
        cerr << "Error: -ha option accepts at most 1 argument but " << args.size() - 1 << " were provided." << "\n"
        << "Exiting..." << "\n";
        exit(1);
    }
    
    return accSetting;
    
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x28, %rsp
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x10(%rdi), %rax
movq %rax, (%rdi)
andq $0x0, 0x8(%rdi)
movb $0x0, 0x10(%rdi)
movq 0x8d7c3(%rip), %rdi     # 0x14ffc0
leaq 0x43be8(%rip), %rsi     # 0x1063ec
callq 0x4480
leaq 0x3fd6e(%rip), %rsi     # 0x10257e
movq %rax, %rdi
callq 0x4480
movq (%r14), %rsi
movq 0x8(%r14), %rax
subq %rsi, %rax
sarq $0x5, %rax
cmpq $0x2, %rax
je 0xc284a
cmpq $0x1, %rax
jne 0xc2ad4
leaq 0x43be2(%rip), %rsi     # 0x10641f
movq %rbx, %rdi
callq 0x4810
jmp 0xc2ac9
addq $0x20, %rsi
leaq 0x8(%rsp), %rdi
callq 0x525e
leaq 0x42429(%rip), %rsi     # 0x104c88
leaq 0x8(%rsp), %rdi
callq 0x36bf4
testb %al, %al
jne 0xc2a83
leaq 0x42414(%rip), %rsi     # 0x104c8c
leaq 0x8(%rsp), %rdi
callq 0x36bf4
testb %al, %al
jne 0xc2a83
leaq 0x423ff(%rip), %rsi     # 0x104c90
leaq 0x8(%rsp), %rdi
callq 0x36bf4
testb %al, %al
jne 0xc2a83
leaq 0x423ea(%rip), %rsi     # 0x104c94
leaq 0x8(%rsp), %rdi
callq 0x36bf4
testb %al, %al
jne 0xc2a83
leaq 0x423d5(%rip), %rsi     # 0x104c98
leaq 0x8(%rsp), %rdi
callq 0x36bf4
testb %al, %al
jne 0xc2a83
leaq 0x423c0(%rip), %rsi     # 0x104c9c
leaq 0x8(%rsp), %rdi
callq 0x36bf4
testb %al, %al
jne 0xc2a83
leaq 0x423ab(%rip), %rsi     # 0x104ca0
leaq 0x8(%rsp), %rdi
callq 0x36bf4
testb %al, %al
jne 0xc2a83
leaq 0x42396(%rip), %rsi     # 0x104ca4
leaq 0x8(%rsp), %rdi
callq 0x36bf4
testb %al, %al
jne 0xc2a83
leaq 0x42381(%rip), %rsi     # 0x104ca8
leaq 0x8(%rsp), %rdi
callq 0x36bf4
testb %al, %al
jne 0xc2a83
leaq 0x4236c(%rip), %rsi     # 0x104cac
leaq 0x8(%rsp), %rdi
callq 0x36bf4
testb %al, %al
jne 0xc2a83
leaq 0x42356(%rip), %rsi     # 0x104caf
leaq 0x8(%rsp), %rdi
callq 0x36bf4
testb %al, %al
jne 0xc2a83
leaq 0x42341(%rip), %rsi     # 0x104cb3
leaq 0x8(%rsp), %rdi
callq 0x36bf4
testb %al, %al
jne 0xc2a83
leaq 0x4232c(%rip), %rsi     # 0x104cb7
leaq 0x8(%rsp), %rdi
callq 0x36bf4
testb %al, %al
jne 0xc2a83
leaq 0x42317(%rip), %rsi     # 0x104cbb
leaq 0x8(%rsp), %rdi
callq 0x36bf4
testb %al, %al
jne 0xc2a83
leaq 0x42302(%rip), %rsi     # 0x104cbf
leaq 0x8(%rsp), %rdi
callq 0x36bf4
testb %al, %al
jne 0xc2a83
leaq 0x422ed(%rip), %rsi     # 0x104cc3
leaq 0x8(%rsp), %rdi
callq 0x36bf4
testb %al, %al
jne 0xc2a83
leaq 0x422d9(%rip), %rsi     # 0x104cc8
leaq 0x8(%rsp), %rdi
callq 0x36bf4
testb %al, %al
jne 0xc2a83
leaq 0x422c5(%rip), %rsi     # 0x104ccd
leaq 0x8(%rsp), %rdi
callq 0x36bf4
testb %al, %al
jne 0xc2a83
leaq 0x422b6(%rip), %rsi     # 0x104cd3
leaq 0x8(%rsp), %rdi
callq 0x36bf4
testb %al, %al
jne 0xc2a83
leaq 0x439ed(%rip), %rsi     # 0x10641f
leaq 0x8(%rsp), %rdi
callq 0x36bf4
testb %al, %al
jne 0xc2a83
leaq 0x4244e(%rip), %rsi     # 0x104e95
leaq 0x8(%rsp), %rdi
callq 0x36bf4
testb %al, %al
jne 0xc2a83
leaq 0x4243c(%rip), %rsi     # 0x104e98
leaq 0x8(%rsp), %rdi
callq 0x36bf4
testb %al, %al
jne 0xc2a83
leaq 0x4242b(%rip), %rsi     # 0x104e9c
leaq 0x8(%rsp), %rdi
callq 0x36bf4
testb %al, %al
je 0xc2b41
movq 0x8d536(%rip), %rdi     # 0x14ffc0
leaq 0x43992(%rip), %rsi     # 0x106423
callq 0x4480
leaq 0x8(%rsp), %rsi
movq %rax, %rdi
callq 0x43f0
leaq 0x3fad4(%rip), %rsi     # 0x10257e
movq %rax, %rdi
callq 0x4480
leaq 0x8(%rsp), %rsi
movq %rbx, %rdi
callq 0x4270
leaq 0x8(%rsp), %rdi
callq 0x4210
movq %rbx, %rax
addq $0x28, %rsp
popq %rbx
popq %r14
retq
movq 0x8d515(%rip), %rdi     # 0x14fff0
leaq 0x439f9(%rip), %rsi     # 0x1064db
callq 0x4480
movq 0x8(%r14), %rsi
subq (%r14), %rsi
sarq $0x5, %rsi
decq %rsi
movq %rax, %rdi
callq 0x42e0
leaq 0x4381d(%rip), %rsi     # 0x106321
movq %rax, %rdi
callq 0x4480
leaq 0x3fa6b(%rip), %rsi     # 0x10257e
movq %rax, %rdi
callq 0x4480
leaq 0x40b00(%rip), %rsi     # 0x103622
movq %rax, %rdi
callq 0x4480
leaq 0x3fa4d(%rip), %rsi     # 0x10257e
movq %rax, %rdi
callq 0x4480
pushq $0x1
popq %rdi
callq 0x524c
movq 0x8d4a8(%rip), %rdi     # 0x14fff0
leaq 0x438f0(%rip), %rsi     # 0x10643f
callq 0x4480
leaq 0x8(%rsp), %rsi
movq %rax, %rdi
callq 0x43f0
leaq 0x438ed(%rip), %rsi     # 0x106455
movq %rax, %rdi
callq 0x4480
leaq 0x438f3(%rip), %rsi     # 0x10646a
movq %rax, %rdi
callq 0x4480
leaq 0x40a9c(%rip), %rsi     # 0x103622
movq %rax, %rdi
callq 0x4480
leaq 0x3f9e9(%rip), %rsi     # 0x10257e
movq %rax, %rdi
callq 0x4480
jmp 0xc2b39
jmp 0xc2bb0
movq %rax, %r14
leaq 0x8(%rsp), %rdi
callq 0x4210
jmp 0xc2bb3
movq %rax, %r14
movq %rbx, %rdi
callq 0x4210
movq %r14, %rdi
callq 0x4780