	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function files_ref_iterator_begin
_files_ref_iterator_begin:              ## @files_ref_iterator_begin
	.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
	movl	%edx, %r14d
	movq	%rsi, %r15
	movq	_REF_STORE_READ@GOTPCREL(%rip), %rax
	movq	_DO_FOR_EACH_INCLUDE_BROKEN@GOTPCREL(%rip), %r13
	movl	(%r13), %ecx
	movl	$0, %esi
	andl	%edx, %ecx
	jne	LBB0_2
## %bb.1:
	movq	_REF_STORE_ODB@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
LBB0_2:
	orl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	callq	_files_downcast
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_get_loose_ref_cache
	movl	%eax, %edi
	movq	%r15, %rsi
	movl	$1, %edx
	callq	_cache_ref_iterator_begin
	movq	%rax, %r12
	movl	(%rbx), %edi
	movl	(%r13), %ecx
	movq	%r15, %rsi
	xorl	%edx, %edx
	callq	_refs_ref_iterator_begin
	movq	%r12, %rdi
	movq	%rax, %rsi
	callq	_overlay_ref_iterator_begin
	movq	%rax, %r15
	movl	$1, %edi
	movl	$24, %esi
	callq	_xcalloc
	movq	%rax, %rbx
	leaq	16(%rax), %r12
	movl	(%r15), %edx
	movq	_files_ref_iterator_vtable@GOTPCREL(%rip), %rsi
	movq	%r12, %rdi
	callq	_base_ref_iterator_init
	movq	%r15, 8(%rbx)
	movl	%r14d, (%rbx)
	movq	%r12, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_REF_STORE_READ,4,2             ## @REF_STORE_READ
	.comm	_DO_FOR_EACH_INCLUDE_BROKEN,4,2 ## @DO_FOR_EACH_INCLUDE_BROKEN
	.comm	_REF_STORE_ODB,4,2              ## @REF_STORE_ODB
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ref_iterator_begin"

	.comm	_files_ref_iterator_vtable,4,2  ## @files_ref_iterator_vtable
	.no_dead_strip	_files_ref_iterator_begin
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function files_ref_iterator_begin
_files_ref_iterator_begin:              ; @files_ref_iterator_begin
	.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	x20, x1
Lloh0:
	adrp	x8, _REF_STORE_READ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _REF_STORE_READ@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x23, _DO_FOR_EACH_INCLUDE_BROKEN@GOTPAGE
Lloh4:
	ldr	x23, [x23, _DO_FOR_EACH_INCLUDE_BROKEN@GOTPAGEOFF]
	ldr	w9, [x23]
Lloh5:
	adrp	x10, _REF_STORE_ODB@GOTPAGE
Lloh6:
	ldr	x10, [x10, _REF_STORE_ODB@GOTPAGEOFF]
Lloh7:
	ldr	w10, [x10]
	tst	w9, w2
	csel	w9, w10, wzr, eq
	orr	w1, w9, w8
Lloh8:
	adrp	x2, l_.str@PAGE
Lloh9:
	add	x2, x2, l_.str@PAGEOFF
	bl	_files_downcast
	mov	x21, x0
	bl	_get_loose_ref_cache
	mov	x1, x20
	mov	w2, #1
	bl	_cache_ref_iterator_begin
	mov	x22, x0
	ldr	w0, [x21]
	ldr	w3, [x23]
	mov	x1, x20
	mov	w2, #0
	bl	_refs_ref_iterator_begin
	mov	x1, x0
	mov	x0, x22
	bl	_overlay_ref_iterator_begin
	mov	x20, x0
	mov	w0, #1
	mov	w1, #24
	bl	_xcalloc
	mov	x21, x0
	add	x22, x0, #16
	ldr	w2, [x20]
Lloh10:
	adrp	x1, _files_ref_iterator_vtable@GOTPAGE
Lloh11:
	ldr	x1, [x1, _files_ref_iterator_vtable@GOTPAGEOFF]
	mov	x0, x22
	bl	_base_ref_iterator_init
	str	x20, [x21, #8]
	str	w19, [x21]
	mov	x0, x22
	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 AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_REF_STORE_READ,4,2             ; @REF_STORE_READ
	.comm	_DO_FOR_EACH_INCLUDE_BROKEN,4,2 ; @DO_FOR_EACH_INCLUDE_BROKEN
	.comm	_REF_STORE_ODB,4,2              ; @REF_STORE_ODB
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ref_iterator_begin"

	.comm	_files_ref_iterator_vtable,4,2  ; @files_ref_iterator_vtable
	.no_dead_strip	_files_ref_iterator_begin
.subsections_via_symbols
