	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __sysmmu_set_ptbase
___sysmmu_set_ptbase:                   ## @__sysmmu_set_ptbase
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %ebx
	movq	%rdi, %r14
	movl	8(%rdi), %edi
	callq	_MMU_MAJ_VER
	xorl	%ecx, %ecx
	cmpl	$5, %eax
	movq	_PAGE_SHIFT@GOTPCREL(%rip), %rax
	cmovgel	(%rax), %ecx
	movq	_REG_V5_PT_BASE_PFN@GOTPCREL(%rip), %rax
	cmovlq	_REG_PT_BASE_ADDR@GOTPCREL(%rip), %rax
                                        ## kill: def $cl killed $cl killed $ecx
	sarl	%cl, %ebx
	movq	(%rax), %rsi
	addq	(%r14), %rsi
	movl	%ebx, %edi
	callq	_writel
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	___sysmmu_tlb_invalidate        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_REG_PT_BASE_ADDR,8,3           ## @REG_PT_BASE_ADDR
	.comm	_PAGE_SHIFT,4,2                 ## @PAGE_SHIFT
	.comm	_REG_V5_PT_BASE_PFN,8,3         ## @REG_V5_PT_BASE_PFN
	.no_dead_strip	___sysmmu_set_ptbase
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __sysmmu_set_ptbase
___sysmmu_set_ptbase:                   ; @__sysmmu_set_ptbase
	.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, x1
	mov	x20, x0
	ldr	w0, [x0, #8]
	bl	_MMU_MAJ_VER
Lloh0:
	adrp	x8, _PAGE_SHIFT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PAGE_SHIFT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w0, #5
	csel	w8, wzr, w8, lt
	asr	w0, w19, w8
Lloh3:
	adrp	x8, _REG_PT_BASE_ADDR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _REG_PT_BASE_ADDR@GOTPAGEOFF]
	ldr	x9, [x20]
Lloh5:
	adrp	x10, _REG_V5_PT_BASE_PFN@GOTPAGE
Lloh6:
	ldr	x10, [x10, _REG_V5_PT_BASE_PFN@GOTPAGEOFF]
	csel	x8, x8, x10, lt
	ldr	x8, [x8]
	add	x1, x8, x9
	bl	_writel
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	___sysmmu_tlb_invalidate
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_REG_PT_BASE_ADDR,8,3           ; @REG_PT_BASE_ADDR
	.comm	_PAGE_SHIFT,4,2                 ; @PAGE_SHIFT
	.comm	_REG_V5_PT_BASE_PFN,8,3         ; @REG_V5_PT_BASE_PFN
	.no_dead_strip	___sysmmu_set_ptbase
.subsections_via_symbols
