	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Q2_AllocMaxBSP                 ## -- Begin function Q2_AllocMaxBSP
	.p2align	4, 0x90
_Q2_AllocMaxBSP:                        ## @Q2_AllocMaxBSP
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_nummodels@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_MAX_MAP_MODELS@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	shll	$2, %edi
	callq	_GetClearedMemory
	movq	_dmodels@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movl	(%rbx), %eax
	shll	$2, %eax
	movq	_allocatedbspmem@GOTPCREL(%rip), %r14
	addl	%eax, (%r14)
	movq	_visdatasize@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_MAX_MAP_VISIBILITY@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	shll	$2, %edi
	callq	_GetClearedMemory
	movq	_dvisdata@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	_dvis@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movl	(%rbx), %eax
	shll	$2, %eax
	addl	%eax, (%r14)
	movq	_lightdatasize@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_MAX_MAP_LIGHTING@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	shll	$2, %edi
	callq	_GetClearedMemory
	movq	_dlightdata@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movl	(%rbx), %eax
	shll	$2, %eax
	addl	%eax, (%r14)
	movq	_entdatasize@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_MAX_MAP_ENTSTRING@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_GetClearedMemory
	movq	_dentdata@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movl	(%rbx), %eax
	addl	%eax, (%r14)
	movq	_numleafs@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_MAX_MAP_LEAFS@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	shll	$2, %edi
	callq	_GetClearedMemory
	movq	_dleafs@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movl	(%rbx), %eax
	shll	$2, %eax
	addl	%eax, (%r14)
	movq	_numplanes@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_MAX_MAP_PLANES@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	shll	$2, %edi
	callq	_GetClearedMemory
	movq	_dplanes@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movl	(%rbx), %eax
	shll	$2, %eax
	addl	%eax, (%r14)
	movq	_numvertexes@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_MAX_MAP_VERTS@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	shll	$2, %edi
	callq	_GetClearedMemory
	movq	_dvertexes@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movl	(%rbx), %eax
	shll	$2, %eax
	addl	%eax, (%r14)
	movq	_numnodes@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_MAX_MAP_NODES@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	shll	$2, %edi
	callq	_GetClearedMemory
	movq	_dnodes@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movl	(%rbx), %eax
	shll	$2, %eax
	addl	%eax, (%r14)
	movq	_numfaces@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_MAX_MAP_FACES@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	shll	$2, %edi
	callq	_GetClearedMemory
	movq	_dfaces@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movl	(%rbx), %eax
	shll	$2, %eax
	addl	%eax, (%r14)
	movq	_numedges@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_MAX_MAP_EDGES@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	shll	$2, %edi
	callq	_GetClearedMemory
	movq	_dedges@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movl	(%rbx), %eax
	shll	$2, %eax
	addl	%eax, (%r14)
	movq	_numleaffaces@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_MAX_MAP_LEAFFACES@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	addl	%edi, %edi
	callq	_GetClearedMemory
	movq	_dleaffaces@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movl	(%rbx), %eax
	addl	%eax, %eax
	addl	%eax, (%r14)
	movq	_numleafbrushes@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_MAX_MAP_LEAFBRUSHES@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	addl	%edi, %edi
	callq	_GetClearedMemory
	movq	_dleafbrushes@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movl	(%rbx), %eax
	addl	%eax, %eax
	addl	%eax, (%r14)
	movq	_numsurfedges@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_MAX_MAP_SURFEDGES@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	shll	$2, %edi
	callq	_GetClearedMemory
	movq	_dsurfedges@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movl	(%rbx), %eax
	shll	$2, %eax
	addl	%eax, (%r14)
	movq	_numbrushes@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_MAX_MAP_BRUSHES@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	shll	$2, %edi
	callq	_GetClearedMemory
	movq	_dbrushes@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movl	(%rbx), %eax
	shll	$2, %eax
	addl	%eax, (%r14)
	movq	_numbrushsides@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_MAX_MAP_BRUSHSIDES@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	shll	$2, %edi
	callq	_GetClearedMemory
	movq	_dbrushsides@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movl	(%rbx), %eax
	shll	$2, %eax
	addl	%eax, (%r14)
	movq	_numareas@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_MAX_MAP_AREAS@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	shll	$2, %edi
	callq	_GetClearedMemory
	movq	_dareas@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movl	(%rbx), %eax
	shll	$2, %eax
	addl	%eax, (%r14)
	movq	_numareaportals@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_MAX_MAP_AREAPORTALS@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	shll	$2, %edi
	callq	_GetClearedMemory
	movq	_dareaportals@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movl	(%rbx), %eax
	shll	$2, %eax
	addl	%eax, (%r14)
	leaq	L_.str(%rip), %rdi
	callq	_Log_Print
	movl	(%r14), %edi
	callq	_PrintMemorySize
	leaq	L_.str.1(%rip), %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_Log_Print                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_nummodels,8,3                  ## @nummodels
	.comm	_MAX_MAP_MODELS,4,2             ## @MAX_MAP_MODELS
	.comm	_dmodels,8,3                    ## @dmodels
	.comm	_allocatedbspmem,4,2            ## @allocatedbspmem
	.comm	_visdatasize,8,3                ## @visdatasize
	.comm	_MAX_MAP_VISIBILITY,4,2         ## @MAX_MAP_VISIBILITY
	.comm	_dvisdata,8,3                   ## @dvisdata
	.comm	_dvis,8,3                       ## @dvis
	.comm	_lightdatasize,8,3              ## @lightdatasize
	.comm	_MAX_MAP_LIGHTING,4,2           ## @MAX_MAP_LIGHTING
	.comm	_dlightdata,8,3                 ## @dlightdata
	.comm	_entdatasize,8,3                ## @entdatasize
	.comm	_MAX_MAP_ENTSTRING,4,2          ## @MAX_MAP_ENTSTRING
	.comm	_dentdata,8,3                   ## @dentdata
	.comm	_numleafs,8,3                   ## @numleafs
	.comm	_MAX_MAP_LEAFS,4,2              ## @MAX_MAP_LEAFS
	.comm	_dleafs,8,3                     ## @dleafs
	.comm	_numplanes,8,3                  ## @numplanes
	.comm	_MAX_MAP_PLANES,4,2             ## @MAX_MAP_PLANES
	.comm	_dplanes,8,3                    ## @dplanes
	.comm	_numvertexes,8,3                ## @numvertexes
	.comm	_MAX_MAP_VERTS,4,2              ## @MAX_MAP_VERTS
	.comm	_dvertexes,8,3                  ## @dvertexes
	.comm	_numnodes,8,3                   ## @numnodes
	.comm	_MAX_MAP_NODES,4,2              ## @MAX_MAP_NODES
	.comm	_dnodes,8,3                     ## @dnodes
	.comm	_numfaces,8,3                   ## @numfaces
	.comm	_MAX_MAP_FACES,4,2              ## @MAX_MAP_FACES
	.comm	_dfaces,8,3                     ## @dfaces
	.comm	_numedges,8,3                   ## @numedges
	.comm	_MAX_MAP_EDGES,4,2              ## @MAX_MAP_EDGES
	.comm	_dedges,8,3                     ## @dedges
	.comm	_numleaffaces,8,3               ## @numleaffaces
	.comm	_MAX_MAP_LEAFFACES,4,2          ## @MAX_MAP_LEAFFACES
	.comm	_dleaffaces,8,3                 ## @dleaffaces
	.comm	_numleafbrushes,8,3             ## @numleafbrushes
	.comm	_MAX_MAP_LEAFBRUSHES,4,2        ## @MAX_MAP_LEAFBRUSHES
	.comm	_dleafbrushes,8,3               ## @dleafbrushes
	.comm	_numsurfedges,8,3               ## @numsurfedges
	.comm	_MAX_MAP_SURFEDGES,4,2          ## @MAX_MAP_SURFEDGES
	.comm	_dsurfedges,8,3                 ## @dsurfedges
	.comm	_numbrushes,8,3                 ## @numbrushes
	.comm	_MAX_MAP_BRUSHES,4,2            ## @MAX_MAP_BRUSHES
	.comm	_dbrushes,8,3                   ## @dbrushes
	.comm	_numbrushsides,8,3              ## @numbrushsides
	.comm	_MAX_MAP_BRUSHSIDES,4,2         ## @MAX_MAP_BRUSHSIDES
	.comm	_dbrushsides,8,3                ## @dbrushsides
	.comm	_numareas,8,3                   ## @numareas
	.comm	_MAX_MAP_AREAS,4,2              ## @MAX_MAP_AREAS
	.comm	_dareas,8,3                     ## @dareas
	.comm	_numareaportals,8,3             ## @numareaportals
	.comm	_MAX_MAP_AREAPORTALS,4,2        ## @MAX_MAP_AREAPORTALS
	.comm	_dareaportals,8,3               ## @dareaportals
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"allocated "

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	_Q2_AllocMaxBSP                 ; -- Begin function Q2_AllocMaxBSP
	.p2align	2
_Q2_AllocMaxBSP:                        ; @Q2_AllocMaxBSP
	.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, _nummodels@GOTPAGE
Lloh1:
	ldr	x8, [x8, _nummodels@GOTPAGEOFF]
Lloh2:
	str	xzr, [x8]
Lloh3:
	adrp	x19, _MAX_MAP_MODELS@GOTPAGE
Lloh4:
	ldr	x19, [x19, _MAX_MAP_MODELS@GOTPAGEOFF]
	ldr	w8, [x19]
	lsl	w0, w8, #2
	bl	_GetClearedMemory
Lloh5:
	adrp	x8, _dmodels@GOTPAGE
Lloh6:
	ldr	x8, [x8, _dmodels@GOTPAGEOFF]
Lloh7:
	str	x0, [x8]
	ldr	w8, [x19]
Lloh8:
	adrp	x19, _allocatedbspmem@GOTPAGE
Lloh9:
	ldr	x19, [x19, _allocatedbspmem@GOTPAGEOFF]
	ldr	w9, [x19]
	add	w8, w9, w8, lsl #2
Lloh10:
	adrp	x9, _visdatasize@GOTPAGE
Lloh11:
	ldr	x9, [x9, _visdatasize@GOTPAGEOFF]
	str	w8, [x19]
Lloh12:
	str	xzr, [x9]
Lloh13:
	adrp	x20, _MAX_MAP_VISIBILITY@GOTPAGE
Lloh14:
	ldr	x20, [x20, _MAX_MAP_VISIBILITY@GOTPAGEOFF]
	ldr	w8, [x20]
	lsl	w0, w8, #2
	bl	_GetClearedMemory
Lloh15:
	adrp	x8, _dvisdata@GOTPAGE
Lloh16:
	ldr	x8, [x8, _dvisdata@GOTPAGEOFF]
Lloh17:
	str	x0, [x8]
Lloh18:
	adrp	x8, _dvis@GOTPAGE
Lloh19:
	ldr	x8, [x8, _dvis@GOTPAGEOFF]
Lloh20:
	str	x0, [x8]
	ldr	w8, [x20]
	ldr	w9, [x19]
	add	w8, w9, w8, lsl #2
Lloh21:
	adrp	x9, _lightdatasize@GOTPAGE
Lloh22:
	ldr	x9, [x9, _lightdatasize@GOTPAGEOFF]
	str	w8, [x19]
Lloh23:
	str	xzr, [x9]
Lloh24:
	adrp	x20, _MAX_MAP_LIGHTING@GOTPAGE
Lloh25:
	ldr	x20, [x20, _MAX_MAP_LIGHTING@GOTPAGEOFF]
	ldr	w8, [x20]
	lsl	w0, w8, #2
	bl	_GetClearedMemory
Lloh26:
	adrp	x8, _dlightdata@GOTPAGE
Lloh27:
	ldr	x8, [x8, _dlightdata@GOTPAGEOFF]
Lloh28:
	str	x0, [x8]
	ldr	w8, [x20]
	ldr	w9, [x19]
	add	w8, w9, w8, lsl #2
	str	w8, [x19]
Lloh29:
	adrp	x8, _entdatasize@GOTPAGE
Lloh30:
	ldr	x8, [x8, _entdatasize@GOTPAGEOFF]
Lloh31:
	str	xzr, [x8]
Lloh32:
	adrp	x20, _MAX_MAP_ENTSTRING@GOTPAGE
Lloh33:
	ldr	x20, [x20, _MAX_MAP_ENTSTRING@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_GetClearedMemory
Lloh34:
	adrp	x8, _dentdata@GOTPAGE
Lloh35:
	ldr	x8, [x8, _dentdata@GOTPAGEOFF]
Lloh36:
	str	x0, [x8]
	ldr	w8, [x20]
	ldr	w9, [x19]
	add	w8, w9, w8
Lloh37:
	adrp	x9, _numleafs@GOTPAGE
Lloh38:
	ldr	x9, [x9, _numleafs@GOTPAGEOFF]
	str	w8, [x19]
Lloh39:
	str	xzr, [x9]
Lloh40:
	adrp	x20, _MAX_MAP_LEAFS@GOTPAGE
Lloh41:
	ldr	x20, [x20, _MAX_MAP_LEAFS@GOTPAGEOFF]
	ldr	w8, [x20]
	lsl	w0, w8, #2
	bl	_GetClearedMemory
Lloh42:
	adrp	x8, _dleafs@GOTPAGE
Lloh43:
	ldr	x8, [x8, _dleafs@GOTPAGEOFF]
Lloh44:
	str	x0, [x8]
	ldr	w8, [x20]
	ldr	w9, [x19]
	add	w8, w9, w8, lsl #2
Lloh45:
	adrp	x9, _numplanes@GOTPAGE
Lloh46:
	ldr	x9, [x9, _numplanes@GOTPAGEOFF]
	str	w8, [x19]
Lloh47:
	str	xzr, [x9]
Lloh48:
	adrp	x20, _MAX_MAP_PLANES@GOTPAGE
Lloh49:
	ldr	x20, [x20, _MAX_MAP_PLANES@GOTPAGEOFF]
	ldr	w8, [x20]
	lsl	w0, w8, #2
	bl	_GetClearedMemory
Lloh50:
	adrp	x8, _dplanes@GOTPAGE
Lloh51:
	ldr	x8, [x8, _dplanes@GOTPAGEOFF]
Lloh52:
	str	x0, [x8]
	ldr	w8, [x20]
	ldr	w9, [x19]
	add	w8, w9, w8, lsl #2
Lloh53:
	adrp	x9, _numvertexes@GOTPAGE
Lloh54:
	ldr	x9, [x9, _numvertexes@GOTPAGEOFF]
	str	w8, [x19]
Lloh55:
	str	xzr, [x9]
Lloh56:
	adrp	x20, _MAX_MAP_VERTS@GOTPAGE
Lloh57:
	ldr	x20, [x20, _MAX_MAP_VERTS@GOTPAGEOFF]
	ldr	w8, [x20]
	lsl	w0, w8, #2
	bl	_GetClearedMemory
Lloh58:
	adrp	x8, _dvertexes@GOTPAGE
Lloh59:
	ldr	x8, [x8, _dvertexes@GOTPAGEOFF]
Lloh60:
	str	x0, [x8]
	ldr	w8, [x20]
	ldr	w9, [x19]
	add	w8, w9, w8, lsl #2
Lloh61:
	adrp	x9, _numnodes@GOTPAGE
Lloh62:
	ldr	x9, [x9, _numnodes@GOTPAGEOFF]
	str	w8, [x19]
Lloh63:
	str	xzr, [x9]
Lloh64:
	adrp	x20, _MAX_MAP_NODES@GOTPAGE
Lloh65:
	ldr	x20, [x20, _MAX_MAP_NODES@GOTPAGEOFF]
	ldr	w8, [x20]
	lsl	w0, w8, #2
	bl	_GetClearedMemory
Lloh66:
	adrp	x8, _dnodes@GOTPAGE
Lloh67:
	ldr	x8, [x8, _dnodes@GOTPAGEOFF]
Lloh68:
	str	x0, [x8]
	ldr	w8, [x20]
	ldr	w9, [x19]
	add	w8, w9, w8, lsl #2
Lloh69:
	adrp	x9, _numfaces@GOTPAGE
Lloh70:
	ldr	x9, [x9, _numfaces@GOTPAGEOFF]
	str	w8, [x19]
Lloh71:
	str	xzr, [x9]
Lloh72:
	adrp	x20, _MAX_MAP_FACES@GOTPAGE
Lloh73:
	ldr	x20, [x20, _MAX_MAP_FACES@GOTPAGEOFF]
	ldr	w8, [x20]
	lsl	w0, w8, #2
	bl	_GetClearedMemory
Lloh74:
	adrp	x8, _dfaces@GOTPAGE
Lloh75:
	ldr	x8, [x8, _dfaces@GOTPAGEOFF]
Lloh76:
	str	x0, [x8]
	ldr	w8, [x20]
	ldr	w9, [x19]
	add	w8, w9, w8, lsl #2
Lloh77:
	adrp	x9, _numedges@GOTPAGE
Lloh78:
	ldr	x9, [x9, _numedges@GOTPAGEOFF]
	str	w8, [x19]
Lloh79:
	str	xzr, [x9]
Lloh80:
	adrp	x20, _MAX_MAP_EDGES@GOTPAGE
Lloh81:
	ldr	x20, [x20, _MAX_MAP_EDGES@GOTPAGEOFF]
	ldr	w8, [x20]
	lsl	w0, w8, #2
	bl	_GetClearedMemory
Lloh82:
	adrp	x8, _dedges@GOTPAGE
Lloh83:
	ldr	x8, [x8, _dedges@GOTPAGEOFF]
Lloh84:
	str	x0, [x8]
	ldr	w8, [x20]
	ldr	w9, [x19]
	add	w8, w9, w8, lsl #2
Lloh85:
	adrp	x9, _numleaffaces@GOTPAGE
Lloh86:
	ldr	x9, [x9, _numleaffaces@GOTPAGEOFF]
	str	w8, [x19]
Lloh87:
	str	xzr, [x9]
Lloh88:
	adrp	x20, _MAX_MAP_LEAFFACES@GOTPAGE
Lloh89:
	ldr	x20, [x20, _MAX_MAP_LEAFFACES@GOTPAGEOFF]
	ldr	w8, [x20]
	lsl	w0, w8, #1
	bl	_GetClearedMemory
Lloh90:
	adrp	x8, _dleaffaces@GOTPAGE
Lloh91:
	ldr	x8, [x8, _dleaffaces@GOTPAGEOFF]
Lloh92:
	str	x0, [x8]
	ldr	w8, [x20]
	ldr	w9, [x19]
	add	w8, w9, w8, lsl #1
Lloh93:
	adrp	x9, _numleafbrushes@GOTPAGE
Lloh94:
	ldr	x9, [x9, _numleafbrushes@GOTPAGEOFF]
	str	w8, [x19]
Lloh95:
	str	xzr, [x9]
Lloh96:
	adrp	x20, _MAX_MAP_LEAFBRUSHES@GOTPAGE
Lloh97:
	ldr	x20, [x20, _MAX_MAP_LEAFBRUSHES@GOTPAGEOFF]
	ldr	w8, [x20]
	lsl	w0, w8, #1
	bl	_GetClearedMemory
Lloh98:
	adrp	x8, _dleafbrushes@GOTPAGE
Lloh99:
	ldr	x8, [x8, _dleafbrushes@GOTPAGEOFF]
Lloh100:
	str	x0, [x8]
	ldr	w8, [x20]
	ldr	w9, [x19]
	add	w8, w9, w8, lsl #1
Lloh101:
	adrp	x9, _numsurfedges@GOTPAGE
Lloh102:
	ldr	x9, [x9, _numsurfedges@GOTPAGEOFF]
	str	w8, [x19]
Lloh103:
	str	xzr, [x9]
Lloh104:
	adrp	x20, _MAX_MAP_SURFEDGES@GOTPAGE
Lloh105:
	ldr	x20, [x20, _MAX_MAP_SURFEDGES@GOTPAGEOFF]
	ldr	w8, [x20]
	lsl	w0, w8, #2
	bl	_GetClearedMemory
Lloh106:
	adrp	x8, _dsurfedges@GOTPAGE
Lloh107:
	ldr	x8, [x8, _dsurfedges@GOTPAGEOFF]
Lloh108:
	str	x0, [x8]
	ldr	w8, [x20]
	ldr	w9, [x19]
	add	w8, w9, w8, lsl #2
Lloh109:
	adrp	x9, _numbrushes@GOTPAGE
Lloh110:
	ldr	x9, [x9, _numbrushes@GOTPAGEOFF]
	str	w8, [x19]
Lloh111:
	str	xzr, [x9]
Lloh112:
	adrp	x20, _MAX_MAP_BRUSHES@GOTPAGE
Lloh113:
	ldr	x20, [x20, _MAX_MAP_BRUSHES@GOTPAGEOFF]
	ldr	w8, [x20]
	lsl	w0, w8, #2
	bl	_GetClearedMemory
Lloh114:
	adrp	x8, _dbrushes@GOTPAGE
Lloh115:
	ldr	x8, [x8, _dbrushes@GOTPAGEOFF]
Lloh116:
	str	x0, [x8]
	ldr	w8, [x20]
	ldr	w9, [x19]
	add	w8, w9, w8, lsl #2
Lloh117:
	adrp	x9, _numbrushsides@GOTPAGE
Lloh118:
	ldr	x9, [x9, _numbrushsides@GOTPAGEOFF]
	str	w8, [x19]
Lloh119:
	str	xzr, [x9]
Lloh120:
	adrp	x20, _MAX_MAP_BRUSHSIDES@GOTPAGE
Lloh121:
	ldr	x20, [x20, _MAX_MAP_BRUSHSIDES@GOTPAGEOFF]
	ldr	w8, [x20]
	lsl	w0, w8, #2
	bl	_GetClearedMemory
Lloh122:
	adrp	x8, _dbrushsides@GOTPAGE
Lloh123:
	ldr	x8, [x8, _dbrushsides@GOTPAGEOFF]
Lloh124:
	str	x0, [x8]
	ldr	w8, [x20]
	ldr	w9, [x19]
	add	w8, w9, w8, lsl #2
Lloh125:
	adrp	x9, _numareas@GOTPAGE
Lloh126:
	ldr	x9, [x9, _numareas@GOTPAGEOFF]
	str	w8, [x19]
Lloh127:
	str	xzr, [x9]
Lloh128:
	adrp	x20, _MAX_MAP_AREAS@GOTPAGE
Lloh129:
	ldr	x20, [x20, _MAX_MAP_AREAS@GOTPAGEOFF]
	ldr	w8, [x20]
	lsl	w0, w8, #2
	bl	_GetClearedMemory
Lloh130:
	adrp	x8, _dareas@GOTPAGE
Lloh131:
	ldr	x8, [x8, _dareas@GOTPAGEOFF]
Lloh132:
	str	x0, [x8]
	ldr	w8, [x20]
	ldr	w9, [x19]
	add	w8, w9, w8, lsl #2
Lloh133:
	adrp	x9, _numareaportals@GOTPAGE
Lloh134:
	ldr	x9, [x9, _numareaportals@GOTPAGEOFF]
	str	w8, [x19]
Lloh135:
	str	xzr, [x9]
Lloh136:
	adrp	x20, _MAX_MAP_AREAPORTALS@GOTPAGE
Lloh137:
	ldr	x20, [x20, _MAX_MAP_AREAPORTALS@GOTPAGEOFF]
	ldr	w8, [x20]
	lsl	w0, w8, #2
	bl	_GetClearedMemory
Lloh138:
	adrp	x8, _dareaportals@GOTPAGE
Lloh139:
	ldr	x8, [x8, _dareaportals@GOTPAGEOFF]
Lloh140:
	str	x0, [x8]
	ldr	w8, [x20]
	ldr	w9, [x19]
	add	w8, w9, w8, lsl #2
	str	w8, [x19]
Lloh141:
	adrp	x0, l_.str@PAGE
Lloh142:
	add	x0, x0, l_.str@PAGEOFF
	bl	_Log_Print
	ldr	w0, [x19]
	bl	_PrintMemorySize
Lloh143:
	adrp	x0, l_.str.1@PAGE
Lloh144:
	add	x0, x0, l_.str.1@PAGEOFF
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_Log_Print
	.loh AdrpAdd	Lloh143, Lloh144
	.loh AdrpAdd	Lloh141, Lloh142
	.loh AdrpLdrGotStr	Lloh138, Lloh139, Lloh140
	.loh AdrpLdrGot	Lloh136, Lloh137
	.loh AdrpLdrGotStr	Lloh133, Lloh134, Lloh135
	.loh AdrpLdrGotStr	Lloh130, Lloh131, Lloh132
	.loh AdrpLdrGot	Lloh128, Lloh129
	.loh AdrpLdrGotStr	Lloh125, Lloh126, Lloh127
	.loh AdrpLdrGotStr	Lloh122, Lloh123, Lloh124
	.loh AdrpLdrGot	Lloh120, Lloh121
	.loh AdrpLdrGotStr	Lloh117, Lloh118, Lloh119
	.loh AdrpLdrGotStr	Lloh114, Lloh115, Lloh116
	.loh AdrpLdrGot	Lloh112, Lloh113
	.loh AdrpLdrGotStr	Lloh109, Lloh110, Lloh111
	.loh AdrpLdrGotStr	Lloh106, Lloh107, Lloh108
	.loh AdrpLdrGot	Lloh104, Lloh105
	.loh AdrpLdrGotStr	Lloh101, Lloh102, Lloh103
	.loh AdrpLdrGotStr	Lloh98, Lloh99, Lloh100
	.loh AdrpLdrGot	Lloh96, Lloh97
	.loh AdrpLdrGotStr	Lloh93, Lloh94, Lloh95
	.loh AdrpLdrGotStr	Lloh90, Lloh91, Lloh92
	.loh AdrpLdrGot	Lloh88, Lloh89
	.loh AdrpLdrGotStr	Lloh85, Lloh86, Lloh87
	.loh AdrpLdrGotStr	Lloh82, Lloh83, Lloh84
	.loh AdrpLdrGot	Lloh80, Lloh81
	.loh AdrpLdrGotStr	Lloh77, Lloh78, Lloh79
	.loh AdrpLdrGotStr	Lloh74, Lloh75, Lloh76
	.loh AdrpLdrGot	Lloh72, Lloh73
	.loh AdrpLdrGotStr	Lloh69, Lloh70, Lloh71
	.loh AdrpLdrGotStr	Lloh66, Lloh67, Lloh68
	.loh AdrpLdrGot	Lloh64, Lloh65
	.loh AdrpLdrGotStr	Lloh61, Lloh62, Lloh63
	.loh AdrpLdrGotStr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGot	Lloh56, Lloh57
	.loh AdrpLdrGotStr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotStr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGot	Lloh48, Lloh49
	.loh AdrpLdrGotStr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotStr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGot	Lloh40, Lloh41
	.loh AdrpLdrGotStr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotStr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGotStr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotStr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotStr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotStr	Lloh18, Lloh19, Lloh20
	.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	_nummodels,8,3                  ; @nummodels
	.comm	_MAX_MAP_MODELS,4,2             ; @MAX_MAP_MODELS
	.comm	_dmodels,8,3                    ; @dmodels
	.comm	_allocatedbspmem,4,2            ; @allocatedbspmem
	.comm	_visdatasize,8,3                ; @visdatasize
	.comm	_MAX_MAP_VISIBILITY,4,2         ; @MAX_MAP_VISIBILITY
	.comm	_dvisdata,8,3                   ; @dvisdata
	.comm	_dvis,8,3                       ; @dvis
	.comm	_lightdatasize,8,3              ; @lightdatasize
	.comm	_MAX_MAP_LIGHTING,4,2           ; @MAX_MAP_LIGHTING
	.comm	_dlightdata,8,3                 ; @dlightdata
	.comm	_entdatasize,8,3                ; @entdatasize
	.comm	_MAX_MAP_ENTSTRING,4,2          ; @MAX_MAP_ENTSTRING
	.comm	_dentdata,8,3                   ; @dentdata
	.comm	_numleafs,8,3                   ; @numleafs
	.comm	_MAX_MAP_LEAFS,4,2              ; @MAX_MAP_LEAFS
	.comm	_dleafs,8,3                     ; @dleafs
	.comm	_numplanes,8,3                  ; @numplanes
	.comm	_MAX_MAP_PLANES,4,2             ; @MAX_MAP_PLANES
	.comm	_dplanes,8,3                    ; @dplanes
	.comm	_numvertexes,8,3                ; @numvertexes
	.comm	_MAX_MAP_VERTS,4,2              ; @MAX_MAP_VERTS
	.comm	_dvertexes,8,3                  ; @dvertexes
	.comm	_numnodes,8,3                   ; @numnodes
	.comm	_MAX_MAP_NODES,4,2              ; @MAX_MAP_NODES
	.comm	_dnodes,8,3                     ; @dnodes
	.comm	_numfaces,8,3                   ; @numfaces
	.comm	_MAX_MAP_FACES,4,2              ; @MAX_MAP_FACES
	.comm	_dfaces,8,3                     ; @dfaces
	.comm	_numedges,8,3                   ; @numedges
	.comm	_MAX_MAP_EDGES,4,2              ; @MAX_MAP_EDGES
	.comm	_dedges,8,3                     ; @dedges
	.comm	_numleaffaces,8,3               ; @numleaffaces
	.comm	_MAX_MAP_LEAFFACES,4,2          ; @MAX_MAP_LEAFFACES
	.comm	_dleaffaces,8,3                 ; @dleaffaces
	.comm	_numleafbrushes,8,3             ; @numleafbrushes
	.comm	_MAX_MAP_LEAFBRUSHES,4,2        ; @MAX_MAP_LEAFBRUSHES
	.comm	_dleafbrushes,8,3               ; @dleafbrushes
	.comm	_numsurfedges,8,3               ; @numsurfedges
	.comm	_MAX_MAP_SURFEDGES,4,2          ; @MAX_MAP_SURFEDGES
	.comm	_dsurfedges,8,3                 ; @dsurfedges
	.comm	_numbrushes,8,3                 ; @numbrushes
	.comm	_MAX_MAP_BRUSHES,4,2            ; @MAX_MAP_BRUSHES
	.comm	_dbrushes,8,3                   ; @dbrushes
	.comm	_numbrushsides,8,3              ; @numbrushsides
	.comm	_MAX_MAP_BRUSHSIDES,4,2         ; @MAX_MAP_BRUSHSIDES
	.comm	_dbrushsides,8,3                ; @dbrushsides
	.comm	_numareas,8,3                   ; @numareas
	.comm	_MAX_MAP_AREAS,4,2              ; @MAX_MAP_AREAS
	.comm	_dareas,8,3                     ; @dareas
	.comm	_numareaportals,8,3             ; @numareaportals
	.comm	_MAX_MAP_AREAPORTALS,4,2        ; @MAX_MAP_AREAPORTALS
	.comm	_dareaportals,8,3               ; @dareaportals
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"allocated "

l_.str.1:                               ; @.str.1
	.asciz	" of BSP memory\n"

.subsections_via_symbols
