	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function apply_specdir
_apply_specdir:                         ## @apply_specdir
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r15d
	movq	%rdx, %rbx
	movq	%rsi, %r14
	movq	%rdi, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAXPATHLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	incl	%eax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -72(%rbp)                 ## 8-byte Spill
	xorl	%edi, %edi
	testq	%r14, %r14
	setne	%dil
	callq	_assert
	xorl	%edi, %edi
	testq	%rbx, %rbx
	setne	%dil
	callq	_assert
	movq	_debug@GOTPCREL(%rip), %rcx
	movq	_DEBUG_APPLY_SPECFILE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rcx)
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	movq	%r13, %rsi
	movq	%r14, %rdx
	movq	%rbx, %rcx
	xorl	%eax, %eax
	callq	_printf
LBB0_2:
	movq	(%r14), %rax
	movq	_F_DIR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_4
## %bb.3:
	movq	8(%r14), %rcx
	leaq	L_.str.1(%rip), %rsi
	movl	$1, %edi
	movq	%r13, %rdx
	xorl	%eax, %eax
	callq	_errx
LBB0_4:
	movq	(%rbx), %rax
	movq	_S_IFDIR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_6
## %bb.5:
	movq	8(%rbx), %rcx
	leaq	L_.str.2(%rip), %rsi
	movl	$1, %edi
	movq	%r13, %rdx
	xorl	%eax, %eax
	callq	_errx
LBB0_6:
	movq	%r13, %r12
	movq	%r13, %rdi
	movq	%r14, %rsi
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdx
	callq	_apply_specentry
	movl	%r15d, -60(%rbp)                ## 4-byte Spill
	testl	%r15d, %r15d
	je	LBB0_18
## %bb.7:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	8(%rbx), %rax
	xorl	%edi, %edi
	cmpb	$46, (%rax)
	jne	LBB0_9
## %bb.8:
	xorl	%edi, %edi
	cmpb	$0, 1(%rax)
	sete	%dil
LBB0_9:
	callq	_assert
	movq	48(%rbx), %rbx
	testq	%rbx, %rbx
	jne	LBB0_10
LBB0_18:
	movq	40(%r14), %r14
	testq	%r14, %r14
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	jne	LBB0_19
LBB0_54:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_56
## %bb.55:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.p2align	4, 0x90
LBB0_52:                                ##   in Loop: Header=BB0_19 Depth=1
	xorl	%edi, %edi
	cmpq	$0, 16(%rbx)
	setne	%dil
	callq	_assert
	movq	16(%rbx), %rdx
	movq	%r13, %rdi
	movq	%r14, %rsi
	movl	-60(%rbp), %ecx                 ## 4-byte Reload
	callq	_apply_specdir
LBB0_53:                                ##   in Loop: Header=BB0_19 Depth=1
	movq	32(%r14), %r14
	testq	%r14, %r14
	je	LBB0_54
LBB0_19:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_23 Depth 2
	movq	_DEBUG_APPLY_SPECENTRY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_debug@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_19 Depth=1
	movq	8(%r14), %rsi
	leaq	L_.str.4(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
LBB0_21:                                ##   in Loop: Header=BB0_19 Depth=1
	movq	48(%r15), %rbx
	testq	%rbx, %rbx
	je	LBB0_22
	.p2align	4, 0x90
LBB0_23:                                ##   Parent Loop BB0_19 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	8(%r14), %rdi
	movq	8(%rbx), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_26
## %bb.24:                              ##   in Loop: Header=BB0_23 Depth=2
	movq	48(%rbx), %rbx
	testq	%rbx, %rbx
	jne	LBB0_23
## %bb.25:                              ##   in Loop: Header=BB0_19 Depth=1
	xorl	%ebx, %ebx
LBB0_26:                                ##   in Loop: Header=BB0_19 Depth=1
	testq	%rax, %rax
	setne	%r15b
	jmp	LBB0_27
	.p2align	4, 0x90
LBB0_22:                                ##   in Loop: Header=BB0_19 Depth=1
	movb	$1, %r15b
	xorl	%ebx, %ebx
LBB0_27:                                ##   in Loop: Header=BB0_19 Depth=1
	movq	8(%r14), %r8
	movq	%r13, %rdi
	movq	-80(%rbp), %r13                 ## 8-byte Reload
	movl	%r13d, %esi
	leaq	L_.str.5(%rip), %rdx
	movq	%r12, %rcx
	callq	_snprintf
	cmpq	%r13, %rax
	jb	LBB0_29
## %bb.28:                              ##   in Loop: Header=BB0_19 Depth=1
	movl	$1, %edi
	leaq	L_.str.6(%rip), %rsi
	xorl	%eax, %eax
	callq	_errx
LBB0_29:                                ##   in Loop: Header=BB0_19 Depth=1
	testb	%r15b, %r15b
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	je	LBB0_49
## %bb.30:                              ##   in Loop: Header=BB0_19 Depth=1
	movl	16(%r14), %eax
	movq	_F_OPT@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_33
## %bb.31:                              ##   in Loop: Header=BB0_19 Depth=1
	movq	%r13, %rdi
	leaq	-112(%rbp), %rsi
	callq	_lstat
	cmpl	$-1, %eax
	je	LBB0_53
## %bb.32:                              ##   in Loop: Header=BB0_19 Depth=1
	movl	16(%r14), %eax
LBB0_33:                                ##   in Loop: Header=BB0_19 Depth=1
	movq	_F_TYPE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_35
## %bb.34:                              ##   in Loop: Header=BB0_19 Depth=1
	movl	$1, %edi
	leaq	L_.str.7(%rip), %rsi
	movq	%r13, %rdx
	leaq	L_.str.8(%rip), %rcx
	xorl	%eax, %eax
	callq	_errx
	movl	16(%r14), %eax
LBB0_35:                                ##   in Loop: Header=BB0_19 Depth=1
	movq	_F_MODE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_37
## %bb.36:                              ##   in Loop: Header=BB0_19 Depth=1
	movl	$1, %edi
	leaq	L_.str.7(%rip), %rsi
	movq	%r13, %rdx
	leaq	L_.str.9(%rip), %rcx
	xorl	%eax, %eax
	callq	_errx
	movl	16(%r14), %eax
LBB0_37:                                ##   in Loop: Header=BB0_19 Depth=1
	movq	_F_GID@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_40
## %bb.38:                              ##   in Loop: Header=BB0_19 Depth=1
	movq	_F_GNAME@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_40
## %bb.39:                              ##   in Loop: Header=BB0_19 Depth=1
	movl	$1, %edi
	leaq	L_.str.7(%rip), %rsi
	movq	%r13, %rdx
	leaq	L_.str.10(%rip), %rcx
	xorl	%eax, %eax
	callq	_errx
	movl	16(%r14), %eax
	.p2align	4, 0x90
LBB0_40:                                ##   in Loop: Header=BB0_19 Depth=1
	movq	_F_UID@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_43
## %bb.41:                              ##   in Loop: Header=BB0_19 Depth=1
	movq	_F_UNAME@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_43
## %bb.42:                              ##   in Loop: Header=BB0_19 Depth=1
	movl	$1, %edi
	leaq	L_.str.7(%rip), %rsi
	movq	%r13, %rdx
	leaq	L_.str.11(%rip), %rcx
	xorl	%eax, %eax
	callq	_errx
	.p2align	4, 0x90
LBB0_43:                                ##   in Loop: Header=BB0_19 Depth=1
	movq	_DEBUG_APPLY_SPECFILE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_debug@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_45
## %bb.44:                              ##   in Loop: Header=BB0_19 Depth=1
	movq	8(%r14), %rsi
	leaq	L_.str.12(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
LBB0_45:                                ##   in Loop: Header=BB0_19 Depth=1
	leaq	-112(%rbp), %rbx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$32, %edx
	callq	_memset
	movq	(%r14), %rdi
	callq	_nodetoino
	movl	%eax, -84(%rbp)
	movl	$1, -112(%rbp)
	movq	_start_time@GOTPCREL(%rip), %rax
	movl	4(%rax), %eax
	movl	%eax, -96(%rbp)
	movl	%eax, -92(%rbp)
	movl	%eax, -88(%rbp)
	movq	8(%r14), %rdx
	leaq	L_.str.13(%rip), %rdi
	movq	%rdi, %rsi
	movq	%rbx, %rcx
	callq	_create_fsnode
	movq	%rax, %rbx
	movq	%r15, 32(%rax)
	movups	40(%r15), %xmm0
	movups	%xmm0, 40(%rax)
	movq	%rax, 48(%r15)
	movq	(%rax), %rax
	movq	_S_IFDIR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_47
## %bb.46:                              ##   in Loop: Header=BB0_19 Depth=1
	leaq	L_.str.13(%rip), %rdi
	movq	%rdi, %rsi
	movq	%rdi, %rdx
	leaq	-112(%rbp), %rcx
	callq	_create_fsnode
	movq	%rax, 16(%rbx)
	movq	%rbx, 40(%rax)
	movq	%rax, 32(%rax)
	movq	(%rbx), %rax
LBB0_47:                                ##   in Loop: Header=BB0_19 Depth=1
	movq	_S_IFLNK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_49
## %bb.48:                              ##   in Loop: Header=BB0_19 Depth=1
	xorl	%edi, %edi
	cmpq	$0, 24(%r14)
	setne	%dil
	callq	_assert
	movq	24(%r14), %rdi
	callq	_estrdup
	movl	%eax, 24(%rbx)
LBB0_49:                                ##   in Loop: Header=BB0_19 Depth=1
	movq	%r12, %rdi
	movq	%r14, %rsi
	movq	%rbx, %rdx
	callq	_apply_specentry
	movq	(%r14), %rax
	movq	_F_DIR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_53
## %bb.50:                              ##   in Loop: Header=BB0_19 Depth=1
	movq	(%rbx), %rax
	movq	_S_IFDIR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_52
## %bb.51:                              ##   in Loop: Header=BB0_19 Depth=1
	movl	$1, %edi
	leaq	L_.str.14(%rip), %rsi
	movq	%r13, %rdx
	xorl	%eax, %eax
	callq	_errx
	jmp	LBB0_52
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_10 Depth=1
	movq	%rbx, %rdi
	callq	_free_fsnodes
LBB0_17:                                ##   in Loop: Header=BB0_10 Depth=1
	movq	%r15, %rbx
	testq	%r15, %r15
	je	LBB0_18
LBB0_10:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_13 Depth 2
	movq	48(%rbx), %r15
	movq	40(%r14), %r13
	testq	%r13, %r13
	je	LBB0_14
	.p2align	4, 0x90
LBB0_13:                                ##   Parent Loop BB0_10 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	8(%r13), %rdi
	movq	8(%rbx), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_17
## %bb.11:                              ##   in Loop: Header=BB0_13 Depth=2
	movq	32(%r13), %r13
	testq	%r13, %r13
	jne	LBB0_13
LBB0_14:                                ##   in Loop: Header=BB0_10 Depth=1
	movq	_DEBUG_APPLY_SPECONLY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_debug@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	8(%rbx), %rdx
	leaq	L_.str.3(%rip), %rdi
	movq	%r12, %rsi
	movq	%rbx, %rcx
	xorl	%eax, %eax
	callq	_printf
	jmp	LBB0_16
LBB0_56:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAXPATHLEN,4,2                 ## @MAXPATHLEN
	.comm	_debug,4,2                      ## @debug
	.comm	_DEBUG_APPLY_SPECFILE,4,2       ## @DEBUG_APPLY_SPECFILE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"apply_specdir: %s %p %p\n"

	.comm	_F_DIR,8,3                      ## @F_DIR
L_.str.1:                               ## @.str.1
	.asciz	"Specfile node `%s/%s' is not a directory"

	.comm	_S_IFDIR,8,3                    ## @S_IFDIR
L_.str.2:                               ## @.str.2
	.asciz	"Directory node `%s/%s' is not a directory"

	.comm	_DEBUG_APPLY_SPECONLY,4,2       ## @DEBUG_APPLY_SPECONLY
L_.str.3:                               ## @.str.3
	.asciz	"apply_specdir: trimming %s/%s %p\n"

	.comm	_DEBUG_APPLY_SPECENTRY,4,2      ## @DEBUG_APPLY_SPECENTRY
L_.str.4:                               ## @.str.4
	.asciz	"apply_specdir:  spec %s\n"

L_.str.5:                               ## @.str.5
	.asciz	"%s/%s"

L_.str.6:                               ## @.str.6
	.asciz	"Pathname too long."

	.comm	_F_OPT,4,2                      ## @F_OPT
	.comm	_F_TYPE,4,2                     ## @F_TYPE
L_.str.7:                               ## @.str.7
	.asciz	"`%s': %s not provided"

L_.str.8:                               ## @.str.8
	.asciz	"type"

	.comm	_F_MODE,4,2                     ## @F_MODE
L_.str.9:                               ## @.str.9
	.asciz	"mode"

	.comm	_F_GID,4,2                      ## @F_GID
	.comm	_F_GNAME,4,2                    ## @F_GNAME
L_.str.10:                              ## @.str.10
	.asciz	"group"

	.comm	_F_UID,4,2                      ## @F_UID
	.comm	_F_UNAME,4,2                    ## @F_UNAME
L_.str.11:                              ## @.str.11
	.asciz	"user"

L_.str.12:                              ## @.str.12
	.asciz	"apply_specdir: adding %s\n"

	.comm	_start_time,8,2                 ## @start_time
L_.str.13:                              ## @.str.13
	.asciz	"."

	.comm	_S_IFLNK,8,3                    ## @S_IFLNK
L_.str.14:                              ## @.str.14
	.asciz	"`%s' is not a directory"

	.no_dead_strip	_apply_specdir
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function apply_specdir
_apply_specdir:                         ; @apply_specdir
	.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, #48
	mov	x19, x3
	mov	x20, x2
	mov	x24, x1
	mov	x21, 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, _MAXPATHLEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAXPATHLEN@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	add	w22, w8, #1
	mov	x9, x22
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x22, #15
	and	x9, x9, #0x1fffffff0
	sub	x23, x8, x9
	mov	sp, x23
	cmp	x1, #0
	cset	w0, ne
	bl	_assert
	cmp	x20, #0
	cset	w0, ne
	bl	_assert
Lloh8:
	adrp	x8, _debug@GOTPAGE
Lloh9:
	ldr	x8, [x8, _debug@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
Lloh11:
	adrp	x9, _DEBUG_APPLY_SPECFILE@GOTPAGE
Lloh12:
	ldr	x9, [x9, _DEBUG_APPLY_SPECFILE@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	stp	x24, x20, [sp, #-16]!
Lloh14:
	adrp	x0, l_.str@PAGE
Lloh15:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x21
	bl	_printf
	add	sp, sp, #16
LBB0_2:
	ldr	x8, [x24]
Lloh16:
	adrp	x9, _F_DIR@GOTPAGE
Lloh17:
	ldr	x9, [x9, _F_DIR@GOTPAGEOFF]
Lloh18:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_4
; %bb.3:
	ldr	x8, [x24, #8]
	stp	x21, x8, [sp, #-16]!
Lloh19:
	adrp	x1, l_.str.1@PAGE
Lloh20:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #1
	bl	_errx
	add	sp, sp, #16
LBB0_4:
	ldr	x8, [x20]
Lloh21:
	adrp	x9, _S_IFDIR@GOTPAGE
Lloh22:
	ldr	x9, [x9, _S_IFDIR@GOTPAGEOFF]
Lloh23:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_6
; %bb.5:
	ldr	x8, [x20, #8]
	stp	x21, x8, [sp, #-16]!
Lloh24:
	adrp	x1, l_.str.2@PAGE
Lloh25:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w0, #1
	bl	_errx
	add	sp, sp, #16
LBB0_6:
	mov	x0, x21
	mov	x1, x24
	mov	x2, x20
	bl	_apply_specentry
	stur	w19, [x29, #-124]               ; 4-byte Folded Spill
	cbz	w19, LBB0_19
; %bb.7:
	ldr	x8, [x20, #8]
	ldrb	w9, [x8]
	cmp	w9, #46
	b.ne	LBB0_9
; %bb.8:
	ldrb	w8, [x8, #1]
	cmp	w8, #0
	cset	w0, eq
	b	LBB0_10
LBB0_9:
	mov	w0, #0
LBB0_10:
	bl	_assert
	ldr	x25, [x20, #48]
	cbz	x25, LBB0_19
; %bb.11:
Lloh26:
	adrp	x27, _DEBUG_APPLY_SPECONLY@GOTPAGE
Lloh27:
	ldr	x27, [x27, _DEBUG_APPLY_SPECONLY@GOTPAGEOFF]
Lloh28:
	adrp	x26, l_.str.3@PAGE
Lloh29:
	add	x26, x26, l_.str.3@PAGEOFF
	b	LBB0_14
LBB0_12:                                ;   in Loop: Header=BB0_14 Depth=1
	mov	x0, x25
	bl	_free_fsnodes
LBB0_13:                                ;   in Loop: Header=BB0_14 Depth=1
	mov	x25, x28
	cbz	x28, LBB0_19
LBB0_14:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_15 Depth 2
	ldr	x28, [x25, #48]
	ldr	x19, [x24, #40]
	cbz	x19, LBB0_17
LBB0_15:                                ;   Parent Loop BB0_14 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x0, [x19, #8]
	ldr	x1, [x25, #8]
	bl	_strcmp
	cbz	x0, LBB0_13
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=2
	ldr	x19, [x19, #32]
	cbnz	x19, LBB0_15
LBB0_17:                                ;   in Loop: Header=BB0_14 Depth=1
Lloh30:
	adrp	x8, _debug@GOTPAGE
Lloh31:
	ldr	x8, [x8, _debug@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
	ldr	w9, [x27]
	tst	w9, w8
	b.eq	LBB0_12
; %bb.18:                               ;   in Loop: Header=BB0_14 Depth=1
	ldr	x8, [x25, #8]
	stp	x8, x25, [sp, #-16]!
	mov	x0, x26
	mov	x1, x21
	bl	_printf
	add	sp, sp, #16
	b	LBB0_12
LBB0_19:
	ldr	x24, [x24, #40]
	ldur	w19, [x29, #-124]               ; 4-byte Folded Reload
	cbz	x24, LBB0_55
; %bb.20:
Lloh33:
	adrp	x25, l_.str.5@PAGE
Lloh34:
	add	x25, x25, l_.str.5@PAGEOFF
Lloh35:
	adrp	x27, l_.str.13@PAGE
Lloh36:
	add	x27, x27, l_.str.13@PAGEOFF
	b	LBB0_23
LBB0_21:                                ;   in Loop: Header=BB0_23 Depth=1
	ldr	x8, [x28, #16]
	cmp	x8, #0
	cset	w0, ne
	bl	_assert
	ldr	x2, [x28, #16]
	mov	x0, x23
	mov	x1, x24
	mov	x3, x19
	bl	_apply_specdir
LBB0_22:                                ;   in Loop: Header=BB0_23 Depth=1
	ldr	x24, [x24, #32]
	cbz	x24, LBB0_55
LBB0_23:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_26 Depth 2
Lloh37:
	adrp	x8, _debug@GOTPAGE
Lloh38:
	ldr	x8, [x8, _debug@GOTPAGEOFF]
Lloh39:
	ldr	w8, [x8]
Lloh40:
	adrp	x9, _DEBUG_APPLY_SPECENTRY@GOTPAGE
Lloh41:
	ldr	x9, [x9, _DEBUG_APPLY_SPECENTRY@GOTPAGEOFF]
Lloh42:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_25
; %bb.24:                               ;   in Loop: Header=BB0_23 Depth=1
	ldr	x1, [x24, #8]
Lloh43:
	adrp	x0, l_.str.4@PAGE
Lloh44:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_printf
LBB0_25:                                ;   in Loop: Header=BB0_23 Depth=1
	ldr	x28, [x20, #48]
	cbz	x28, LBB0_29
LBB0_26:                                ;   Parent Loop BB0_23 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x0, [x24, #8]
	ldr	x1, [x28, #8]
	bl	_strcmp
	cbz	x0, LBB0_28
; %bb.27:                               ;   in Loop: Header=BB0_26 Depth=2
	ldr	x28, [x28, #48]
	cbnz	x28, LBB0_26
LBB0_28:                                ;   in Loop: Header=BB0_23 Depth=1
	cmp	x0, #0
	cset	w26, ne
	b	LBB0_30
LBB0_29:                                ;   in Loop: Header=BB0_23 Depth=1
	mov	w26, #1
LBB0_30:                                ;   in Loop: Header=BB0_23 Depth=1
	ldr	x4, [x24, #8]
	mov	x0, x23
	mov	x1, x22
	mov	x2, x25
	mov	x3, x21
	bl	_snprintf
	cmp	x0, x22
	b.lo	LBB0_32
; %bb.31:                               ;   in Loop: Header=BB0_23 Depth=1
	mov	w0, #1
Lloh45:
	adrp	x1, l_.str.6@PAGE
Lloh46:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_errx
LBB0_32:                                ;   in Loop: Header=BB0_23 Depth=1
	cbz	w26, LBB0_52
; %bb.33:                               ;   in Loop: Header=BB0_23 Depth=1
	ldr	w8, [x24, #16]
Lloh47:
	adrp	x9, _F_OPT@GOTPAGE
Lloh48:
	ldr	x9, [x9, _F_OPT@GOTPAGEOFF]
Lloh49:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_36
; %bb.34:                               ;   in Loop: Header=BB0_23 Depth=1
	sub	x1, x29, #120
	mov	x0, x23
	bl	_lstat
	cmn	w0, #1
	b.eq	LBB0_22
; %bb.35:                               ;   in Loop: Header=BB0_23 Depth=1
	ldr	w8, [x24, #16]
LBB0_36:                                ;   in Loop: Header=BB0_23 Depth=1
Lloh50:
	adrp	x9, _F_TYPE@GOTPAGE
Lloh51:
	ldr	x9, [x9, _F_TYPE@GOTPAGEOFF]
Lloh52:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_38
; %bb.37:                               ;   in Loop: Header=BB0_23 Depth=1
Lloh53:
	adrp	x8, l_.str.8@PAGE
Lloh54:
	add	x8, x8, l_.str.8@PAGEOFF
	stp	x23, x8, [sp, #-16]!
	mov	w0, #1
Lloh55:
	adrp	x1, l_.str.7@PAGE
Lloh56:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_errx
	add	sp, sp, #16
	ldr	w8, [x24, #16]
LBB0_38:                                ;   in Loop: Header=BB0_23 Depth=1
Lloh57:
	adrp	x9, _F_MODE@GOTPAGE
Lloh58:
	ldr	x9, [x9, _F_MODE@GOTPAGEOFF]
Lloh59:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_40
; %bb.39:                               ;   in Loop: Header=BB0_23 Depth=1
Lloh60:
	adrp	x8, l_.str.9@PAGE
Lloh61:
	add	x8, x8, l_.str.9@PAGEOFF
	stp	x23, x8, [sp, #-16]!
	mov	w0, #1
Lloh62:
	adrp	x1, l_.str.7@PAGE
Lloh63:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_errx
	add	sp, sp, #16
	ldr	w8, [x24, #16]
LBB0_40:                                ;   in Loop: Header=BB0_23 Depth=1
Lloh64:
	adrp	x9, _F_GID@GOTPAGE
Lloh65:
	ldr	x9, [x9, _F_GID@GOTPAGEOFF]
Lloh66:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_43
; %bb.41:                               ;   in Loop: Header=BB0_23 Depth=1
Lloh67:
	adrp	x9, _F_GNAME@GOTPAGE
Lloh68:
	ldr	x9, [x9, _F_GNAME@GOTPAGEOFF]
Lloh69:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_43
; %bb.42:                               ;   in Loop: Header=BB0_23 Depth=1
Lloh70:
	adrp	x8, l_.str.10@PAGE
Lloh71:
	add	x8, x8, l_.str.10@PAGEOFF
	stp	x23, x8, [sp, #-16]!
	mov	w0, #1
Lloh72:
	adrp	x1, l_.str.7@PAGE
Lloh73:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_errx
	add	sp, sp, #16
	ldr	w8, [x24, #16]
LBB0_43:                                ;   in Loop: Header=BB0_23 Depth=1
Lloh74:
	adrp	x9, _F_UID@GOTPAGE
Lloh75:
	ldr	x9, [x9, _F_UID@GOTPAGEOFF]
Lloh76:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_46
; %bb.44:                               ;   in Loop: Header=BB0_23 Depth=1
Lloh77:
	adrp	x9, _F_UNAME@GOTPAGE
Lloh78:
	ldr	x9, [x9, _F_UNAME@GOTPAGEOFF]
Lloh79:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_46
; %bb.45:                               ;   in Loop: Header=BB0_23 Depth=1
Lloh80:
	adrp	x8, l_.str.11@PAGE
Lloh81:
	add	x8, x8, l_.str.11@PAGEOFF
	stp	x23, x8, [sp, #-16]!
	mov	w0, #1
Lloh82:
	adrp	x1, l_.str.7@PAGE
Lloh83:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_errx
	add	sp, sp, #16
LBB0_46:                                ;   in Loop: Header=BB0_23 Depth=1
Lloh84:
	adrp	x8, _debug@GOTPAGE
Lloh85:
	ldr	x8, [x8, _debug@GOTPAGEOFF]
Lloh86:
	ldr	w8, [x8]
Lloh87:
	adrp	x9, _DEBUG_APPLY_SPECFILE@GOTPAGE
Lloh88:
	ldr	x9, [x9, _DEBUG_APPLY_SPECFILE@GOTPAGEOFF]
Lloh89:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_48
; %bb.47:                               ;   in Loop: Header=BB0_23 Depth=1
	ldr	x1, [x24, #8]
Lloh90:
	adrp	x0, l_.str.12@PAGE
Lloh91:
	add	x0, x0, l_.str.12@PAGEOFF
	bl	_printf
LBB0_48:                                ;   in Loop: Header=BB0_23 Depth=1
	sub	x0, x29, #120
	mov	w1, #0
	mov	w2, #32
	bl	_memset
	ldr	x0, [x24]
	bl	_nodetoino
	stur	w0, [x29, #-92]
Lloh92:
	adrp	x8, _start_time@GOTPAGE
Lloh93:
	ldr	x8, [x8, _start_time@GOTPAGEOFF]
Lloh94:
	ldr	w8, [x8, #4]
	mov	w9, #1
	stur	w9, [x29, #-120]
	stp	w8, w8, [x29, #-104]
	stur	w8, [x29, #-96]
	ldr	x2, [x24, #8]
	sub	x3, x29, #120
	mov	x0, x27
	mov	x1, x27
	bl	_create_fsnode
	mov	x28, x0
	ldr	x8, [x20, #40]
	stp	x20, x8, [x0, #32]
	ldr	x8, [x20, #48]
	str	x8, [x0, #48]
	str	x0, [x20, #48]
	ldr	x8, [x0]
Lloh95:
	adrp	x9, _S_IFDIR@GOTPAGE
Lloh96:
	ldr	x9, [x9, _S_IFDIR@GOTPAGEOFF]
Lloh97:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_50
; %bb.49:                               ;   in Loop: Header=BB0_23 Depth=1
	sub	x3, x29, #120
	mov	x0, x27
	mov	x1, x27
	mov	x2, x27
	bl	_create_fsnode
	str	x0, [x28, #16]
	stp	x0, x28, [x0, #32]
	ldr	x8, [x28]
LBB0_50:                                ;   in Loop: Header=BB0_23 Depth=1
Lloh98:
	adrp	x9, _S_IFLNK@GOTPAGE
Lloh99:
	ldr	x9, [x9, _S_IFLNK@GOTPAGEOFF]
Lloh100:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_52
; %bb.51:                               ;   in Loop: Header=BB0_23 Depth=1
	ldr	x8, [x24, #24]
	cmp	x8, #0
	cset	w0, ne
	bl	_assert
	ldr	x0, [x24, #24]
	bl	_estrdup
	str	w0, [x28, #24]
LBB0_52:                                ;   in Loop: Header=BB0_23 Depth=1
	mov	x0, x21
	mov	x1, x24
	mov	x2, x28
	bl	_apply_specentry
	ldr	x8, [x24]
Lloh101:
	adrp	x9, _F_DIR@GOTPAGE
Lloh102:
	ldr	x9, [x9, _F_DIR@GOTPAGEOFF]
Lloh103:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_22
; %bb.53:                               ;   in Loop: Header=BB0_23 Depth=1
	ldr	x8, [x28]
Lloh104:
	adrp	x9, _S_IFDIR@GOTPAGE
Lloh105:
	ldr	x9, [x9, _S_IFDIR@GOTPAGEOFF]
Lloh106:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_21
; %bb.54:                               ;   in Loop: Header=BB0_23 Depth=1
	str	x23, [sp, #-16]!
	mov	w0, #1
Lloh107:
	adrp	x1, l_.str.14@PAGE
Lloh108:
	add	x1, x1, l_.str.14@PAGEOFF
	bl	_errx
	add	sp, sp, #16
	b	LBB0_21
LBB0_55:
	ldur	x8, [x29, #-88]
Lloh109:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh110:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh111:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_57
; %bb.56:
	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_57:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpAdd	Lloh55, Lloh56
	.loh AdrpAdd	Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpAdd	Lloh62, Lloh63
	.loh AdrpAdd	Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpAdd	Lloh72, Lloh73
	.loh AdrpAdd	Lloh70, Lloh71
	.loh AdrpLdrGotLdr	Lloh74, Lloh75, Lloh76
	.loh AdrpLdrGotLdr	Lloh77, Lloh78, Lloh79
	.loh AdrpAdd	Lloh82, Lloh83
	.loh AdrpAdd	Lloh80, Lloh81
	.loh AdrpLdrGotLdr	Lloh87, Lloh88, Lloh89
	.loh AdrpLdrGotLdr	Lloh84, Lloh85, Lloh86
	.loh AdrpAdd	Lloh90, Lloh91
	.loh AdrpLdrGotLdr	Lloh95, Lloh96, Lloh97
	.loh AdrpLdrGotLdr	Lloh92, Lloh93, Lloh94
	.loh AdrpLdrGotLdr	Lloh98, Lloh99, Lloh100
	.loh AdrpLdrGotLdr	Lloh101, Lloh102, Lloh103
	.loh AdrpLdrGotLdr	Lloh104, Lloh105, Lloh106
	.loh AdrpAdd	Lloh107, Lloh108
	.loh AdrpLdrGotLdr	Lloh109, Lloh110, Lloh111
	.cfi_endproc
                                        ; -- End function
	.comm	_MAXPATHLEN,4,2                 ; @MAXPATHLEN
	.comm	_debug,4,2                      ; @debug
	.comm	_DEBUG_APPLY_SPECFILE,4,2       ; @DEBUG_APPLY_SPECFILE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"apply_specdir: %s %p %p\n"

	.comm	_F_DIR,8,3                      ; @F_DIR
l_.str.1:                               ; @.str.1
	.asciz	"Specfile node `%s/%s' is not a directory"

	.comm	_S_IFDIR,8,3                    ; @S_IFDIR
l_.str.2:                               ; @.str.2
	.asciz	"Directory node `%s/%s' is not a directory"

	.comm	_DEBUG_APPLY_SPECONLY,4,2       ; @DEBUG_APPLY_SPECONLY
l_.str.3:                               ; @.str.3
	.asciz	"apply_specdir: trimming %s/%s %p\n"

	.comm	_DEBUG_APPLY_SPECENTRY,4,2      ; @DEBUG_APPLY_SPECENTRY
l_.str.4:                               ; @.str.4
	.asciz	"apply_specdir:  spec %s\n"

l_.str.5:                               ; @.str.5
	.asciz	"%s/%s"

l_.str.6:                               ; @.str.6
	.asciz	"Pathname too long."

	.comm	_F_OPT,4,2                      ; @F_OPT
	.comm	_F_TYPE,4,2                     ; @F_TYPE
l_.str.7:                               ; @.str.7
	.asciz	"`%s': %s not provided"

l_.str.8:                               ; @.str.8
	.asciz	"type"

	.comm	_F_MODE,4,2                     ; @F_MODE
l_.str.9:                               ; @.str.9
	.asciz	"mode"

	.comm	_F_GID,4,2                      ; @F_GID
	.comm	_F_GNAME,4,2                    ; @F_GNAME
l_.str.10:                              ; @.str.10
	.asciz	"group"

	.comm	_F_UID,4,2                      ; @F_UID
	.comm	_F_UNAME,4,2                    ; @F_UNAME
l_.str.11:                              ; @.str.11
	.asciz	"user"

l_.str.12:                              ; @.str.12
	.asciz	"apply_specdir: adding %s\n"

	.comm	_start_time,8,2                 ; @start_time
l_.str.13:                              ; @.str.13
	.asciz	"."

	.comm	_S_IFLNK,8,3                    ; @S_IFLNK
l_.str.14:                              ; @.str.14
	.asciz	"`%s' is not a directory"

	.no_dead_strip	_apply_specdir
.subsections_via_symbols
