	.file	"extr_cl_main.c_CL_GetServerStatus.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	CL_GetServerStatus
	.type	CL_GetServerStatus, @function
CL_GetServerStatus:
.LFB0:
	.cfi_startproc
	endbr64
	mov	eax, DWORD PTR MAX_SERVERSTATUSREQUESTS[rip]
	mov	rcx, QWORD PTR cl_serverStatusList[rip]
	test	eax, eax
	jle	.L9
	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
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	xor	ebx, ebx
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L3:
	mov	esi, DWORD PTR MAX_SERVERSTATUSREQUESTS[rip]
	add	rbx, 1
	mov	rcx, QWORD PTR cl_serverStatusList[rip]
	cmp	esi, ebx
	jle	.L22
.L5:
	lea	rbp, [rbx+rbx*2]
	mov	edi, r12d
	sal	rbp, 3
	mov	esi, DWORD PTR 16[rcx+rbp]
	call	NET_CompareAdr@PLT
	test	rax, rax
	je	.L3
	mov	rax, QWORD PTR cl_serverStatusList[rip]
	add	rax, rbp
.L1:
	pop	rbx
	.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
.L22:
	.cfi_restore_state
	test	esi, esi
	jle	.L10
	lea	eax, -1[rsi]
	mov	rdi, rcx
	mov	rdx, rcx
	lea	rax, [rax+rax*2]
	lea	r8, 24[rcx+rax*8]
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L24:
	add	rdx, 24
	cmp	rdx, r8
	je	.L23
.L6:
	cmp	QWORD PTR 8[rdx], 0
	mov	rax, rdx
	je	.L24
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L23:
	xor	r9d, r9d
	mov	r8, -1
	xor	eax, eax
	.p2align 4,,10
	.p2align 3
.L8:
	mov	edx, DWORD PTR [rdi]
	cmp	r8d, -1
	je	.L12
	cmp	r9d, edx
	jle	.L7
.L12:
	mov	r9d, edx
	movsx	r8, eax
.L7:
	add	eax, 1
	add	rdi, 24
	cmp	esi, eax
	jne	.L8
	lea	rax, [r8+r8*2]
	sal	rax, 3
.L2:
	pop	rbx
	.cfi_def_cfa_offset 24
	add	rax, rcx
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
.L9:
	.cfi_restore 3
	.cfi_restore 6
	.cfi_restore 12
	mov	rax, -24
	add	rax, rcx
	ret
.L10:
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	.cfi_offset 6, -24
	.cfi_offset 12, -16
	mov	rax, -24
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	CL_GetServerStatus, .-CL_GetServerStatus
	.comm	cl_serverStatusList,8,8
	.comm	MAX_SERVERSTATUSREQUESTS,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_GetServerStatus.c"
	.text
	.align	2
	.global	CL_GetServerStatus
	.syntax unified
	.arm
	.fpu softvfp
	.type	CL_GetServerStatus, %function
CL_GetServerStatus:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r7, .L21
	ldr	r6, .L21+4
	ldr	r3, [r7]
	ldr	r2, [r6]
	cmp	r3, #0
	ble	.L10
	mov	r5, r0
	mov	r4, #0
	b	.L5
.L3:
	ldr	r1, [r7]
	ldr	r2, [r6]
	cmp	r1, r4
	ble	.L18
.L5:
	add	r3, r4, r4, lsl #1
	add	r2, r2, r3, lsl #2
	mov	r0, r5
	ldr	r1, [r2, #8]
	lsl	r8, r3, #2
	bl	NET_CompareAdr
	subs	r3, r0, #0
	add	r4, r4, #1
	beq	.L3
	ldr	r0, [r6]
	add	r0, r0, r8
	pop	{r4, r5, r6, r7, r8, pc}
.L18:
	cmp	r1, #0
	ble	.L10
	mov	r4, r2
	mov	ip, r2
.L6:
	ldr	lr, [ip, #4]
	add	r3, r3, #1
	cmp	lr, #0
	mov	r0, ip
	popne	{r4, r5, r6, r7, r8, pc}
	cmp	r1, r3
	add	ip, ip, #12
	bne	.L6
	mov	r0, lr
	mvn	r3, #0
	b	.L8
.L20:
	cmp	lr, ip
	movgt	r3, r0
	add	r0, r0, #1
	movgt	lr, ip
	cmp	r1, r0
	add	r4, r4, #12
	beq	.L19
.L8:
	cmn	r3, #1
	ldr	ip, [r4]
	bne	.L20
	mov	r3, r0
	add	r0, r0, #1
	cmp	r1, r0
	mov	lr, ip
	add	r4, r4, #12
	bne	.L8
.L19:
	add	r0, r3, r3, lsl #1
	lsl	r0, r0, #2
.L2:
	add	r0, r2, r0
	pop	{r4, r5, r6, r7, r8, pc}
.L10:
	mvn	r0, #11
	b	.L2
.L22:
	.align	2
.L21:
	.word	MAX_SERVERSTATUSREQUESTS
	.word	cl_serverStatusList
	.size	CL_GetServerStatus, .-CL_GetServerStatus
	.comm	cl_serverStatusList,4,4
	.comm	MAX_SERVERSTATUSREQUESTS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
