	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ChangeACLsOfFilesInCurDir
_ChangeACLsOfFilesInCurDir:             ## @ChangeACLsOfFilesInCurDir
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %r12d
	movq	%rsp, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAX_PATH@GOTPCREL(%rip), %rbx
	movl	(%rbx), %eax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	movl	(%rbx), %edi
	movq	%r14, %rsi
	callq	_GetCurrentDirectory
	movq	%r14, %rdi
	callq	_AddBackslash
	leaq	-72(%rbp), %rsi
	movl	%r12d, %edi
	callq	_FindFirstFile
	movq	%rax, %rbx
	movq	_INVALID_HANDLE_VALUE@GOTPCREL(%rip), %r13
	movq	_FALSE@GOTPCREL(%rip), %rax
	cmpq	(%r13), %rbx
	je	LBB0_27
## %bb.1:
	movl	%r12d, -76(%rbp)                ## 4-byte Spill
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	movq	_FILE_ATTRIBUTE_DIRECTORY@GOTPCREL(%rip), %r12
	leaq	-72(%rbp), %r15
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_FindNextFile
	testq	%rax, %rax
	je	LBB0_9
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r12), %eax
	testl	%eax, -72(%rbp)
	jne	LBB0_8
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-64(%rbp), %rsi
	movq	%r14, %rdi
	callq	_ChangeFileACL
	testl	%eax, %eax
	jne	LBB0_8
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
	callq	_GetLastError
	movq	_ERROR_ACCESS_DENIED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_9
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %rdi
	callq	_PrintError
	movq	_OptionC@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_8
## %bb.6:
	movq	%rbx, %rdi
	callq	_FindClose
	jmp	LBB0_26
LBB0_9:
	xorl	%eax, %eax
	callq	_GetLastError
	movq	%rax, %r15
	movq	%rbx, %rdi
	callq	_FindClose
	movq	_ERROR_NO_MORE_FILES@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r15
	jne	LBB0_10
## %bb.11:
	leaq	L_.str(%rip), %rdi
	callq	__T
	leaq	-72(%rbp), %rsi
	movl	%eax, %edi
	callq	_FindFirstFile
	cmpq	(%r13), %rax
	je	LBB0_26
## %bb.12:
	movq	%rax, %r15
	leaq	-72(%rbp), %r13
	jmp	LBB0_13
LBB0_17:                                ##   in Loop: Header=BB0_13 Depth=1
	movl	-76(%rbp), %edi                 ## 4-byte Reload
	callq	_ChangeACLsOfFilesInCurDir
	movq	%r14, %rdi
	callq	_SetCurrentDirectory
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_13 Depth=1
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_FindNextFile
	testq	%rax, %rax
	je	LBB0_19
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movq	-64(%rbp), %rbx
	leaq	L_.str.1(%rip), %rdi
	callq	__T
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	__tcscmp
	testq	%rax, %rax
	je	LBB0_18
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	-64(%rbp), %rbx
	leaq	L_.str.2(%rip), %rdi
	callq	__T
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	__tcscmp
	testq	%rax, %rax
	je	LBB0_18
## %bb.15:                              ##   in Loop: Header=BB0_13 Depth=1
	movl	(%r12), %eax
	testl	%eax, -72(%rbp)
	je	LBB0_18
## %bb.16:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	_MAX_PATH@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_GetCurrentDirectory
	movq	-64(%rbp), %rdi
	callq	_SetCurrentDirectory
	testq	%rax, %rax
	jne	LBB0_17
## %bb.21:                              ##   in Loop: Header=BB0_13 Depth=1
	xorl	%eax, %eax
	callq	_GetLastError
	movq	_ERROR_ACCESS_DENIED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_19
## %bb.22:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	%rax, %rdi
	callq	_PrintError
	movq	_OptionC@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_18
## %bb.23:
	movq	%r15, %rdi
	callq	_FindClose
	jmp	LBB0_26
LBB0_10:
	movq	%r15, %rdi
LBB0_25:
	callq	_PrintError
LBB0_26:
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movq	_FALSE@GOTPCREL(%rip), %rax
LBB0_27:
	movl	(%rax), %eax
	movq	%r15, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_29
## %bb.28:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_19:
	xorl	%eax, %eax
	callq	_GetLastError
	movq	%rax, %rbx
	movq	%r15, %rdi
	callq	_FindClose
	movq	_ERROR_NO_MORE_FILES@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	jne	LBB0_24
## %bb.20:
	movq	_TRUE@GOTPCREL(%rip), %rax
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	jmp	LBB0_27
LBB0_24:
	movq	%rbx, %rdi
	jmp	LBB0_25
LBB0_29:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_PATH,4,2                   ## @MAX_PATH
	.comm	_INVALID_HANDLE_VALUE,8,3       ## @INVALID_HANDLE_VALUE
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_FILE_ATTRIBUTE_DIRECTORY,4,2   ## @FILE_ATTRIBUTE_DIRECTORY
	.comm	_ERROR_ACCESS_DENIED,8,3        ## @ERROR_ACCESS_DENIED
	.comm	_OptionC,4,2                    ## @OptionC
	.comm	_ERROR_NO_MORE_FILES,8,3        ## @ERROR_NO_MORE_FILES
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"*"

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

L_.str.2:                               ## @.str.2
	.asciz	".."

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

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ChangeACLsOfFilesInCurDir
_ChangeACLsOfFilesInCurDir:             ; @ChangeACLsOfFilesInCurDir
	.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
	sub	sp, sp, #32
	mov	x19, x0
	mov	x25, sp
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x26, _MAX_PATH@GOTPAGE
Lloh4:
	ldr	x26, [x26, _MAX_PATH@GOTPAGEOFF]
	ldr	w8, [x26]
	lsl	x8, x8, #2
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x20, x9, x8
	mov	sp, x20
	ldr	w0, [x26]
	mov	x1, x20
	bl	_GetCurrentDirectory
	mov	x0, x20
	bl	_AddBackslash
	sub	x1, x29, #104
	mov	x0, x19
	bl	_FindFirstFile
Lloh7:
	adrp	x23, _INVALID_HANDLE_VALUE@GOTPAGE
Lloh8:
	ldr	x23, [x23, _INVALID_HANDLE_VALUE@GOTPAGEOFF]
	ldr	x8, [x23]
	cmp	x0, x8
	b.eq	LBB0_21
; %bb.1:
	mov	x21, x0
Lloh9:
	adrp	x27, _FILE_ATTRIBUTE_DIRECTORY@GOTPAGE
Lloh10:
	ldr	x27, [x27, _FILE_ATTRIBUTE_DIRECTORY@GOTPAGEOFF]
Lloh11:
	adrp	x28, _ERROR_ACCESS_DENIED@GOTPAGE
Lloh12:
	ldr	x28, [x28, _ERROR_ACCESS_DENIED@GOTPAGEOFF]
Lloh13:
	adrp	x22, _OptionC@GOTPAGE
Lloh14:
	ldr	x22, [x22, _OptionC@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	sub	x1, x29, #104
	mov	x0, x21
	bl	_FindNextFile
	cbz	x0, LBB0_8
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldur	w8, [x29, #-104]
	ldr	w9, [x27]
	tst	w9, w8
	b.ne	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldur	x1, [x29, #-96]
	mov	x0, x20
	bl	_ChangeFileACL
	cbnz	w0, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	bl	_GetLastError
	ldr	x8, [x28]
	cmp	x0, x8
	b.ne	LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	bl	_PrintError
	ldr	w8, [x22]
	cbnz	w8, LBB0_2
LBB0_7:
	mov	x0, x21
	bl	_FindClose
	b	LBB0_21
LBB0_8:
	bl	_GetLastError
	mov	x22, x0
	mov	x0, x21
	bl	_FindClose
Lloh15:
	adrp	x8, _ERROR_NO_MORE_FILES@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ERROR_NO_MORE_FILES@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
	cmp	x22, x8
	b.ne	LBB0_19
; %bb.9:
Lloh18:
	adrp	x0, l_.str@PAGE
Lloh19:
	add	x0, x0, l_.str@PAGEOFF
	bl	__T
	sub	x1, x29, #104
	bl	_FindFirstFile
	ldr	x8, [x23]
	cmp	x0, x8
	b.eq	LBB0_21
; %bb.10:
	mov	x21, x0
Lloh20:
	adrp	x22, l_.str.1@PAGE
Lloh21:
	add	x22, x22, l_.str.1@PAGEOFF
Lloh22:
	adrp	x23, l_.str.2@PAGE
Lloh23:
	add	x23, x23, l_.str.2@PAGEOFF
	b	LBB0_13
LBB0_11:                                ;   in Loop: Header=BB0_13 Depth=1
	mov	x0, x19
	bl	_ChangeACLsOfFilesInCurDir
	mov	x0, x20
	bl	_SetCurrentDirectory
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=1
	sub	x1, x29, #104
	mov	x0, x21
	bl	_FindNextFile
	cbz	x0, LBB0_24
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldur	x24, [x29, #-96]
	mov	x0, x22
	bl	__T
	mov	x1, x0
	mov	x0, x24
	bl	__tcscmp
	cbz	x0, LBB0_12
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	ldur	x24, [x29, #-96]
	mov	x0, x23
	bl	__T
	mov	x1, x0
	mov	x0, x24
	bl	__tcscmp
	cbz	x0, LBB0_12
; %bb.15:                               ;   in Loop: Header=BB0_13 Depth=1
	ldur	w8, [x29, #-104]
	ldr	w9, [x27]
	tst	w9, w8
	b.eq	LBB0_12
; %bb.16:                               ;   in Loop: Header=BB0_13 Depth=1
	ldr	w0, [x26]
	mov	x1, x20
	bl	_GetCurrentDirectory
	ldur	x0, [x29, #-96]
	bl	_SetCurrentDirectory
	cbnz	x0, LBB0_11
; %bb.17:                               ;   in Loop: Header=BB0_13 Depth=1
	bl	_GetLastError
	ldr	x8, [x28]
	cmp	x0, x8
	b.ne	LBB0_24
; %bb.18:                               ;   in Loop: Header=BB0_13 Depth=1
	bl	_PrintError
Lloh24:
	adrp	x8, _OptionC@GOTPAGE
Lloh25:
	ldr	x8, [x8, _OptionC@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	cbnz	w8, LBB0_12
	b	LBB0_7
LBB0_19:
	mov	x0, x22
LBB0_20:
	bl	_PrintError
LBB0_21:
Lloh27:
	adrp	x8, _FALSE@GOTPAGE
Lloh28:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
LBB0_22:
	ldr	w0, [x8]
	mov	sp, x25
	ldur	x8, [x29, #-88]
Lloh29:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh30:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh31:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_27
; %bb.23:
	sub	sp, x29, #80
	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_24:
	bl	_GetLastError
	mov	x19, x0
	mov	x0, x21
	bl	_FindClose
Lloh32:
	adrp	x8, _ERROR_NO_MORE_FILES@GOTPAGE
Lloh33:
	ldr	x8, [x8, _ERROR_NO_MORE_FILES@GOTPAGEOFF]
Lloh34:
	ldr	x8, [x8]
	cmp	x19, x8
	b.ne	LBB0_26
; %bb.25:
Lloh35:
	adrp	x8, _TRUE@GOTPAGE
Lloh36:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
	b	LBB0_22
LBB0_26:
	mov	x0, x19
	b	LBB0_20
LBB0_27:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh35, Lloh36
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_PATH,4,2                   ; @MAX_PATH
	.comm	_INVALID_HANDLE_VALUE,8,3       ; @INVALID_HANDLE_VALUE
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_FILE_ATTRIBUTE_DIRECTORY,4,2   ; @FILE_ATTRIBUTE_DIRECTORY
	.comm	_ERROR_ACCESS_DENIED,8,3        ; @ERROR_ACCESS_DENIED
	.comm	_OptionC,4,2                    ; @OptionC
	.comm	_ERROR_NO_MORE_FILES,8,3        ; @ERROR_NO_MORE_FILES
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"*"

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

l_.str.2:                               ; @.str.2
	.asciz	".."

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