	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function add_extra_kept_packs
_add_extra_kept_packs:                  ## @add_extra_kept_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpl	$0, (%rdi)
	je	LBB0_11
## %bb.1:
	movq	%rdi, %r15
	movq	_the_repository@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_get_all_packs
	testq	%rax, %rax
	je	LBB0_11
## %bb.2:
	movq	%rax, %r14
	movq	_ignore_packed_keep_in_core@GOTPCREL(%rip), %r12
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	16(%r14), %r14
	testq	%r14, %r14
	je	LBB0_11
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
	movl	8(%r14), %edi
	callq	_basename
	cmpl	$0, 4(%r14)
	je	LBB0_10
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rax, %r13
	movl	(%r15), %eax
	xorl	%ebx, %ebx
	testl	%eax, %eax
	jle	LBB0_8
	.p2align	4, 0x90
LBB0_5:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	8(%r15), %rax
	movl	(%rax,%rbx,4), %esi
	movq	%r13, %rdi
	callq	_fspathcmp
	testl	%eax, %eax
	je	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=2
	incq	%rbx
	movslq	(%r15), %rax
	cmpq	%rax, %rbx
	jl	LBB0_5
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	cmpl	%eax, %ebx
	jge	LBB0_10
	jmp	LBB0_9
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	(%r15), %eax
	cmpl	%eax, %ebx
	jge	LBB0_10
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	$1, (%r14)
	movl	$1, (%r12)
	jmp	LBB0_10
LBB0_11:
	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
	.comm	_ignore_packed_keep_in_core,4,2 ## @ignore_packed_keep_in_core
	.no_dead_strip	_add_extra_kept_packs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function add_extra_kept_packs
_add_extra_kept_packs:                  ; @add_extra_kept_packs
	.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
	ldr	w8, [x0]
	cbz	w8, LBB0_13
; %bb.1:
	mov	x19, x0
Lloh0:
	adrp	x8, _the_repository@GOTPAGE
Lloh1:
	ldr	x8, [x8, _the_repository@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_get_all_packs
	cbz	x0, LBB0_13
; %bb.2:
	mov	x20, x0
	mov	w22, #1
Lloh3:
	adrp	x23, _ignore_packed_keep_in_core@GOTPAGE
Lloh4:
	ldr	x23, [x23, _ignore_packed_keep_in_core@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x20, [x20, #16]
	cbz	x20, LBB0_13
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
	ldr	w0, [x20, #8]
	bl	_basename
	ldr	w8, [x20, #4]
	cbz	w8, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x21, x0
	mov	x24, #0
LBB0_7:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x19, #8]
	ldr	w1, [x8, x24, lsl #2]
	mov	x0, x21
	bl	_fspathcmp
	cbz	w0, LBB0_11
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=2
	add	x24, x24, #1
	ldrsw	x8, [x19]
	cmp	x24, x8
	b.lt	LBB0_7
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	w24, #0
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w24, w8
	b.ge	LBB0_3
	b	LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x19]
	cmp	w24, w8
	b.ge	LBB0_3
LBB0_12:                                ;   in Loop: Header=BB0_4 Depth=1
	str	w22, [x20]
	str	w22, [x23]
	b	LBB0_3
LBB0_13:
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_the_repository,4,2             ; @the_repository
	.comm	_ignore_packed_keep_in_core,4,2 ; @ignore_packed_keep_in_core
	.no_dead_strip	_add_extra_kept_packs
.subsections_via_symbols
