	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CL_GetServerStatus             ## -- Begin function CL_GetServerStatus
	.p2align	4, 0x90
_CL_GetServerStatus:                    ## @CL_GetServerStatus
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_MAX_SERVERSTATUSREQUESTS@GOTPCREL(%rip), %r12
	cmpl	$0, (%r12)
	jle	LBB0_23
## %bb.1:
	movl	%edi, %r14d
	xorl	%r13d, %r13d
	movq	_cl_serverStatusList@GOTPCREL(%rip), %r15
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rax
	movl	16(%rax,%r13), %esi
	movl	%r14d, %edi
	callq	_NET_CompareAdr
	testq	%rax, %rax
	jne	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	incq	%rbx
	movslq	(%r12), %rax
	addq	$24, %r13
	cmpq	%rax, %rbx
	jl	LBB0_2
## %bb.5:
	movl	%eax, %r8d
	testl	%r8d, %r8d
	jle	LBB0_23
## %bb.6:
	movq	(%r15), %r13
	movq	%r8, %rax
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	$0, 8(%r13)
	jne	LBB0_22
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	addq	$24, %r13
	decq	%rax
	jne	LBB0_7
## %bb.9:
	movq	(%r15), %r9
	cmpl	$1, %r8d
	jne	LBB0_11
## %bb.10:
	movl	$-1, %r11d
	xorl	%edx, %edx
	xorl	%r14d, %r14d
LBB0_18:
	testb	$1, %r8b
	je	LBB0_20
## %bb.19:
	leaq	(%rdx,%rdx,2), %rax
	cmpl	%r14d, (%r9,%rax,8)
	movl	%r11d, %eax
	cmovll	%edx, %eax
	cmpl	$-1, %r11d
	cmovel	%edx, %eax
	movl	%eax, %r11d
LBB0_20:
	movslq	%r11d, %rax
	jmp	LBB0_21
LBB0_23:
	movq	_cl_serverStatusList@GOTPCREL(%rip), %rax
	movq	(%rax), %r9
	movq	$-1, %rax
LBB0_21:
	leaq	(%rax,%rax,2), %rax
	leaq	(%r9,%rax,8), %r13
	jmp	LBB0_22
LBB0_3:
	addq	(%r15), %r13
LBB0_22:
	movq	%r13, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	movl	%r8d, %r10d
	andl	$-2, %r10d
	movl	$-1, %r11d
	xorl	%edx, %edx
	movq	%r9, %rax
	xorl	%r14d, %r14d
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_12 Depth=1
	movl	%esi, %r11d
	movl	%edi, %r14d
LBB0_17:                                ##   in Loop: Header=BB0_12 Depth=1
	addq	$2, %rdx
	addq	$48, %rax
	cmpq	%r10, %rdx
	je	LBB0_18
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	cmpl	$-1, %r11d
	sete	%cl
	movl	(%rax), %edi
	cmpl	%r14d, %edi
	setl	%bl
	orb	%cl, %bl
	movl	%edx, %esi
	jne	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=1
	movl	%r11d, %esi
	movl	%r14d, %edi
LBB0_14:                                ##   in Loop: Header=BB0_12 Depth=1
	movl	24(%rax), %r14d
	cmpl	$-1, %esi
	sete	%cl
	cmpl	%edi, %r14d
	setl	%bl
	orb	%cl, %bl
	je	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_12 Depth=1
	leal	1(%rdx), %r11d
	jmp	LBB0_17
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_SERVERSTATUSREQUESTS,4,2   ## @MAX_SERVERSTATUSREQUESTS
	.comm	_cl_serverStatusList,8,3        ## @cl_serverStatusList
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CL_GetServerStatus             ; -- Begin function CL_GetServerStatus
	.p2align	2
_CL_GetServerStatus:                    ; @CL_GetServerStatus
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
Lloh0:
	adrp	x21, _MAX_SERVERSTATUSREQUESTS@GOTPAGE
Lloh1:
	ldr	x21, [x21, _MAX_SERVERSTATUSREQUESTS@GOTPAGEOFF]
	ldr	w8, [x21]
Lloh2:
	adrp	x20, _cl_serverStatusList@GOTPAGE
Lloh3:
	ldr	x20, [x20, _cl_serverStatusList@GOTPAGEOFF]
	cmp	w8, #1
	b.lt	LBB0_11
; %bb.1:
	mov	x19, x0
	mov	x22, #0
	mov	x23, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20]
	add	x8, x8, x22
	ldr	w1, [x8, #16]
	mov	x0, x19
	bl	_NET_CompareAdr
	cbnz	x0, LBB0_13
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x23, x23, #1
	ldrsw	x8, [x21]
	add	x22, x22, #24
	cmp	x23, x8
	b.lt	LBB0_2
; %bb.4:
	and	x8, x8, #0xffffffff
	cmp	w8, #1
	b.lt	LBB0_11
; %bb.5:
	ldr	x0, [x20]
	mov	x9, x8
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x0, #8]
	cbnz	x10, LBB0_14
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x0, x0, #24
	subs	x9, x9, #1
	b.ne	LBB0_6
; %bb.8:
	mov	x11, #0
	mov	w12, #0
	ldr	x9, [x20]
	mov	w10, #-1
	mov	x13, x9
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	cmn	w10, #1
	ldr	w14, [x13], #24
	ccmp	w14, w12, #8, ne
	cset	w15, lt
	cmp	w15, #0
	csel	w10, w11, w10, ne
	csel	w12, w14, w12, ne
	add	x11, x11, #1
	cmp	x8, x11
	b.ne	LBB0_9
; %bb.10:
	sxtw	x8, w10
	b	LBB0_12
LBB0_11:
	ldr	x9, [x20]
	mov	x8, #-1
LBB0_12:
	mov	w10, #24
	madd	x0, x8, x10, x9
	b	LBB0_14
LBB0_13:
	ldr	x8, [x20]
	add	x0, x8, x22
LBB0_14:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_SERVERSTATUSREQUESTS,4,2   ; @MAX_SERVERSTATUSREQUESTS
	.comm	_cl_serverStatusList,8,3        ; @cl_serverStatusList
.subsections_via_symbols
