	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function write_shallow_commits_1
_write_shallow_commits_1:               ## @write_shallow_commits_1
	.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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rdi, %r15
	movq	%rdi, -32(%rbp)
	movl	%esi, -48(%rbp)
	movl	$0, -44(%rbp)
	movl	%ecx, -40(%rbp)
	movq	_write_one_shallow@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-48(%rbp), %rsi
	callq	_for_each_commit_graft
	testq	%r14, %r14
	je	LBB0_2
## %bb.1:
	cmpl	$0, (%r14)
	jle	LBB0_2
## %bb.3:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r14), %rdi
	addq	%rbx, %rdi
	callq	_oid_to_hex
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_strbuf_addstr
	movq	%r15, %rdi
	movl	$10, %esi
	callq	_strbuf_addch
	movl	-44(%rbp), %eax
	incl	%eax
	movl	%eax, -44(%rbp)
	incq	%rbx
	movslq	(%r14), %rcx
	cmpq	%rcx, %rbx
	jl	LBB0_4
	jmp	LBB0_5
LBB0_2:
	movl	-44(%rbp), %eax
LBB0_5:
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_write_one_shallow,4,2          ## @write_one_shallow
	.no_dead_strip	_write_shallow_commits_1
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function write_shallow_commits_1
_write_shallow_commits_1:               ; @write_shallow_commits_1
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x19, x2
	mov	x20, x0
	str	x0, [sp, #24]
	stp	w1, wzr, [sp, #8]
	str	w3, [sp, #16]
Lloh0:
	adrp	x8, _write_one_shallow@GOTPAGE
Lloh1:
	ldr	x8, [x8, _write_one_shallow@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x1, sp, #8
	bl	_for_each_commit_graft
	cbz	x19, LBB0_4
; %bb.1:
	ldr	w8, [x19]
	cmp	w8, #0
	b.le	LBB0_4
; %bb.2:
	mov	x21, #0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	add	x0, x21, x8
	bl	_oid_to_hex
	mov	x1, x0
	mov	x0, x20
	bl	_strbuf_addstr
	mov	x0, x20
	mov	w1, #10
	bl	_strbuf_addch
	ldr	w8, [sp, #12]
	add	w0, w8, #1
	str	w0, [sp, #12]
	add	x21, x21, #1
	ldrsw	x8, [x19]
	cmp	x21, x8
	b.lt	LBB0_3
	b	LBB0_5
LBB0_4:
	ldr	w0, [sp, #12]
LBB0_5:
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_write_one_shallow,4,2          ; @write_one_shallow
	.no_dead_strip	_write_shallow_commits_1
.subsections_via_symbols
