// File: mitchellsayer[P]FastPointCloudSegmentation/src/./nanoflann.hpp
// Function: nanoflann::KDTreeSingleIndexAdaptor<nanoflann::L2_Simple_Adaptor<float, ScanlinePointCloud, float>, ScanlinePointCloud, 3, unsigned long>::computeBoundingBox(nanoflann::CArray<nanoflann::KDTreeSingleIndexAdaptor<nanoflann::L2_Simple_Adaptor<float, ScanlinePointCloud, float>, ScanlinePointCloud, 3, unsigned long>::Interval, 3ul>&)
void computeBoundingBox(BoundingBox& bbox)
		{
			bbox.resize((DIM>0 ? DIM : dim));
			if (dataset.kdtree_get_bbox(bbox))
			{
				// Done! It was implemented in derived class
			}
			else
			{
				const size_t N = dataset.kdtree_get_point_count();
				if (!N) throw std::runtime_error("[nanoflann] computeBoundingBox() called but no data points found.");
				for (int i=0; i<(DIM>0 ? DIM : dim); ++i) {
					bbox[i].low =
					bbox[i].high = dataset_get(0,i);
				}
				for (size_t k=1; k<N; ++k) {
					for (int i=0; i<(DIM>0 ? DIM : dim); ++i) {
						if (dataset_get(k,i)<bbox[i].low) bbox[i].low = dataset_get(k,i);
						if (dataset_get(k,i)>bbox[i].high) bbox[i].high = dataset_get(k,i);
					}
				}
			}
		}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x60, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x40(%rbp)
movq -0x10(%rbp), %rdi
movl $0x3, %esi
callq 0x10540
movq -0x40(%rbp), %rax
movq 0x20(%rax), %rdi
movq -0x10(%rbp), %rsi
callq 0x105c0
testb $0x1, %al
jne 0xfe6d
jmp 0xfe72
jmp 0x10037
movq -0x40(%rbp), %rax
movq 0x20(%rax), %rdi
callq 0xf2f0
movq %rax, -0x18(%rbp)
cmpq $0x0, -0x18(%rbp)
jne 0xfedd
movl $0x10, %edi
callq 0x20c0
movq %rax, %rdi
movq %rdi, %rax
movq %rax, -0x48(%rbp)
leaq 0x22e7(%rip), %rsi      # 0x1218c
callq 0x2080
jmp 0xfeac
movq -0x48(%rbp), %rdi
movq 0xa139(%rip), %rsi      # 0x19ff0
movq 0xa0f2(%rip), %rdx      # 0x19fb0
callq 0x2350
movq -0x48(%rbp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x20(%rbp)
movl %eax, -0x24(%rbp)
callq 0x2140
jmp 0x1003d
movl $0x0, -0x28(%rbp)
cmpl $0x3, -0x28(%rbp)
jge 0xff37
movq -0x40(%rbp), %rdi
movl -0x28(%rbp), %edx
xorl %eax, %eax
movl %eax, %esi
callq 0x105e0
movss %xmm0, -0x4c(%rbp)
movq -0x10(%rbp), %rdi
movslq -0x28(%rbp), %rsi
callq 0x10610
movss -0x4c(%rbp), %xmm0
movss %xmm0, 0x4(%rax)
movq -0x10(%rbp), %rdi
movslq -0x28(%rbp), %rsi
callq 0x10610
movss -0x4c(%rbp), %xmm0
movss %xmm0, (%rax)
movl -0x28(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x28(%rbp)
jmp 0xfee4
movq $0x1, -0x30(%rbp)
movq -0x30(%rbp), %rax
cmpq -0x18(%rbp), %rax
jae 0x10035
movl $0x0, -0x34(%rbp)
cmpl $0x3, -0x34(%rbp)
jge 0x10022
movq -0x40(%rbp), %rdi
movq -0x30(%rbp), %rsi
movl -0x34(%rbp), %edx
callq 0x105e0
movss %xmm0, -0x50(%rbp)
movq -0x10(%rbp), %rdi
movslq -0x34(%rbp), %rsi
callq 0x10610
movss -0x50(%rbp), %xmm1
movss (%rax), %xmm0
ucomiss %xmm1, %xmm0
jbe 0xffb9
movq -0x40(%rbp), %rdi
movq -0x30(%rbp), %rsi
movl -0x34(%rbp), %edx
callq 0x105e0
movss %xmm0, -0x54(%rbp)
movq -0x10(%rbp), %rdi
movslq -0x34(%rbp), %rsi
callq 0x10610
movss -0x54(%rbp), %xmm0
movss %xmm0, (%rax)
movq -0x40(%rbp), %rdi
movq -0x30(%rbp), %rsi
movl -0x34(%rbp), %edx
callq 0x105e0
movss %xmm0, -0x58(%rbp)
movq -0x10(%rbp), %rdi
movslq -0x34(%rbp), %rsi
callq 0x10610
movss -0x58(%rbp), %xmm0
ucomiss 0x4(%rax), %xmm0
jbe 0x10012
movq -0x40(%rbp), %rdi
movq -0x30(%rbp), %rsi
movl -0x34(%rbp), %edx
callq 0x105e0
movss %xmm0, -0x5c(%rbp)
movq -0x10(%rbp), %rdi
movslq -0x34(%rbp), %rsi
callq 0x10610
movss -0x5c(%rbp), %xmm0
movss %xmm0, 0x4(%rax)
jmp 0x10014
movl -0x34(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x34(%rbp)
jmp 0xff54
jmp 0x10024
movq -0x30(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x30(%rbp)
jmp 0xff3f
jmp 0x10037
addq $0x60, %rsp
popq %rbp
retq
movq -0x20(%rbp), %rdi
callq 0x2370
nopw %cs:(%rax,%rax)