	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_update_nodes_stats             ## -- Begin function update_nodes_stats
	.p2align	4, 0x90
_update_nodes_stats:                    ## @update_nodes_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	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_prefailed_nodes@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_failed_nodes@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_total_binlog_size@GOTPCREL(%rip), %rbx
	movq	$0, (%rbx)
	movq	_minimal_binlog_size@GOTPCREL(%rip), %rax
	movl	$-1, (%rax)
	movq	_maximal_binlog_size@GOTPCREL(%rip), %rax
	movl	$0, (%rax)
	movq	_total@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_nodes_num@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	testl	%ecx, %ecx
	jle	LBB0_15
## %bb.1:
	movq	_precise_now@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	_nodes@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	movq	_DEFAULT_CHILDREN_RENEW_TIME@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	leal	(%rdx,%rdx,2), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	%edx, %eax
	shll	$5, %eax
	subl	%edx, %eax
	subl	%edx, %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	shlq	$2, %rcx
	leaq	(%rcx,%rcx,2), %r9
	movl	$-1, %r14d
	xorl	%esi, %esi
	xorl	%r12d, %r12d
	xorl	%eax, %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	xorl	%ecx, %ecx
	xorl	%r10d, %r10d
	xorl	%r11d, %r11d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	incq	%r11
	movq	_total@GOTPCREL(%rip), %rax
	movq	%r11, (%rax)
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	addq	$12, %rsi
	movl	%r15d, %r14d
	cmpq	%rsi, %r9
	je	LBB0_15
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	testl	%edi, %edi
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%r14d, %r15d
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	subl	(%r13,%rsi), %edx
	cmpl	-48(%rbp), %edx                 ## 4-byte Folded Reload
	jle	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	incq	%rax
	movq	%rbx, %r8
	movq	_prefailed_nodes@GOTPCREL(%rip), %rbx
	movq	%rcx, %r15
	movq	%rax, %rcx
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	%r15, %rcx
	movq	%rax, (%rbx)
	movq	%r8, %rbx
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpl	-44(%rbp), %edx                 ## 4-byte Folded Reload
	jle	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	incq	%rcx
	movq	_failed_nodes@GOTPCREL(%rip), %rdx
	movq	%rcx, (%rdx)
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movslq	4(%r13,%rsi), %r15
	addq	%r15, %r10
	movq	%r10, (%rbx)
	cmpl	%r14d, %r15d
	jge	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_minimal_binlog_size@GOTPCREL(%rip), %rax
	movl	%r15d, (%rax)
	movl	4(%r13,%rsi), %r8d
	cmpl	%r12d, %r8d
	jle	LBB0_13
	jmp	LBB0_12
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	%r15d, %r8d
	movl	%r14d, %r15d
	cmpl	%r12d, %r8d
	jle	LBB0_13
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_maximal_binlog_size@GOTPCREL(%rip), %rax
	movl	%r8d, (%rax)
	movl	%r8d, %r12d
	jmp	LBB0_13
LBB0_15:
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_prefailed_nodes,8,3            ## @prefailed_nodes
	.comm	_failed_nodes,8,3               ## @failed_nodes
	.comm	_total_binlog_size,8,3          ## @total_binlog_size
	.comm	_minimal_binlog_size,4,2        ## @minimal_binlog_size
	.comm	_maximal_binlog_size,4,2        ## @maximal_binlog_size
	.comm	_total,8,3                      ## @total
	.comm	_nodes_num,4,2                  ## @nodes_num
	.comm	_nodes,8,3                      ## @nodes
	.comm	_precise_now,4,2                ## @precise_now
	.comm	_DEFAULT_CHILDREN_RENEW_TIME,4,2 ## @DEFAULT_CHILDREN_RENEW_TIME
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_update_nodes_stats             ; -- Begin function update_nodes_stats
	.p2align	2
_update_nodes_stats:                    ; @update_nodes_stats
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	.cfi_offset w19, -8
	.cfi_offset w20, -16
Lloh0:
	adrp	x8, _prefailed_nodes@GOTPAGE
Lloh1:
	ldr	x8, [x8, _prefailed_nodes@GOTPAGEOFF]
	str	xzr, [x8]
Lloh2:
	adrp	x9, _failed_nodes@GOTPAGE
Lloh3:
	ldr	x9, [x9, _failed_nodes@GOTPAGEOFF]
	str	xzr, [x9]
Lloh4:
	adrp	x10, _total_binlog_size@GOTPAGE
Lloh5:
	ldr	x10, [x10, _total_binlog_size@GOTPAGEOFF]
	str	xzr, [x10]
Lloh6:
	adrp	x11, _minimal_binlog_size@GOTPAGE
Lloh7:
	ldr	x11, [x11, _minimal_binlog_size@GOTPAGEOFF]
	mov	w12, #-1
	str	w12, [x11]
Lloh8:
	adrp	x12, _maximal_binlog_size@GOTPAGE
Lloh9:
	ldr	x12, [x12, _maximal_binlog_size@GOTPAGEOFF]
Lloh10:
	adrp	x13, _total@GOTPAGE
Lloh11:
	ldr	x13, [x13, _total@GOTPAGEOFF]
	str	wzr, [x12]
	str	xzr, [x13]
Lloh12:
	adrp	x14, _nodes_num@GOTPAGE
Lloh13:
	ldr	x14, [x14, _nodes_num@GOTPAGEOFF]
Lloh14:
	ldr	w14, [x14]
	cmp	w14, #1
	b.lt	LBB0_14
; %bb.1:
	mov	w2, #0
	mov	x15, #0
	mov	x16, #0
	mov	x17, #0
	mov	x1, #0
	mov	w5, #30
Lloh15:
	adrp	x3, _precise_now@GOTPAGE
Lloh16:
	ldr	x3, [x3, _precise_now@GOTPAGEOFF]
Lloh17:
	ldr	w3, [x3]
Lloh18:
	adrp	x4, _nodes@GOTPAGE
Lloh19:
	ldr	x4, [x4, _nodes@GOTPAGEOFF]
Lloh20:
	adrp	x6, _DEFAULT_CHILDREN_RENEW_TIME@GOTPAGE
Lloh21:
	ldr	x6, [x6, _DEFAULT_CHILDREN_RENEW_TIME@GOTPAGEOFF]
Lloh22:
	ldr	x7, [x4]
Lloh23:
	ldr	w6, [x6]
	add	w4, w6, w6, lsl #1
	mul	w5, w6, w5
	add	x6, x7, #4
	mov	w7, #-1
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x1, x1, #1
	str	x1, [x13]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x6, x6, #12
	mov	x7, x19
	subs	x14, x14, #1
	b.eq	LBB0_14
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	cbz	w0, LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x19, x7
	b	LBB0_3
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldur	w19, [x6, #-4]
	sub	w19, w3, w19
	cmp	w19, w4
	b.le	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x15, x15, #1
	str	x15, [x8]
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	cmp	w19, w5
	b.le	LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x16, x16, #1
	str	x16, [x9]
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
	ldrsw	x19, [x6]
	add	x17, x17, x19
	str	x17, [x10]
	cmp	w19, w7
	b.ge	LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_4 Depth=1
	str	w19, [x11]
	ldr	w20, [x6]
	cmp	w20, w2
	b.le	LBB0_2
	b	LBB0_13
LBB0_12:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x20, x19
	mov	x19, x7
	cmp	w20, w2
	b.le	LBB0_2
LBB0_13:                                ;   in Loop: Header=BB0_4 Depth=1
	str	w20, [x12]
	mov	x2, x20
	b	LBB0_2
LBB0_14:
	ldp	x20, x19, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh22
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_prefailed_nodes,8,3            ; @prefailed_nodes
	.comm	_failed_nodes,8,3               ; @failed_nodes
	.comm	_total_binlog_size,8,3          ; @total_binlog_size
	.comm	_minimal_binlog_size,4,2        ; @minimal_binlog_size
	.comm	_maximal_binlog_size,4,2        ; @maximal_binlog_size
	.comm	_total,8,3                      ; @total
	.comm	_nodes_num,4,2                  ; @nodes_num
	.comm	_nodes,8,3                      ; @nodes
	.comm	_precise_now,4,2                ; @precise_now
	.comm	_DEFAULT_CHILDREN_RENEW_TIME,4,2 ; @DEFAULT_CHILDREN_RENEW_TIME
.subsections_via_symbols
