	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BotCheckSnapshot               ## -- Begin function BotCheckSnapshot
	.p2align	4, 0x90
_BotCheckSnapshot:                      ## @BotCheckSnapshot
	.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
	movq	%rdi, %r14
	movl	32(%rdi), %edi
	movq	_vec3_origin@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_AVOID_CLEAR@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%edx, %edx
	callq	_trap_BotAddAvoidSpot
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%r14)
	movl	8(%r14), %edi
	leaq	-32(%rbp), %rdx
	xorl	%esi, %esi
	callq	_BotAI_GetSnapshotEntity
	cmpl	$-1, %eax
	je	LBB0_3
## %bb.1:
	movl	%eax, %ebx
	leaq	-32(%rbp), %r15
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_BotCheckEvents
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_BotCheckForGrenades
	movl	8(%r14), %edi
	movl	%ebx, %esi
	movq	%r15, %rdx
	callq	_BotAI_GetSnapshotEntity
	movl	%eax, %ebx
	cmpl	$-1, %eax
	jne	LBB0_2
LBB0_3:
	movl	8(%r14), %edi
	leaq	-32(%rbp), %rbx
	movq	%rbx, %rsi
	callq	_BotAI_GetEntityState
	movl	4(%r14), %eax
	movl	%eax, -28(%rbp)
	movl	(%r14), %eax
	movl	%eax, -32(%rbp)
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_BotCheckEvents
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_vec3_origin,4,2                ## @vec3_origin
	.comm	_AVOID_CLEAR,4,2                ## @AVOID_CLEAR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BotCheckSnapshot               ; -- Begin function BotCheckSnapshot
	.p2align	2
_BotCheckSnapshot:                      ; @BotCheckSnapshot
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
	ldr	w0, [x0, #32]
Lloh0:
	adrp	x8, _vec3_origin@GOTPAGE
Lloh1:
	ldr	x8, [x8, _vec3_origin@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _AVOID_CLEAR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AVOID_CLEAR@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
	mov	w2, #0
	bl	_trap_BotAddAvoidSpot
	stp	xzr, xzr, [x19, #16]
	ldr	w0, [x19, #8]
	add	x2, sp, #8
	mov	w1, #0
	bl	_BotAI_GetSnapshotEntity
	cmn	w0, #1
	b.eq	LBB0_3
; %bb.1:
	mov	x20, x0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	x1, sp, #8
	mov	x0, x19
	bl	_BotCheckEvents
	add	x1, sp, #8
	mov	x0, x19
	bl	_BotCheckForGrenades
	ldr	w0, [x19, #8]
	add	x2, sp, #8
	mov	x1, x20
	bl	_BotAI_GetSnapshotEntity
	mov	x20, x0
	cmn	w0, #1
	b.ne	LBB0_2
LBB0_3:
	ldr	w0, [x19, #8]
	add	x1, sp, #8
	bl	_BotAI_GetEntityState
	ldr	d0, [x19]
	str	d0, [sp, #8]
	add	x1, sp, #8
	mov	x0, x19
	bl	_BotCheckEvents
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_vec3_origin,4,2                ; @vec3_origin
	.comm	_AVOID_CLEAR,4,2                ; @AVOID_CLEAR
.subsections_via_symbols
