	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function receive_shallow_info
_receive_shallow_info:                  ## @receive_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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r12
	movq	%rsi, %r15
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	leaq	L_.str(%rip), %rsi
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_process_section_header
	movq	%r15, %rdi
	callq	_packet_reader_read
	movq	_PACKET_READ_NORMAL@GOTPCREL(%rip), %r13
	cmpq	(%r13), %rax
	jne	LBB0_18
## %bb.1:
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	leaq	-56(%rbp), %rbx
	leaq	-80(%rbp), %r14
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_oid_array_append
LBB0_17:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	callq	_packet_reader_read
	cmpq	(%r13), %rax
	jne	LBB0_18
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rdi
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdx
	callq	_skip_prefix
	testq	%rax, %rax
	je	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rdi
	movq	%r14, %rsi
	callq	_get_oid_hex
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	L_.str.2(%rip), %rdi
	callq	__
	movq	(%r15), %rsi
	movl	%eax, %edi
	callq	_die
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r15), %rdi
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdx
	callq	_skip_prefix
	testq	%rax, %rax
	je	LBB0_16
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %rbx
	movq	-56(%rbp), %rdi
	movq	%r14, %rsi
	callq	_get_oid_hex
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	L_.str.4(%rip), %rdi
	callq	__
	movq	(%r15), %rsi
	movl	%eax, %edi
	callq	_die
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_the_repository@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	movq	%r14, %rsi
	callq	_lookup_object
	testl	%eax, %eax
	jne	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	leaq	L_.str.5(%rip), %rdi
	callq	__
	movq	(%r15), %rsi
	movl	%eax, %edi
	callq	_die
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r13), %edi
	movq	%r14, %rsi
	callq	_parse_object
	testl	%eax, %eax
	jne	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	leaq	L_.str.6(%rip), %rdi
	callq	__
	movq	(%r15), %rsi
	movl	%eax, %edi
	callq	_die
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rdi
	callq	_unregister_shallow
	testq	%rax, %rax
	movq	%rbx, %r13
	je	LBB0_14
## %bb.15:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, -44(%rbp)                   ## 4-byte Folded Spill
	leaq	L_.str.7(%rip), %rdi
	callq	__
	movq	(%r15), %rsi
	movl	%eax, %edi
	callq	_die
	leaq	-56(%rbp), %rbx
	jmp	LBB0_17
LBB0_16:                                ##   in Loop: Header=BB0_2 Depth=1
	leaq	L_.str.8(%rip), %rdi
	callq	__
	movq	(%r15), %rsi
	movl	%eax, %edi
	callq	_die
	jmp	LBB0_17
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, -44(%rbp)                   ## 4-byte Folded Spill
	leaq	-56(%rbp), %rbx
	jmp	LBB0_17
LBB0_18:
	movq	8(%r15), %rax
	movq	_PACKET_READ_FLUSH@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_21
## %bb.19:
	movq	_PACKET_READ_DELIM@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_21
## %bb.20:
	leaq	L_.str.9(%rip), %rdi
	callq	__
	movq	8(%r15), %rsi
	movl	%eax, %edi
	callq	_die
LBB0_21:
	movl	(%r12), %eax
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	orl	(%r13), %ecx
	je	LBB0_26
## %bb.22:
	testl	%eax, %eax
	jle	LBB0_25
## %bb.23:
	xorl	%r15d, %r15d
	movq	_the_repository@GOTPCREL(%rip), %r14
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_24:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r14), %edi
	movq	8(%r12), %rsi
	addq	%r15, %rsi
	callq	_register_shallow
	incq	%rbx
	movslq	(%r12), %rax
	addq	$4, %r15
	cmpq	%rax, %rbx
	jl	LBB0_24
LBB0_25:
	movq	_shallow_lock@GOTPCREL(%rip), %rdi
	movq	_alternate_shallow_file@GOTPCREL(%rip), %rsi
	xorl	%edx, %edx
	callq	_setup_alternate_shallow
	movl	$1, (%r13)
	jmp	LBB0_31
LBB0_26:
	testl	%eax, %eax
	je	LBB0_30
## %bb.27:
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_prepare_shallow_info
	cmpq	$0, 16(%rbx)
	jne	LBB0_29
## %bb.28:
	cmpq	$0, 8(%rbx)
	je	LBB0_30
LBB0_29:
	movl	(%rbx), %edi
	callq	_setup_temporary_shallow
	movq	_alternate_shallow_file@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	jmp	LBB0_31
LBB0_30:
	movq	_alternate_shallow_file@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
LBB0_31:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"shallow-info"

	.comm	_PACKET_READ_NORMAL,8,3         ## @PACKET_READ_NORMAL
L_.str.1:                               ## @.str.1
	.asciz	"shallow "

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

L_.str.3:                               ## @.str.3
	.asciz	"unshallow "

L_.str.4:                               ## @.str.4
	.asciz	"invalid unshallow line: %s"

	.comm	_the_repository,4,2             ## @the_repository
L_.str.5:                               ## @.str.5
	.asciz	"object not found: %s"

L_.str.6:                               ## @.str.6
	.asciz	"error in object: %s"

L_.str.7:                               ## @.str.7
	.asciz	"no shallow found: %s"

L_.str.8:                               ## @.str.8
	.asciz	"expected shallow/unshallow, got %s"

	.comm	_PACKET_READ_FLUSH,8,3          ## @PACKET_READ_FLUSH
	.comm	_PACKET_READ_DELIM,8,3          ## @PACKET_READ_DELIM
L_.str.9:                               ## @.str.9
	.asciz	"error processing shallow info: %d"

	.comm	_shallow_lock,4,2               ## @shallow_lock
	.comm	_alternate_shallow_file,8,3     ## @alternate_shallow_file
	.no_dead_strip	_receive_shallow_info
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function receive_shallow_info
_receive_shallow_info:                  ; @receive_shallow_info
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x3, [sp, #8]                    ; 8-byte Folded Spill
	mov	x20, x2
	mov	x22, x1
	mov	x19, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x22
	mov	w2, #0
	bl	_process_section_header
	mov	x0, x22
	bl	_packet_reader_read
	mov	w28, #0
Lloh2:
	adrp	x25, _PACKET_READ_NORMAL@GOTPAGE
Lloh3:
	ldr	x25, [x25, _PACKET_READ_NORMAL@GOTPAGEOFF]
	ldr	x8, [x25]
	cmp	x0, x8
	b.ne	LBB0_18
; %bb.1:
	mov	w28, #0
Lloh4:
	adrp	x23, l_.str.1@PAGE
Lloh5:
	add	x23, x23, l_.str.1@PAGEOFF
Lloh6:
	adrp	x24, l_.str.3@PAGE
Lloh7:
	add	x24, x24, l_.str.3@PAGEOFF
Lloh8:
	adrp	x21, _the_repository@GOTPAGE
Lloh9:
	ldr	x21, [x21, _the_repository@GOTPAGEOFF]
Lloh10:
	adrp	x26, l_.str.4@PAGE
Lloh11:
	add	x26, x26, l_.str.4@PAGEOFF
Lloh12:
	adrp	x27, l_.str.2@PAGE
Lloh13:
	add	x27, x27, l_.str.2@PAGEOFF
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x1, sp, #16
	mov	x0, x20
	bl	_oid_array_append
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x22
	bl	_packet_reader_read
	ldr	x8, [x25]
	cmp	x0, x8
	b.ne	LBB0_18
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x22]
	add	x2, sp, #24
	mov	x1, x23
	bl	_skip_prefix
	cbz	x0, LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [sp, #24]
	add	x1, sp, #16
	bl	_get_oid_hex
	cbz	x0, LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x27
	bl	__
	ldr	x1, [x22]
	bl	_die
	b	LBB0_2
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [x22]
	add	x2, sp, #24
	mov	x1, x24
	bl	_skip_prefix
	cbz	x0, LBB0_16
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [sp, #24]
	add	x1, sp, #16
	bl	_get_oid_hex
	cbz	x0, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x26
	bl	__
	ldr	x1, [x22]
	bl	_die
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x21]
	add	x1, sp, #16
	bl	_lookup_object
	cbnz	w0, LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_4 Depth=1
Lloh14:
	adrp	x0, l_.str.5@PAGE
Lloh15:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	__
	ldr	x1, [x22]
	bl	_die
LBB0_12:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x21]
	add	x1, sp, #16
	bl	_parse_object
	cbnz	w0, LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_4 Depth=1
Lloh16:
	adrp	x0, l_.str.6@PAGE
Lloh17:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	__
	ldr	x1, [x22]
	bl	_die
LBB0_14:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x0, sp, #16
	bl	_unregister_shallow
	cbz	x0, LBB0_17
; %bb.15:                               ;   in Loop: Header=BB0_4 Depth=1
Lloh18:
	adrp	x0, l_.str.7@PAGE
Lloh19:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	__
	ldr	x1, [x22]
	bl	_die
	mov	w28, #1
	b	LBB0_3
LBB0_16:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh20:
	adrp	x0, l_.str.8@PAGE
Lloh21:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	__
	ldr	x1, [x22]
	bl	_die
	b	LBB0_3
LBB0_17:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w28, #1
	b	LBB0_3
LBB0_18:
	ldr	x8, [x22, #8]
Lloh22:
	adrp	x9, _PACKET_READ_FLUSH@GOTPAGE
Lloh23:
	ldr	x9, [x9, _PACKET_READ_FLUSH@GOTPAGEOFF]
Lloh24:
	ldr	x9, [x9]
Lloh25:
	adrp	x10, _PACKET_READ_DELIM@GOTPAGE
Lloh26:
	ldr	x10, [x10, _PACKET_READ_DELIM@GOTPAGEOFF]
Lloh27:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.eq	LBB0_20
; %bb.19:
Lloh28:
	adrp	x0, l_.str.9@PAGE
Lloh29:
	add	x0, x0, l_.str.9@PAGEOFF
	bl	__
	ldr	x1, [x22, #8]
	bl	_die
LBB0_20:
	ldr	w9, [x19]
	ldr	w8, [x20]
	orr	w9, w9, w28
	cbz	w9, LBB0_25
; %bb.21:
	cmp	w8, #1
	b.lt	LBB0_24
; %bb.22:
	mov	x21, #0
	mov	x22, #0
Lloh30:
	adrp	x23, _the_repository@GOTPAGE
Lloh31:
	ldr	x23, [x23, _the_repository@GOTPAGEOFF]
LBB0_23:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x23]
	ldr	x8, [x20, #8]
	add	x1, x8, x21
	bl	_register_shallow
	add	x22, x22, #1
	ldrsw	x8, [x20]
	add	x21, x21, #4
	cmp	x22, x8
	b.lt	LBB0_23
LBB0_24:
Lloh32:
	adrp	x0, _shallow_lock@GOTPAGE
Lloh33:
	ldr	x0, [x0, _shallow_lock@GOTPAGEOFF]
Lloh34:
	adrp	x1, _alternate_shallow_file@GOTPAGE
Lloh35:
	ldr	x1, [x1, _alternate_shallow_file@GOTPAGEOFF]
	mov	x2, #0
	bl	_setup_alternate_shallow
	mov	w8, #1
	str	w8, [x19]
	b	LBB0_30
LBB0_25:
	cbz	w8, LBB0_29
; %bb.26:
	ldr	x19, [sp, #8]                   ; 8-byte Folded Reload
	mov	x0, x19
	mov	x1, x20
	bl	_prepare_shallow_info
	ldr	x8, [x19, #16]
	cbnz	x8, LBB0_28
; %bb.27:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_29
LBB0_28:
	ldr	w0, [x19]
	bl	_setup_temporary_shallow
Lloh36:
	adrp	x8, _alternate_shallow_file@GOTPAGE
Lloh37:
	ldr	x8, [x8, _alternate_shallow_file@GOTPAGEOFF]
Lloh38:
	str	x0, [x8]
	b	LBB0_30
LBB0_29:
Lloh39:
	adrp	x8, _alternate_shallow_file@GOTPAGE
Lloh40:
	ldr	x8, [x8, _alternate_shallow_file@GOTPAGEOFF]
Lloh41:
	str	xzr, [x8]
LBB0_30:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGotStr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotStr	Lloh39, Lloh40, Lloh41
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"shallow-info"

	.comm	_PACKET_READ_NORMAL,8,3         ; @PACKET_READ_NORMAL
l_.str.1:                               ; @.str.1
	.asciz	"shallow "

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

l_.str.3:                               ; @.str.3
	.asciz	"unshallow "

l_.str.4:                               ; @.str.4
	.asciz	"invalid unshallow line: %s"

	.comm	_the_repository,4,2             ; @the_repository
l_.str.5:                               ; @.str.5
	.asciz	"object not found: %s"

l_.str.6:                               ; @.str.6
	.asciz	"error in object: %s"

l_.str.7:                               ; @.str.7
	.asciz	"no shallow found: %s"

l_.str.8:                               ; @.str.8
	.asciz	"expected shallow/unshallow, got %s"

	.comm	_PACKET_READ_FLUSH,8,3          ; @PACKET_READ_FLUSH
	.comm	_PACKET_READ_DELIM,8,3          ; @PACKET_READ_DELIM
l_.str.9:                               ; @.str.9
	.asciz	"error processing shallow info: %d"

	.comm	_shallow_lock,4,2               ; @shallow_lock
	.comm	_alternate_shallow_file,8,3     ; @alternate_shallow_file
	.no_dead_strip	_receive_shallow_info
.subsections_via_symbols
