// File: /workspace/github_cpp_makefile_star2_O2/flightaware[P]beast-splitter/splitter_main.cc
// Function: validate(boost::any&, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>> const&, connect_option*, int)
void validate(boost::any &v, const std::vector<std::string> &values, connect_option *target_type, int) {
    po::validators::check_first_occurrence(v);
    const std::string &s = po::validators::get_single_string(values);

    static const boost::regex r("([^:]+):(\\d+)(?::([a-zA-Z]+))?");
    boost::smatch match;
    if (boost::regex_match(s, match, r)) {
        connect_option o;
        o.host = match[1];
        o.port = match[2];
        o.settings = beast::Settings(match[3]);
        v = boost::any(o);
    } else {
        throw po::validation_error(po::validation_error::invalid_option_value);
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x128, %rsp            # imm = 0x128
movq %rsi, %r14
movq %rdi, %rbx
callq 0xfae0
movq %r14, %rdi
xorl %esi, %esi
callq 0x29e76
movq %rax, %r14
movb 0x456bf(%rip), %al      # 0x6dc70
testb %al, %al
je 0x28730
xorps %xmm0, %xmm0
leaq 0xd0(%rsp), %rsi
movaps %xmm0, 0x20(%rsi)
movaps %xmm0, 0x10(%rsi)
movaps %xmm0, (%rsi)
movb $0x0, 0x30(%rsi)
movups %xmm0, 0x38(%rsi)
andl $0x0, 0x48(%rsi)
movb $0x1, 0x4c(%rsi)
leaq 0x4567a(%rip), %rdx     # 0x6dc60
movq %r14, %rdi
xorl %ecx, %ecx
callq 0x2a03f
testb %al, %al
je 0x28784
leaq 0x60(%rsp), %rdi
callq 0x2a8ba
leaq 0xd0(%rsp), %rdi
pushq $0x1
popq %rsi
callq 0x2a05a
leaq 0x10(%rsp), %rdi
movq %rax, %rsi
callq 0x2a0b2
leaq 0x60(%rsp), %rdi
leaq 0x10(%rsp), %r14
movq %r14, %rsi
callq 0xf7b0
movq %r14, %rdi
callq 0xfd68
leaq 0xd0(%rsp), %rdi
pushq $0x2
popq %rsi
callq 0x2a05a
leaq 0x10(%rsp), %rdi
movq %rax, %rsi
callq 0x2a0b2
leaq 0x80(%rsp), %rdi
leaq 0x10(%rsp), %r14
movq %r14, %rsi
callq 0xf7b0
movq %r14, %rdi
callq 0xfd68
leaq 0xd0(%rsp), %rdi
pushq $0x3
popq %rsi
callq 0x2a05a
leaq 0x40(%rsp), %rdi
movq %rax, %rsi
callq 0x2a0b2
leaq 0x10(%rsp), %rdi
leaq 0x40(%rsp), %rsi
callq 0x1176e
leaq 0x10(%rsp), %r14
movups (%r14), %xmm0
movups 0x10(%r14), %xmm1
movups 0x20(%r14), %xmm2
leaq 0x60(%rsp), %r15
movups %xmm2, 0x60(%r15)
movups %xmm1, 0x50(%r15)
movups %xmm0, 0x40(%r15)
leaq 0x40(%rsp), %rdi
callq 0xfd68
movq %r14, %rdi
movq %r15, %rsi
xorl %edx, %edx
xorl %ecx, %ecx
callq 0x2a1e4
movq 0x10(%rsp), %rax
movq (%rbx), %rdi
movq %rax, (%rbx)
andq $0x0, 0x10(%rsp)
testq %rdi, %rdi
je 0x2870b
movq (%rdi), %rax
callq *0x8(%rax)
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x2870b
movq (%rdi), %rax
callq *0x8(%rax)
leaq 0x60(%rsp), %rdi
callq 0x2a264
leaq 0xd0(%rsp), %rdi
callq 0x2a1ce
addq $0x128, %rsp            # imm = 0x128
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
leaq 0x45539(%rip), %rdi     # 0x6dc70
callq 0xfc10
testl %eax, %eax
je 0x285b9
leaq 0x45515(%rip), %rdi     # 0x6dc60
leaq 0x1d184(%rip), %rsi     # 0x458d6
xorl %edx, %edx
callq 0x2a004
leaq 0x18d6(%rip), %rdi      # 0x2a036
leaq 0x454f9(%rip), %rsi     # 0x6dc60
leaq 0x44f4a(%rip), %rdx     # 0x6d6b8
callq 0xf580
leaq 0x454f6(%rip), %rdi     # 0x6dc70
callq 0xf440
jmp 0x285b9
movl $0xc0, %edi
callq 0xf320
movq %rax, %rbx
leaq 0x1cb91(%rip), %rsi     # 0x45329
leaq 0x60(%rsp), %rdi
leaq 0x40(%rsp), %rdx
callq 0x13c2e
leaq 0x1cb7b(%rip), %rsi     # 0x45329
leaq 0x10(%rsp), %rdi
leaq 0xf(%rsp), %rdx
callq 0x13c2e
movb $0x1, %bpl
pushq $0x21
popq %rsi
leaq 0x60(%rsp), %rdx
leaq 0x10(%rsp), %rcx
movq %rbx, %rdi
xorl %r8d, %r8d
callq 0x2a142
xorl %ebp, %ebp
leaq 0x429df(%rip), %rsi     # 0x6b1c0
leaq 0x4160(%rip), %rdx      # 0x2c948
movq %rbx, %rdi
callq 0xfb50
movq %rax, %r14
leaq 0x45476(%rip), %rdi     # 0x6dc70
callq 0xf430
jmp 0x2886a
movq %rax, %r14
leaq 0x10(%rsp), %rdi
callq 0xfd68
jmp 0x28816
movq %rax, %r14
movb $0x1, %bpl
leaq 0x60(%rsp), %rdi
callq 0xfd68
testb %bpl, %bpl
jne 0x2882a
jmp 0x2885d
movq %rax, %r14
movq %rbx, %rdi
callq 0xf4c0
jmp 0x2885d
jmp 0x28850
movq %rax, %r14
leaq 0x40(%rsp), %rdi
callq 0xfd68
jmp 0x28853
jmp 0x28847
movq %rax, %r14
jmp 0x2885d
jmp 0x28850
jmp 0x28850
movq %rax, %r14
leaq 0x60(%rsp), %rdi
callq 0x2a264
leaq 0xd0(%rsp), %rdi
callq 0x2a1ce
movq %r14, %rdi
callq 0xfba0