	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ept_emulation_fault
_ept_emulation_fault:                   ## @ept_emulation_fault
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_EPT_VIOLATION_INST_FETCH@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	testl	%edi, (%rcx)
	je	LBB0_1
LBB0_4:
	popq	%rbp
	retq
LBB0_1:
	movq	_EPT_VIOLATION_DATA_READ@GOTPCREL(%rip), %rcx
	movq	_EPT_VIOLATION_DATA_WRITE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	testl	%edi, %edx
	je	LBB0_4
## %bb.2:
	movq	_EPT_VIOLATION_GLA_VALID@GOTPCREL(%rip), %rcx
	testl	%edi, (%rcx)
	je	LBB0_4
## %bb.3:
	movq	_EPT_VIOLATION_XLAT_VALID@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	testl	%edi, (%rcx)
	setne	%al
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EPT_VIOLATION_INST_FETCH,4,2   ## @EPT_VIOLATION_INST_FETCH
	.comm	_EPT_VIOLATION_DATA_READ,4,2    ## @EPT_VIOLATION_DATA_READ
	.comm	_EPT_VIOLATION_DATA_WRITE,4,2   ## @EPT_VIOLATION_DATA_WRITE
	.comm	_EPT_VIOLATION_GLA_VALID,4,2    ## @EPT_VIOLATION_GLA_VALID
	.comm	_EPT_VIOLATION_XLAT_VALID,4,2   ## @EPT_VIOLATION_XLAT_VALID
	.no_dead_strip	_ept_emulation_fault
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ept_emulation_fault
_ept_emulation_fault:                   ; @ept_emulation_fault
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _EPT_VIOLATION_INST_FETCH@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EPT_VIOLATION_INST_FETCH@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_2
LBB0_1:
	mov	w0, #0
	ret
LBB0_2:
Lloh3:
	adrp	x8, _EPT_VIOLATION_DATA_READ@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EPT_VIOLATION_DATA_READ@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _EPT_VIOLATION_DATA_WRITE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _EPT_VIOLATION_DATA_WRITE@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w9, w8
	tst	w8, w0
	b.eq	LBB0_1
; %bb.3:
Lloh9:
	adrp	x8, _EPT_VIOLATION_GLA_VALID@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EPT_VIOLATION_GLA_VALID@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_1
; %bb.4:
Lloh12:
	adrp	x8, _EPT_VIOLATION_XLAT_VALID@GOTPAGE
Lloh13:
	ldr	x8, [x8, _EPT_VIOLATION_XLAT_VALID@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	tst	w8, w0
	cset	w0, ne
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_EPT_VIOLATION_INST_FETCH,4,2   ; @EPT_VIOLATION_INST_FETCH
	.comm	_EPT_VIOLATION_DATA_READ,4,2    ; @EPT_VIOLATION_DATA_READ
	.comm	_EPT_VIOLATION_DATA_WRITE,4,2   ; @EPT_VIOLATION_DATA_WRITE
	.comm	_EPT_VIOLATION_GLA_VALID,4,2    ; @EPT_VIOLATION_GLA_VALID
	.comm	_EPT_VIOLATION_XLAT_VALID,4,2   ; @EPT_VIOLATION_XLAT_VALID
	.no_dead_strip	_ept_emulation_fault
.subsections_via_symbols
