	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function prepare_revs
_prepare_revs:                          ## @prepare_revs
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_REPLAY_PICK@GOTPCREL(%rip), %rax
	movq	(%rdi), %rcx
	movq	8(%rdi), %rdi
	cmpq	(%rax), %rcx
	jne	LBB0_3
## %bb.1:
	cmpl	$0, 4(%rdi)
	jne	LBB0_3
## %bb.2:
	xorb	$1, (%rdi)
LBB0_3:
	callq	_prepare_revision_walk
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	leaq	L_.str(%rip), %rdi
	callq	__
	movl	%eax, %edi
	popq	%rbp
	jmp	_error                          ## TAILCALL
LBB0_4:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_REPLAY_PICK,8,3                ## @REPLAY_PICK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"revision walk setup failed"

	.no_dead_strip	_prepare_revs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function prepare_revs
_prepare_revs:                          ; @prepare_revs
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _REPLAY_PICK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _REPLAY_PICK@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldp	x9, x0, [x0]
	cmp	x9, x8
	b.ne	LBB0_2
; %bb.1:
	ldr	w8, [x0, #4]
	cbz	w8, LBB0_4
LBB0_2:
	bl	_prepare_revision_walk
	cbz	x0, LBB0_5
LBB0_3:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_error
LBB0_4:
	ldr	w8, [x0]
	eor	w8, w8, #0x1
	str	w8, [x0]
	bl	_prepare_revision_walk
	cbnz	x0, LBB0_3
LBB0_5:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_REPLAY_PICK,8,3                ; @REPLAY_PICK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"revision walk setup failed"

	.no_dead_strip	_prepare_revs
.subsections_via_symbols
