	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function CM_PointOnPlaneSide
LCPI0_0:
	.long	0x80000000                      ## float -0
	.long	0x80000000                      ## float -0
	.long	0x80000000                      ## float -0
	.long	0x80000000                      ## float -0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_CM_PointOnPlaneSide:                   ## @CM_PointOnPlaneSide
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	cmpl	$-1, %esi
	je	LBB0_6
## %bb.1:
	movq	_planes@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%esi, %rcx
	movq	(%rax,%rcx,8), %rbx
	movq	%rbx, %rsi
	callq	_DotProduct
	subss	12(%rbx), %xmm0
	movq	_PLANE_TRI_EPSILON@GOTPCREL(%rip), %rax
	movss	(%rax), %xmm1                   ## xmm1 = mem[0],zero,zero,zero
	ucomiss	%xmm1, %xmm0
	jbe	LBB0_4
## %bb.2:
	movq	_SIDE_FRONT@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_4:
	xorps	LCPI0_0(%rip), %xmm1
	ucomiss	%xmm0, %xmm1
	jbe	LBB0_6
## %bb.5:
	movq	_SIDE_BACK@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_6:
	movq	_SIDE_ON@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SIDE_ON,4,2                    ## @SIDE_ON
	.comm	_planes,8,3                     ## @planes
	.comm	_PLANE_TRI_EPSILON,4,2          ## @PLANE_TRI_EPSILON
	.comm	_SIDE_FRONT,4,2                 ## @SIDE_FRONT
	.comm	_SIDE_BACK,4,2                  ## @SIDE_BACK
	.no_dead_strip	_CM_PointOnPlaneSide
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function CM_PointOnPlaneSide
_CM_PointOnPlaneSide:                   ; @CM_PointOnPlaneSide
	.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
Lloh0:
	adrp	x20, _SIDE_ON@GOTPAGE
Lloh1:
	ldr	x20, [x20, _SIDE_ON@GOTPAGEOFF]
	cmn	w1, #1
	b.eq	LBB0_4
; %bb.1:
Lloh2:
	adrp	x8, _planes@GOTPAGE
Lloh3:
	ldr	x8, [x8, _planes@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	ldr	x19, [x8, w1, sxtw #3]
	mov	x1, x19
	bl	_DotProduct
	ldr	s1, [x19, #12]
	fsub	s0, s0, s1
Lloh5:
	adrp	x8, _PLANE_TRI_EPSILON@GOTPAGE
Lloh6:
	ldr	x8, [x8, _PLANE_TRI_EPSILON@GOTPAGEOFF]
Lloh7:
	ldr	s1, [x8]
	fcmp	s0, s1
	b.le	LBB0_3
; %bb.2:
Lloh8:
	adrp	x20, _SIDE_FRONT@GOTPAGE
Lloh9:
	ldr	x20, [x20, _SIDE_FRONT@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:
	fneg	s1, s1
Lloh10:
	adrp	x8, _SIDE_BACK@GOTPAGE
Lloh11:
	ldr	x8, [x8, _SIDE_BACK@GOTPAGEOFF]
	fcmp	s0, s1
	csel	x20, x8, x20, mi
LBB0_4:
	ldr	w0, [x20]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_SIDE_ON,4,2                    ; @SIDE_ON
	.comm	_planes,8,3                     ; @planes
	.comm	_PLANE_TRI_EPSILON,4,2          ; @PLANE_TRI_EPSILON
	.comm	_SIDE_FRONT,4,2                 ; @SIDE_FRONT
	.comm	_SIDE_BACK,4,2                  ; @SIDE_BACK
	.no_dead_strip	_CM_PointOnPlaneSide
.subsections_via_symbols
