	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AAS_ExpandMapBrush             ## -- Begin function AAS_ExpandMapBrush
	.p2align	4, 0x90
_AAS_ExpandMapBrush:                    ## @AAS_ExpandMapBrush
	.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
	movl	%edx, -48(%rbp)                 ## 4-byte Spill
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	cmpl	$0, (%rdi)
	jle	LBB0_6
## %bb.1:
	movl	$12, %ebx
	xorl	%r13d, %r13d
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	xorl	%ecx, %ecx
	callq	_BoxOriginDistanceFromPlane
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movss	-52(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	xorps	%xmm1, %xmm1
	cvtsi2ss	%rax, %xmm1
	addss	%xmm1, %xmm0
	movl	4(%r15,%r12,8), %edi
	callq	_FindFloatPlane
	movq	%rax, -12(%r14,%rbx)
	movq	_SFL_BEVEL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, (%r14,%rbx)
	movq	_SURF_SKIP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, -4(%r14,%rbx)
	incq	%r13
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movslq	(%rdi), %rax
	addq	$16, %rbx
	cmpq	%rax, %r13
	jge	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%rdi), %r14
	movq	_mapplanes@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	movq	-12(%r14,%rbx), %r12
	movss	(%r15,%r12,8), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	movq	_capsule_collision@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	movl	4(%r15,%r12,8), %edi
	movss	%xmm0, -52(%rbp)                ## 4-byte Spill
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	callq	_CapsuleOriginDistanceFromPlane
	jmp	LBB0_5
LBB0_6:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_mapplanes,8,3                  ## @mapplanes
	.comm	_capsule_collision,8,3          ## @capsule_collision
	.comm	_SFL_BEVEL,4,2                  ## @SFL_BEVEL
	.comm	_SURF_SKIP,4,2                  ## @SURF_SKIP
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AAS_ExpandMapBrush             ; -- Begin function AAS_ExpandMapBrush
	.p2align	2
_AAS_ExpandMapBrush:                    ; @AAS_ExpandMapBrush
	.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
	ldr	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.1:
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	mov	x22, #0
	mov	x23, #0
Lloh0:
	adrp	x25, _capsule_collision@GOTPAGE
Lloh1:
	ldr	x25, [x25, _capsule_collision@GOTPAGEOFF]
Lloh2:
	adrp	x26, _SFL_BEVEL@GOTPAGE
Lloh3:
	ldr	x26, [x26, _SFL_BEVEL@GOTPAGEOFF]
Lloh4:
	adrp	x27, _SURF_SKIP@GOTPAGE
Lloh5:
	ldr	x27, [x27, _SURF_SKIP@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	w3, #0
	bl	_BoxOriginDistanceFromPlane
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	scvtf	s0, x0
	fadd	s0, s8, s0
	ldr	w0, [x24]
	bl	_FindFloatPlane
	add	x8, x28, x22
	str	x0, [x8]
	ldr	w9, [x26]
	ldp	w11, w10, [x8, #8]
	bic	w9, w10, w9
	str	w9, [x8, #12]
	ldr	w9, [x27]
	bic	w9, w11, w9
	str	w9, [x8, #8]
	add	x23, x23, #1
	ldrsw	x8, [x21]
	add	x22, x22, #16
	cmp	x23, x8
	b.ge	LBB0_6
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x28, [x21, #8]
Lloh6:
	adrp	x8, _mapplanes@GOTPAGE
Lloh7:
	ldr	x8, [x8, _mapplanes@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	ldr	x9, [x28, x22]
	lsl	x9, x9, #3
	add	x24, x8, x9
	ldr	s8, [x8, x9]
	ldr	x8, [x25]
	ldr	w0, [x24, #4]!
	mov	x1, x20
	mov	x2, x19
	cbz	x8, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	bl	_CapsuleOriginDistanceFromPlane
	b	LBB0_3
LBB0_6:
	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
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_mapplanes,8,3                  ; @mapplanes
	.comm	_capsule_collision,8,3          ; @capsule_collision
	.comm	_SFL_BEVEL,4,2                  ; @SFL_BEVEL
	.comm	_SURF_SKIP,4,2                  ; @SURF_SKIP
.subsections_via_symbols
