// File: /workspace/github_cpp_makefile_star2_O1/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 0x2ecc
sarq $0x2, %rdx
cmpq $0x1, %rdx
adcq $0x0, %rdx
xorl %eax, %eax
xorl %esi, %esi
cmpl %r14d, (%rcx,%rsi,4)
je 0x2ec8
incq %rsi
addq %r13, %rax
cmpq %rsi, %rdx
jne 0x2eae
movq $-0x1, %rax
jmp 0x2ecc
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 0x621e
movq (%r15), %rsi
movq (%rbx), %rax
movq 0x8(%rbx), %rcx
subq %rax, %rcx
je 0x2f2b
sarq $0x2, %rcx
cmpq $0x1, %rcx
adcq $0x0, %rcx
xorl %edx, %edx
xorl %edi, %edi
cmpl %r14d, (%rax,%rdi,4)
je 0x2f24
incq %rdi
addq %r13, %rdx
cmpq %rdi, %rcx
jne 0x2f11
jmp 0x2f2b
sarq $0x20, %rdx
movq %rdx, %r12
shlq $0x5, %r12
addq %r12, %rsi
movq %r15, %rdi
callq 0x6582
movq (%rbx), %rax
movq 0x8(%rbx), %rdx
movq $-0x1, %rcx
movq %rdx, %rsi
subq %rax, %rsi
je 0x2f7b
sarq $0x2, %rsi
cmpq $0x1, %rsi
adcq $0x0, %rsi
xorl %edi, %edi
xorl %r8d, %r8d
cmpl %r14d, (%rax,%r8,4)
je 0x2f74
incq %r8
addq %r13, %rdi
cmpq %r8, %rsi
jne 0x2f61
jmp 0x2f7b
sarq $0x20, %rdi
movq %rdi, %rcx
leaq (%rax,%rcx,4), %rsi
addq $0x4, %rsi
cmpq %rdx, %rsi
je 0x2f94
leaq (%rax,%rcx,4), %rdi
subq %rsi, %rdx
callq 0x2330
addq $-0x4, 0x8(%rbx)
movl %r14d, %edi
callq 0x23c0
testb %bpl, %bpl
je 0x306e
leaq 0x40f1(%rip), %rsi      # 0x70a2
leaq 0x8(%rsp), %rdi
callq 0x2090
testl %eax, %eax
je 0x306e
leaq 0x40a4(%rip), %rsi      # 0x706e
leaq 0x48(%rsp), %rdi
leaq 0x8(%rsp), %rdx
callq 0x5ea9
leaq 0x43a0(%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 0x3011
movq %rdx, 0x28(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x38(%rsp)
jmp 0x3018
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 0x29d3
movq 0x28(%rsp), %rdi
cmpq %r14, %rdi
je 0x3053
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x2230
leaq 0x58(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x306e
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x2230
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x308a
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 0x30b8
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x2230
jmp 0x30b8
movq %rax, %rbx
leaq 0x58(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x30dc
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x2230
jmp 0x30dc
jmp 0x30d9
jmp 0x30d9
movq %rax, %rbx
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x30f8
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x2230
movq %rbx, %rdi
callq 0x2370