	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function loosen_unused_packed_objects
_loosen_unused_packed_objects:          ## @loosen_unused_packed_objects
	.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
	movq	_the_repository@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_get_all_packs
	testq	%rax, %rax
	je	LBB0_16
## %bb.1:
	movq	%rax, %rbx
	leaq	-48(%rbp), %r14
	movq	_to_pack@GOTPCREL(%rip), %r15
	leaq	L_.str(%rip), %r13
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	40(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_16
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_9 Depth 2
	cmpl	$0, 32(%rbx)
	je	LBB0_15
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$0, 24(%rbx)
	jne	LBB0_15
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$0, 16(%rbx)
	jne	LBB0_15
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	callq	_open_pack_index
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %rdi
	callq	__
	movl	%eax, %edi
	callq	_die
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$0, (%rbx)
	jle	LBB0_15
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%r12d, %r12d
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_9 Depth=2
	incq	%r12
	cmpq	(%rbx), %r12
	jge	LBB0_15
LBB0_9:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%r12, %rdx
	callq	_nth_packed_object_oid
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_packlist_find
	testl	%eax, %eax
	jne	LBB0_14
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=2
	movq	%r14, %rdi
	callq	_has_sha1_pack_kept_or_nonlocal
	testl	%eax, %eax
	jne	LBB0_14
## %bb.11:                              ##   in Loop: Header=BB0_9 Depth=2
	movl	8(%rbx), %esi
	movq	%r14, %rdi
	callq	_loosened_object_can_be_discarded
	testl	%eax, %eax
	jne	LBB0_14
## %bb.12:                              ##   in Loop: Header=BB0_9 Depth=2
	movl	8(%rbx), %esi
	movq	%r14, %rdi
	callq	_force_object_loose
	testq	%rax, %rax
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_9 Depth=2
	leaq	L_.str.1(%rip), %rdi
	callq	__
	movl	%eax, %edi
	callq	_die
	jmp	LBB0_14
LBB0_16:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_the_repository,4,2             ## @the_repository
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cannot open pack index"

	.comm	_to_pack,4,2                    ## @to_pack
L_.str.1:                               ## @.str.1
	.asciz	"unable to force loose object"

	.no_dead_strip	_loosen_unused_packed_objects
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function loosen_unused_packed_objects
_loosen_unused_packed_objects:          ; @loosen_unused_packed_objects
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
Lloh0:
	adrp	x8, _the_repository@GOTPAGE
Lloh1:
	ldr	x8, [x8, _the_repository@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_get_all_packs
	cbz	x0, LBB0_16
; %bb.1:
	mov	x19, x0
Lloh3:
	adrp	x20, _to_pack@GOTPAGE
Lloh4:
	ldr	x20, [x20, _to_pack@GOTPAGEOFF]
Lloh5:
	adrp	x21, l_.str.1@PAGE
Lloh6:
	add	x21, x21, l_.str.1@PAGEOFF
Lloh7:
	adrp	x22, l_.str@PAGE
Lloh8:
	add	x22, x22, l_.str@PAGEOFF
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x19, [x19, #40]
	cbz	x19, LBB0_16
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_11 Depth 2
	ldr	w8, [x19, #32]
	cbz	w8, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x19, #24]
	cbnz	x8, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x19, #16]
	cbnz	x8, LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x19
	bl	_open_pack_index
	cbz	x0, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x22
	bl	__
	bl	_die
LBB0_8:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x19]
	cmp	x8, #1
	b.lt	LBB0_2
; %bb.9:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x23, #0
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=2
	add	x23, x23, #1
	ldr	x8, [x19]
	cmp	x23, x8
	b.ge	LBB0_2
LBB0_11:                                ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	x0, sp, #8
	mov	x1, x19
	mov	x2, x23
	bl	_nth_packed_object_oid
	add	x1, sp, #8
	mov	x0, x20
	bl	_packlist_find
	cbnz	w0, LBB0_10
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=2
	add	x0, sp, #8
	bl	_has_sha1_pack_kept_or_nonlocal
	cbnz	w0, LBB0_10
; %bb.13:                               ;   in Loop: Header=BB0_11 Depth=2
	ldr	w1, [x19, #8]
	add	x0, sp, #8
	bl	_loosened_object_can_be_discarded
	cbnz	w0, LBB0_10
; %bb.14:                               ;   in Loop: Header=BB0_11 Depth=2
	ldr	w1, [x19, #8]
	add	x0, sp, #8
	bl	_force_object_loose
	cbz	x0, LBB0_10
; %bb.15:                               ;   in Loop: Header=BB0_11 Depth=2
	mov	x0, x21
	bl	__
	bl	_die
	b	LBB0_10
LBB0_16:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_the_repository,4,2             ; @the_repository
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cannot open pack index"

	.comm	_to_pack,4,2                    ; @to_pack
l_.str.1:                               ; @.str.1
	.asciz	"unable to force loose object"

	.no_dead_strip	_loosen_unused_packed_objects
.subsections_via_symbols
