// File: /workspace/github_cpp_makefile_star2_O2/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 $0x258, %rsp            # imm = 0x258
movq %rcx, 0x48(%rsp)
movq %rdx, 0x58(%rsp)
movq %rsi, 0x50(%rsp)
xorps %xmm0, %xmm0
movups %xmm0, (%rdi)
movq %rdi, 0x30(%rsp)
andq $0x0, 0x10(%rdi)
leaq 0x10(%rsp), %rax
movaps %xmm0, (%rax)
andq $0x0, 0x10(%rax)
xorl %r15d, %r15d
movq 0x58(%rsp), %rax
movq (%rax), %rcx
movq 0x8(%rax), %rax
subq %rcx, %rax
cqto
pushq $0x28
popq %rsi
idivq %rsi
cmpq %rax, %r15
jae 0x1f34e
imulq $0x28, %r15, %rax
leaq (%rcx,%rax), %r13
movq 0x50(%rsp), %rdx
movq 0x8(%rdx), %r14
movq 0x10(%rdx), %r12
leaq (%rcx,%rax), %rbx
addq $0x8, %rbx
cmpq %r12, %r14
je 0x1f344
movl (%r13), %eax
cmpl $0x1, %eax
jne 0x1f109
leaq 0x68(%r14), %rdi
movq %rbx, %rsi
callq 0x1f6cc
testb %al, %al
jne 0x1f129
movl (%r13), %eax
cmpl $0x2, %eax
jne 0x1f2c1
leaq 0x80(%r14), %rsi
movq %rbx, %rdi
callq 0x12a23
testb %al, %al
je 0x1f2c1
cmpq $0x0, 0x50(%r14)
je 0x1f189
movq 0x58(%rsp), %rax
movq (%rax), %rcx
movq 0x8(%rax), %rax
subq %rcx, %rax
cqto
pushq $0x28
popq %rsi
idivq %rsi
decq %rax
cmpq %rax, %r15
je 0x1f15d
leaq 0x1(%r15), %rbp
imulq $0x28, %rbp, %rax
cmpl $0x0, (%rcx,%rax)
je 0x1f19f
leaq 0xe0(%rsp), %rbp
movq %rbp, %rdi
leaq 0x17258(%rip), %rsi     # 0x363c7
movq %rbx, %rdx
callq 0x12399
leaq 0x10(%rsp), %rdi
movq %rbp, %rsi
callq 0x282c4
jmp 0x1f2cd
movq (%r14), %rdi
movq (%rdi), %rax
movq 0x48(%rsp), %rsi
callq *0x18(%rax)
movq %r15, %rbp
jmp 0x1f2d8
addq %rax, %rcx
addq $0x8, %rcx
movq (%r14), %rdi
movq (%rdi), %rax
movq %rbp, %r15
movq 0x48(%rsp), %rsi
movq %rcx, %rdx
callq *0x10(%rax)
jmp 0x1f2d8
movq %rdx, 0x38(%rsp)
movq %rax, 0x40(%rsp)
jmp 0x1f1dd
movq %rdx, 0x38(%rsp)
movq %rax, 0x40(%rsp)
movq %rbp, %rdi
callq 0xc978
movq 0x40(%rsp), %rdi
movq 0x38(%rsp), %rdx
jmp 0x1f1ec
movq %rax, %rdi
cmpl $0x1, %edx
jne 0x1f40e
callq 0xc1c0
movq (%rax), %rcx
movq %rax, %rdi
callq *0x10(%rcx)
leaq 0xc0(%rsp), %rbp
movq %rbp, %rdi
movq %rax, %rsi
leaq 0xf(%rsp), %rdx
callq 0x11b1a
leaq 0x80(%rsp), %rdi
movq %rbp, %rsi
leaq 0x171b8(%rip), %rdx     # 0x363e5
callq 0x12772
leaq 0xa0(%rsp), %rbp
movq %rbp, %rdi
movq %r14, %rsi
callq 0x1f6e8
leaq 0x60(%rsp), %rdi
leaq 0x80(%rsp), %rsi
movq %rbp, %rdx
callq 0x12b34
leaq 0xe0(%rsp), %rbp
movq %rbp, %rdi
leaq 0x60(%rsp), %rsi
leaq 0x16722(%rip), %rdx     # 0x35993
callq 0x12772
leaq 0x10(%rsp), %rdi
movq %rbp, %rsi
callq 0x282c4
movq %rbp, %rdi
callq 0xc978
leaq 0x60(%rsp), %rdi
callq 0xc978
leaq 0xa0(%rsp), %rdi
callq 0xc978
leaq 0x80(%rsp), %rdi
callq 0xc978
leaq 0xc0(%rsp), %rdi
callq 0xc978
callq 0xc790
addq $0xa8, %r14
jmp 0x1f0e3
movq %rbp, %rdi
callq 0xc978
movq %r15, %rbp
movq %rbp, %r15
cmpq %r12, %r14
leaq 0xe0(%rsp), %r14
jne 0x1f33c
cmpl $0x0, (%r13)
je 0x1f32f
movq 0x50(%rsp), %rax
cmpb $0x0, 0x5c(%rax)
je 0x1f32f
movq 0x10(%rsp), %rax
cmpq 0x18(%rsp), %rax
jne 0x1f33c
movq %r14, %rdi
leaq 0x170e9(%rip), %rsi     # 0x363f9
movq %rbx, %rdx
callq 0x12399
leaq 0x10(%rsp), %rdi
movq %r14, %rsi
callq 0x282c4
movq %r14, %rdi
callq 0xc978
jmp 0x1f33c
movq 0x30(%rsp), %rdi
movq %r13, %rsi
callq 0x1ed94
incq %r15
jmp 0x1f0a6
leaq 0xe0(%rsp), %r14
jmp 0x1f2e8
movq 0x10(%rsp), %rax
cmpq 0x18(%rsp), %rax
jne 0x1f37b
leaq 0x10(%rsp), %rdi
callq 0x11b8a
movq 0x30(%rsp), %rax
addq $0x258, %rsp            # imm = 0x258
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0xe0(%rsp), %rdi
callq 0xc640
movq 0x10(%rsp), %rbx
movq 0x18(%rsp), %r12
leaq 0xe0(%rsp), %r14
leaq 0x17650(%rip), %r15     # 0x369f1
cmpq %r12, %rbx
je 0x1f3c9
cmpq 0x10(%rsp), %rbx
je 0x1f3b8
movq %r14, %rdi
movq %r15, %rsi
callq 0xc4d0
movq %r14, %rdi
movq %rbx, %rsi
callq 0xc430
addq $0x20, %rbx
jmp 0x1f3a1
pushq $0x10
popq %rdi
callq 0xc230
movq %rax, %rbx
leaq 0xe8(%rsp), %rsi
leaq 0x60(%rsp), %rdi
callq 0xc720
movb $0x1, %bpl
leaq 0x60(%rsp), %rsi
movq %rbx, %rdi
callq 0xc770
xorl %ebp, %ebp
movq 0x34bf1(%rip), %rsi     # 0x53ff0
movq 0x34b82(%rip), %rdx     # 0x53f88
movq %rbx, %rdi
callq 0xc800
movq %rdi, %r14
jmp 0x1f4d0
movq %rax, %r14
leaq 0xe0(%rsp), %rdi
callq 0xc978
jmp 0x1f42b
movq %rax, %r14
leaq 0x60(%rsp), %rdi
callq 0xc978
jmp 0x1f444
movq %rax, %r14
jmp 0x1f463
jmp 0x1f4cd
movq %rax, %r14
leaq 0xa0(%rsp), %rdi
callq 0xc978
jmp 0x1f456
movq %rax, %r14
leaq 0x80(%rsp), %rdi
callq 0xc978
leaq 0xc0(%rsp), %rdi
callq 0xc978
callq 0xc790
jmp 0x1f4d0
movq %rax, %r14
jmp 0x1f470
movq %rax, %rdi
callq 0x12660
movq %rax, %r14
leaq 0x60(%rsp), %rdi
callq 0xc978
testb %bpl, %bpl
jne 0x1f49b
jmp 0x1f4a8
movq %rax, %r14
movq %rbx, %rdi
callq 0xc390
jmp 0x1f4a8
movq %rax, %r14
leaq 0xe0(%rsp), %rdi
callq 0xc0e0
jmp 0x1f4d0
jmp 0x1f4cd
movq %rax, %r14
leaq 0xe0(%rsp), %rdi
callq 0xc978
jmp 0x1f4d0
jmp 0x1f4cd
movq %rax, %r14
leaq 0x10(%rsp), %rdi
callq 0x11b8a
movq 0x30(%rsp), %rdi
callq 0x1c46a
movq %r14, %rdi
callq 0xc840