	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function selinux_inode_setotherxattr
_selinux_inode_setotherxattr:           ## @selinux_inode_setotherxattr
	.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	%rsi, %rbx
	movq	%rdi, %r14
	xorl	%eax, %eax
	callq	_current_cred
	movq	%rax, %r15
	movq	_XATTR_SECURITY_PREFIX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$3, %edx
	callq	_strncmp
	testl	%eax, %eax
	jne	LBB0_6
## %bb.1:
	movq	_XATTR_NAME_CAPS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_2
## %bb.5:
	movq	_CAP_SYS_ADMIN@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_2:
	movq	_CAP_SETFCAP@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %edi
	callq	_capable
	testl	%eax, %eax
	je	LBB0_4
LBB0_6:
	movq	_FILE__SETATTR@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rdi
	xorl	%esi, %esi
	movq	%r14, %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dentry_has_perm                ## TAILCALL
LBB0_4:
	movq	_EPERM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_XATTR_SECURITY_PREFIX,4,2      ## @XATTR_SECURITY_PREFIX
	.comm	_XATTR_NAME_CAPS,4,2            ## @XATTR_NAME_CAPS
	.comm	_CAP_SETFCAP,4,2                ## @CAP_SETFCAP
	.comm	_EPERM,4,2                      ## @EPERM
	.comm	_CAP_SYS_ADMIN,4,2              ## @CAP_SYS_ADMIN
	.comm	_FILE__SETATTR,4,2              ## @FILE__SETATTR
	.no_dead_strip	_selinux_inode_setotherxattr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function selinux_inode_setotherxattr
_selinux_inode_setotherxattr:           ; @selinux_inode_setotherxattr
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x21, x1
	mov	x19, x0
	bl	_current_cred
	mov	x20, x0
Lloh0:
	adrp	x8, _XATTR_SECURITY_PREFIX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _XATTR_SECURITY_PREFIX@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x21
	mov	w2, #3
	bl	_strncmp
	cbnz	w0, LBB0_5
; %bb.1:
Lloh3:
	adrp	x8, _XATTR_NAME_CAPS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _XATTR_NAME_CAPS@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_strcmp
	cbz	w0, LBB0_3
; %bb.2:
Lloh6:
	adrp	x8, _CAP_SYS_ADMIN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CAP_SYS_ADMIN@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:
Lloh8:
	adrp	x8, _CAP_SETFCAP@GOTPAGE
Lloh9:
	ldr	x8, [x8, _CAP_SETFCAP@GOTPAGEOFF]
LBB0_4:
	ldr	w0, [x8]
	bl	_capable
	cbz	w0, LBB0_6
LBB0_5:
Lloh10:
	adrp	x8, _FILE__SETATTR@GOTPAGE
Lloh11:
	ldr	x8, [x8, _FILE__SETATTR@GOTPAGEOFF]
Lloh12:
	ldr	w3, [x8]
	mov	x0, x20
	mov	x1, #0
	mov	x2, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_dentry_has_perm
LBB0_6:
Lloh13:
	adrp	x8, _EPERM@GOTPAGE
Lloh14:
	ldr	x8, [x8, _EPERM@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_XATTR_SECURITY_PREFIX,4,2      ; @XATTR_SECURITY_PREFIX
	.comm	_XATTR_NAME_CAPS,4,2            ; @XATTR_NAME_CAPS
	.comm	_CAP_SETFCAP,4,2                ; @CAP_SETFCAP
	.comm	_EPERM,4,2                      ; @EPERM
	.comm	_CAP_SYS_ADMIN,4,2              ; @CAP_SYS_ADMIN
	.comm	_FILE__SETATTR,4,2              ; @FILE__SETATTR
	.no_dead_strip	_selinux_inode_setotherxattr
.subsections_via_symbols
