	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function spurious_fault_check
_spurious_fault_check:                  ## @spurious_fault_check
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	_PF_WRITE@GOTPCREL(%rip), %rax
	testq	%rdi, (%rax)
	je	LBB0_2
## %bb.1:
	movl	(%r14), %edi
	callq	_pte_write
	testl	%eax, %eax
	je	LBB0_6
LBB0_2:
	movq	_PF_INSTR@GOTPCREL(%rip), %rax
	testq	%rbx, (%rax)
	je	LBB0_4
## %bb.3:
	movl	(%r14), %edi
	callq	_pte_exec
	testl	%eax, %eax
	je	LBB0_6
LBB0_4:
	movl	$1, %eax
	jmp	LBB0_7
LBB0_6:
	xorl	%eax, %eax
LBB0_7:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PF_WRITE,8,3                   ## @PF_WRITE
	.comm	_PF_INSTR,8,3                   ## @PF_INSTR
	.no_dead_strip	_spurious_fault_check
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function spurious_fault_check
_spurious_fault_check:                  ; @spurious_fault_check
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _PF_WRITE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PF_WRITE@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	tst	x8, x0
	b.eq	LBB0_2
; %bb.1:
	ldr	w0, [x19]
	bl	_pte_write
	cbz	w0, LBB0_5
LBB0_2:
Lloh3:
	adrp	x8, _PF_INSTR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PF_INSTR@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	tst	x8, x20
	b.eq	LBB0_4
; %bb.3:
	ldr	w0, [x19]
	bl	_pte_exec
	cbz	w0, LBB0_5
LBB0_4:
	mov	w0, #1
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_PF_WRITE,8,3                   ; @PF_WRITE
	.comm	_PF_INSTR,8,3                   ; @PF_INSTR
	.no_dead_strip	_spurious_fault_check
.subsections_via_symbols
