// File: Luthaf[P]zeopp/voronoicell.cc
// Function: BASIC_VCELL::removeOverlappedNodes(int, ATOM_NETWORK*, double)
void BASIC_VCELL::removeOverlappedNodes(int atomID, ATOM_NETWORK *atmnet, double r_probe){
  vector<int> newIDs;
  vector<Point> newCoords;
  ATOM center = atmnet->atoms[atomID];
  for(unsigned int i = 0; i < nodeCoords.size(); i++){
    Point node  = nodeCoords[i];
    if(calcEuclideanDistance(node[0], node[1], node[2], center.x, center.y, center.z) >= 
		(center.radius + r_probe)){
      newIDs.push_back(nodeIDs[i]);
      newCoords.push_back(nodeCoords[i]);
    }
  }
  nodeIDs = newIDs; 
  nodeCoords = newCoords;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x150, %rsp            # imm = 0x150
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movq %rdx, -0x18(%rbp)
movsd %xmm0, -0x20(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x118(%rbp)
leaq -0x38(%rbp), %rdi
callq 0xd0d0
leaq -0x50(%rbp), %rdi
callq 0xed40
movq -0x18(%rbp), %rdi
addq $0x2f0, %rdi            # imm = 0x2F0
movslq -0xc(%rbp), %rsi
callq 0xfcc0
movq %rax, %rsi
leaq -0xe8(%rbp), %rdi
callq 0xf0d0
jmp 0xbd55d
movl $0x0, -0xf8(%rbp)
movq -0x118(%rbp), %rdi
movl -0xf8(%rbp), %eax
movq %rax, -0x120(%rbp)
callq 0x17c60
movq %rax, %rcx
movq -0x120(%rbp), %rax
cmpq %rcx, %rax
jae 0xbd725
movq -0x118(%rbp), %rdi
movl -0xf8(%rbp), %eax
movl %eax, %esi
callq 0x5c150
movq 0x10(%rax), %rcx
movq %rcx, -0x100(%rbp)
movups (%rax), %xmm0
movaps %xmm0, -0x110(%rbp)
leaq -0x110(%rbp), %rdi
xorl %esi, %esi
callq 0xe9d70
movq %rax, -0x128(%rbp)
jmp 0xbd5d3
movq -0x128(%rbp), %rax
movsd (%rax), %xmm0
movsd %xmm0, -0x138(%rbp)
leaq -0x110(%rbp), %rdi
movl $0x1, %esi
callq 0xe9d70
movq %rax, -0x130(%rbp)
jmp 0xbd600
movq -0x130(%rbp), %rax
movsd (%rax), %xmm0
movsd %xmm0, -0x148(%rbp)
leaq -0x110(%rbp), %rdi
movl $0x2, %esi
callq 0xe9d70
movq %rax, -0x140(%rbp)
jmp 0xbd62d
movsd -0x148(%rbp), %xmm1
movsd -0x138(%rbp), %xmm0
movq -0x140(%rbp), %rax
movsd (%rax), %xmm2
movsd -0xe8(%rbp), %xmm3
movsd -0xe0(%rbp), %xmm4
movsd -0xd8(%rbp), %xmm5
callq 0xebaf0
movsd %xmm0, -0x150(%rbp)
jmp 0xbd66f
movsd -0x150(%rbp), %xmm0
movsd -0xb8(%rbp), %xmm1
addsd -0x20(%rbp), %xmm1
ucomisd %xmm1, %xmm0
jb 0xbd70f
movq -0x118(%rbp), %rdi
addq $0x18, %rdi
movl -0xf8(%rbp), %eax
movl %eax, %esi
callq 0xed60
movq %rax, %rsi
leaq -0x38(%rbp), %rdi
callq 0xd1b0
jmp 0xbd6b4
movq -0x118(%rbp), %rdi
movl -0xf8(%rbp), %eax
movl %eax, %esi
callq 0x5c150
movq %rax, %rsi
leaq -0x50(%rbp), %rdi
callq 0x59bf0
jmp 0xbd6d6
jmp 0xbd70f
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xf0(%rbp)
movl %eax, -0xf4(%rbp)
jmp 0xbd774
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xf0(%rbp)
movl %eax, -0xf4(%rbp)
leaq -0xe8(%rbp), %rdi
callq 0xf200
jmp 0xbd774
jmp 0xbd711
movl -0xf8(%rbp), %eax
addl $0x1, %eax
movl %eax, -0xf8(%rbp)
jmp 0xbd567
movq -0x118(%rbp), %rdi
addq $0x18, %rdi
leaq -0x38(%rbp), %rsi
callq 0x17a10
jmp 0xbd73b
movq -0x118(%rbp), %rdi
leaq -0x50(%rbp), %rsi
callq 0x177c0
jmp 0xbd74d
leaq -0xe8(%rbp), %rdi
callq 0xf200
leaq -0x50(%rbp), %rdi
callq 0xefe0
leaq -0x38(%rbp), %rdi
callq 0xec80
addq $0x150, %rsp            # imm = 0x150
popq %rbp
retq
leaq -0x50(%rbp), %rdi
callq 0xefe0
leaq -0x38(%rbp), %rdi
callq 0xec80
movq -0xf0(%rbp), %rdi
callq 0x58f0
nopw %cs:(%rax,%rax)