	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fts_read                       ## -- Begin function fts_read
	.p2align	4, 0x90
_fts_read:                              ## @fts_read
	.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
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpq	$0, 16(%rdi)
	je	LBB0_3
## %bb.1:
	movq	%rdi, %r14
	movq	_FTS_STOP@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_ISSET
	testq	%rax, %rax
	je	LBB0_4
LBB0_3:
	xorl	%r15d, %r15d
LBB0_7:
	movq	%r15, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	16(%r14), %r15
	movl	(%r15), %eax
	movq	_FTS_NOINSTR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, (%r15)
	movq	_FTS_AGAIN@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_8
## %bb.5:
	movq	%r14, %rdi
	movq	%r15, %rsi
	xorl	%edx, %edx
	movl	$-1, %ecx
	callq	_fts_stat
LBB0_6:
	movq	%rax, 8(%r15)
	jmp	LBB0_7
LBB0_8:
	movq	_FTS_FOLLOW@GOTPCREL(%rip), %rdx
	movq	8(%r15), %rcx
	cmpl	(%rdx), %eax
	jne	LBB0_11
## %bb.9:
	movq	_FTS_SL@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	je	LBB0_25
## %bb.10:
	movq	_FTS_SLNONE@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	je	LBB0_25
LBB0_11:
	movq	_FTS_D@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_20
## %bb.12:
	movq	_FTS_SKIP@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_28
## %bb.13:
	movq	_FTS_XDEV@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ISSET
	testq	%rax, %rax
	je	LBB0_15
## %bb.14:
	movq	24(%r15), %rax
	cmpq	(%r14), %rax
	jne	LBB0_28
LBB0_15:
	cmpq	$0, 32(%r14)
	je	LBB0_18
## %bb.16:
	movq	_FTS_NAMEONLY@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	callq	_ISSET
	testq	%rax, %rax
	je	LBB0_54
## %bb.17:
	movl	(%r12), %edi
	callq	_CLR
	movq	32(%r14), %rdi
	callq	_fts_lfree
	movq	$0, 32(%r14)
LBB0_18:
	movq	_BREAD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_fts_build
	movq	%rax, 32(%r14)
	testq	%rax, %rax
	je	LBB0_53
LBB0_19:
	movq	32(%r14), %rbx
	movq	$0, 32(%r14)
	jmp	LBB0_48
LBB0_20:
	movq	88(%r15), %rax
	testq	%rax, %rax
	je	LBB0_33
## %bb.21:
	movq	_FTS_ROOTLEVEL@GOTPCREL(%rip), %r13
	movq	_FTS_SKIP@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_22:                                ## =>This Inner Loop Header: Depth=1
	movq	%rax, %rbx
	movq	40(%rax), %rax
	cmpq	(%r13), %rax
	je	LBB0_38
## %bb.23:                              ##   in Loop: Header=BB0_22 Depth=1
	movl	(%rbx), %eax
	cmpl	(%r12), %eax
	jne	LBB0_42
## %bb.24:                              ##   in Loop: Header=BB0_22 Depth=1
	movq	%r15, %rdi
	callq	_free
	movq	88(%rbx), %rax
	movq	%rbx, %r15
	testq	%rax, %rax
	jne	LBB0_22
	jmp	LBB0_34
LBB0_25:
	movq	%r14, %rdi
	movq	%r15, %rsi
	movl	$1, %edx
	movl	$-1, %ecx
	callq	_fts_stat
	movq	%rax, 8(%r15)
	movq	_FTS_D@GOTPCREL(%rip), %rcx
	cmpq	%rax, (%rcx)
	jne	LBB0_7
## %bb.26:
	movq	_FTS_NOCHDIR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ISSET
	testq	%rax, %rax
	jne	LBB0_7
## %bb.27:
	movq	_O_RDONLY@GOTPCREL(%rip), %rax
	movq	_O_CLOEXEC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	leaq	L_.str(%rip), %rdi
	xorl	%edx, %edx
	callq	__open
	movq	%rax, 64(%r15)
	movq	_FTS_SYMFOLLOW@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 20(%r15)
	jmp	LBB0_7
LBB0_28:
	movq	_FTS_SYMFOLLOW@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 20(%r15)
	je	LBB0_30
## %bb.29:
	movq	64(%r15), %rdi
	callq	__close
LBB0_30:
	movq	32(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_32
## %bb.31:
	callq	_fts_lfree
	movq	$0, 32(%r14)
LBB0_32:
	movq	_FTS_DP@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	jmp	LBB0_6
LBB0_33:
	movq	%r15, %rbx
LBB0_34:
	movq	56(%rbx), %r15
	movq	40(%r15), %rax
	movq	_FTS_ROOTPARENTLEVEL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_36
## %bb.35:
	movq	%rbx, %rdi
	callq	_free
	movq	%r15, %rdi
	callq	_free
	movq	_errno@GOTPCREL(%rip), %rax
	movl	$0, (%rax)
	movq	$0, 16(%r14)
	xorl	%r15d, %r15d
	jmp	LBB0_7
LBB0_36:
	movq	8(%r14), %rax
	movq	48(%r15), %rcx
	movb	$0, (%rax,%rcx)
	movq	40(%r15), %rax
	movq	_FTS_ROOTLEVEL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_50
## %bb.37:
	movq	24(%r14), %rsi
	movq	%r14, %rdi
	callq	_FCHDIR
	testq	%rax, %rax
	movq	_FTS_STOP@GOTPCREL(%rip), %rax
	jne	LBB0_40
	jmp	LBB0_63
LBB0_38:
	movq	24(%r14), %rsi
	movq	%r14, %rdi
	callq	_FCHDIR
	testq	%rax, %rax
	je	LBB0_58
## %bb.39:
	movq	_FTS_STOP@GOTPCREL(%rip), %rax
LBB0_40:
	movl	(%rax), %edi
LBB0_41:
	callq	_SET
	xorl	%r15d, %r15d
	jmp	LBB0_7
LBB0_42:
	movq	_FTS_FOLLOW@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_47
## %bb.43:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	$1, %edx
	movl	$-1, %ecx
	callq	_fts_stat
	movq	%rax, 8(%rbx)
	movq	_FTS_D@GOTPCREL(%rip), %rcx
	cmpq	%rax, (%rcx)
	jne	LBB0_46
## %bb.44:
	movq	_FTS_NOCHDIR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ISSET
	testq	%rax, %rax
	jne	LBB0_46
## %bb.45:
	movq	_O_RDONLY@GOTPCREL(%rip), %rax
	movq	_O_CLOEXEC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	leaq	L_.str(%rip), %rdi
	xorl	%edx, %edx
	callq	__open
	movq	%rax, 64(%rbx)
	movq	_FTS_SYMFOLLOW@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 20(%rbx)
LBB0_46:
	movq	_FTS_NOINSTR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
LBB0_47:
	movq	%r15, %rdi
	callq	_free
LBB0_48:
	movq	8(%r14), %r15
	movq	56(%rbx), %rdi
	callq	_NAPPEND
	cltq
	leaq	(%r15,%rax), %rdi
	incq	%rdi
	movb	$47, (%r15,%rax)
	movl	80(%rbx), %esi
	movq	72(%rbx), %rdx
	incq	%rdx
	callq	_memmove
LBB0_49:
	movq	%rbx, 16(%r14)
	movq	%rbx, %r15
	jmp	LBB0_7
LBB0_50:
	movl	20(%r15), %eax
	movq	_FTS_SYMFOLLOW@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	movq	_FTS_STOP@GOTPCREL(%rip), %r12
	je	LBB0_59
## %bb.51:
	movq	64(%r15), %rsi
	movq	%r14, %rdi
	callq	_FCHDIR
	testq	%rax, %rax
	je	LBB0_62
## %bb.52:
	movq	_errno@GOTPCREL(%rip), %r14
	movl	(%r14), %ebx
	movq	64(%r15), %rdi
	callq	__close
	movl	%ebx, (%r14)
	movl	(%r12), %edi
	jmp	LBB0_41
LBB0_53:
	movl	(%rbx), %edi
	callq	_ISSET
	xorl	%ecx, %ecx
	testq	%rax, %rax
	cmovneq	%rcx, %r15
	jmp	LBB0_7
LBB0_54:
	cmpq	$0, 32(%r14)
	je	LBB0_18
## %bb.55:
	movq	32(%r15), %rcx
	movq	%r14, %rdi
	movq	%r15, %rsi
	movl	$-1, %edx
	callq	_fts_safe_changedir
	testq	%rax, %rax
	je	LBB0_19
## %bb.56:
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%r15)
	movq	_FTS_DONTCHDIR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 20(%r15)
	movq	32(%r14), %rax
	testq	%rax, %rax
	je	LBB0_19
LBB0_57:                                ## =>This Inner Loop Header: Depth=1
	movq	56(%rax), %rcx
	movq	88(%rax), %rdx
	movq	32(%rcx), %rcx
	movq	%rcx, 32(%rax)
	movq	%rdx, %rax
	testq	%rdx, %rdx
	jne	LBB0_57
	jmp	LBB0_19
LBB0_58:
	movq	%r15, %rdi
	callq	_free
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_fts_load
	jmp	LBB0_49
LBB0_59:
	movq	_FTS_DONTCHDIR@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_63
## %bb.60:
	movq	56(%r15), %rsi
	leaq	L_.str.1(%rip), %rcx
	movq	%r14, %rdi
	movl	$-1, %edx
	callq	_fts_safe_changedir
	testq	%rax, %rax
	je	LBB0_63
## %bb.61:
	movl	(%r12), %edi
	jmp	LBB0_41
LBB0_62:
	movq	64(%r15), %rdi
	callq	__close
LBB0_63:
	movq	%rbx, %rdi
	callq	_free
	cmpl	$0, 16(%r15)
	jne	LBB0_65
## %bb.64:
	movq	_FTS_DP@GOTPCREL(%rip), %rax
	jmp	LBB0_66
LBB0_65:
	movq	_FTS_ERR@GOTPCREL(%rip), %rax
LBB0_66:
	movq	(%rax), %rax
	movq	%rax, 8(%r15)
	movq	%r15, 16(%r14)
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_FTS_STOP,4,2                   ## @FTS_STOP
	.comm	_FTS_NOINSTR,8,3                ## @FTS_NOINSTR
	.comm	_FTS_AGAIN,4,2                  ## @FTS_AGAIN
	.comm	_FTS_FOLLOW,4,2                 ## @FTS_FOLLOW
	.comm	_FTS_SL,8,3                     ## @FTS_SL
	.comm	_FTS_SLNONE,8,3                 ## @FTS_SLNONE
	.comm	_FTS_D,8,3                      ## @FTS_D
	.comm	_FTS_NOCHDIR,4,2                ## @FTS_NOCHDIR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"."

	.comm	_O_RDONLY,4,2                   ## @O_RDONLY
	.comm	_O_CLOEXEC,4,2                  ## @O_CLOEXEC
	.comm	_errno,4,2                      ## @errno
	.comm	_FTS_ERR,8,3                    ## @FTS_ERR
	.comm	_FTS_SYMFOLLOW,4,2              ## @FTS_SYMFOLLOW
	.comm	_FTS_SKIP,4,2                   ## @FTS_SKIP
	.comm	_FTS_XDEV,4,2                   ## @FTS_XDEV
	.comm	_FTS_DP,8,3                     ## @FTS_DP
	.comm	_FTS_NAMEONLY,4,2               ## @FTS_NAMEONLY
	.comm	_FTS_DONTCHDIR,4,2              ## @FTS_DONTCHDIR
	.comm	_BREAD,4,2                      ## @BREAD
	.comm	_FTS_ROOTLEVEL,8,3              ## @FTS_ROOTLEVEL
	.comm	_FTS_ROOTPARENTLEVEL,8,3        ## @FTS_ROOTPARENTLEVEL
L_.str.1:                               ## @.str.1
	.asciz	".."

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fts_read                       ; -- Begin function fts_read
	.p2align	2
_fts_read:                              ; @fts_read
	.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
	ldr	x8, [x0, #16]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x20, x0
Lloh0:
	adrp	x22, _FTS_STOP@GOTPAGE
Lloh1:
	ldr	x22, [x22, _FTS_STOP@GOTPAGEOFF]
	ldr	w0, [x22]
	bl	_ISSET
	cbz	x0, LBB0_4
LBB0_2:
	mov	x19, #0
LBB0_3:
	mov	x0, x19
	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_4:
	ldr	x19, [x20, #16]
	ldr	w8, [x19]
Lloh2:
	adrp	x23, _FTS_NOINSTR@GOTPAGE
Lloh3:
	ldr	x23, [x23, _FTS_NOINSTR@GOTPAGEOFF]
	ldr	x9, [x23]
	str	w9, [x19]
Lloh4:
	adrp	x9, _FTS_AGAIN@GOTPAGE
Lloh5:
	ldr	x9, [x9, _FTS_AGAIN@GOTPAGEOFF]
Lloh6:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_6
; %bb.5:
	mov	x0, x20
	mov	x1, x19
	mov	w2, #0
	mov	w3, #-1
	bl	_fts_stat
	str	x0, [x19, #8]
	b	LBB0_3
LBB0_6:
Lloh7:
	adrp	x24, _FTS_FOLLOW@GOTPAGE
Lloh8:
	ldr	x24, [x24, _FTS_FOLLOW@GOTPAGEOFF]
	ldr	w10, [x24]
	ldr	x9, [x19, #8]
	cmp	w8, w10
	b.ne	LBB0_11
; %bb.7:
Lloh9:
	adrp	x10, _FTS_SL@GOTPAGE
Lloh10:
	ldr	x10, [x10, _FTS_SL@GOTPAGEOFF]
Lloh11:
	ldr	x10, [x10]
Lloh12:
	adrp	x11, _FTS_SLNONE@GOTPAGE
Lloh13:
	ldr	x11, [x11, _FTS_SLNONE@GOTPAGEOFF]
Lloh14:
	ldr	x11, [x11]
	cmp	x9, x10
	ccmp	x9, x11, #4, ne
	b.ne	LBB0_11
; %bb.8:
	mov	x0, x20
	mov	x1, x19
	mov	w2, #1
	mov	w3, #-1
	bl	_fts_stat
	str	x0, [x19, #8]
Lloh15:
	adrp	x8, _FTS_D@GOTPAGE
Lloh16:
	ldr	x8, [x8, _FTS_D@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
	cmp	x8, x0
	b.ne	LBB0_3
; %bb.9:
Lloh18:
	adrp	x8, _FTS_NOCHDIR@GOTPAGE
Lloh19:
	ldr	x8, [x8, _FTS_NOCHDIR@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	bl	_ISSET
	cbnz	x0, LBB0_3
; %bb.10:
Lloh21:
	adrp	x8, _O_RDONLY@GOTPAGE
Lloh22:
	ldr	x8, [x8, _O_RDONLY@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
Lloh24:
	adrp	x9, _O_CLOEXEC@GOTPAGE
Lloh25:
	ldr	x9, [x9, _O_CLOEXEC@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	orr	w1, w9, w8
Lloh27:
	adrp	x0, l_.str@PAGE
Lloh28:
	add	x0, x0, l_.str@PAGEOFF
	mov	w2, #0
	bl	__open
	str	x0, [x19, #64]
Lloh29:
	adrp	x8, _FTS_SYMFOLLOW@GOTPAGE
Lloh30:
	ldr	x8, [x8, _FTS_SYMFOLLOW@GOTPAGEOFF]
Lloh31:
	ldr	w8, [x8]
	ldr	w9, [x19, #20]
	orr	w8, w9, w8
	str	w8, [x19, #20]
	b	LBB0_3
LBB0_11:
Lloh32:
	adrp	x25, _FTS_D@GOTPAGE
Lloh33:
	ldr	x25, [x25, _FTS_D@GOTPAGEOFF]
	ldr	x10, [x25]
	cmp	x9, x10
	b.ne	LBB0_20
; %bb.12:
Lloh34:
	adrp	x9, _FTS_SKIP@GOTPAGE
Lloh35:
	ldr	x9, [x9, _FTS_SKIP@GOTPAGEOFF]
Lloh36:
	ldr	w9, [x9]
	cmp	w8, w9
	b.eq	LBB0_25
; %bb.13:
Lloh37:
	adrp	x8, _FTS_XDEV@GOTPAGE
Lloh38:
	ldr	x8, [x8, _FTS_XDEV@GOTPAGEOFF]
Lloh39:
	ldr	w0, [x8]
	bl	_ISSET
	cbz	x0, LBB0_15
; %bb.14:
	ldr	x8, [x19, #24]
	ldr	x9, [x20]
	cmp	x8, x9
	b.ne	LBB0_25
LBB0_15:
	ldr	x8, [x20, #32]
	cbz	x8, LBB0_18
; %bb.16:
Lloh40:
	adrp	x21, _FTS_NAMEONLY@GOTPAGE
Lloh41:
	ldr	x21, [x21, _FTS_NAMEONLY@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_ISSET
	cbz	x0, LBB0_50
; %bb.17:
	ldr	w0, [x21]
	bl	_CLR
	ldr	x0, [x20, #32]
	bl	_fts_lfree
	str	xzr, [x20, #32]
LBB0_18:
Lloh42:
	adrp	x8, _BREAD@GOTPAGE
Lloh43:
	ldr	x8, [x8, _BREAD@GOTPAGEOFF]
Lloh44:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_fts_build
	str	x0, [x20, #32]
	cbz	x0, LBB0_49
LBB0_19:
	ldr	x21, [x20, #32]
	str	xzr, [x20, #32]
	b	LBB0_43
LBB0_20:
	ldr	x8, [x19, #88]
	cbz	x8, LBB0_30
; %bb.21:
Lloh45:
	adrp	x26, _FTS_ROOTLEVEL@GOTPAGE
Lloh46:
	ldr	x26, [x26, _FTS_ROOTLEVEL@GOTPAGEOFF]
Lloh47:
	adrp	x27, _FTS_SKIP@GOTPAGE
Lloh48:
	ldr	x27, [x27, _FTS_SKIP@GOTPAGEOFF]
LBB0_22:                                ; =>This Inner Loop Header: Depth=1
	mov	x21, x8
	ldr	x8, [x8, #40]
	ldr	x9, [x26]
	cmp	x8, x9
	b.eq	LBB0_35
; %bb.23:                               ;   in Loop: Header=BB0_22 Depth=1
	ldr	w8, [x21]
	ldr	w9, [x27]
	cmp	w8, w9
	b.ne	LBB0_37
; %bb.24:                               ;   in Loop: Header=BB0_22 Depth=1
	mov	x0, x19
	bl	_free
	ldr	x8, [x21, #88]
	mov	x19, x21
	cbnz	x8, LBB0_22
	b	LBB0_31
LBB0_25:
	ldr	w8, [x19, #20]
Lloh49:
	adrp	x9, _FTS_SYMFOLLOW@GOTPAGE
Lloh50:
	ldr	x9, [x9, _FTS_SYMFOLLOW@GOTPAGEOFF]
Lloh51:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_27
; %bb.26:
	ldr	x0, [x19, #64]
	bl	__close
LBB0_27:
	ldr	x0, [x20, #32]
	cbz	x0, LBB0_29
; %bb.28:
	bl	_fts_lfree
	str	xzr, [x20, #32]
LBB0_29:
Lloh52:
	adrp	x8, _FTS_DP@GOTPAGE
Lloh53:
	ldr	x8, [x8, _FTS_DP@GOTPAGEOFF]
Lloh54:
	ldr	x8, [x8]
	str	x8, [x19, #8]
	b	LBB0_3
LBB0_30:
	mov	x21, x19
LBB0_31:
	ldr	x19, [x21, #56]
	ldr	x8, [x19, #40]
Lloh55:
	adrp	x9, _FTS_ROOTPARENTLEVEL@GOTPAGE
Lloh56:
	ldr	x9, [x9, _FTS_ROOTPARENTLEVEL@GOTPAGEOFF]
Lloh57:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_33
; %bb.32:
	mov	x0, x21
	bl	_free
	mov	x0, x19
	bl	_free
	mov	x19, #0
Lloh58:
	adrp	x8, _errno@GOTPAGE
Lloh59:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh60:
	str	wzr, [x8]
	str	xzr, [x20, #16]
	b	LBB0_3
LBB0_33:
	ldr	x8, [x20, #8]
	ldr	x9, [x19, #48]
	strb	wzr, [x8, x9]
	ldr	x8, [x19, #40]
Lloh61:
	adrp	x9, _FTS_ROOTLEVEL@GOTPAGE
Lloh62:
	ldr	x9, [x9, _FTS_ROOTLEVEL@GOTPAGEOFF]
Lloh63:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_45
; %bb.34:
	ldr	x1, [x20, #24]
	mov	x0, x20
	bl	_FCHDIR
	cbnz	x0, LBB0_48
	b	LBB0_57
LBB0_35:
	ldr	x1, [x20, #24]
	mov	x0, x20
	bl	_FCHDIR
	cbnz	x0, LBB0_48
; %bb.36:
	mov	x0, x19
	bl	_free
	mov	x0, x20
	mov	x1, x21
	bl	_fts_load
	b	LBB0_44
LBB0_37:
	ldr	w9, [x24]
	cmp	w8, w9
	b.ne	LBB0_42
; %bb.38:
	mov	x0, x20
	mov	x1, x21
	mov	w2, #1
	mov	w3, #-1
	bl	_fts_stat
	str	x0, [x21, #8]
	ldr	x8, [x25]
	cmp	x8, x0
	b.ne	LBB0_41
; %bb.39:
Lloh64:
	adrp	x8, _FTS_NOCHDIR@GOTPAGE
Lloh65:
	ldr	x8, [x8, _FTS_NOCHDIR@GOTPAGEOFF]
Lloh66:
	ldr	w0, [x8]
	bl	_ISSET
	cbnz	x0, LBB0_41
; %bb.40:
Lloh67:
	adrp	x8, _O_RDONLY@GOTPAGE
Lloh68:
	ldr	x8, [x8, _O_RDONLY@GOTPAGEOFF]
Lloh69:
	ldr	w8, [x8]
Lloh70:
	adrp	x9, _O_CLOEXEC@GOTPAGE
Lloh71:
	ldr	x9, [x9, _O_CLOEXEC@GOTPAGEOFF]
Lloh72:
	ldr	w9, [x9]
	orr	w1, w9, w8
Lloh73:
	adrp	x0, l_.str@PAGE
Lloh74:
	add	x0, x0, l_.str@PAGEOFF
	mov	w2, #0
	bl	__open
	str	x0, [x21, #64]
Lloh75:
	adrp	x8, _FTS_SYMFOLLOW@GOTPAGE
Lloh76:
	ldr	x8, [x8, _FTS_SYMFOLLOW@GOTPAGEOFF]
Lloh77:
	ldr	w8, [x8]
	ldr	w9, [x21, #20]
	orr	w8, w9, w8
	str	w8, [x21, #20]
LBB0_41:
	ldr	x8, [x23]
	str	w8, [x21]
LBB0_42:
	mov	x0, x19
	bl	_free
LBB0_43:
	ldr	x19, [x20, #8]
	ldr	x0, [x21, #56]
	bl	_NAPPEND
	add	x0, x19, w0, sxtw
	mov	w8, #47
	strb	w8, [x0], #1
	ldr	w1, [x21, #80]
	ldr	x8, [x21, #72]
	add	x2, x8, #1
	bl	_memmove
LBB0_44:
	str	x21, [x20, #16]
	mov	x19, x21
	b	LBB0_3
LBB0_45:
	ldr	w8, [x19, #20]
Lloh78:
	adrp	x9, _FTS_SYMFOLLOW@GOTPAGE
Lloh79:
	ldr	x9, [x9, _FTS_SYMFOLLOW@GOTPAGEOFF]
Lloh80:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_54
; %bb.46:
	ldr	x1, [x19, #64]
	mov	x0, x20
	bl	_FCHDIR
	cbz	x0, LBB0_56
; %bb.47:
Lloh81:
	adrp	x20, _errno@GOTPAGE
Lloh82:
	ldr	x20, [x20, _errno@GOTPAGEOFF]
	ldr	w21, [x20]
	ldr	x0, [x19, #64]
	bl	__close
	str	w21, [x20]
LBB0_48:
	ldr	w0, [x22]
	bl	_SET
	mov	x19, #0
	b	LBB0_3
LBB0_49:
	ldr	w0, [x22]
	bl	_ISSET
	cmp	x0, #0
	csel	x19, x19, xzr, eq
	b	LBB0_3
LBB0_50:
	ldr	x8, [x20, #32]
	cbz	x8, LBB0_18
; %bb.51:
	ldr	x3, [x19, #32]
	mov	x0, x20
	mov	x1, x19
	mov	w2, #-1
	bl	_fts_safe_changedir
	cbz	x0, LBB0_19
; %bb.52:
Lloh83:
	adrp	x8, _errno@GOTPAGE
Lloh84:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh85:
	ldr	w8, [x8]
Lloh86:
	adrp	x9, _FTS_DONTCHDIR@GOTPAGE
Lloh87:
	ldr	x9, [x9, _FTS_DONTCHDIR@GOTPAGEOFF]
Lloh88:
	ldr	w9, [x9]
	ldr	w10, [x19, #20]
	orr	w9, w10, w9
	stp	w8, w9, [x19, #16]
	ldr	x8, [x20, #32]
	cbz	x8, LBB0_19
LBB0_53:                                ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x8, #56]
	ldr	x9, [x9, #32]
	str	x9, [x8, #32]
	ldr	x8, [x8, #88]
	cbnz	x8, LBB0_53
	b	LBB0_19
LBB0_54:
Lloh89:
	adrp	x9, _FTS_DONTCHDIR@GOTPAGE
Lloh90:
	ldr	x9, [x9, _FTS_DONTCHDIR@GOTPAGEOFF]
Lloh91:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_57
; %bb.55:
	ldr	x1, [x19, #56]
Lloh92:
	adrp	x3, l_.str.1@PAGE
Lloh93:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	x0, x20
	mov	w2, #-1
	bl	_fts_safe_changedir
	cbnz	x0, LBB0_48
	b	LBB0_57
LBB0_56:
	ldr	x0, [x19, #64]
	bl	__close
LBB0_57:
	mov	x0, x21
	bl	_free
Lloh94:
	adrp	x8, _FTS_ERR@GOTPAGE
Lloh95:
	ldr	x8, [x8, _FTS_ERR@GOTPAGEOFF]
Lloh96:
	adrp	x9, _FTS_DP@GOTPAGE
Lloh97:
	ldr	x9, [x9, _FTS_DP@GOTPAGEOFF]
	ldr	w10, [x19, #16]
	cmp	w10, #0
	csel	x8, x9, x8, eq
	ldr	x8, [x8]
	str	x8, [x19, #8]
	str	x19, [x20, #16]
	b	LBB0_3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGot	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGot	Lloh47, Lloh48
	.loh AdrpLdrGot	Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotStr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh75, Lloh76, Lloh77
	.loh AdrpAdd	Lloh73, Lloh74
	.loh AdrpLdrGotLdr	Lloh70, Lloh71, Lloh72
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpLdrGotLdr	Lloh78, Lloh79, Lloh80
	.loh AdrpLdrGot	Lloh81, Lloh82
	.loh AdrpLdrGotLdr	Lloh86, Lloh87, Lloh88
	.loh AdrpLdrGotLdr	Lloh83, Lloh84, Lloh85
	.loh AdrpLdrGotLdr	Lloh89, Lloh90, Lloh91
	.loh AdrpAdd	Lloh92, Lloh93
	.loh AdrpLdrGot	Lloh96, Lloh97
	.loh AdrpLdrGot	Lloh94, Lloh95
	.cfi_endproc
                                        ; -- End function
	.comm	_FTS_STOP,4,2                   ; @FTS_STOP
	.comm	_FTS_NOINSTR,8,3                ; @FTS_NOINSTR
	.comm	_FTS_AGAIN,4,2                  ; @FTS_AGAIN
	.comm	_FTS_FOLLOW,4,2                 ; @FTS_FOLLOW
	.comm	_FTS_SL,8,3                     ; @FTS_SL
	.comm	_FTS_SLNONE,8,3                 ; @FTS_SLNONE
	.comm	_FTS_D,8,3                      ; @FTS_D
	.comm	_FTS_NOCHDIR,4,2                ; @FTS_NOCHDIR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"."

	.comm	_O_RDONLY,4,2                   ; @O_RDONLY
	.comm	_O_CLOEXEC,4,2                  ; @O_CLOEXEC
	.comm	_errno,4,2                      ; @errno
	.comm	_FTS_ERR,8,3                    ; @FTS_ERR
	.comm	_FTS_SYMFOLLOW,4,2              ; @FTS_SYMFOLLOW
	.comm	_FTS_SKIP,4,2                   ; @FTS_SKIP
	.comm	_FTS_XDEV,4,2                   ; @FTS_XDEV
	.comm	_FTS_DP,8,3                     ; @FTS_DP
	.comm	_FTS_NAMEONLY,4,2               ; @FTS_NAMEONLY
	.comm	_FTS_DONTCHDIR,4,2              ; @FTS_DONTCHDIR
	.comm	_BREAD,4,2                      ; @BREAD
	.comm	_FTS_ROOTLEVEL,8,3              ; @FTS_ROOTLEVEL
	.comm	_FTS_ROOTPARENTLEVEL,8,3        ; @FTS_ROOTPARENTLEVEL
l_.str.1:                               ; @.str.1
	.asciz	".."

.subsections_via_symbols
