	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function show_head_ref
_show_head_ref:                         ## @show_head_ref
	.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
	movq	%rcx, %rbx
	movq	_REF_ISSYMREF@GOTPCREL(%rip), %rax
	testl	%edx, (%rax)
	je	LBB0_3
## %bb.1:
	movq	_RESOLVE_REF_READING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_resolve_ref_unsafe
	testq	%rax, %rax
	je	LBB0_5
## %bb.2:
	movq	%rax, %rdi
	callq	_strip_namespace
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_4
LBB0_3:
	movq	%rsi, %rdi
	callq	_oid_to_hex
	leaq	L_.str.1(%rip), %rsi
LBB0_4:
	movq	%rbx, %rdi
	movl	%eax, %edx
	callq	_strbuf_addf
LBB0_5:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_REF_ISSYMREF,4,2               ## @REF_ISSYMREF
	.comm	_RESOLVE_REF_READING,4,2        ## @RESOLVE_REF_READING
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ref: %s\n"

L_.str.1:                               ## @.str.1
	.asciz	"%s\n"

	.no_dead_strip	_show_head_ref
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function show_head_ref
_show_head_ref:                         ; @show_head_ref
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x3
Lloh0:
	adrp	x8, _REF_ISSYMREF@GOTPAGE
Lloh1:
	ldr	x8, [x8, _REF_ISSYMREF@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w2
	b.eq	LBB0_3
; %bb.1:
Lloh3:
	adrp	x8, _RESOLVE_REF_READING@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RESOLVE_REF_READING@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x2, #0
	mov	x3, #0
	bl	_resolve_ref_unsafe
	cbz	x0, LBB0_5
; %bb.2:
	bl	_strip_namespace
	mov	x2, x0
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_4
LBB0_3:
	mov	x0, x1
	bl	_oid_to_hex
	mov	x2, x0
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_4:
	mov	x0, x19
	bl	_strbuf_addf
LBB0_5:
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_REF_ISSYMREF,4,2               ; @REF_ISSYMREF
	.comm	_RESOLVE_REF_READING,4,2        ; @RESOLVE_REF_READING
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ref: %s\n"

l_.str.1:                               ; @.str.1
	.asciz	"%s\n"

	.no_dead_strip	_show_head_ref
.subsections_via_symbols
