	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__nfs4_acl_to_text_np           ## -- Begin function _nfs4_acl_to_text_np
	.p2align	4, 0x90
__nfs4_acl_to_text_np:                  ## @_nfs4_acl_to_text_np
	.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, -48(%rbp)                 ## 4-byte Spill
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movl	(%rdi), %r13d
	testl	%r13d, %r13d
	je	LBB0_8
## %bb.1:
	movq	%rsi, %r15
	movq	_ACL_FIRST_ENTRY@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_MAX_ENTRY_LENGTH@GOTPCREL(%rip), %rax
	imull	(%rax), %r13d
	movl	%r13d, %edi
	callq	_malloc
	xorl	%r14d, %r14d
	testq	%rax, %rax
	je	LBB0_11
## %bb.2:
	movq	%rax, %rbx
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	leaq	-44(%rbp), %rdx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%r12d, %esi
	callq	_acl_get_entry
	cmpl	$1, %eax
	jne	LBB0_6
## %bb.3:
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	_ACL_NEXT_ENTRY@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	xorl	%edi, %edi
	movl	%r13d, %r15d
	subl	%r14d, %r15d
	setg	%dil
	callq	_assert
	movslq	%r14d, %rdi
	addq	%rbx, %rdi
	movl	-44(%rbp), %edx
	movl	%r15d, %esi
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	callq	_format_entry
	testl	%eax, %eax
	jne	LBB0_10
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%rbx, %rdi
	callq	_strlen
	movl	%eax, %r14d
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%r12d, %esi
	leaq	-44(%rbp), %rdx
	callq	_acl_get_entry
	cmpl	$1, %eax
	je	LBB0_4
LBB0_6:
	xorl	%edi, %edi
	cmpl	%r14d, %r13d
	setg	%dil
	callq	_assert
	movslq	%r14d, %rax
	movb	$0, (%rbx,%rax)
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	testq	%rax, %rax
	je	LBB0_12
## %bb.7:
	movl	%r14d, (%rax)
	jmp	LBB0_12
LBB0_8:
	leaq	L_.str(%rip), %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_strdup                         ## TAILCALL
LBB0_10:
	movq	%rbx, %rdi
	callq	_free
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_errno@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
LBB0_11:
	xorl	%ebx, %ebx
LBB0_12:
	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_FIRST_ENTRY,4,2            ## @ACL_FIRST_ENTRY
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.space	1

	.comm	_MAX_ENTRY_LENGTH,4,2           ## @MAX_ENTRY_LENGTH
	.comm	_ACL_NEXT_ENTRY,4,2             ## @ACL_NEXT_ENTRY
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_errno,4,2                      ## @errno
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__nfs4_acl_to_text_np           ; -- Begin function _nfs4_acl_to_text_np
	.p2align	2
__nfs4_acl_to_text_np:                  ; @_nfs4_acl_to_text_np
	.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
	ldr	w8, [x0]
	cbz	w8, LBB0_6
; %bb.1:
	mov	x21, x2
	mov	x20, x1
	mov	x22, x0
Lloh0:
	adrp	x9, _ACL_FIRST_ENTRY@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ACL_FIRST_ENTRY@GOTPAGEOFF]
Lloh2:
	ldr	w24, [x9]
Lloh3:
	adrp	x9, _MAX_ENTRY_LENGTH@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MAX_ENTRY_LENGTH@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	mul	w23, w9, w8
	mov	x0, x23
	bl	_malloc
	mov	x19, x0
	cbz	x0, LBB0_11
; %bb.2:
	add	x2, sp, #12
	mov	x0, x22
	mov	x1, x24
	bl	_acl_get_entry
	cmp	w0, #1
	b.ne	LBB0_7
; %bb.3:
	mov	w24, #0
Lloh6:
	adrp	x27, _ACL_NEXT_ENTRY@GOTPAGE
Lloh7:
	ldr	x27, [x27, _ACL_NEXT_ENTRY@GOTPAGEOFF]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w25, [x27]
	subs	w26, w23, w24
	cset	w0, gt
	bl	_assert
	add	x0, x19, w24, sxtw
	ldr	w2, [sp, #12]
	mov	x1, x26
	mov	x3, x21
	bl	_format_entry
	cbnz	w0, LBB0_10
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	bl	_strlen
	mov	x24, x0
	add	x2, sp, #12
	mov	x0, x22
	mov	x1, x25
	bl	_acl_get_entry
	cmp	w0, #1
	b.eq	LBB0_4
	b	LBB0_8
LBB0_6:
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	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
	b	_strdup
LBB0_7:
	mov	w24, #0
LBB0_8:
	cmp	w23, w24
	cset	w0, gt
	bl	_assert
	strb	wzr, [x19, w24, sxtw]
	cbz	x20, LBB0_11
; %bb.9:
	str	w24, [x20]
	b	LBB0_11
LBB0_10:
	mov	x0, x19
	bl	_free
	mov	x19, #0
Lloh10:
	adrp	x8, _EINVAL@GOTPAGE
Lloh11:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
Lloh13:
	adrp	x9, _errno@GOTPAGE
Lloh14:
	ldr	x9, [x9, _errno@GOTPAGEOFF]
Lloh15:
	str	w8, [x9]
LBB0_11:
	mov	x0, x19
	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	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotStr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_ACL_FIRST_ENTRY,4,2            ; @ACL_FIRST_ENTRY
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.space	1

	.comm	_MAX_ENTRY_LENGTH,4,2           ; @MAX_ENTRY_LENGTH
	.comm	_ACL_NEXT_ENTRY,4,2             ; @ACL_NEXT_ENTRY
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_errno,4,2                      ; @errno
.subsections_via_symbols
