	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function finish_automerge
_finish_automerge:                      ## @finish_automerge
	.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
	movq	%r9, -72(%rbp)                  ## 8-byte Spill
	movq	%r8, %r13
	movq	%rcx, %r12
	movq	%rdx, %rbx
	movl	%esi, %r15d
	movq	%rdi, %r14
	movq	_STRBUF_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)
	movq	%r8, %rdi
	callq	_write_tree_trivial
	movq	%rbx, %rdi
	callq	_free_commit_list
	movq	%r12, -64(%rbp)
	testl	%r15d, %r15d
	je	LBB0_2
## %bb.1:
	movq	_fast_forward@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_FF_NO@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
LBB0_2:
	leaq	-64(%rbp), %rsi
	movq	%r14, %rdi
	callq	_commit_list_insert
LBB0_3:
	movq	%r12, %rdi
	callq	_prepare_to_commit
	movq	_merge_msg@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	4(%rax), %edi
	movq	-64(%rbp), %rcx
	movq	_sign_commit@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rsp)
	leaq	-56(%rbp), %r8
	movq	%r13, %rdx
	xorl	%r9d, %r9d
	callq	_commit_tree
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	leaq	L_.str(%rip), %rdi
	callq	__
	movl	%eax, %edi
	callq	_die
LBB0_5:
	leaq	L_.str.1(%rip), %rsi
	leaq	-48(%rbp), %rbx
	movq	%rbx, %rdi
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	callq	_strbuf_addf
	movl	-48(%rbp), %ecx
	leaq	-56(%rbp), %rdx
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_finish
	movq	%rbx, %rdi
	callq	_strbuf_release
	movq	_the_repository@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_remove_merge_branch_state
	xorl	%eax, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_STRBUF_INIT,4,2                ## @STRBUF_INIT
	.comm	_fast_forward,8,3               ## @fast_forward
	.comm	_FF_NO,8,3                      ## @FF_NO
	.comm	_merge_msg,8,2                  ## @merge_msg
	.comm	_sign_commit,4,2                ## @sign_commit
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"failed to write commit object"

L_.str.1:                               ## @.str.1
	.asciz	"Merge made by the '%s' strategy."

	.comm	_the_repository,4,2             ## @the_repository
	.no_dead_strip	_finish_automerge
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function finish_automerge
_finish_automerge:                      ; @finish_automerge
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x21, x5
	mov	x22, x4
	mov	x19, x3
	mov	x23, x2
	mov	x24, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _STRBUF_INIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _STRBUF_INIT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #16]
	mov	x0, x4
	bl	_write_tree_trivial
	mov	x0, x23
	bl	_free_commit_list
	str	x19, [sp, #24]
	cbz	w24, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _fast_forward@GOTPAGE
Lloh4:
	ldr	x8, [x8, _fast_forward@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
Lloh6:
	adrp	x9, _FF_NO@GOTPAGE
Lloh7:
	ldr	x9, [x9, _FF_NO@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
LBB0_2:
	add	x1, sp, #24
	mov	x0, x20
	bl	_commit_list_insert
LBB0_3:
	mov	x0, x19
	bl	_prepare_to_commit
Lloh9:
	adrp	x8, _merge_msg@GOTPAGE
Lloh10:
	ldr	x8, [x8, _merge_msg@GOTPAGEOFF]
	ldp	w1, w0, [x8]
	ldr	x3, [sp, #24]
Lloh11:
	adrp	x8, _sign_commit@GOTPAGE
Lloh12:
	ldr	x8, [x8, _sign_commit@GOTPAGEOFF]
Lloh13:
	ldr	w6, [x8]
	add	x4, sp, #8
	mov	x2, x22
	mov	x5, #0
	bl	_commit_tree
	cbz	x0, LBB0_5
; %bb.4:
Lloh14:
	adrp	x0, l_.str@PAGE
Lloh15:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	bl	_die
LBB0_5:
Lloh16:
	adrp	x1, l_.str.1@PAGE
Lloh17:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x0, sp, #16
	mov	x2, x21
	bl	_strbuf_addf
	ldr	w3, [sp, #16]
	add	x2, sp, #8
	mov	x0, x20
	mov	x1, x19
	bl	_finish
	add	x0, sp, #16
	bl	_strbuf_release
Lloh18:
	adrp	x8, _the_repository@GOTPAGE
Lloh19:
	ldr	x8, [x8, _the_repository@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	bl	_remove_merge_branch_state
	mov	w0, #0
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_STRBUF_INIT,4,2                ; @STRBUF_INIT
	.comm	_fast_forward,8,3               ; @fast_forward
	.comm	_FF_NO,8,3                      ; @FF_NO
	.comm	_merge_msg,8,2                  ; @merge_msg
	.comm	_sign_commit,4,2                ; @sign_commit
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"failed to write commit object"

l_.str.1:                               ; @.str.1
	.asciz	"Merge made by the '%s' strategy."

	.comm	_the_repository,4,2             ; @the_repository
	.no_dead_strip	_finish_automerge
.subsections_via_symbols
