	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __sysmmu_disable
___sysmmu_disable:                      ## @__sysmmu_disable
	.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
	movq	%rdi, %rbx
	movl	16(%rdi), %edi
	callq	_clk_enable
	leaq	4(%rbx), %r14
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	movq	_CTRL_DISABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_REG_MMU_CTRL@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%rbx), %rsi
	callq	_writel
	movq	_REG_MMU_CFG@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%rbx), %rsi
	xorl	%edi, %edi
	callq	_writel
	movl	$0, (%rbx)
	movq	%r14, %rdi
	callq	_spin_unlock_irqrestore
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	___sysmmu_disable_clocks        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CTRL_DISABLE,4,2               ## @CTRL_DISABLE
	.comm	_REG_MMU_CTRL,8,3               ## @REG_MMU_CTRL
	.comm	_REG_MMU_CFG,8,3                ## @REG_MMU_CFG
	.no_dead_strip	___sysmmu_disable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __sysmmu_disable
___sysmmu_disable:                      ; @__sysmmu_disable
	.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
	ldr	w0, [x0, #16]
	bl	_clk_enable
	add	x20, x19, #4
	mov	x0, x20
	bl	_spin_lock_irqsave
Lloh0:
	adrp	x8, _CTRL_DISABLE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CTRL_DISABLE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldr	x8, [x19, #8]
Lloh3:
	adrp	x9, _REG_MMU_CTRL@GOTPAGE
Lloh4:
	ldr	x9, [x9, _REG_MMU_CTRL@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
	ldr	x8, [x19, #8]
Lloh6:
	adrp	x9, _REG_MMU_CFG@GOTPAGE
Lloh7:
	ldr	x9, [x9, _REG_MMU_CFG@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	w0, #0
	bl	_writel
	str	wzr, [x19]
	mov	x0, x20
	bl	_spin_unlock_irqrestore
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	___sysmmu_disable_clocks
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_CTRL_DISABLE,4,2               ; @CTRL_DISABLE
	.comm	_REG_MMU_CTRL,8,3               ; @REG_MMU_CTRL
	.comm	_REG_MMU_CFG,8,3                ; @REG_MMU_CFG
	.no_dead_strip	___sysmmu_disable
.subsections_via_symbols
