	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BotReachabilityArea            ## -- Begin function BotReachabilityArea
	.p2align	4, 0x90
_BotReachabilityArea:                   ## @BotReachabilityArea
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	%rdi, %r14
	movq	_PRESENCE_CROUCH@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_AAS_PresenceTypeBoundingBox
	movq	%r14, %rdi
	movl	$-3, %esi
	xorl	%edx, %edx
	callq	_VectorMA
	movq	_CONTENTS_SOLID@GOTPCREL(%rip), %rax
	movq	_CONTENTS_PLAYERCLIP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movl	%ecx, (%rsp)
	leaq	-48(%rbp), %rdi
	movq	%r14, %rsi
	movl	%ebx, %r9d
	callq	_AAS_Trace
	cmpl	$0, -32(%rbp)
	jne	LBB0_12
## %bb.1:
	cmpl	$0, -48(%rbp)
	jg	LBB0_12
## %bb.2:
	movq	-40(%rbp), %rdi
	movq	_ENTITYNUM_NONE@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdi
	je	LBB0_12
## %bb.3:
	movq	_ENTITYNUM_WORLD@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdi
	jne	LBB0_4
LBB0_12:
	movq	%r14, %rdi
	callq	_BotFuzzyPointReachabilityArea
	movl	%eax, %ebx
LBB0_13:
	movl	%ebx, %eax
LBB0_14:
	addq	$40, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	callq	_AAS_EntityModelindex
	movq	_modeltypes@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movslq	%eax, %rdx
	movl	(%rcx,%rdx,4), %ecx
	movq	_MODELTYPE_FUNC_PLAT@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	je	LBB0_6
## %bb.5:
	movq	_MODELTYPE_FUNC_BOB@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	jne	LBB0_8
LBB0_6:
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_AAS_NextModelReachability
	testl	%eax, %eax
	je	LBB0_8
## %bb.7:
	leaq	-48(%rbp), %rsi
	movl	%eax, %edi
	callq	_AAS_ReachabilityFromNum
	movl	-48(%rbp), %ebx
	jmp	LBB0_13
LBB0_8:
	movq	%r14, %rdi
	callq	_AAS_Swimming
	movq	%rax, %r15
	movq	%r14, %rdi
	callq	_BotFuzzyPointReachabilityArea
	movl	%eax, %ebx
	testq	%r15, %r15
	jne	LBB0_13
## %bb.9:
	testl	%ebx, %ebx
	je	LBB0_11
## %bb.10:
	movl	%ebx, %edi
	callq	_AAS_AreaReachability
	testq	%rax, %rax
	jne	LBB0_13
LBB0_11:
	movq	%r14, %rdi
	callq	_BotReachabilityArea.cold.1
	xorl	%eax, %eax
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.p2align	4, 0x90                         ## -- Begin function BotReachabilityArea.cold.1
_BotReachabilityArea.cold.1:            ## @BotReachabilityArea.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
	callq	_VectorCopy
	ud2
	.cfi_endproc
                                        ## -- End function
	.comm	_PRESENCE_CROUCH,4,2            ## @PRESENCE_CROUCH
	.comm	_CONTENTS_SOLID,4,2             ## @CONTENTS_SOLID
	.comm	_CONTENTS_PLAYERCLIP,4,2        ## @CONTENTS_PLAYERCLIP
	.comm	_ENTITYNUM_NONE,8,3             ## @ENTITYNUM_NONE
	.comm	_ENTITYNUM_WORLD,8,3            ## @ENTITYNUM_WORLD
	.comm	_modeltypes,8,3                 ## @modeltypes
	.comm	_MODELTYPE_FUNC_PLAT,4,2        ## @MODELTYPE_FUNC_PLAT
	.comm	_MODELTYPE_FUNC_BOB,4,2         ## @MODELTYPE_FUNC_BOB
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BotReachabilityArea            ; -- Begin function BotReachabilityArea
	.p2align	2
_BotReachabilityArea:                   ; @BotReachabilityArea
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _PRESENCE_CROUCH@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PRESENCE_CROUCH@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_AAS_PresenceTypeBoundingBox
	mov	x0, x19
	mov	w1, #-3
	mov	x2, #0
	bl	_VectorMA
Lloh3:
	adrp	x8, _CONTENTS_SOLID@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CONTENTS_SOLID@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _CONTENTS_PLAYERCLIP@GOTPAGE
Lloh7:
	ldr	x9, [x9, _CONTENTS_PLAYERCLIP@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w5, w9, w8
	add	x8, sp, #8
	mov	x0, x19
	mov	x4, x20
	bl	_AAS_Trace
	ldr	w8, [sp, #24]
	cbnz	w8, LBB0_4
; %bb.1:
	ldr	w8, [sp, #8]
	cmp	w8, #0
	b.gt	LBB0_4
; %bb.2:
	ldr	x0, [sp, #16]
Lloh9:
	adrp	x8, _ENTITYNUM_NONE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ENTITYNUM_NONE@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_4
; %bb.3:
Lloh12:
	adrp	x8, _ENTITYNUM_WORLD@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ENTITYNUM_WORLD@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_6
LBB0_4:
	mov	x0, x19
	bl	_BotFuzzyPointReachabilityArea
	mov	x20, x0
LBB0_5:
	mov	x0, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_6:
	bl	_AAS_EntityModelindex
Lloh15:
	adrp	x8, _modeltypes@GOTPAGE
Lloh16:
	ldr	x8, [x8, _modeltypes@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
	ldr	w8, [x8, w0, sxtw #2]
Lloh18:
	adrp	x9, _MODELTYPE_FUNC_PLAT@GOTPAGE
Lloh19:
	ldr	x9, [x9, _MODELTYPE_FUNC_PLAT@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
Lloh21:
	adrp	x10, _MODELTYPE_FUNC_BOB@GOTPAGE
Lloh22:
	ldr	x10, [x10, _MODELTYPE_FUNC_BOB@GOTPAGEOFF]
Lloh23:
	ldr	w10, [x10]
	cmp	w8, w9
	ccmp	w8, w10, #4, ne
	b.ne	LBB0_9
; %bb.7:
	mov	x1, x0
	mov	w0, #0
	bl	_AAS_NextModelReachability
	cbz	w0, LBB0_9
; %bb.8:
	add	x1, sp, #8
	bl	_AAS_ReachabilityFromNum
	ldr	w20, [sp, #8]
	b	LBB0_5
LBB0_9:
	mov	x0, x19
	bl	_AAS_Swimming
	mov	x21, x0
	mov	x0, x19
	bl	_BotFuzzyPointReachabilityArea
	mov	x20, x0
	cbnz	x21, LBB0_5
; %bb.10:
	cbz	w20, LBB0_12
; %bb.11:
	mov	x0, x20
	bl	_AAS_AreaReachability
	cbnz	x0, LBB0_5
LBB0_12:
	mov	x0, x19
	bl	_BotReachabilityArea.cold.1
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.p2align	2                               ; -- Begin function BotReachabilityArea.cold.1
_BotReachabilityArea.cold.1:            ; @BotReachabilityArea.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
	bl	_VectorCopy
	brk	#0x1
	.cfi_endproc
                                        ; -- End function
	.comm	_PRESENCE_CROUCH,4,2            ; @PRESENCE_CROUCH
	.comm	_CONTENTS_SOLID,4,2             ; @CONTENTS_SOLID
	.comm	_CONTENTS_PLAYERCLIP,4,2        ; @CONTENTS_PLAYERCLIP
	.comm	_ENTITYNUM_NONE,8,3             ; @ENTITYNUM_NONE
	.comm	_ENTITYNUM_WORLD,8,3            ; @ENTITYNUM_WORLD
	.comm	_modeltypes,8,3                 ; @modeltypes
	.comm	_MODELTYPE_FUNC_PLAT,4,2        ; @MODELTYPE_FUNC_PLAT
	.comm	_MODELTYPE_FUNC_BOB,4,2         ; @MODELTYPE_FUNC_BOB
.subsections_via_symbols
