	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function computeDistance
_computeDistance:                       ## @computeDistance
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %rbx
	testl	%edi, %edi
	je	LBB0_1
## %bb.18:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_point_point_distance           ## TAILCALL
LBB0_1:
	movq	(%r14), %rcx
	movq	16(%rbx), %rax
	cmpq	%rax, %rcx
	jg	LBB0_11
## %bb.2:
	cmpq	(%rbx), %rcx
	jge	LBB0_3
LBB0_11:
	movq	8(%r14), %rcx
	cmpq	24(%rbx), %rcx
	jg	LBB0_16
## %bb.12:
	cmpq	8(%rbx), %rcx
	jge	LBB0_13
LBB0_16:
	leaq	16(%rbx), %r15
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_point_point_distance
	movsd	%xmm0, -32(%rbp)                ## 8-byte Spill
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_point_point_distance
	minsd	-32(%rbp), %xmm0                ## 8-byte Folded Reload
	movsd	%xmm0, -32(%rbp)                ## 8-byte Spill
	movq	(%rbx), %rax
	movq	%rax, -48(%rbp)
	movq	24(%rbx), %rax
	movq	%rax, -40(%rbp)
	leaq	-48(%rbp), %r15
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_point_point_distance
	minsd	-32(%rbp), %xmm0                ## 8-byte Folded Reload
	movsd	%xmm0, -32(%rbp)                ## 8-byte Spill
	movdqu	8(%rbx), %xmm0
	pshufd	$78, %xmm0, %xmm0               ## xmm0 = xmm0[2,3,0,1]
	movdqa	%xmm0, -48(%rbp)
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_point_point_distance
	minsd	-32(%rbp), %xmm0                ## 8-byte Folded Reload
LBB0_17:
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	8(%r14), %rax
	cmpq	24(%rbx), %rax
	jg	LBB0_5
## %bb.4:
	xorpd	%xmm0, %xmm0
	cmpq	8(%rbx), %rax
	jge	LBB0_17
LBB0_5:
	movq	8(%rbx), %rax
	xorl	%edi, %edi
	cmpq	24(%rbx), %rax
	setle	%dil
	callq	_Assert
	movq	8(%r14), %rax
	movq	24(%rbx), %rsi
	cmpq	%rsi, %rax
	jg	LBB0_6
## %bb.8:
	movq	8(%rbx), %rdi
	cmpq	%rdi, %rax
	jl	LBB0_10
LBB0_15:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_elog
	xorpd	%xmm0, %xmm0
	jmp	LBB0_17
LBB0_13:
	xorl	%edi, %edi
	cmpq	%rax, (%rbx)
	setle	%dil
	callq	_Assert
	movq	(%r14), %rax
	movq	16(%rbx), %rsi
	cmpq	%rsi, %rax
	jle	LBB0_14
LBB0_6:
	movq	%rax, %rdi
	jmp	LBB0_7
LBB0_14:
	movq	(%rbx), %rdi
	cmpq	%rdi, %rax
	jge	LBB0_15
LBB0_10:
	movq	%rax, %rsi
LBB0_7:
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_float8_mi                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ERROR,4,2                      ## @ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"inconsistent point values"

	.no_dead_strip	_computeDistance
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function computeDistance
_computeDistance:                       ; @computeDistance
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	d9, d8, [sp, #16]               ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset b8, -56
	.cfi_offset b9, -64
	mov	x20, x2
	mov	x19, x1
	cbz	w0, LBB0_2
; %bb.1:
	mov	x0, x20
	mov	x1, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #16]               ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_point_point_distance
LBB0_2:
	ldr	x9, [x20]
	mov	x21, x19
	ldr	x8, [x21, #16]!
	cmp	x9, x8
	b.gt	LBB0_4
; %bb.3:
	ldr	x10, [x19]
	cmp	x9, x10
	b.ge	LBB0_8
LBB0_4:
	ldr	x9, [x20, #8]
	ldr	x10, [x19, #24]
	cmp	x9, x10
	b.gt	LBB0_6
; %bb.5:
	ldr	x10, [x19, #8]
	cmp	x9, x10
	b.ge	LBB0_13
LBB0_6:
	mov	x0, x20
	mov	x1, x19
	bl	_point_point_distance
	fmov	d8, d0
	mov	x0, x20
	mov	x1, x21
	bl	_point_point_distance
	fcmp	d8, d0
	fcsel	d8, d0, d8, gt
	ldr	x8, [x19]
	ldr	x9, [x19, #24]
	stp	x8, x9, [sp]
	mov	x1, sp
	mov	x0, x20
	bl	_point_point_distance
	fcmp	d8, d0
	fcsel	d8, d0, d8, gt
	ldur	q0, [x19, #8]
	ext.16b	v0, v0, v0, #8
	str	q0, [sp]
	mov	x1, sp
	mov	x0, x20
	bl	_point_point_distance
	fcmp	d8, d0
	fcsel	d0, d0, d8, gt
LBB0_7:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #16]               ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_8:
	ldr	x8, [x20, #8]
	ldr	x9, [x19, #24]
	cmp	x8, x9
	b.gt	LBB0_10
; %bb.9:
	ldr	x9, [x19, #8]
	movi	d0, #0000000000000000
	cmp	x8, x9
	b.ge	LBB0_7
LBB0_10:
	ldr	x8, [x19, #8]
	ldr	x9, [x19, #24]
	cmp	x8, x9
	cset	w0, le
	bl	_Assert
	ldr	x8, [x20, #8]
	ldr	x1, [x19, #24]
	cmp	x8, x1
	b.gt	LBB0_14
; %bb.11:
	ldr	x0, [x19, #8]
	cmp	x8, x0
	b.lt	LBB0_16
LBB0_12:
Lloh0:
	adrp	x8, _ERROR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_elog
	movi	d0, #0000000000000000
	b	LBB0_7
LBB0_13:
	ldr	x9, [x19]
	cmp	x9, x8
	cset	w0, le
	bl	_Assert
	ldr	x8, [x20]
	ldr	x1, [x19, #16]
	cmp	x8, x1
	b.le	LBB0_15
LBB0_14:
	mov	x0, x8
	b	LBB0_17
LBB0_15:
	ldr	x0, [x19]
	cmp	x8, x0
	b.ge	LBB0_12
LBB0_16:
	mov	x1, x8
LBB0_17:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #16]               ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_float8_mi
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ERROR,4,2                      ; @ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"inconsistent point values"

	.no_dead_strip	_computeDistance
.subsections_via_symbols
