	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function walk_revs_populate_todo
LCPI0_0:
	.space	16
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_walk_revs_populate_todo:               ## @walk_revs_populate_todo
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rdi, %r13
	movq	(%rsi), %rax
	movq	_REPLAY_PICK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.2:
	movq	_TODO_PICK@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_TODO_REVERT@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %ebx
	movq	_todo_command_info@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax,%rbx,8), %r15
	movq	%r12, %rdi
	callq	_prepare_revs
	movq	%rax, %rcx
	movl	$-1, %eax
	testq	%rcx, %rcx
	jne	LBB0_9
## %bb.4:
	movl	8(%r12), %edi
	callq	_get_revision
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	je	LBB0_7
## %bb.5:
	movq	%rax, %rbx
	leaq	4(%r13), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	callq	_append_new_todo
	movq	%rax, %r14
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_get_commit_buffer
	movq	%rax, %r15
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	%eax, (%r14)
	movq	%rbx, 24(%r14)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 8(%r14)
	movl	4(%r13), %eax
	movl	%eax, 4(%r14)
	movq	%r15, %rdi
	leaq	-72(%rbp), %rsi
	callq	_find_commit_subject
	movl	%eax, %r14d
	movq	%rbx, %rdi
	callq	_short_commit_name
	movq	-72(%rbp), %r9
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	leaq	L_.str(%rip), %rsi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movl	%eax, %ecx
	movl	%r14d, %r8d
	callq	_strbuf_addf
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_unuse_commit_buffer
	movl	8(%r12), %edi
	callq	_get_revision
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_6
LBB0_7:
	xorl	%eax, %eax
	cmpl	$0, (%r13)
	jne	LBB0_9
## %bb.8:
	leaq	L_.str.1(%rip), %rdi
	callq	__
	movl	%eax, %edi
	callq	_error
LBB0_9:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_REPLAY_PICK,8,3                ## @REPLAY_PICK
	.comm	_TODO_PICK,4,2                  ## @TODO_PICK
	.comm	_TODO_REVERT,4,2                ## @TODO_REVERT
	.comm	_todo_command_info,8,3          ## @todo_command_info
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s %s %.*s\n"

L_.str.1:                               ## @.str.1
	.asciz	"empty commit set passed"

	.no_dead_strip	_walk_revs_populate_todo
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function walk_revs_populate_todo
_walk_revs_populate_todo:               ; @walk_revs_populate_todo
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x20, x1
	mov	x19, x0
	ldr	x8, [x1]
Lloh0:
	adrp	x9, _REPLAY_PICK@GOTPAGE
Lloh1:
	ldr	x9, [x9, _REPLAY_PICK@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x10, _TODO_PICK@GOTPAGE
Lloh4:
	ldr	x10, [x10, _TODO_PICK@GOTPAGEOFF]
Lloh5:
	adrp	x11, _TODO_REVERT@GOTPAGE
Lloh6:
	ldr	x11, [x11, _TODO_REVERT@GOTPAGEOFF]
	cmp	x8, x9
	csel	x8, x10, x11, eq
	ldr	w27, [x8]
Lloh7:
	adrp	x8, _todo_command_info@GOTPAGE
Lloh8:
	ldr	x8, [x8, _todo_command_info@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
	ldr	x21, [x8, x27, lsl #3]
	mov	x0, x1
	bl	_prepare_revs
	cbz	x0, LBB0_2
; %bb.1:
	mov	w0, #-1
	b	LBB0_8
LBB0_2:
	ldr	w0, [x20, #8]
	bl	_get_revision
	cbz	x0, LBB0_5
; %bb.3:
	mov	x23, x0
	add	x22, x19, #4
Lloh10:
	adrp	x24, l_.str@PAGE
Lloh11:
	add	x24, x24, l_.str@PAGEOFF
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_append_new_todo
	mov	x25, x0
	mov	x0, x23
	mov	x1, #0
	bl	_get_commit_buffer
	mov	x26, x0
	stp	xzr, x23, [x25, #16]
	str	xzr, [x25, #8]
	ldr	w8, [x19, #4]
	stp	w27, w8, [x25]
	add	x1, sp, #8
	bl	_find_commit_subject
	mov	x25, x0
	mov	x0, x23
	bl	_short_commit_name
	mov	x3, x0
	ldr	x5, [sp, #8]
	mov	x0, x22
	mov	x1, x24
	mov	x2, x21
	mov	x4, x25
	bl	_strbuf_addf
	mov	x0, x23
	mov	x1, x26
	bl	_unuse_commit_buffer
	ldr	w0, [x20, #8]
	bl	_get_revision
	mov	x23, x0
	cbnz	x0, LBB0_4
LBB0_5:
	ldr	w8, [x19]
	cbz	w8, LBB0_7
; %bb.6:
	mov	w0, #0
	b	LBB0_8
LBB0_7:
Lloh12:
	adrp	x0, l_.str.1@PAGE
Lloh13:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	__
	bl	_error
LBB0_8:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_REPLAY_PICK,8,3                ; @REPLAY_PICK
	.comm	_TODO_PICK,4,2                  ; @TODO_PICK
	.comm	_TODO_REVERT,4,2                ; @TODO_REVERT
	.comm	_todo_command_info,8,3          ; @todo_command_info
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s %s %.*s\n"

l_.str.1:                               ; @.str.1
	.asciz	"empty commit set passed"

	.no_dead_strip	_walk_revs_populate_todo
.subsections_via_symbols
