	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cache_evict_bitmap             ## -- Begin function cache_evict_bitmap
	.p2align	4, 0x90
_cache_evict_bitmap:                    ## @cache_evict_bitmap
	.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	%rdi, %r13
	callq	_IS_PERSISTENT
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	_g_bmpcache_lru@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax,%r13,8), %r14
	movq	_g_bmpcache@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	movq	(%rax,%r13,8), %rax
	movq	%r14, %rbx
	shlq	$4, %rbx
	movslq	(%rax,%rbx), %r15
	movq	8(%rax,%rbx), %rdi
	callq	_DEBUG_RDP5
	movq	(%r12), %rax
	movq	(%rax,%r13,8), %rax
	movq	8(%rax,%rbx), %rdi
	callq	_ui_destroy_bitmap
	movq	_g_bmpcache_count@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	decl	(%rax,%r13,4)
	movq	(%r12), %rax
	movq	(%rax,%r13,8), %rax
	movq	$0, 8(%rax,%rbx)
	movq	_g_bmpcache_lru@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%r15, (%rcx,%r13,8)
	movq	_NOT_SET@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	shlq	$4, %r15
	movl	%ecx, 4(%rax,%r15)
	movq	%r13, %rdi
	movq	%r14, %rsi
	xorl	%edx, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_pstcache_touch_bitmap          ## TAILCALL
LBB0_1:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_g_bmpcache_lru,8,3             ## @g_bmpcache_lru
	.comm	_g_bmpcache,8,3                 ## @g_bmpcache
	.comm	_g_bmpcache_count,8,3           ## @g_bmpcache_count
	.comm	_NOT_SET,4,2                    ## @NOT_SET
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cache_evict_bitmap             ; -- Begin function cache_evict_bitmap
	.p2align	2
_cache_evict_bitmap:                    ; @cache_evict_bitmap
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x0
	bl	_IS_PERSISTENT
	cbz	w0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x21, _g_bmpcache_lru@GOTPAGE
Lloh1:
	ldr	x21, [x21, _g_bmpcache_lru@GOTPAGEOFF]
	ldr	x8, [x21]
	lsl	x22, x19, #3
	ldr	x20, [x8, x22]
Lloh2:
	adrp	x23, _g_bmpcache@GOTPAGE
Lloh3:
	ldr	x23, [x23, _g_bmpcache@GOTPAGEOFF]
	ldr	x8, [x23]
	ldr	x8, [x8, x22]
	lsl	x24, x20, #4
	add	x8, x8, x24
	ldrsw	x25, [x8]
	ldr	x0, [x8, #8]
	bl	_DEBUG_RDP5
	ldr	x8, [x23]
	ldr	x8, [x8, x22]
	add	x8, x8, x24
	ldr	x0, [x8, #8]
	bl	_ui_destroy_bitmap
Lloh4:
	adrp	x8, _g_bmpcache_count@GOTPAGE
Lloh5:
	ldr	x8, [x8, _g_bmpcache_count@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
	lsl	x9, x19, #2
	ldr	w10, [x8, x9]
	sub	w10, w10, #1
	str	w10, [x8, x9]
	ldr	x8, [x23]
	ldr	x8, [x8, x22]
	add	x9, x8, x24
	str	xzr, [x9, #8]
	ldr	x9, [x21]
	str	x25, [x9, x22]
Lloh7:
	adrp	x9, _NOT_SET@GOTPAGE
Lloh8:
	ldr	x9, [x9, _NOT_SET@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	add	x8, x8, x25, lsl #4
	str	w9, [x8, #4]
	mov	x0, x19
	mov	x1, x20
	mov	w2, #0
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_pstcache_touch_bitmap
LBB0_2:
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_g_bmpcache_lru,8,3             ; @g_bmpcache_lru
	.comm	_g_bmpcache,8,3                 ; @g_bmpcache
	.comm	_g_bmpcache_count,8,3           ; @g_bmpcache_count
	.comm	_NOT_SET,4,2                    ; @NOT_SET
.subsections_via_symbols
