	.file	"extr_cl_main.c_CL_GetPing.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"cl_maxPing"
	.text
	.p2align 4
	.globl	CL_GetPing
	.type	CL_GetPing, @function
CL_GetPing:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rcx
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	movsx	rbx, edi
	sal	rbx, 4
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR cl_pinglist[rip]
	add	rax, rbx
	mov	ecx, DWORD PTR 12[rax]
	test	ecx, ecx
	jne	.L2
	mov	BYTE PTR [rsi], 0
	mov	DWORD PTR 0[rbp], 0
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	edi, DWORD PTR 12[rax]
	mov	r12d, edx
	call	NET_AdrToString@PLT
	mov	edx, r12d
	mov	rdi, r13
	mov	rsi, rax
	call	Q_strncpyz@PLT
	mov	rax, QWORD PTR cl_pinglist[rip]
	add	rax, rbx
	mov	r12d, DWORD PTR [rax]
	mov	edx, r12d
	test	r12d, r12d
	je	.L9
.L4:
	mov	esi, DWORD PTR 8[rax]
	mov	edi, DWORD PTR 12[rax]
	call	CL_SetServerInfoByAddress@PLT
	mov	DWORD PTR 0[rbp], r12d
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	lea	rdi, .LC0[rip]
	mov	r13d, DWORD PTR cls[rip]
	sub	r13d, DWORD PTR 4[rax]
	call	Cvar_VariableIntegerValue@PLT
	mov	edx, 100
	cmp	eax, 100
	cmovl	eax, edx
	cmp	eax, r13d
	mov	rax, rbx
	jle	.L5
	add	rax, QWORD PTR cl_pinglist[rip]
	mov	edx, DWORD PTR [rax]
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L5:
	add	rax, QWORD PTR cl_pinglist[rip]
	mov	r12d, r13d
	mov	edx, DWORD PTR [rax]
	jmp	.L4
	.cfi_endproc
.LFE0:
	.size	CL_GetPing, .-CL_GetPing
	.comm	cls,4,4
	.comm	cl_pinglist,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_GetPing.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"cl_maxPing\000"
	.text
	.align	2
	.global	CL_GetPing
	.syntax unified
	.arm
	.fpu softvfp
	.type	CL_GetPing, %function
CL_GetPing:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r4, r0
	ldr	r6, .L11
	mov	r7, r1
	ldr	r0, [r6]
	mov	r8, r3
	add	r0, r0, r4, lsl #4
	ldr	r0, [r0, #12]
	cmp	r0, #0
	bne	.L2
	strb	r0, [r1]
	str	r0, [r3]
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L2:
	mov	r5, r2
	bl	NET_AdrToString
	mov	r2, r5
	mov	r1, r0
	mov	r0, r7
	bl	Q_strncpyz
	ldr	r0, [r6]
	lsl	r9, r4, #4
	ldr	r5, [r0, r4, lsl #4]
	add	r0, r0, r9
	cmp	r5, #0
	movne	r2, r5
	beq	.L10
.L4:
	ldr	r1, [r0, #8]
	ldr	r0, [r0, #12]
	bl	CL_SetServerInfoByAddress
	str	r5, [r8]
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L10:
	ldr	r2, .L11+4
	ldr	r3, [r0, #4]
	ldr	r7, [r2]
	ldr	r0, .L11+8
	sub	r7, r7, r3
	bl	Cvar_VariableIntegerValue
	cmp	r0, #100
	movlt	r0, #100
	ldr	r3, [r6]
	cmp	r0, r7
	movle	r5, r7
	ldr	r2, [r3, r4, lsl #4]
	add	r0, r3, r9
	b	.L4
.L12:
	.align	2
.L11:
	.word	cl_pinglist
	.word	cls
	.word	.LC0
	.size	CL_GetPing, .-CL_GetPing
	.comm	cls,4,4
	.comm	cl_pinglist,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
