	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function task_has_security
_task_has_security:                     ## @task_has_security
	.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, %r14d
	movq	%rdi, %rbx
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_rcu_read_lock
	movq	%rbx, %rdi
	callq	___task_cred
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movl	(%rax), %ebx
	xorl	%eax, %eax
	callq	_rcu_read_unlock
	movq	_SECINITSID_SECURITY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SECCLASS_SECURITY@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%ebx, %edi
	movl	%r14d, %ecx
	xorl	%r8d, %r8d
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_avc_has_perm                   ## TAILCALL
LBB0_1:
	xorl	%eax, %eax
	callq	_rcu_read_unlock
	movq	_EACCES@GOTPCREL(%rip), %rax
	subl	(%rax), %r15d
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EACCES,4,2                     ## @EACCES
	.comm	_SECINITSID_SECURITY,4,2        ## @SECINITSID_SECURITY
	.comm	_SECCLASS_SECURITY,4,2          ## @SECCLASS_SECURITY
	.no_dead_strip	_task_has_security
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function task_has_security
_task_has_security:                     ; @task_has_security
	.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	_rcu_read_lock
	mov	x0, x20
	bl	___task_cred
	ldr	x8, [x0]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	w20, [x8]
	bl	_rcu_read_unlock
Lloh0:
	adrp	x8, _SECINITSID_SECURITY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SECINITSID_SECURITY@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _SECCLASS_SECURITY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SECCLASS_SECURITY@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x3, x19
	mov	x4, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_avc_has_perm
LBB0_2:
	bl	_rcu_read_unlock
Lloh6:
	adrp	x8, _EACCES@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EACCES@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_EACCES,4,2                     ; @EACCES
	.comm	_SECINITSID_SECURITY,4,2        ; @SECINITSID_SECURITY
	.comm	_SECCLASS_SECURITY,4,2          ; @SECCLASS_SECURITY
	.no_dead_strip	_task_has_security
.subsections_via_symbols
