	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function TestBrushToPlanenum
LCPI0_0:
	.quad	0x3fb999999999999a              ## double 0.10000000000000001
LCPI0_1:
	.quad	0xbfb999999999999a              ## double -0.10000000000000001
LCPI0_2:
	.quad	0x3ff0000000000000              ## double 1
LCPI0_3:
	.quad	0xbff0000000000000              ## double -1
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_TestBrushToPlanenum
	.p2align	4, 0x90
_TestBrushToPlanenum:                   ## @TestBrushToPlanenum
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, -112(%rbp)                 ## 8-byte Spill
	movl	%esi, %r12d
	movq	%rdi, %r8
	movq	%rdx, -104(%rbp)                ## 8-byte Spill
	movl	$0, (%rdx)
	movq	%rcx, -96(%rbp)                 ## 8-byte Spill
	movl	$0, (%rcx)
	movq	_mapplanes@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	cmpl	$0, 16(%rdi)
	jle	LBB0_10
## %bb.1:
	movl	%r12d, %ecx
	xorl	$1, %ecx
	xorl	%ebx, %ebx
	movq	_MAX_MAPFILE_PLANES@GOTPCREL(%rip), %r14
	xorl	%r13d, %r13d
	movq	%r8, -56(%rbp)                  ## 8-byte Spill
	movl	%ecx, -72(%rbp)                 ## 4-byte Spill
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	24(%r8), %rax
	movl	(%rax,%rbx), %r15d
	cmpl	(%r14), %r15d
	jl	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	L_.str(%rip), %rdi
	callq	_Error
	movl	-72(%rbp), %ecx                 ## 4-byte Reload
	movq	-56(%rbp), %r8                  ## 8-byte Reload
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%r12d, %r15d
	je	LBB0_5
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%ecx, %r15d
	je	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	incq	%r13
	movslq	16(%r8), %rax
	addq	$32, %rbx
	cmpq	%rax, %r13
	jl	LBB0_2
LBB0_10:
	movslq	%r12d, %rax
	leaq	(%rax,%rax,2), %r14
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	leaq	(%r15,%r14,4), %rdx
	movq	(%r8), %rdi
	movq	%r8, %rbx
	movq	8(%r8), %rsi
	callq	_BoxOnPlaneSide
	movl	%eax, %ecx
	movq	_PSIDE_BOTH@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ecx
	jne	LBB0_36
## %bb.11:
	cmpl	$0, 16(%rbx)
	jle	LBB0_36
## %bb.12:
	movq	%rbx, %r8
	movl	%ecx, -76(%rbp)                 ## 4-byte Spill
	leaq	(%r15,%r14,4), %rax
	addq	$8, %rax
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	xorpd	%xmm2, %xmm2
	xorl	%edx, %edx
	movq	_TEXINFO_NODE@GOTPCREL(%rip), %rdi
	movq	_SFL_VISIBLE@GOTPCREL(%rip), %rbx
	xorpd	%xmm3, %xmm3
	movq	%r8, -56(%rbp)                  ## 8-byte Spill
	movq	-120(%rbp), %r15                ## 8-byte Reload
	jmp	LBB0_13
LBB0_24:                                ##   in Loop: Header=BB0_13 Depth=1
	movapd	%xmm1, %xmm3
	movapd	%xmm0, %xmm2
LBB0_25:                                ##   in Loop: Header=BB0_13 Depth=1
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movq	_TEXINFO_NODE@GOTPCREL(%rip), %rdi
	movq	_SFL_VISIBLE@GOTPCREL(%rip), %rbx
	.p2align	4, 0x90
LBB0_30:                                ##   in Loop: Header=BB0_13 Depth=1
	incq	%rdx
	movslq	16(%r8), %rax
	cmpq	%rax, %rdx
	jge	LBB0_31
LBB0_13:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_18 Depth 2
	movq	24(%r8), %rax
	movq	%rdx, %rsi
	shlq	$5, %rsi
	movq	8(%rax,%rsi), %rcx
	cmpq	(%rdi), %rcx
	je	LBB0_30
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=1
	movl	(%rbx), %ecx
	testl	%ecx, 4(%rax,%rsi)
	je	LBB0_30
## %bb.15:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	24(%rax,%rsi), %r12
	testq	%r12, %r12
	je	LBB0_30
## %bb.16:                              ##   in Loop: Header=BB0_13 Depth=1
	cmpl	$0, (%r12)
	jle	LBB0_30
## %bb.17:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	%rsi, -88(%rbp)                 ## 8-byte Spill
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	xorl	%ebx, %ebx
	xorl	%r14d, %r14d
	xorl	%r13d, %r13d
	jmp	LBB0_18
	.p2align	4, 0x90
LBB0_20:                                ##   in Loop: Header=BB0_18 Depth=2
	movapd	%xmm0, %xmm1
	movsd	LCPI0_1(%rip), %xmm2            ## xmm2 = mem[0],zero
	ucomisd	%xmm0, %xmm2
	maxsd	-64(%rbp), %xmm1                ## 8-byte Folded Reload
	cmoval	%ecx, %r14d
	minsd	-72(%rbp), %xmm0                ## 8-byte Folded Reload
	incq	%rbx
	movslq	(%r12), %rcx
	movl	%eax, %r13d
	movapd	%xmm0, %xmm2
	movapd	%xmm1, %xmm3
	cmpq	%rcx, %rbx
	jge	LBB0_21
LBB0_18:                                ##   Parent Loop BB0_13 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movsd	%xmm3, -64(%rbp)                ## 8-byte Spill
	movsd	%xmm2, -72(%rbp)                ## 8-byte Spill
	movq	8(%r12), %rax
	movl	(%rax,%rbx,4), %edi
	movl	(%r15), %esi
	callq	_DotProduct
	movss	-4(%r15), %xmm1                 ## xmm1 = mem[0],zero,zero,zero
	cvtss2sd	%xmm1, %xmm1
	subsd	%xmm1, %xmm0
	ucomisd	LCPI0_0(%rip), %xmm0
	movl	$1, %ecx
	movl	$1, %eax
	ja	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_18 Depth=2
	movl	%r13d, %eax
	jmp	LBB0_20
LBB0_21:                                ##   in Loop: Header=BB0_13 Depth=1
	testl	%eax, %eax
	je	LBB0_22
## %bb.23:                              ##   in Loop: Header=BB0_13 Depth=1
	testl	%r14d, %r14d
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	je	LBB0_24
## %bb.26:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	24(%r8), %rax
	movq	_SURF_SKIP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	testl	%ecx, 16(%rax,%rdx)
	jne	LBB0_24
## %bb.27:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	incl	(%rcx)
	addq	%rdx, %rax
	addq	$16, %rax
	movq	_SURF_HINT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movq	_TEXINFO_NODE@GOTPCREL(%rip), %rdi
	movq	_SFL_VISIBLE@GOTPCREL(%rip), %rbx
	je	LBB0_29
## %bb.28:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movl	$1, (%rax)
LBB0_29:                                ##   in Loop: Header=BB0_13 Depth=1
	movapd	%xmm1, %xmm3
	movapd	%xmm0, %xmm2
	jmp	LBB0_30
LBB0_22:                                ##   in Loop: Header=BB0_13 Depth=1
	movapd	%xmm1, %xmm3
	movapd	%xmm0, %xmm2
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	jmp	LBB0_25
LBB0_5:
	movq	_SFL_TESTED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	24(%r8), %rcx
	orl	%eax, 4(%rcx,%rbx)
	movq	_PSIDE_BACK@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_8:
	movq	_SFL_TESTED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	24(%r8), %rcx
	orl	%eax, 4(%rcx,%rbx)
	movq	_PSIDE_FRONT@GOTPCREL(%rip), %rax
LBB0_6:
	movq	_PSIDE_FACING@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	jmp	LBB0_36
LBB0_31:
	xorpd	%xmm0, %xmm0
	ucomisd	%xmm0, %xmm3
	movl	-76(%rbp), %ecx                 ## 4-byte Reload
	jbe	LBB0_33
## %bb.32:
	movsd	LCPI0_2(%rip), %xmm1            ## xmm1 = mem[0],zero
	ucomisd	%xmm3, %xmm1
	ja	LBB0_35
LBB0_33:
	ucomisd	%xmm2, %xmm0
	jbe	LBB0_36
## %bb.34:
	ucomisd	LCPI0_3(%rip), %xmm2
	jbe	LBB0_36
LBB0_35:
	movq	-112(%rbp), %rax                ## 8-byte Reload
	incl	(%rax)
LBB0_36:
	movl	%ecx, %eax
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_mapplanes,8,3                  ## @mapplanes
	.comm	_MAX_MAPFILE_PLANES,4,2         ## @MAX_MAPFILE_PLANES
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"bad planenum"

	.comm	_SFL_TESTED,4,2                 ## @SFL_TESTED
	.comm	_PSIDE_BACK,4,2                 ## @PSIDE_BACK
	.comm	_PSIDE_FACING,4,2               ## @PSIDE_FACING
	.comm	_PSIDE_FRONT,4,2                ## @PSIDE_FRONT
	.comm	_PSIDE_BOTH,4,2                 ## @PSIDE_BOTH
	.comm	_TEXINFO_NODE,8,3               ## @TEXINFO_NODE
	.comm	_SFL_VISIBLE,4,2                ## @SFL_VISIBLE
	.comm	_SURF_SKIP,4,2                  ## @SURF_SKIP
	.comm	_SURF_HINT,4,2                  ## @SURF_HINT
	.comm	_PLANESIDE_EPSILON,4,2          ## @PLANESIDE_EPSILON
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_TestBrushToPlanenum            ; -- Begin function TestBrushToPlanenum
	.p2align	2
_TestBrushToPlanenum:                   ; @TestBrushToPlanenum
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	d9, d8, [sp, #32]               ; 16-byte Folded Spill
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	stp	x2, x4, [sp, #16]               ; 16-byte Folded Spill
	mov	x24, x1
	mov	x20, x0
	str	wzr, [x2]
	str	x3, [sp, #8]                    ; 8-byte Folded Spill
	str	wzr, [x3]
Lloh0:
	adrp	x8, _mapplanes@GOTPAGE
Lloh1:
	ldr	x8, [x8, _mapplanes@GOTPAGEOFF]
Lloh2:
	ldr	x19, [x8]
	ldr	w8, [x0, #16]
	cmp	w8, #1
	b.lt	LBB0_7
; %bb.1:
	mov	x21, #0
	mov	x22, #0
	eor	w25, w24, #0x1
Lloh3:
	adrp	x26, _MAX_MAPFILE_PLANES@GOTPAGE
Lloh4:
	ldr	x26, [x26, _MAX_MAPFILE_PLANES@GOTPAGEOFF]
Lloh5:
	adrp	x23, l_.str@PAGE
Lloh6:
	add	x23, x23, l_.str@PAGEOFF
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #24]
	ldr	w27, [x8, x21]
	ldr	w8, [x26]
	cmp	w27, w8
	b.lt	LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x23
	bl	_Error
LBB0_4:                                 ;   in Loop: Header=BB0_2 Depth=1
	cmp	w27, w24
	b.eq	LBB0_22
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	w27, w25
	b.eq	LBB0_23
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x22, x22, #1
	ldrsw	x8, [x20, #16]
	add	x21, x21, #32
	cmp	x22, x8
	b.lt	LBB0_2
LBB0_7:
	mov	w8, #12
	smaddl	x2, w24, w8, x19
	ldp	x0, x1, [x20]
	bl	_BoxOnPlaneSide
Lloh7:
	adrp	x8, _PSIDE_BOTH@GOTPAGE
Lloh8:
	ldr	x8, [x8, _PSIDE_BOTH@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_30
; %bb.8:
	ldr	w8, [x20, #16]
	cmp	w8, #1
	b.lt	LBB0_30
; %bb.9:
	str	w0, [sp, #4]                    ; 4-byte Folded Spill
	mov	x25, #0
	sxtw	x8, w24
	mov	w9, #12
	madd	x8, x8, x9, x19
	add	x24, x8, #8
	add	x26, x8, #4
	movi	d8, #0000000000000000
Lloh10:
	adrp	x12, _TEXINFO_NODE@GOTPAGE
Lloh11:
	ldr	x12, [x12, _TEXINFO_NODE@GOTPAGEOFF]
Lloh12:
	adrp	x13, _SFL_VISIBLE@GOTPAGE
Lloh13:
	ldr	x13, [x13, _SFL_VISIBLE@GOTPAGEOFF]
	mov	x19, #-7378697629483820647
	movk	x19, #39322
	movk	x19, #16313, lsl #48
	mov	x21, #-7378697629483820647
	movk	x21, #39322
	movk	x21, #49081, lsl #48
	movi	d9, #0000000000000000
	b	LBB0_12
LBB0_10:                                ;   in Loop: Header=BB0_12 Depth=1
Lloh14:
	adrp	x12, _TEXINFO_NODE@GOTPAGE
Lloh15:
	ldr	x12, [x12, _TEXINFO_NODE@GOTPAGEOFF]
Lloh16:
	adrp	x13, _SFL_VISIBLE@GOTPAGE
Lloh17:
	ldr	x13, [x13, _SFL_VISIBLE@GOTPAGEOFF]
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=1
	add	x25, x25, #1
	ldrsw	x8, [x20, #16]
	cmp	x25, x8
	b.ge	LBB0_25
LBB0_12:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_17 Depth 2
	ldr	x8, [x20, #24]
	add	x9, x8, x25, lsl #5
	ldr	x10, [x9, #8]
	ldr	x11, [x12]
	cmp	x10, x11
	b.eq	LBB0_11
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	w9, [x9, #4]
	ldr	w10, [x13]
	tst	w10, w9
	b.eq	LBB0_11
; %bb.14:                               ;   in Loop: Header=BB0_12 Depth=1
	add	x8, x8, x25, lsl #5
	ldr	x22, [x8, #24]
	cbz	x22, LBB0_11
; %bb.15:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	w8, [x22]
	cmp	w8, #1
	b.lt	LBB0_11
; %bb.16:                               ;   in Loop: Header=BB0_12 Depth=1
	mov	x23, #0
	mov	w28, #0
	mov	w27, #0
LBB0_17:                                ;   Parent Loop BB0_12 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x22, #8]
	ldr	w0, [x8, x23, lsl #2]
	ldr	w1, [x24]
	bl	_DotProduct
	ldr	s1, [x26]
	fcvt	d1, s1
	fsub	d0, d0, d1
	fcmp	d0, d9
	fcsel	d9, d0, d9, gt
	fcmp	d0, d8
	fcsel	d8, d0, d8, mi
	fmov	d1, x19
	fcmp	d0, d1
	csinc	w27, w27, wzr, le
	fmov	d1, x21
	fcmp	d0, d1
	csinc	w28, w28, wzr, pl
	add	x23, x23, #1
	ldrsw	x8, [x22]
	cmp	x23, x8
	b.lt	LBB0_17
; %bb.18:                               ;   in Loop: Header=BB0_12 Depth=1
	cmp	w27, #0
	ccmp	w28, #0, #4, ne
	b.eq	LBB0_10
; %bb.19:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	x8, [x20, #24]
	add	x8, x8, x25, lsl #5
	ldr	w9, [x8, #16]!
Lloh18:
	adrp	x10, _SURF_SKIP@GOTPAGE
Lloh19:
	ldr	x10, [x10, _SURF_SKIP@GOTPAGEOFF]
Lloh20:
	ldr	w10, [x10]
	tst	w10, w9
	b.ne	LBB0_10
; %bb.20:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	x10, [sp, #16]                  ; 8-byte Folded Reload
	ldr	w9, [x10]
	add	w9, w9, #1
	str	w9, [x10]
	ldr	w8, [x8]
Lloh21:
	adrp	x9, _SURF_HINT@GOTPAGE
Lloh22:
	ldr	x9, [x9, _SURF_HINT@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	tst	w9, w8
Lloh24:
	adrp	x12, _TEXINFO_NODE@GOTPAGE
Lloh25:
	ldr	x12, [x12, _TEXINFO_NODE@GOTPAGEOFF]
Lloh26:
	adrp	x13, _SFL_VISIBLE@GOTPAGE
Lloh27:
	ldr	x13, [x13, _SFL_VISIBLE@GOTPAGEOFF]
	b.eq	LBB0_11
; %bb.21:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	mov	w9, #1
	str	w9, [x8]
	b	LBB0_11
LBB0_22:
Lloh28:
	adrp	x8, _SFL_TESTED@GOTPAGE
Lloh29:
	ldr	x8, [x8, _SFL_TESTED@GOTPAGEOFF]
Lloh30:
	ldr	w8, [x8]
	ldr	x9, [x20, #24]
	add	x9, x9, x21
	ldr	w10, [x9, #4]
	orr	w8, w10, w8
Lloh31:
	adrp	x10, _PSIDE_BACK@GOTPAGE
Lloh32:
	ldr	x10, [x10, _PSIDE_BACK@GOTPAGEOFF]
	b	LBB0_24
LBB0_23:
Lloh33:
	adrp	x8, _SFL_TESTED@GOTPAGE
Lloh34:
	ldr	x8, [x8, _SFL_TESTED@GOTPAGEOFF]
Lloh35:
	ldr	w8, [x8]
	ldr	x9, [x20, #24]
	add	x9, x9, x21
	ldr	w10, [x9, #4]
	orr	w8, w10, w8
Lloh36:
	adrp	x10, _PSIDE_FRONT@GOTPAGE
Lloh37:
	ldr	x10, [x10, _PSIDE_FRONT@GOTPAGEOFF]
LBB0_24:
	str	w8, [x9, #4]
	ldr	w8, [x10]
Lloh38:
	adrp	x9, _PSIDE_FACING@GOTPAGE
Lloh39:
	ldr	x9, [x9, _PSIDE_FACING@GOTPAGEOFF]
Lloh40:
	ldr	w9, [x9]
	orr	w0, w9, w8
	b	LBB0_30
LBB0_25:
	fcmp	d9, #0.0
	fmov	d0, #1.00000000
	fccmp	d9, d0, #0, gt
	b.mi	LBB0_28
; %bb.26:
	fcmp	d8, #0.0
	b.pl	LBB0_29
; %bb.27:
	fmov	d0, #-1.00000000
	fcmp	d8, d0
	b.le	LBB0_29
LBB0_28:
	ldr	x9, [sp, #24]                   ; 8-byte Folded Reload
	ldr	w8, [x9]
	add	w8, w8, #1
	str	w8, [x9]
LBB0_29:
	ldr	w0, [sp, #4]                    ; 4-byte Folded Reload
LBB0_30:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #32]               ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.cfi_endproc
                                        ; -- End function
	.comm	_mapplanes,8,3                  ; @mapplanes
	.comm	_MAX_MAPFILE_PLANES,4,2         ; @MAX_MAPFILE_PLANES
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"bad planenum"

	.comm	_SFL_TESTED,4,2                 ; @SFL_TESTED
	.comm	_PSIDE_BACK,4,2                 ; @PSIDE_BACK
	.comm	_PSIDE_FACING,4,2               ; @PSIDE_FACING
	.comm	_PSIDE_FRONT,4,2                ; @PSIDE_FRONT
	.comm	_PSIDE_BOTH,4,2                 ; @PSIDE_BOTH
	.comm	_TEXINFO_NODE,8,3               ; @TEXINFO_NODE
	.comm	_SFL_VISIBLE,4,2                ; @SFL_VISIBLE
	.comm	_SURF_SKIP,4,2                  ; @SURF_SKIP
	.comm	_SURF_HINT,4,2                  ; @SURF_HINT
	.comm	_PLANESIDE_EPSILON,4,2          ; @PLANESIDE_EPSILON
.subsections_via_symbols
