	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ClipWindingEpsilon             ## -- Begin function ClipWindingEpsilon
	.p2align	4, 0x90
_ClipWindingEpsilon:                    ## @ClipWindingEpsilon
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r14
	movq	%r8, %r13
	movl	%ecx, -92(%rbp)                 ## 4-byte Spill
	movl	%edx, -72(%rbp)                 ## 4-byte Spill
	movq	%rsi, -80(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAX_POINTS_ON_WINDING@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	addl	$4, %ebx
	shlq	$2, %rbx
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r12
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -88(%rbp)                 ## 8-byte Spill
	movl	$0, -52(%rbp)
	movq	$0, -60(%rbp)
	cmpl	$0, (%r15)
	jle	LBB0_1
## %bb.2:
	movq	%r13, -104(%rbp)                ## 8-byte Spill
	movq	%r14, -112(%rbp)                ## 8-byte Spill
	movl	-92(%rbp), %edx                 ## 4-byte Reload
	movl	%edx, %r13d
	negl	%r13d
	xorl	%r14d, %r14d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	movslq	(%rcx), %rax
	incl	-60(%rbp,%rax,4)
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx,%r14,4)
	incq	%r14
	movslq	(%r15), %rbx
	cmpq	%rbx, %r14
	jge	LBB0_8
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	%edx, %ebx
	movq	8(%r15), %rax
	movq	(%rax,%r14,8), %rdi
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	callq	_DotProduct
	subl	-72(%rbp), %eax                 ## 4-byte Folded Reload
	movl	%eax, (%r12,%r14,4)
	movq	_SIDE_ON@GOTPCREL(%rip), %rcx
	cmpl	%r13d, %eax
	jge	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	_SIDE_BACK@GOTPCREL(%rip), %rcx
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	%ebx, %edx
	cmpl	%ebx, %eax
	jle	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	_SIDE_FRONT@GOTPCREL(%rip), %rcx
	jmp	LBB0_7
LBB0_8:
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	movl	(%rdx), %eax
	movl	(%r12), %ecx
	cmpl	$0, -60(%rbp)
	movl	%eax, (%rdx,%r14,4)
	movl	%ecx, (%r12,%r14,4)
	movq	-112(%rbp), %r14                ## 8-byte Reload
	movq	$0, (%r14)
	movq	-104(%rbp), %r12                ## 8-byte Reload
	movq	$0, (%r12)
	je	LBB0_9
## %bb.10:
	cmpl	$0, -56(%rbp)
	je	LBB0_11
## %bb.14:
	addl	$4, %ebx
	movl	%ebx, %edi
	callq	_AllocWinding
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	%rax, (%r12)
	movl	%ebx, %edi
	callq	_AllocWinding
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	%rax, (%r14)
	cmpl	$0, (%r15)
	jle	LBB0_23
## %bb.15:
	xorl	%r12d, %r12d
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_16 Depth=1
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	movq	8(%r13), %rax
	movslq	(%r13), %rcx
	movq	(%rax,%rcx,8), %rsi
	movq	%r14, %rdi
	callq	_VectorCopy
	incl	(%r13)
LBB0_21:                                ##   in Loop: Header=BB0_16 Depth=1
	movq	-80(%rbp), %r13                 ## 8-byte Reload
	movq	8(%r13), %rax
	movslq	(%r13), %rcx
	movq	(%rax,%rcx,8), %rsi
	movq	%r14, %rdi
	callq	_VectorCopy
	incl	(%r13)
LBB0_22:                                ##   in Loop: Header=BB0_16 Depth=1
	incq	%r12
	movslq	(%r15), %rax
	cmpq	%rax, %r12
	jge	LBB0_23
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%r15), %rax
	movq	(%rax,%r12,8), %r14
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax,%r12,4), %r13d
	movq	_SIDE_ON@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r13d
	je	LBB0_17
## %bb.18:                              ##   in Loop: Header=BB0_16 Depth=1
	movq	_SIDE_FRONT@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r13d
	jne	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_16 Depth=1
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	8(%rcx), %rax
	movslq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rsi
	movq	%r14, %rdi
	callq	_VectorCopy
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	incl	(%rax)
LBB0_20:                                ##   in Loop: Header=BB0_16 Depth=1
	movq	_SIDE_BACK@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r13d
	je	LBB0_21
	jmp	LBB0_22
LBB0_1:
	movq	$0, (%r14)
	movq	$0, (%r13)
LBB0_9:
	movq	%r15, %rdi
	callq	_CopyWinding
	movq	%rax, (%r14)
LBB0_12:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_30
## %bb.13:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_23:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %eax
	cmpl	%ebx, %eax
	jg	LBB0_25
## %bb.24:
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	cmpl	%ebx, (%rcx)
	jle	LBB0_26
LBB0_25:
	movq	_ERR_DROP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_Com_Error
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %eax
LBB0_26:
	movq	_MAX_POINTS_ON_WINDING@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	cmpl	%ecx, %eax
	jg	LBB0_28
## %bb.27:
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	cmpl	%ecx, (%rax)
	jle	LBB0_12
LBB0_28:
	movq	_ERR_DROP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_30
## %bb.29:
	leaq	L_.str.1(%rip), %rsi
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_Com_Error                      ## TAILCALL
LBB0_11:
	movq	%r15, %rdi
	callq	_CopyWinding
	movq	%rax, (%r12)
	jmp	LBB0_12
LBB0_30:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_POINTS_ON_WINDING,4,2      ## @MAX_POINTS_ON_WINDING
	.comm	_SIDE_FRONT,4,2                 ## @SIDE_FRONT
	.comm	_SIDE_BACK,4,2                  ## @SIDE_BACK
	.comm	_SIDE_ON,4,2                    ## @SIDE_ON
	.comm	_ERR_DROP,4,2                   ## @ERR_DROP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ClipWinding: points exceeded estimate"

L_.str.1:                               ## @.str.1
	.asciz	"ClipWinding: MAX_POINTS_ON_WINDING"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ClipWindingEpsilon             ; -- Begin function ClipWindingEpsilon
	.p2align	2
_ClipWindingEpsilon:                    ; @ClipWindingEpsilon
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [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 w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #48
	mov	x27, x5
	mov	x22, x3
	mov	x26, x2
	mov	x24, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x8, _MAX_POINTS_ON_WINDING@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAX_POINTS_ON_WINDING@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	add	w8, w8, #4
	lsl	x8, x8, #2
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x10, x8, #15
	and	x12, x10, #0x7fffffff0
	sub	x20, x9, x12
	mov	sp, x20
	mov	x9, x8
Lloh8:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh9:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	sub	x23, x8, x12
	mov	sp, x23
	stur	xzr, [x29, #-100]
	stur	wzr, [x29, #-104]
	ldr	w8, [x0]
	cmp	w8, #0
	b.le	LBB0_14
; %bb.1:
	stp	x4, x27, [x29, #-120]           ; 16-byte Folded Spill
	mov	x21, #0
	neg	w27, w22
Lloh10:
	adrp	x11, _SIDE_ON@GOTPAGE
Lloh11:
	ldr	x11, [x11, _SIDE_ON@GOTPAGEOFF]
	sub	x28, x29, #104
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	ldr	x0, [x8, x21, lsl #3]
	mov	x1, x24
	mov	x25, x11
	bl	_DotProduct
	mov	x11, x25
	lsl	x8, x21, #2
	sub	w9, w0, w26
	cmp	w9, w27
	str	w9, [x20, x8]
Lloh12:
	adrp	x10, _SIDE_BACK@GOTPAGE
Lloh13:
	ldr	x10, [x10, _SIDE_BACK@GOTPAGEOFF]
	csel	x10, x10, x25, lt
	cmp	w9, w22
Lloh14:
	adrp	x9, _SIDE_FRONT@GOTPAGE
Lloh15:
	ldr	x9, [x9, _SIDE_FRONT@GOTPAGEOFF]
	csel	x9, x9, x10, gt
	ldrsw	x9, [x9]
	str	w9, [x23, x8]
	lsl	x8, x9, #2
	ldr	w9, [x28, x8]
	add	w9, w9, #1
	str	w9, [x28, x8]
	add	x21, x21, #1
	ldrsw	x8, [x19]
	cmp	x21, x8
	b.lt	LBB0_2
; %bb.3:
Lloh16:
	adrp	x26, _SIDE_BACK@GOTPAGE
Lloh17:
	ldr	x26, [x26, _SIDE_BACK@GOTPAGEOFF]
Lloh18:
	adrp	x28, _SIDE_FRONT@GOTPAGE
Lloh19:
	ldr	x28, [x28, _SIDE_FRONT@GOTPAGEOFF]
	ldr	w9, [x23]
	ldr	w10, [x20]
	ldur	w11, [x29, #-104]
	lsl	x12, x21, #2
	mov	x21, x23
	str	w9, [x23, x12]
	str	w10, [x20, x12]
	ldp	x23, x27, [x29, #-120]          ; 16-byte Folded Reload
	str	xzr, [x27]
	str	xzr, [x23]
	cbz	w11, LBB0_15
; %bb.4:
	ldur	w9, [x29, #-100]
	cbz	w9, LBB0_25
; %bb.5:
	add	w20, w8, #4
	mov	x0, x20
	bl	_AllocWinding
	mov	x22, x0
	str	x0, [x23]
	stur	w20, [x29, #-120]               ; 4-byte Folded Spill
	mov	x0, x20
	bl	_AllocWinding
	mov	x20, x0
	str	x0, [x27]
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_18
; %bb.6:
	mov	x9, x25
	mov	x23, x26
	mov	x26, x21
	mov	x24, #0
	b	LBB0_10
LBB0_7:                                 ;   in Loop: Header=BB0_10 Depth=1
	ldr	x8, [x22, #8]
	ldrsw	x9, [x22]
	ldr	x1, [x8, x9, lsl #3]
	mov	x0, x21
	bl	_VectorCopy
	ldr	w8, [x22]
	add	w8, w8, #1
	str	w8, [x22]
LBB0_8:                                 ;   in Loop: Header=BB0_10 Depth=1
	ldr	x8, [x20, #8]
	ldrsw	x9, [x20]
	ldr	x1, [x8, x9, lsl #3]
	mov	x0, x21
	bl	_VectorCopy
	mov	x9, x25
	ldr	w8, [x20]
	add	w8, w8, #1
	str	w8, [x20]
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	add	x24, x24, #1
	ldrsw	x8, [x19]
	cmp	x24, x8
	b.ge	LBB0_18
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	ldr	x21, [x8, x24, lsl #3]
	ldr	w27, [x26, x24, lsl #2]
	ldr	w8, [x9]
	cmp	w27, w8
	b.eq	LBB0_7
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	w8, [x28]
	cmp	w27, w8
	b.ne	LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	x8, [x22, #8]
	ldrsw	x9, [x22]
	ldr	x1, [x8, x9, lsl #3]
	mov	x0, x21
	bl	_VectorCopy
	mov	x9, x25
	ldr	w8, [x22]
	add	w8, w8, #1
	str	w8, [x22]
LBB0_13:                                ;   in Loop: Header=BB0_10 Depth=1
	ldr	w8, [x23]
	cmp	w27, w8
	b.eq	LBB0_8
	b	LBB0_9
LBB0_14:
	str	xzr, [x27]
	str	xzr, [x4]
LBB0_15:
	mov	x0, x19
	bl	_CopyWinding
	str	x0, [x27]
LBB0_16:
	ldur	x8, [x29, #-88]
Lloh20:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh21:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_26
; %bb.17:
	sub	sp, x29, #80
	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	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_18:
	ldr	w8, [x22]
Lloh23:
	adrp	x19, _ERR_DROP@GOTPAGE
Lloh24:
	ldr	x19, [x19, _ERR_DROP@GOTPAGEOFF]
	ldur	w10, [x29, #-120]               ; 4-byte Folded Reload
	cmp	w8, w10
	b.gt	LBB0_20
; %bb.19:
	ldr	w9, [x20]
	cmp	w9, w10
	b.le	LBB0_21
LBB0_20:
	ldr	w0, [x19]
Lloh25:
	adrp	x1, l_.str@PAGE
Lloh26:
	add	x1, x1, l_.str@PAGEOFF
	bl	_Com_Error
	ldr	w8, [x22]
LBB0_21:
Lloh27:
	adrp	x9, _MAX_POINTS_ON_WINDING@GOTPAGE
Lloh28:
	ldr	x9, [x9, _MAX_POINTS_ON_WINDING@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
	cmp	w8, w9
	b.gt	LBB0_23
; %bb.22:
	ldr	w8, [x20]
	cmp	w8, w9
	b.le	LBB0_16
LBB0_23:
	ldr	w0, [x19]
	ldur	x8, [x29, #-88]
Lloh30:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh31:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh32:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_26
; %bb.24:
Lloh33:
	adrp	x1, l_.str.1@PAGE
Lloh34:
	add	x1, x1, l_.str.1@PAGEOFF
	sub	sp, x29, #80
	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	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_Com_Error
LBB0_25:
	mov	x0, x19
	bl	_CopyWinding
	str	x0, [x23]
	b	LBB0_16
LBB0_26:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpAdd	Lloh33, Lloh34
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_POINTS_ON_WINDING,4,2      ; @MAX_POINTS_ON_WINDING
	.comm	_SIDE_FRONT,4,2                 ; @SIDE_FRONT
	.comm	_SIDE_BACK,4,2                  ; @SIDE_BACK
	.comm	_SIDE_ON,4,2                    ; @SIDE_ON
	.comm	_ERR_DROP,4,2                   ; @ERR_DROP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ClipWinding: points exceeded estimate"

l_.str.1:                               ; @.str.1
	.asciz	"ClipWinding: MAX_POINTS_ON_WINDING"

.subsections_via_symbols
