	.file	"extr_cl_main.c_CL_PacketEvent.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%s: Runt packet\n"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"%s:sequenced packet without connection\n"
	.text
	.p2align 4
	.globl	CL_PacketEvent
	.type	CL_PacketEvent, @function
CL_PacketEvent:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12d, edi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	eax, DWORD PTR cls[rip+8]
	cmp	DWORD PTR [rsi], 3
	mov	DWORD PTR clc[rip+16], eax
	jle	.L2
	mov	rax, QWORD PTR 8[rsi]
	mov	rbp, rsi
	cmp	DWORD PTR [rax], -1
	je	.L14
	mov	rax, QWORD PTR CA_CONNECTED[rip]
	cmp	QWORD PTR cls[rip], rax
	jl	.L1
	mov	esi, DWORD PTR clc[rip+24]
	mov	edi, r12d
	call	NET_CompareAdr@PLT
	test	eax, eax
	je	.L15
	mov	rsi, rbp
	lea	rdi, clc[rip+24]
	call	CL_Netchan_Process@PLT
	test	eax, eax
	jne	.L16
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	rax, QWORD PTR CA_CONNECTED[rip]
	cmp	QWORD PTR cls[rip], rax
	jl	.L1
	mov	edi, r12d
	call	NET_AdrToString@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	lea	rdi, .LC0[rip]
	pop	rbp
	.cfi_def_cfa_offset 16
	mov	esi, eax
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	Com_Printf@PLT
	.p2align 4,,10
	.p2align 3
.L16:
	.cfi_restore_state
	mov	rax, QWORD PTR 8[rbp]
	mov	r12d, DWORD PTR 4[rbp]
	mov	edi, DWORD PTR [rax]
	call	LittleLong@PLT
	mov	rdi, rbp
	mov	DWORD PTR clc[rip+20], eax
	mov	eax, DWORD PTR cls[rip+8]
	mov	DWORD PTR clc[rip+16], eax
	call	CL_ParseServerMessage@PLT
	cmp	QWORD PTR clc[rip+8], 0
	je	.L1
	mov	eax, DWORD PTR clc[rip]
	test	eax, eax
	jne	.L1
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	esi, r12d
	mov	rdi, rbp
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	CL_WriteDemoMessage@PLT
	.p2align 4,,10
	.p2align 3
.L14:
	.cfi_restore_state
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	CL_ConnectionlessPacket@PLT
	.p2align 4,,10
	.p2align 3
.L15:
	.cfi_restore_state
	mov	edi, r12d
	call	NET_AdrToString@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 24
	lea	rdi, .LC1[rip]
	pop	rbp
	.cfi_def_cfa_offset 16
	mov	esi, eax
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	Com_DPrintf@PLT
	.cfi_endproc
.LFE0:
	.size	CL_PacketEvent, .-CL_PacketEvent
	.comm	cls,16,16
	.comm	clc,32,32
	.comm	CA_CONNECTED,8,8
	.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_PacketEvent.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"%s: Runt packet\012\000"
	.align	2
.LC1:
	.ascii	"%s:sequenced packet without connection\012\000"
	.text
	.align	2
	.global	CL_PacketEvent
	.syntax unified
	.arm
	.fpu softvfp
	.type	CL_PacketEvent, %function
CL_PacketEvent:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r7, .L19
	ldr	r2, [r1]
	ldr	r3, [r7, #4]
	ldr	r5, .L19+4
	cmp	r2, #3
	str	r3, [r5, #8]
	ble	.L2
	ldr	r3, [r1, #8]
	mov	r4, r1
	ldr	r3, [r3]
	cmn	r3, #1
	beq	.L17
	ldr	r3, .L19+8
	ldr	r2, [r7]
	ldr	r3, [r3]
	cmp	r2, r3
	poplt	{r4, r5, r6, r7, r8, pc}
	ldr	r1, [r5, #16]
	mov	r6, r0
	bl	NET_CompareAdr
	cmp	r0, #0
	beq	.L18
	mov	r1, r4
	add	r0, r5, #16
	bl	CL_Netchan_Process
	cmp	r0, #0
	popeq	{r4, r5, r6, r7, r8, pc}
	ldr	r3, [r4, #8]
	ldr	r6, [r4, #4]
	ldr	r0, [r3]
	bl	LittleLong
	mov	r2, r0
	ldr	r3, [r7, #4]
	mov	r0, r4
	str	r3, [r5, #8]
	str	r2, [r5, #12]
	bl	CL_ParseServerMessage
	ldr	r3, [r5, #4]
	cmp	r3, #0
	popeq	{r4, r5, r6, r7, r8, pc}
	ldr	r3, [r5]
	cmp	r3, #0
	popne	{r4, r5, r6, r7, r8, pc}
	mov	r1, r6
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, lr}
	b	CL_WriteDemoMessage
.L2:
	ldr	r3, .L19+8
	ldr	r2, [r7]
	ldr	r3, [r3]
	cmp	r2, r3
	poplt	{r4, r5, r6, r7, r8, pc}
	bl	NET_AdrToString
	pop	{r4, r5, r6, r7, r8, lr}
	mov	r1, r0
	ldr	r0, .L19+12
	b	Com_Printf
.L17:
	pop	{r4, r5, r6, r7, r8, lr}
	b	CL_ConnectionlessPacket
.L18:
	mov	r0, r6
	bl	NET_AdrToString
	pop	{r4, r5, r6, r7, r8, lr}
	mov	r1, r0
	ldr	r0, .L19+16
	b	Com_DPrintf
.L20:
	.align	2
.L19:
	.word	cls
	.word	clc
	.word	CA_CONNECTED
	.word	.LC0
	.word	.LC1
	.size	CL_PacketEvent, .-CL_PacketEvent
	.comm	cls,8,4
	.comm	clc,20,4
	.comm	CA_CONNECTED,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
