	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_display_updatecpus             ## -- Begin function display_updatecpus
	.p2align	4, 0x90
_display_updatecpus:                    ## @display_updatecpus
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	xorl	%eax, %eax
	callq	_display_resize
	movl	%eax, %r14d
	movq	_pcpu_stats@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_1
## %bb.2:
	movl	(%rbx), %edi
	movq	_num_cpus@GOTPCREL(%rip), %r15
	movl	%edi, (%r15)
	movq	_cpustates_column@GOTPCREL(%rip), %rbx
	movl	$5, (%rbx)
	cmpl	$2, %edi
	jl	LBB0_4
## %bb.3:
	callq	_digits
	movl	(%rbx), %ecx
	addl	%ecx, %eax
	incl	%eax
	movl	%eax, (%rbx)
	movl	(%r15), %edi
	jmp	LBB0_4
LBB0_1:
	movq	_num_cpus@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	movq	_cpustates_column@GOTPCREL(%rip), %rax
	movl	$5, (%rax)
	movl	$1, %edi
LBB0_4:
	movq	_num_cpustates@GOTPCREL(%rip), %rax
	imull	(%rax), %edi
	testl	%edi, %edi
	jle	LBB0_7
## %bb.5:
	movq	_lcpustates@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	xorl	%edx, %edx
	movq	_num_cpus@GOTPCREL(%rip), %rsi
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	$-1, (%rcx,%rdx,4)
	incq	%rdx
	movslq	(%rax), %rdi
	movslq	(%rsi), %rbx
	imulq	%rdi, %rbx
	cmpq	%rbx, %rdx
	jl	LBB0_6
LBB0_7:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_pcpu_stats,8,3                 ## @pcpu_stats
	.comm	_num_cpus,4,2                   ## @num_cpus
	.comm	_cpustates_column,4,2           ## @cpustates_column
	.comm	_num_cpustates,4,2              ## @num_cpustates
	.comm	_lcpustates,8,3                 ## @lcpustates
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_display_updatecpus             ; -- Begin function display_updatecpus
	.p2align	2
_display_updatecpus:                    ; @display_updatecpus
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x0
	bl	_display_resize
	mov	x19, x0
Lloh0:
	adrp	x8, _pcpu_stats@GOTPAGE
Lloh1:
	ldr	x8, [x8, _pcpu_stats@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x21, _num_cpus@GOTPAGE
Lloh4:
	ldr	x21, [x21, _num_cpus@GOTPAGEOFF]
	cbz	x8, LBB0_3
; %bb.1:
	ldr	w0, [x20]
	str	w0, [x21]
Lloh5:
	adrp	x20, _cpustates_column@GOTPAGE
Lloh6:
	ldr	x20, [x20, _cpustates_column@GOTPAGEOFF]
	mov	w8, #5
	str	w8, [x20]
	cmp	w0, #1
	b.le	LBB0_4
; %bb.2:
	bl	_digits
	ldr	w8, [x20]
	add	w8, w0, w8
	add	w8, w8, #1
	str	w8, [x20]
	ldr	w0, [x21]
	b	LBB0_4
LBB0_3:
	mov	w0, #1
	str	w0, [x21]
Lloh7:
	adrp	x8, _cpustates_column@GOTPAGE
Lloh8:
	ldr	x8, [x8, _cpustates_column@GOTPAGEOFF]
	mov	w9, #5
Lloh9:
	str	w9, [x8]
LBB0_4:
Lloh10:
	adrp	x8, _num_cpustates@GOTPAGE
Lloh11:
	ldr	x8, [x8, _num_cpustates@GOTPAGEOFF]
	ldr	w9, [x8]
	mul	w9, w0, w9
	cmp	w9, #1
	b.lt	LBB0_7
; %bb.5:
	mov	x9, #0
Lloh12:
	adrp	x10, _lcpustates@GOTPAGE
Lloh13:
	ldr	x10, [x10, _lcpustates@GOTPAGEOFF]
Lloh14:
	ldr	x10, [x10]
	mov	w11, #-1
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	str	w11, [x10, x9, lsl #2]
	add	x9, x9, #1
	ldrsw	x12, [x8]
	ldrsw	x13, [x21]
	mul	x12, x13, x12
	cmp	x9, x12
	b.lt	LBB0_6
LBB0_7:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotStr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_pcpu_stats,8,3                 ; @pcpu_stats
	.comm	_num_cpus,4,2                   ; @num_cpus
	.comm	_cpustates_column,4,2           ; @cpustates_column
	.comm	_num_cpustates,4,2              ; @num_cpustates
	.comm	_lcpustates,8,3                 ; @lcpustates
.subsections_via_symbols
