	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function sequencer_make_script
LCPI0_0:
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_sequencer_make_script
	.p2align	4, 0x90
_sequencer_make_script:                 ## @sequencer_make_script
	.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	$88, %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, -88(%rbp)                 ## 8-byte Spill
	movl	%edx, -72(%rbp)                 ## 4-byte Spill
	movq	%rsi, %r14
	movq	$0, -48(%rbp)
	movl	$0, -56(%rbp)
	movq	$0, -64(%rbp)
	movq	_TODO_LIST_KEEP_EMPTY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -76(%rbp)                 ## 4-byte Spill
	movq	_TODO_LIST_ABBREVIATE_CMDS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%r8d, %eax
	leaq	L_.str.1(%rip), %rax
	leaq	L_.str(%rip), %r12
	cmoveq	%rax, %r12
	movq	_TODO_LIST_REBASE_MERGES@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	leaq	-128(%rbp), %rsi
	xorl	%edx, %edx
	callq	_repo_init_revisions
	movl	$1, -128(%rbp)
	movl	%ebx, %r15d
	testl	%ebx, %r13d
	jne	LBB0_2
## %bb.1:
	movl	$1, -124(%rbp)
LBB0_2:
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [1,1,1,1]
	movups	%xmm0, -120(%rbp)
	movq	_REV_SORT_IN_GRAPH_ORDER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -92(%rbp)
	movabsq	$4294967297, %rax               ## imm = 0x100000001
	movq	%rax, -104(%rbp)
	leaq	L_.str.2(%rip), %rdi
	leaq	-48(%rbp), %rsi
	callq	_git_config_get_string
	movq	-48(%rbp), %rdi
	testq	%rdi, %rdi
	movl	%r13d, -68(%rbp)                ## 4-byte Spill
	je	LBB0_5
## %bb.3:
	cmpb	$0, (%rdi)
	je	LBB0_5
## %bb.4:
	movq	-88(%rbp), %r13                 ## 8-byte Reload
	jmp	LBB0_6
LBB0_5:
	movq	-88(%rbp), %r13                 ## 8-byte Reload
	callq	_free
	leaq	L_.str.3(%rip), %rdi
	callq	_xstrdup
	movq	%rax, %rdi
	movq	%rax, -48(%rbp)
LBB0_6:
	movl	%r15d, %ebx
	movq	%r12, %r15
	leaq	-128(%rbp), %r12
	movq	%r12, %rsi
	callq	_get_commit_format
	movq	-48(%rbp), %rdi
	callq	_free
	movl	-96(%rbp), %eax
	movl	%eax, -60(%rbp)
	xorl	%eax, %eax
	callq	_get_log_output_encoding
	movl	%eax, -64(%rbp)
	movl	-72(%rbp), %edi                 ## 4-byte Reload
	movq	%r13, %rsi
	movq	%r12, %rdx
	xorl	%ecx, %ecx
	callq	_setup_revisions
	cmpl	$2, %eax
	jl	LBB0_9
## %bb.7:
	leaq	L_.str.4(%rip), %rdi
	jmp	LBB0_8
LBB0_9:
	leaq	-128(%rbp), %rdi
	callq	_prepare_revision_walk
	testq	%rax, %rax
	js	LBB0_10
## %bb.11:
	testl	%ebx, -68(%rbp)                 ## 4-byte Folded Reload
	je	LBB0_12
## %bb.22:
	leaq	-64(%rbp), %rdi
	leaq	-128(%rbp), %rsi
	movq	%r14, %rdx
	movl	%ebx, %ecx
	callq	_make_script_with_merges
	jmp	LBB0_21
LBB0_10:
	leaq	L_.str.5(%rip), %rdi
LBB0_8:
	callq	__
	movl	%eax, %edi
	callq	_error
LBB0_21:
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	leaq	-128(%rbp), %rdi
	callq	_get_revision
	testq	%rax, %rax
	je	LBB0_20
## %bb.13:
	movq	%rax, %r13
	leaq	-128(%rbp), %r12
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_14 Depth=1
	leaq	4(%r13), %rdi
	callq	_oid_to_hex
	movq	%r14, %rdi
	leaq	L_.str.7(%rip), %rsi
	movq	%r15, %rdx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_strbuf_addf
	leaq	-64(%rbp), %rdi
	movq	%r13, %rsi
	movq	%r14, %rdx
	callq	_pretty_print_commit
	movq	%r14, %rdi
	movl	$10, %esi
	callq	_strbuf_addch
LBB0_19:                                ##   in Loop: Header=BB0_14 Depth=1
	movq	%r12, %rdi
	callq	_get_revision
	movq	%rax, %r13
	testq	%rax, %rax
	je	LBB0_20
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	callq	_is_original_commit_empty
	testl	%eax, %eax
	je	LBB0_15
## %bb.16:                              ##   in Loop: Header=BB0_14 Depth=1
	testl	%ebx, -76(%rbp)                 ## 4-byte Folded Reload
	jne	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	_comment_line_char@GOTPCREL(%rip), %rax
	movslq	(%rax), %rdx
	movq	%r14, %rdi
	leaq	L_.str.6(%rip), %rsi
	xorl	%eax, %eax
	callq	_strbuf_addf
	jmp	LBB0_18
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_14 Depth=1
	movq	_PATCHSAME@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r13)
	jne	LBB0_19
	jmp	LBB0_18
LBB0_20:
	xorl	%eax, %eax
	jmp	LBB0_21
	.cfi_endproc
                                        ## -- End function
	.comm	_TODO_LIST_KEEP_EMPTY,4,2       ## @TODO_LIST_KEEP_EMPTY
	.comm	_TODO_LIST_ABBREVIATE_CMDS,4,2  ## @TODO_LIST_ABBREVIATE_CMDS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"p"

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

	.comm	_TODO_LIST_REBASE_MERGES,4,2    ## @TODO_LIST_REBASE_MERGES
	.comm	_REV_SORT_IN_GRAPH_ORDER,4,2    ## @REV_SORT_IN_GRAPH_ORDER
L_.str.2:                               ## @.str.2
	.asciz	"rebase.instructionFormat"

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

L_.str.4:                               ## @.str.4
	.asciz	"make_script: unhandled options"

L_.str.5:                               ## @.str.5
	.asciz	"make_script: error preparing revisions"

	.comm	_PATCHSAME,4,2                  ## @PATCHSAME
L_.str.6:                               ## @.str.6
	.asciz	"%c "

	.comm	_comment_line_char,4,2          ## @comment_line_char
L_.str.7:                               ## @.str.7
	.asciz	"%s %s "

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sequencer_make_script          ; -- Begin function sequencer_make_script
	.p2align	2
_sequencer_make_script:                 ; @sequencer_make_script
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
	mov	x21, x4
	mov	x22, x3
	mov	x23, x2
	mov	x19, x1
	str	xzr, [sp, #72]
	str	wzr, [sp, #64]
	str	xzr, [sp, #56]
Lloh0:
	adrp	x8, _TODO_LIST_KEEP_EMPTY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TODO_LIST_KEEP_EMPTY@GOTPAGEOFF]
Lloh2:
	adrp	x9, _TODO_LIST_ABBREVIATE_CMDS@GOTPAGE
Lloh3:
	ldr	x9, [x9, _TODO_LIST_ABBREVIATE_CMDS@GOTPAGEOFF]
Lloh4:
	ldr	w24, [x8]
Lloh5:
	ldr	w8, [x9]
Lloh6:
	adrp	x9, l_.str@PAGE
Lloh7:
	add	x9, x9, l_.str@PAGEOFF
Lloh8:
	adrp	x10, l_.str.1@PAGE
Lloh9:
	add	x10, x10, l_.str.1@PAGEOFF
	tst	w8, w4
	csel	x20, x10, x9, eq
Lloh10:
	adrp	x8, _TODO_LIST_REBASE_MERGES@GOTPAGE
Lloh11:
	ldr	x8, [x8, _TODO_LIST_REBASE_MERGES@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	and	w25, w8, w4
	add	x1, sp, #16
	mov	x2, #0
	bl	_repo_init_revisions
	mov	w8, #1
	str	w8, [sp, #16]
	cbnz	w25, LBB0_2
; %bb.1:
	str	w8, [sp, #20]
LBB0_2:
	movi.4s	v0, #1
	stur	q0, [sp, #24]
Lloh13:
	adrp	x8, _REV_SORT_IN_GRAPH_ORDER@GOTPAGE
Lloh14:
	ldr	x8, [x8, _REV_SORT_IN_GRAPH_ORDER@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	str	w8, [sp, #52]
	movi.2s	v0, #1
	str	d0, [sp, #40]
Lloh16:
	adrp	x0, l_.str.2@PAGE
Lloh17:
	add	x0, x0, l_.str.2@PAGEOFF
	add	x1, sp, #72
	bl	_git_config_get_string
	ldr	x0, [sp, #72]
	cbz	x0, LBB0_4
; %bb.3:
	ldrb	w8, [x0]
	cbnz	w8, LBB0_5
LBB0_4:
	bl	_free
Lloh18:
	adrp	x0, l_.str.3@PAGE
Lloh19:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_xstrdup
	str	x0, [sp, #72]
LBB0_5:
	add	x1, sp, #16
	bl	_get_commit_format
	ldr	x0, [sp, #72]
	bl	_free
	ldr	w8, [sp, #48]
	str	w8, [sp, #60]
	bl	_get_log_output_encoding
	str	w0, [sp, #56]
	add	x2, sp, #16
	mov	x0, x23
	mov	x1, x22
	mov	x3, #0
	bl	_setup_revisions
	cmp	w0, #2
	b.lt	LBB0_7
; %bb.6:
Lloh20:
	adrp	x0, l_.str.4@PAGE
Lloh21:
	add	x0, x0, l_.str.4@PAGEOFF
	b	LBB0_11
LBB0_7:
	add	x0, sp, #16
	bl	_prepare_revision_walk
	tbnz	x0, #63, LBB0_10
; %bb.8:
	cbz	w25, LBB0_13
; %bb.9:
	add	x0, sp, #56
	add	x1, sp, #16
	mov	x2, x19
	mov	x3, x21
	bl	_make_script_with_merges
	b	LBB0_12
LBB0_10:
Lloh22:
	adrp	x0, l_.str.5@PAGE
Lloh23:
	add	x0, x0, l_.str.5@PAGEOFF
LBB0_11:
	bl	__
	bl	_error
LBB0_12:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_13:
	add	x0, sp, #16
	bl	_get_revision
	cbz	x0, LBB0_12
; %bb.14:
	mov	x23, x0
	and	w24, w24, w21
Lloh24:
	adrp	x25, _PATCHSAME@GOTPAGE
Lloh25:
	ldr	x25, [x25, _PATCHSAME@GOTPAGEOFF]
Lloh26:
	adrp	x21, l_.str.7@PAGE
Lloh27:
	add	x21, x21, l_.str.7@PAGEOFF
Lloh28:
	adrp	x26, _comment_line_char@GOTPAGE
Lloh29:
	ldr	x26, [x26, _comment_line_char@GOTPAGEOFF]
Lloh30:
	adrp	x22, l_.str.6@PAGE
Lloh31:
	add	x22, x22, l_.str.6@PAGEOFF
	b	LBB0_17
LBB0_15:                                ;   in Loop: Header=BB0_17 Depth=1
	add	x0, x23, #4
	bl	_oid_to_hex
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	bl	_strbuf_addf
	add	x0, sp, #56
	mov	x1, x23
	mov	x2, x19
	bl	_pretty_print_commit
	mov	x0, x19
	mov	w1, #10
	bl	_strbuf_addch
LBB0_16:                                ;   in Loop: Header=BB0_17 Depth=1
	add	x0, sp, #16
	bl	_get_revision
	mov	x23, x0
	cbz	x0, LBB0_12
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x23
	bl	_is_original_commit_empty
	cbz	w0, LBB0_20
; %bb.18:                               ;   in Loop: Header=BB0_17 Depth=1
	cbnz	w24, LBB0_15
; %bb.19:                               ;   in Loop: Header=BB0_17 Depth=1
	ldrsw	x2, [x26]
	mov	x0, x19
	mov	x1, x22
	bl	_strbuf_addf
	b	LBB0_15
LBB0_20:                                ;   in Loop: Header=BB0_17 Depth=1
	ldr	w8, [x23]
	ldr	w9, [x25]
	tst	w9, w8
	b.ne	LBB0_16
	b	LBB0_15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_TODO_LIST_KEEP_EMPTY,4,2       ; @TODO_LIST_KEEP_EMPTY
	.comm	_TODO_LIST_ABBREVIATE_CMDS,4,2  ; @TODO_LIST_ABBREVIATE_CMDS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"p"

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

	.comm	_TODO_LIST_REBASE_MERGES,4,2    ; @TODO_LIST_REBASE_MERGES
	.comm	_REV_SORT_IN_GRAPH_ORDER,4,2    ; @REV_SORT_IN_GRAPH_ORDER
l_.str.2:                               ; @.str.2
	.asciz	"rebase.instructionFormat"

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

l_.str.4:                               ; @.str.4
	.asciz	"make_script: unhandled options"

l_.str.5:                               ; @.str.5
	.asciz	"make_script: error preparing revisions"

	.comm	_PATCHSAME,4,2                  ; @PATCHSAME
l_.str.6:                               ; @.str.6
	.asciz	"%c "

	.comm	_comment_line_char,4,2          ; @comment_line_char
l_.str.7:                               ; @.str.7
	.asciz	"%s %s "

.subsections_via_symbols
