	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function do_traverse
_do_traverse:                           ## @do_traverse
	.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	%rdi, %r12
	movq	_PATH_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-48(%rbp), %rdi
	callq	_strbuf_init
	movq	(%r12), %rdi
	callq	_get_revision
	testq	%rax, %rax
	je	LBB0_10
## %bb.1:
	movq	%rax, %rbx
	leaq	-48(%rbp), %r14
	movq	_NOT_USER_GIVEN@GOTPCREL(%rip), %r15
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	callq	_get_revision
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_10
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rax
	cmpl	$0, 8(%rax)
	je	LBB0_7
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	callq	_get_commit_tree
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	callq	_get_commit_tree
	movl	(%r15), %ecx
	orl	%ecx, (%rax)
	movq	(%r12), %rdi
	movq	%rax, %rsi
	callq	_add_pending_tree
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$0, 8(%rbx)
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	L_.str(%rip), %rdi
	callq	__
	movl	%eax, %r13d
	movq	%rbx, %rdi
	callq	_oid_to_hex
	movl	%r13d, %edi
	movl	%eax, %esi
	callq	_die
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	8(%r12), %esi
	movq	%rbx, %rdi
	callq	*16(%r12)
	movq	(%r12), %rdi
	cmpq	$0, (%rdi)
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_traverse_trees_and_blobs
	movq	(%r12), %rdi
	jmp	LBB0_9
LBB0_10:
	leaq	-48(%rbp), %rbx
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_traverse_trees_and_blobs
	movq	%rbx, %rdi
	callq	_strbuf_release
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PATH_MAX,4,2                   ## @PATH_MAX
	.comm	_NOT_USER_GIVEN,4,2             ## @NOT_USER_GIVEN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unable to load root tree for commit %s"

	.no_dead_strip	_do_traverse
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function do_traverse
_do_traverse:                           ; @do_traverse
	.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, x0
Lloh0:
	adrp	x8, _PATH_MAX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PATH_MAX@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x0, sp, #8
	bl	_strbuf_init
	ldr	x0, [x19]
	bl	_get_revision
	cbz	x0, LBB0_10
; %bb.1:
	mov	x21, x0
Lloh3:
	adrp	x20, l_.str@PAGE
Lloh4:
	add	x20, x20, l_.str@PAGEOFF
Lloh5:
	adrp	x23, _NOT_USER_GIVEN@GOTPAGE
Lloh6:
	ldr	x23, [x23, _NOT_USER_GIVEN@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	bl	_get_revision
	mov	x21, x0
	cbz	x0, LBB0_10
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19]
	ldr	w8, [x8, #8]
	cbz	w8, LBB0_8
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x21
	bl	_get_commit_tree
	cbz	x0, LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x21
	bl	_get_commit_tree
	mov	x1, x0
	ldr	w8, [x23]
	ldr	w9, [x0]
	orr	w8, w9, w8
	str	w8, [x0]
	ldr	x0, [x19]
	bl	_add_pending_tree
	b	LBB0_8
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x21, #8]
	cbz	x8, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x20
	bl	__
	mov	x22, x0
	mov	x0, x21
	bl	_oid_to_hex
	mov	x1, x0
	mov	x0, x22
	bl	_die
LBB0_8:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x19, #16]
	ldr	w1, [x19, #8]
	mov	x0, x21
	blr	x8
	ldr	x0, [x19]
	ldr	x8, [x0]
	cbz	x8, LBB0_2
; %bb.9:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x1, sp, #8
	mov	x0, x19
	bl	_traverse_trees_and_blobs
	ldr	x0, [x19]
	b	LBB0_2
LBB0_10:
	add	x1, sp, #8
	mov	x0, x19
	bl	_traverse_trees_and_blobs
	add	x0, sp, #8
	bl	_strbuf_release
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_PATH_MAX,4,2                   ; @PATH_MAX
	.comm	_NOT_USER_GIVEN,4,2             ; @NOT_USER_GIVEN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unable to load root tree for commit %s"

	.no_dead_strip	_do_traverse
.subsections_via_symbols
