// File: /workspace/github_cpp_makefile_star2_O1/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 %r14
pushq %rbx
subq $0x88, %rsp
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x58(%rsi), %rax
movq %rax, 0x28(%rsp)
movq %rsi, 0x30(%rsp)
movq %rsi, 0x38(%rsp)
movq 0x88(%rsi), %rdi
testq %rdi, %rdi
je 0xbdf0
movq (%rdi), %rax
callq *(%rax)
jmp 0xbdf2
xorl %eax, %eax
movq %rax, 0x8(%rsp)
movb 0x90(%r14), %cl
movb %cl, 0x10(%rsp)
testq %rax, %rax
je 0xbe11
movq (%rax), %rcx
movq %rax, %rdi
callq *(%rcx)
jmp 0xbe13
xorl %eax, %eax
movq %rax, 0x18(%rsp)
movb 0x10(%rsp), %al
movb %al, 0x20(%rsp)
movq 0x58(%r14), %rax
leaq 0x40(%rsp), %rcx
movq %rax, (%rcx)
movq 0x60(%r14), %rax
movq %rax, 0x8(%rcx)
movb 0x68(%r14), %al
movb %al, 0x10(%rcx)
movl 0x6c(%r14), %eax
movl %eax, 0x14(%rcx)
movq 0x70(%r14), %rax
movq %rax, 0x18(%rcx)
movq 0x78(%r14), %rax
movq %rax, 0x20(%rcx)
xorl %eax, %eax
movq %rax, 0x28(%rcx)
movq 0x80(%r14), %rdx
movq %rax, 0x80(%r14)
movq %rdx, 0x28(%rcx)
movq %rax, 0x78(%r14)
movups 0x18(%r14), %xmm0
movups %xmm0, 0x30(%rcx)
movq 0x28(%r14), %rax
movq %rax, 0x40(%rcx)
leaq 0x28(%rsp), %rdi
movq %rcx, (%rdi)
callq 0xbf64
testq %rbx, %rbx
je 0xbea5
leaq 0x18(%rsp), %rdi
leaq 0x40(%rsp), %rsi
leaq 0x7(%rsp), %rdx
callq 0xc060
movq 0x68(%rsp), %rdi
testq %rdi, %rdi
je 0xbeb4
callq 0x7026
leaq 0x8(%rsp), %rdi
callq 0xbfcc
leaq 0x28(%rsp), %rdi
callq 0xbf64
addq $0x88, %rsp
popq %rbx
popq %r14
retq
movq %rax, %rbx
jmp 0xbedd
jmp 0xbf08
movq %rax, %rbx
movq 0x68(%rsp), %rdi
testq %rdi, %rdi
je 0xbeec
callq 0x7026
leaq 0x8(%rsp), %rdi
callq 0xbfcc
leaq 0x28(%rsp), %rdi
callq 0xbf64
movq %rbx, %rdi
callq 0x55d0
movq %rax, %rdi
callq 0x6e80