	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_do_for_each_repo_ref_iterator  ## -- Begin function do_for_each_repo_ref_iterator
	.p2align	4, 0x90
_do_for_each_repo_ref_iterator:         ## @do_for_each_repo_ref_iterator
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r12
	movq	%rsi, %rbx
	movq	%rdi, %r13
	movq	_current_ref_iter@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movq	%rsi, (%rax)
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_ref_iterator_advance
	movl	%eax, %r14d
	movq	_ITER_OK@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r14d
	jne	LBB0_2
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	8(%rbx), %esi
	movl	(%rbx), %ecx
	movl	4(%rbx), %edx
	movq	%r13, %rdi
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	callq	*%r12
	testl	%eax, %eax
	je	LBB0_1
## %bb.4:
	movl	%eax, %r15d
	movq	%rbx, %rdi
	callq	_ref_iterator_abort
	jmp	LBB0_5
LBB0_2:
	xorl	%r15d, %r15d
LBB0_5:
	movq	_ITER_ERROR@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r14d
	movq	_current_ref_iter@GOTPCREL(%rip), %rax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, (%rax)
	movl	$-1, %eax
	cmovnel	%r15d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_current_ref_iter,8,3           ## @current_ref_iter
	.comm	_ITER_OK,4,2                    ## @ITER_OK
	.comm	_ITER_ERROR,4,2                 ## @ITER_ERROR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_do_for_each_repo_ref_iterator  ; -- Begin function do_for_each_repo_ref_iterator
	.p2align	2
_do_for_each_repo_ref_iterator:         ; @do_for_each_repo_ref_iterator
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x3
	mov	x22, x2
	mov	x20, x1
	mov	x23, x0
Lloh0:
	adrp	x25, _current_ref_iter@GOTPAGE
Lloh1:
	ldr	x25, [x25, _current_ref_iter@GOTPAGEOFF]
	ldr	x26, [x25]
	str	x1, [x25]
Lloh2:
	adrp	x27, _ITER_OK@GOTPAGE
Lloh3:
	ldr	x27, [x27, _ITER_OK@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_ref_iterator_advance
	mov	x19, x0
	ldr	w8, [x27]
	cmp	w0, w8
	b.ne	LBB0_4
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	ldp	w2, w1, [x20, #4]
	ldr	w3, [x20]
	mov	x0, x23
	mov	x4, x21
	blr	x22
	cbz	w0, LBB0_1
; %bb.3:
	mov	x24, x0
	mov	x0, x20
	bl	_ref_iterator_abort
	b	LBB0_5
LBB0_4:
	mov	w24, #0
LBB0_5:
	str	x26, [x25]
Lloh4:
	adrp	x8, _ITER_ERROR@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ITER_ERROR@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	cmp	w19, w8
	csinv	w0, w24, wzr, ne
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_current_ref_iter,8,3           ; @current_ref_iter
	.comm	_ITER_OK,4,2                    ; @ITER_OK
	.comm	_ITER_ERROR,4,2                 ; @ITER_ERROR
.subsections_via_symbols
