	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_prepare_shallow_info           ## -- Begin function prepare_shallow_info
	.p2align	4, 0x90
_prepare_shallow_info:                  ## @prepare_shallow_info
	.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, %r15
	movq	%rdi, %r14
	movq	_trace_shallow@GOTPCREL(%rip), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_trace_printf_key
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$32, %edx
	callq	_memset
	movq	%r15, 24(%r14)
	testq	%r15, %r15
	je	LBB0_10
## %bb.1:
	movq	(%r14), %rdi
	movl	(%r15), %esi
	callq	_ALLOC_ARRAY
	movq	8(%r14), %rdi
	movl	(%r15), %esi
	callq	_ALLOC_ARRAY
	cmpl	$0, (%r15)
	jle	LBB0_10
## %bb.2:
	xorl	%r13d, %r13d
	movq	_the_repository@GOTPCREL(%rip), %r12
	xorl	%ebx, %ebx
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	8(%r14), %rax
	movl	16(%r14), %ecx
	leal	1(%rcx), %edx
	movl	%edx, 16(%r14)
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	movslq	%ecx, %rcx
	movl	%ebx, (%rax,%rcx,4)
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%rbx
	movslq	(%r15), %rax
	addq	$4, %r13
	cmpq	%rax, %rbx
	jge	LBB0_10
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r15), %rdi
	addq	%r13, %rdi
	callq	_has_object_file
	testq	%rax, %rax
	je	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	(%r12), %edi
	movq	8(%r15), %rsi
	addq	%r13, %rsi
	callq	_lookup_commit_graft
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpq	$0, (%rax)
	js	LBB0_9
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r14), %rax
	movl	20(%r14), %ecx
	leal	1(%rcx), %edx
	movl	%edx, 20(%r14)
	jmp	LBB0_8
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_trace_shallow,4,2              ## @trace_shallow
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"shallow: prepare_shallow_info\n"

	.comm	_the_repository,4,2             ## @the_repository
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_prepare_shallow_info           ; -- Begin function prepare_shallow_info
	.p2align	2
_prepare_shallow_info:                  ; @prepare_shallow_info
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x0, _trace_shallow@GOTPAGE
Lloh1:
	ldr	x0, [x0, _trace_shallow@GOTPAGEOFF]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_trace_printf_key
	mov	x0, x20
	mov	w1, #0
	mov	w2, #32
	bl	_memset
	str	x19, [x20, #24]
	cbz	x19, LBB0_10
; %bb.1:
	ldr	x0, [x20]
	ldr	w1, [x19]
	bl	_ALLOC_ARRAY
	ldr	x0, [x20, #8]
	ldr	w1, [x19]
	bl	_ALLOC_ARRAY
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_10
; %bb.2:
	mov	x21, #0
	mov	x22, #0
Lloh4:
	adrp	x23, _the_repository@GOTPAGE
Lloh5:
	ldr	x23, [x23, _the_repository@GOTPAGEOFF]
	b	LBB0_6
LBB0_3:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x20, #8]
	ldr	w9, [x20, #16]
	add	w10, w9, #1
	str	w10, [x20, #16]
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	str	w22, [x8, w9, sxtw #2]
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x22, x22, #1
	ldrsw	x8, [x19]
	add	x21, x21, #4
	cmp	x22, x8
	b.ge	LBB0_10
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	add	x0, x8, x21
	bl	_has_object_file
	cbz	x0, LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w0, [x23]
	ldr	x8, [x19, #8]
	add	x1, x8, x21
	bl	_lookup_commit_graft
	cbz	x0, LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x0]
	tbnz	x8, #63, LBB0_5
LBB0_9:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x20]
	ldr	w9, [x20, #20]
	add	w10, w9, #1
	str	w10, [x20, #20]
	b	LBB0_4
LBB0_10:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_trace_shallow,4,2              ; @trace_shallow
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"shallow: prepare_shallow_info\n"

	.comm	_the_repository,4,2             ; @the_repository
.subsections_via_symbols
