	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function run_revision_walk
_run_revision_walk:                     ## @run_revision_walk
	.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	%r12
	pushq	%rbx
	subq	$48, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	movq	l___const.run_revision_walk.argv+16(%rip), %rax
	movq	%rax, -48(%rbp)
	movaps	l___const.run_revision_walk.argv(%rip), %xmm0
	movaps	%xmm0, -64(%rbp)
	leaq	-64(%rbp), %r15
	movq	%r15, %rdi
	callq	_ARRAY_SIZE
                                        ## kill: def $eax killed $eax def $rax
	leal	-1(%rax), %ebx
	movq	_the_repository@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%r14d, %r14d
	leaq	-72(%rbp), %r12
	movq	%r12, %rsi
	xorl	%edx, %edx
	callq	_repo_init_revisions
	movl	%ebx, %edi
	movq	%r15, %rsi
	movq	%r12, %rdx
	xorl	%ecx, %ecx
	callq	_setup_revisions
	movq	%r12, %rdi
	callq	_prepare_revision_walk
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	leaq	L_.str.1(%rip), %rdi
	callq	_die
LBB0_2:
	leaq	-72(%rbp), %rdi
	callq	_get_revision
	testq	%rax, %rax
	je	LBB0_6
## %bb.3:
	leaq	-72(%rbp), %rbx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rax, %rdi
	callq	_print_commit
	movq	%rbx, %rdi
	callq	_get_revision
	testq	%rax, %rax
	jne	LBB0_4
## %bb.5:
	movl	$1, %r14d
LBB0_6:
	xorl	%eax, %eax
	callq	_reset_revision_walk
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_8
## %bb.7:
	movl	%r14d, %eax
	addq	$48, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"--all"

	.section	__DATA,__const
	.p2align	4                               ## @__const.run_revision_walk.argv
l___const.run_revision_walk.argv:
	.quad	0
	.quad	L_.str
	.quad	0

	.comm	_the_repository,4,2             ## @the_repository
	.section	__TEXT,__cstring,cstring_literals
L_.str.1:                               ## @.str.1
	.asciz	"revision walk setup failed"

	.no_dead_strip	_run_revision_walk
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function run_revision_walk
_run_revision_walk:                     ; @run_revision_walk
	.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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-24]
Lloh3:
	adrp	x8, l___const.run_revision_walk.argv@PAGE
Lloh4:
	add	x8, x8, l___const.run_revision_walk.argv@PAGEOFF
	ldr	q0, [x8]
	str	q0, [sp, #16]
	ldr	x8, [x8, #16]
	str	x8, [sp, #32]
	add	x0, sp, #16
	bl	_ARRAY_SIZE
	sub	w19, w0, #1
Lloh5:
	adrp	x8, _the_repository@GOTPAGE
Lloh6:
	ldr	x8, [x8, _the_repository@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	add	x1, sp, #8
	mov	x2, #0
	bl	_repo_init_revisions
	add	x1, sp, #16
	add	x2, sp, #8
	mov	x0, x19
	mov	x3, #0
	bl	_setup_revisions
	add	x0, sp, #8
	bl	_prepare_revision_walk
	cbz	x0, LBB0_2
; %bb.1:
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_die
LBB0_2:
	add	x0, sp, #8
	bl	_get_revision
	cbz	x0, LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	bl	_print_commit
	add	x0, sp, #8
	bl	_get_revision
	cbnz	x0, LBB0_3
; %bb.4:
	mov	w19, #1
	b	LBB0_6
LBB0_5:
	mov	w19, #0
LBB0_6:
	bl	_reset_revision_walk
	ldur	x8, [x29, #-24]
Lloh10:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh11:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh12:
	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	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"--all"

	.section	__DATA,__const
	.p2align	3                               ; @__const.run_revision_walk.argv
l___const.run_revision_walk.argv:
	.quad	0
	.quad	l_.str
	.quad	0

	.comm	_the_repository,4,2             ; @the_repository
	.section	__TEXT,__cstring,cstring_literals
l_.str.1:                               ; @.str.1
	.asciz	"revision walk setup failed"

	.no_dead_strip	_run_revision_walk
.subsections_via_symbols
