	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function Platform_setCPUValues
LCPI0_0:
	.quad	0x4024000000000000              ## double 10
LCPI0_1:
	.quad	0x4059000000000000              ## double 100
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_Platform_setCPUValues
	.p2align	4, 0x90
_Platform_setCPUValues:                 ## @Platform_setCPUValues
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $esi killed $esi def $rsi
	movq	%rsi, -96(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	8(%rdi), %rax
	movq	(%rax), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	_CPUSTATES@GOTPCREL(%rip), %rax
	movslq	(%rax), %r12
	movl	%r12d, %ebx
	shlq	$2, %rbx
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r13
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -72(%rbp)                 ## 8-byte Spill
	movq	%r14, -88(%rbp)                 ## 8-byte Spill
	movq	(%r14), %rbx
	movq	-96(%rbp), %r14                 ## 8-byte Reload
	shlq	$3, %r12
	movq	%r12, -104(%rbp)
	movq	_CTL_KERN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -60(%rbp)
	movq	_KERN_CPTIME2@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -56(%rbp)
	leal	-1(%r14), %r12d
	movl	%r12d, -52(%rbp)
	leaq	-60(%rbp), %rdi
	leaq	-104(%rbp), %rcx
	movl	$3, %esi
	movq	%r15, %rdx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_sysctl
	cmpl	$-1, %eax
	je	LBB0_1
## %bb.2:
	movslq	%r14d, %rax
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movl	$1, (%rcx,%rax,4)
	movq	_CPUSTATES@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	movq	_old_v@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%r12d, %r12
	movq	(%rax,%r12,8), %rcx
	movq	%r13, %rsi
	movq	%r15, %rdx
	movq	-72(%rbp), %r8                  ## 8-byte Reload
	callq	_percentages
	cmpl	$0, (%r14)
	jle	LBB0_5
## %bb.3:
	movq	%r14, %rsi
	movq	_old_v@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax,%r12,8), %rax
	xorl	%ecx, %ecx
	movsd	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r15,%rcx,4), %edx
	movl	%edx, (%rax,%rcx,4)
	xorps	%xmm1, %xmm1
	cvtsi2sdl	(%r13,%rcx,4), %xmm1
	divsd	%xmm0, %xmm1
	movsd	%xmm1, (%rbx,%rcx,8)
	incq	%rcx
	movslq	(%rsi), %rdx
	cmpq	%rdx, %rcx
	jl	LBB0_4
LBB0_5:
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movl	$4, %esi
	callq	_Meter_setItems
	movsd	(%rbx), %xmm0                   ## xmm0 = mem[0],zero
	addsd	8(%rbx), %xmm0
	addsd	16(%rbx), %xmm0
	addsd	24(%rbx), %xmm0
	xorpd	%xmm1, %xmm1
	cmplesd	%xmm0, %xmm1
	andpd	%xmm0, %xmm1
	cmplesd	LCPI0_1(%rip), %xmm0
	andpd	%xmm1, %xmm0
	jmp	LBB0_6
LBB0_1:
	xorpd	%xmm0, %xmm0
LBB0_6:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_8
## %bb.7:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_CPUSTATES,4,2                  ## @CPUSTATES
	.comm	_CTL_KERN,4,2                   ## @CTL_KERN
	.comm	_KERN_CPTIME2,4,2               ## @KERN_CPTIME2
	.comm	_old_v,8,3                      ## @old_v
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Platform_setCPUValues          ; -- Begin function Platform_setCPUValues
	.p2align	2
_Platform_setCPUValues:                 ; @Platform_setCPUValues
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	sub	sp, sp, #32
                                        ; kill: def $w1 killed $w1 def $x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	ldr	x8, [x0, #8]
	ldr	x25, [x8]
Lloh3:
	adrp	x23, _CPUSTATES@GOTPAGE
Lloh4:
	ldr	x23, [x23, _CPUSTATES@GOTPAGEOFF]
	ldrsw	x12, [x23]
	and	x8, x12, #0xffffffff
	lsl	x8, x8, #2
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x10, x8, #15
	and	x13, x10, #0x7fffffff0
	sub	x20, x9, x13
	mov	sp, x20
	mov	x9, x8
Lloh7:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh8:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	sub	x21, x9, x13
	mov	sp, x21
	mov	x9, x8
Lloh9:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh10:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	sub	x22, x8, x13
	mov	sp, x22
	ldr	x24, [x0]
	lsl	x8, x12, #3
	stur	x8, [x29, #-112]
Lloh11:
	adrp	x8, _CTL_KERN@GOTPAGE
Lloh12:
	ldr	x8, [x8, _CTL_KERN@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
Lloh14:
	adrp	x9, _KERN_CPTIME2@GOTPAGE
Lloh15:
	ldr	x9, [x9, _KERN_CPTIME2@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	stp	w8, w9, [x29, #-100]
	sxtw	x27, w1
	sub	x26, x27, #1
	stur	w26, [x29, #-92]
	sub	x0, x29, #100
	sub	x3, x29, #112
	mov	w1, #3
	mov	x2, x20
	mov	x4, #0
	mov	w5, #0
	bl	_sysctl
	cmn	w0, #1
	b.eq	LBB0_5
; %bb.1:
	mov	w8, #1
	str	w8, [x25, x27, lsl #2]
	ldr	w0, [x23]
Lloh17:
	adrp	x25, _old_v@GOTPAGE
Lloh18:
	ldr	x25, [x25, _old_v@GOTPAGEOFF]
	ldr	x8, [x25]
	ldr	x3, [x8, x26, lsl #3]
	mov	x1, x21
	mov	x2, x20
	mov	x4, x22
	bl	_percentages
	ldr	w8, [x23]
	cmp	w8, #1
	b.lt	LBB0_4
; %bb.2:
	mov	x8, #0
	ldr	x9, [x25]
	ldr	x9, [x9, x26, lsl #3]
	fmov	d0, #10.00000000
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	lsl	x10, x8, #2
	ldr	w11, [x20, x10]
	str	w11, [x9, x10]
	ldr	s1, [x21, x10]
	sshll.2d	v1, v1, #0
	scvtf	d1, d1
	fdiv	d1, d1, d0
	str	d1, [x24, x8, lsl #3]
	add	x8, x8, #1
	ldrsw	x10, [x23]
	cmp	x8, x10
	b.lt	LBB0_3
LBB0_4:
	mov	x0, x19
	mov	w1, #4
	bl	_Meter_setItems
	ldp	d0, d1, [x24]
	fadd	d0, d0, d1
	ldp	d1, d2, [x24, #16]
	fadd	d0, d0, d1
	fadd	d0, d0, d2
	fcmp	d0, #0.0
	mov	x8, #4636737291354636288
	fmov	d1, x8
	fccmp	d0, d1, #2, ge
	movi	d1, #0000000000000000
	fcsel	d0, d0, d1, ls
	b	LBB0_6
LBB0_5:
	movi	d0, #0000000000000000
LBB0_6:
	ldur	x8, [x29, #-88]
Lloh19:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh20:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh21:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_8
; %bb.7:
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_8:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_CPUSTATES,4,2                  ; @CPUSTATES
	.comm	_CTL_KERN,4,2                   ; @CTL_KERN
	.comm	_KERN_CPTIME2,4,2               ; @KERN_CPTIME2
	.comm	_old_v,8,3                      ; @old_v
.subsections_via_symbols
