	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_simplify_commit                ## -- Begin function simplify_commit
	.p2align	4, 0x90
_simplify_commit:                       ## @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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	callq	_get_commit_action
	movl	%eax, %r15d
	movq	_commit_show@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r15d
	jne	LBB0_8
## %bb.1:
	cmpq	$0, 16(%rbx)
	je	LBB0_8
## %bb.2:
	cmpq	$0, 8(%rbx)
	je	LBB0_8
## %bb.3:
	movq	%rbx, %rdi
	callq	_want_ancestry
	testq	%rax, %rax
	je	LBB0_8
## %bb.4:
	cmpq	$0, (%rbx)
	je	LBB0_6
## %bb.5:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_save_parents
LBB0_6:
	movq	_rewrite_one@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_rewrite_parents
	testq	%rax, %rax
	jns	LBB0_8
## %bb.7:
	movq	_commit_error@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
LBB0_8:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_commit_show,4,2                ## @commit_show
	.comm	_rewrite_one,4,2                ## @rewrite_one
	.comm	_commit_error,4,2               ## @commit_error
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_simplify_commit                ; -- Begin function simplify_commit
	.p2align	2
_simplify_commit:                       ; @simplify_commit
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x1
	mov	x21, x0
	bl	_get_commit_action
	mov	x19, x0
Lloh0:
	adrp	x8, _commit_show@GOTPAGE
Lloh1:
	ldr	x8, [x8, _commit_show@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_7
; %bb.1:
	ldr	x8, [x21, #16]
	cbz	x8, LBB0_7
; %bb.2:
	ldr	x8, [x21, #8]
	cbz	x8, LBB0_7
; %bb.3:
	mov	x0, x21
	bl	_want_ancestry
	cbz	x0, LBB0_7
; %bb.4:
	ldr	x8, [x21]
	cbz	x8, LBB0_6
; %bb.5:
	mov	x0, x21
	mov	x1, x20
	bl	_save_parents
LBB0_6:
Lloh3:
	adrp	x8, _rewrite_one@GOTPAGE
Lloh4:
	ldr	x8, [x8, _rewrite_one@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x21
	mov	x1, x20
	bl	_rewrite_parents
Lloh6:
	adrp	x8, _commit_error@GOTPAGE
Lloh7:
	ldr	x8, [x8, _commit_error@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cmp	x0, #0
	csel	w19, w8, w19, lt
LBB0_7:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_commit_show,4,2                ; @commit_show
	.comm	_rewrite_one,4,2                ; @rewrite_one
	.comm	_commit_error,4,2               ; @commit_error
.subsections_via_symbols
