// 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&, 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 0xeab0
movq %r14, %rdi
xorl %esi, %esi
callq 0x2f6c9
movq %rax, %r14
movb 0x44b1d(%rip), %al      # 0x71c20
testb %al, %al
je 0x2d37a
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 0x44acb(%rip), %rcx     # 0x71c10
xorl %r8d, %r8d
callq 0x47cad
testb %al, %al
je 0x2d3ce
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 0x10798
leaq 0xc0(%rsp), %rdi
movl $0x1, %esi
callq 0x2f886
cmpb $0x1, 0x10(%rax)
jne 0x2d1c0
movq (%rax), %rsi
movq 0x8(%rax), %rdx
leaq 0x10(%rsp), %rax
movq %rax, -0x10(%rax)
movq %rsp, %rdi
callq 0x4d084
jmp 0x2d1d4
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 0xe7b0
movq (%r15), %rdi
leaq 0x10(%rsp), %rbp
cmpq %rbp, %rdi
je 0x2d1fe
movq 0x10(%rsp), %rsi
incq %rsi
callq 0xe650
leaq 0xc0(%rsp), %rdi
movl $0x2, %esi
callq 0x2f886
cmpb $0x1, 0x10(%rax)
jne 0x2d22a
movq (%rax), %rsi
movq 0x8(%rax), %rdx
movq %rsp, %rdi
movq %rbp, (%rdi)
callq 0x4d084
jmp 0x2d23c
movq %rbp, (%rsp)
movq $0x0, 0x8(%rsp)
movb $0x0, 0x10(%rsp)
leaq 0x70(%rsp), %rdi
movq %rsp, %r15
movq %r15, %rsi
callq 0xe7b0
movq (%r15), %rdi
cmpq %rbp, %rdi
je 0x2d261
movq 0x10(%rsp), %rsi
incq %rsi
callq 0xe650
leaq 0xc0(%rsp), %rdi
movl $0x3, %esi
callq 0x2f886
cmpb $0x1, 0x10(%rax)
jne 0x2d295
movq (%rax), %rsi
movq 0x8(%rax), %rdx
leaq 0x40(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x30(%rsp), %rdi
callq 0x4d084
jmp 0x2d2a9
leaq 0x40(%rsp), %rax
movq %rax, -0x10(%rax)
movq $0x0, -0x8(%rax)
movb $0x0, (%rax)
movq %rsp, %rdi
leaq 0x30(%rsp), %rsi
callq 0x108c2
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 0x2d2ed
movq 0x40(%rsp), %rsi
incq %rsi
callq 0xe650
movq %rsp, %rdi
leaq 0x50(%rsp), %rsi
xorl %edx, %edx
xorl %ecx, %ecx
callq 0x2fa2a
movq (%rsp), %rax
movq (%rbx), %rdi
movq %rax, (%rbx)
movq $0x0, (%rsp)
testq %rdi, %rdi
je 0x2d32a
movq (%rdi), %rax
callq *0x8(%rax)
movq (%rsp), %rdi
testq %rdi, %rdi
je 0x2d32a
movq (%rdi), %rax
callq *0x8(%rax)
movq 0x70(%rsp), %rdi
cmpq %r13, %rdi
je 0x2d344
movq 0x80(%rsp), %rsi
incq %rsi
callq 0xe650
movq 0x50(%rsp), %rdi
cmpq %r12, %rdi
je 0x2d35b
movq 0x60(%rsp), %rsi
incq %rsi
callq 0xe650
leaq 0xc0(%rsp), %rdi
callq 0x2fa06
addq $0x118, %rsp            # imm = 0x118
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x4489f(%rip), %rdi     # 0x71c20
callq 0xeba0
testl %eax, %eax
je 0x2d10b
leaq 0x4487b(%rip), %rdi     # 0x71c10
leaq 0x2346a(%rip), %rsi     # 0x50806
xorl %edx, %edx
callq 0x2f834
leaq 0x24d2(%rip), %rdi      # 0x2f87c
leaq 0x4485f(%rip), %rsi     # 0x71c10
leaq 0x442b0(%rip), %rdx     # 0x71668
callq 0xe580
leaq 0x4485c(%rip), %rdi     # 0x71c20
callq 0xe420
jmp 0x2d10b
movl $0xc0, %edi
callq 0xe300
movq %rax, %r14
leaq 0x60(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x22e9e(%rip), %rdx     # 0x50289
leaq 0x50(%rsp), %rdi
movq %rdx, %rsi
callq 0x134ac
leaq 0x10(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x22e80(%rip), %rdx     # 0x50289
movq %rsp, %rdi
movq %rdx, %rsi
callq 0x134ac
movb $0x1, %bpl
leaq 0x50(%rsp), %rdx
movq %rsp, %rcx
movq %r14, %rdi
movl $0x21, %esi
xorl %r8d, %r8d
callq 0x2f958
xorl %ebp, %ebp
leaq 0x41e08(%rip), %rsi     # 0x6f240
leaq 0x5e29(%rip), %rdx      # 0x33268
movq %r14, %rdi
callq 0xeb00
movq %rax, %rbx
leaq 0x447cf(%rip), %rdi     # 0x71c20
callq 0xe410
jmp 0x2d539
movq %rax, %rbx
movq (%rsp), %rdi
cmpq %r12, %rdi
je 0x2d474
movq 0x10(%rsp), %rsi
incq %rsi
callq 0xe650
movq 0x50(%rsp), %rdi
cmpq %r15, %rdi
je 0x2d48b
movq 0x60(%rsp), %rsi
incq %rsi
callq 0xe650
testb %bpl, %bpl
jne 0x2d4b4
jmp 0x2d52c
movq %rax, %rbx
movq 0x50(%rsp), %rdi
cmpq %r15, %rdi
je 0x2d4b4
movq 0x60(%rsp), %rsi
incq %rsi
callq 0xe650
jmp 0x2d4b4
movq %rax, %rbx
movq %r14, %rdi
callq 0xe4b0
jmp 0x2d52c
jmp 0x2d51f
movq %rax, %rbx
leaq 0x40(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x2d522
movq 0x40(%rsp), %rsi
incq %rsi
callq 0xe650
jmp 0x2d522
movq %rax, %rbx
movq 0x70(%rsp), %rdi
cmpq %r13, %rdi
je 0x2d4fd
movq 0x80(%rsp), %rsi
incq %rsi
callq 0xe650
movq 0x50(%rsp), %rdi
cmpq %r12, %rdi
je 0x2d52c
movq 0x60(%rsp), %rsi
incq %rsi
callq 0xe650
jmp 0x2d52c
movq %rax, %rbx
jmp 0x2d52c
jmp 0x2d51f
jmp 0x2d51f
movq %rax, %rbx
leaq 0x50(%rsp), %rdi
callq 0x2fab2
leaq 0xc0(%rsp), %rdi
callq 0x2fa06
movq %rbx, %rdi
callq 0xeb40