	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_InsideWinding                  ## -- Begin function InsideWinding
	.p2align	4, 0x90
_InsideWinding:                         ## @InsideWinding
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r12
	movslq	%edx, %r14
	movl	$1, %ebx
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r12), %ecx
	cmpl	%ecx, %ebx
	jg	LBB0_2
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	8(%r12), %rsi
	movl	%ebx, %eax
	cltd
	idivl	%ecx
                                        ## kill: def $edx killed $edx def $rdx
	movq	(%rsi,%rdx,8), %r13
	incl	%ebx
	movl	%ebx, %eax
	cltd
	idivl	%ecx
                                        ## kill: def $edx killed $edx def $rdx
	movq	(%rsi,%rdx,8), %rdi
	movq	%r13, %rsi
	callq	_VectorSubtract
	movq	_dplanes@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%r14,4), %edi
	callq	_CrossProduct
	callq	_VectorNormalize
	movq	%r13, %rsi
	callq	_DotProduct
	movss	%xmm0, -44(%rbp)                ## 4-byte Spill
	movq	%r15, %rsi
	callq	_DotProduct
	subss	-44(%rbp), %xmm0                ## 4-byte Folded Reload
	movq	_WCONVEX_EPSILON@GOTPCREL(%rip), %rax
	ucomiss	(%rax), %xmm0
	jbe	LBB0_1
## %bb.4:
	xorl	%eax, %eax
	jmp	LBB0_5
LBB0_2:
	movl	$1, %eax
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.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	_InsideWinding                  ; -- Begin function InsideWinding
	.p2align	2
_InsideWinding:                         ; @InsideWinding
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [sp, #-96]!             ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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 b8, -88
	.cfi_offset b9, -96
                                        ; kill: def $w2 killed $w2 def $x2
	mov	x19, x1
	mov	x20, x0
	sxtw	x22, w2
	mov	w23, #1
Lloh0:
	adrp	x24, _dplanes@GOTPAGE
Lloh1:
	ldr	x24, [x24, _dplanes@GOTPAGEOFF]
Lloh2:
	adrp	x25, _WCONVEX_EPSILON@GOTPAGE
Lloh3:
	ldr	x25, [x25, _WCONVEX_EPSILON@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x20]
	cmp	w23, w8
	b.gt	LBB0_4
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	x9, [x20, #8]
	sdiv	w10, w23, w8
	msub	w10, w10, w8, w23
	ldr	x21, [x9, w10, uxtw #3]
	add	w23, w23, #1
	sdiv	w10, w23, w8
	msub	w8, w10, w8, w23
	ldr	x0, [x9, w8, uxtw #3]
	mov	x1, x21
	bl	_VectorSubtract
	ldr	x8, [x24]
	ldr	w0, [x8, x22, lsl #2]
	bl	_CrossProduct
	bl	_VectorNormalize
	mov	x1, x21
	bl	_DotProduct
	fmov	s8, s0
	mov	x1, x19
	bl	_DotProduct
	fsub	s0, s0, s8
	ldr	s1, [x25]
	fcmp	s0, s1
	b.le	LBB0_1
; %bb.3:
	mov	w0, #0
	b	LBB0_5
LBB0_4:
	mov	w0, #1
LBB0_5:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #96               ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_dplanes,8,3                    ; @dplanes
	.comm	_WCONVEX_EPSILON,4,2            ; @WCONVEX_EPSILON
.subsections_via_symbols
