	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_protocol_version_config    ## -- Begin function get_protocol_version_config
	.p2align	4, 0x90
_get_protocol_version_config:           ## @get_protocol_version_config
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_protocol_v0@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str(%rip), %rdi
	callq	_getenv
	movq	%rax, %r14
	leaq	L_.str.1(%rip), %rdi
	leaq	-32(%rbp), %rsi
	callq	_git_config_get_string_const
	testl	%eax, %eax
	jne	LBB0_3
## %bb.1:
	movq	-32(%rbp), %rdi
	callq	_parse_protocol_version
	movl	%eax, %ebx
	movq	_protocol_unknown_version@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jne	LBB0_3
## %bb.2:
	movq	-32(%rbp), %rsi
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_die
LBB0_3:
	testq	%r14, %r14
	je	LBB0_8
## %bb.4:
	cmpb	$0, (%r14)
	je	LBB0_8
## %bb.5:
	movq	%r14, %rdi
	callq	_parse_protocol_version
	movl	%eax, %r15d
	movq	_protocol_unknown_version@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r15d
	jne	LBB0_7
## %bb.6:
	leaq	L_.str.3(%rip), %rdi
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdx
	xorl	%eax, %eax
	callq	_die
LBB0_7:
	cmpl	%r15d, %ebx
	cmovbel	%r15d, %ebx
LBB0_8:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_protocol_v0,4,2                ## @protocol_v0
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"GIT_TEST_PROTOCOL_VERSION"

L_.str.1:                               ## @.str.1
	.asciz	"protocol.version"

	.comm	_protocol_unknown_version,4,2   ## @protocol_unknown_version
L_.str.2:                               ## @.str.2
	.asciz	"unknown value for config 'protocol.version': %s"

L_.str.3:                               ## @.str.3
	.asciz	"unknown value for %s: %s"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_protocol_version_config    ; -- Begin function get_protocol_version_config
	.p2align	2
_get_protocol_version_config:           ; @get_protocol_version_config
	.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
Lloh0:
	adrp	x8, _protocol_v0@GOTPAGE
Lloh1:
	ldr	x8, [x8, _protocol_v0@GOTPAGEOFF]
Lloh2:
	ldr	w19, [x8]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_getenv
	mov	x20, x0
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	add	x1, sp, #8
	bl	_git_config_get_string_const
	cbnz	w0, LBB0_3
; %bb.1:
	ldr	x0, [sp, #8]
	bl	_parse_protocol_version
	mov	x19, x0
Lloh7:
	adrp	x8, _protocol_unknown_version@GOTPAGE
Lloh8:
	ldr	x8, [x8, _protocol_unknown_version@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_3
; %bb.2:
	ldr	x1, [sp, #8]
Lloh10:
	adrp	x0, l_.str.2@PAGE
Lloh11:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_die
LBB0_3:
	cbz	x20, LBB0_8
; %bb.4:
	ldrb	w8, [x20]
	cbz	w8, LBB0_8
; %bb.5:
	mov	x0, x20
	bl	_parse_protocol_version
	mov	x21, x0
Lloh12:
	adrp	x8, _protocol_unknown_version@GOTPAGE
Lloh13:
	ldr	x8, [x8, _protocol_unknown_version@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_7
; %bb.6:
	str	x20, [sp]
Lloh15:
	adrp	x0, l_.str.3@PAGE
Lloh16:
	add	x0, x0, l_.str.3@PAGEOFF
Lloh17:
	adrp	x1, l_.str@PAGE
Lloh18:
	add	x1, x1, l_.str@PAGEOFF
	bl	_die
LBB0_7:
	cmp	w19, w21
	csel	w19, w19, w21, hi
LBB0_8:
	mov	x0, x19
	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
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_protocol_v0,4,2                ; @protocol_v0
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"GIT_TEST_PROTOCOL_VERSION"

l_.str.1:                               ; @.str.1
	.asciz	"protocol.version"

	.comm	_protocol_unknown_version,4,2   ; @protocol_unknown_version
l_.str.2:                               ; @.str.2
	.asciz	"unknown value for config 'protocol.version': %s"

l_.str.3:                               ; @.str.3
	.asciz	"unknown value for %s: %s"

.subsections_via_symbols
