	.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	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	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	(%rdi), %rbx
	movq	8(%rdi), %rdx
	xorl	%ecx, %ecx
	cmpl	$1, (%rdx)
	movq	(%rdx), %rax
	cmovnel	%esi, %ecx
	movslq	%ecx, %rcx
	leaq	(%rcx,%rcx,4), %rcx
	movsd	(%rax,%rcx,8), %xmm0            ## xmm0 = mem[0],zero
	movq	_CPU_METER_NICE@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	movsd	%xmm0, (%rbx,%rsi,8)
	movsd	8(%rax,%rcx,8), %xmm0           ## xmm0 = mem[0],zero
	movq	_CPU_METER_NORMAL@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	movsd	%xmm0, (%rbx,%rsi,8)
	movq	8(%rdx), %rdx
	cmpq	$0, (%rdx)
	je	LBB0_2
## %bb.1:
	movsd	16(%rax,%rcx,8), %xmm0          ## xmm0 = mem[0],zero
	movq	_CPU_METER_KERNEL@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movsd	%xmm0, (%rbx,%rdx,8)
	movsd	24(%rax,%rcx,8), %xmm0          ## xmm0 = mem[0],zero
	movq	_CPU_METER_IRQ@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movsd	%xmm0, (%rbx,%rax,8)
	movl	$4, %esi
	callq	_Meter_setItems
	movsd	(%rbx), %xmm0                   ## xmm0 = mem[0],zero
	addsd	8(%rbx), %xmm0
	addsd	16(%rbx), %xmm0
	addq	$24, %rbx
	jmp	LBB0_3
LBB0_2:
	movsd	32(%rax,%rcx,8), %xmm0          ## xmm0 = mem[0],zero
	leaq	16(%rbx), %r14
	movsd	%xmm0, 16(%rbx)
	movl	$3, %esi
	callq	_Meter_setItems
	movsd	(%rbx), %xmm0                   ## xmm0 = mem[0],zero
	addsd	8(%rbx), %xmm0
	movq	%r14, %rbx
LBB0_3:
	addsd	(%rbx), %xmm0
	movsd	LCPI0_0(%rip), %xmm2            ## xmm2 = mem[0],zero
	xorps	%xmm1, %xmm1
	callq	_CLAMP
	movsd	%xmm0, -24(%rbp)                ## 8-byte Spill
	callq	_isnan
	movsd	-24(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	xorps	%xmm0, %xmm0
LBB0_5:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	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
.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, #-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 b8, -40
	.cfi_offset b9, -48
	ldp	x19, x10, [x0]
	ldr	w8, [x10]
	cmp	w8, #1
	csel	w11, wzr, w1, eq
	sxtw	x8, w11
	mov	w12, #40
	ldp	x9, x10, [x10]
	smaddl	x11, w11, w12, x9
	ldr	d0, [x11]
Lloh0:
	adrp	x12, _CPU_METER_NICE@GOTPAGE
Lloh1:
	ldr	x12, [x12, _CPU_METER_NICE@GOTPAGEOFF]
Lloh2:
	ldr	x12, [x12]
	str	d0, [x19, x12, lsl #3]
	ldr	d0, [x11, #8]
Lloh3:
	adrp	x11, _CPU_METER_NORMAL@GOTPAGE
Lloh4:
	ldr	x11, [x11, _CPU_METER_NORMAL@GOTPAGEOFF]
Lloh5:
	ldr	x11, [x11]
	str	d0, [x19, x11, lsl #3]
	ldr	x10, [x10]
	cbz	x10, LBB0_2
; %bb.1:
	mov	w10, #40
	madd	x8, x8, x10, x9
	ldr	d0, [x8, #16]
Lloh6:
	adrp	x9, _CPU_METER_KERNEL@GOTPAGE
Lloh7:
	ldr	x9, [x9, _CPU_METER_KERNEL@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	str	d0, [x19, x9, lsl #3]
	ldr	d0, [x8, #24]
Lloh9:
	adrp	x8, _CPU_METER_IRQ@GOTPAGE
Lloh10:
	ldr	x8, [x8, _CPU_METER_IRQ@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	str	d0, [x19, x8, lsl #3]
	mov	w1, #4
	bl	_Meter_setItems
	ldp	d0, d1, [x19]
	fadd	d0, d0, d1
	ldr	d1, [x19, #16]
	fadd	d0, d0, d1
	add	x20, x19, #24
	b	LBB0_3
LBB0_2:
	mov	w10, #40
	madd	x8, x8, x10, x9
	ldr	d0, [x8, #32]
	mov	x20, x19
	str	d0, [x20, #16]!
	mov	w1, #3
	bl	_Meter_setItems
	ldp	d0, d1, [x19]
	fadd	d0, d0, d1
LBB0_3:
	ldr	d1, [x20]
	fadd	d0, d0, d1
	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, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #48               ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.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
.subsections_via_symbols
