	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function merge_user_group
_merge_user_group:                      ## @merge_user_group
	.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
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movq	%rsi, %r15
	movq	%rdi, %r12
	movl	(%rdi), %edi
	callq	_acl_get_qualifier
	movq	%rax, %r14
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_2:
	movl	(%r15), %edi
	callq	_acl_get_qualifier
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_4:
	movq	(%r14), %rax
	xorl	%r13d, %r13d
	cmpq	(%rbx), %rax
	jne	LBB0_18
## %bb.5:
	movl	(%r12), %edi
	leaq	-56(%rbp), %rsi
	callq	_acl_get_permset
	cmpl	$-1, %eax
	jne	LBB0_7
## %bb.6:
	leaq	L_.str.1(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_7:
	movl	(%r15), %edi
	movl	-56(%rbp), %esi
	callq	_acl_set_permset
	cmpl	$-1, %eax
	jne	LBB0_9
## %bb.8:
	leaq	L_.str.2(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_9:
	movq	_ACL_BRAND_NFS4@GOTPCREL(%rip), %rax
	movl	$1, %r13d
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	cmpl	%ecx, (%rax)
	jne	LBB0_18
## %bb.10:
	movl	(%r12), %edi
	leaq	-52(%rbp), %rsi
	callq	_acl_get_entry_type_np
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:
	leaq	L_.str.3(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_12:
	movl	(%r15), %edi
	movl	-52(%rbp), %esi
	callq	_acl_set_entry_type_np
	testq	%rax, %rax
	je	LBB0_14
## %bb.13:
	leaq	L_.str.4(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_14:
	movl	(%r12), %edi
	leaq	-48(%rbp), %rsi
	callq	_acl_get_flagset_np
	testq	%rax, %rax
	je	LBB0_16
## %bb.15:
	leaq	L_.str.5(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_16:
	movl	(%r15), %edi
	movl	-48(%rbp), %esi
	callq	_acl_set_flagset_np
	testq	%rax, %rax
	je	LBB0_18
## %bb.17:
	leaq	L_.str.6(%rip), %rsi
	movl	$1, %r13d
	movl	$1, %edi
	callq	_err
LBB0_18:
	movq	%r14, %rdi
	callq	_acl_free
	movq	%rbx, %rdi
	callq	_acl_free
	movl	%r13d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"acl_get_qualifier() failed"

L_.str.1:                               ## @.str.1
	.asciz	"acl_get_permset() failed"

L_.str.2:                               ## @.str.2
	.asciz	"acl_set_permset() failed"

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

L_.str.4:                               ## @.str.4
	.asciz	"acl_set_entry_type_np() failed"

L_.str.5:                               ## @.str.5
	.asciz	"acl_get_flagset_np() failed"

L_.str.6:                               ## @.str.6
	.asciz	"acl_set_flagset_np() failed"

	.no_dead_strip	_merge_user_group
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function merge_user_group
_merge_user_group:                      ; @merge_user_group
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x23, x2
	mov	x21, x1
	mov	x22, x0
	ldr	w0, [x0]
	bl	_acl_get_qualifier
	mov	x19, x0
	cbnz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_2:
	ldr	w0, [x21]
	bl	_acl_get_qualifier
	mov	x20, x0
	cbnz	x0, LBB0_4
; %bb.3:
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_4:
	ldr	x8, [x19]
	ldr	x9, [x20]
	cmp	x8, x9
	b.ne	LBB0_18
; %bb.5:
	ldr	w0, [x22]
	add	x1, sp, #12
	bl	_acl_get_permset
	cmn	w0, #1
	b.ne	LBB0_7
; %bb.6:
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_7:
	ldr	w0, [x21]
	ldr	w1, [sp, #12]
	bl	_acl_set_permset
	cmn	w0, #1
	b.ne	LBB0_9
; %bb.8:
Lloh6:
	adrp	x1, l_.str.2@PAGE
Lloh7:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_9:
Lloh8:
	adrp	x8, _ACL_BRAND_NFS4@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ACL_BRAND_NFS4@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	cmp	w8, w23
	b.ne	LBB0_19
; %bb.10:
	ldr	w0, [x22]
	add	x1, sp, #8
	bl	_acl_get_entry_type_np
	cbz	x0, LBB0_12
; %bb.11:
Lloh11:
	adrp	x1, l_.str.3@PAGE
Lloh12:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_12:
	ldr	w0, [x21]
	ldr	w1, [sp, #8]
	bl	_acl_set_entry_type_np
	cbz	x0, LBB0_14
; %bb.13:
Lloh13:
	adrp	x1, l_.str.4@PAGE
Lloh14:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_14:
	ldr	w0, [x22]
	add	x1, sp, #4
	bl	_acl_get_flagset_np
	cbz	x0, LBB0_16
; %bb.15:
Lloh15:
	adrp	x1, l_.str.5@PAGE
Lloh16:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_16:
	ldr	w0, [x21]
	ldr	w1, [sp, #4]
	bl	_acl_set_flagset_np
	cbz	x0, LBB0_19
; %bb.17:
Lloh17:
	adrp	x1, l_.str.6@PAGE
Lloh18:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	w21, #1
	mov	w0, #1
	bl	_err
	b	LBB0_20
LBB0_18:
	mov	w21, #0
	b	LBB0_20
LBB0_19:
	mov	w21, #1
LBB0_20:
	mov	x0, x19
	bl	_acl_free
	mov	x0, x20
	bl	_acl_free
	mov	x0, x21
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"acl_get_qualifier() failed"

l_.str.1:                               ; @.str.1
	.asciz	"acl_get_permset() failed"

l_.str.2:                               ; @.str.2
	.asciz	"acl_set_permset() failed"

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

l_.str.4:                               ; @.str.4
	.asciz	"acl_set_entry_type_np() failed"

l_.str.5:                               ; @.str.5
	.asciz	"acl_get_flagset_np() failed"

l_.str.6:                               ; @.str.6
	.asciz	"acl_set_flagset_np() failed"

	.no_dead_strip	_merge_user_group
.subsections_via_symbols
