// File: /workspace/github_cpp_makefile_star2_O3/enbock[P]Warp10Server/warp10server/src/Server.cpp
// Function: Warp10::Server::onManagerClosed(u::Object*)
void Server::onManagerClosed(Object* arg)
{
	arg->destroy();
	lock();
	bool shutdown = _isShuttingDown == true;
	unlock();
	if (shutdown) {
		trace(className() + "::onManagerClosed: All closed. Exit program.");
		programExit();
	} else {
		error(className() + "::onManagerClosed: Unexpected closing.");
		this->shutdown();
		//trace(className() + ": All closed. Continue program.");
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x78, %rsp
movq %rdi, %rbx
movq (%rsi), %rax
movq %rsi, %rdi
callq *(%rax)
movq %rbx, %rdi
callq 0x410226
movb 0x228(%rbx), %bpl
movq %rbx, %rdi
callq 0x4101de
cmpb $0x1, %bpl
jne 0x405e31
movq $0x653c40, %rdi         # imm = 0x653C40
leaq 0x1c82af(%rip), %rsi    # 0x5ce091
movl $0x4, %edx
callq 0x490910
movq (%rbx), %rax
leaq 0x20(%rsp), %rdi
movq %rbx, %rsi
callq *0x8(%rax)
leaq 0x58(%rsp), %rdi
leaq 0x1c8320(%rip), %rsi    # 0x5ce126
callq 0x4a24f0
leaq 0x10(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rsi
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rsi
je 0x405e95
movq %rsi, (%rsp)
movq (%rcx), %rdx
movq %rdx, 0x10(%rsp)
jmp 0x405e9f
movq $0x653b20, %rdi         # imm = 0x653B20
leaq 0x1c8314(%rip), %rsi    # 0x5ce153
movl $0x7, %edx
callq 0x490910
movq (%rbx), %rax
leaq 0x20(%rsp), %rdi
movq %rbx, %rsi
callq *0x8(%rax)
leaq 0x58(%rsp), %rdi
leaq 0x1c82f8(%rip), %rsi    # 0x5ce15b
callq 0x4a24f0
leaq 0x10(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rsi
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rsi
je 0x405f49
movq %rsi, (%rsp)
movq (%rcx), %rdx
movq %rdx, 0x10(%rsp)
jmp 0x405f53
movups (%rcx), %xmm0
movups %xmm0, (%r15)
movq %r15, %rsi
movq 0x8(%rax), %rdx
movq %rdx, 0x8(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq $0x653c40, %rdi         # imm = 0x653C40
callq 0x490910
movq %rax, %r14
leaq 0x1c81de(%rip), %rsi    # 0x5ce0ab
movl $0x4, %edx
movq %rax, %rdi
callq 0x490910
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x471a60
movsbl %al, %esi
movq %r14, %rdi
callq 0x490410
movq %rax, %rdi
callq 0x48f9e0
movq (%rsp), %rdi
cmpq %r15, %rdi
je 0x405f17
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x426e30
leaq 0x68(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x405f32
movq 0x68(%rsp), %rsi
incq %rsi
callq 0x426e30
leaq 0x20(%rsp), %rdi
callq 0x410332
movq %rbx, %rdi
callq 0x406266
jmp 0x405ff8
movups (%rcx), %xmm0
movups %xmm0, (%r15)
movq %r15, %rsi
movq 0x8(%rax), %rdx
movq %rdx, 0x8(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq $0x653b20, %rdi         # imm = 0x653B20
callq 0x490910
movq %rax, %r14
leaq 0x1c812a(%rip), %rsi    # 0x5ce0ab
movl $0x4, %edx
movq %rax, %rdi
callq 0x490910
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x471a60
movsbl %al, %esi
movq %r14, %rdi
callq 0x490410
movq %rax, %rdi
callq 0x48f9e0
movq (%rsp), %rdi
cmpq %r15, %rdi
je 0x405fcb
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x426e30
leaq 0x68(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x405fe6
movq 0x68(%rsp), %rsi
incq %rsi
callq 0x426e30
leaq 0x20(%rsp), %rdi
callq 0x410332
movq %rbx, %rdi
callq 0x40620c
addq $0x78, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
jmp 0x406005
movq %rax, %rbx
jmp 0x406025
jmp 0x40600c
movq %rax, %rbx
movq (%rsp), %rdi
cmpq %r15, %rdi
je 0x406025
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x426e30
leaq 0x20(%rsp), %rdi
callq 0x40512c
movq %rbx, %rdi
callq 0x4d10c0
nop