	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function prepare_merge_message
_prepare_merge_message:                 ## @prepare_merge_message
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	leaq	-40(%rbp), %r15
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$12, %edx
	callq	_memset
	movq	_have_message@GOTPCREL(%rip), %rax
	xorl	%ecx, %ecx
	cmpl	$0, (%rax)
	sete	%cl
	movl	%ecx, -40(%rbp)
	movq	_shortlog_len@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -32(%rbp)
	movq	_option_edit@GOTPCREL(%rip), %rax
	xorl	%ecx, %ecx
	cmpq	$0, (%rax)
	setg	%cl
	movl	%ecx, -36(%rbp)
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	callq	_fmt_merge_msg
	movq	(%rbx), %rsi
	testq	%rsi, %rsi
	je	LBB0_2
## %bb.1:
	decq	%rsi
	movq	%rbx, %rdi
	callq	_strbuf_setlen
LBB0_2:
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_have_message,4,2               ## @have_message
	.comm	_shortlog_len,4,2               ## @shortlog_len
	.comm	_option_edit,8,3                ## @option_edit
	.no_dead_strip	_prepare_merge_message
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function prepare_merge_message
_prepare_merge_message:                 ; @prepare_merge_message
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x1
	mov	x20, x0
	mov	x0, sp
	mov	w1, #0
	mov	w2, #12
	bl	_memset
Lloh0:
	adrp	x8, _have_message@GOTPAGE
Lloh1:
	ldr	x8, [x8, _have_message@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, #0
	cset	w8, eq
Lloh3:
	adrp	x9, _shortlog_len@GOTPAGE
Lloh4:
	ldr	x9, [x9, _shortlog_len@GOTPAGEOFF]
Lloh5:
	ldr	w11, [x9]
Lloh6:
	adrp	x10, _option_edit@GOTPAGE
Lloh7:
	ldr	x10, [x10, _option_edit@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x10]
	cmp	x9, #0
	cset	w9, gt
	str	w8, [sp]
	stp	w9, w11, [sp, #4]
	mov	x2, sp
	mov	x0, x20
	mov	x1, x19
	bl	_fmt_merge_msg
	ldr	x8, [x19]
	cbz	x8, LBB0_2
; %bb.1:
	sub	x1, x8, #1
	mov	x0, x19
	bl	_strbuf_setlen
LBB0_2:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_have_message,4,2               ; @have_message
	.comm	_shortlog_len,4,2               ; @shortlog_len
	.comm	_option_edit,8,3                ; @option_edit
	.no_dead_strip	_prepare_merge_message
.subsections_via_symbols
