	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mmhub_v9_4_gart_disable        ## -- Begin function mmhub_v9_4_gart_disable
	.p2align	4, 0x90
_mmhub_v9_4_gart_disable:               ## @mmhub_v9_4_gart_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	%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
	movq	_MMHUB_NUM_INSTANCES@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_5
## %bb.1:
	xorl	%ebx, %ebx
	movq	_MMHUB@GOTPCREL(%rip), %r15
	movq	_mmVML2VC0_VM_CONTEXT0_CNTL@GOTPCREL(%rip), %r12
	movq	_MMHUB_INSTANCE_REGISTER_OFFSET@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_3 Depth 2
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_3:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%r15), %edi
	movl	(%r12), %edx
	movl	(%r13), %ecx
	imull	%ebx, %ecx
	addl	%r14d, %ecx
	xorl	%esi, %esi
	xorl	%r8d, %r8d
	callq	_WREG32_SOC15_OFFSET
	incl	%r14d
	cmpl	$16, %r14d
	jne	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r15), %edi
	movq	_mmVMSHAREDVC0_MC_VM_MX_L1_TLB_CNTL@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	movl	(%r13), %ecx
	imull	%ebx, %ecx
	xorl	%esi, %esi
	callq	_RREG32_SOC15_OFFSET
	movq	_VMSHAREDVC0_MC_VM_MX_L1_TLB_CNTL@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	_ENABLE_L1_TLB@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%eax, %edi
	xorl	%ecx, %ecx
	callq	_REG_SET_FIELD
	movl	(%r14), %esi
	movq	_ENABLE_ADVANCED_DRIVER_MODEL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%eax, %edi
	xorl	%ecx, %ecx
	callq	_REG_SET_FIELD
	movl	(%r15), %edi
	movq	_mmVMSHAREDVC0_MC_VM_MX_L1_TLB_CNTL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	(%r13), %ecx
	imull	%ebx, %ecx
	xorl	%esi, %esi
	movl	%eax, %r8d
	callq	_WREG32_SOC15_OFFSET
	movl	(%r15), %edi
	movq	_mmVML2PF0_VM_L2_CNTL@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	movl	(%r13), %ecx
	imull	%ebx, %ecx
	xorl	%esi, %esi
	callq	_RREG32_SOC15_OFFSET
	movq	_VML2PF0_VM_L2_CNTL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_ENABLE_L2_CACHE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%eax, %edi
	xorl	%ecx, %ecx
	callq	_REG_SET_FIELD
	movl	(%r15), %edi
	movl	(%r14), %edx
	movl	(%r13), %ecx
	imull	%ebx, %ecx
	xorl	%esi, %esi
	movl	%eax, %r8d
	callq	_WREG32_SOC15_OFFSET
	movl	(%r15), %edi
	movq	_mmVML2PF0_VM_L2_CNTL3@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%r13), %ecx
	imull	%ebx, %ecx
	xorl	%esi, %esi
	xorl	%r8d, %r8d
	callq	_WREG32_SOC15_OFFSET
	incl	%ebx
	movq	_MMHUB_NUM_INSTANCES@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jl	LBB0_2
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MMHUB_NUM_INSTANCES,4,2        ## @MMHUB_NUM_INSTANCES
	.comm	_MMHUB,4,2                      ## @MMHUB
	.comm	_mmVML2VC0_VM_CONTEXT0_CNTL,4,2 ## @mmVML2VC0_VM_CONTEXT0_CNTL
	.comm	_MMHUB_INSTANCE_REGISTER_OFFSET,4,2 ## @MMHUB_INSTANCE_REGISTER_OFFSET
	.comm	_mmVMSHAREDVC0_MC_VM_MX_L1_TLB_CNTL,4,2 ## @mmVMSHAREDVC0_MC_VM_MX_L1_TLB_CNTL
	.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	_ENABLE_ADVANCED_DRIVER_MODEL,4,2 ## @ENABLE_ADVANCED_DRIVER_MODEL
	.comm	_mmVML2PF0_VM_L2_CNTL,4,2       ## @mmVML2PF0_VM_L2_CNTL
	.comm	_VML2PF0_VM_L2_CNTL,4,2         ## @VML2PF0_VM_L2_CNTL
	.comm	_ENABLE_L2_CACHE,4,2            ## @ENABLE_L2_CACHE
	.comm	_mmVML2PF0_VM_L2_CNTL3,4,2      ## @mmVML2PF0_VM_L2_CNTL3
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mmhub_v9_4_gart_disable        ; -- Begin function mmhub_v9_4_gart_disable
	.p2align	2
_mmhub_v9_4_gart_disable:               ; @mmhub_v9_4_gart_disable
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
Lloh0:
	adrp	x8, _MMHUB_NUM_INSTANCES@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MMHUB_NUM_INSTANCES@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.1:
	mov	w20, #0
Lloh3:
	adrp	x21, _MMHUB@GOTPAGE
Lloh4:
	ldr	x21, [x21, _MMHUB@GOTPAGEOFF]
Lloh5:
	adrp	x22, _mmVML2VC0_VM_CONTEXT0_CNTL@GOTPAGE
Lloh6:
	ldr	x22, [x22, _mmVML2VC0_VM_CONTEXT0_CNTL@GOTPAGEOFF]
Lloh7:
	adrp	x23, _MMHUB_INSTANCE_REGISTER_OFFSET@GOTPAGE
Lloh8:
	ldr	x23, [x23, _MMHUB_INSTANCE_REGISTER_OFFSET@GOTPAGEOFF]
Lloh9:
	adrp	x24, _mmVMSHAREDVC0_MC_VM_MX_L1_TLB_CNTL@GOTPAGE
Lloh10:
	ldr	x24, [x24, _mmVMSHAREDVC0_MC_VM_MX_L1_TLB_CNTL@GOTPAGEOFF]
Lloh11:
	adrp	x25, _VMSHAREDVC0_MC_VM_MX_L1_TLB_CNTL@GOTPAGE
Lloh12:
	ldr	x25, [x25, _VMSHAREDVC0_MC_VM_MX_L1_TLB_CNTL@GOTPAGEOFF]
Lloh13:
	adrp	x28, _mmVML2PF0_VM_L2_CNTL@GOTPAGE
Lloh14:
	ldr	x28, [x28, _mmVML2PF0_VM_L2_CNTL@GOTPAGEOFF]
Lloh15:
	adrp	x26, _ENABLE_L2_CACHE@GOTPAGE
Lloh16:
	ldr	x26, [x26, _ENABLE_L2_CACHE@GOTPAGEOFF]
Lloh17:
	adrp	x27, _mmVML2PF0_VM_L2_CNTL3@GOTPAGE
Lloh18:
	ldr	x27, [x27, _mmVML2PF0_VM_L2_CNTL3@GOTPAGEOFF]
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_3 Depth 2
	mov	w19, #0
LBB0_3:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w0, [x21]
	ldr	w2, [x22]
	ldr	w8, [x23]
	madd	w3, w20, w8, w19
	mov	w1, #0
	mov	w4, #0
	bl	_WREG32_SOC15_OFFSET
	add	w19, w19, #1
	cmp	w19, #16
	b.ne	LBB0_3
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w0, [x21]
	ldr	w2, [x24]
	ldr	w8, [x23]
	mul	w3, w8, w20
	mov	w1, #0
	bl	_RREG32_SOC15_OFFSET
	ldr	w1, [x25]
Lloh19:
	adrp	x8, _ENABLE_L1_TLB@GOTPAGE
Lloh20:
	ldr	x8, [x8, _ENABLE_L1_TLB@GOTPAGEOFF]
Lloh21:
	ldr	w2, [x8]
	mov	w3, #0
	bl	_REG_SET_FIELD
	ldr	w1, [x25]
Lloh22:
	adrp	x8, _ENABLE_ADVANCED_DRIVER_MODEL@GOTPAGE
Lloh23:
	ldr	x8, [x8, _ENABLE_ADVANCED_DRIVER_MODEL@GOTPAGEOFF]
Lloh24:
	ldr	w2, [x8]
	mov	w3, #0
	bl	_REG_SET_FIELD
	mov	x4, x0
	ldr	w0, [x21]
	ldr	w2, [x24]
	ldr	w8, [x23]
	mul	w3, w8, w20
	mov	w1, #0
	bl	_WREG32_SOC15_OFFSET
	ldr	w0, [x21]
	ldr	w2, [x28]
	ldr	w8, [x23]
	mul	w3, w8, w20
	mov	w1, #0
	bl	_RREG32_SOC15_OFFSET
Lloh25:
	adrp	x8, _VML2PF0_VM_L2_CNTL@GOTPAGE
Lloh26:
	ldr	x8, [x8, _VML2PF0_VM_L2_CNTL@GOTPAGEOFF]
Lloh27:
	ldr	w1, [x8]
	ldr	w2, [x26]
	mov	w3, #0
	bl	_REG_SET_FIELD
	mov	x4, x0
	ldr	w0, [x21]
	ldr	w2, [x28]
	ldr	w8, [x23]
	mul	w3, w8, w20
	mov	w1, #0
	bl	_WREG32_SOC15_OFFSET
	ldr	w0, [x21]
	ldr	w2, [x27]
	ldr	w8, [x23]
	mul	w3, w8, w20
	mov	w1, #0
	mov	w4, #0
	bl	_WREG32_SOC15_OFFSET
	add	w20, w20, #1
Lloh28:
	adrp	x8, _MMHUB_NUM_INSTANCES@GOTPAGE
Lloh29:
	ldr	x8, [x8, _MMHUB_NUM_INSTANCES@GOTPAGEOFF]
Lloh30:
	ldr	w8, [x8]
	cmp	w20, w8
	b.lt	LBB0_2
LBB0_5:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_MMHUB_NUM_INSTANCES,4,2        ; @MMHUB_NUM_INSTANCES
	.comm	_MMHUB,4,2                      ; @MMHUB
	.comm	_mmVML2VC0_VM_CONTEXT0_CNTL,4,2 ; @mmVML2VC0_VM_CONTEXT0_CNTL
	.comm	_MMHUB_INSTANCE_REGISTER_OFFSET,4,2 ; @MMHUB_INSTANCE_REGISTER_OFFSET
	.comm	_mmVMSHAREDVC0_MC_VM_MX_L1_TLB_CNTL,4,2 ; @mmVMSHAREDVC0_MC_VM_MX_L1_TLB_CNTL
	.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	_ENABLE_ADVANCED_DRIVER_MODEL,4,2 ; @ENABLE_ADVANCED_DRIVER_MODEL
	.comm	_mmVML2PF0_VM_L2_CNTL,4,2       ; @mmVML2PF0_VM_L2_CNTL
	.comm	_VML2PF0_VM_L2_CNTL,4,2         ; @VML2PF0_VM_L2_CNTL
	.comm	_ENABLE_L2_CACHE,4,2            ; @ENABLE_L2_CACHE
	.comm	_mmVML2PF0_VM_L2_CNTL3,4,2      ; @mmVML2PF0_VM_L2_CNTL3
.subsections_via_symbols
