	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function remove_junk
_remove_junk:                           ## @remove_junk
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_STRBUF_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -16(%rbp)
	movq	_is_junk@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_7
## %bb.1:
	xorl	%eax, %eax
	callq	_getpid
	movq	_junk_pid@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.2:
	movq	_junk_git_dir@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	testq	%rsi, %rsi
	je	LBB0_4
## %bb.3:
	leaq	-16(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_strbuf_addstr
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_remove_dir_recursively
	movq	%rbx, %rdi
	callq	_strbuf_reset
LBB0_4:
	movq	_junk_work_tree@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	testq	%rsi, %rsi
	je	LBB0_6
## %bb.5:
	leaq	-16(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_strbuf_addstr
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_remove_dir_recursively
LBB0_6:
	leaq	-16(%rbp), %rdi
	callq	_strbuf_release
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_STRBUF_INIT,4,2                ## @STRBUF_INIT
	.comm	_is_junk,4,2                    ## @is_junk
	.comm	_junk_pid,8,3                   ## @junk_pid
	.comm	_junk_git_dir,8,3               ## @junk_git_dir
	.comm	_junk_work_tree,8,3             ## @junk_work_tree
	.no_dead_strip	_remove_junk
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function remove_junk
_remove_junk:                           ; @remove_junk
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _STRBUF_INIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _STRBUF_INIT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #8]
Lloh3:
	adrp	x8, _is_junk@GOTPAGE
Lloh4:
	ldr	x8, [x8, _is_junk@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cbz	w8, LBB0_7
; %bb.1:
	bl	_getpid
Lloh6:
	adrp	x8, _junk_pid@GOTPAGE
Lloh7:
	ldr	x8, [x8, _junk_pid@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_7
; %bb.2:
Lloh9:
	adrp	x8, _junk_git_dir@GOTPAGE
Lloh10:
	ldr	x8, [x8, _junk_git_dir@GOTPAGEOFF]
Lloh11:
	ldr	x1, [x8]
	cbz	x1, LBB0_4
; %bb.3:
	add	x0, sp, #8
	bl	_strbuf_addstr
	add	x0, sp, #8
	mov	w1, #0
	bl	_remove_dir_recursively
	add	x0, sp, #8
	bl	_strbuf_reset
LBB0_4:
Lloh12:
	adrp	x8, _junk_work_tree@GOTPAGE
Lloh13:
	ldr	x8, [x8, _junk_work_tree@GOTPAGEOFF]
Lloh14:
	ldr	x1, [x8]
	cbz	x1, LBB0_6
; %bb.5:
	add	x0, sp, #8
	bl	_strbuf_addstr
	add	x0, sp, #8
	mov	w1, #0
	bl	_remove_dir_recursively
LBB0_6:
	add	x0, sp, #8
	bl	_strbuf_release
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_STRBUF_INIT,4,2                ; @STRBUF_INIT
	.comm	_is_junk,4,2                    ; @is_junk
	.comm	_junk_pid,8,3                   ; @junk_pid
	.comm	_junk_git_dir,8,3               ; @junk_git_dir
	.comm	_junk_work_tree,8,3             ; @junk_work_tree
	.no_dead_strip	_remove_junk
.subsections_via_symbols
