// 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&, 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 0xfab0
movq %r14, %rdi
xorl %esi, %esi
callq 0x3144f
movq %rax, %r14
movb 0x44974(%rip), %al      # 0x73c38
testb %al, %al
je 0x2f53f
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 0x44922(%rip), %rcx     # 0x73c28
xorl %r8d, %r8d
callq 0x49d51
testb %al, %al
je 0x2f593
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 0x2f381
movq (%rax), %rsi
movq 0x8(%rax), %rdx
leaq 0x10(%rsp), %rax
movq %rax, -0x10(%rax)
movq %rsp, %rdi
callq 0x4f074
jmp 0x2f395
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 0x2f3bf
movq 0x10(%rsp), %rsi
incq %rsi
callq 0xf650
leaq 0xc0(%rsp), %rdi
movl $0x2, %esi
callq 0x3160c
cmpb $0x1, 0x10(%rax)
jne 0x2f3eb
movq (%rax), %rsi
movq 0x8(%rax), %rdx
movq %rsp, %rdi
movq %rbp, (%rdi)
callq 0x4f074
jmp 0x2f3fd
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 0x2f422
movq 0x10(%rsp), %rsi
incq %rsi
callq 0xf650
leaq 0xc0(%rsp), %rdi
movl $0x3, %esi
callq 0x3160c
cmpb $0x1, 0x10(%rax)
jne 0x2f456
movq (%rax), %rsi
movq 0x8(%rax), %rdx
leaq 0x40(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x30(%rsp), %rdi
callq 0x4f074
jmp 0x2f46a
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 0x2f4ae
movq 0x40(%rsp), %rsi
incq %rsi
callq 0xf650
movq %rsp, %rdi
leaq 0x50(%rsp), %rsi
xorl %edx, %edx
xorl %ecx, %ecx
callq 0x317f4
movq (%rsp), %rax
movq (%rbx), %rdi
movq %rdi, (%rsp)
movq %rax, (%rbx)
movq $0x0, (%rsp)
testq %rdi, %rdi
je 0x2f4e0
movq (%rdi), %rax
callq *0x8(%rax)
movq (%rsp), %rdi
testq %rdi, %rdi
je 0x2f4ef
movq (%rdi), %rax
callq *0x8(%rax)
movq 0x70(%rsp), %rdi
cmpq %r13, %rdi
je 0x2f509
movq 0x80(%rsp), %rsi
incq %rsi
callq 0xf650
movq 0x50(%rsp), %rdi
cmpq %r12, %rdi
je 0x2f520
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 0x446f2(%rip), %rdi     # 0x73c38
callq 0xfba0
testl %eax, %eax
je 0x2f2cc
leaq 0x446ce(%rip), %rdi     # 0x73c28
leaq 0x232a4(%rip), %rsi     # 0x52805
xorl %edx, %edx
callq 0x315ba
leaq 0x2093(%rip), %rdi      # 0x31602
leaq 0x446b2(%rip), %rsi     # 0x73c28
leaq 0x440eb(%rip), %rdx     # 0x73668
callq 0xf580
leaq 0x446af(%rip), %rdi     # 0x73c38
callq 0xf420
jmp 0x2f2cc
movl $0xc0, %edi
callq 0xf300
movq %rax, %r14
leaq 0x60(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x22c89(%rip), %rdx     # 0x52239
leaq 0x50(%rsp), %rdi
movq %rdx, %rsi
callq 0x1469c
leaq 0x10(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x22c6b(%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 0x41bdb(%rip), %rsi     # 0x711d8
leaq 0x5a2c(%rip), %rdx      # 0x35030
movq %r14, %rdi
callq 0xfb00
movq %rax, %rbx
leaq 0x44622(%rip), %rdi     # 0x73c38
callq 0xf410
jmp 0x2f6ea
movq %rax, %rbx
movq (%rsp), %rdi
cmpq %r12, %rdi
je 0x2f641
movq 0x10(%rsp), %rsi
incq %rsi
callq 0xf650
jmp 0x2f641
movq %rax, %rbx
movb $0x1, %bpl
movq 0x50(%rsp), %rdi
cmpq %r15, %rdi
je 0x2f660
movq 0x60(%rsp), %rsi
incq %rsi
callq 0xf650
jmp 0x2f660
movq %rax, %rbx
movb $0x1, %bpl
testb %bpl, %bpl
je 0x2f6dd
movq %r14, %rdi
callq 0xf4b0
jmp 0x2f6dd
jmp 0x2f6d0
movq %rax, %rbx
leaq 0x40(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x2f6d3
movq 0x40(%rsp), %rsi
incq %rsi
callq 0xf650
jmp 0x2f6d3
movq %rax, %rbx
movq 0x70(%rsp), %rdi
cmpq %r13, %rdi
je 0x2f6ae
movq 0x80(%rsp), %rsi
incq %rsi
callq 0xf650
movq 0x50(%rsp), %rdi
cmpq %r12, %rdi
je 0x2f6dd
movq 0x60(%rsp), %rsi
incq %rsi
callq 0xf650
jmp 0x2f6dd
movq %rax, %rbx
jmp 0x2f6dd
jmp 0x2f6d0
jmp 0x2f6d0
movq %rax, %rbx
leaq 0x50(%rsp), %rdi
callq 0x31838
leaq 0xc0(%rsp), %rdi
callq 0x3178c
movq %rbx, %rdi
callq 0xfb40