	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AAS_BestReachableArea          ## -- Begin function AAS_BestReachableArea
	.p2align	4, 0x90
_AAS_BestReachableArea:                 ## @AAS_BestReachableArea
	.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	_aasworld@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_1
## %bb.4:
	movq	_botimport@GOTPCREL(%rip), %rax
	movq	_PRT_ERROR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	leaq	L_.str(%rip), %rsi
	callq	*(%rax)
LBB0_3:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_1:
	movq	%rdi, %rbx
	callq	_VectorCopy
	callq	_AAS_PointAreaNum
	testl	%eax, %eax
	je	LBB0_5
## %bb.2:
	callq	_AAS_BestReachableArea.cold.1
	jmp	LBB0_3
LBB0_5:
	movq	%rbx, %rdi
	callq	_VectorCopy
	ud2
	.cfi_endproc
                                        ## -- End function
	.p2align	4, 0x90                         ## -- Begin function AAS_BestReachableArea.cold.1
_AAS_BestReachableArea.cold.1:          ## @AAS_BestReachableArea.cold.1
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	callq	_VectorCopy
	ud2
	.cfi_endproc
                                        ## -- End function
	.comm	_aasworld,4,2                   ## @aasworld
	.comm	_botimport,8,3                  ## @botimport
	.comm	_PRT_ERROR,4,2                  ## @PRT_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"AAS_BestReachableArea: aas not loaded\n"

	.comm	_PRESENCE_CROUCH,4,2            ## @PRESENCE_CROUCH
	.comm	_LINECOLOR_RED,4,2              ## @LINECOLOR_RED
	.comm	_PRT_MESSAGE,4,2                ## @PRT_MESSAGE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AAS_BestReachableArea          ; -- Begin function AAS_BestReachableArea
	.p2align	2
_AAS_BestReachableArea:                 ; @AAS_BestReachableArea
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.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
Lloh0:
	adrp	x8, _aasworld@GOTPAGE
Lloh1:
	ldr	x8, [x8, _aasworld@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cbnz	w8, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _botimport@GOTPAGE
Lloh4:
	ldr	x8, [x8, _botimport@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
Lloh6:
	adrp	x9, _PRT_ERROR@GOTPAGE
Lloh7:
	ldr	x9, [x9, _PRT_ERROR@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x9]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	blr	x8
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
LBB0_2:
	str	x0, [sp, #8]                    ; 8-byte Folded Spill
	bl	_VectorCopy
	bl	_AAS_PointAreaNum
	cbz	w0, LBB0_4
; %bb.3:
	bl	_AAS_BestReachableArea.cold.1
LBB0_4:
	ldr	x0, [sp, #8]                    ; 8-byte Folded Reload
	bl	_VectorCopy
	brk	#0x1
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.p2align	2                               ; -- Begin function AAS_BestReachableArea.cold.1
_AAS_BestReachableArea.cold.1:          ; @AAS_BestReachableArea.cold.1
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	bl	_VectorCopy
	brk	#0x1
	.cfi_endproc
                                        ; -- End function
	.comm	_aasworld,4,2                   ; @aasworld
	.comm	_botimport,8,3                  ; @botimport
	.comm	_PRT_ERROR,4,2                  ; @PRT_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"AAS_BestReachableArea: aas not loaded\n"

	.comm	_PRESENCE_CROUCH,4,2            ; @PRESENCE_CROUCH
	.comm	_LINECOLOR_RED,4,2              ; @LINECOLOR_RED
	.comm	_PRT_MESSAGE,4,2                ; @PRT_MESSAGE
.subsections_via_symbols
