	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CL_GetPing                     ## -- Begin function CL_GetPing
	.p2align	4, 0x90
_CL_GetPing:                            ## @CL_GetPing
	.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	%rcx, %r14
	movq	%rsi, %r12
	movq	_cl_pinglist@GOTPCREL(%rip), %r13
	movq	(%r13), %rax
	movslq	%edi, %rbx
	shlq	$4, %rbx
	movl	12(%rax,%rbx), %edi
	testl	%edi, %edi
	je	LBB0_1
## %bb.2:
	movl	%edx, %r15d
	callq	_NET_AdrToString
	movq	%r12, %rdi
	movq	%rax, %rsi
	movl	%r15d, %edx
	callq	_Q_strncpyz
	movq	(%r13), %rax
	movl	(%rax,%rbx), %edx
	testl	%edx, %edx
	je	LBB0_4
## %bb.3:
	movl	%edx, %r15d
	jmp	LBB0_5
LBB0_1:
	movb	$0, (%r12)
	xorl	%r15d, %r15d
	jmp	LBB0_6
LBB0_4:
	movq	_cls@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r12d
	subl	4(%rax,%rbx), %r12d
	leaq	L_.str(%rip), %rdi
	callq	_Cvar_VariableIntegerValue
	cmpl	$101, %eax
	movl	$100, %ecx
	cmovgel	%eax, %ecx
	xorl	%r15d, %r15d
	cmpl	%ecx, %r12d
	cmovgel	%r12d, %r15d
	movq	(%r13), %rax
	movl	(%rax,%rbx), %edx
LBB0_5:
	movl	8(%rax,%rbx), %esi
	movl	12(%rax,%rbx), %edi
	callq	_CL_SetServerInfoByAddress
LBB0_6:
	movl	%r15d, (%r14)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_cl_pinglist,8,3                ## @cl_pinglist
	.comm	_cls,4,2                        ## @cls
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cl_maxPing"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CL_GetPing                     ; -- Begin function CL_GetPing
	.p2align	2
_CL_GetPing:                            ; @CL_GetPing
	.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
	mov	x19, x3
	mov	x21, x1
                                        ; kill: def $w0 killed $w0 def $x0
Lloh0:
	adrp	x23, _cl_pinglist@GOTPAGE
Lloh1:
	ldr	x23, [x23, _cl_pinglist@GOTPAGEOFF]
	ldr	x8, [x23]
	add	x8, x8, w0, sxtw #4
	ldr	w8, [x8, #12]
	cbz	w8, LBB0_3
; %bb.1:
	mov	x20, x2
	sxtw	x22, w0
	mov	x0, x8
	bl	_NET_AdrToString
	mov	x1, x0
	mov	x0, x21
	mov	x2, x20
	bl	_Q_strncpyz
	ldr	x8, [x23]
	lsl	x21, x22, #4
	ldr	w2, [x8, x21]
	cbz	w2, LBB0_4
; %bb.2:
	mov	x20, x2
	b	LBB0_5
LBB0_3:
	mov	w20, #0
	strb	wzr, [x21]
	b	LBB0_6
LBB0_4:
Lloh2:
	adrp	x9, _cls@GOTPAGE
Lloh3:
	ldr	x9, [x9, _cls@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	add	x8, x8, x21
	ldr	w8, [x8, #4]
	sub	w20, w9, w8
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	bl	_Cvar_VariableIntegerValue
	mov	w8, #100
	cmp	w0, #100
	csel	w8, w0, w8, gt
	cmp	w20, w8
	csel	w20, wzr, w20, lt
	ldr	x8, [x23]
	ldr	w2, [x8, x21]
LBB0_5:
	add	x8, x8, x22, lsl #4
	ldp	w1, w0, [x8, #8]
	bl	_CL_SetServerInfoByAddress
LBB0_6:
	str	w20, [x19]
	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	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_cl_pinglist,8,3                ; @cl_pinglist
	.comm	_cls,4,2                        ; @cls
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cl_maxPing"

.subsections_via_symbols
