	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_smk_curacc                     ## -- Begin function smk_curacc
	.p2align	4, 0x90
_smk_curacc:                            ## @smk_curacc
	.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
	movl	%esi, %r14d
	movq	%rdi, %rbx
	xorl	%eax, %eax
	callq	_current_security
	movq	%rax, %rdi
	movq	%rbx, %rsi
	movl	%r14d, %edx
	xorl	%ecx, %ecx
	callq	_smk_access
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_4
## %bb.1:
	movq	_smack_onlycap@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	_current@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rcx), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
LBB0_3:
	movq	_CAP_MAC_OVERRIDE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_capable
	movq	%rax, %rcx
	xorl	%eax, %eax
	testq	%rcx, %rcx
	jne	LBB0_5
LBB0_4:
	movl	%ebx, %eax
LBB0_5:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_smack_onlycap,8,3              ## @smack_onlycap
	.comm	_current,8,3                    ## @current
	.comm	_CAP_MAC_OVERRIDE,4,2           ## @CAP_MAC_OVERRIDE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_smk_curacc                     ; -- Begin function smk_curacc
	.p2align	2
_smk_curacc:                            ; @smk_curacc
	.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
	bl	_current_security
	mov	x1, x20
	mov	x2, x19
	mov	x3, #0
	bl	_smk_access
	mov	x19, x0
	cbz	w0, LBB0_5
; %bb.1:
Lloh0:
	adrp	x8, _smack_onlycap@GOTPAGE
Lloh1:
	ldr	x8, [x8, _smack_onlycap@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_3
; %bb.2:
Lloh3:
	adrp	x9, _current@GOTPAGE
Lloh4:
	ldr	x9, [x9, _current@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	ldr	x9, [x9]
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
LBB0_3:
Lloh6:
	adrp	x8, _CAP_MAC_OVERRIDE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CAP_MAC_OVERRIDE@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_capable
	cbz	x0, LBB0_5
; %bb.4:
	mov	w19, #0
LBB0_5:
	mov	x0, x19
	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
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_smack_onlycap,8,3              ; @smack_onlycap
	.comm	_current,8,3                    ; @current
	.comm	_CAP_MAC_OVERRIDE,4,2           ; @CAP_MAC_OVERRIDE
.subsections_via_symbols
