	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_freebsd11_ftw                  ## -- Begin function freebsd11_ftw
	.p2align	4, 0x90
_freebsd11_ftw:                         ## @freebsd11_ftw
	.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	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	%rdi, -64(%rbp)
	movq	$0, -56(%rbp)
	testl	%edx, %edx
	jle	LBB0_1
## %bb.2:
	movq	%rsi, %r15
	movq	_FTS_LOGICAL@GOTPCREL(%rip), %rax
	movq	_FTS_COMFOLLOW@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movq	_FTS_NOCHDIR@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	leaq	-64(%rbp), %rdi
	xorl	%edx, %edx
	callq	_freebsd11_fts_open
	movl	$-1, %r13d
	testq	%rax, %rax
	je	LBB0_21
## %bb.3:
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_freebsd11_fts_read
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	_FTW_D@GOTPCREL(%rip), %r13
	leaq	LJTI0_0(%rip), %r14
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rax), %ecx
	movl	$-1, %ebx
	addl	$-128, %ecx
	cmpl	$9, %ecx
	ja	LBB0_17
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movslq	(%r14,%rcx,4), %rdx
	addq	%r14, %rdx
	movq	%r13, %rcx
	jmpq	*%rdx
LBB0_11:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	_FTW_NS@GOTPCREL(%rip), %rcx
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	_FTW_F@GOTPCREL(%rip), %rcx
	jmp	LBB0_15
LBB0_12:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	_FTW_SL@GOTPCREL(%rip), %rcx
	jmp	LBB0_15
LBB0_14:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	_FTW_DNR@GOTPCREL(%rip), %rcx
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_6 Depth=1
	movl	(%rcx), %edx
	movq	8(%rax), %rdi
	movq	16(%rax), %rsi
	callq	*%r15
	testl	%eax, %eax
	jne	LBB0_16
LBB0_8:                                 ##   in Loop: Header=BB0_6 Depth=1
	movq	%r12, %rdi
	callq	_freebsd11_fts_read
	testq	%rax, %rax
	jne	LBB0_6
## %bb.9:
	xorl	%ebx, %ebx
	jmp	LBB0_17
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	$-1, %ebx
	jmp	LBB0_20
LBB0_4:
	xorl	%ebx, %ebx
	jmp	LBB0_18
LBB0_16:
	movl	%eax, %ebx
LBB0_17:
	movl	$-1, %r13d
LBB0_18:
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	%r12, %rdi
	callq	_freebsd11_fts_close
	testq	%rax, %rax
	je	LBB0_20
## %bb.19:
	testl	%ebx, %ebx
	je	LBB0_21
LBB0_20:
	movq	_errno@GOTPCREL(%rip), %rax
	movl	%r14d, (%rax)
	movl	%ebx, %r13d
LBB0_21:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_23
## %bb.22:
	movl	%r13d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	movq	_ELOOP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_errno@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	jmp	LBB0_17
LBB0_23:
	callq	___stack_chk_fail
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
LJTI0_0:
	.long	L0_0_set_11
	.long	L0_0_set_12
	.long	L0_0_set_11
	.long	L0_0_set_11
	.long	L0_0_set_10
	.long	L0_0_set_8
	.long	L0_0_set_14
	.long	L0_0_set_10
	.long	L0_0_set_13
	.long	L0_0_set_15
	.end_data_region
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_errno,4,2                      ## @errno
	.comm	_FTS_LOGICAL,4,2                ## @FTS_LOGICAL
	.comm	_FTS_COMFOLLOW,4,2              ## @FTS_COMFOLLOW
	.comm	_FTS_NOCHDIR,4,2                ## @FTS_NOCHDIR
	.comm	_FTW_D,4,2                      ## @FTW_D
	.comm	_FTW_DNR,4,2                    ## @FTW_DNR
	.comm	_FTW_F,4,2                      ## @FTW_F
	.comm	_FTW_NS,4,2                     ## @FTW_NS
	.comm	_FTW_SL,4,2                     ## @FTW_SL
	.comm	_ELOOP,4,2                      ## @ELOOP
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_freebsd11_ftw                  ; -- Begin function freebsd11_ftw
	.p2align	2
_freebsd11_ftw:                         ; @freebsd11_ftw
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	stp	x0, xzr, [sp, #8]
	cmp	w2, #0
	b.le	LBB0_13
; %bb.1:
	mov	x20, x1
Lloh3:
	adrp	x8, _FTS_LOGICAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FTS_LOGICAL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _FTS_COMFOLLOW@GOTPAGE
Lloh7:
	ldr	x9, [x9, _FTS_COMFOLLOW@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh9:
	adrp	x9, _FTS_NOCHDIR@GOTPAGE
Lloh10:
	ldr	x9, [x9, _FTS_NOCHDIR@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w1, w8, w9
	add	x0, sp, #8
	mov	x2, #0
	bl	_freebsd11_fts_open
	cbz	x0, LBB0_17
; %bb.2:
	mov	x19, x0
	bl	_freebsd11_fts_read
Lloh12:
	adrp	x22, _errno@GOTPAGE
Lloh13:
	ldr	x22, [x22, _errno@GOTPAGEOFF]
	cbz	x0, LBB0_12
; %bb.3:
Lloh14:
	adrp	x23, _FTW_D@GOTPAGE
Lloh15:
	ldr	x23, [x23, _FTW_D@GOTPAGEOFF]
Lloh16:
	adrp	x24, lJTI0_0@PAGE
Lloh17:
	add	x24, x24, lJTI0_0@PAGEOFF
Lloh18:
	adrp	x25, _FTW_NS@GOTPAGE
Lloh19:
	ldr	x25, [x25, _FTW_NS@GOTPAGEOFF]
Lloh20:
	adrp	x26, _FTW_SL@GOTPAGE
Lloh21:
	ldr	x26, [x26, _FTW_SL@GOTPAGEOFF]
Lloh22:
	adrp	x27, _FTW_F@GOTPAGE
Lloh23:
	ldr	x27, [x27, _FTW_F@GOTPAGEOFF]
Lloh24:
	adrp	x28, _FTW_DNR@GOTPAGE
Lloh25:
	ldr	x28, [x28, _FTW_DNR@GOTPAGEOFF]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x0]
	sub	w8, w8, #128
	cmp	w8, #9
	b.hi	LBB0_21
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	adr	x9, LBB0_6
	ldrb	w10, [x24, x8]
	add	x9, x9, x10, lsl #2
	mov	x8, x23
	br	x9
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x8, x25
	b	LBB0_10
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x8, x27
	b	LBB0_10
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x8, x26
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x8, x28
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w2, [x8]
	ldp	x8, x1, [x0, #8]
	mov	x0, x8
	blr	x20
	cbnz	w0, LBB0_14
LBB0_11:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	bl	_freebsd11_fts_read
	cbnz	x0, LBB0_4
LBB0_12:
	mov	w21, #0
	b	LBB0_15
LBB0_13:
Lloh26:
	adrp	x8, _EINVAL@GOTPAGE
Lloh27:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh28:
	ldr	w20, [x8]
	mov	w21, #-1
	b	LBB0_18
LBB0_14:
	mov	x21, x0
LBB0_15:
	ldr	w20, [x22]
	mov	x0, x19
	bl	_freebsd11_fts_close
	cbz	x0, LBB0_18
; %bb.16:
	cbnz	w21, LBB0_18
LBB0_17:
	mov	w21, #-1
	b	LBB0_19
LBB0_18:
Lloh29:
	adrp	x8, _errno@GOTPAGE
Lloh30:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh31:
	str	w20, [x8]
LBB0_19:
	ldr	x8, [sp, #24]
Lloh32:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh33:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh34:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_23
; %bb.20:
	mov	x0, x21
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_21:
	mov	w21, #-1
	b	LBB0_15
LBB0_22:
Lloh35:
	adrp	x8, _ELOOP@GOTPAGE
Lloh36:
	ldr	x8, [x8, _ELOOP@GOTPAGEOFF]
Lloh37:
	ldr	w8, [x8]
	str	w8, [x22]
	mov	w21, #-1
	b	LBB0_15
LBB0_23:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotStr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_6-LBB0_6)>>2
	.byte	(LBB0_8-LBB0_6)>>2
	.byte	(LBB0_6-LBB0_6)>>2
	.byte	(LBB0_6-LBB0_6)>>2
	.byte	(LBB0_7-LBB0_6)>>2
	.byte	(LBB0_11-LBB0_6)>>2
	.byte	(LBB0_9-LBB0_6)>>2
	.byte	(LBB0_7-LBB0_6)>>2
	.byte	(LBB0_22-LBB0_6)>>2
	.byte	(LBB0_10-LBB0_6)>>2
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_errno,4,2                      ; @errno
	.comm	_FTS_LOGICAL,4,2                ; @FTS_LOGICAL
	.comm	_FTS_COMFOLLOW,4,2              ; @FTS_COMFOLLOW
	.comm	_FTS_NOCHDIR,4,2                ; @FTS_NOCHDIR
	.comm	_FTW_D,4,2                      ; @FTW_D
	.comm	_FTW_DNR,4,2                    ; @FTW_DNR
	.comm	_FTW_F,4,2                      ; @FTW_F
	.comm	_FTW_NS,4,2                     ; @FTW_NS
	.comm	_FTW_SL,4,2                     ; @FTW_SL
	.comm	_ELOOP,4,2                      ; @ELOOP
.subsections_via_symbols
