// File: /workspace/github_cpp_makefile_star2_O3/enbock[P]Warp10Server/ulib/src/Network/Manager.cpp
// Function: u::Network::Manager::~Manager()
Manager::~Manager()
{
	if (_listener.size() > 0) {
		error(
			className()
			+ "::~Manager: Listeners must be closed before destroy."
		);
	}
	
	removeEventListener(
		Event::REGISTER_NETWORK
		, Callback(this, cb_cast(&Network::Manager::onRegisterNetwork))
	);
	removeEventListener(
		Event::REQUEST_LISTENER
		, Callback(this, cb_cast(&Network::Manager::onRequestListener))
	);
	removeEventListener(
		Event::CLOSE
		, Callback(this, cb_cast(&Network::Manager::onCloseRequest))
	);

	trace(className() + "::~Manager: Down.");
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x180, %rsp            # imm = 0x180
movq %rdi, %rbx
leaq 0x231b84(%rip), %rax    # 0x648758
movq %rax, (%rdi)
movq 0x150(%rdi), %rax
cmpq 0x148(%rdi), %rax
je 0x416cf5
movq $0x653b20, %rdi         # imm = 0x653B20
leaq 0x1b755a(%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 0x1b84ad(%rip), %rsi    # 0x5cf0ca
callq 0x4a24f0
leaq 0x10(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x416c48
movq %rdx, (%rsp)
movq (%rcx), %rdx
movq %rdx, 0x10(%rsp)
jmp 0x416c4f
movups (%rcx), %xmm0
movups %xmm0, (%r15)
movq 0x8(%rax), %rdx
movq %rdx, 0x8(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq (%rsp), %rsi
movq 0x8(%rsp), %rdx
movq $0x653b20, %rdi         # imm = 0x653B20
callq 0x490910
movq %rax, %r14
leaq 0x1b7425(%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 0x416cd0
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x426e30
leaq 0x68(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x416ceb
movq 0x68(%rsp), %rsi
incq %rsi
callq 0x426e30
leaq 0x20(%rsp), %rdi
callq 0x410332
leaq 0x128(%rsp), %rdi
movl $0x21, %edx
movq %rbx, %rsi
xorl %ecx, %ecx
xorl %r8d, %r8d
callq 0x40bcd8
movq $0x652aa8, %rsi         # imm = 0x652AA8
leaq 0x128(%rsp), %rdx
movq %rbx, %rdi
callq 0x40dfa4
leaq 0x128(%rsp), %rdi
callq 0x410332
leaq 0xd0(%rsp), %rdi
movl $0x29, %edx
movq %rbx, %rsi
xorl %ecx, %ecx
xorl %r8d, %r8d
callq 0x40bcd8
movq $0x652b00, %rsi         # imm = 0x652B00
leaq 0xd0(%rsp), %rdx
movq %rbx, %rdi
callq 0x40dfa4
leaq 0xd0(%rsp), %rdi
callq 0x410332
leaq 0x78(%rsp), %rdi
movl $0x39, %edx
movq %rbx, %rsi
xorl %ecx, %ecx
xorl %r8d, %r8d
callq 0x40bcd8
movq $0x652c08, %rsi         # imm = 0x652C08
leaq 0x78(%rsp), %rdx
movq %rbx, %rdi
callq 0x40dfa4
leaq 0x78(%rsp), %rdi
callq 0x410332
movq $0x653c40, %rdi         # imm = 0x653C40
leaq 0x1b72dd(%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 0x1b8327(%rip), %rsi    # 0x5cf0ff
callq 0x4a24f0
leaq 0x10(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rsi
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rsi
je 0x416e03
movq %rsi, (%rsp)
movq (%rcx), %rdx
movq %rdx, 0x10(%rsp)
jmp 0x416e0d
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 0x1b7270(%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 0x416e85
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x426e30
leaq 0x68(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x416ea0
movq 0x68(%rsp), %rsi
incq %rsi
callq 0x426e30
leaq 0x20(%rsp), %rdi
callq 0x410332
leaq 0x110(%rbx), %rdi
callq 0x410332
movq 0x148(%rbx), %rdi
testq %rdi, %rdi
je 0x416ed1
movq 0x158(%rbx), %rsi
subq %rdi, %rsi
callq 0x426e30
leaq 0x88(%rbx), %rdi
callq 0x41814e
movq %rbx, %rdi
callq 0x40fc3a
addq $0x180, %rsp            # imm = 0x180
popq %rbx
popq %r14
popq %r15
retq
movq %rax, %rdi
callq 0x405453