	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function selinux_revalidate_file_permission
_selinux_revalidate_file_permission:    ## @selinux_revalidate_file_permission
	.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	%eax, %eax
	callq	_current_cred
	movq	%rax, %r15
	movq	8(%rbx), %rax
	movq	(%rax), %rax
	movq	_O_APPEND@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rbx)
	je	LBB0_3
## %bb.1:
	movq	_MAY_WRITE@GOTPCREL(%rip), %rcx
	testl	%r14d, (%rcx)
	je	LBB0_3
## %bb.2:
	movq	_MAY_APPEND@GOTPCREL(%rip), %rcx
	orl	(%rcx), %r14d
LBB0_3:
	movl	(%rax), %edi
	movl	%r14d, %esi
	callq	_file_mask_to_av
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movl	%eax, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_file_has_perm                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_O_APPEND,4,2                   ## @O_APPEND
	.comm	_MAY_WRITE,4,2                  ## @MAY_WRITE
	.comm	_MAY_APPEND,4,2                 ## @MAY_APPEND
	.no_dead_strip	_selinux_revalidate_file_permission
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function selinux_revalidate_file_permission
_selinux_revalidate_file_permission:    ; @selinux_revalidate_file_permission
	.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	x20, x1
	mov	x19, x0
	bl	_current_cred
	mov	x21, x0
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
	ldr	w9, [x19]
Lloh0:
	adrp	x10, _O_APPEND@GOTPAGE
Lloh1:
	ldr	x10, [x10, _O_APPEND@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_3
; %bb.1:
Lloh3:
	adrp	x9, _MAY_WRITE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MAY_WRITE@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w20
	b.eq	LBB0_3
; %bb.2:
Lloh6:
	adrp	x9, _MAY_APPEND@GOTPAGE
Lloh7:
	ldr	x9, [x9, _MAY_APPEND@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w20, w9, w20
LBB0_3:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_file_mask_to_av
	mov	x2, x0
	mov	x0, x21
	mov	x1, 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	_file_has_perm
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_O_APPEND,4,2                   ; @O_APPEND
	.comm	_MAY_WRITE,4,2                  ; @MAY_WRITE
	.comm	_MAY_APPEND,4,2                 ; @MAY_APPEND
	.no_dead_strip	_selinux_revalidate_file_permission
.subsections_via_symbols
