	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fetch_git
_fetch_git:                             ## @fetch_git
	.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	%rdx, -96(%rbp)                 ## 8-byte Spill
	movl	%esi, %r15d
	movq	%rdi, -88(%rbp)                 ## 8-byte Spill
	movq	_STRBUF_INIT@GOTPCREL(%rip), %rax
	movups	(%rax), %xmm0
	movaps	%xmm0, -80(%rbp)
	movq	_ARGV_ARRAY_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)
	movaps	%xmm0, -64(%rbp)
	leaq	L_.str(%rip), %rsi
	leaq	L_.str.1(%rip), %rdx
	leaq	L_.str.2(%rip), %rcx
	leaq	L_.str.3(%rip), %r8
	leaq	-48(%rbp), %rdi
	xorl	%r9d, %r9d
	xorl	%eax, %eax
	callq	_argv_array_pushl
	movq	_options@GOTPCREL(%rip), %r14
	cmpq	$0, 112(%r14)
	je	LBB0_2
## %bb.1:
	leaq	L_.str.4(%rip), %rsi
	leaq	-48(%rbp), %rdi
	callq	_argv_array_push
LBB0_2:
	cmpq	$0, 104(%r14)
	je	LBB0_4
## %bb.3:
	leaq	L_.str.5(%rip), %rsi
	leaq	-48(%rbp), %rdi
	callq	_argv_array_push
LBB0_4:
	cmpl	$3, (%r14)
	jl	LBB0_6
## %bb.5:
	leaq	L_.str.6(%rip), %rdx
	leaq	-48(%rbp), %rdi
	movq	%rdx, %rsi
	xorl	%ecx, %ecx
	xorl	%eax, %eax
	callq	_argv_array_pushl
LBB0_6:
	cmpq	$0, 96(%r14)
	je	LBB0_8
## %bb.7:
	leaq	L_.str.7(%rip), %rsi
	leaq	-48(%rbp), %rdi
	callq	_argv_array_push
LBB0_8:
	cmpq	$0, 88(%r14)
	je	LBB0_10
## %bb.9:
	leaq	L_.str.8(%rip), %rsi
	leaq	-48(%rbp), %rdi
	callq	_argv_array_push
LBB0_10:
	cmpq	$0, 80(%r14)
	je	LBB0_12
## %bb.11:
	leaq	L_.str.9(%rip), %rsi
	leaq	-48(%rbp), %rdi
	callq	_argv_array_push
LBB0_12:
	cmpl	$0, 72(%r14)
	jne	LBB0_14
## %bb.13:
	leaq	L_.str.10(%rip), %rsi
	leaq	-48(%rbp), %rdi
	callq	_argv_array_push
LBB0_14:
	movq	32(%r14), %rdx
	testq	%rdx, %rdx
	je	LBB0_16
## %bb.15:
	leaq	L_.str.11(%rip), %rsi
	leaq	-48(%rbp), %rdi
	callq	_argv_array_pushf
LBB0_16:
	movq	64(%r14), %rdx
	testq	%rdx, %rdx
	je	LBB0_18
## %bb.17:
	leaq	L_.str.12(%rip), %rsi
	leaq	-48(%rbp), %rdi
	callq	_argv_array_pushf
LBB0_18:
	cmpl	$0, 48(%r14)
	jle	LBB0_21
## %bb.19:
	xorl	%ebx, %ebx
	leaq	L_.str.13(%rip), %r13
	leaq	-48(%rbp), %r12
	.p2align	4, 0x90
LBB0_20:                                ## =>This Inner Loop Header: Depth=1
	movq	56(%r14), %rax
	movq	(%rax,%rbx,8), %rdx
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_argv_array_pushf
	incq	%rbx
	movslq	48(%r14), %rax
	cmpq	%rax, %rbx
	jl	LBB0_20
LBB0_21:
	cmpq	$0, 40(%r14)
	je	LBB0_24
## %bb.22:
	cmpq	$0, 32(%r14)
	je	LBB0_24
## %bb.23:
	leaq	L_.str.14(%rip), %rsi
	leaq	-48(%rbp), %rdi
	callq	_argv_array_push
LBB0_24:
	cmpq	$0, 24(%r14)
	je	LBB0_26
## %bb.25:
	leaq	L_.str.15(%rip), %rsi
	leaq	-48(%rbp), %rdi
	callq	_argv_array_push
LBB0_26:
	cmpq	$0, 16(%r14)
	je	LBB0_28
## %bb.27:
	leaq	L_.str.16(%rip), %rsi
	leaq	-48(%rbp), %rdi
	callq	_argv_array_push
LBB0_28:
	movq	8(%r14), %rdx
	testq	%rdx, %rdx
	je	LBB0_30
## %bb.29:
	leaq	L_.str.17(%rip), %rsi
	leaq	-48(%rbp), %rdi
	callq	_argv_array_pushf
LBB0_30:
	movq	_url@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	leaq	-48(%rbp), %rdi
	callq	_argv_array_push
	testl	%r15d, %r15d
	jle	LBB0_35
## %bb.31:
	movl	%r15d, %ebx
	xorl	%r15d, %r15d
	leaq	L_.str.19(%rip), %r13
	leaq	-80(%rbp), %r14
	jmp	LBB0_32
	.p2align	4, 0x90
LBB0_34:                                ##   in Loop: Header=BB0_32 Depth=1
	leaq	8(%r12), %rdi
	callq	_oid_to_hex
	movq	(%r12), %rcx
	movq	%r14, %rdi
	movq	%r13, %rsi
	movl	%eax, %edx
	callq	_packet_buf_write
	incq	%r15
	cmpq	%r15, %rbx
	je	LBB0_35
LBB0_32:                                ## =>This Inner Loop Header: Depth=1
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax,%r15,8), %r12
	movq	(%r12), %rax
	cmpl	$0, (%rax)
	jne	LBB0_34
## %bb.33:                              ##   in Loop: Header=BB0_32 Depth=1
	leaq	L_.str.18(%rip), %rdi
	callq	__
	movl	%eax, %edi
	callq	_die
	jmp	LBB0_34
LBB0_35:
	leaq	-80(%rbp), %r15
	movq	%r15, %rdi
	callq	_packet_buf_flush
	leaq	-112(%rbp), %rbx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_memset
	leaq	L_.str.20(%rip), %rax
	movq	%rax, -112(%rbp)
	movl	$1, -104(%rbp)
	movl	-48(%rbp), %edx
	leaq	-64(%rbp), %r8
	movq	%rbx, %rdi
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	movq	%r15, %rcx
	callq	_rpc_service
	movl	%eax, %ebx
	movq	-64(%rbp), %rdx
	testq	%rdx, %rdx
	je	LBB0_37
## %bb.36:
	movl	-56(%rbp), %esi
	movl	$1, %edi
	callq	_write_or_die
LBB0_37:
	leaq	-64(%rbp), %rdi
	callq	_strbuf_release
	leaq	-80(%rbp), %rdi
	callq	_strbuf_release
	leaq	-48(%rbp), %rdi
	callq	_argv_array_clear
	movl	%ebx, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_STRBUF_INIT,16,3               ## @STRBUF_INIT
	.comm	_ARGV_ARRAY_INIT,4,2            ## @ARGV_ARRAY_INIT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"fetch-pack"

L_.str.1:                               ## @.str.1
	.asciz	"--stateless-rpc"

L_.str.2:                               ## @.str.2
	.asciz	"--stdin"

L_.str.3:                               ## @.str.3
	.asciz	"--lock-pack"

	.comm	_options,120,3                  ## @options
L_.str.4:                               ## @.str.4
	.asciz	"--include-tag"

L_.str.5:                               ## @.str.5
	.asciz	"--thin"

L_.str.6:                               ## @.str.6
	.asciz	"-v"

L_.str.7:                               ## @.str.7
	.asciz	"--check-self-contained-and-connected"

L_.str.8:                               ## @.str.8
	.asciz	"--cloning"

L_.str.9:                               ## @.str.9
	.asciz	"--update-shallow"

L_.str.10:                              ## @.str.10
	.asciz	"--no-progress"

L_.str.11:                              ## @.str.11
	.asciz	"--depth=%lu"

L_.str.12:                              ## @.str.12
	.asciz	"--shallow-since=%s"

L_.str.13:                              ## @.str.13
	.asciz	"--shallow-exclude=%s"

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

L_.str.15:                              ## @.str.15
	.asciz	"--from-promisor"

L_.str.16:                              ## @.str.16
	.asciz	"--no-dependents"

L_.str.17:                              ## @.str.17
	.asciz	"--filter=%s"

	.comm	_url,8,3                        ## @url
L_.str.18:                              ## @.str.18
	.asciz	"cannot fetch by sha1 over smart http"

L_.str.19:                              ## @.str.19
	.asciz	"%s %s\n"

L_.str.20:                              ## @.str.20
	.asciz	"git-upload-pack"

	.no_dead_strip	_fetch_git
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fetch_git
_fetch_git:                             ; @fetch_git
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _STRBUF_INIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _STRBUF_INIT@GOTPAGEOFF]
Lloh2:
	ldr	q0, [x8]
	str	q0, [sp, #48]
Lloh3:
	adrp	x8, _ARGV_ARRAY_INIT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ARGV_ARRAY_INIT@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [sp, #40]
	str	q0, [sp, #16]
Lloh6:
	adrp	x8, l_.str.3@PAGE
Lloh7:
	add	x8, x8, l_.str.3@PAGEOFF
	stp	x8, xzr, [sp]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
Lloh10:
	adrp	x2, l_.str.1@PAGE
Lloh11:
	add	x2, x2, l_.str.1@PAGEOFF
Lloh12:
	adrp	x3, l_.str.2@PAGE
Lloh13:
	add	x3, x3, l_.str.2@PAGEOFF
	add	x0, sp, #40
	bl	_argv_array_pushl
Lloh14:
	adrp	x23, _options@GOTPAGE
Lloh15:
	ldr	x23, [x23, _options@GOTPAGEOFF]
	ldr	x8, [x23, #112]
	cbz	x8, LBB0_2
; %bb.1:
Lloh16:
	adrp	x1, l_.str.4@PAGE
Lloh17:
	add	x1, x1, l_.str.4@PAGEOFF
	add	x0, sp, #40
	bl	_argv_array_push
LBB0_2:
	ldr	x8, [x23, #104]
	cbz	x8, LBB0_4
; %bb.3:
Lloh18:
	adrp	x1, l_.str.5@PAGE
Lloh19:
	add	x1, x1, l_.str.5@PAGEOFF
	add	x0, sp, #40
	bl	_argv_array_push
LBB0_4:
	ldr	w8, [x23]
	cmp	w8, #3
	b.lt	LBB0_6
; %bb.5:
Lloh20:
	adrp	x1, l_.str.6@PAGE
Lloh21:
	add	x1, x1, l_.str.6@PAGEOFF
	add	x0, sp, #40
	mov	x2, x1
	mov	x3, #0
	bl	_argv_array_pushl
LBB0_6:
	ldr	x8, [x23, #96]
	cbz	x8, LBB0_8
; %bb.7:
Lloh22:
	adrp	x1, l_.str.7@PAGE
Lloh23:
	add	x1, x1, l_.str.7@PAGEOFF
	add	x0, sp, #40
	bl	_argv_array_push
LBB0_8:
	ldr	x8, [x23, #88]
	cbz	x8, LBB0_10
; %bb.9:
Lloh24:
	adrp	x1, l_.str.8@PAGE
Lloh25:
	add	x1, x1, l_.str.8@PAGEOFF
	add	x0, sp, #40
	bl	_argv_array_push
LBB0_10:
	ldr	x8, [x23, #80]
	cbz	x8, LBB0_12
; %bb.11:
Lloh26:
	adrp	x1, l_.str.9@PAGE
Lloh27:
	add	x1, x1, l_.str.9@PAGEOFF
	add	x0, sp, #40
	bl	_argv_array_push
LBB0_12:
	ldr	w8, [x23, #72]
	cbz	w8, LBB0_36
; %bb.13:
	ldr	x2, [x23, #32]
	cbz	x2, LBB0_15
LBB0_14:
Lloh28:
	adrp	x1, l_.str.11@PAGE
Lloh29:
	add	x1, x1, l_.str.11@PAGEOFF
	add	x0, sp, #40
	bl	_argv_array_pushf
LBB0_15:
	ldr	x2, [x23, #64]
	cbz	x2, LBB0_17
; %bb.16:
Lloh30:
	adrp	x1, l_.str.12@PAGE
Lloh31:
	add	x1, x1, l_.str.12@PAGEOFF
	add	x0, sp, #40
	bl	_argv_array_pushf
LBB0_17:
	ldr	w8, [x23, #48]
	cmp	w8, #1
	b.lt	LBB0_20
; %bb.18:
	mov	x24, #0
Lloh32:
	adrp	x22, l_.str.13@PAGE
Lloh33:
	add	x22, x22, l_.str.13@PAGEOFF
LBB0_19:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x23, #56]
	ldr	x2, [x8, x24, lsl #3]
	add	x0, sp, #40
	mov	x1, x22
	bl	_argv_array_pushf
	add	x24, x24, #1
	ldrsw	x8, [x23, #48]
	cmp	x24, x8
	b.lt	LBB0_19
LBB0_20:
	ldp	x9, x8, [x23, #32]
	cmp	x8, #0
	ccmp	x9, #0, #4, ne
	b.eq	LBB0_22
; %bb.21:
Lloh34:
	adrp	x1, l_.str.14@PAGE
Lloh35:
	add	x1, x1, l_.str.14@PAGEOFF
	add	x0, sp, #40
	bl	_argv_array_push
LBB0_22:
	ldr	x8, [x23, #24]
	cbz	x8, LBB0_24
; %bb.23:
Lloh36:
	adrp	x1, l_.str.15@PAGE
Lloh37:
	add	x1, x1, l_.str.15@PAGEOFF
	add	x0, sp, #40
	bl	_argv_array_push
LBB0_24:
	ldr	x8, [x23, #16]
	cbz	x8, LBB0_26
; %bb.25:
Lloh38:
	adrp	x1, l_.str.16@PAGE
Lloh39:
	add	x1, x1, l_.str.16@PAGEOFF
	add	x0, sp, #40
	bl	_argv_array_push
LBB0_26:
	ldr	x2, [x23, #8]
	cbz	x2, LBB0_28
; %bb.27:
Lloh40:
	adrp	x1, l_.str.17@PAGE
Lloh41:
	add	x1, x1, l_.str.17@PAGEOFF
	add	x0, sp, #40
	bl	_argv_array_pushf
LBB0_28:
Lloh42:
	adrp	x8, _url@GOTPAGE
Lloh43:
	ldr	x8, [x8, _url@GOTPAGEOFF]
Lloh44:
	ldr	x1, [x8]
	add	x0, sp, #40
	bl	_argv_array_push
	cmp	w21, #1
	b.lt	LBB0_33
; %bb.29:
	mov	w23, w21
Lloh45:
	adrp	x21, l_.str.18@PAGE
Lloh46:
	add	x21, x21, l_.str.18@PAGEOFF
Lloh47:
	adrp	x22, l_.str.19@PAGE
Lloh48:
	add	x22, x22, l_.str.19@PAGEOFF
	b	LBB0_31
LBB0_30:                                ;   in Loop: Header=BB0_31 Depth=1
	add	x0, x24, #8
	bl	_oid_to_hex
	mov	x2, x0
	ldr	x3, [x24]
	add	x0, sp, #48
	mov	x1, x22
	bl	_packet_buf_write
	add	x20, x20, #8
	subs	x23, x23, #1
	b.eq	LBB0_33
LBB0_31:                                ; =>This Inner Loop Header: Depth=1
	ldr	x24, [x20]
	ldr	x8, [x24]
	ldr	w8, [x8]
	cbnz	w8, LBB0_30
; %bb.32:                               ;   in Loop: Header=BB0_31 Depth=1
	mov	x0, x21
	bl	__
	bl	_die
	b	LBB0_30
LBB0_33:
	add	x0, sp, #48
	bl	_packet_buf_flush
	add	x0, sp, #64
	mov	w1, #0
	mov	w2, #16
	bl	_memset
Lloh49:
	adrp	x8, l_.str.20@PAGE
Lloh50:
	add	x8, x8, l_.str.20@PAGEOFF
	str	x8, [sp, #64]
	mov	w8, #1
	str	w8, [sp, #72]
	ldr	w2, [sp, #40]
	add	x0, sp, #64
	add	x3, sp, #48
	add	x4, sp, #16
	mov	x1, x19
	bl	_rpc_service
	mov	x19, x0
	ldr	x2, [sp, #16]
	cbz	x2, LBB0_35
; %bb.34:
	ldr	w1, [sp, #24]
	mov	w0, #1
	bl	_write_or_die
LBB0_35:
	add	x0, sp, #16
	bl	_strbuf_release
	add	x0, sp, #48
	bl	_strbuf_release
	add	x0, sp, #40
	bl	_argv_array_clear
	mov	x0, x19
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_36:
Lloh51:
	adrp	x1, l_.str.10@PAGE
Lloh52:
	add	x1, x1, l_.str.10@PAGEOFF
	add	x0, sp, #40
	bl	_argv_array_push
	ldr	x2, [x23, #32]
	cbnz	x2, LBB0_14
	b	LBB0_15
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpAdd	Lloh47, Lloh48
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpAdd	Lloh49, Lloh50
	.loh AdrpAdd	Lloh51, Lloh52
	.cfi_endproc
                                        ; -- End function
	.comm	_STRBUF_INIT,16,3               ; @STRBUF_INIT
	.comm	_ARGV_ARRAY_INIT,4,2            ; @ARGV_ARRAY_INIT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"fetch-pack"

l_.str.1:                               ; @.str.1
	.asciz	"--stateless-rpc"

l_.str.2:                               ; @.str.2
	.asciz	"--stdin"

l_.str.3:                               ; @.str.3
	.asciz	"--lock-pack"

	.comm	_options,120,3                  ; @options
l_.str.4:                               ; @.str.4
	.asciz	"--include-tag"

l_.str.5:                               ; @.str.5
	.asciz	"--thin"

l_.str.6:                               ; @.str.6
	.asciz	"-v"

l_.str.7:                               ; @.str.7
	.asciz	"--check-self-contained-and-connected"

l_.str.8:                               ; @.str.8
	.asciz	"--cloning"

l_.str.9:                               ; @.str.9
	.asciz	"--update-shallow"

l_.str.10:                              ; @.str.10
	.asciz	"--no-progress"

l_.str.11:                              ; @.str.11
	.asciz	"--depth=%lu"

l_.str.12:                              ; @.str.12
	.asciz	"--shallow-since=%s"

l_.str.13:                              ; @.str.13
	.asciz	"--shallow-exclude=%s"

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

l_.str.15:                              ; @.str.15
	.asciz	"--from-promisor"

l_.str.16:                              ; @.str.16
	.asciz	"--no-dependents"

l_.str.17:                              ; @.str.17
	.asciz	"--filter=%s"

	.comm	_url,8,3                        ; @url
l_.str.18:                              ; @.str.18
	.asciz	"cannot fetch by sha1 over smart http"

l_.str.19:                              ; @.str.19
	.asciz	"%s %s\n"

l_.str.20:                              ; @.str.20
	.asciz	"git-upload-pack"

	.no_dead_strip	_fetch_git
.subsections_via_symbols
