	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function log_tree_diff
_log_tree_diff:                         ## @log_tree_diff
	.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	$24, %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, %r13
	movq	%rdi, %r12
	cmpl	$0, 48(%rdi)
	jne	LBB0_3
## %bb.1:
	cmpl	$0, 8(%r12)
	je	LBB0_2
LBB0_3:
	movq	%r13, %rdi
	callq	_parse_commit_or_die
	movq	%r13, %rdi
	callq	_get_commit_tree_oid
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_get_saved_parents
	testq	%rax, %rax
	je	LBB0_4
## %bb.9:
	movq	%rax, %rbx
	cmpq	$0, 8(%rax)
	je	LBB0_10
## %bb.11:
	xorl	%eax, %eax
	cmpq	$0, 32(%r12)
	jne	LBB0_8
## %bb.12:
	cmpq	$0, 24(%r12)
	je	LBB0_13
## %bb.19:
	movq	%r12, %rdi
	movq	%r13, %rsi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_do_diff_combined               ## TAILCALL
LBB0_4:
	cmpq	$0, 40(%r12)
	je	LBB0_7
## %bb.5:
	leaq	8(%r12), %rdx
	leaq	L_.str(%rip), %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_diff_root_tree_oid
LBB0_6:
	movq	%r12, %rdi
	callq	_log_tree_diff_flush
LBB0_7:
	xorl	%eax, %eax
	cmpq	$0, (%r12)
	sete	%al
	jmp	LBB0_8
LBB0_10:
	movq	(%rbx), %r14
LBB0_16:
	leaq	8(%r12), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movl	%eax, %r13d
	movq	%r14, %rdi
	callq	_parse_commit_or_die
	movq	%r14, %rdi
	callq	_get_commit_tree_oid
	movq	%rax, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	leaq	L_.str(%rip), %rdx
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	callq	_diff_tree_oid
	movq	%r12, %rdi
	callq	_log_tree_diff_flush
	xorl	%eax, %eax
	cmpq	$0, (%r12)
	sete	%al
	orl	%r13d, %eax
	movq	8(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_8
## %bb.18:                              ##   in Loop: Header=BB0_17 Depth=1
	movq	(%rbx), %r14
	movq	%r14, (%r15)
	movq	%r15, (%r12)
	jmp	LBB0_17
LBB0_2:
	xorl	%eax, %eax
LBB0_8:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	cmpq	$0, 16(%r12)
	movq	(%rbx), %r14
	je	LBB0_15
## %bb.14:
	movq	%r14, %rdi
	callq	_parse_commit_or_die
	movq	(%rbx), %rdi
	callq	_get_commit_tree_oid
	leaq	8(%r12), %rcx
	leaq	L_.str(%rip), %rdx
	movq	%rax, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_diff_tree_oid
	jmp	LBB0_6
LBB0_15:
	movq	%r14, (%r15)
	jmp	LBB0_16
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.space	1

	.no_dead_strip	_log_tree_diff
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function log_tree_diff
_log_tree_diff:                         ; @log_tree_diff
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x21, x2
	mov	x23, x1
	mov	x19, x0
	ldr	w8, [x0, #48]
	cbnz	w8, LBB0_2
; %bb.1:
	ldr	w8, [x19, #8]
	cbz	w8, LBB0_5
LBB0_2:
	mov	x0, x23
	bl	_parse_commit_or_die
	mov	x0, x23
	bl	_get_commit_tree_oid
	mov	x20, x0
	mov	x0, x19
	mov	x1, x23
	bl	_get_saved_parents
	cbz	x0, LBB0_6
; %bb.3:
	mov	x22, x0
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_11
; %bb.4:
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_15
LBB0_5:
	mov	w23, #0
	b	LBB0_10
LBB0_6:
	ldr	x8, [x19, #40]
	cbz	x8, LBB0_9
; %bb.7:
	add	x2, x19, #8
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_diff_root_tree_oid
LBB0_8:
	mov	x0, x19
	bl	_log_tree_diff_flush
LBB0_9:
	ldr	x8, [x19]
	cmp	x8, #0
	cset	w23, eq
LBB0_10:
	mov	x0, x23
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_11:
	ldr	x26, [x22]
LBB0_12:
	mov	w23, #0
	add	x24, x19, #8
Lloh2:
	adrp	x25, l_.str@PAGE
Lloh3:
	add	x25, x25, l_.str@PAGEOFF
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x26
	bl	_parse_commit_or_die
	mov	x0, x26
	bl	_get_commit_tree_oid
	mov	x1, x20
	mov	x2, x25
	mov	x3, x24
	bl	_diff_tree_oid
	mov	x0, x19
	bl	_log_tree_diff_flush
	ldr	x8, [x19]
	cmp	x8, #0
	cset	w8, eq
	orr	w23, w23, w8
	ldr	x22, [x22, #8]
	cbz	x22, LBB0_10
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	ldr	x26, [x22]
	str	x26, [x21]
	str	x21, [x19]
	b	LBB0_13
LBB0_15:
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_17
; %bb.16:
	mov	x0, x19
	mov	x1, x23
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_do_diff_combined
LBB0_17:
	ldr	x8, [x19, #16]
	ldr	x26, [x22]
	cbz	x8, LBB0_19
; %bb.18:
	mov	x0, x26
	bl	_parse_commit_or_die
	ldr	x0, [x22]
	bl	_get_commit_tree_oid
	add	x3, x19, #8
Lloh4:
	adrp	x2, l_.str@PAGE
Lloh5:
	add	x2, x2, l_.str@PAGEOFF
	mov	x1, x20
	bl	_diff_tree_oid
	b	LBB0_8
LBB0_19:
	str	x26, [x21]
	b	LBB0_12
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.space	1

	.no_dead_strip	_log_tree_diff
.subsections_via_symbols
