	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ftree_start                    ## -- Begin function ftree_start
	.p2align	4, 0x90
_ftree_start:                           ## @ftree_start
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_FTS_NOCHDIR@GOTPCREL(%rip), %rcx
	movq	_Lflag@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jne	LBB0_1
## %bb.2:
	movq	_FTS_PHYSICAL@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_FTS_LOGICAL@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	orl	(%rcx), %eax
	movq	_ftsopts@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_Hflag@GOTPCREL(%rip), %rdx
	cmpq	$0, (%rdx)
	je	LBB0_5
## %bb.4:
	movq	_FTS_COMFOLLOW@GOTPCREL(%rip), %rdx
	orl	(%rdx), %eax
	movl	%eax, (%rcx)
LBB0_5:
	movq	_Xflag@GOTPCREL(%rip), %rdx
	cmpq	$0, (%rdx)
	je	LBB0_7
## %bb.6:
	movq	_FTS_XDEV@GOTPCREL(%rip), %rdx
	orl	(%rdx), %eax
	movl	%eax, (%rcx)
LBB0_7:
	movq	_fthead@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jne	LBB0_10
## %bb.8:
	movq	_PAXPATHLEN@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	$2, %rdi
	callq	_malloc
	movq	_farray@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rax, (%rcx)
	testq	%rax, %rax
	je	LBB0_9
LBB0_10:
	xorl	%eax, %eax
	callq	_ftree_arg
	movl	$-1, %ebx
	testq	%rax, %rax
	js	LBB0_14
## %bb.11:
	movq	_tflag@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_13
## %bb.12:
	xorl	%eax, %eax
	callq	_atdir_start
	testq	%rax, %rax
	js	LBB0_14
LBB0_13:
	xorl	%ebx, %ebx
	jmp	LBB0_14
LBB0_9:
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	callq	_paxwarn
	movl	$-1, %ebx
LBB0_14:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FTS_NOCHDIR,4,2                ## @FTS_NOCHDIR
	.comm	_ftsopts,4,2                    ## @ftsopts
	.comm	_Lflag,8,3                      ## @Lflag
	.comm	_FTS_LOGICAL,4,2                ## @FTS_LOGICAL
	.comm	_FTS_PHYSICAL,4,2               ## @FTS_PHYSICAL
	.comm	_Hflag,8,3                      ## @Hflag
	.comm	_FTS_COMFOLLOW,4,2              ## @FTS_COMFOLLOW
	.comm	_Xflag,8,3                      ## @Xflag
	.comm	_FTS_XDEV,4,2                   ## @FTS_XDEV
	.comm	_fthead,8,3                     ## @fthead
	.comm	_PAXPATHLEN,8,3                 ## @PAXPATHLEN
	.comm	_farray,8,3                     ## @farray
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unable to allocate memory for file name buffer"

	.comm	_tflag,8,3                      ## @tflag
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ftree_start                    ; -- Begin function ftree_start
	.p2align	2
_ftree_start:                           ; @ftree_start
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _FTS_NOCHDIR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FTS_NOCHDIR@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _Lflag@GOTPAGE
Lloh4:
	ldr	x9, [x9, _Lflag@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
Lloh6:
	adrp	x10, _FTS_PHYSICAL@GOTPAGE
Lloh7:
	ldr	x10, [x10, _FTS_PHYSICAL@GOTPAGEOFF]
Lloh8:
	adrp	x11, _FTS_LOGICAL@GOTPAGE
Lloh9:
	ldr	x11, [x11, _FTS_LOGICAL@GOTPAGEOFF]
	cmp	x9, #0
	csel	x9, x10, x11, eq
	ldr	w9, [x9]
	orr	w9, w9, w8
Lloh10:
	adrp	x8, _ftsopts@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ftsopts@GOTPAGEOFF]
	str	w9, [x8]
Lloh12:
	adrp	x10, _Hflag@GOTPAGE
Lloh13:
	ldr	x10, [x10, _Hflag@GOTPAGEOFF]
Lloh14:
	ldr	x10, [x10]
	cbz	x10, LBB0_2
; %bb.1:
Lloh15:
	adrp	x10, _FTS_COMFOLLOW@GOTPAGE
Lloh16:
	ldr	x10, [x10, _FTS_COMFOLLOW@GOTPAGEOFF]
Lloh17:
	ldr	w10, [x10]
	orr	w9, w10, w9
	str	w9, [x8]
LBB0_2:
Lloh18:
	adrp	x10, _Xflag@GOTPAGE
Lloh19:
	ldr	x10, [x10, _Xflag@GOTPAGEOFF]
Lloh20:
	ldr	x10, [x10]
	cbz	x10, LBB0_4
; %bb.3:
Lloh21:
	adrp	x10, _FTS_XDEV@GOTPAGE
Lloh22:
	ldr	x10, [x10, _FTS_XDEV@GOTPAGEOFF]
Lloh23:
	ldr	w10, [x10]
	orr	w9, w9, w10
	str	w9, [x8]
LBB0_4:
Lloh24:
	adrp	x8, _fthead@GOTPAGE
Lloh25:
	ldr	x8, [x8, _fthead@GOTPAGEOFF]
Lloh26:
	ldr	x8, [x8]
	cbnz	x8, LBB0_6
; %bb.5:
Lloh27:
	adrp	x8, _PAXPATHLEN@GOTPAGE
Lloh28:
	ldr	x8, [x8, _PAXPATHLEN@GOTPAGEOFF]
Lloh29:
	ldr	x8, [x8]
	add	x0, x8, #2
	bl	_malloc
Lloh30:
	adrp	x8, _farray@GOTPAGE
Lloh31:
	ldr	x8, [x8, _farray@GOTPAGEOFF]
Lloh32:
	ldr	x8, [x8]
	str	x0, [x8]
	cbz	x0, LBB0_10
LBB0_6:
	bl	_ftree_arg
	tbnz	x0, #63, LBB0_11
; %bb.7:
Lloh33:
	adrp	x8, _tflag@GOTPAGE
Lloh34:
	ldr	x8, [x8, _tflag@GOTPAGEOFF]
Lloh35:
	ldr	x8, [x8]
	cbz	x8, LBB0_9
; %bb.8:
	bl	_atdir_start
	tbnz	x0, #63, LBB0_11
LBB0_9:
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_10:
Lloh36:
	adrp	x1, l_.str@PAGE
Lloh37:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	bl	_paxwarn
LBB0_11:
	mov	w0, #-1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpAdd	Lloh36, Lloh37
	.cfi_endproc
                                        ; -- End function
	.comm	_FTS_NOCHDIR,4,2                ; @FTS_NOCHDIR
	.comm	_ftsopts,4,2                    ; @ftsopts
	.comm	_Lflag,8,3                      ; @Lflag
	.comm	_FTS_LOGICAL,4,2                ; @FTS_LOGICAL
	.comm	_FTS_PHYSICAL,4,2               ; @FTS_PHYSICAL
	.comm	_Hflag,8,3                      ; @Hflag
	.comm	_FTS_COMFOLLOW,4,2              ; @FTS_COMFOLLOW
	.comm	_Xflag,8,3                      ; @Xflag
	.comm	_FTS_XDEV,4,2                   ; @FTS_XDEV
	.comm	_fthead,8,3                     ; @fthead
	.comm	_PAXPATHLEN,8,3                 ; @PAXPATHLEN
	.comm	_farray,8,3                     ; @farray
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unable to allocate memory for file name buffer"

	.comm	_tflag,8,3                      ; @tflag
.subsections_via_symbols
