	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ParseStringSecurityDescriptorToSecurityDescriptor
_ParseStringSecurityDescriptorToSecurityDescriptor: ## @ParseStringSecurityDescriptorToSecurityDescriptor
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movl	$40, (%rdx)
	callq	_lstrlenW
                                        ## kill: def $eax killed $eax def $rax
	leal	1(%rax), %edi
	callq	_heap_alloc
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	leaq	40(%r15), %r13
	decq	%r14
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	1(%r14), %ebx
	incq	%r14
	cmpb	$32, %bl
	je	LBB0_1
## %bb.2:
	testb	%bl, %bl
	je	LBB0_22
## %bb.3:
	testq	%r15, %r15
	cmoveq	%r15, %r13
	movq	%r15, -88(%rbp)                 ## 8-byte Spill
	jmp	LBB0_4
LBB0_18:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%r13, %rax
	subq	%r15, %rax
	movq	%rax, 32(%r15)
LBB0_19:                                ##   in Loop: Header=BB0_4 Depth=1
	movslq	-44(%rbp), %rax
LBB0_20:                                ##   in Loop: Header=BB0_4 Depth=1
	addq	%rax, %r13
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	addl	%eax, (%rcx)
LBB0_21:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	subq	%rax, %r12
	movb	(%r12), %bl
	movq	%r12, %r14
	testb	%bl, %bl
	je	LBB0_22
LBB0_4:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_9 Depth 2
	cmpb	$58, 1(%r14)
	jne	LBB0_5
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	addq	$2, %r14
	xorl	%eax, %eax
	movq	%r14, %r12
	.p2align	4, 0x90
LBB0_9:                                 ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movzbl	(%r12), %ecx
	testb	%cl, %cl
	je	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=2
	cmpb	$58, %cl
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_9 Depth=2
	incq	%r12
	incq	%rax
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%r13, -96(%rbp)                 ## 8-byte Spill
	xorl	%edx, %edx
	testb	%cl, %cl
	setne	%dl
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	subl	%edx, %eax
	movslq	%eax, %r15
	movq	-80(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rdi
	movq	%r14, %rsi
	movl	%r15d, %edx
	callq	_memcpy
	movb	$0, (%r13,%r15)
	movsbl	%bl, %eax
	addl	$-68, %eax
	cmpl	$15, %eax
	ja	LBB0_34
## %bb.13:                              ##   in Loop: Header=BB0_4 Depth=1
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_26:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	leaq	-44(%rbp), %rsi
	movq	-96(%rbp), %r13                 ## 8-byte Reload
	movl	%r13d, %edx
	leaq	-52(%rbp), %rcx
	callq	_ParseStringAclToAcl
	testl	%eax, %eax
	je	LBB0_6
## %bb.27:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	-88(%rbp), %r15                 ## 8-byte Reload
	testq	%r15, %r15
	je	LBB0_28
## %bb.29:                              ##   in Loop: Header=BB0_4 Depth=1
	movl	-44(%rbp), %eax
	movq	_SE_DACL_PRESENT@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	orl	%eax, (%r15)
	movq	%r13, %rax
	subq	%r15, %rax
	movq	%rax, 16(%r15)
	movslq	-52(%rbp), %rax
	jmp	LBB0_20
	.p2align	4, 0x90
LBB0_23:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movq	-96(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rsi
	leaq	-44(%rbp), %rdx
	callq	_ParseStringSidToSid
	testl	%eax, %eax
	je	LBB0_6
## %bb.24:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	-88(%rbp), %r15                 ## 8-byte Reload
	testq	%r15, %r15
	je	LBB0_16
## %bb.25:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	%r13, %rax
	subq	%r15, %rax
	movq	%rax, 24(%r15)
	jmp	LBB0_19
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movq	-96(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rsi
	leaq	-44(%rbp), %rdx
	callq	_ParseStringSidToSid
	testl	%eax, %eax
	je	LBB0_6
## %bb.15:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	-88(%rbp), %r15                 ## 8-byte Reload
	testq	%r15, %r15
	jne	LBB0_18
LBB0_16:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	-44(%rbp), %eax
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_31:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	leaq	-44(%rbp), %rsi
	movq	-96(%rbp), %r13                 ## 8-byte Reload
	movl	%r13d, %edx
	leaq	-52(%rbp), %rcx
	callq	_ParseStringAclToAcl
	testl	%eax, %eax
	je	LBB0_6
## %bb.32:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	-88(%rbp), %r15                 ## 8-byte Reload
	testq	%r15, %r15
	je	LBB0_28
## %bb.33:                              ##   in Loop: Header=BB0_4 Depth=1
	movl	-44(%rbp), %eax
	movq	_SE_SACL_PRESENT@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	orl	%eax, (%r15)
	movq	%r13, %rax
	subq	%r15, %rax
	movq	%rax, 8(%r15)
	movslq	-52(%rbp), %rax
	jmp	LBB0_20
LBB0_28:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	-52(%rbp), %eax
LBB0_17:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	addl	%eax, (%rcx)
	jmp	LBB0_21
LBB0_22:
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_7
LBB0_34:
	leaq	L_.str(%rip), %rdi
	callq	_FIXME
LBB0_5:
	movq	_ERROR_INVALID_PARAMETER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_SetLastError
LBB0_6:
	movl	-48(%rbp), %ebx                 ## 4-byte Reload
LBB0_7:
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	callq	_heap_free
	movl	%ebx, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_26, LBB0_26-LJTI0_0
.set L0_0_set_34, LBB0_34-LJTI0_0
.set L0_0_set_23, LBB0_23-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_31, LBB0_31-LJTI0_0
LJTI0_0:
	.long	L0_0_set_26
	.long	L0_0_set_34
	.long	L0_0_set_34
	.long	L0_0_set_23
	.long	L0_0_set_34
	.long	L0_0_set_34
	.long	L0_0_set_34
	.long	L0_0_set_34
	.long	L0_0_set_34
	.long	L0_0_set_34
	.long	L0_0_set_34
	.long	L0_0_set_14
	.long	L0_0_set_34
	.long	L0_0_set_34
	.long	L0_0_set_34
	.long	L0_0_set_31
	.end_data_region
                                        ## -- End function
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_ERROR_INVALID_PARAMETER,4,2    ## @ERROR_INVALID_PARAMETER
	.comm	_SE_DACL_PRESENT,4,2            ## @SE_DACL_PRESENT
	.comm	_SE_SACL_PRESENT,4,2            ## @SE_SACL_PRESENT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unknown token\n"

	.comm	_TRUE,4,2                       ## @TRUE
	.no_dead_strip	_ParseStringSecurityDescriptorToSecurityDescriptor
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ParseStringSecurityDescriptorToSecurityDescriptor
_ParseStringSecurityDescriptorToSecurityDescriptor: ; @ParseStringSecurityDescriptorToSecurityDescriptor
	.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
	mov	x21, x2
	mov	x22, x1
	mov	x23, x0
Lloh0:
	adrp	x8, _FALSE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #4]                    ; 4-byte Folded Spill
	mov	w8, #40
	str	w8, [x2]
	bl	_lstrlenW
	add	w0, w0, #1
	bl	_heap_alloc
	mov	x20, x0
	add	x9, x22, #40
	sub	x8, x23, #1
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w19, [x8, #1]!
	cmp	w19, #32
	b.eq	LBB0_1
; %bb.2:
	cbz	w19, LBB0_27
; %bb.3:
	cmp	x22, #0
	csel	x23, xzr, x9, eq
Lloh3:
	adrp	x28, lJTI0_0@PAGE
Lloh4:
	add	x28, x28, lJTI0_0@PAGEOFF
	b	LBB0_8
LBB0_4:                                 ;   in Loop: Header=BB0_8 Depth=1
	sub	x8, x23, x22
	str	x8, [x22, #32]
LBB0_5:                                 ;   in Loop: Header=BB0_8 Depth=1
	ldrsw	x8, [sp, #12]
LBB0_6:                                 ;   in Loop: Header=BB0_8 Depth=1
	add	x23, x23, x8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	ldr	w9, [x21]
	add	w8, w9, w8
	str	w8, [x21]
	sub	x9, x24, x27
	add	x8, x9, x26
	ldrb	w19, [x9, x26]
	cbz	w19, LBB0_27
LBB0_8:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_10 Depth 2
	ldrb	w9, [x8, #1]
	cmp	w9, #58
	b.ne	LBB0_29
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x26, #0
	add	x24, x8, #2
	ldrb	w8, [x24, x26]
	cbz	w8, LBB0_12
LBB0_10:                                ;   Parent Loop BB0_8 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	cmp	w8, #58
	b.eq	LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=2
	add	x26, x26, #1
	ldrb	w8, [x24, x26]
	cbnz	w8, LBB0_10
LBB0_12:                                ;   in Loop: Header=BB0_8 Depth=1
	cmp	w8, #0
	cset	w27, ne
	sub	w25, w26, w27
	mov	x0, x20
	mov	x1, x24
	mov	x2, x25
	bl	_memcpy
	strb	wzr, [x20, w25, sxtw]
	sxtb	w8, w19
	sub	w8, w8, #68
	cmp	w8, #15
	b.hi	LBB0_28
; %bb.13:                               ;   in Loop: Header=BB0_8 Depth=1
	adr	x9, LBB0_14
	ldrb	w10, [x28, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_14:                                ;   in Loop: Header=BB0_8 Depth=1
	add	x1, sp, #12
	add	x3, sp, #8
	mov	x0, x20
	mov	x2, x23
	bl	_ParseStringAclToAcl
	cbz	w0, LBB0_30
; %bb.15:                               ;   in Loop: Header=BB0_8 Depth=1
	cbz	x22, LBB0_26
; %bb.16:                               ;   in Loop: Header=BB0_8 Depth=1
Lloh5:
	adrp	x8, _SE_DACL_PRESENT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SE_DACL_PRESENT@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	ldr	w9, [sp, #12]
	orr	w8, w9, w8
	ldr	w9, [x22]
	orr	w8, w8, w9
	str	w8, [x22]
	sub	x8, x23, x22
	str	x8, [x22, #16]
	ldrsw	x8, [sp, #8]
	b	LBB0_6
LBB0_17:                                ;   in Loop: Header=BB0_8 Depth=1
	add	x2, sp, #12
	mov	x0, x20
	mov	x1, x23
	bl	_ParseStringSidToSid
	cbz	w0, LBB0_30
; %bb.18:                               ;   in Loop: Header=BB0_8 Depth=1
	cbz	x22, LBB0_22
; %bb.19:                               ;   in Loop: Header=BB0_8 Depth=1
	sub	x8, x23, x22
	str	x8, [x22, #24]
	b	LBB0_5
LBB0_20:                                ;   in Loop: Header=BB0_8 Depth=1
	add	x2, sp, #12
	mov	x0, x20
	mov	x1, x23
	bl	_ParseStringSidToSid
	cbz	w0, LBB0_30
; %bb.21:                               ;   in Loop: Header=BB0_8 Depth=1
	cbnz	x22, LBB0_4
LBB0_22:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	w8, [sp, #12]
	b	LBB0_7
LBB0_23:                                ;   in Loop: Header=BB0_8 Depth=1
	add	x1, sp, #12
	add	x3, sp, #8
	mov	x0, x20
	mov	x2, x23
	bl	_ParseStringAclToAcl
	cbz	w0, LBB0_30
; %bb.24:                               ;   in Loop: Header=BB0_8 Depth=1
	cbz	x22, LBB0_26
; %bb.25:                               ;   in Loop: Header=BB0_8 Depth=1
Lloh8:
	adrp	x8, _SE_SACL_PRESENT@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SE_SACL_PRESENT@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	ldr	w9, [sp, #12]
	orr	w8, w9, w8
	ldr	w9, [x22]
	orr	w8, w8, w9
	str	w8, [x22]
	sub	x8, x23, x22
	str	x8, [x22, #8]
	ldrsw	x8, [sp, #8]
	b	LBB0_6
LBB0_26:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	w8, [sp, #8]
	b	LBB0_7
LBB0_27:
Lloh11:
	adrp	x8, _TRUE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh13:
	ldr	w19, [x8]
	b	LBB0_31
LBB0_28:
Lloh14:
	adrp	x0, l_.str@PAGE
Lloh15:
	add	x0, x0, l_.str@PAGEOFF
	bl	_FIXME
LBB0_29:
Lloh16:
	adrp	x8, _ERROR_INVALID_PARAMETER@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ERROR_INVALID_PARAMETER@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
	bl	_SetLastError
LBB0_30:
	ldr	w19, [sp, #4]                   ; 4-byte Folded Reload
LBB0_31:
	mov	x0, x20
	bl	_heap_free
	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	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_14-LBB0_14)>>2
	.byte	(LBB0_28-LBB0_14)>>2
	.byte	(LBB0_28-LBB0_14)>>2
	.byte	(LBB0_17-LBB0_14)>>2
	.byte	(LBB0_28-LBB0_14)>>2
	.byte	(LBB0_28-LBB0_14)>>2
	.byte	(LBB0_28-LBB0_14)>>2
	.byte	(LBB0_28-LBB0_14)>>2
	.byte	(LBB0_28-LBB0_14)>>2
	.byte	(LBB0_28-LBB0_14)>>2
	.byte	(LBB0_28-LBB0_14)>>2
	.byte	(LBB0_20-LBB0_14)>>2
	.byte	(LBB0_28-LBB0_14)>>2
	.byte	(LBB0_28-LBB0_14)>>2
	.byte	(LBB0_28-LBB0_14)>>2
	.byte	(LBB0_23-LBB0_14)>>2
                                        ; -- End function
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_ERROR_INVALID_PARAMETER,4,2    ; @ERROR_INVALID_PARAMETER
	.comm	_SE_DACL_PRESENT,4,2            ; @SE_DACL_PRESENT
	.comm	_SE_SACL_PRESENT,4,2            ; @SE_SACL_PRESENT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unknown token\n"

	.comm	_TRUE,4,2                       ; @TRUE
	.no_dead_strip	_ParseStringSecurityDescriptorToSecurityDescriptor
.subsections_via_symbols
