// File: /workspace/github_cpp_makefile_star2_O1/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 %r15
pushq %r14
pushq %rbx
subq $0x20, %rsp
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x10(%rdi), %r15
movq %r15, (%rdi)
movq $0x0, 0x8(%rdi)
movb $0x0, 0x10(%rdi)
movq 0x8bf3d(%rip), %rdi     # 0x196fc0
leaq 0x4e3e3(%rip), %rsi     # 0x15946d
movl $0x2d, %edx
callq 0x44e0
movq 0x8bf25(%rip), %rdi     # 0x196fc0
leaq 0x4a48c(%rip), %rsi     # 0x15552e
movl $0x1, %edx
callq 0x44e0
movq (%r14), %rsi
movq 0x8(%r14), %rax
subq %rsi, %rax
sarq $0x5, %rax
cmpq $0x2, %rax
je 0x10b0ea
cmpq $0x1, %rax
jne 0x10b2c9
movq 0x8(%rbx), %rdx
leaq 0x48522(%rip), %rcx     # 0x1535f7
movl $0x5, %r8d
movq %rbx, %rdi
xorl %esi, %esi
callq 0x4670
jmp 0x10b2bc
addq $0x20, %rsi
movq %rsp, %rdi
callq 0x711e
leaq 0x484fa(%rip), %rsi     # 0x1535f7
movq %rsp, %rdi
callq 0x4170
testl %eax, %eax
je 0x10b1ad
leaq 0x484f5(%rip), %rsi     # 0x153609
movq %rsp, %rdi
callq 0x4170
testl %eax, %eax
je 0x10b1ad
leaq 0x48495(%rip), %rsi     # 0x1535c0
movq %rsp, %rdi
callq 0x4170
testl %eax, %eax
je 0x10b1ad
leaq 0x4e35d(%rip), %rsi     # 0x15949b
movq %rsp, %rdi
callq 0x4170
testl %eax, %eax
je 0x10b1ad
leaq 0x4e34f(%rip), %rsi     # 0x1594a0
movq %rsp, %rdi
callq 0x4170
testl %eax, %eax
je 0x10b1ad
leaq 0x4e33a(%rip), %rsi     # 0x15949e
movq %rsp, %rdi
callq 0x4170
testl %eax, %eax
je 0x10b1ad
leaq 0x4e20a(%rip), %rsi     # 0x159381
movq %rsp, %rdi
callq 0x4170
testl %eax, %eax
je 0x10b1ad
leaq 0x44eec(%rip), %rsi     # 0x150076
movq %rsp, %rdi
callq 0x4170
testl %eax, %eax
je 0x10b1ad
leaq 0x4e308(%rip), %rsi     # 0x1594a5
movq %rsp, %rdi
callq 0x4170
testl %eax, %eax
jne 0x10b353
movq 0x8be0c(%rip), %rdi     # 0x196fc0
leaq 0x4e2ee(%rip), %rsi     # 0x1594a9
movl $0x20, %edx
callq 0x44e0
movq (%rsp), %rsi
movq 0x8(%rsp), %rdx
movq 0x8bdeb(%rip), %rdi     # 0x196fc0
callq 0x44e0
leaq 0x4a34d(%rip), %rsi     # 0x15552e
movl $0x1, %edx
movq %rax, %rdi
callq 0x44e0
movq %rsp, %rsi
movq %rbx, %rdi
callq 0x4240
leaq 0x4e2a0(%rip), %rsi     # 0x1594a0
movq %rsp, %rdi
callq 0x4170
testl %eax, %eax
je 0x10b21f
leaq 0x4e28b(%rip), %rsi     # 0x15949e
movq %rsp, %rdi
callq 0x4170
testl %eax, %eax
jne 0x10b23a
movq 0x8(%rbx), %rdx
leaq 0x483cd(%rip), %rcx     # 0x1535f7
movl $0x5, %r8d
movq %rbx, %rdi
xorl %esi, %esi
callq 0x4670
leaq 0x44e35(%rip), %rsi     # 0x150076
movq %rsp, %rdi
callq 0x4170
testl %eax, %eax
je 0x10b286
leaq 0x4e12d(%rip), %rsi     # 0x159381
movq %rsp, %rdi
callq 0x4170
testl %eax, %eax
je 0x10b286
leaq 0x4e234(%rip), %rsi     # 0x15949b
movq %rsp, %rdi
callq 0x4170
testl %eax, %eax
je 0x10b286
leaq 0x4e22b(%rip), %rsi     # 0x1594a5
movq %rsp, %rdi
callq 0x4170
testl %eax, %eax
jne 0x10b2a1
movq 0x8(%rbx), %rdx
leaq 0x48378(%rip), %rcx     # 0x153609
movl $0x9, %r8d
movq %rbx, %rdi
xorl %esi, %esi
callq 0x4670
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x10b2bc
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x4470
movq %rbx, %rax
addq $0x20, %rsp
popq %rbx
popq %r14
popq %r15
retq
movq 0x8bd20(%rip), %rdi     # 0x196ff0
leaq 0x4e277(%rip), %rsi     # 0x15954e
movl $0x3b, %edx
callq 0x44e0
movq 0x8(%r14), %rsi
subq (%r14), %rsi
sarq $0x5, %rsi
decq %rsi
movq 0x8bcfa(%rip), %rdi     # 0x196ff0
callq 0x42b0
movq %rax, %r14
leaq 0x4df7c(%rip), %rsi     # 0x159281
movl $0xf, %edx
movq %rax, %rdi
callq 0x44e0
leaq 0x4a215(%rip), %rsi     # 0x15552e
movl $0x1, %edx
movq %r14, %rdi
callq 0x44e0
leaq 0x4b285(%rip), %rsi     # 0x1565b2
movl $0xa, %edx
movq %r14, %rdi
callq 0x44e0
leaq 0x4a1ed(%rip), %rsi     # 0x15552e
movq %r14, %rdi
callq 0x4440
movl $0x1, %edi
callq 0x710c
movq 0x8bc96(%rip), %rdi     # 0x196ff0
leaq 0x4e169(%rip), %rsi     # 0x1594ca
movl $0x1f, %edx
callq 0x44e0
movq (%rsp), %rsi
movq 0x8(%rsp), %rdx
movq 0x8bc75(%rip), %rdi     # 0x196ff0
callq 0x44e0
movq %rax, %r14
leaq 0x4e02b(%rip), %rsi     # 0x1593b5
movl $0x14, %edx
movq %rax, %rdi
callq 0x44e0
leaq 0x4e14c(%rip), %rsi     # 0x1594ea
movl $0x63, %edx
movq %r14, %rdi
callq 0x44e0
leaq 0x4b200(%rip), %rsi     # 0x1565b2
movl $0xa, %edx
movq %r14, %rdi
callq 0x44e0
leaq 0x4a168(%rip), %rsi     # 0x15552e
movq %r14, %rdi
callq 0x4440
jmp 0x10b349
jmp 0x10b3f5
movq %rax, %r14
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x10b3f8
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x4470
jmp 0x10b3f8
movq %rax, %r14
movq (%rbx), %rdi
cmpq %r15, %rdi
je 0x10b40b
movq (%r15), %rsi
incq %rsi
callq 0x4470
movq %r14, %rdi
callq 0x4780
nop