// File: /workspace/github_cpp_makefile_star2_O1/flightaware[P]beast-splitter/beast_output.cc
// Function: beast::SocketOutput::read_commands()
void SocketOutput::read_commands() {
        auto self(shared_from_this());
        auto buf = std::make_shared<std::vector<std::uint8_t>>(512);

        socket.async_read_some(asio::buffer(*buf), [this, self, buf](const boost::system::error_code &ec, std::size_t len) {
            if (ec) {
                handle_error(ec);
            } else {
                buf->resize(len);
                process_commands(*buf);
                read_commands();
            }
        });
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x88, %rsp
movq %rdi, %rbx
leaq 0x60(%rsp), %rdi
movq %rbx, %rsi
callq 0x2c97c
leaq 0x10(%rsp), %r14
movl $0x200, (%r14)          # imm = 0x200
leaq 0x40(%rsp), %rdi
movq $0x0, -0x8(%rdi)
leaq 0x38(%rsp), %rsi
leaq 0x48(%rsp), %rdx
movq %r14, %rcx
callq 0x2c9d2
movq 0x38(%rsp), %rax
movq (%rax), %r13
movq 0x8(%rax), %rbp
xorl %r15d, %r15d
movq %rbp, 0x80(%rsp)
subq %r13, %rbp
cmovneq %r13, %r15
movq %rbx, 0x10(%rsp)
movq 0x60(%rsp), %rcx
movq 0x68(%rsp), %rax
movq %rcx, 0x18(%rsp)
movq %rax, 0x20(%rsp)
testq %rax, %rax
je 0x25ab1
movq 0x4d4dd(%rip), %rcx     # 0x72f80
cmpb $0x0, (%rcx)
je 0x25aad
incl 0x8(%rax)
jmp 0x25ab1
lock
incl 0x8(%rax)
movq 0x38(%rsp), %rcx
movq 0x40(%rsp), %rax
movq %rcx, 0x28(%rsp)
movq %rax, 0x30(%rsp)
testq %rax, %rax
je 0x25adf
movq 0x4d4af(%rip), %rcx     # 0x72f80
cmpb $0x0, (%rcx)
je 0x25adb
incl 0x8(%rax)
jmp 0x25adf
lock
incl 0x8(%rax)
movq 0x20(%rbx), %r12
movq %r14, 0x48(%rsp)
movq %fs:-0x8, %rax
testq %rax, %rax
je 0x25afc
movq 0x8(%rax), %rdi
jmp 0x25afe
xorl %edi, %edi
movl $0xb0, %esi
callq 0x148a2
movq %rax, %r14
leaq 0x28(%r12), %rax
movq %rax, 0x78(%rsp)
leaq 0x28(%rbx), %rax
movq %rax, 0x70(%rsp)
leaq 0x40(%rbx), %rsi
movq %r14, 0x50(%rsp)
xorl %eax, %eax
movq %rax, 0x58(%rsp)
movl 0x28(%rbx), %ecx
movb 0x2c(%rbx), %dl
movq %rax, (%r14)
leaq 0x27ea(%rip), %rdi      # 0x28328
movq %rdi, 0x8(%r14)
movl %eax, 0x10(%r14)
movups 0x30(%r12), %xmm0
movups %xmm0, 0x18(%r14)
movq %rax, 0x28(%r14)
leaq -0x1240(%rip), %rdi     # 0x2491c
movq %rdi, 0x30(%r14)
movl %ecx, 0x38(%r14)
movb %dl, 0x3c(%r14)
movq %r15, 0x40(%r14)
movq %rbp, 0x48(%r14)
movl %eax, 0x50(%r14)
movq 0x10(%rsp), %rcx
movq %rcx, 0x58(%r14)
movq 0x18(%rsp), %rcx
movq %rcx, 0x60(%r14)
movq %rax, 0x68(%r14)
movq 0x20(%rsp), %rcx
movq %rax, 0x20(%rsp)
movq %rcx, 0x68(%r14)
movq %rax, 0x18(%rsp)
movq 0x28(%rsp), %rcx
movq %rcx, 0x70(%r14)
movq %rax, 0x78(%r14)
movq 0x30(%rsp), %rcx
movq %rax, 0x30(%rsp)
movq %rcx, 0x78(%r14)
movq %rax, 0x28(%rsp)
movq %r14, %rdi
subq $-0x80, %rdi
callq 0x15310
movq %r14, 0x58(%rsp)
movb 0x2c(%rbx), %al
shrb $0x4, %al
cmpq %r13, 0x80(%rsp)
sete %cl
andb %al, %cl
movzbl %cl, %eax
movl %eax, (%rsp)
movq 0x78(%rsp), %rdi
movq 0x70(%rsp), %rsi
xorl %edx, %edx
movq %r14, %rcx
xorl %r8d, %r8d
movl $0x1, %r9d
callq 0x246a4
leaq 0x50(%rsp), %rax
xorps %xmm0, %xmm0
movups %xmm0, (%rax)
leaq 0x48(%rsp), %rdi
callq 0x28644
movq 0x30(%rsp), %rdi
testq %rdi, %rdi
je 0x25c28
callq 0x1581a
movq 0x20(%rsp), %rdi
testq %rdi, %rdi
je 0x25c37
callq 0x1581a
movq 0x40(%rsp), %rdi
testq %rdi, %rdi
je 0x25c46
callq 0x1581a
movq 0x68(%rsp), %rdi
testq %rdi, %rdi
je 0x25c55
callq 0x1581a
addq $0x88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x25c78
movq %rax, %rbx
leaq 0x48(%rsp), %rdi
callq 0x28644
jmp 0x25c83
movq %rax, %rdi
callq 0x10886
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x25cb8
movq 0x40(%rsp), %rdi
testq %rdi, %rdi
je 0x25ca1
callq 0x1581a
jmp 0x25ca1
movq %rax, %rbx
movq 0x68(%rsp), %rdi
testq %rdi, %rdi
je 0x25cb0
callq 0x1581a
movq %rbx, %rdi
callq 0xfb40