	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fsck_walk_commit
_fsck_walk_commit:                      ## @fsck_walk_commit
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, -80(%rbp)                 ## 8-byte Spill
	movq	%rdi, %rbx
	callq	_parse_commit
	movl	$-1, %r13d
	testq	%rax, %rax
	je	LBB0_1
LBB0_29:
	movl	%r13d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	leaq	8(%rbx), %rsi
	movq	%r15, %rdi
	callq	_get_object_name
	movq	%rax, %r14
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	%rbx, %rdi
	callq	_get_commit_tree
	leaq	L_.str(%rip), %rdx
	movq	%r15, %rdi
	movq	%rax, %rsi
	movq	%r14, %rcx
	xorl	%eax, %eax
	callq	_put_object_name
LBB0_3:
	movq	%r14, -72(%rbp)                 ## 8-byte Spill
	movq	(%r15), %r14
	movq	%rbx, %rdi
	callq	_get_commit_tree
	movq	_OBJ_TREE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	%rax, %rdi
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	movq	%r15, %rcx
	callq	*%r14
	movl	%eax, %r13d
	testl	%eax, %eax
	js	LBB0_29
## %bb.4:
	xorl	%eax, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	(%rbx), %r14
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	testq	%rbx, %rbx
	je	LBB0_5
## %bb.6:
	movl	$0, %ecx
	testq	%r14, %r14
	je	LBB0_17
## %bb.7:
	movq	%rbx, %rdi
	callq	_strlen
	testl	%eax, %eax
	je	LBB0_8
## %bb.9:
	movslq	%eax, %rcx
	cmpb	$94, -1(%rbx,%rcx)
	jne	LBB0_11
## %bb.10:
	decq	%rcx
	movl	$1, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_18
LBB0_5:
	xorl	%ecx, %ecx
	jmp	LBB0_17
LBB0_8:
	xorl	%ecx, %ecx
	xorl	%eax, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_18
LBB0_11:
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	movl	$1, %r15d
	movl	$1, %edx
	subl	%eax, %edx
	leaq	(%rcx,%rbx), %r12
	decq	%r12
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movl	%edx, -64(%rbp)                 ## 4-byte Spill
	movsbl	(%r12), %edi
	callq	_isdigit
	testq	%rax, %rax
	je	LBB0_15
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=1
	movsbl	(%r12), %eax
	addl	$-48, %eax
	imull	%r15d, %eax
	addl	%eax, %ebx
	addl	%r15d, %r15d
	leal	(%r15,%r15,4), %r15d
	movl	-64(%rbp), %edx                 ## 4-byte Reload
	incl	%edx
	decq	%r12
	cmpl	$1, %edx
	jne	LBB0_12
## %bb.14:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	xorl	%ecx, %ecx
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_17
LBB0_15:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	xorl	%ecx, %ecx
	cmpl	$2, %r15d
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	jb	LBB0_17
## %bb.16:
	movl	-64(%rbp), %eax                 ## 4-byte Reload
	negl	%eax
	movslq	%eax, %rcx
	xorl	%eax, %eax
	cmpb	$126, (%rbx,%rcx)
	cmovnel	%eax, %ecx
LBB0_17:
	testq	%r14, %r14
	je	LBB0_29
LBB0_18:
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	incl	%eax
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_19:                                ## =>This Inner Loop Header: Depth=1
	testq	%rbx, %rbx
	je	LBB0_26
## %bb.20:                              ##   in Loop: Header=BB0_19 Depth=1
	movq	8(%r14), %rsi
	testl	%r12d, %r12d
	je	LBB0_22
## %bb.21:                              ##   in Loop: Header=BB0_19 Depth=1
	incl	%r12d
	movq	%r15, %rdi
	leaq	L_.str.1(%rip), %rdx
	movq	%rbx, %rcx
	movl	%r12d, %r8d
	xorl	%eax, %eax
	callq	_put_object_name
	jmp	LBB0_26
	.p2align	4, 0x90
LBB0_22:                                ##   in Loop: Header=BB0_19 Depth=1
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	jle	LBB0_24
## %bb.23:                              ##   in Loop: Header=BB0_19 Depth=1
	movq	%r15, %rdi
	leaq	L_.str.2(%rip), %rdx
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
                                        ## kill: def $ecx killed $ecx killed $rcx
	movq	%rbx, %r8
	movl	-56(%rbp), %r9d                 ## 4-byte Reload
	xorl	%eax, %eax
	callq	_put_object_name
	jmp	LBB0_25
LBB0_24:                                ##   in Loop: Header=BB0_19 Depth=1
	movq	%r15, %rdi
	leaq	L_.str.3(%rip), %rdx
	movq	%rbx, %rcx
	xorl	%eax, %eax
	callq	_put_object_name
LBB0_25:                                ##   in Loop: Header=BB0_19 Depth=1
	movl	$1, %r12d
LBB0_26:                                ##   in Loop: Header=BB0_19 Depth=1
	movq	8(%r14), %rdi
	movq	_OBJ_COMMIT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	movq	%r15, %rcx
	callq	*(%r15)
	testl	%eax, %eax
	js	LBB0_27
## %bb.28:                              ##   in Loop: Header=BB0_19 Depth=1
	testl	%r13d, %r13d
	cmovel	%eax, %r13d
	movq	(%r14), %r14
	testq	%r14, %r14
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	jne	LBB0_19
	jmp	LBB0_29
LBB0_27:
	movl	%eax, %r13d
	jmp	LBB0_29
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s:"

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

L_.str.2:                               ## @.str.2
	.asciz	"%.*s~%d"

L_.str.3:                               ## @.str.3
	.asciz	"%s^"

	.comm	_OBJ_COMMIT,4,2                 ## @OBJ_COMMIT
	.no_dead_strip	_fsck_walk_commit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fsck_walk_commit
_fsck_walk_commit:                      ; @fsck_walk_commit
	.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	x23, x0
	bl	_parse_commit
	cbz	x0, LBB0_3
; %bb.1:
	mov	w22, #-1
LBB0_2:
	mov	x0, x22
	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_3:
	add	x1, x23, #8
	mov	x0, x19
	bl	_get_object_name
	mov	x21, x0
	cbz	x0, LBB0_5
; %bb.4:
	mov	x0, x23
	bl	_get_commit_tree
	mov	x1, x0
	str	x21, [sp]
Lloh0:
	adrp	x2, l_.str@PAGE
Lloh1:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	bl	_put_object_name
LBB0_5:
	ldr	x22, [x19]
	mov	x0, x23
	bl	_get_commit_tree
Lloh2:
	adrp	x8, _OBJ_TREE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _OBJ_TREE@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x2, x20
	mov	x3, x19
	blr	x22
	mov	x22, x0
	tbnz	w0, #31, LBB0_2
; %bb.6:
	mov	w27, #0
	ldr	x26, [x23]
	mov	w28, #0
	cbz	x21, LBB0_18
; %bb.7:
	cbz	x26, LBB0_18
; %bb.8:
	mov	x0, x21
	bl	_strlen
                                        ; kill: def $w0 killed $w0 def $x0
	cbz	w0, LBB0_11
; %bb.9:
	sxtw	x8, w0
	sub	x28, x8, #1
	ldrb	w8, [x21, x28]
	mov	w27, #1
	cmp	w8, #94
	b.ne	LBB0_12
; %bb.10:
                                        ; kill: def $w28 killed $w28 killed $x28 def $x28
	b	LBB0_19
LBB0_11:
	mov	w28, #0
	mov	w27, #0
	b	LBB0_19
LBB0_12:
	sub	w23, w27, w0
	add	x8, x21, w0, sxtw
	sub	x24, x8, #1
	mov	w25, #1
	mov	w27, #0
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldrsb	w0, [x24]
	bl	_isdigit
	cbz	x0, LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	ldrsb	w8, [x24], #-1
	sub	w8, w8, #48
	madd	w27, w8, w25, w27
	add	w8, w25, w25, lsl #2
	lsl	w25, w8, #1
	add	w23, w23, #1
	cmp	w23, #1
	b.ne	LBB0_13
	b	LBB0_17
LBB0_15:
	cmp	w25, #2
	b.lo	LBB0_17
; %bb.16:
	neg	w8, w23
	ldrb	w8, [x21, w8, sxtw]
	cmp	w8, #126
	csneg	w28, wzr, w23, ne
	b	LBB0_18
LBB0_17:
	mov	w28, #0
LBB0_18:
	cbz	x26, LBB0_2
LBB0_19:
	mov	w24, #0
	add	w8, w27, #1
	str	x8, [sp, #24]                   ; 8-byte Folded Spill
Lloh5:
	adrp	x23, _OBJ_COMMIT@GOTPAGE
Lloh6:
	ldr	x23, [x23, _OBJ_COMMIT@GOTPAGEOFF]
Lloh7:
	adrp	x25, l_.str.1@PAGE
Lloh8:
	add	x25, x25, l_.str.1@PAGEOFF
LBB0_20:                                ; =>This Inner Loop Header: Depth=1
	cbz	x21, LBB0_27
; %bb.21:                               ;   in Loop: Header=BB0_20 Depth=1
	ldr	x1, [x26, #8]
	cbz	w24, LBB0_23
; %bb.22:                               ;   in Loop: Header=BB0_20 Depth=1
	add	w24, w24, #1
	stp	x21, x24, [sp]
	mov	x0, x19
	mov	x2, x25
	bl	_put_object_name
	b	LBB0_27
LBB0_23:                                ;   in Loop: Header=BB0_20 Depth=1
	cmp	w27, #1
	b.lt	LBB0_25
; %bb.24:                               ;   in Loop: Header=BB0_20 Depth=1
	ldr	x8, [sp, #24]                   ; 8-byte Folded Reload
	stp	x21, x8, [sp, #8]
	str	x28, [sp]
	mov	x0, x19
Lloh9:
	adrp	x2, l_.str.2@PAGE
Lloh10:
	add	x2, x2, l_.str.2@PAGEOFF
	b	LBB0_26
LBB0_25:                                ;   in Loop: Header=BB0_20 Depth=1
	str	x21, [sp]
	mov	x0, x19
Lloh11:
	adrp	x2, l_.str.3@PAGE
Lloh12:
	add	x2, x2, l_.str.3@PAGEOFF
LBB0_26:                                ;   in Loop: Header=BB0_20 Depth=1
	bl	_put_object_name
	mov	w24, #1
LBB0_27:                                ;   in Loop: Header=BB0_20 Depth=1
	ldr	x8, [x19]
	ldr	x0, [x26, #8]
	ldr	w1, [x23]
	mov	x2, x20
	mov	x3, x19
	blr	x8
	tbnz	w0, #31, LBB0_29
; %bb.28:                               ;   in Loop: Header=BB0_20 Depth=1
	cmp	w22, #0
	csel	w22, w0, w22, eq
	ldr	x26, [x26]
	cbnz	x26, LBB0_20
	b	LBB0_2
LBB0_29:
	mov	x22, x0
	b	LBB0_2
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s:"

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

l_.str.2:                               ; @.str.2
	.asciz	"%.*s~%d"

l_.str.3:                               ; @.str.3
	.asciz	"%s^"

	.comm	_OBJ_COMMIT,4,2                 ; @OBJ_COMMIT
	.no_dead_strip	_fsck_walk_commit
.subsections_via_symbols
