// File: /workspace/github_cpp_makefile_star2_O3/xelia-it[P]mustache/third-party/catch2/single_include/catch2/catch.hpp
// Function: Catch::clara::detail::Opt::parse(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, Catch::clara::detail::TokenStream const&) const
auto parse( std::string const&, TokenStream const &tokens ) const -> InternalParseResult override {
            auto validationResult = validate();
            if( !validationResult )
                return InternalParseResult( validationResult );

            auto remainingTokens = tokens;
            if( remainingTokens && remainingTokens->type == TokenType::Option ) {
                auto const &token = *remainingTokens;
                if( isMatch(token.token ) ) {
                    if( m_ref->isFlag() ) {
                        auto flagRef = static_cast<detail::BoundFlagRefBase*>( m_ref.get() );
                        auto result = flagRef->setFlag( true );
                        if( !result )
                            return InternalParseResult( result );
                        if( result.value() == ParseResultType::ShortCircuitAll )
                            return InternalParseResult::ok( ParseState( result.value(), remainingTokens ) );
                    } else {
                        auto valueRef = static_cast<detail::BoundValueRefBase*>( m_ref.get() );
                        ++remainingTokens;
                        if( !remainingTokens )
                            return InternalParseResult::runtimeError( "Expected argument following " + token.token );
                        auto const &argToken = *remainingTokens;
                        if( argToken.type != TokenType::Argument )
                            return InternalParseResult::runtimeError( "Expected argument following " + token.token );
                        auto result = valueRef->setValue( argToken.token );
                        if( !result )
                            return InternalParseResult( result );
                        if( result.value() == ParseResultType::ShortCircuitAll )
                            return InternalParseResult::ok( ParseState( result.value(), remainingTokens ) );
                    }
                    return InternalParseResult::ok( ParseState( ParseResultType::Matched, ++remainingTokens ) );
                }
            }
            return InternalParseResult::ok( ParseState( ParseResultType::NoMatch, remainingTokens ) );
        }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x110, %rsp            # imm = 0x110
movq %rcx, %r12
movq %rsi, %r15
movq %rdi, %r14
movq (%rsi), %rax
leaq -0x130(%rbp), %rbx
movq %rbx, %rdi
callq *0x10(%rax)
cmpl $0x0, 0x8(%rbx)
je 0x43d0f
leaq -0x130(%rbp), %rsi
movq %r14, %rdi
callq 0x444ba
jmp 0x43ddc
movups (%r12), %xmm0
leaq -0x70(%rbp), %rbx
movaps %xmm0, -0x10(%rbx)
addq $0x10, %r12
movq %rbx, %rdi
movq %r12, %rsi
callq 0x43686
movq -0x70(%rbp), %rax
movq -0x68(%rbp), %rcx
cmpq %rcx, %rax
jne 0x43d42
movq -0x78(%rbp), %rdx
cmpq %rdx, -0x80(%rbp)
je 0x43d54
cmpq %rcx, %rax
je 0x44122
cmpl $0x0, (%rax)
je 0x43e13
leaq -0x38(%rbp), %r15
movl $0x1, -0x18(%r15)
movaps -0x80(%rbp), %xmm0
movups %xmm0, -0x10(%r15)
movq %r15, %rdi
movq %rbx, %rsi
callq 0x43686
leaq -0x48(%rbp), %rax
movl $0x0, 0x8(%r14)
leaq 0x647f9(%rip), %rcx     # 0xa8580
addq $0x10, %rcx
movq %rcx, (%r14)
movl -0x8(%rax), %ecx
movl %ecx, 0x10(%r14)
movups (%rax), %xmm0
movups %xmm0, 0x18(%r14)
leaq 0x28(%r14), %rdi
movq %r15, %rsi
callq 0x43686
leaq 0x64778(%rip), %rax     # 0xa8528
addq $0x10, %rax
movq %rax, (%r14)
leaq 0x50(%r14), %rax
movq %rax, 0x40(%r14)
movq $0x0, 0x48(%r14)
movb $0x0, 0x50(%r14)
movq %r15, %rdi
callq 0x43810
movq %rbx, %rdi
callq 0x43810
leaq 0x646dd(%rip), %rax     # 0xa84c0
addq $0x10, %rax
leaq -0x110(%rbp), %rcx
movq %rax, -0x20(%rcx)
movq -0x10(%rcx), %rdi
cmpq %rcx, %rdi
je 0x43e00
callq 0x1b4d0
movq %r14, %rax
addq $0x110, %rsp            # imm = 0x110
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
leaq -0xd0(%rbp), %rdi
leaq -0x80(%rbp), %rsi
callq 0x4454c
leaq -0xc8(%rbp), %r12
movq %r15, %rdi
movq %r12, %rsi
callq 0x445a8
testb %al, %al
je 0x43e78
movq 0x10(%r15), %rdi
movq (%rdi), %rax
callq *0x18(%rax)
movq 0x10(%r15), %r15
testb %al, %al
je 0x43e96
movq (%r15), %rax
leaq -0x50(%rbp), %rdi
movq %r15, %rsi
movl $0x1, %edx
callq *0x20(%rax)
cmpl $0x0, -0x48(%rbp)
je 0x43f2c
leaq -0x50(%rbp), %rsi
movq %r14, %rdi
callq 0x44698
jmp 0x43f83
leaq -0xb8(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x43d54
callq 0x1b4d0
jmp 0x43d54
leaq -0x80(%rbp), %rdi
callq 0x4472a
movq -0x70(%rbp), %rax
cmpq -0x68(%rbp), %rax
jne 0x43ee0
movq -0x78(%rbp), %rax
cmpq %rax, -0x80(%rbp)
jne 0x43ee0
leaq 0x38322(%rip), %rsi     # 0x7c1dc
leaq -0x50(%rbp), %rdi
movq %r12, %rdx
callq 0x3f209
leaq -0x50(%rbp), %rdx
movq %r14, %rdi
movl $0x2, %esi
callq 0x44f20
leaq -0x40(%rbp), %rax
jmp 0x43fde
leaq -0xa8(%rbp), %rdi
leaq -0x80(%rbp), %rsi
callq 0x4454c
cmpl $0x1, -0xa8(%rbp)
jne 0x43fa1
leaq -0xa0(%rbp), %rdx
movq (%r15), %rax
leaq -0x50(%rbp), %rdi
movq %r15, %rsi
callq *0x20(%rax)
cmpl $0x0, -0x48(%rbp)
je 0x44070
leaq -0x50(%rbp), %rsi
movq %r14, %rdi
callq 0x44698
jmp 0x440c3
leaq -0x50(%rbp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
cmpl $0x2, -0x44(%rbp)
jne 0x4400a
leaq -0x50(%rbp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movl -0x44(%rbp), %eax
leaq -0xe8(%rbp), %r15
movl %eax, -0x18(%r15)
movaps -0x80(%rbp), %xmm0
movups %xmm0, -0x10(%r15)
movq %r15, %rdi
movq %rbx, %rsi
callq 0x43686
leaq -0x100(%rbp), %rsi
movq %r14, %rdi
callq 0x43550
movq %r15, %rdi
callq 0x43810
leaq 0x646fe(%rip), %rax     # 0xa8688
addq $0x10, %rax
leaq -0x30(%rbp), %rcx
movq %rax, -0x20(%rcx)
movq -0x10(%rcx), %rdi
cmpq %rcx, %rdi
jne 0x43fe7
jmp 0x43fec
leaq 0x38234(%rip), %rsi     # 0x7c1dc
leaq -0x50(%rbp), %rdi
movq %r12, %rdx
callq 0x3f209
leaq -0x50(%rbp), %rdx
movq %r14, %rdi
movl $0x2, %esi
callq 0x44f20
leaq -0x40(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x43fd7
callq 0x1b4d0
leaq -0x90(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x43fec
callq 0x1b4d0
leaq -0xb8(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x43dd4
callq 0x1b4d0
jmp 0x43dd4
leaq 0x64677(%rip), %rax     # 0xa8688
addq $0x10, %rax
leaq -0x30(%rbp), %rcx
movq %rax, -0x20(%rcx)
movq -0x10(%rcx), %rdi
cmpq %rcx, %rdi
je 0x4402b
callq 0x1b4d0
leaq -0x80(%rbp), %rdi
callq 0x4472a
leaq -0x38(%rbp), %r15
movl $0x0, -0x18(%r15)
movups (%rax), %xmm0
movups %xmm0, -0x10(%r15)
addq $0x10, %rax
movq %r15, %rdi
movq %rax, %rsi
callq 0x43686
leaq -0x50(%rbp), %rsi
movq %r14, %rdi
callq 0x43550
movq %r15, %rdi
callq 0x43810
jmp 0x43fec
leaq -0x50(%rbp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
cmpl $0x2, -0x44(%rbp)
jne 0x440e8
leaq -0x50(%rbp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movl -0x44(%rbp), %eax
leaq -0xe8(%rbp), %r15
movl %eax, -0x18(%r15)
movaps -0x80(%rbp), %xmm0
movups %xmm0, -0x10(%r15)
movq %r15, %rdi
movq %rbx, %rsi
callq 0x43686
leaq -0x100(%rbp), %rsi
movq %r14, %rdi
callq 0x43550
movq %r15, %rdi
callq 0x43810
leaq 0x645be(%rip), %rax     # 0xa8688
addq $0x10, %rax
leaq -0x30(%rbp), %rcx
movq %rax, -0x20(%rcx)
movq -0x10(%rcx), %rdi
cmpq %rcx, %rdi
jne 0x43fd2
jmp 0x43fd7
leaq 0x64599(%rip), %rax     # 0xa8688
addq $0x10, %rax
leaq -0x30(%rbp), %rcx
movq %rax, -0x20(%rcx)
movq -0x10(%rcx), %rdi
cmpq %rcx, %rdi
je 0x44109
callq 0x1b4d0
leaq -0x90(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
jne 0x44026
jmp 0x4402b
leaq 0x38183(%rip), %rdi     # 0x7c2ac
leaq 0x36da5(%rip), %rsi     # 0x7aed5
leaq 0x3818c(%rip), %rcx     # 0x7c2c3
movl $0x22d7, %edx           # imm = 0x22D7
callq 0x1b320
movq %rax, %r14
movq %r15, %rdi
callq 0x43810
jmp 0x44170
jmp 0x4416d
movq %rax, %r14
movq %r15, %rdi
callq 0x43810
jmp 0x441d0
movq %rax, %r14
movq %r15, %rdi
callq 0x43810
jmp 0x441fc
movq %rax, %r14
leaq 0x64511(%rip), %rax     # 0xa8688
addq $0x10, %rax
leaq -0x30(%rbp), %rcx
movq %rax, -0x20(%rcx)
movq -0x10(%rcx), %rdi
cmpq %rcx, %rdi
jne 0x4419e
jmp 0x441aa
movq %rax, %r14
leaq -0x40(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x441aa
callq 0x1b4d0
jmp 0x441aa
jmp 0x441a7
movq %rax, %r14
leaq -0x90(%rbp), %rax
jmp 0x441be
jmp 0x441cd
jmp 0x441f9
movq %rax, %r14
leaq -0x40(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
jne 0x441ec
jmp 0x441fc
jmp 0x441f9
jmp 0x441f9
movq %rax, %r14
leaq 0x644b1(%rip), %rax     # 0xa8688
addq $0x10, %rax
leaq -0x30(%rbp), %rcx
movq %rax, -0x20(%rcx)
movq -0x10(%rcx), %rdi
cmpq %rcx, %rdi
je 0x441fc
callq 0x1b4d0
jmp 0x441fc
jmp 0x441f9
jmp 0x441f9
jmp 0x44220
movq %rax, %r14
leaq -0xb8(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x44223
callq 0x1b4d0
jmp 0x44223
movq %rax, %r14
movq %r15, %rdi
callq 0x43810
jmp 0x44223
movq %rax, %r14
movq %rbx, %rdi
callq 0x43810
jmp 0x44232
jmp 0x4422f
movq %rax, %r14
leaq 0x64287(%rip), %rax     # 0xa84c0
addq $0x10, %rax
leaq -0x110(%rbp), %rcx
movq %rax, -0x20(%rcx)
movq -0x10(%rcx), %rdi
cmpq %rcx, %rdi
je 0x44256
callq 0x1b4d0
movq %r14, %rdi
callq 0x1b910