	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_refnumtoa                      ## -- Begin function refnumtoa
	.p2align	4, 0x90
_refnumtoa:                             ## @refnumtoa
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	callq	_ISREFCLOCKADR
	testl	%eax, %eax
	je	LBB0_5
## %bb.1:
	callq	_LIB_GETBUF
	movq	%rbx, %rdi
	callq	_SRCADR
	movq	%rax, %rbx
	movzbl	%bh, %edi
	movl	%edi, %r14d
	callq	_clockname
	movq	_LIB_BUFLENGTH@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movzbl	%bl, %r8d
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %rdx
	movq	%rax, %rcx
	xorl	%eax, %eax
	callq	_snprintf
	jmp	LBB0_4
LBB0_5:
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_socktoa                        ## TAILCALL
LBB0_3:
	leaq	L_.str.1(%rip), %rdx
	movl	%r14d, %ecx
	xorl	%eax, %eax
	callq	_snprintf
LBB0_4:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LIB_BUFLENGTH,4,2              ## @LIB_BUFLENGTH
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s(%lu)"

L_.str.1:                               ## @.str.1
	.asciz	"REFCLK(%lu,%lu)"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_refnumtoa                      ; -- Begin function refnumtoa
	.p2align	2
_refnumtoa:                             ; @refnumtoa
	.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
	mov	x19, x0
	bl	_ISREFCLOCKADR
	cbz	w0, LBB0_3
; %bb.1:
	bl	_LIB_GETBUF
	mov	x0, x19
	bl	_SRCADR
	mov	x20, x0
	ubfx	w19, w20, #8, #8
	mov	x0, x19
	bl	_clockname
Lloh0:
	adrp	x8, _LIB_BUFLENGTH@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LIB_BUFLENGTH@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	and	w8, w20, #0xff
	cbz	x0, LBB0_4
; %bb.2:
	stp	x0, x8, [sp]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	b	LBB0_5
LBB0_3:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_socktoa
LBB0_4:
                                        ; kill: def $w8 killed $w8 killed $x8 def $x8
	stp	x19, x8, [sp]
Lloh5:
	adrp	x2, l_.str.1@PAGE
Lloh6:
	add	x2, x2, l_.str.1@PAGEOFF
LBB0_5:
	bl	_snprintf
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_LIB_BUFLENGTH,4,2              ; @LIB_BUFLENGTH
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s(%lu)"

l_.str.1:                               ; @.str.1
	.asciz	"REFCLK(%lu,%lu)"

.subsections_via_symbols
