	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Winding_PlanesConcave          ## -- Begin function Winding_PlanesConcave
	.p2align	4, 0x90
_Winding_PlanesConcave:                 ## @Winding_PlanesConcave
	.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
	movss	%xmm1, -52(%rbp)                ## 4-byte Spill
	movss	%xmm0, -48(%rbp)                ## 4-byte Spill
	movq	_qfalse@GOTPCREL(%rip), %r14
	testq	%rdi, %rdi
	je	LBB0_13
## %bb.1:
	movq	%rsi, %r12
	testq	%rsi, %rsi
	je	LBB0_13
## %bb.2:
	movq	%rdi, %rbx
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	cmpl	$0, (%rdi)
	jle	LBB0_6
## %bb.3:
	movl	%ecx, %r15d
	xorl	%r13d, %r13d
	movq	_WCONVEX_EPSILON@GOTPCREL(%rip), %r14
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%rbx), %rax
	movl	(%rax,%r13,4), %esi
	movl	%r15d, %edi
	callq	_DotProduct
	subss	-52(%rbp), %xmm0                ## 4-byte Folded Reload
	ucomiss	(%r14), %xmm0
	ja	LBB0_11
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	incq	%r13
	movslq	(%rbx), %rax
	cmpq	%rax, %r13
	jl	LBB0_4
LBB0_6:
	cmpl	$0, (%r12)
	jle	LBB0_12
## %bb.7:
	xorl	%ebx, %ebx
	movq	_WCONVEX_EPSILON@GOTPCREL(%rip), %r15
	movq	_qtrue@GOTPCREL(%rip), %r14
	movl	-44(%rbp), %r13d                ## 4-byte Reload
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r12), %rax
	movl	(%rax,%rbx,4), %esi
	movl	%r13d, %edi
	callq	_DotProduct
	subss	-48(%rbp), %xmm0                ## 4-byte Folded Reload
	ucomiss	(%r15), %xmm0
	ja	LBB0_13
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	incq	%rbx
	movslq	(%r12), %rax
	cmpq	%rax, %rbx
	jl	LBB0_8
LBB0_12:
	movq	_qfalse@GOTPCREL(%rip), %r14
	jmp	LBB0_13
LBB0_11:
	movq	_qtrue@GOTPCREL(%rip), %r14
LBB0_13:
	movl	(%r14), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_qfalse,4,2                     ## @qfalse
	.comm	_WCONVEX_EPSILON,4,2            ## @WCONVEX_EPSILON
	.comm	_qtrue,4,2                      ## @qtrue
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Winding_PlanesConcave          ; -- Begin function Winding_PlanesConcave
	.p2align	2
_Winding_PlanesConcave:                 ; @Winding_PlanesConcave
	.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
Lloh0:
	adrp	x23, _qfalse@GOTPAGE
Lloh1:
	ldr	x23, [x23, _qfalse@GOTPAGEOFF]
	cbz	x0, LBB0_12
; %bb.1:
	mov	x20, x1
	cbz	x1, LBB0_12
; %bb.2:
	fmov	s8, s0
	mov	x19, x2
	mov	x22, x0
	ldr	w8, [x0]
Lloh2:
	adrp	x24, _WCONVEX_EPSILON@GOTPAGE
Lloh3:
	ldr	x24, [x24, _WCONVEX_EPSILON@GOTPAGEOFF]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.3:
	fmov	s9, s1
	mov	x21, x3
	mov	x25, #0
Lloh4:
	adrp	x23, _qtrue@GOTPAGE
Lloh5:
	ldr	x23, [x23, _qtrue@GOTPAGEOFF]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22, #8]
	ldr	w1, [x8, x25, lsl #2]
	mov	x0, x21
	bl	_DotProduct
	fsub	s0, s0, s9
	ldr	s1, [x24]
	fcmp	s0, s1
	b.gt	LBB0_12
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x25, x25, #1
	ldrsw	x8, [x22]
	cmp	x25, x8
	b.lt	LBB0_4
LBB0_6:
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_10
; %bb.7:
	mov	x21, #0
Lloh6:
	adrp	x22, _qtrue@GOTPAGE
Lloh7:
	ldr	x22, [x22, _qtrue@GOTPAGEOFF]
Lloh8:
	adrp	x23, _qfalse@GOTPAGE
Lloh9:
	ldr	x23, [x23, _qfalse@GOTPAGEOFF]
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #8]
	ldr	w1, [x8, x21, lsl #2]
	mov	x0, x19
	bl	_DotProduct
	fsub	s0, s0, s8
	ldr	s1, [x24]
	fcmp	s0, s1
	b.gt	LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	add	x21, x21, #1
	ldrsw	x8, [x20]
	cmp	x21, x8
	b.lt	LBB0_8
	b	LBB0_12
LBB0_10:
Lloh10:
	adrp	x23, _qfalse@GOTPAGE
Lloh11:
	ldr	x23, [x23, _qfalse@GOTPAGEOFF]
	b	LBB0_12
LBB0_11:
	mov	x23, x22
LBB0_12:
	ldr	w0, [x23]
	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	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_qfalse,4,2                     ; @qfalse
	.comm	_WCONVEX_EPSILON,4,2            ; @WCONVEX_EPSILON
	.comm	_qtrue,4,2                      ; @qtrue
.subsections_via_symbols
