	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function is_dir_empty
_is_dir_empty:                          ## @is_dir_empty
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	%rsp, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAX_PATH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	$2, %eax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rbx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_wcscpy
	leaq	l_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_wcscat
	leaq	-56(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_FindFirstFileW
	movq	%rax, %rbx
	movq	_INVALID_HANDLE_VALUE@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	jne	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	callq	_GetLastError
	movq	_ERROR_NO_MORE_FILES@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jmp	LBB0_8
LBB0_2:
	leaq	l_.str.1(%rip), %r14
	leaq	-56(%rbp), %r15
	leaq	l_.str.2(%rip), %r12
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_FindNextFileW
	testl	%eax, %eax
	je	LBB0_7
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	-56(%rbp), %edi
	movq	%r14, %rsi
	callq	_wcscmp
	testl	%eax, %eax
	je	LBB0_3
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	-56(%rbp), %edi
	movq	%r12, %rsi
	callq	_wcscmp
	testl	%eax, %eax
	je	LBB0_3
## %bb.6:
	movq	%rbx, %rdi
	callq	_FindClose
	xorl	%eax, %eax
	jmp	LBB0_9
LBB0_7:
	xorl	%eax, %eax
	callq	_GetLastError
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_FindClose
	movq	_ERROR_NO_MORE_FILES@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r14
LBB0_8:
	sete	%al
LBB0_9:
	movq	%r13, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_11
## %bb.10:
	movzbl	%al, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_PATH,4,2                   ## @MAX_PATH
	.section	__TEXT,__const
	.p2align	2                               ## @.str
l_.str:
	.long	92                              ## 0x5c
	.long	42                              ## 0x2a
	.long	0                               ## 0x0

	.comm	_INVALID_HANDLE_VALUE,8,3       ## @INVALID_HANDLE_VALUE
	.comm	_ERROR_NO_MORE_FILES,8,3        ## @ERROR_NO_MORE_FILES
	.p2align	2                               ## @.str.1
l_.str.1:
	.long	46                              ## 0x2e
	.long	0                               ## 0x0

	.p2align	2                               ## @.str.2
l_.str.2:
	.long	46                              ## 0x2e
	.long	46                              ## 0x2e
	.long	0                               ## 0x0

	.no_dead_strip	_is_dir_empty
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function is_dir_empty
_is_dir_empty:                          ; @is_dir_empty
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	sub	sp, sp, #16
	mov	x1, x0
	mov	x22, sp
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
Lloh3:
	adrp	x8, _MAX_PATH@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAX_PATH@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	add	w8, w8, #2
	lsl	x8, x8, #2
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x19, x9, x8
	mov	sp, x19
	mov	x0, x19
	bl	_wcscpy
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_wcscat
	sub	x1, x29, #48
	mov	x0, x19
	bl	_FindFirstFileW
Lloh10:
	adrp	x8, _INVALID_HANDLE_VALUE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _INVALID_HANDLE_VALUE@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_2
; %bb.1:
	bl	_GetLastError
Lloh13:
	adrp	x8, _ERROR_NO_MORE_FILES@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ERROR_NO_MORE_FILES@GOTPAGEOFF]
Lloh15:
	ldr	x8, [x8]
	cmp	x0, x8
	b	LBB0_8
LBB0_2:
	mov	x19, x0
Lloh16:
	adrp	x20, l_.str.1@PAGE
Lloh17:
	add	x20, x20, l_.str.1@PAGEOFF
Lloh18:
	adrp	x21, l_.str.2@PAGE
Lloh19:
	add	x21, x21, l_.str.2@PAGEOFF
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	sub	x1, x29, #48
	mov	x0, x19
	bl	_FindNextFileW
	cbz	w0, LBB0_7
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldur	w0, [x29, #-48]
	mov	x1, x20
	bl	_wcscmp
	cbz	w0, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldur	w0, [x29, #-48]
	mov	x1, x21
	bl	_wcscmp
	cbz	w0, LBB0_3
; %bb.6:
	mov	x0, x19
	bl	_FindClose
	mov	w0, #0
	b	LBB0_9
LBB0_7:
	bl	_GetLastError
	mov	x20, x0
	mov	x0, x19
	bl	_FindClose
Lloh20:
	adrp	x8, _ERROR_NO_MORE_FILES@GOTPAGE
Lloh21:
	ldr	x8, [x8, _ERROR_NO_MORE_FILES@GOTPAGEOFF]
Lloh22:
	ldr	x8, [x8]
	cmp	x20, x8
LBB0_8:
	cset	w0, eq
LBB0_9:
	mov	sp, x22
	ldur	x8, [x29, #-40]
Lloh23:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh24:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh25:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_11
; %bb.10:
	sub	sp, x29, #32
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_11:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_PATH,4,2                   ; @MAX_PATH
	.section	__TEXT,__const
	.p2align	2                               ; @.str
l_.str:
	.long	92                              ; 0x5c
	.long	42                              ; 0x2a
	.long	0                               ; 0x0

	.comm	_INVALID_HANDLE_VALUE,8,3       ; @INVALID_HANDLE_VALUE
	.comm	_ERROR_NO_MORE_FILES,8,3        ; @ERROR_NO_MORE_FILES
	.p2align	2                               ; @.str.1
l_.str.1:
	.long	46                              ; 0x2e
	.long	0                               ; 0x0

	.p2align	2                               ; @.str.2
l_.str.2:
	.long	46                              ; 0x2e
	.long	46                              ; 0x2e
	.long	0                               ; 0x0

	.no_dead_strip	_is_dir_empty
.subsections_via_symbols
