	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function process_connect_service
_process_connect_service:               ## @process_connect_service
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rsi, %r14
	movq	%rdi, %r12
	movq	8(%rdi), %r15
	movq	_STRBUF_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -40(%rbp)
	movq	%rsi, %rdi
	movq	%rdx, %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	movq	%rbx, %rdx
	callq	_set_helper_option
	testl	%eax, %eax
	jle	LBB0_3
## %bb.2:
	leaq	L_.str.1(%rip), %rdi
LBB0_5:
	callq	__
	movl	%eax, %edi
	callq	_warning
	jmp	LBB0_6
LBB0_3:
	js	LBB0_4
LBB0_6:
	cmpq	$0, 8(%r15)
	je	LBB0_8
## %bb.7:
	leaq	L_.str.3(%rip), %rsi
	leaq	-40(%rbp), %rbx
	movq	%rbx, %rdi
	movq	%r14, %rdx
	callq	_strbuf_addf
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_run_connect
LBB0_14:
	movl	%eax, %r15d
LBB0_15:
	leaq	-40(%rbp), %rdi
	callq	_strbuf_release
	movl	%r15d, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	cmpq	$0, (%r15)
	je	LBB0_9
## %bb.10:
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_get_protocol_version_config
	movq	_protocol_v2@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_15
## %bb.11:
	leaq	L_.str.4(%rip), %rdi
	movq	%r14, %rsi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_15
## %bb.12:
	leaq	L_.str.5(%rip), %rsi
	leaq	-40(%rbp), %rbx
	movq	%rbx, %rdi
	movq	%r14, %rdx
	callq	_strbuf_addf
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_run_connect
	testl	%eax, %eax
	je	LBB0_15
## %bb.13:
	movl	$1, (%r12)
	jmp	LBB0_14
LBB0_9:
	xorl	%r15d, %r15d
	jmp	LBB0_15
LBB0_4:
	leaq	L_.str.2(%rip), %rdi
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.comm	_STRBUF_INIT,4,2                ## @STRBUF_INIT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"servpath"

L_.str.1:                               ## @.str.1
	.asciz	"setting remote service path not supported by protocol"

L_.str.2:                               ## @.str.2
	.asciz	"invalid remote service path"

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

	.comm	_protocol_v2,8,3                ## @protocol_v2
L_.str.4:                               ## @.str.4
	.asciz	"git-upload-pack"

L_.str.5:                               ## @.str.5
	.asciz	"stateless-connect %s\n"

	.no_dead_strip	_process_connect_service
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function process_connect_service
_process_connect_service:               ; @process_connect_service
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x21, x2
	mov	x20, x1
	mov	x19, x0
	ldr	x22, [x0, #8]
Lloh0:
	adrp	x8, _STRBUF_INIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _STRBUF_INIT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #8]
	mov	x0, x1
	mov	x1, x2
	bl	_strcmp
	cbz	x0, LBB0_5
; %bb.1:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	x2, x21
	bl	_set_helper_option
	cmp	w0, #0
	b.le	LBB0_4
; %bb.2:
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_3:
	bl	__
	bl	_warning
	b	LBB0_5
LBB0_4:
	tbnz	w0, #31, LBB0_12
LBB0_5:
	ldr	x8, [x22, #8]
	cbz	x8, LBB0_7
; %bb.6:
Lloh7:
	adrp	x1, l_.str.3@PAGE
Lloh8:
	add	x1, x1, l_.str.3@PAGEOFF
	add	x0, sp, #8
	mov	x2, x20
	bl	_strbuf_addf
	add	x1, sp, #8
	mov	x0, x19
	bl	_run_connect
	mov	x20, x0
	b	LBB0_11
LBB0_7:
	ldr	x8, [x22]
	cbz	x8, LBB0_10
; %bb.8:
	bl	_get_protocol_version_config
Lloh9:
	adrp	x8, _protocol_v2@GOTPAGE
Lloh10:
	ldr	x8, [x8, _protocol_v2@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_10
; %bb.9:
Lloh12:
	adrp	x0, l_.str.4@PAGE
Lloh13:
	add	x0, x0, l_.str.4@PAGEOFF
	mov	x1, x20
	bl	_strcmp
	cbz	x0, LBB0_13
LBB0_10:
	mov	w20, #0
LBB0_11:
	add	x0, sp, #8
	bl	_strbuf_release
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_12:
Lloh14:
	adrp	x0, l_.str.2@PAGE
Lloh15:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_3
LBB0_13:
Lloh16:
	adrp	x1, l_.str.5@PAGE
Lloh17:
	add	x1, x1, l_.str.5@PAGEOFF
	add	x0, sp, #8
	mov	x2, x20
	bl	_strbuf_addf
	add	x1, sp, #8
	mov	x0, x19
	bl	_run_connect
	mov	x20, x0
	cbz	w0, LBB0_11
; %bb.14:
	mov	w8, #1
	str	w8, [x19]
	b	LBB0_11
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_STRBUF_INIT,4,2                ; @STRBUF_INIT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"servpath"

l_.str.1:                               ; @.str.1
	.asciz	"setting remote service path not supported by protocol"

l_.str.2:                               ; @.str.2
	.asciz	"invalid remote service path"

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

	.comm	_protocol_v2,8,3                ; @protocol_v2
l_.str.4:                               ; @.str.4
	.asciz	"git-upload-pack"

l_.str.5:                               ; @.str.5
	.asciz	"stateless-connect %s\n"

	.no_dead_strip	_process_connect_service
.subsections_via_symbols
