	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_G_EntitiesFree                 ## -- Begin function G_EntitiesFree
	.p2align	4, 0x90
_G_EntitiesFree:                        ## @G_EntitiesFree
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_level@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_ENTITYNUM_MAX_NORMAL@GOTPCREL(%rip), %rdx
	movq	_qtrue@GOTPCREL(%rip), %rax
	cmpl	(%rdx), %ecx
	jl	LBB0_6
## %bb.1:
	movq	_MAX_CLIENTS@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rsi
	movq	_qfalse@GOTPCREL(%rip), %rdx
	subl	%esi, %ecx
	jle	LBB0_5
## %bb.2:
	movq	_g_entities@GOTPCREL(%rip), %rdi
	shlq	$3, %rsi
	addq	(%rdi), %rsi
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	$0, (%rsi,%rdi,8)
	je	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	incq	%rdi
	cmpl	%edi, %ecx
	jne	LBB0_3
LBB0_5:
	movq	%rdx, %rax
LBB0_6:
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_level,4,2                      ## @level
	.comm	_ENTITYNUM_MAX_NORMAL,4,2       ## @ENTITYNUM_MAX_NORMAL
	.comm	_qtrue,4,2                      ## @qtrue
	.comm	_g_entities,8,3                 ## @g_entities
	.comm	_MAX_CLIENTS,8,3                ## @MAX_CLIENTS
	.comm	_qfalse,4,2                     ## @qfalse
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_G_EntitiesFree                 ; -- Begin function G_EntitiesFree
	.p2align	2
_G_EntitiesFree:                        ; @G_EntitiesFree
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _level@GOTPAGE
Lloh1:
	ldr	x8, [x8, _level@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _ENTITYNUM_MAX_NORMAL@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ENTITYNUM_MAX_NORMAL@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ge	LBB0_2
; %bb.1:
Lloh6:
	adrp	x8, _qtrue@GOTPAGE
Lloh7:
	ldr	x8, [x8, _qtrue@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	ret
LBB0_2:
Lloh9:
	adrp	x9, _MAX_CLIENTS@GOTPAGE
Lloh10:
	ldr	x9, [x9, _MAX_CLIENTS@GOTPAGEOFF]
Lloh11:
	ldr	x10, [x9]
	subs	w9, w8, w10
	b.le	LBB0_8
; %bb.3:
Lloh12:
	adrp	x8, _g_entities@GOTPAGE
Lloh13:
	ldr	x8, [x8, _g_entities@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	add	x10, x8, x10, lsl #3
Lloh15:
	adrp	x8, _qtrue@GOTPAGE
Lloh16:
	ldr	x8, [x8, _qtrue@GOTPAGEOFF]
Lloh17:
	adrp	x11, _qfalse@GOTPAGE
Lloh18:
	ldr	x11, [x11, _qfalse@GOTPAGEOFF]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x12, [x10]
	cbz	x12, LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x10, x10, #8
	subs	w9, w9, #1
	b.ne	LBB0_4
; %bb.6:
	mov	x8, x11
LBB0_7:
	ldr	w0, [x8]
	ret
LBB0_8:
Lloh19:
	adrp	x8, _qfalse@GOTPAGE
Lloh20:
	ldr	x8, [x8, _qfalse@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_level,4,2                      ; @level
	.comm	_ENTITYNUM_MAX_NORMAL,4,2       ; @ENTITYNUM_MAX_NORMAL
	.comm	_qtrue,4,2                      ; @qtrue
	.comm	_g_entities,8,3                 ; @g_entities
	.comm	_MAX_CLIENTS,8,3                ; @MAX_CLIENTS
	.comm	_qfalse,4,2                     ; @qfalse
.subsections_via_symbols
