	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function read_one_cpu_vals
_read_one_cpu_vals:                     ## @read_one_cpu_vals
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r15
	movl	%edi, %r12d
	movq	_sens_cpu_temp@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%edi, %rbx
	movl	(%rax,%rbx,4), %edi
	leaq	-44(%rbp), %rsi
	callq	_wf_sensor_get
	testl	%eax, %eax
	je	LBB0_3
## %bb.1:
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_2
LBB0_3:
	movl	-44(%rbp), %edi
	callq	_FIX32TOPRINT
	leaq	L_.str.1(%rip), %rdi
	movl	%r12d, %esi
	movl	%eax, %edx
	callq	_DBG_LOTS
	movl	-44(%rbp), %eax
	movl	%eax, (%r15)
	movq	_sens_cpu_volts@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%rbx,4), %edi
	leaq	-40(%rbp), %rsi
	callq	_wf_sensor_get
	testl	%eax, %eax
	je	LBB0_5
## %bb.4:
	leaq	L_.str.2(%rip), %rdi
	jmp	LBB0_2
LBB0_5:
	movl	-40(%rbp), %edi
	callq	_FIX32TOPRINT
	leaq	L_.str.3(%rip), %rdi
	movl	%r12d, %esi
	movl	%eax, %edx
	callq	_DBG_LOTS
	movq	_sens_cpu_amps@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%rbx,4), %edi
	leaq	-36(%rbp), %rsi
	callq	_wf_sensor_get
	testl	%eax, %eax
	je	LBB0_7
## %bb.6:
	leaq	L_.str.4(%rip), %rdi
LBB0_2:
	movl	%r12d, %esi
	callq	_DBG
	movq	_EIO@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_8:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movl	-36(%rbp), %edi
	callq	_FIX32TOPRINT
	leaq	L_.str.5(%rip), %rdi
	movl	%r12d, %esi
	movl	%eax, %edx
	callq	_DBG_LOTS
	movl	-36(%rbp), %edi
	imull	-40(%rbp), %edi
	sarl	$16, %edi
	movl	%edi, (%r14)
	callq	_FIX32TOPRINT
	leaq	L_.str.6(%rip), %rdi
	movl	%r12d, %esi
	movl	%eax, %edx
	callq	_DBG_LOTS
	xorl	%eax, %eax
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_sens_cpu_temp,8,3              ## @sens_cpu_temp
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"  CPU%d: temp reading error !\n"

	.comm	_EIO,4,2                        ## @EIO
L_.str.1:                               ## @.str.1
	.asciz	"  CPU%d: temp   = %d.%03d\n"

	.comm	_sens_cpu_volts,8,3             ## @sens_cpu_volts
L_.str.2:                               ## @.str.2
	.asciz	"  CPU%d, volts reading error !\n"

L_.str.3:                               ## @.str.3
	.asciz	"  CPU%d: volts  = %d.%03d\n"

	.comm	_sens_cpu_amps,8,3              ## @sens_cpu_amps
L_.str.4:                               ## @.str.4
	.asciz	"  CPU%d, current reading error !\n"

L_.str.5:                               ## @.str.5
	.asciz	"  CPU%d: amps   = %d.%03d\n"

L_.str.6:                               ## @.str.6
	.asciz	"  CPU%d: power  = %d.%03d\n"

	.no_dead_strip	_read_one_cpu_vals
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function read_one_cpu_vals
_read_one_cpu_vals:                     ; @read_one_cpu_vals
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _sens_cpu_temp@GOTPAGE
Lloh1:
	ldr	x8, [x8, _sens_cpu_temp@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	w0, [x8, w0, sxtw #2]
	add	x1, sp, #12
	bl	_wf_sensor_get
	cbz	w0, LBB0_2
; %bb.1:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_6
LBB0_2:
	sxtw	x22, w19
	ldr	w0, [sp, #12]
	bl	_FIX32TOPRINT
	mov	x2, x0
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x19
	bl	_DBG_LOTS
	ldr	w8, [sp, #12]
	str	w8, [x21]
Lloh7:
	adrp	x8, _sens_cpu_volts@GOTPAGE
Lloh8:
	ldr	x8, [x8, _sens_cpu_volts@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
	ldr	w0, [x8, x22, lsl #2]
	add	x1, sp, #8
	bl	_wf_sensor_get
	cbz	w0, LBB0_4
; %bb.3:
Lloh10:
	adrp	x0, l_.str.2@PAGE
Lloh11:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_6
LBB0_4:
	ldr	w0, [sp, #8]
	bl	_FIX32TOPRINT
	mov	x2, x0
Lloh12:
	adrp	x0, l_.str.3@PAGE
Lloh13:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	x1, x19
	bl	_DBG_LOTS
Lloh14:
	adrp	x8, _sens_cpu_amps@GOTPAGE
Lloh15:
	ldr	x8, [x8, _sens_cpu_amps@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
	ldr	w0, [x8, x22, lsl #2]
	add	x1, sp, #4
	bl	_wf_sensor_get
	cbz	w0, LBB0_8
; %bb.5:
Lloh17:
	adrp	x0, l_.str.4@PAGE
Lloh18:
	add	x0, x0, l_.str.4@PAGEOFF
LBB0_6:
	mov	x1, x19
	bl	_DBG
Lloh19:
	adrp	x8, _EIO@GOTPAGE
Lloh20:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_7:
	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
	add	sp, sp, #64
	ret
LBB0_8:
	ldr	w0, [sp, #4]
	bl	_FIX32TOPRINT
	mov	x2, x0
Lloh22:
	adrp	x0, l_.str.5@PAGE
Lloh23:
	add	x0, x0, l_.str.5@PAGEOFF
	mov	x1, x19
	bl	_DBG_LOTS
	ldp	w9, w8, [sp, #4]
	mul	w8, w9, w8
	asr	w0, w8, #16
	str	w0, [x20]
	bl	_FIX32TOPRINT
	mov	x2, x0
Lloh24:
	adrp	x0, l_.str.6@PAGE
Lloh25:
	add	x0, x0, l_.str.6@PAGEOFF
	mov	x1, x19
	bl	_DBG_LOTS
	mov	w0, #0
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_sens_cpu_temp,8,3              ; @sens_cpu_temp
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"  CPU%d: temp reading error !\n"

	.comm	_EIO,4,2                        ; @EIO
l_.str.1:                               ; @.str.1
	.asciz	"  CPU%d: temp   = %d.%03d\n"

	.comm	_sens_cpu_volts,8,3             ; @sens_cpu_volts
l_.str.2:                               ; @.str.2
	.asciz	"  CPU%d, volts reading error !\n"

l_.str.3:                               ; @.str.3
	.asciz	"  CPU%d: volts  = %d.%03d\n"

	.comm	_sens_cpu_amps,8,3              ; @sens_cpu_amps
l_.str.4:                               ; @.str.4
	.asciz	"  CPU%d, current reading error !\n"

l_.str.5:                               ; @.str.5
	.asciz	"  CPU%d: amps   = %d.%03d\n"

l_.str.6:                               ; @.str.6
	.asciz	"  CPU%d: power  = %d.%03d\n"

	.no_dead_strip	_read_one_cpu_vals
.subsections_via_symbols
