	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_WindingOnPlaneSide             ## -- Begin function WindingOnPlaneSide
	.p2align	4, 0x90
_WindingOnPlaneSide:                    ## @WindingOnPlaneSide
	.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	%rdx, -48(%rbp)                 ## 8-byte Spill
	cmpl	$0, (%rdi)
	jle	LBB0_14
## %bb.1:
	movl	%esi, %r15d
	movq	%rdi, %r13
	xorl	%ebx, %ebx
	xorl	%r14d, %r14d
	xorl	%r12d, %r12d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%rbx
	movslq	(%r13), %rax
	cmpq	%rax, %rbx
	jge	LBB0_9
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r13), %rax
	movl	(%rax,%rbx,4), %edi
	movl	%r15d, %esi
	callq	_DotProduct
	subq	-48(%rbp), %rax                 ## 8-byte Folded Reload
	movq	_ON_EPSILON@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, %rdx
	negq	%rdx
	cmpq	%rdx, %rax
	jge	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	testl	%r12d, %r12d
	jne	LBB0_11
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	$1, %r14d
	xorl	%r12d, %r12d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	cmpq	%rcx, %rax
	jle	LBB0_2
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	testl	%r14d, %r14d
	jne	LBB0_11
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	xorl	%r14d, %r14d
	movl	$1, %r12d
	jmp	LBB0_2
LBB0_9:
	testl	%r14d, %r14d
	je	LBB0_12
## %bb.10:
	movq	_SIDE_BACK@GOTPCREL(%rip), %rax
	jmp	LBB0_15
LBB0_11:
	movq	_SIDE_CROSS@GOTPCREL(%rip), %rax
	jmp	LBB0_15
LBB0_12:
	testl	%r12d, %r12d
	je	LBB0_14
## %bb.13:
	movq	_SIDE_FRONT@GOTPCREL(%rip), %rax
	jmp	LBB0_15
LBB0_14:
	movq	_SIDE_ON@GOTPCREL(%rip), %rax
LBB0_15:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ON_EPSILON,8,3                 ## @ON_EPSILON
	.comm	_SIDE_CROSS,4,2                 ## @SIDE_CROSS
	.comm	_SIDE_BACK,4,2                  ## @SIDE_BACK
	.comm	_SIDE_FRONT,4,2                 ## @SIDE_FRONT
	.comm	_SIDE_ON,4,2                    ## @SIDE_ON
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_WindingOnPlaneSide             ; -- Begin function WindingOnPlaneSide
	.p2align	2
_WindingOnPlaneSide:                    ; @WindingOnPlaneSide
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [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 w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	ldr	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_13
; %bb.1:
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	mov	x23, #0
	mov	w24, #0
	mov	w25, #0
Lloh0:
	adrp	x26, _ON_EPSILON@GOTPAGE
Lloh1:
	ldr	x26, [x26, _ON_EPSILON@GOTPAGEOFF]
Lloh2:
	adrp	x22, _SIDE_CROSS@GOTPAGE
Lloh3:
	ldr	x22, [x22, _SIDE_CROSS@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x23, x23, #1
	ldrsw	x8, [x21]
	cmp	x23, x8
	b.ge	LBB0_9
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21, #8]
	ldr	w0, [x8, x23, lsl #2]
	mov	x1, x20
	bl	_DotProduct
	sub	x8, x0, x19
	ldr	x9, [x26]
	neg	x10, x9
	cmp	x8, x10
	b.ge	LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	cbnz	w25, LBB0_14
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w24, #1
	b	LBB0_2
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	cmp	x8, x9
	b.le	LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	cbnz	w24, LBB0_14
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w25, #1
	b	LBB0_2
LBB0_9:
	cbz	w24, LBB0_11
; %bb.10:
Lloh4:
	adrp	x22, _SIDE_BACK@GOTPAGE
Lloh5:
	ldr	x22, [x22, _SIDE_BACK@GOTPAGEOFF]
	b	LBB0_14
LBB0_11:
	cbz	w25, LBB0_13
; %bb.12:
Lloh6:
	adrp	x22, _SIDE_FRONT@GOTPAGE
Lloh7:
	ldr	x22, [x22, _SIDE_FRONT@GOTPAGEOFF]
	b	LBB0_14
LBB0_13:
Lloh8:
	adrp	x22, _SIDE_ON@GOTPAGE
Lloh9:
	ldr	x22, [x22, _SIDE_ON@GOTPAGEOFF]
LBB0_14:
	ldr	w0, [x22]
	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	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_ON_EPSILON,8,3                 ; @ON_EPSILON
	.comm	_SIDE_CROSS,4,2                 ; @SIDE_CROSS
	.comm	_SIDE_BACK,4,2                  ; @SIDE_BACK
	.comm	_SIDE_FRONT,4,2                 ; @SIDE_FRONT
	.comm	_SIDE_ON,4,2                    ; @SIDE_ON
.subsections_via_symbols
