	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function clear_inheritance_flags
_clear_inheritance_flags:               ## @clear_inheritance_flags
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	leaq	-52(%rbp), %rsi
	callq	_acl_get_brand_np
	movl	-52(%rbp), %eax
	movq	_ACL_BRAND_NFS4@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_14
## %bb.1:
	movq	%rbx, %rdi
	callq	_acl_dup
	testq	%rax, %rax
	je	LBB0_11
## %bb.2:
	movq	%rax, %r12
	movq	_ACL_FIRST_ENTRY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-44(%rbp), %rdx
	movq	%r12, %rdi
	callq	_acl_get_entry
	cmpl	$1, %eax
	jne	LBB0_13
## %bb.3:
	leaq	-48(%rbp), %r14
	leaq	L_.str.1(%rip), %r13
	leaq	-44(%rbp), %r15
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_6 Depth=1
	callq	_warn
LBB0_5:                                 ##   in Loop: Header=BB0_6 Depth=1
	movq	%r12, %rdi
	movl	%ebx, %esi
	movq	%r15, %rdx
	callq	_acl_get_entry
	cmpl	$1, %eax
	jne	LBB0_13
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	_ACL_NEXT_ENTRY@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	-44(%rbp), %edi
	movq	%r14, %rsi
	callq	_acl_get_flagset_np
	movq	%r13, %rdi
	testq	%rax, %rax
	jne	LBB0_4
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movl	-48(%rbp), %edi
	movq	_ACL_ENTRY_INHERIT_ONLY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_acl_get_flag_np
	cmpl	$1, %eax
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	movl	-44(%rbp), %esi
	movq	%r12, %rdi
	callq	_acl_delete_entry
	leaq	L_.str.2(%rip), %rdi
	jmp	LBB0_10
LBB0_9:                                 ##   in Loop: Header=BB0_6 Depth=1
	movl	-48(%rbp), %edi
	movq	_ACL_ENTRY_DIRECTORY_INHERIT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ACL_ENTRY_FILE_INHERIT@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movq	_ACL_ENTRY_NO_PROPAGATE_INHERIT@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	callq	_acl_delete_flag_np
	leaq	L_.str.3(%rip), %rdi
LBB0_10:                                ##   in Loop: Header=BB0_6 Depth=1
	testq	%rax, %rax
	jne	LBB0_4
	jmp	LBB0_5
LBB0_13:
	movq	%r12, %rbx
	jmp	LBB0_14
LBB0_11:
	leaq	L_.str(%rip), %rdi
	callq	_warn
LBB0_14:
	movq	%rbx, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ACL_BRAND_NFS4,4,2             ## @ACL_BRAND_NFS4
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"acl_dup() failed"

	.comm	_ACL_FIRST_ENTRY,4,2            ## @ACL_FIRST_ENTRY
	.comm	_ACL_NEXT_ENTRY,4,2             ## @ACL_NEXT_ENTRY
L_.str.1:                               ## @.str.1
	.asciz	"acl_get_flagset_np() failed"

	.comm	_ACL_ENTRY_INHERIT_ONLY,4,2     ## @ACL_ENTRY_INHERIT_ONLY
L_.str.2:                               ## @.str.2
	.asciz	"acl_delete_entry() failed"

	.comm	_ACL_ENTRY_FILE_INHERIT,4,2     ## @ACL_ENTRY_FILE_INHERIT
	.comm	_ACL_ENTRY_DIRECTORY_INHERIT,4,2 ## @ACL_ENTRY_DIRECTORY_INHERIT
	.comm	_ACL_ENTRY_NO_PROPAGATE_INHERIT,4,2 ## @ACL_ENTRY_NO_PROPAGATE_INHERIT
L_.str.3:                               ## @.str.3
	.asciz	"acl_delete_flag_np() failed"

	.no_dead_strip	_clear_inheritance_flags
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function clear_inheritance_flags
_clear_inheritance_flags:               ; @clear_inheritance_flags
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x0
	add	x1, sp, #4
	bl	_acl_get_brand_np
	ldr	w8, [sp, #4]
Lloh0:
	adrp	x9, _ACL_BRAND_NFS4@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ACL_BRAND_NFS4@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_12
; %bb.1:
	mov	x0, x20
	bl	_acl_dup
	cbz	x0, LBB0_11
; %bb.2:
	mov	x19, x0
Lloh3:
	adrp	x8, _ACL_FIRST_ENTRY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ACL_FIRST_ENTRY@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	add	x2, sp, #12
	bl	_acl_get_entry
	cmp	w0, #1
	b.ne	LBB0_10
; %bb.3:
Lloh6:
	adrp	x21, _ACL_NEXT_ENTRY@GOTPAGE
Lloh7:
	ldr	x21, [x21, _ACL_NEXT_ENTRY@GOTPAGEOFF]
Lloh8:
	adrp	x22, l_.str.1@PAGE
Lloh9:
	add	x22, x22, l_.str.1@PAGEOFF
Lloh10:
	adrp	x23, _ACL_ENTRY_INHERIT_ONLY@GOTPAGE
Lloh11:
	ldr	x23, [x23, _ACL_ENTRY_INHERIT_ONLY@GOTPAGEOFF]
Lloh12:
	adrp	x24, l_.str.2@PAGE
Lloh13:
	add	x24, x24, l_.str.2@PAGEOFF
Lloh14:
	adrp	x25, _ACL_ENTRY_FILE_INHERIT@GOTPAGE
Lloh15:
	ldr	x25, [x25, _ACL_ENTRY_FILE_INHERIT@GOTPAGEOFF]
Lloh16:
	adrp	x26, _ACL_ENTRY_DIRECTORY_INHERIT@GOTPAGE
Lloh17:
	ldr	x26, [x26, _ACL_ENTRY_DIRECTORY_INHERIT@GOTPAGEOFF]
Lloh18:
	adrp	x27, _ACL_ENTRY_NO_PROPAGATE_INHERIT@GOTPAGE
Lloh19:
	ldr	x27, [x27, _ACL_ENTRY_NO_PROPAGATE_INHERIT@GOTPAGEOFF]
Lloh20:
	adrp	x28, l_.str.3@PAGE
Lloh21:
	add	x28, x28, l_.str.3@PAGEOFF
	b	LBB0_7
LBB0_4:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldr	w0, [sp, #8]
	ldr	w8, [x25]
	ldr	w9, [x26]
	orr	w8, w9, w8
	ldr	w9, [x27]
	orr	w1, w8, w9
	bl	_acl_delete_flag_np
	mov	x8, x0
	mov	x0, x28
	cbz	x8, LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=1
	bl	_warn
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	x2, sp, #12
	mov	x0, x19
	mov	x1, x20
	bl	_acl_get_entry
	cmp	w0, #1
	b.ne	LBB0_10
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w20, [x21]
	ldr	w0, [sp, #12]
	add	x1, sp, #8
	bl	_acl_get_flagset_np
	mov	x8, x0
	mov	x0, x22
	cbnz	x8, LBB0_5
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w0, [sp, #8]
	ldr	w1, [x23]
	bl	_acl_get_flag_np
	cmp	w0, #1
	b.ne	LBB0_4
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w1, [sp, #12]
	mov	x0, x19
	bl	_acl_delete_entry
	mov	x8, x0
	mov	x0, x24
	cbnz	x8, LBB0_5
	b	LBB0_6
LBB0_10:
	mov	x20, x19
	b	LBB0_12
LBB0_11:
Lloh22:
	adrp	x0, l_.str@PAGE
Lloh23:
	add	x0, x0, l_.str@PAGEOFF
	bl	_warn
LBB0_12:
	mov	x0, x20
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_ACL_BRAND_NFS4,4,2             ; @ACL_BRAND_NFS4
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"acl_dup() failed"

	.comm	_ACL_FIRST_ENTRY,4,2            ; @ACL_FIRST_ENTRY
	.comm	_ACL_NEXT_ENTRY,4,2             ; @ACL_NEXT_ENTRY
l_.str.1:                               ; @.str.1
	.asciz	"acl_get_flagset_np() failed"

	.comm	_ACL_ENTRY_INHERIT_ONLY,4,2     ; @ACL_ENTRY_INHERIT_ONLY
l_.str.2:                               ; @.str.2
	.asciz	"acl_delete_entry() failed"

	.comm	_ACL_ENTRY_FILE_INHERIT,4,2     ; @ACL_ENTRY_FILE_INHERIT
	.comm	_ACL_ENTRY_DIRECTORY_INHERIT,4,2 ; @ACL_ENTRY_DIRECTORY_INHERIT
	.comm	_ACL_ENTRY_NO_PROPAGATE_INHERIT,4,2 ; @ACL_ENTRY_NO_PROPAGATE_INHERIT
l_.str.3:                               ; @.str.3
	.asciz	"acl_delete_flag_np() failed"

	.no_dead_strip	_clear_inheritance_flags
.subsections_via_symbols
