	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fill_oids_from_packs
_fill_oids_from_packs:                  ## @fill_oids_from_packs
	.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	%rsi, %r13
	movq	%rdi, %r14
	movq	_STRBUF_INIT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -56(%rbp)
	movq	%rax, -48(%rbp)
	movq	(%rdi), %rdx
	leaq	L_.str(%rip), %rsi
	leaq	-48(%rbp), %rdi
	callq	_strbuf_addf
	movl	-48(%rbp), %eax
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	cmpq	$0, 24(%r14)
	je	LBB0_2
## %bb.1:
	movq	(%r13), %rdx
	leaq	L_.str.1(%rip), %rdi
	leaq	L_.str.2(%rip), %rsi
	callq	_Q_
	movq	(%r13), %rdx
	leaq	-56(%rbp), %rdi
	movq	%rax, %rsi
	callq	_strbuf_addf
	movl	-52(%rbp), %edi
	xorl	%esi, %esi
	callq	_start_delayed_progress
	movl	%eax, 8(%r14)
	movq	$0, 16(%r14)
LBB0_2:
	cmpq	$0, (%r13)
	je	LBB0_10
## %bb.3:
	xorl	%r15d, %r15d
	leaq	-48(%rbp), %r12
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	movl	-60(%rbp), %esi                 ## 4-byte Reload
	callq	_strbuf_setlen
	movq	8(%r13), %rax
	movl	(%rax,%r15,4), %esi
	movq	%r12, %rdi
	callq	_strbuf_addstr
	movl	-48(%rbp), %esi
	movl	-44(%rbp), %edi
	movl	$1, %edx
	callq	_add_packed_git
	testq	%rax, %rax
	je	LBB0_5
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_open_pack_index
	testq	%rax, %rax
	jne	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	_add_packed_commits@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_FOR_EACH_OBJECT_PACK_ORDER@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	movq	%r14, %rdx
	callq	_for_each_object_in_pack
	movq	%rbx, %rdi
	callq	_close_pack
	movq	%rbx, %rdi
	callq	_free
	incq	%r15
	cmpq	(%r13), %r15
	jb	LBB0_4
LBB0_10:
	addq	$8, %r14
	movq	%r14, %rdi
	callq	_stop_progress
	leaq	-56(%rbp), %rdi
	callq	_strbuf_release
	leaq	-48(%rbp), %rdi
	callq	_strbuf_release
	xorl	%eax, %eax
	jmp	LBB0_11
LBB0_5:
	leaq	L_.str.3(%rip), %rdi
	jmp	LBB0_6
LBB0_8:
	leaq	L_.str.4(%rip), %rdi
LBB0_6:
	callq	__
	movl	-44(%rbp), %esi
	movl	%eax, %edi
	callq	_error
	movl	$-1, %eax
LBB0_11:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_STRBUF_INIT,8,2                ## @STRBUF_INIT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s/pack/"

L_.str.1:                               ## @.str.1
	.asciz	"Finding commits for commit graph in %d pack"

L_.str.2:                               ## @.str.2
	.asciz	"Finding commits for commit graph in %d packs"

L_.str.3:                               ## @.str.3
	.asciz	"error adding pack %s"

L_.str.4:                               ## @.str.4
	.asciz	"error opening index for %s"

	.comm	_add_packed_commits,4,2         ## @add_packed_commits
	.comm	_FOR_EACH_OBJECT_PACK_ORDER,4,2 ## @FOR_EACH_OBJECT_PACK_ORDER
	.no_dead_strip	_fill_oids_from_packs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fill_oids_from_packs
_fill_oids_from_packs:                  ; @fill_oids_from_packs
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.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
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _STRBUF_INIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _STRBUF_INIT@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stp	x8, x8, [sp]
	ldr	x2, [x0]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, sp
	bl	_strbuf_addf
	ldr	w21, [sp]
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	x2, [x20]
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_Q_
	mov	x1, x0
	ldr	x2, [x20]
	add	x0, sp, #8
	bl	_strbuf_addf
	ldr	w0, [sp, #12]
	mov	w1, #0
	bl	_start_delayed_progress
	str	w0, [x19, #8]
	str	xzr, [x19, #16]
LBB0_2:
	ldr	x8, [x20]
	cbz	x8, LBB0_7
; %bb.3:
	mov	x23, #0
Lloh9:
	adrp	x24, _add_packed_commits@GOTPAGE
Lloh10:
	ldr	x24, [x24, _add_packed_commits@GOTPAGEOFF]
Lloh11:
	adrp	x25, _FOR_EACH_OBJECT_PACK_ORDER@GOTPAGE
Lloh12:
	ldr	x25, [x25, _FOR_EACH_OBJECT_PACK_ORDER@GOTPAGEOFF]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, sp
	mov	x1, x21
	bl	_strbuf_setlen
	ldr	x8, [x20, #8]
	ldr	w1, [x8, x23, lsl #2]
	mov	x0, sp
	bl	_strbuf_addstr
	ldp	w1, w0, [sp]
	mov	w2, #1
	bl	_add_packed_git
	cbz	x0, LBB0_8
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x22, x0
	bl	_open_pack_index
	cbnz	x0, LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w1, [x24]
	ldr	w3, [x25]
	mov	x0, x22
	mov	x2, x19
	bl	_for_each_object_in_pack
	mov	x0, x22
	bl	_close_pack
	mov	x0, x22
	bl	_free
	add	x23, x23, #1
	ldr	x8, [x20]
	cmp	x23, x8
	b.lo	LBB0_4
LBB0_7:
	add	x0, x19, #8
	bl	_stop_progress
	add	x0, sp, #8
	bl	_strbuf_release
	mov	x0, sp
	bl	_strbuf_release
	mov	w0, #0
	b	LBB0_11
LBB0_8:
Lloh13:
	adrp	x0, l_.str.3@PAGE
Lloh14:
	add	x0, x0, l_.str.3@PAGEOFF
	b	LBB0_10
LBB0_9:
Lloh15:
	adrp	x0, l_.str.4@PAGE
Lloh16:
	add	x0, x0, l_.str.4@PAGEOFF
LBB0_10:
	bl	__
	ldr	w1, [sp, #4]
	bl	_error
	mov	w0, #-1
LBB0_11:
	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
	add	sp, sp, #96
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_STRBUF_INIT,8,2                ; @STRBUF_INIT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s/pack/"

l_.str.1:                               ; @.str.1
	.asciz	"Finding commits for commit graph in %d pack"

l_.str.2:                               ; @.str.2
	.asciz	"Finding commits for commit graph in %d packs"

l_.str.3:                               ; @.str.3
	.asciz	"error adding pack %s"

l_.str.4:                               ; @.str.4
	.asciz	"error opening index for %s"

	.comm	_add_packed_commits,4,2         ; @add_packed_commits
	.comm	_FOR_EACH_OBJECT_PACK_ORDER,4,2 ; @FOR_EACH_OBJECT_PACK_ORDER
	.no_dead_strip	_fill_oids_from_packs
.subsections_via_symbols
