	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function access_error
_access_error:                          ## @access_error
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdx, %rbx
	testl	%esi, %esi
	je	LBB0_2
## %bb.1:
	movq	_VM_WRITE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_4:
	andl	(%rbx), %eax
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_unlikely
	movq	%rax, %rcx
	xorl	%eax, %eax
	testq	%rcx, %rcx
	setne	%al
	jmp	LBB0_5
LBB0_2:
	movq	_PF_PROT@GOTPCREL(%rip), %rax
	andl	(%rax), %edi
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_unlikely
	movq	%rax, %rcx
	movl	$1, %eax
	testq	%rcx, %rcx
	je	LBB0_3
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_3:
	movq	_VM_READ@GOTPCREL(%rip), %rcx
	movq	_VM_EXEC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	(%rcx), %eax
	movq	_VM_WRITE@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	jmp	LBB0_4
	.cfi_endproc
                                        ## -- End function
	.comm	_VM_WRITE,4,2                   ## @VM_WRITE
	.comm	_PF_PROT,8,3                    ## @PF_PROT
	.comm	_VM_READ,4,2                    ## @VM_READ
	.comm	_VM_EXEC,4,2                    ## @VM_EXEC
	.no_dead_strip	_access_error
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function access_error
_access_error:                          ; @access_error
	.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, x2
	cbz	w1, LBB0_3
; %bb.1:
	ldr	w8, [x19]
Lloh0:
	adrp	x9, _VM_WRITE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _VM_WRITE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
LBB0_2:
	and	w8, w9, w8
	cmp	w8, #0
	cset	w0, eq
	bl	_unlikely
	cmp	x0, #0
	cset	w0, ne
	b	LBB0_5
LBB0_3:
Lloh3:
	adrp	x8, _PF_PROT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PF_PROT@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	and	w0, w8, w0
	bl	_unlikely
	cbz	x0, LBB0_6
; %bb.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
LBB0_6:
	ldr	w8, [x19]
Lloh6:
	adrp	x9, _VM_READ@GOTPAGE
Lloh7:
	ldr	x9, [x9, _VM_READ@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
Lloh9:
	adrp	x10, _VM_EXEC@GOTPAGE
Lloh10:
	ldr	x10, [x10, _VM_EXEC@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	orr	w9, w10, w9
Lloh12:
	adrp	x10, _VM_WRITE@GOTPAGE
Lloh13:
	ldr	x10, [x10, _VM_WRITE@GOTPAGEOFF]
Lloh14:
	ldr	w10, [x10]
	orr	w9, w9, w10
	b	LBB0_2
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_VM_WRITE,4,2                   ; @VM_WRITE
	.comm	_PF_PROT,8,3                    ; @PF_PROT
	.comm	_VM_READ,4,2                    ; @VM_READ
	.comm	_VM_EXEC,4,2                    ; @VM_EXEC
	.no_dead_strip	_access_error
.subsections_via_symbols
