	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function process_shallow
_process_shallow:                       ## @process_shallow
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rsi
	leaq	-32(%rbp), %rdx
	callq	_skip_prefix
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	-32(%rbp), %rdi
	leaq	-24(%rbp), %rsi
	callq	_get_oid_hex
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	leaq	L_.str.1(%rip), %rdi
	movq	%rbx, %rsi
	callq	_die
LBB0_4:
	movq	_the_repository@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-24(%rbp), %rsi
	callq	_parse_object
	testq	%rax, %rax
	je	LBB0_9
## %bb.5:
	movq	%rax, %rbx
	movq	(%rax), %rax
	movq	_OBJ_COMMIT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_7
## %bb.6:
	leaq	-24(%rbp), %rdi
	callq	_oid_to_hex
	leaq	L_.str.2(%rip), %rdi
	movq	%rax, %rsi
	callq	_die
LBB0_7:
	movl	8(%rbx), %eax
	movq	_CLIENT_SHALLOW@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%eax, %ecx
	jne	LBB0_9
## %bb.8:
	orl	%eax, %ecx
	movl	%ecx, 8(%rbx)
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movq	%r14, %rdx
	callq	_add_object_array
LBB0_9:
	movl	$1, %eax
	jmp	LBB0_10
LBB0_1:
	xorl	%eax, %eax
LBB0_10:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"shallow "

L_.str.1:                               ## @.str.1
	.asciz	"invalid shallow line: %s"

	.comm	_the_repository,4,2             ## @the_repository
	.comm	_OBJ_COMMIT,8,3                 ## @OBJ_COMMIT
L_.str.2:                               ## @.str.2
	.asciz	"invalid shallow object %s"

	.comm	_CLIENT_SHALLOW,4,2             ## @CLIENT_SHALLOW
	.no_dead_strip	_process_shallow
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function process_shallow
_process_shallow:                       ; @process_shallow
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #8
	bl	_skip_prefix
	cbz	x0, LBB0_9
; %bb.1:
	ldr	x0, [sp, #8]
	mov	x1, sp
	bl	_get_oid_hex
	cbz	x0, LBB0_3
; %bb.2:
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x20
	bl	_die
LBB0_3:
Lloh4:
	adrp	x8, _the_repository@GOTPAGE
Lloh5:
	ldr	x8, [x8, _the_repository@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	mov	x1, sp
	bl	_parse_object
	cbz	x0, LBB0_8
; %bb.4:
	mov	x20, x0
	ldr	x8, [x0]
Lloh7:
	adrp	x9, _OBJ_COMMIT@GOTPAGE
Lloh8:
	ldr	x9, [x9, _OBJ_COMMIT@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_6
; %bb.5:
	mov	x0, sp
	bl	_oid_to_hex
	mov	x1, x0
Lloh10:
	adrp	x0, l_.str.2@PAGE
Lloh11:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_die
LBB0_6:
	ldr	w8, [x20, #8]
Lloh12:
	adrp	x9, _CLIENT_SHALLOW@GOTPAGE
Lloh13:
	ldr	x9, [x9, _CLIENT_SHALLOW@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_8
; %bb.7:
	orr	w8, w9, w8
	str	w8, [x20, #8]
	mov	x0, x20
	mov	x1, #0
	mov	x2, x19
	bl	_add_object_array
LBB0_8:
	mov	w0, #1
LBB0_9:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"shallow "

l_.str.1:                               ; @.str.1
	.asciz	"invalid shallow line: %s"

	.comm	_the_repository,4,2             ; @the_repository
	.comm	_OBJ_COMMIT,8,3                 ; @OBJ_COMMIT
l_.str.2:                               ; @.str.2
	.asciz	"invalid shallow object %s"

	.comm	_CLIENT_SHALLOW,4,2             ; @CLIENT_SHALLOW
	.no_dead_strip	_process_shallow
.subsections_via_symbols
