	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gmc_v8_0_vm_decode_fault
_gmc_v8_0_vm_decode_fault:              ## @gmc_v8_0_vm_decode_fault
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, -64(%rbp)                 ## 4-byte Spill
	movl	%ecx, %r15d
	movl	%edx, -60(%rbp)                 ## 4-byte Spill
	movl	%esi, %ebx
	movq	%rdi, %r13
	movq	_VM_CONTEXT1_PROTECTION_FAULT_STATUS@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	_VMID@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%ebx, %edi
	callq	_REG_GET_FIELD
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movl	(%r12), %esi
	movq	_PROTECTIONS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%ebx, %edi
	callq	_REG_GET_FIELD
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	%r15, %rcx
	movl	%ecx, %eax
	shrl	$24, %eax
	movb	%al, -45(%rbp)
	movl	%ecx, %eax
	shrl	$16, %eax
	movb	%al, -44(%rbp)
	movb	%ch, -43(%rbp)
	movb	%cl, -42(%rbp)
	movq	%r15, %r14
	movb	$0, -41(%rbp)
	movl	(%r12), %esi
	movq	_MEMORY_CLIENT_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%ebx, %edi
	callq	_REG_GET_FIELD
	movl	%eax, %r15d
	movl	(%r13), %r13d
	movl	(%r12), %esi
	movq	_MEMORY_CLIENT_RW@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%ebx, %edi
	callq	_REG_GET_FIELD
	testl	%eax, %eax
	leaq	L_.str.2(%rip), %rax
	leaq	L_.str.1(%rip), %rbx
	cmoveq	%rax, %rbx
	leaq	-45(%rbp), %rax
	leaq	L_.str(%rip), %rsi
	movl	%r13d, %edi
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	movl	-56(%rbp), %ecx                 ## 4-byte Reload
	movl	-64(%rbp), %r8d                 ## 4-byte Reload
	movl	-60(%rbp), %r9d                 ## 4-byte Reload
	pushq	%r15
	pushq	%r14
	pushq	%rax
	pushq	%rbx
	callq	_dev_err
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VM_CONTEXT1_PROTECTION_FAULT_STATUS,4,2 ## @VM_CONTEXT1_PROTECTION_FAULT_STATUS
	.comm	_VMID,4,2                       ## @VMID
	.comm	_PROTECTIONS,4,2                ## @PROTECTIONS
	.comm	_MEMORY_CLIENT_ID,4,2           ## @MEMORY_CLIENT_ID
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"VM fault (0x%02x, vmid %d, pasid %d) at page %u, %s from '%s' (0x%08x) (%d)\n"

	.comm	_MEMORY_CLIENT_RW,4,2           ## @MEMORY_CLIENT_RW
L_.str.1:                               ## @.str.1
	.asciz	"write"

L_.str.2:                               ## @.str.2
	.asciz	"read"

	.no_dead_strip	_gmc_v8_0_vm_decode_fault
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gmc_v8_0_vm_decode_fault
_gmc_v8_0_vm_decode_fault:              ; @gmc_v8_0_vm_decode_fault
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	mov	x19, x4
	mov	x21, x3
	mov	x20, x2
	mov	x23, x1
	mov	x24, x0
Lloh0:
	adrp	x27, _VM_CONTEXT1_PROTECTION_FAULT_STATUS@GOTPAGE
Lloh1:
	ldr	x27, [x27, _VM_CONTEXT1_PROTECTION_FAULT_STATUS@GOTPAGEOFF]
	ldr	w1, [x27]
Lloh2:
	adrp	x8, _VMID@GOTPAGE
Lloh3:
	ldr	x8, [x8, _VMID@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	mov	x0, x23
	bl	_REG_GET_FIELD
	mov	x22, x0
	ldr	w1, [x27]
Lloh5:
	adrp	x8, _PROTECTIONS@GOTPAGE
Lloh6:
	ldr	x8, [x8, _PROTECTIONS@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	mov	x0, x23
	bl	_REG_GET_FIELD
	mov	x25, x0
	lsr	w8, w21, #24
	strb	w8, [sp, #11]
	lsr	w8, w21, #16
	strb	w8, [sp, #12]
	lsr	w8, w21, #8
	strb	w8, [sp, #13]
	strb	w21, [sp, #14]
	strb	wzr, [sp, #15]
	ldr	w1, [x27]
Lloh8:
	adrp	x8, _MEMORY_CLIENT_ID@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MEMORY_CLIENT_ID@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	mov	x0, x23
	bl	_REG_GET_FIELD
	mov	x26, x0
	ldr	w24, [x24]
	ldr	w1, [x27]
Lloh11:
	adrp	x8, _MEMORY_CLIENT_RW@GOTPAGE
Lloh12:
	ldr	x8, [x8, _MEMORY_CLIENT_RW@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	mov	x0, x23
	bl	_REG_GET_FIELD
Lloh14:
	adrp	x8, l_.str.1@PAGE
Lloh15:
	add	x8, x8, l_.str.1@PAGEOFF
Lloh16:
	adrp	x9, l_.str.2@PAGE
Lloh17:
	add	x9, x9, l_.str.2@PAGEOFF
	cmp	w0, #0
	csel	x6, x9, x8, eq
	stp	w21, w26, [sp]
Lloh18:
	adrp	x1, l_.str@PAGE
Lloh19:
	add	x1, x1, l_.str@PAGEOFF
	add	x7, sp, #11
	mov	x0, x24
	mov	x2, x25
	mov	x3, x22
	mov	x4, x19
	mov	x5, x20
	bl	_dev_err
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_VM_CONTEXT1_PROTECTION_FAULT_STATUS,4,2 ; @VM_CONTEXT1_PROTECTION_FAULT_STATUS
	.comm	_VMID,4,2                       ; @VMID
	.comm	_PROTECTIONS,4,2                ; @PROTECTIONS
	.comm	_MEMORY_CLIENT_ID,4,2           ; @MEMORY_CLIENT_ID
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"VM fault (0x%02x, vmid %d, pasid %d) at page %u, %s from '%s' (0x%08x) (%d)\n"

	.comm	_MEMORY_CLIENT_RW,4,2           ; @MEMORY_CLIENT_RW
l_.str.1:                               ; @.str.1
	.asciz	"write"

l_.str.2:                               ; @.str.2
	.asciz	"read"

	.no_dead_strip	_gmc_v8_0_vm_decode_fault
.subsections_via_symbols
