// File: /workspace/github_cpp_makefile_star2_O1/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 %r13
pushq %r12
pushq %rbx
subq $0x118, %rsp            # imm = 0x118
movq %rsi, %r14
movq %rdi, %rbx
callq 0xfab0
movq %r14, %rdi
xorl %esi, %esi
callq 0x3144f
movq %rax, %r14
movb 0x44db9(%rip), %al      # 0x73c20
testb %al, %al
je 0x2f0e2
xorps %xmm0, %xmm0
leaq 0xc0(%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 0x44d67(%rip), %rcx     # 0x73c10
xorl %r8d, %r8d
callq 0x49d51
testb %al, %al
je 0x2f136
leaq 0x60(%rsp), %r12
movq %r12, -0x10(%r12)
xorl %eax, %eax
movq %rax, -0x8(%r12)
movb %al, (%r12)
leaq 0x80(%rsp), %r13
movq %r13, -0x10(%r13)
movq %rax, -0x8(%r13)
movb %al, (%r13)
leaq 0x90(%rsp), %r14
movq %r14, %rdi
callq 0x118c8
leaq 0xc0(%rsp), %rdi
movl $0x1, %esi
callq 0x3160c
cmpb $0x1, 0x10(%rax)
jne 0x2ef24
movq (%rax), %rsi
movq 0x8(%rax), %rdx
leaq 0x10(%rsp), %rax
movq %rax, -0x10(%rax)
movq %rsp, %rdi
callq 0x4f074
jmp 0x2ef38
leaq 0x10(%rsp), %rax
movq %rax, -0x10(%rax)
movq $0x0, -0x8(%rax)
movb $0x0, (%rax)
leaq 0x50(%rsp), %rdi
movq %rsp, %r15
movq %r15, %rsi
callq 0xf7b0
movq (%r15), %rdi
leaq 0x10(%rsp), %rbp
cmpq %rbp, %rdi
je 0x2ef62
movq 0x10(%rsp), %rsi
incq %rsi
callq 0xf650
leaq 0xc0(%rsp), %rdi
movl $0x2, %esi
callq 0x3160c
cmpb $0x1, 0x10(%rax)
jne 0x2ef8e
movq (%rax), %rsi
movq 0x8(%rax), %rdx
movq %rsp, %rdi
movq %rbp, (%rdi)
callq 0x4f074
jmp 0x2efa0
movq %rbp, (%rsp)
movq $0x0, 0x8(%rsp)
movb $0x0, 0x10(%rsp)
leaq 0x70(%rsp), %rdi
movq %rsp, %r15
movq %r15, %rsi
callq 0xf7b0
movq (%r15), %rdi
cmpq %rbp, %rdi
je 0x2efc5
movq 0x10(%rsp), %rsi
incq %rsi
callq 0xf650
leaq 0xc0(%rsp), %rdi
movl $0x3, %esi
callq 0x3160c
cmpb $0x1, 0x10(%rax)
jne 0x2eff9
movq (%rax), %rsi
movq 0x8(%rax), %rdx
leaq 0x40(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x30(%rsp), %rdi
callq 0x4f074
jmp 0x2f00d
leaq 0x40(%rsp), %rax
movq %rax, -0x10(%rax)
movq $0x0, -0x8(%rax)
movb $0x0, (%rax)
movq %rsp, %rdi
leaq 0x30(%rsp), %rsi
callq 0x11a2c
movups (%rsp), %xmm0
movups 0x10(%rsp), %xmm1
movups 0x20(%rsp), %xmm2
movups %xmm2, 0x20(%r14)
movups %xmm1, 0x10(%r14)
movups %xmm0, (%r14)
leaq 0x40(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x2f051
movq 0x40(%rsp), %rsi
incq %rsi
callq 0xf650
movq %rsp, %rdi
leaq 0x50(%rsp), %rsi
xorl %edx, %edx
xorl %ecx, %ecx
callq 0x317b0
movq (%rsp), %rax
movq (%rbx), %rdi
movq %rdi, (%rsp)
movq %rax, (%rbx)
movq $0x0, (%rsp)
testq %rdi, %rdi
je 0x2f083
movq (%rdi), %rax
callq *0x8(%rax)
movq (%rsp), %rdi
testq %rdi, %rdi
je 0x2f092
movq (%rdi), %rax
callq *0x8(%rax)
movq 0x70(%rsp), %rdi
cmpq %r13, %rdi
je 0x2f0ac
movq 0x80(%rsp), %rsi
incq %rsi
callq 0xf650
movq 0x50(%rsp), %rdi
cmpq %r12, %rdi
je 0x2f0c3
movq 0x60(%rsp), %rsi
incq %rsi
callq 0xf650
leaq 0xc0(%rsp), %rdi
callq 0x3178c
addq $0x118, %rsp            # imm = 0x118
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x44b37(%rip), %rdi     # 0x73c20
callq 0xfba0
testl %eax, %eax
je 0x2ee6f
leaq 0x44b13(%rip), %rdi     # 0x73c10
leaq 0x236e2(%rip), %rsi     # 0x527e6
xorl %edx, %edx
callq 0x315ba
leaq 0x24f0(%rip), %rdi      # 0x31602
leaq 0x44af7(%rip), %rsi     # 0x73c10
leaq 0x44548(%rip), %rdx     # 0x73668
callq 0xf580
leaq 0x44af4(%rip), %rdi     # 0x73c20
callq 0xf420
jmp 0x2ee6f
movl $0xc0, %edi
callq 0xf300
movq %rax, %r14
leaq 0x60(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x230e6(%rip), %rdx     # 0x52239
leaq 0x50(%rsp), %rdi
movq %rdx, %rsi
callq 0x1469c
leaq 0x10(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x230c8(%rip), %rdx     # 0x52239
movq %rsp, %rdi
movq %rdx, %rsi
callq 0x1469c
movb $0x1, %bpl
leaq 0x50(%rsp), %rdx
movq %rsp, %rcx
movq %r14, %rdi
movl $0x21, %esi
xorl %r8d, %r8d
callq 0x316de
xorl %ebp, %ebp
leaq 0x42038(%rip), %rsi     # 0x711d8
leaq 0x5e89(%rip), %rdx      # 0x35030
movq %r14, %rdi
callq 0xfb00
movq %rax, %rbx
leaq 0x44a67(%rip), %rdi     # 0x73c20
callq 0xf410
jmp 0x2f28d
movq %rax, %rbx
movq (%rsp), %rdi
cmpq %r12, %rdi
je 0x2f1e4
movq 0x10(%rsp), %rsi
incq %rsi
callq 0xf650
jmp 0x2f1e4
movq %rax, %rbx
movb $0x1, %bpl
movq 0x50(%rsp), %rdi
cmpq %r15, %rdi
je 0x2f203
movq 0x60(%rsp), %rsi
incq %rsi
callq 0xf650
jmp 0x2f203
movq %rax, %rbx
movb $0x1, %bpl
testb %bpl, %bpl
je 0x2f280
movq %r14, %rdi
callq 0xf4b0
jmp 0x2f280
jmp 0x2f273
movq %rax, %rbx
leaq 0x40(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x2f276
movq 0x40(%rsp), %rsi
incq %rsi
callq 0xf650
jmp 0x2f276
movq %rax, %rbx
movq 0x70(%rsp), %rdi
cmpq %r13, %rdi
je 0x2f251
movq 0x80(%rsp), %rsi
incq %rsi
callq 0xf650
movq 0x50(%rsp), %rdi
cmpq %r12, %rdi
je 0x2f280
movq 0x60(%rsp), %rsi
incq %rsi
callq 0xf650
jmp 0x2f280
movq %rax, %rbx
jmp 0x2f280
jmp 0x2f273
jmp 0x2f273
movq %rax, %rbx
leaq 0x50(%rsp), %rdi
callq 0x31838
leaq 0xc0(%rsp), %rdi
callq 0x3178c
movq %rbx, %rdi
callq 0xfb40