	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function commit_staged_changes
_commit_staged_changes:                 ## @commit_staged_changes
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	_ALLOW_EMPTY@GOTPCREL(%rip), %rax
	movq	_EDIT_MSG@GOTPCREL(%rip), %r14
	movl	(%r14), %r13d
	orl	(%rax), %r13d
	movl	$1, %esi
	callq	_has_unstaged_changes
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	__
	movl	%eax, %edi
	xorl	%eax, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_error                          ## TAILCALL
LBB0_2:
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_has_uncommitted_changes
	movl	%eax, %ebx
	xorl	%eax, %eax
	callq	_rebase_path_amend
	movq	%rax, %rdi
	callq	_file_exists
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movq	_STRBUF_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)
	leaq	L_.str.1(%rip), %rdi
	leaq	-72(%rbp), %rsi
	callq	_get_oid
	testq	%rax, %rax
	je	LBB0_9
## %bb.4:
	leaq	L_.str.2(%rip), %rdi
	jmp	LBB0_38
LBB0_5:
	xorl	%r12d, %r12d
	testl	%ebx, %ebx
	je	LBB0_35
LBB0_6:
	xorl	%eax, %eax
	callq	_rebase_path_message
	movq	%rax, %rbx
	movb	$1, %r14b
LBB0_7:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	movl	%r13d, %ecx
	callq	_run_git_commit
	testq	%rax, %rax
	je	LBB0_12
## %bb.8:
	leaq	L_.str.11(%rip), %rdi
	jmp	LBB0_38
LBB0_9:
	xorl	%eax, %eax
	callq	_rebase_path_amend
	leaq	-48(%rbp), %rdi
	movq	%rax, %rsi
	xorl	%edx, %edx
	callq	_read_oneliner
	testl	%eax, %eax
	je	LBB0_16
## %bb.10:
	movl	-48(%rbp), %edi
	leaq	-64(%rbp), %rsi
	callq	_get_oid_hex
	testq	%rax, %rax
	je	LBB0_20
## %bb.11:
	leaq	L_.str.4(%rip), %rdi
	jmp	LBB0_17
LBB0_12:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_rebase_path_amend
	movq	%rax, %rdi
	callq	_unlink
	movq	%r15, %rdi
	callq	_git_path_merge_head
	movq	%rax, %rdi
	callq	_unlink
	testb	%r14b, %r14b
	jne	LBB0_14
## %bb.13:
	xorl	%eax, %eax
	callq	_rebase_path_fixup_msg
	movq	%rax, %rdi
	callq	_unlink
	xorl	%eax, %eax
	callq	_rebase_path_squash_msg
	movq	%rax, %rdi
	callq	_unlink
LBB0_14:
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	cmpq	$0, (%r14)
	jle	LBB0_40
## %bb.15:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_rebase_path_current_fixups
	movq	%rax, %rdi
	callq	_unlink
	leaq	8(%r14), %rdi
	callq	_strbuf_reset
	movq	$0, (%r14)
	jmp	LBB0_40
LBB0_16:
	leaq	L_.str.3(%rip), %rdi
LBB0_17:
	callq	__
	movl	%eax, %ebx
	xorl	%eax, %eax
	callq	_rebase_path_amend
LBB0_18:
	movl	%ebx, %edi
	movq	%rax, %rsi
LBB0_19:
	xorl	%eax, %eax
	callq	_error
	jmp	LBB0_39
LBB0_20:
	testl	%ebx, %ebx
	je	LBB0_23
## %bb.21:
	leaq	-72(%rbp), %rdi
	leaq	-64(%rbp), %rsi
	callq	_oideq
	testl	%eax, %eax
	je	LBB0_31
## %bb.22:
	leaq	-48(%rbp), %rdi
	callq	_strbuf_release
	movq	_AMEND_MSG@GOTPCREL(%rip), %rax
	orl	(%rax), %r13d
	jmp	LBB0_6
LBB0_23:
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	cmpq	$0, (%rbx)
	je	LBB0_34
## %bb.24:
	leaq	-72(%rbp), %rdi
	leaq	-64(%rbp), %rsi
	callq	_oideq
	testl	%eax, %eax
	je	LBB0_32
## %bb.25:
	xorl	%eax, %eax
	callq	_rebase_path_stopped_sha
	movq	%rax, %rdi
	callq	_file_exists
	testq	%rax, %rax
	je	LBB0_32
## %bb.26:
	movq	8(%rbx), %rcx
	movslq	16(%rbx), %rdx
	decq	(%rbx)
	testq	%rdx, %rdx
	movq	%rcx, %rax
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	jne	LBB0_28
## %bb.27:
	leaq	L_.str.6(%rip), %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	%rdx, -96(%rbp)                 ## 8-byte Spill
	callq	_BUG
	movq	-96(%rbp), %rdx                 ## 8-byte Reload
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
LBB0_28:
	leaq	8(%rbx), %rdi
	leal	1(%rdx), %ebx
	movq	%rdx, %rax
LBB0_29:                                ## =>This Inner Loop Header: Depth=1
	subq	$1, %rax
	jb	LBB0_43
## %bb.30:                              ##   in Loop: Header=BB0_29 Depth=1
	decl	%ebx
	cmpb	$10, -1(%rcx,%rdx)
	movq	%rax, %rdx
	jne	LBB0_29
	jmp	LBB0_44
LBB0_31:
	leaq	L_.str.5(%rip), %rdi
	jmp	LBB0_38
LBB0_32:
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_peek_command
	movl	%eax, %edi
	callq	_is_fixup
	testq	%rax, %rax
	jne	LBB0_34
## %bb.33:
	xorl	%eax, %eax
	callq	_rebase_path_fixup_msg
	movq	%rax, %rdi
	callq	_unlink
	xorl	%eax, %eax
	callq	_rebase_path_squash_msg
	movq	%rax, %rdi
	callq	_unlink
	xorl	%eax, %eax
	callq	_rebase_path_current_fixups
	movq	%rax, %rdi
	callq	_unlink
	leaq	8(%rbx), %rdi
	callq	_strbuf_reset
	movq	$0, (%rbx)
LBB0_34:
	leaq	-48(%rbp), %rdi
	callq	_strbuf_release
	movq	_AMEND_MSG@GOTPCREL(%rip), %rax
	orl	(%rax), %r13d
	xorl	%r12d, %r12d
LBB0_35:
	movq	%r15, %rdi
	callq	_git_path_cherry_pick_head
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_file_exists
	testq	%rax, %rax
	je	LBB0_41
## %bb.36:
	movq	%rbx, %rdi
	callq	_unlink
	testq	%rax, %rax
	je	LBB0_41
## %bb.37:
	leaq	L_.str.10(%rip), %rdi
LBB0_38:
	callq	__
	movl	%eax, %edi
	xorl	%eax, %eax
	callq	_error
LBB0_39:
	movl	%eax, %ebx
LBB0_40:
	movl	%ebx, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_41:
	xorl	%ebx, %ebx
	testl	%r12d, %r12d
	je	LBB0_40
## %bb.42:
	xorl	%r14d, %r14d
	jmp	LBB0_7
LBB0_43:
	xorl	%ebx, %ebx
LBB0_44:
	movl	%ebx, %esi
	callq	_strbuf_setlen
	xorl	%eax, %eax
	callq	_rebase_path_current_fixups
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%ebx, %esi
	movq	%rax, %rdx
	xorl	%ecx, %ecx
	callq	_write_message
	testq	%rax, %rax
	js	LBB0_50
## %bb.45:
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	cmpq	$0, (%rax)
	jle	LBB0_47
## %bb.46:
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_peek_command
	movl	%eax, %edi
	callq	_is_fixup
	testq	%rax, %rax
	je	LBB0_52
LBB0_47:
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_peek_command
	movl	%eax, %edi
	callq	_is_fixup
	testq	%rax, %rax
	je	LBB0_51
## %bb.48:
	xorl	%eax, %eax
	callq	_rebase_path_squash_msg
	movq	%rax, %r14
	leaq	-88(%rbp), %rsi
	movq	%r15, %rdi
	callq	_parse_head
	testq	%rax, %rax
	je	LBB0_55
LBB0_49:
	movq	-88(%rbp), %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_unuse_commit_buffer
	leaq	L_.str.7(%rip), %rdi
	callq	__
	movl	%eax, %edi
	movq	%r14, %rsi
	jmp	LBB0_19
LBB0_50:
	leaq	L_.str.7(%rip), %rdi
	callq	__
	movl	%eax, %ebx
	xorl	%eax, %eax
	callq	_rebase_path_current_fixups
	jmp	LBB0_18
LBB0_51:
	xorl	%r12d, %r12d
	jmp	LBB0_59
LBB0_52:
	leaq	L_.str.8(%rip), %rsi
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_starts_with
	movl	$1, %r12d
	testl	%eax, %eax
	jne	LBB0_59
## %bb.53:
	leaq	L_.str.9(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strstr
	testl	%eax, %eax
	jne	LBB0_59
## %bb.54:
	movl	(%r14), %eax
	notl	%eax
	andl	%eax, %r13d
	movq	_CLEANUP_MSG@GOTPCREL(%rip), %rax
	orl	(%rax), %r13d
	jmp	LBB0_59
LBB0_55:
	movq	-88(%rbp), %rdi
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorl	%esi, %esi
	callq	_get_commit_buffer
	testq	%rax, %rax
	je	LBB0_49
## %bb.56:
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_strlen
	xorl	%r12d, %r12d
	movq	%rbx, %rdi
	movl	%eax, %esi
	movq	%r14, %rdx
	xorl	%ecx, %ecx
	callq	_write_message
	testq	%rax, %rax
	je	LBB0_58
## %bb.57:
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_49
LBB0_58:
	movq	-88(%rbp), %rdi
	movq	%rbx, %rsi
	callq	_unuse_commit_buffer
LBB0_59:
	leaq	-48(%rbp), %rdi
	callq	_strbuf_release
	movq	_AMEND_MSG@GOTPCREL(%rip), %rax
	orl	(%rax), %r13d
	jmp	LBB0_35
	.cfi_endproc
                                        ## -- End function
	.comm	_ALLOW_EMPTY,4,2                ## @ALLOW_EMPTY
	.comm	_EDIT_MSG,4,2                   ## @EDIT_MSG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cannot rebase: You have unstaged changes."

	.comm	_STRBUF_INIT,4,2                ## @STRBUF_INIT
L_.str.1:                               ## @.str.1
	.asciz	"HEAD"

L_.str.2:                               ## @.str.2
	.asciz	"cannot amend non-existing commit"

L_.str.3:                               ## @.str.3
	.asciz	"invalid file: '%s'"

L_.str.4:                               ## @.str.4
	.asciz	"invalid contents: '%s'"

L_.str.5:                               ## @.str.5
	.asciz	"\nYou have uncommitted changes in your working tree. Please, commit them\nfirst and then run 'git rebase --continue' again."

L_.str.6:                               ## @.str.6
	.asciz	"Incorrect current_fixups:\n%s"

L_.str.7:                               ## @.str.7
	.asciz	"could not write file: '%s'"

L_.str.8:                               ## @.str.8
	.asciz	"squash "

L_.str.9:                               ## @.str.9
	.asciz	"\nsquash "

	.comm	_CLEANUP_MSG,4,2                ## @CLEANUP_MSG
	.comm	_AMEND_MSG,4,2                  ## @AMEND_MSG
L_.str.10:                              ## @.str.10
	.asciz	"could not remove CHERRY_PICK_HEAD"

L_.str.11:                              ## @.str.11
	.asciz	"could not commit staged changes."

	.no_dead_strip	_commit_staged_changes
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function commit_staged_changes
_commit_staged_changes:                 ; @commit_staged_changes
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	mov	x22, x2
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _ALLOW_EMPTY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ALLOW_EMPTY@GOTPAGEOFF]
Lloh2:
	ldr	w21, [x8]
Lloh3:
	adrp	x26, _EDIT_MSG@GOTPAGE
Lloh4:
	ldr	x26, [x26, _EDIT_MSG@GOTPAGEOFF]
	ldr	w23, [x26]
	mov	w1, #1
	bl	_has_unstaged_changes
	cbz	x0, LBB0_2
; %bb.1:
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	b	_error
LBB0_2:
	orr	w21, w23, w21
	mov	x0, x20
	mov	w1, #0
	bl	_has_uncommitted_changes
	mov	x23, x0
	bl	_rebase_path_amend
	bl	_file_exists
	cbz	x0, LBB0_5
; %bb.3:
Lloh7:
	adrp	x8, _STRBUF_INIT@GOTPAGE
Lloh8:
	ldr	x8, [x8, _STRBUF_INIT@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	str	w8, [sp, #40]
Lloh10:
	adrp	x0, l_.str.1@PAGE
Lloh11:
	add	x0, x0, l_.str.1@PAGEOFF
	add	x1, sp, #32
	bl	_get_oid
	cbz	x0, LBB0_9
; %bb.4:
Lloh12:
	adrp	x0, l_.str.2@PAGE
Lloh13:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_38
LBB0_5:
	cbz	w23, LBB0_35
LBB0_6:
	mov	w22, #1
	bl	_rebase_path_message
	mov	x1, x0
LBB0_7:
	mov	x0, x20
	mov	x2, x19
	mov	x3, x21
	bl	_run_git_commit
	cbz	x0, LBB0_12
; %bb.8:
Lloh14:
	adrp	x0, l_.str.11@PAGE
Lloh15:
	add	x0, x0, l_.str.11@PAGEOFF
	b	LBB0_38
LBB0_9:
	bl	_rebase_path_amend
	mov	x1, x0
	add	x0, sp, #40
	mov	w2, #0
	bl	_read_oneliner
	cbz	w0, LBB0_16
; %bb.10:
	ldr	w0, [sp, #40]
	add	x1, sp, #24
	bl	_get_oid_hex
	cbz	x0, LBB0_19
; %bb.11:
Lloh16:
	adrp	x0, l_.str.4@PAGE
Lloh17:
	add	x0, x0, l_.str.4@PAGEOFF
	b	LBB0_17
LBB0_12:
	bl	_rebase_path_amend
	bl	_unlink
	mov	x0, x20
	bl	_git_path_merge_head
	bl	_unlink
	tbnz	w22, #0, LBB0_14
; %bb.13:
	bl	_rebase_path_fixup_msg
	bl	_unlink
	bl	_rebase_path_squash_msg
	bl	_unlink
LBB0_14:
	ldr	x8, [x19]
	cmp	x8, #1
	b.lt	LBB0_43
; %bb.15:
	bl	_rebase_path_current_fixups
	bl	_unlink
	add	x0, x19, #8
	bl	_strbuf_reset
	mov	w0, #0
	str	xzr, [x19]
	b	LBB0_40
LBB0_16:
Lloh18:
	adrp	x0, l_.str.3@PAGE
Lloh19:
	add	x0, x0, l_.str.3@PAGEOFF
LBB0_17:
	bl	__
	mov	x19, x0
	bl	_rebase_path_amend
LBB0_18:
	str	x0, [sp]
	mov	x0, x19
	b	LBB0_39
LBB0_19:
	cbz	w23, LBB0_22
; %bb.20:
	add	x0, sp, #32
	add	x1, sp, #24
	bl	_oideq
	cbz	w0, LBB0_30
; %bb.21:
	add	x0, sp, #40
	bl	_strbuf_release
Lloh20:
	adrp	x8, _AMEND_MSG@GOTPAGE
Lloh21:
	ldr	x8, [x8, _AMEND_MSG@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	orr	w21, w8, w21
	b	LBB0_6
LBB0_22:
	ldr	x8, [x19]
	cbz	x8, LBB0_33
; %bb.23:
	add	x0, sp, #32
	add	x1, sp, #24
	bl	_oideq
	cbz	w0, LBB0_31
; %bb.24:
	bl	_rebase_path_stopped_sha
	bl	_file_exists
	cbz	x0, LBB0_31
; %bb.25:
	mov	x24, x19
	ldr	x23, [x24, #8]!
	ldrsw	x27, [x19, #16]
	ldr	x8, [x19]
	sub	x8, x8, #1
	str	x8, [x19]
	cbnz	w27, LBB0_27
; %bb.26:
Lloh23:
	adrp	x0, l_.str.6@PAGE
Lloh24:
	add	x0, x0, l_.str.6@PAGEOFF
	mov	x1, x23
	bl	_BUG
LBB0_27:
	add	w25, w27, #1
LBB0_28:                                ; =>This Inner Loop Header: Depth=1
	cbz	x27, LBB0_44
; %bb.29:                               ;   in Loop: Header=BB0_28 Depth=1
	add	x8, x23, x27
	sub	x27, x27, #1
	ldurb	w8, [x8, #-1]
	sub	w25, w25, #1
	cmp	w8, #10
	b.ne	LBB0_28
	b	LBB0_45
LBB0_30:
Lloh25:
	adrp	x0, l_.str.5@PAGE
Lloh26:
	add	x0, x0, l_.str.5@PAGEOFF
	b	LBB0_38
LBB0_31:
	mov	x0, x22
	mov	w1, #0
	bl	_peek_command
	bl	_is_fixup
	cbnz	x0, LBB0_33
; %bb.32:
	bl	_rebase_path_fixup_msg
	bl	_unlink
	bl	_rebase_path_squash_msg
	bl	_unlink
	bl	_rebase_path_current_fixups
	bl	_unlink
	add	x0, x19, #8
	bl	_strbuf_reset
	str	xzr, [x19]
LBB0_33:
	add	x0, sp, #40
	bl	_strbuf_release
	mov	w23, #0
LBB0_34:
Lloh27:
	adrp	x8, _AMEND_MSG@GOTPAGE
Lloh28:
	ldr	x8, [x8, _AMEND_MSG@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
	orr	w21, w8, w21
LBB0_35:
	mov	x0, x20
	bl	_git_path_cherry_pick_head
	mov	x22, x0
	bl	_file_exists
	cbz	x0, LBB0_41
; %bb.36:
	mov	x0, x22
	bl	_unlink
	cbz	x0, LBB0_41
; %bb.37:
Lloh30:
	adrp	x0, l_.str.10@PAGE
Lloh31:
	add	x0, x0, l_.str.10@PAGEOFF
LBB0_38:
	bl	__
LBB0_39:
	bl	_error
LBB0_40:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_41:
	cbz	w23, LBB0_43
; %bb.42:
	mov	w22, #0
	mov	x1, #0
	b	LBB0_7
LBB0_43:
	mov	w0, #0
	b	LBB0_40
LBB0_44:
	mov	w25, #0
LBB0_45:
	mov	x0, x24
	mov	x1, x25
	bl	_strbuf_setlen
	bl	_rebase_path_current_fixups
	mov	x2, x0
	mov	x0, x23
	mov	x1, x25
	mov	w3, #0
	bl	_write_message
	tbnz	x0, #63, LBB0_51
; %bb.46:
	ldr	x8, [x19]
	cmp	x8, #1
	b.lt	LBB0_48
; %bb.47:
	mov	x0, x22
	mov	w1, #0
	bl	_peek_command
	bl	_is_fixup
	cbz	x0, LBB0_52
LBB0_48:
	mov	x0, x22
	mov	w1, #0
	bl	_peek_command
	bl	_is_fixup
	cbz	x0, LBB0_59
; %bb.49:
	bl	_rebase_path_squash_msg
	mov	x22, x0
	add	x1, sp, #16
	mov	x0, x20
	bl	_parse_head
	cbz	x0, LBB0_56
LBB0_50:
	ldr	x0, [sp, #16]
	mov	x1, x23
	bl	_unuse_commit_buffer
Lloh32:
	adrp	x0, l_.str.7@PAGE
Lloh33:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	__
	str	x22, [sp]
	b	LBB0_39
LBB0_51:
Lloh34:
	adrp	x0, l_.str.7@PAGE
Lloh35:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	__
	mov	x19, x0
	bl	_rebase_path_current_fixups
	b	LBB0_18
LBB0_52:
Lloh36:
	adrp	x1, l_.str.8@PAGE
Lloh37:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x23
	bl	_starts_with
	cbnz	w0, LBB0_55
; %bb.53:
Lloh38:
	adrp	x1, l_.str.9@PAGE
Lloh39:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	x0, x23
	bl	_strstr
	cbnz	w0, LBB0_55
; %bb.54:
	ldr	w8, [x26]
	bic	w8, w21, w8
Lloh40:
	adrp	x9, _CLEANUP_MSG@GOTPAGE
Lloh41:
	ldr	x9, [x9, _CLEANUP_MSG@GOTPAGEOFF]
Lloh42:
	ldr	w9, [x9]
	orr	w21, w8, w9
LBB0_55:
	mov	w23, #1
	b	LBB0_60
LBB0_56:
	ldr	x0, [sp, #16]
	mov	x1, #0
	bl	_get_commit_buffer
	mov	x23, x0
	cbz	x0, LBB0_50
; %bb.57:
	mov	x0, x23
	bl	_strlen
	mov	x1, x0
	mov	x0, x23
	mov	x2, x22
	mov	w3, #0
	bl	_write_message
	cbnz	x0, LBB0_50
; %bb.58:
	ldr	x0, [sp, #16]
	mov	x1, x23
	bl	_unuse_commit_buffer
LBB0_59:
	mov	w23, #0
LBB0_60:
	add	x0, sp, #40
	bl	_strbuf_release
	b	LBB0_34
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.cfi_endproc
                                        ; -- End function
	.comm	_ALLOW_EMPTY,4,2                ; @ALLOW_EMPTY
	.comm	_EDIT_MSG,4,2                   ; @EDIT_MSG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cannot rebase: You have unstaged changes."

	.comm	_STRBUF_INIT,4,2                ; @STRBUF_INIT
l_.str.1:                               ; @.str.1
	.asciz	"HEAD"

l_.str.2:                               ; @.str.2
	.asciz	"cannot amend non-existing commit"

l_.str.3:                               ; @.str.3
	.asciz	"invalid file: '%s'"

l_.str.4:                               ; @.str.4
	.asciz	"invalid contents: '%s'"

l_.str.5:                               ; @.str.5
	.asciz	"\nYou have uncommitted changes in your working tree. Please, commit them\nfirst and then run 'git rebase --continue' again."

l_.str.6:                               ; @.str.6
	.asciz	"Incorrect current_fixups:\n%s"

l_.str.7:                               ; @.str.7
	.asciz	"could not write file: '%s'"

l_.str.8:                               ; @.str.8
	.asciz	"squash "

l_.str.9:                               ; @.str.9
	.asciz	"\nsquash "

	.comm	_CLEANUP_MSG,4,2                ; @CLEANUP_MSG
	.comm	_AMEND_MSG,4,2                  ; @AMEND_MSG
l_.str.10:                              ; @.str.10
	.asciz	"could not remove CHERRY_PICK_HEAD"

l_.str.11:                              ; @.str.11
	.asciz	"could not commit staged changes."

	.no_dead_strip	_commit_staged_changes
.subsections_via_symbols
