	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function Devices_ReadDir
_Devices_ReadDir:                       ## @Devices_ReadDir
	.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	%r9, -88(%rbp)                  ## 8-byte Spill
	movq	%r8, -80(%rbp)                  ## 8-byte Spill
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r15
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_FILENAME_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	movq	_dp@GOTPCREL(%rip), %r13
	movq	(%r13), %rdi
	callq	_readdir
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movq	%rax, %r12
	movq	_filename_pattern@GOTPCREL(%rip), %rbx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	callq	_match
	testq	%rax, %rax
	jne	LBB0_10
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r13), %rdi
	callq	_readdir
	movq	%rax, %r12
	testq	%rax, %rax
	je	LBB0_5
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rsi
	cmpb	$46, (%rsi)
	movq	(%rbx), %rdi
	jne	LBB0_9
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpb	$46, (%rdi)
	jne	LBB0_4
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movzbl	1(%rsi), %eax
	testb	%al, %al
	je	LBB0_4
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpb	$46, %al
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpb	$0, 2(%rsi)
	jne	LBB0_9
	jmp	LBB0_4
LBB0_5:
	movq	(%r13), %rdi
	callq	_closedir
	movq	$0, (%r13)
	movq	_FALSE@GOTPCREL(%rip), %rbx
LBB0_22:
	movl	(%rbx), %eax
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_24
## %bb.23:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	testq	%r15, %r15
	je	LBB0_12
## %bb.11:
	movq	(%r12), %rsi
	movq	%r15, %rdi
	callq	_strcpy
LBB0_12:
	movq	_dir_path@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	(%r12), %rdx
	movq	%r14, %rdi
	callq	_Util_catpath
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	testq	%rdi, %rdi
	je	LBB0_14
## %bb.13:
	movq	%r14, %rsi
	callq	_strcpy
LBB0_14:
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	testq	%rcx, %rcx
	je	LBB0_16
## %bb.15:
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rcx)
LBB0_16:
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	testq	%rdx, %rdx
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	je	LBB0_18
## %bb.17:
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rdx)
LBB0_18:
	testq	%rcx, %rcx
	je	LBB0_20
## %bb.19:
	movl	$0, (%rcx)
LBB0_20:
	movq	_TRUE@GOTPCREL(%rip), %rbx
	testq	%rdi, %rdi
	je	LBB0_22
## %bb.21:
	leaq	L_.str(%rip), %rsi
	callq	_strcpy
	jmp	LBB0_22
LBB0_24:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_FILENAME_MAX,4,2               ## @FILENAME_MAX
	.comm	_dp,8,3                         ## @dp
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_filename_pattern,8,3           ## @filename_pattern
	.comm	_dir_path,4,2                   ## @dir_path
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	" 1-01-01 12:00p"

	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_S_IWRITE,4,2                   ## @S_IWRITE
	.no_dead_strip	_Devices_ReadDir
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function Devices_ReadDir
_Devices_ReadDir:                       ; @Devices_ReadDir
	.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, #16
	mov	x19, x5
	mov	x20, x4
	mov	x21, x3
	mov	x22, x2
	mov	x25, x1
	mov	x23, x0
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	x8, _FILENAME_MAX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FILENAME_MAX@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	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, #0x1fffffff0
	sub	x24, x9, x8
	mov	sp, x24
Lloh8:
	adrp	x27, _dp@GOTPAGE
Lloh9:
	ldr	x27, [x27, _dp@GOTPAGEOFF]
	ldr	x0, [x27]
	bl	_readdir
	cbz	x0, LBB0_9
; %bb.1:
	mov	x26, x0
Lloh10:
	adrp	x28, _filename_pattern@GOTPAGE
Lloh11:
	ldr	x28, [x28, _filename_pattern@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	bl	_match
	cbnz	x0, LBB0_10
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [x27]
	bl	_readdir
	mov	x26, x0
	cbz	x0, LBB0_9
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x1, [x26]
	ldrb	w8, [x1]
	ldr	x0, [x28]
	cmp	w8, #46
	b.ne	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldrb	w8, [x0]
	cmp	w8, #46
	b.ne	LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldrb	w8, [x1, #1]
	cbz	w8, LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w8, #46
	b.ne	LBB0_2
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	ldrb	w8, [x1, #2]
	cbnz	w8, LBB0_2
	b	LBB0_3
LBB0_9:
	ldr	x0, [x27]
	bl	_closedir
	str	xzr, [x27]
Lloh12:
	adrp	x8, _FALSE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
	b	LBB0_23
LBB0_10:
	cbz	x25, LBB0_12
; %bb.11:
	ldr	x1, [x26]
	mov	x0, x25
	bl	_strcpy
LBB0_12:
Lloh14:
	adrp	x8, _dir_path@GOTPAGE
Lloh15:
	ldr	x8, [x8, _dir_path@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	ldr	x2, [x26]
	mov	x0, x24
	bl	_Util_catpath
	cbz	x23, LBB0_14
; %bb.13:
	mov	x0, x23
	mov	x1, x24
	bl	_strcpy
LBB0_14:
Lloh17:
	adrp	x8, _FALSE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
	cbz	x22, LBB0_16
; %bb.15:
	ldr	w9, [x8]
	str	w9, [x22]
LBB0_16:
	cbz	x21, LBB0_18
; %bb.17:
	ldr	w8, [x8]
	str	w8, [x21]
LBB0_18:
	cbz	x20, LBB0_20
; %bb.19:
	str	wzr, [x20]
LBB0_20:
	cbz	x19, LBB0_22
; %bb.21:
Lloh19:
	adrp	x1, l_.str@PAGE
Lloh20:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_strcpy
LBB0_22:
Lloh21:
	adrp	x8, _TRUE@GOTPAGE
Lloh22:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
LBB0_23:
	ldr	w0, [x8]
	ldur	x8, [x29, #-88]
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_25
; %bb.24:
	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_25:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_FILENAME_MAX,4,2               ; @FILENAME_MAX
	.comm	_dp,8,3                         ; @dp
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_filename_pattern,8,3           ; @filename_pattern
	.comm	_dir_path,4,2                   ; @dir_path
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	" 1-01-01 12:00p"

	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_S_IWRITE,4,2                   ; @S_IWRITE
	.no_dead_strip	_Devices_ReadDir
.subsections_via_symbols
