// File: /workspace/github_cpp_makefile_star2_O3/mortrevere[P]ninjat/main.cpp
// Function: clientCleanup(int, std::vector<int, std::allocator<int>>&, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>&, bool)
void clientCleanup(int csock, std::vector<int>& clients, std::vector<std::string>& nicks, bool notifyEveryone = true) {
  std::string nick = nicks[getIndex(csock, clients)];
  nicks.erase(nicks.begin() + getIndex(csock, clients));
  clients.erase(clients.begin() + getIndex(csock, clients));
  closesocket(csock);
  if(notifyEveryone && nick != "") {
    sAll(" *** [QUIT] : " + nick + "\n", clients);
  }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
movl %ecx, %ebp
movq %rdx, %r15
movq %rsi, %rbx
movl %edi, %r14d
movabsq $0x100000000, %r13      # imm = 0x100000000
movq (%rsi), %rcx
movq 0x8(%rsi), %rdx
movq $-0x1, %r12
movq $-0x1, %rax
subq %rcx, %rdx
je 0x2eb2
sarq $0x2, %rdx
cmpq $0x1, %rdx
adcq $0x0, %rdx
xorl %eax, %eax
xorl %esi, %esi
cmpl %r14d, (%rcx,%rsi,4)
je 0x2eae
incq %rsi
addq %r13, %rax
cmpq %rsi, %rdx
jne 0x2e94
movq $-0x1, %rax
jmp 0x2eb2
sarq $0x20, %rax
movq (%r15), %rcx
shlq $0x5, %rax
leaq 0x18(%rsp), %rdx
movq %rdx, -0x10(%rdx)
movq (%rcx,%rax), %rsi
movq 0x8(%rcx,%rax), %rdx
addq %rsi, %rdx
leaq 0x8(%rsp), %rdi
callq 0x62fa
movq (%r15), %rsi
movq (%rbx), %rax
movq 0x8(%rbx), %rcx
subq %rax, %rcx
je 0x2f11
sarq $0x2, %rcx
cmpq $0x1, %rcx
adcq $0x0, %rcx
xorl %edx, %edx
xorl %edi, %edi
cmpl %r14d, (%rax,%rdi,4)
je 0x2f0a
incq %rdi
addq %r13, %rdx
cmpq %rdi, %rcx
jne 0x2ef7
jmp 0x2f11
sarq $0x20, %rdx
movq %rdx, %r12
shlq $0x5, %r12
addq %r12, %rsi
movq %r15, %rdi
callq 0x6632
movq (%rbx), %rax
movq 0x8(%rbx), %rdx
movq $-0x1, %rcx
movq %rdx, %rsi
subq %rax, %rsi
je 0x2f61
sarq $0x2, %rsi
cmpq $0x1, %rsi
adcq $0x0, %rsi
xorl %edi, %edi
xorl %r8d, %r8d
cmpl %r14d, (%rax,%r8,4)
je 0x2f5a
incq %r8
addq %r13, %rdi
cmpq %r8, %rsi
jne 0x2f47
jmp 0x2f61
sarq $0x20, %rdi
movq %rdi, %rcx
leaq (%rax,%rcx,4), %rsi
addq $0x4, %rsi
cmpq %rdx, %rsi
je 0x2f7e
leaq (%rax,%rcx,4), %rdi
subq %rsi, %rdx
callq 0x2330
movq 0x8(%rbx), %rdx
addq $-0x4, %rdx
movq %rdx, 0x8(%rbx)
movl %r14d, %edi
callq 0x23c0
testb %bpl, %bpl
je 0x305b
leaq 0x4104(%rip), %rsi      # 0x70a2
leaq 0x8(%rsp), %rdi
callq 0x2090
testl %eax, %eax
je 0x305b
leaq 0x40b7(%rip), %rsi      # 0x706e
leaq 0x48(%rsp), %rdi
leaq 0x8(%rsp), %rdx
callq 0x5f98
leaq 0x43b3(%rip), %rsi      # 0x7380
leaq 0x48(%rsp), %rdi
callq 0x23b0
leaq 0x38(%rsp), %r14
movq %r14, -0x10(%r14)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x2ffe
movq %rdx, 0x28(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x38(%rsp)
jmp 0x3005
movups (%rcx), %xmm0
movups %xmm0, (%r14)
movq 0x8(%rax), %rdx
leaq 0x28(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq %rbx, %rsi
callq 0x29c0
movq 0x28(%rsp), %rdi
cmpq %r14, %rdi
je 0x3040
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x2230
leaq 0x58(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x305b
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x2230
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x3077
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x2230
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq 0x28(%rsp), %rdi
cmpq %r14, %rdi
je 0x30a5
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x2230
jmp 0x30a5
movq %rax, %rbx
leaq 0x58(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x30c9
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x2230
jmp 0x30c9
jmp 0x30c6
jmp 0x30c6
movq %rax, %rbx
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x30e5
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x2230
movq %rbx, %rdi
callq 0x2370