	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function process_commit
_process_commit:                        ## @process_commit
	.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	%rsi, %r12
	movq	%rdi, %r14
	movq	%rsi, %rdi
	callq	_parse_commit
	movl	$-1, %r15d
	testq	%rax, %rax
	jne	LBB0_8
## %bb.1:
	movq	_complete@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.2:
	movq	_COMPLETE@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rax), %rax
	movq	(%rax), %rax
	cmpq	(%r12), %rax
	jl	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	(%r13), %esi
	movq	%rbx, %rdi
	callq	_pop_most_recent_commit
	movq	(%rbx), %rax
	testq	%rax, %rax
	jne	LBB0_3
LBB0_5:
	movq	_COMPLETE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 16(%r12)
	je	LBB0_7
LBB0_6:
	xorl	%r15d, %r15d
	jmp	LBB0_8
LBB0_7:
	leaq	20(%r12), %rbx
	movq	_current_commit_oid@GOTPCREL(%rip), %rdi
	movq	%rbx, %rsi
	callq	_oidcpy
	movq	%rbx, %rdi
	callq	_oid_to_hex
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	callq	_walker_say
	movq	%r12, %rdi
	callq	_get_commit_tree
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_process
	testq	%rax, %rax
	je	LBB0_9
LBB0_8:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movq	8(%r12), %rbx
	testq	%rbx, %rbx
	je	LBB0_6
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rsi
	movq	%r14, %rdi
	callq	_process
	testq	%rax, %rax
	jne	LBB0_8
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	8(%rbx), %rbx
	testq	%rbx, %rbx
	jne	LBB0_10
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_complete,8,3                   ## @complete
	.comm	_COMPLETE,4,2                   ## @COMPLETE
	.comm	_current_commit_oid,4,2         ## @current_commit_oid
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"walk %s\n"

	.no_dead_strip	_process_commit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function process_commit
_process_commit:                        ; @process_commit
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x1
	mov	x19, x0
	mov	x0, x1
	bl	_parse_commit
	cbz	x0, LBB0_2
LBB0_1:
	mov	w0, #-1
	b	LBB0_7
LBB0_2:
Lloh0:
	adrp	x21, _complete@GOTPAGE
Lloh1:
	ldr	x21, [x21, _complete@GOTPAGEOFF]
	ldr	x8, [x21]
Lloh2:
	adrp	x22, _COMPLETE@GOTPAGE
Lloh3:
	ldr	x22, [x22, _COMPLETE@GOTPAGEOFF]
	cbz	x8, LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldr	x9, [x20]
	cmp	x8, x9
	b.lt	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w1, [x22]
	mov	x0, x21
	bl	_pop_most_recent_commit
	ldr	x8, [x21]
	cbnz	x8, LBB0_3
LBB0_5:
	ldr	w8, [x20, #16]
	ldr	w9, [x22]
	tst	w9, w8
	b.eq	LBB0_8
LBB0_6:
	mov	w0, #0
LBB0_7:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_8:
	add	x21, x20, #20
Lloh4:
	adrp	x0, _current_commit_oid@GOTPAGE
Lloh5:
	ldr	x0, [x0, _current_commit_oid@GOTPAGEOFF]
	mov	x1, x21
	bl	_oidcpy
	mov	x0, x21
	bl	_oid_to_hex
	mov	x2, x0
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_walker_say
	mov	x0, x20
	bl	_get_commit_tree
	mov	x1, x0
	mov	x0, x19
	bl	_process
	cbnz	x0, LBB0_1
; %bb.9:
	ldr	x20, [x20, #8]
	cbz	x20, LBB0_6
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	x1, [x20]
	mov	x0, x19
	bl	_process
	cbnz	x0, LBB0_1
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	x20, [x20, #8]
	cbnz	x20, LBB0_10
	b	LBB0_7
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_complete,8,3                   ; @complete
	.comm	_COMPLETE,4,2                   ; @COMPLETE
	.comm	_current_commit_oid,4,2         ; @current_commit_oid
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"walk %s\n"

	.no_dead_strip	_process_commit
.subsections_via_symbols
