	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cmd_log_walk
_cmd_log_walk:                          ## @cmd_log_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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movl	8(%rdi), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	cmpq	$0, 48(%rdi)
	je	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	callq	_setup_early_output
LBB0_2:
	movq	%r14, %rdi
	callq	_prepare_revision_walk
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	leaq	L_.str(%rip), %rdi
	callq	__
	movl	%eax, %edi
	callq	_die
LBB0_4:
	cmpq	$0, 48(%r14)
	je	LBB0_6
## %bb.5:
	movq	%r14, %rdi
	callq	_finish_early_output
LBB0_6:
	movl	$0, 8(%r14)
	movq	%r14, %rdi
	callq	_get_revision
	testq	%rax, %rax
	je	LBB0_7
## %bb.8:
	movq	%rax, %r13
	xorl	%r12d, %r12d
	movl	$1, %r15d
	xorl	%ebx, %ebx
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_9 Depth=1
	movl	12(%r14), %eax
	cmpl	%eax, %ebx
	cmovlel	%eax, %ebx
	cmpl	$0, 16(%r14)
	cmovnel	%r15d, %r12d
	movq	%r14, %rdi
	callq	_get_revision
	movq	%rax, %r13
	testq	%rax, %rax
	je	LBB0_15
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_log_tree_commit
	testl	%eax, %eax
	jne	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	(%r14), %rax
	testq	%rax, %rax
	js	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_9 Depth=1
	incq	%rax
	movq	%rax, (%r14)
LBB0_12:                                ##   in Loop: Header=BB0_9 Depth=1
	cmpl	$0, 40(%r14)
	jne	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	_the_repository@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %edi
	movq	%r13, %rsi
	callq	_free_commit_buffer
	movq	(%r13), %rdi
	callq	_free_commit_list
	movq	$0, (%r13)
	jmp	LBB0_14
LBB0_7:
	xorl	%ebx, %ebx
	xorl	%r12d, %r12d
LBB0_15:
	movl	%r12d, 16(%r14)
	movl	%ebx, 12(%r14)
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_17
## %bb.16:
	movl	32(%r14), %edi
	callq	_fclose
LBB0_17:
	movq	_DIFF_FORMAT_CHECKDIFF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 20(%r14)
	je	LBB0_20
## %bb.18:
	cmpq	$0, 24(%r14)
	je	LBB0_20
## %bb.19:
	movl	$2, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_20:
	addq	$8, %r14
	movq	%r14, %rdi
	xorl	%esi, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_diff_result_code               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"revision walk setup failed"

	.comm	_the_repository,8,3             ## @the_repository
	.comm	_DIFF_FORMAT_CHECKDIFF,4,2      ## @DIFF_FORMAT_CHECKDIFF
	.no_dead_strip	_cmd_log_walk
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cmd_log_walk
_cmd_log_walk:                          ; @cmd_log_walk
	.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
	mov	x20, x0
	mov	x19, x0
	ldr	w22, [x19, #8]!
	ldr	x8, [x19, #40]
	cbz	x8, LBB0_2
; %bb.1:
	bl	_setup_early_output
LBB0_2:
	mov	x0, x20
	bl	_prepare_revision_walk
	cbz	x0, LBB0_4
; %bb.3:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	bl	_die
LBB0_4:
	ldr	x8, [x20, #48]
	cbz	x8, LBB0_6
; %bb.5:
	mov	x0, x20
	bl	_finish_early_output
LBB0_6:
	str	wzr, [x20, #8]
	mov	x0, x20
	bl	_get_revision
	cbz	x0, LBB0_14
; %bb.7:
	mov	x21, x0
	mov	w24, #0
	mov	w23, #0
Lloh2:
	adrp	x25, _the_repository@GOTPAGE
Lloh3:
	ldr	x25, [x25, _the_repository@GOTPAGEOFF]
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	ldp	w8, w9, [x20, #12]
	cmp	w23, w8
	csel	w23, w23, w8, gt
	cmp	w9, #0
	csinc	w24, w24, wzr, eq
	mov	x0, x20
	bl	_get_revision
	mov	x21, x0
	cbz	x0, LBB0_15
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x21
	bl	_log_tree_commit
	cbnz	w0, LBB0_12
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	x8, [x20]
	tbnz	x8, #63, LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=1
	add	x8, x8, #1
	str	x8, [x20]
LBB0_12:                                ;   in Loop: Header=BB0_9 Depth=1
	ldr	w8, [x20, #40]
	cbnz	w8, LBB0_8
; %bb.13:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	x8, [x25]
	ldr	w0, [x8]
	mov	x1, x21
	bl	_free_commit_buffer
	ldr	x0, [x21]
	bl	_free_commit_list
	str	xzr, [x21]
	b	LBB0_8
LBB0_14:
	mov	w23, #0
	mov	w24, #0
LBB0_15:
	stp	w23, w24, [x20, #12]
	cbz	w22, LBB0_17
; %bb.16:
	ldr	w0, [x20, #32]
	bl	_fclose
LBB0_17:
	ldr	w8, [x20, #20]
Lloh4:
	adrp	x9, _DIFF_FORMAT_CHECKDIFF@GOTPAGE
Lloh5:
	ldr	x9, [x9, _DIFF_FORMAT_CHECKDIFF@GOTPAGEOFF]
Lloh6:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_20
; %bb.18:
	ldr	x8, [x20, #24]
	cbz	x8, LBB0_20
; %bb.19:
	mov	w0, #2
	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_20:
	mov	x0, x19
	mov	w1, #0
	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	_diff_result_code
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"revision walk setup failed"

	.comm	_the_repository,8,3             ; @the_repository
	.comm	_DIFF_FORMAT_CHECKDIFF,4,2      ; @DIFF_FORMAT_CHECKDIFF
	.no_dead_strip	_cmd_log_walk
.subsections_via_symbols
