	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function finish_rebase
_finish_rebase:                         ## @finish_rebase
	.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	$56, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	movq	_STRBUF_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -72(%rbp)
	movq	l___const.finish_rebase.argv_gc_auto+16(%rip), %rax
	movq	%rax, -48(%rbp)
	movaps	l___const.finish_rebase.argv_gc_auto(%rip), %xmm0
	movaps	%xmm0, -64(%rbp)
	movq	_REF_NO_DEREF@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str.2(%rip), %rsi
	xorl	%r14d, %r14d
	xorl	%edi, %edi
	xorl	%edx, %edx
	callq	_delete_ref
	movq	%rbx, %rdi
	callq	_apply_autostash
	movq	_the_repository@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %edi
	callq	_close_object_store
	movq	_RUN_GIT_CMD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-64(%rbp), %rdi
	callq	_run_command_v_opt
	movq	(%rbx), %rax
	movq	_REBASE_INTERACTIVE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movq	_REPLAY_INTERACTIVE_REBASE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -80(%rbp)
	leaq	-80(%rbp), %rdi
	callq	_sequencer_remove_state
	movl	%eax, %r14d
	jmp	LBB0_5
LBB0_2:
	movl	8(%rbx), %esi
	leaq	-72(%rbp), %r15
	movq	%r15, %rdi
	callq	_strbuf_addstr
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_remove_dir_recursively
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	leaq	L_.str.3(%rip), %rdi
	callq	__
	movl	8(%rbx), %esi
	movl	%eax, %edi
	callq	_error
	movl	%eax, %r14d
LBB0_4:
	leaq	-72(%rbp), %rdi
	callq	_strbuf_release
LBB0_5:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_7
## %bb.6:
	movl	%r14d, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_STRBUF_INIT,4,2                ## @STRBUF_INIT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"gc"

L_.str.1:                               ## @.str.1
	.asciz	"--auto"

	.section	__DATA,__const
	.p2align	4                               ## @__const.finish_rebase.argv_gc_auto
l___const.finish_rebase.argv_gc_auto:
	.quad	L_.str
	.quad	L_.str.1
	.quad	0

	.section	__TEXT,__cstring,cstring_literals
L_.str.2:                               ## @.str.2
	.asciz	"REBASE_HEAD"

	.comm	_REF_NO_DEREF,4,2               ## @REF_NO_DEREF
	.comm	_the_repository,8,3             ## @the_repository
	.comm	_RUN_GIT_CMD,4,2                ## @RUN_GIT_CMD
	.comm	_REBASE_INTERACTIVE,8,3         ## @REBASE_INTERACTIVE
	.comm	_REPLAY_OPTS_INIT,4,2           ## @REPLAY_OPTS_INIT
	.comm	_REPLAY_INTERACTIVE_REBASE,4,2  ## @REPLAY_INTERACTIVE_REBASE
L_.str.3:                               ## @.str.3
	.asciz	"could not remove '%s'"

	.no_dead_strip	_finish_rebase
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function finish_rebase
_finish_rebase:                         ; @finish_rebase
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _STRBUF_INIT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _STRBUF_INIT@GOTPAGEOFF]
	stur	x8, [x29, #-24]
Lloh5:
	ldr	w8, [x9]
	str	w8, [sp, #8]
Lloh6:
	adrp	x8, l___const.finish_rebase.argv_gc_auto@PAGE
Lloh7:
	add	x8, x8, l___const.finish_rebase.argv_gc_auto@PAGEOFF
	ldr	q0, [x8]
	str	q0, [sp, #16]
	ldr	x8, [x8, #16]
	str	x8, [sp, #32]
Lloh8:
	adrp	x8, _REF_NO_DEREF@GOTPAGE
Lloh9:
	ldr	x8, [x8, _REF_NO_DEREF@GOTPAGEOFF]
Lloh10:
	ldr	w3, [x8]
Lloh11:
	adrp	x1, l_.str.2@PAGE
Lloh12:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, #0
	mov	x2, #0
	bl	_delete_ref
	mov	x0, x19
	bl	_apply_autostash
Lloh13:
	adrp	x8, _the_repository@GOTPAGE
Lloh14:
	ldr	x8, [x8, _the_repository@GOTPAGEOFF]
Lloh15:
	ldr	x8, [x8]
	ldr	w0, [x8]
	bl	_close_object_store
Lloh16:
	adrp	x8, _RUN_GIT_CMD@GOTPAGE
Lloh17:
	ldr	x8, [x8, _RUN_GIT_CMD@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	add	x0, sp, #16
	bl	_run_command_v_opt
	ldr	x8, [x19]
Lloh19:
	adrp	x9, _REBASE_INTERACTIVE@GOTPAGE
Lloh20:
	ldr	x9, [x9, _REBASE_INTERACTIVE@GOTPAGEOFF]
Lloh21:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
Lloh22:
	adrp	x8, _REPLAY_INTERACTIVE_REBASE@GOTPAGE
Lloh23:
	ldr	x8, [x8, _REPLAY_INTERACTIVE_REBASE@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	str	w8, [sp]
	mov	x0, sp
	bl	_sequencer_remove_state
	mov	x19, x0
	b	LBB0_6
LBB0_2:
	ldr	w1, [x19, #8]
	add	x0, sp, #8
	bl	_strbuf_addstr
	add	x0, sp, #8
	mov	w1, #0
	bl	_remove_dir_recursively
	cbz	x0, LBB0_4
; %bb.3:
Lloh25:
	adrp	x0, l_.str.3@PAGE
Lloh26:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	__
	ldr	w1, [x19, #8]
	bl	_error
	mov	x19, x0
	b	LBB0_5
LBB0_4:
	mov	w19, #0
LBB0_5:
	add	x0, sp, #8
	bl	_strbuf_release
LBB0_6:
	ldur	x8, [x29, #-24]
Lloh27:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh28:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh29:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_8
; %bb.7:
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_8:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.comm	_STRBUF_INIT,4,2                ; @STRBUF_INIT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"gc"

l_.str.1:                               ; @.str.1
	.asciz	"--auto"

	.section	__DATA,__const
	.p2align	3                               ; @__const.finish_rebase.argv_gc_auto
l___const.finish_rebase.argv_gc_auto:
	.quad	l_.str
	.quad	l_.str.1
	.quad	0

	.section	__TEXT,__cstring,cstring_literals
l_.str.2:                               ; @.str.2
	.asciz	"REBASE_HEAD"

	.comm	_REF_NO_DEREF,4,2               ; @REF_NO_DEREF
	.comm	_the_repository,8,3             ; @the_repository
	.comm	_RUN_GIT_CMD,4,2                ; @RUN_GIT_CMD
	.comm	_REBASE_INTERACTIVE,8,3         ; @REBASE_INTERACTIVE
	.comm	_REPLAY_OPTS_INIT,4,2           ; @REPLAY_OPTS_INIT
	.comm	_REPLAY_INTERACTIVE_REBASE,4,2  ; @REPLAY_INTERACTIVE_REBASE
l_.str.3:                               ; @.str.3
	.asciz	"could not remove '%s'"

	.no_dead_strip	_finish_rebase
.subsections_via_symbols
