	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_v3d_mmu_set_page_table         ## -- Begin function v3d_mmu_set_page_table
	.p2align	4, 0x90
_v3d_mmu_set_page_table:                ## @v3d_mmu_set_page_table
	.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
	movq	_V3D_MMU_PT_PA_BASE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %esi
	movq	_V3D_MMU_PAGE_SHIFT@GOTPCREL(%rip), %r14
	movb	(%r14), %cl
	sarl	%cl, %esi
	callq	_V3D_WRITE
	movq	_V3D_MMU_CTL_ENABLE@GOTPCREL(%rip), %rax
	movq	_V3D_MMU_CTL_PT_INVALID_ENABLE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movq	_V3D_MMU_CTL_PT_INVALID_ABORT@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movq	_V3D_MMU_CTL_PT_INVALID_INT@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movq	_V3D_MMU_CTL_WRITE_VIOLATION_ABORT@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movq	_V3D_MMU_CTL_WRITE_VIOLATION_INT@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movq	_V3D_MMU_CTL@GOTPCREL(%rip), %rax
	movq	_V3D_MMU_CTL_CAP_EXCEEDED_ABORT@GOTPCREL(%rip), %rcx
	orl	(%rcx), %esi
	movl	(%rax), %edi
	movq	_V3D_MMU_CTL_CAP_EXCEEDED_INT@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	callq	_V3D_WRITE
	movq	_V3D_MMU_ILLEGAL_ADDR@GOTPCREL(%rip), %rax
	movl	4(%rbx), %esi
	movb	(%r14), %cl
	sarl	%cl, %esi
	movl	(%rax), %edi
	movq	_V3D_MMU_ILLEGAL_ADDR_ENABLE@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	callq	_V3D_WRITE
	movq	_V3D_MMUC_CONTROL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_V3D_MMUC_CONTROL_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_V3D_WRITE
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_v3d_mmu_flush_all              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_V3D_MMU_PT_PA_BASE,4,2         ## @V3D_MMU_PT_PA_BASE
	.comm	_V3D_MMU_PAGE_SHIFT,4,2         ## @V3D_MMU_PAGE_SHIFT
	.comm	_V3D_MMU_CTL,4,2                ## @V3D_MMU_CTL
	.comm	_V3D_MMU_CTL_ENABLE,4,2         ## @V3D_MMU_CTL_ENABLE
	.comm	_V3D_MMU_CTL_PT_INVALID_ENABLE,4,2 ## @V3D_MMU_CTL_PT_INVALID_ENABLE
	.comm	_V3D_MMU_CTL_PT_INVALID_ABORT,4,2 ## @V3D_MMU_CTL_PT_INVALID_ABORT
	.comm	_V3D_MMU_CTL_PT_INVALID_INT,4,2 ## @V3D_MMU_CTL_PT_INVALID_INT
	.comm	_V3D_MMU_CTL_WRITE_VIOLATION_ABORT,4,2 ## @V3D_MMU_CTL_WRITE_VIOLATION_ABORT
	.comm	_V3D_MMU_CTL_WRITE_VIOLATION_INT,4,2 ## @V3D_MMU_CTL_WRITE_VIOLATION_INT
	.comm	_V3D_MMU_CTL_CAP_EXCEEDED_ABORT,4,2 ## @V3D_MMU_CTL_CAP_EXCEEDED_ABORT
	.comm	_V3D_MMU_CTL_CAP_EXCEEDED_INT,4,2 ## @V3D_MMU_CTL_CAP_EXCEEDED_INT
	.comm	_V3D_MMU_ILLEGAL_ADDR,4,2       ## @V3D_MMU_ILLEGAL_ADDR
	.comm	_V3D_MMU_ILLEGAL_ADDR_ENABLE,4,2 ## @V3D_MMU_ILLEGAL_ADDR_ENABLE
	.comm	_V3D_MMUC_CONTROL,4,2           ## @V3D_MMUC_CONTROL
	.comm	_V3D_MMUC_CONTROL_ENABLE,4,2    ## @V3D_MMUC_CONTROL_ENABLE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_v3d_mmu_set_page_table         ; -- Begin function v3d_mmu_set_page_table
	.p2align	2
_v3d_mmu_set_page_table:                ; @v3d_mmu_set_page_table
	.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
Lloh0:
	adrp	x8, _V3D_MMU_PT_PA_BASE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _V3D_MMU_PT_PA_BASE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldr	w8, [x19]
Lloh3:
	adrp	x20, _V3D_MMU_PAGE_SHIFT@GOTPAGE
Lloh4:
	ldr	x20, [x20, _V3D_MMU_PAGE_SHIFT@GOTPAGEOFF]
	ldr	w9, [x20]
	asr	w1, w8, w9
	bl	_V3D_WRITE
Lloh5:
	adrp	x8, _V3D_MMU_CTL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _V3D_MMU_CTL@GOTPAGEOFF]
Lloh7:
	adrp	x9, _V3D_MMU_CTL_ENABLE@GOTPAGE
Lloh8:
	ldr	x9, [x9, _V3D_MMU_CTL_ENABLE@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
Lloh10:
	ldr	w8, [x9]
Lloh11:
	adrp	x9, _V3D_MMU_CTL_PT_INVALID_ENABLE@GOTPAGE
Lloh12:
	ldr	x9, [x9, _V3D_MMU_CTL_PT_INVALID_ENABLE@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh14:
	adrp	x9, _V3D_MMU_CTL_PT_INVALID_ABORT@GOTPAGE
Lloh15:
	ldr	x9, [x9, _V3D_MMU_CTL_PT_INVALID_ABORT@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh17:
	adrp	x9, _V3D_MMU_CTL_PT_INVALID_INT@GOTPAGE
Lloh18:
	ldr	x9, [x9, _V3D_MMU_CTL_PT_INVALID_INT@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh20:
	adrp	x9, _V3D_MMU_CTL_WRITE_VIOLATION_ABORT@GOTPAGE
Lloh21:
	ldr	x9, [x9, _V3D_MMU_CTL_WRITE_VIOLATION_ABORT@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh23:
	adrp	x9, _V3D_MMU_CTL_WRITE_VIOLATION_INT@GOTPAGE
Lloh24:
	ldr	x9, [x9, _V3D_MMU_CTL_WRITE_VIOLATION_INT@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh26:
	adrp	x9, _V3D_MMU_CTL_CAP_EXCEEDED_ABORT@GOTPAGE
Lloh27:
	ldr	x9, [x9, _V3D_MMU_CTL_CAP_EXCEEDED_ABORT@GOTPAGEOFF]
Lloh28:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh29:
	adrp	x9, _V3D_MMU_CTL_CAP_EXCEEDED_INT@GOTPAGE
Lloh30:
	ldr	x9, [x9, _V3D_MMU_CTL_CAP_EXCEEDED_INT@GOTPAGEOFF]
Lloh31:
	ldr	w9, [x9]
	orr	w1, w8, w9
	bl	_V3D_WRITE
Lloh32:
	adrp	x8, _V3D_MMU_ILLEGAL_ADDR@GOTPAGE
Lloh33:
	ldr	x8, [x8, _V3D_MMU_ILLEGAL_ADDR@GOTPAGEOFF]
Lloh34:
	ldr	w0, [x8]
	ldr	w8, [x19, #4]
	ldr	w9, [x20]
	asr	w8, w8, w9
Lloh35:
	adrp	x9, _V3D_MMU_ILLEGAL_ADDR_ENABLE@GOTPAGE
Lloh36:
	ldr	x9, [x9, _V3D_MMU_ILLEGAL_ADDR_ENABLE@GOTPAGEOFF]
Lloh37:
	ldr	w9, [x9]
	orr	w1, w8, w9
	bl	_V3D_WRITE
Lloh38:
	adrp	x8, _V3D_MMUC_CONTROL@GOTPAGE
Lloh39:
	ldr	x8, [x8, _V3D_MMUC_CONTROL@GOTPAGEOFF]
Lloh40:
	ldr	w0, [x8]
Lloh41:
	adrp	x8, _V3D_MMUC_CONTROL_ENABLE@GOTPAGE
Lloh42:
	ldr	x8, [x8, _V3D_MMUC_CONTROL_ENABLE@GOTPAGEOFF]
Lloh43:
	ldr	w1, [x8]
	bl	_V3D_WRITE
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_v3d_mmu_flush_all
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh9
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_V3D_MMU_PT_PA_BASE,4,2         ; @V3D_MMU_PT_PA_BASE
	.comm	_V3D_MMU_PAGE_SHIFT,4,2         ; @V3D_MMU_PAGE_SHIFT
	.comm	_V3D_MMU_CTL,4,2                ; @V3D_MMU_CTL
	.comm	_V3D_MMU_CTL_ENABLE,4,2         ; @V3D_MMU_CTL_ENABLE
	.comm	_V3D_MMU_CTL_PT_INVALID_ENABLE,4,2 ; @V3D_MMU_CTL_PT_INVALID_ENABLE
	.comm	_V3D_MMU_CTL_PT_INVALID_ABORT,4,2 ; @V3D_MMU_CTL_PT_INVALID_ABORT
	.comm	_V3D_MMU_CTL_PT_INVALID_INT,4,2 ; @V3D_MMU_CTL_PT_INVALID_INT
	.comm	_V3D_MMU_CTL_WRITE_VIOLATION_ABORT,4,2 ; @V3D_MMU_CTL_WRITE_VIOLATION_ABORT
	.comm	_V3D_MMU_CTL_WRITE_VIOLATION_INT,4,2 ; @V3D_MMU_CTL_WRITE_VIOLATION_INT
	.comm	_V3D_MMU_CTL_CAP_EXCEEDED_ABORT,4,2 ; @V3D_MMU_CTL_CAP_EXCEEDED_ABORT
	.comm	_V3D_MMU_CTL_CAP_EXCEEDED_INT,4,2 ; @V3D_MMU_CTL_CAP_EXCEEDED_INT
	.comm	_V3D_MMU_ILLEGAL_ADDR,4,2       ; @V3D_MMU_ILLEGAL_ADDR
	.comm	_V3D_MMU_ILLEGAL_ADDR_ENABLE,4,2 ; @V3D_MMU_ILLEGAL_ADDR_ENABLE
	.comm	_V3D_MMUC_CONTROL,4,2           ; @V3D_MMUC_CONTROL
	.comm	_V3D_MMUC_CONTROL_ENABLE,4,2    ; @V3D_MMUC_CONTROL_ENABLE
.subsections_via_symbols
