// File: Luthaf[P]zeopp/v_network.cc
// Function: voronoi_network::~voronoi_network()
voronoi_network::~voronoi_network() {
	int l;

	// Remove Voronoi mapping array
	delete [] vmap;

	// Remove individual edge arrays
	for(l=0;l<edmem;l++) delete [] pered[l];
	for(l=0;l<edmem;l++) delete [] raded[l];
	for(l=0;l<edmem;l++) delete [] ed[l];

	// Remove back pointers
	delete [] regp;delete [] reg;

	// Remove memory for edges and related statistics
	delete [] numem;delete [] nec;delete [] nu;
	delete [] raded;delete [] pered;
	delete [] ne;delete [] ed;

	// Remove vertex structure arrays
	for(l=0;l<nxyz;l++) {
		delete [] idmem[l];
		delete [] pts[l];
	}
	delete [] ptsmem;delete [] ptsc;
	delete [] idmem;delete [] pts;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xb0, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x20(%rbp)
movq 0xd0(%rax), %rax
movq %rax, -0x18(%rbp)
cmpq $0x0, %rax
je 0xe2ce1
movq -0x18(%rbp), %rdi
callq 0x56c0
movl $0x0, -0xc(%rbp)
movq -0x20(%rbp), %rcx
movl -0xc(%rbp), %eax
cmpl 0xa4(%rcx), %eax
jge 0xe2d2a
movq -0x20(%rbp), %rax
movq 0x98(%rax), %rax
movslq -0xc(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq %rax, -0x28(%rbp)
cmpq $0x0, %rax
je 0xe2d1d
movq -0x28(%rbp), %rdi
callq 0x56c0
jmp 0xe2d1f
movl -0xc(%rbp), %eax
addl $0x1, %eax
movl %eax, -0xc(%rbp)
jmp 0xe2ce8
movl $0x0, -0xc(%rbp)
movq -0x20(%rbp), %rcx
movl -0xc(%rbp), %eax
cmpl 0xa4(%rcx), %eax
jge 0xe2d73
movq -0x20(%rbp), %rax
movq 0x90(%rax), %rax
movslq -0xc(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq %rax, -0x30(%rbp)
cmpq $0x0, %rax
je 0xe2d66
movq -0x30(%rbp), %rdi
callq 0x56c0
jmp 0xe2d68
movl -0xc(%rbp), %eax
addl $0x1, %eax
movl %eax, -0xc(%rbp)
jmp 0xe2d31
movl $0x0, -0xc(%rbp)
movq -0x20(%rbp), %rcx
movl -0xc(%rbp), %eax
cmpl 0xa4(%rcx), %eax
jge 0xe2dbc
movq -0x20(%rbp), %rax
movq 0x80(%rax), %rax
movslq -0xc(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq %rax, -0x38(%rbp)
cmpq $0x0, %rax
je 0xe2daf
movq -0x38(%rbp), %rdi
callq 0x56c0
jmp 0xe2db1
movl -0xc(%rbp), %eax
addl $0x1, %eax
movl %eax, -0xc(%rbp)
jmp 0xe2d7a
movq -0x20(%rbp), %rax
movq 0xc8(%rax), %rax
movq %rax, -0x40(%rbp)
cmpq $0x0, %rax
je 0xe2dda
movq -0x40(%rbp), %rdi
callq 0x56c0
movq -0x20(%rbp), %rax
movq 0xc0(%rax), %rax
movq %rax, -0x48(%rbp)
cmpq $0x0, %rax
je 0xe2df8
movq -0x48(%rbp), %rdi
callq 0x56c0
movq -0x20(%rbp), %rax
movq 0xb8(%rax), %rax
movq %rax, -0x50(%rbp)
cmpq $0x0, %rax
je 0xe2e16
movq -0x50(%rbp), %rdi
callq 0x56c0
movq -0x20(%rbp), %rax
movq 0xb0(%rax), %rax
movq %rax, -0x58(%rbp)
cmpq $0x0, %rax
je 0xe2e34
movq -0x58(%rbp), %rdi
callq 0x56c0
movq -0x20(%rbp), %rax
movq 0xa8(%rax), %rax
movq %rax, -0x60(%rbp)
cmpq $0x0, %rax
je 0xe2e52
movq -0x60(%rbp), %rdi
callq 0x56c0
movq -0x20(%rbp), %rax
movq 0x90(%rax), %rax
movq %rax, -0x68(%rbp)
cmpq $0x0, %rax
je 0xe2e70
movq -0x68(%rbp), %rdi
callq 0x56c0
movq -0x20(%rbp), %rax
movq 0x98(%rax), %rax
movq %rax, -0x70(%rbp)
cmpq $0x0, %rax
je 0xe2e8e
movq -0x70(%rbp), %rdi
callq 0x56c0
movq -0x20(%rbp), %rax
movq 0x88(%rax), %rax
movq %rax, -0x78(%rbp)
cmpq $0x0, %rax
je 0xe2eac
movq -0x78(%rbp), %rdi
callq 0x56c0
movq -0x20(%rbp), %rax
movq 0x80(%rax), %rax
movq %rax, -0x80(%rbp)
cmpq $0x0, %rax
je 0xe2eca
movq -0x80(%rbp), %rdi
callq 0x56c0
movl $0x0, -0xc(%rbp)
movq -0x20(%rbp), %rcx
movl -0xc(%rbp), %eax
cmpl 0x3c(%rcx), %eax
jge 0xe2f3c
movq -0x20(%rbp), %rax
movq 0x68(%rax), %rax
movslq -0xc(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq %rax, -0x88(%rbp)
cmpq $0x0, %rax
je 0xe2f06
movq -0x88(%rbp), %rdi
callq 0x56c0
movq -0x20(%rbp), %rax
movq 0x60(%rax), %rax
movslq -0xc(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq %rax, -0x90(%rbp)
cmpq $0x0, %rax
je 0xe2f2f
movq -0x90(%rbp), %rdi
callq 0x56c0
jmp 0xe2f31
movl -0xc(%rbp), %eax
addl $0x1, %eax
movl %eax, -0xc(%rbp)
jmp 0xe2ed1
movq -0x20(%rbp), %rax
movq 0x78(%rax), %rax
movq %rax, -0x98(%rbp)
cmpq $0x0, %rax
je 0xe2f5d
movq -0x98(%rbp), %rdi
callq 0x56c0
movq -0x20(%rbp), %rax
movq 0x70(%rax), %rax
movq %rax, -0xa0(%rbp)
cmpq $0x0, %rax
je 0xe2f7e
movq -0xa0(%rbp), %rdi
callq 0x56c0
movq -0x20(%rbp), %rax
movq 0x68(%rax), %rax
movq %rax, -0xa8(%rbp)
cmpq $0x0, %rax
je 0xe2f9f
movq -0xa8(%rbp), %rdi
callq 0x56c0
movq -0x20(%rbp), %rax
movq 0x60(%rax), %rax
movq %rax, -0xb0(%rbp)
cmpq $0x0, %rax
je 0xe2fc0
movq -0xb0(%rbp), %rdi
callq 0x56c0
addq $0xb0, %rsp
popq %rbp
retq
nopl (%rax)