	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BotAI_GetClientState           ## -- Begin function BotAI_GetClientState
	.p2align	4, 0x90
_BotAI_GetClientState:                  ## @BotAI_GetClientState
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_g_entities@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%edi, %rdx
	shlq	$4, %rdx
	movq	_qfalse@GOTPCREL(%rip), %rcx
	cmpl	$0, 8(%rax,%rdx)
	je	LBB0_3
## %bb.1:
	movq	(%rax,%rdx), %rax
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	%rsi, %rdi
	movq	%rax, %rsi
	movl	$4, %edx
	callq	_memcpy
	movq	_qtrue@GOTPCREL(%rip), %rcx
LBB0_3:
	movl	(%rcx), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_g_entities,8,3                 ## @g_entities
	.comm	_qfalse,4,2                     ## @qfalse
	.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_GetClientState           ; -- Begin function BotAI_GetClientState
	.p2align	2
_BotAI_GetClientState:                  ; @BotAI_GetClientState
	.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
                                        ; kill: def $w0 killed $w0 def $x0
Lloh0:
	adrp	x8, _g_entities@GOTPAGE
Lloh1:
	ldr	x8, [x8, _g_entities@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	add	x9, x8, w0, sxtw #4
	ldr	w9, [x9, #8]
	cbz	w9, LBB0_3
; %bb.1:
	sxtw	x9, w0
	lsl	x9, x9, #4
	ldr	x8, [x8, x9]
	cbz	x8, LBB0_3
; %bb.2:
	mov	x0, x1
	mov	x1, x8
	mov	w2, #4
	bl	_memcpy
Lloh3:
	adrp	x8, _qtrue@GOTPAGE
Lloh4:
	ldr	x8, [x8, _qtrue@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:
Lloh5:
	adrp	x8, _qfalse@GOTPAGE
Lloh6:
	ldr	x8, [x8, _qfalse@GOTPAGEOFF]
LBB0_4:
	ldr	w0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_g_entities,8,3                 ; @g_entities
	.comm	_qfalse,4,2                     ; @qfalse
	.comm	_qtrue,4,2                      ; @qtrue
.subsections_via_symbols
