	.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	%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
	movl	%edx, %ebx
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	_tlb_type@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_hypervisor@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_3
## %bb.1:
	movl	%ebx, %edi
	callq	_pte_pfn
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_pfn_valid
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	%r12, %rdi
	callq	_flush_dcache
LBB0_3:
	movq	(%r14), %r13
	movq	_MM_TSB_BASE@GOTPCREL(%rip), %rax
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	movq	(%rax), %r14
	movq	_PAGE_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %r12b
	movq	%r13, %rdi
	callq	_spin_lock_irqsave
	movq	8(%r13), %rax
	movq	%r15, %rdx
	movl	%r12d, %ecx
	shrq	%cl, %rdx
	shlq	$4, %r14
	movq	(%rax,%r14), %rbx
	decq	%rbx
	andq	%rdx, %rbx
	shlq	$2, %rbx
	addq	8(%rax,%r14), %rbx
	shrq	$22, %r15
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_pte_val
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movl	%eax, %edx
	callq	_tsb_insert
	movq	%r13, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spin_unlock_irqrestore         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_tlb_type,8,3                   ## @tlb_type
	.comm	_hypervisor,8,3                 ## @hypervisor
	.comm	_MM_TSB_BASE,8,3                ## @MM_TSB_BASE
	.comm	_PAGE_SHIFT,8,3                 ## @PAGE_SHIFT
	.comm	_HPAGE_SHIFT,8,3                ## @HPAGE_SHIFT
	.comm	_MM_TSB_HUGE,8,3                ## @MM_TSB_HUGE
	.comm	__PAGE_SZALL_4U,4,2             ## @_PAGE_SZALL_4U
	.comm	__PAGE_SZALL_4V,4,2             ## @_PAGE_SZALL_4V
	.comm	__PAGE_SZHUGE_4U,4,2            ## @_PAGE_SZHUGE_4U
	.comm	__PAGE_SZHUGE_4V,4,2            ## @_PAGE_SZHUGE_4V
.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	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _tlb_type@GOTPAGE
Lloh1:
	ldr	x8, [x8, _tlb_type@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _hypervisor@GOTPAGE
Lloh4:
	ldr	x9, [x9, _hypervisor@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_3
; %bb.1:
	mov	x0, x19
	bl	_pte_pfn
	mov	x22, x0
	bl	_pfn_valid
	cbz	x0, LBB0_3
; %bb.2:
	mov	x0, x22
	bl	_flush_dcache
LBB0_3:
	ldr	x21, [x21]
Lloh6:
	adrp	x8, _MM_TSB_BASE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MM_TSB_BASE@GOTPAGEOFF]
Lloh8:
	ldr	x22, [x8]
Lloh9:
	adrp	x8, _PAGE_SHIFT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _PAGE_SHIFT@GOTPAGEOFF]
Lloh11:
	ldr	x23, [x8]
	mov	x0, x21
	bl	_spin_lock_irqsave
	ldr	x8, [x21, #8]
	add	x8, x8, x22, lsl #4
	lsr	x9, x20, x23
	ldp	x8, x10, [x8]
	sub	x8, x8, #1
	and	x8, x8, x9
	add	x22, x10, x8, lsl #2
	lsr	x20, x20, #22
	mov	x0, x19
	bl	_pte_val
	mov	x2, x0
	mov	x0, x22
	mov	x1, x20
	bl	_tsb_insert
	mov	x0, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_spin_unlock_irqrestore
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_tlb_type,8,3                   ; @tlb_type
	.comm	_hypervisor,8,3                 ; @hypervisor
	.comm	_MM_TSB_BASE,8,3                ; @MM_TSB_BASE
	.comm	_PAGE_SHIFT,8,3                 ; @PAGE_SHIFT
	.comm	_HPAGE_SHIFT,8,3                ; @HPAGE_SHIFT
	.comm	_MM_TSB_HUGE,8,3                ; @MM_TSB_HUGE
	.comm	__PAGE_SZALL_4U,4,2             ; @_PAGE_SZALL_4U
	.comm	__PAGE_SZALL_4V,4,2             ; @_PAGE_SZALL_4V
	.comm	__PAGE_SZHUGE_4U,4,2            ; @_PAGE_SZHUGE_4U
	.comm	__PAGE_SZHUGE_4V,4,2            ; @_PAGE_SZHUGE_4V
.subsections_via_symbols
