	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mmhub_v9_4_init_tlb_regs
_mmhub_v9_4_init_tlb_regs:              ## @mmhub_v9_4_init_tlb_regs
	.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	%esi, %r13d
	movq	_MMHUB@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	movq	_mmVMSHAREDVC0_MC_VM_MX_L1_TLB_CNTL@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	movq	_MMHUB_INSTANCE_REGISTER_OFFSET@GOTPCREL(%rip), %r12
	movl	(%r12), %ecx
	imull	%esi, %ecx
	xorl	%esi, %esi
	callq	_RREG32_SOC15_OFFSET
	movq	_VMSHAREDVC0_MC_VM_MX_L1_TLB_CNTL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	_ENABLE_L1_TLB@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%eax, %edi
	movl	$1, %ecx
	callq	_REG_SET_FIELD
	movl	(%rbx), %esi
	movq	_SYSTEM_ACCESS_MODE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%eax, %edi
	movl	$3, %ecx
	callq	_REG_SET_FIELD
	movl	(%rbx), %esi
	movq	_ENABLE_ADVANCED_DRIVER_MODEL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%eax, %edi
	movl	$1, %ecx
	callq	_REG_SET_FIELD
	movl	(%rbx), %esi
	movq	_SYSTEM_APERTURE_UNMAPPED_ACCESS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%eax, %edi
	xorl	%ecx, %ecx
	callq	_REG_SET_FIELD
	movl	(%rbx), %esi
	movq	_ECO_BITS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%eax, %edi
	xorl	%ecx, %ecx
	callq	_REG_SET_FIELD
	movl	(%rbx), %esi
	movq	_MTYPE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	_MTYPE_UC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%eax, %edi
	callq	_REG_SET_FIELD
	movl	(%rbx), %esi
	movq	_ATC_EN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%eax, %edi
	movl	$1, %ecx
	callq	_REG_SET_FIELD
	movl	(%r14), %edi
	movl	(%r15), %edx
	imull	(%r12), %r13d
	xorl	%esi, %esi
	movl	%r13d, %ecx
	movl	%eax, %r8d
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_WREG32_SOC15_OFFSET            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MMHUB,4,2                      ## @MMHUB
	.comm	_mmVMSHAREDVC0_MC_VM_MX_L1_TLB_CNTL,4,2 ## @mmVMSHAREDVC0_MC_VM_MX_L1_TLB_CNTL
	.comm	_MMHUB_INSTANCE_REGISTER_OFFSET,4,2 ## @MMHUB_INSTANCE_REGISTER_OFFSET
	.comm	_VMSHAREDVC0_MC_VM_MX_L1_TLB_CNTL,4,2 ## @VMSHAREDVC0_MC_VM_MX_L1_TLB_CNTL
	.comm	_ENABLE_L1_TLB,4,2              ## @ENABLE_L1_TLB
	.comm	_SYSTEM_ACCESS_MODE,4,2         ## @SYSTEM_ACCESS_MODE
	.comm	_ENABLE_ADVANCED_DRIVER_MODEL,4,2 ## @ENABLE_ADVANCED_DRIVER_MODEL
	.comm	_SYSTEM_APERTURE_UNMAPPED_ACCESS,4,2 ## @SYSTEM_APERTURE_UNMAPPED_ACCESS
	.comm	_ECO_BITS,4,2                   ## @ECO_BITS
	.comm	_MTYPE,4,2                      ## @MTYPE
	.comm	_MTYPE_UC,4,2                   ## @MTYPE_UC
	.comm	_ATC_EN,4,2                     ## @ATC_EN
	.no_dead_strip	_mmhub_v9_4_init_tlb_regs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mmhub_v9_4_init_tlb_regs
_mmhub_v9_4_init_tlb_regs:              ; @mmhub_v9_4_init_tlb_regs
	.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, x1
Lloh0:
	adrp	x20, _MMHUB@GOTPAGE
Lloh1:
	ldr	x20, [x20, _MMHUB@GOTPAGEOFF]
Lloh2:
	adrp	x21, _mmVMSHAREDVC0_MC_VM_MX_L1_TLB_CNTL@GOTPAGE
Lloh3:
	ldr	x21, [x21, _mmVMSHAREDVC0_MC_VM_MX_L1_TLB_CNTL@GOTPAGEOFF]
	ldr	w0, [x20]
	ldr	w2, [x21]
Lloh4:
	adrp	x22, _MMHUB_INSTANCE_REGISTER_OFFSET@GOTPAGE
Lloh5:
	ldr	x22, [x22, _MMHUB_INSTANCE_REGISTER_OFFSET@GOTPAGEOFF]
	ldr	w8, [x22]
	mul	w3, w8, w1
	mov	w1, #0
	bl	_RREG32_SOC15_OFFSET
Lloh6:
	adrp	x23, _VMSHAREDVC0_MC_VM_MX_L1_TLB_CNTL@GOTPAGE
Lloh7:
	ldr	x23, [x23, _VMSHAREDVC0_MC_VM_MX_L1_TLB_CNTL@GOTPAGEOFF]
	ldr	w1, [x23]
Lloh8:
	adrp	x8, _ENABLE_L1_TLB@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ENABLE_L1_TLB@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	mov	w3, #1
	bl	_REG_SET_FIELD
	ldr	w1, [x23]
Lloh11:
	adrp	x8, _SYSTEM_ACCESS_MODE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _SYSTEM_ACCESS_MODE@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	mov	w3, #3
	bl	_REG_SET_FIELD
	ldr	w1, [x23]
Lloh14:
	adrp	x8, _ENABLE_ADVANCED_DRIVER_MODEL@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ENABLE_ADVANCED_DRIVER_MODEL@GOTPAGEOFF]
Lloh16:
	ldr	w2, [x8]
	mov	w3, #1
	bl	_REG_SET_FIELD
	ldr	w1, [x23]
Lloh17:
	adrp	x8, _SYSTEM_APERTURE_UNMAPPED_ACCESS@GOTPAGE
Lloh18:
	ldr	x8, [x8, _SYSTEM_APERTURE_UNMAPPED_ACCESS@GOTPAGEOFF]
Lloh19:
	ldr	w2, [x8]
	mov	w3, #0
	bl	_REG_SET_FIELD
	ldr	w1, [x23]
Lloh20:
	adrp	x8, _ECO_BITS@GOTPAGE
Lloh21:
	ldr	x8, [x8, _ECO_BITS@GOTPAGEOFF]
Lloh22:
	ldr	w2, [x8]
	mov	w3, #0
	bl	_REG_SET_FIELD
	ldr	w1, [x23]
Lloh23:
	adrp	x8, _MTYPE@GOTPAGE
Lloh24:
	ldr	x8, [x8, _MTYPE@GOTPAGEOFF]
Lloh25:
	ldr	w2, [x8]
Lloh26:
	adrp	x8, _MTYPE_UC@GOTPAGE
Lloh27:
	ldr	x8, [x8, _MTYPE_UC@GOTPAGEOFF]
Lloh28:
	ldr	w3, [x8]
	bl	_REG_SET_FIELD
	ldr	w1, [x23]
Lloh29:
	adrp	x8, _ATC_EN@GOTPAGE
Lloh30:
	ldr	x8, [x8, _ATC_EN@GOTPAGEOFF]
Lloh31:
	ldr	w2, [x8]
	mov	w3, #1
	bl	_REG_SET_FIELD
	mov	x4, x0
	ldr	w0, [x20]
	ldr	w2, [x21]
	ldr	w8, [x22]
	mul	w3, w8, w19
	mov	w1, #0
	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	_WREG32_SOC15_OFFSET
	.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	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_MMHUB,4,2                      ; @MMHUB
	.comm	_mmVMSHAREDVC0_MC_VM_MX_L1_TLB_CNTL,4,2 ; @mmVMSHAREDVC0_MC_VM_MX_L1_TLB_CNTL
	.comm	_MMHUB_INSTANCE_REGISTER_OFFSET,4,2 ; @MMHUB_INSTANCE_REGISTER_OFFSET
	.comm	_VMSHAREDVC0_MC_VM_MX_L1_TLB_CNTL,4,2 ; @VMSHAREDVC0_MC_VM_MX_L1_TLB_CNTL
	.comm	_ENABLE_L1_TLB,4,2              ; @ENABLE_L1_TLB
	.comm	_SYSTEM_ACCESS_MODE,4,2         ; @SYSTEM_ACCESS_MODE
	.comm	_ENABLE_ADVANCED_DRIVER_MODEL,4,2 ; @ENABLE_ADVANCED_DRIVER_MODEL
	.comm	_SYSTEM_APERTURE_UNMAPPED_ACCESS,4,2 ; @SYSTEM_APERTURE_UNMAPPED_ACCESS
	.comm	_ECO_BITS,4,2                   ; @ECO_BITS
	.comm	_MTYPE,4,2                      ; @MTYPE
	.comm	_MTYPE_UC,4,2                   ; @MTYPE_UC
	.comm	_ATC_EN,4,2                     ; @ATC_EN
	.no_dead_strip	_mmhub_v9_4_init_tlb_regs
.subsections_via_symbols
