	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_HL_FreeMaxBSP                  ## -- Begin function HL_FreeMaxBSP
	.p2align	4, 0x90
_HL_FreeMaxBSP:                         ## @HL_FreeMaxBSP
	.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	_hl_nummodels@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_hl_dmodels@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	callq	_FreeMemory
	movq	$0, (%rbx)
	movq	_hl_visdatasize@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_hl_dvisdata@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	callq	_FreeMemory
	movq	$0, (%rbx)
	movq	_hl_lightdatasize@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_hl_dlightdata@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	callq	_FreeMemory
	movq	$0, (%rbx)
	movq	_hl_texdatasize@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_hl_dtexdata@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	callq	_FreeMemory
	movq	$0, (%rbx)
	movq	_hl_entdatasize@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_hl_dentdata@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	callq	_FreeMemory
	movq	$0, (%rbx)
	movq	_hl_numleafs@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_hl_dleafs@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	callq	_FreeMemory
	movq	$0, (%rbx)
	movq	_hl_numplanes@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_hl_dplanes@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	callq	_FreeMemory
	movq	$0, (%rbx)
	movq	_hl_numvertexes@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_hl_dvertexes@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	callq	_FreeMemory
	movq	$0, (%rbx)
	movq	_hl_numnodes@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_hl_dnodes@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	callq	_FreeMemory
	movq	$0, (%rbx)
	movq	_hl_numtexinfo@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_hl_texinfo@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	callq	_FreeMemory
	movq	$0, (%rbx)
	movq	_hl_numfaces@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_hl_dfaces@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	callq	_FreeMemory
	movq	$0, (%rbx)
	movq	_hl_numclipnodes@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_hl_dclipnodes@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	callq	_FreeMemory
	movq	$0, (%rbx)
	movq	_hl_numedges@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_hl_dedges@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	callq	_FreeMemory
	movq	$0, (%rbx)
	movq	_hl_nummarksurfaces@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_hl_dmarksurfaces@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	callq	_FreeMemory
	movq	$0, (%rbx)
	movq	_hl_numsurfedges@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_hl_dsurfedges@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	callq	_FreeMemory
	movq	$0, (%rbx)
	leaq	L_.str(%rip), %rdi
	callq	_Log_Print
	movq	_hl_allocatedbspmem@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	callq	_PrintMemorySize
	leaq	L_.str.1(%rip), %rdi
	callq	_Log_Print
	movq	$0, (%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_hl_nummodels,8,3               ## @hl_nummodels
	.comm	_hl_dmodels,8,3                 ## @hl_dmodels
	.comm	_hl_visdatasize,8,3             ## @hl_visdatasize
	.comm	_hl_dvisdata,8,3                ## @hl_dvisdata
	.comm	_hl_lightdatasize,8,3           ## @hl_lightdatasize
	.comm	_hl_dlightdata,8,3              ## @hl_dlightdata
	.comm	_hl_texdatasize,8,3             ## @hl_texdatasize
	.comm	_hl_dtexdata,8,3                ## @hl_dtexdata
	.comm	_hl_entdatasize,8,3             ## @hl_entdatasize
	.comm	_hl_dentdata,8,3                ## @hl_dentdata
	.comm	_hl_numleafs,8,3                ## @hl_numleafs
	.comm	_hl_dleafs,8,3                  ## @hl_dleafs
	.comm	_hl_numplanes,8,3               ## @hl_numplanes
	.comm	_hl_dplanes,8,3                 ## @hl_dplanes
	.comm	_hl_numvertexes,8,3             ## @hl_numvertexes
	.comm	_hl_dvertexes,8,3               ## @hl_dvertexes
	.comm	_hl_numnodes,8,3                ## @hl_numnodes
	.comm	_hl_dnodes,8,3                  ## @hl_dnodes
	.comm	_hl_numtexinfo,8,3              ## @hl_numtexinfo
	.comm	_hl_texinfo,8,3                 ## @hl_texinfo
	.comm	_hl_numfaces,8,3                ## @hl_numfaces
	.comm	_hl_dfaces,8,3                  ## @hl_dfaces
	.comm	_hl_numclipnodes,8,3            ## @hl_numclipnodes
	.comm	_hl_dclipnodes,8,3              ## @hl_dclipnodes
	.comm	_hl_numedges,8,3                ## @hl_numedges
	.comm	_hl_dedges,8,3                  ## @hl_dedges
	.comm	_hl_nummarksurfaces,8,3         ## @hl_nummarksurfaces
	.comm	_hl_dmarksurfaces,8,3           ## @hl_dmarksurfaces
	.comm	_hl_numsurfedges,8,3            ## @hl_numsurfedges
	.comm	_hl_dsurfedges,8,3              ## @hl_dsurfedges
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"freed "

	.comm	_hl_allocatedbspmem,8,3         ## @hl_allocatedbspmem
L_.str.1:                               ## @.str.1
	.asciz	" of BSP memory\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_HL_FreeMaxBSP                  ; -- Begin function HL_FreeMaxBSP
	.p2align	2
_HL_FreeMaxBSP:                         ; @HL_FreeMaxBSP
	.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	x8, _hl_nummodels@GOTPAGE
Lloh1:
	ldr	x8, [x8, _hl_nummodels@GOTPAGEOFF]
Lloh2:
	str	xzr, [x8]
Lloh3:
	adrp	x19, _hl_dmodels@GOTPAGE
Lloh4:
	ldr	x19, [x19, _hl_dmodels@GOTPAGEOFF]
	ldr	x0, [x19]
	bl	_FreeMemory
	str	xzr, [x19]
Lloh5:
	adrp	x8, _hl_visdatasize@GOTPAGE
Lloh6:
	ldr	x8, [x8, _hl_visdatasize@GOTPAGEOFF]
Lloh7:
	str	xzr, [x8]
Lloh8:
	adrp	x19, _hl_dvisdata@GOTPAGE
Lloh9:
	ldr	x19, [x19, _hl_dvisdata@GOTPAGEOFF]
	ldr	x0, [x19]
	bl	_FreeMemory
	str	xzr, [x19]
Lloh10:
	adrp	x8, _hl_lightdatasize@GOTPAGE
Lloh11:
	ldr	x8, [x8, _hl_lightdatasize@GOTPAGEOFF]
Lloh12:
	str	xzr, [x8]
Lloh13:
	adrp	x19, _hl_dlightdata@GOTPAGE
Lloh14:
	ldr	x19, [x19, _hl_dlightdata@GOTPAGEOFF]
	ldr	x0, [x19]
	bl	_FreeMemory
	str	xzr, [x19]
Lloh15:
	adrp	x8, _hl_texdatasize@GOTPAGE
Lloh16:
	ldr	x8, [x8, _hl_texdatasize@GOTPAGEOFF]
Lloh17:
	str	xzr, [x8]
Lloh18:
	adrp	x19, _hl_dtexdata@GOTPAGE
Lloh19:
	ldr	x19, [x19, _hl_dtexdata@GOTPAGEOFF]
	ldr	x0, [x19]
	bl	_FreeMemory
	str	xzr, [x19]
Lloh20:
	adrp	x8, _hl_entdatasize@GOTPAGE
Lloh21:
	ldr	x8, [x8, _hl_entdatasize@GOTPAGEOFF]
Lloh22:
	str	xzr, [x8]
Lloh23:
	adrp	x19, _hl_dentdata@GOTPAGE
Lloh24:
	ldr	x19, [x19, _hl_dentdata@GOTPAGEOFF]
	ldr	x0, [x19]
	bl	_FreeMemory
	str	xzr, [x19]
Lloh25:
	adrp	x8, _hl_numleafs@GOTPAGE
Lloh26:
	ldr	x8, [x8, _hl_numleafs@GOTPAGEOFF]
Lloh27:
	str	xzr, [x8]
Lloh28:
	adrp	x19, _hl_dleafs@GOTPAGE
Lloh29:
	ldr	x19, [x19, _hl_dleafs@GOTPAGEOFF]
	ldr	x0, [x19]
	bl	_FreeMemory
	str	xzr, [x19]
Lloh30:
	adrp	x8, _hl_numplanes@GOTPAGE
Lloh31:
	ldr	x8, [x8, _hl_numplanes@GOTPAGEOFF]
Lloh32:
	str	xzr, [x8]
Lloh33:
	adrp	x19, _hl_dplanes@GOTPAGE
Lloh34:
	ldr	x19, [x19, _hl_dplanes@GOTPAGEOFF]
	ldr	x0, [x19]
	bl	_FreeMemory
	str	xzr, [x19]
Lloh35:
	adrp	x8, _hl_numvertexes@GOTPAGE
Lloh36:
	ldr	x8, [x8, _hl_numvertexes@GOTPAGEOFF]
Lloh37:
	str	xzr, [x8]
Lloh38:
	adrp	x19, _hl_dvertexes@GOTPAGE
Lloh39:
	ldr	x19, [x19, _hl_dvertexes@GOTPAGEOFF]
	ldr	x0, [x19]
	bl	_FreeMemory
	str	xzr, [x19]
Lloh40:
	adrp	x8, _hl_numnodes@GOTPAGE
Lloh41:
	ldr	x8, [x8, _hl_numnodes@GOTPAGEOFF]
Lloh42:
	str	xzr, [x8]
Lloh43:
	adrp	x19, _hl_dnodes@GOTPAGE
Lloh44:
	ldr	x19, [x19, _hl_dnodes@GOTPAGEOFF]
	ldr	x0, [x19]
	bl	_FreeMemory
	str	xzr, [x19]
Lloh45:
	adrp	x8, _hl_numtexinfo@GOTPAGE
Lloh46:
	ldr	x8, [x8, _hl_numtexinfo@GOTPAGEOFF]
Lloh47:
	str	xzr, [x8]
Lloh48:
	adrp	x19, _hl_texinfo@GOTPAGE
Lloh49:
	ldr	x19, [x19, _hl_texinfo@GOTPAGEOFF]
	ldr	x0, [x19]
	bl	_FreeMemory
	str	xzr, [x19]
Lloh50:
	adrp	x8, _hl_numfaces@GOTPAGE
Lloh51:
	ldr	x8, [x8, _hl_numfaces@GOTPAGEOFF]
Lloh52:
	str	xzr, [x8]
Lloh53:
	adrp	x19, _hl_dfaces@GOTPAGE
Lloh54:
	ldr	x19, [x19, _hl_dfaces@GOTPAGEOFF]
	ldr	x0, [x19]
	bl	_FreeMemory
	str	xzr, [x19]
Lloh55:
	adrp	x8, _hl_numclipnodes@GOTPAGE
Lloh56:
	ldr	x8, [x8, _hl_numclipnodes@GOTPAGEOFF]
Lloh57:
	str	xzr, [x8]
Lloh58:
	adrp	x19, _hl_dclipnodes@GOTPAGE
Lloh59:
	ldr	x19, [x19, _hl_dclipnodes@GOTPAGEOFF]
	ldr	x0, [x19]
	bl	_FreeMemory
	str	xzr, [x19]
Lloh60:
	adrp	x8, _hl_numedges@GOTPAGE
Lloh61:
	ldr	x8, [x8, _hl_numedges@GOTPAGEOFF]
Lloh62:
	str	xzr, [x8]
Lloh63:
	adrp	x19, _hl_dedges@GOTPAGE
Lloh64:
	ldr	x19, [x19, _hl_dedges@GOTPAGEOFF]
	ldr	x0, [x19]
	bl	_FreeMemory
	str	xzr, [x19]
Lloh65:
	adrp	x8, _hl_nummarksurfaces@GOTPAGE
Lloh66:
	ldr	x8, [x8, _hl_nummarksurfaces@GOTPAGEOFF]
Lloh67:
	str	xzr, [x8]
Lloh68:
	adrp	x19, _hl_dmarksurfaces@GOTPAGE
Lloh69:
	ldr	x19, [x19, _hl_dmarksurfaces@GOTPAGEOFF]
	ldr	x0, [x19]
	bl	_FreeMemory
	str	xzr, [x19]
Lloh70:
	adrp	x8, _hl_numsurfedges@GOTPAGE
Lloh71:
	ldr	x8, [x8, _hl_numsurfedges@GOTPAGEOFF]
Lloh72:
	str	xzr, [x8]
Lloh73:
	adrp	x19, _hl_dsurfedges@GOTPAGE
Lloh74:
	ldr	x19, [x19, _hl_dsurfedges@GOTPAGEOFF]
	ldr	x0, [x19]
	bl	_FreeMemory
	str	xzr, [x19]
Lloh75:
	adrp	x0, l_.str@PAGE
Lloh76:
	add	x0, x0, l_.str@PAGEOFF
	bl	_Log_Print
Lloh77:
	adrp	x19, _hl_allocatedbspmem@GOTPAGE
Lloh78:
	ldr	x19, [x19, _hl_allocatedbspmem@GOTPAGEOFF]
	ldr	x0, [x19]
	bl	_PrintMemorySize
Lloh79:
	adrp	x0, l_.str.1@PAGE
Lloh80:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_Log_Print
	str	xzr, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh79, Lloh80
	.loh AdrpLdrGot	Lloh77, Lloh78
	.loh AdrpAdd	Lloh75, Lloh76
	.loh AdrpLdrGot	Lloh73, Lloh74
	.loh AdrpLdrGotStr	Lloh70, Lloh71, Lloh72
	.loh AdrpLdrGot	Lloh68, Lloh69
	.loh AdrpLdrGotStr	Lloh65, Lloh66, Lloh67
	.loh AdrpLdrGot	Lloh63, Lloh64
	.loh AdrpLdrGotStr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGot	Lloh58, Lloh59
	.loh AdrpLdrGotStr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGot	Lloh53, Lloh54
	.loh AdrpLdrGotStr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGot	Lloh48, Lloh49
	.loh AdrpLdrGotStr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGot	Lloh43, Lloh44
	.loh AdrpLdrGotStr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGot	Lloh38, Lloh39
	.loh AdrpLdrGotStr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGotStr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGotStr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGotStr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotStr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotStr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotStr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotStr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_hl_nummodels,8,3               ; @hl_nummodels
	.comm	_hl_dmodels,8,3                 ; @hl_dmodels
	.comm	_hl_visdatasize,8,3             ; @hl_visdatasize
	.comm	_hl_dvisdata,8,3                ; @hl_dvisdata
	.comm	_hl_lightdatasize,8,3           ; @hl_lightdatasize
	.comm	_hl_dlightdata,8,3              ; @hl_dlightdata
	.comm	_hl_texdatasize,8,3             ; @hl_texdatasize
	.comm	_hl_dtexdata,8,3                ; @hl_dtexdata
	.comm	_hl_entdatasize,8,3             ; @hl_entdatasize
	.comm	_hl_dentdata,8,3                ; @hl_dentdata
	.comm	_hl_numleafs,8,3                ; @hl_numleafs
	.comm	_hl_dleafs,8,3                  ; @hl_dleafs
	.comm	_hl_numplanes,8,3               ; @hl_numplanes
	.comm	_hl_dplanes,8,3                 ; @hl_dplanes
	.comm	_hl_numvertexes,8,3             ; @hl_numvertexes
	.comm	_hl_dvertexes,8,3               ; @hl_dvertexes
	.comm	_hl_numnodes,8,3                ; @hl_numnodes
	.comm	_hl_dnodes,8,3                  ; @hl_dnodes
	.comm	_hl_numtexinfo,8,3              ; @hl_numtexinfo
	.comm	_hl_texinfo,8,3                 ; @hl_texinfo
	.comm	_hl_numfaces,8,3                ; @hl_numfaces
	.comm	_hl_dfaces,8,3                  ; @hl_dfaces
	.comm	_hl_numclipnodes,8,3            ; @hl_numclipnodes
	.comm	_hl_dclipnodes,8,3              ; @hl_dclipnodes
	.comm	_hl_numedges,8,3                ; @hl_numedges
	.comm	_hl_dedges,8,3                  ; @hl_dedges
	.comm	_hl_nummarksurfaces,8,3         ; @hl_nummarksurfaces
	.comm	_hl_dmarksurfaces,8,3           ; @hl_dmarksurfaces
	.comm	_hl_numsurfedges,8,3            ; @hl_numsurfedges
	.comm	_hl_dsurfedges,8,3              ; @hl_dsurfedges
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"freed "

	.comm	_hl_allocatedbspmem,8,3         ; @hl_allocatedbspmem
l_.str.1:                               ; @.str.1
	.asciz	" of BSP memory\n"

.subsections_via_symbols
