	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cached_stats
_cached_stats:                          ## @cached_stats
	.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	%rdx, -48(%rbp)                 ## 8-byte Spill
	movl	$-1, %ebx
	testq	%rsi, %rsi
	je	LBB0_20
## %bb.1:
	movq	%rsi, %r15
	cmpb	$0, (%rsi)
	je	LBB0_20
## %bb.2:
	movl	%ecx, %r14d
	movq	%rdi, %r13
	movq	%r15, %rsi
	callq	_Hash_FindEntry
	movq	%rax, %r12
	testq	%rax, %rax
	je	LBB0_6
## %bb.3:
	movq	_CST_UPDATE@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_4
LBB0_6:
	movq	_CST_LSTAT@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_8
## %bb.7:
	movq	%r15, %rdi
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rsi
	callq	_lstat
	cmpl	$-1, %eax
	jne	LBB0_10
	jmp	LBB0_20
LBB0_8:
	movq	%r15, %rdi
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rsi
	callq	_stat
	cmpl	$-1, %eax
	je	LBB0_20
LBB0_10:
	cmpl	$0, (%r14)
	je	LBB0_11
## %bb.12:
	testq	%r12, %r12
	je	LBB0_13
LBB0_14:
	movq	(%r12), %rax
	testq	%rax, %rax
	jne	LBB0_16
## %bb.15:
	movl	$8, %edi
	callq	_bmake_malloc
	movq	%rax, (%r12)
LBB0_16:
	movl	(%r14), %ecx
	movl	%ecx, (%rax)
	movl	4(%r14), %ecx
	movl	%ecx, 4(%rax)
	movq	_DIR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_DEBUG
	testq	%rax, %rax
	je	LBB0_19
## %bb.17:
	leaq	L_.str.1(%rip), %r14
	jmp	LBB0_18
LBB0_4:
	movq	(%r12), %r14
	xorl	%ebx, %ebx
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	movl	(%r14), %eax
	movl	%eax, (%r12)
	movl	4(%r14), %eax
	movl	%eax, 4(%r12)
	movq	_DIR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_DEBUG
	testq	%rax, %rax
	je	LBB0_20
## %bb.5:
	leaq	L_.str(%rip), %r14
LBB0_18:
	movq	_debug_file@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	callq	_Targ_FmtTime
	movl	%ebx, %edi
	movq	%r14, %rsi
	movq	%rax, %rdx
	movq	%r15, %rcx
	callq	_fprintf
LBB0_19:
	xorl	%ebx, %ebx
LBB0_20:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	movl	$1, (%r14)
	testq	%r12, %r12
	jne	LBB0_14
LBB0_13:
	movq	%r13, %rdi
	movq	%r15, %rsi
	xorl	%edx, %edx
	callq	_Hash_CreateEntry
	movq	%rax, %r12
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.comm	_CST_UPDATE,4,2                 ## @CST_UPDATE
	.comm	_DIR,4,2                        ## @DIR
	.comm	_debug_file,4,2                 ## @debug_file
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Using cached time %s for %s\n"

	.comm	_CST_LSTAT,4,2                  ## @CST_LSTAT
L_.str.1:                               ## @.str.1
	.asciz	"   Caching %s for %s\n"

	.no_dead_strip	_cached_stats
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cached_stats
_cached_stats:                          ; @cached_stats
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	cbz	x1, LBB0_6
; %bb.1:
	mov	x19, x1
	ldrb	w8, [x1]
	cbz	w8, LBB0_6
; %bb.2:
	mov	x23, x3
	mov	x20, x2
	mov	x22, x0
	mov	x1, x19
	bl	_Hash_FindEntry
	mov	x21, x0
	cbz	x0, LBB0_4
; %bb.3:
Lloh0:
	adrp	x8, _CST_UPDATE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CST_UPDATE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w23
	b.eq	LBB0_13
LBB0_4:
Lloh3:
	adrp	x8, _CST_LSTAT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CST_LSTAT@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	mov	x0, x19
	mov	x1, x20
	tst	w8, w23
	b.eq	LBB0_7
; %bb.5:
	bl	_lstat
	cmn	w0, #1
	b.ne	LBB0_8
	b	LBB0_16
LBB0_6:
	mov	w0, #-1
	b	LBB0_16
LBB0_7:
	bl	_stat
	cmn	w0, #1
	b.eq	LBB0_16
LBB0_8:
	ldr	w8, [x20]
	cbz	w8, LBB0_17
; %bb.9:
	cbz	x21, LBB0_18
LBB0_10:
	ldr	x0, [x21]
	cbz	x0, LBB0_19
LBB0_11:
	ldr	d0, [x20]
	str	d0, [x0]
Lloh6:
	adrp	x8, _DIR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DIR@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_DEBUG
	cbz	x0, LBB0_16
; %bb.12:
Lloh9:
	adrp	x21, l_.str.1@PAGE
Lloh10:
	add	x21, x21, l_.str.1@PAGEOFF
	b	LBB0_15
LBB0_13:
	ldr	x21, [x21]
	mov	x0, x20
	mov	w1, #0
	mov	w2, #8
	bl	_memset
	ldr	d0, [x21]
	str	d0, [x20]
Lloh11:
	adrp	x8, _DIR@GOTPAGE
Lloh12:
	ldr	x8, [x8, _DIR@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	bl	_DEBUG
	cbz	x0, LBB0_16
; %bb.14:
Lloh14:
	adrp	x21, l_.str@PAGE
Lloh15:
	add	x21, x21, l_.str@PAGEOFF
LBB0_15:
Lloh16:
	adrp	x8, _debug_file@GOTPAGE
Lloh17:
	ldr	x8, [x8, _debug_file@GOTPAGEOFF]
Lloh18:
	ldr	w22, [x8]
	ldr	w0, [x20]
	bl	_Targ_FmtTime
	mov	x2, x0
	mov	x0, x22
	mov	x1, x21
	mov	x3, x19
	bl	_fprintf
	mov	w0, #0
LBB0_16:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_17:
	mov	w8, #1
	str	w8, [x20]
	cbnz	x21, LBB0_10
LBB0_18:
	mov	x0, x22
	mov	x1, x19
	mov	x2, #0
	bl	_Hash_CreateEntry
	mov	x21, x0
	ldr	x0, [x21]
	cbnz	x0, LBB0_11
LBB0_19:
	mov	w0, #8
	bl	_bmake_malloc
	str	x0, [x21]
	b	LBB0_11
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_CST_UPDATE,4,2                 ; @CST_UPDATE
	.comm	_DIR,4,2                        ; @DIR
	.comm	_debug_file,4,2                 ; @debug_file
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Using cached time %s for %s\n"

	.comm	_CST_LSTAT,4,2                  ; @CST_LSTAT
l_.str.1:                               ; @.str.1
	.asciz	"   Caching %s for %s\n"

	.no_dead_strip	_cached_stats
.subsections_via_symbols
