	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ufs_delete_denied
_ufs_delete_denied:                     ## @ufs_delete_denied
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, %r12
	movq	%rsi, %r15
	movq	%rdi, %r13
	movq	_VWRITE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_VOP_ACCESS
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_1
LBB0_5:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	%r13, %rdi
	callq	_VTOI
	movq	_ISVTX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	xorl	%ebx, %ebx
	testl	%ecx, (%rax)
	je	LBB0_5
## %bb.2:
	movq	_VADMIN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	movq	%r12, %rdx
	movq	%r14, %rcx
	callq	_VOP_ACCESS
	testl	%eax, %eax
	je	LBB0_5
## %bb.3:
	movq	_VADMIN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movq	%r12, %rdx
	movq	%r14, %rcx
	callq	_VOP_ACCESS
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_5
## %bb.4:
	movq	_EPERM@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.comm	_VWRITE,4,2                     ## @VWRITE
	.comm	_ISVTX,4,2                      ## @ISVTX
	.comm	_VADMIN,4,2                     ## @VADMIN
	.comm	_EPERM,4,2                      ## @EPERM
	.comm	_VDELETE,4,2                    ## @VDELETE
	.comm	_VDELETE_CHILD,4,2              ## @VDELETE_CHILD
	.comm	_VEXEC,4,2                      ## @VEXEC
	.comm	_VEXPLICIT_DENY,4,2             ## @VEXPLICIT_DENY
	.no_dead_strip	_ufs_delete_denied
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ufs_delete_denied
_ufs_delete_denied:                     ; @ufs_delete_denied
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
Lloh0:
	adrp	x8, _VWRITE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VWRITE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_VOP_ACCESS
	cbz	w0, LBB0_2
LBB0_1:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_2:
	mov	x0, x22
	bl	_VTOI
	ldr	w8, [x0]
Lloh3:
	adrp	x9, _ISVTX@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ISVTX@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.3:
Lloh6:
	adrp	x23, _VADMIN@GOTPAGE
Lloh7:
	ldr	x23, [x23, _VADMIN@GOTPAGEOFF]
	ldr	w1, [x23]
	mov	x0, x22
	mov	x2, x20
	mov	x3, x19
	bl	_VOP_ACCESS
	cbz	w0, LBB0_1
; %bb.4:
	ldr	w1, [x23]
	mov	x0, x21
	mov	x2, x20
	mov	x3, x19
	bl	_VOP_ACCESS
Lloh8:
	adrp	x8, _EPERM@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EPERM@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	cmp	w0, #0
	csel	w0, wzr, w8, eq
	b	LBB0_1
LBB0_5:
	mov	w0, #0
	b	LBB0_1
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_VWRITE,4,2                     ; @VWRITE
	.comm	_ISVTX,4,2                      ; @ISVTX
	.comm	_VADMIN,4,2                     ; @VADMIN
	.comm	_EPERM,4,2                      ; @EPERM
	.comm	_VDELETE,4,2                    ; @VDELETE
	.comm	_VDELETE_CHILD,4,2              ; @VDELETE_CHILD
	.comm	_VEXEC,4,2                      ; @VEXEC
	.comm	_VEXPLICIT_DENY,4,2             ; @VEXPLICIT_DENY
	.no_dead_strip	_ufs_delete_denied
.subsections_via_symbols
