	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function statd
_statd:                                 ## @statd
	.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	$120, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r15
	movq	%r8, %r12
	movq	%rcx, %rbx
	movq	%rdx, -80(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r13
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MTREE_MAXGID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	leaq	(,%rax,8), %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -160(%rbp)                ## 8-byte Spill
	movq	_MTREE_MAXUID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	leaq	(,%rax,8), %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	movq	_MTREE_MAXMODE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	leaq	(,%rax,8), %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -128(%rbp)                ## 8-byte Spill
	movq	_MTREE_MAXFLAGS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%rax, -152(%rbp)                ## 8-byte Spill
	leaq	(,%rax,8), %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -144(%rbp)                ## 8-byte Spill
	movl	(%r12), %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	%rbx, -120(%rbp)                ## 8-byte Spill
	movl	(%rbx), %eax
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movl	(%r15), %eax
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	movq	16(%rbp), %rax
	movl	(%rax), %eax
	movl	%eax, -84(%rbp)                 ## 4-byte Spill
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_fts_children
	testq	%rax, %rax
	je	LBB0_21
## %bb.1:
	movq	%rax, %rbx
	movq	%r12, -80(%rbp)                 ## 8-byte Spill
	movq	%r15, -136(%rbp)                ## 8-byte Spill
	movq	-112(%rbp), %rdx                ## 8-byte Reload
	shll	$3, %edx
	xorl	%eax, %eax
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	movq	-160(%rbp), %r15                ## 8-byte Reload
	movq	%r15, %rdi
	xorl	%esi, %esi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_memset
	movq	-104(%rbp), %rdx                ## 8-byte Reload
	shll	$3, %edx
	movq	%r14, %rdi
	xorl	%esi, %esi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_memset
	movq	-96(%rbp), %rdx                 ## 8-byte Reload
	shll	$3, %edx
	movq	-128(%rbp), %r12                ## 8-byte Reload
	movq	%r12, %rdi
	xorl	%esi, %esi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_memset
	movq	-152(%rbp), %rdx                ## 8-byte Reload
	shll	$3, %edx
	movq	-144(%rbp), %rdi                ## 8-byte Reload
	xorl	%esi, %esi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_memset
	movq	_flavor@GOTPCREL(%rip), %r10
	movq	_F_NETBSD6@GOTPCREL(%rip), %r11
	xorl	%eax, %eax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	xorl	%eax, %eax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movq	%r15, %r8
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	8(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_12
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r10), %rax
	cmpq	(%r11), %rax
	je	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	_dflag@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	(%rbx), %rax
	movl	(%rax), %edi
	movq	%r14, %r15
	movq	%r8, %r14
	movq	%r10, %r13
	movq	%r11, %r12
	callq	_S_ISDIR
	movq	%r12, %r11
	movq	%r13, %r10
	movq	%r14, %r8
	movq	%r15, %r14
	movq	-128(%rbp), %r12                ## 8-byte Reload
	testq	%rax, %rax
	je	LBB0_2
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	(%rbx), %rax
	movq	_MBITS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	(%rax), %ecx
	movq	_MTREE_MAXMODE@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	jge	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movslq	%ecx, %rdx
	movq	(%r12,%rdx,8), %rsi
	leaq	1(%rsi), %rdi
	movq	%rdi, (%r12,%rdx,8)
	movq	-104(%rbp), %rdx                ## 8-byte Reload
	cmpq	%rdx, %rsi
	cmovgeq	%rdi, %rdx
	movq	%rdx, -104(%rbp)                ## 8-byte Spill
	movl	-60(%rbp), %edx                 ## 4-byte Reload
	cmovgel	%ecx, %edx
	movl	%edx, -60(%rbp)                 ## 4-byte Spill
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	movslq	4(%rax), %rcx
	movq	_MTREE_MAXGID@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	jge	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r8,%rcx,8), %rdx
	leaq	1(%rdx), %rsi
	movq	%rsi, (%r8,%rcx,8)
	movq	-112(%rbp), %rdi                ## 8-byte Reload
	cmpq	%rdi, %rdx
	cmovgeq	%rsi, %rdi
	movq	%rdi, -112(%rbp)                ## 8-byte Spill
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	cmovgel	%ecx, %edx
	movl	%edx, -52(%rbp)                 ## 4-byte Spill
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=1
	movslq	8(%rax), %rax
	movq	_MTREE_MAXUID@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jge	LBB0_2
## %bb.11:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r14,%rax,8), %rcx
	leaq	1(%rcx), %rdx
	movq	%rdx, (%r14,%rax,8)
	movq	-96(%rbp), %rsi                 ## 8-byte Reload
	cmpq	%rsi, %rcx
	cmovgeq	%rdx, %rsi
	movq	%rsi, -96(%rbp)                 ## 8-byte Spill
	movl	-56(%rbp), %ecx                 ## 4-byte Reload
	cmovgel	%eax, %ecx
	movl	%ecx, -56(%rbp)                 ## 4-byte Spill
	jmp	LBB0_2
LBB0_12:
	movq	_keys@GOTPCREL(%rip), %r14
	movl	(%r14), %eax
	movq	_F_UNAME@GOTPCREL(%rip), %r15
	movq	_F_UID@GOTPCREL(%rip), %r12
	movl	(%r12), %ecx
	orl	(%r15), %ecx
	testl	%eax, %ecx
	movq	-136(%rbp), %r13                ## 8-byte Reload
	je	LBB0_14
## %bb.13:
	movq	-120(%rbp), %rcx                ## 8-byte Reload
	movl	-56(%rbp), %edx                 ## 4-byte Reload
	cmpl	%edx, (%rcx)
	jne	LBB0_24
LBB0_14:
	movq	_F_GNAME@GOTPCREL(%rip), %rcx
	movq	_F_GID@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	testl	%eax, %edx
	je	LBB0_16
## %bb.15:
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	cmpl	%edx, (%rcx)
	jne	LBB0_24
LBB0_16:
	movq	_F_MODE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_18
## %bb.17:
	movl	-60(%rbp), %ecx                 ## 4-byte Reload
	cmpl	%ecx, (%r13)
	jne	LBB0_24
LBB0_18:
	movq	_F_FLAGS@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_23
## %bb.19:
	movq	16(%rbp), %rax
	movl	-84(%rbp), %ecx                 ## 4-byte Reload
	cmpl	%ecx, (%rax)
	jne	LBB0_24
## %bb.20:
	xorl	%ebx, %ebx
	testb	$1, _statd.first(%rip)
	jne	LBB0_56
	jmp	LBB0_24
LBB0_21:
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movq	_errno@GOTPCREL(%rip), %r15
	movl	$1, %ebx
	cmpq	$0, (%r15)
	je	LBB0_56
## %bb.22:
	callq	_RP
	movl	%eax, %r14d
	movq	(%r15), %rdi
	callq	_strerror
	leaq	L_.str(%rip), %rdi
	movl	%r14d, %esi
	movl	%eax, %edx
	callq	_mtree_err
	jmp	LBB0_56
LBB0_23:
	xorl	%ebx, %ebx
	cmpb	$0, _statd.first(%rip)
	jne	LBB0_56
LBB0_24:
	movb	$1, _statd.first(%rip)
	movq	(%r10), %rax
	cmpq	(%r11), %rax
	je	LBB0_27
## %bb.25:
	movq	_dflag@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_27
## %bb.26:
	leaq	L_.str.1(%rip), %rdi
	movl	$13, %esi
	jmp	LBB0_28
LBB0_27:
	leaq	L_.str.2(%rip), %rdi
	movl	$14, %esi
LBB0_28:
	movl	$1, %edx
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	callq	_fwrite
	movl	(%r14), %eax
	movl	(%r15), %ecx
	movl	(%r12), %edx
	orl	%ecx, %edx
	testl	%eax, %edx
	je	LBB0_32
## %bb.29:
	testl	%eax, %ecx
	je	LBB0_34
## %bb.30:
	movl	-56(%rbp), %edi                 ## 4-byte Reload
	movl	$1, %esi
	callq	_user_from_uid
	testq	%rax, %rax
	je	LBB0_34
## %bb.31:
	movq	%rax, %rbx
	leaq	L_.str.3(%rip), %rsi
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_fprintf
	jmp	LBB0_35
LBB0_34:
	xorl	%ebx, %ebx
LBB0_35:
	movl	(%r14), %eax
	testl	%eax, (%r12)
	jne	LBB0_38
## %bb.36:
	testl	%eax, (%r15)
	je	LBB0_39
## %bb.37:
	testq	%rbx, %rbx
	jne	LBB0_39
LBB0_38:
	leaq	L_.str.4(%rip), %rsi
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movl	-56(%rbp), %edx                 ## 4-byte Reload
	xorl	%eax, %eax
	callq	_fprintf
	movl	(%r14), %eax
	jmp	LBB0_39
LBB0_32:
	xorl	%ebx, %ebx
LBB0_39:
	movq	_F_GID@GOTPCREL(%rip), %r12
	movq	_F_GNAME@GOTPCREL(%rip), %r15
	movl	(%r15), %ecx
	movl	(%r12), %edx
	orl	%ecx, %edx
	testl	%eax, %edx
	je	LBB0_43
## %bb.40:
	testl	%eax, %ecx
	je	LBB0_45
## %bb.41:
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	movl	$1, %esi
	callq	_group_from_gid
	testq	%rax, %rax
	je	LBB0_44
## %bb.42:
	movq	%rax, %rbx
	leaq	L_.str.5(%rip), %rsi
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_fprintf
	jmp	LBB0_45
LBB0_43:
	movq	-80(%rbp), %r12                 ## 8-byte Reload
	jmp	LBB0_49
LBB0_44:
	xorl	%ebx, %ebx
LBB0_45:
	movl	(%r14), %eax
	testl	%eax, (%r12)
	movq	-80(%rbp), %r12                 ## 8-byte Reload
	jne	LBB0_48
## %bb.46:
	testl	%eax, (%r15)
	je	LBB0_49
## %bb.47:
	testq	%rbx, %rbx
	jne	LBB0_49
LBB0_48:
	leaq	L_.str.6(%rip), %rsi
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	xorl	%eax, %eax
	callq	_fprintf
	movl	(%r14), %eax
LBB0_49:
	movq	_F_MODE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	je	LBB0_51
## %bb.50:
	leaq	L_.str.7(%rip), %rsi
	movq	%r15, %rdi
	movl	-60(%rbp), %edx                 ## 4-byte Reload
	xorl	%eax, %eax
	callq	_fprintf
	movl	(%r14), %eax
LBB0_51:
	movq	_F_NLINK@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_53
## %bb.52:
	leaq	L_.str.8(%rip), %rdi
	movl	$8, %esi
	movl	$1, %edx
	movq	%r15, %rcx
	callq	_fwrite
	movl	(%r14), %eax
LBB0_53:
	movq	_F_FLAGS@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	movl	-84(%rbp), %r14d                ## 4-byte Reload
	je	LBB0_55
## %bb.54:
	leaq	L_.str.9(%rip), %rsi
	movl	%r14d, %edi
	callq	_flags_to_string
	movq	%rax, %rbx
	leaq	L_.str.10(%rip), %rsi
	movq	%r15, %rdi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_fprintf
	movq	%rbx, %rdi
	callq	_free
LBB0_55:
	movl	$10, %edi
	movq	%r15, %rsi
	callq	_fputc
	movq	-120(%rbp), %rax                ## 8-byte Reload
	movl	-56(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, (%rax)
	movl	-52(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, (%r12)
	movl	-60(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, (%r13)
	movq	16(%rbp), %rax
	movl	%r14d, (%rax)
	xorl	%ebx, %ebx
LBB0_56:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_58
## %bb.57:
	movl	%ebx, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_58:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MTREE_MAXGID,4,2               ## @MTREE_MAXGID
	.comm	_MTREE_MAXUID,4,2               ## @MTREE_MAXUID
	.comm	_MTREE_MAXMODE,4,2              ## @MTREE_MAXMODE
	.comm	_MTREE_MAXFLAGS,4,2             ## @MTREE_MAXFLAGS
.zerofill __DATA,__bss,_statd.first,1,2 ## @statd.first
	.comm	_errno,8,3                      ## @errno
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: %s"

	.comm	_flavor,8,3                     ## @flavor
	.comm	_F_NETBSD6,8,3                  ## @F_NETBSD6
	.comm	_dflag,8,3                      ## @dflag
	.comm	_MBITS,4,2                      ## @MBITS
	.comm	_keys,4,2                       ## @keys
	.comm	_F_UNAME,4,2                    ## @F_UNAME
	.comm	_F_UID,4,2                      ## @F_UID
	.comm	_F_GNAME,4,2                    ## @F_GNAME
	.comm	_F_GID,4,2                      ## @F_GID
	.comm	_F_MODE,4,2                     ## @F_MODE
	.comm	_F_FLAGS,4,2                    ## @F_FLAGS
L_.str.1:                               ## @.str.1
	.asciz	"/set type=dir"

L_.str.2:                               ## @.str.2
	.asciz	"/set type=file"

L_.str.3:                               ## @.str.3
	.asciz	" uname=%s"

L_.str.4:                               ## @.str.4
	.asciz	" uid=%lu"

L_.str.5:                               ## @.str.5
	.asciz	" gname=%s"

L_.str.6:                               ## @.str.6
	.asciz	" gid=%lu"

L_.str.7:                               ## @.str.7
	.asciz	" mode=%#lo"

	.comm	_F_NLINK,4,2                    ## @F_NLINK
L_.str.8:                               ## @.str.8
	.asciz	" nlink=1"

L_.str.9:                               ## @.str.9
	.asciz	"none"

L_.str.10:                              ## @.str.10
	.asciz	" flags=%s"

	.no_dead_strip	_statd
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function statd
_statd:                                 ; @statd
	.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, #80
	mov	x26, x6
	stp	x2, x0, [x29, #-160]            ; 16-byte Folded Spill
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, _MTREE_MAXGID@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MTREE_MAXGID@GOTPAGEOFF]
Lloh5:
	ldr	w27, [x8]
	lsl	x8, x27, #3
	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, #0xffffffff0
	sub	x24, x9, x8
	mov	sp, x24
Lloh8:
	adrp	x8, _MTREE_MAXUID@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MTREE_MAXUID@GOTPAGEOFF]
Lloh10:
	ldr	w22, [x8]
	lsl	x8, x22, #3
	mov	x9, x8
Lloh11:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh12:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0xffffffff0
	sub	x28, x9, x8
	mov	sp, x28
Lloh13:
	adrp	x8, _MTREE_MAXMODE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _MTREE_MAXMODE@GOTPAGEOFF]
Lloh15:
	ldr	w23, [x8]
	lsl	x8, x23, #3
	mov	x9, x8
Lloh16:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh17:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0xffffffff0
	sub	x25, x9, x8
	mov	sp, x25
Lloh18:
	adrp	x8, _MTREE_MAXFLAGS@GOTPAGE
Lloh19:
	ldr	x8, [x8, _MTREE_MAXFLAGS@GOTPAGEOFF]
Lloh20:
	ldr	w20, [x8]
	lsl	x8, x20, #3
	mov	x9, x8
Lloh21:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh22:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0xffffffff0
	sub	x21, x9, x8
	mov	sp, x21
	stp	x4, x3, [x29, #-128]            ; 16-byte Folded Spill
	ldr	w9, [x4]
	ldr	w8, [x3]
	stp	x9, x8, [x29, #-104]            ; 16-byte Folded Spill
	stur	x5, [x29, #-136]                ; 8-byte Folded Spill
	ldr	w8, [x5]
	stur	x8, [x29, #-112]                ; 8-byte Folded Spill
	ldr	w8, [x6]
	stur	w8, [x29, #-140]                ; 4-byte Folded Spill
	mov	x0, x1
	mov	w1, #0
	bl	_fts_children
	cbz	x0, LBB0_21
; %bb.1:
	mov	x19, x0
	stur	x26, [x29, #-160]               ; 8-byte Folded Spill
	lsl	w2, w27, #3
	mov	x0, x24
	mov	w1, #0
	bl	_memset
	lsl	w2, w22, #3
	mov	x0, x28
	mov	w1, #0
	bl	_memset
	lsl	w2, w23, #3
	mov	x0, x25
	mov	w1, #0
	bl	_memset
	lsl	w2, w20, #3
	mov	x0, x21
	mov	w1, #0
	bl	_memset
	mov	x26, #0
	mov	x20, #0
	mov	x23, #0
Lloh23:
	adrp	x14, _flavor@GOTPAGE
Lloh24:
	ldr	x14, [x14, _flavor@GOTPAGEOFF]
Lloh25:
	adrp	x15, _F_NETBSD6@GOTPAGE
Lloh26:
	ldr	x15, [x15, _F_NETBSD6@GOTPAGEOFF]
Lloh27:
	adrp	x22, _dflag@GOTPAGE
Lloh28:
	ldr	x22, [x22, _dflag@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x19, [x19, #8]
	cbz	x19, LBB0_11
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x14]
	ldr	x9, [x15]
	ldr	x10, [x22]
	cmp	x8, x9
	ccmp	x10, #0, #4, ne
	b.eq	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x19]
	ldr	w0, [x8]
	mov	x21, x14
	mov	x27, x15
	bl	_S_ISDIR
	mov	x15, x27
	mov	x14, x21
	cbz	x0, LBB0_2
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x19]
	ldr	w9, [x8]
Lloh29:
	adrp	x10, _MBITS@GOTPAGE
Lloh30:
	ldr	x10, [x10, _MBITS@GOTPAGEOFF]
Lloh31:
	ldr	w10, [x10]
	and	w9, w10, w9
Lloh32:
	adrp	x10, _MTREE_MAXMODE@GOTPAGE
Lloh33:
	ldr	x10, [x10, _MTREE_MAXMODE@GOTPAGEOFF]
Lloh34:
	ldr	w10, [x10]
	cmp	w9, w10
	b.ge	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	sbfiz	x10, x9, #3, #32
	ldr	x11, [x25, x10]
	add	x12, x11, #1
	str	x12, [x25, x10]
	cmp	x11, x20
	csinc	x20, x20, x11, lt
	ldur	x10, [x29, #-112]               ; 8-byte Folded Reload
	csel	w10, w10, w9, lt
	stur	x10, [x29, #-112]               ; 8-byte Folded Spill
LBB0_7:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldrsw	x9, [x8, #4]
Lloh35:
	adrp	x10, _MTREE_MAXGID@GOTPAGE
Lloh36:
	ldr	x10, [x10, _MTREE_MAXGID@GOTPAGEOFF]
Lloh37:
	ldr	w10, [x10]
	cmp	w9, w10
	b.ge	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	lsl	x10, x9, #3
	ldr	x11, [x24, x10]
	add	x12, x11, #1
	str	x12, [x24, x10]
	cmp	x11, x26
	csinc	x26, x26, x11, lt
	ldur	x10, [x29, #-104]               ; 8-byte Folded Reload
	csel	w10, w10, w9, lt
	stur	x10, [x29, #-104]               ; 8-byte Folded Spill
LBB0_9:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldrsw	x8, [x8, #8]
Lloh38:
	adrp	x9, _MTREE_MAXUID@GOTPAGE
Lloh39:
	ldr	x9, [x9, _MTREE_MAXUID@GOTPAGEOFF]
Lloh40:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ge	LBB0_2
; %bb.10:                               ;   in Loop: Header=BB0_3 Depth=1
	lsl	x9, x8, #3
	ldr	x10, [x28, x9]
	add	x11, x10, #1
	str	x11, [x28, x9]
	cmp	x10, x23
	csinc	x23, x23, x10, lt
	ldur	x9, [x29, #-96]                 ; 8-byte Folded Reload
	csel	w9, w9, w8, lt
	stur	x9, [x29, #-96]                 ; 8-byte Folded Spill
	b	LBB0_2
LBB0_11:
Lloh41:
	adrp	x20, _keys@GOTPAGE
Lloh42:
	ldr	x20, [x20, _keys@GOTPAGEOFF]
	ldr	w9, [x20]
Lloh43:
	adrp	x26, _F_UNAME@GOTPAGE
Lloh44:
	ldr	x26, [x26, _F_UNAME@GOTPAGEOFF]
	ldr	w8, [x26]
Lloh45:
	adrp	x21, _F_UID@GOTPAGE
Lloh46:
	ldr	x21, [x21, _F_UID@GOTPAGEOFF]
	ldr	w10, [x21]
	orr	w10, w10, w8
Lloh47:
	adrp	x25, _F_GNAME@GOTPAGE
Lloh48:
	ldr	x25, [x25, _F_GNAME@GOTPAGEOFF]
Lloh49:
	adrp	x28, _F_GID@GOTPAGE
Lloh50:
	ldr	x28, [x28, _F_GID@GOTPAGEOFF]
Lloh51:
	adrp	x23, _F_MODE@GOTPAGE
Lloh52:
	ldr	x23, [x23, _F_MODE@GOTPAGEOFF]
Lloh53:
	adrp	x27, _F_FLAGS@GOTPAGE
Lloh54:
	ldr	x27, [x27, _F_FLAGS@GOTPAGEOFF]
	adrp	x8, _statd.first@PAGE
	tst	w10, w9
	b.eq	LBB0_13
; %bb.12:
	ldur	x10, [x29, #-120]               ; 8-byte Folded Reload
	ldr	w10, [x10]
	ldur	x11, [x29, #-96]                ; 8-byte Folded Reload
	cmp	w10, w11
	b.ne	LBB0_25
LBB0_13:
	ldr	w10, [x25]
	ldr	w11, [x28]
	orr	w10, w11, w10
	tst	w10, w9
	b.eq	LBB0_15
; %bb.14:
	ldur	x10, [x29, #-128]               ; 8-byte Folded Reload
	ldr	w10, [x10]
	ldur	x11, [x29, #-104]               ; 8-byte Folded Reload
	cmp	w10, w11
	b.ne	LBB0_25
LBB0_15:
	ldr	w10, [x23]
	tst	w10, w9
	b.eq	LBB0_17
; %bb.16:
	ldur	x10, [x29, #-136]               ; 8-byte Folded Reload
	ldr	w10, [x10]
	ldur	x11, [x29, #-112]               ; 8-byte Folded Reload
	cmp	w10, w11
	b.ne	LBB0_25
LBB0_17:
	ldr	w10, [x27]
	tst	w10, w9
	b.eq	LBB0_24
; %bb.18:
	ldur	x9, [x29, #-160]                ; 8-byte Folded Reload
	ldr	w9, [x9]
	ldur	w10, [x29, #-140]               ; 4-byte Folded Reload
	cmp	w9, w10
	b.ne	LBB0_25
; %bb.19:
	ldrb	w9, [x8, _statd.first@PAGEOFF]
	cbz	w9, LBB0_25
LBB0_20:
	mov	w0, #0
	b	LBB0_54
LBB0_21:
	ldur	x0, [x29, #-160]                ; 8-byte Folded Reload
Lloh55:
	adrp	x20, _errno@GOTPAGE
Lloh56:
	ldr	x20, [x20, _errno@GOTPAGEOFF]
	ldr	x8, [x20]
	cbz	x8, LBB0_23
; %bb.22:
	bl	_RP
	mov	x19, x0
	ldr	x0, [x20]
	bl	_strerror
	mov	x2, x0
Lloh57:
	adrp	x0, l_.str@PAGE
Lloh58:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	bl	_mtree_err
LBB0_23:
	mov	w0, #1
	b	LBB0_54
LBB0_24:
	ldrb	w9, [x8, _statd.first@PAGEOFF]
	tbnz	w9, #0, LBB0_20
LBB0_25:
	mov	w9, #1
	strb	w9, [x8, _statd.first@PAGEOFF]
	ldr	x8, [x14]
	ldr	x9, [x15]
	cmp	x8, x9
	b.eq	LBB0_28
; %bb.26:
	ldr	x8, [x22]
	cbz	x8, LBB0_28
; %bb.27:
Lloh59:
	adrp	x0, l_.str.1@PAGE
Lloh60:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	w1, #13
	b	LBB0_29
LBB0_28:
Lloh61:
	adrp	x0, l_.str.2@PAGE
Lloh62:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	w1, #14
LBB0_29:
	mov	w2, #1
	ldur	x22, [x29, #-152]               ; 8-byte Folded Reload
	mov	x3, x22
	bl	_fwrite
	ldur	x24, [x29, #-104]               ; 8-byte Folded Reload
	ldr	w8, [x20]
	ldr	w10, [x21]
	ldr	w9, [x26]
	orr	w10, w9, w10
	tst	w10, w8
	b.eq	LBB0_33
; %bb.30:
	tst	w9, w8
	b.eq	LBB0_34
; %bb.31:
	ldur	x0, [x29, #-96]                 ; 8-byte Folded Reload
                                        ; kill: def $w0 killed $w0 killed $x0
	mov	w1, #1
	bl	_user_from_uid
	mov	x19, x0
	cbz	x0, LBB0_35
; %bb.32:
	str	x19, [sp, #-16]!
Lloh63:
	adrp	x1, l_.str.3@PAGE
Lloh64:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x22
	bl	_fprintf
	add	sp, sp, #16
	b	LBB0_35
LBB0_33:
	mov	x19, #0
	b	LBB0_39
LBB0_34:
	mov	x19, #0
LBB0_35:
	ldr	w8, [x20]
	ldr	w9, [x21]
	tst	w9, w8
	b.ne	LBB0_38
; %bb.36:
	ldr	w9, [x26]
	tst	w9, w8
	b.eq	LBB0_39
; %bb.37:
	cbnz	x19, LBB0_39
LBB0_38:
	ldur	x8, [x29, #-96]                 ; 8-byte Folded Reload
	str	x8, [sp, #-16]!
Lloh65:
	adrp	x1, l_.str.4@PAGE
Lloh66:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x22
	bl	_fprintf
	add	sp, sp, #16
	ldr	w8, [x20]
LBB0_39:
	ldr	w10, [x28]
	ldr	w9, [x25]
	orr	w10, w9, w10
	tst	w10, w8
	ldur	x21, [x29, #-160]               ; 8-byte Folded Reload
	b.eq	LBB0_47
; %bb.40:
	tst	w9, w8
	b.eq	LBB0_43
; %bb.41:
	mov	x0, x24
	mov	w1, #1
	bl	_group_from_gid
	mov	x19, x0
	cbz	x0, LBB0_43
; %bb.42:
	str	x19, [sp, #-16]!
Lloh67:
	adrp	x1, l_.str.5@PAGE
Lloh68:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x22
	bl	_fprintf
	add	sp, sp, #16
LBB0_43:
	ldr	w8, [x20]
	ldr	w9, [x28]
	tst	w9, w8
	b.ne	LBB0_46
; %bb.44:
	ldr	w9, [x25]
	tst	w9, w8
	b.eq	LBB0_47
; %bb.45:
	cbnz	x19, LBB0_47
LBB0_46:
	str	x24, [sp, #-16]!
Lloh69:
	adrp	x1, l_.str.6@PAGE
Lloh70:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x22
	bl	_fprintf
	add	sp, sp, #16
	ldr	w8, [x20]
LBB0_47:
	ldr	w9, [x23]
	tst	w9, w8
	ldur	x23, [x29, #-112]               ; 8-byte Folded Reload
	b.eq	LBB0_49
; %bb.48:
	str	x23, [sp, #-16]!
Lloh71:
	adrp	x1, l_.str.7@PAGE
Lloh72:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x22
	bl	_fprintf
	add	sp, sp, #16
	ldr	w8, [x20]
LBB0_49:
Lloh73:
	adrp	x9, _F_NLINK@GOTPAGE
Lloh74:
	ldr	x9, [x9, _F_NLINK@GOTPAGEOFF]
Lloh75:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_51
; %bb.50:
Lloh76:
	adrp	x0, l_.str.8@PAGE
Lloh77:
	add	x0, x0, l_.str.8@PAGEOFF
	mov	w1, #8
	mov	w2, #1
	mov	x3, x22
	bl	_fwrite
	ldr	w8, [x20]
LBB0_51:
	ldr	w9, [x27]
	tst	w9, w8
	ldur	w20, [x29, #-140]               ; 4-byte Folded Reload
	b.eq	LBB0_53
; %bb.52:
Lloh78:
	adrp	x1, l_.str.9@PAGE
Lloh79:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	x0, x20
	bl	_flags_to_string
	mov	x19, x0
	str	x0, [sp, #-16]!
Lloh80:
	adrp	x1, l_.str.10@PAGE
Lloh81:
	add	x1, x1, l_.str.10@PAGEOFF
	mov	x0, x22
	bl	_fprintf
	add	sp, sp, #16
	mov	x0, x19
	bl	_free
LBB0_53:
	mov	w0, #10
	mov	x1, x22
	bl	_fputc
	mov	w0, #0
	ldur	x8, [x29, #-120]                ; 8-byte Folded Reload
	ldur	x9, [x29, #-96]                 ; 8-byte Folded Reload
	str	w9, [x8]
	ldur	x8, [x29, #-128]                ; 8-byte Folded Reload
	str	w24, [x8]
	ldur	x8, [x29, #-136]                ; 8-byte Folded Reload
	str	w23, [x8]
	str	w20, [x21]
LBB0_54:
	ldur	x8, [x29, #-88]
Lloh82:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh83:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh84:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_56
; %bb.55:
	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_56:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh53, Lloh54
	.loh AdrpLdrGot	Lloh51, Lloh52
	.loh AdrpLdrGot	Lloh49, Lloh50
	.loh AdrpLdrGot	Lloh47, Lloh48
	.loh AdrpLdrGot	Lloh45, Lloh46
	.loh AdrpLdrGot	Lloh43, Lloh44
	.loh AdrpLdrGot	Lloh41, Lloh42
	.loh AdrpLdrGot	Lloh55, Lloh56
	.loh AdrpAdd	Lloh57, Lloh58
	.loh AdrpAdd	Lloh59, Lloh60
	.loh AdrpAdd	Lloh61, Lloh62
	.loh AdrpAdd	Lloh63, Lloh64
	.loh AdrpAdd	Lloh65, Lloh66
	.loh AdrpAdd	Lloh67, Lloh68
	.loh AdrpAdd	Lloh69, Lloh70
	.loh AdrpAdd	Lloh71, Lloh72
	.loh AdrpLdrGotLdr	Lloh73, Lloh74, Lloh75
	.loh AdrpAdd	Lloh76, Lloh77
	.loh AdrpAdd	Lloh80, Lloh81
	.loh AdrpAdd	Lloh78, Lloh79
	.loh AdrpLdrGotLdr	Lloh82, Lloh83, Lloh84
	.cfi_endproc
                                        ; -- End function
	.comm	_MTREE_MAXGID,4,2               ; @MTREE_MAXGID
	.comm	_MTREE_MAXUID,4,2               ; @MTREE_MAXUID
	.comm	_MTREE_MAXMODE,4,2              ; @MTREE_MAXMODE
	.comm	_MTREE_MAXFLAGS,4,2             ; @MTREE_MAXFLAGS
.zerofill __DATA,__bss,_statd.first,1,2 ; @statd.first
	.comm	_errno,8,3                      ; @errno
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: %s"

	.comm	_flavor,8,3                     ; @flavor
	.comm	_F_NETBSD6,8,3                  ; @F_NETBSD6
	.comm	_dflag,8,3                      ; @dflag
	.comm	_MBITS,4,2                      ; @MBITS
	.comm	_keys,4,2                       ; @keys
	.comm	_F_UNAME,4,2                    ; @F_UNAME
	.comm	_F_UID,4,2                      ; @F_UID
	.comm	_F_GNAME,4,2                    ; @F_GNAME
	.comm	_F_GID,4,2                      ; @F_GID
	.comm	_F_MODE,4,2                     ; @F_MODE
	.comm	_F_FLAGS,4,2                    ; @F_FLAGS
l_.str.1:                               ; @.str.1
	.asciz	"/set type=dir"

l_.str.2:                               ; @.str.2
	.asciz	"/set type=file"

l_.str.3:                               ; @.str.3
	.asciz	" uname=%s"

l_.str.4:                               ; @.str.4
	.asciz	" uid=%lu"

l_.str.5:                               ; @.str.5
	.asciz	" gname=%s"

l_.str.6:                               ; @.str.6
	.asciz	" gid=%lu"

l_.str.7:                               ; @.str.7
	.asciz	" mode=%#lo"

	.comm	_F_NLINK,4,2                    ; @F_NLINK
l_.str.8:                               ; @.str.8
	.asciz	" nlink=1"

l_.str.9:                               ; @.str.9
	.asciz	"none"

l_.str.10:                              ; @.str.10
	.asciz	" flags=%s"

	.no_dead_strip	_statd
.subsections_via_symbols
