	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function valid_cached_dir
_valid_cached_dir:                      ## @valid_cached_dir
	.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
	xorl	%r12d, %r12d
	testq	%rsi, %rsi
	je	LBB0_17
## %bb.1:
	movq	%rcx, %r14
	movq	%rdx, %r15
	movq	%rsi, %rbx
	movq	%rdi, %r13
	movl	%r8d, -52(%rbp)                 ## 4-byte Spill
	movq	%rdx, %rdi
	callq	_refresh_fsmonitor
	movq	(%r13), %rax
	cmpq	$0, (%rax)
	je	LBB0_3
## %bb.2:
	cmpl	$0, (%rbx)
	je	LBB0_3
LBB0_11:
	xorl	%eax, %eax
	cmpl	$0, -52(%rbp)                   ## 4-byte Folded Reload
	setne	%al
	cmpl	%eax, 4(%rbx)
	jne	LBB0_17
## %bb.12:
	movslq	8(%r14), %rcx
	movq	(%r14), %rdx
	testq	%rcx, %rcx
	je	LBB0_15
## %bb.13:
	cmpb	$47, -1(%rcx,%rdx)
	jne	LBB0_14
LBB0_15:
	movq	%r13, %rdi
	movq	%r15, %rsi
                                        ## kill: def $ecx killed $ecx killed $rcx
	callq	_prep_exclude
	jmp	LBB0_16
LBB0_3:
	cmpl	$0, 8(%r14)
	je	LBB0_4
## %bb.5:
	movq	(%r14), %rdi
	jmp	LBB0_6
LBB0_4:
	leaq	L_.str(%rip), %rdi
LBB0_6:
	leaq	-48(%rbp), %rsi
	callq	_lstat
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	addq	$8, %rbx
	xorl	%r12d, %r12d
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	jmp	LBB0_17
LBB0_8:
	cmpl	$0, (%rbx)
	je	LBB0_10
## %bb.9:
	leaq	8(%rbx), %rsi
	leaq	-48(%rbp), %rdx
	movq	%r15, %rdi
	callq	_match_stat_data_racy
	testq	%rax, %rax
	je	LBB0_11
LBB0_10:
	addq	$8, %rbx
	leaq	-48(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_fill_stat_data
	jmp	LBB0_17
LBB0_14:
	movq	%r14, %rdi
	movl	$47, %esi
	callq	_strbuf_addch
	movq	(%r14), %rdx
	movl	8(%r14), %ecx
	movq	%r13, %rdi
	movq	%r15, %rsi
	callq	_prep_exclude
	movl	8(%r14), %esi
	decl	%esi
	movq	%r14, %rdi
	callq	_strbuf_setlen
LBB0_16:
	movl	(%rbx), %r12d
LBB0_17:
	movl	%r12d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"."

	.no_dead_strip	_valid_cached_dir
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function valid_cached_dir
_valid_cached_dir:                      ; @valid_cached_dir
	.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
	cbz	x1, LBB0_15
; %bb.1:
	mov	x23, x4
	mov	x20, x3
	mov	x21, x2
	mov	x19, x1
	mov	x22, x0
	mov	x0, x2
	bl	_refresh_fsmonitor
	ldr	x8, [x22]
	ldr	x8, [x8]
	cbz	x8, LBB0_7
; %bb.2:
	ldr	w8, [x19]
	cbz	w8, LBB0_7
LBB0_3:
	ldr	w8, [x19, #4]
	cmp	w23, #0
	cset	w9, ne
	cmp	w8, w9
	b.ne	LBB0_15
; %bb.4:
	ldrsw	x3, [x20, #8]
	ldr	x2, [x20]
	cbz	w3, LBB0_6
; %bb.5:
	add	x8, x3, x2
	ldurb	w8, [x8, #-1]
	cmp	w8, #47
	b.ne	LBB0_17
LBB0_6:
	mov	x0, x22
	mov	x1, x21
                                        ; kill: def $w3 killed $w3 killed $x3
	bl	_prep_exclude
	b	LBB0_18
LBB0_7:
	ldr	w8, [x20, #8]
	cbz	w8, LBB0_9
; %bb.8:
	ldr	x0, [x20]
	b	LBB0_10
LBB0_9:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
LBB0_10:
	add	x1, sp, #8
	bl	_lstat
	cbz	x0, LBB0_12
; %bb.11:
	add	x0, x19, #8
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	mov	w0, #0
	b	LBB0_16
LBB0_12:
	ldr	w8, [x19]
	cbz	w8, LBB0_14
; %bb.13:
	add	x1, x19, #8
	add	x2, sp, #8
	mov	x0, x21
	bl	_match_stat_data_racy
	cbz	x0, LBB0_3
LBB0_14:
	add	x0, x19, #8
	add	x1, sp, #8
	bl	_fill_stat_data
LBB0_15:
	mov	w0, #0
LBB0_16:
	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
LBB0_17:
	mov	x0, x20
	mov	w1, #47
	bl	_strbuf_addch
	ldr	x2, [x20]
	ldr	w3, [x20, #8]
	mov	x0, x22
	mov	x1, x21
	bl	_prep_exclude
	ldr	w8, [x20, #8]
	sub	w1, w8, #1
	mov	x0, x20
	bl	_strbuf_setlen
LBB0_18:
	ldr	w0, [x19]
	b	LBB0_16
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"."

	.no_dead_strip	_valid_cached_dir
.subsections_via_symbols
