	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_report_linked_checkout_garbage ## -- Begin function report_linked_checkout_garbage
	.p2align	4, 0x90
_report_linked_checkout_garbage:        ## @report_linked_checkout_garbage
	.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	_STRBUF_INIT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_the_repository@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpl	$0, (%rax)
	je	LBB0_8
## %bb.1:
	xorl	%eax, %eax
	callq	_get_git_dir
	leaq	L_.str(%rip), %rsi
	leaq	-48(%rbp), %rdi
	movl	%eax, %edx
	callq	_strbuf_addf
	movq	_common_list@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	(%rbx), %r12
	testq	%r12, %r12
	je	LBB0_7
## %bb.2:
	movl	-48(%rbp), %r14d
	addq	$16, %rbx
	leaq	-48(%rbp), %r15
	movq	_PACKDIR_FILE_GARBAGE@GOTPCREL(%rip), %r13
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	(%rbx), %r12
	addq	$16, %rbx
	testq	%r12, %r12
	je	LBB0_7
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	$0, -8(%rbx)
	jne	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_strbuf_setlen
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_strbuf_addstr
	movl	-44(%rbp), %edi
	callq	_file_exists
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	(%r13), %edi
	movl	-44(%rbp), %esi
	callq	_report_garbage
	jmp	LBB0_6
LBB0_7:
	leaq	-48(%rbp), %rdi
	callq	_strbuf_release
LBB0_8:
	addq	$8, %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
	.comm	_the_repository,8,3             ## @the_repository
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s/"

	.comm	_common_list,8,3                ## @common_list
	.comm	_PACKDIR_FILE_GARBAGE,4,2       ## @PACKDIR_FILE_GARBAGE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_report_linked_checkout_garbage ; -- Begin function report_linked_checkout_garbage
	.p2align	2
_report_linked_checkout_garbage:        ; @report_linked_checkout_garbage
	.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
Lloh0:
	adrp	x8, _STRBUF_INIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _STRBUF_INIT@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #8]
Lloh3:
	adrp	x8, _the_repository@GOTPAGE
Lloh4:
	ldr	x8, [x8, _the_repository@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	ldr	w8, [x8]
	cbz	w8, LBB0_8
; %bb.1:
	bl	_get_git_dir
	mov	x2, x0
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	add	x0, sp, #8
	bl	_strbuf_addf
Lloh8:
	adrp	x8, _common_list@GOTPAGE
Lloh9:
	ldr	x8, [x8, _common_list@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	ldr	x20, [x8]
	cbz	x20, LBB0_7
; %bb.2:
	ldr	w19, [sp, #8]
	add	x21, x8, #16
Lloh11:
	adrp	x22, _PACKDIR_FILE_GARBAGE@GOTPAGE
Lloh12:
	ldr	x22, [x22, _PACKDIR_FILE_GARBAGE@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x20, [x21], #16
	cbz	x20, LBB0_7
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldur	x8, [x21, #-8]
	cbnz	x8, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x0, sp, #8
	mov	x1, x19
	bl	_strbuf_setlen
	add	x0, sp, #8
	mov	x1, x20
	bl	_strbuf_addstr
	ldr	w0, [sp, #12]
	bl	_file_exists
	cbz	x0, LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x22]
	ldr	w1, [sp, #12]
	bl	_report_garbage
	b	LBB0_3
LBB0_7:
	add	x0, sp, #8
	bl	_strbuf_release
LBB0_8:
	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	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_STRBUF_INIT,8,2                ; @STRBUF_INIT
	.comm	_the_repository,8,3             ; @the_repository
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s/"

	.comm	_common_list,8,3                ; @common_list
	.comm	_PACKDIR_FILE_GARBAGE,4,2       ; @PACKDIR_FILE_GARBAGE
.subsections_via_symbols
