// File: /workspace/github_cpp_makefile_star2_O3/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&, net_option*, int)
void validate(boost::any &v, const std::vector<std::string> &values, net_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+)");
    boost::smatch match;
    if (boost::regex_match(s, match, r)) {
        net_option o;
        o.host = match[1];
        o.port = match[2];
        v = boost::any(o);
    } else {
        throw po::validation_error(po::validation_error::invalid_option_value);
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xb8, %rsp
movq %rsi, %r14
movq %rdi, %rbx
callq 0xeab0
movq %r14, %rdi
xorl %esi, %esi
callq 0x2f6c9
movq %rax, %r14
movb 0x44e65(%rip), %al      # 0x71c08
testb %al, %al
je 0x2cf6b
xorps %xmm0, %xmm0
leaq 0x60(%rsp), %rdx
movaps %xmm0, 0x20(%rdx)
movaps %xmm0, 0x10(%rdx)
movaps %xmm0, (%rdx)
movb $0x0, 0x30(%rdx)
movups %xmm0, 0x38(%rdx)
movl $0x0, 0x48(%rdx)
movb $0x1, 0x4c(%rdx)
movq (%r14), %rdi
movq 0x8(%r14), %rsi
addq %rdi, %rsi
leaq 0x44e16(%rip), %rcx     # 0x71bf8
xorl %r8d, %r8d
callq 0x47cad
testb %al, %al
je 0x2cfbf
leaq 0x30(%rsp), %r15
movq %r15, -0x10(%r15)
xorl %eax, %eax
movq %rax, -0x8(%r15)
movb %al, (%r15)
leaq 0x50(%rsp), %r12
movq %r12, -0x10(%r12)
movq %rax, -0x8(%r12)
movb %al, (%r12)
leaq 0x60(%rsp), %rdi
movl $0x1, %esi
callq 0x2f886
cmpb $0x1, 0x10(%rax)
jne 0x2ce46
movq (%rax), %rsi
movq 0x8(%rax), %rdx
leaq 0x10(%rsp), %rax
movq %rax, -0x10(%rax)
movq %rsp, %rdi
callq 0x4d084
jmp 0x2ce5a
leaq 0x10(%rsp), %rax
movq %rax, -0x10(%rax)
movq $0x0, -0x8(%rax)
movb $0x0, (%rax)
leaq 0x20(%rsp), %rdi
movq %rsp, %r14
movq %r14, %rsi
callq 0xe7b0
movq (%r14), %rdi
leaq 0x10(%rsp), %r13
cmpq %r13, %rdi
je 0x2ce84
movq 0x10(%rsp), %rsi
incq %rsi
callq 0xe650
leaq 0x60(%rsp), %rdi
movl $0x2, %esi
callq 0x2f886
cmpb $0x1, 0x10(%rax)
jne 0x2cead
movq (%rax), %rsi
movq 0x8(%rax), %rdx
movq %rsp, %rdi
movq %r13, (%rdi)
callq 0x4d084
jmp 0x2cebf
movq %r13, (%rsp)
movq $0x0, 0x8(%rsp)
movb $0x0, 0x10(%rsp)
leaq 0x40(%rsp), %rdi
movq %rsp, %r14
movq %r14, %rsi
callq 0xe7b0
movq (%r14), %rdi
cmpq %r13, %rdi
je 0x2cee4
movq 0x10(%rsp), %rsi
incq %rsi
callq 0xe650
movq %rsp, %rdi
leaq 0x20(%rsp), %rsi
xorl %edx, %edx
xorl %ecx, %ecx
callq 0x2f8de
movq (%rsp), %rax
movq (%rbx), %rdi
movq %rax, (%rbx)
movq $0x0, (%rsp)
testq %rdi, %rdi
je 0x2cf21
movq (%rdi), %rax
callq *0x8(%rax)
movq (%rsp), %rdi
testq %rdi, %rdi
je 0x2cf21
movq (%rdi), %rax
callq *0x8(%rax)
movq 0x40(%rsp), %rdi
cmpq %r12, %rdi
je 0x2cf38
movq 0x50(%rsp), %rsi
incq %rsi
callq 0xe650
movq 0x20(%rsp), %rdi
cmpq %r15, %rdi
je 0x2cf4f
movq 0x30(%rsp), %rsi
incq %rsi
callq 0xe650
leaq 0x60(%rsp), %rdi
callq 0x2fa06
addq $0xb8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x44c96(%rip), %rdi     # 0x71c08
callq 0xeba0
testl %eax, %eax
je 0x2cdab
leaq 0x44c72(%rip), %rdi     # 0x71bf8
leaq 0x2386b(%rip), %rsi     # 0x507f8
xorl %edx, %edx
callq 0x2f834
leaq 0x28e1(%rip), %rdi      # 0x2f87c
leaq 0x44c56(%rip), %rsi     # 0x71bf8
leaq 0x446bf(%rip), %rdx     # 0x71668
callq 0xe580
leaq 0x44c53(%rip), %rdi     # 0x71c08
callq 0xe420
jmp 0x2cdab
movl $0xc0, %edi
callq 0xe300
movq %rax, %rbx
leaq 0x30(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x232ad(%rip), %rdx     # 0x50289
leaq 0x20(%rsp), %rdi
movq %rdx, %rsi
callq 0x134ac
leaq 0x10(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x2328f(%rip), %rdx     # 0x50289
movq %rsp, %rdi
movq %rdx, %rsi
callq 0x134ac
movb $0x1, %bpl
leaq 0x20(%rsp), %rdx
movq %rsp, %rcx
movq %rbx, %rdi
movl $0x21, %esi
xorl %r8d, %r8d
callq 0x2f958
xorl %ebp, %ebp
leaq 0x42217(%rip), %rsi     # 0x6f240
leaq 0x6238(%rip), %rdx      # 0x33268
movq %rbx, %rdi
callq 0xeb00
movq %rax, %r14
leaq 0x44bc6(%rip), %rdi     # 0x71c08
callq 0xe410
jmp 0x2d0cc
movq %rax, %r14
movq (%rsp), %rdi
cmpq %r12, %rdi
je 0x2d065
movq 0x10(%rsp), %rsi
incq %rsi
callq 0xe650
movq 0x20(%rsp), %rdi
cmpq %r15, %rdi
je 0x2d07c
movq 0x30(%rsp), %rsi
incq %rsi
callq 0xe650
testb %bpl, %bpl
jne 0x2d0a2
jmp 0x2d0c2
movq %rax, %r14
movq 0x20(%rsp), %rdi
cmpq %r15, %rdi
je 0x2d0a2
movq 0x30(%rsp), %rsi
incq %rsi
callq 0xe650
jmp 0x2d0a2
movq %rax, %r14
movq %rbx, %rdi
callq 0xe4b0
jmp 0x2d0c2
jmp 0x2d0b5
movq %rax, %r14
jmp 0x2d0c2
jmp 0x2d0b5
movq %rax, %r14
leaq 0x20(%rsp), %rdi
callq 0x2f922
leaq 0x60(%rsp), %rdi
callq 0x2fa06
movq %r14, %rdi
callq 0xeb40