	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AAS_FreeMaxAAS                 ## -- Begin function AAS_FreeMaxAAS
	.p2align	4, 0x90
_AAS_FreeMaxAAS:                        ## @AAS_FreeMaxAAS
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_aasworld@GOTPCREL(%rip), %rbx
	movq	216(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	callq	_FreeMemory
LBB0_2:
	xorps	%xmm0, %xmm0
	movups	%xmm0, 208(%rbx)
	movq	200(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.3:
	callq	_FreeMemory
	xorps	%xmm0, %xmm0
LBB0_4:
	movups	%xmm0, 192(%rbx)
	movq	184(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.5:
	callq	_FreeMemory
LBB0_6:
	xorps	%xmm0, %xmm0
	movups	%xmm0, 176(%rbx)
	movq	168(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.7:
	callq	_FreeMemory
	xorps	%xmm0, %xmm0
LBB0_8:
	movups	%xmm0, 160(%rbx)
	movq	152(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_10
## %bb.9:
	callq	_FreeMemory
LBB0_10:
	xorps	%xmm0, %xmm0
	movups	%xmm0, 144(%rbx)
	movq	136(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_12
## %bb.11:
	callq	_FreeMemory
	xorps	%xmm0, %xmm0
LBB0_12:
	movups	%xmm0, 128(%rbx)
	movq	120(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_14
## %bb.13:
	callq	_FreeMemory
LBB0_14:
	xorps	%xmm0, %xmm0
	movups	%xmm0, 112(%rbx)
	movq	104(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_16
## %bb.15:
	callq	_FreeMemory
	xorps	%xmm0, %xmm0
LBB0_16:
	movups	%xmm0, 96(%rbx)
	movq	88(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_18
## %bb.17:
	callq	_FreeMemory
LBB0_18:
	xorps	%xmm0, %xmm0
	movups	%xmm0, 80(%rbx)
	movq	72(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_20
## %bb.19:
	callq	_FreeMemory
	xorps	%xmm0, %xmm0
LBB0_20:
	movups	%xmm0, 64(%rbx)
	movq	56(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_22
## %bb.21:
	callq	_FreeMemory
LBB0_22:
	xorps	%xmm0, %xmm0
	movups	%xmm0, 48(%rbx)
	movq	40(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_24
## %bb.23:
	callq	_FreeMemory
	xorps	%xmm0, %xmm0
LBB0_24:
	movups	%xmm0, 32(%rbx)
	movq	24(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_26
## %bb.25:
	callq	_FreeMemory
LBB0_26:
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rbx)
	movq	8(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_28
## %bb.27:
	callq	_FreeMemory
	xorps	%xmm0, %xmm0
LBB0_28:
	movups	%xmm0, (%rbx)
	leaq	L_.str(%rip), %rdi
	callq	_Log_Print
	movq	_allocatedaasmem@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	callq	_PrintMemorySize
	leaq	L_.str.1(%rip), %rdi
	callq	_Log_Print
	movq	$0, (%rbx)
	movq	_aas_vertexchain@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_30
## %bb.29:
	callq	_FreeMemory
LBB0_30:
	movq	$0, (%rbx)
	movq	_aas_planechain@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_32
## %bb.31:
	callq	_FreeMemory
LBB0_32:
	movq	$0, (%rbx)
	movq	_aas_edgechain@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_34
## %bb.33:
	callq	_FreeMemory
LBB0_34:
	movq	$0, (%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_aasworld,224,3                 ## @aasworld
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"freed "

	.comm	_allocatedaasmem,8,3            ## @allocatedaasmem
L_.str.1:                               ## @.str.1
	.asciz	" of AAS memory\n"

	.comm	_aas_vertexchain,8,3            ## @aas_vertexchain
	.comm	_aas_planechain,8,3             ## @aas_planechain
	.comm	_aas_edgechain,8,3              ## @aas_edgechain
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AAS_FreeMaxAAS                 ; -- Begin function AAS_FreeMaxAAS
	.p2align	2
_AAS_FreeMaxAAS:                        ; @AAS_FreeMaxAAS
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x19, _aasworld@GOTPAGE
Lloh1:
	ldr	x19, [x19, _aasworld@GOTPAGEOFF]
	ldr	x0, [x19, #216]
	cbz	x0, LBB0_2
; %bb.1:
	bl	_FreeMemory
LBB0_2:
	stp	xzr, xzr, [x19, #208]
	ldr	x0, [x19, #200]
	cbz	x0, LBB0_4
; %bb.3:
	bl	_FreeMemory
LBB0_4:
	stp	xzr, xzr, [x19, #192]
	ldr	x0, [x19, #184]
	cbz	x0, LBB0_6
; %bb.5:
	bl	_FreeMemory
LBB0_6:
	stp	xzr, xzr, [x19, #176]
	ldr	x0, [x19, #168]
	cbz	x0, LBB0_8
; %bb.7:
	bl	_FreeMemory
LBB0_8:
	stp	xzr, xzr, [x19, #160]
	ldr	x0, [x19, #152]
	cbz	x0, LBB0_10
; %bb.9:
	bl	_FreeMemory
LBB0_10:
	stp	xzr, xzr, [x19, #144]
	ldr	x0, [x19, #136]
	cbz	x0, LBB0_12
; %bb.11:
	bl	_FreeMemory
LBB0_12:
	stp	xzr, xzr, [x19, #128]
	ldr	x0, [x19, #120]
	cbz	x0, LBB0_14
; %bb.13:
	bl	_FreeMemory
LBB0_14:
	stp	xzr, xzr, [x19, #112]
	ldr	x0, [x19, #104]
	cbz	x0, LBB0_16
; %bb.15:
	bl	_FreeMemory
LBB0_16:
	stp	xzr, xzr, [x19, #96]
	ldr	x0, [x19, #88]
	cbz	x0, LBB0_18
; %bb.17:
	bl	_FreeMemory
LBB0_18:
	stp	xzr, xzr, [x19, #80]
	ldr	x0, [x19, #72]
	cbz	x0, LBB0_20
; %bb.19:
	bl	_FreeMemory
LBB0_20:
	stp	xzr, xzr, [x19, #64]
	ldr	x0, [x19, #56]
	cbz	x0, LBB0_22
; %bb.21:
	bl	_FreeMemory
LBB0_22:
	stp	xzr, xzr, [x19, #48]
	ldr	x0, [x19, #40]
	cbz	x0, LBB0_24
; %bb.23:
	bl	_FreeMemory
LBB0_24:
	stp	xzr, xzr, [x19, #32]
	ldr	x0, [x19, #24]
	cbz	x0, LBB0_26
; %bb.25:
	bl	_FreeMemory
LBB0_26:
	stp	xzr, xzr, [x19, #16]
	ldr	x0, [x19, #8]
	cbz	x0, LBB0_28
; %bb.27:
	bl	_FreeMemory
LBB0_28:
	stp	xzr, xzr, [x19]
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	bl	_Log_Print
Lloh4:
	adrp	x19, _allocatedaasmem@GOTPAGE
Lloh5:
	ldr	x19, [x19, _allocatedaasmem@GOTPAGEOFF]
	ldr	x0, [x19]
	bl	_PrintMemorySize
Lloh6:
	adrp	x0, l_.str.1@PAGE
Lloh7:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_Log_Print
	str	xzr, [x19]
Lloh8:
	adrp	x19, _aas_vertexchain@GOTPAGE
Lloh9:
	ldr	x19, [x19, _aas_vertexchain@GOTPAGEOFF]
	ldr	x0, [x19]
	cbz	x0, LBB0_30
; %bb.29:
	bl	_FreeMemory
LBB0_30:
	str	xzr, [x19]
Lloh10:
	adrp	x19, _aas_planechain@GOTPAGE
Lloh11:
	ldr	x19, [x19, _aas_planechain@GOTPAGEOFF]
	ldr	x0, [x19]
	cbz	x0, LBB0_32
; %bb.31:
	bl	_FreeMemory
LBB0_32:
	str	xzr, [x19]
Lloh12:
	adrp	x19, _aas_edgechain@GOTPAGE
Lloh13:
	ldr	x19, [x19, _aas_edgechain@GOTPAGEOFF]
	ldr	x0, [x19]
	cbz	x0, LBB0_34
; %bb.33:
	bl	_FreeMemory
LBB0_34:
	str	xzr, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_aasworld,224,3                 ; @aasworld
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"freed "

	.comm	_allocatedaasmem,8,3            ; @allocatedaasmem
l_.str.1:                               ; @.str.1
	.asciz	" of AAS memory\n"

	.comm	_aas_vertexchain,8,3            ; @aas_vertexchain
	.comm	_aas_planechain,8,3             ; @aas_planechain
	.comm	_aas_edgechain,8,3              ; @aas_edgechain
.subsections_via_symbols
