// File: /workspace/github_cpp_makefile_star2_O1/MPSLab-ASU[P]DiRAC/./src/../argparse/argparse.hpp
// Function: ArgumentParser::parse(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>>>> const&)
void parse(const StringVector& argv) {
        // check if the app is named
        if (app_name_.empty() && ignore_first_ && !argv.empty()) app_name_ = argv[0];

        // set up the working set
        Argument active;
        Argument final = final_name_.empty() ? Argument() : arguments_[index_[final_name_]];
        size_t consumed = 0;
        size_t nrequired = final.optional ? required_ : required_ - 1;
        size_t nfinal = final.optional ? 0 : (final.fixed ? final.fixed_nargs
                                                          : (final.variable_nargs == '+' ? 1 : 0));

        // iterate over each element of the array
        for (StringVector::const_iterator in = argv.begin() + ignore_first_;
             in < argv.end() - nfinal; ++in) {
            String active_name = active.canonicalName();
            String el = *in;
            //  check if the element is a key
            if (index_.count(el) == 0) {
                // input
                // is the current active argument expecting more inputs?
                if (active.fixed && active.fixed_nargs <= consumed)
                    argumentError(String("attempt to pass too many inputs to ").append(active_name),
                                  true);
                if (active.fixed && active.fixed_nargs == 1) {
                    variables_[index_[active_name]].castTo<String>() = el;
                } else {
                    variables_[index_[active_name]].castTo<StringVector>().push_back(el);
                }
                consumed++;
            } else {
                // new key!
                // has the active argument consumed enough elements?
                if ((active.fixed && active.fixed_nargs != consumed) ||
                    (!active.fixed && active.variable_nargs == '+' && consumed < 1))
                    argumentError(String("encountered argument ")
                                      .append(el)
                                      .append(" when expecting more inputs to ")
                                      .append(active_name),
                                  true);
                active = arguments_[index_[el]];
                // check if we've satisfied the required arguments
                if (active.optional && nrequired > 0)
                    argumentError(String("encountered optional argument ")
                                      .append(el)
                                      .append(" when expecting more required arguments"),
                                  true);
                // are there enough arguments for the new argument to consume?
                if ((active.fixed && active.fixed_nargs > (argv.end() - in - nfinal - 1)) ||
                    (!active.fixed && active.variable_nargs == '+' &&
                     !(argv.end() - in - nfinal - 1)))
                    argumentError(String("too few inputs passed to argument ").append(el), true);
                if (!active.optional) nrequired--;
                consumed = 0;
            }
        }

        for (StringVector::const_iterator in =
                 std::max(argv.begin() + ignore_first_, argv.end() - nfinal);
             in != argv.end(); ++in) {
            String el = *in;
            // check if we accidentally find an argument specifier
            if (index_.count(el))
                argumentError(String("encountered argument specifier ")
                                  .append(el)
                                  .append(" while parsing final required inputs"),
                              true);
            if (final.fixed && final.fixed_nargs == 1) {
                variables_[index_[final_name_]].castTo<String>() = el;
            } else {
                variables_[index_[final_name_]].castTo<StringVector>().push_back(el);
            }
            nfinal--;
        }

        // check that all of the required arguments have been encountered
        if (nrequired > 0 || nfinal > 0)
            argumentError(String("too few required arguments passed to ").append(app_name_), true);
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x148, %rsp            # imm = 0x148
movq %rsi, 0x48(%rsp)
movq %rdi, %rbx
cmpq $0x0, 0x50(%rdi)
jne 0x414a19
cmpb $0x1, 0x38(%rbx)
jne 0x414a19
movq 0x48(%rsp), %rax
movq (%rax), %rsi
cmpq 0x8(%rax), %rsi
je 0x414a19
leaq 0x48(%rbx), %rdi
callq 0x4946b0
leaq 0x80(%rsp), %rdi
callq 0x41530c
leaq 0x68(%rbx), %rbp
cmpq $0x0, 0x70(%rbx)
je 0x414aae
movq %rbx, %rdi
movq %rbp, %rsi
callq 0x414084
movq 0x88(%rbx), %r15
imulq $0x58, (%rax), %r13
leaq 0x100(%rsp), %r12
movq %r12, -0x10(%r12)
movq (%r15,%r13), %rsi
movq 0x8(%r15,%r13), %rdx
addq %rsi, %rdx
leaq 0xf0(%rsp), %rdi
callq 0x40e204
addq %r13, %r15
leaq 0x110(%rsp), %rdi
leaq 0x120(%rsp), %rax
movq %rax, -0x10(%rax)
movq 0x20(%r15), %rsi
movq 0x28(%r15), %rdx
addq %rsi, %rdx
callq 0x40e204
movb 0x50(%r15), %al
movb %al, 0x140(%rsp)
movups 0x40(%r15), %xmm0
movups %xmm0, 0x130(%rsp)
jmp 0x414abb
leaq 0xf0(%rsp), %rdi
callq 0x41530c
movzbl 0x130(%rsp), %ecx
movq 0x40(%rbx), %rdx
movq %rcx, %rax
xorq $0x1, %rax
testq %rcx, %rcx
movq %rbp, 0x78(%rsp)
je 0x414add
xorl %r13d, %r13d
jmp 0x414b00
cmpb $0x1, 0x140(%rsp)
jne 0x414af1
movq 0x138(%rsp), %r13
jmp 0x414b00
xorl %r13d, %r13d
cmpb $0x2b, 0x138(%rsp)
sete %r13b
subq %rax, %rdx
movq %rdx, 0x70(%rsp)
movq 0x48(%rsp), %rax
movq (%rax), %r12
movq 0x8(%rax), %rax
movzbl 0x38(%rbx), %ecx
movl %ecx, %ebp
shll $0x5, %ebp
addq %r12, %rbp
movq %r13, %rdx
shlq $0x5, %rdx
subq %rdx, %rax
cmpq %rax, %rbp
jae 0x414f95
movq %r13, %rax
negq %rax
movq %r13, %rdx
notq %rdx
movq %rdx, 0xe0(%rsp)
leaq 0x1(%r13), %rdx
movq %rdx, 0xd8(%rsp)
shll $0x5, %ecx
addq %rcx, %r12
negq %r12
xorl %r15d, %r15d
shlq $0x5, %rax
movq %rax, 0xe8(%rsp)
xorl %eax, %eax
cmpq $0x0, 0xa8(%rsp)
setne %al
leaq 0x38(%rsp), %rcx
movq %rcx, 0x28(%rsp)
leaq 0xa0(%rsp), %rcx
leaq 0x80(%rsp), %rdx
cmoveq %rdx, %rcx
movq (%rcx), %rsi
shll $0x5, %eax
movq 0x88(%rsp,%rax), %rdx
addq %rsi, %rdx
leaq 0x28(%rsp), %rdi
callq 0x40e204
leaq 0x60(%rsp), %rax
movq %rax, 0x50(%rsp)
movq (%rbp), %rsi
movq 0x8(%rbp), %rdx
addq %rsi, %rdx
leaq 0x50(%rsp), %r14
movq %r14, %rdi
callq 0x40e204
movq %rbx, %rdi
movq %r14, %rsi
callq 0x415404
testq %rax, %rax
je 0x414e50
movb 0xd0(%rsp), %al
cmpb $0x1, %al
jne 0x414bfd
cmpq %r15, 0xc8(%rsp)
jne 0x414c1d
notb %al
cmpb $0x2b, 0xc8(%rsp)
sete %cl
testq %r15, %r15
sete %dl
andb %al, %dl
andb %cl, %dl
cmpb $0x1, %dl
jne 0x414ca1
leaq 0x18(%rsp), %rax
movq %rax, 0x8(%rsp)
leaq 0x8(%rsp), %r14
movq %r14, %rdi
leaq 0x181739(%rip), %rsi    # 0x59636f
leaq 0x181747(%rip), %rdx    # 0x596384
callq 0x40e294
movq 0x50(%rsp), %rsi
movq 0x58(%rsp), %rdx
movq %r14, %rdi
callq 0x4960f0
movq %rax, %rdi
leaq 0x181727(%rip), %rsi    # 0x596385
callq 0x496230
movq 0x28(%rsp), %rsi
movq 0x30(%rsp), %rdx
movq %rax, %rdi
callq 0x4960f0
movq %rbx, %rdi
movq %rax, %rsi
movl $0x1, %edx
callq 0x4135bc
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x414ca1
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x416ca0
movq %rbx, %rdi
leaq 0x50(%rsp), %rsi
callq 0x414084
imulq $0x58, (%rax), %r15
addq 0x88(%rbx), %r15
leaq 0x80(%rsp), %rdi
movq %r15, %rsi
callq 0x4946b0
leaq 0x20(%r15), %rsi
leaq 0xa0(%rsp), %rdi
callq 0x4946b0
movb 0x50(%r15), %al
leaq 0xa0(%rsp), %rcx
movb %al, 0x30(%rcx)
movups 0x40(%r15), %xmm0
movups %xmm0, 0x20(%rcx)
cmpb $0x1, 0xc0(%rsp)
movq 0x70(%rsp), %r15
jne 0x414d78
testq %r15, %r15
je 0x414d78
leaq 0x18(%rsp), %rax
movq %rax, 0x8(%rsp)
leaq 0x8(%rsp), %r14
movq %r14, %rdi
leaq 0x181686(%rip), %rsi    # 0x5963a5
leaq 0x18169d(%rip), %rdx    # 0x5963c3
callq 0x40e294
movq 0x50(%rsp), %rsi
movq 0x58(%rsp), %rdx
movq %r14, %rdi
callq 0x4960f0
movq %rax, %rdi
leaq 0x18167d(%rip), %rsi    # 0x5963c4
callq 0x496230
movq %rbx, %rdi
movq %rax, %rsi
movl $0x1, %edx
callq 0x4135bc
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x414d78
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x416ca0
movb 0xd0(%rsp), %al
cmpb $0x1, %al
jne 0x414da5
movq 0x48(%rsp), %rcx
movq 0x8(%rcx), %rcx
addq %r12, %rcx
sarq $0x5, %rcx
addq 0xe0(%rsp), %rcx
cmpq %rcx, 0xc8(%rsp)
ja 0x414dd1
testb %al, %al
jne 0x414e34
cmpb $0x2b, 0xc8(%rsp)
jne 0x414e34
movq 0x48(%rsp), %rax
movq 0x8(%rax), %rax
addq %r12, %rax
sarq $0x5, %rax
cmpq 0xd8(%rsp), %rax
jne 0x414e34
leaq 0x18(%rsp), %rax
movq %rax, 0x8(%rsp)
leaq 0x8(%rsp), %r14
movq %r14, %rdi
leaq 0x181602(%rip), %rsi    # 0x5963ec
leaq 0x18161d(%rip), %rdx    # 0x59640e
callq 0x40e294
movq 0x50(%rsp), %rsi
movq 0x58(%rsp), %rdx
movq %r14, %rdi
callq 0x4960f0
movq %rbx, %rdi
movq %rax, %rsi
movl $0x1, %edx
callq 0x4135bc
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x414e34
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x416ca0
movzbl 0xc0(%rsp), %eax
xorq $0x1, %rax
subq %rax, %r15
movq %r15, 0x70(%rsp)
xorl %r15d, %r15d
jmp 0x414f3b
cmpb $0x1, 0xd0(%rsp)
jne 0x414ec7
cmpq %r15, 0xc8(%rsp)
ja 0x414ec7
leaq 0x18(%rsp), %rax
movq %rax, 0x8(%rsp)
leaq 0x8(%rsp), %r14
movq %r14, %rdi
leaq 0x1814ce(%rip), %rsi    # 0x59634b
leaq 0x1814ea(%rip), %rdx    # 0x59636e
callq 0x40e294
movq 0x28(%rsp), %rsi
movq 0x30(%rsp), %rdx
movq %r14, %rdi
callq 0x4960f0
movq %rbx, %rdi
movq %rax, %rsi
movl $0x1, %edx
callq 0x4135bc
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x414ec7
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x416ca0
cmpb $0x1, 0xd0(%rsp)
jne 0x414f0b
cmpq $0x1, 0xc8(%rsp)
jne 0x414f0b
movq %rbx, %rdi
leaq 0x28(%rsp), %rsi
callq 0x414084
movq (%rax), %rdi
shlq $0x3, %rdi
addq 0xa0(%rbx), %rdi
callq 0x415378
movq %rax, %rdi
leaq 0x50(%rsp), %rsi
callq 0x4946b0
jmp 0x414f38
movq %rbx, %rdi
leaq 0x28(%rsp), %rsi
callq 0x414084
movq (%rax), %rdi
shlq $0x3, %rdi
addq 0xa0(%rbx), %rdi
callq 0x4153be
movq %rax, %rdi
leaq 0x50(%rsp), %rsi
callq 0x40dfc2
incq %r15
movq 0x50(%rsp), %rdi
leaq 0x60(%rsp), %rax
cmpq %rax, %rdi
je 0x414f57
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x416ca0
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x414f73
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x416ca0
addq $0x20, %rbp
movq 0x48(%rsp), %rax
movq 0x8(%rax), %rax
addq 0xe8(%rsp), %rax
addq $-0x20, %r12
cmpq %rax, %rbp
jb 0x414b6b
movzbl 0x38(%rbx), %ebp
shll $0x5, %ebp
movq 0x48(%rsp), %rcx
addq (%rcx), %rbp
cmpq %rax, %rbp
cmovbq %rax, %rbp
cmpq 0x8(%rcx), %rbp
je 0x4150fb
leaq 0x28(%rsp), %r12
leaq 0x18144e(%rip), %r14    # 0x59640f
leaq 0x50(%rsp), %r15
leaq 0x38(%rsp), %rax
movq %rax, 0x28(%rsp)
movq (%rbp), %rsi
movq 0x8(%rbp), %rdx
addq %rsi, %rdx
movq %r12, %rdi
callq 0x40e204
movq %rbx, %rdi
movq %r12, %rsi
callq 0x415404
testq %rax, %rax
je 0x41505c
leaq 0x60(%rsp), %rax
movq %rax, 0x50(%rsp)
movq %r15, %rdi
movq %r14, %rsi
leaq 0x181424(%rip), %rdx    # 0x59642e
callq 0x40e294
movq 0x28(%rsp), %rsi
movq 0x30(%rsp), %rdx
movq %r15, %rdi
callq 0x4960f0
movq %rax, %rdi
leaq 0x181404(%rip), %rsi    # 0x59642f
callq 0x496230
movq %rbx, %rdi
movq %rax, %rsi
movl $0x1, %edx
callq 0x4135bc
movq 0x50(%rsp), %rdi
leaq 0x60(%rsp), %rax
cmpq %rax, %rdi
je 0x41505c
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x416ca0
cmpb $0x1, 0x140(%rsp)
jne 0x41509e
cmpq $0x1, 0x138(%rsp)
jne 0x41509e
movq %rbx, %rdi
movq 0x78(%rsp), %rsi
callq 0x414084
movq (%rax), %rdi
shlq $0x3, %rdi
addq 0xa0(%rbx), %rdi
callq 0x415378
movq %rax, %rdi
movq %r12, %rsi
callq 0x4946b0
jmp 0x4150c9
movq %rbx, %rdi
movq 0x78(%rsp), %rsi
callq 0x414084
movq (%rax), %rdi
shlq $0x3, %rdi
addq 0xa0(%rbx), %rdi
callq 0x4153be
movq %rax, %rdi
movq %r12, %rsi
callq 0x40dfc2
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x4150e5
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x416ca0
addq $0x20, %rbp
decq %r13
movq 0x48(%rsp), %rax
cmpq 0x8(%rax), %rbp
jne 0x414fc6
orq %r13, 0x70(%rsp)
je 0x415160
leaq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
movq %rax, (%rdi)
leaq 0x18133e(%rip), %rsi    # 0x596454
leaq 0x18135c(%rip), %rdx    # 0x596479
callq 0x40e294
movq 0x48(%rbx), %rsi
movq 0x50(%rbx), %rdx
leaq 0x28(%rsp), %rdi
callq 0x4960f0
movq %rbx, %rdi
movq %rax, %rsi
movl $0x1, %edx
callq 0x4135bc
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x415160
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x416ca0
leaq 0x120(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x415181
movq 0x120(%rsp), %rsi
incq %rsi
callq 0x416ca0
leaq 0x100(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4151a2
movq 0x100(%rsp), %rsi
incq %rsi
callq 0x416ca0
leaq 0xb0(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4151c3
movq 0xb0(%rsp), %rsi
incq %rsi
callq 0x416ca0
leaq 0x90(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4151e4
movq 0x90(%rsp), %rsi
incq %rsi
callq 0x416ca0
addq $0x148, %rsp            # imm = 0x148
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x41523f
movq %rax, %rbx
movq 0xf0(%rsp), %rdi
cmpq %r12, %rdi
je 0x4152b4
movq 0x100(%rsp), %rsi
incq %rsi
callq 0x416ca0
jmp 0x4152b4
jmp 0x415288
movq %rax, %rbx
jmp 0x4152b4
jmp 0x415267
jmp 0x415267
jmp 0x415267
jmp 0x415244
jmp 0x415267
jmp 0x415244
jmp 0x415288
jmp 0x415244
jmp 0x41523f
jmp 0x415288
movq %rax, %rbx
jmp 0x4152a7
movq %rax, %rbx
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x41526a
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x416ca0
jmp 0x41526a
jmp 0x415267
movq %rax, %rbx
movq 0x50(%rsp), %rdi
leaq 0x60(%rsp), %rax
cmpq %rax, %rdi
je 0x41528b
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x416ca0
jmp 0x41528b
movq %rax, %rbx
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x4152a7
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x416ca0
leaq 0xf0(%rsp), %rdi
callq 0x413586
leaq 0x80(%rsp), %rdi
callq 0x413586
movq %rbx, %rdi
callq 0x4c2960
nop