	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__posix1e_acl_perm_to_string    ## -- Begin function _posix1e_acl_perm_to_string
	.p2align	4, 0x90
__posix1e_acl_perm_to_string:           ## @_posix1e_acl_perm_to_string
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	__POSIX1E_ACL_STRING_PERM_MAXSIZE@GOTPCREL(%rip), %rax
	cmpq	%rsi, (%rax)
	jge	LBB0_1
## %bb.3:
	movq	_ACL_PERM_BITS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	testl	%edi, %eax
	jne	LBB0_4
## %bb.5:
	movb	$0, 3(%rdx)
	movq	_ACL_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ACL_STRING_PERM_NONE@GOTPCREL(%rip), %rax
	movq	%rax, %rcx
	andl	%edi, %esi
	je	LBB0_7
## %bb.6:
	movq	_ACL_STRING_PERM_READ@GOTPCREL(%rip), %rcx
LBB0_7:
	movb	(%rcx), %cl
	movb	%cl, (%rdx)
	movq	_ACL_WRITE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	%edi, %ecx
	je	LBB0_9
## %bb.8:
	movq	_ACL_STRING_PERM_WRITE@GOTPCREL(%rip), %rax
LBB0_9:
	movb	(%rax), %al
	movb	%al, 1(%rdx)
	movq	_ACL_EXECUTE@GOTPCREL(%rip), %rax
	testl	%edi, (%rax)
	je	LBB0_11
## %bb.10:
	movq	_ACL_STRING_PERM_EXEC@GOTPCREL(%rip), %rax
	jmp	LBB0_12
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_4:
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_2:
	movl	(%rax), %eax
	movq	_errno@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movl	$-1, %eax
	popq	%rbp
	retq
LBB0_11:
	movq	_ACL_STRING_PERM_NONE@GOTPCREL(%rip), %rax
LBB0_12:
	movb	(%rax), %al
	movb	%al, 2(%rdx)
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	__POSIX1E_ACL_STRING_PERM_MAXSIZE,8,3 ## @_POSIX1E_ACL_STRING_PERM_MAXSIZE
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_errno,4,2                      ## @errno
	.comm	_ACL_PERM_BITS,4,2              ## @ACL_PERM_BITS
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_ACL_READ,4,2                   ## @ACL_READ
	.comm	_ACL_STRING_PERM_READ,1,0       ## @ACL_STRING_PERM_READ
	.comm	_ACL_STRING_PERM_NONE,1,0       ## @ACL_STRING_PERM_NONE
	.comm	_ACL_WRITE,4,2                  ## @ACL_WRITE
	.comm	_ACL_STRING_PERM_WRITE,1,0      ## @ACL_STRING_PERM_WRITE
	.comm	_ACL_EXECUTE,4,2                ## @ACL_EXECUTE
	.comm	_ACL_STRING_PERM_EXEC,1,0       ## @ACL_STRING_PERM_EXEC
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__posix1e_acl_perm_to_string    ; -- Begin function _posix1e_acl_perm_to_string
	.p2align	2
__posix1e_acl_perm_to_string:           ; @_posix1e_acl_perm_to_string
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, __POSIX1E_ACL_STRING_PERM_MAXSIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, __POSIX1E_ACL_STRING_PERM_MAXSIZE@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x1
	b.ge	LBB0_4
; %bb.1:
Lloh3:
	adrp	x8, _ACL_PERM_BITS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ACL_PERM_BITS@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	orr	w9, w8, w0
	cmp	w9, w8
	b.ne	LBB0_5
; %bb.2:
	strb	wzr, [x2, #3]
Lloh6:
	adrp	x9, _ACL_READ@GOTPAGE
Lloh7:
	ldr	x9, [x9, _ACL_READ@GOTPAGEOFF]
Lloh8:
	adrp	x8, _ACL_STRING_PERM_NONE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ACL_STRING_PERM_NONE@GOTPAGEOFF]
Lloh10:
	adrp	x10, _ACL_STRING_PERM_READ@GOTPAGE
Lloh11:
	ldr	x10, [x10, _ACL_STRING_PERM_READ@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	tst	w9, w0
	csel	x9, x8, x10, eq
	ldrb	w9, [x9]
Lloh13:
	adrp	x10, _ACL_WRITE@GOTPAGE
Lloh14:
	ldr	x10, [x10, _ACL_WRITE@GOTPAGEOFF]
	strb	w9, [x2]
Lloh15:
	ldr	w9, [x10]
Lloh16:
	adrp	x10, _ACL_STRING_PERM_WRITE@GOTPAGE
Lloh17:
	ldr	x10, [x10, _ACL_STRING_PERM_WRITE@GOTPAGEOFF]
	tst	w9, w0
	csel	x9, x8, x10, eq
	ldrb	w9, [x9]
	strb	w9, [x2, #1]
Lloh18:
	adrp	x9, _ACL_EXECUTE@GOTPAGE
Lloh19:
	ldr	x9, [x9, _ACL_EXECUTE@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	tst	w9, w0
	b.eq	LBB0_7
; %bb.3:
	mov	w0, #0
Lloh21:
	adrp	x8, _ACL_STRING_PERM_EXEC@GOTPAGE
Lloh22:
	ldr	x8, [x8, _ACL_STRING_PERM_EXEC@GOTPAGEOFF]
	b	LBB0_8
LBB0_4:
Lloh23:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh24:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
Lloh25:
	adrp	x8, _EINVAL@GOTPAGE
Lloh26:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_6:
	ldr	w8, [x8]
Lloh27:
	adrp	x9, _errno@GOTPAGE
Lloh28:
	ldr	x9, [x9, _errno@GOTPAGEOFF]
Lloh29:
	str	w8, [x9]
	mov	w0, #-1
	ret
LBB0_7:
	mov	w0, #0
LBB0_8:
	ldrb	w8, [x8]
	strb	w8, [x2, #2]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh12
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGotStr	Lloh27, Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.comm	__POSIX1E_ACL_STRING_PERM_MAXSIZE,8,3 ; @_POSIX1E_ACL_STRING_PERM_MAXSIZE
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_errno,4,2                      ; @errno
	.comm	_ACL_PERM_BITS,4,2              ; @ACL_PERM_BITS
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_ACL_READ,4,2                   ; @ACL_READ
	.comm	_ACL_STRING_PERM_READ,1,0       ; @ACL_STRING_PERM_READ
	.comm	_ACL_STRING_PERM_NONE,1,0       ; @ACL_STRING_PERM_NONE
	.comm	_ACL_WRITE,4,2                  ; @ACL_WRITE
	.comm	_ACL_STRING_PERM_WRITE,1,0      ; @ACL_STRING_PERM_WRITE
	.comm	_ACL_EXECUTE,4,2                ; @ACL_EXECUTE
	.comm	_ACL_STRING_PERM_EXEC,1,0       ; @ACL_STRING_PERM_EXEC
.subsections_via_symbols
