// File: /workspace/github_cpp_makefile_star2_O3/Luthaf[P]zeopp/v_network.cc
// Function: voronoi_network::safe_search_previous_rect(double, double, double, int&, int&, int&, int&, int&)
bool voronoi_network::safe_search_previous_rect(double x,double y,double z,int &ijk,int &q,int &ci,int &cj,int &ck) {
	const double tol(0.5*net_tol);
	if(search_previous_rect(x+tol,y+tol,z+tol,ijk,q,ci,cj,ck)) return true;
	if(search_previous_rect(x-tol,y+tol,z+tol,ijk,q,ci,cj,ck)) return true;
	if(search_previous_rect(x+tol,y-tol,z+tol,ijk,q,ci,cj,ck)) return true;
	if(search_previous_rect(x-tol,y-tol,z+tol,ijk,q,ci,cj,ck)) return true;
	if(search_previous_rect(x+tol,y+tol,z-tol,ijk,q,ci,cj,ck)) return true;
	if(search_previous_rect(x-tol,y+tol,z-tol,ijk,q,ci,cj,ck)) return true;
	if(search_previous_rect(x+tol,y-tol,z-tol,ijk,q,ci,cj,ck)) return true;
	return search_previous_rect(x-tol,y-tol,z-tol,ijk,q,ci,cj,ck);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %r9, %rbx
movq %r8, %r14
movq %rcx, %r15
movq %rdx, %r12
movq %rsi, %r13
movq %rdi, %rbp
movsd 0x58(%rdi), %xmm5
mulsd 0xcc395(%rip), %xmm5    # 0x14d038
movapd %xmm5, %xmm3
movsd %xmm0, 0x10(%rsp)
addsd %xmm0, %xmm3
movapd %xmm5, %xmm4
movsd %xmm1, 0x8(%rsp)
addsd %xmm1, %xmm4
movsd %xmm5, 0x28(%rsp)
movsd %xmm2, (%rsp)
addsd %xmm2, %xmm5
movsd %xmm3, 0x18(%rsp)
movapd %xmm3, %xmm0
movsd %xmm4, 0x20(%rsp)
movapd %xmm4, %xmm1
movsd %xmm5, 0x30(%rsp)
movapd %xmm5, %xmm2
callq 0x80e7a
testb %al, %al
jne 0x80e33
movsd 0x10(%rsp), %xmm0
subsd 0x28(%rsp), %xmm0
movq %rbp, %rdi
movsd %xmm0, 0x10(%rsp)
movsd 0x20(%rsp), %xmm1
movsd 0x30(%rsp), %xmm2
movq %r13, %rsi
movq %r12, %rdx
movq %r15, %rcx
movq %r14, %r8
movq %rbx, %r9
callq 0x80e7a
testb %al, %al
jne 0x80e33
movsd 0x8(%rsp), %xmm1
subsd 0x28(%rsp), %xmm1
movq %rbp, %rdi
movsd 0x18(%rsp), %xmm0
movsd %xmm1, 0x8(%rsp)
movsd 0x30(%rsp), %xmm2
movq %r13, %rsi
movq %r12, %rdx
movq %r15, %rcx
movq %r14, %r8
movq %rbx, %r9
callq 0x80e7a
testb %al, %al
jne 0x80e33
movq %rbp, %rdi
movsd 0x10(%rsp), %xmm0
movsd 0x8(%rsp), %xmm1
movsd 0x30(%rsp), %xmm2
movq %r13, %rsi
movq %r12, %rdx
movq %r15, %rcx
movq %r14, %r8
movq %rbx, %r9
callq 0x80e7a
testb %al, %al
jne 0x80e33
movsd (%rsp), %xmm2
subsd 0x28(%rsp), %xmm2
movq %rbp, %rdi
movsd 0x18(%rsp), %xmm0
movsd 0x20(%rsp), %xmm1
movsd %xmm2, (%rsp)
movq %r13, %rsi
movq %r12, %rdx
movq %r15, %rcx
movq %r14, %r8
movq %rbx, %r9
callq 0x80e7a
testb %al, %al
jne 0x80e33
movq %rbp, %rdi
movsd 0x10(%rsp), %xmm0
movsd 0x20(%rsp), %xmm1
movsd (%rsp), %xmm2
movq %r13, %rsi
movq %r12, %rdx
movq %r15, %rcx
movq %r14, %r8
movq %rbx, %r9
callq 0x80e7a
testb %al, %al
jne 0x80e33
movq %rbp, %rdi
movsd 0x18(%rsp), %xmm0
movsd 0x8(%rsp), %xmm1
movsd (%rsp), %xmm2
movq %r13, %rsi
movq %r12, %rdx
movq %r15, %rcx
movq %r14, %r8
movq %rbx, %r9
callq 0x80e7a
testb %al, %al
je 0x80e44
movb $0x1, %al
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rbp, %rdi
movsd 0x10(%rsp), %xmm0
movsd 0x8(%rsp), %xmm1
movsd (%rsp), %xmm2
movq %r13, %rsi
movq %r12, %rdx
movq %r15, %rcx
movq %r14, %r8
movq %rbx, %r9
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x80e7a