	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CM_TraceThroughSphere          ## -- Begin function CM_TraceThroughSphere
	.p2align	4, 0x90
_CM_TraceThroughSphere:                 ## @CM_TraceThroughSphere
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %rbx
	movq	%rdx, %r14
	movss	%xmm0, -40(%rbp)                ## 4-byte Spill
	movq	%rsi, %r15
	movq	%rdi, %r12
	movq	%rdx, %rdi
	callq	_VectorSubtract
	callq	_VectorLengthSquared
	movss	%xmm0, -36(%rbp)                ## 4-byte Spill
	movss	-40(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	callq	_Square
	ucomiss	-36(%rbp), %xmm0                ## 4-byte Folded Reload
	jbe	LBB0_3
## %bb.1:
	movl	$0, (%r12)
	movq	_qtrue@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movq	%rax, 24(%r12)
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_VectorSubtract
	callq	_VectorLengthSquared
	movss	%xmm0, -36(%rbp)                ## 4-byte Spill
	movss	-40(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	callq	_Square
	ucomiss	-36(%rbp), %xmm0                ## 4-byte Folded Reload
	jbe	LBB0_5
## %bb.2:
	movq	(%r14), %rax
	movq	%rax, 16(%r12)
	jmp	LBB0_5
LBB0_3:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_VectorSubtract
	callq	_VectorNormalize
	movq	%r15, %rdi
	movq	%r14, %rsi
	movq	%rbx, %rdx
	callq	_CM_DistanceFromLineSquared
	movss	%xmm0, -36(%rbp)                ## 4-byte Spill
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_VectorSubtract
	callq	_VectorLengthSquared
	movss	%xmm0, -44(%rbp)                ## 4-byte Spill
	movss	-40(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	callq	_Square
	movss	-36(%rbp), %xmm1                ## 4-byte Reload
                                        ## xmm1 = mem[0],zero,zero,zero
	ucomiss	%xmm0, %xmm1
	jb	LBB0_6
## %bb.4:
	movq	_SURFACE_CLIP_EPSILON@GOTPCREL(%rip), %rax
	movss	-40(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	addss	(%rax), %xmm0
	callq	_Square
	movss	-44(%rbp), %xmm1                ## 4-byte Reload
                                        ## xmm1 = mem[0],zero,zero,zero
	ucomiss	%xmm0, %xmm1
	jbe	LBB0_6
LBB0_5:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	%r14, %rdi
	movq	%r15, %rsi
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_VectorSubtract                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_qtrue,8,3                      ## @qtrue
	.comm	_SURFACE_CLIP_EPSILON,4,2       ## @SURFACE_CLIP_EPSILON
	.comm	_RADIUS_EPSILON,4,2             ## @RADIUS_EPSILON
	.comm	_CONTENTS_BODY,4,2              ## @CONTENTS_BODY
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CM_TraceThroughSphere          ; -- Begin function CM_TraceThroughSphere
	.p2align	2
_CM_TraceThroughSphere:                 ; @CM_TraceThroughSphere
	.cfi_startproc
; %bb.0:
	stp	d11, d10, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset b10, -72
	.cfi_offset b11, -80
	mov	x21, x3
	mov	x20, x2
	fmov	s8, s0
	mov	x19, x1
	mov	x22, x0
	mov	x0, x2
	bl	_VectorSubtract
	bl	_VectorLengthSquared
	fmov	s9, s0
	fmov	s0, s8
	bl	_Square
	fcmp	s9, s0
	b.pl	LBB0_3
; %bb.1:
	str	wzr, [x22]
Lloh0:
	adrp	x20, _qtrue@GOTPAGE
Lloh1:
	ldr	x20, [x20, _qtrue@GOTPAGEOFF]
	ldr	x8, [x20]
	str	x8, [x22, #24]
	mov	x0, x21
	mov	x1, x19
	bl	_VectorSubtract
	bl	_VectorLengthSquared
	fmov	s9, s0
	fmov	s0, s8
	bl	_Square
	fcmp	s9, s0
	b.pl	LBB0_5
; %bb.2:
	ldr	x8, [x20]
	str	x8, [x22, #16]
	b	LBB0_5
LBB0_3:
	mov	x0, x21
	mov	x1, x20
	bl	_VectorSubtract
	bl	_VectorNormalize
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	bl	_CM_DistanceFromLineSquared
	fmov	s10, s0
	mov	x0, x21
	mov	x1, x19
	bl	_VectorSubtract
	bl	_VectorLengthSquared
	fmov	s9, s0
	fmov	s0, s8
	bl	_Square
	fcmp	s10, s0
	b.lt	LBB0_6
; %bb.4:
Lloh2:
	adrp	x8, _SURFACE_CLIP_EPSILON@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SURFACE_CLIP_EPSILON@GOTPAGEOFF]
Lloh4:
	ldr	s0, [x8]
	fadd	s0, s0, s8
	bl	_Square
	fcmp	s9, s0
	b.le	LBB0_6
LBB0_5:
	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
	ldp	d11, d10, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_6:
	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
	ldp	d11, d10, [sp], #80             ; 16-byte Folded Reload
	b	_VectorSubtract
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_qtrue,8,3                      ; @qtrue
	.comm	_SURFACE_CLIP_EPSILON,4,2       ; @SURFACE_CLIP_EPSILON
	.comm	_RADIUS_EPSILON,4,2             ; @RADIUS_EPSILON
	.comm	_CONTENTS_BODY,4,2              ; @CONTENTS_BODY
.subsections_via_symbols
