	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function SphereCull
LCPI0_0:
	.long	0x80000000                      ## float -0
	.long	0x80000000                      ## float -0
	.long	0x80000000                      ## float -0
	.long	0x80000000                      ## float -0
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_SphereCull
	.p2align	4, 0x90
_SphereCull:                            ## @SphereCull
	.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
	subq	$32, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movaps	%xmm0, -48(%rbp)                ## 16-byte Spill
	movl	%edx, %r14d
	movl	%edi, %ebx
	movl	%esi, %edi
	movl	%ebx, %esi
	callq	_VectorSubtract
	callq	_VectorNormalize
	movss	%xmm0, -20(%rbp)                ## 4-byte Spill
	movl	%r14d, %edi
	movl	%ebx, %esi
	callq	_VectorSubtract
	callq	_DotProduct
	movaps	-48(%rbp), %xmm2                ## 16-byte Reload
	movss	-20(%rbp), %xmm1                ## 4-byte Reload
                                        ## xmm1 = mem[0],zero,zero,zero
	addss	%xmm2, %xmm1
	ucomiss	%xmm1, %xmm0
	movq	_qtrue@GOTPCREL(%rip), %rax
	ja	LBB0_5
## %bb.1:
	movaps	LCPI0_0(%rip), %xmm1            ## xmm1 = [-0.0E+0,-0.0E+0,-0.0E+0,-0.0E+0]
	xorps	%xmm2, %xmm1
	ucomiss	%xmm0, %xmm1
	ja	LBB0_5
## %bb.2:
	movl	%ebx, %edi
	callq	_VectorMA
	movl	%r14d, %esi
	callq	_VectorSubtract
	callq	_VectorLength
	ucomiss	-48(%rbp), %xmm0                ## 16-byte Folded Reload
	jbe	LBB0_3
## %bb.4:
	movq	_qtrue@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_3:
	movq	_qfalse@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %eax
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_qtrue,4,2                      ## @qtrue
	.comm	_qfalse,4,2                     ## @qfalse
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SphereCull                     ; -- Begin function SphereCull
	.p2align	2
_SphereCull:                            ; @SphereCull
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [sp, #-64]!             ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	fmov	s8, s0
	mov	x19, x2
	mov	x20, x0
	mov	x0, x1
	mov	x1, x20
	bl	_VectorSubtract
	bl	_VectorNormalize
	fmov	s9, s0
	mov	x0, x19
	mov	x1, x20
	bl	_VectorSubtract
	bl	_DotProduct
	fadd	s1, s9, s8
	fneg	s2, s8
Lloh0:
	adrp	x21, _qtrue@GOTPAGE
Lloh1:
	ldr	x21, [x21, _qtrue@GOTPAGEOFF]
	fcmp	s0, s1
	fccmp	s0, s2, #8, le
	b.mi	LBB0_2
; %bb.1:
	mov	x0, x20
	bl	_VectorMA
	mov	x1, x19
	bl	_VectorSubtract
	bl	_VectorLength
Lloh2:
	adrp	x8, _qfalse@GOTPAGE
Lloh3:
	ldr	x8, [x8, _qfalse@GOTPAGEOFF]
	fcmp	s0, s8
	csel	x21, x21, x8, gt
LBB0_2:
	ldr	w0, [x21]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #64               ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_qtrue,4,2                      ; @qtrue
	.comm	_qfalse,4,2                     ; @qfalse
.subsections_via_symbols
