	.file	"extr_g_active.c_SendPendingPredictableEvents.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	SendPendingPredictableEvents
	.type	SendPendingPredictableEvents, @function
SendPendingPredictableEvents:
.LFB0:
	.cfi_startproc
	endbr64
	mov	eax, DWORD PTR [rdi]
	cmp	eax, DWORD PTR 4[rdi]
	jl	.L8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	mov	ecx, DWORD PTR MAX_PS_EVENTS[rip]
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	lea	edx, -1[rcx]
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	and	edx, eax
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	sal	eax, 8
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rcx, QWORD PTR 8[rdi]
	movsx	rdx, edx
	mov	ebp, eax
	mov	r13d, DWORD PTR 16[rdi]
	and	ebp, 768
	mov	rbx, rdi
	or	ebp, DWORD PTR [rcx+rdx*4]
	mov	DWORD PTR 16[rdi], 0
	mov	edi, DWORD PTR 24[rdi]
	mov	esi, ebp
	movsx	rbp, ebp
	call	G_TempEntity@PLT
	mov	edx, DWORD PTR qtrue[rip]
	mov	rdi, rbx
	mov	r12, rax
	lea	rsi, 8[rax]
	mov	r14d, DWORD PTR 8[rax]
	call	BG_PlayerStateToEntityState@PLT
	mov	eax, DWORD PTR EF_PLAYER_EVENT[rip]
	or	DWORD PTR 16[r12], eax
	mov	eax, DWORD PTR 20[rbx]
	add	rbp, QWORD PTR ET_EVENTS[rip]
	mov	DWORD PTR 8[r12], r14d
	mov	QWORD PTR 24[r12], rbp
	mov	edx, DWORD PTR SVF_NOTSINGLECLIENT[rip]
	mov	DWORD PTR 12[r12], eax
	or	DWORD PTR 4[r12], edx
	mov	DWORD PTR [r12], eax
	mov	DWORD PTR 16[rbx], r13d
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	SendPendingPredictableEvents, .-SendPendingPredictableEvents
	.comm	qtrue,4,4
	.comm	SVF_NOTSINGLECLIENT,4,4
	.comm	MAX_PS_EVENTS,4,4
	.comm	ET_EVENTS,8,8
	.comm	EF_PLAYER_EVENT,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_g_active.c_SendPendingPredictableEvents.c"
	.text
	.align	2
	.global	SendPendingPredictableEvents
	.syntax unified
	.arm
	.fpu softvfp
	.type	SendPendingPredictableEvents, %function
SendPendingPredictableEvents:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r0]
	ldr	r2, [r0, #4]
	cmp	r3, r2
	bxge	lr
	push	{r4, r5, r6, r7, r8, lr}
	mov	ip, #0
	mov	r4, r0
	ldr	r2, .L8
	ldr	r1, [r0, #8]
	ldr	r2, [r2]
	lsl	r6, r3, #8
	sub	r2, r2, #1
	and	r3, r3, r2
	ldr	r3, [r1, r3, lsl #2]
	and	r6, r6, #768
	orr	r6, r6, r3
	ldr	r7, [r0, #12]
	mov	r1, r6
	ldr	r0, [r0, #20]
	str	ip, [r4, #12]
	bl	G_TempEntity
	mov	r1, r0
	mov	r5, r0
	ldr	r3, .L8+4
	ldr	r8, [r1, #8]!
	ldr	r2, [r3]
	mov	r0, r4
	bl	BG_PlayerStateToEntityState
	ldr	r1, .L8+8
	ldr	r2, .L8+12
	ldr	r3, .L8+16
	ldr	r1, [r1]
	ldr	ip, [r2]
	ldr	r0, [r3]
	ldr	r2, [r5, #16]
	ldr	r3, [r5, #4]
	add	r6, r1, r6
	ldr	r1, [r4, #16]
	orr	r2, r2, ip
	orr	r3, r3, r0
	str	r8, [r5, #8]
	str	r6, [r5, #20]
	str	r2, [r5, #16]
	str	r3, [r5, #4]
	str	r1, [r5, #12]
	str	r1, [r5]
	str	r7, [r4, #12]
	pop	{r4, r5, r6, r7, r8, pc}
.L9:
	.align	2
.L8:
	.word	MAX_PS_EVENTS
	.word	qtrue
	.word	ET_EVENTS
	.word	EF_PLAYER_EVENT
	.word	SVF_NOTSINGLECLIENT
	.size	SendPendingPredictableEvents, .-SendPendingPredictableEvents
	.comm	qtrue,4,4
	.comm	SVF_NOTSINGLECLIENT,4,4
	.comm	MAX_PS_EVENTS,4,4
	.comm	ET_EVENTS,4,4
	.comm	EF_PLAYER_EVENT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
