	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function selinux_kernel_create_files_as
_selinux_kernel_create_files_as:        ## @selinux_kernel_create_files_as
	.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
	movq	(%rsi), %rbx
	movq	(%rdi), %r14
	xorl	%eax, %eax
	callq	_current_sid
	movl	(%rbx), %esi
	movq	_SECCLASS_KERNEL_SERVICE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	_KERNEL_SERVICE__CREATE_FILES_AS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%eax, %edi
	xorl	%r8d, %r8d
	callq	_avc_has_perm
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movl	(%rbx), %ecx
	movl	%ecx, (%r14)
LBB0_2:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SECCLASS_KERNEL_SERVICE,4,2    ## @SECCLASS_KERNEL_SERVICE
	.comm	_KERNEL_SERVICE__CREATE_FILES_AS,4,2 ## @KERNEL_SERVICE__CREATE_FILES_AS
	.no_dead_strip	_selinux_kernel_create_files_as
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function selinux_kernel_create_files_as
_selinux_kernel_create_files_as:        ; @selinux_kernel_create_files_as
	.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
	ldr	x19, [x1]
	ldr	x20, [x0]
	bl	_current_sid
	ldr	w1, [x19]
Lloh0:
	adrp	x8, _SECCLASS_KERNEL_SERVICE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SECCLASS_KERNEL_SERVICE@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
Lloh3:
	adrp	x8, _KERNEL_SERVICE__CREATE_FILES_AS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _KERNEL_SERVICE__CREATE_FILES_AS@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
	mov	x4, #0
	bl	_avc_has_perm
	cbnz	w0, LBB0_2
; %bb.1:
	ldr	w8, [x19]
	str	w8, [x20]
LBB0_2:
	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
	.cfi_endproc
                                        ; -- End function
	.comm	_SECCLASS_KERNEL_SERVICE,4,2    ; @SECCLASS_KERNEL_SERVICE
	.comm	_KERNEL_SERVICE__CREATE_FILES_AS,4,2 ; @KERNEL_SERVICE__CREATE_FILES_AS
	.no_dead_strip	_selinux_kernel_create_files_as
.subsections_via_symbols
