	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function selinux_inode_setattr
_selinux_inode_setattr:                 ## @selinux_inode_setattr
	.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_cred
	movl	(%rbx), %ecx
	movq	_ATTR_FORCE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %esi
	testl	%ecx, %esi
	je	LBB0_1
## %bb.2:
	movq	_ATTR_KILL_SUID@GOTPCREL(%rip), %rdx
	movq	_ATTR_KILL_SGID@GOTPCREL(%rip), %rdi
	movq	_ATTR_MODE@GOTPCREL(%rip), %rbx
	orl	(%rdx), %esi
	orl	(%rdi), %esi
	movl	(%rbx), %edx
	orl	%edx, %esi
	notl	%esi
	andl	%esi, %ecx
	jne	LBB0_3
## %bb.7:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_1:
	movq	_ATTR_MODE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
LBB0_3:
	movq	_ATTR_UID@GOTPCREL(%rip), %rsi
	orl	(%rsi), %edx
	movq	_ATTR_GID@GOTPCREL(%rip), %rsi
	orl	(%rsi), %edx
	movq	_ATTR_ATIME_SET@GOTPCREL(%rip), %rsi
	orl	(%rsi), %edx
	movq	_ATTR_MTIME_SET@GOTPCREL(%rip), %rsi
	orl	(%rsi), %edx
	movq	_ATTR_TIMES_SET@GOTPCREL(%rip), %rsi
	orl	(%rsi), %edx
	testl	%ecx, %edx
	jne	LBB0_4
## %bb.5:
	movq	_FILE__WRITE@GOTPCREL(%rip), %rcx
	jmp	LBB0_6
LBB0_4:
	movq	_FILE__SETATTR@GOTPCREL(%rip), %rcx
LBB0_6:
	movl	(%rcx), %ecx
	movq	%rax, %rdi
	xorl	%esi, %esi
	movq	%r14, %rdx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_dentry_has_perm                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ATTR_FORCE,4,2                 ## @ATTR_FORCE
	.comm	_ATTR_KILL_SUID,4,2             ## @ATTR_KILL_SUID
	.comm	_ATTR_KILL_SGID,4,2             ## @ATTR_KILL_SGID
	.comm	_ATTR_MODE,4,2                  ## @ATTR_MODE
	.comm	_ATTR_UID,4,2                   ## @ATTR_UID
	.comm	_ATTR_GID,4,2                   ## @ATTR_GID
	.comm	_ATTR_ATIME_SET,4,2             ## @ATTR_ATIME_SET
	.comm	_ATTR_MTIME_SET,4,2             ## @ATTR_MTIME_SET
	.comm	_ATTR_TIMES_SET,4,2             ## @ATTR_TIMES_SET
	.comm	_FILE__SETATTR,4,2              ## @FILE__SETATTR
	.comm	_FILE__WRITE,4,2                ## @FILE__WRITE
	.no_dead_strip	_selinux_inode_setattr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function selinux_inode_setattr
_selinux_inode_setattr:                 ; @selinux_inode_setattr
	.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	x20, x1
	mov	x19, x0
	bl	_current_cred
	ldr	w8, [x20]
Lloh0:
	adrp	x9, _ATTR_FORCE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ATTR_FORCE@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x9]
	tst	w10, w8
	b.eq	LBB0_3
; %bb.1:
Lloh3:
	adrp	x9, _ATTR_KILL_SUID@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ATTR_KILL_SUID@GOTPAGEOFF]
Lloh5:
	ldr	w11, [x9]
Lloh6:
	adrp	x9, _ATTR_KILL_SGID@GOTPAGE
Lloh7:
	ldr	x9, [x9, _ATTR_KILL_SGID@GOTPAGEOFF]
Lloh8:
	adrp	x12, _ATTR_MODE@GOTPAGE
Lloh9:
	ldr	x12, [x12, _ATTR_MODE@GOTPAGEOFF]
Lloh10:
	ldr	w13, [x9]
Lloh11:
	ldr	w9, [x12]
	orr	w10, w11, w10
	orr	w10, w10, w13
	orr	w10, w10, w9
	bics	w8, w8, w10
	b.ne	LBB0_4
; %bb.2:
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_3:
Lloh12:
	adrp	x9, _ATTR_MODE@GOTPAGE
Lloh13:
	ldr	x9, [x9, _ATTR_MODE@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
LBB0_4:
Lloh15:
	adrp	x10, _ATTR_UID@GOTPAGE
Lloh16:
	ldr	x10, [x10, _ATTR_UID@GOTPAGEOFF]
Lloh17:
	ldr	w10, [x10]
	orr	w9, w10, w9
Lloh18:
	adrp	x10, _ATTR_GID@GOTPAGE
Lloh19:
	ldr	x10, [x10, _ATTR_GID@GOTPAGEOFF]
Lloh20:
	ldr	w10, [x10]
	orr	w9, w9, w10
Lloh21:
	adrp	x10, _ATTR_ATIME_SET@GOTPAGE
Lloh22:
	ldr	x10, [x10, _ATTR_ATIME_SET@GOTPAGEOFF]
Lloh23:
	ldr	w10, [x10]
Lloh24:
	adrp	x11, _ATTR_MTIME_SET@GOTPAGE
Lloh25:
	ldr	x11, [x11, _ATTR_MTIME_SET@GOTPAGEOFF]
	orr	w9, w9, w10
Lloh26:
	ldr	w10, [x11]
	orr	w9, w9, w10
Lloh27:
	adrp	x10, _ATTR_TIMES_SET@GOTPAGE
Lloh28:
	ldr	x10, [x10, _ATTR_TIMES_SET@GOTPAGEOFF]
Lloh29:
	ldr	w10, [x10]
	orr	w9, w9, w10
Lloh30:
	adrp	x10, _FILE__WRITE@GOTPAGE
Lloh31:
	ldr	x10, [x10, _FILE__WRITE@GOTPAGEOFF]
Lloh32:
	adrp	x11, _FILE__SETATTR@GOTPAGE
Lloh33:
	ldr	x11, [x11, _FILE__SETATTR@GOTPAGEOFF]
	tst	w9, w8
	csel	x8, x10, x11, eq
	ldr	w3, [x8]
	mov	x1, #0
	mov	x2, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_dentry_has_perm
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh10
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_ATTR_FORCE,4,2                 ; @ATTR_FORCE
	.comm	_ATTR_KILL_SUID,4,2             ; @ATTR_KILL_SUID
	.comm	_ATTR_KILL_SGID,4,2             ; @ATTR_KILL_SGID
	.comm	_ATTR_MODE,4,2                  ; @ATTR_MODE
	.comm	_ATTR_UID,4,2                   ; @ATTR_UID
	.comm	_ATTR_GID,4,2                   ; @ATTR_GID
	.comm	_ATTR_ATIME_SET,4,2             ; @ATTR_ATIME_SET
	.comm	_ATTR_MTIME_SET,4,2             ; @ATTR_MTIME_SET
	.comm	_ATTR_TIMES_SET,4,2             ; @ATTR_TIMES_SET
	.comm	_FILE__SETATTR,4,2              ; @FILE__SETATTR
	.comm	_FILE__WRITE,4,2                ; @FILE__WRITE
	.no_dead_strip	_selinux_inode_setattr
.subsections_via_symbols
