// File: /workspace/github_cpp_makefile_star2_O3/nurseiit[P]cpp-server/server.cpp
// Function: accept_and_run(asio::basic_socket_acceptor<asio::ip::tcp, asio::executor>&, asio::io_context&)
void accept_and_run(tcp::acceptor &acceptor, asio::io_service &io_service) {
  std::shared_ptr<Session> sesh = std::make_shared<Session>(io_service);
  acceptor.async_accept(
      sesh->socket,
      [sesh, &acceptor, &io_service](const asio::error_code &accept_error) {
        accept_and_run(acceptor, io_service);
        if (!accept_error) {
          Session::start(sesh);
        }
      });
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x88, %rsp
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x48(%rsp), %rdi
movq $0x0, -0x8(%rdi)
leaq 0x40(%rsp), %r12
leaq 0x60(%rsp), %r15
movq %r12, %rsi
movq %r15, %rdx
movq %r14, %rcx
callq 0x88fa
movq (%r12), %r13
movq 0x8(%r12), %rax
movq %r13, (%r15)
movq %rax, 0x8(%r15)
testq %rax, %rax
je 0x5f42
movq 0x1306c(%rip), %rcx     # 0x18fa0
cmpb $0x0, (%rcx)
je 0x5f3e
incl 0x8(%rax)
jmp 0x5f42
lock
incl 0x8(%rax)
movq %rbx, 0x70(%rsp)
movq %r14, 0x78(%rsp)
movq (%rbx), %rcx
movq %r15, 0x18(%rsp)
movq %fs:-0x8, %rax
testq %rax, %rax
je 0x5f68
movq 0x8(%rax), %rdi
jmp 0x5f6a
xorl %edi, %edi
movq %rcx, 0x38(%rsp)
movl $0x98, %esi
callq 0xa076
movq %rax, %r15
movq %r13, 0x10(%rsp)
leaq 0xf0(%r13), %rax
movq %rax, 0x30(%rsp)
leaq 0x70(%rsp), %r12
movq %r15, 0x20(%rsp)
xorl %r13d, %r13d
movq %r13, 0x28(%rsp)
movl 0x8(%rbx), %r14d
movb 0xc(%rbx), %bpl
movq %r13, (%r15)
leaq 0x463(%rip), %rax       # 0x6414
movq %rax, 0x8(%r15)
movl %r13d, 0x10(%r15)
movl %r13d, 0x18(%r15)
callq 0x5220
movq %rax, 0x20(%r15)
movq %r13, 0x28(%r15)
leaq 0xa08b(%rip), %rax      # 0x1005c
movq %rax, 0x30(%r15)
movl %r14d, 0x38(%r15)
movb %bpl, 0x3c(%r15)
movl $0xffffffff, 0x40(%r15) # imm = 0xFFFFFFFF
movq 0x30(%rsp), %rax
movq %rax, 0x48(%r15)
movl 0x18(%rbx), %eax
movl %eax, 0x50(%r15)
xorps %xmm0, %xmm0
movups %xmm0, 0x58(%r15)
movaps -0x10(%r12), %xmm0
movq %r13, -0x8(%r12)
movups %xmm0, 0x68(%r15)
movq %r13, -0x10(%r12)
movups (%r12), %xmm0
movups %xmm0, 0x78(%r15)
movq 0x20(%rbx), %rdi
testq %rdi, %rdi
je 0x6055
movq (%rdi), %rax
callq *(%rax)
movq %rax, 0x88(%r15)
leaq 0x90(%r15), %r12
movb 0x28(%rbx), %cl
movb %cl, 0x90(%r15)
testq %rax, %rax
je 0x6071
movq (%rax), %rcx
movq %rax, %rdi
callq *(%rcx)
movb (%r12), %cl
jmp 0x6073
movq $0x0, 0x88(%r15)
leaq 0x90(%r15), %r12
movb 0x28(%rbx), %cl
movb %cl, 0x90(%r15)
xorl %eax, %eax
movq 0x10(%rsp), %r14
movq %rax, 0x50(%rsp)
movb %cl, 0x58(%rsp)
testb $0x1, %cl
jne 0x6094
leaq 0x50(%rsp), %rdi
callq 0xc5a2
movb (%r12), %cl
testb $0x1, %cl
jne 0x60a5
leaq 0x88(%r15), %rdi
callq 0xc5a2
movq 0x50(%rsp), %rdi
testq %rdi, %rdi
movq 0x38(%rsp), %r12
je 0x60ba
movq (%rdi), %rax
callq *0x8(%rax)
movq %r15, 0x28(%rsp)
addq $0x28, %r12
cmpl $-0x1, 0xf8(%r14)
je 0x60f2
movq %r15, %rdi
addq $0x18, %rdi
movl $0x1, %esi
callq 0xabb8
movq (%r12), %rax
movq 0x28(%rax), %rdi
movq %r15, %rsi
xorl %edx, %edx
callq 0x9f12
jmp 0x6116
addq $0x8, %rbx
movl $0x0, (%rsp)
movq %r12, %rdi
movq %rbx, %rsi
xorl %edx, %edx
movq %r15, %rcx
xorl %r8d, %r8d
movl $0x1, %r9d
callq 0xbb5c
leaq 0x20(%rsp), %rax
xorps %xmm0, %xmm0
movups %xmm0, (%rax)
leaq 0x18(%rsp), %rdi
callq 0x66a8
movq 0x68(%rsp), %rdi
testq %rdi, %rdi
je 0x613a
callq 0x7000
movq 0x48(%rsp), %rdi
testq %rdi, %rdi
je 0x6149
callq 0x7000
addq $0x88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x616c
movq %rax, %rbx
leaq 0x18(%rsp), %rdi
callq 0x66a8
jmp 0x6177
movq %rax, %rdi
callq 0x6e5b
movq %rax, %rbx
movq 0x68(%rsp), %rdi
testq %rdi, %rdi
je 0x6186
callq 0x7000
movq 0x48(%rsp), %rdi
testq %rdi, %rdi
je 0x6195
callq 0x7000
movq %rbx, %rdi
callq 0x55d0