	.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	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_NA_UNSPEC@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	xorl	%eax, %eax
	callq	_Cmd_Argc
	movl	%eax, %ebx
	andl	$-2, %eax
	cmpl	$2, %eax
	jne	LBB0_5
## %bb.1:
	movl	$1, %edi
	callq	_Cmd_Argv
	movq	%rax, %r15
	cmpl	$2, %ebx
	je	LBB0_10
## %bb.2:
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_6
## %bb.3:
	movl	$1, %edi
	callq	_Cmd_Argv
	leaq	L_.str.2(%rip), %rsi
	movq	%rax, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_7
## %bb.4:
	leaq	L_.str.3(%rip), %rdi
	callq	_Com_Printf
	jmp	LBB0_9
LBB0_5:
	leaq	L_.str(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_Com_Printf                     ## TAILCALL
LBB0_6:
	movq	_NA_IP@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_7:
	movq	_NA_IP6@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %r14d
LBB0_9:
	movl	$2, %edi
	callq	_Cmd_Argv
	movq	%rax, %r15
LBB0_10:
	leaq	-28(%rbp), %rbx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_Com_Memset
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movl	%r14d, %edx
	callq	_NET_StringToAdr
	testl	%eax, %eax
	je	LBB0_12
## %bb.11:
	xorl	%eax, %eax
	callq	_CL_GetFreePing
	movq	%rax, %rbx
	leaq	-28(%rbp), %rsi
	movq	%rax, %rdi
	movl	$4, %edx
	callq	_memcpy
	xorl	%eax, %eax
	callq	_Sys_Milliseconds
	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	-28(%rbp), %esi
	leaq	L_.str.4(%rip), %rdx
	callq	_NET_OutOfBandPrint
LBB0_12:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NA_UNSPEC,4,2                  ## @NA_UNSPEC
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"usage: ping [-4|-6] server\n"

L_.str.1:                               ## @.str.1
	.asciz	"-4"

	.comm	_NA_IP,4,2                      ## @NA_IP
L_.str.2:                               ## @.str.2
	.asciz	"-6"

	.comm	_NA_IP6,4,2                     ## @NA_IP6
L_.str.3:                               ## @.str.3
	.asciz	"warning: only -4 or -6 as address type understood.\n"

	.comm	_NS_CLIENT,4,2                  ## @NS_CLIENT
L_.str.4:                               ## @.str.4
	.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, #64
	.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
Lloh0:
	adrp	x8, _NA_UNSPEC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NA_UNSPEC@GOTPAGEOFF]
Lloh2:
	ldr	w19, [x8]
	bl	_Cmd_Argc
	and	w8, w0, #0xfffffffe
	cmp	w8, #2
	b.ne	LBB0_5
; %bb.1:
	mov	x21, x0
	mov	w0, #1
	bl	_Cmd_Argv
	mov	x20, x0
	cmp	w21, #2
	b.eq	LBB0_10
; %bb.2:
Lloh3:
	adrp	x1, l_.str.1@PAGE
Lloh4:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_strcmp
	cbz	w0, LBB0_6
; %bb.3:
	mov	w0, #1
	bl	_Cmd_Argv
Lloh5:
	adrp	x1, l_.str.2@PAGE
Lloh6:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_strcmp
	cbz	w0, LBB0_7
; %bb.4:
Lloh7:
	adrp	x0, l_.str.3@PAGE
Lloh8:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_Com_Printf
	b	LBB0_9
LBB0_5:
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
	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
	add	sp, sp, #64
	b	_Com_Printf
LBB0_6:
Lloh11:
	adrp	x8, _NA_IP@GOTPAGE
Lloh12:
	ldr	x8, [x8, _NA_IP@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:
Lloh13:
	adrp	x8, _NA_IP6@GOTPAGE
Lloh14:
	ldr	x8, [x8, _NA_IP6@GOTPAGEOFF]
LBB0_8:
	ldr	w19, [x8]
LBB0_9:
	mov	w0, #2
	bl	_Cmd_Argv
	mov	x20, x0
LBB0_10:
	add	x0, sp, #12
	mov	w1, #0
	mov	w2, #4
	bl	_Com_Memset
	add	x1, sp, #12
	mov	x0, x20
	mov	x2, x19
	bl	_NET_StringToAdr
	cbz	w0, LBB0_12
; %bb.11:
	bl	_CL_GetFreePing
	mov	x19, x0
	add	x1, sp, #12
	mov	w2, #4
	bl	_memcpy
	bl	_Sys_Milliseconds
	str	w0, [x19, #16]
	str	xzr, [x19, #8]
	ldr	w0, [x19]
	mov	x1, #0
	mov	w2, #0
	bl	_CL_SetServerInfoByAddress
Lloh15:
	adrp	x8, _NS_CLIENT@GOTPAGE
Lloh16:
	ldr	x8, [x8, _NS_CLIENT@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	ldr	w1, [sp, #12]
Lloh18:
	adrp	x2, l_.str.4@PAGE
Lloh19:
	add	x2, x2, l_.str.4@PAGEOFF
	bl	_NET_OutOfBandPrint
LBB0_12:
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_NA_UNSPEC,4,2                  ; @NA_UNSPEC
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"usage: ping [-4|-6] server\n"

l_.str.1:                               ; @.str.1
	.asciz	"-4"

	.comm	_NA_IP,4,2                      ; @NA_IP
l_.str.2:                               ; @.str.2
	.asciz	"-6"

	.comm	_NA_IP6,4,2                     ; @NA_IP6
l_.str.3:                               ; @.str.3
	.asciz	"warning: only -4 or -6 as address type understood.\n"

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

.subsections_via_symbols
