	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AAS_InitReachability           ## -- Begin function AAS_InitReachability
	.p2align	4, 0x90
_AAS_InitReachability:                  ## @AAS_InitReachability
	.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), %rbx
	cmpl	$0, 24(%rbx)
	je	LBB0_4
## %bb.1:
	cmpq	$0, 16(%rbx)
	je	LBB0_5
## %bb.2:
	leaq	L_.str(%rip), %rdi
	callq	_LibVarGetValue
	testl	%eax, %eax
	je	LBB0_3
LBB0_5:
	leaq	L_.str.1(%rip), %rdi
	callq	_LibVarGetValue
	movq	_calcgrapplereach@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	_qtrue@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	movl	$1, (%rbx)
	xorl	%eax, %eax
	callq	_AAS_SetupReachabilityHeap
	movl	4(%rbx), %edi
	shll	$3, %edi
	callq	_GetClearedMemory
	movq	_areareachability@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_AAS_SetWeaponJumpAreaFlags     ## TAILCALL
LBB0_3:
	movl	4(%rbx), %eax
	addl	$2, %eax
	movl	%eax, (%rbx)
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_aasworld,32,3                  ## @aasworld
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"forcereachability"

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

	.comm	_calcgrapplereach,8,3           ## @calcgrapplereach
	.comm	_qtrue,4,2                      ## @qtrue
	.comm	_areareachability,8,3           ## @areareachability
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AAS_InitReachability           ; -- Begin function AAS_InitReachability
	.p2align	2
_AAS_InitReachability:                  ; @AAS_InitReachability
	.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	x19, _aasworld@GOTPAGE
Lloh1:
	ldr	x19, [x19, _aasworld@GOTPAGEOFF]
	ldr	w8, [x19, #24]
	cbz	w8, LBB0_5
; %bb.1:
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_3
; %bb.2:
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	bl	_LibVarGetValue
	cbz	w0, LBB0_4
LBB0_3:
Lloh4:
	adrp	x0, l_.str.1@PAGE
Lloh5:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_LibVarGetValue
Lloh6:
	adrp	x8, _calcgrapplereach@GOTPAGE
Lloh7:
	ldr	x8, [x8, _calcgrapplereach@GOTPAGEOFF]
Lloh8:
	str	x0, [x8]
Lloh9:
	adrp	x8, _qtrue@GOTPAGE
Lloh10:
	ldr	x8, [x8, _qtrue@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	str	w8, [x19, #8]
	mov	w8, #1
	str	w8, [x19]
	bl	_AAS_SetupReachabilityHeap
	ldr	w8, [x19, #4]
	lsl	w0, w8, #3
	bl	_GetClearedMemory
Lloh12:
	adrp	x8, _areareachability@GOTPAGE
Lloh13:
	ldr	x8, [x8, _areareachability@GOTPAGEOFF]
Lloh14:
	str	x0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_AAS_SetWeaponJumpAreaFlags
LBB0_4:
	ldr	w8, [x19, #4]
	add	w8, w8, #2
	str	w8, [x19]
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotStr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotStr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_aasworld,32,3                  ; @aasworld
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"forcereachability"

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

	.comm	_calcgrapplereach,8,3           ; @calcgrapplereach
	.comm	_qtrue,4,2                      ; @qtrue
	.comm	_areareachability,8,3           ; @areareachability
.subsections_via_symbols
