// File: /workspace/github_cpp_makefile_star2_O2/nurseiit[P]cpp-server/./include/asio/detail/reactive_socket_accept_op.hpp
// Function: asio::detail::reactive_socket_accept_op<asio::basic_socket<asio::ip::tcp, asio::executor>, asio::ip::tcp, accept_and_run(asio::basic_socket_acceptor<asio::ip::tcp, asio::executor>&, asio::io_context&)::$_0, 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_accept_op* o(static_cast<reactive_socket_accept_op*>(base));
    ptr p = { asio::detail::addressof(o->handler_), o, o };
    handler_work<Handler, IoExecutor> w(o->handler_, o->io_executor_);

    // On success, assign new connection to peer socket object.
    if (owner)
      o->do_assign();

    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::binder1<Handler, asio::error_code>
      handler(o->handler_, o->ec_);
    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_));
      w.complete(handler, handler.handler_);
      ASIO_HANDLER_INVOCATION_END;
    }
  }

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xd0, %rsp
movq %rsi, %r15
movq %rdi, %r14
leaq 0x68(%rsi), %rax
movq %rax, 0x38(%rsp)
movq %rsi, 0x40(%rsp)
movq %rsi, 0x48(%rsp)
movq 0x88(%rsi), %rdi
testq %rdi, %rdi
je 0x5bcc
movq (%rdi), %rax
callq *(%rax)
jmp 0x5bce
xorl %eax, %eax
movq %rax, 0x18(%rsp)
movb 0x90(%r15), %bl
movb %bl, 0x20(%rsp)
testq %rax, %rax
je 0x5bed
movq (%rax), %rcx
movq %rax, %rdi
callq *(%rcx)
jmp 0x5bef
xorl %eax, %eax
movq %rax, 0x28(%rsp)
movb %bl, 0x30(%rsp)
testq %r14, %r14
je 0x5c05
movq %r15, %rdi
callq 0x9a7a
leaq 0x58(%rsp), %rbx
movups 0x68(%r15), %xmm0
andq $0x0, 0x70(%r15)
movaps %xmm0, -0x8(%rbx)
andq $0x0, 0x68(%r15)
movups 0x78(%r15), %xmm0
movaps %xmm0, 0x8(%rbx)
movups 0x18(%r15), %xmm0
movaps %xmm0, 0x18(%rbx)
leaq 0x50(%rsp), %rax
leaq 0x38(%rsp), %rdi
movq %rax, (%rdi)
callq 0x5e10
testq %r14, %r14
je 0x5d93
cmpb $0x1, 0x30(%rsp)
jne 0x5c60
leaq 0x50(%rsp), %rdi
callq 0x5ea4
jmp 0x5d93
leaq 0x28(%rsp), %rdi
callq 0xadae
movq %rax, %r14
leaq 0x60(%rsp), %rax
cmpb $0x1, 0x8(%r14)
jne 0x5cb6
leaq 0x88(%rsp), %r15
movaps 0x50(%rsp), %xmm0
movaps %xmm0, -0x8(%r15)
xorps %xmm0, %xmm0
movaps %xmm0, 0x50(%rsp)
movaps (%rax), %xmm0
movaps %xmm0, 0x8(%r15)
movaps 0x10(%rax), %xmm0
movaps %xmm0, 0x18(%r15)
leaq 0x80(%rsp), %rdi
callq 0x5ea4
jmp 0x5d8b
movq 0x50(%rsp), %r13
movq 0x58(%rsp), %r12
movq %r13, 0x80(%rsp)
movq %r12, 0x88(%rsp)
xorps %xmm0, %xmm0
movaps %xmm0, 0x50(%rsp)
movups (%rax), %xmm0
movups %xmm0, 0x90(%rsp)
movups 0x10(%rax), %xmm0
movups %xmm0, 0xa0(%rsp)
leaq 0xf(%rsp), %rax
movq %rax, 0xb8(%rsp)
movq %fs:-0x8, %rax
testq %rax, %rax
je 0x5d10
movq 0x8(%rax), %rdi
jmp 0x5d12
xorl %edi, %edi
leaq 0x88(%rsp), %r15
pushq $0x40
popq %rsi
callq 0xaf56
leaq 0xb8(%rsp), %rdi
andq $0x0, 0x10(%rdi)
leaq 0x90(%rsp), %rcx
leaq 0x1c2(%rip), %rdx       # 0x5f00
movq %rdx, (%rax)
movq %r13, 0x8(%rax)
andq $0x0, -0x8(%rcx)
movq %r12, 0x10(%rax)
andq $0x0, -0x10(%rcx)
movups (%rcx), %xmm0
movups %xmm0, 0x18(%rax)
movups 0x10(%rcx), %xmm0
movups %xmm0, 0x28(%rax)
leaq 0x10(%rsp), %r12
movq %rax, (%r12)
andq $0x0, 0x8(%rdi)
callq 0x5f94
movq (%r14), %rax
movq %r14, %rdi
movq %r12, %rsi
callq *0x28(%rax)
leaq 0x10(%rsp), %rdi
callq 0x8ff0
movq %r15, %rdi
callq 0x65c8
movq %rbx, %rdi
callq 0x65c8
leaq 0x18(%rsp), %rdi
callq 0x5e72
leaq 0x38(%rsp), %rdi
callq 0x5b80
addq $0xd0, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
movq %rax, %r14
leaq 0x10(%rsp), %rdi
callq 0x8ff0
jmp 0x5dd4
jmp 0x5dd1
movq %rax, %r14
movq %r15, %rdi
callq 0x65c8
jmp 0x5de1
movq %rax, %r14
jmp 0x5deb
movq %rax, %r14
jmp 0x5df3
movq %rax, %r14
movq %rbx, %rdi
callq 0x65c8
leaq 0x18(%rsp), %rdi
callq 0x5e72
leaq 0x38(%rsp), %rdi
callq 0x5b80
movq %r14, %rdi
callq 0x55b0
nop