	.file	"extr_cl_cgame.c_CL_GetParseEntityState.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"CL_GetParseEntityState: %i >= %i"
	.text
	.p2align 4
	.globl	CL_GetParseEntityState
	.type	CL_GetParseEntityState, @function
CL_GetParseEntityState:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	ebx, edi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	ecx, DWORD PTR cl[rip]
	cmp	ecx, edi
	jle	.L7
.L2:
	mov	eax, DWORD PTR MAX_PARSE_ENTITIES[rip]
	sub	ecx, eax
	cmp	ecx, ebx
	jge	.L8
	sub	eax, 1
	mov	rdx, QWORD PTR cl[rip+8]
	and	eax, ebx
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	mov	DWORD PTR 0[rbp], eax
	mov	eax, DWORD PTR qtrue[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	eax, DWORD PTR qfalse[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	mov	edx, edi
	mov	edi, DWORD PTR ERR_DROP[rip]
	lea	rsi, .LC0[rip]
	call	Com_Error@PLT
	mov	ecx, DWORD PTR cl[rip]
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	CL_GetParseEntityState, .-CL_GetParseEntityState
	.comm	qtrue,4,4
	.comm	qfalse,4,4
	.comm	cl,16,16
	.comm	MAX_PARSE_ENTITIES,4,4
	.comm	ERR_DROP,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_cl_cgame.c_CL_GetParseEntityState.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"CL_GetParseEntityState: %i >= %i\000"
	.text
	.align	2
	.global	CL_GetParseEntityState
	.syntax unified
	.arm
	.fpu softvfp
	.type	CL_GetParseEntityState, %function
CL_GetParseEntityState:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r6, .L8
	mov	r4, r0
	ldr	r3, [r6]
	mov	r5, r1
	cmp	r3, r0
	ble	.L7
.L2:
	ldr	r2, .L8+4
	ldr	r2, [r2]
	sub	r3, r3, r2
	cmp	r3, r4
	ldrlt	r3, [r6, #4]
	sublt	r2, r2, #1
	andlt	r2, r2, r4
	ldrlt	r2, [r3, r2, lsl #2]
	ldrge	r3, .L8+8
	ldrlt	r3, .L8+12
	strlt	r2, [r5]
	ldr	r0, [r3]
	pop	{r4, r5, r6, pc}
.L7:
	ldr	r2, .L8+16
	ldr	r1, .L8+20
	ldr	r0, [r2]
	mov	r2, r4
	bl	Com_Error
	ldr	r3, [r6]
	b	.L2
.L9:
	.align	2
.L8:
	.word	cl
	.word	MAX_PARSE_ENTITIES
	.word	qfalse
	.word	qtrue
	.word	ERR_DROP
	.word	.LC0
	.size	CL_GetParseEntityState, .-CL_GetParseEntityState
	.comm	qtrue,4,4
	.comm	qfalse,4,4
	.comm	cl,8,4
	.comm	MAX_PARSE_ENTITIES,4,4
	.comm	ERR_DROP,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
