	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_shallow_commits            ## -- Begin function get_shallow_commits
	.p2align	4, 0x90
_get_shallow_commits:                   ## @get_shallow_commits
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, -72(%rbp)                 ## 4-byte Spill
	movl	%edx, -76(%rbp)                 ## 4-byte Spill
	movl	%esi, -68(%rbp)                 ## 4-byte Spill
	movq	%rdi, %r14
	movq	$0, -88(%rbp)
	movq	_OBJECT_ARRAY_INIT@GOTPCREL(%rip), %rax
	movups	(%rax), %xmm0
	movaps	%xmm0, -112(%rbp)
	leaq	-64(%rbp), %rdi
	callq	_init_commit_depth
	xorl	%r15d, %r15d
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	xorl	%r12d, %r12d
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_2 Depth 2
                                        ##     Child Loop BB0_33 Depth 2
	movslq	%r12d, %r12
	movq	_the_repository@GOTPCREL(%rip), %r13
	movq	_OBJ_COMMIT@GOTPCREL(%rip), %rbx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_2 Depth=2
	incq	%r12
	xorl	%r15d, %r15d
LBB0_2:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	testq	%r15, %r15
	jne	LBB0_23
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=2
	movl	(%r14), %eax
	cmpl	%eax, %r12d
	jl	LBB0_15
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=2
	cmpl	$0, -112(%rbp)
	je	LBB0_5
LBB0_15:                                ##   in Loop: Header=BB0_2 Depth=2
	cmpl	%eax, %r12d
	jge	LBB0_22
## %bb.16:                              ##   in Loop: Header=BB0_2 Depth=2
	movl	(%r13), %edi
	movq	8(%r14), %rax
	movl	(%rax,%r12,4), %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_deref_tag
	testq	%rax, %rax
	je	LBB0_17
## %bb.18:                              ##   in Loop: Header=BB0_2 Depth=2
	movq	%rax, %r15
	movq	(%rax), %rax
	cmpq	(%rbx), %rax
	jne	LBB0_17
## %bb.19:                              ##   in Loop: Header=BB0_1 Depth=1
	leaq	-64(%rbp), %rdi
	movq	%r15, %rsi
	callq	_commit_depth_at
	movq	%rax, %rbx
	movq	(%rax), %rax
	incq	%r12
	testq	%rax, %rax
	jne	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_1 Depth=1
	movl	$4, %edi
	callq	_xmalloc
	movq	%rax, (%rbx)
LBB0_21:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	$0, (%rax)
	xorl	%ebx, %ebx
	jmp	LBB0_24
	.p2align	4, 0x90
LBB0_23:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	jmp	LBB0_24
	.p2align	4, 0x90
LBB0_22:                                ##   in Loop: Header=BB0_1 Depth=1
	leaq	-112(%rbp), %rdi
	callq	_object_array_pop
	movq	%rax, %r15
	leaq	-64(%rbp), %rdi
	movq	%rax, %rsi
	callq	_commit_depth_at
	movq	(%rax), %rax
	movl	(%rax), %ebx
LBB0_24:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	%r15, %rdi
	callq	_parse_commit_or_die
	incl	%ebx
	movl	-68(%rbp), %eax                 ## 4-byte Reload
	movq	_INFINITE_DEPTH@GOTPCREL(%rip), %rcx
	cmpl	%eax, (%rcx)
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	je	LBB0_26
## %bb.25:                              ##   in Loop: Header=BB0_1 Depth=1
	cmpl	-68(%rbp), %ebx                 ## 4-byte Folded Reload
	jl	LBB0_26
LBB0_30:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	%r15, %rdi
	leaq	-88(%rbp), %rsi
	callq	_commit_list_insert
	movl	-76(%rbp), %eax                 ## 4-byte Reload
	orl	%eax, 8(%r15)
	xorl	%r15d, %r15d
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_26:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	(%r13), %edi
	callq	_is_repository_shallow
	testq	%rax, %rax
	je	LBB0_31
## %bb.27:                              ##   in Loop: Header=BB0_1 Depth=1
	cmpq	$0, 16(%r15)
	je	LBB0_28
LBB0_31:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	-72(%rbp), %eax                 ## 4-byte Reload
	orl	%eax, 8(%r15)
	movq	16(%r15), %r13
	movl	$0, %r15d
	testq	%r13, %r13
	je	LBB0_1
## %bb.32:                              ##   in Loop: Header=BB0_1 Depth=1
	xorl	%r15d, %r15d
	jmp	LBB0_33
	.p2align	4, 0x90
LBB0_38:                                ##   in Loop: Header=BB0_33 Depth=2
	leaq	-64(%rbp), %rdi
	movq	%rbx, %rsi
	callq	_commit_depth_at
	movq	(%rax), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%rbx, %r15
LBB0_39:                                ##   in Loop: Header=BB0_33 Depth=2
	movq	8(%r13), %r13
	testq	%r13, %r13
	je	LBB0_1
LBB0_33:                                ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%r13), %rsi
	leaq	-64(%rbp), %rdi
	callq	_commit_depth_at
	movq	%rax, %rbx
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_34
## %bb.35:                              ##   in Loop: Header=BB0_33 Depth=2
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	cmpl	(%rax), %ecx
	jge	LBB0_39
	jmp	LBB0_36
	.p2align	4, 0x90
LBB0_34:                                ##   in Loop: Header=BB0_33 Depth=2
	movl	$4, %edi
	callq	_xmalloc
	movq	%rax, (%rbx)
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
LBB0_36:                                ##   in Loop: Header=BB0_33 Depth=2
	movl	%ecx, (%rax)
	cmpq	$0, 8(%r13)
	movq	(%r13), %rbx
	je	LBB0_38
## %bb.37:                              ##   in Loop: Header=BB0_33 Depth=2
	movq	%rbx, %rdi
	xorl	%esi, %esi
	leaq	-112(%rbp), %rdx
	callq	_add_object_array
	jmp	LBB0_39
LBB0_28:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	(%r13), %edi
	leaq	12(%r15), %rsi
	callq	_lookup_commit_graft
	testq	%rax, %rax
	je	LBB0_31
## %bb.29:                              ##   in Loop: Header=BB0_1 Depth=1
	cmpq	$0, (%rax)
	jns	LBB0_31
	jmp	LBB0_30
LBB0_5:
	movl	-64(%rbp), %ecx
	testl	%ecx, %ecx
	jle	LBB0_14
## %bb.6:
	movl	-60(%rbp), %eax
	xorl	%r14d, %r14d
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_7 Depth=1
	movl	-64(%rbp), %ecx
LBB0_13:                                ##   in Loop: Header=BB0_7 Depth=1
	incq	%r14
	movslq	%ecx, %rdx
	cmpq	%rdx, %r14
	jge	LBB0_14
LBB0_7:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_11 Depth 2
	movq	-56(%rbp), %rdx
	movq	(%rdx,%r14,8), %rdx
	testq	%rdx, %rdx
	je	LBB0_13
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	testl	%eax, %eax
	jle	LBB0_13
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	movl	(%rdx), %edi
	callq	_free
	movl	-60(%rbp), %eax
	cmpl	$2, %eax
	jl	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_7 Depth=1
	movl	$1, %ebx
	.p2align	4, 0x90
LBB0_11:                                ##   Parent Loop BB0_7 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	-56(%rbp), %rax
	movq	(%rax,%r14,8), %rax
	movl	(%rax,%rbx,4), %edi
	callq	_free
	incq	%rbx
	movslq	-60(%rbp), %rax
	cmpq	%rax, %rbx
	jl	LBB0_11
	jmp	LBB0_12
LBB0_14:
	leaq	-64(%rbp), %rdi
	callq	_clear_commit_depth
	movq	-88(%rbp), %rax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OBJECT_ARRAY_INIT,16,3         ## @OBJECT_ARRAY_INIT
	.comm	_the_repository,4,2             ## @the_repository
	.comm	_OBJ_COMMIT,8,3                 ## @OBJ_COMMIT
	.comm	_INFINITE_DEPTH,4,2             ## @INFINITE_DEPTH
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_shallow_commits            ; -- Begin function get_shallow_commits
	.p2align	2
_get_shallow_commits:                   ; @get_shallow_commits
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
	str	w3, [sp, #12]                   ; 4-byte Folded Spill
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	str	xzr, [sp, #56]
Lloh0:
	adrp	x8, _OBJECT_ARRAY_INIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _OBJECT_ARRAY_INIT@GOTPAGEOFF]
Lloh2:
	ldr	q0, [x8]
	str	q0, [sp, #32]
	add	x0, sp, #16
	bl	_init_commit_depth
	mov	x23, #0
	mov	w28, #0
	mov	w27, #0
Lloh3:
	adrp	x25, _the_repository@GOTPAGE
Lloh4:
	ldr	x25, [x25, _the_repository@GOTPAGEOFF]
Lloh5:
	adrp	x26, _OBJ_COMMIT@GOTPAGE
Lloh6:
	ldr	x26, [x26, _OBJ_COMMIT@GOTPAGEOFF]
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	add	x1, sp, #56
	mov	x0, x23
	bl	_commit_list_insert
	ldr	w8, [x23, #8]
	orr	w8, w8, w20
	str	w8, [x23, #8]
	mov	x23, #0
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_4 Depth 2
                                        ;     Child Loop BB0_20 Depth 2
	sxtw	x27, w27
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=2
	mov	x23, #0
	add	x27, x27, #1
LBB0_4:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	cbnz	x23, LBB0_13
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=2
	ldr	w8, [x22]
	ldr	w9, [sp, #32]
	cmp	w27, w8
	ccmp	w9, #0, #0, ge
	b.eq	LBB0_27
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=2
	cmp	w27, w8
	b.ge	LBB0_12
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=2
	ldr	w0, [x25]
	ldr	x8, [x22, #8]
	ldr	w1, [x8, x27, lsl #2]
	mov	x2, #0
	mov	w3, #0
	bl	_deref_tag
	cbz	x0, LBB0_3
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=2
	mov	x23, x0
	ldr	x8, [x0]
	ldr	x9, [x26]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.9:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x0, sp, #16
	mov	x1, x23
	bl	_commit_depth_at
	mov	x24, x0
	ldr	x0, [x0]
	cbnz	x0, LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_2 Depth=1
	mov	w0, #4
	bl	_xmalloc
	str	x0, [x24]
LBB0_11:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w28, #0
	add	x27, x27, #1
	str	wzr, [x0]
	b	LBB0_13
LBB0_12:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x0, sp, #32
	bl	_object_array_pop
	mov	x23, x0
	add	x0, sp, #16
	mov	x1, x23
	bl	_commit_depth_at
	ldr	x8, [x0]
	ldr	w28, [x8]
LBB0_13:                                ;   in Loop: Header=BB0_2 Depth=1
                                        ; kill: def $w27 killed $w27 killed $x27 def $x27
	mov	x0, x23
	bl	_parse_commit_or_die
	add	w28, w28, #1
Lloh7:
	adrp	x8, _INFINITE_DEPTH@GOTPAGE
Lloh8:
	ldr	x8, [x8, _INFINITE_DEPTH@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	cmp	w8, w21
	ccmp	w28, w21, #8, ne
	b.ge	LBB0_1
; %bb.14:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	w0, [x25]
	bl	_is_repository_shallow
	cbz	x0, LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x23, #16]
	cbz	x8, LBB0_25
LBB0_16:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [x23, #8]
	ldr	w9, [sp, #12]                   ; 4-byte Folded Reload
	orr	w8, w8, w9
	str	w8, [x23, #8]
	ldr	x19, [x23, #16]
	mov	x23, #0
	cbz	x19, LBB0_2
; %bb.17:                               ;   in Loop: Header=BB0_2 Depth=1
	mov	x23, #0
	b	LBB0_20
LBB0_18:                                ;   in Loop: Header=BB0_20 Depth=2
	add	x0, sp, #16
	mov	x1, x24
	bl	_commit_depth_at
	ldr	x8, [x0]
	ldr	w28, [x8]
	mov	x23, x24
LBB0_19:                                ;   in Loop: Header=BB0_20 Depth=2
	ldr	x19, [x19, #8]
	cbz	x19, LBB0_2
LBB0_20:                                ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x1, [x19]
	add	x0, sp, #16
	bl	_commit_depth_at
	mov	x24, x0
	ldr	x0, [x0]
	cbz	x0, LBB0_22
; %bb.21:                               ;   in Loop: Header=BB0_20 Depth=2
	ldr	w8, [x0]
	cmp	w28, w8
	b.ge	LBB0_19
	b	LBB0_23
LBB0_22:                                ;   in Loop: Header=BB0_20 Depth=2
	mov	w0, #4
	bl	_xmalloc
	str	x0, [x24]
LBB0_23:                                ;   in Loop: Header=BB0_20 Depth=2
	str	w28, [x0]
	ldp	x24, x8, [x19]
	cbz	x8, LBB0_18
; %bb.24:                               ;   in Loop: Header=BB0_20 Depth=2
	add	x2, sp, #32
	mov	x0, x24
	mov	x1, #0
	bl	_add_object_array
	b	LBB0_19
LBB0_25:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w0, [x25]
	add	x1, x23, #12
	bl	_lookup_commit_graft
	cbz	x0, LBB0_16
; %bb.26:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x0]
	tbz	x8, #63, LBB0_16
	b	LBB0_1
LBB0_27:
	ldr	w9, [sp, #16]
	cmp	w9, #1
	b.lt	LBB0_35
; %bb.28:
	mov	x19, #0
	ldr	w8, [sp, #20]
	b	LBB0_31
LBB0_29:                                ;   in Loop: Header=BB0_31 Depth=1
	ldr	w9, [sp, #16]
LBB0_30:                                ;   in Loop: Header=BB0_31 Depth=1
	add	x19, x19, #1
	cmp	x19, w9, sxtw
	b.ge	LBB0_35
LBB0_31:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_34 Depth 2
	ldr	x10, [sp, #24]
	ldr	x10, [x10, x19, lsl #3]
	cmp	x10, #0
	ccmp	w8, #1, #8, ne
	b.lt	LBB0_30
; %bb.32:                               ;   in Loop: Header=BB0_31 Depth=1
	ldr	w0, [x10]
	bl	_free
	ldr	w8, [sp, #20]
	cmp	w8, #2
	b.lt	LBB0_29
; %bb.33:                               ;   in Loop: Header=BB0_31 Depth=1
	mov	w20, #1
LBB0_34:                                ;   Parent Loop BB0_31 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [sp, #24]
	ldr	x8, [x8, x19, lsl #3]
	ldr	w0, [x8, x20, lsl #2]
	bl	_free
	add	x20, x20, #1
	ldrsw	x8, [sp, #20]
	cmp	x20, x8
	b.lt	LBB0_34
	b	LBB0_29
LBB0_35:
	add	x0, sp, #16
	bl	_clear_commit_depth
	ldr	x0, [sp, #56]
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_OBJECT_ARRAY_INIT,16,3         ; @OBJECT_ARRAY_INIT
	.comm	_the_repository,4,2             ; @the_repository
	.comm	_OBJ_COMMIT,8,3                 ; @OBJ_COMMIT
	.comm	_INFINITE_DEPTH,4,2             ; @INFINITE_DEPTH
.subsections_via_symbols
