	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function selinux_inode_setsecurity
_selinux_inode_setsecurity:             ## @selinux_inode_setsecurity
	.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
	movq	%rcx, %r14
	movq	%rdx, %rbx
	movq	%rsi, %rax
	movq	(%rdi), %r15
	movq	_XATTR_SELINUX_SUFFIX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	%rax, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
LBB0_3:
	testq	%rbx, %rbx
	je	LBB0_5
## %bb.4:
	testq	%r14, %r14
	je	LBB0_5
## %bb.6:
	leaq	-28(%rbp), %rdx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_security_context_to_sid
	testl	%eax, %eax
	jne	LBB0_8
## %bb.7:
	movl	-28(%rbp), %eax
	movl	%eax, 4(%r15)
	movl	$1, (%r15)
	xorl	%eax, %eax
	jmp	LBB0_8
LBB0_5:
	movq	_EACCES@GOTPCREL(%rip), %rcx
LBB0_2:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_XATTR_SELINUX_SUFFIX,4,2       ## @XATTR_SELINUX_SUFFIX
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_EACCES,4,2                     ## @EACCES
	.no_dead_strip	_selinux_inode_setsecurity
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function selinux_inode_setsecurity
_selinux_inode_setsecurity:             ; @selinux_inode_setsecurity
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x3
	mov	x20, x2
	mov	x8, x1
	ldr	x21, [x0]
Lloh0:
	adrp	x9, _XATTR_SELINUX_SUFFIX@GOTPAGE
Lloh1:
	ldr	x9, [x9, _XATTR_SELINUX_SUFFIX@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x9]
	mov	x0, x8
	bl	_strcmp
	cbz	x0, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
	b	LBB0_7
LBB0_2:
	cbz	x20, LBB0_6
; %bb.3:
	cbz	x19, LBB0_6
; %bb.4:
	add	x2, sp, #12
	mov	x0, x20
	mov	x1, x19
	bl	_security_context_to_sid
	cbnz	w0, LBB0_8
; %bb.5:
	ldr	w8, [sp, #12]
	mov	w9, #1
	stp	w9, w8, [x21]
	b	LBB0_8
LBB0_6:
Lloh5:
	adrp	x8, _EACCES@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EACCES@GOTPAGEOFF]
LBB0_7:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_8:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_XATTR_SELINUX_SUFFIX,4,2       ; @XATTR_SELINUX_SUFFIX
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_EACCES,4,2                     ; @EACCES
	.no_dead_strip	_selinux_inode_setsecurity
.subsections_via_symbols
