	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function git_connect_git
_git_connect_git:                       ## @git_connect_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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, -52(%rbp)                 ## 4-byte Spill
	movl	%r8d, %r14d
	movq	%rcx, %rbx
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r12
	movq	%rdi, %r15
	movq	_STRBUF_INIT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	leaq	L_.str(%rip), %rdi
	callq	_getenv
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rax, %rdi
	jmp	LBB0_3
LBB0_2:
	movq	%r12, %rdi
LBB0_3:
	callq	_xstrdup
	movq	%rax, %r13
	leaq	L_.str.1(%rip), %rdi
	callq	_transport_check_allowed
	movq	%r12, %rdi
	callq	_git_use_proxy
	movq	%r15, %rdi
	movq	%r12, %rsi
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	callq	_git_proxy_connect
	jmp	LBB0_6
LBB0_5:
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	callq	_git_tcp_connect
LBB0_6:
	movq	%rax, %r12
	movl	$0, (%rsp)
	leaq	L_.str.2(%rip), %rsi
	leaq	-48(%rbp), %rdi
	movq	%rbx, %rdx
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	xorl	%r8d, %r8d
	movq	%r13, %r9
	xorl	%eax, %eax
	callq	_strbuf_addf
	testl	%r14d, %r14d
	je	LBB0_8
## %bb.7:
	leaq	-48(%rbp), %rbx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_strbuf_addch
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	movl	%r14d, %edx
	xorl	%ecx, %ecx
	xorl	%eax, %eax
	callq	_strbuf_addf
LBB0_8:
	movl	4(%r15), %edi
	movl	-48(%rbp), %edx
	movl	-44(%rbp), %esi
	callq	_packet_write
	movq	%r13, %rdi
	callq	_free
	leaq	-48(%rbp), %rdi
	callq	_strbuf_release
	movq	%r12, %rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_STRBUF_INIT,8,2                ## @STRBUF_INIT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"GIT_OVERRIDE_VIRTUAL_HOST"

L_.str.1:                               ## @.str.1
	.asciz	"git"

L_.str.2:                               ## @.str.2
	.asciz	"%s %s%chost=%s%c"

L_.str.3:                               ## @.str.3
	.asciz	"version=%d%c"

	.no_dead_strip	_git_connect_git
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function git_connect_git
_git_connect_git:                       ; @git_connect_git
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	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
	mov	x24, x5
	mov	x20, x4
	mov	x22, x3
	mov	x23, x2
	mov	x25, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _STRBUF_INIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _STRBUF_INIT@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #40]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_getenv
	cbnz	x0, LBB0_2
; %bb.1:
	mov	x0, x25
LBB0_2:
	bl	_xstrdup
	mov	x21, x0
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_transport_check_allowed
	mov	x0, x25
	bl	_git_use_proxy
	cbz	x0, LBB0_4
; %bb.3:
	mov	x0, x19
	mov	x1, x25
	bl	_git_proxy_connect
	b	LBB0_5
LBB0_4:
	mov	x0, x19
	mov	x1, x25
	mov	x2, x24
	bl	_git_tcp_connect
LBB0_5:
	mov	x24, x0
	stp	x21, xzr, [sp, #24]
	stp	x23, xzr, [sp, #8]
	str	x22, [sp]
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	add	x0, sp, #40
	bl	_strbuf_addf
	cbz	w20, LBB0_7
; %bb.6:
	add	x0, sp, #40
	mov	w1, #0
	bl	_strbuf_addch
	stp	x20, xzr, [sp]
Lloh9:
	adrp	x1, l_.str.3@PAGE
Lloh10:
	add	x1, x1, l_.str.3@PAGEOFF
	add	x0, sp, #40
	bl	_strbuf_addf
LBB0_7:
	ldr	w0, [x19, #4]
	ldp	w2, w1, [sp, #40]
	bl	_packet_write
	mov	x0, x21
	bl	_free
	add	x0, sp, #40
	bl	_strbuf_release
	mov	x0, x24
	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
	add	sp, sp, #128
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_STRBUF_INIT,8,2                ; @STRBUF_INIT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"GIT_OVERRIDE_VIRTUAL_HOST"

l_.str.1:                               ; @.str.1
	.asciz	"git"

l_.str.2:                               ; @.str.2
	.asciz	"%s %s%chost=%s%c"

l_.str.3:                               ; @.str.3
	.asciz	"version=%d%c"

	.no_dead_strip	_git_connect_git
.subsections_via_symbols
