	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mmhub_v9_4_set_fault_enable_default ## -- Begin function mmhub_v9_4_set_fault_enable_default
	.p2align	4, 0x90
_mmhub_v9_4_set_fault_enable_default:   ## @mmhub_v9_4_set_fault_enable_default
	.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:
	movl	%esi, %ebx
	xorl	%r15d, %r15d
	movq	_MMHUB@GOTPCREL(%rip), %rsi
	movq	_mmVML2PF0_VM_L2_PROTECTION_FAULT_CNTL@GOTPCREL(%rip), %rdx
	movq	_MMHUB_INSTANCE_REGISTER_OFFSET@GOTPCREL(%rip), %rcx
	movq	_VML2PF0_VM_L2_PROTECTION_FAULT_CNTL@GOTPCREL(%rip), %r12
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_MMHUB@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movl	(%r14), %edx
	movl	(%r13), %ecx
	imull	%r15d, %ecx
	xorl	%esi, %esi
	movl	%eax, %r8d
	callq	_WREG32_SOC15_OFFSET
	movq	%r13, %rcx
	movq	%r14, %rdx
	movq	_MMHUB@GOTPCREL(%rip), %rsi
	incl	%r15d
	movq	_MMHUB_NUM_INSTANCES@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r15d
	jge	LBB0_5
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rsi), %edi
	movq	%rdx, %r14
	movl	(%rdx), %edx
	movq	%rcx, %r13
	movl	(%rcx), %ecx
	imull	%r15d, %ecx
	xorl	%esi, %esi
	callq	_RREG32_SOC15_OFFSET
	movl	(%r12), %esi
	movq	_RANGE_PROTECTION_FAULT_ENABLE_DEFAULT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%eax, %edi
	movl	%ebx, %ecx
	callq	_REG_SET_FIELD
	movl	(%r12), %esi
	movq	_PDE0_PROTECTION_FAULT_ENABLE_DEFAULT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%eax, %edi
	movl	%ebx, %ecx
	callq	_REG_SET_FIELD
	movl	(%r12), %esi
	movq	_PDE1_PROTECTION_FAULT_ENABLE_DEFAULT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%eax, %edi
	movl	%ebx, %ecx
	callq	_REG_SET_FIELD
	movl	(%r12), %esi
	movq	_PDE2_PROTECTION_FAULT_ENABLE_DEFAULT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%eax, %edi
	movl	%ebx, %ecx
	callq	_REG_SET_FIELD
	movl	(%r12), %esi
	movq	_TRANSLATE_FURTHER_PROTECTION_FAULT_ENABLE_DEFAULT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%eax, %edi
	movl	%ebx, %ecx
	callq	_REG_SET_FIELD
	movl	(%r12), %esi
	movq	_NACK_PROTECTION_FAULT_ENABLE_DEFAULT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%eax, %edi
	movl	%ebx, %ecx
	callq	_REG_SET_FIELD
	movl	(%r12), %esi
	movq	_DUMMY_PAGE_PROTECTION_FAULT_ENABLE_DEFAULT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%eax, %edi
	movl	%ebx, %ecx
	callq	_REG_SET_FIELD
	movl	(%r12), %esi
	movq	_VALID_PROTECTION_FAULT_ENABLE_DEFAULT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%eax, %edi
	movl	%ebx, %ecx
	callq	_REG_SET_FIELD
	movl	(%r12), %esi
	movq	_READ_PROTECTION_FAULT_ENABLE_DEFAULT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%eax, %edi
	movl	%ebx, %ecx
	callq	_REG_SET_FIELD
	movl	(%r12), %esi
	movq	_WRITE_PROTECTION_FAULT_ENABLE_DEFAULT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%eax, %edi
	movl	%ebx, %ecx
	callq	_REG_SET_FIELD
	movl	(%r12), %esi
	movq	_EXECUTE_PROTECTION_FAULT_ENABLE_DEFAULT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%eax, %edi
	movl	%ebx, %ecx
	callq	_REG_SET_FIELD
	testl	%ebx, %ebx
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r12), %esi
	movq	_CRASH_ON_NO_RETRY_FAULT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%eax, %edi
	movl	$1, %ecx
	callq	_REG_SET_FIELD
	movl	(%r12), %esi
	movq	_CRASH_ON_RETRY_FAULT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%eax, %edi
	movl	$1, %ecx
	callq	_REG_SET_FIELD
	jmp	LBB0_4
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	_mmVML2PF0_VM_L2_PROTECTION_FAULT_CNTL,4,2 ## @mmVML2PF0_VM_L2_PROTECTION_FAULT_CNTL
	.comm	_MMHUB_INSTANCE_REGISTER_OFFSET,4,2 ## @MMHUB_INSTANCE_REGISTER_OFFSET
	.comm	_VML2PF0_VM_L2_PROTECTION_FAULT_CNTL,4,2 ## @VML2PF0_VM_L2_PROTECTION_FAULT_CNTL
	.comm	_RANGE_PROTECTION_FAULT_ENABLE_DEFAULT,4,2 ## @RANGE_PROTECTION_FAULT_ENABLE_DEFAULT
	.comm	_PDE0_PROTECTION_FAULT_ENABLE_DEFAULT,4,2 ## @PDE0_PROTECTION_FAULT_ENABLE_DEFAULT
	.comm	_PDE1_PROTECTION_FAULT_ENABLE_DEFAULT,4,2 ## @PDE1_PROTECTION_FAULT_ENABLE_DEFAULT
	.comm	_PDE2_PROTECTION_FAULT_ENABLE_DEFAULT,4,2 ## @PDE2_PROTECTION_FAULT_ENABLE_DEFAULT
	.comm	_TRANSLATE_FURTHER_PROTECTION_FAULT_ENABLE_DEFAULT,4,2 ## @TRANSLATE_FURTHER_PROTECTION_FAULT_ENABLE_DEFAULT
	.comm	_NACK_PROTECTION_FAULT_ENABLE_DEFAULT,4,2 ## @NACK_PROTECTION_FAULT_ENABLE_DEFAULT
	.comm	_DUMMY_PAGE_PROTECTION_FAULT_ENABLE_DEFAULT,4,2 ## @DUMMY_PAGE_PROTECTION_FAULT_ENABLE_DEFAULT
	.comm	_VALID_PROTECTION_FAULT_ENABLE_DEFAULT,4,2 ## @VALID_PROTECTION_FAULT_ENABLE_DEFAULT
	.comm	_READ_PROTECTION_FAULT_ENABLE_DEFAULT,4,2 ## @READ_PROTECTION_FAULT_ENABLE_DEFAULT
	.comm	_WRITE_PROTECTION_FAULT_ENABLE_DEFAULT,4,2 ## @WRITE_PROTECTION_FAULT_ENABLE_DEFAULT
	.comm	_EXECUTE_PROTECTION_FAULT_ENABLE_DEFAULT,4,2 ## @EXECUTE_PROTECTION_FAULT_ENABLE_DEFAULT
	.comm	_CRASH_ON_NO_RETRY_FAULT,4,2    ## @CRASH_ON_NO_RETRY_FAULT
	.comm	_CRASH_ON_RETRY_FAULT,4,2       ## @CRASH_ON_RETRY_FAULT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mmhub_v9_4_set_fault_enable_default ; -- Begin function mmhub_v9_4_set_fault_enable_default
	.p2align	2
_mmhub_v9_4_set_fault_enable_default:   ; @mmhub_v9_4_set_fault_enable_default
	.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	x19, x1
	mov	w21, #0
Lloh3:
	adrp	x22, _MMHUB@GOTPAGE
Lloh4:
	ldr	x22, [x22, _MMHUB@GOTPAGEOFF]
Lloh5:
	adrp	x23, _mmVML2PF0_VM_L2_PROTECTION_FAULT_CNTL@GOTPAGE
Lloh6:
	ldr	x23, [x23, _mmVML2PF0_VM_L2_PROTECTION_FAULT_CNTL@GOTPAGEOFF]
Lloh7:
	adrp	x24, _MMHUB_INSTANCE_REGISTER_OFFSET@GOTPAGE
Lloh8:
	ldr	x24, [x24, _MMHUB_INSTANCE_REGISTER_OFFSET@GOTPAGEOFF]
Lloh9:
	adrp	x25, _VML2PF0_VM_L2_PROTECTION_FAULT_CNTL@GOTPAGE
Lloh10:
	ldr	x25, [x25, _VML2PF0_VM_L2_PROTECTION_FAULT_CNTL@GOTPAGEOFF]
Lloh11:
	adrp	x26, _VALID_PROTECTION_FAULT_ENABLE_DEFAULT@GOTPAGE
Lloh12:
	ldr	x26, [x26, _VALID_PROTECTION_FAULT_ENABLE_DEFAULT@GOTPAGEOFF]
Lloh13:
	adrp	x27, _READ_PROTECTION_FAULT_ENABLE_DEFAULT@GOTPAGE
Lloh14:
	ldr	x27, [x27, _READ_PROTECTION_FAULT_ENABLE_DEFAULT@GOTPAGEOFF]
Lloh15:
	adrp	x20, _WRITE_PROTECTION_FAULT_ENABLE_DEFAULT@GOTPAGE
Lloh16:
	ldr	x20, [x20, _WRITE_PROTECTION_FAULT_ENABLE_DEFAULT@GOTPAGEOFF]
Lloh17:
	adrp	x28, _EXECUTE_PROTECTION_FAULT_ENABLE_DEFAULT@GOTPAGE
Lloh18:
	ldr	x28, [x28, _EXECUTE_PROTECTION_FAULT_ENABLE_DEFAULT@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x22]
	ldr	w2, [x23]
	ldr	w8, [x24]
	mul	w3, w8, w21
	mov	w1, #0
	bl	_WREG32_SOC15_OFFSET
	add	w21, w21, #1
Lloh19:
	adrp	x8, _MMHUB_NUM_INSTANCES@GOTPAGE
Lloh20:
	ldr	x8, [x8, _MMHUB_NUM_INSTANCES@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	cmp	w21, w8
	b.ge	LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x22]
	ldr	w2, [x23]
	ldr	w8, [x24]
	mul	w3, w8, w21
	mov	w1, #0
	bl	_RREG32_SOC15_OFFSET
	ldr	w1, [x25]
Lloh22:
	adrp	x8, _RANGE_PROTECTION_FAULT_ENABLE_DEFAULT@GOTPAGE
Lloh23:
	ldr	x8, [x8, _RANGE_PROTECTION_FAULT_ENABLE_DEFAULT@GOTPAGEOFF]
Lloh24:
	ldr	w2, [x8]
	mov	x3, x19
	bl	_REG_SET_FIELD
	ldr	w1, [x25]
Lloh25:
	adrp	x8, _PDE0_PROTECTION_FAULT_ENABLE_DEFAULT@GOTPAGE
Lloh26:
	ldr	x8, [x8, _PDE0_PROTECTION_FAULT_ENABLE_DEFAULT@GOTPAGEOFF]
Lloh27:
	ldr	w2, [x8]
	mov	x3, x19
	bl	_REG_SET_FIELD
	ldr	w1, [x25]
Lloh28:
	adrp	x8, _PDE1_PROTECTION_FAULT_ENABLE_DEFAULT@GOTPAGE
Lloh29:
	ldr	x8, [x8, _PDE1_PROTECTION_FAULT_ENABLE_DEFAULT@GOTPAGEOFF]
Lloh30:
	ldr	w2, [x8]
	mov	x3, x19
	bl	_REG_SET_FIELD
	ldr	w1, [x25]
Lloh31:
	adrp	x8, _PDE2_PROTECTION_FAULT_ENABLE_DEFAULT@GOTPAGE
Lloh32:
	ldr	x8, [x8, _PDE2_PROTECTION_FAULT_ENABLE_DEFAULT@GOTPAGEOFF]
Lloh33:
	ldr	w2, [x8]
	mov	x3, x19
	bl	_REG_SET_FIELD
	ldr	w1, [x25]
Lloh34:
	adrp	x8, _TRANSLATE_FURTHER_PROTECTION_FAULT_ENABLE_DEFAULT@GOTPAGE
Lloh35:
	ldr	x8, [x8, _TRANSLATE_FURTHER_PROTECTION_FAULT_ENABLE_DEFAULT@GOTPAGEOFF]
Lloh36:
	ldr	w2, [x8]
	mov	x3, x19
	bl	_REG_SET_FIELD
	ldr	w1, [x25]
Lloh37:
	adrp	x8, _NACK_PROTECTION_FAULT_ENABLE_DEFAULT@GOTPAGE
Lloh38:
	ldr	x8, [x8, _NACK_PROTECTION_FAULT_ENABLE_DEFAULT@GOTPAGEOFF]
Lloh39:
	ldr	w2, [x8]
	mov	x3, x19
	bl	_REG_SET_FIELD
	ldr	w1, [x25]
Lloh40:
	adrp	x8, _DUMMY_PAGE_PROTECTION_FAULT_ENABLE_DEFAULT@GOTPAGE
Lloh41:
	ldr	x8, [x8, _DUMMY_PAGE_PROTECTION_FAULT_ENABLE_DEFAULT@GOTPAGEOFF]
Lloh42:
	ldr	w2, [x8]
	mov	x3, x19
	bl	_REG_SET_FIELD
	ldr	w1, [x25]
	ldr	w2, [x26]
	mov	x3, x19
	bl	_REG_SET_FIELD
	ldr	w1, [x25]
	ldr	w2, [x27]
	mov	x3, x19
	bl	_REG_SET_FIELD
	ldr	w1, [x25]
	ldr	w2, [x20]
	mov	x3, x19
	bl	_REG_SET_FIELD
	ldr	w1, [x25]
	ldr	w2, [x28]
	mov	x3, x19
	bl	_REG_SET_FIELD
	mov	x4, x0
	cbnz	w19, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w1, [x25]
Lloh43:
	adrp	x8, _CRASH_ON_NO_RETRY_FAULT@GOTPAGE
Lloh44:
	ldr	x8, [x8, _CRASH_ON_NO_RETRY_FAULT@GOTPAGEOFF]
Lloh45:
	ldr	w2, [x8]
	mov	x0, x4
	mov	w3, #1
	bl	_REG_SET_FIELD
	ldr	w1, [x25]
Lloh46:
	adrp	x8, _CRASH_ON_RETRY_FAULT@GOTPAGE
Lloh47:
	ldr	x8, [x8, _CRASH_ON_RETRY_FAULT@GOTPAGEOFF]
Lloh48:
	ldr	w2, [x8]
	mov	w3, #1
	bl	_REG_SET_FIELD
	mov	x4, x0
	b	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	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.cfi_endproc
                                        ; -- End function
	.comm	_MMHUB_NUM_INSTANCES,4,2        ; @MMHUB_NUM_INSTANCES
	.comm	_MMHUB,4,2                      ; @MMHUB
	.comm	_mmVML2PF0_VM_L2_PROTECTION_FAULT_CNTL,4,2 ; @mmVML2PF0_VM_L2_PROTECTION_FAULT_CNTL
	.comm	_MMHUB_INSTANCE_REGISTER_OFFSET,4,2 ; @MMHUB_INSTANCE_REGISTER_OFFSET
	.comm	_VML2PF0_VM_L2_PROTECTION_FAULT_CNTL,4,2 ; @VML2PF0_VM_L2_PROTECTION_FAULT_CNTL
	.comm	_RANGE_PROTECTION_FAULT_ENABLE_DEFAULT,4,2 ; @RANGE_PROTECTION_FAULT_ENABLE_DEFAULT
	.comm	_PDE0_PROTECTION_FAULT_ENABLE_DEFAULT,4,2 ; @PDE0_PROTECTION_FAULT_ENABLE_DEFAULT
	.comm	_PDE1_PROTECTION_FAULT_ENABLE_DEFAULT,4,2 ; @PDE1_PROTECTION_FAULT_ENABLE_DEFAULT
	.comm	_PDE2_PROTECTION_FAULT_ENABLE_DEFAULT,4,2 ; @PDE2_PROTECTION_FAULT_ENABLE_DEFAULT
	.comm	_TRANSLATE_FURTHER_PROTECTION_FAULT_ENABLE_DEFAULT,4,2 ; @TRANSLATE_FURTHER_PROTECTION_FAULT_ENABLE_DEFAULT
	.comm	_NACK_PROTECTION_FAULT_ENABLE_DEFAULT,4,2 ; @NACK_PROTECTION_FAULT_ENABLE_DEFAULT
	.comm	_DUMMY_PAGE_PROTECTION_FAULT_ENABLE_DEFAULT,4,2 ; @DUMMY_PAGE_PROTECTION_FAULT_ENABLE_DEFAULT
	.comm	_VALID_PROTECTION_FAULT_ENABLE_DEFAULT,4,2 ; @VALID_PROTECTION_FAULT_ENABLE_DEFAULT
	.comm	_READ_PROTECTION_FAULT_ENABLE_DEFAULT,4,2 ; @READ_PROTECTION_FAULT_ENABLE_DEFAULT
	.comm	_WRITE_PROTECTION_FAULT_ENABLE_DEFAULT,4,2 ; @WRITE_PROTECTION_FAULT_ENABLE_DEFAULT
	.comm	_EXECUTE_PROTECTION_FAULT_ENABLE_DEFAULT,4,2 ; @EXECUTE_PROTECTION_FAULT_ENABLE_DEFAULT
	.comm	_CRASH_ON_NO_RETRY_FAULT,4,2    ; @CRASH_ON_NO_RETRY_FAULT
	.comm	_CRASH_ON_RETRY_FAULT,4,2       ; @CRASH_ON_RETRY_FAULT
.subsections_via_symbols
