	.file	"extr_Platform.c_Platform_setCPUValues.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	Platform_setCPUValues
	.type	Platform_setCPUValues, @function
Platform_setCPUValues:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	sub	rsp, 16
	.cfi_def_cfa_offset 32
	mov	rdx, QWORD PTR 8[rdi]
	cmp	DWORD PTR [rdx], 1
	mov	rax, QWORD PTR [rdx]
	je	.L2
	movsx	rsi, esi
	lea	rcx, [rsi+rsi*4]
	lea	rax, [rax+rcx*8]
.L2:
	movsd	xmm0, QWORD PTR [rax]
	mov	rcx, QWORD PTR CPU_METER_NICE[rip]
	mov	rbx, QWORD PTR [rdi]
	mov	rdx, QWORD PTR 8[rdx]
	movsd	QWORD PTR [rbx+rcx*8], xmm0
	mov	rcx, QWORD PTR CPU_METER_NORMAL[rip]
	movsd	xmm0, QWORD PTR 8[rax]
	cmp	QWORD PTR [rdx], 0
	movsd	QWORD PTR [rbx+rcx*8], xmm0
	je	.L3
	movsd	xmm0, QWORD PTR 16[rax]
	mov	rdx, QWORD PTR CPU_METER_KERNEL[rip]
	mov	esi, 4
	movsd	QWORD PTR [rbx+rdx*8], xmm0
	movsd	xmm0, QWORD PTR 24[rax]
	mov	rax, QWORD PTR CPU_METER_IRQ[rip]
	movsd	QWORD PTR [rbx+rax*8], xmm0
	call	Meter_setItems@PLT
	movsd	xmm0, QWORD PTR [rbx]
	addsd	xmm0, QWORD PTR 8[rbx]
	addsd	xmm0, QWORD PTR 16[rbx]
	addsd	xmm0, QWORD PTR 24[rbx]
.L4:
	movsd	xmm2, QWORD PTR .LC1[rip]
	pxor	xmm1, xmm1
	call	CLAMP@PLT
	movsd	QWORD PTR 8[rsp], xmm0
	call	isnan@PLT
	movsd	xmm0, QWORD PTR 8[rsp]
	test	rax, rax
	je	.L1
	pxor	xmm0, xmm0
.L1:
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	pop	rbx
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	movsd	xmm0, QWORD PTR 32[rax]
	mov	esi, 3
	movsd	QWORD PTR 16[rbx], xmm0
	call	Meter_setItems@PLT
	movsd	xmm0, QWORD PTR [rbx]
	addsd	xmm0, QWORD PTR 8[rbx]
	addsd	xmm0, QWORD PTR 16[rbx]
	jmp	.L4
	.cfi_endproc
.LFE0:
	.size	Platform_setCPUValues, .-Platform_setCPUValues
	.comm	CPU_METER_NORMAL,8,8
	.comm	CPU_METER_NICE,8,8
	.comm	CPU_METER_KERNEL,8,8
	.comm	CPU_METER_IRQ,8,8
	.section	.rodata.cst8,"aM",@progbits,8
	.align 8
.LC1:
	.long	0
	.long	1079574528
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_Platform.c_Platform_setCPUValues.c"
	.text
	.global	__aeabi_dadd
	.align	2
	.global	Platform_setCPUValues
	.syntax unified
	.arm
	.fpu softvfp
	.type	Platform_setCPUValues, %function
Platform_setCPUValues:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	ldr	lr, [r0, #4]
	ldr	ip, .L12
	ldr	r2, [lr]
	ldr	r4, [r0]
	cmp	r2, #1
	moveq	r1, r2
	ldr	ip, [ip]
	ldr	lr, [lr, #4]
	addne	r3, r1, r1, lsl #2
	addne	r1, r2, r3, lsl #3
	add	ip, r4, ip, lsl #3
	ldmia	r1, {r2-r3}
	ldr	lr, [lr]
	stm	ip, {r2-r3}
	ldr	r3, .L12+4
	cmp	lr, #0
	ldr	ip, [r3]
	sub	sp, sp, #12
	add	ip, r4, ip, lsl #3
	add	r3, r1, #8
	ldmia	r3, {r2-r3}
	stm	ip, {r2-r3}
	beq	.L3
	add	r3, r1, #16
	ldmia	r3, {r2-r3}
	ldr	ip, .L12+8
	ldr	lr, .L12+12
	ldr	ip, [ip]
	add	ip, r4, ip, lsl #3
	stm	ip, {r2-r3}
	ldr	r3, [lr]
	add	r7, r1, #24
	ldmia	r7, {r6-r7}
	add	r3, r4, r3, lsl #3
	mov	r1, #4
	stm	r3, {r6-r7}
	bl	Meter_setItems
	add	r3, r4, #8
	ldmia	r3, {r2-r3}
	ldmia	r4, {r0-r1}
	bl	__aeabi_dadd
	add	r3, r4, #16
	ldmia	r3, {r2-r3}
	bl	__aeabi_dadd
	add	r3, r4, #24
	ldmia	r3, {r2-r3}
	bl	__aeabi_dadd
.L4:
	mov	r2, #0
	ldr	r3, .L12+16
	stm	sp, {r2-r3}
	mov	r2, #0
	mov	r3, #0
	bl	CLAMP
	mov	r4, r0
	mov	r5, r1
	bl	isnan
	cmp	r0, #0
	movne	r4, #0
	movne	r5, #0
	mov	r0, r4
	mov	r1, r5
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L3:
	add	r3, r1, #32
	ldmia	r3, {r2-r3}
	mov	r1, #3
	str	r2, [r4, #16]
	str	r3, [r4, #20]
	bl	Meter_setItems
	add	r3, r4, #8
	ldmia	r3, {r2-r3}
	ldmia	r4, {r0-r1}
	bl	__aeabi_dadd
	add	r3, r4, #16
	ldmia	r3, {r2-r3}
	bl	__aeabi_dadd
	b	.L4
.L13:
	.align	2
.L12:
	.word	CPU_METER_NICE
	.word	CPU_METER_NORMAL
	.word	CPU_METER_KERNEL
	.word	CPU_METER_IRQ
	.word	1079574528
	.size	Platform_setCPUValues, .-Platform_setCPUValues
	.comm	CPU_METER_NORMAL,4,4
	.comm	CPU_METER_NICE,4,4
	.comm	CPU_METER_KERNEL,4,4
	.comm	CPU_METER_IRQ,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
