	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_unlink_pack_path               ## -- Begin function unlink_pack_path
	.p2align	4, 0x90
_unlink_pack_path:                      ## @unlink_pack_path
	.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
	movl	%esi, %ebx
	movq	%rdi, %rsi
	movq	_STRBUF_INIT@GOTPCREL(%rip), %rax
	movups	(%rax), %xmm0
	movaps	%xmm0, -64(%rbp)
	leaq	-64(%rbp), %r14
	movq	%r14, %rdi
	callq	_strbuf_addstr
	movl	-56(%rbp), %edi
	leaq	L_.str(%rip), %rdx
	movq	%r14, %rsi
	callq	_strip_suffix_mem
	movq	-64(%rbp), %r15
	testl	%ebx, %ebx
	jne	LBB0_2
## %bb.1:
	leaq	L_.str.2(%rip), %rsi
	leaq	-64(%rbp), %rdi
	callq	_strbuf_addstr
	movl	-56(%rbp), %edi
	movq	_F_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_access
	testl	%eax, %eax
	je	LBB0_5
LBB0_2:
	leaq	_unlink_pack_path.exts(%rip), %r14
	movq	%r14, %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_5
## %bb.3:
	xorl	%r13d, %r13d
	leaq	-64(%rbp), %r12
	movq	%r14, %rbx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_strbuf_setlen
	movq	(%rbx), %rsi
	movq	%r12, %rdi
	callq	_strbuf_addstr
	movl	-56(%rbp), %edi
	callq	_unlink
	incq	%r13
	movq	%r14, %rdi
	callq	_ARRAY_SIZE
	cltq
	addq	$8, %rbx
	cmpq	%rax, %r13
	jl	LBB0_4
LBB0_5:
	leaq	-64(%rbp), %rdi
	callq	_strbuf_release
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__DATA,__data
	.p2align	4                               ## @unlink_pack_path.exts
_unlink_pack_path.exts:
	.quad	L_.str
	.quad	L_.str.1
	.quad	L_.str.2
	.quad	L_.str.3
	.quad	L_.str.4

	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	".pack"

L_.str.1:                               ## @.str.1
	.asciz	".idx"

L_.str.2:                               ## @.str.2
	.asciz	".keep"

L_.str.3:                               ## @.str.3
	.asciz	".bitmap"

L_.str.4:                               ## @.str.4
	.asciz	".promisor"

	.comm	_STRBUF_INIT,16,3               ## @STRBUF_INIT
	.comm	_F_OK,4,2                       ## @F_OK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_unlink_pack_path               ; -- Begin function unlink_pack_path
	.p2align	2
_unlink_pack_path:                      ; @unlink_pack_path
	.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, x1
	mov	x1, x0
Lloh0:
	adrp	x8, _STRBUF_INIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _STRBUF_INIT@GOTPAGEOFF]
Lloh2:
	ldr	q0, [x8]
	str	q0, [sp]
	mov	x0, sp
	bl	_strbuf_addstr
	ldr	w0, [sp, #8]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	mov	x1, sp
	bl	_strip_suffix_mem
	ldr	x19, [sp]
	cbnz	w20, LBB0_2
; %bb.1:
Lloh5:
	adrp	x1, l_.str.2@PAGE
Lloh6:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, sp
	bl	_strbuf_addstr
	ldr	w0, [sp, #8]
Lloh7:
	adrp	x8, _F_OK@GOTPAGE
Lloh8:
	ldr	x8, [x8, _F_OK@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	bl	_access
	cbz	w0, LBB0_5
LBB0_2:
Lloh10:
	adrp	x20, _unlink_pack_path.exts@PAGE
Lloh11:
	add	x20, x20, _unlink_pack_path.exts@PAGEOFF
	mov	x0, x20
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_5
; %bb.3:
	mov	x21, #0
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, sp
	mov	x1, x19
	bl	_strbuf_setlen
	ldr	x1, [x20, x21, lsl #3]
	mov	x0, sp
	bl	_strbuf_addstr
	ldr	w0, [sp, #8]
	bl	_unlink
	add	x21, x21, #1
	mov	x0, x20
	bl	_ARRAY_SIZE
	cmp	x21, w0, sxtw
	b.lt	LBB0_4
LBB0_5:
	mov	x0, sp
	bl	_strbuf_release
	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 AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.section	__DATA,__data
	.p2align	3                               ; @unlink_pack_path.exts
_unlink_pack_path.exts:
	.quad	l_.str
	.quad	l_.str.1
	.quad	l_.str.2
	.quad	l_.str.3
	.quad	l_.str.4

	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	".pack"

l_.str.1:                               ; @.str.1
	.asciz	".idx"

l_.str.2:                               ; @.str.2
	.asciz	".keep"

l_.str.3:                               ; @.str.3
	.asciz	".bitmap"

l_.str.4:                               ; @.str.4
	.asciz	".promisor"

	.comm	_STRBUF_INIT,16,3               ; @STRBUF_INIT
	.comm	_F_OK,4,2                       ; @F_OK
.subsections_via_symbols
