	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_refs_peel_ref                  ## -- Begin function refs_peel_ref
	.p2align	4, 0x90
_refs_peel_ref:                         ## @refs_peel_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
	subq	$24, %rsp
	.cfi_offset %rbx, -24
	movq	%rdx, %rbx
	movq	_current_ref_iter@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	cmpq	%rsi, (%rax)
	je	LBB0_2
LBB0_4:
	movq	_RESOLVE_REF_READING@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-24(%rbp), %rcx
	leaq	-28(%rbp), %r8
	callq	_refs_read_ref_full
	movq	%rax, %rcx
	movl	$-1, %eax
	testq	%rcx, %rcx
	jne	LBB0_6
## %bb.5:
	leaq	-24(%rbp), %rdi
	movq	%rbx, %rsi
	callq	_peel_object
	jmp	LBB0_6
LBB0_2:
	leaq	-16(%rbp), %rsi
	movq	%rax, %rdi
	callq	_ref_iterator_peel
	movq	%rax, %rcx
	movl	$-1, %eax
	testq	%rcx, %rcx
	jne	LBB0_6
## %bb.3:
	leaq	-16(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_oidcpy
	xorl	%eax, %eax
LBB0_6:
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_current_ref_iter,8,3           ## @current_ref_iter
	.comm	_RESOLVE_REF_READING,4,2        ## @RESOLVE_REF_READING
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_refs_peel_ref                  ; -- Begin function refs_peel_ref
	.p2align	2
_refs_peel_ref:                         ; @refs_peel_ref
	.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, x2
Lloh0:
	adrp	x8, _current_ref_iter@GOTPAGE
Lloh1:
	ldr	x8, [x8, _current_ref_iter@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	x9, [x8]
	cmp	x9, x1
	b.eq	LBB0_4
LBB0_2:
Lloh3:
	adrp	x8, _RESOLVE_REF_READING@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RESOLVE_REF_READING@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	add	x3, sp, #8
	add	x4, sp, #12
	bl	_refs_read_ref_full
	cbnz	x0, LBB0_5
; %bb.3:
	add	x0, sp, #8
	mov	x1, x19
	bl	_peel_object
	b	LBB0_6
LBB0_4:
	mov	x1, sp
	mov	x0, x8
	bl	_ref_iterator_peel
	cbz	x0, LBB0_7
LBB0_5:
	mov	w0, #-1
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_7:
	mov	x1, sp
	mov	x0, x19
	bl	_oidcpy
	mov	w0, #0
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_current_ref_iter,8,3           ; @current_ref_iter
	.comm	_RESOLVE_REF_READING,4,2        ; @RESOLVE_REF_READING
.subsections_via_symbols
