	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function receive_needs
_receive_needs:                         ## @receive_needs
	.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
	movq	%rsi, %r14
	movq	%rdi, %r13
	movq	_OBJECT_ARRAY_INIT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -96(%rbp)
	movq	_STRING_LIST_INIT_DUP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -80(%rbp)
	movl	$0, -44(%rbp)
	movl	$0, -88(%rbp)
	movl	$0, -84(%rbp)
	movq	_shallow_nr@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	leaq	-72(%rbp), %rdi
	movl	$1, %esi
	callq	_packet_writer_init
	xorl	%r12d, %r12d
	xorl	%eax, %eax
	callq	_reset_timeout
	movq	%r13, %rdi
	callq	_packet_reader_read
	movq	_PACKET_READ_NORMAL@GOTPCREL(%rip), %r15
	cmpq	(%r15), %rax
	jne	LBB0_44
## %bb.1:
	movq	%r14, -104(%rbp)                ## 8-byte Spill
	leaq	-96(%rbp), %r12
	leaq	-44(%rbp), %rbx
	leaq	-112(%rbp), %r14
	movl	$0, -76(%rbp)                   ## 4-byte Folded Spill
	movl	$0, -60(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_2
LBB0_37:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rdi
	xorl	%esi, %esi
	movq	-104(%rbp), %rdx                ## 8-byte Reload
	callq	_add_object_array
LBB0_38:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %r14
LBB0_39:                                ##   in Loop: Header=BB0_2 Depth=1
	leaq	-44(%rbp), %rbx
	.p2align	4, 0x90
LBB0_40:                                ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
	callq	_reset_timeout
	movq	%r13, %rdi
	callq	_packet_reader_read
	cmpq	(%r15), %rax
	jne	LBB0_41
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r13), %edi
	movq	%r12, %rsi
	callq	_process_shallow
	testq	%rax, %rax
	jne	LBB0_40
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r13), %edi
	movq	%rbx, %rsi
	callq	_process_deepen
	testq	%rax, %rax
	jne	LBB0_40
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rbx
	movl	(%r13), %edi
	leaq	-88(%rbp), %rsi
	leaq	-84(%rbp), %r14
	movq	%r14, %rdx
	callq	_process_deepen_since
	testq	%rax, %rax
	jne	LBB0_38
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r13), %edi
	leaq	-80(%rbp), %rsi
	movq	%r14, %rdx
	callq	_process_deepen_not
	testq	%rax, %rax
	jne	LBB0_38
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r13), %edi
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %r14
	movq	%rbx, %rdx
	callq	_skip_prefix
	testq	%rax, %rax
	je	LBB0_10
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_filter_capability_requested@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_die
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_filter_options@GOTPCREL(%rip), %rbx
	movq	%rbx, %rdi
	callq	_list_objects_filter_die_if_populated
	movq	-112(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_parse_list_objects_filter
	jmp	LBB0_39
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r13), %edi
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdx
	callq	_skip_prefix
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-112(%rbp), %rdi
	leaq	-64(%rbp), %rsi
	leaq	-56(%rbp), %rdx
	callq	_parse_oid_hex
	testq	%rax, %rax
	je	LBB0_13
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r13), %esi
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	callq	_die
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rdi
	leaq	L_.str.4(%rip), %rsi
	callq	_parse_feature_request
	testq	%rax, %rax
	movl	-60(%rbp), %eax                 ## 4-byte Reload
	movl	$1, %ecx
	cmovnel	%ecx, %eax
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	movq	-56(%rbp), %rdi
	leaq	L_.str.5(%rip), %rsi
	callq	_parse_feature_request
	movl	$2, %ecx
	testq	%rax, %rax
	jne	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rdi
	leaq	L_.str.6(%rip), %rsi
	callq	_parse_feature_request
	movl	$1, %ecx
	testq	%rax, %rax
	je	LBB0_16
LBB0_15:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_multi_ack@GOTPCREL(%rip), %rax
	movl	%ecx, (%rax)
LBB0_16:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rdi
	leaq	L_.str.7(%rip), %rsi
	callq	_parse_feature_request
	testq	%rax, %rax
	je	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_no_done@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
LBB0_18:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rdi
	leaq	L_.str.8(%rip), %rsi
	callq	_parse_feature_request
	testq	%rax, %rax
	je	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_use_thin_pack@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
LBB0_20:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rdi
	leaq	L_.str.9(%rip), %rsi
	callq	_parse_feature_request
	testq	%rax, %rax
	je	LBB0_22
## %bb.21:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_use_ofs_delta@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
LBB0_22:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rdi
	leaq	L_.str.10(%rip), %rsi
	callq	_parse_feature_request
	movq	_LARGE_PACKET_MAX@GOTPCREL(%rip), %rcx
	testq	%rax, %rax
	jne	LBB0_24
## %bb.23:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rdi
	leaq	L_.str.11(%rip), %rsi
	callq	_parse_feature_request
	movq	_DEFAULT_PACKET_MAX@GOTPCREL(%rip), %rcx
	testq	%rax, %rax
	je	LBB0_25
LBB0_24:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rcx), %eax
	movq	_use_sideband@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
LBB0_25:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rdi
	leaq	L_.str.12(%rip), %rsi
	callq	_parse_feature_request
	testq	%rax, %rax
	je	LBB0_27
## %bb.26:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_no_progress@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
LBB0_27:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rdi
	leaq	L_.str.13(%rip), %rsi
	callq	_parse_feature_request
	testq	%rax, %rax
	je	LBB0_29
## %bb.28:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_use_include_tag@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
LBB0_29:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_allow_filter@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_32
## %bb.30:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rdi
	leaq	L_.str.14(%rip), %rsi
	callq	_parse_feature_request
	testq	%rax, %rax
	je	LBB0_32
## %bb.31:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_filter_capability_requested@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
LBB0_32:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_the_repository@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-64(%rbp), %rsi
	callq	_parse_object
	movq	%rax, %r14
	testq	%rax, %rax
	jne	LBB0_34
## %bb.33:                              ##   in Loop: Header=BB0_2 Depth=1
	leaq	-64(%rbp), %rdi
	callq	_oid_to_hex
	leaq	-72(%rbp), %rdi
	leaq	L_.str.15(%rip), %rsi
	movl	%eax, %edx
	callq	_packet_writer_error
	leaq	-64(%rbp), %rdi
	callq	_oid_to_hex
	leaq	L_.str.16(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_die
LBB0_34:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r14), %eax
	movq	_WANTED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%eax, %ecx
	jne	LBB0_38
## %bb.35:                              ##   in Loop: Header=BB0_2 Depth=1
	orl	%eax, %ecx
	movl	%ecx, (%r14)
	movq	_allow_unadvertised_object_request@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	movq	_ALLOW_ANY_SHA1@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_37
## %bb.36:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rdi
	callq	_is_our_ref
	testq	%rax, %rax
	movl	$1, %eax
	movl	-76(%rbp), %ecx                 ## 4-byte Reload
	cmovel	%eax, %ecx
	movl	%ecx, -76(%rbp)                 ## 4-byte Spill
	jmp	LBB0_37
LBB0_41:
	cmpl	$0, -76(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_42
## %bb.43:
	leaq	-72(%rbp), %rsi
	movq	-104(%rbp), %r14                ## 8-byte Reload
	movq	%r14, %rdi
	callq	_check_non_tip
	movl	-60(%rbp), %r12d                ## 4-byte Reload
	jmp	LBB0_44
LBB0_42:
	movl	-60(%rbp), %r12d                ## 4-byte Reload
	movq	-104(%rbp), %r14                ## 8-byte Reload
LBB0_44:
	movq	_use_sideband@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_47
## %bb.45:
	movq	_daemon_mode@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_47
## %bb.46:
	movq	_no_progress@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
LBB0_47:
	movl	-44(%rbp), %esi
	movl	-84(%rbp), %edx
	testl	%esi, %esi
	jne	LBB0_50
## %bb.48:
	testl	%edx, %edx
	jne	LBB0_50
## %bb.49:
	cmpq	$0, -96(%rbp)
	je	LBB0_53
LBB0_50:
	movl	-88(%rbp), %ecx
	leaq	-96(%rbp), %rax
	leaq	-72(%rbp), %rdi
	leaq	-80(%rbp), %r8
	movl	%r12d, %r9d
	pushq	%r14
	pushq	%rax
	callq	_send_shallow_list
	addq	$16, %rsp
	testq	%rax, %rax
	je	LBB0_52
## %bb.51:
	movl	$1, %edi
	callq	_packet_flush
LBB0_52:
	leaq	-96(%rbp), %rdi
	callq	_object_array_clear
LBB0_53:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OBJECT_ARRAY_INIT,8,3          ## @OBJECT_ARRAY_INIT
	.comm	_STRING_LIST_INIT_DUP,4,2       ## @STRING_LIST_INIT_DUP
	.comm	_shallow_nr,8,3                 ## @shallow_nr
	.comm	_PACKET_READ_NORMAL,8,3         ## @PACKET_READ_NORMAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"filter "

	.comm	_filter_capability_requested,4,2 ## @filter_capability_requested
L_.str.1:                               ## @.str.1
	.asciz	"git upload-pack: filtering capability not negotiated"

	.comm	_filter_options,4,2             ## @filter_options
L_.str.2:                               ## @.str.2
	.asciz	"want "

L_.str.3:                               ## @.str.3
	.asciz	"git upload-pack: protocol error, expected to get object ID, not '%s'"

L_.str.4:                               ## @.str.4
	.asciz	"deepen-relative"

L_.str.5:                               ## @.str.5
	.asciz	"multi_ack_detailed"

	.comm	_multi_ack,4,2                  ## @multi_ack
L_.str.6:                               ## @.str.6
	.asciz	"multi_ack"

L_.str.7:                               ## @.str.7
	.asciz	"no-done"

	.comm	_no_done,4,2                    ## @no_done
L_.str.8:                               ## @.str.8
	.asciz	"thin-pack"

	.comm	_use_thin_pack,4,2              ## @use_thin_pack
L_.str.9:                               ## @.str.9
	.asciz	"ofs-delta"

	.comm	_use_ofs_delta,4,2              ## @use_ofs_delta
L_.str.10:                              ## @.str.10
	.asciz	"side-band-64k"

	.comm	_LARGE_PACKET_MAX,4,2           ## @LARGE_PACKET_MAX
	.comm	_use_sideband,4,2               ## @use_sideband
L_.str.11:                              ## @.str.11
	.asciz	"side-band"

	.comm	_DEFAULT_PACKET_MAX,4,2         ## @DEFAULT_PACKET_MAX
L_.str.12:                              ## @.str.12
	.asciz	"no-progress"

	.comm	_no_progress,4,2                ## @no_progress
L_.str.13:                              ## @.str.13
	.asciz	"include-tag"

	.comm	_use_include_tag,4,2            ## @use_include_tag
	.comm	_allow_filter,8,3               ## @allow_filter
L_.str.14:                              ## @.str.14
	.asciz	"filter"

	.comm	_the_repository,4,2             ## @the_repository
L_.str.15:                              ## @.str.15
	.asciz	"upload-pack: not our ref %s"

L_.str.16:                              ## @.str.16
	.asciz	"git upload-pack: not our ref %s"

	.comm	_WANTED,4,2                     ## @WANTED
	.comm	_allow_unadvertised_object_request,4,2 ## @allow_unadvertised_object_request
	.comm	_ALLOW_ANY_SHA1,4,2             ## @ALLOW_ANY_SHA1
	.comm	_daemon_mode,8,3                ## @daemon_mode
	.no_dead_strip	_receive_needs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function receive_needs
_receive_needs:                         ; @receive_needs
	.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
	mov	x19, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _OBJECT_ARRAY_INIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _OBJECT_ARRAY_INIT@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #56]
Lloh3:
	adrp	x8, _STRING_LIST_INIT_DUP@GOTPAGE
Lloh4:
	ldr	x8, [x8, _STRING_LIST_INIT_DUP@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [sp, #48]
	str	xzr, [sp, #40]
	str	wzr, [sp, #36]
Lloh6:
	adrp	x8, _shallow_nr@GOTPAGE
Lloh7:
	ldr	x8, [x8, _shallow_nr@GOTPAGEOFF]
Lloh8:
	str	xzr, [x8]
	mov	w23, #1
	add	x0, sp, #32
	mov	w1, #1
	bl	_packet_writer_init
	bl	_reset_timeout
	mov	x0, x21
	bl	_packet_reader_read
Lloh9:
	adrp	x25, _PACKET_READ_NORMAL@GOTPAGE
Lloh10:
	ldr	x25, [x25, _PACKET_READ_NORMAL@GOTPAGEOFF]
	ldr	x8, [x25]
Lloh11:
	adrp	x24, _use_sideband@GOTPAGE
Lloh12:
	ldr	x24, [x24, _use_sideband@GOTPAGEOFF]
	cmp	x0, x8
	b.ne	LBB0_2
; %bb.1:
	mov	w26, #0
	mov	w20, #0
Lloh13:
	adrp	x22, l_.str@PAGE
Lloh14:
	add	x22, x22, l_.str@PAGEOFF
Lloh15:
	adrp	x27, l_.str.2@PAGE
Lloh16:
	add	x27, x27, l_.str.2@PAGEOFF
Lloh17:
	adrp	x28, l_.str.3@PAGE
Lloh18:
	add	x28, x28, l_.str.3@PAGEOFF
	b	LBB0_6
LBB0_2:
	mov	w20, #0
	b	LBB0_46
LBB0_3:                                 ;   in Loop: Header=BB0_6 Depth=1
Lloh19:
	adrp	x24, _filter_options@GOTPAGE
Lloh20:
	ldr	x24, [x24, _filter_options@GOTPAGEOFF]
	mov	x0, x24
	bl	_list_objects_filter_die_if_populated
	ldr	x1, [sp, #8]
	mov	x0, x24
	bl	_parse_list_objects_filter
	mov	x24, x26
	mov	x26, x27
	mov	x27, x28
	mov	x28, x22
	mov	x22, x19
	mov	x19, x20
	mov	x20, x23
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	w23, #1
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	bl	_reset_timeout
	mov	x0, x21
	bl	_packet_reader_read
	ldr	x8, [x25]
	cmp	x0, x8
	b.ne	LBB0_44
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x21]
	add	x1, sp, #56
	bl	_process_shallow
	cbnz	x0, LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w0, [x21]
	add	x1, sp, #44
	bl	_process_deepen
	cbnz	x0, LBB0_5
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w0, [x21]
	add	x1, sp, #40
	add	x2, sp, #36
	bl	_process_deepen_since
	cbnz	x0, LBB0_5
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w0, [x21]
	add	x1, sp, #48
	add	x2, sp, #36
	bl	_process_deepen_not
	cbnz	x0, LBB0_5
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	w0, [x21]
	add	x2, sp, #8
	mov	x1, x22
	bl	_skip_prefix
	cbz	x0, LBB0_13
; %bb.11:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x23, x20
	mov	x20, x19
	mov	x19, x22
	mov	x22, x28
	mov	x28, x27
	mov	x27, x26
	mov	x26, x24
Lloh21:
	adrp	x8, _filter_capability_requested@GOTPAGE
Lloh22:
	ldr	x8, [x8, _filter_capability_requested@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	cbnz	w8, LBB0_3
; %bb.12:                               ;   in Loop: Header=BB0_6 Depth=1
Lloh24:
	adrp	x0, l_.str.1@PAGE
Lloh25:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_die
	b	LBB0_3
LBB0_13:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w0, [x21]
	add	x2, sp, #8
	mov	x1, x27
	bl	_skip_prefix
	cbz	x0, LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	x0, [sp, #8]
	add	x1, sp, #16
	add	x2, sp, #24
	bl	_parse_oid_hex
	cbz	x0, LBB0_16
LBB0_15:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x21]
	str	x8, [sp]
	mov	x0, x28
	bl	_die
LBB0_16:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x0, [sp, #24]
Lloh26:
	adrp	x1, l_.str.4@PAGE
Lloh27:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_parse_feature_request
	cmp	x0, #0
	csinc	w20, w20, wzr, eq
	ldr	x0, [sp, #24]
Lloh28:
	adrp	x1, l_.str.5@PAGE
Lloh29:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_parse_feature_request
	cbz	x0, LBB0_18
; %bb.17:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	w8, #2
	b	LBB0_20
LBB0_18:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x0, [sp, #24]
Lloh30:
	adrp	x1, l_.str.6@PAGE
Lloh31:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_parse_feature_request
	cbz	x0, LBB0_21
; %bb.19:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	w8, #1
LBB0_20:                                ;   in Loop: Header=BB0_6 Depth=1
Lloh32:
	adrp	x9, _multi_ack@GOTPAGE
Lloh33:
	ldr	x9, [x9, _multi_ack@GOTPAGEOFF]
Lloh34:
	str	w8, [x9]
LBB0_21:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x0, [sp, #24]
Lloh35:
	adrp	x1, l_.str.7@PAGE
Lloh36:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_parse_feature_request
	cbz	x0, LBB0_23
; %bb.22:                               ;   in Loop: Header=BB0_6 Depth=1
Lloh37:
	adrp	x8, _no_done@GOTPAGE
Lloh38:
	ldr	x8, [x8, _no_done@GOTPAGEOFF]
Lloh39:
	str	w23, [x8]
LBB0_23:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x0, [sp, #24]
Lloh40:
	adrp	x1, l_.str.8@PAGE
Lloh41:
	add	x1, x1, l_.str.8@PAGEOFF
	bl	_parse_feature_request
	cbz	x0, LBB0_25
; %bb.24:                               ;   in Loop: Header=BB0_6 Depth=1
Lloh42:
	adrp	x8, _use_thin_pack@GOTPAGE
Lloh43:
	ldr	x8, [x8, _use_thin_pack@GOTPAGEOFF]
Lloh44:
	str	w23, [x8]
LBB0_25:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x0, [sp, #24]
Lloh45:
	adrp	x1, l_.str.9@PAGE
Lloh46:
	add	x1, x1, l_.str.9@PAGEOFF
	bl	_parse_feature_request
	cbz	x0, LBB0_27
; %bb.26:                               ;   in Loop: Header=BB0_6 Depth=1
Lloh47:
	adrp	x8, _use_ofs_delta@GOTPAGE
Lloh48:
	ldr	x8, [x8, _use_ofs_delta@GOTPAGEOFF]
Lloh49:
	str	w23, [x8]
LBB0_27:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	w23, #1
	ldr	x0, [sp, #24]
Lloh50:
	adrp	x1, l_.str.10@PAGE
Lloh51:
	add	x1, x1, l_.str.10@PAGEOFF
	bl	_parse_feature_request
Lloh52:
	adrp	x8, _LARGE_PACKET_MAX@GOTPAGE
Lloh53:
	ldr	x8, [x8, _LARGE_PACKET_MAX@GOTPAGEOFF]
	cbnz	x0, LBB0_29
; %bb.28:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	x0, [sp, #24]
Lloh54:
	adrp	x1, l_.str.11@PAGE
Lloh55:
	add	x1, x1, l_.str.11@PAGEOFF
	bl	_parse_feature_request
Lloh56:
	adrp	x8, _DEFAULT_PACKET_MAX@GOTPAGE
Lloh57:
	ldr	x8, [x8, _DEFAULT_PACKET_MAX@GOTPAGEOFF]
	cbz	x0, LBB0_30
LBB0_29:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x8]
	str	w8, [x24]
LBB0_30:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x0, [sp, #24]
Lloh58:
	adrp	x1, l_.str.12@PAGE
Lloh59:
	add	x1, x1, l_.str.12@PAGEOFF
	bl	_parse_feature_request
	cbz	x0, LBB0_32
; %bb.31:                               ;   in Loop: Header=BB0_6 Depth=1
Lloh60:
	adrp	x8, _no_progress@GOTPAGE
Lloh61:
	ldr	x8, [x8, _no_progress@GOTPAGEOFF]
Lloh62:
	str	w23, [x8]
LBB0_32:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x28, x22
	ldr	x0, [sp, #24]
Lloh63:
	adrp	x1, l_.str.13@PAGE
Lloh64:
	add	x1, x1, l_.str.13@PAGEOFF
	bl	_parse_feature_request
	cbz	x0, LBB0_34
; %bb.33:                               ;   in Loop: Header=BB0_6 Depth=1
Lloh65:
	adrp	x8, _use_include_tag@GOTPAGE
Lloh66:
	ldr	x8, [x8, _use_include_tag@GOTPAGEOFF]
Lloh67:
	str	w23, [x8]
LBB0_34:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x22, x27
Lloh68:
	adrp	x8, _allow_filter@GOTPAGE
Lloh69:
	ldr	x8, [x8, _allow_filter@GOTPAGEOFF]
Lloh70:
	ldr	x8, [x8]
	cbz	x8, LBB0_37
; %bb.35:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	x0, [sp, #24]
Lloh71:
	adrp	x1, l_.str.14@PAGE
Lloh72:
	add	x1, x1, l_.str.14@PAGEOFF
	bl	_parse_feature_request
	cbz	x0, LBB0_37
; %bb.36:                               ;   in Loop: Header=BB0_6 Depth=1
Lloh73:
	adrp	x8, _filter_capability_requested@GOTPAGE
Lloh74:
	ldr	x8, [x8, _filter_capability_requested@GOTPAGEOFF]
Lloh75:
	str	w23, [x8]
LBB0_37:                                ;   in Loop: Header=BB0_6 Depth=1
Lloh76:
	adrp	x8, _the_repository@GOTPAGE
Lloh77:
	ldr	x8, [x8, _the_repository@GOTPAGEOFF]
Lloh78:
	ldr	w0, [x8]
	add	x1, sp, #16
	bl	_parse_object
	mov	x27, x0
	cbnz	x0, LBB0_39
; %bb.38:                               ;   in Loop: Header=BB0_6 Depth=1
	add	x0, sp, #16
	bl	_oid_to_hex
	mov	x2, x0
	add	x0, sp, #32
Lloh79:
	adrp	x1, l_.str.15@PAGE
Lloh80:
	add	x1, x1, l_.str.15@PAGEOFF
	bl	_packet_writer_error
	add	x0, sp, #16
	bl	_oid_to_hex
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh81:
	adrp	x0, l_.str.16@PAGE
Lloh82:
	add	x0, x0, l_.str.16@PAGEOFF
	bl	_die
LBB0_39:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x27]
Lloh83:
	adrp	x9, _WANTED@GOTPAGE
Lloh84:
	ldr	x9, [x9, _WANTED@GOTPAGEOFF]
Lloh85:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_43
; %bb.40:                               ;   in Loop: Header=BB0_6 Depth=1
	orr	w8, w9, w8
	str	w8, [x27]
Lloh86:
	adrp	x8, _allow_unadvertised_object_request@GOTPAGE
Lloh87:
	ldr	x8, [x8, _allow_unadvertised_object_request@GOTPAGEOFF]
Lloh88:
	ldr	w8, [x8]
Lloh89:
	adrp	x9, _ALLOW_ANY_SHA1@GOTPAGE
Lloh90:
	ldr	x9, [x9, _ALLOW_ANY_SHA1@GOTPAGEOFF]
Lloh91:
	ldr	w9, [x9]
	bics	wzr, w9, w8
	b.eq	LBB0_42
; %bb.41:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x27
	bl	_is_our_ref
	cmp	x0, #0
	csinc	w26, w26, wzr, ne
LBB0_42:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x27
	mov	x1, #0
	mov	x2, x19
	bl	_add_object_array
LBB0_43:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x27, x22
	mov	x22, x28
Lloh92:
	adrp	x28, l_.str.3@PAGE
Lloh93:
	add	x28, x28, l_.str.3@PAGEOFF
	b	LBB0_4
LBB0_44:
	cbz	w26, LBB0_46
; %bb.45:
	add	x1, sp, #32
	mov	x0, x19
	bl	_check_non_tip
LBB0_46:
	ldr	w8, [x24]
Lloh94:
	adrp	x9, _daemon_mode@GOTPAGE
Lloh95:
	ldr	x9, [x9, _daemon_mode@GOTPAGEOFF]
Lloh96:
	ldr	x9, [x9]
	cmp	w8, #0
	ccmp	x9, #0, #4, eq
	b.eq	LBB0_48
; %bb.47:
Lloh97:
	adrp	x8, _no_progress@GOTPAGE
Lloh98:
	ldr	x8, [x8, _no_progress@GOTPAGEOFF]
	mov	w9, #1
Lloh99:
	str	w9, [x8]
LBB0_48:
	ldr	w1, [sp, #44]
	ldr	w2, [sp, #36]
	cbnz	w1, LBB0_51
; %bb.49:
	cbnz	w2, LBB0_51
; %bb.50:
	ldr	x8, [sp, #56]
	cbz	x8, LBB0_54
LBB0_51:
	ldr	w3, [sp, #40]
	add	x0, sp, #32
	add	x4, sp, #48
	add	x6, sp, #56
	mov	x5, x20
	mov	x7, x19
	bl	_send_shallow_list
	cbz	x0, LBB0_53
; %bb.52:
	mov	w0, #1
	bl	_packet_flush
LBB0_53:
	add	x0, sp, #56
	bl	_object_array_clear
LBB0_54:
	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	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotStr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotStr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGotStr	Lloh37, Lloh38, Lloh39
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpLdrGotStr	Lloh42, Lloh43, Lloh44
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpLdrGotStr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGot	Lloh52, Lloh53
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpLdrGot	Lloh56, Lloh57
	.loh AdrpAdd	Lloh54, Lloh55
	.loh AdrpAdd	Lloh58, Lloh59
	.loh AdrpLdrGotStr	Lloh60, Lloh61, Lloh62
	.loh AdrpAdd	Lloh63, Lloh64
	.loh AdrpLdrGotStr	Lloh65, Lloh66, Lloh67
	.loh AdrpLdrGotLdr	Lloh68, Lloh69, Lloh70
	.loh AdrpAdd	Lloh71, Lloh72
	.loh AdrpLdrGotStr	Lloh73, Lloh74, Lloh75
	.loh AdrpLdrGotLdr	Lloh76, Lloh77, Lloh78
	.loh AdrpAdd	Lloh81, Lloh82
	.loh AdrpAdd	Lloh79, Lloh80
	.loh AdrpLdrGotLdr	Lloh83, Lloh84, Lloh85
	.loh AdrpLdrGotLdr	Lloh89, Lloh90, Lloh91
	.loh AdrpLdrGotLdr	Lloh86, Lloh87, Lloh88
	.loh AdrpAdd	Lloh92, Lloh93
	.loh AdrpLdrGotLdr	Lloh94, Lloh95, Lloh96
	.loh AdrpLdrGotStr	Lloh97, Lloh98, Lloh99
	.cfi_endproc
                                        ; -- End function
	.comm	_OBJECT_ARRAY_INIT,8,3          ; @OBJECT_ARRAY_INIT
	.comm	_STRING_LIST_INIT_DUP,4,2       ; @STRING_LIST_INIT_DUP
	.comm	_shallow_nr,8,3                 ; @shallow_nr
	.comm	_PACKET_READ_NORMAL,8,3         ; @PACKET_READ_NORMAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"filter "

	.comm	_filter_capability_requested,4,2 ; @filter_capability_requested
l_.str.1:                               ; @.str.1
	.asciz	"git upload-pack: filtering capability not negotiated"

	.comm	_filter_options,4,2             ; @filter_options
l_.str.2:                               ; @.str.2
	.asciz	"want "

l_.str.3:                               ; @.str.3
	.asciz	"git upload-pack: protocol error, expected to get object ID, not '%s'"

l_.str.4:                               ; @.str.4
	.asciz	"deepen-relative"

l_.str.5:                               ; @.str.5
	.asciz	"multi_ack_detailed"

	.comm	_multi_ack,4,2                  ; @multi_ack
l_.str.6:                               ; @.str.6
	.asciz	"multi_ack"

l_.str.7:                               ; @.str.7
	.asciz	"no-done"

	.comm	_no_done,4,2                    ; @no_done
l_.str.8:                               ; @.str.8
	.asciz	"thin-pack"

	.comm	_use_thin_pack,4,2              ; @use_thin_pack
l_.str.9:                               ; @.str.9
	.asciz	"ofs-delta"

	.comm	_use_ofs_delta,4,2              ; @use_ofs_delta
l_.str.10:                              ; @.str.10
	.asciz	"side-band-64k"

	.comm	_LARGE_PACKET_MAX,4,2           ; @LARGE_PACKET_MAX
	.comm	_use_sideband,4,2               ; @use_sideband
l_.str.11:                              ; @.str.11
	.asciz	"side-band"

	.comm	_DEFAULT_PACKET_MAX,4,2         ; @DEFAULT_PACKET_MAX
l_.str.12:                              ; @.str.12
	.asciz	"no-progress"

	.comm	_no_progress,4,2                ; @no_progress
l_.str.13:                              ; @.str.13
	.asciz	"include-tag"

	.comm	_use_include_tag,4,2            ; @use_include_tag
	.comm	_allow_filter,8,3               ; @allow_filter
l_.str.14:                              ; @.str.14
	.asciz	"filter"

	.comm	_the_repository,4,2             ; @the_repository
l_.str.15:                              ; @.str.15
	.asciz	"upload-pack: not our ref %s"

l_.str.16:                              ; @.str.16
	.asciz	"git upload-pack: not our ref %s"

	.comm	_WANTED,4,2                     ; @WANTED
	.comm	_allow_unadvertised_object_request,4,2 ; @allow_unadvertised_object_request
	.comm	_ALLOW_ANY_SHA1,4,2             ; @ALLOW_ANY_SHA1
	.comm	_daemon_mode,8,3                ; @daemon_mode
	.no_dead_strip	_receive_needs
.subsections_via_symbols
