	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function skip_unnecessary_picks
_skip_unnecessary_picks:                ## @skip_unnecessary_picks
	.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	(%rsi), %eax
	testl	%eax, %eax
	jle	LBB0_1
## %bb.2:
	movq	%rsi, %r15
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movl	$8, %ebx
	xorl	%r12d, %r12d
	movq	_TODO_NOOP@GOTPCREL(%rip), %rdx
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r14,%rbx), %rsi
	movq	%r13, %rdi
	callq	_oidcpy
	movl	(%r15), %eax
	movq	_TODO_NOOP@GOTPCREL(%rip), %rdx
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=1
	incq	%r12
	movslq	%eax, %rcx
	addq	$16, %rbx
	cmpq	%rcx, %r12
	jge	LBB0_11
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%r15), %r14
	movq	-8(%r14,%rbx), %rcx
	cmpq	(%rdx), %rcx
	jge	LBB0_10
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	_TODO_PICK@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rcx
	jne	LBB0_11
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r14,%rbx), %rdi
	callq	_parse_commit
	testq	%rax, %rax
	jne	LBB0_17
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r14,%rbx), %rax
	movq	8(%rax), %rax
	testq	%rax, %rax
	je	LBB0_11
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpq	$0, 8(%rax)
	jne	LBB0_11
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	(%rax), %rdi
	movq	%r13, %rsi
	callq	_oideq
	testl	%eax, %eax
	jne	LBB0_9
LBB0_11:
	xorl	%r13d, %r13d
	testl	%r12d, %r12d
	je	LBB0_16
## %bb.12:
	xorl	%eax, %eax
	callq	_rebase_path_done
	movq	%rax, %rbx
	movl	$0, (%rsp)
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	movq	%rax, %rdx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	movl	%r12d, %r9d
	callq	_todo_list_write_to_file
	testq	%rax, %rax
	je	LBB0_13
## %bb.15:
	leaq	L_.str.1(%rip), %rdi
	callq	__
	movl	%eax, %edi
	movq	%rbx, %rsi
	callq	_error_errno
	movl	$-1, %r13d
	jmp	LBB0_16
LBB0_1:
	xorl	%r13d, %r13d
LBB0_16:
	movl	%r13d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	movq	16(%r15), %rdi
	movl	%r12d, %esi
	shlq	$4, %rsi
	addq	%rdi, %rsi
	movl	(%r15), %edx
	subl	%r12d, %edx
	callq	_MOVE_ARRAY
	subl	%r12d, (%r15)
	movq	$0, 8(%r15)
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_peek_command
	movl	%eax, %edi
	callq	_is_fixup
	testq	%rax, %rax
	je	LBB0_16
## %bb.14:
	xorl	%r13d, %r13d
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_peek_command
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%eax, %esi
	callq	_record_in_rewritten
	jmp	LBB0_16
LBB0_17:
	leaq	L_.str(%rip), %rdi
	callq	__
	movl	%eax, %r15d
	movq	(%r14,%rbx), %rdi
	callq	_oid_to_hex
	movl	%r15d, %edi
	movl	%eax, %esi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_error                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_TODO_NOOP,8,3                  ## @TODO_NOOP
	.comm	_TODO_PICK,8,3                  ## @TODO_PICK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"could not parse commit '%s'"

L_.str.1:                               ## @.str.1
	.asciz	"could not write to '%s'"

	.no_dead_strip	_skip_unnecessary_picks
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function skip_unnecessary_picks
_skip_unnecessary_picks:                ; @skip_unnecessary_picks
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	ldr	w8, [x1]
	cmp	w8, #1
	b.lt	LBB0_15
; %bb.1:
	mov	x19, x2
	mov	x20, x1
	mov	x22, x0
	mov	x23, #0
	mov	x21, #0
Lloh0:
	adrp	x24, _TODO_NOOP@GOTPAGE
Lloh1:
	ldr	x24, [x24, _TODO_NOOP@GOTPAGEOFF]
Lloh2:
	adrp	x25, _TODO_PICK@GOTPAGE
Lloh3:
	ldr	x25, [x25, _TODO_PICK@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x1, [x26, #8]
	mov	x0, x19
	bl	_oidcpy
	ldr	w8, [x20]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x21, x21, #1
	add	x23, x23, #16
	cmp	x21, w8, sxtw
	b.ge	LBB0_10
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x20, #16]
	ldr	x10, [x9, x23]
	ldr	x11, [x24]
	cmp	x10, x11
	b.ge	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x25]
	cmp	x10, x8
	b.ne	LBB0_10
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x26, x9, x23
	ldr	x0, [x26, #8]
	bl	_parse_commit
	cbnz	x0, LBB0_17
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x26, #8]
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x9, [x8, #8]
	cbnz	x9, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [x8]
	mov	x1, x19
	bl	_oideq
	cbnz	w0, LBB0_2
LBB0_10:
	cbz	w21, LBB0_15
; %bb.11:
	bl	_rebase_path_done
	mov	x23, x0
	mov	x0, x22
	mov	x1, x20
	mov	x2, x23
	mov	x3, #0
	mov	x4, #0
	mov	x5, x21
	mov	w6, #0
	bl	_todo_list_write_to_file
	cbz	x0, LBB0_13
; %bb.12:
Lloh4:
	adrp	x0, l_.str.1@PAGE
Lloh5:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	__
	mov	x1, x23
	bl	_error_errno
	mov	w0, #-1
	b	LBB0_16
LBB0_13:
	ldr	x0, [x20, #16]
	add	x1, x0, w21, uxtw #4
	ldr	w8, [x20]
	sub	w2, w8, w21
	bl	_MOVE_ARRAY
	ldr	w8, [x20]
	sub	w8, w8, w21
	str	w8, [x20]
	str	xzr, [x20, #8]
	mov	x0, x20
	mov	w1, #0
	bl	_peek_command
	bl	_is_fixup
	cbz	x0, LBB0_16
; %bb.14:
	mov	x0, x20
	mov	w1, #0
	bl	_peek_command
	mov	x1, x0
	mov	x0, x19
	bl	_record_in_rewritten
LBB0_15:
	mov	w0, #0
LBB0_16:
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_17:
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	mov	x19, x0
	ldr	x0, [x26, #8]
	bl	_oid_to_hex
	mov	x1, x0
	mov	x0, x19
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_error
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_TODO_NOOP,8,3                  ; @TODO_NOOP
	.comm	_TODO_PICK,8,3                  ; @TODO_PICK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"could not parse commit '%s'"

l_.str.1:                               ; @.str.1
	.asciz	"could not write to '%s'"

	.no_dead_strip	_skip_unnecessary_picks
.subsections_via_symbols
