	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AAS_Setup                      ## -- Begin function AAS_Setup
	.p2align	4, 0x90
_AAS_Setup:                             ## @AAS_Setup
	.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
	leaq	L_.str(%rip), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_LibVarValue
	movq	_aasworld@GOTPCREL(%rip), %rbx
	movl	%eax, (%rbx)
	leaq	L_.str.2(%rip), %rdi
	leaq	L_.str.3(%rip), %rsi
	callq	_LibVarValue
	movl	%eax, 4(%rbx)
	leaq	L_.str.4(%rip), %rdi
	leaq	L_.str.5(%rip), %rsi
	callq	_LibVar
	movq	_saveroutingcache@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	16(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	callq	_FreeMemory
LBB0_2:
	movl	4(%rbx), %edi
	shll	$2, %edi
	callq	_GetClearedHunkMemory
	movq	%rax, 16(%rbx)
	xorl	%eax, %eax
	callq	_AAS_InvalidateEntities
	movq	$0, 8(%rbx)
	movq	_BLERR_NOERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"maxclients"

L_.str.1:                               ## @.str.1
	.asciz	"128"

	.comm	_aasworld,24,3                  ## @aasworld
L_.str.2:                               ## @.str.2
	.asciz	"maxentities"

L_.str.3:                               ## @.str.3
	.asciz	"1024"

L_.str.4:                               ## @.str.4
	.asciz	"saveroutingcache"

L_.str.5:                               ## @.str.5
	.asciz	"0"

	.comm	_saveroutingcache,4,2           ## @saveroutingcache
	.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_Setup                      ; -- Begin function AAS_Setup
	.p2align	2
_AAS_Setup:                             ; @AAS_Setup
	.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	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_LibVarValue
Lloh4:
	adrp	x19, _aasworld@GOTPAGE
Lloh5:
	ldr	x19, [x19, _aasworld@GOTPAGEOFF]
	str	w0, [x19]
Lloh6:
	adrp	x0, l_.str.2@PAGE
Lloh7:
	add	x0, x0, l_.str.2@PAGEOFF
Lloh8:
	adrp	x1, l_.str.3@PAGE
Lloh9:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_LibVarValue
	str	w0, [x19, #4]
Lloh10:
	adrp	x0, l_.str.4@PAGE
Lloh11:
	add	x0, x0, l_.str.4@PAGEOFF
Lloh12:
	adrp	x1, l_.str.5@PAGE
Lloh13:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_LibVar
Lloh14:
	adrp	x8, _saveroutingcache@GOTPAGE
Lloh15:
	ldr	x8, [x8, _saveroutingcache@GOTPAGEOFF]
Lloh16:
	str	w0, [x8]
	ldr	x0, [x19, #16]
	cbz	x0, LBB0_2
; %bb.1:
	bl	_FreeMemory
LBB0_2:
	ldr	w8, [x19, #4]
	lsl	w0, w8, #2
	bl	_GetClearedHunkMemory
	str	x0, [x19, #16]
	bl	_AAS_InvalidateEntities
	str	xzr, [x19, #8]
Lloh17:
	adrp	x8, _BLERR_NOERROR@GOTPAGE
Lloh18:
	ldr	x8, [x8, _BLERR_NOERROR@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotStr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"maxclients"

l_.str.1:                               ; @.str.1
	.asciz	"128"

	.comm	_aasworld,24,3                  ; @aasworld
l_.str.2:                               ; @.str.2
	.asciz	"maxentities"

l_.str.3:                               ; @.str.3
	.asciz	"1024"

l_.str.4:                               ; @.str.4
	.asciz	"saveroutingcache"

l_.str.5:                               ; @.str.5
	.asciz	"0"

	.comm	_saveroutingcache,4,2           ; @saveroutingcache
	.comm	_BLERR_NOERROR,4,2              ; @BLERR_NOERROR
.subsections_via_symbols
