	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rev_compare_tree
_rev_compare_tree:                      ## @rev_compare_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rdi, %r14
	movq	%rsi, %rdi
	callq	_get_commit_tree
	movq	%rax, %r12
	movq	%rbx, %rdi
	callq	_get_commit_tree
	testq	%r12, %r12
	je	LBB0_1
## %bb.2:
	movq	%rax, %r15
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	cmpq	$0, 16(%r14)
	je	LBB0_8
## %bb.5:
	movq	%rbx, %rdi
	callq	_get_name_decoration
	testq	%rax, %rax
	jne	LBB0_9
## %bb.6:
	cmpl	$0, 8(%r14)
	je	LBB0_7
LBB0_8:
	movq	_REV_TREE_SAME@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_tree_difference@GOTPCREL(%rip), %rbx
	movl	%eax, (%rbx)
	movq	$0, (%r14)
	leaq	L_.str(%rip), %rdx
	movq	%r12, %rdi
	movq	%r15, %rsi
	movq	%r14, %rcx
	callq	_diff_tree_oid
	testq	%rax, %rax
	jns	LBB0_10
LBB0_9:
	movq	_REV_TREE_DIFFERENT@GOTPCREL(%rip), %rbx
	jmp	LBB0_10
LBB0_1:
	movq	_REV_TREE_NEW@GOTPCREL(%rip), %rbx
	jmp	LBB0_10
LBB0_3:
	movq	_REV_TREE_OLD@GOTPCREL(%rip), %rbx
LBB0_10:
	movl	(%rbx), %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	_REV_TREE_SAME@GOTPCREL(%rip), %rbx
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_REV_TREE_NEW,4,2               ## @REV_TREE_NEW
	.comm	_REV_TREE_OLD,4,2               ## @REV_TREE_OLD
	.comm	_REV_TREE_DIFFERENT,4,2         ## @REV_TREE_DIFFERENT
	.comm	_REV_TREE_SAME,4,2              ## @REV_TREE_SAME
	.comm	_tree_difference,4,2            ## @tree_difference
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.space	1

	.no_dead_strip	_rev_compare_tree
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rev_compare_tree
_rev_compare_tree:                      ; @rev_compare_tree
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x22, x2
	mov	x19, x0
	mov	x0, x1
	bl	_get_commit_tree
	mov	x20, x0
	mov	x0, x22
	bl	_get_commit_tree
	cbz	x20, LBB0_5
; %bb.1:
	mov	x21, x0
	cbz	x0, LBB0_6
; %bb.2:
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_8
; %bb.3:
	mov	x0, x22
	bl	_get_name_decoration
	cbz	x0, LBB0_7
; %bb.4:
Lloh0:
	adrp	x8, _REV_TREE_DIFFERENT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _REV_TREE_DIFFERENT@GOTPAGEOFF]
	b	LBB0_9
LBB0_5:
Lloh2:
	adrp	x8, _REV_TREE_NEW@GOTPAGE
Lloh3:
	ldr	x8, [x8, _REV_TREE_NEW@GOTPAGEOFF]
	b	LBB0_9
LBB0_6:
Lloh4:
	adrp	x8, _REV_TREE_OLD@GOTPAGE
Lloh5:
	ldr	x8, [x8, _REV_TREE_OLD@GOTPAGEOFF]
	b	LBB0_9
LBB0_7:
	ldr	w8, [x19, #8]
	cbz	w8, LBB0_10
LBB0_8:
Lloh6:
	adrp	x22, _REV_TREE_DIFFERENT@GOTPAGE
Lloh7:
	ldr	x22, [x22, _REV_TREE_DIFFERENT@GOTPAGEOFF]
Lloh8:
	adrp	x8, _REV_TREE_SAME@GOTPAGE
Lloh9:
	ldr	x8, [x8, _REV_TREE_SAME@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
Lloh11:
	adrp	x23, _tree_difference@GOTPAGE
Lloh12:
	ldr	x23, [x23, _tree_difference@GOTPAGEOFF]
	str	w8, [x23]
	str	xzr, [x19]
Lloh13:
	adrp	x2, l_.str@PAGE
Lloh14:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x20
	mov	x1, x21
	mov	x3, x19
	bl	_diff_tree_oid
	cmp	x0, #0
	csel	x8, x22, x23, lt
LBB0_9:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_10:
Lloh15:
	adrp	x8, _REV_TREE_SAME@GOTPAGE
Lloh16:
	ldr	x8, [x8, _REV_TREE_SAME@GOTPAGEOFF]
	b	LBB0_9
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_REV_TREE_NEW,4,2               ; @REV_TREE_NEW
	.comm	_REV_TREE_OLD,4,2               ; @REV_TREE_OLD
	.comm	_REV_TREE_DIFFERENT,4,2         ; @REV_TREE_DIFFERENT
	.comm	_REV_TREE_SAME,4,2              ; @REV_TREE_SAME
	.comm	_tree_difference,4,2            ; @tree_difference
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.space	1

	.no_dead_strip	_rev_compare_tree
.subsections_via_symbols
