	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cache_local_copy_get_flags     ## -- Begin function cache_local_copy_get_flags
	.p2align	4, 0x90
_cache_local_copy_get_flags:            ## @cache_local_copy_get_flags
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_CACHE_LOCAL_COPY_FLAG_TEMPORARLY_UNAVAILABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%eax, %eax
	testl	%ecx, (%rdi)
	je	LBB0_1
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	%rsi, %r14
	movq	%rdi, %r15
	callq	_cache_local_copy_compute_packed_location
	movq	_CACHE_LOCAL_COPY_FLAG_YELLOW_LIGHT_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	andl	(%r15), %ebx
	leaq	L_.str(%rip), %rsi
	movl	$4, %edi
	movl	%ebx, %edx
	callq	_vkprintf
	testl	%ebx, %ebx
	je	LBB0_3
## %bb.2:
	movslq	%ebx, %rcx
	addq	8(%r15), %rcx
	movq	_log_last_ts@GOTPCREL(%rip), %rdx
	movl	$2, %eax
	cmpq	%rcx, (%rdx)
	jle	LBB0_5
LBB0_3:
	movq	(%r14), %rdx
	testq	%rdx, %rdx
	je	LBB0_4
## %bb.6:
	movq	%rdx, %rsi
	shrq	$32, %rsi
	movl	8(%r14), %edi
                                        ## kill: def $esi killed $esi killed $rsi
                                        ## kill: def $edx killed $edx killed $rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_cache_get_disk_status          ## TAILCALL
LBB0_4:
	movl	$1, %eax
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.comm	_CACHE_LOCAL_COPY_FLAG_TEMPORARLY_UNAVAILABLE,4,2 ## @CACHE_LOCAL_COPY_FLAG_TEMPORARLY_UNAVAILABLE
	.comm	_CACHE_LOCAL_COPY_FLAG_YELLOW_LIGHT_MASK,4,2 ## @CACHE_LOCAL_COPY_FLAG_YELLOW_LIGHT_MASK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cache_local_copy_get_flags: yellow_light_duration = %d\n"

	.comm	_log_last_ts,8,3                ## @log_last_ts
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cache_local_copy_get_flags     ; -- Begin function cache_local_copy_get_flags
	.p2align	2
_cache_local_copy_get_flags:            ; @cache_local_copy_get_flags
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _CACHE_LOCAL_COPY_FLAG_TEMPORARLY_UNAVAILABLE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _CACHE_LOCAL_COPY_FLAG_TEMPORARLY_UNAVAILABLE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.1:
	mov	w0, #0
LBB0_2:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_3:
	mov	x19, x1
	mov	x20, x0
	bl	_cache_local_copy_compute_packed_location
	ldr	w8, [x20]
Lloh3:
	adrp	x9, _CACHE_LOCAL_COPY_FLAG_YELLOW_LIGHT_MASK@GOTPAGE
Lloh4:
	ldr	x9, [x9, _CACHE_LOCAL_COPY_FLAG_YELLOW_LIGHT_MASK@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	and	w21, w9, w8
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #4
	mov	x2, x21
	bl	_vkprintf
	cbz	w21, LBB0_5
; %bb.4:
	sxtw	x8, w21
Lloh8:
	adrp	x9, _log_last_ts@GOTPAGE
Lloh9:
	ldr	x9, [x9, _log_last_ts@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	ldr	x10, [x20, #8]
	add	x8, x10, x8
	cmp	x9, x8
	b.le	LBB0_7
LBB0_5:
	ldr	x2, [x19]
	cbz	x2, LBB0_8
; %bb.6:
	lsr	x1, x2, #32
	ldr	w0, [x19, #8]
                                        ; kill: def $w1 killed $w1 killed $x1
                                        ; kill: def $w2 killed $w2 killed $x2
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_cache_get_disk_status
LBB0_7:
	mov	w0, #2
	b	LBB0_2
LBB0_8:
	mov	w0, #1
	b	LBB0_2
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_CACHE_LOCAL_COPY_FLAG_TEMPORARLY_UNAVAILABLE,4,2 ; @CACHE_LOCAL_COPY_FLAG_TEMPORARLY_UNAVAILABLE
	.comm	_CACHE_LOCAL_COPY_FLAG_YELLOW_LIGHT_MASK,4,2 ; @CACHE_LOCAL_COPY_FLAG_YELLOW_LIGHT_MASK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cache_local_copy_get_flags: yellow_light_duration = %d\n"

	.comm	_log_last_ts,8,3                ; @log_last_ts
.subsections_via_symbols
