	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_HL_AllocMaxBSP                 ## -- Begin function HL_AllocMaxBSP
	.p2align	4, 0x90
_HL_AllocMaxBSP:                        ## @HL_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	_hl_nummodels@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_HL_MAX_MAP_MODELS@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	shll	$2, %edi
	callq	_GetMemory
	movq	_hl_dmodels@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movl	(%rbx), %eax
	shll	$2, %eax
	movq	_hl_allocatedbspmem@GOTPCREL(%rip), %r14
	movl	%eax, (%r14)
	movq	_hl_visdatasize@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_HL_MAX_MAP_VISIBILITY@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	shll	$2, %edi
	callq	_GetMemory
	movq	_hl_dvisdata@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movl	(%rbx), %eax
	shll	$2, %eax
	addl	%eax, (%r14)
	movq	_hl_lightdatasize@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_HL_MAX_MAP_LIGHTING@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	shll	$2, %edi
	callq	_GetMemory
	movq	_hl_dlightdata@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movl	(%rbx), %eax
	shll	$2, %eax
	addl	%eax, (%r14)
	movq	_hl_texdatasize@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_HL_MAX_MAP_MIPTEX@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	shll	$2, %edi
	callq	_GetMemory
	movq	_hl_dtexdata@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movl	(%rbx), %eax
	shll	$2, %eax
	addl	%eax, (%r14)
	movq	_hl_entdatasize@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_HL_MAX_MAP_ENTSTRING@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_GetMemory
	movq	_hl_dentdata@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movl	(%rbx), %eax
	addl	%eax, (%r14)
	movq	_hl_numleafs@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_HL_MAX_MAP_LEAFS@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	shll	$2, %edi
	callq	_GetMemory
	movq	_hl_dleafs@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movl	(%rbx), %eax
	shll	$2, %eax
	addl	%eax, (%r14)
	movq	_hl_numplanes@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_HL_MAX_MAP_PLANES@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	shll	$2, %edi
	callq	_GetMemory
	movq	_hl_dplanes@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movl	(%rbx), %eax
	shll	$2, %eax
	addl	%eax, (%r14)
	movq	_hl_numvertexes@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_HL_MAX_MAP_VERTS@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	shll	$2, %edi
	callq	_GetMemory
	movq	_hl_dvertexes@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movl	(%rbx), %eax
	shll	$2, %eax
	addl	%eax, (%r14)
	movq	_hl_numnodes@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_HL_MAX_MAP_NODES@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	shll	$2, %edi
	callq	_GetMemory
	movq	_hl_dnodes@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movl	(%rbx), %eax
	shll	$2, %eax
	addl	%eax, (%r14)
	movq	_hl_numtexinfo@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_HL_MAX_MAP_TEXINFO@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	shll	$2, %edi
	callq	_GetMemory
	movq	_hl_texinfo@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movl	(%rbx), %eax
	shll	$2, %eax
	addl	%eax, (%r14)
	movq	_hl_numfaces@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_HL_MAX_MAP_FACES@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	shll	$2, %edi
	callq	_GetMemory
	movq	_hl_dfaces@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movl	(%rbx), %eax
	shll	$2, %eax
	addl	%eax, (%r14)
	movq	_hl_numclipnodes@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_HL_MAX_MAP_CLIPNODES@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	shll	$2, %edi
	callq	_GetMemory
	movq	_hl_dclipnodes@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movl	(%rbx), %eax
	shll	$2, %eax
	addl	%eax, (%r14)
	movq	_hl_numedges@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_HL_MAX_MAP_EDGES@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	shll	$2, %edi
	callq	_GetMemory
	movq	_hl_dedges@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movl	(%rbx), %eax
	addl	%eax, (%r14)
	movq	_hl_nummarksurfaces@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_HL_MAX_MAP_MARKSURFACES@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	addl	%edi, %edi
	callq	_GetMemory
	movq	_hl_dmarksurfaces@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movl	(%rbx), %eax
	addl	%eax, %eax
	addl	%eax, (%r14)
	movq	_hl_numsurfedges@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_HL_MAX_MAP_SURFEDGES@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	shll	$2, %edi
	callq	_GetMemory
	movq	_hl_dsurfedges@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	_hl_nummodels,8,3               ## @hl_nummodels
	.comm	_HL_MAX_MAP_MODELS,4,2          ## @HL_MAX_MAP_MODELS
	.comm	_hl_dmodels,8,3                 ## @hl_dmodels
	.comm	_hl_allocatedbspmem,4,2         ## @hl_allocatedbspmem
	.comm	_hl_visdatasize,8,3             ## @hl_visdatasize
	.comm	_HL_MAX_MAP_VISIBILITY,4,2      ## @HL_MAX_MAP_VISIBILITY
	.comm	_hl_dvisdata,8,3                ## @hl_dvisdata
	.comm	_hl_lightdatasize,8,3           ## @hl_lightdatasize
	.comm	_HL_MAX_MAP_LIGHTING,4,2        ## @HL_MAX_MAP_LIGHTING
	.comm	_hl_dlightdata,8,3              ## @hl_dlightdata
	.comm	_hl_texdatasize,8,3             ## @hl_texdatasize
	.comm	_HL_MAX_MAP_MIPTEX,4,2          ## @HL_MAX_MAP_MIPTEX
	.comm	_hl_dtexdata,8,3                ## @hl_dtexdata
	.comm	_hl_entdatasize,8,3             ## @hl_entdatasize
	.comm	_HL_MAX_MAP_ENTSTRING,4,2       ## @HL_MAX_MAP_ENTSTRING
	.comm	_hl_dentdata,8,3                ## @hl_dentdata
	.comm	_hl_numleafs,8,3                ## @hl_numleafs
	.comm	_HL_MAX_MAP_LEAFS,4,2           ## @HL_MAX_MAP_LEAFS
	.comm	_hl_dleafs,8,3                  ## @hl_dleafs
	.comm	_hl_numplanes,8,3               ## @hl_numplanes
	.comm	_HL_MAX_MAP_PLANES,4,2          ## @HL_MAX_MAP_PLANES
	.comm	_hl_dplanes,8,3                 ## @hl_dplanes
	.comm	_hl_numvertexes,8,3             ## @hl_numvertexes
	.comm	_HL_MAX_MAP_VERTS,4,2           ## @HL_MAX_MAP_VERTS
	.comm	_hl_dvertexes,8,3               ## @hl_dvertexes
	.comm	_hl_numnodes,8,3                ## @hl_numnodes
	.comm	_HL_MAX_MAP_NODES,4,2           ## @HL_MAX_MAP_NODES
	.comm	_hl_dnodes,8,3                  ## @hl_dnodes
	.comm	_hl_numtexinfo,8,3              ## @hl_numtexinfo
	.comm	_HL_MAX_MAP_TEXINFO,4,2         ## @HL_MAX_MAP_TEXINFO
	.comm	_hl_texinfo,8,3                 ## @hl_texinfo
	.comm	_hl_numfaces,8,3                ## @hl_numfaces
	.comm	_HL_MAX_MAP_FACES,4,2           ## @HL_MAX_MAP_FACES
	.comm	_hl_dfaces,8,3                  ## @hl_dfaces
	.comm	_hl_numclipnodes,8,3            ## @hl_numclipnodes
	.comm	_HL_MAX_MAP_CLIPNODES,4,2       ## @HL_MAX_MAP_CLIPNODES
	.comm	_hl_dclipnodes,8,3              ## @hl_dclipnodes
	.comm	_hl_numedges,8,3                ## @hl_numedges
	.comm	_HL_MAX_MAP_EDGES,4,2           ## @HL_MAX_MAP_EDGES
	.comm	_hl_dedges,8,3                  ## @hl_dedges
	.comm	_hl_nummarksurfaces,8,3         ## @hl_nummarksurfaces
	.comm	_HL_MAX_MAP_MARKSURFACES,4,2    ## @HL_MAX_MAP_MARKSURFACES
	.comm	_hl_dmarksurfaces,8,3           ## @hl_dmarksurfaces
	.comm	_hl_numsurfedges,8,3            ## @hl_numsurfedges
	.comm	_HL_MAX_MAP_SURFEDGES,4,2       ## @HL_MAX_MAP_SURFEDGES
	.comm	_hl_dsurfedges,8,3              ## @hl_dsurfedges
	.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	_HL_AllocMaxBSP                 ; -- Begin function HL_AllocMaxBSP
	.p2align	2
_HL_AllocMaxBSP:                        ; @HL_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, _hl_nummodels@GOTPAGE
Lloh1:
	ldr	x8, [x8, _hl_nummodels@GOTPAGEOFF]
Lloh2:
	str	xzr, [x8]
Lloh3:
	adrp	x19, _HL_MAX_MAP_MODELS@GOTPAGE
Lloh4:
	ldr	x19, [x19, _HL_MAX_MAP_MODELS@GOTPAGEOFF]
	ldr	w8, [x19]
	lsl	w0, w8, #2
	bl	_GetMemory
Lloh5:
	adrp	x8, _hl_dmodels@GOTPAGE
Lloh6:
	ldr	x8, [x8, _hl_dmodels@GOTPAGEOFF]
Lloh7:
	str	x0, [x8]
	ldr	w8, [x19]
	lsl	w8, w8, #2
Lloh8:
	adrp	x19, _hl_allocatedbspmem@GOTPAGE
Lloh9:
	ldr	x19, [x19, _hl_allocatedbspmem@GOTPAGEOFF]
Lloh10:
	adrp	x9, _hl_visdatasize@GOTPAGE
Lloh11:
	ldr	x9, [x9, _hl_visdatasize@GOTPAGEOFF]
	str	w8, [x19]
Lloh12:
	str	xzr, [x9]
Lloh13:
	adrp	x20, _HL_MAX_MAP_VISIBILITY@GOTPAGE
Lloh14:
	ldr	x20, [x20, _HL_MAX_MAP_VISIBILITY@GOTPAGEOFF]
	ldr	w8, [x20]
	lsl	w0, w8, #2
	bl	_GetMemory
Lloh15:
	adrp	x8, _hl_dvisdata@GOTPAGE
Lloh16:
	ldr	x8, [x8, _hl_dvisdata@GOTPAGEOFF]
Lloh17:
	str	x0, [x8]
	ldr	w8, [x20]
	ldr	w9, [x19]
	add	w8, w9, w8, lsl #2
Lloh18:
	adrp	x9, _hl_lightdatasize@GOTPAGE
Lloh19:
	ldr	x9, [x9, _hl_lightdatasize@GOTPAGEOFF]
	str	w8, [x19]
Lloh20:
	str	xzr, [x9]
Lloh21:
	adrp	x20, _HL_MAX_MAP_LIGHTING@GOTPAGE
Lloh22:
	ldr	x20, [x20, _HL_MAX_MAP_LIGHTING@GOTPAGEOFF]
	ldr	w8, [x20]
	lsl	w0, w8, #2
	bl	_GetMemory
Lloh23:
	adrp	x8, _hl_dlightdata@GOTPAGE
Lloh24:
	ldr	x8, [x8, _hl_dlightdata@GOTPAGEOFF]
Lloh25:
	str	x0, [x8]
	ldr	w8, [x20]
	ldr	w9, [x19]
	add	w8, w9, w8, lsl #2
Lloh26:
	adrp	x9, _hl_texdatasize@GOTPAGE
Lloh27:
	ldr	x9, [x9, _hl_texdatasize@GOTPAGEOFF]
	str	w8, [x19]
Lloh28:
	str	xzr, [x9]
Lloh29:
	adrp	x20, _HL_MAX_MAP_MIPTEX@GOTPAGE
Lloh30:
	ldr	x20, [x20, _HL_MAX_MAP_MIPTEX@GOTPAGEOFF]
	ldr	w8, [x20]
	lsl	w0, w8, #2
	bl	_GetMemory
Lloh31:
	adrp	x8, _hl_dtexdata@GOTPAGE
Lloh32:
	ldr	x8, [x8, _hl_dtexdata@GOTPAGEOFF]
Lloh33:
	str	x0, [x8]
	ldr	w8, [x20]
	ldr	w9, [x19]
	add	w8, w9, w8, lsl #2
	str	w8, [x19]
Lloh34:
	adrp	x8, _hl_entdatasize@GOTPAGE
Lloh35:
	ldr	x8, [x8, _hl_entdatasize@GOTPAGEOFF]
Lloh36:
	str	xzr, [x8]
Lloh37:
	adrp	x20, _HL_MAX_MAP_ENTSTRING@GOTPAGE
Lloh38:
	ldr	x20, [x20, _HL_MAX_MAP_ENTSTRING@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_GetMemory
Lloh39:
	adrp	x8, _hl_dentdata@GOTPAGE
Lloh40:
	ldr	x8, [x8, _hl_dentdata@GOTPAGEOFF]
Lloh41:
	str	x0, [x8]
	ldr	w8, [x20]
	ldr	w9, [x19]
	add	w8, w9, w8
Lloh42:
	adrp	x9, _hl_numleafs@GOTPAGE
Lloh43:
	ldr	x9, [x9, _hl_numleafs@GOTPAGEOFF]
	str	w8, [x19]
Lloh44:
	str	xzr, [x9]
Lloh45:
	adrp	x20, _HL_MAX_MAP_LEAFS@GOTPAGE
Lloh46:
	ldr	x20, [x20, _HL_MAX_MAP_LEAFS@GOTPAGEOFF]
	ldr	w8, [x20]
	lsl	w0, w8, #2
	bl	_GetMemory
Lloh47:
	adrp	x8, _hl_dleafs@GOTPAGE
Lloh48:
	ldr	x8, [x8, _hl_dleafs@GOTPAGEOFF]
Lloh49:
	str	x0, [x8]
	ldr	w8, [x20]
	ldr	w9, [x19]
	add	w8, w9, w8, lsl #2
Lloh50:
	adrp	x9, _hl_numplanes@GOTPAGE
Lloh51:
	ldr	x9, [x9, _hl_numplanes@GOTPAGEOFF]
	str	w8, [x19]
Lloh52:
	str	xzr, [x9]
Lloh53:
	adrp	x20, _HL_MAX_MAP_PLANES@GOTPAGE
Lloh54:
	ldr	x20, [x20, _HL_MAX_MAP_PLANES@GOTPAGEOFF]
	ldr	w8, [x20]
	lsl	w0, w8, #2
	bl	_GetMemory
Lloh55:
	adrp	x8, _hl_dplanes@GOTPAGE
Lloh56:
	ldr	x8, [x8, _hl_dplanes@GOTPAGEOFF]
Lloh57:
	str	x0, [x8]
	ldr	w8, [x20]
	ldr	w9, [x19]
	add	w8, w9, w8, lsl #2
Lloh58:
	adrp	x9, _hl_numvertexes@GOTPAGE
Lloh59:
	ldr	x9, [x9, _hl_numvertexes@GOTPAGEOFF]
	str	w8, [x19]
Lloh60:
	str	xzr, [x9]
Lloh61:
	adrp	x20, _HL_MAX_MAP_VERTS@GOTPAGE
Lloh62:
	ldr	x20, [x20, _HL_MAX_MAP_VERTS@GOTPAGEOFF]
	ldr	w8, [x20]
	lsl	w0, w8, #2
	bl	_GetMemory
Lloh63:
	adrp	x8, _hl_dvertexes@GOTPAGE
Lloh64:
	ldr	x8, [x8, _hl_dvertexes@GOTPAGEOFF]
Lloh65:
	str	x0, [x8]
	ldr	w8, [x20]
	ldr	w9, [x19]
	add	w8, w9, w8, lsl #2
Lloh66:
	adrp	x9, _hl_numnodes@GOTPAGE
Lloh67:
	ldr	x9, [x9, _hl_numnodes@GOTPAGEOFF]
	str	w8, [x19]
Lloh68:
	str	xzr, [x9]
Lloh69:
	adrp	x20, _HL_MAX_MAP_NODES@GOTPAGE
Lloh70:
	ldr	x20, [x20, _HL_MAX_MAP_NODES@GOTPAGEOFF]
	ldr	w8, [x20]
	lsl	w0, w8, #2
	bl	_GetMemory
Lloh71:
	adrp	x8, _hl_dnodes@GOTPAGE
Lloh72:
	ldr	x8, [x8, _hl_dnodes@GOTPAGEOFF]
Lloh73:
	str	x0, [x8]
	ldr	w8, [x20]
	ldr	w9, [x19]
	add	w8, w9, w8, lsl #2
Lloh74:
	adrp	x9, _hl_numtexinfo@GOTPAGE
Lloh75:
	ldr	x9, [x9, _hl_numtexinfo@GOTPAGEOFF]
	str	w8, [x19]
Lloh76:
	str	xzr, [x9]
Lloh77:
	adrp	x20, _HL_MAX_MAP_TEXINFO@GOTPAGE
Lloh78:
	ldr	x20, [x20, _HL_MAX_MAP_TEXINFO@GOTPAGEOFF]
	ldr	w8, [x20]
	lsl	w0, w8, #2
	bl	_GetMemory
Lloh79:
	adrp	x8, _hl_texinfo@GOTPAGE
Lloh80:
	ldr	x8, [x8, _hl_texinfo@GOTPAGEOFF]
Lloh81:
	str	x0, [x8]
	ldr	w8, [x20]
	ldr	w9, [x19]
	add	w8, w9, w8, lsl #2
Lloh82:
	adrp	x9, _hl_numfaces@GOTPAGE
Lloh83:
	ldr	x9, [x9, _hl_numfaces@GOTPAGEOFF]
	str	w8, [x19]
Lloh84:
	str	xzr, [x9]
Lloh85:
	adrp	x20, _HL_MAX_MAP_FACES@GOTPAGE
Lloh86:
	ldr	x20, [x20, _HL_MAX_MAP_FACES@GOTPAGEOFF]
	ldr	w8, [x20]
	lsl	w0, w8, #2
	bl	_GetMemory
Lloh87:
	adrp	x8, _hl_dfaces@GOTPAGE
Lloh88:
	ldr	x8, [x8, _hl_dfaces@GOTPAGEOFF]
Lloh89:
	str	x0, [x8]
	ldr	w8, [x20]
	ldr	w9, [x19]
	add	w8, w9, w8, lsl #2
Lloh90:
	adrp	x9, _hl_numclipnodes@GOTPAGE
Lloh91:
	ldr	x9, [x9, _hl_numclipnodes@GOTPAGEOFF]
	str	w8, [x19]
Lloh92:
	str	xzr, [x9]
Lloh93:
	adrp	x20, _HL_MAX_MAP_CLIPNODES@GOTPAGE
Lloh94:
	ldr	x20, [x20, _HL_MAX_MAP_CLIPNODES@GOTPAGEOFF]
	ldr	w8, [x20]
	lsl	w0, w8, #2
	bl	_GetMemory
Lloh95:
	adrp	x8, _hl_dclipnodes@GOTPAGE
Lloh96:
	ldr	x8, [x8, _hl_dclipnodes@GOTPAGEOFF]
Lloh97:
	str	x0, [x8]
	ldr	w8, [x20]
	ldr	w9, [x19]
	add	w8, w9, w8, lsl #2
Lloh98:
	adrp	x9, _hl_numedges@GOTPAGE
Lloh99:
	ldr	x9, [x9, _hl_numedges@GOTPAGEOFF]
	str	w8, [x19]
Lloh100:
	str	xzr, [x9]
Lloh101:
	adrp	x20, _HL_MAX_MAP_EDGES@GOTPAGE
Lloh102:
	ldr	x20, [x20, _HL_MAX_MAP_EDGES@GOTPAGEOFF]
	ldr	w8, [x20]
	lsl	w0, w8, #2
	bl	_GetMemory
Lloh103:
	adrp	x8, _hl_dedges@GOTPAGE
Lloh104:
	ldr	x8, [x8, _hl_dedges@GOTPAGEOFF]
Lloh105:
	str	x0, [x8]
	ldr	w8, [x20]
	ldr	w9, [x19]
	add	w8, w9, w8
Lloh106:
	adrp	x9, _hl_nummarksurfaces@GOTPAGE
Lloh107:
	ldr	x9, [x9, _hl_nummarksurfaces@GOTPAGEOFF]
	str	w8, [x19]
Lloh108:
	str	xzr, [x9]
Lloh109:
	adrp	x20, _HL_MAX_MAP_MARKSURFACES@GOTPAGE
Lloh110:
	ldr	x20, [x20, _HL_MAX_MAP_MARKSURFACES@GOTPAGEOFF]
	ldr	w8, [x20]
	lsl	w0, w8, #1
	bl	_GetMemory
Lloh111:
	adrp	x8, _hl_dmarksurfaces@GOTPAGE
Lloh112:
	ldr	x8, [x8, _hl_dmarksurfaces@GOTPAGEOFF]
Lloh113:
	str	x0, [x8]
	ldr	w8, [x20]
	ldr	w9, [x19]
	add	w8, w9, w8, lsl #1
Lloh114:
	adrp	x9, _hl_numsurfedges@GOTPAGE
Lloh115:
	ldr	x9, [x9, _hl_numsurfedges@GOTPAGEOFF]
	str	w8, [x19]
Lloh116:
	str	xzr, [x9]
Lloh117:
	adrp	x20, _HL_MAX_MAP_SURFEDGES@GOTPAGE
Lloh118:
	ldr	x20, [x20, _HL_MAX_MAP_SURFEDGES@GOTPAGEOFF]
	ldr	w8, [x20]
	lsl	w0, w8, #2
	bl	_GetMemory
Lloh119:
	adrp	x8, _hl_dsurfedges@GOTPAGE
Lloh120:
	ldr	x8, [x8, _hl_dsurfedges@GOTPAGEOFF]
Lloh121:
	str	x0, [x8]
	ldr	w8, [x20]
	ldr	w9, [x19]
	add	w8, w9, w8, lsl #2
	str	w8, [x19]
Lloh122:
	adrp	x0, l_.str@PAGE
Lloh123:
	add	x0, x0, l_.str@PAGEOFF
	bl	_Log_Print
	ldr	w0, [x19]
	bl	_PrintMemorySize
Lloh124:
	adrp	x0, l_.str.1@PAGE
Lloh125:
	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	Lloh124, Lloh125
	.loh AdrpAdd	Lloh122, Lloh123
	.loh AdrpLdrGotStr	Lloh119, Lloh120, Lloh121
	.loh AdrpLdrGot	Lloh117, Lloh118
	.loh AdrpLdrGotStr	Lloh114, Lloh115, Lloh116
	.loh AdrpLdrGotStr	Lloh111, Lloh112, Lloh113
	.loh AdrpLdrGot	Lloh109, Lloh110
	.loh AdrpLdrGotStr	Lloh106, Lloh107, Lloh108
	.loh AdrpLdrGotStr	Lloh103, Lloh104, Lloh105
	.loh AdrpLdrGot	Lloh101, Lloh102
	.loh AdrpLdrGotStr	Lloh98, Lloh99, Lloh100
	.loh AdrpLdrGotStr	Lloh95, Lloh96, Lloh97
	.loh AdrpLdrGot	Lloh93, Lloh94
	.loh AdrpLdrGotStr	Lloh90, Lloh91, Lloh92
	.loh AdrpLdrGotStr	Lloh87, Lloh88, Lloh89
	.loh AdrpLdrGot	Lloh85, Lloh86
	.loh AdrpLdrGotStr	Lloh82, Lloh83, Lloh84
	.loh AdrpLdrGotStr	Lloh79, Lloh80, Lloh81
	.loh AdrpLdrGot	Lloh77, Lloh78
	.loh AdrpLdrGotStr	Lloh74, Lloh75, Lloh76
	.loh AdrpLdrGotStr	Lloh71, Lloh72, Lloh73
	.loh AdrpLdrGot	Lloh69, Lloh70
	.loh AdrpLdrGotStr	Lloh66, Lloh67, Lloh68
	.loh AdrpLdrGotStr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGot	Lloh61, Lloh62
	.loh AdrpLdrGotStr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGotStr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGot	Lloh53, Lloh54
	.loh AdrpLdrGotStr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotStr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGot	Lloh45, Lloh46
	.loh AdrpLdrGotStr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotStr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpLdrGotStr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotStr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGotStr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotStr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh21, Lloh22
	.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	_hl_nummodels,8,3               ; @hl_nummodels
	.comm	_HL_MAX_MAP_MODELS,4,2          ; @HL_MAX_MAP_MODELS
	.comm	_hl_dmodels,8,3                 ; @hl_dmodels
	.comm	_hl_allocatedbspmem,4,2         ; @hl_allocatedbspmem
	.comm	_hl_visdatasize,8,3             ; @hl_visdatasize
	.comm	_HL_MAX_MAP_VISIBILITY,4,2      ; @HL_MAX_MAP_VISIBILITY
	.comm	_hl_dvisdata,8,3                ; @hl_dvisdata
	.comm	_hl_lightdatasize,8,3           ; @hl_lightdatasize
	.comm	_HL_MAX_MAP_LIGHTING,4,2        ; @HL_MAX_MAP_LIGHTING
	.comm	_hl_dlightdata,8,3              ; @hl_dlightdata
	.comm	_hl_texdatasize,8,3             ; @hl_texdatasize
	.comm	_HL_MAX_MAP_MIPTEX,4,2          ; @HL_MAX_MAP_MIPTEX
	.comm	_hl_dtexdata,8,3                ; @hl_dtexdata
	.comm	_hl_entdatasize,8,3             ; @hl_entdatasize
	.comm	_HL_MAX_MAP_ENTSTRING,4,2       ; @HL_MAX_MAP_ENTSTRING
	.comm	_hl_dentdata,8,3                ; @hl_dentdata
	.comm	_hl_numleafs,8,3                ; @hl_numleafs
	.comm	_HL_MAX_MAP_LEAFS,4,2           ; @HL_MAX_MAP_LEAFS
	.comm	_hl_dleafs,8,3                  ; @hl_dleafs
	.comm	_hl_numplanes,8,3               ; @hl_numplanes
	.comm	_HL_MAX_MAP_PLANES,4,2          ; @HL_MAX_MAP_PLANES
	.comm	_hl_dplanes,8,3                 ; @hl_dplanes
	.comm	_hl_numvertexes,8,3             ; @hl_numvertexes
	.comm	_HL_MAX_MAP_VERTS,4,2           ; @HL_MAX_MAP_VERTS
	.comm	_hl_dvertexes,8,3               ; @hl_dvertexes
	.comm	_hl_numnodes,8,3                ; @hl_numnodes
	.comm	_HL_MAX_MAP_NODES,4,2           ; @HL_MAX_MAP_NODES
	.comm	_hl_dnodes,8,3                  ; @hl_dnodes
	.comm	_hl_numtexinfo,8,3              ; @hl_numtexinfo
	.comm	_HL_MAX_MAP_TEXINFO,4,2         ; @HL_MAX_MAP_TEXINFO
	.comm	_hl_texinfo,8,3                 ; @hl_texinfo
	.comm	_hl_numfaces,8,3                ; @hl_numfaces
	.comm	_HL_MAX_MAP_FACES,4,2           ; @HL_MAX_MAP_FACES
	.comm	_hl_dfaces,8,3                  ; @hl_dfaces
	.comm	_hl_numclipnodes,8,3            ; @hl_numclipnodes
	.comm	_HL_MAX_MAP_CLIPNODES,4,2       ; @HL_MAX_MAP_CLIPNODES
	.comm	_hl_dclipnodes,8,3              ; @hl_dclipnodes
	.comm	_hl_numedges,8,3                ; @hl_numedges
	.comm	_HL_MAX_MAP_EDGES,4,2           ; @HL_MAX_MAP_EDGES
	.comm	_hl_dedges,8,3                  ; @hl_dedges
	.comm	_hl_nummarksurfaces,8,3         ; @hl_nummarksurfaces
	.comm	_HL_MAX_MAP_MARKSURFACES,4,2    ; @HL_MAX_MAP_MARKSURFACES
	.comm	_hl_dmarksurfaces,8,3           ; @hl_dmarksurfaces
	.comm	_hl_numsurfedges,8,3            ; @hl_numsurfedges
	.comm	_HL_MAX_MAP_SURFEDGES,4,2       ; @HL_MAX_MAP_SURFEDGES
	.comm	_hl_dsurfedges,8,3              ; @hl_dsurfedges
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"allocated "

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

.subsections_via_symbols
