	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ref_to_str
_ref_to_str:                            ## @ref_to_str
	.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	%rdx, %r15
	movq	%rsi, %r12
	movl	%edi, %ebx
	callq	_CTF_NAME_OFFSET
	movq	%rax, %r14
	movslq	(%r12), %r13
	addq	(%r15), %r13
	movl	%ebx, %edi
	callq	_CTF_NAME_STID
	movq	_CTF_STRTAB_0@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.2:
	cmpq	8(%r12), %r14
	jae	LBB0_3
## %bb.4:
	movslq	(%r12), %rax
	addq	%r14, %rax
	cmpq	8(%r15), %rax
	jae	LBB0_5
## %bb.6:
	addq	%r14, %r13
	cmpb	$0, (%r13)
	leaq	L_.str.3(%rip), %rax
	cmovneq	%r13, %rax
	jmp	LBB0_7
LBB0_1:
	leaq	L_.str(%rip), %rax
	jmp	LBB0_7
LBB0_3:
	leaq	L_.str.1(%rip), %rax
	jmp	LBB0_7
LBB0_5:
	leaq	L_.str.2(%rip), %rax
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CTF_STRTAB_0,8,3               ## @CTF_STRTAB_0
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"<< ??? - name in external strtab >>"

L_.str.1:                               ## @.str.1
	.asciz	"<< ??? - name exceeds strlab len >>"

L_.str.2:                               ## @.str.2
	.asciz	"<< ??? - file truncated >>"

L_.str.3:                               ## @.str.3
	.asciz	"(anon)"

	.no_dead_strip	_ref_to_str
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ref_to_str
_ref_to_str:                            ; @ref_to_str
	.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, x2
	mov	x21, x1
	mov	x22, x0
	bl	_CTF_NAME_OFFSET
	mov	x20, x0
	ldr	x23, [x19]
	ldrsw	x24, [x21]
	mov	x0, x22
	bl	_CTF_NAME_STID
Lloh0:
	adrp	x8, _CTF_STRTAB_0@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CTF_STRTAB_0@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_4
; %bb.1:
	ldr	x8, [x21, #8]
	cmp	x20, x8
	b.hs	LBB0_5
; %bb.2:
	ldrsw	x8, [x21]
	ldr	x9, [x19, #8]
	add	x8, x20, x8
	cmp	x8, x9
	b.hs	LBB0_6
; %bb.3:
	add	x8, x23, x24
	add	x8, x8, x20
	ldrb	w9, [x8]
Lloh3:
	adrp	x10, l_.str.3@PAGE
Lloh4:
	add	x10, x10, l_.str.3@PAGEOFF
	cmp	w9, #0
	csel	x0, x10, x8, eq
	b	LBB0_7
LBB0_4:
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_7
LBB0_5:
Lloh7:
	adrp	x0, l_.str.1@PAGE
Lloh8:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_7
LBB0_6:
Lloh9:
	adrp	x0, l_.str.2@PAGE
Lloh10:
	add	x0, x0, l_.str.2@PAGEOFF
LBB0_7:
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_CTF_STRTAB_0,8,3               ; @CTF_STRTAB_0
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"<< ??? - name in external strtab >>"

l_.str.1:                               ; @.str.1
	.asciz	"<< ??? - name exceeds strlab len >>"

l_.str.2:                               ; @.str.2
	.asciz	"<< ??? - file truncated >>"

l_.str.3:                               ; @.str.3
	.asciz	"(anon)"

	.no_dead_strip	_ref_to_str
.subsections_via_symbols
