	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _posix1e_acl_entry_from_text
__posix1e_acl_entry_from_text:          ## @_posix1e_acl_entry_from_text
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %r15d
	movq	%rsi, -40(%rbp)
	callq	__acl_brand
	movq	_ACL_BRAND_POSIX@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	sete	%dil
	callq	_assert
	leaq	L_.str(%rip), %rsi
	leaq	-40(%rbp), %rdi
	callq	_strsep
	testq	%rax, %rax
	je	LBB0_11
## %bb.1:
	movq	%rax, %rdi
	callq	_string_skip_whitespace
	movq	%rax, %rbx
	cmpb	$0, (%rax)
	jne	LBB0_3
## %bb.2:
	xorl	%eax, %eax
	cmpq	$0, -40(%rbp)
	je	LBB0_13
LBB0_3:
	movq	%rbx, %rdi
	callq	_string_trim_trailing_whitespace
	leaq	L_.str(%rip), %rsi
	leaq	-40(%rbp), %rdi
	callq	_strsep
	testq	%rax, %rax
	je	LBB0_11
## %bb.4:
	movq	%rax, %rdi
	callq	_string_skip_whitespace
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_string_trim_trailing_whitespace
	leaq	L_.str(%rip), %rsi
	leaq	-40(%rbp), %rdi
	callq	_strsep
	testq	%rax, %rax
	je	LBB0_11
## %bb.5:
	cmpq	$0, -40(%rbp)
	jne	LBB0_11
## %bb.6:
	movq	%rax, %rdi
	callq	_string_skip_whitespace
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_string_trim_trailing_whitespace
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_acl_string_to_tag
	cmpl	$-1, %eax
	je	LBB0_11
## %bb.7:
	movl	%eax, %ebx
	leaq	-48(%rbp), %rsi
	movq	%r12, %rdi
	callq	__posix1e_acl_string_to_perm
	cmpl	$-1, %eax
	je	LBB0_11
## %bb.8:
	leal	-128(%rbx), %eax
	cmpl	$5, %eax
	ja	LBB0_11
## %bb.9:
	movl	$29, %ecx
	btl	%eax, %ecx
	jae	LBB0_14
## %bb.10:
	cmpb	$0, (%r14)
	je	LBB0_16
LBB0_11:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_errno@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
LBB0_12:
	movl	$-1, %eax
LBB0_13:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	leaq	-44(%rbp), %rdx
	movl	%ebx, %edi
	movq	%r14, %rsi
	callq	__acl_name_to_id
	cmpl	$-1, %eax
	je	LBB0_12
## %bb.15:
	movl	-44(%rbp), %edx
	jmp	LBB0_17
LBB0_16:
	movl	$0, -44(%rbp)
	xorl	%edx, %edx
LBB0_17:
	movl	-48(%rbp), %ecx
	movl	%r15d, %edi
	movl	%ebx, %esi
	callq	__posix1e_acl_add_entry
	movl	%eax, %ecx
	xorl	%eax, %eax
	cmpl	$-1, %ecx
	sete	%al
	negl	%eax
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.comm	_ACL_BRAND_POSIX,8,3            ## @ACL_BRAND_POSIX
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	":"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_errno,4,2                      ## @errno
	.no_dead_strip	__posix1e_acl_entry_from_text
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _posix1e_acl_entry_from_text
__posix1e_acl_entry_from_text:          ; @_posix1e_acl_entry_from_text
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x0
	str	x1, [sp, #8]
	bl	__acl_brand
Lloh0:
	adrp	x8, _ACL_BRAND_POSIX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ACL_BRAND_POSIX@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	cset	w0, eq
	bl	_assert
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	add	x0, sp, #8
	bl	_strsep
	cbz	x0, LBB0_10
; %bb.1:
	bl	_string_skip_whitespace
	ldrb	w8, [x0]
	ldr	x9, [sp, #8]
	cmp	w8, #0
	ccmp	x9, #0, #0, eq
	b.eq	LBB0_11
; %bb.2:
	mov	x21, x0
	bl	_string_trim_trailing_whitespace
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	add	x0, sp, #8
	bl	_strsep
	cbz	x0, LBB0_10
; %bb.3:
	bl	_string_skip_whitespace
	mov	x20, x0
	bl	_string_trim_trailing_whitespace
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	add	x0, sp, #8
	bl	_strsep
	cbz	x0, LBB0_10
; %bb.4:
	ldr	x8, [sp, #8]
	cbnz	x8, LBB0_10
; %bb.5:
	bl	_string_skip_whitespace
	mov	x22, x0
	bl	_string_trim_trailing_whitespace
	mov	x0, x21
	mov	x1, x20
	bl	_acl_string_to_tag
	cmn	w0, #1
	b.eq	LBB0_13
; %bb.6:
	mov	x21, x0
	add	x1, sp, #4
	mov	x0, x22
	bl	__posix1e_acl_string_to_perm
	cmn	w0, #1
	b.eq	LBB0_13
; %bb.7:
	sub	w8, w21, #128
	cmp	w8, #5
	b.hi	LBB0_10
; %bb.8:
	mov	w9, #1
	lsl	w8, w9, w8
	mov	w9, #29
	tst	w8, w9
	b.eq	LBB0_14
; %bb.9:
	ldrb	w8, [x20]
	cbz	w8, LBB0_16
LBB0_10:
Lloh9:
	adrp	x8, _EINVAL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
Lloh12:
	adrp	x9, _errno@GOTPAGE
Lloh13:
	ldr	x9, [x9, _errno@GOTPAGEOFF]
Lloh14:
	str	w8, [x9]
	mov	w0, #-1
	b	LBB0_12
LBB0_11:
	mov	w0, #0
LBB0_12:
	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
	add	sp, sp, #64
	ret
LBB0_13:
Lloh15:
	adrp	x8, _EINVAL@GOTPAGE
Lloh16:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
Lloh18:
	adrp	x9, _errno@GOTPAGE
Lloh19:
	ldr	x9, [x9, _errno@GOTPAGEOFF]
Lloh20:
	str	w8, [x9]
	b	LBB0_12
LBB0_14:
	mov	x2, sp
	mov	x0, x21
	mov	x1, x20
	bl	__acl_name_to_id
	cmn	w0, #1
	b.eq	LBB0_12
; %bb.15:
	ldr	w2, [sp]
	b	LBB0_17
LBB0_16:
	mov	w2, #0
	str	wzr, [sp]
LBB0_17:
	ldr	w3, [sp, #4]
	mov	x0, x19
	mov	x1, x21
	bl	__posix1e_acl_add_entry
	cmn	w0, #1
	csetm	w0, eq
	b	LBB0_12
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotStr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotStr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_ACL_BRAND_POSIX,8,3            ; @ACL_BRAND_POSIX
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	":"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_errno,4,2                      ; @errno
	.no_dead_strip	__posix1e_acl_entry_from_text
.subsections_via_symbols
