	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_odb_loose_cache                ## -- Begin function odb_loose_cache
	.p2align	4, 0x90
_odb_loose_cache:                       ## @odb_loose_cache
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	(%rsi), %rax
	movslq	(%rax), %rbx
	movq	_STRBUF_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -40(%rbp)
	testq	%rbx, %rbx
	js	LBB0_2
## %bb.1:
	movq	(%r14), %rdi
	callq	_ARRAY_SIZE
	cmpl	%eax, %ebx
	jl	LBB0_3
LBB0_2:
	leaq	L_.str(%rip), %rdi
	callq	_BUG
LBB0_3:
	movq	(%r14), %rax
	cmpl	$0, (%rax,%rbx,4)
	je	LBB0_5
## %bb.4:
	addq	$8, %r14
	jmp	LBB0_6
LBB0_5:
	movl	16(%r14), %esi
	leaq	-40(%rbp), %r15
	movq	%r15, %rdi
	callq	_strbuf_addstr
	movq	_append_loose_object@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	8(%r14), %r12
	leaq	(,%rbx,4), %r9
	addq	8(%r14), %r9
	movl	%ebx, %edi
	movq	%r15, %rsi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_for_each_file_in_obj_subdir
	movq	(%r14), %rax
	movl	$1, (%rax,%rbx,4)
	movq	%r15, %rdi
	callq	_strbuf_release
	movq	%r12, %r14
LBB0_6:
	shlq	$2, %rbx
	addq	(%r14), %rbx
	movq	%rbx, %rax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_STRBUF_INIT,4,2                ## @STRBUF_INIT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"subdir_nr out of range"

	.comm	_append_loose_object,4,2        ## @append_loose_object
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_odb_loose_cache                ; -- Begin function odb_loose_cache
	.p2align	2
_odb_loose_cache:                       ; @odb_loose_cache
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x20, x0
	ldr	x8, [x1]
	ldrsw	x19, [x8]
Lloh0:
	adrp	x8, _STRBUF_INIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _STRBUF_INIT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #8]
	tbnz	w19, #31, LBB0_2
; %bb.1:
	ldr	x0, [x20]
	bl	_ARRAY_SIZE
	cmp	w19, w0
	b.lt	LBB0_3
LBB0_2:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_BUG
LBB0_3:
	ldr	x8, [x20]
	ldr	w8, [x8, x19, lsl #2]
	cbz	w8, LBB0_5
; %bb.4:
	add	x21, x20, #8
	b	LBB0_6
LBB0_5:
	ldr	w1, [x20, #16]
	add	x0, sp, #8
	bl	_strbuf_addstr
Lloh5:
	adrp	x8, _append_loose_object@GOTPAGE
Lloh6:
	ldr	x8, [x8, _append_loose_object@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	mov	x21, x20
	ldr	x8, [x21, #8]!
	lsl	x22, x19, #2
	add	x5, x8, x22
	add	x1, sp, #8
	mov	x0, x19
	mov	x3, #0
	mov	x4, #0
	bl	_for_each_file_in_obj_subdir
	ldr	x8, [x20]
	mov	w9, #1
	str	w9, [x8, x22]
	add	x0, sp, #8
	bl	_strbuf_release
LBB0_6:
	ldr	x8, [x21]
	add	x0, x8, x19, lsl #2
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_STRBUF_INIT,4,2                ; @STRBUF_INIT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"subdir_nr out of range"

	.comm	_append_loose_object,4,2        ; @append_loose_object
.subsections_via_symbols
