	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AAS_LoadBSPFile                ## -- Begin function AAS_LoadBSPFile
	.p2align	4, 0x90
_AAS_LoadBSPFile:                       ## @AAS_LoadBSPFile
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%eax, %eax
	callq	_AAS_DumpBSPData
	movq	_botimport@GOTPCREL(%rip), %r14
	xorl	%eax, %eax
	callq	*(%r14)
	movl	%eax, %edi
	callq	_strlen
	leaq	1(%rax), %rdi
	movq	_bspworld@GOTPCREL(%rip), %r15
	movq	%rdi, 16(%r15)
	callq	_GetClearedHunkMemory
	movq	%rax, %rbx
	movq	%rax, (%r15)
	xorl	%eax, %eax
	callq	*(%r14)
	movq	16(%r15), %rdx
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_Com_Memcpy
	xorl	%eax, %eax
	callq	_AAS_ParseBSPEntities
	movq	_qtrue@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%r15)
	movq	_BLERR_NOERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_botimport,8,3                  ## @botimport
	.comm	_bspworld,24,3                  ## @bspworld
	.comm	_qtrue,4,2                      ## @qtrue
	.comm	_BLERR_NOERROR,4,2              ## @BLERR_NOERROR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AAS_LoadBSPFile                ; -- Begin function AAS_LoadBSPFile
	.p2align	2
_AAS_LoadBSPFile:                       ; @AAS_LoadBSPFile
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	bl	_AAS_DumpBSPData
Lloh0:
	adrp	x20, _botimport@GOTPAGE
Lloh1:
	ldr	x20, [x20, _botimport@GOTPAGEOFF]
	ldr	x8, [x20]
	blr	x8
	bl	_strlen
	add	x0, x0, #1
Lloh2:
	adrp	x21, _bspworld@GOTPAGE
Lloh3:
	ldr	x21, [x21, _bspworld@GOTPAGEOFF]
	str	x0, [x21, #16]
	bl	_GetClearedHunkMemory
	mov	x19, x0
	str	x0, [x21]
	ldr	x8, [x20]
	blr	x8
	mov	x1, x0
	ldr	x2, [x21, #16]
	mov	x0, x19
	bl	_Com_Memcpy
	bl	_AAS_ParseBSPEntities
Lloh4:
	adrp	x8, _qtrue@GOTPAGE
Lloh5:
	ldr	x8, [x8, _qtrue@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	str	w8, [x21, #8]
Lloh7:
	adrp	x8, _BLERR_NOERROR@GOTPAGE
Lloh8:
	ldr	x8, [x8, _BLERR_NOERROR@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_botimport,8,3                  ; @botimport
	.comm	_bspworld,24,3                  ; @bspworld
	.comm	_qtrue,4,2                      ; @qtrue
	.comm	_BLERR_NOERROR,4,2              ; @BLERR_NOERROR
.subsections_via_symbols
