	.file	"extr_cl_main.c_CL_AddReliableCommand.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Client command overflow"
	.text
	.p2align 4
	.globl	CL_AddReliableCommand
	.type	CL_AddReliableCommand, @function
CL_AddReliableCommand:
.LFB0:
	.cfi_startproc
	endbr64
	mov	edx, DWORD PTR clc[rip]
	mov	eax, DWORD PTR MAX_RELIABLE_COMMANDS[rip]
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	mov	ecx, edx
	sub	ecx, DWORD PTR clc[rip+4]
	test	rsi, rsi
	jne	.L9
	cmp	ecx, eax
	jl	.L4
	cmp	QWORD PTR com_errorEntered[rip], 0
	jne	.L1
.L10:
	mov	edi, DWORD PTR ERR_DROP[rip]
	lea	rsi, .LC0[rip]
	call	Com_Error@PLT
	mov	edx, DWORD PTR clc[rip]
	mov	eax, DWORD PTR MAX_RELIABLE_COMMANDS[rip]
.L4:
	add	edx, 1
	sub	eax, 1
	mov	rsi, rbp
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	mov	DWORD PTR clc[rip], edx
	and	eax, edx
	mov	rdx, QWORD PTR clc[rip+8]
	cdqe
	mov	edi, DWORD PTR [rdx+rax*4]
	mov	edx, 4
	jmp	Q_strncpyz@PLT
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	cmp	ecx, eax
	jle	.L4
	cmp	QWORD PTR com_errorEntered[rip], 0
	je	.L10
.L1:
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	CL_AddReliableCommand, .-CL_AddReliableCommand
	.comm	com_errorEntered,8,8
	.comm	clc,16,16
	.comm	MAX_RELIABLE_COMMANDS,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_main.c_CL_AddReliableCommand.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Client command overflow\000"
	.text
	.align	2
	.global	CL_AddReliableCommand
	.syntax unified
	.arm
	.fpu softvfp
	.type	CL_AddReliableCommand, %function
CL_AddReliableCommand:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r4, .L9
	ldr	r5, .L9+4
	cmp	r1, #0
	ldm	r4, {r2, r3}
	mov	r6, r0
	sub	r1, r2, r3
	ldr	r3, [r5]
	bne	.L8
	cmp	r1, r3
	blt	.L4
.L3:
	ldr	r3, .L9+8
	ldr	r3, [r3]
	cmp	r3, #0
	popne	{r4, r5, r6, pc}
	ldr	r3, .L9+12
	ldr	r1, .L9+16
	ldr	r0, [r3]
	bl	Com_Error
	ldr	r3, [r5]
	ldr	r2, [r4]
.L4:
	ldr	r1, [r4, #8]
	add	r2, r2, #1
	sub	r3, r3, #1
	str	r2, [r4]
	and	r3, r3, r2
	ldr	r0, [r1, r3, lsl #2]
	mov	r2, #4
	mov	r1, r6
	pop	{r4, r5, r6, lr}
	b	Q_strncpyz
.L8:
	cmp	r1, r3
	bgt	.L3
	b	.L4
.L10:
	.align	2
.L9:
	.word	clc
	.word	MAX_RELIABLE_COMMANDS
	.word	com_errorEntered
	.word	ERR_DROP
	.word	.LC0
	.size	CL_AddReliableCommand, .-CL_AddReliableCommand
	.comm	com_errorEntered,4,4
	.comm	clc,12,4
	.comm	MAX_RELIABLE_COMMANDS,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
