// 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&, listen_option*, int)
void validate(boost::any &v, const std::vector<std::string> &values, listen_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)) {
        listen_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 0x446c8(%rip), %al      # 0x71c38
testb %al, %al
je 0x2d7e7
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 0x44676(%rip), %rcx     # 0x71c28
xorl %r8d, %r8d
callq 0x47cad
testb %al, %al
je 0x2d83b
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 0x2d62d
movq (%rax), %rsi
movq 0x8(%rax), %rdx
leaq 0x10(%rsp), %rax
movq %rax, -0x10(%rax)
movq %rsp, %rdi
callq 0x4d084
jmp 0x2d641
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 0x2d66b
movq 0x10(%rsp), %rsi
incq %rsi
callq 0xe650
leaq 0xc0(%rsp), %rdi
movl $0x2, %esi
callq 0x2f886
cmpb $0x1, 0x10(%rax)
jne 0x2d697
movq (%rax), %rsi
movq 0x8(%rax), %rdx
movq %rsp, %rdi
movq %rbp, (%rdi)
callq 0x4d084
jmp 0x2d6a9
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 0x2d6ce
movq 0x10(%rsp), %rsi
incq %rsi
callq 0xe650
leaq 0xc0(%rsp), %rdi
movl $0x3, %esi
callq 0x2f886
cmpb $0x1, 0x10(%rax)
jne 0x2d702
movq (%rax), %rsi
movq 0x8(%rax), %rdx
leaq 0x40(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x30(%rsp), %rdi
callq 0x4d084
jmp 0x2d716
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 0x2d75a
movq 0x40(%rsp), %rsi
incq %rsi
callq 0xe650
movq %rsp, %rdi
leaq 0x50(%rsp), %rsi
xorl %edx, %edx
xorl %ecx, %ecx
callq 0x2fa6e
movq (%rsp), %rax
movq (%rbx), %rdi
movq %rax, (%rbx)
movq $0x0, (%rsp)
testq %rdi, %rdi
je 0x2d797
movq (%rdi), %rax
callq *0x8(%rax)
movq (%rsp), %rdi
testq %rdi, %rdi
je 0x2d797
movq (%rdi), %rax
callq *0x8(%rax)
movq 0x70(%rsp), %rdi
cmpq %r13, %rdi
je 0x2d7b1
movq 0x80(%rsp), %rsi
incq %rsi
callq 0xe650
movq 0x50(%rsp), %rdi
cmpq %r12, %rdi
je 0x2d7c8
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 0x4444a(%rip), %rdi     # 0x71c38
callq 0xeba0
testl %eax, %eax
je 0x2d578
leaq 0x44426(%rip), %rdi     # 0x71c28
leaq 0x2301c(%rip), %rsi     # 0x50825
xorl %edx, %edx
callq 0x2f834
leaq 0x2065(%rip), %rdi      # 0x2f87c
leaq 0x4440a(%rip), %rsi     # 0x71c28
leaq 0x43e43(%rip), %rdx     # 0x71668
callq 0xe580
leaq 0x44407(%rip), %rdi     # 0x71c38
callq 0xe420
jmp 0x2d578
movl $0xc0, %edi
callq 0xe300
movq %rax, %r14
leaq 0x60(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x22a31(%rip), %rdx     # 0x50289
leaq 0x50(%rsp), %rdi
movq %rdx, %rsi
callq 0x134ac
leaq 0x10(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x22a13(%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 0x4199b(%rip), %rsi     # 0x6f240
leaq 0x59bc(%rip), %rdx      # 0x33268
movq %r14, %rdi
callq 0xeb00
movq %rax, %rbx
leaq 0x4437a(%rip), %rdi     # 0x71c38
callq 0xe410
jmp 0x2d9a6
movq %rax, %rbx
movq (%rsp), %rdi
cmpq %r12, %rdi
je 0x2d8e1
movq 0x10(%rsp), %rsi
incq %rsi
callq 0xe650
movq 0x50(%rsp), %rdi
cmpq %r15, %rdi
je 0x2d8f8
movq 0x60(%rsp), %rsi
incq %rsi
callq 0xe650
testb %bpl, %bpl
jne 0x2d921
jmp 0x2d999
movq %rax, %rbx
movq 0x50(%rsp), %rdi
cmpq %r15, %rdi
je 0x2d921
movq 0x60(%rsp), %rsi
incq %rsi
callq 0xe650
jmp 0x2d921
movq %rax, %rbx
movq %r14, %rdi
callq 0xe4b0
jmp 0x2d999
jmp 0x2d98c
movq %rax, %rbx
leaq 0x40(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x2d98f
movq 0x40(%rsp), %rsi
incq %rsi
callq 0xe650
jmp 0x2d98f
movq %rax, %rbx
movq 0x70(%rsp), %rdi
cmpq %r13, %rdi
je 0x2d96a
movq 0x80(%rsp), %rsi
incq %rsi
callq 0xe650
movq 0x50(%rsp), %rdi
cmpq %r12, %rdi
je 0x2d999
movq 0x60(%rsp), %rsi
incq %rsi
callq 0xe650
jmp 0x2d999
movq %rax, %rbx
jmp 0x2d999
jmp 0x2d98c
jmp 0x2d98c
movq %rax, %rbx
leaq 0x50(%rsp), %rdi
callq 0x2fab2
leaq 0xc0(%rsp), %rdi
callq 0x2fa06
movq %rbx, %rdi
callq 0xeb40