// File: /workspace/github_cpp_makefile_star2_O1/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 %r13
pushq %r12
pushq %rbx
subq $0x108, %rsp            # imm = 0x108
movq %rcx, %r15
movq %rsi, %r12
movq %rdi, %r14
movq (%rsi), %rax
leaq -0x130(%rbp), %rbx
movq %rbx, %rdi
callq *0x10(%rax)
cmpl $0x0, 0x8(%rbx)
je 0x43fd1
leaq -0x130(%rbp), %rsi
movq %r14, %rdi
callq 0x447c0
jmp 0x4409d
movups (%r15), %xmm0
leaq -0x70(%rbp), %rbx
movaps %xmm0, -0x10(%rbx)
addq $0x10, %r15
movq %rbx, %rdi
movq %r15, %rsi
callq 0x4390a
movq -0x70(%rbp), %rax
movq -0x68(%rbp), %rcx
cmpq %rcx, %rax
jne 0x44003
movq -0x78(%rbp), %rdx
cmpq %rdx, -0x80(%rbp)
je 0x44015
cmpq %rcx, %rax
je 0x443f7
cmpl $0x0, (%rax)
je 0x440d6
leaq -0x40(%rbp), %r15
movl $0x1, -0x18(%r15)
movaps -0x80(%rbp), %xmm0
movups %xmm0, -0x10(%r15)
movq %r15, %rdi
movq %rbx, %rsi
callq 0x4390a
leaq -0x50(%rbp), %rax
movl $0x0, 0x8(%r14)
leaq 0x66438(%rip), %rcx     # 0xaa480
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 0x4390a
leaq 0x663b7(%rip), %rax     # 0xaa428
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 0x43a94
movq %rbx, %rdi
callq 0x43a94
leaq 0x662f4(%rip), %rax     # 0xaa398
addq $0x10, %rax
leaq -0x110(%rbp), %rcx
movq %rax, -0x20(%rcx)
movq -0x10(%rcx), %rdi
cmpq %rcx, %rdi
je 0x440c1
callq 0x1b4d0
movq %r14, %rax
addq $0x108, %rsp            # imm = 0x108
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq -0xd0(%rbp), %rdi
leaq -0x80(%rbp), %rsi
callq 0x44852
leaq -0xc8(%rbp), %r13
movq %r12, %rdi
movq %r13, %rsi
callq 0x448ae
movl %eax, %r15d
testb %al, %al
je 0x44141
movq 0x10(%r12), %rdi
movq (%rdi), %rax
callq *0x18(%rax)
movq 0x10(%r12), %r12
testb %al, %al
je 0x4415f
movq (%r12), %rax
leaq -0x58(%rbp), %rdi
movq %r12, %rsi
movl $0x1, %edx
callq *0x20(%rax)
cmpl $0x0, -0x50(%rbp)
je 0x441f6
leaq -0x58(%rbp), %rsi
movq %r14, %rdi
callq 0x4499c
jmp 0x4424f
leaq -0xb8(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x44015
callq 0x1b4d0
jmp 0x44015
leaq -0x80(%rbp), %rdi
callq 0x44a2e
movq -0x70(%rbp), %rax
cmpq -0x68(%rbp), %rax
jne 0x441a9
movq -0x78(%rbp), %rax
cmpq %rax, -0x80(%rbp)
jne 0x441a9
leaq 0x39059(%rip), %rsi     # 0x7d1dc
leaq -0x58(%rbp), %rdi
movq %r13, %rdx
callq 0x3f511
leaq -0x58(%rbp), %rdx
movq %r14, %rdi
movl $0x2, %esi
callq 0x45264
leaq -0x48(%rbp), %rax
jmp 0x442aa
leaq -0xa8(%rbp), %rdi
leaq -0x80(%rbp), %rsi
callq 0x44852
cmpl $0x1, -0xa8(%rbp)
jne 0x4426d
leaq -0xa0(%rbp), %rdx
movq (%r12), %rax
leaq -0x58(%rbp), %rdi
movq %r12, %rsi
callq *0x20(%rax)
cmpl $0x0, -0x50(%rbp)
je 0x44343
leaq -0x58(%rbp), %rsi
movq %r14, %rdi
callq 0x4499c
jmp 0x44398
leaq -0x58(%rbp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
cmpl $0x2, -0x4c(%rbp)
jne 0x442db
leaq -0x58(%rbp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movl -0x4c(%rbp), %eax
leaq -0xe8(%rbp), %r12
movl %eax, -0x18(%r12)
movaps -0x80(%rbp), %xmm0
movups %xmm0, -0x10(%r12)
movq %r12, %rdi
movq %rbx, %rsi
callq 0x4390a
leaq -0x100(%rbp), %rsi
movq %r14, %rdi
callq 0x437d4
movq %r12, %rdi
callq 0x43a94
leaq 0x66332(%rip), %rax     # 0xaa588
addq $0x10, %rax
leaq -0x38(%rbp), %rcx
movq %rax, -0x20(%rcx)
movq -0x10(%rcx), %rdi
cmpq %rcx, %rdi
jne 0x442b3
jmp 0x442b8
leaq 0x38f68(%rip), %rsi     # 0x7d1dc
leaq -0x58(%rbp), %rdi
movq %r13, %rdx
callq 0x3f511
leaq -0x58(%rbp), %rdx
movq %r14, %rdi
movl $0x2, %esi
callq 0x45264
leaq -0x48(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x442a3
callq 0x1b4d0
leaq -0x90(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x442b8
callq 0x1b4d0
leaq -0xb8(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x442cd
callq 0x1b4d0
testb %r15b, %r15b
je 0x44015
jmp 0x44095
leaq 0x662a6(%rip), %rax     # 0xaa588
addq $0x10, %rax
leaq -0x38(%rbp), %rcx
movq %rax, -0x20(%rcx)
movq -0x10(%rcx), %rdi
cmpq %rcx, %rdi
je 0x442fc
callq 0x1b4d0
leaq -0x80(%rbp), %rdi
callq 0x44a2e
leaq -0x40(%rbp), %r12
movl $0x0, -0x18(%r12)
movups (%rax), %xmm0
movups %xmm0, -0x10(%r12)
addq $0x10, %rax
movq %r12, %rdi
movq %rax, %rsi
callq 0x4390a
leaq -0x58(%rbp), %rsi
movq %r14, %rdi
callq 0x437d4
movq %r12, %rdi
callq 0x43a94
jmp 0x442b8
leaq -0x58(%rbp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
cmpl $0x2, -0x4c(%rbp)
jne 0x443bd
leaq -0x58(%rbp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movl -0x4c(%rbp), %eax
leaq -0xe8(%rbp), %r12
movl %eax, -0x18(%r12)
movaps -0x80(%rbp), %xmm0
movups %xmm0, -0x10(%r12)
movq %r12, %rdi
movq %rbx, %rsi
callq 0x4390a
leaq -0x100(%rbp), %rsi
movq %r14, %rdi
callq 0x437d4
movq %r12, %rdi
callq 0x43a94
leaq 0x661e9(%rip), %rax     # 0xaa588
addq $0x10, %rax
leaq -0x38(%rbp), %rcx
movq %rax, -0x20(%rcx)
movq -0x10(%rcx), %rdi
cmpq %rcx, %rdi
jne 0x4429e
jmp 0x442a3
leaq 0x661c4(%rip), %rax     # 0xaa588
addq $0x10, %rax
leaq -0x38(%rbp), %rcx
movq %rax, -0x20(%rcx)
movq -0x10(%rcx), %rdi
cmpq %rcx, %rdi
je 0x443de
callq 0x1b4d0
leaq -0x90(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
jne 0x442f7
jmp 0x442fc
leaq 0x38eae(%rip), %rdi     # 0x7d2ac
leaq 0x37ad0(%rip), %rsi     # 0x7bed5
leaq 0x38eb7(%rip), %rcx     # 0x7d2c3
movl $0x22d7, %edx           # imm = 0x22D7
callq 0x1b320
movq %rax, %r14
movq %r12, %rdi
callq 0x43a94
jmp 0x44448
jmp 0x44445
movq %rax, %r14
movq %r12, %rdi
callq 0x43a94
jmp 0x444c1
movq %rax, %r14
movq %r12, %rdi
callq 0x43a94
jmp 0x444fc
movq %rax, %r14
leaq 0x66139(%rip), %rax     # 0xaa588
addq $0x10, %rax
leaq -0x38(%rbp), %rcx
movq %rax, -0x20(%rcx)
movq -0x10(%rcx), %rdi
cmpq %rcx, %rdi
je 0x44469
callq 0x1b4d0
leaq 0x66170(%rip), %rax     # 0xaa5e0
addq $0x10, %rax
movq %rax, -0x58(%rbp)
jmp 0x44496
movq %rax, %r14
leaq -0x48(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x44496
callq 0x1b4d0
jmp 0x44496
jmp 0x44493
movq %rax, %r14
leaq -0x90(%rbp), %rax
jmp 0x444aa
jmp 0x444be
jmp 0x444f9
movq %rax, %r14
leaq -0x48(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x444fc
callq 0x1b4d0
jmp 0x444fc
jmp 0x444f9
jmp 0x444f9
movq %rax, %r14
leaq 0x660c0(%rip), %rax     # 0xaa588
addq $0x10, %rax
leaq -0x38(%rbp), %rcx
movq %rax, -0x20(%rcx)
movq -0x10(%rcx), %rdi
cmpq %rcx, %rdi
je 0x444e2
callq 0x1b4d0
leaq 0x660f7(%rip), %rax     # 0xaa5e0
addq $0x10, %rax
movq %rax, -0x58(%rbp)
jmp 0x444fc
jmp 0x444f9
jmp 0x444f9
jmp 0x44520
movq %rax, %r14
leaq -0xb8(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x44523
callq 0x1b4d0
jmp 0x44523
movq %rax, %r14
movq %r15, %rdi
callq 0x43a94
jmp 0x44523
movq %rax, %r14
movq %rbx, %rdi
callq 0x43a94
jmp 0x44532
jmp 0x4452f
movq %rax, %r14
leaq 0x65e5f(%rip), %rax     # 0xaa398
addq $0x10, %rax
leaq -0x110(%rbp), %rcx
movq %rax, -0x20(%rcx)
movq -0x10(%rcx), %rdi
cmpq %rcx, %rdi
je 0x44556
callq 0x1b4d0
movq %r14, %rdi
callq 0x1b910