	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BotAI_GetEntityState           ## -- Begin function BotAI_GetEntityState
	.p2align	4, 0x90
_BotAI_GetEntityState:                  ## @BotAI_GetEntityState
	.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	%rsi, %r14
	movq	_g_entities@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	movslq	%edi, %rbx
	movq	%rsi, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	shlq	$4, %rbx
	movq	_qfalse@GOTPCREL(%rip), %rax
	cmpl	$0, 12(%r15,%rbx)
	je	LBB0_4
## %bb.1:
	cmpl	$0, 8(%r15,%rbx)
	je	LBB0_4
## %bb.2:
	movq	_SVF_NOCLIENT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, 4(%r15,%rbx)
	jne	LBB0_4
## %bb.3:
	addq	%rbx, %r15
	movq	%r14, %rdi
	movq	%r15, %rsi
	movl	$4, %edx
	callq	_memcpy
	movq	_qtrue@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_g_entities,8,3                 ## @g_entities
	.comm	_qfalse,4,2                     ## @qfalse
	.comm	_SVF_NOCLIENT,4,2               ## @SVF_NOCLIENT
	.comm	_qtrue,4,2                      ## @qtrue
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BotAI_GetEntityState           ; -- Begin function BotAI_GetEntityState
	.p2align	2
_BotAI_GetEntityState:                  ; @BotAI_GetEntityState
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _g_entities@GOTPAGE
Lloh1:
	ldr	x8, [x8, _g_entities@GOTPAGEOFF]
Lloh2:
	ldr	x21, [x8]
	mov	x0, x1
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	add	x8, x21, w20, sxtw #4
	ldr	w8, [x8, #12]
	cbz	w8, LBB0_3
; %bb.1:
	sxtw	x8, w20
	add	x9, x21, x8, lsl #4
	ldr	w10, [x9, #8]
	cbz	w10, LBB0_3
; %bb.2:
	ldr	w9, [x9, #4]
Lloh3:
	adrp	x10, _SVF_NOCLIENT@GOTPAGE
Lloh4:
	ldr	x10, [x10, _SVF_NOCLIENT@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_5
LBB0_3:
Lloh6:
	adrp	x8, _qfalse@GOTPAGE
Lloh7:
	ldr	x8, [x8, _qfalse@GOTPAGEOFF]
LBB0_4:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_5:
	add	x1, x21, x8, lsl #4
	mov	x0, x19
	mov	w2, #4
	bl	_memcpy
Lloh8:
	adrp	x8, _qtrue@GOTPAGE
Lloh9:
	ldr	x8, [x8, _qtrue@GOTPAGEOFF]
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_g_entities,8,3                 ; @g_entities
	.comm	_qfalse,4,2                     ; @qfalse
	.comm	_SVF_NOCLIENT,4,2               ; @SVF_NOCLIENT
	.comm	_qtrue,4,2                      ; @qtrue
.subsections_via_symbols
