// File: /workspace/github_cpp_makefile_star2_O3/nurseiit[P]cpp-server/./include/asio/detail/reactive_socket_recv_op.hpp
// Function: asio::detail::reactive_socket_recv_op<asio::mutable_buffers_1, asio::detail::read_until_delim_op_v1<asio::basic_stream_socket<asio::ip::tcp, asio::executor>, asio::basic_streambuf_ref<std::allocator<char>>, Session::read_first_line(std::shared_ptr<Session>)::'lambda'(std::error_code const&, unsigned long)>, asio::detail::io_object_executor<asio::executor>>::do_complete(void*, asio::detail::scheduler_operation*, std::error_code const&, unsigned long)
static void do_complete(void* owner, operation* base,
      const asio::error_code& /*ec*/,
      std::size_t /*bytes_transferred*/)
  {
    // Take ownership of the handler object.
    reactive_socket_recv_op* o(static_cast<reactive_socket_recv_op*>(base));
    ptr p = { asio::detail::addressof(o->handler_), o, o };
    handler_work<Handler, IoExecutor> w(o->handler_, o->io_executor_);

    ASIO_HANDLER_COMPLETION((*o));

    // Make a copy of the handler so that the memory can be deallocated before
    // the upcall is made. Even if we're not about to make an upcall, a
    // sub-object of the handler may be the true owner of the memory associated
    // with the handler. Consequently, a local copy of the handler is required
    // to ensure that any owning sub-object remains valid until after we have
    // deallocated the memory here.
    detail::binder2<Handler, asio::error_code, std::size_t>
      handler(o->handler_, o->ec_, o->bytes_transferred_);
    p.h = asio::detail::addressof(handler.handler_);
    p.reset();

    // Make the upcall if required.
    if (owner)
    {
      fenced_block b(fenced_block::half);
      ASIO_HANDLER_INVOCATION_BEGIN((handler.arg1_, handler.arg2_));
      w.complete(handler, handler.handler_);
      ASIO_HANDLER_INVOCATION_END;
    }
  }

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
subq $0x90, %rsp
movq %rsi, %r14
movq %rdi, %rbx
movq %rsi, 0x30(%rsp)
movq %rsi, 0x38(%rsp)
movq 0x88(%rsi), %rdi
testq %rdi, %rdi
je 0xbcc0
movq (%rdi), %rax
callq *(%rax)
movq %rax, 0x8(%rsp)
movb 0x90(%r14), %bpl
movb %bpl, 0x10(%rsp)
testq %rax, %rax
je 0xbcd5
movq (%rax), %rcx
movq %rax, %rdi
callq *(%rcx)
jmp 0xbcd7
movq $0x0, 0x8(%rsp)
movb 0x90(%r14), %bpl
movb %bpl, 0x10(%rsp)
xorl %eax, %eax
movq %rax, 0x18(%rsp)
movb %bpl, 0x20(%rsp)
movups 0x58(%r14), %xmm0
leaq 0x40(%rsp), %rax
movaps %xmm0, (%rax)
movb 0x68(%r14), %cl
movb %cl, 0x10(%rax)
movl 0x6c(%r14), %ecx
movl %ecx, 0x14(%rax)
movq 0x70(%r14), %rcx
movq %rcx, 0x18(%rax)
movups 0x78(%r14), %xmm0
xorl %ecx, %ecx
movq %rcx, 0x80(%r14)
movaps %xmm0, 0x20(%rax)
movq %rcx, 0x78(%r14)
movups 0x18(%r14), %xmm0
movaps %xmm0, 0x30(%rax)
movq 0x28(%r14), %rcx
movq %rcx, 0x40(%rax)
leaq 0x28(%rsp), %rdi
movq %rax, (%rdi)
callq 0xbe12
testq %rbx, %rbx
je 0xbd51
leaq 0x18(%rsp), %rdi
leaq 0x40(%rsp), %rsi
leaq 0x7(%rsp), %rdx
callq 0xbf12
movq 0x68(%rsp), %rdi
testq %rdi, %rdi
je 0xbd60
callq 0x7000
leaq 0x8(%rsp), %rdi
callq 0xbe7a
leaq 0x28(%rsp), %rdi
callq 0xbe12
addq $0x90, %rsp
popq %rbx
popq %r14
popq %rbp
retq
movq %rax, %rbx
jmp 0xbd8a
jmp 0xbdb5
movq %rax, %rbx
movq 0x68(%rsp), %rdi
testq %rdi, %rdi
je 0xbd99
callq 0x7000
leaq 0x8(%rsp), %rdi
callq 0xbe7a
leaq 0x28(%rsp), %rdi
callq 0xbe12
movq %rbx, %rdi
callq 0x55d0
movq %rax, %rdi
callq 0x6e5b
nop