	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function ClipSkyPolygon
LCPI0_0:
	.long	0x80000000                      ## float -0
	.long	0x80000000                      ## float -0
	.long	0x80000000                      ## float -0
	.long	0x80000000                      ## float -0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_ClipSkyPolygon:                        ## @ClipSkyPolygon
	.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
	movl	%edx, %r14d
	movq	%rsi, %r13
	movl	%edi, %r15d
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAX_CLIP_VERTS@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	leaq	(,%r12,4), %rbx
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -96(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -88(%rbp)                 ## 8-byte Spill
	movq	%r12, %rax
	shlq	$4, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -72(%rbp)                 ## 8-byte Spill
	leal	-2(%r12), %eax
	cmpl	%r15d, %eax
	jge	LBB0_2
## %bb.1:
	movq	_ri@GOTPCREL(%rip), %rax
	movq	_ERR_DROP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	leaq	L_.str(%rip), %rsi
	callq	*(%rax)
LBB0_2:
	cmpl	$6, %r14d
	jne	LBB0_5
## %bb.3:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_34
## %bb.4:
	movl	%r15d, %edi
	movq	%r13, %rsi
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_AddSkyPolygon                  ## TAILCALL
LBB0_5:
	movq	_qfalse@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	testl	%r15d, %r15d
	movl	%r14d, -60(%rbp)                ## 4-byte Spill
	jle	LBB0_6
## %bb.7:
	movq	%r12, -112(%rbp)                ## 8-byte Spill
	movq	_sky_clip@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	%ecx, %edx
	movslq	%r14d, %rcx
	movq	(%rax,%rcx,8), %r12
	movl	%r15d, -100(%rbp)               ## 4-byte Spill
	movl	%r15d, %r14d
	xorl	%r15d, %r15d
	movq	%r13, %rbx
	movl	%edx, -56(%rbp)                 ## 4-byte Spill
	movl	%edx, -80(%rbp)                 ## 4-byte Spill
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_8 Depth=1
	movq	_qtrue@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -80(%rbp)                 ## 4-byte Spill
	movl	$129, %eax
LBB0_12:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx,%r15,4)
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movss	%xmm0, (%rax,%r15,4)
	incq	%r15
	addq	$12, %rbx
	cmpq	%r15, %r14
	je	LBB0_13
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_DotProduct
	movq	_ON_EPSILON@GOTPCREL(%rip), %rax
	movss	(%rax), %xmm1                   ## xmm1 = mem[0],zero,zero,zero
	ucomiss	%xmm1, %xmm0
	ja	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=1
	xorps	LCPI0_0(%rip), %xmm1
	movl	$128, %eax
	ucomiss	%xmm0, %xmm1
	jbe	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	_qtrue@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movl	$130, %eax
	jmp	LBB0_12
LBB0_13:
	movl	-100(%rbp), %r15d               ## 4-byte Reload
	movl	%r15d, %eax
	movl	-60(%rbp), %r14d                ## 4-byte Reload
	movq	-112(%rbp), %r12                ## 8-byte Reload
	movl	-56(%rbp), %ecx                 ## 4-byte Reload
	movl	-80(%rbp), %edx                 ## 4-byte Reload
	testl	%edx, %edx
	jne	LBB0_15
	jmp	LBB0_16
LBB0_6:
	xorl	%eax, %eax
	movl	%ecx, %edx
	testl	%edx, %edx
	je	LBB0_16
LBB0_15:
	testl	%ecx, %ecx
	je	LBB0_16
## %bb.18:
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	movl	(%rsi), %ecx
	movl	%eax, %edx
	movl	%ecx, (%rsi,%rdx,4)
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	movss	(%rcx), %xmm0                   ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, (%rcx,%rdx,4)
	leal	(%rax,%rax,2), %eax
	leaq	(,%rax,4), %rsi
	addq	%r13, %rsi
	movq	%r13, %rdi
	callq	_VectorCopy
	testl	%r15d, %r15d
	jle	LBB0_19
## %bb.20:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%r12,8), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	%r15d, %eax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	xorl	%ebx, %ebx
	xorl	%r12d, %r12d
	xorl	%r15d, %r15d
	jmp	LBB0_21
	.p2align	4, 0x90
LBB0_25:                                ##   in Loop: Header=BB0_21 Depth=1
	movslq	%r12d, %r12
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax,%r12,8), %rsi
	movq	%r13, %rdi
	callq	_VectorCopy
	incl	%r12d
	movslq	%r15d, %r15
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax,%r15,8), %rsi
	movq	%r13, %rdi
	callq	_VectorCopy
	incl	%r15d
	incq	%rbx
	movq	%rbx, %rax
LBB0_30:                                ##   in Loop: Header=BB0_21 Depth=1
	addq	$12, %r13
	movq	%rax, %rbx
	cmpq	-80(%rbp), %rax                 ## 8-byte Folded Reload
	je	LBB0_31
LBB0_21:                                ## =>This Inner Loop Header: Depth=1
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax,%rbx,4), %r14d
	cmpl	$128, %r14d
	je	LBB0_25
## %bb.22:                              ##   in Loop: Header=BB0_21 Depth=1
	cmpl	$130, %r14d
	je	LBB0_26
## %bb.23:                              ##   in Loop: Header=BB0_21 Depth=1
	cmpl	$129, %r14d
	jne	LBB0_27
## %bb.24:                              ##   in Loop: Header=BB0_21 Depth=1
	movslq	%r12d, %rax
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx,%rax,8), %rsi
	movq	%r13, %rdi
	callq	_VectorCopy
	incl	%r12d
	jmp	LBB0_27
	.p2align	4, 0x90
LBB0_26:                                ##   in Loop: Header=BB0_21 Depth=1
	movslq	%r15d, %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx,%rax,8), %rsi
	movq	%r13, %rdi
	callq	_VectorCopy
	incl	%r15d
LBB0_27:                                ##   in Loop: Header=BB0_21 Depth=1
	leaq	1(%rbx), %rax
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	movl	4(%rcx,%rbx,4), %ecx
	cmpl	$128, %ecx
	je	LBB0_30
## %bb.28:                              ##   in Loop: Header=BB0_21 Depth=1
	cmpl	%r14d, %ecx
	je	LBB0_30
## %bb.29:                              ##   in Loop: Header=BB0_21 Depth=1
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	movss	(%rcx,%rbx,4), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	movaps	%xmm0, %xmm1
	subss	4(%rcx,%rbx,4), %xmm1
	divss	%xmm1, %xmm0
	movslq	%r12d, %r12
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx,%r12,8), %rcx
	movslq	%r15d, %r15
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	(%rdx,%r15,8), %rdx
	movss	(%r13), %xmm1                   ## xmm1 = mem[0],zero,zero,zero
	movss	12(%r13), %xmm2                 ## xmm2 = mem[0],zero,zero,zero
	subss	%xmm1, %xmm2
	mulss	%xmm0, %xmm2
	addss	%xmm1, %xmm2
	movss	%xmm2, (%rcx)
	movss	%xmm2, (%rdx)
	movss	4(%r13), %xmm1                  ## xmm1 = mem[0],zero,zero,zero
	movss	16(%r13), %xmm2                 ## xmm2 = mem[0],zero,zero,zero
	subss	%xmm1, %xmm2
	mulss	%xmm0, %xmm2
	addss	%xmm1, %xmm2
	movss	%xmm2, 4(%rcx)
	movss	%xmm2, 4(%rdx)
	movss	8(%r13), %xmm1                  ## xmm1 = mem[0],zero,zero,zero
	movss	20(%r13), %xmm2                 ## xmm2 = mem[0],zero,zero,zero
	subss	%xmm1, %xmm2
	mulss	%xmm0, %xmm2
	addss	%xmm1, %xmm2
	movss	%xmm2, 8(%rcx)
	movss	%xmm2, 8(%rdx)
	incl	%r12d
	incl	%r15d
	jmp	LBB0_30
LBB0_16:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_34
## %bb.17:
	incl	%r14d
	movl	%r15d, %edi
	movq	%r13, %rsi
	movl	%r14d, %edx
	jmp	LBB0_33
LBB0_19:
	xorl	%r15d, %r15d
	xorl	%r12d, %r12d
LBB0_31:
	movl	-60(%rbp), %ebx                 ## 4-byte Reload
	incl	%ebx
	movl	%r12d, %edi
	movl	%ebx, %edx
	callq	_ClipSkyPolygon
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_34
## %bb.32:
	movl	%r15d, %edi
	movl	%ebx, %edx
                                        ## implicit-def: $hsi
                                        ## implicit-def: $si
                                        ## implicit-def: $sil
                                        ## implicit-def: $rsi
                                        ## implicit-def: $sih
                                        ## implicit-def: $esi
LBB0_33:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ClipSkyPolygon                 ## TAILCALL
LBB0_34:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_CLIP_VERTS,4,2             ## @MAX_CLIP_VERTS
	.comm	_ri,8,3                         ## @ri
	.comm	_ERR_DROP,4,2                   ## @ERR_DROP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ClipSkyPolygon: MAX_CLIP_VERTS"

	.comm	_qfalse,4,2                     ## @qfalse
	.comm	_sky_clip,8,3                   ## @sky_clip
	.comm	_ON_EPSILON,4,2                 ## @ON_EPSILON
	.comm	_qtrue,4,2                      ## @qtrue
	.no_dead_strip	_ClipSkyPolygon
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ClipSkyPolygon
_ClipSkyPolygon:                        ; @ClipSkyPolygon
	.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	x25, x2
	mov	x19, x1
	mov	x21, 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_CLIP_VERTS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAX_CLIP_VERTS@GOTPAGEOFF]
Lloh5:
	ldr	w24, [x8]
	lsl	x8, x24, #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	x26, x9, x12
	mov	sp, x26
	mov	x9, x8
Lloh8:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh9:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	sub	x20, x8, x12
	mov	sp, x20
	lsl	x8, x24, #4
	mov	x9, x8
Lloh10:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh11:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	sub	x8, x9, x8
	stur	x8, [x29, #-96]                 ; 8-byte Folded Spill
	mov	sp, x8
	sub	w8, w24, #2
	cmp	w8, w0
	b.ge	LBB0_2
; %bb.1:
Lloh12:
	adrp	x8, _ri@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ri@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
Lloh15:
	adrp	x9, _ERR_DROP@GOTPAGE
Lloh16:
	ldr	x9, [x9, _ERR_DROP@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x9]
Lloh18:
	adrp	x1, l_.str@PAGE
Lloh19:
	add	x1, x1, l_.str@PAGEOFF
	blr	x8
LBB0_2:
	cmp	w25, #6
	b.ne	LBB0_5
; %bb.3:
	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_33
; %bb.4:
	mov	x0, x21
	mov	x1, x19
	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	_AddSkyPolygon
LBB0_5:
Lloh23:
	adrp	x8, _qfalse@GOTPAGE
Lloh24:
	ldr	x8, [x8, _qfalse@GOTPAGEOFF]
Lloh25:
	ldr	w28, [x8]
	cmp	w21, #1
	stur	w28, [x29, #-100]               ; 4-byte Folded Spill
	b.lt	LBB0_14
; %bb.6:
	stur	x24, [x29, #-128]               ; 8-byte Folded Spill
Lloh26:
	adrp	x8, _sky_clip@GOTPAGE
Lloh27:
	ldr	x8, [x8, _sky_clip@GOTPAGEOFF]
Lloh28:
	ldr	x8, [x8]
	stur	w25, [x29, #-104]               ; 4-byte Folded Spill
	ldr	x22, [x8, w25, sxtw #3]
	stur	w21, [x29, #-116]               ; 4-byte Folded Spill
	mov	w21, w21
Lloh29:
	adrp	x24, _ON_EPSILON@GOTPAGE
Lloh30:
	ldr	x24, [x24, _ON_EPSILON@GOTPAGEOFF]
	mov	x27, x26
Lloh31:
	adrp	x26, _qtrue@GOTPAGE
Lloh32:
	ldr	x26, [x26, _qtrue@GOTPAGEOFF]
	stur	x27, [x29, #-112]               ; 8-byte Folded Spill
	mov	x25, x20
	mov	x23, x19
	b	LBB0_9
LBB0_7:                                 ;   in Loop: Header=BB0_9 Depth=1
	ldr	w28, [x26]
	mov	w8, #129
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	str	w8, [x25], #4
	str	s0, [x27], #4
	add	x23, x23, #12
	subs	x21, x21, #1
	b.eq	LBB0_13
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x23
	mov	x1, x22
	bl	_DotProduct
	ldr	s1, [x24]
	fcmp	s0, s1
	b.gt	LBB0_7
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	fneg	s1, s1
	fcmp	s0, s1
	b.pl	LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	w8, [x26]
	stur	w8, [x29, #-100]                ; 4-byte Folded Spill
	mov	w8, #130
	b	LBB0_8
LBB0_12:                                ;   in Loop: Header=BB0_9 Depth=1
	mov	w8, #128
	b	LBB0_8
LBB0_13:
	ldur	w21, [x29, #-116]               ; 4-byte Folded Reload
	mov	x8, x21
	ldur	w25, [x29, #-104]               ; 4-byte Folded Reload
	ldur	x26, [x29, #-112]               ; 8-byte Folded Reload
	ldur	x24, [x29, #-128]               ; 8-byte Folded Reload
	cbnz	w28, LBB0_15
	b	LBB0_27
LBB0_14:
	mov	w8, #0
	cbz	w28, LBB0_27
LBB0_15:
	ldur	w9, [x29, #-100]                ; 4-byte Folded Reload
	cbz	w9, LBB0_27
; %bb.16:
	ldr	w9, [x20]
	mov	w10, w8
	lsl	x10, x10, #2
	str	w9, [x20, x10]
	ldr	s0, [x26]
	str	s0, [x26, x10]
	add	w8, w8, w8, lsl #1
	add	x1, x19, w8, uxtw #2
	mov	x0, x19
	bl	_VectorCopy
	cmp	w21, #1
	b.lt	LBB0_29
; %bb.17:
	mov	x28, #0
	mov	w23, #0
	mov	w22, #0
	ldur	x8, [x29, #-96]                 ; 8-byte Folded Reload
	add	x27, x8, x24, lsl #3
	mov	w21, w21
	b	LBB0_20
LBB0_18:                                ;   in Loop: Header=BB0_20 Depth=1
	ldur	x8, [x29, #-96]                 ; 8-byte Folded Reload
	ldr	x1, [x8, w23, sxtw #3]
	mov	x0, x19
	bl	_VectorCopy
	add	w23, w23, #1
	ldr	x1, [x27, w22, sxtw #3]
	mov	x0, x19
	bl	_VectorCopy
	add	w22, w22, #1
	add	x8, x28, #1
LBB0_19:                                ;   in Loop: Header=BB0_20 Depth=1
	add	x19, x19, #12
	mov	x28, x8
	cmp	x8, x21
	b.eq	LBB0_30
LBB0_20:                                ; =>This Inner Loop Header: Depth=1
	ldr	w24, [x20, x28, lsl #2]
	cmp	w24, #128
	b.eq	LBB0_18
; %bb.21:                               ;   in Loop: Header=BB0_20 Depth=1
	cmp	w24, #130
	b.eq	LBB0_24
; %bb.22:                               ;   in Loop: Header=BB0_20 Depth=1
	cmp	w24, #129
	b.ne	LBB0_25
; %bb.23:                               ;   in Loop: Header=BB0_20 Depth=1
	ldur	x8, [x29, #-96]                 ; 8-byte Folded Reload
	ldr	x1, [x8, w23, sxtw #3]
	mov	x0, x19
	bl	_VectorCopy
	add	w23, w23, #1
	b	LBB0_25
LBB0_24:                                ;   in Loop: Header=BB0_20 Depth=1
	ldr	x1, [x27, w22, sxtw #3]
	mov	x0, x19
	bl	_VectorCopy
	add	w22, w22, #1
LBB0_25:                                ;   in Loop: Header=BB0_20 Depth=1
	add	x8, x28, #1
	ldr	w9, [x20, x8, lsl #2]
	cmp	w9, #128
	ccmp	w9, w24, #4, ne
	b.eq	LBB0_19
; %bb.26:                               ;   in Loop: Header=BB0_20 Depth=1
	ldr	s0, [x26, x28, lsl #2]
	ldr	s1, [x26, x8, lsl #2]
	fsub	s1, s0, s1
	fdiv	s0, s0, s1
	ldur	x9, [x29, #-96]                 ; 8-byte Folded Reload
	ldr	x9, [x9, w23, sxtw #3]
	ldr	x10, [x27, w22, sxtw #3]
	ldr	s1, [x19]
	ldr	s2, [x19, #12]
	fsub	s2, s2, s1
	fmadd	s1, s0, s2, s1
	str	s1, [x9]
	str	s1, [x10]
	ldr	s1, [x19, #4]
	ldr	s2, [x19, #16]
	fsub	s2, s2, s1
	fmadd	s1, s0, s2, s1
	str	s1, [x9, #4]
	str	s1, [x10, #4]
	ldr	s1, [x19, #8]
	ldr	s2, [x19, #20]
	fsub	s2, s2, s1
	fmadd	s0, s0, s2, s1
	str	s0, [x9, #8]
	str	s0, [x10, #8]
	add	w23, w23, #1
	add	w22, w22, #1
	b	LBB0_19
LBB0_27:
	ldur	x8, [x29, #-88]
Lloh33:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh34:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh35:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_33
; %bb.28:
	add	w2, w25, #1
	mov	x0, x21
	mov	x1, x19
	b	LBB0_32
LBB0_29:
	mov	w22, #0
	mov	w23, #0
LBB0_30:
	add	w19, w25, #1
	mov	x0, x23
	mov	x2, x19
	bl	_ClipSkyPolygon
	ldur	x8, [x29, #-88]
Lloh36:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh37:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh38:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_33
; %bb.31:
	mov	x0, x22
	mov	x2, x19
                                        ; implicit-def: $x1
                                        ; implicit-def: $w1
LBB0_32:
	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	_ClipSkyPolygon
LBB0_33:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_CLIP_VERTS,4,2             ; @MAX_CLIP_VERTS
	.comm	_ri,8,3                         ; @ri
	.comm	_ERR_DROP,4,2                   ; @ERR_DROP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ClipSkyPolygon: MAX_CLIP_VERTS"

	.comm	_qfalse,4,2                     ; @qfalse
	.comm	_sky_clip,8,3                   ; @sky_clip
	.comm	_ON_EPSILON,4,2                 ; @ON_EPSILON
	.comm	_qtrue,4,2                      ; @qtrue
	.no_dead_strip	_ClipSkyPolygon
.subsections_via_symbols
