// File: /workspace/github_cpp_makefile_star2_O3/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
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x108, %rsp            # imm = 0x108
movsd %xmm0, 0x38(%rsp)
movq %rdi, %rbx
xorps %xmm0, %xmm0
movaps %xmm0, 0x20(%rsp)
xorl %eax, %eax
movq %rax, 0x30(%rsp)
movq %rax, 0x10(%rsp)
movaps %xmm0, (%rsp)
movslq %esi, %rax
movq 0x2f0(%rdx), %r14
imulq $0x98, %rax, %r15
movupd (%r14,%r15), %xmm0
movupd 0x10(%r14,%r15), %xmm1
movups 0x20(%r14,%r15), %xmm2
movups 0x30(%r14,%r15), %xmm3
leaq 0x90(%rsp), %rdi
movaps %xmm3, -0x10(%rdi)
movaps %xmm2, -0x20(%rdi)
movapd %xmm1, -0x30(%rdi)
movapd %xmm0, -0x40(%rdi)
leaq 0xa0(%rsp), %rax
movq %rax, -0x10(%rax)
movq 0x40(%r14,%r15), %rsi
movq 0x48(%r14,%r15), %rdx
addq %rsi, %rdx
callq 0xf3ce
addq %r15, %r14
leaq 0xb0(%rsp), %rdi
leaq 0xc0(%rsp), %rax
movq %rax, -0x10(%rax)
movq 0x60(%r14), %rsi
movq 0x68(%r14), %rdx
addq %rsi, %rdx
callq 0xf3ce
movb 0x90(%r14), %al
movb %al, 0xe0(%rsp)
movupd 0x80(%r14), %xmm0
movapd %xmm0, 0xd0(%rsp)
movq (%rbx), %rax
cmpq %rax, 0x8(%rbx)
je 0x6bead
movl $0x1, %r15d
xorl %r13d, %r13d
leaq 0xf0(%rsp), %r14
movabsq $-0x5555555555555555, %r12 # imm = 0xAAAAAAAAAAAAAAAB
leaq (,%r13,2), %rbp
addq %r13, %rbp
movq 0x10(%rax,%rbp,8), %rcx
movq %rcx, 0x100(%rsp)
movupd (%rax,%rbp,8), %xmm0
movapd %xmm0, 0xf0(%rsp)
movq %r14, %rdi
xorl %esi, %esi
callq 0x83f9a
movsd (%rax), %xmm0
movsd %xmm0, 0x48(%rsp)
movq %r14, %rdi
movl $0x1, %esi
callq 0x83f9a
movsd (%rax), %xmm0
movsd %xmm0, 0x40(%rsp)
movq %r14, %rdi
movl $0x2, %esi
callq 0x83f9a
movsd (%rax), %xmm2
movsd 0x50(%rsp), %xmm3
movsd 0x58(%rsp), %xmm4
movsd 0x60(%rsp), %xmm5
movsd 0x48(%rsp), %xmm0
movsd 0x40(%rsp), %xmm1
callq 0x84cbb
movsd 0x80(%rsp), %xmm1
addsd 0x38(%rsp), %xmm1
ucomisd %xmm1, %xmm0
jb 0x6be8c
shlq $0x2, %r13
addq 0x18(%rbx), %r13
movq 0x28(%rsp), %rsi
cmpq 0x30(%rsp), %rsi
je 0x6be48
movl (%r13), %eax
movl %eax, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x28(%rsp)
jmp 0x6be55
leaq 0x20(%rsp), %rdi
movq %r13, %rdx
callq 0xf864
shlq $0x3, %rbp
addq (%rbx), %rbp
movq 0x8(%rsp), %rsi
cmpq 0x10(%rsp), %rsi
je 0x6be81
movq 0x10(%rbp), %rax
movq %rax, 0x10(%rsi)
movupd (%rbp), %xmm0
movupd %xmm0, (%rsi)
addq $0x18, 0x8(%rsp)
jmp 0x6be8c
movq %rsp, %rdi
movq %rbp, %rdx
callq 0x2fec4
movl %r15d, %r13d
movq (%rbx), %rax
movq 0x8(%rbx), %rcx
subq %rax, %rcx
sarq $0x3, %rcx
imulq %r12, %rcx
incl %r15d
cmpq %r13, %rcx
ja 0x6bd89
leaq 0x18(%rbx), %rdi
leaq 0x20(%rsp), %rsi
callq 0x100d2
movq %rsp, %rsi
movq %rbx, %rdi
callq 0xffc4
movq 0xb0(%rsp), %rdi
leaq 0xc0(%rsp), %rax
cmpq %rax, %rdi
leaq 0xa0(%rsp), %rbx
je 0x6bef3
movq 0xc0(%rsp), %rsi
incq %rsi
callq 0x4470
movq 0x90(%rsp), %rdi
cmpq %rbx, %rdi
je 0x6bf10
movq 0xa0(%rsp), %rsi
incq %rsi
callq 0x4470
movq (%rsp), %rdi
testq %rdi, %rdi
je 0x6bf26
movq 0x10(%rsp), %rsi
subq %rdi, %rsi
callq 0x4470
movq 0x20(%rsp), %rdi
testq %rdi, %rdi
je 0x6bf3d
movq 0x30(%rsp), %rsi
subq %rdi, %rsi
callq 0x4470
addq $0x108, %rsp            # imm = 0x108
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq 0x90(%rsp), %rdi
leaq 0xa0(%rsp), %rax
cmpq %rax, %rdi
je 0x6bf8d
movq 0xa0(%rsp), %rsi
incq %rsi
callq 0x4470
jmp 0x6bf8d
movq %rax, %rbx
jmp 0x6bf8d
jmp 0x6bf80
movq %rax, %rbx
leaq 0x50(%rsp), %rdi
callq 0x2f5e8
movq (%rsp), %rdi
testq %rdi, %rdi
je 0x6bfa3
movq 0x10(%rsp), %rsi
subq %rdi, %rsi
callq 0x4470
movq 0x20(%rsp), %rdi
testq %rdi, %rdi
je 0x6bfba
movq 0x30(%rsp), %rsi
subq %rdi, %rsi
callq 0x4470
movq %rbx, %rdi
callq 0x4780