	.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	0x3ff0000000000000              ## double 1
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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	(%rdi), %rbx
	movq	8(%rdi), %rax
	movq	(%rax), %rax
	movslq	%esi, %rcx
	leaq	(%rcx,%rcx,4), %rcx
	shlq	$4, %rcx
	movl	(%rax,%rcx), %edx
	testl	%edx, %edx
	je	LBB0_1
## %bb.2:
	cvtsi2sd	%edx, %xmm0
	jmp	LBB0_3
LBB0_1:
	movsd	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero
LBB0_3:
	movsd	8(%rax,%rcx), %xmm2             ## xmm2 = mem[0],zero
	divsd	%xmm0, %xmm2
	movsd	LCPI0_1(%rip), %xmm1            ## xmm1 = mem[0],zero
	mulsd	%xmm1, %xmm2
	movq	_CPU_METER_NICE@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movsd	%xmm2, (%rbx,%rdx,8)
	movsd	16(%rax,%rcx), %xmm2            ## xmm2 = mem[0],zero
	divsd	%xmm0, %xmm2
	mulsd	%xmm1, %xmm2
	movq	_CPU_METER_NORMAL@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movsd	%xmm2, (%rbx,%rdx,8)
	cmpq	$0, 8(%rax)
	je	LBB0_6
## %bb.4:
	movsd	24(%rax,%rcx), %xmm2            ## xmm2 = mem[0],zero
	divsd	%xmm0, %xmm2
	mulsd	%xmm1, %xmm2
	movq	_CPU_METER_KERNEL@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movsd	%xmm2, (%rbx,%rdx,8)
	movsd	32(%rax,%rcx), %xmm2            ## xmm2 = mem[0],zero
	divsd	%xmm0, %xmm2
	mulsd	%xmm1, %xmm2
	movq	_CPU_METER_IRQ@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movsd	%xmm2, (%rbx,%rdx,8)
	movsd	40(%rax,%rcx), %xmm2            ## xmm2 = mem[0],zero
	divsd	%xmm0, %xmm2
	mulsd	%xmm1, %xmm2
	movq	_CPU_METER_SOFTIRQ@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movsd	%xmm2, (%rbx,%rdx,8)
	movsd	48(%rax,%rcx), %xmm2            ## xmm2 = mem[0],zero
	divsd	%xmm0, %xmm2
	mulsd	%xmm1, %xmm2
	movq	_CPU_METER_STEAL@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movsd	%xmm2, (%rbx,%rdx,8)
	movsd	56(%rax,%rcx), %xmm2            ## xmm2 = mem[0],zero
	divsd	%xmm0, %xmm2
	mulsd	%xmm1, %xmm2
	movq	_CPU_METER_GUEST@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movsd	%xmm2, (%rbx,%rdx,8)
	movsd	64(%rax,%rcx), %xmm2            ## xmm2 = mem[0],zero
	divsd	%xmm0, %xmm2
	mulsd	%xmm1, %xmm2
	movq	_CPU_METER_IOWAIT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movsd	%xmm2, (%rbx,%rax,8)
	movq	%r14, %rdi
	movl	$8, %esi
	callq	_Meter_setItems
	movq	8(%r14), %rax
	movq	(%rax), %rax
	cmpq	$0, (%rax)
	movsd	(%rbx), %xmm0                   ## xmm0 = mem[0],zero
	addsd	8(%rbx), %xmm0
	addsd	16(%rbx), %xmm0
	addsd	24(%rbx), %xmm0
	addsd	32(%rbx), %xmm0
	je	LBB0_8
## %bb.5:
	addsd	40(%rbx), %xmm0
	addq	$48, %rbx
	jmp	LBB0_7
LBB0_6:
	movsd	72(%rax,%rcx), %xmm2            ## xmm2 = mem[0],zero
	divsd	%xmm0, %xmm2
	mulsd	%xmm1, %xmm2
	movsd	%xmm2, 16(%rbx)
	movsd	48(%rax,%rcx), %xmm2            ## xmm2 = mem[0],zero
	addsd	56(%rax,%rcx), %xmm2
	divsd	%xmm0, %xmm2
	mulsd	%xmm1, %xmm2
	leaq	24(%rbx), %r15
	movsd	%xmm2, 24(%rbx)
	movq	%r14, %rdi
	movl	$4, %esi
	callq	_Meter_setItems
	movsd	(%rbx), %xmm0                   ## xmm0 = mem[0],zero
	addsd	8(%rbx), %xmm0
	addsd	16(%rbx), %xmm0
	movq	%r15, %rbx
LBB0_7:
	addsd	(%rbx), %xmm0
LBB0_8:
	movsd	LCPI0_1(%rip), %xmm2            ## xmm2 = mem[0],zero
	xorpd	%xmm1, %xmm1
	callq	_CLAMP
	movsd	%xmm0, -32(%rbp)                ## 8-byte Spill
	callq	_isnan
	movsd	-32(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	xorps	%xmm0, %xmm0
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CPU_METER_NICE,8,3             ## @CPU_METER_NICE
	.comm	_CPU_METER_NORMAL,8,3           ## @CPU_METER_NORMAL
	.comm	_CPU_METER_KERNEL,8,3           ## @CPU_METER_KERNEL
	.comm	_CPU_METER_IRQ,8,3              ## @CPU_METER_IRQ
	.comm	_CPU_METER_SOFTIRQ,8,3          ## @CPU_METER_SOFTIRQ
	.comm	_CPU_METER_STEAL,8,3            ## @CPU_METER_STEAL
	.comm	_CPU_METER_GUEST,8,3            ## @CPU_METER_GUEST
	.comm	_CPU_METER_IOWAIT,8,3           ## @CPU_METER_IOWAIT
.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	d9, d8, [sp, #-64]!             ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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 b8, -56
	.cfi_offset b9, -64
                                        ; kill: def $w1 killed $w1 def $x1
	mov	x19, x0
	ldp	x20, x8, [x0]
	ldr	x8, [x8]
	sxtw	x9, w1
	mov	w10, #80
	smaddl	x10, w1, w10, x8
	ldr	w11, [x10]
	scvtf	d0, w11
	cmp	w11, #0
	fmov	d1, #1.00000000
	fcsel	d0, d1, d0, eq
	ldr	d1, [x10, #8]
	fdiv	d1, d1, d0
	mov	x11, #4636737291354636288
	fmov	d2, x11
	fmul	d1, d1, d2
Lloh0:
	adrp	x11, _CPU_METER_NICE@GOTPAGE
Lloh1:
	ldr	x11, [x11, _CPU_METER_NICE@GOTPAGEOFF]
Lloh2:
	ldr	x11, [x11]
	str	d1, [x20, x11, lsl #3]
	ldr	d1, [x10, #16]
	fdiv	d1, d1, d0
	fmul	d1, d1, d2
Lloh3:
	adrp	x10, _CPU_METER_NORMAL@GOTPAGE
Lloh4:
	ldr	x10, [x10, _CPU_METER_NORMAL@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	str	d1, [x20, x10, lsl #3]
	ldr	x10, [x8, #8]
	cbz	x10, LBB0_3
; %bb.1:
	mov	w10, #80
	madd	x8, x9, x10, x8
	ldr	d1, [x8, #24]
	fdiv	d1, d1, d0
	mov	x9, #4636737291354636288
	fmov	d2, x9
	fmul	d1, d1, d2
Lloh6:
	adrp	x9, _CPU_METER_KERNEL@GOTPAGE
Lloh7:
	ldr	x9, [x9, _CPU_METER_KERNEL@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	str	d1, [x20, x9, lsl #3]
	ldr	d1, [x8, #32]
	fdiv	d1, d1, d0
Lloh9:
	adrp	x9, _CPU_METER_IRQ@GOTPAGE
Lloh10:
	ldr	x9, [x9, _CPU_METER_IRQ@GOTPAGEOFF]
	fmul	d1, d1, d2
Lloh11:
	ldr	x9, [x9]
	str	d1, [x20, x9, lsl #3]
	ldr	d1, [x8, #40]
	fdiv	d1, d1, d0
	fmul	d1, d1, d2
Lloh12:
	adrp	x9, _CPU_METER_SOFTIRQ@GOTPAGE
Lloh13:
	ldr	x9, [x9, _CPU_METER_SOFTIRQ@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	str	d1, [x20, x9, lsl #3]
	ldr	d1, [x8, #48]
	fdiv	d1, d1, d0
	fmul	d1, d1, d2
Lloh15:
	adrp	x9, _CPU_METER_STEAL@GOTPAGE
Lloh16:
	ldr	x9, [x9, _CPU_METER_STEAL@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	str	d1, [x20, x9, lsl #3]
	ldr	d1, [x8, #56]
	fdiv	d1, d1, d0
Lloh18:
	adrp	x9, _CPU_METER_GUEST@GOTPAGE
Lloh19:
	ldr	x9, [x9, _CPU_METER_GUEST@GOTPAGEOFF]
	fmul	d1, d1, d2
Lloh20:
	ldr	x9, [x9]
	str	d1, [x20, x9, lsl #3]
	ldr	d1, [x8, #64]
	fdiv	d0, d1, d0
	fmul	d0, d0, d2
Lloh21:
	adrp	x8, _CPU_METER_IOWAIT@GOTPAGE
Lloh22:
	ldr	x8, [x8, _CPU_METER_IOWAIT@GOTPAGEOFF]
Lloh23:
	ldr	x8, [x8]
	str	d0, [x20, x8, lsl #3]
	mov	x0, x19
	mov	w1, #8
	bl	_Meter_setItems
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldp	d0, d1, [x20]
	fadd	d0, d0, d1
	ldp	d1, d2, [x20, #16]
	fadd	d0, d0, d1
	fadd	d0, d0, d2
	ldr	d1, [x20, #32]
	fadd	d0, d0, d1
	cbz	x8, LBB0_5
; %bb.2:
	ldr	d1, [x20, #40]
	fadd	d0, d0, d1
	add	x21, x20, #48
	b	LBB0_4
LBB0_3:
	mov	w10, #80
	madd	x8, x9, x10, x8
	ldr	d1, [x8, #72]
	fdiv	d1, d1, d0
	mov	x9, #4636737291354636288
	fmov	d2, x9
	fmul	d1, d1, d2
	str	d1, [x20, #16]
	ldp	d1, d3, [x8, #48]
	fadd	d1, d1, d3
	fdiv	d0, d1, d0
	fmul	d0, d0, d2
	mov	x21, x20
	str	d0, [x21, #24]!
	mov	x0, x19
	mov	w1, #4
	bl	_Meter_setItems
	ldp	d0, d1, [x20]
	fadd	d0, d0, d1
	ldr	d1, [x20, #16]
	fadd	d0, d0, d1
LBB0_4:
	ldr	d1, [x21]
	fadd	d0, d0, d1
LBB0_5:
	mov	x8, #4636737291354636288
	fmov	d2, x8
	movi	d9, #0000000000000000
	movi	d1, #0000000000000000
	bl	_CLAMP
	fmov	d8, d0
	bl	_isnan
	cmp	x0, #0
	fcsel	d0, d8, d9, eq
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #64               ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_CPU_METER_NICE,8,3             ; @CPU_METER_NICE
	.comm	_CPU_METER_NORMAL,8,3           ; @CPU_METER_NORMAL
	.comm	_CPU_METER_KERNEL,8,3           ; @CPU_METER_KERNEL
	.comm	_CPU_METER_IRQ,8,3              ; @CPU_METER_IRQ
	.comm	_CPU_METER_SOFTIRQ,8,3          ; @CPU_METER_SOFTIRQ
	.comm	_CPU_METER_STEAL,8,3            ; @CPU_METER_STEAL
	.comm	_CPU_METER_GUEST,8,3            ; @CPU_METER_GUEST
	.comm	_CPU_METER_IOWAIT,8,3           ; @CPU_METER_IOWAIT
.subsections_via_symbols
