	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rpc_send_update_stats          ## -- Begin function rpc_send_update_stats
	.p2align	4, 0x90
_rpc_send_update_stats:                 ## @rpc_send_update_stats
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	leaq	L_.str(%rip), %rsi
	movl	$2, %edi
	movq	%r14, %rdx
	callq	_vkprintf
	movq	_Q@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	_RPC_TYPE_UPDATE_STATS@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	movl	$8, %esi
	movq	%r14, %rdx
	callq	_rpc_create_query
	testq	%rax, %rax
	js	LBB0_1
## %bb.2:
	movq	_NODE_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rbx)
	movq	_UPDATE_STATS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$4, %edx
	callq	_memcpy
	movq	_STATS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	incl	(%rax)
	movq	%rbx, %rdi
	movq	%r14, %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_rpc_send_query                 ## TAILCALL
LBB0_1:
	movl	$-1, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"rpc_send_update_stats: c = %p\n"

	.comm	_Q,8,3                          ## @Q
	.comm	_RPC_TYPE_UPDATE_STATS,4,2      ## @RPC_TYPE_UPDATE_STATS
	.comm	_NODE_ID,4,2                    ## @NODE_ID
	.comm	_UPDATE_STATS,4,2               ## @UPDATE_STATS
	.comm	_STATS,8,3                      ## @STATS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rpc_send_update_stats          ; -- Begin function rpc_send_update_stats
	.p2align	2
_rpc_send_update_stats:                 ; @rpc_send_update_stats
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #2
	mov	x2, x19
	bl	_vkprintf
Lloh2:
	adrp	x8, _Q@GOTPAGE
Lloh3:
	ldr	x8, [x8, _Q@GOTPAGEOFF]
Lloh4:
	ldr	x20, [x8]
Lloh5:
	adrp	x8, _RPC_TYPE_UPDATE_STATS@GOTPAGE
Lloh6:
	ldr	x8, [x8, _RPC_TYPE_UPDATE_STATS@GOTPAGEOFF]
Lloh7:
	ldr	w3, [x8]
	mov	x0, x20
	mov	w1, #8
	mov	x2, x19
	bl	_rpc_create_query
	tbnz	x0, #63, LBB0_2
; %bb.1:
Lloh8:
	adrp	x8, _NODE_ID@GOTPAGE
Lloh9:
	ldr	x8, [x8, _NODE_ID@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	str	w8, [x20, #4]
Lloh11:
	adrp	x8, _UPDATE_STATS@GOTPAGE
Lloh12:
	ldr	x8, [x8, _UPDATE_STATS@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #4
	bl	_memcpy
Lloh14:
	adrp	x8, _STATS@GOTPAGE
Lloh15:
	ldr	x8, [x8, _STATS@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
	mov	x0, x20
	mov	x1, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_rpc_send_query
LBB0_2:
	mov	w0, #-1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"rpc_send_update_stats: c = %p\n"

	.comm	_Q,8,3                          ; @Q
	.comm	_RPC_TYPE_UPDATE_STATS,4,2      ; @RPC_TYPE_UPDATE_STATS
	.comm	_NODE_ID,4,2                    ; @NODE_ID
	.comm	_UPDATE_STATS,4,2               ; @UPDATE_STATS
	.comm	_STATS,8,3                      ; @STATS
.subsections_via_symbols
