	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_update_mmu_cache               ## -- Begin function update_mmu_cache
	.p2align	4, 0x90
_update_mmu_cache:                      ## @update_mmu_cache
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rdi, %r14
	movl	%edx, %edi
	callq	_pte_pfn
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_pfn_valid
	testl	%eax, %eax
	je	LBB0_4
## %bb.1:
	movq	%rbx, %rdi
	callq	_pfn_to_page
	movq	%rax, %r15
	movq	%r12, %rdi
	callq	_invalidate_itlb_mapping
	movq	%r12, %rdi
	callq	_invalidate_dtlb_mapping
	movq	%r15, %rdi
	callq	_PageReserved
	testl	%eax, %eax
	jne	LBB0_4
## %bb.2:
	movq	_PG_arch_1@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	movq	%r15, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_3
LBB0_4:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	_VM_EXEC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r14)
	je	LBB0_4
## %bb.5:
	movq	%r15, %rdi
	callq	_page_address
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	___flush_dcache_page
	movq	%rbx, %rdi
	callq	___invalidate_icache_page
	movl	(%r12), %edi
	movq	%r15, %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_set_bit                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PG_arch_1,4,2                  ## @PG_arch_1
	.comm	_VM_EXEC,4,2                    ## @VM_EXEC
	.comm	_DCACHE_ALIAS_MASK,8,3          ## @DCACHE_ALIAS_MASK
	.comm	_TLBTEMP_BASE_1,8,3             ## @TLBTEMP_BASE_1
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_update_mmu_cache               ; -- Begin function update_mmu_cache
	.p2align	2
_update_mmu_cache:                      ; @update_mmu_cache
	.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
	mov	x21, x1
	mov	x20, x0
	mov	x0, x2
	bl	_pte_pfn
	mov	x19, x0
	bl	_pfn_valid
	cbz	w0, LBB0_3
; %bb.1:
	mov	x0, x19
	bl	_pfn_to_page
	mov	x19, x0
	mov	x0, x21
	bl	_invalidate_itlb_mapping
	mov	x0, x21
	bl	_invalidate_dtlb_mapping
	mov	x0, x19
	bl	_PageReserved
	cbnz	w0, LBB0_3
; %bb.2:
Lloh0:
	adrp	x21, _PG_arch_1@GOTPAGE
Lloh1:
	ldr	x21, [x21, _PG_arch_1@GOTPAGEOFF]
	ldr	w0, [x21]
	mov	x1, x19
	bl	_test_bit
	cbz	x0, LBB0_4
LBB0_3:
	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_4:
	ldr	w8, [x20]
Lloh2:
	adrp	x9, _VM_EXEC@GOTPAGE
Lloh3:
	ldr	x9, [x9, _VM_EXEC@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.5:
	mov	x0, x19
	bl	_page_address
	mov	x20, x0
	bl	___flush_dcache_page
	mov	x0, x20
	bl	___invalidate_icache_page
	ldr	w0, [x21]
	mov	x1, x19
	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	_set_bit
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_PG_arch_1,4,2                  ; @PG_arch_1
	.comm	_VM_EXEC,4,2                    ; @VM_EXEC
	.comm	_DCACHE_ALIAS_MASK,8,3          ; @DCACHE_ALIAS_MASK
	.comm	_TLBTEMP_BASE_1,8,3             ; @TLBTEMP_BASE_1
.subsections_via_symbols
