	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function reflog_iterator_select
_reflog_iterator_select:                ## @reflog_iterator_select
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	movq	_ITER_SELECT_0@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %eax
	popq	%rbp
	retq
LBB0_2:
	testq	%rsi, %rsi
	je	LBB0_3
## %bb.4:
	movl	(%rsi), %edi
	callq	_ref_type
	movq	_REF_TYPE_NORMAL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.6:
	movq	_ITER_SELECT_1@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_3:
	movq	_ITER_DONE@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_5:
	movq	_ITER_SKIP_1@GOTPCREL(%rip), %rax
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_ITER_SELECT_0,4,2              ## @ITER_SELECT_0
	.comm	_REF_TYPE_NORMAL,8,3            ## @REF_TYPE_NORMAL
	.comm	_ITER_SELECT_1,4,2              ## @ITER_SELECT_1
	.comm	_ITER_SKIP_1,4,2                ## @ITER_SKIP_1
	.comm	_ITER_DONE,4,2                  ## @ITER_DONE
	.no_dead_strip	_reflog_iterator_select
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function reflog_iterator_select
_reflog_iterator_select:                ; @reflog_iterator_select
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _ITER_SELECT_0@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ITER_SELECT_0@GOTPAGEOFF]
	b	LBB0_5
LBB0_2:
	cbz	x1, LBB0_4
; %bb.3:
	ldr	w0, [x1]
	bl	_ref_type
Lloh2:
	adrp	x8, _REF_TYPE_NORMAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _REF_TYPE_NORMAL@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
Lloh5:
	adrp	x9, _ITER_SKIP_1@GOTPAGE
Lloh6:
	ldr	x9, [x9, _ITER_SKIP_1@GOTPAGEOFF]
Lloh7:
	adrp	x10, _ITER_SELECT_1@GOTPAGE
Lloh8:
	ldr	x10, [x10, _ITER_SELECT_1@GOTPAGEOFF]
	cmp	x0, x8
	csel	x8, x10, x9, eq
	b	LBB0_5
LBB0_4:
Lloh9:
	adrp	x8, _ITER_DONE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ITER_DONE@GOTPAGEOFF]
LBB0_5:
	ldr	w0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_ITER_SELECT_0,4,2              ; @ITER_SELECT_0
	.comm	_REF_TYPE_NORMAL,8,3            ; @REF_TYPE_NORMAL
	.comm	_ITER_SELECT_1,4,2              ; @ITER_SELECT_1
	.comm	_ITER_SKIP_1,4,2                ; @ITER_SKIP_1
	.comm	_ITER_DONE,4,2                  ; @ITER_DONE
	.no_dead_strip	_reflog_iterator_select
.subsections_via_symbols
