	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_transport_update_tracking_ref  ## -- Begin function transport_update_tracking_ref
	.p2align	4, 0x90
_transport_update_tracking_ref:         ## @transport_update_tracking_ref
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%edx, %r14d
	movq	%rsi, %rbx
	movq	(%rsi), %rax
	movq	_REF_STATUS_OK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_2
## %bb.1:
	movq	_REF_STATUS_UPTODATE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_9
LBB0_2:
	movl	24(%rbx), %eax
	movl	%eax, -24(%rbp)
	movq	$0, -32(%rbp)
	leaq	-32(%rbp), %rsi
	callq	_remote_find_tracking
	testl	%eax, %eax
	jne	LBB0_9
## %bb.3:
	testl	%r14d, %r14d
	je	LBB0_5
## %bb.4:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-32(%rbp), %rdx
	leaq	L_.str(%rip), %rsi
	callq	_fprintf
LBB0_5:
	cmpq	$0, 16(%rbx)
	movq	-32(%rbp), %rsi
	je	LBB0_7
## %bb.6:
	xorl	%edi, %edi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_delete_ref
	jmp	LBB0_8
LBB0_7:
	addq	$8, %rbx
	leaq	L_.str.1(%rip), %rdi
	movq	%rbx, %rdx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_update_ref
LBB0_8:
	movq	-32(%rbp), %rdi
	callq	_free
LBB0_9:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_REF_STATUS_OK,8,3              ## @REF_STATUS_OK
	.comm	_REF_STATUS_UPTODATE,8,3        ## @REF_STATUS_UPTODATE
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"updating local tracking ref '%s'\n"

L_.str.1:                               ## @.str.1
	.asciz	"update by push"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_transport_update_tracking_ref  ; -- Begin function transport_update_tracking_ref
	.p2align	2
_transport_update_tracking_ref:         ; @transport_update_tracking_ref
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x8, [x1]
Lloh0:
	adrp	x9, _REF_STATUS_OK@GOTPAGE
Lloh1:
	ldr	x9, [x9, _REF_STATUS_OK@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x10, _REF_STATUS_UPTODATE@GOTPAGE
Lloh4:
	ldr	x10, [x10, _REF_STATUS_UPTODATE@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_8
; %bb.1:
	mov	x20, x2
	mov	x19, x1
	ldr	w8, [x1, #24]
	str	w8, [sp, #8]
	str	xzr, [sp]
	mov	x1, sp
	bl	_remote_find_tracking
	cbnz	w0, LBB0_8
; %bb.2:
	cbz	w20, LBB0_4
; %bb.3:
Lloh6:
	adrp	x8, _stderr@GOTPAGE
Lloh7:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	ldr	x2, [sp]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fprintf
LBB0_4:
	ldr	x8, [x19, #16]
	ldr	x1, [sp]
	cbz	x8, LBB0_6
; %bb.5:
	mov	x0, #0
	mov	x2, #0
	mov	w3, #0
	bl	_delete_ref
	b	LBB0_7
LBB0_6:
	add	x2, x19, #8
Lloh11:
	adrp	x0, l_.str.1@PAGE
Lloh12:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x3, #0
	mov	w4, #0
	mov	w5, #0
	bl	_update_ref
LBB0_7:
	ldr	x0, [sp]
	bl	_free
LBB0_8:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_REF_STATUS_OK,8,3              ; @REF_STATUS_OK
	.comm	_REF_STATUS_UPTODATE,8,3        ; @REF_STATUS_UPTODATE
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"updating local tracking ref '%s'\n"

l_.str.1:                               ; @.str.1
	.asciz	"update by push"

.subsections_via_symbols
