// File: /workspace/github_cpp_makefile_star2_O2/Luthaf[P]zeopp/arguments.cc
// Function: processVisualizationParameters(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 processVisualizationParameters(vector<string> args){
    string visSetting;
    cout << "Additional files for visualization requested."<< "\n";
    if(args.size() == 1){
        visSetting = "VISIT";
    }
    else if(args.size() == 2){

        string tempSetting = toUpperCase(args[1]);

        if(tempSetting == "VISIT" ||
           tempSetting == "LIVERPOOL" ||
           tempSetting == "ZEOVIS" ||
           tempSetting == "FRAC" ||
           tempSetting == "CART" ||
           tempSetting == "C" ||
           tempSetting == "F" ||
           tempSetting == "L" ||
           tempSetting == "LIV" ) { cout << "Selected visualization setting: " << tempSetting << "\n"; visSetting = tempSetting;}
        else{
            cerr << "Error: -vo (-visual) option of " << tempSetting << " is not recognized.\n"
            << "Available options: VISIT, CART, C (Caart coord.) / FRAC, L, LIV, LIVERPOOL (frac. coord) / ZEOVIS \n"
            << "Exiting..." << "\n";
            exit(1);

        };
    if(tempSetting == "CART" ||tempSetting == "C") visSetting = "VISIT";
    if(tempSetting == "L" ||tempSetting == "F" ||tempSetting == "FRAC" ||tempSetting == "LIV" ) visSetting = "LIVERPOOL";
    }
    else{
        cerr << "Error: -vo (-visual) option accepts at most 1 argument but " << args.size() - 1 << " were provided." << "\n"
        << "Exiting..." << "\n";
        exit(1);
    }

    return visSetting;

}

// 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 0x8d3d9(%rip), %rdi     # 0x14ffc0
leaq 0x4391f(%rip), %rsi     # 0x10650d
callq 0x4480
leaq 0x3f984(%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 0xc2c34
cmpq $0x1, %rax
jne 0xc2dfc
leaq 0x3d9f0(%rip), %rsi     # 0x100617
movq %rbx, %rdi
callq 0x4810
jmp 0xc2df1
addq $0x20, %rsi
leaq 0x8(%rsp), %rdi
callq 0x525e
leaq 0x3d9ce(%rip), %rsi     # 0x100617
leaq 0x8(%rsp), %rdi
callq 0x36bf4
testb %al, %al
jne 0xc2d0f
leaq 0x3d9c7(%rip), %rsi     # 0x100629
leaq 0x8(%rsp), %rdi
callq 0x36bf4
testb %al, %al
jne 0xc2d0f
leaq 0x3d965(%rip), %rsi     # 0x1005e0
leaq 0x8(%rsp), %rdi
callq 0x36bf4
testb %al, %al
jne 0xc2d0f
leaq 0x438a7(%rip), %rsi     # 0x10653b
leaq 0x8(%rsp), %rdi
callq 0x36bf4
testb %al, %al
jne 0xc2d0f
leaq 0x43897(%rip), %rsi     # 0x106540
leaq 0x8(%rsp), %rdi
callq 0x36bf4
testb %al, %al
jne 0xc2d0f
leaq 0x43880(%rip), %rsi     # 0x10653e
leaq 0x8(%rsp), %rdi
callq 0x36bf4
testb %al, %al
jne 0xc2d0f
leaq 0x4374e(%rip), %rsi     # 0x106421
leaq 0x8(%rsp), %rdi
callq 0x36bf4
testb %al, %al
jne 0xc2d0f
leaq 0x3a3fe(%rip), %rsi     # 0xfd0e6
leaq 0x8(%rsp), %rdi
callq 0x36bf4
testb %al, %al
jne 0xc2d0f
leaq 0x43848(%rip), %rsi     # 0x106545
leaq 0x8(%rsp), %rdi
callq 0x36bf4
testb %al, %al
je 0xc2e69
movq 0x8d2aa(%rip), %rdi     # 0x14ffc0
leaq 0x4382c(%rip), %rsi     # 0x106549
callq 0x4480
leaq 0x8(%rsp), %rsi
movq %rax, %rdi
callq 0x43f0
leaq 0x3f848(%rip), %rsi     # 0x10257e
movq %rax, %rdi
callq 0x4480
leaq 0x8(%rsp), %rsi
movq %rbx, %rdi
callq 0x4270
leaq 0x437ee(%rip), %rsi     # 0x106540
leaq 0x8(%rsp), %rdi
callq 0x36bf4
testb %al, %al
jne 0xc2d75
leaq 0x437d7(%rip), %rsi     # 0x10653e
leaq 0x8(%rsp), %rdi
callq 0x36bf4
testb %al, %al
je 0xc2d84
leaq 0x3d89b(%rip), %rsi     # 0x100617
movq %rbx, %rdi
callq 0x4810
leaq 0x3a35b(%rip), %rsi     # 0xfd0e6
leaq 0x8(%rsp), %rdi
callq 0x36bf4
testb %al, %al
jne 0xc2dd8
leaq 0x43681(%rip), %rsi     # 0x106421
leaq 0x8(%rsp), %rdi
callq 0x36bf4
testb %al, %al
jne 0xc2dd8
leaq 0x43786(%rip), %rsi     # 0x10653b
leaq 0x8(%rsp), %rdi
callq 0x36bf4
testb %al, %al
jne 0xc2dd8
leaq 0x4377b(%rip), %rsi     # 0x106545
leaq 0x8(%rsp), %rdi
callq 0x36bf4
testb %al, %al
je 0xc2de7
leaq 0x3d84a(%rip), %rsi     # 0x100629
movq %rbx, %rdi
callq 0x4810
leaq 0x8(%rsp), %rdi
callq 0x4210
movq %rbx, %rax
addq $0x28, %rsp
popq %rbx
popq %r14
retq
movq 0x8d1ed(%rip), %rdi     # 0x14fff0
leaq 0x437e4(%rip), %rsi     # 0x1065ee
callq 0x4480
movq 0x8(%r14), %rsi
subq (%r14), %rsi
sarq $0x5, %rsi
decq %rsi
movq %rax, %rdi
callq 0x42e0
leaq 0x434f5(%rip), %rsi     # 0x106321
movq %rax, %rdi
callq 0x4480
leaq 0x3f743(%rip), %rsi     # 0x10257e
movq %rax, %rdi
callq 0x4480
leaq 0x407d8(%rip), %rsi     # 0x103622
movq %rax, %rdi
callq 0x4480
leaq 0x3f725(%rip), %rsi     # 0x10257e
movq %rax, %rdi
callq 0x4480
pushq $0x1
popq %rdi
callq 0x524c
movq 0x8d180(%rip), %rdi     # 0x14fff0
leaq 0x436f3(%rip), %rsi     # 0x10656a
callq 0x4480
leaq 0x8(%rsp), %rsi
movq %rax, %rdi
callq 0x43f0
leaq 0x435c5(%rip), %rsi     # 0x106455
movq %rax, %rdi
callq 0x4480
leaq 0x436eb(%rip), %rsi     # 0x10658a
movq %rax, %rdi
callq 0x4480
leaq 0x40774(%rip), %rsi     # 0x103622
movq %rax, %rdi
callq 0x4480
leaq 0x3f6c1(%rip), %rsi     # 0x10257e
movq %rax, %rdi
callq 0x4480
jmp 0xc2e61
jmp 0xc2ed8
movq %rax, %r14
leaq 0x8(%rsp), %rdi
callq 0x4210
jmp 0xc2edb
movq %rax, %r14
movq %rbx, %rdi
callq 0x4210
movq %r14, %rdi
callq 0x4780
nop