	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_VS_WindingAreaOutsideBrushes   ## -- Begin function VS_WindingAreaOutsideBrushes
	.p2align	4, 0x90
_VS_WindingAreaOutsideBrushes:          ## @VS_WindingAreaOutsideBrushes
	.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	$1096, %rsp                     ## imm = 0x448
	.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, %r12
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	(%rdi), %edx
	movl	4(%rdi), %esi
	shll	$2, %edx
	callq	_memcpy
	movl	(%rbx), %eax
	movl	%eax, -1088(%rbp)
	movl	$1, -56(%rbp)
	testl	%r14d, %r14d
	jle	LBB0_28
## %bb.1:
	movq	%r14, -1112(%rbp)               ## 8-byte Spill
	movl	%r14d, %r13d
	movb	$1, %r9b
	xorl	%r10d, %r10d
	movq	%r12, -1128(%rbp)               ## 8-byte Spill
	movq	%r13, -1120(%rbp)               ## 8-byte Spill
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_4 Depth=1
	movl	%r11d, -56(%rbp,%r8,4)
LBB0_3:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	-1136(%rbp), %r10               ## 8-byte Reload
	incq	%r10
	incb	%r9b
	cmpq	%r13, %r10
	je	LBB0_27
LBB0_4:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_17 Depth 2
                                        ##     Child Loop BB0_10 Depth 2
                                        ##     Child Loop BB0_22 Depth 2
                                        ##     Child Loop BB0_25 Depth 2
	movl	%r10d, %r14d
	andl	$1, %r14d
	shlq	$9, %r14
	movq	_dbrushes@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movslq	(%r12,%r10,4), %rdx
	movq	_dshaders@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rcx,%rdx,8), %rsi
	movl	(%rax,%rsi,4), %esi
	movq	_CONTENTS_SLIME@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_CONTENTS_LAVA@GOTPCREL(%rip), %rdi
	orl	(%rdi), %eax
	movq	_CONTENTS_WATER@GOTPCREL(%rip), %rdi
	orl	(%rdi), %eax
	movq	_CONTENTS_FOG@GOTPCREL(%rip), %rdi
	orl	(%rdi), %eax
	movq	_CONTENTS_AREAPORTAL@GOTPCREL(%rip), %rdi
	orl	(%rdi), %eax
	movq	_CONTENTS_PLAYERCLIP@GOTPCREL(%rip), %rdi
	orl	(%rdi), %eax
	movq	_CONTENTS_MONSTERCLIP@GOTPCREL(%rip), %rdi
	orl	(%rdi), %eax
	movq	_CONTENTS_CLUSTERPORTAL@GOTPCREL(%rip), %rdi
	orl	(%rdi), %eax
	movq	_CONTENTS_DONOTENTER@GOTPCREL(%rip), %rdi
	orl	(%rdi), %eax
	movq	_CONTENTS_BODY@GOTPCREL(%rip), %rdi
	orl	(%rdi), %eax
	movq	_CONTENTS_CORPSE@GOTPCREL(%rip), %rdi
	orl	(%rdi), %eax
	movq	_CONTENTS_TRANSLUCENT@GOTPCREL(%rip), %rdi
	orl	(%rdi), %eax
	movq	_CONTENTS_TRIGGER@GOTPCREL(%rip), %rdi
	orl	(%rdi), %eax
	leaq	(%r14,%rbp), %rbx
	addq	$-1088, %rbx                    ## imm = 0xFBC0
	movq	_CONTENTS_NODROP@GOTPCREL(%rip), %rdi
	orl	(%rdi), %eax
	testl	%esi, %eax
	movq	%r10, -1136(%rbp)               ## 8-byte Spill
	je	LBB0_14
LBB0_5:                                 ##   in Loop: Header=BB0_4 Depth=1
                                        ## kill: def $r10d killed $r10d killed $r10 def $r10
	andl	$1, %r10d
	movl	-56(%rbp,%r10,4), %r11d
	movl	%r10d, %r8d
	xorl	$1, %r8d
	testl	%r11d, %r11d
	jle	LBB0_2
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movzbl	%r9b, %r15d
	andl	$1, %r15d
	shlq	$9, %r15
	cmpl	$4, %r11d
	jb	LBB0_19
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%r14, %rax
	xorq	$512, %rax                      ## imm = 0x200
	leaq	-1088(%rbp), %rcx
	addq	%rcx, %rax
	addq	%r14, %rcx
	subq	%rcx, %rax
	movl	$0, %edi
	cmpq	$32, %rax
	jb	LBB0_20
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	movb	%r9b, -1089(%rbp)               ## 1-byte Spill
	movl	%r11d, %edi
	andl	$-4, %edi
	leaq	-4(%rdi), %rax
	movq	%rax, %r9
	shrq	$2, %r9
	incq	%r9
	testq	%rax, %rax
	je	LBB0_26
## %bb.9:                               ##   in Loop: Header=BB0_4 Depth=1
	leaq	-1040(%rbp), %rax
	leaq	(%rax,%r15), %rcx
	addq	%r14, %rax
	movq	%r9, %rsi
	andq	$-2, %rsi
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_10:                                ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movaps	-48(%rax,%rdx,8), %xmm0
	movaps	-32(%rax,%rdx,8), %xmm1
	movaps	%xmm0, -48(%rcx,%rdx,8)
	movaps	%xmm1, -32(%rcx,%rdx,8)
	movaps	-16(%rax,%rdx,8), %xmm0
	movaps	(%rax,%rdx,8), %xmm1
	movaps	%xmm0, -16(%rcx,%rdx,8)
	movaps	%xmm1, (%rcx,%rdx,8)
	addq	$8, %rdx
	addq	$-2, %rsi
	jne	LBB0_10
## %bb.11:                              ##   in Loop: Header=BB0_4 Depth=1
	testb	$1, %r9b
	je	LBB0_13
LBB0_12:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%r8, %rax
	shlq	$9, %rax
	addq	%rbp, %rax
	addq	$-1088, %rax                    ## imm = 0xFBC0
	shlq	$9, %r10
	leaq	(%r10,%rbp), %rcx
	addq	$-1088, %rcx                    ## imm = 0xFBC0
	movaps	(%rcx,%rdx,8), %xmm0
	movaps	16(%rcx,%rdx,8), %xmm1
	movaps	%xmm0, (%rax,%rdx,8)
	movaps	%xmm1, 16(%rax,%rdx,8)
LBB0_13:                                ##   in Loop: Header=BB0_4 Depth=1
	cmpq	%r11, %rdi
	movb	-1089(%rbp), %r9b               ## 1-byte Reload
	je	LBB0_2
	jmp	LBB0_20
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	_CONTENTS_SOLID@GOTPCREL(%rip), %rax
	testl	%esi, (%rax)
	je	LBB0_5
## %bb.15:                              ##   in Loop: Header=BB0_4 Depth=1
	movl	%r10d, %r13d
	andl	$1, %r13d
	movl	%r13d, %r15d
	xorl	$1, %r15d
	movl	$0, -56(%rbp,%r15,4)
	cmpl	$0, -56(%rbp,%r13,4)
	jle	LBB0_33
## %bb.16:                              ##   in Loop: Header=BB0_4 Depth=1
	movb	%r9b, -1089(%rbp)               ## 1-byte Spill
	leaq	(%rcx,%rdx,8), %rax
	movq	%rax, -1104(%rbp)               ## 8-byte Spill
	xorl	%eax, %eax
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_17:                                ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movslq	%eax, %r12
	movq	%r15, %rax
	shlq	$9, %rax
	addq	%rbp, %rax
	addq	$-1088, %rax                    ## imm = 0xFBC0
	leaq	(%rax,%r12,8), %rdx
	movl	$64, %ecx
	subl	%r12d, %ecx
	movq	%rbx, %rdi
	movq	-1104(%rbp), %rsi               ## 8-byte Reload
	callq	_VS_ChopWindingWithBrush
                                        ## kill: def $eax killed $eax def $rax
	addl	%r12d, %eax
	movl	%eax, -56(%rbp,%r15,4)
	incq	%r14
	movslq	-56(%rbp,%r13,4), %rcx
	addq	$8, %rbx
	cmpq	%rcx, %r14
	jl	LBB0_17
## %bb.18:                              ##   in Loop: Header=BB0_4 Depth=1
	testl	%eax, %eax
	movq	-1128(%rbp), %r12               ## 8-byte Reload
	movq	-1120(%rbp), %r13               ## 8-byte Reload
	movb	-1089(%rbp), %r9b               ## 1-byte Reload
	xorps	%xmm0, %xmm0
	jne	LBB0_3
	jmp	LBB0_34
LBB0_19:                                ##   in Loop: Header=BB0_4 Depth=1
	xorl	%edi, %edi
LBB0_20:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%rdi, %rdx
	notq	%rdx
	addq	%r11, %rdx
	movq	%r11, %rax
	andq	$3, %rax
	je	LBB0_23
## %bb.21:                              ##   in Loop: Header=BB0_4 Depth=1
	leaq	(%r15,%rbp), %rcx
	addq	$-1088, %rcx                    ## imm = 0xFBC0
	.p2align	4, 0x90
LBB0_22:                                ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%rbx,%rdi,8), %rsi
	movq	%rsi, (%rcx,%rdi,8)
	incq	%rdi
	decq	%rax
	jne	LBB0_22
LBB0_23:                                ##   in Loop: Header=BB0_4 Depth=1
	cmpq	$3, %rdx
	jb	LBB0_2
## %bb.24:                              ##   in Loop: Header=BB0_4 Depth=1
	leaq	-1064(%rbp), %rax
	addq	%rax, %r14
	addq	%rax, %r15
	.p2align	4, 0x90
LBB0_25:                                ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	-24(%r14,%rdi,8), %rax
	movq	%rax, -24(%r15,%rdi,8)
	movq	-16(%r14,%rdi,8), %rax
	movq	%rax, -16(%r15,%rdi,8)
	movq	-8(%r14,%rdi,8), %rax
	movq	%rax, -8(%r15,%rdi,8)
	movq	(%r14,%rdi,8), %rax
	movq	%rax, (%r15,%rdi,8)
	addq	$4, %rdi
	cmpq	%rdi, %r11
	jne	LBB0_25
	jmp	LBB0_2
LBB0_26:                                ##   in Loop: Header=BB0_4 Depth=1
	xorl	%edx, %edx
	testb	$1, %r9b
	jne	LBB0_12
	jmp	LBB0_13
LBB0_27:
	movq	-1112(%rbp), %rax               ## 8-byte Reload
	andl	$1, %eax
	jmp	LBB0_29
LBB0_28:
	xorl	%eax, %eax
LBB0_29:
	movl	-56(%rbp,%rax,4), %r14d
	testl	%r14d, %r14d
	jle	LBB0_33
## %bb.30:
	shlq	$9, %rax
	leaq	(%rax,%rbp), %rbx
	addq	$-1088, %rbx                    ## imm = 0xFBC0
	xorps	%xmm0, %xmm0
	.p2align	4, 0x90
LBB0_31:                                ## =>This Inner Loop Header: Depth=1
	movss	%xmm0, -1104(%rbp)              ## 4-byte Spill
	movq	%rbx, %rdi
	callq	_WindingArea
	xorps	%xmm0, %xmm0
	cvtsi2ss	%rax, %xmm0
	movss	-1104(%rbp), %xmm1              ## 4-byte Reload
                                        ## xmm1 = mem[0],zero,zero,zero
	addss	%xmm0, %xmm1
	movss	%xmm1, -1104(%rbp)              ## 4-byte Spill
	movss	-1104(%rbp), %xmm0              ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	addq	$8, %rbx
	decq	%r14
	jne	LBB0_31
	jmp	LBB0_34
LBB0_33:
	xorps	%xmm0, %xmm0
LBB0_34:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_36
## %bb.35:
	addq	$1096, %rsp                     ## imm = 0x448
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_36:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_dbrushes,8,3                   ## @dbrushes
	.comm	_dshaders,8,3                   ## @dshaders
	.comm	_CONTENTS_LAVA,4,2              ## @CONTENTS_LAVA
	.comm	_CONTENTS_SLIME,4,2             ## @CONTENTS_SLIME
	.comm	_CONTENTS_WATER,4,2             ## @CONTENTS_WATER
	.comm	_CONTENTS_FOG,4,2               ## @CONTENTS_FOG
	.comm	_CONTENTS_AREAPORTAL,4,2        ## @CONTENTS_AREAPORTAL
	.comm	_CONTENTS_PLAYERCLIP,4,2        ## @CONTENTS_PLAYERCLIP
	.comm	_CONTENTS_MONSTERCLIP,4,2       ## @CONTENTS_MONSTERCLIP
	.comm	_CONTENTS_CLUSTERPORTAL,4,2     ## @CONTENTS_CLUSTERPORTAL
	.comm	_CONTENTS_DONOTENTER,4,2        ## @CONTENTS_DONOTENTER
	.comm	_CONTENTS_BODY,4,2              ## @CONTENTS_BODY
	.comm	_CONTENTS_CORPSE,4,2            ## @CONTENTS_CORPSE
	.comm	_CONTENTS_TRANSLUCENT,4,2       ## @CONTENTS_TRANSLUCENT
	.comm	_CONTENTS_TRIGGER,4,2           ## @CONTENTS_TRIGGER
	.comm	_CONTENTS_NODROP,4,2            ## @CONTENTS_NODROP
	.comm	_CONTENTS_SOLID,4,2             ## @CONTENTS_SOLID
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_VS_WindingAreaOutsideBrushes   ; -- Begin function VS_WindingAreaOutsideBrushes
	.p2align	2
_VS_WindingAreaOutsideBrushes:          ; @VS_WindingAreaOutsideBrushes
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [sp, #-112]!            ; 16-byte Folded Spill
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset b8, -104
	.cfi_offset b9, -112
	sub	sp, sp, #1088
	mov	x19, x2
	mov	x22, 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, #-112]
	ldp	w8, w1, [x0]
	lsl	w2, w8, #2
	bl	_memcpy
	ldr	w8, [x21]
	str	w8, [sp, #40]
	mov	w8, #1
	stur	w8, [x29, #-120]
	cmp	w19, #1
	b.lt	LBB0_19
; %bb.1:
	mov	x23, #0
Lloh3:
	adrp	x15, _dbrushes@GOTPAGE
Lloh4:
	ldr	x15, [x15, _dbrushes@GOTPAGEOFF]
Lloh5:
	adrp	x16, _dshaders@GOTPAGE
Lloh6:
	ldr	x16, [x16, _dshaders@GOTPAGEOFF]
	add	x26, sp, #40
Lloh7:
	adrp	x17, _CONTENTS_LAVA@GOTPAGE
Lloh8:
	ldr	x17, [x17, _CONTENTS_LAVA@GOTPAGEOFF]
	add	x8, x26, #32
	str	x8, [sp, #24]                   ; 8-byte Folded Spill
Lloh9:
	adrp	x0, _CONTENTS_SLIME@GOTPAGE
Lloh10:
	ldr	x0, [x0, _CONTENTS_SLIME@GOTPAGEOFF]
	mov	w8, #1
Lloh11:
	adrp	x1, _CONTENTS_WATER@GOTPAGE
Lloh12:
	ldr	x1, [x1, _CONTENTS_WATER@GOTPAGEOFF]
Lloh13:
	adrp	x2, _CONTENTS_FOG@GOTPAGE
Lloh14:
	ldr	x2, [x2, _CONTENTS_FOG@GOTPAGEOFF]
	str	w19, [sp, #4]                   ; 4-byte Folded Spill
	mov	w3, w19
Lloh15:
	adrp	x4, _CONTENTS_AREAPORTAL@GOTPAGE
Lloh16:
	ldr	x4, [x4, _CONTENTS_AREAPORTAL@GOTPAGEOFF]
Lloh17:
	adrp	x5, _CONTENTS_PLAYERCLIP@GOTPAGE
Lloh18:
	ldr	x5, [x5, _CONTENTS_PLAYERCLIP@GOTPAGEOFF]
Lloh19:
	adrp	x6, _CONTENTS_MONSTERCLIP@GOTPAGE
Lloh20:
	ldr	x6, [x6, _CONTENTS_MONSTERCLIP@GOTPAGEOFF]
Lloh21:
	adrp	x7, _CONTENTS_CLUSTERPORTAL@GOTPAGE
Lloh22:
	ldr	x7, [x7, _CONTENTS_CLUSTERPORTAL@GOTPAGEOFF]
Lloh23:
	adrp	x19, _CONTENTS_DONOTENTER@GOTPAGE
Lloh24:
	ldr	x19, [x19, _CONTENTS_DONOTENTER@GOTPAGEOFF]
Lloh25:
	adrp	x20, _CONTENTS_BODY@GOTPAGE
Lloh26:
	ldr	x20, [x20, _CONTENTS_BODY@GOTPAGEOFF]
Lloh27:
	adrp	x28, _CONTENTS_CORPSE@GOTPAGE
Lloh28:
	ldr	x28, [x28, _CONTENTS_CORPSE@GOTPAGEOFF]
Lloh29:
	adrp	x30, _CONTENTS_TRANSLUCENT@GOTPAGE
Lloh30:
	ldr	x30, [x30, _CONTENTS_TRANSLUCENT@GOTPAGEOFF]
	sub	x24, x29, #120
	mov	w25, #64
	stp	x3, x22, [sp, #8]               ; 16-byte Folded Spill
	movi	d8, #0000000000000000
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	eor	w8, w10, #0x1
	str	w9, [x24, x8, lsl #2]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x23, x23, #1
	add	w8, w14, #1
	cmp	x23, x3
	b.eq	LBB0_18
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_16 Depth 2
                                        ;     Child Loop BB0_9 Depth 2
                                        ;     Child Loop BB0_12 Depth 2
	and	x14, x8, #0x1
	and	x8, x23, #0x1
	lsl	x11, x8, #9
	ldr	x9, [x15]
	ldrsw	x10, [x22, x23, lsl #2]
	add	x21, x9, x10, lsl #3
	ldr	x9, [x16]
	ldr	x10, [x21]
	ldr	w9, [x9, x10, lsl #2]
	ldr	w10, [x17]
	ldr	w12, [x0]
	orr	w10, w12, w10
	ldr	w12, [x1]
	orr	w10, w10, w12
	ldr	w12, [x2]
	orr	w10, w10, w12
	ldr	w12, [x4]
	orr	w10, w10, w12
	ldr	w12, [x5]
	orr	w10, w10, w12
	ldr	w12, [x6]
	orr	w10, w10, w12
	ldr	w12, [x7]
	orr	w10, w10, w12
	ldr	w12, [x19]
	orr	w10, w10, w12
	ldr	w12, [x20]
	orr	w10, w10, w12
	ldr	w12, [x28]
	orr	w10, w10, w12
	ldr	w12, [x30]
	orr	w10, w10, w12
Lloh31:
	adrp	x12, _CONTENTS_TRIGGER@GOTPAGE
Lloh32:
	ldr	x12, [x12, _CONTENTS_TRIGGER@GOTPAGEOFF]
Lloh33:
	ldr	w12, [x12]
	orr	w10, w10, w12
Lloh34:
	adrp	x12, _CONTENTS_NODROP@GOTPAGE
Lloh35:
	ldr	x12, [x12, _CONTENTS_NODROP@GOTPAGEOFF]
Lloh36:
	ldr	w12, [x12]
	orr	w10, w10, w12
	tst	w10, w9
	b.eq	LBB0_13
LBB0_5:                                 ;   in Loop: Header=BB0_4 Depth=1
	and	w10, w23, #0x1
	ldr	w9, [x24, w10, uxtw #2]
	cmp	w9, #1
	b.lt	LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x12, #0
	cmp	w9, #8
	b.lo	LBB0_11
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	lsl	w13, w23, #9
	and	x13, x13, #0x200
	mov	x21, x14
	eor	x14, x13, #0x200
	add	x14, x14, x26
	add	x13, x13, x26
	sub	x13, x14, x13
	mov	x14, x21
	cmp	x13, #64
	b.lo	LBB0_11
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x12, [sp, #24]                  ; 8-byte Folded Reload
	add	x11, x12, x11
	add	x13, x12, x14, lsl #9
	and	x12, x9, #0xfffffff8
	mov	x14, x12
LBB0_9:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldp	q0, q1, [x11, #-32]
	ldp	q2, q3, [x11], #64
	stp	q0, q1, [x13, #-32]
	stp	q2, q3, [x13], #64
	subs	x14, x14, #8
	b.ne	LBB0_9
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	cmp	x12, x9
	mov	x14, x21
	b.eq	LBB0_2
LBB0_11:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x11, x26, x14, lsl #9
	lsl	x13, x12, #3
	add	x11, x11, x13
	add	x8, x26, x8, lsl #9
	add	x8, x8, x13
	sub	x12, x9, x12
LBB0_12:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x13, [x8], #8
	str	x13, [x11], #8
	subs	x12, x12, #1
	b.ne	LBB0_12
	b	LBB0_2
LBB0_13:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh37:
	adrp	x10, _CONTENTS_SOLID@GOTPAGE
Lloh38:
	ldr	x10, [x10, _CONTENTS_SOLID@GOTPAGEOFF]
Lloh39:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_5
; %bb.14:                               ;   in Loop: Header=BB0_4 Depth=1
	and	w28, w23, #0x1
	eor	w20, w28, #0x1
	str	wzr, [x24, w20, uxtw #2]
	ldr	w8, [x24, w28, uxtw #2]
	cmp	w8, #1
	b.lt	LBB0_24
; %bb.15:                               ;   in Loop: Header=BB0_4 Depth=1
	str	x14, [sp, #32]                  ; 8-byte Folded Spill
	mov	w27, #0
	mov	x19, #0
	add	x22, x26, x11
LBB0_16:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	x8, x26, x20, lsl #9
	add	x2, x8, w27, sxtw #3
	sub	w3, w25, w27
	mov	x0, x22
	mov	x1, x21
	bl	_VS_ChopWindingWithBrush
	add	w27, w0, w27
	str	w27, [x24, x20, lsl #2]
	add	x19, x19, #1
	ldrsw	x8, [x24, x28, lsl #2]
	add	x22, x22, #8
	cmp	x19, x8
	b.lt	LBB0_16
; %bb.17:                               ;   in Loop: Header=BB0_4 Depth=1
	ldp	x3, x22, [sp, #8]               ; 16-byte Folded Reload
Lloh40:
	adrp	x15, _dbrushes@GOTPAGE
Lloh41:
	ldr	x15, [x15, _dbrushes@GOTPAGEOFF]
Lloh42:
	adrp	x16, _dshaders@GOTPAGE
Lloh43:
	ldr	x16, [x16, _dshaders@GOTPAGEOFF]
Lloh44:
	adrp	x17, _CONTENTS_LAVA@GOTPAGE
Lloh45:
	ldr	x17, [x17, _CONTENTS_LAVA@GOTPAGEOFF]
Lloh46:
	adrp	x0, _CONTENTS_SLIME@GOTPAGE
Lloh47:
	ldr	x0, [x0, _CONTENTS_SLIME@GOTPAGEOFF]
Lloh48:
	adrp	x1, _CONTENTS_WATER@GOTPAGE
Lloh49:
	ldr	x1, [x1, _CONTENTS_WATER@GOTPAGEOFF]
Lloh50:
	adrp	x2, _CONTENTS_FOG@GOTPAGE
Lloh51:
	ldr	x2, [x2, _CONTENTS_FOG@GOTPAGEOFF]
Lloh52:
	adrp	x4, _CONTENTS_AREAPORTAL@GOTPAGE
Lloh53:
	ldr	x4, [x4, _CONTENTS_AREAPORTAL@GOTPAGEOFF]
Lloh54:
	adrp	x5, _CONTENTS_PLAYERCLIP@GOTPAGE
Lloh55:
	ldr	x5, [x5, _CONTENTS_PLAYERCLIP@GOTPAGEOFF]
Lloh56:
	adrp	x6, _CONTENTS_MONSTERCLIP@GOTPAGE
Lloh57:
	ldr	x6, [x6, _CONTENTS_MONSTERCLIP@GOTPAGEOFF]
Lloh58:
	adrp	x7, _CONTENTS_CLUSTERPORTAL@GOTPAGE
Lloh59:
	ldr	x7, [x7, _CONTENTS_CLUSTERPORTAL@GOTPAGEOFF]
Lloh60:
	adrp	x19, _CONTENTS_DONOTENTER@GOTPAGE
Lloh61:
	ldr	x19, [x19, _CONTENTS_DONOTENTER@GOTPAGEOFF]
Lloh62:
	adrp	x20, _CONTENTS_BODY@GOTPAGE
Lloh63:
	ldr	x20, [x20, _CONTENTS_BODY@GOTPAGEOFF]
Lloh64:
	adrp	x28, _CONTENTS_CORPSE@GOTPAGE
Lloh65:
	ldr	x28, [x28, _CONTENTS_CORPSE@GOTPAGEOFF]
Lloh66:
	adrp	x30, _CONTENTS_TRANSLUCENT@GOTPAGE
Lloh67:
	ldr	x30, [x30, _CONTENTS_TRANSLUCENT@GOTPAGEOFF]
	ldr	x14, [sp, #32]                  ; 8-byte Folded Reload
	cbnz	w27, LBB0_3
	b	LBB0_24
LBB0_18:
	ldr	w8, [sp, #4]                    ; 4-byte Folded Reload
	and	w8, w8, #0x1
	b	LBB0_20
LBB0_19:
	mov	x8, #0
LBB0_20:
	sub	x9, x29, #120
	ldr	w20, [x9, x8, lsl #2]
	cmp	w20, #1
	b.lt	LBB0_23
; %bb.21:
	add	x9, sp, #40
	add	x19, x9, x8, lsl #9
	movi	d8, #0000000000000000
LBB0_22:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_WindingArea
	scvtf	s0, x0
	fadd	s8, s8, s0
	add	x19, x19, #8
	subs	x20, x20, #1
	b.ne	LBB0_22
	b	LBB0_24
LBB0_23:
	movi	d8, #0000000000000000
LBB0_24:
	ldur	x8, [x29, #-112]
Lloh68:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh69:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh70:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_26
; %bb.25:
	fmov	s0, s8
	add	sp, sp, #1088
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #112              ; 16-byte Folded Reload
	ret
LBB0_26:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGot	Lloh66, Lloh67
	.loh AdrpLdrGot	Lloh64, Lloh65
	.loh AdrpLdrGot	Lloh62, Lloh63
	.loh AdrpLdrGot	Lloh60, Lloh61
	.loh AdrpLdrGot	Lloh58, Lloh59
	.loh AdrpLdrGot	Lloh56, Lloh57
	.loh AdrpLdrGot	Lloh54, Lloh55
	.loh AdrpLdrGot	Lloh52, Lloh53
	.loh AdrpLdrGot	Lloh50, Lloh51
	.loh AdrpLdrGot	Lloh48, Lloh49
	.loh AdrpLdrGot	Lloh46, Lloh47
	.loh AdrpLdrGot	Lloh44, Lloh45
	.loh AdrpLdrGot	Lloh42, Lloh43
	.loh AdrpLdrGot	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh68, Lloh69, Lloh70
	.cfi_endproc
                                        ; -- End function
	.comm	_dbrushes,8,3                   ; @dbrushes
	.comm	_dshaders,8,3                   ; @dshaders
	.comm	_CONTENTS_LAVA,4,2              ; @CONTENTS_LAVA
	.comm	_CONTENTS_SLIME,4,2             ; @CONTENTS_SLIME
	.comm	_CONTENTS_WATER,4,2             ; @CONTENTS_WATER
	.comm	_CONTENTS_FOG,4,2               ; @CONTENTS_FOG
	.comm	_CONTENTS_AREAPORTAL,4,2        ; @CONTENTS_AREAPORTAL
	.comm	_CONTENTS_PLAYERCLIP,4,2        ; @CONTENTS_PLAYERCLIP
	.comm	_CONTENTS_MONSTERCLIP,4,2       ; @CONTENTS_MONSTERCLIP
	.comm	_CONTENTS_CLUSTERPORTAL,4,2     ; @CONTENTS_CLUSTERPORTAL
	.comm	_CONTENTS_DONOTENTER,4,2        ; @CONTENTS_DONOTENTER
	.comm	_CONTENTS_BODY,4,2              ; @CONTENTS_BODY
	.comm	_CONTENTS_CORPSE,4,2            ; @CONTENTS_CORPSE
	.comm	_CONTENTS_TRANSLUCENT,4,2       ; @CONTENTS_TRANSLUCENT
	.comm	_CONTENTS_TRIGGER,4,2           ; @CONTENTS_TRIGGER
	.comm	_CONTENTS_NODROP,4,2            ; @CONTENTS_NODROP
	.comm	_CONTENTS_SOLID,4,2             ; @CONTENTS_SOLID
.subsections_via_symbols
