	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function point_box_distance
_point_box_distance:                    ## @point_box_distance
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	(%rdi), %rdi
	callq	_isnan
	testq	%rax, %rax
	jne	LBB0_13
## %bb.1:
	movq	16(%r14), %rdi
	callq	_isnan
	testq	%rax, %rax
	jne	LBB0_13
## %bb.2:
	movq	8(%rbx), %rdi
	callq	_isnan
	testq	%rax, %rax
	jne	LBB0_13
## %bb.3:
	movq	24(%r14), %rdi
	callq	_isnan
	testq	%rax, %rax
	je	LBB0_4
LBB0_13:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_get_float8_nan                 ## TAILCALL
LBB0_4:
	movq	(%rbx), %rax
	movq	16(%r14), %rcx
	subq	%rax, %rcx
	jle	LBB0_6
## %bb.5:
	cvtsi2sd	%rcx, %xmm0
	jmp	LBB0_8
LBB0_6:
	xorpd	%xmm0, %xmm0
	subq	(%r14), %rax
	jle	LBB0_8
## %bb.7:
	xorps	%xmm0, %xmm0
	cvtsi2sd	%rax, %xmm0
LBB0_8:
	movq	8(%rbx), %rax
	movq	24(%r14), %rcx
	subq	%rax, %rcx
	jle	LBB0_10
## %bb.9:
	cvtsi2sd	%rcx, %xmm1
	jmp	LBB0_12
LBB0_10:
	xorpd	%xmm1, %xmm1
	subq	8(%r14), %rax
	jle	LBB0_12
## %bb.11:
	xorps	%xmm1, %xmm1
	cvtsi2sd	%rax, %xmm1
LBB0_12:
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_HYPOT                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_point_box_distance
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function point_box_distance
_point_box_distance:                    ; @point_box_distance
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
	ldr	x0, [x0]
	bl	_isnan
	cbnz	x0, LBB0_4
; %bb.1:
	ldr	x0, [x19, #16]
	bl	_isnan
	cbnz	x0, LBB0_4
; %bb.2:
	ldr	x0, [x20, #8]
	bl	_isnan
	cbnz	x0, LBB0_4
; %bb.3:
	ldr	x0, [x19, #24]
	bl	_isnan
	cbz	x0, LBB0_5
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_get_float8_nan
LBB0_5:
	ldr	x8, [x20]
	ldr	x9, [x19, #16]
	subs	x9, x9, x8
	b.le	LBB0_7
; %bb.6:
	scvtf	d0, x9
	b	LBB0_8
LBB0_7:
	ldr	x9, [x19]
	movi	d0, #0000000000000000
	subs	x8, x8, x9
	scvtf	d1, x8
	fcsel	d0, d0, d1, le
LBB0_8:
	ldr	x8, [x20, #8]
	ldr	x9, [x19, #24]
	subs	x9, x9, x8
	b.le	LBB0_10
; %bb.9:
	scvtf	d1, x9
	b	LBB0_12
LBB0_10:
	ldr	x9, [x19, #8]
	movi	d1, #0000000000000000
	subs	x8, x8, x9
	b.le	LBB0_12
; %bb.11:
	scvtf	d1, x8
LBB0_12:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_HYPOT
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_point_box_distance
.subsections_via_symbols
