	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_merge_acl                      ## -- Begin function merge_acl
	.p2align	4, 0x90
_merge_acl:                             ## @merge_acl
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %r14
	leaq	-48(%rbp), %rsi
	movq	%rdi, -112(%rbp)                ## 8-byte Spill
	callq	_acl_get_brand_np
	movq	(%r14), %rdi
	leaq	-80(%rbp), %rsi
	callq	_acl_get_brand_np
	movl	-48(%rbp), %edi
	movl	-80(%rbp), %esi
	callq	_branding_mismatch
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	-80(%rbp), %edi
	callq	_brand_name
	movl	%eax, %r14d
	movl	-48(%rbp), %edi
	callq	_brand_name
	leaq	L_.str(%rip), %rdi
	movq	%r15, %rsi
	movl	%r14d, %edx
	movl	%eax, %ecx
	callq	_warnx
LBB0_55:
	movl	$-1, %eax
	jmp	LBB0_56
LBB0_2:
	movq	%r14, -120(%rbp)                ## 8-byte Spill
	movq	(%r14), %rdi
	callq	_acl_dup
	movq	%rax, -64(%rbp)
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:
	leaq	L_.str.1(%rip), %rsi
	movl	$1, %edi
	movq	%r15, %rdx
	callq	_err
LBB0_4:
	movq	_ACL_FIRST_ENTRY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-44(%rbp), %rdx
	movq	-112(%rbp), %rdi                ## 8-byte Reload
	callq	_acl_get_entry
	cmpl	$1, %eax
	jne	LBB0_51
## %bb.5:
	movl	$0, -76(%rbp)                   ## 4-byte Folded Spill
	movq	_ACL_NEXT_ENTRY@GOTPCREL(%rip), %r14
	leaq	-56(%rbp), %r13
	leaq	-52(%rbp), %rbx
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_8 Depth=1
	movl	-72(%rbp), %r12d                ## 4-byte Reload
LBB0_7:                                 ##   in Loop: Header=BB0_8 Depth=1
	movq	-112(%rbp), %rdi                ## 8-byte Reload
	movl	%r12d, %esi
	leaq	-44(%rbp), %rdx
	callq	_acl_get_entry
	cmpl	$1, %eax
	jne	LBB0_51
LBB0_8:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_15 Depth 2
	movl	(%r14), %r12d
	movl	-44(%rbp), %edi
	movq	%r13, %rsi
	callq	_acl_get_tag_type
	cmpl	$-1, %eax
	je	LBB0_47
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	cmpl	$131, -56(%rbp)
	jne	LBB0_11
LBB0_10:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	_have_mask@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
LBB0_11:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	_ACL_FIRST_ENTRY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-64(%rbp), %rdi
	movq	%rbx, %rdx
	callq	_acl_get_entry
	cmpl	$1, %eax
	movl	%r12d, -72(%rbp)                ## 4-byte Spill
	jne	LBB0_44
## %bb.12:                              ##   in Loop: Header=BB0_8 Depth=1
	movl	$0, -68(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_15 Depth=2
	movq	-88(%rbp), %rax
	cmpq	-128(%rbp), %rax
	je	LBB0_25
LBB0_14:                                ##   in Loop: Header=BB0_15 Depth=2
	movq	-64(%rbp), %rdi
	movl	%r12d, %esi
	movq	%rbx, %rdx
	callq	_acl_get_entry
	cmpl	$1, %eax
	jne	LBB0_43
LBB0_15:                                ##   Parent Loop BB0_8 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%r14), %r12d
	movl	-44(%rbp), %edi
	movq	%r13, %rsi
	callq	_acl_get_tag_type
	cmpl	$-1, %eax
	jne	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_15 Depth=2
	movl	$1, %edi
	leaq	L_.str.3(%rip), %rsi
	movq	%r15, %rdx
	callq	_err
LBB0_17:                                ##   in Loop: Header=BB0_15 Depth=2
	movl	-52(%rbp), %edi
	leaq	-96(%rbp), %rsi
	callq	_acl_get_tag_type
	cmpl	$-1, %eax
	jne	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_15 Depth=2
	movl	$1, %edi
	leaq	L_.str.3(%rip), %rsi
	movq	%r15, %rdx
	callq	_err
LBB0_19:                                ##   in Loop: Header=BB0_15 Depth=2
	movl	-56(%rbp), %ecx
	cmpl	-96(%rbp), %ecx
	jne	LBB0_14
## %bb.20:                              ##   in Loop: Header=BB0_15 Depth=2
	movl	-48(%rbp), %eax
	movq	_ACL_BRAND_NFS4@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %eax
	jne	LBB0_26
## %bb.21:                              ##   in Loop: Header=BB0_15 Depth=2
	movl	-44(%rbp), %edi
	leaq	-88(%rbp), %rsi
	callq	_acl_get_entry_type_np
	testq	%rax, %rax
	je	LBB0_23
## %bb.22:                              ##   in Loop: Header=BB0_15 Depth=2
	movl	$1, %edi
	leaq	L_.str.4(%rip), %rsi
	movq	%r15, %rdx
	callq	_err
LBB0_23:                                ##   in Loop: Header=BB0_15 Depth=2
	movl	-52(%rbp), %edi
	leaq	-128(%rbp), %rsi
	callq	_acl_get_entry_type_np
	testq	%rax, %rax
	je	LBB0_13
## %bb.24:                              ##   in Loop: Header=BB0_15 Depth=2
	movl	$1, %edi
	leaq	L_.str.4(%rip), %rsi
	movq	%r15, %rdx
	callq	_err
	jmp	LBB0_13
LBB0_25:                                ##   in Loop: Header=BB0_15 Depth=2
	movl	-56(%rbp), %ecx
LBB0_26:                                ##   in Loop: Header=BB0_15 Depth=2
	leal	-128(%rcx), %eax
	cmpl	$6, %eax
	ja	LBB0_42
## %bb.27:                              ##   in Loop: Header=BB0_15 Depth=2
	movl	$93, %ecx
	btl	%eax, %ecx
	jae	LBB0_41
LBB0_28:                                ##   in Loop: Header=BB0_15 Depth=2
	movl	-44(%rbp), %edi
	leaq	-100(%rbp), %rsi
	callq	_acl_get_permset
	cmpl	$-1, %eax
	jne	LBB0_30
## %bb.29:                              ##   in Loop: Header=BB0_15 Depth=2
	movl	$1, %edi
	leaq	L_.str.5(%rip), %rsi
	movq	%r15, %rdx
	callq	_err
LBB0_30:                                ##   in Loop: Header=BB0_15 Depth=2
	movl	-52(%rbp), %edi
	movl	-100(%rbp), %esi
	callq	_acl_set_permset
	cmpl	$-1, %eax
	jne	LBB0_32
## %bb.31:                              ##   in Loop: Header=BB0_15 Depth=2
	movl	$1, %edi
	leaq	L_.str.6(%rip), %rsi
	movq	%r15, %rdx
	callq	_err
LBB0_32:                                ##   in Loop: Header=BB0_15 Depth=2
	movl	-48(%rbp), %eax
	movl	$1, -68(%rbp)                   ## 4-byte Folded Spill
	movq	_ACL_BRAND_NFS4@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_14
## %bb.33:                              ##   in Loop: Header=BB0_15 Depth=2
	movl	-44(%rbp), %edi
	leaq	-88(%rbp), %rsi
	callq	_acl_get_entry_type_np
	testq	%rax, %rax
	je	LBB0_35
## %bb.34:                              ##   in Loop: Header=BB0_15 Depth=2
	movl	$1, %edi
	leaq	L_.str.4(%rip), %rsi
	movq	%r15, %rdx
	callq	_err
LBB0_35:                                ##   in Loop: Header=BB0_15 Depth=2
	movl	-52(%rbp), %edi
	movq	-88(%rbp), %rsi
	callq	_acl_set_entry_type_np
	testl	%eax, %eax
	je	LBB0_37
## %bb.36:                              ##   in Loop: Header=BB0_15 Depth=2
	movl	$1, %edi
	leaq	L_.str.7(%rip), %rsi
	movq	%r15, %rdx
	callq	_err
LBB0_37:                                ##   in Loop: Header=BB0_15 Depth=2
	movl	-44(%rbp), %edi
	leaq	-92(%rbp), %rsi
	callq	_acl_get_flagset_np
	testl	%eax, %eax
	je	LBB0_39
## %bb.38:                              ##   in Loop: Header=BB0_15 Depth=2
	movl	$1, %edi
	leaq	L_.str.8(%rip), %rsi
	movq	%r15, %rdx
	callq	_err
LBB0_39:                                ##   in Loop: Header=BB0_15 Depth=2
	movl	-52(%rbp), %edi
	movl	-92(%rbp), %esi
	callq	_acl_set_flagset_np
	testl	%eax, %eax
	je	LBB0_14
## %bb.40:                              ##   in Loop: Header=BB0_15 Depth=2
	movl	$1, -68(%rbp)                   ## 4-byte Folded Spill
	movl	$1, %edi
	leaq	L_.str.9(%rip), %rsi
	movq	%r15, %rdx
	callq	_err
	jmp	LBB0_14
LBB0_41:                                ##   in Loop: Header=BB0_15 Depth=2
	movl	-48(%rbp), %edx
	leaq	-44(%rbp), %rdi
	movq	%rbx, %rsi
	callq	_merge_user_group
	testl	%eax, %eax
	jne	LBB0_28
	jmp	LBB0_14
LBB0_42:                                ##   in Loop: Header=BB0_15 Depth=2
	movl	$1, %edi
	leaq	L_.str.10(%rip), %rsi
	movq	%r15, %rdx
                                        ## kill: def $ecx killed $ecx killed $rcx
	callq	_errx
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_43:                                ##   in Loop: Header=BB0_8 Depth=1
	cmpl	$0, -68(%rbp)                   ## 4-byte Folded Reload
	movl	-72(%rbp), %r12d                ## 4-byte Reload
	jne	LBB0_7
LBB0_44:                                ##   in Loop: Header=BB0_8 Depth=1
	movl	-48(%rbp), %eax
	movq	_ACL_BRAND_NFS4@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_48
## %bb.45:                              ##   in Loop: Header=BB0_8 Depth=1
	leaq	-64(%rbp), %rdi
	movq	%rbx, %r12
	movq	%rbx, %rsi
	movl	-76(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %edx
	callq	_acl_create_entry_np
	cmpl	$-1, %eax
	je	LBB0_52
## %bb.46:                              ##   in Loop: Header=BB0_8 Depth=1
	incl	%ebx
	movl	%ebx, -76(%rbp)                 ## 4-byte Spill
	leaq	-56(%rbp), %r13
	movq	%r12, %rbx
	jmp	LBB0_49
	.p2align	4, 0x90
LBB0_47:                                ##   in Loop: Header=BB0_8 Depth=1
	movl	$1, %edi
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %rdx
	callq	_err
	cmpl	$131, -56(%rbp)
	je	LBB0_10
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_48:                                ##   in Loop: Header=BB0_8 Depth=1
	leaq	-64(%rbp), %rdi
	movq	%rbx, %rsi
	callq	_acl_create_entry
	cmpl	$-1, %eax
	je	LBB0_53
LBB0_49:                                ##   in Loop: Header=BB0_8 Depth=1
	movl	-52(%rbp), %edi
	movl	-44(%rbp), %esi
	callq	_acl_copy_entry
	cmpl	$-1, %eax
	jne	LBB0_6
## %bb.50:                              ##   in Loop: Header=BB0_8 Depth=1
	movl	$1, %edi
	leaq	L_.str.13(%rip), %rsi
	movq	%r15, %rdx
	callq	_err
	jmp	LBB0_6
LBB0_51:
	movq	-120(%rbp), %rbx                ## 8-byte Reload
	movq	(%rbx), %rdi
	callq	_acl_free
	movq	-64(%rbp), %rax
	movq	%rax, (%rbx)
	xorl	%eax, %eax
LBB0_56:
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_52:
	leaq	L_.str.11(%rip), %rdi
	jmp	LBB0_54
LBB0_53:
	leaq	L_.str.12(%rip), %rdi
LBB0_54:
	movq	%r15, %rsi
	callq	_warn
	movq	-64(%rbp), %rdi
	callq	_acl_free
	jmp	LBB0_55
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: branding mismatch; existing ACL is %s, entry to be merged is %s"

L_.str.1:                               ## @.str.1
	.asciz	"%s: acl_dup() failed"

	.comm	_ACL_FIRST_ENTRY,4,2            ## @ACL_FIRST_ENTRY
	.comm	_ACL_NEXT_ENTRY,4,2             ## @ACL_NEXT_ENTRY
L_.str.2:                               ## @.str.2
	.asciz	"%s: acl_get_tag_type() failed - invalid ACL entry"

	.comm	_have_mask,4,2                  ## @have_mask
L_.str.3:                               ## @.str.3
	.asciz	"%s: acl_get_tag_type() failed"

	.comm	_ACL_BRAND_NFS4,4,2             ## @ACL_BRAND_NFS4
L_.str.4:                               ## @.str.4
	.asciz	"%s: acl_get_entry_type_np() failed"

L_.str.5:                               ## @.str.5
	.asciz	"%s: acl_get_permset() failed"

L_.str.6:                               ## @.str.6
	.asciz	"%s: acl_set_permset() failed"

L_.str.7:                               ## @.str.7
	.asciz	"%s: acl_set_entry_type_np() failed"

L_.str.8:                               ## @.str.8
	.asciz	"%s: acl_get_flagset_np() failed"

L_.str.9:                               ## @.str.9
	.asciz	"%s: acl_set_flagset_np() failed"

L_.str.10:                              ## @.str.10
	.asciz	"%s: invalid tag type: %i"

L_.str.11:                              ## @.str.11
	.asciz	"%s: acl_create_entry_np() failed"

L_.str.12:                              ## @.str.12
	.asciz	"%s: acl_create_entry() failed"

L_.str.13:                              ## @.str.13
	.asciz	"%s: acl_copy_entry() failed"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_merge_acl                      ; -- Begin function merge_acl
	.p2align	2
_merge_acl:                             ; @merge_acl
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x28, x27, [sp, #80]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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	x19, x2
	mov	x20, x1
	mov	x21, x0
	add	x1, sp, #24
	bl	_acl_get_brand_np
	ldr	x0, [x20]
	add	x1, sp, #20
	bl	_acl_get_brand_np
	ldp	w1, w0, [sp, #20]
	bl	_branding_mismatch
	cbz	x0, LBB0_3
; %bb.1:
	ldr	w0, [sp, #20]
	bl	_brand_name
	mov	x20, x0
	ldr	w0, [sp, #24]
	bl	_brand_name
	mov	x3, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	mov	x2, x20
	bl	_warnx
LBB0_2:
	mov	w0, #-1
	b	LBB0_53
LBB0_3:
	str	x20, [sp, #8]                   ; 8-byte Folded Spill
	ldr	x0, [x20]
	bl	_acl_dup
	str	x0, [sp, #56]
	cbnz	x0, LBB0_5
; %bb.4:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #1
	mov	x2, x19
	bl	_err
LBB0_5:
Lloh4:
	adrp	x22, _ACL_FIRST_ENTRY@GOTPAGE
Lloh5:
	ldr	x22, [x22, _ACL_FIRST_ENTRY@GOTPAGEOFF]
	ldr	w1, [x22]
	add	x2, sp, #76
	mov	x0, x21
	bl	_acl_get_entry
	cmp	w0, #1
	b.ne	LBB0_52
; %bb.6:
	mov	w28, #0
Lloh6:
	adrp	x23, _ACL_NEXT_ENTRY@GOTPAGE
Lloh7:
	ldr	x23, [x23, _ACL_NEXT_ENTRY@GOTPAGEOFF]
Lloh8:
	adrp	x24, l_.str.3@PAGE
Lloh9:
	add	x24, x24, l_.str.3@PAGEOFF
Lloh10:
	adrp	x26, _ACL_BRAND_NFS4@GOTPAGE
Lloh11:
	ldr	x26, [x26, _ACL_BRAND_NFS4@GOTPAGEOFF]
Lloh12:
	adrp	x25, l_.str.4@PAGE
Lloh13:
	add	x25, x25, l_.str.4@PAGEOFF
	b	LBB0_9
LBB0_7:                                 ;   in Loop: Header=BB0_9 Depth=1
	ldr	w28, [sp, #16]                  ; 4-byte Folded Reload
	cbz	w20, LBB0_46
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	add	x2, sp, #76
	mov	x0, x21
	mov	x1, x27
	bl	_acl_get_entry
	cmp	w0, #1
	b.ne	LBB0_52
LBB0_9:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_17 Depth 2
	ldr	w27, [x23]
	ldr	w0, [sp, #76]
	add	x1, sp, #52
	bl	_acl_get_tag_type
	cmn	w0, #1
	b.ne	LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	w0, #1
Lloh14:
	adrp	x1, l_.str.2@PAGE
Lloh15:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x2, x19
	bl	_err
LBB0_11:                                ;   in Loop: Header=BB0_9 Depth=1
	ldr	w8, [sp, #52]
	cmp	w8, #131
	b.ne	LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_9 Depth=1
Lloh16:
	adrp	x8, _have_mask@GOTPAGE
Lloh17:
	ldr	x8, [x8, _have_mask@GOTPAGEOFF]
	mov	w9, #1
Lloh18:
	str	w9, [x8]
LBB0_13:                                ;   in Loop: Header=BB0_9 Depth=1
	ldr	w1, [x22]
	ldr	x0, [sp, #56]
	add	x2, sp, #72
	bl	_acl_get_entry
	cmp	w0, #1
	b.ne	LBB0_46
; %bb.14:                               ;   in Loop: Header=BB0_9 Depth=1
	str	w28, [sp, #16]                  ; 4-byte Folded Spill
	mov	w20, #0
	b	LBB0_17
LBB0_15:                                ;   in Loop: Header=BB0_17 Depth=2
	ldp	x9, x8, [sp, #32]
	cmp	x8, x9
	b.eq	LBB0_27
LBB0_16:                                ;   in Loop: Header=BB0_17 Depth=2
	ldr	x0, [sp, #56]
	add	x2, sp, #72
	mov	x1, x28
	bl	_acl_get_entry
	cmp	w0, #1
	b.ne	LBB0_7
LBB0_17:                                ;   Parent Loop BB0_9 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w28, [x23]
	ldr	w0, [sp, #76]
	add	x1, sp, #52
	bl	_acl_get_tag_type
	cmn	w0, #1
	b.ne	LBB0_19
; %bb.18:                               ;   in Loop: Header=BB0_17 Depth=2
	mov	w0, #1
	mov	x1, x24
	mov	x2, x19
	bl	_err
LBB0_19:                                ;   in Loop: Header=BB0_17 Depth=2
	ldr	w0, [sp, #72]
	add	x1, sp, #48
	bl	_acl_get_tag_type
	cmn	w0, #1
	b.ne	LBB0_21
; %bb.20:                               ;   in Loop: Header=BB0_17 Depth=2
	mov	w0, #1
	mov	x1, x24
	mov	x2, x19
	bl	_err
LBB0_21:                                ;   in Loop: Header=BB0_17 Depth=2
	ldp	w8, w3, [sp, #48]
	cmp	w3, w8
	b.ne	LBB0_16
; %bb.22:                               ;   in Loop: Header=BB0_17 Depth=2
	ldr	w8, [sp, #24]
	ldr	w9, [x26]
	cmp	w8, w9
	b.ne	LBB0_28
; %bb.23:                               ;   in Loop: Header=BB0_17 Depth=2
	ldr	w0, [sp, #76]
	add	x1, sp, #40
	bl	_acl_get_entry_type_np
	cbz	x0, LBB0_25
; %bb.24:                               ;   in Loop: Header=BB0_17 Depth=2
	mov	w0, #1
	mov	x1, x25
	mov	x2, x19
	bl	_err
LBB0_25:                                ;   in Loop: Header=BB0_17 Depth=2
	ldr	w0, [sp, #72]
	add	x1, sp, #32
	bl	_acl_get_entry_type_np
	cbz	x0, LBB0_15
; %bb.26:                               ;   in Loop: Header=BB0_17 Depth=2
	mov	w0, #1
	mov	x1, x25
	mov	x2, x19
	bl	_err
	b	LBB0_15
LBB0_27:                                ;   in Loop: Header=BB0_17 Depth=2
	ldr	w3, [sp, #52]
LBB0_28:                                ;   in Loop: Header=BB0_17 Depth=2
	sub	w8, w3, #128
	cmp	w8, #6
	b.hi	LBB0_45
; %bb.29:                               ;   in Loop: Header=BB0_17 Depth=2
	mov	w9, #1
	lsl	w8, w9, w8
	mov	w9, #93
	tst	w8, w9
	b.eq	LBB0_44
LBB0_30:                                ;   in Loop: Header=BB0_17 Depth=2
	ldr	w0, [sp, #76]
	add	x1, sp, #68
	bl	_acl_get_permset
	cmn	w0, #1
	b.ne	LBB0_32
; %bb.31:                               ;   in Loop: Header=BB0_17 Depth=2
	mov	w0, #1
Lloh19:
	adrp	x1, l_.str.5@PAGE
Lloh20:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x2, x19
	bl	_err
LBB0_32:                                ;   in Loop: Header=BB0_17 Depth=2
	ldp	w1, w0, [sp, #68]
	bl	_acl_set_permset
	cmn	w0, #1
	b.ne	LBB0_34
; %bb.33:                               ;   in Loop: Header=BB0_17 Depth=2
	mov	w0, #1
Lloh21:
	adrp	x1, l_.str.6@PAGE
Lloh22:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x2, x19
	bl	_err
LBB0_34:                                ;   in Loop: Header=BB0_17 Depth=2
	ldr	w8, [sp, #24]
	ldr	w9, [x26]
	cmp	w8, w9
	b.ne	LBB0_43
; %bb.35:                               ;   in Loop: Header=BB0_17 Depth=2
	ldr	w0, [sp, #76]
	add	x1, sp, #40
	bl	_acl_get_entry_type_np
	cbz	x0, LBB0_37
; %bb.36:                               ;   in Loop: Header=BB0_17 Depth=2
	mov	w0, #1
	mov	x1, x25
	mov	x2, x19
	bl	_err
LBB0_37:                                ;   in Loop: Header=BB0_17 Depth=2
	ldr	w0, [sp, #72]
	ldr	x1, [sp, #40]
	bl	_acl_set_entry_type_np
	cbz	w0, LBB0_39
; %bb.38:                               ;   in Loop: Header=BB0_17 Depth=2
	mov	w0, #1
Lloh23:
	adrp	x1, l_.str.7@PAGE
Lloh24:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x2, x19
	bl	_err
LBB0_39:                                ;   in Loop: Header=BB0_17 Depth=2
	ldr	w0, [sp, #76]
	add	x1, sp, #28
	bl	_acl_get_flagset_np
	cbz	w0, LBB0_41
; %bb.40:                               ;   in Loop: Header=BB0_17 Depth=2
	mov	w0, #1
Lloh25:
	adrp	x1, l_.str.8@PAGE
Lloh26:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x2, x19
	bl	_err
LBB0_41:                                ;   in Loop: Header=BB0_17 Depth=2
	ldr	w0, [sp, #72]
	ldr	w1, [sp, #28]
	bl	_acl_set_flagset_np
	mov	w20, #1
	cbz	w0, LBB0_16
; %bb.42:                               ;   in Loop: Header=BB0_17 Depth=2
	mov	w0, #1
Lloh27:
	adrp	x1, l_.str.9@PAGE
Lloh28:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	x2, x19
	bl	_err
	b	LBB0_16
LBB0_43:                                ;   in Loop: Header=BB0_17 Depth=2
	mov	w20, #1
	b	LBB0_16
LBB0_44:                                ;   in Loop: Header=BB0_17 Depth=2
	ldr	w2, [sp, #24]
	add	x0, sp, #76
	add	x1, sp, #72
	bl	_merge_user_group
	cbnz	w0, LBB0_30
	b	LBB0_16
LBB0_45:                                ;   in Loop: Header=BB0_17 Depth=2
	mov	w0, #1
Lloh29:
	adrp	x1, l_.str.10@PAGE
Lloh30:
	add	x1, x1, l_.str.10@PAGEOFF
	mov	x2, x19
	bl	_errx
	b	LBB0_16
LBB0_46:                                ;   in Loop: Header=BB0_9 Depth=1
	ldr	w8, [sp, #24]
	ldr	w9, [x26]
	add	x0, sp, #56
	add	x1, sp, #72
	cmp	w8, w9
	b.ne	LBB0_49
; %bb.47:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x2, x28
	bl	_acl_create_entry_np
	cmn	w0, #1
	b.eq	LBB0_54
; %bb.48:                               ;   in Loop: Header=BB0_9 Depth=1
	add	w28, w28, #1
	b	LBB0_50
LBB0_49:                                ;   in Loop: Header=BB0_9 Depth=1
	bl	_acl_create_entry
	cmn	w0, #1
	b.eq	LBB0_55
LBB0_50:                                ;   in Loop: Header=BB0_9 Depth=1
	ldp	w0, w1, [sp, #72]
	bl	_acl_copy_entry
	cmn	w0, #1
	b.ne	LBB0_8
; %bb.51:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	w0, #1
Lloh31:
	adrp	x1, l_.str.13@PAGE
Lloh32:
	add	x1, x1, l_.str.13@PAGEOFF
	mov	x2, x19
	bl	_err
	b	LBB0_8
LBB0_52:
	ldr	x19, [sp, #8]                   ; 8-byte Folded Reload
	ldr	x0, [x19]
	bl	_acl_free
	mov	w0, #0
	ldr	x8, [sp, #56]
	str	x8, [x19]
LBB0_53:
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
LBB0_54:
Lloh33:
	adrp	x0, l_.str.11@PAGE
Lloh34:
	add	x0, x0, l_.str.11@PAGEOFF
	b	LBB0_56
LBB0_55:
Lloh35:
	adrp	x0, l_.str.12@PAGE
Lloh36:
	add	x0, x0, l_.str.12@PAGEOFF
LBB0_56:
	mov	x1, x19
	bl	_warn
	ldr	x0, [sp, #56]
	bl	_acl_free
	b	LBB0_2
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotStr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdd	Lloh35, Lloh36
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: branding mismatch; existing ACL is %s, entry to be merged is %s"

l_.str.1:                               ; @.str.1
	.asciz	"%s: acl_dup() failed"

	.comm	_ACL_FIRST_ENTRY,4,2            ; @ACL_FIRST_ENTRY
	.comm	_ACL_NEXT_ENTRY,4,2             ; @ACL_NEXT_ENTRY
l_.str.2:                               ; @.str.2
	.asciz	"%s: acl_get_tag_type() failed - invalid ACL entry"

	.comm	_have_mask,4,2                  ; @have_mask
l_.str.3:                               ; @.str.3
	.asciz	"%s: acl_get_tag_type() failed"

	.comm	_ACL_BRAND_NFS4,4,2             ; @ACL_BRAND_NFS4
l_.str.4:                               ; @.str.4
	.asciz	"%s: acl_get_entry_type_np() failed"

l_.str.5:                               ; @.str.5
	.asciz	"%s: acl_get_permset() failed"

l_.str.6:                               ; @.str.6
	.asciz	"%s: acl_set_permset() failed"

l_.str.7:                               ; @.str.7
	.asciz	"%s: acl_set_entry_type_np() failed"

l_.str.8:                               ; @.str.8
	.asciz	"%s: acl_get_flagset_np() failed"

l_.str.9:                               ; @.str.9
	.asciz	"%s: acl_set_flagset_np() failed"

l_.str.10:                              ; @.str.10
	.asciz	"%s: invalid tag type: %i"

l_.str.11:                              ; @.str.11
	.asciz	"%s: acl_create_entry_np() failed"

l_.str.12:                              ; @.str.12
	.asciz	"%s: acl_create_entry() failed"

l_.str.13:                              ; @.str.13
	.asciz	"%s: acl_copy_entry() failed"

.subsections_via_symbols
