	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_InsideFace                     ## -- Begin function InsideFace
	.p2align	4, 0x90
_InsideFace:                            ## @InsideFace
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movl	$1, %eax
	cmpl	$0, (%rdi)
	jle	LBB0_6
## %bb.1:
	movq	%rdi, %rbx
	xorl	%r14d, %r14d
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	_dsurfedges@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	4(%rbx), %rcx
	addq	%r14, %rcx
	movl	(%rax,%rcx,4), %ebx
	movq	%rbx, %r13
	shrq	$28, %r13
	andl	$8, %r13d
	movq	_dvertexes@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	movq	_dedges@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	movl	%ebx, %edi
	callq	_abs
	movq	(%r12,%rax,8), %rax
	movq	(%rax,%r13), %rax
	movq	(%r15,%rax,8), %r13
	movq	_dvertexes@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	movq	_dedges@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	movl	%ebx, %edi
	callq	_abs
	movq	(%r12,%rax,8), %rax
	notl	%ebx
	shrl	$31, %ebx
	movq	(%rax,%rbx,8), %rax
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	(%r15,%rax,8), %rsi
	movq	%r13, %rdi
	callq	_VectorSubtract
	movq	_dplanes@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	8(%rbx), %rcx
	movl	(%rax,%rcx,4), %edi
	callq	_CrossProduct
	callq	_VectorNormalize
	movq	%r13, %rsi
	callq	_DotProduct
	movss	%xmm0, -44(%rbp)                ## 4-byte Spill
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	callq	_DotProduct
	subss	-44(%rbp), %xmm0                ## 4-byte Folded Reload
	movq	_WCONVEX_EPSILON@GOTPCREL(%rip), %rax
	ucomiss	(%rax), %xmm0
	ja	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	incq	%r14
	cmpl	(%rbx), %r14d
	jl	LBB0_2
## %bb.4:
	movl	$1, %eax
	jmp	LBB0_6
LBB0_5:
	xorl	%eax, %eax
LBB0_6:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_dsurfedges,8,3                 ## @dsurfedges
	.comm	_dvertexes,8,3                  ## @dvertexes
	.comm	_dedges,8,3                     ## @dedges
	.comm	_dplanes,8,3                    ## @dplanes
	.comm	_WCONVEX_EPSILON,4,2            ## @WCONVEX_EPSILON
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_InsideFace                     ; -- Begin function InsideFace
	.p2align	2
_InsideFace:                            ; @InsideFace
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [sp, #-112]!            ; 16-byte Folded Spill
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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 w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	.cfi_offset b8, -104
	.cfi_offset b9, -112
	ldr	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_4
; %bb.1:
	mov	x19, x1
	mov	x20, x0
	mov	x23, #0
Lloh0:
	adrp	x25, _dvertexes@GOTPAGE
Lloh1:
	ldr	x25, [x25, _dvertexes@GOTPAGEOFF]
Lloh2:
	adrp	x26, _dedges@GOTPAGE
Lloh3:
	ldr	x26, [x26, _dedges@GOTPAGEOFF]
Lloh4:
	adrp	x28, _WCONVEX_EPSILON@GOTPAGE
Lloh5:
	ldr	x28, [x28, _WCONVEX_EPSILON@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
Lloh6:
	adrp	x8, _dsurfedges@GOTPAGE
Lloh7:
	ldr	x8, [x8, _dsurfedges@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	ldrsw	x9, [x20, #4]
	add	x9, x23, x9
	ldr	w21, [x8, x9, lsl #2]
	lsr	x8, x21, #28
	and	x22, x8, #0x8
	ldr	x24, [x25]
	ldr	x27, [x26]
	mov	x0, x21
	bl	_abs
	ldr	x8, [x27, x0, lsl #3]
	ldr	x8, [x8, x22]
	ldr	x22, [x24, x8, lsl #3]
	ldr	x24, [x25]
	ldr	x27, [x26]
	mov	x0, x21
	bl	_abs
	ldr	x8, [x27, x0, lsl #3]
	mvn	w9, w21
	lsr	w9, w9, #31
	ldr	x8, [x8, w9, uxtw #3]
	ldr	x1, [x24, x8, lsl #3]
	mov	x0, x22
	bl	_VectorSubtract
Lloh9:
	adrp	x8, _dplanes@GOTPAGE
Lloh10:
	ldr	x8, [x8, _dplanes@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	ldr	x9, [x20, #8]
	ldr	w0, [x8, x9, lsl #2]
	bl	_CrossProduct
	bl	_VectorNormalize
	mov	x1, x22
	bl	_DotProduct
	fmov	s8, s0
	mov	x1, x19
	bl	_DotProduct
	fsub	s0, s0, s8
	ldr	s1, [x28]
	fcmp	s0, s1
	b.gt	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [x20]
	add	x23, x23, #1
	cmp	w23, w8
	b.lt	LBB0_2
LBB0_4:
	mov	w0, #1
	b	LBB0_6
LBB0_5:
	mov	w0, #0
LBB0_6:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #112              ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_dsurfedges,8,3                 ; @dsurfedges
	.comm	_dvertexes,8,3                  ; @dvertexes
	.comm	_dedges,8,3                     ; @dedges
	.comm	_dplanes,8,3                    ; @dplanes
	.comm	_WCONVEX_EPSILON,4,2            ; @WCONVEX_EPSILON
.subsections_via_symbols
