// File: /workspace/github_cpp_makefile_star2_O1/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 0x8b60
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 0x13c30
testq %r14, %r14
je 0xa2f9
leaq 0x40(%rsp), %rsi
movq %r14, %rdi
callq 0xc11e
testq %rbx, %rbx
je 0xa350
movq %rbx, %rdi
callq 0xc15e
movq 0x68(%rsp), %rax
testq %rax, %rax
je 0xa350
leaq 0x8(%rbx), %rcx
leaq 0x60(%rsp), %rdx
movl (%rdx), %esi
movl %esi, 0x8(%rbx)
movq %rax, 0x10(%rbx)
movq 0x10(%rdx), %rsi
movq %rsi, 0x18(%rbx)
movq 0x18(%rdx), %rsi
movq %rsi, 0x20(%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 0xc244
leaq 0x58(%rsp), %rbx
movq %rbx, %rdi
callq 0xe5f2
movq -0x18(%rbx), %rdi
testq %rdi, %rdi
je 0xa380
movq 0x50(%rsp), %rsi
subq %rdi, %rsi
callq 0x7200
movq 0x20(%rsp), %rdi
testq %rdi, %rdi
je 0xa397
movq 0x30(%rsp), %rsi
subq %rdi, %rsi
callq 0x7200
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0xa3ae
movq 0x18(%rsp), %rsi
subq %rdi, %rsi
callq 0x7200
addq $0xb8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0xc0c0
movq %rbx, %rdi
callq 0x7360
nop