// File: /workspace/github_cpp_makefile_star2_O3/dadocolussi[P]gdc-circular_queue/tests/catch.hpp
// Function: Catch::Clara::CommandLine<Catch::ConfigData>::populateOptions(std::vector<Catch::Clara::Parser::Token, std::allocator<Catch::Clara::Parser::Token>> const&, Catch::ConfigData&) const
std::vector<Parser::Token> populateOptions( std::vector<Parser::Token> const& tokens, ConfigT& config ) const {
            std::vector<Parser::Token> unusedTokens;
            std::vector<std::string> errors;
            for( std::size_t i = 0; i < tokens.size(); ++i ) {
                Parser::Token const& token = tokens[i];
                typename std::vector<Arg>::const_iterator it = m_options.begin(), itEnd = m_options.end();
                for(; it != itEnd; ++it ) {
                    Arg const& arg = *it;

                    try {
                        if( ( token.type == Parser::Token::ShortOpt && arg.hasShortName( token.data ) ) ||
                            ( token.type == Parser::Token::LongOpt && arg.hasLongName( token.data ) ) ) {
                            if( arg.takesArg() ) {
                                if( i == tokens.size()-1 || tokens[i+1].type != Parser::Token::Positional )
                                    errors.push_back( "Expected argument to option: " + token.data );
                                else
                                    arg.boundField.set( config, tokens[++i].data );
                            }
                            else {
                                arg.boundField.setFlag( config );
                            }
                            break;
                        }
                    }
                    catch( std::exception& ex ) {
                        errors.push_back( std::string( ex.what() ) + "\n- while parsing: (" + arg.commands() + ")" );
                    }
                }
                if( it == itEnd ) {
                    if( token.type == Parser::Token::Positional || !m_throwOnUnrecognisedTokens )
                        unusedTokens.push_back( token );
                    else if( errors.empty() && m_throwOnUnrecognisedTokens )
                        errors.push_back( "unrecognised option: " + token.data );
                }
            }
            if( !errors.empty() ) {
                std::ostringstream oss;
                for( std::vector<std::string>::const_iterator it = errors.begin(), itEnd = errors.end();
                        it != itEnd;
                        ++it ) {
                    if( it != errors.begin() )
                        oss << "\n";
                    oss << *it;
                }
                throw std::runtime_error( oss.str() );
            }
            return unusedTokens;
        }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x248, %rsp            # imm = 0x248
movq %rcx, 0x60(%rsp)
movq %rsi, 0x68(%rsp)
xorl %eax, %eax
movq %rax, 0x10(%rdi)
xorps %xmm0, %xmm0
movq %rdi, 0x28(%rsp)
movups %xmm0, (%rdi)
movq %rax, 0x20(%rsp)
movaps %xmm0, 0x10(%rsp)
movq (%rdx), %rax
cmpq %rax, 0x8(%rdx)
je 0x25c29
movq %rdx, %r15
xorl %ebp, %ebp
leaq (,%rbp,4), %rcx
addq %rbp, %rcx
leaq (%rax,%rcx,8), %r13
movq 0x68(%rsp), %rax
movq 0x8(%rax), %rbx
movq 0x10(%rax), %r12
cmpq %r12, %rbx
je 0x25b73
leaq 0x8(%r13), %rax
movq %rax, 0x30(%rsp)
movl (%r13), %eax
cmpl $0x1, %eax
jne 0x25859
movq 0x68(%rbx), %rdi
movq 0x70(%rbx), %rsi
movq 0x30(%rsp), %rdx
callq 0x26277
cmpq 0x70(%rbx), %rax
jne 0x25878
movl (%r13), %eax
cmpl $0x2, %eax
jne 0x25b37
leaq 0x68(%rbx), %rdi
movq 0x30(%rsp), %rsi
callq 0x26092
testb %al, %al
je 0x25b37
cmpq $0x0, 0x50(%rbx)
je 0x258df
movq (%r15), %rax
movq 0x8(%r15), %rcx
subq %rax, %rcx
sarq $0x3, %rcx
movabsq $-0x3333333333333333, %rdx # imm = 0xCCCCCCCCCCCCCCCD
imulq %rdx, %rcx
decq %rcx
cmpq %rcx, %rbp
je 0x258b1
leaq 0x1(%rbp), %r14
leaq (%r14,%r14,4), %rcx
cmpl $0x0, (%rax,%rcx,8)
je 0x258f2
leaq 0xd0(%rsp), %r14
movq %r14, %rdi
leaq 0x1faf3(%rip), %rsi     # 0x453b6
movq 0x30(%rsp), %rdx
callq 0x149d5
leaq 0x10(%rsp), %rdi
movq %r14, %rsi
callq 0x31b18
jmp 0x25b49
movq (%rbx), %rdi
movq (%rdi), %rax
movq 0x60(%rsp), %rsi
callq *0x18(%rax)
jmp 0x25b73
leaq (%rax,%rcx,8), %rdx
addq $0x8, %rdx
movq (%rbx), %rdi
movq (%rdi), %rax
movq %r14, %rbp
movq 0x60(%rsp), %rsi
callq *0x10(%rax)
jmp 0x25b70
movq %rdx, 0x58(%rsp)
movq %rax, %r14
jmp 0x25947
movq %rdx, 0x58(%rsp)
movq %rax, %r14
movq 0xd0(%rsp), %rdi
leaq 0xe0(%rsp), %rax
cmpq %rax, %rdi
je 0x25947
movq 0xe0(%rsp), %rsi
incq %rsi
callq 0xb4a0
movq 0x58(%rsp), %rdx
movq %r14, %rdi
jmp 0x25954
movq %rax, %rdi
cmpl $0x1, %edx
jne 0x25ceb
callq 0xb190
movq (%rax), %rcx
movq %rax, %rdi
callq *0x10(%rcx)
leaq 0xb0(%rsp), %r14
movq %r14, %rdi
movq %rax, %rsi
leaq 0xf(%rsp), %rdx
callq 0x13d78
movq %r14, %rdi
leaq 0x1fa47(%rip), %rsi     # 0x453d4
callq 0xb8b0
leaq 0x48(%rsp), %rcx
movq %rcx, 0x38(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x259ba
movq %rdx, 0x38(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x48(%rsp)
jmp 0x259c5
movups (%rcx), %xmm0
leaq 0x48(%rsp), %rdx
movups %xmm0, (%rdx)
movq 0x8(%rax), %rdx
movq %rdx, 0x40(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x90(%rsp), %rdi
movq %rbx, %rsi
callq 0x260c2
leaq 0x70(%rsp), %r14
movq %r14, %rdi
leaq 0x38(%rsp), %rsi
leaq 0x90(%rsp), %rdx
callq 0x1529a
movq %r14, %rdi
leaq 0x1ef76(%rip), %rsi     # 0x44987
callq 0xb8b0
leaq 0xe0(%rsp), %rcx
movq %rcx, 0xd0(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x25a4a
movq %rdx, 0xd0(%rsp)
movq (%rcx), %rdx
movq %rdx, 0xe0(%rsp)
jmp 0x25a58
movups (%rcx), %xmm0
leaq 0xe0(%rsp), %rdx
movups %xmm0, (%rdx)
movq 0x8(%rax), %rdx
movq %rdx, 0xd8(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x10(%rsp), %rdi
leaq 0xd0(%rsp), %rsi
callq 0x31b18
movq 0xd0(%rsp), %rdi
leaq 0xe0(%rsp), %rax
cmpq %rax, %rdi
je 0x25aaa
movq 0xe0(%rsp), %rsi
incq %rsi
callq 0xb4a0
movq 0x70(%rsp), %rdi
leaq 0x80(%rsp), %rax
cmpq %rax, %rdi
je 0x25acc
movq 0x80(%rsp), %rsi
incq %rsi
callq 0xb4a0
movq 0x90(%rsp), %rdi
leaq 0xa0(%rsp), %rax
cmpq %rax, %rdi
je 0x25af1
movq 0xa0(%rsp), %rsi
incq %rsi
callq 0xb4a0
movq 0x38(%rsp), %rdi
leaq 0x48(%rsp), %rax
cmpq %rax, %rdi
je 0x25b0d
movq 0x48(%rsp), %rsi
incq %rsi
callq 0xb4a0
movq 0xb0(%rsp), %rdi
leaq 0xc0(%rsp), %rax
cmpq %rax, %rdi
je 0x25b32
movq 0xc0(%rsp), %rsi
incq %rsi
callq 0xb4a0
callq 0xb750
addq $0xa8, %rbx
cmpq %r12, %rbx
jne 0x25834
jmp 0x25b78
movq 0xd0(%rsp), %rdi
leaq 0xe0(%rsp), %rax
cmpq %rax, %rdi
je 0x25b73
movq 0xe0(%rsp), %rsi
incq %rsi
callq 0xb4a0
jmp 0x25b73
movq %r14, %rbp
cmpq %r12, %rbx
jne 0x25bf5
cmpl $0x0, (%r13)
je 0x25be8
movq 0x68(%rsp), %rax
cmpb $0x0, 0x5c(%rax)
je 0x25be8
movq 0x10(%rsp), %rax
cmpq 0x18(%rsp), %rax
jne 0x25bf5
addq $0x8, %r13
leaq 0xd0(%rsp), %rbx
movq %rbx, %rdi
leaq 0x1f83c(%rip), %rsi     # 0x453e8
movq %r13, %rdx
callq 0x149d5
leaq 0x10(%rsp), %rdi
movq %rbx, %rsi
callq 0x31b18
movq 0xd0(%rsp), %rdi
leaq 0xe0(%rsp), %rax
cmpq %rax, %rdi
je 0x25bf5
movq 0xe0(%rsp), %rsi
incq %rsi
callq 0xb4a0
jmp 0x25bf5
movq 0x28(%rsp), %rdi
movq %r13, %rsi
callq 0x254a0
incq %rbp
movq (%r15), %rax
movq 0x8(%r15), %rcx
subq %rax, %rcx
sarq $0x3, %rcx
movabsq $-0x3333333333333333, %rdx # imm = 0xCCCCCCCCCCCCCCCD
imulq %rdx, %rcx
cmpq %rcx, %rbp
jb 0x25806
movq 0x10(%rsp), %rax
cmpq 0x18(%rsp), %rax
jne 0x25c4a
leaq 0x10(%rsp), %rdi
callq 0x13df2
movq 0x28(%rsp), %rax
addq $0x248, %rsp            # imm = 0x248
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0xd0(%rsp), %rdi
callq 0xb5f0
movq 0x10(%rsp), %r15
movq 0x18(%rsp), %r12
cmpq %r12, %r15
je 0x25ca4
leaq 0xd0(%rsp), %rbx
leaq 0x1fd6b(%rip), %r14     # 0x459e0
cmpq 0x10(%rsp), %r15
je 0x25c8c
movl $0x1, %edx
movq %rbx, %rdi
movq %r14, %rsi
callq 0xb530
movq (%r15), %rsi
movq 0x8(%r15), %rdx
movq %rbx, %rdi
callq 0xb530
addq $0x20, %r15
cmpq %r12, %r15
jne 0x25c75
movl $0x10, %edi
callq 0xb1f0
movq %rax, %rbx
leaq 0xd8(%rsp), %rsi
leaq 0x70(%rsp), %rdi
callq 0xb6f0
movb $0x1, %bpl
leaq 0x70(%rsp), %rsi
movq %rbx, %rdi
callq 0xb720
xorl %ebp, %ebp
movq 0x3a314(%rip), %rsi     # 0x5fff0
movq 0x3a29d(%rip), %rdx     # 0x5ff80
movq %rbx, %rdi
callq 0xb7d0
movq %rdi, %r14
jmp 0x25e63
jmp 0x25e60
movq %rax, %r14
movq 0xd0(%rsp), %rdi
leaq 0xe0(%rsp), %rax
cmpq %rax, %rdi
je 0x25d25
movq 0xe0(%rsp), %rsi
incq %rsi
callq 0xb4a0
jmp 0x25d25
movq %rax, %r14
movq 0x70(%rsp), %rdi
leaq 0x80(%rsp), %rax
cmpq %rax, %rdi
je 0x25d4c
movq 0x80(%rsp), %rsi
incq %rsi
callq 0xb4a0
jmp 0x25d4c
movq %rax, %r14
movq 0x90(%rsp), %rdi
leaq 0xa0(%rsp), %rax
cmpq %rax, %rdi
je 0x25d76
movq 0xa0(%rsp), %rsi
incq %rsi
callq 0xb4a0
jmp 0x25d76
movq %rax, %r14
movq 0x38(%rsp), %rdi
leaq 0x48(%rsp), %rax
cmpq %rax, %rdi
je 0x25d97
movq 0x48(%rsp), %rsi
incq %rsi
callq 0xb4a0
jmp 0x25d97
movq %rax, %r14
movq 0xb0(%rsp), %rdi
leaq 0xc0(%rsp), %rax
cmpq %rax, %rdi
je 0x25dc1
movq 0xc0(%rsp), %rsi
incq %rsi
callq 0xb4a0
jmp 0x25dc1
movq %rax, %r14
callq 0xb750
jmp 0x25e63
movq %rax, %rdi
callq 0x14d37
movq %rax, %r14
jmp 0x25e0f
movq %rax, %r14
movq 0x70(%rsp), %rdi
leaq 0x80(%rsp), %rax
cmpq %rax, %rdi
je 0x25dfd
movq 0x80(%rsp), %rsi
incq %rsi
callq 0xb4a0
testb %bpl, %bpl
jne 0x25e07
jmp 0x25e0f
movq %rax, %r14
movq %rbx, %rdi
callq 0xb360
movq 0x3a172(%rip), %rsi     # 0x5ff88
leaq 0xd0(%rsp), %rdi
callq 0xb220
leaq 0x140(%rsp), %rdi
callq 0xb120
jmp 0x25e63
jmp 0x25e60
movq %rax, %r14
movq 0xd0(%rsp), %rdi
leaq 0xe0(%rsp), %rax
cmpq %rax, %rdi
je 0x25e63
movq 0xe0(%rsp), %rsi
incq %rsi
callq 0xb4a0
jmp 0x25e63
jmp 0x25e60
movq %rax, %r14
leaq 0x10(%rsp), %rdi
callq 0x13df2
movq 0x28(%rsp), %rdi
callq 0x21ad4
movq %r14, %rdi
callq 0xb820
nop