// File: /workspace/github_cpp_makefile_star2_O1/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 0x231b00(%rip), %rax    # 0x648758
movq %rax, (%rdi)
movq 0x150(%rdi), %rax
cmpq 0x148(%rdi), %rax
je 0x416d79
movq $0x653b20, %rdi         # imm = 0x653B20
leaq 0x1b74d6(%rip), %rsi    # 0x5ce153
movl $0x7, %edx
callq 0x490a00
movq (%rbx), %rax
leaq 0x20(%rsp), %rdi
movq %rbx, %rsi
callq *0x8(%rax)
leaq 0x58(%rsp), %rdi
leaq 0x1b8429(%rip), %rsi    # 0x5cf0ca
callq 0x4a25e0
leaq 0x10(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x416ccc
movq %rdx, (%rsp)
movq (%rcx), %rdx
movq %rdx, 0x10(%rsp)
jmp 0x416cd3
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 0x490a00
movq %rax, %r14
leaq 0x1b73a1(%rip), %rsi    # 0x5ce0ab
movl $0x4, %edx
movq %rax, %rdi
callq 0x490a00
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x471b50
movsbl %al, %esi
movq %r14, %rdi
callq 0x490500
movq %rax, %rdi
callq 0x48fad0
movq (%rsp), %rdi
cmpq %r15, %rdi
je 0x416d54
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x426f20
leaq 0x68(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x416d6f
movq 0x68(%rsp), %rsi
incq %rsi
callq 0x426f20
leaq 0x20(%rsp), %rdi
callq 0x410354
leaq 0x128(%rsp), %rdi
movl $0x21, %edx
movq %rbx, %rsi
xorl %ecx, %ecx
xorl %r8d, %r8d
callq 0x40bd54
movq $0x652aa8, %rsi         # imm = 0x652AA8
leaq 0x128(%rsp), %rdx
movq %rbx, %rdi
callq 0x40e05e
leaq 0x128(%rsp), %rdi
callq 0x410354
leaq 0xd0(%rsp), %rdi
movl $0x29, %edx
movq %rbx, %rsi
xorl %ecx, %ecx
xorl %r8d, %r8d
callq 0x40bd54
movq $0x652b00, %rsi         # imm = 0x652B00
leaq 0xd0(%rsp), %rdx
movq %rbx, %rdi
callq 0x40e05e
leaq 0xd0(%rsp), %rdi
callq 0x410354
leaq 0x78(%rsp), %rdi
movl $0x39, %edx
movq %rbx, %rsi
xorl %ecx, %ecx
xorl %r8d, %r8d
callq 0x40bd54
movq $0x652c08, %rsi         # imm = 0x652C08
leaq 0x78(%rsp), %rdx
movq %rbx, %rdi
callq 0x40e05e
leaq 0x78(%rsp), %rdi
callq 0x410354
movq $0x653c40, %rdi         # imm = 0x653C40
leaq 0x1b7259(%rip), %rsi    # 0x5ce091
movl $0x4, %edx
callq 0x490a00
movq (%rbx), %rax
leaq 0x20(%rsp), %rdi
movq %rbx, %rsi
callq *0x8(%rax)
leaq 0x58(%rsp), %rdi
leaq 0x1b82a3(%rip), %rsi    # 0x5cf0ff
callq 0x4a25e0
leaq 0x10(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x416e87
movq %rdx, (%rsp)
movq (%rcx), %rdx
movq %rdx, 0x10(%rsp)
jmp 0x416e8e
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 $0x653c40, %rdi         # imm = 0x653C40
callq 0x490a00
movq %rax, %r14
leaq 0x1b71e6(%rip), %rsi    # 0x5ce0ab
movl $0x4, %edx
movq %rax, %rdi
callq 0x490a00
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x471b50
movsbl %al, %esi
movq %r14, %rdi
callq 0x490500
movq %rax, %rdi
callq 0x48fad0
movq (%rsp), %rdi
cmpq %r15, %rdi
je 0x416f0f
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x426f20
leaq 0x68(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x416f2a
movq 0x68(%rsp), %rsi
incq %rsi
callq 0x426f20
leaq 0x20(%rsp), %rdi
callq 0x410354
leaq 0x110(%rbx), %rdi
callq 0x410354
movq 0x148(%rbx), %rdi
testq %rdi, %rdi
je 0x416f5b
movq 0x158(%rbx), %rsi
subq %rdi, %rsi
callq 0x426f20
leaq 0x88(%rbx), %rdi
callq 0x4181e4
movq %rbx, %rdi
callq 0x40fc56
addq $0x180, %rsp            # imm = 0x180
popq %rbx
popq %r14
popq %r15
retq
movq %rax, %rdi
callq 0x405457