	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function try_to_simplify_commit
_try_to_simplify_commit:                ## @try_to_simplify_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
	cmpl	$0, 28(%rdi)
	je	LBB0_36
## %bb.1:
	movq	%rsi, %r13
	movq	%rdi, %rbx
	movq	%rsi, %rdi
	callq	_get_commit_tree
	testl	%eax, %eax
	je	LBB0_36
## %bb.2:
	movq	8(%r13), %r15
	testq	%r15, %r15
	je	LBB0_3
## %bb.4:
	cmpl	$0, 24(%rbx)
	jne	LBB0_6
## %bb.5:
	cmpq	$0, (%r15)
	je	LBB0_36
LBB0_6:
	leaq	4(%r13), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
	movl	$0, -52(%rbp)                   ## 4-byte Folded Spill
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	movl	$0, -48(%rbp)                   ## 4-byte Folded Spill
	xorl	%ecx, %ecx
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	jmp	LBB0_7
LBB0_27:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	$0, 8(%r12)
	.p2align	4, 0x90
LBB0_28:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	%r12, %rdi
	callq	_relevant_commit
	testq	%rax, %rax
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	movl	$1, %ecx
	cmovnel	%ecx, %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	cmovel	%ecx, %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
LBB0_30:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
LBB0_31:                                ##   in Loop: Header=BB0_7 Depth=1
	incq	%r14
	movq	(%r15), %r15
	testq	%r15, %r15
	je	LBB0_32
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movq	8(%r15), %r12
	movq	%r12, %rdi
	callq	_relevant_commit
	cmpq	$1, %rax
	movl	-52(%rbp), %eax                 ## 4-byte Reload
	sbbl	$-1, %eax
	cmpq	$1, %r14
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	jne	LBB0_14
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	cmpq	$0, 16(%rbx)
	jne	LBB0_32
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	cmpq	$0, 8(%rbx)
	je	LBB0_14
## %bb.10:                              ##   in Loop: Header=BB0_7 Depth=1
	cmpl	$0, 4(%rbx)
	jne	LBB0_14
## %bb.11:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	_UNINTERESTING@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r13)
	jne	LBB0_14
## %bb.12:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_initialise_treesame
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	orl	-48(%rbp), %ecx                 ## 4-byte Folded Reload
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	jne	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	(%rax), %rax
	movl	$1, (%rax)
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	%r12, %rdi
	callq	_parse_commit
	testq	%rax, %rax
	jns	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_oid_to_hex
	movq	%r13, %rbx
	movl	%eax, %r13d
	leaq	4(%r12), %rdi
	callq	_oid_to_hex
	leaq	L_.str(%rip), %rdi
	movl	%r13d, %esi
	movq	%rbx, %r13
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_die
LBB0_16:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movq	%r13, %rdx
	callq	_rev_compare_tree
                                        ## kill: def $eax killed $eax def $rax
	addl	$-128, %eax
	cmpl	$3, %eax
	ja	LBB0_29
## %bb.17:                              ##   in Loop: Header=BB0_7 Depth=1
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_18:                                ##   in Loop: Header=BB0_7 Depth=1
	cmpl	$0, 4(%rbx)
	je	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	%r12, %rdi
	callq	_relevant_commit
	testq	%rax, %rax
	jne	LBB0_22
LBB0_20:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	testq	%rcx, %rcx
	je	LBB0_31
## %bb.21:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	(%rcx), %rax
	movl	$1, (%rax,%r14,4)
	jmp	LBB0_31
LBB0_29:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_oid_to_hex
	leaq	L_.str.2(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_die
	jmp	LBB0_30
LBB0_23:                                ##   in Loop: Header=BB0_7 Depth=1
	cmpl	$0, (%rbx)
	je	LBB0_28
## %bb.24:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_rev_same_tree_as_empty
	testq	%rax, %rax
	je	LBB0_28
## %bb.25:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	%r12, %rdi
	callq	_parse_commit
	testq	%rax, %rax
	jns	LBB0_27
## %bb.26:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_oid_to_hex
	movq	%r13, %rbx
	movl	%eax, %r13d
	leaq	4(%r12), %rdi
	callq	_oid_to_hex
	leaq	L_.str.1(%rip), %rdi
	movl	%r13d, %esi
	movq	%rbx, %r13
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_die
	jmp	LBB0_27
LBB0_32:
	cmpl	$0, -52(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_34
## %bb.33:
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_36
	jmp	LBB0_35
LBB0_3:
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_rev_same_tree_as_empty
	testq	%rax, %rax
	jne	LBB0_35
	jmp	LBB0_36
LBB0_34:
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_36
	jmp	LBB0_35
LBB0_22:
	movq	$0, (%r15)
	movq	%r15, 8(%r13)
LBB0_35:
	movq	_TREESAME@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r13)
LBB0_36:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_28, LBB0_28-LJTI0_0
.set L0_0_set_23, LBB0_23-LJTI0_0
LJTI0_0:
	.long	L0_0_set_18
	.long	L0_0_set_28
	.long	L0_0_set_23
	.long	L0_0_set_28
	.end_data_region
                                        ## -- End function
	.comm	_TREESAME,4,2                   ## @TREESAME
	.comm	_UNINTERESTING,4,2              ## @UNINTERESTING
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cannot simplify commit %s (because of %s)"

L_.str.1:                               ## @.str.1
	.asciz	"cannot simplify commit %s (invalid %s)"

L_.str.2:                               ## @.str.2
	.asciz	"bad tree compare for commit %s"

	.no_dead_strip	_try_to_simplify_commit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function try_to_simplify_commit
_try_to_simplify_commit:                ; @try_to_simplify_commit
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	ldr	w8, [x0, #28]
	cbz	w8, LBB0_35
; %bb.1:
	mov	x19, x1
	mov	x20, x0
	mov	x0, x1
	bl	_get_commit_tree
	cbz	w0, LBB0_35
; %bb.2:
	ldr	x28, [x19, #8]
	cbz	x28, LBB0_31
; %bb.3:
	ldr	w8, [x20, #24]
	cbnz	w8, LBB0_5
; %bb.4:
	ldr	x8, [x28]
	cbz	x8, LBB0_35
LBB0_5:
	mov	x22, #0
	mov	w23, #0
	mov	w25, #0
	mov	w24, #0
	mov	x27, #0
	add	x8, x19, #4
	str	x8, [sp, #8]                    ; 8-byte Folded Spill
Lloh0:
	adrp	x21, lJTI0_0@PAGE
Lloh1:
	add	x21, x21, lJTI0_0@PAGEOFF
	b	LBB0_9
LBB0_6:                                 ;   in Loop: Header=BB0_9 Depth=1
	str	xzr, [x26, #8]
LBB0_7:                                 ;   in Loop: Header=BB0_9 Depth=1
	mov	x0, x26
	bl	_relevant_commit
	cmp	x0, #0
	csinc	w24, w24, wzr, eq
	csinc	w25, w25, wzr, ne
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	add	x22, x22, #1
	ldr	x28, [x28]
	cbz	x28, LBB0_29
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x26, [x28, #8]
	mov	x0, x26
	bl	_relevant_commit
	cmp	x0, #0
	cinc	w23, w23, ne
	cmp	x22, #1
	b.ne	LBB0_16
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	x8, [x20, #16]
	cbnz	x8, LBB0_29
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_16
; %bb.12:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	w8, [x20, #4]
	cbnz	w8, LBB0_16
; %bb.13:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	w8, [x19]
Lloh2:
	adrp	x9, _UNINTERESTING@GOTPAGE
Lloh3:
	ldr	x9, [x9, _UNINTERESTING@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_16
; %bb.14:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x0, x20
	mov	x1, x19
	bl	_initialise_treesame
	mov	x27, x0
	orr	w8, w25, w24
	cbnz	w8, LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	x8, [x27]
	mov	w9, #1
	str	w9, [x8]
LBB0_16:                                ;   in Loop: Header=BB0_9 Depth=1
	mov	x0, x26
	bl	_parse_commit
	tbz	x0, #63, LBB0_18
; %bb.17:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	x0, [sp, #8]                    ; 8-byte Folded Reload
	bl	_oid_to_hex
	mov	x21, x27
	mov	x27, x0
	add	x0, x26, #4
	bl	_oid_to_hex
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x27
	mov	x27, x21
Lloh7:
	adrp	x21, lJTI0_0@PAGE
Lloh8:
	add	x21, x21, lJTI0_0@PAGEOFF
	bl	_die
LBB0_18:                                ;   in Loop: Header=BB0_9 Depth=1
	mov	x0, x20
	mov	x1, x26
	mov	x2, x19
	bl	_rev_compare_tree
	sub	w8, w0, #128
	cmp	w8, #3
	b.hi	LBB0_24
; %bb.19:                               ;   in Loop: Header=BB0_9 Depth=1
	adr	x9, LBB0_7
	ldrb	w10, [x21, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_20:                                ;   in Loop: Header=BB0_9 Depth=1
	ldr	w8, [x20, #4]
	cbz	w8, LBB0_22
; %bb.21:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x0, x26
	bl	_relevant_commit
	cbnz	x0, LBB0_33
LBB0_22:                                ;   in Loop: Header=BB0_9 Depth=1
	cbz	x27, LBB0_8
; %bb.23:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	x8, [x27]
	mov	w9, #1
	str	w9, [x8, x22, lsl #2]
	b	LBB0_8
LBB0_24:                                ;   in Loop: Header=BB0_9 Depth=1
	ldr	x0, [sp, #8]                    ; 8-byte Folded Reload
	bl	_oid_to_hex
	mov	x1, x0
Lloh9:
	adrp	x0, l_.str.2@PAGE
Lloh10:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_die
	b	LBB0_8
LBB0_25:                                ;   in Loop: Header=BB0_9 Depth=1
	ldr	w8, [x20]
	cbz	w8, LBB0_7
; %bb.26:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x0, x20
	mov	x1, x26
	bl	_rev_same_tree_as_empty
	cbz	x0, LBB0_7
; %bb.27:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x0, x26
	bl	_parse_commit
	tbz	x0, #63, LBB0_6
; %bb.28:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	x0, [sp, #8]                    ; 8-byte Folded Reload
	bl	_oid_to_hex
	mov	x21, x27
	mov	x27, x0
	add	x0, x26, #4
	bl	_oid_to_hex
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh11:
	adrp	x0, l_.str.1@PAGE
Lloh12:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x27
	mov	x27, x21
Lloh13:
	adrp	x21, lJTI0_0@PAGE
Lloh14:
	add	x21, x21, lJTI0_0@PAGEOFF
	bl	_die
	b	LBB0_6
LBB0_29:
	cbz	w23, LBB0_32
; %bb.30:
	cbnz	w24, LBB0_35
	b	LBB0_34
LBB0_31:
	mov	x0, x20
	mov	x1, x19
	bl	_rev_same_tree_as_empty
	cbnz	x0, LBB0_34
	b	LBB0_35
LBB0_32:
	cbnz	w25, LBB0_35
	b	LBB0_34
LBB0_33:
	str	xzr, [x28]
	str	x28, [x19, #8]
LBB0_34:
Lloh15:
	adrp	x8, _TREESAME@GOTPAGE
Lloh16:
	ldr	x8, [x8, _TREESAME@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
LBB0_35:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_20-LBB0_7)>>2
	.byte	(LBB0_7-LBB0_7)>>2
	.byte	(LBB0_25-LBB0_7)>>2
	.byte	(LBB0_7-LBB0_7)>>2
                                        ; -- End function
	.comm	_TREESAME,4,2                   ; @TREESAME
	.comm	_UNINTERESTING,4,2              ; @UNINTERESTING
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cannot simplify commit %s (because of %s)"

l_.str.1:                               ; @.str.1
	.asciz	"cannot simplify commit %s (invalid %s)"

l_.str.2:                               ; @.str.2
	.asciz	"bad tree compare for commit %s"

	.no_dead_strip	_try_to_simplify_commit
.subsections_via_symbols
