// File: madpilot[P]mDNSResolver/test/catch.h
// Function: Catch::Clara::Parser::handleOpt(unsigned long, char, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::vector<Catch::Clara::Parser::Token, std::allocator<Catch::Clara::Parser::Token>>&)
Mode handleOpt( std::size_t i, char c, std::string const& arg, std::vector<Token>& tokens ) {
            if( std::string( ":=\0", 3 ).find( c ) == std::string::npos )
                return mode;

            std::string optName = arg.substr( from, i-from );
            if( mode == ShortOpt )
                for( std::size_t j = 0; j < optName.size(); ++j )
                    tokens.push_back( Token( Token::ShortOpt, optName.substr( j, 1 ) ) );
            else if( mode == SlashOpt && optName.size() == 1 )
                tokens.push_back( Token( Token::ShortOpt, optName ) );
            else
                tokens.push_back( Token( Token::LongOpt, optName ) );
            return None;
        }

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x160, %rsp            # imm = 0x160
movb %dl, %al
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movb %al, -0x19(%rbp)
movq %rcx, -0x28(%rbp)
movq %r8, -0x30(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x138(%rbp)
leaq -0x51(%rbp), %rdi
movq %rdi, -0x130(%rbp)
callq 0xc8c0
movq -0x130(%rbp), %rcx
leaq 0x47776(%rip), %rsi     # 0x865ff
leaq -0x50(%rbp), %rdi
movl $0x3, %edx
callq 0xc560
jmp 0x3ee99
leaq -0x50(%rbp), %rdi
xorl %eax, %eax
movl %eax, %edx
movsbl -0x19(%rbp), %esi
callq 0xc650
movq %rax, -0x140(%rbp)
leaq -0x50(%rbp), %rdi
callq 0xc9d8
leaq -0x51(%rbp), %rdi
callq 0xc530
movq -0x140(%rbp), %rax
cmpq $-0x1, %rax
jne 0x3eefb
movq -0x138(%rbp), %rax
movl (%rax), %eax
movl %eax, -0x4(%rbp)
jmp 0x3f144
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x60(%rbp)
movl %eax, -0x64(%rbp)
leaq -0x51(%rbp), %rdi
callq 0xc530
jmp 0x3f150
movq -0x138(%rbp), %rax
movq -0x28(%rbp), %rsi
movq 0x8(%rax), %rdx
movq -0x18(%rbp), %rcx
subq 0x8(%rax), %rcx
leaq -0x88(%rbp), %rdi
callq 0xc500
movq -0x138(%rbp), %rax
cmpl $0x3, (%rax)
jne 0x3f03d
movq $0x0, -0x90(%rbp)
movq -0x90(%rbp), %rax
movq %rax, -0x148(%rbp)
leaq -0x88(%rbp), %rdi
callq 0xc390
movq %rax, %rcx
movq -0x148(%rbp), %rax
cmpq %rcx, %rax
jae 0x3f038
movq -0x30(%rbp), %rax
movq %rax, -0x150(%rbp)
movq -0x90(%rbp), %rdx
leaq -0xd8(%rbp), %rdi
leaq -0x88(%rbp), %rsi
movl $0x1, %ecx
callq 0xc500
jmp 0x3ef92
leaq -0xb8(%rbp), %rdi
movl $0x1, %esi
leaq -0xd8(%rbp), %rdx
callq 0x3f360
jmp 0x3efac
movq -0x150(%rbp), %rdi
leaq -0xb8(%rbp), %rsi
callq 0x3f330
jmp 0x3efc1
leaq -0xb8(%rbp), %rdi
callq 0x3d230
leaq -0xd8(%rbp), %rdi
callq 0xc9d8
movq -0x90(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x90(%rbp)
jmp 0x3ef39
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x60(%rbp)
movl %eax, -0x64(%rbp)
jmp 0x3f136
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x60(%rbp)
movl %eax, -0x64(%rbp)
jmp 0x3f027
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x60(%rbp)
movl %eax, -0x64(%rbp)
leaq -0xb8(%rbp), %rdi
callq 0x3d230
leaq -0xd8(%rbp), %rdi
callq 0xc9d8
jmp 0x3f136
jmp 0x3f121
movq -0x138(%rbp), %rax
cmpl $0x2, (%rax)
jne 0x3f0bd
leaq -0x88(%rbp), %rdi
callq 0xc390
cmpq $0x1, %rax
jne 0x3f0bd
movq -0x30(%rbp), %rax
movq %rax, -0x158(%rbp)
leaq -0x100(%rbp), %rdi
movl $0x1, %esi
leaq -0x88(%rbp), %rdx
callq 0x3f360
jmp 0x3f080
movq -0x158(%rbp), %rdi
leaq -0x100(%rbp), %rsi
callq 0x3f330
jmp 0x3f095
leaq -0x100(%rbp), %rdi
callq 0x3d230
jmp 0x3f11f
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x60(%rbp)
movl %eax, -0x64(%rbp)
leaq -0x100(%rbp), %rdi
callq 0x3d230
jmp 0x3f136
movq -0x30(%rbp), %rax
movq %rax, -0x160(%rbp)
leaq -0x128(%rbp), %rdi
movl $0x2, %esi
leaq -0x88(%rbp), %rdx
callq 0x3f360
jmp 0x3f0e2
movq -0x160(%rbp), %rdi
leaq -0x128(%rbp), %rsi
callq 0x3f330
jmp 0x3f0f7
leaq -0x128(%rbp), %rdi
callq 0x3d230
jmp 0x3f11f
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x60(%rbp)
movl %eax, -0x64(%rbp)
leaq -0x128(%rbp), %rdi
callq 0x3d230
jmp 0x3f136
jmp 0x3f121
movl $0x0, -0x4(%rbp)
leaq -0x88(%rbp), %rdi
callq 0xc9d8
jmp 0x3f144
leaq -0x88(%rbp), %rdi
callq 0xc9d8
jmp 0x3f150
movl -0x4(%rbp), %eax
addq $0x160, %rsp            # imm = 0x160
popq %rbp
retq
movq -0x60(%rbp), %rdi
callq 0xc8b0
nopl (%rax)