	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function check_effect_access
_check_effect_access:                   ## @check_effect_access
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testl	%esi, %esi
	js	LBB0_3
## %bb.1:
	cmpl	%esi, (%rdi)
	jle	LBB0_3
## %bb.2:
	movq	8(%rdi), %rax
	movl	%esi, %ecx
	movq	(%rax,%rcx,8), %rcx
	testq	%rcx, %rcx
	je	LBB0_3
## %bb.4:
	xorl	%eax, %eax
	testq	%rdx, %rdx
	je	LBB0_8
## %bb.5:
	cmpq	%rdx, %rcx
	je	LBB0_8
## %bb.6:
	movq	_EACCES@GOTPCREL(%rip), %rcx
	jmp	LBB0_7
LBB0_3:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
LBB0_7:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_8:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_EACCES,4,2                     ## @EACCES
	.no_dead_strip	_check_effect_access
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function check_effect_access
_check_effect_access:                   ; @check_effect_access
	.cfi_startproc
; %bb.0:
	tbnz	w1, #31, LBB0_6
; %bb.1:
	ldr	w8, [x0]
	cmp	w8, w1
	b.le	LBB0_6
; %bb.2:
	ldr	x8, [x0, #8]
	ldr	x8, [x8, w1, uxtw #3]
	cbz	x8, LBB0_6
; %bb.3:
	mov	w0, #0
	cbz	x2, LBB0_8
; %bb.4:
	cmp	x8, x2
	b.eq	LBB0_8
; %bb.5:
Lloh0:
	adrp	x8, _EACCES@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EACCES@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
Lloh2:
	adrp	x8, _EINVAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_7:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_8:
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_EACCES,4,2                     ; @EACCES
	.no_dead_strip	_check_effect_access
.subsections_via_symbols
