	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function run_am
_run_am:                                ## @run_am
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r13
	movq	_CHILD_PROCESS_INIT@GOTPCREL(%rip), %rax
	movups	(%rax), %xmm0
	movups	16(%rax), %xmm1
	movaps	%xmm1, -64(%rbp)
	movaps	%xmm0, -80(%rbp)
	movaps	%xmm1, -96(%rbp)
	movaps	%xmm0, -112(%rbp)
	movq	_STRBUF_INIT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	$1, -80(%rbp)
	leaq	-56(%rbp), %r14
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_argv_array_push
	movq	88(%r13), %rsi
	testq	%rsi, %rsi
	je	LBB0_12
## %bb.1:
	leaq	L_.str.1(%rip), %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_2
## %bb.6:
	movq	88(%r13), %rsi
	testq	%rsi, %rsi
	je	LBB0_12
## %bb.7:
	leaq	L_.str.4(%rip), %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_8
## %bb.9:
	movq	88(%r13), %rsi
	testq	%rsi, %rsi
	je	LBB0_12
## %bb.10:
	leaq	L_.str.6(%rip), %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_11
LBB0_12:
	cmpq	$0, 80(%r13)
	je	LBB0_14
## %bb.13:
	movq	72(%r13), %rdi
	jmp	LBB0_15
LBB0_14:
	movq	64(%r13), %rdi
LBB0_15:
	callq	_oid_to_hex
	movl	%eax, %ebx
	leaq	32(%r13), %r12
	movq	%r12, %rdi
	callq	_oid_to_hex
	leaq	L_.str.8(%rip), %rsi
	leaq	-48(%rbp), %rdi
	movl	%ebx, %edx
	movl	%eax, %ecx
	callq	_strbuf_addf
	leaq	L_.str.9(%rip), %rdi
	callq	_git_path
	movl	%eax, %edi
	callq	_xstrdup
	movq	_O_WRONLY@GOTPCREL(%rip), %rcx
	movq	_O_CREAT@GOTPCREL(%rip), %rdx
	movl	(%rdx), %esi
	orl	(%rcx), %esi
	movq	%rax, %r15
	movq	_O_TRUNC@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movq	%r15, %rdi
	movl	$438, %edx                      ## imm = 0x1B6
	xorl	%eax, %eax
	callq	_open
	movq	%rax, -104(%rbp)
	testq	%rax, %rax
	jns	LBB0_18
## %bb.16:
	leaq	L_.str.10(%rip), %rdi
LBB0_17:
	callq	__
	movl	%eax, %edi
	movq	%r15, %rsi
	callq	_error_errno
	movl	%eax, %ebx
	movq	%r15, %rdi
	callq	_free
	movq	%r14, %rdi
	callq	_argv_array_clear
	jmp	LBB0_36
LBB0_18:
	movl	$1, -112(%rbp)
	leaq	-88(%rbp), %rbx
	leaq	L_.str.20(%rip), %r11
	leaq	L_.str.19(%rip), %r14
	leaq	L_.str.18(%rip), %r10
	leaq	L_.str.11(%rip), %rsi
	leaq	L_.str.12(%rip), %rdx
	leaq	L_.str.13(%rip), %rcx
	leaq	L_.str.14(%rip), %r8
	leaq	L_.str.15(%rip), %r9
	movq	%rbx, %rdi
	pushq	$0
	leaq	L_.str.22(%rip), %rax
	pushq	%rax
	leaq	L_.str.21(%rip), %rax
	pushq	%rax
	pushq	%r11
	pushq	%r14
	pushq	%r10
	leaq	L_.str.17(%rip), %rax
	pushq	%rax
	leaq	L_.str.16(%rip), %rax
	pushq	%rax
	callq	_argv_array_pushl
	addq	$64, %rsp
	cmpq	$0, 56(%r13)
	je	LBB0_20
## %bb.19:
	movl	48(%r13), %esi
	movq	%rbx, %rdi
	callq	_argv_array_split
LBB0_20:
	movq	-48(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_argv_array_push
	movq	40(%r13), %rdi
	testq	%rdi, %rdi
	je	LBB0_22
## %bb.21:
	callq	_oid_to_hex
	leaq	L_.str.23(%rip), %rsi
	movq	%rbx, %rdi
	movl	%eax, %edx
	callq	_argv_array_pushf
LBB0_22:
	leaq	-112(%rbp), %rdi
	callq	_run_command
	testl	%eax, %eax
	leaq	-56(%rbp), %r14
	je	LBB0_24
## %bb.23:
	movl	%eax, %ebx
	movq	%r15, %rdi
	callq	_unlink
	movq	%r15, %rdi
	callq	_free
	movq	%r14, %rdi
	callq	_argv_array_clear
	movl	28(%r13), %edx
	leaq	L_.str.24(%rip), %rsi
	leaq	L_.str.25(%rip), %r8
	movq	%r12, %rdi
	xorl	%ecx, %ecx
	xorl	%r9d, %r9d
	callq	_reset_head
	leaq	L_.str.26(%rip), %rdi
	callq	__
	movl	24(%r13), %esi
	movl	%eax, %edi
	callq	_error
	leaq	-48(%rbp), %rdi
	callq	_strbuf_release
	jmp	LBB0_36
LBB0_2:
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	callq	_argv_array_push
	movq	_resolvemsg@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
	callq	_argv_array_pushf
	movq	(%r13), %rsi
	testq	%rsi, %rsi
	je	LBB0_4
## %bb.3:
	movq	%r14, %rdi
	callq	_argv_array_push
	jmp	LBB0_4
LBB0_24:
	leaq	-48(%rbp), %rdi
	callq	_strbuf_release
	movq	_O_RDONLY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_open
	movq	%rax, -64(%rbp)
	testq	%rax, %rax
	jns	LBB0_26
## %bb.25:
	leaq	L_.str.27(%rip), %rdi
	jmp	LBB0_17
LBB0_8:
	leaq	L_.str.5(%rip), %rsi
	movq	%r14, %rdi
	callq	_argv_array_push
	movq	_resolvemsg@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
	callq	_argv_array_pushf
LBB0_4:
	leaq	-80(%rbp), %rdi
	callq	_run_command
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_36
LBB0_5:
	movq	%r13, %rdi
	callq	_move_to_original_branch
	movl	%eax, %ebx
	jmp	LBB0_36
LBB0_26:
	movl	20(%r13), %esi
	movq	%r14, %rdi
	callq	_argv_array_pushv
	leaq	L_.str.28(%rip), %rsi
	movq	%r14, %rdi
	callq	_argv_array_push
	movq	_resolvemsg@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
	callq	_argv_array_pushf
	leaq	L_.str.29(%rip), %rsi
	movq	%r14, %rdi
	callq	_argv_array_push
	movq	8(%r13), %rax
	movq	_RERERE_AUTOUPDATE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_28
## %bb.27:
	leaq	L_.str.30(%rip), %rsi
	jmp	LBB0_30
LBB0_11:
	leaq	L_.str.7(%rip), %rsi
	movq	%r14, %rdi
	callq	_argv_array_push
	leaq	-80(%rbp), %rdi
	callq	_run_command
	movl	%eax, %ebx
	jmp	LBB0_36
LBB0_28:
	movq	_RERERE_NOAUTOUPDATE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_31
## %bb.29:
	leaq	L_.str.31(%rip), %rsi
LBB0_30:
	movq	%r14, %rdi
	callq	_argv_array_push
LBB0_31:
	movq	(%r13), %rsi
	testq	%rsi, %rsi
	je	LBB0_33
## %bb.32:
	movq	%r14, %rdi
	callq	_argv_array_push
LBB0_33:
	leaq	-80(%rbp), %rdi
	callq	_run_command
	movl	%eax, %ebx
	movq	%r15, %rdi
	callq	_unlink
	movq	%r15, %rdi
	callq	_free
	testl	%ebx, %ebx
	je	LBB0_5
## %bb.34:
	movl	16(%r13), %edi
	callq	_is_directory
	testq	%rax, %rax
	je	LBB0_36
## %bb.35:
	movq	%r13, %rdi
	callq	_rebase_write_basic_state
LBB0_36:
	movl	%ebx, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CHILD_PROCESS_INIT,32,3        ## @CHILD_PROCESS_INIT
	.comm	_STRBUF_INIT,8,3                ## @STRBUF_INIT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"am"

L_.str.1:                               ## @.str.1
	.asciz	"continue"

L_.str.2:                               ## @.str.2
	.asciz	"--resolved"

L_.str.3:                               ## @.str.3
	.asciz	"--resolvemsg=%s"

	.comm	_resolvemsg,4,2                 ## @resolvemsg
L_.str.4:                               ## @.str.4
	.asciz	"skip"

L_.str.5:                               ## @.str.5
	.asciz	"--skip"

L_.str.6:                               ## @.str.6
	.asciz	"show-current-patch"

L_.str.7:                               ## @.str.7
	.asciz	"--show-current-patch"

L_.str.8:                               ## @.str.8
	.asciz	"%s...%s"

L_.str.9:                               ## @.str.9
	.asciz	"rebased-patches"

	.comm	_O_WRONLY,4,2                   ## @O_WRONLY
	.comm	_O_CREAT,4,2                    ## @O_CREAT
	.comm	_O_TRUNC,4,2                    ## @O_TRUNC
L_.str.10:                              ## @.str.10
	.asciz	"could not open '%s' for writing"

L_.str.11:                              ## @.str.11
	.asciz	"format-patch"

L_.str.12:                              ## @.str.12
	.asciz	"-k"

L_.str.13:                              ## @.str.13
	.asciz	"--stdout"

L_.str.14:                              ## @.str.14
	.asciz	"--full-index"

L_.str.15:                              ## @.str.15
	.asciz	"--cherry-pick"

L_.str.16:                              ## @.str.16
	.asciz	"--right-only"

L_.str.17:                              ## @.str.17
	.asciz	"--src-prefix=a/"

L_.str.18:                              ## @.str.18
	.asciz	"--dst-prefix=b/"

L_.str.19:                              ## @.str.19
	.asciz	"--no-renames"

L_.str.20:                              ## @.str.20
	.asciz	"--no-cover-letter"

L_.str.21:                              ## @.str.21
	.asciz	"--pretty=mboxrd"

L_.str.22:                              ## @.str.22
	.asciz	"--topo-order"

L_.str.23:                              ## @.str.23
	.asciz	"^%s"

L_.str.24:                              ## @.str.24
	.asciz	"checkout"

L_.str.25:                              ## @.str.25
	.asciz	"HEAD"

L_.str.26:                              ## @.str.26
	.asciz	"\ngit encountered an error while preparing the patches to replay\nthese revisions:\n\n    %s\n\nAs a result, git cannot rebase them."

	.comm	_O_RDONLY,4,2                   ## @O_RDONLY
L_.str.27:                              ## @.str.27
	.asciz	"could not open '%s' for reading"

L_.str.28:                              ## @.str.28
	.asciz	"--rebasing"

L_.str.29:                              ## @.str.29
	.asciz	"--patch-format=mboxrd"

	.comm	_RERERE_AUTOUPDATE,8,3          ## @RERERE_AUTOUPDATE
L_.str.30:                              ## @.str.30
	.asciz	"--rerere-autoupdate"

	.comm	_RERERE_NOAUTOUPDATE,8,3        ## @RERERE_NOAUTOUPDATE
L_.str.31:                              ## @.str.31
	.asciz	"--no-rerere-autoupdate"

	.no_dead_strip	_run_am
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function run_am
_run_am:                                ; @run_am
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #192
	.cfi_def_cfa_offset 192
	stp	x24, x23, [sp, #128]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #144]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #160]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #176]            ; 16-byte Folded Spill
	add	x29, sp, #176
	.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	x19, x0
Lloh0:
	adrp	x8, _CHILD_PROCESS_INIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CHILD_PROCESS_INIT@GOTPAGEOFF]
	ldp	q0, q1, [x8]
	stp	q0, q1, [x29, #-80]
	stp	q0, q1, [sp, #64]
Lloh2:
	adrp	x8, _STRBUF_INIT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _STRBUF_INIT@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	str	x8, [sp, #56]
	mov	w8, #1
	stur	w8, [x29, #-80]
	sub	x8, x29, #80
	add	x20, x8, #24
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_argv_array_push
	ldr	x1, [x19, #88]
	cbz	x1, LBB0_6
; %bb.1:
Lloh7:
	adrp	x0, l_.str.1@PAGE
Lloh8:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_strcmp
	cbz	w0, LBB0_18
; %bb.2:
	ldr	x1, [x19, #88]
	cbz	x1, LBB0_6
; %bb.3:
Lloh9:
	adrp	x0, l_.str.4@PAGE
Lloh10:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_strcmp
	cbz	w0, LBB0_22
; %bb.4:
	ldr	x1, [x19, #88]
	cbz	x1, LBB0_6
; %bb.5:
Lloh11:
	adrp	x0, l_.str.6@PAGE
Lloh12:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_strcmp
	cbz	w0, LBB0_27
LBB0_6:
	ldr	x8, [x19, #80]
	cbz	x8, LBB0_8
; %bb.7:
	ldr	x0, [x19, #72]
	b	LBB0_9
LBB0_8:
	ldr	x0, [x19, #64]
LBB0_9:
	bl	_oid_to_hex
	mov	x21, x0
	add	x22, x19, #32
	mov	x0, x22
	bl	_oid_to_hex
	mov	x3, x0
Lloh13:
	adrp	x1, l_.str.8@PAGE
Lloh14:
	add	x1, x1, l_.str.8@PAGEOFF
	add	x0, sp, #56
	mov	x2, x21
	bl	_strbuf_addf
Lloh15:
	adrp	x0, l_.str.9@PAGE
Lloh16:
	add	x0, x0, l_.str.9@PAGEOFF
	bl	_git_path
	bl	_xstrdup
	mov	x21, x0
Lloh17:
	adrp	x8, _O_WRONLY@GOTPAGE
Lloh18:
	ldr	x8, [x8, _O_WRONLY@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
Lloh20:
	adrp	x9, _O_CREAT@GOTPAGE
Lloh21:
	ldr	x9, [x9, _O_CREAT@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh23:
	adrp	x9, _O_TRUNC@GOTPAGE
Lloh24:
	ldr	x9, [x9, _O_TRUNC@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
	orr	w1, w8, w9
	mov	w8, #438
	str	x8, [sp]
	bl	_open
	str	x0, [sp, #72]
	tbz	x0, #63, LBB0_12
; %bb.10:
Lloh26:
	adrp	x0, l_.str.10@PAGE
Lloh27:
	add	x0, x0, l_.str.10@PAGEOFF
LBB0_11:
	bl	__
	mov	x1, x21
	bl	_error_errno
	mov	x23, x0
	mov	x0, x21
	bl	_free
	mov	x0, x20
	bl	_argv_array_clear
	b	LBB0_36
LBB0_12:
	mov	w8, #1
	str	w8, [sp, #64]
	add	x8, sp, #64
	add	x23, x8, #24
Lloh28:
	adrp	x8, l_.str.22@PAGE
Lloh29:
	add	x8, x8, l_.str.22@PAGEOFF
	stp	x8, xzr, [sp, #32]
Lloh30:
	adrp	x8, l_.str.21@PAGE
Lloh31:
	add	x8, x8, l_.str.21@PAGEOFF
Lloh32:
	adrp	x9, l_.str.20@PAGE
Lloh33:
	add	x9, x9, l_.str.20@PAGEOFF
	stp	x9, x8, [sp, #16]
Lloh34:
	adrp	x8, l_.str.19@PAGE
Lloh35:
	add	x8, x8, l_.str.19@PAGEOFF
Lloh36:
	adrp	x9, l_.str.18@PAGE
Lloh37:
	add	x9, x9, l_.str.18@PAGEOFF
	stp	x9, x8, [sp]
Lloh38:
	adrp	x1, l_.str.11@PAGE
Lloh39:
	add	x1, x1, l_.str.11@PAGEOFF
Lloh40:
	adrp	x2, l_.str.12@PAGE
Lloh41:
	add	x2, x2, l_.str.12@PAGEOFF
Lloh42:
	adrp	x3, l_.str.13@PAGE
Lloh43:
	add	x3, x3, l_.str.13@PAGEOFF
Lloh44:
	adrp	x4, l_.str.14@PAGE
Lloh45:
	add	x4, x4, l_.str.14@PAGEOFF
Lloh46:
	adrp	x5, l_.str.15@PAGE
Lloh47:
	add	x5, x5, l_.str.15@PAGEOFF
Lloh48:
	adrp	x6, l_.str.16@PAGE
Lloh49:
	add	x6, x6, l_.str.16@PAGEOFF
Lloh50:
	adrp	x7, l_.str.17@PAGE
Lloh51:
	add	x7, x7, l_.str.17@PAGEOFF
	mov	x0, x23
	bl	_argv_array_pushl
	ldr	x8, [x19, #56]
	cbz	x8, LBB0_14
; %bb.13:
	ldr	w1, [x19, #48]
	mov	x0, x23
	bl	_argv_array_split
LBB0_14:
	ldr	x1, [sp, #56]
	mov	x0, x23
	bl	_argv_array_push
	ldr	x0, [x19, #40]
	cbz	x0, LBB0_16
; %bb.15:
	bl	_oid_to_hex
	mov	x2, x0
Lloh52:
	adrp	x1, l_.str.23@PAGE
Lloh53:
	add	x1, x1, l_.str.23@PAGEOFF
	mov	x0, x23
	bl	_argv_array_pushf
LBB0_16:
	add	x0, sp, #64
	bl	_run_command
	cbz	w0, LBB0_20
; %bb.17:
	mov	x23, x0
	mov	x0, x21
	bl	_unlink
	mov	x0, x21
	bl	_free
	mov	x0, x20
	bl	_argv_array_clear
	ldr	w2, [x19, #28]
Lloh54:
	adrp	x1, l_.str.24@PAGE
Lloh55:
	add	x1, x1, l_.str.24@PAGEOFF
Lloh56:
	adrp	x4, l_.str.25@PAGE
Lloh57:
	add	x4, x4, l_.str.25@PAGEOFF
	mov	x0, x22
	mov	w3, #0
	mov	x5, #0
	bl	_reset_head
Lloh58:
	adrp	x0, l_.str.26@PAGE
Lloh59:
	add	x0, x0, l_.str.26@PAGEOFF
	bl	__
	ldr	w1, [x19, #24]
	bl	_error
	add	x0, sp, #56
	bl	_strbuf_release
	b	LBB0_36
LBB0_18:
Lloh60:
	adrp	x1, l_.str.2@PAGE
Lloh61:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_argv_array_push
Lloh62:
	adrp	x8, _resolvemsg@GOTPAGE
Lloh63:
	ldr	x8, [x8, _resolvemsg@GOTPAGEOFF]
Lloh64:
	ldr	w2, [x8]
Lloh65:
	adrp	x1, l_.str.3@PAGE
Lloh66:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	bl	_argv_array_pushf
	ldr	x1, [x19]
	cbz	x1, LBB0_23
; %bb.19:
	mov	x0, x20
	bl	_argv_array_push
	b	LBB0_23
LBB0_20:
	add	x0, sp, #56
	bl	_strbuf_release
Lloh67:
	adrp	x8, _O_RDONLY@GOTPAGE
Lloh68:
	ldr	x8, [x8, _O_RDONLY@GOTPAGEOFF]
Lloh69:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_open
	stur	x0, [x29, #-64]
	tbz	x0, #63, LBB0_25
; %bb.21:
Lloh70:
	adrp	x0, l_.str.27@PAGE
Lloh71:
	add	x0, x0, l_.str.27@PAGEOFF
	b	LBB0_11
LBB0_22:
Lloh72:
	adrp	x1, l_.str.5@PAGE
Lloh73:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x20
	bl	_argv_array_push
Lloh74:
	adrp	x8, _resolvemsg@GOTPAGE
Lloh75:
	ldr	x8, [x8, _resolvemsg@GOTPAGEOFF]
Lloh76:
	ldr	w2, [x8]
Lloh77:
	adrp	x1, l_.str.3@PAGE
Lloh78:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	bl	_argv_array_pushf
LBB0_23:
	sub	x0, x29, #80
	bl	_run_command
	mov	x23, x0
	cbnz	w0, LBB0_36
LBB0_24:
	mov	x0, x19
	bl	_move_to_original_branch
	mov	x23, x0
	b	LBB0_36
LBB0_25:
	ldr	w1, [x19, #20]
	mov	x0, x20
	bl	_argv_array_pushv
Lloh79:
	adrp	x1, l_.str.28@PAGE
Lloh80:
	add	x1, x1, l_.str.28@PAGEOFF
	mov	x0, x20
	bl	_argv_array_push
Lloh81:
	adrp	x8, _resolvemsg@GOTPAGE
Lloh82:
	ldr	x8, [x8, _resolvemsg@GOTPAGEOFF]
Lloh83:
	ldr	w2, [x8]
Lloh84:
	adrp	x1, l_.str.3@PAGE
Lloh85:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	bl	_argv_array_pushf
Lloh86:
	adrp	x1, l_.str.29@PAGE
Lloh87:
	add	x1, x1, l_.str.29@PAGEOFF
	mov	x0, x20
	bl	_argv_array_push
	ldr	x8, [x19, #8]
Lloh88:
	adrp	x9, _RERERE_AUTOUPDATE@GOTPAGE
Lloh89:
	ldr	x9, [x9, _RERERE_AUTOUPDATE@GOTPAGEOFF]
Lloh90:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_28
; %bb.26:
Lloh91:
	adrp	x1, l_.str.30@PAGE
Lloh92:
	add	x1, x1, l_.str.30@PAGEOFF
	b	LBB0_30
LBB0_27:
Lloh93:
	adrp	x1, l_.str.7@PAGE
Lloh94:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x20
	bl	_argv_array_push
	sub	x0, x29, #80
	bl	_run_command
	mov	x23, x0
	b	LBB0_36
LBB0_28:
Lloh95:
	adrp	x9, _RERERE_NOAUTOUPDATE@GOTPAGE
Lloh96:
	ldr	x9, [x9, _RERERE_NOAUTOUPDATE@GOTPAGEOFF]
Lloh97:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_31
; %bb.29:
Lloh98:
	adrp	x1, l_.str.31@PAGE
Lloh99:
	add	x1, x1, l_.str.31@PAGEOFF
LBB0_30:
	mov	x0, x20
	bl	_argv_array_push
LBB0_31:
	ldr	x1, [x19]
	cbz	x1, LBB0_33
; %bb.32:
	mov	x0, x20
	bl	_argv_array_push
LBB0_33:
	sub	x0, x29, #80
	bl	_run_command
	mov	x23, x0
	mov	x0, x21
	bl	_unlink
	mov	x0, x21
	bl	_free
	cbz	w23, LBB0_24
; %bb.34:
	ldr	w0, [x19, #16]
	bl	_is_directory
	cbz	x0, LBB0_36
; %bb.35:
	mov	x0, x19
	bl	_rebase_write_basic_state
LBB0_36:
	mov	x0, x23
	ldp	x29, x30, [sp, #176]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #160]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #144]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #128]            ; 16-byte Folded Reload
	add	sp, sp, #192
	ret
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh52, Lloh53
	.loh AdrpAdd	Lloh58, Lloh59
	.loh AdrpAdd	Lloh56, Lloh57
	.loh AdrpAdd	Lloh54, Lloh55
	.loh AdrpAdd	Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpAdd	Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpAdd	Lloh70, Lloh71
	.loh AdrpAdd	Lloh77, Lloh78
	.loh AdrpLdrGotLdr	Lloh74, Lloh75, Lloh76
	.loh AdrpAdd	Lloh72, Lloh73
	.loh AdrpLdrGotLdr	Lloh88, Lloh89, Lloh90
	.loh AdrpAdd	Lloh86, Lloh87
	.loh AdrpAdd	Lloh84, Lloh85
	.loh AdrpLdrGotLdr	Lloh81, Lloh82, Lloh83
	.loh AdrpAdd	Lloh79, Lloh80
	.loh AdrpAdd	Lloh91, Lloh92
	.loh AdrpAdd	Lloh93, Lloh94
	.loh AdrpLdrGotLdr	Lloh95, Lloh96, Lloh97
	.loh AdrpAdd	Lloh98, Lloh99
	.cfi_endproc
                                        ; -- End function
	.comm	_CHILD_PROCESS_INIT,32,3        ; @CHILD_PROCESS_INIT
	.comm	_STRBUF_INIT,8,3                ; @STRBUF_INIT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"am"

l_.str.1:                               ; @.str.1
	.asciz	"continue"

l_.str.2:                               ; @.str.2
	.asciz	"--resolved"

l_.str.3:                               ; @.str.3
	.asciz	"--resolvemsg=%s"

	.comm	_resolvemsg,4,2                 ; @resolvemsg
l_.str.4:                               ; @.str.4
	.asciz	"skip"

l_.str.5:                               ; @.str.5
	.asciz	"--skip"

l_.str.6:                               ; @.str.6
	.asciz	"show-current-patch"

l_.str.7:                               ; @.str.7
	.asciz	"--show-current-patch"

l_.str.8:                               ; @.str.8
	.asciz	"%s...%s"

l_.str.9:                               ; @.str.9
	.asciz	"rebased-patches"

	.comm	_O_WRONLY,4,2                   ; @O_WRONLY
	.comm	_O_CREAT,4,2                    ; @O_CREAT
	.comm	_O_TRUNC,4,2                    ; @O_TRUNC
l_.str.10:                              ; @.str.10
	.asciz	"could not open '%s' for writing"

l_.str.11:                              ; @.str.11
	.asciz	"format-patch"

l_.str.12:                              ; @.str.12
	.asciz	"-k"

l_.str.13:                              ; @.str.13
	.asciz	"--stdout"

l_.str.14:                              ; @.str.14
	.asciz	"--full-index"

l_.str.15:                              ; @.str.15
	.asciz	"--cherry-pick"

l_.str.16:                              ; @.str.16
	.asciz	"--right-only"

l_.str.17:                              ; @.str.17
	.asciz	"--src-prefix=a/"

l_.str.18:                              ; @.str.18
	.asciz	"--dst-prefix=b/"

l_.str.19:                              ; @.str.19
	.asciz	"--no-renames"

l_.str.20:                              ; @.str.20
	.asciz	"--no-cover-letter"

l_.str.21:                              ; @.str.21
	.asciz	"--pretty=mboxrd"

l_.str.22:                              ; @.str.22
	.asciz	"--topo-order"

l_.str.23:                              ; @.str.23
	.asciz	"^%s"

l_.str.24:                              ; @.str.24
	.asciz	"checkout"

l_.str.25:                              ; @.str.25
	.asciz	"HEAD"

l_.str.26:                              ; @.str.26
	.asciz	"\ngit encountered an error while preparing the patches to replay\nthese revisions:\n\n    %s\n\nAs a result, git cannot rebase them."

	.comm	_O_RDONLY,4,2                   ; @O_RDONLY
l_.str.27:                              ; @.str.27
	.asciz	"could not open '%s' for reading"

l_.str.28:                              ; @.str.28
	.asciz	"--rebasing"

l_.str.29:                              ; @.str.29
	.asciz	"--patch-format=mboxrd"

	.comm	_RERERE_AUTOUPDATE,8,3          ; @RERERE_AUTOUPDATE
l_.str.30:                              ; @.str.30
	.asciz	"--rerere-autoupdate"

	.comm	_RERERE_NOAUTOUPDATE,8,3        ; @RERERE_NOAUTOUPDATE
l_.str.31:                              ; @.str.31
	.asciz	"--no-rerere-autoupdate"

	.no_dead_strip	_run_am
.subsections_via_symbols
