// File: /workspace/github_cpp_makefile_star2_O1/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 $0x78, %rsp
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x40(%rsp), %rdi
movq $0x0, -0x8(%rdi)
leaq 0x38(%rsp), %r12
leaq 0x58(%rsp), %r15
movq %r12, %rsi
movq %r15, %rdx
movq %r14, %rcx
callq 0x895e
movq (%r12), %r13
movq 0x8(%r12), %rax
movq %r13, (%r15)
movq %rax, 0x8(%r15)
testq %rax, %rax
je 0x5f7f
movq 0x1302f(%rip), %rcx     # 0x18fa0
cmpb $0x0, (%rcx)
je 0x5f7b
incl 0x8(%rax)
jmp 0x5f7f
lock
incl 0x8(%rax)
movq %rbx, 0x68(%rsp)
movq %r14, 0x70(%rsp)
movq (%rbx), %rcx
movq %r15, 0x18(%rsp)
movq %fs:-0x8, %rax
testq %rax, %rax
je 0x5fa5
movq 0x8(%rax), %rdi
jmp 0x5fa7
xorl %edi, %edi
movq %rcx, 0x10(%rsp)
movl $0x98, %esi
callq 0xa188
movq %rax, %r15
movq %r13, 0x8(%rsp)
leaq 0xf0(%r13), %rax
movq %rax, 0x30(%rsp)
leaq 0x68(%rsp), %rbp
movq %r15, 0x20(%rsp)
xorl %r12d, %r12d
movq %r12, 0x28(%rsp)
movl 0x8(%rbx), %r14d
movb 0xc(%rbx), %r13b
movq %r12, (%r15)
leaq 0x43e(%rip), %rax       # 0x642c
movq %rax, 0x8(%r15)
movl %r12d, 0x10(%r15)
movl %r12d, 0x18(%r15)
callq 0x5220
movq %rax, 0x20(%r15)
movq %r12, 0x28(%r15)
leaq 0xa31c(%rip), %rax      # 0x1032a
movq %rax, 0x30(%r15)
movl %r14d, 0x38(%r15)
movb %r13b, 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)
movq -0x10(%rbp), %rax
movq %rax, 0x68(%r15)
movq %r12, 0x70(%r15)
movq -0x8(%rbp), %rax
movq %r12, -0x8(%rbp)
movq %rax, 0x70(%r15)
movq %r12, -0x10(%rbp)
movups (%rbp), %xmm0
movups %xmm0, 0x78(%r15)
movq 0x20(%rbx), %rdi
testq %rdi, %rdi
je 0x6070
movq (%rdi), %rax
callq *(%rax)
movq %rax, %r12
movq %r12, 0x88(%r15)
movb 0x28(%rbx), %al
movb %al, 0x90(%r15)
testq %r12, %r12
je 0x6091
movq (%r12), %rax
movq %r12, %rdi
callq *(%rax)
jmp 0x6093
xorl %eax, %eax
movq 0x8(%rsp), %r14
movq 0x10(%rsp), %r12
movq %rax, 0x48(%rsp)
movb 0x90(%r15), %al
movb %al, 0x50(%rsp)
testb %al, %al
jne 0x60bb
leaq 0x48(%rsp), %rdi
callq 0xc752
cmpb $0x0, 0x90(%r15)
jne 0x60d1
leaq 0x88(%r15), %rdi
callq 0xc752
movq 0x48(%rsp), %rdi
testq %rdi, %rdi
je 0x60e1
movq (%rdi), %rax
callq *0x8(%rax)
movq %r15, 0x28(%rsp)
addq $0x28, %r12
cmpl $-0x1, 0xf8(%r14)
je 0x6119
movq %r15, %rdi
addq $0x18, %rdi
movl $0x1, %esi
callq 0xacfc
movq (%r12), %rax
movq 0x28(%rax), %rdi
movq %r15, %rsi
xorl %edx, %edx
callq 0xa004
jmp 0x613d
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 0xbca2
leaq 0x20(%rsp), %rax
xorps %xmm0, %xmm0
movups %xmm0, (%rax)
leaq 0x18(%rsp), %rdi
callq 0x66c2
movq 0x60(%rsp), %rdi
testq %rdi, %rdi
je 0x6161
callq 0x7026
movq 0x40(%rsp), %rdi
testq %rdi, %rdi
je 0x6170
callq 0x7026
addq $0x78, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x6190
movq %rax, %rbx
leaq 0x18(%rsp), %rdi
callq 0x66c2
jmp 0x619b
movq %rax, %rdi
callq 0x6e80
movq %rax, %rbx
movq 0x60(%rsp), %rdi
testq %rdi, %rdi
je 0x61aa
callq 0x7026
movq 0x40(%rsp), %rdi
testq %rdi, %rdi
je 0x61b9
callq 0x7026
movq %rbx, %rdi
callq 0x55d0