	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cache_bump_bitmap              ## -- Begin function cache_bump_bitmap
	.p2align	4, 0x90
_cache_bump_bitmap:                     ## @cache_bump_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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %ebx
	movq	%rsi, %r14
	movq	%rdi, %r15
	callq	_IS_PERSISTENT
	testl	%eax, %eax
	je	LBB0_18
## %bb.1:
	movq	_g_bmpcache_mru@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	%r14, (%rax,%r15,8)
	je	LBB0_18
## %bb.2:
	movslq	%ebx, %rdi
	callq	_DEBUG_RDP5
	movq	_g_bmpcache@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax,%r15,8), %rax
	movl	(%rax,%r14,8), %r12d
	movl	4(%rax,%r14,8), %r13d
	movl	%r12d, %edi
	callq	_IS_SET
	testq	%rax, %rax
	je	LBB0_9
## %bb.3:
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movslq	%r13d, %r14
	movq	_g_bmpcache_count@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	decl	(%rax,%r15,4)
	movl	%r14d, %edi
	callq	_IS_SET
	testq	%rax, %rax
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	je	LBB0_5
## %bb.4:
	movq	_g_bmpcache@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	leaq	(,%r14,8), %rax
	addq	(%rcx,%r15,8), %rax
	jmp	LBB0_6
LBB0_9:
	movq	_NOT_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	_g_bmpcache_lru@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%r15,4), %r12d
	testl	%ebx, %ebx
	jns	LBB0_11
	jmp	LBB0_14
LBB0_5:
	movq	_g_bmpcache_lru@GOTPCREL(%rip), %rcx
	leaq	(,%r15,4), %rax
	addq	(%rcx), %rax
LBB0_6:
	movl	%r12d, (%rax)
	movl	%r12d, %edi
	callq	_IS_SET
	testq	%rax, %rax
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	je	LBB0_8
## %bb.7:
	movslq	%r12d, %rax
	movq	_g_bmpcache@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rcx,%r15,8), %rcx
	movl	%r13d, 4(%rcx,%rax,8)
	testl	%ebx, %ebx
	js	LBB0_14
LBB0_11:
	je	LBB0_15
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movl	%r12d, %edi
	callq	_IS_SET
	testq	%rax, %rax
	je	LBB0_15
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=1
	movl	%r12d, %r13d
	movq	_g_bmpcache@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax,%r15,8), %rax
	movslq	%r12d, %rcx
	movl	(%rax,%rcx,8), %r12d
	decl	%ebx
	jne	LBB0_12
	jmp	LBB0_15
LBB0_8:
	movq	_g_bmpcache_mru@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, (%rax,%r15,8)
	testl	%ebx, %ebx
	jns	LBB0_11
LBB0_14:
	movq	_g_bmpcache_mru@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%r15,8), %r13d
	movq	_NOT_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
LBB0_15:
	movq	_g_bmpcache_count@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	incl	(%rax,%r15,4)
	leaq	(,%r15,4), %rcx
	movq	_g_bmpcache@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax,%r15,8), %rax
	movl	%r13d, 4(%rax,%r14,8)
	movl	%r12d, (%rax,%r14,8)
	movq	_g_bmpcache_lru@GOTPCREL(%rip), %rdx
	addq	(%rdx), %rcx
	movl	%r13d, %edx
	leaq	(%rax,%rdx,8), %rdx
	testl	%r13d, %r13d
	cmovsq	%rcx, %rdx
	movl	%r14d, (%rdx)
	testl	%r12d, %r12d
	js	LBB0_17
## %bb.16:
	movl	%r12d, %ecx
	movl	%r14d, 4(%rax,%rcx,8)
	jmp	LBB0_18
LBB0_17:
	movq	_g_bmpcache_mru@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%r14, (%rax,%r15,8)
LBB0_18:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_g_bmpcache_mru,8,3             ## @g_bmpcache_mru
	.comm	_g_bmpcache,8,3                 ## @g_bmpcache
	.comm	_g_bmpcache_count,8,3           ## @g_bmpcache_count
	.comm	_g_bmpcache_lru,8,3             ## @g_bmpcache_lru
	.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_bump_bitmap              ; -- Begin function cache_bump_bitmap
	.p2align	2
_cache_bump_bitmap:                     ; @cache_bump_bitmap
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x2
	mov	x19, x1
	mov	x20, x0
	bl	_IS_PERSISTENT
	cbz	w0, LBB0_18
; %bb.1:
Lloh0:
	adrp	x24, _g_bmpcache_mru@GOTPAGE
Lloh1:
	ldr	x24, [x24, _g_bmpcache_mru@GOTPAGEOFF]
	ldr	x8, [x24]
	ldr	x8, [x8, x20, lsl #3]
	cmp	x8, x19
	b.eq	LBB0_18
; %bb.2:
	sxtw	x0, w21
	bl	_DEBUG_RDP5
Lloh2:
	adrp	x25, _g_bmpcache@GOTPAGE
Lloh3:
	ldr	x25, [x25, _g_bmpcache@GOTPAGEOFF]
	ldr	x8, [x25]
	ldr	x8, [x8, x20, lsl #3]
	add	x8, x8, x19, lsl #3
	ldp	w22, w23, [x8]
	mov	x0, x22
	bl	_IS_SET
Lloh4:
	adrp	x9, _g_bmpcache_count@GOTPAGE
Lloh5:
	ldr	x9, [x9, _g_bmpcache_count@GOTPAGEOFF]
	lsl	x26, x20, #2
Lloh6:
	adrp	x27, _g_bmpcache_lru@GOTPAGE
Lloh7:
	ldr	x27, [x27, _g_bmpcache_lru@GOTPAGEOFF]
	cbz	x0, LBB0_5
; %bb.3:
	mov	x8, x23
	sxtw	x27, w8
	mov	x28, x9
	ldr	x8, [x9]
	ldr	w9, [x8, x26]
	sub	w9, w9, #1
	str	w9, [x8, x26]
	mov	x0, x23
	bl	_IS_SET
	cbz	x0, LBB0_7
; %bb.4:
	ldr	x8, [x25]
	ldr	x8, [x8, x20, lsl #3]
	add	x8, x8, x27, lsl #3
	b	LBB0_8
LBB0_5:
	mov	x28, x9
Lloh8:
	adrp	x8, _NOT_SET@GOTPAGE
Lloh9:
	ldr	x8, [x8, _NOT_SET@GOTPAGEOFF]
Lloh10:
	ldr	w23, [x8]
	ldr	x8, [x27]
	ldr	w22, [x8, x20, lsl #2]
	tbz	w21, #31, LBB0_12
LBB0_6:
	ldr	x8, [x24]
	ldr	x23, [x8, x20, lsl #3]
Lloh11:
	adrp	x8, _NOT_SET@GOTPAGE
Lloh12:
	ldr	x8, [x8, _NOT_SET@GOTPAGEOFF]
Lloh13:
	ldr	w22, [x8]
                                        ; kill: def $w23 killed $w23 killed $x23 def $x23
	b	LBB0_15
LBB0_7:
Lloh14:
	adrp	x8, _g_bmpcache_lru@GOTPAGE
Lloh15:
	ldr	x8, [x8, _g_bmpcache_lru@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
	add	x8, x8, x20, lsl #2
LBB0_8:
	str	w22, [x8]
	mov	x0, x22
	bl	_IS_SET
	cbz	x0, LBB0_10
; %bb.9:
	sxtw	x8, w22
	ldr	x9, [x25]
	ldr	x9, [x9, x20, lsl #3]
	add	x8, x9, x8, lsl #3
	str	w23, [x8, #4]
	b	LBB0_11
LBB0_10:
	ldr	x8, [x24]
	str	x27, [x8, x20, lsl #3]
LBB0_11:
Lloh17:
	adrp	x27, _g_bmpcache_lru@GOTPAGE
Lloh18:
	ldr	x27, [x27, _g_bmpcache_lru@GOTPAGEOFF]
	tbnz	w21, #31, LBB0_6
LBB0_12:
	cbz	w21, LBB0_15
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	bl	_IS_SET
	cbz	x0, LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	mov	x23, x22
	ldr	x8, [x25]
	ldr	x8, [x8, x20, lsl #3]
	sbfiz	x9, x23, #3, #32
	ldr	w22, [x8, x9]
	subs	w21, w21, #1
	b.ne	LBB0_13
LBB0_15:
	ldr	x8, [x28]
	ldr	w9, [x8, x26]
	add	w9, w9, #1
	str	w9, [x8, x26]
	ldr	x8, [x25]
	ldr	x8, [x8, x20, lsl #3]
	add	x9, x8, x19, lsl #3
	stp	w22, w23, [x9]
	ldr	x9, [x27]
	add	x9, x9, x26
	add	x10, x8, w23, uxtw #3
	cmp	w23, #0
	csel	x9, x9, x10, lt
	str	w19, [x9]
	tbnz	w22, #31, LBB0_17
; %bb.16:
	add	x8, x8, w22, uxtw #3
	str	w19, [x8, #4]
	b	LBB0_18
LBB0_17:
	ldr	x8, [x24]
	str	x19, [x8, x20, lsl #3]
LBB0_18:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_g_bmpcache_mru,8,3             ; @g_bmpcache_mru
	.comm	_g_bmpcache,8,3                 ; @g_bmpcache
	.comm	_g_bmpcache_count,8,3           ; @g_bmpcache_count
	.comm	_g_bmpcache_lru,8,3             ; @g_bmpcache_lru
	.comm	_NOT_SET,4,2                    ; @NOT_SET
.subsections_via_symbols
