	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function distance_1D
_distance_1D:                           ## @distance_1D
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$32, %rsp
	movapd	%xmm0, %xmm4
	ucomisd	%xmm1, %xmm3
	jb	LBB0_5
## %bb.1:
	ucomisd	%xmm4, %xmm2
	jb	LBB0_5
## %bb.2:
	ucomisd	%xmm1, %xmm2
	jb	LBB0_5
## %bb.3:
	ucomisd	%xmm4, %xmm3
	jb	LBB0_5
## %bb.4:
	movapd	%xmm2, %xmm0
	movsd	%xmm1, -16(%rbp)                ## 8-byte Spill
	movapd	%xmm3, %xmm1
	movsd	%xmm4, -8(%rbp)                 ## 8-byte Spill
	jmp	LBB0_10
LBB0_5:
	ucomisd	%xmm3, %xmm1
	xorpd	%xmm0, %xmm0
	jbe	LBB0_11
## %bb.6:
	ucomisd	%xmm2, %xmm4
	jbe	LBB0_11
## %bb.7:
	ucomisd	%xmm2, %xmm1
	jbe	LBB0_11
## %bb.8:
	ucomisd	%xmm3, %xmm4
	jbe	LBB0_11
## %bb.9:
	movapd	%xmm4, %xmm0
	movsd	%xmm3, -16(%rbp)                ## 8-byte Spill
	movsd	%xmm2, -8(%rbp)                 ## 8-byte Spill
LBB0_10:
	callq	_Min
	movsd	%xmm0, -24(%rbp)                ## 8-byte Spill
	movsd	-8(%rbp), %xmm0                 ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	movsd	-16(%rbp), %xmm1                ## 8-byte Reload
                                        ## xmm1 = mem[0],zero
	callq	_Max
	movsd	-24(%rbp), %xmm1                ## 8-byte Reload
                                        ## xmm1 = mem[0],zero
	subsd	%xmm0, %xmm1
	movapd	%xmm1, %xmm0
LBB0_11:
	addq	$32, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_distance_1D
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function distance_1D
_distance_1D:                           ; @distance_1D
	.cfi_startproc
; %bb.0:
	stp	d11, d10, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	d9, d8, [sp, #16]               ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset b8, -24
	.cfi_offset b9, -32
	.cfi_offset b10, -40
	.cfi_offset b11, -48
	fmov	d8, d3
	fmov	d10, d2
	fmov	d9, d1
	fmov	d11, d0
	fcmp	d1, d3
	fccmp	d0, d2, #2, ls
	fccmp	d1, d2, #2, ls
	fccmp	d0, d3, #2, ls
	b.ls	LBB0_6
; %bb.1:
	movi	d0, #0000000000000000
	fcmp	d9, d8
	b.le	LBB0_7
; %bb.2:
	fcmp	d11, d10
	b.le	LBB0_7
; %bb.3:
	fcmp	d9, d10
	b.le	LBB0_7
; %bb.4:
	fcmp	d11, d8
	b.le	LBB0_7
; %bb.5:
	fmov	d0, d11
	fmov	d1, d9
	bl	_Min
	fmov	d9, d0
	fmov	d0, d10
	fmov	d1, d8
	bl	_Max
	fsub	d0, d9, d0
	b	LBB0_7
LBB0_6:
	fmov	d0, d10
	fmov	d1, d8
	bl	_Min
	fmov	d8, d0
	fmov	d0, d11
	fmov	d1, d9
	bl	_Max
	fsub	d0, d8, d0
LBB0_7:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #16]               ; 16-byte Folded Reload
	ldp	d11, d10, [sp], #48             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_distance_1D
.subsections_via_symbols
