	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function do_commit
_do_commit:                             ## @do_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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %ebx
	movq	%rcx, %r15
	movq	%rsi, %r12
	movq	%rdi, %r14
	movq	_EDIT_MSG@GOTPCREL(%rip), %rax
	testl	%r8d, (%rax)
	jne	LBB0_10
## %bb.1:
	movq	_VERIFY_MSG@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_2
LBB0_10:
	movq	%r14, %rdi
	movq	%r12, %rsi
	movq	%r15, %rdx
	movl	%ebx, %ecx
	callq	_run_git_commit
LBB0_11:
	movl	%eax, %r13d
LBB0_12:
	movl	%r13d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	%rdx, %r13
	movq	_STRBUF_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)
	testq	%r12, %r12
	je	LBB0_3
## %bb.7:
	leaq	-48(%rbp), %rdi
	movq	%r12, %rsi
	movl	$2048, %edx                     ## imm = 0x800
	callq	_strbuf_read_file
	leaq	-48(%rbp), %rsi
	testq	%rax, %rax
	jns	LBB0_4
## %bb.8:
	leaq	L_.str(%rip), %rdi
	callq	__
	movl	%eax, %edi
	movq	%r12, %rsi
	callq	_error_errno
	jmp	LBB0_11
LBB0_3:
	xorl	%esi, %esi
LBB0_4:
	leaq	-56(%rbp), %r9
	movq	%r14, %rdi
	movq	%r13, %rdx
	movq	%r15, %rcx
	movl	%ebx, %r8d
	callq	_try_to_commit
	movl	%eax, %r13d
	leaq	-48(%rbp), %rdi
	callq	_strbuf_release
	testl	%r13d, %r13d
	je	LBB0_5
## %bb.9:
	cmpl	$1, %r13d
	je	LBB0_10
	jmp	LBB0_12
LBB0_5:
	movq	%r14, %rdi
	callq	_git_path_cherry_pick_head
	movl	%eax, %edi
	callq	_unlink
	movq	%r14, %rdi
	callq	_git_path_merge_msg
	movl	%eax, %edi
	callq	_unlink
	movq	%r15, %rdi
	callq	_is_rebase_i
	xorl	%r13d, %r13d
	testl	%eax, %eax
	jne	LBB0_12
## %bb.6:
	movq	_SUMMARY_SHOW_AUTHOR_DATE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%r13d, %r13d
	leaq	-56(%rbp), %rdx
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_print_commit_summary
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.comm	_EDIT_MSG,4,2                   ## @EDIT_MSG
	.comm	_VERIFY_MSG,4,2                 ## @VERIFY_MSG
	.comm	_STRBUF_INIT,4,2                ## @STRBUF_INIT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unable to read commit message from '%s'"

	.comm	_SUMMARY_SHOW_AUTHOR_DATE,4,2   ## @SUMMARY_SHOW_AUTHOR_DATE
	.no_dead_strip	_do_commit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function do_commit
_do_commit:                             ; @do_commit
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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, x4
	mov	x20, x3
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _EDIT_MSG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EDIT_MSG@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w4
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _VERIFY_MSG@GOTPAGE
Lloh4:
	ldr	x8, [x8, _VERIFY_MSG@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_5
LBB0_2:
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	mov	x3, x22
	bl	_run_git_commit
LBB0_3:
	mov	x23, x0
LBB0_4:
	mov	x0, x23
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_5:
	mov	x23, x2
Lloh6:
	adrp	x8, _STRBUF_INIT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _STRBUF_INIT@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	str	w8, [sp]
	cbz	x21, LBB0_8
; %bb.6:
	mov	x24, sp
	mov	x0, sp
	mov	x1, x21
	mov	w2, #2048
	bl	_strbuf_read_file
	tbz	x0, #63, LBB0_9
; %bb.7:
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	mov	x1, x21
	bl	_error_errno
	b	LBB0_3
LBB0_8:
	mov	x24, #0
LBB0_9:
	add	x5, sp, #8
	mov	x0, x19
	mov	x1, x24
	mov	x2, x23
	mov	x3, x20
	mov	x4, x22
	bl	_try_to_commit
	mov	x23, x0
	mov	x0, sp
	bl	_strbuf_release
	cbz	w23, LBB0_11
; %bb.10:
	cmp	w23, #1
	b.eq	LBB0_2
	b	LBB0_4
LBB0_11:
	mov	x0, x19
	bl	_git_path_cherry_pick_head
	bl	_unlink
	mov	x0, x19
	bl	_git_path_merge_msg
	bl	_unlink
	mov	x0, x20
	bl	_is_rebase_i
	cbnz	w0, LBB0_13
; %bb.12:
Lloh11:
	adrp	x8, _SUMMARY_SHOW_AUTHOR_DATE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _SUMMARY_SHOW_AUTHOR_DATE@GOTPAGEOFF]
Lloh13:
	ldr	w3, [x8]
	add	x2, sp, #8
	mov	x0, x19
	mov	x1, #0
	bl	_print_commit_summary
LBB0_13:
	mov	w23, #0
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_EDIT_MSG,4,2                   ; @EDIT_MSG
	.comm	_VERIFY_MSG,4,2                 ; @VERIFY_MSG
	.comm	_STRBUF_INIT,4,2                ; @STRBUF_INIT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unable to read commit message from '%s'"

	.comm	_SUMMARY_SHOW_AUTHOR_DATE,4,2   ; @SUMMARY_SHOW_AUTHOR_DATE
	.no_dead_strip	_do_commit
.subsections_via_symbols
