	.file	"extr_cl_main.c_CL_GetPingQueueCount.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	CL_GetPingQueueCount
	.type	CL_GetPingQueueCount, @function
CL_GetPingQueueCount:
.LFB0:
	.cfi_startproc
	endbr64
	mov	edx, DWORD PTR MAX_PINGREQUESTS[rip]
	mov	rax, QWORD PTR cl_pinglist[rip]
	test	edx, edx
	jle	.L5
	sub	edx, 1
	xor	r8d, r8d
	lea	rdx, 8[rax+rdx*8]
	.p2align 4,,10
	.p2align 3
.L4:
	cmp	QWORD PTR [rax], 1
	sbb	r8d, -1
	add	rax, 8
	cmp	rax, rdx
	jne	.L4
	mov	eax, r8d
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	xor	r8d, r8d
	mov	eax, r8d
	ret
	.cfi_endproc
.LFE0:
	.size	CL_GetPingQueueCount, .-CL_GetPingQueueCount
	.comm	cl_pinglist,8,8
	.comm	MAX_PINGREQUESTS,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_GetPingQueueCount.c"
	.text
	.align	2
	.global	CL_GetPingQueueCount
	.syntax unified
	.arm
	.fpu softvfp
	.type	CL_GetPingQueueCount, %function
CL_GetPingQueueCount:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	@ link register save eliminated.
	ldr	r2, .L12
	ldr	r3, .L12+4
	ldr	ip, [r2]
	mov	r0, #0
	cmp	ip, #0
	ldr	r2, [r3]
	bxle	lr
	mov	r3, r0
	sub	r2, r2, #4
.L4:
	ldr	r1, [r2, #4]!
	add	r3, r3, #1
	cmp	r1, #0
	addne	r0, r0, #1
	cmp	r3, ip
	bne	.L4
	bx	lr
.L13:
	.align	2
.L12:
	.word	MAX_PINGREQUESTS
	.word	cl_pinglist
	.size	CL_GetPingQueueCount, .-CL_GetPingQueueCount
	.comm	cl_pinglist,4,4
	.comm	MAX_PINGREQUESTS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
