// File: /workspace/github_cpp_makefile_star2_O3/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 %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0xd8, %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 0x646b
movq (%rdi), %rax
callq *(%rax)
movq %rax, 0x18(%rsp)
movb 0x90(%r14), %bpl
movb %bpl, 0x20(%rsp)
testq %rax, %rax
je 0x6480
movq (%rax), %rcx
movq %rax, %rdi
callq *(%rcx)
jmp 0x6482
movq $0x0, 0x18(%rsp)
movb 0x90(%r14), %bpl
movb %bpl, 0x20(%rsp)
xorl %eax, %eax
movq %rax, 0x28(%rsp)
movb %bpl, 0x30(%rsp)
testq %rbx, %rbx
je 0x6499
movq %r14, %rdi
callq 0xaa66
movups 0x68(%r14), %xmm0
xorl %eax, %eax
movq %rax, 0x70(%r14)
leaq 0x50(%rsp), %rcx
movaps %xmm0, (%rcx)
movq %rax, 0x68(%r14)
movups 0x78(%r14), %xmm0
movaps %xmm0, 0x10(%rcx)
movups 0x18(%r14), %xmm0
movaps %xmm0, 0x20(%rcx)
leaq 0x38(%rsp), %rdi
movq %rcx, (%rdi)
callq 0x66a8
testq %rbx, %rbx
je 0x660a
cmpb $0x1, 0x30(%rsp)
jne 0x64ee
leaq 0x50(%rsp), %rdi
callq 0x6786
jmp 0x660a
leaq 0x28(%rsp), %rdi
callq 0xc024
movq %rax, %rbx
leaq 0x60(%rsp), %rax
cmpb $0x1, 0x8(%rbx)
jne 0x6551
movq 0x50(%rsp), %rcx
movq 0x58(%rsp), %r14
leaq 0xa8(%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 0x6786
testq %r14, %r14
je 0x660a
movq %r14, %rdi
callq 0x7000
jmp 0x660a
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, 0xa8(%rsp)
movq %fs:-0x8, %rax
testq %rax, %rax
je 0x659b
movq 0x8(%rax), %rdi
jmp 0x659d
xorl %edi, %edi
movl $0x40, %esi
callq 0xc1c4
xorl %ecx, %ecx
leaq 0xa8(%rsp), %rdi
movq %rcx, 0x10(%rdi)
leaq 0x246(%rip), %rdx       # 0x6802
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 0x68a8
movq (%rbx), %rax
movq %rbx, %rdi
movq %r14, %rsi
callq *0x28(%rax)
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x660a
xorl %esi, %esi
callq *(%rdi)
movq 0x58(%rsp), %rdi
testq %rdi, %rdi
je 0x6619
callq 0x7000
leaq 0x18(%rsp), %rdi
callq 0x6734
leaq 0x38(%rsp), %rdi
callq 0x66a8
addq $0xd8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
jmp 0x66a0
movq %rax, %rbx
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x6669
xorl %esi, %esi
callq *(%rdi)
jmp 0x6669
jmp 0x66a0
jmp 0x6654
movq %rax, %rbx
testq %r14, %r14
je 0x6669
movq %r14, %rdi
callq 0x7000
jmp 0x6669
movq %rax, %rbx
jmp 0x6675
movq %rax, %rbx
jmp 0x6684
jmp 0x66a0
movq %rax, %rbx
movq 0x58(%rsp), %rdi
testq %rdi, %rdi
je 0x6684
callq 0x7000
leaq 0x18(%rsp), %rdi
callq 0x6734
leaq 0x38(%rsp), %rdi
callq 0x66a8
movq %rbx, %rdi
callq 0x55d0
movq %rax, %rdi
callq 0x6e5b