// File: adamiaonr[P]rid-analytics/src/argvparser.cpp
// Function: CommandLineProcessing::ArgvParser::parseErrorDescription[abi:cxx11](int) const
std::string ArgvParser::parseErrorDescription( ParserResults _error_code ) const
{
    string descr;

    switch (_error_code)
    {
    case ArgvParser::NoParserError:
        // no error -> nothing to do
        break;
    case ArgvParser::ParserUnknownOption:
        descr = "Unknown option: '" + errorOption() + "'";
        break;
    case ArgvParser::ParserMissingValue:
        descr = "Missing required value for option: '" + errorOption()+ "'";
        break;
    case ArgvParser::ParserOptionAfterArgument:
        descr = "Misplaced option '" + errorOption() + "' detected. All option have to be BEFORE the first argument";
        break;
    case ArgvParser::ParserMalformedMultipleShortOption:
        descr = "Malformed short-options: '" + errorOption() + "'";
        break;
    case ArgvParser::ArgvParser::ParserRequiredOptionMissing:
        descr = "Required option missing: '" + errorOption() + "'";
        break;
    case ArgvParser::ParserHelpRequested: // help
        descr = usageDescription();
        break;
    default:
        cerr << "ArgvParser::documentParserErrors(): Unknown error code" << endl;
    }

    return(descr);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x1b0, %rsp            # imm = 0x1B0
movq %rdi, -0x1a8(%rbp)
movq %rdi, %rax
movq %rax, -0x1a0(%rbp)
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movl %edx, -0x14(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x198(%rbp)
movb $0x0, -0x15(%rbp)
callq 0x5730
movl -0x14(%rbp), %eax
movq %rax, -0x190(%rbp)
subq $0x32, %rax
ja 0x424c3
movq -0x190(%rbp), %rax
leaq 0x217a7(%rip), %rcx     # 0x63964
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
jmp 0x424f6
movq -0x198(%rbp), %rdi
callq 0x42140
movq %rax, %rdx
leaq 0x21955(%rip), %rsi     # 0x63b36
leaq -0x58(%rbp), %rdi
callq 0x43500
jmp 0x421ec
leaq 0x219fd(%rip), %rdx     # 0x63bf0
leaq -0x38(%rbp), %rdi
leaq -0x58(%rbp), %rsi
callq 0x31d00
jmp 0x42202
movq -0x1a8(%rbp), %rdi
leaq -0x38(%rbp), %rsi
callq 0x5600
leaq -0x38(%rbp), %rdi
callq 0x52f0
leaq -0x58(%rbp), %rdi
callq 0x52f0
jmp 0x424f6
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x60(%rbp)
movl %eax, -0x64(%rbp)
jmp 0x4251c
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x60(%rbp)
movl %eax, -0x64(%rbp)
leaq -0x58(%rbp), %rdi
callq 0x52f0
jmp 0x4251c
movq -0x198(%rbp), %rdi
callq 0x42140
movq %rax, %rdx
leaq 0x218de(%rip), %rsi     # 0x63b48
leaq -0xa8(%rbp), %rdi
callq 0x43500
jmp 0x42278
leaq 0x21971(%rip), %rdx     # 0x63bf0
leaq -0x88(%rbp), %rdi
leaq -0xa8(%rbp), %rsi
callq 0x31d00
jmp 0x42294
movq -0x1a8(%rbp), %rdi
leaq -0x88(%rbp), %rsi
callq 0x5600
leaq -0x88(%rbp), %rdi
callq 0x52f0
leaq -0xa8(%rbp), %rdi
callq 0x52f0
jmp 0x424f6
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x60(%rbp)
movl %eax, -0x64(%rbp)
leaq -0xa8(%rbp), %rdi
callq 0x52f0
jmp 0x4251c
movq -0x198(%rbp), %rdi
callq 0x42140
movq %rax, %rdx
leaq 0x21876(%rip), %rsi     # 0x63b6d
leaq -0xe8(%rbp), %rdi
callq 0x43500
jmp 0x42305
leaq 0x21874(%rip), %rdx     # 0x63b80
leaq -0xc8(%rbp), %rdi
leaq -0xe8(%rbp), %rsi
callq 0x31d00
jmp 0x42321
movq -0x1a8(%rbp), %rdi
leaq -0xc8(%rbp), %rsi
callq 0x5600
leaq -0xc8(%rbp), %rdi
callq 0x52f0
leaq -0xe8(%rbp), %rdi
callq 0x52f0
jmp 0x424f6
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x60(%rbp)
movl %eax, -0x64(%rbp)
leaq -0xe8(%rbp), %rdi
callq 0x52f0
jmp 0x4251c
movq -0x198(%rbp), %rdi
callq 0x42140
movq %rax, %rdx
leaq 0x21838(%rip), %rsi     # 0x63bbc
leaq -0x128(%rbp), %rdi
callq 0x43500
jmp 0x42392
leaq 0x21857(%rip), %rdx     # 0x63bf0
leaq -0x108(%rbp), %rdi
leaq -0x128(%rbp), %rsi
callq 0x31d00
jmp 0x423ae
movq -0x1a8(%rbp), %rdi
leaq -0x108(%rbp), %rsi
callq 0x5600
leaq -0x108(%rbp), %rdi
callq 0x52f0
leaq -0x128(%rbp), %rdi
callq 0x52f0
jmp 0x424f6
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x60(%rbp)
movl %eax, -0x64(%rbp)
leaq -0x128(%rbp), %rdi
callq 0x52f0
jmp 0x4251c
movq -0x198(%rbp), %rdi
callq 0x42140
movq %rax, %rdx
leaq 0x217c6(%rip), %rsi     # 0x63bd7
leaq -0x168(%rbp), %rdi
callq 0x43500
jmp 0x4241f
leaq 0x217ca(%rip), %rdx     # 0x63bf0
leaq -0x148(%rbp), %rdi
leaq -0x168(%rbp), %rsi
callq 0x31d00
jmp 0x4243b
movq -0x1a8(%rbp), %rdi
leaq -0x148(%rbp), %rsi
callq 0x5600
leaq -0x148(%rbp), %rdi
callq 0x52f0
leaq -0x168(%rbp), %rdi
callq 0x52f0
jmp 0x424f6
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x60(%rbp)
movl %eax, -0x64(%rbp)
leaq -0x168(%rbp), %rdi
callq 0x52f0
jmp 0x4251c
movq -0x198(%rbp), %rsi
leaq -0x188(%rbp), %rdi
movl $0x50, %edx
callq 0x411d0
jmp 0x424a2
movq -0x1a8(%rbp), %rdi
leaq -0x188(%rbp), %rsi
callq 0x5600
leaq -0x188(%rbp), %rdi
callq 0x52f0
jmp 0x424f6
movq 0x3fb26(%rip), %rdi     # 0x81ff0
leaq 0x21721(%rip), %rsi     # 0x63bf2
callq 0x5480
movq %rax, -0x1b0(%rbp)
jmp 0x424df
movq -0x1b0(%rbp), %rdi
movq 0x3faa3(%rip), %rsi     # 0x81f90
callq 0x54f0
jmp 0x424f4
jmp 0x424f6
movb $0x1, -0x15(%rbp)
testb $0x1, -0x15(%rbp)
jne 0x4250c
movq -0x1a8(%rbp), %rdi
callq 0x52f0
movq -0x1a0(%rbp), %rax
addq $0x1b0, %rsp            # imm = 0x1B0
popq %rbp
retq
movq -0x1a8(%rbp), %rdi
callq 0x52f0
movq -0x60(%rbp), %rdi
callq 0x5920
nopw %cs:(%rax,%rax)