	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function send_unshallow
_send_unshallow:                        ## @send_unshallow
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	cmpl	$0, (%rsi)
	jle	LBB0_8
## %bb.1:
	movq	%rdx, %r14
	movq	%rsi, %rbx
	xorl	%r15d, %r15d
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	xorl	%esi, %esi
	movq	_extra_edge_obj@GOTPCREL(%rip), %rdx
	callq	_add_object_array
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_the_repository@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$4, %r12
	movq	%r12, %rsi
	callq	_register_shallow
	incq	%r15
	movslq	(%rbx), %rax
	cmpq	%rax, %r15
	jge	LBB0_8
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
	movq	8(%rbx), %rax
	movq	(%rax,%r15,8), %r12
	movq	_NOT_SHALLOW@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r12)
	je	LBB0_7
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	4(%r12), %r13
	movq	%r13, %rdi
	callq	_oid_to_hex
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edx
	callq	_packet_writer_write
	movq	_CLIENT_SHALLOW@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, (%r12)
	movq	%r13, %rdi
	callq	_unregister_shallow
	movq	$0, 8(%r12)
	movq	%r12, %rdi
	callq	_parse_commit_or_die
	movq	(%r12), %rbx
	testq	%rbx, %rbx
	je	LBB0_6
	.p2align	4, 0x90
LBB0_4:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	8(%rbx), %rdi
	xorl	%esi, %esi
	movq	%r14, %rdx
	callq	_add_object_array
	movq	(%rbx), %rbx
	testq	%rbx, %rbx
	jne	LBB0_4
	jmp	LBB0_6
LBB0_8:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NOT_SHALLOW,4,2                ## @NOT_SHALLOW
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unshallow %s"

	.comm	_CLIENT_SHALLOW,4,2             ## @CLIENT_SHALLOW
	.comm	_extra_edge_obj,16,3            ## @extra_edge_obj
	.comm	_the_repository,4,2             ## @the_repository
	.no_dead_strip	_send_unshallow
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function send_unshallow
_send_unshallow:                        ; @send_unshallow
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	ldr	w8, [x1]
	cmp	w8, #1
	b.lt	LBB0_7
; %bb.1:
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	mov	x26, #0
Lloh0:
	adrp	x27, _NOT_SHALLOW@GOTPAGE
Lloh1:
	ldr	x27, [x27, _NOT_SHALLOW@GOTPAGEOFF]
Lloh2:
	adrp	x28, _the_repository@GOTPAGE
Lloh3:
	ldr	x28, [x28, _the_repository@GOTPAGEOFF]
Lloh4:
	adrp	x22, l_.str@PAGE
Lloh5:
	add	x22, x22, l_.str@PAGEOFF
Lloh6:
	adrp	x23, _extra_edge_obj@GOTPAGE
Lloh7:
	ldr	x23, [x23, _extra_edge_obj@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x24
	mov	x1, #0
	mov	x2, x23
	bl	_add_object_array
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x28]
	add	x1, x24, #4
	bl	_register_shallow
	add	x26, x26, #1
	ldrsw	x8, [x20]
	cmp	x26, x8
	b.ge	LBB0_7
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
	ldr	x8, [x20, #8]
	ldr	x24, [x8, x26, lsl #3]
	ldr	w8, [x24]
	ldr	w9, [x27]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x25, x24, #4
	mov	x0, x25
	bl	_oid_to_hex
	mov	x2, x0
	mov	x0, x21
	mov	x1, x22
	bl	_packet_writer_write
Lloh8:
	adrp	x8, _CLIENT_SHALLOW@GOTPAGE
Lloh9:
	ldr	x8, [x8, _CLIENT_SHALLOW@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	ldr	w9, [x24]
	bic	w8, w9, w8
	str	w8, [x24]
	mov	x0, x25
	bl	_unregister_shallow
	str	xzr, [x24, #8]
	mov	x0, x24
	bl	_parse_commit_or_die
	ldr	x25, [x24]
	cbz	x25, LBB0_2
LBB0_6:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x0, [x25, #8]
	mov	x1, #0
	mov	x2, x19
	bl	_add_object_array
	ldr	x25, [x25]
	cbnz	x25, LBB0_6
	b	LBB0_2
LBB0_7:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_NOT_SHALLOW,4,2                ; @NOT_SHALLOW
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unshallow %s"

	.comm	_CLIENT_SHALLOW,4,2             ; @CLIENT_SHALLOW
	.comm	_extra_edge_obj,16,3            ; @extra_edge_obj
	.comm	_the_repository,4,2             ; @the_repository
	.no_dead_strip	_send_unshallow
.subsections_via_symbols
