	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_access_check                   ## -- Begin function access_check
	.p2align	4, 0x90
_access_check:                          ## @access_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	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	%rdi, %r14
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_superuser
	testl	%ebx, %ebx
	je	LBB0_7
## %bb.1:
	testq	%rax, %rax
	jne	LBB0_7
## %bb.2:
	movq	_current@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax), %rcx
	cmpq	(%r14), %rcx
	jne	LBB0_4
## %bb.3:
	shll	$6, %ebx
	jmp	LBB0_5
LBB0_4:
	movq	8(%rax), %rax
	leal	(,%rbx,8), %ecx
	cmpq	8(%r14), %rax
	cmovnel	%ebx, %ecx
	movl	%ecx, %ebx
LBB0_5:
	xorl	%r15d, %r15d
	testl	%ebx, 16(%r14)
	jne	LBB0_7
## %bb.6:
	movq	__EACCES@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
LBB0_7:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_current,8,3                    ## @current
	.comm	__EACCES,4,2                    ## @_EACCES
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_access_check                   ; -- Begin function access_check
	.p2align	2
_access_check:                          ; @access_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	x20, x1
	mov	x19, x0
	bl	_superuser
	mov	x8, x0
	mov	w0, #0
	cbz	w20, LBB0_6
; %bb.1:
	cbnz	x8, LBB0_6
; %bb.2:
Lloh0:
	adrp	x8, _current@GOTPAGE
Lloh1:
	ldr	x8, [x8, _current@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x9, [x8]
	ldr	x10, [x19]
	cmp	x9, x10
	b.ne	LBB0_4
; %bb.3:
	lsl	w8, w20, #6
	b	LBB0_5
LBB0_4:
	ldr	x8, [x8, #8]
	ldr	x9, [x19, #8]
	lsl	w10, w20, #3
	cmp	x8, x9
	csel	w8, w10, w20, eq
LBB0_5:
	ldr	w9, [x19, #16]
Lloh3:
	adrp	x10, __EACCES@GOTPAGE
Lloh4:
	ldr	x10, [x10, __EACCES@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	tst	w9, w8
	csel	w0, w10, wzr, eq
LBB0_6:
	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	_current,8,3                    ; @current
	.comm	__EACCES,4,2                    ; @_EACCES
.subsections_via_symbols
