// File: /workspace/github_cpp_makefile_star2_O3/ridiculousfish[P]docopt_fish/docopt_fish.cpp
// Function: docopt_fish::docopt_impl::best_assignment_for_argv(std::vector<std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t>>, std::allocator<std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t>>>> const&, unsigned int, std::vector<docopt_fish::error_t, std::allocator<docopt_fish::error_t>>*, std::vector<unsigned long, std::allocator<unsigned long>>*, std::map<docopt_fish::rstring_t, docopt_fish::argument_t, std::less<docopt_fish::rstring_t>, std::allocator<std::pair<docopt_fish::rstring_t const, docopt_fish::argument_t>>>*) const
void best_assignment_for_argv(const string_list_t &argv, parse_flags_t flags,
                                  error_list_t *out_errors, index_list_t *out_unused_arguments,
                                  option_rmap_t *out_option_map) const {
        // Extract positionals and arguments from argv, then produce an option map
        arg_classification_t aclass = argv_classifier_t::classify_arguments(argv, all_options,
                                                                            names_to_metadata,
                                                                            flags, out_errors);
        
        // The flag_stop_after_consuming_everything allows us to early-out in the matching process
        flags |= flag_stop_after_consuming_everything;
        match_results_t mr = match_usages(this->usages, flags, this->shortcut_options, aclass, argv);
        if (out_unused_arguments) {
            *out_unused_arguments = std::move(mr.unused_args);
        }
        if (out_option_map) {
            *out_option_map = std::move(mr.option_map);
        }
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xb8, %rsp
movq %r9, %rbx
movq %r8, %r14
movq %rcx, %r9
movl %edx, %ebp
movq %rsi, %r15
movq %rdi, %r12
leaq 0x68(%rdi), %rdx
leaq 0x80(%rdi), %rcx
movq $0x0, (%rsp)
leaq 0x8(%rsp), %r13
movq %r13, %rdi
movl %ebp, %r8d
callq 0x7b02
orl $0x20000, %ebp          # imm = 0x20000
leaq 0x50(%r12), %rcx
leaq 0x40(%rsp), %rdi
movq %r12, %rsi
movl %ebp, %edx
movq %r13, %r8
movq %r15, %r9
callq 0x12b84
testq %r14, %r14
je 0x93b1
movq (%r14), %rdi
movq 0x10(%r14), %rsi
movaps 0x40(%rsp), %xmm0
movups %xmm0, (%r14)
movq 0x50(%rsp), %rax
movq %rax, 0x10(%r14)
xorps %xmm0, %xmm0
movaps %xmm0, 0x40(%rsp)
movq $0x0, 0x50(%rsp)
testq %rdi, %rdi
je 0x93b1
subq %rdi, %rsi
callq 0x6200
testq %rbx, %rbx
je 0x9400
movq %rbx, %rdi
callq 0xb16e
movq 0x68(%rsp), %rax
testq %rax, %rax
je 0x9400
leaq 0x8(%rbx), %rcx
leaq 0x60(%rsp), %rdx
movl (%rdx), %esi
movl %esi, 0x8(%rbx)
movq %rax, 0x10(%rbx)
movaps 0x10(%rdx), %xmm0
movups %xmm0, 0x18(%rbx)
movq %rcx, 0x8(%rax)
movq 0x20(%rdx), %rax
movq %rax, 0x28(%rbx)
xorl %eax, %eax
movq %rax, 0x8(%rdx)
movq %rdx, 0x10(%rdx)
movq %rdx, 0x18(%rdx)
movq %rax, 0x20(%rdx)
leaq 0x88(%rsp), %rdi
callq 0xb254
leaq 0x58(%rsp), %rbx
movq %rbx, %rdi
callq 0xd5a4
movq -0x18(%rbx), %rdi
testq %rdi, %rdi
je 0x9430
movq 0x50(%rsp), %rsi
subq %rdi, %rsi
callq 0x6200
movq 0x20(%rsp), %rdi
testq %rdi, %rdi
je 0x9447
movq 0x30(%rsp), %rsi
subq %rdi, %rsi
callq 0x6200
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x945e
movq 0x18(%rsp), %rsi
subq %rdi, %rsi
callq 0x6200
addq $0xb8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0xb110
movq %rbx, %rdi
callq 0x6360
nop