	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function check_ok_to_remove
_check_ok_to_remove:                    ## @check_ok_to_remove
	.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	%r9d, -44(%rbp)                 ## 4-byte Spill
	movq	%r8, %r14
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movl	%esi, %r12d
	movq	%rdi, %r13
	movq	16(%rbp), %rbx
	movl	%edx, -48(%rbp)
	movq	_ignore_case@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	movq	%r13, %rsi
	movl	%r12d, %edx
	movq	%r14, %rcx
	callq	_icase_exists
	xorl	%r15d, %r15d
	testq	%rax, %rax
	jne	LBB0_9
LBB0_2:
	movq	8(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.3:
	movl	4(%rbx), %esi
	leaq	-48(%rbp), %rcx
	movq	%r13, %rdx
	callq	_is_excluded
	xorl	%r15d, %r15d
	testq	%rax, %rax
	jne	LBB0_9
LBB0_4:
	movl	(%r14), %edi
	callq	_S_ISDIR
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_verify_clean_subdirectory
	movq	%rax, %r15
	sarq	$63, %r15
	jmp	LBB0_9
LBB0_6:
	xorl	%r15d, %r15d
	movq	%rbx, %rdi
	movq	%r13, %rsi
	movl	%r12d, %edx
	xorl	%ecx, %ecx
	callq	_index_file_exists
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	_CE_REMOVE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	jne	LBB0_9
LBB0_8:
	movq	%rbx, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movq	%r13, %rdx
	callq	_add_rejected_path
	movl	%eax, %r15d
LBB0_9:
	movl	%r15d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ignore_case,8,3                ## @ignore_case
	.comm	_CE_REMOVE,4,2                  ## @CE_REMOVE
	.no_dead_strip	_check_ok_to_remove
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function check_ok_to_remove
_check_ok_to_remove:                    ; @check_ok_to_remove
	.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
	mov	x19, x6
	mov	x20, x5
	mov	x24, x4
	mov	x23, x3
	mov	x22, x1
	mov	x21, x0
	str	w2, [sp, #12]
Lloh0:
	adrp	x8, _ignore_case@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ignore_case@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x0, x19
	mov	x1, x21
	mov	x2, x22
	mov	x3, x24
	bl	_icase_exists
	cbnz	x0, LBB0_4
LBB0_2:
	ldr	x0, [x19, #8]
	cbz	x0, LBB0_5
; %bb.3:
	ldr	w1, [x19, #4]
	add	x3, sp, #12
	mov	x2, x21
	bl	_is_excluded
	cbz	x0, LBB0_5
LBB0_4:
	mov	w0, #0
	b	LBB0_10
LBB0_5:
	ldr	w0, [x24]
	bl	_S_ISDIR
	cbz	x0, LBB0_7
; %bb.6:
	mov	x0, x23
	mov	x1, x19
	bl	_verify_clean_subdirectory
	asr	x0, x0, #63
	b	LBB0_10
LBB0_7:
	mov	x0, x19
	mov	x1, x21
	mov	x2, x22
	mov	w3, #0
	bl	_index_file_exists
	cbz	x0, LBB0_9
; %bb.8:
	ldr	w8, [x0]
Lloh3:
	adrp	x9, _CE_REMOVE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _CE_REMOVE@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_4
LBB0_9:
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	bl	_add_rejected_path
                                        ; kill: def $w0 killed $w0 def $x0
LBB0_10:
                                        ; kill: def $w0 killed $w0 killed $x0
	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 AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_ignore_case,8,3                ; @ignore_case
	.comm	_CE_REMOVE,4,2                  ; @CE_REMOVE
	.no_dead_strip	_check_ok_to_remove
.subsections_via_symbols
