	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_NTFS_Access_Control            ## -- Begin function NTFS_Access_Control
	.p2align	4, 0x90
_NTFS_Access_Control:                   ## @NTFS_Access_Control
	.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
	pushq	%rax
	movl	$5464, %eax                     ## imm = 0x1558
	callq	____chkstk_darwin
	subq	%rax, %rsp
	popq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r12
	movl	%edx, %r13d
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	$400, -5476(%rbp)               ## imm = 0x190
	movl	$400, -5472(%rbp)               ## imm = 0x190
	movl	$400, -5468(%rbp)               ## imm = 0x190
	movl	$100, -5460(%rbp)
	movq	_SECURITY_DESCRIPTOR_REVISION@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-5464(%rbp), %rdi
	callq	_InitializeSecurityDescriptor
	movq	_ISC_R_NOPERM@GOTPCREL(%rip), %r15
	testl	%eax, %eax
	je	LBB0_37
## %bb.1:
	leaq	-4144(%rbp), %rdi
	movq	_ACL_REVISION@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
                                        ## kill: def $edi killed $edi killed $rdi
	movl	$4096, %esi                     ## imm = 0x1000
	callq	_InitializeAcl
	testl	%eax, %eax
	je	LBB0_37
## %bb.2:
	movq	%rbx, -5488(%rbp)               ## 8-byte Spill
	leaq	-4544(%rbp), %rdx
	leaq	-5492(%rbp), %rbx
	movq	%rbx, (%rsp)
	leaq	-5476(%rbp), %rcx
	leaq	-5456(%rbp), %r8
	leaq	-5460(%rbp), %r9
	xorl	%edi, %edi
	movq	%r14, %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_LookupAccountName
	testl	%eax, %eax
	je	LBB0_37
## %bb.3:
	leaq	-4944(%rbp), %rdx
	movl	$100, -5460(%rbp)
	movq	%rbx, (%rsp)
	leaq	L_.str(%rip), %rsi
	leaq	-5472(%rbp), %rcx
	leaq	-5456(%rbp), %r8
	leaq	-5460(%rbp), %r9
	xorl	%edi, %edi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_LookupAccountName
	testl	%eax, %eax
	je	LBB0_4
## %bb.5:
	leaq	-5344(%rbp), %rdx
	movl	$100, -5460(%rbp)
	movq	%rbx, (%rsp)
	leaq	L_.str.1(%rip), %rsi
	leaq	-5468(%rbp), %rcx
	leaq	-5456(%rbp), %r8
	leaq	-5460(%rbp), %r9
	xorl	%edi, %edi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_LookupAccountName
	testl	%eax, %eax
	je	LBB0_4
## %bb.6:
	movq	_ISC_FSACCESS_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	andl	%r13d, %edx
	movq	_FILE_GENERIC_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmovnel	%eax, %edx
	movq	_ISC_FSACCESS_WRITE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	andl	%r13d, %edi
	movq	_FILE_GENERIC_WRITE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	cmovnel	%ecx, %edi
	orl	%edx, %edi
	movq	_ISC_FSACCESS_EXECUTE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %esi
	andl	%r13d, %esi
	movq	_FILE_GENERIC_EXECUTE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	cmovnel	%edx, %esi
	orl	%edi, %esi
	movq	_ISC_TRUE@GOTPCREL(%rip), %rdi
	cmpq	%r12, (%rdi)
	jne	LBB0_14
## %bb.7:
	movq	_ISC_FSACCESS_CREATECHILD@GOTPCREL(%rip), %rdi
	movl	(%rdi), %ebx
	movq	_FILE_ADD_SUBDIRECTORY@GOTPCREL(%rip), %r8
	movq	_FILE_ADD_FILE@GOTPCREL(%rip), %rdi
	movl	(%rdi), %edi
	orl	(%r8), %edi
	andl	%r13d, %ebx
	testl	%ebx, %ebx
	cmovel	%ebx, %edi
	orl	%esi, %edi
	movq	_ISC_FSACCESS_DELETECHILD@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	andl	%r13d, %esi
	je	LBB0_9
## %bb.8:
	movq	_FILE_DELETE_CHILD@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
LBB0_9:
	orl	%esi, %edi
	movq	_ISC_FSACCESS_LISTDIRECTORY@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	andl	%r13d, %esi
	je	LBB0_11
## %bb.10:
	movq	_FILE_LIST_DIRECTORY@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
LBB0_11:
	orl	%esi, %edi
	movq	_ISC_FSACCESS_ACCESSCHILD@GOTPCREL(%rip), %rsi
	testl	%r13d, (%rsi)
	je	LBB0_13
## %bb.12:
	movq	_FILE_TRAVERSE@GOTPCREL(%rip), %rsi
	orl	(%rsi), %edi
LBB0_13:
	movl	%edi, %esi
LBB0_14:
	orl	%eax, %ecx
	orl	%edx, %ecx
	xorl	%ebx, %ebx
	cmpl	%ecx, %esi
	jne	LBB0_16
## %bb.15:
	movq	_FILE_ALL_ACCESS@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_16:
	orl	%esi, %ebx
	movq	_STANDARD_RIGHTS_ALL@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	_ACL_REVISION@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-4144(%rbp), %r14
	movl	%r14d, %edi
	movl	%ebx, %edx
	leaq	-4544(%rbp), %rcx
                                        ## kill: def $ecx killed $ecx killed $rcx
	callq	_AddAccessAllowedAce
	testl	%eax, %eax
	je	LBB0_37
## %bb.17:
	movq	_ACL_REVISION@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %edi
	movl	%ebx, %edx
	leaq	-4944(%rbp), %rcx
                                        ## kill: def $ecx killed $ecx killed $rcx
	callq	_AddAccessAllowedAce
	testl	%eax, %eax
	je	LBB0_37
## %bb.18:
	movq	_STEP@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	sarl	%cl, %r13d
	sarl	%cl, %r13d
	movq	_ISC_FSACCESS_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%r13d, %eax
	je	LBB0_20
## %bb.19:
	movq	_FILE_GENERIC_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_20:
	movq	_ISC_FSACCESS_WRITE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	andl	%r13d, %edx
	je	LBB0_22
## %bb.21:
	movq	_FILE_GENERIC_WRITE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
LBB0_22:
	orl	%eax, %edx
	movq	_ISC_FSACCESS_EXECUTE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%r13d, %eax
	je	LBB0_24
## %bb.23:
	movq	_FILE_GENERIC_EXECUTE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_24:
	orl	%eax, %edx
	movq	_TRUE@GOTPCREL(%rip), %r14
	cmpq	%r12, (%r14)
	jne	LBB0_32
## %bb.25:
	movq	_ISC_FSACCESS_CREATECHILD@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_FILE_ADD_SUBDIRECTORY@GOTPCREL(%rip), %rsi
	movq	_FILE_ADD_FILE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	(%rsi), %eax
	andl	%r13d, %ecx
	testl	%ecx, %ecx
	cmovel	%ecx, %eax
	movq	_ISC_FSACCESS_DELETECHILD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	%r13d, %ecx
	je	LBB0_27
## %bb.26:
	movq	_FILE_DELETE_CHILD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
LBB0_27:
	orl	%edx, %eax
	movq	_ISC_FSACCESS_LISTDIRECTORY@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	andl	%r13d, %edx
	je	LBB0_29
## %bb.28:
	movq	_FILE_LIST_DIRECTORY@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
LBB0_29:
	orl	%edx, %ecx
	orl	%ecx, %eax
	movq	_ISC_FSACCESS_ACCESSCHILD@GOTPCREL(%rip), %rcx
	testl	%r13d, (%rcx)
	je	LBB0_31
## %bb.30:
	movq	_FILE_TRAVERSE@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
LBB0_31:
	movl	%eax, %edx
LBB0_32:
	leaq	-4144(%rbp), %rbx
	movq	_ACL_REVISION@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	leaq	-5344(%rbp), %rcx
                                        ## kill: def $ecx killed $ecx killed $rcx
	callq	_AddAccessAllowedAce
	testl	%eax, %eax
	je	LBB0_37
## %bb.33:
	movq	(%r14), %rsi
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-5464(%rbp), %rdi
	movl	%ebx, %edx
	callq	_SetSecurityDescriptorDacl
	testl	%eax, %eax
	je	LBB0_37
## %bb.34:
	movq	_DACL_SECURITY_INFORMATION@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-5464(%rbp), %rdx
	movq	-5488(%rbp), %rdi               ## 8-byte Reload
	callq	_SetFileSecurity
	testl	%eax, %eax
	jne	LBB0_35
## %bb.36:
	movq	_ISC_R_NOPERM@GOTPCREL(%rip), %r15
	jmp	LBB0_37
LBB0_4:
	xorl	%eax, %eax
	callq	_GetLastError
LBB0_37:
	movl	(%r15), %eax
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_39
## %bb.38:
	addq	$5464, %rsp                     ## imm = 0x1558
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_35:
	movq	_ISC_R_SUCCESS@GOTPCREL(%rip), %r15
	jmp	LBB0_37
LBB0_39:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_SECURITY_DESCRIPTOR_REVISION,4,2 ## @SECURITY_DESCRIPTOR_REVISION
	.comm	_ISC_R_NOPERM,4,2               ## @ISC_R_NOPERM
	.comm	_ACL_REVISION,4,2               ## @ACL_REVISION
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Administrators"

L_.str.1:                               ## @.str.1
	.asciz	"Everyone"

	.comm	_ISC_FSACCESS_READ,4,2          ## @ISC_FSACCESS_READ
	.comm	_FILE_GENERIC_READ,4,2          ## @FILE_GENERIC_READ
	.comm	_ISC_FSACCESS_WRITE,4,2         ## @ISC_FSACCESS_WRITE
	.comm	_FILE_GENERIC_WRITE,4,2         ## @FILE_GENERIC_WRITE
	.comm	_ISC_FSACCESS_EXECUTE,4,2       ## @ISC_FSACCESS_EXECUTE
	.comm	_FILE_GENERIC_EXECUTE,4,2       ## @FILE_GENERIC_EXECUTE
	.comm	_ISC_TRUE,8,3                   ## @ISC_TRUE
	.comm	_ISC_FSACCESS_CREATECHILD,4,2   ## @ISC_FSACCESS_CREATECHILD
	.comm	_FILE_ADD_SUBDIRECTORY,4,2      ## @FILE_ADD_SUBDIRECTORY
	.comm	_FILE_ADD_FILE,4,2              ## @FILE_ADD_FILE
	.comm	_ISC_FSACCESS_DELETECHILD,4,2   ## @ISC_FSACCESS_DELETECHILD
	.comm	_FILE_DELETE_CHILD,4,2          ## @FILE_DELETE_CHILD
	.comm	_ISC_FSACCESS_LISTDIRECTORY,4,2 ## @ISC_FSACCESS_LISTDIRECTORY
	.comm	_FILE_LIST_DIRECTORY,4,2        ## @FILE_LIST_DIRECTORY
	.comm	_ISC_FSACCESS_ACCESSCHILD,4,2   ## @ISC_FSACCESS_ACCESSCHILD
	.comm	_FILE_TRAVERSE,4,2              ## @FILE_TRAVERSE
	.comm	_FILE_ALL_ACCESS,4,2            ## @FILE_ALL_ACCESS
	.comm	_STANDARD_RIGHTS_ALL,4,2        ## @STANDARD_RIGHTS_ALL
	.comm	_STEP,4,2                       ## @STEP
	.comm	_TRUE,8,3                       ## @TRUE
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_DACL_SECURITY_INFORMATION,4,2  ## @DACL_SECURITY_INFORMATION
	.comm	_ISC_R_SUCCESS,4,2              ## @ISC_R_SUCCESS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_NTFS_Access_Control            ; -- Begin function NTFS_Access_Control
	.p2align	2
_NTFS_Access_Control:                   ; @NTFS_Access_Control
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	w9, #5440
Lloh0:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh1:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	sub	sp, sp, #1, lsl #12             ; =4096
	sub	sp, sp, #1344
	mov	x20, x3
	mov	x21, x2
	mov	x22, x1
	mov	x19, x0
Lloh2:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh3:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	stur	x8, [x29, #-96]
	mov	w10, #400
	stp	w10, w10, [sp, #16]
	mov	w8, #100
	stp	w8, w10, [sp, #8]
Lloh5:
	adrp	x8, _SECURITY_DESCRIPTOR_REVISION@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SECURITY_DESCRIPTOR_REVISION@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	add	x0, sp, #24
	bl	_InitializeSecurityDescriptor
	cbz	w0, LBB0_17
; %bb.1:
Lloh8:
	adrp	x23, _ACL_REVISION@GOTPAGE
Lloh9:
	ldr	x23, [x23, _ACL_REVISION@GOTPAGEOFF]
	ldr	w2, [x23]
	add	x0, sp, #1328
	mov	w1, #4096
	bl	_InitializeAcl
	cbz	w0, LBB0_17
; %bb.2:
	add	x2, sp, #928
	add	x3, sp, #20
	add	x4, sp, #28
	add	x5, sp, #8
	add	x6, sp, #4
	mov	w0, #0
	mov	x1, x22
	bl	_LookupAccountName
	cbz	w0, LBB0_17
; %bb.3:
	mov	w22, #100
	str	w22, [sp, #8]
Lloh10:
	adrp	x1, l_.str@PAGE
Lloh11:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #528
	add	x3, sp, #16
	add	x4, sp, #28
	add	x5, sp, #8
	add	x6, sp, #4
	mov	w0, #0
	bl	_LookupAccountName
	cbz	w0, LBB0_16
; %bb.4:
	str	w22, [sp, #8]
Lloh12:
	adrp	x1, l_.str.1@PAGE
Lloh13:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x2, sp, #128
	add	x3, sp, #12
	add	x4, sp, #28
	add	x5, sp, #8
	add	x6, sp, #4
	mov	w0, #0
	bl	_LookupAccountName
	cbz	w0, LBB0_16
; %bb.5:
Lloh14:
	adrp	x8, _ISC_FSACCESS_READ@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ISC_FSACCESS_READ@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x8]
Lloh17:
	adrp	x25, _FILE_GENERIC_READ@GOTPAGE
Lloh18:
	ldr	x25, [x25, _FILE_GENERIC_READ@GOTPAGEOFF]
	ldr	w8, [x25]
	tst	w9, w21
	csel	w10, wzr, w8, eq
Lloh19:
	adrp	x26, _ISC_FSACCESS_WRITE@GOTPAGE
Lloh20:
	ldr	x26, [x26, _ISC_FSACCESS_WRITE@GOTPAGEOFF]
Lloh21:
	adrp	x27, _FILE_GENERIC_WRITE@GOTPAGE
Lloh22:
	ldr	x27, [x27, _FILE_GENERIC_WRITE@GOTPAGEOFF]
	ldr	w11, [x26]
	ldr	w9, [x27]
	tst	w11, w21
	csel	w11, wzr, w9, eq
Lloh23:
	adrp	x28, _ISC_FSACCESS_EXECUTE@GOTPAGE
Lloh24:
	ldr	x28, [x28, _ISC_FSACCESS_EXECUTE@GOTPAGEOFF]
	orr	w11, w11, w10
	ldr	w12, [x28]
Lloh25:
	adrp	x24, _FILE_GENERIC_EXECUTE@GOTPAGE
Lloh26:
	ldr	x24, [x24, _FILE_GENERIC_EXECUTE@GOTPAGEOFF]
	ldr	w10, [x24]
	tst	w12, w21
	csel	w12, wzr, w10, eq
	orr	w11, w11, w12
Lloh27:
	adrp	x12, _ISC_TRUE@GOTPAGE
Lloh28:
	ldr	x12, [x12, _ISC_TRUE@GOTPAGEOFF]
Lloh29:
	ldr	x12, [x12]
	cmp	x12, x20
	b.ne	LBB0_8
; %bb.6:
Lloh30:
	adrp	x12, _ISC_FSACCESS_CREATECHILD@GOTPAGE
Lloh31:
	ldr	x12, [x12, _ISC_FSACCESS_CREATECHILD@GOTPAGEOFF]
Lloh32:
	ldr	w12, [x12]
Lloh33:
	adrp	x13, _FILE_ADD_SUBDIRECTORY@GOTPAGE
Lloh34:
	ldr	x13, [x13, _FILE_ADD_SUBDIRECTORY@GOTPAGEOFF]
Lloh35:
	ldr	w13, [x13]
Lloh36:
	adrp	x14, _FILE_ADD_FILE@GOTPAGE
Lloh37:
	ldr	x14, [x14, _FILE_ADD_FILE@GOTPAGEOFF]
Lloh38:
	ldr	w14, [x14]
	orr	w13, w14, w13
	tst	w12, w21
	csel	w12, wzr, w13, eq
	orr	w11, w12, w11
Lloh39:
	adrp	x12, _ISC_FSACCESS_DELETECHILD@GOTPAGE
Lloh40:
	ldr	x12, [x12, _ISC_FSACCESS_DELETECHILD@GOTPAGEOFF]
Lloh41:
	adrp	x13, _FILE_DELETE_CHILD@GOTPAGE
Lloh42:
	ldr	x13, [x13, _FILE_DELETE_CHILD@GOTPAGEOFF]
Lloh43:
	ldr	w12, [x12]
Lloh44:
	ldr	w13, [x13]
	tst	w12, w21
	csel	w12, wzr, w13, eq
Lloh45:
	adrp	x13, _ISC_FSACCESS_LISTDIRECTORY@GOTPAGE
Lloh46:
	ldr	x13, [x13, _ISC_FSACCESS_LISTDIRECTORY@GOTPAGEOFF]
	orr	w11, w11, w12
Lloh47:
	ldr	w12, [x13]
Lloh48:
	adrp	x13, _FILE_LIST_DIRECTORY@GOTPAGE
Lloh49:
	ldr	x13, [x13, _FILE_LIST_DIRECTORY@GOTPAGEOFF]
Lloh50:
	ldr	w13, [x13]
	tst	w12, w21
	csel	w12, wzr, w13, eq
	orr	w11, w11, w12
Lloh51:
	adrp	x12, _ISC_FSACCESS_ACCESSCHILD@GOTPAGE
Lloh52:
	ldr	x12, [x12, _ISC_FSACCESS_ACCESSCHILD@GOTPAGEOFF]
Lloh53:
	ldr	w12, [x12]
	tst	w12, w21
	b.eq	LBB0_8
; %bb.7:
Lloh54:
	adrp	x12, _FILE_TRAVERSE@GOTPAGE
Lloh55:
	ldr	x12, [x12, _FILE_TRAVERSE@GOTPAGEOFF]
Lloh56:
	ldr	w12, [x12]
	orr	w11, w12, w11
LBB0_8:
	orr	w8, w9, w8
	orr	w8, w8, w10
Lloh57:
	adrp	x9, _FILE_ALL_ACCESS@GOTPAGE
Lloh58:
	ldr	x9, [x9, _FILE_ALL_ACCESS@GOTPAGEOFF]
Lloh59:
	ldr	w9, [x9]
	cmp	w11, w8
	csel	w8, w9, wzr, eq
	orr	w8, w8, w11
Lloh60:
	adrp	x9, _STANDARD_RIGHTS_ALL@GOTPAGE
Lloh61:
	ldr	x9, [x9, _STANDARD_RIGHTS_ALL@GOTPAGEOFF]
Lloh62:
	ldr	w9, [x9]
	orr	w22, w8, w9
	ldr	w1, [x23]
	add	x0, sp, #1328
	add	x3, sp, #928
	mov	x2, x22
	bl	_AddAccessAllowedAce
	cbz	w0, LBB0_17
; %bb.9:
	ldr	w1, [x23]
	add	x0, sp, #1328
	add	x3, sp, #528
	mov	x2, x22
	bl	_AddAccessAllowedAce
	cbz	w0, LBB0_17
; %bb.10:
Lloh63:
	adrp	x8, _STEP@GOTPAGE
Lloh64:
	ldr	x8, [x8, _STEP@GOTPAGEOFF]
Lloh65:
	ldr	w8, [x8]
	asr	w9, w21, w8
	asr	w8, w9, w8
Lloh66:
	adrp	x9, _ISC_FSACCESS_READ@GOTPAGE
Lloh67:
	ldr	x9, [x9, _ISC_FSACCESS_READ@GOTPAGEOFF]
Lloh68:
	ldr	w9, [x9]
	ldr	w10, [x25]
	tst	w8, w9
	csel	w9, wzr, w10, eq
	ldr	w10, [x26]
	ldr	w11, [x27]
	tst	w10, w8
	csel	w10, wzr, w11, eq
	orr	w9, w10, w9
	ldr	w10, [x28]
	ldr	w11, [x24]
	tst	w10, w8
	csel	w10, wzr, w11, eq
	orr	w2, w9, w10
Lloh69:
	adrp	x21, _TRUE@GOTPAGE
Lloh70:
	ldr	x21, [x21, _TRUE@GOTPAGEOFF]
	ldr	x9, [x21]
	cmp	x9, x20
	b.ne	LBB0_13
; %bb.11:
Lloh71:
	adrp	x9, _ISC_FSACCESS_CREATECHILD@GOTPAGE
Lloh72:
	ldr	x9, [x9, _ISC_FSACCESS_CREATECHILD@GOTPAGEOFF]
Lloh73:
	ldr	w9, [x9]
Lloh74:
	adrp	x10, _FILE_ADD_SUBDIRECTORY@GOTPAGE
Lloh75:
	ldr	x10, [x10, _FILE_ADD_SUBDIRECTORY@GOTPAGEOFF]
Lloh76:
	ldr	w10, [x10]
Lloh77:
	adrp	x11, _FILE_ADD_FILE@GOTPAGE
Lloh78:
	ldr	x11, [x11, _FILE_ADD_FILE@GOTPAGEOFF]
Lloh79:
	ldr	w11, [x11]
	orr	w10, w11, w10
	tst	w9, w8
	csel	w9, wzr, w10, eq
	orr	w9, w9, w2
Lloh80:
	adrp	x10, _ISC_FSACCESS_DELETECHILD@GOTPAGE
Lloh81:
	ldr	x10, [x10, _ISC_FSACCESS_DELETECHILD@GOTPAGEOFF]
Lloh82:
	adrp	x11, _FILE_DELETE_CHILD@GOTPAGE
Lloh83:
	ldr	x11, [x11, _FILE_DELETE_CHILD@GOTPAGEOFF]
Lloh84:
	ldr	w10, [x10]
Lloh85:
	ldr	w11, [x11]
	tst	w10, w8
	csel	w10, wzr, w11, eq
Lloh86:
	adrp	x11, _ISC_FSACCESS_LISTDIRECTORY@GOTPAGE
Lloh87:
	ldr	x11, [x11, _ISC_FSACCESS_LISTDIRECTORY@GOTPAGEOFF]
	orr	w9, w9, w10
Lloh88:
	ldr	w10, [x11]
Lloh89:
	adrp	x11, _FILE_LIST_DIRECTORY@GOTPAGE
Lloh90:
	ldr	x11, [x11, _FILE_LIST_DIRECTORY@GOTPAGEOFF]
Lloh91:
	ldr	w11, [x11]
	tst	w10, w8
	csel	w10, wzr, w11, eq
	orr	w2, w9, w10
Lloh92:
	adrp	x9, _ISC_FSACCESS_ACCESSCHILD@GOTPAGE
Lloh93:
	ldr	x9, [x9, _ISC_FSACCESS_ACCESSCHILD@GOTPAGEOFF]
Lloh94:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_13
; %bb.12:
Lloh95:
	adrp	x8, _FILE_TRAVERSE@GOTPAGE
Lloh96:
	ldr	x8, [x8, _FILE_TRAVERSE@GOTPAGEOFF]
Lloh97:
	ldr	w8, [x8]
	orr	w2, w8, w2
LBB0_13:
	ldr	w1, [x23]
	add	x0, sp, #1328
	add	x3, sp, #128
	bl	_AddAccessAllowedAce
	cbz	w0, LBB0_17
; %bb.14:
	ldr	x1, [x21]
Lloh98:
	adrp	x8, _FALSE@GOTPAGE
Lloh99:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh100:
	ldr	w3, [x8]
	add	x0, sp, #24
	add	x2, sp, #1328
	bl	_SetSecurityDescriptorDacl
Lloh101:
	adrp	x20, _ISC_R_NOPERM@GOTPAGE
Lloh102:
	ldr	x20, [x20, _ISC_R_NOPERM@GOTPAGEOFF]
	cbz	w0, LBB0_18
; %bb.15:
Lloh103:
	adrp	x8, _DACL_SECURITY_INFORMATION@GOTPAGE
Lloh104:
	ldr	x8, [x8, _DACL_SECURITY_INFORMATION@GOTPAGEOFF]
Lloh105:
	ldr	w1, [x8]
	add	x2, sp, #24
	mov	x0, x19
	bl	_SetFileSecurity
Lloh106:
	adrp	x8, _ISC_R_SUCCESS@GOTPAGE
Lloh107:
	ldr	x8, [x8, _ISC_R_SUCCESS@GOTPAGEOFF]
	cmp	w0, #0
	csel	x20, x20, x8, eq
	b	LBB0_18
LBB0_16:
	bl	_GetLastError
LBB0_17:
Lloh108:
	adrp	x20, _ISC_R_NOPERM@GOTPAGE
Lloh109:
	ldr	x20, [x20, _ISC_R_NOPERM@GOTPAGEOFF]
LBB0_18:
	ldr	w0, [x20]
	ldur	x8, [x29, #-96]
Lloh110:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh111:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh112:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_20
; %bb.19:
	add	sp, sp, #1, lsl #12             ; =4096
	add	sp, sp, #1344
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_20:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh43
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGot	Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh92, Lloh93, Lloh94
	.loh AdrpLdrGotLdr	Lloh89, Lloh90, Lloh91
	.loh AdrpLdrGotLdr	Lloh86, Lloh87, Lloh88
	.loh AdrpLdrGotLdr	Lloh82, Lloh83, Lloh85
	.loh AdrpLdrGotLdr	Lloh80, Lloh81, Lloh84
	.loh AdrpLdrGotLdr	Lloh77, Lloh78, Lloh79
	.loh AdrpLdrGotLdr	Lloh74, Lloh75, Lloh76
	.loh AdrpLdrGotLdr	Lloh71, Lloh72, Lloh73
	.loh AdrpLdrGotLdr	Lloh95, Lloh96, Lloh97
	.loh AdrpLdrGot	Lloh101, Lloh102
	.loh AdrpLdrGotLdr	Lloh98, Lloh99, Lloh100
	.loh AdrpLdrGot	Lloh106, Lloh107
	.loh AdrpLdrGotLdr	Lloh103, Lloh104, Lloh105
	.loh AdrpLdrGot	Lloh108, Lloh109
	.loh AdrpLdrGotLdr	Lloh110, Lloh111, Lloh112
	.cfi_endproc
                                        ; -- End function
	.comm	_SECURITY_DESCRIPTOR_REVISION,4,2 ; @SECURITY_DESCRIPTOR_REVISION
	.comm	_ISC_R_NOPERM,4,2               ; @ISC_R_NOPERM
	.comm	_ACL_REVISION,4,2               ; @ACL_REVISION
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Administrators"

l_.str.1:                               ; @.str.1
	.asciz	"Everyone"

	.comm	_ISC_FSACCESS_READ,4,2          ; @ISC_FSACCESS_READ
	.comm	_FILE_GENERIC_READ,4,2          ; @FILE_GENERIC_READ
	.comm	_ISC_FSACCESS_WRITE,4,2         ; @ISC_FSACCESS_WRITE
	.comm	_FILE_GENERIC_WRITE,4,2         ; @FILE_GENERIC_WRITE
	.comm	_ISC_FSACCESS_EXECUTE,4,2       ; @ISC_FSACCESS_EXECUTE
	.comm	_FILE_GENERIC_EXECUTE,4,2       ; @FILE_GENERIC_EXECUTE
	.comm	_ISC_TRUE,8,3                   ; @ISC_TRUE
	.comm	_ISC_FSACCESS_CREATECHILD,4,2   ; @ISC_FSACCESS_CREATECHILD
	.comm	_FILE_ADD_SUBDIRECTORY,4,2      ; @FILE_ADD_SUBDIRECTORY
	.comm	_FILE_ADD_FILE,4,2              ; @FILE_ADD_FILE
	.comm	_ISC_FSACCESS_DELETECHILD,4,2   ; @ISC_FSACCESS_DELETECHILD
	.comm	_FILE_DELETE_CHILD,4,2          ; @FILE_DELETE_CHILD
	.comm	_ISC_FSACCESS_LISTDIRECTORY,4,2 ; @ISC_FSACCESS_LISTDIRECTORY
	.comm	_FILE_LIST_DIRECTORY,4,2        ; @FILE_LIST_DIRECTORY
	.comm	_ISC_FSACCESS_ACCESSCHILD,4,2   ; @ISC_FSACCESS_ACCESSCHILD
	.comm	_FILE_TRAVERSE,4,2              ; @FILE_TRAVERSE
	.comm	_FILE_ALL_ACCESS,4,2            ; @FILE_ALL_ACCESS
	.comm	_STANDARD_RIGHTS_ALL,4,2        ; @STANDARD_RIGHTS_ALL
	.comm	_STEP,4,2                       ; @STEP
	.comm	_TRUE,8,3                       ; @TRUE
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_DACL_SECURITY_INFORMATION,4,2  ; @DACL_SECURITY_INFORMATION
	.comm	_ISC_R_SUCCESS,4,2              ; @ISC_R_SUCCESS
.subsections_via_symbols
