	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function u_cpustates
LCPI0_0:
	.quad	0x4024000000000000              ## double 10
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_u_cpustates
	.p2align	4, 0x90
_u_cpustates:                           ## @u_cpustates
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_num_cpus@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_10
## %bb.1:
	movq	%rdi, %r13
	xorl	%r15d, %r15d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	addq	%r14, %r13
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%r15
	movq	_num_cpus@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	cmpq	%rax, %r15
	jge	LBB0_10
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
	movq	_cpustate_names@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	_cpustates_column@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	_y_cpustates@GOTPCREL(%rip), %r14
	movq	(%r14), %rsi
	addq	%r15, %rsi
	callq	_Move_to
	movq	(%r14), %rax
	addq	%r15, %rax
	movq	_lastline@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_9
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_cpustate_columns@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movq	_num_cpustates@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	imull	%r15d, %ecx
	movslq	%ecx, %r12
	shlq	$2, %r12
	movq	_lcpustates@GOTPCREL(%rip), %rcx
	addq	(%rcx), %r12
	xorl	%r14d, %r14d
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=2
	movq	8(%rbx,%r14,2), %rax
	addq	$4, %r14
	testq	%rax, %rax
	je	LBB0_8
LBB0_4:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpb	$0, (%rax)
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=2
	movl	(%r12,%r14), %eax
	cmpl	(%r13,%r14), %eax
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=2
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movslq	(%rax,%r14), %rdi
	movq	_cpustates_column@GOTPCREL(%rip), %rax
	addq	(%rax), %rdi
	movq	_y_cpustates@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rsi
	addq	%r15, %rsi
	callq	_Move_to
	movq	(%rbx), %rax
	addq	%r15, %rax
	movq	_lastline@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	%r13, %rbx
	movq	%r15, %r13
	movl	(%rbx,%r14), %r15d
	cmpl	$1000, %r15d                    ## imm = 0x3E8
	leaq	L_.str.1(%rip), %rdi
	leaq	L_.str(%rip), %rax
	cmovgeq	%rax, %rdi
	xorps	%xmm0, %xmm0
	cvtsi2sd	%r15d, %xmm0
	divsd	LCPI0_0(%rip), %xmm0
	callq	_printf
	movl	%r15d, (%r12,%r14)
	movq	%r13, %r15
	movq	%rbx, %r13
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_7
LBB0_10:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_num_cpus,4,2                   ## @num_cpus
	.comm	_cpustate_names,8,3             ## @cpustate_names
	.comm	_cpustates_column,8,3           ## @cpustates_column
	.comm	_y_cpustates,8,3                ## @y_cpustates
	.comm	_lastline,8,3                   ## @lastline
	.comm	_lcpustates,8,3                 ## @lcpustates
	.comm	_num_cpustates,4,2              ## @num_cpustates
	.comm	_cpustate_columns,8,3           ## @cpustate_columns
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%4.0f"

L_.str.1:                               ## @.str.1
	.asciz	"%4.1f"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_u_cpustates                    ; -- Begin function u_cpustates
	.p2align	2
_u_cpustates:                           ; @u_cpustates
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [sp, #-112]!            ; 16-byte Folded Spill
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	.cfi_offset b8, -104
	.cfi_offset b9, -112
Lloh0:
	adrp	x8, _num_cpus@GOTPAGE
Lloh1:
	ldr	x8, [x8, _num_cpus@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.1:
	mov	x19, x0
	mov	x21, #0
Lloh3:
	adrp	x23, _cpustates_column@GOTPAGE
Lloh4:
	ldr	x23, [x23, _cpustates_column@GOTPAGEOFF]
Lloh5:
	adrp	x24, _y_cpustates@GOTPAGE
Lloh6:
	ldr	x24, [x24, _y_cpustates@GOTPAGEOFF]
Lloh7:
	adrp	x25, _lastline@GOTPAGE
Lloh8:
	ldr	x25, [x25, _lastline@GOTPAGEOFF]
Lloh9:
	adrp	x27, l_.str@PAGE
Lloh10:
	add	x27, x27, l_.str@PAGEOFF
	fmov	d8, #10.00000000
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x21, x21, #1
Lloh11:
	adrp	x8, _num_cpus@GOTPAGE
Lloh12:
	ldr	x8, [x8, _num_cpus@GOTPAGEOFF]
Lloh13:
	ldrsw	x8, [x8]
	cmp	x21, x8
	b.ge	LBB0_9
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
Lloh14:
	adrp	x8, _cpustate_names@GOTPAGE
Lloh15:
	ldr	x8, [x8, _cpustate_names@GOTPAGEOFF]
Lloh16:
	ldr	x20, [x8]
	ldr	x0, [x23]
	ldr	x8, [x24]
	add	x1, x8, x21
	bl	_Move_to
	ldr	x8, [x24]
	add	x8, x8, x21
	str	x8, [x25]
	ldr	x8, [x20]
	cbz	x8, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
Lloh17:
	adrp	x9, _cpustate_columns@GOTPAGE
Lloh18:
	ldr	x9, [x9, _cpustate_columns@GOTPAGEOFF]
Lloh19:
	ldr	x28, [x9]
Lloh20:
	adrp	x9, _lcpustates@GOTPAGE
Lloh21:
	ldr	x9, [x9, _lcpustates@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
Lloh23:
	adrp	x10, _num_cpustates@GOTPAGE
Lloh24:
	ldr	x10, [x10, _num_cpustates@GOTPAGEOFF]
Lloh25:
	ldr	w10, [x10]
	mul	w10, w10, w21
	add	x22, x9, w10, sxtw #2
	add	x20, x20, #8
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=2
	add	x22, x22, #4
	add	x19, x19, #4
	add	x28, x28, #4
	ldr	x8, [x20], #8
	cbz	x8, LBB0_2
LBB0_6:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w8, [x8]
	cbz	w8, LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=2
	ldr	w8, [x22]
	ldr	w9, [x19]
	cmp	w8, w9
	b.eq	LBB0_5
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=2
	ldr	x8, [x23]
	ldrsw	x9, [x28]
	add	x0, x8, x9
	ldr	x8, [x24]
	add	x1, x8, x21
	bl	_Move_to
	ldr	x8, [x24]
	add	x8, x8, x21
	str	x8, [x25]
	ldr	w26, [x19]
	cmp	w26, #999
Lloh26:
	adrp	x8, l_.str.1@PAGE
Lloh27:
	add	x8, x8, l_.str.1@PAGEOFF
	csel	x0, x27, x8, gt
	scvtf	d0, w26
	fdiv	d0, d0, d8
	bl	_printf
	str	w26, [x22]
	b	LBB0_5
LBB0_9:
	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
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #112              ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_num_cpus,4,2                   ; @num_cpus
	.comm	_cpustate_names,8,3             ; @cpustate_names
	.comm	_cpustates_column,8,3           ; @cpustates_column
	.comm	_y_cpustates,8,3                ; @y_cpustates
	.comm	_lastline,8,3                   ; @lastline
	.comm	_lcpustates,8,3                 ; @lcpustates
	.comm	_num_cpustates,4,2              ; @num_cpustates
	.comm	_cpustate_columns,8,3           ; @cpustate_columns
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%4.0f"

l_.str.1:                               ; @.str.1
	.asciz	"%4.1f"

.subsections_via_symbols
