// File: /workspace/github_cpp_makefile_star2_O1/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 %rbx
subq $0xd0, %rsp
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x68(%rsi), %rax
movq %rax, 0x38(%rsp)
movq %rsi, 0x40(%rsp)
movq %rsi, 0x48(%rsp)
movq 0x88(%rsi), %rdi
testq %rdi, %rdi
je 0x6464
movq (%rdi), %rax
callq *(%rax)
jmp 0x6466
xorl %eax, %eax
movq %rax, 0x18(%rsp)
movb 0x90(%r14), %cl
movb %cl, 0x20(%rsp)
testq %rax, %rax
je 0x6485
movq (%rax), %rcx
movq %rax, %rdi
callq *(%rcx)
jmp 0x6487
xorl %eax, %eax
movq %rax, 0x28(%rsp)
movb 0x20(%rsp), %al
movb %al, 0x30(%rsp)
testq %rbx, %rbx
je 0x64a1
movq %r14, %rdi
callq 0xabae
movq 0x68(%r14), %rax
leaq 0x50(%rsp), %rcx
movq %rax, (%rcx)
xorl %eax, %eax
movq %rax, 0x8(%rcx)
movq 0x70(%r14), %rdx
movq %rax, 0x70(%r14)
movq %rdx, 0x8(%rcx)
movq %rax, 0x68(%r14)
movups 0x78(%r14), %xmm0
movups %xmm0, 0x10(%rcx)
movups 0x18(%r14), %xmm0
movups %xmm0, 0x20(%rcx)
leaq 0x38(%rsp), %rdi
movq %rcx, (%rdi)
callq 0x66c2
testq %rbx, %rbx
je 0x6621
cmpb $0x1, 0x30(%rsp)
jne 0x6501
leaq 0x50(%rsp), %rdi
callq 0x67a4
jmp 0x6621
leaq 0x28(%rsp), %rdi
callq 0xc17c
movq %rax, %rbx
leaq 0x60(%rsp), %rax
cmpb $0x1, 0x8(%rbx)
jne 0x6564
movq 0x50(%rsp), %rcx
movq 0x58(%rsp), %r14
leaq 0xa0(%rsp), %rdi
movq %rcx, (%rdi)
movq %r14, 0x8(%rdi)
xorps %xmm0, %xmm0
movaps %xmm0, 0x50(%rsp)
movups (%rax), %xmm0
movups %xmm0, 0x10(%rdi)
movups 0x10(%rax), %xmm0
movups %xmm0, 0x20(%rdi)
callq 0x67a4
testq %r14, %r14
je 0x6621
movq %r14, %rdi
callq 0x7026
jmp 0x6621
movq 0x50(%rsp), %r15
movq 0x58(%rsp), %r14
xorps %xmm0, %xmm0
movaps %xmm0, 0x50(%rsp)
movups (%rax), %xmm0
movaps %xmm0, 0x90(%rsp)
movups 0x10(%rax), %xmm0
movaps %xmm0, 0x80(%rsp)
leaq 0xf(%rsp), %rax
movq %rax, 0xa0(%rsp)
movq %fs:-0x8, %rax
testq %rax, %rax
je 0x65ae
movq 0x8(%rax), %rdi
jmp 0x65b0
xorl %edi, %edi
movl $0x40, %esi
callq 0xc33c
leaq 0xa0(%rsp), %rdi
movq %rax, 0x8(%rdi)
xorl %ecx, %ecx
movq %rcx, 0x10(%rdi)
leaq 0x24d(%rip), %rdx       # 0x6820
movq %rdx, (%rax)
movq %r15, 0x8(%rax)
movq %r14, 0x10(%rax)
movaps 0x90(%rsp), %xmm0
movups %xmm0, 0x18(%rax)
movaps 0x80(%rsp), %xmm0
movups %xmm0, 0x28(%rax)
leaq 0x10(%rsp), %r14
movq %rax, (%r14)
movq %rcx, 0x8(%rdi)
callq 0x68ca
movq (%rbx), %rax
movq %rbx, %rdi
movq %r14, %rsi
callq *0x28(%rax)
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x6621
xorl %esi, %esi
callq *(%rdi)
movq 0x58(%rsp), %rdi
testq %rdi, %rdi
je 0x6630
callq 0x7026
leaq 0x18(%rsp), %rdi
callq 0x6752
leaq 0x38(%rsp), %rdi
callq 0x66c2
addq $0xd0, %rsp
popq %rbx
popq %r14
popq %r15
retq
jmp 0x66b9
movq %rax, %rbx
movq 0x10(%rsp), %rdi
xorl %r14d, %r14d
testq %rdi, %rdi
je 0x6670
xorl %esi, %esi
callq *(%rdi)
jmp 0x6670
jmp 0x66b9
jmp 0x666d
movq %rax, %rbx
testq %r14, %r14
je 0x6682
movq %r14, %rdi
callq 0x7026
jmp 0x6682
movq %rax, %rbx
jmp 0x668e
movq %rax, %rbx
jmp 0x669d
jmp 0x66b9
movq %rax, %rbx
movq 0x58(%rsp), %rdi
testq %rdi, %rdi
je 0x669d
callq 0x7026
leaq 0x18(%rsp), %rdi
callq 0x6752
leaq 0x38(%rsp), %rdi
callq 0x66c2
movq %rbx, %rdi
callq 0x55d0
movq %rax, %rdi
callq 0x6e80
nop