	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function grab_commit_values
_grab_commit_values:                    ## @grab_commit_values
	.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
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	movq	_used_atom_cnt@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_17
## %bb.1:
	movq	%rdx, %r15
	xorl	%eax, %eax
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	setne	%al
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
	jmp	LBB0_2
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	callq	_get_commit_tree_oid
	movq	%rax, %rdi
	callq	_oid_to_hex
	movl	%eax, %edi
	callq	_xstrdup
	movl	%eax, (%r13)
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_2 Depth=1
	incq	%r14
	movq	_used_atom_cnt@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	cmpq	%rax, %r14
	jge	LBB0_17
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_10 Depth 2
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	setne	%al
	movq	_used_atom@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rcx,%r14,8), %r12
	cmpb	$42, (%r12)
	setne	%cl
	cmpb	%cl, %al
	je	LBB0_16
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rbx
	shlq	$4, %rbx
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%rbx), %r13
	addq	-72(%rbp), %r12                 ## 8-byte Folded Reload
	movq	%r12, %rdi
	leaq	L_.str(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	leaq	L_.str.3(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	leaq	-48(%rbp), %r13
	jne	LBB0_16
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_STRBUF_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)
	movq	8(%r15), %rax
	testq	%rax, %rax
	je	LBB0_14
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %rbx
	.p2align	4, 0x90
LBB0_10:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%rbx), %r12
	cmpq	%rax, %rbx
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=2
	movq	%r13, %rdi
	movl	$32, %esi
	callq	_strbuf_addch
LBB0_12:                                ##   in Loop: Header=BB0_10 Depth=2
	movq	%r12, %rdi
	callq	_oid_to_hex
	movq	%r13, %rdi
	movl	%eax, %esi
	callq	_strbuf_addstr
	movq	8(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_10 Depth=2
	movq	8(%r15), %rax
	jmp	LBB0_10
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%r15), %rdi
	callq	_commit_list_count
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, 8(%rcx,%rbx)
	leaq	L_.str.2(%rip), %rdi
	movq	%rax, %rsi
	callq	_xstrfmt
	jmp	LBB0_15
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_strbuf_detach
LBB0_15:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx)
	jmp	LBB0_16
LBB0_17:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_used_atom_cnt,4,2              ## @used_atom_cnt
	.comm	_used_atom,8,3                  ## @used_atom
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"tree"

L_.str.1:                               ## @.str.1
	.asciz	"numparent"

L_.str.2:                               ## @.str.2
	.asciz	"%lu"

L_.str.3:                               ## @.str.3
	.asciz	"parent"

	.comm	_STRBUF_INIT,4,2                ## @STRBUF_INIT
	.no_dead_strip	_grab_commit_values
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function grab_commit_values
_grab_commit_values:                    ; @grab_commit_values
	.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
Lloh0:
	adrp	x27, _used_atom_cnt@GOTPAGE
Lloh1:
	ldr	x27, [x27, _used_atom_cnt@GOTPAGEOFF]
	ldr	w8, [x27]
	cmp	w8, #1
	b.lt	LBB0_17
; %bb.1:
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	mov	x28, #0
	cmp	w1, #0
	cset	w24, ne
Lloh2:
	adrp	x25, _used_atom@GOTPAGE
Lloh3:
	ldr	x25, [x25, _used_atom@GOTPAGEOFF]
Lloh4:
	adrp	x22, l_.str@PAGE
Lloh5:
	add	x22, x22, l_.str@PAGEOFF
	b	LBB0_5
LBB0_2:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x19
	bl	_get_commit_tree_oid
	bl	_oid_to_hex
	bl	_xstrdup
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	str	w0, [x23]
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x28, x28, #1
	ldrsw	x8, [x27]
	cmp	x28, x8
	b.ge	LBB0_17
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_11 Depth 2
	cmp	w20, #0
	cset	w9, ne
	ldr	x8, [x25]
	ldr	x8, [x8, x28, lsl #3]
	ldrb	w10, [x8]
	cmp	w10, #42
	cset	w10, ne
	cmp	w9, w10
	b.eq	LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x23, x21, x28, lsl #4
	add	x26, x8, x24
	mov	x0, x26
	mov	x1, x22
	bl	_strcmp
	cbz	w0, LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x26
Lloh6:
	adrp	x1, l_.str.1@PAGE
Lloh7:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_strcmp
	cbz	w0, LBB0_15
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x26
Lloh8:
	adrp	x1, l_.str.3@PAGE
Lloh9:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_strcmp
	cbnz	w0, LBB0_4
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh10:
	adrp	x8, _STRBUF_INIT@GOTPAGE
Lloh11:
	ldr	x8, [x8, _STRBUF_INIT@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	str	w8, [sp, #8]
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_16
; %bb.10:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x22, x8
LBB0_11:                                ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x26, [x22]
	cmp	x22, x8
	b.eq	LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=2
	add	x0, sp, #8
	mov	w1, #32
	bl	_strbuf_addch
LBB0_13:                                ;   in Loop: Header=BB0_11 Depth=2
	mov	x0, x26
	bl	_oid_to_hex
	mov	x1, x0
	add	x0, sp, #8
	bl	_strbuf_addstr
	ldr	x22, [x22, #8]
	cbz	x22, LBB0_16
; %bb.14:                               ;   in Loop: Header=BB0_11 Depth=2
	ldr	x8, [x19, #8]
	b	LBB0_11
LBB0_15:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x0, [x19, #8]
	bl	_commit_list_count
	mov	x1, x0
	add	x8, x21, x28, lsl #4
	str	x0, [x8, #8]
Lloh13:
	adrp	x0, l_.str.2@PAGE
Lloh14:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_xstrfmt
	b	LBB0_3
LBB0_16:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x0, sp, #8
	mov	x1, #0
	bl	_strbuf_detach
	str	w0, [x23]
Lloh15:
	adrp	x22, l_.str@PAGE
Lloh16:
	add	x22, x22, l_.str@PAGEOFF
	b	LBB0_4
LBB0_17:
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_used_atom_cnt,4,2              ; @used_atom_cnt
	.comm	_used_atom,8,3                  ; @used_atom
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"tree"

l_.str.1:                               ; @.str.1
	.asciz	"numparent"

l_.str.2:                               ; @.str.2
	.asciz	"%lu"

l_.str.3:                               ; @.str.3
	.asciz	"parent"

	.comm	_STRBUF_INIT,4,2                ; @STRBUF_INIT
	.no_dead_strip	_grab_commit_values
.subsections_via_symbols
