	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CL_Ping_f                      ## -- Begin function CL_Ping_f
	.p2align	4, 0x90
_CL_Ping_f:                             ## @CL_Ping_f
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	xorl	%eax, %eax
	callq	_Cmd_Argc
	cmpl	$2, %eax
	jne	LBB0_4
## %bb.1:
	leaq	-12(%rbp), %rbx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_Com_Memset
	movl	$1, %edi
	callq	_Cmd_Argv
	movq	%rax, %rdi
	movq	%rbx, %rsi
	callq	_NET_StringToAdr
	testl	%eax, %eax
	je	LBB0_3
## %bb.2:
	xorl	%eax, %eax
	callq	_CL_GetFreePing
	movq	%rax, %rbx
	leaq	-12(%rbp), %rsi
	movq	%rax, %rdi
	movl	$4, %edx
	callq	_memcpy
	movq	_cls@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	movq	$0, 8(%rbx)
	movl	(%rbx), %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_CL_SetServerInfoByAddress
	movq	_NS_CLIENT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	-12(%rbp), %esi
	leaq	L_.str.1(%rip), %rdx
	callq	_NET_OutOfBandPrint
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_4:
	leaq	L_.str(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_Com_Printf                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"usage: ping [server]\n"

	.comm	_cls,4,2                        ## @cls
	.comm	_NS_CLIENT,4,2                  ## @NS_CLIENT
L_.str.1:                               ## @.str.1
	.asciz	"getinfo xxx"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CL_Ping_f                      ; -- Begin function CL_Ping_f
	.p2align	2
_CL_Ping_f:                             ; @CL_Ping_f
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	bl	_Cmd_Argc
	cmp	w0, #2
	b.ne	LBB0_4
; %bb.1:
	add	x0, sp, #12
	mov	w1, #0
	mov	w2, #4
	bl	_Com_Memset
	mov	w0, #1
	bl	_Cmd_Argv
	add	x1, sp, #12
	bl	_NET_StringToAdr
	cbz	w0, LBB0_3
; %bb.2:
	bl	_CL_GetFreePing
	mov	x19, x0
	add	x1, sp, #12
	mov	w2, #4
	bl	_memcpy
Lloh0:
	adrp	x8, _cls@GOTPAGE
Lloh1:
	ldr	x8, [x8, _cls@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x19, #16]
	str	xzr, [x19, #8]
	ldr	w0, [x19]
	mov	x1, #0
	mov	w2, #0
	bl	_CL_SetServerInfoByAddress
Lloh3:
	adrp	x8, _NS_CLIENT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NS_CLIENT@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ldr	w1, [sp, #12]
Lloh6:
	adrp	x2, l_.str.1@PAGE
Lloh7:
	add	x2, x2, l_.str.1@PAGEOFF
	bl	_NET_OutOfBandPrint
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_4:
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_Com_Printf
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"usage: ping [server]\n"

	.comm	_cls,4,2                        ; @cls
	.comm	_NS_CLIENT,4,2                  ; @NS_CLIENT
l_.str.1:                               ; @.str.1
	.asciz	"getinfo xxx"

.subsections_via_symbols
