	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function read_mtree_spec1
_read_mtree_spec1:                      ## @read_mtree_spec1
	.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
	movq	%rdx, %r15
	movl	%esi, %r14d
	movq	%rdi, %rbx
	xorl	%edi, %edi
	cmpb	$0, (%rdx)
	setne	%dil
	callq	_assert
	movq	%r15, %rdi
	callq	_IS_DOTDOT
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	_mtree_current@GOTPCREL(%rip), %r14
	movq	(%r14), %rbx
	movq	_mtree_root@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	je	LBB0_14
## %bb.2:
	xorl	%edi, %edi
	testq	%rbx, %rbx
	setne	%dil
	callq	_assert
	movq	(%rbx), %rdi
	callq	_IS_DOT
	movl	%eax, %edi
	callq	_assert
	xorl	%edi, %edi
	cmpq	%rbx, 8(%rbx)
	sete	%dil
	callq	_assert
	movq	(%r14), %rax
	movq	40(%rax), %rbx
	xorl	%edi, %edi
	testq	%rbx, %rbx
	setne	%dil
	callq	_assert
	movq	(%rbx), %rdi
	callq	_IS_DOT
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_assert
	movq	8(%rbx), %rbx
	xorl	%edi, %edi
	testq	%rbx, %rbx
	setne	%dil
	callq	_assert
	movq	(%rbx), %rdi
	callq	_IS_DOT
	movl	%eax, %edi
	callq	_assert
	xorl	%edi, %edi
	cmpq	%rbx, 8(%rbx)
	sete	%dil
	callq	_assert
	movq	%rbx, (%r14)
	xorl	%r12d, %r12d
	jmp	LBB0_43
LBB0_3:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	callq	_IS_DOT
	movq	_mtree_current@GOTPCREL(%rip), %r12
	movq	(%r12), %r13
	testl	%eax, %eax
	jne	LBB0_7
## %bb.4:
	testq	%r13, %r13
	jne	LBB0_7
## %bb.5:
	movq	%r12, %rbx
	leaq	L_.str.1(%rip), %rdx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	xorl	%esi, %esi
	callq	_read_mtree_spec1
	movl	%eax, %r12d
	testl	%eax, %eax
	jne	LBB0_43
## %bb.6:
	movq	%rbx, %r12
	movq	(%rbx), %r13
LBB0_7:
	testq	%r13, %r13
	je	LBB0_15
## %bb.8:
	xorl	%edi, %edi
	cmpq	%r13, 8(%r13)
	sete	%dil
	callq	_assert
	movq	(%r13), %rsi
	movq	%r15, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_16
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	24(%r13), %rbx
	movq	(%r12), %rax
	testq	%rbx, %rbx
	je	LBB0_19
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	xorl	%edi, %edi
	cmpq	%rax, 8(%rbx)
	sete	%dil
	callq	_assert
	movq	(%rbx), %rsi
	movq	%r15, %rdi
	callq	_strcmp
	movq	%rbx, %r13
	testq	%rax, %rax
	jne	LBB0_9
## %bb.11:
	cmpl	$1, %r14d
	jne	LBB0_17
LBB0_12:
	movq	_dupsok@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_22
## %bb.13:
	leaq	L_.str.2(%rip), %rdi
	xorl	%r12d, %r12d
	movq	%r15, %rsi
	xorl	%eax, %eax
	callq	_mtree_warning
	jmp	LBB0_43
LBB0_14:
	leaq	L_.str(%rip), %rdi
	xorl	%r12d, %r12d
	xorl	%eax, %eax
	callq	_mtree_warning
	jmp	LBB0_43
LBB0_15:
	xorl	%r13d, %r13d
LBB0_24:
	xorl	%r12d, %r12d
	testl	%r14d, %r14d
	jne	LBB0_25
	jmp	LBB0_26
LBB0_16:
	movq	%r13, %rbx
	cmpl	$1, %r14d
	je	LBB0_12
LBB0_17:
	movl	32(%rbx), %eax
	movq	_S_IFDIR@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_21
## %bb.18:
	movq	%r15, %rdi
	callq	_IS_DOT
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_assert
	movq	16(%rbx), %rbx
	xorl	%edi, %edi
	testq	%rbx, %rbx
	setne	%dil
	callq	_assert
	movq	(%rbx), %rdi
	callq	_IS_DOT
	movl	%eax, %edi
	callq	_assert
	movq	%rbx, (%r12)
	xorl	%r12d, %r12d
	jmp	LBB0_43
LBB0_19:
	testq	%rax, %rax
	je	LBB0_24
## %bb.20:
	movq	40(%rax), %r12
	testl	%r14d, %r14d
	je	LBB0_26
LBB0_25:
	movq	%r15, %rdi
	callq	_IS_DOT
	testl	%eax, %eax
	je	LBB0_27
LBB0_26:
	movq	_S_IFDIR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	jmp	LBB0_28
LBB0_27:
	xorl	%esi, %esi
LBB0_28:
	movq	_mtree_global@GOTPCREL(%rip), %rcx
	movq	%r15, %rdi
	movq	%r12, %rdx
	callq	_create_node
	testq	%rax, %rax
	je	LBB0_42
## %bb.29:
	movq	%rax, %rbx
	cmpl	$1, %r14d
	jne	LBB0_32
## %bb.30:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_read_mtree_keywords
	testl	%eax, %eax
	je	LBB0_32
## %bb.31:
	movl	%eax, %r12d
	movq	%rbx, %rdi
	callq	_destroy_node
	jmp	LBB0_43
LBB0_32:
	movq	_mtree_current@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	movq	%rbx, %rcx
	cmovneq	%rax, %rcx
	movq	%rcx, 8(%rbx)
	xorl	%r12d, %r12d
	testq	%r13, %r13
	je	LBB0_34
## %bb.33:
	movq	%rbx, 24(%r13)
	jmp	LBB0_35
LBB0_21:
	leaq	L_.str.3(%rip), %rdi
	jmp	LBB0_23
LBB0_34:
	xorl	%r13d, %r13d
LBB0_35:
	movl	32(%rbx), %eax
	movq	_S_IFDIR@GOTPCREL(%rip), %r14
	cmpl	(%r14), %eax
	jne	LBB0_43
## %bb.36:
	movq	(%rbx), %rdi
	callq	_IS_DOT
	testl	%eax, %eax
	jne	LBB0_39
## %bb.37:
	movl	(%r14), %esi
	leaq	L_.str.1(%rip), %rdi
	movq	%rbx, %rdx
	movq	%rbx, %rcx
	callq	_create_node
	testq	%rax, %rax
	je	LBB0_41
## %bb.38:
	movq	%rax, 16(%rbx)
	movq	%rax, 8(%rax)
	movq	%rax, %rbx
LBB0_39:
	movl	$1, %edi
	callq	_assert
	movq	(%rbx), %rdi
	callq	_IS_DOT
	movl	%eax, %edi
	callq	_assert
	xorl	%edi, %edi
	cmpq	%rbx, 8(%rbx)
	sete	%dil
	callq	_assert
	movq	_mtree_current@GOTPCREL(%rip), %rax
	movq	%rbx, (%rax)
	movq	_mtree_root@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jne	LBB0_43
## %bb.40:
	movq	%rbx, (%rax)
	jmp	LBB0_43
LBB0_22:
	leaq	L_.str.2(%rip), %rdi
LBB0_23:
	movq	%r15, %rsi
	callq	_mtree_error
	xorl	%r12d, %r12d
	jmp	LBB0_43
LBB0_41:
	movq	$0, 24(%r13)
	movq	%rbx, %rdi
	callq	_destroy_node
LBB0_42:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
LBB0_43:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_mtree_current,8,3              ## @mtree_current
	.comm	_mtree_root,8,3                 ## @mtree_root
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ignoring .. in root directory"

L_.str.1:                               ## @.str.1
	.asciz	"."

	.comm	_dupsok,4,2                     ## @dupsok
L_.str.2:                               ## @.str.2
	.asciz	"duplicate definition of %s"

	.comm	_S_IFDIR,4,2                    ## @S_IFDIR
L_.str.3:                               ## @.str.3
	.asciz	"%s is not a directory"

	.comm	_mtree_global,48,3              ## @mtree_global
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.no_dead_strip	_read_mtree_spec1
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function read_mtree_spec1
_read_mtree_spec1:                      ; @read_mtree_spec1
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	ldrb	w8, [x2]
	cmp	w8, #0
	cset	w0, ne
	bl	_assert
	mov	x0, x19
	bl	_IS_DOTDOT
	cbz	x0, LBB0_3
; %bb.1:
Lloh0:
	adrp	x19, _mtree_current@GOTPAGE
Lloh1:
	ldr	x19, [x19, _mtree_current@GOTPAGEOFF]
	ldr	x20, [x19]
Lloh2:
	adrp	x8, _mtree_root@GOTPAGE
Lloh3:
	ldr	x8, [x8, _mtree_root@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	cmp	x20, x8
	b.eq	LBB0_14
; %bb.2:
	cmp	x20, #0
	cset	w0, ne
	bl	_assert
	ldr	x0, [x20]
	bl	_IS_DOT
	bl	_assert
	ldr	x8, [x20, #8]
	cmp	x8, x20
	cset	w0, eq
	bl	_assert
	ldr	x8, [x19]
	ldr	x20, [x8, #40]
	cmp	x20, #0
	cset	w0, ne
	bl	_assert
	ldr	x0, [x20]
	bl	_IS_DOT
	cmp	w0, #0
	cset	w0, eq
	bl	_assert
	ldr	x20, [x20, #8]
	cmp	x20, #0
	cset	w0, ne
	bl	_assert
	ldr	x0, [x20]
	bl	_IS_DOT
	bl	_assert
	ldr	x8, [x20, #8]
	cmp	x8, x20
	cset	w0, eq
	bl	_assert
	mov	w22, #0
	str	x20, [x19]
	b	LBB0_17
LBB0_3:
	mov	x0, x19
	bl	_IS_DOT
Lloh5:
	adrp	x23, _mtree_current@GOTPAGE
Lloh6:
	ldr	x23, [x23, _mtree_current@GOTPAGEOFF]
	ldr	x24, [x23]
	cbnz	w0, LBB0_7
; %bb.4:
	cbnz	x24, LBB0_7
; %bb.5:
Lloh7:
	adrp	x2, l_.str.1@PAGE
Lloh8:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x21
	mov	w1, #0
	bl	_read_mtree_spec1
	mov	x22, x0
	cbnz	w0, LBB0_17
; %bb.6:
	ldr	x24, [x23]
LBB0_7:
	cbz	x24, LBB0_23
; %bb.8:
	ldr	x8, [x24, #8]
	cmp	x8, x24
	cset	w0, eq
	bl	_assert
	ldr	x1, [x24]
	mov	x0, x19
	bl	_strcmp
	cbz	x0, LBB0_18
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x22, [x24, #24]
	ldr	x8, [x23]
	cbz	x22, LBB0_21
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	x9, [x22, #8]
	cmp	x9, x8
	cset	w0, eq
	bl	_assert
	ldr	x1, [x22]
	mov	x0, x19
	bl	_strcmp
	mov	x24, x22
	cbnz	x0, LBB0_9
; %bb.11:
	cmp	w20, #1
	b.ne	LBB0_19
LBB0_12:
Lloh9:
	adrp	x8, _dupsok@GOTPAGE
Lloh10:
	ldr	x8, [x8, _dupsok@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	cbz	w8, LBB0_40
; %bb.13:
	str	x19, [sp]
Lloh12:
	adrp	x0, l_.str.2@PAGE
Lloh13:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_15
LBB0_14:
Lloh14:
	adrp	x0, l_.str@PAGE
Lloh15:
	add	x0, x0, l_.str@PAGEOFF
LBB0_15:
	bl	_mtree_warning
LBB0_16:
	mov	w22, #0
LBB0_17:
	mov	x0, x22
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_18:
	mov	x22, x24
	cmp	w20, #1
	b.eq	LBB0_12
LBB0_19:
	ldr	w8, [x22, #32]
Lloh16:
	adrp	x9, _S_IFDIR@GOTPAGE
Lloh17:
	ldr	x9, [x9, _S_IFDIR@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_39
; %bb.20:
	mov	x0, x19
	bl	_IS_DOT
	cmp	w0, #0
	cset	w0, eq
	bl	_assert
	ldr	x19, [x22, #16]
	cmp	x19, #0
	cset	w0, ne
	bl	_assert
	ldr	x0, [x19]
	bl	_IS_DOT
	bl	_assert
	mov	w22, #0
	str	x19, [x23]
	b	LBB0_17
LBB0_21:
	cbz	x8, LBB0_23
; %bb.22:
	ldr	x22, [x8, #40]
	cbnz	w20, LBB0_24
	b	LBB0_25
LBB0_23:
	mov	x22, #0
	cbz	w20, LBB0_25
LBB0_24:
	mov	x0, x19
	bl	_IS_DOT
	cbz	w0, LBB0_26
LBB0_25:
Lloh19:
	adrp	x8, _S_IFDIR@GOTPAGE
Lloh20:
	ldr	x8, [x8, _S_IFDIR@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	b	LBB0_27
LBB0_26:
	mov	w1, #0
LBB0_27:
Lloh22:
	adrp	x3, _mtree_global@GOTPAGE
Lloh23:
	ldr	x3, [x3, _mtree_global@GOTPAGEOFF]
	mov	x0, x19
	mov	x2, x22
	bl	_create_node
	cbz	x0, LBB0_43
; %bb.28:
	mov	x19, x0
	cmp	w20, #1
	b.ne	LBB0_31
; %bb.29:
	mov	x0, x21
	mov	x1, x19
	bl	_read_mtree_keywords
	cbz	w0, LBB0_31
; %bb.30:
	mov	x22, x0
	mov	x0, x19
	bl	_destroy_node
	b	LBB0_17
LBB0_31:
	ldr	x8, [x23]
	cmp	x8, #0
	csel	x8, x19, x8, eq
	str	x8, [x19, #8]
	cbz	x24, LBB0_33
; %bb.32:
	str	x19, [x24, #24]
LBB0_33:
	ldr	w8, [x19, #32]
Lloh24:
	adrp	x20, _S_IFDIR@GOTPAGE
Lloh25:
	ldr	x20, [x20, _S_IFDIR@GOTPAGEOFF]
	ldr	w9, [x20]
	cmp	w8, w9
	b.ne	LBB0_16
; %bb.34:
	ldr	x0, [x19]
	bl	_IS_DOT
	cbnz	w0, LBB0_37
; %bb.35:
	ldr	w1, [x20]
Lloh26:
	adrp	x0, l_.str.1@PAGE
Lloh27:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x2, x19
	mov	x3, x19
	bl	_create_node
	cbz	x0, LBB0_42
; %bb.36:
	str	x0, [x19, #16]
	str	x0, [x0, #8]
	mov	x19, x0
LBB0_37:
	mov	w0, #1
	bl	_assert
	ldr	x0, [x19]
	bl	_IS_DOT
	bl	_assert
	ldr	x8, [x19, #8]
	cmp	x8, x19
	cset	w0, eq
	bl	_assert
	str	x19, [x23]
Lloh28:
	adrp	x8, _mtree_root@GOTPAGE
Lloh29:
	ldr	x8, [x8, _mtree_root@GOTPAGEOFF]
	ldr	x9, [x8]
	cbnz	x9, LBB0_16
; %bb.38:
	mov	w22, #0
	str	x19, [x8]
	b	LBB0_17
LBB0_39:
Lloh30:
	adrp	x0, l_.str.3@PAGE
Lloh31:
	add	x0, x0, l_.str.3@PAGEOFF
	b	LBB0_41
LBB0_40:
Lloh32:
	adrp	x0, l_.str.2@PAGE
Lloh33:
	add	x0, x0, l_.str.2@PAGEOFF
LBB0_41:
	mov	x1, x19
	bl	_mtree_error
	b	LBB0_16
LBB0_42:
	str	xzr, [x24, #24]
	mov	x0, x19
	bl	_destroy_node
LBB0_43:
Lloh34:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh35:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh36:
	ldr	w22, [x8]
	b	LBB0_17
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.cfi_endproc
                                        ; -- End function
	.comm	_mtree_current,8,3              ; @mtree_current
	.comm	_mtree_root,8,3                 ; @mtree_root
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ignoring .. in root directory"

l_.str.1:                               ; @.str.1
	.asciz	"."

	.comm	_dupsok,4,2                     ; @dupsok
l_.str.2:                               ; @.str.2
	.asciz	"duplicate definition of %s"

	.comm	_S_IFDIR,4,2                    ; @S_IFDIR
l_.str.3:                               ; @.str.3
	.asciz	"%s is not a directory"

	.comm	_mtree_global,48,3              ; @mtree_global
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_read_mtree_spec1
.subsections_via_symbols
