	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mmu_topup_memory_caches
_mmu_topup_memory_caches:               ## @mmu_topup_memory_caches
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	addq	$12, %rdi
	movq	_pte_chain_cache@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$4, %edx
	callq	_mmu_topup_memory_cache
	testl	%eax, %eax
	jne	LBB0_3
## %bb.1:
	leaq	8(%rbx), %rdi
	movq	_rmap_desc_cache@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$4, %edx
	callq	_mmu_topup_memory_cache
	testl	%eax, %eax
	jne	LBB0_3
## %bb.2:
	leaq	4(%rbx), %rdi
	movl	$8, %esi
	callq	_mmu_topup_memory_cache_page
	testl	%eax, %eax
	je	LBB0_4
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_4:
	movq	_mmu_page_header_cache@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$4, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_mmu_topup_memory_cache         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_pte_chain_cache,4,2            ## @pte_chain_cache
	.comm	_rmap_desc_cache,4,2            ## @rmap_desc_cache
	.comm	_mmu_page_header_cache,4,2      ## @mmu_page_header_cache
	.no_dead_strip	_mmu_topup_memory_caches
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mmu_topup_memory_caches
_mmu_topup_memory_caches:               ; @mmu_topup_memory_caches
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	add	x0, x0, #12
Lloh0:
	adrp	x8, _pte_chain_cache@GOTPAGE
Lloh1:
	ldr	x8, [x8, _pte_chain_cache@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w2, #4
	bl	_mmu_topup_memory_cache
	cbnz	w0, LBB0_3
; %bb.1:
	add	x0, x19, #8
Lloh3:
	adrp	x8, _rmap_desc_cache@GOTPAGE
Lloh4:
	ldr	x8, [x8, _rmap_desc_cache@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	w2, #4
	bl	_mmu_topup_memory_cache
	cbnz	w0, LBB0_3
; %bb.2:
	add	x0, x19, #4
	mov	w1, #8
	bl	_mmu_topup_memory_cache_page
	cbz	w0, LBB0_4
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_4:
Lloh6:
	adrp	x8, _mmu_page_header_cache@GOTPAGE
Lloh7:
	ldr	x8, [x8, _mmu_page_header_cache@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #4
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_mmu_topup_memory_cache
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_pte_chain_cache,4,2            ; @pte_chain_cache
	.comm	_rmap_desc_cache,4,2            ; @rmap_desc_cache
	.comm	_mmu_page_header_cache,4,2      ; @mmu_page_header_cache
	.no_dead_strip	_mmu_topup_memory_caches
.subsections_via_symbols
