	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function git_transport_push
_git_transport_push:                    ## @git_transport_push
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %ebx
	movq	%rsi, %r14
	movq	%rdi, %r12
	movq	24(%rdi), %r13
	xorl	%eax, %eax
	callq	_transport_color_config
	testq	%rax, %rax
	js	LBB0_1
## %bb.2:
	cmpq	$0, 8(%r13)
	jne	LBB0_4
## %bb.3:
	movq	%r12, %rdi
	movl	$1, %esi
	xorl	%edx, %edx
	callq	_get_refs_via_connect
LBB0_4:
	leaq	-88(%rbp), %rdi
	xorl	%r15d, %r15d
	xorl	%esi, %esi
	movl	$48, %edx
	callq	_memset
	movq	_TRANSPORT_PUSH_MIRROR@GOTPCREL(%rip), %rax
	xorl	%ecx, %ecx
	movl	(%rax), %eax
	andl	%ebx, %eax
	setne	%cl
	movl	%ecx, -88(%rbp)
	movq	_TRANSPORT_PUSH_FORCE@GOTPCREL(%rip), %rax
	xorl	%ecx, %ecx
	movl	(%rax), %eax
	andl	%ebx, %eax
	setne	%cl
	movl	%ecx, -84(%rbp)
	movl	36(%r13), %eax
	movl	%eax, -44(%rbp)
	movq	(%r12), %rax
	xorl	%ecx, %ecx
	testq	%rax, %rax
	setg	%cl
	movl	%ecx, -80(%rbp)
	shrq	$63, %rax
	movl	%eax, -76(%rbp)
	movl	16(%r12), %eax
	movl	%eax, -48(%rbp)
	movq	_TRANSPORT_PUSH_DRY_RUN@GOTPCREL(%rip), %rax
	xorl	%ecx, %ecx
	movl	(%rax), %eax
	andl	%ebx, %eax
	setne	%cl
	movl	%ecx, -72(%rbp)
	movq	_TRANSPORT_PUSH_PORCELAIN@GOTPCREL(%rip), %rax
	xorl	%ecx, %ecx
	movl	(%rax), %eax
	andl	%ebx, %eax
	setne	%cl
	movl	%ecx, -68(%rbp)
	movq	_TRANSPORT_PUSH_ATOMIC@GOTPCREL(%rip), %rax
	xorl	%ecx, %ecx
	movl	(%rax), %eax
	andl	%ebx, %eax
	setne	%cl
	movl	%ecx, -64(%rbp)
	movl	12(%r12), %eax
	movl	%eax, -52(%rbp)
	movl	8(%r12), %eax
	movl	%eax, -56(%rbp)
	movq	_TRANSPORT_PUSH_CERT_ALWAYS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%ebx, %eax
	movq	_TRANSPORT_PUSH_CERT_IF_ASKED@GOTPCREL(%rip), %rcx
	andl	(%rcx), %ebx
	jne	LBB0_5
## %bb.6:
	movq	_SEND_PACK_PUSH_CERT_NEVER@GOTPCREL(%rip), %rcx
	testl	%eax, %eax
	jne	LBB0_8
	jmp	LBB0_9
LBB0_1:
	movl	$-1, %eax
	jmp	LBB0_16
LBB0_5:
	movq	_SEND_PACK_PUSH_CERT_IF_ASKED@GOTPCREL(%rip), %rcx
	testl	%eax, %eax
	je	LBB0_9
LBB0_8:
	movq	_SEND_PACK_PUSH_CERT_ALWAYS@GOTPCREL(%rip), %rcx
LBB0_9:
	leaq	8(%r13), %rbx
	movl	(%rcx), %eax
	movl	%eax, -60(%rbp)
	movl	(%r13), %eax
	leal	-129(%rax), %ecx
	cmpl	$2, %ecx
	jb	LBB0_13
## %bb.10:
	cmpl	$131, %eax
	je	LBB0_14
## %bb.11:
	cmpl	$128, %eax
	jne	LBB0_15
## %bb.12:
	leaq	L_.str(%rip), %rdi
	callq	__
	movl	%eax, %edi
	callq	_die
	jmp	LBB0_15
LBB0_13:
	movq	16(%r13), %rdx
	movq	24(%r13), %rsi
	leaq	32(%r13), %r8
	leaq	-88(%rbp), %rdi
	movq	%r14, %rcx
	callq	_send_pack
	movl	%eax, %r15d
	jmp	LBB0_15
LBB0_14:
	leaq	L_.str.1(%rip), %rdi
	callq	_BUG
LBB0_15:
	movq	24(%r13), %rax
	movl	4(%rax), %edi
	callq	_close
	movq	24(%r13), %rax
	movl	(%rax), %edi
	callq	_close
	movq	16(%r13), %rdi
	callq	_finish_connect
	orl	%r15d, %eax
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rbx)
LBB0_16:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TRANSPORT_PUSH_MIRROR,4,2      ## @TRANSPORT_PUSH_MIRROR
	.comm	_TRANSPORT_PUSH_FORCE,4,2       ## @TRANSPORT_PUSH_FORCE
	.comm	_TRANSPORT_PUSH_DRY_RUN,4,2     ## @TRANSPORT_PUSH_DRY_RUN
	.comm	_TRANSPORT_PUSH_PORCELAIN,4,2   ## @TRANSPORT_PUSH_PORCELAIN
	.comm	_TRANSPORT_PUSH_ATOMIC,4,2      ## @TRANSPORT_PUSH_ATOMIC
	.comm	_TRANSPORT_PUSH_CERT_ALWAYS,4,2 ## @TRANSPORT_PUSH_CERT_ALWAYS
	.comm	_SEND_PACK_PUSH_CERT_ALWAYS,4,2 ## @SEND_PACK_PUSH_CERT_ALWAYS
	.comm	_TRANSPORT_PUSH_CERT_IF_ASKED,4,2 ## @TRANSPORT_PUSH_CERT_IF_ASKED
	.comm	_SEND_PACK_PUSH_CERT_IF_ASKED,4,2 ## @SEND_PACK_PUSH_CERT_IF_ASKED
	.comm	_SEND_PACK_PUSH_CERT_NEVER,4,2  ## @SEND_PACK_PUSH_CERT_NEVER
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"support for protocol v2 not implemented yet"

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

	.no_dead_strip	_git_transport_push
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function git_transport_push
_git_transport_push:                    ; @git_transport_push
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x19, x1
	mov	x21, x0
	ldr	x23, [x0, #24]
	bl	_transport_color_config
	tbnz	x0, #63, LBB0_7
; %bb.1:
	mov	x22, x23
	ldr	x8, [x22, #8]!
	cbnz	x8, LBB0_3
; %bb.2:
	mov	x0, x21
	mov	w1, #1
	mov	x2, #0
	bl	_get_refs_via_connect
LBB0_3:
	mov	x0, sp
	mov	w1, #0
	mov	w2, #48
	bl	_memset
Lloh0:
	adrp	x8, _TRANSPORT_PUSH_MIRROR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TRANSPORT_PUSH_MIRROR@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w20
	cset	w8, ne
Lloh3:
	adrp	x9, _TRANSPORT_PUSH_FORCE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _TRANSPORT_PUSH_FORCE@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w20
	cset	w9, ne
	stp	w8, w9, [sp]
	ldr	w8, [x23, #36]
	ldr	x9, [x21]
	cmp	x9, #0
	cset	w10, gt
	lsr	x9, x9, #63
	stp	w10, w9, [sp, #8]
	ldr	w9, [x21, #16]
	stp	w9, w8, [sp, #40]
Lloh6:
	adrp	x8, _TRANSPORT_PUSH_DRY_RUN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _TRANSPORT_PUSH_DRY_RUN@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	tst	w8, w20
	cset	w8, ne
Lloh9:
	adrp	x9, _TRANSPORT_PUSH_PORCELAIN@GOTPAGE
Lloh10:
	ldr	x9, [x9, _TRANSPORT_PUSH_PORCELAIN@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	tst	w9, w20
	cset	w9, ne
	stp	w8, w9, [sp, #16]
Lloh12:
	adrp	x8, _TRANSPORT_PUSH_ATOMIC@GOTPAGE
Lloh13:
	ldr	x8, [x8, _TRANSPORT_PUSH_ATOMIC@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	tst	w8, w20
	cset	w8, ne
	str	w8, [sp, #24]
	ldr	d0, [x21, #8]
	str	d0, [sp, #32]
Lloh15:
	adrp	x8, _TRANSPORT_PUSH_CERT_ALWAYS@GOTPAGE
Lloh16:
	ldr	x8, [x8, _TRANSPORT_PUSH_CERT_ALWAYS@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
Lloh18:
	adrp	x9, _TRANSPORT_PUSH_CERT_IF_ASKED@GOTPAGE
Lloh19:
	ldr	x9, [x9, _TRANSPORT_PUSH_CERT_IF_ASKED@GOTPAGEOFF]
Lloh20:
	adrp	x10, _SEND_PACK_PUSH_CERT_NEVER@GOTPAGE
Lloh21:
	ldr	x10, [x10, _SEND_PACK_PUSH_CERT_NEVER@GOTPAGEOFF]
Lloh22:
	adrp	x11, _SEND_PACK_PUSH_CERT_IF_ASKED@GOTPAGE
Lloh23:
	ldr	x11, [x11, _SEND_PACK_PUSH_CERT_IF_ASKED@GOTPAGEOFF]
Lloh24:
	ldr	w9, [x9]
	tst	w9, w20
	csel	x9, x10, x11, eq
Lloh25:
	adrp	x10, _SEND_PACK_PUSH_CERT_ALWAYS@GOTPAGE
Lloh26:
	ldr	x10, [x10, _SEND_PACK_PUSH_CERT_ALWAYS@GOTPAGEOFF]
	tst	w8, w20
	csel	x8, x9, x10, eq
	ldr	w8, [x8]
	str	w8, [sp, #28]
	ldr	w8, [x23]
	sub	w9, w8, #129
	cmp	w9, #2
	b.lo	LBB0_8
; %bb.4:
	cmp	w8, #131
	b.eq	LBB0_9
; %bb.5:
	mov	w19, #0
	cmp	w8, #128
	b.ne	LBB0_11
; %bb.6:
Lloh27:
	adrp	x0, l_.str@PAGE
Lloh28:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	bl	_die
	b	LBB0_10
LBB0_7:
	mov	w0, #-1
	b	LBB0_12
LBB0_8:
	ldp	x2, x1, [x23, #16]
	add	x4, x23, #32
	mov	x0, sp
	mov	x3, x19
	bl	_send_pack
	mov	x19, x0
	b	LBB0_11
LBB0_9:
Lloh29:
	adrp	x0, l_.str.1@PAGE
Lloh30:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_BUG
LBB0_10:
	mov	w19, #0
LBB0_11:
	ldr	x8, [x23, #24]
	ldr	w0, [x8, #4]
	bl	_close
	ldr	x8, [x23, #24]
	ldr	w0, [x8]
	bl	_close
	ldr	x0, [x23, #16]
	bl	_finish_connect
	orr	w0, w0, w19
	stp	xzr, xzr, [x22]
LBB0_12:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh24
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.comm	_TRANSPORT_PUSH_MIRROR,4,2      ; @TRANSPORT_PUSH_MIRROR
	.comm	_TRANSPORT_PUSH_FORCE,4,2       ; @TRANSPORT_PUSH_FORCE
	.comm	_TRANSPORT_PUSH_DRY_RUN,4,2     ; @TRANSPORT_PUSH_DRY_RUN
	.comm	_TRANSPORT_PUSH_PORCELAIN,4,2   ; @TRANSPORT_PUSH_PORCELAIN
	.comm	_TRANSPORT_PUSH_ATOMIC,4,2      ; @TRANSPORT_PUSH_ATOMIC
	.comm	_TRANSPORT_PUSH_CERT_ALWAYS,4,2 ; @TRANSPORT_PUSH_CERT_ALWAYS
	.comm	_SEND_PACK_PUSH_CERT_ALWAYS,4,2 ; @SEND_PACK_PUSH_CERT_ALWAYS
	.comm	_TRANSPORT_PUSH_CERT_IF_ASKED,4,2 ; @TRANSPORT_PUSH_CERT_IF_ASKED
	.comm	_SEND_PACK_PUSH_CERT_IF_ASKED,4,2 ; @SEND_PACK_PUSH_CERT_IF_ASKED
	.comm	_SEND_PACK_PUSH_CERT_NEVER,4,2  ; @SEND_PACK_PUSH_CERT_NEVER
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"support for protocol v2 not implemented yet"

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

	.no_dead_strip	_git_transport_push
.subsections_via_symbols
