	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fsck_walk_tree
_fsck_walk_tree:                        ## @fsck_walk_tree
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movq	%rsi, %r13
	movq	%rdi, %rbx
	callq	_parse_tree
	movl	$-1, %r14d
	testq	%rax, %rax
	jne	LBB0_22
## %bb.1:
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_get_object_name
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movl	4(%rbx), %edx
	movq	%rbx, -88(%rbp)                 ## 8-byte Spill
	movl	8(%rbx), %esi
	leaq	-48(%rbp), %rdi
	callq	_init_tree_desc_gently
	testq	%rax, %rax
	je	LBB0_2
LBB0_22:
	movl	%r14d, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	leaq	-48(%rbp), %rdi
	leaq	-64(%rbp), %rsi
	callq	_tree_entry_gently
	xorl	%r14d, %r14d
	testq	%rax, %rax
	je	LBB0_22
## %bb.3:
	leaq	-48(%rbp), %r15
	leaq	-64(%rbp), %rbx
	movq	%r13, -80(%rbp)                 ## 8-byte Spill
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_21:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_tree_entry_gently
	testq	%rax, %rax
	je	LBB0_22
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	-56(%rbp), %edi
	callq	_S_ISGITLINK
	testq	%rax, %rax
	jne	LBB0_21
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	-56(%rbp), %edi
	callq	_S_ISDIR
	testq	%rax, %rax
	je	LBB0_11
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	_the_repository@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-52(%rbp), %rsi
	callq	_lookup_tree
	movq	%rax, %r13
	cmpq	$0, -72(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	testq	%r13, %r13
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	-64(%rbp), %r8
	movq	%r12, %rdi
	movq	%r13, %rsi
	leaq	L_.str(%rip), %rdx
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	callq	_put_object_name
LBB0_9:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	_OBJ_TREE@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_11:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	-56(%rbp), %edi
	callq	_S_ISREG
	testq	%rax, %rax
	jne	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_4 Depth=1
	movl	-56(%rbp), %edi
	callq	_S_ISLNK
	testq	%rax, %rax
	je	LBB0_17
LBB0_13:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	_the_repository@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-52(%rbp), %rsi
	callq	_lookup_blob
	movq	%rax, %r13
	cmpq	$0, -72(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_16
## %bb.14:                              ##   in Loop: Header=BB0_4 Depth=1
	testq	%r13, %r13
	je	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	-64(%rbp), %r8
	movq	%r12, %rdi
	movq	%r13, %rsi
	leaq	L_.str.1(%rip), %rdx
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	callq	_put_object_name
LBB0_16:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	_OBJ_BLOB@GOTPCREL(%rip), %rax
LBB0_10:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	(%rax), %esi
	movq	%r13, %rdi
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	movq	%r12, %rcx
	callq	*(%r12)
	leaq	-48(%rbp), %r15
	leaq	-64(%rbp), %rbx
	testl	%eax, %eax
	js	LBB0_19
LBB0_20:                                ##   in Loop: Header=BB0_4 Depth=1
	testl	%r14d, %r14d
	cmovel	%eax, %r14d
	jmp	LBB0_21
LBB0_17:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%r12, %rdi
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	callq	_describe_object
	movq	-64(%rbp), %rdx
	movl	-56(%rbp), %ecx
	leaq	L_.str.2(%rip), %rdi
	movl	%eax, %esi
	callq	_error
	testl	%eax, %eax
	jns	LBB0_20
LBB0_19:
	movl	%eax, %r14d
	jmp	LBB0_22
	.cfi_endproc
                                        ## -- End function
	.comm	_the_repository,4,2             ## @the_repository
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s%s/"

	.comm	_OBJ_TREE,4,2                   ## @OBJ_TREE
L_.str.1:                               ## @.str.1
	.asciz	"%s%s"

	.comm	_OBJ_BLOB,4,2                   ## @OBJ_BLOB
L_.str.2:                               ## @.str.2
	.asciz	"in tree %s: entry %s has bad mode %.6o"

	.no_dead_strip	_fsck_walk_tree
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fsck_walk_tree
_fsck_walk_tree:                        ; @fsck_walk_tree
	.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
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	bl	_parse_tree
	cbnz	x0, LBB0_2
; %bb.1:
	mov	x0, x19
	mov	x1, x21
	bl	_get_object_name
	mov	x22, x0
	ldp	w2, w1, [x21, #4]
	add	x0, sp, #24
	bl	_init_tree_desc_gently
	cbz	x0, LBB0_4
LBB0_2:
	mov	w23, #-1
LBB0_3:
	mov	x0, x23
	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_4:
	add	x24, sp, #8
	add	x0, sp, #24
	add	x1, sp, #8
	bl	_tree_entry_gently
	mov	w23, #0
	cbz	x0, LBB0_3
; %bb.5:
	add	x24, x24, #12
Lloh0:
	adrp	x25, _the_repository@GOTPAGE
Lloh1:
	ldr	x25, [x25, _the_repository@GOTPAGEOFF]
Lloh2:
	adrp	x26, _OBJ_TREE@GOTPAGE
Lloh3:
	ldr	x26, [x26, _OBJ_TREE@GOTPAGEOFF]
Lloh4:
	adrp	x27, l_.str@PAGE
Lloh5:
	add	x27, x27, l_.str@PAGEOFF
	b	LBB0_10
LBB0_6:                                 ;   in Loop: Header=BB0_10 Depth=1
	ldr	x8, [x19]
	ldr	w1, [x26]
LBB0_7:                                 ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, x28
	mov	x2, x20
	mov	x3, x19
	blr	x8
	tbnz	w0, #31, LBB0_22
LBB0_8:                                 ;   in Loop: Header=BB0_10 Depth=1
	cmp	w23, #0
	csel	w23, w0, w23, eq
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	add	x0, sp, #24
	add	x1, sp, #8
	bl	_tree_entry_gently
	cbz	x0, LBB0_3
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [sp, #16]
	bl	_S_ISGITLINK
	cbnz	x0, LBB0_9
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	w0, [sp, #16]
	bl	_S_ISDIR
	cbz	x0, LBB0_15
; %bb.12:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	w0, [x25]
	mov	x1, x24
	bl	_lookup_tree
	mov	x28, x0
	cbz	x22, LBB0_6
; %bb.13:                               ;   in Loop: Header=BB0_10 Depth=1
	cbz	x28, LBB0_6
; %bb.14:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	x4, [sp, #8]
	mov	x0, x19
	mov	x1, x28
	mov	x2, x27
	mov	x3, x22
	bl	_put_object_name
	b	LBB0_6
LBB0_15:                                ;   in Loop: Header=BB0_10 Depth=1
	ldr	w0, [sp, #16]
	bl	_S_ISREG
	cbnz	x0, LBB0_17
; %bb.16:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	w0, [sp, #16]
	bl	_S_ISLNK
	cbz	x0, LBB0_21
LBB0_17:                                ;   in Loop: Header=BB0_10 Depth=1
	ldr	w0, [x25]
	mov	x1, x24
	bl	_lookup_blob
	mov	x28, x0
	cbz	x22, LBB0_20
; %bb.18:                               ;   in Loop: Header=BB0_10 Depth=1
	cbz	x28, LBB0_20
; %bb.19:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	x4, [sp, #8]
	mov	x0, x19
	mov	x1, x28
Lloh6:
	adrp	x2, l_.str.1@PAGE
Lloh7:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x3, x22
	bl	_put_object_name
LBB0_20:                                ;   in Loop: Header=BB0_10 Depth=1
	ldr	x8, [x19]
Lloh8:
	adrp	x9, _OBJ_BLOB@GOTPAGE
Lloh9:
	ldr	x9, [x9, _OBJ_BLOB@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x9]
	b	LBB0_7
LBB0_21:                                ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, x19
	mov	x1, x21
	bl	_describe_object
	mov	x1, x0
	ldr	x2, [sp, #8]
	ldr	w3, [sp, #16]
Lloh11:
	adrp	x0, l_.str.2@PAGE
Lloh12:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_error
	tbz	w0, #31, LBB0_8
LBB0_22:
	mov	x23, x0
	b	LBB0_3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_the_repository,4,2             ; @the_repository
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s%s/"

	.comm	_OBJ_TREE,4,2                   ; @OBJ_TREE
l_.str.1:                               ; @.str.1
	.asciz	"%s%s"

	.comm	_OBJ_BLOB,4,2                   ; @OBJ_BLOB
l_.str.2:                               ; @.str.2
	.asciz	"in tree %s: entry %s has bad mode %.6o"

	.no_dead_strip	_fsck_walk_tree
.subsections_via_symbols
