	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function smu_cpu_power_get
_smu_cpu_power_get:                     ## @smu_cpu_power_get
	.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	%rsi, %r14
	callq	_to_smu_cpu_power
	movq	%rax, %rbx
	movq	24(%rax), %rdi
	movq	(%rdi), %rax
	leaq	-20(%rbp), %rsi
	callq	*(%rax)
	testl	%eax, %eax
	jne	LBB0_7
## %bb.1:
	cmpq	$0, 16(%rbx)
	je	LBB0_3
## %bb.2:
	movl	-20(%rbp), %eax
	leal	(%rax,%rax,2), %eax
	leal	-196608(,%rax,4), %eax
LBB0_6:
	movl	%eax, (%r14)
	xorl	%eax, %eax
	jmp	LBB0_7
LBB0_3:
	movq	8(%rbx), %rdi
	movq	(%rdi), %rax
	leaq	-24(%rbp), %rsi
	callq	*(%rax)
	testl	%eax, %eax
	je	LBB0_4
LBB0_7:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_4:
	movl	-20(%rbp), %eax
	imull	-24(%rbp), %eax
	sarl	$16, %eax
	cmpl	$0, (%rbx)
	je	LBB0_6
## %bb.5:
	movl	%eax, %ecx
	imull	%eax, %ecx
	shrl	$16, %ecx
	movq	_cpuvcp@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	(%rdx), %rdx
	imull	(%rdx), %ecx
	imull	4(%rdx), %eax
	sarl	$28, %ecx
	sarl	$28, %eax
	addl	%ecx, %eax
	movl	8(%rdx), %ecx
	sarl	$12, %ecx
	addl	%ecx, %eax
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_cpuvcp,8,3                     ## @cpuvcp
	.no_dead_strip	_smu_cpu_power_get
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function smu_cpu_power_get
_smu_cpu_power_get:                     ; @smu_cpu_power_get
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x1
	bl	_to_smu_cpu_power
	mov	x20, x0
	ldr	x0, [x0, #24]
	ldr	x8, [x0]
	ldr	x8, [x8]
	add	x1, sp, #8
	blr	x8
	cbnz	w0, LBB0_5
; %bb.1:
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_4
; %bb.2:
	ldr	w8, [sp, #8]
	mov	w9, #12
	mul	w8, w8, w9
	sub	w8, w8, #48, lsl #12            ; =196608
LBB0_3:
	mov	w0, #0
	str	w8, [x19]
	b	LBB0_5
LBB0_4:
	ldr	x0, [x20, #8]
	ldr	x8, [x0]
	ldr	x8, [x8]
	add	x1, sp, #12
	blr	x8
	cbz	w0, LBB0_6
LBB0_5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_6:
	ldp	w9, w8, [sp, #8]
	mul	w8, w9, w8
	asr	w8, w8, #16
	ldr	w9, [x20]
	cbz	w9, LBB0_3
; %bb.7:
	mul	w9, w8, w8
	lsr	w9, w9, #16
Lloh0:
	adrp	x10, _cpuvcp@GOTPAGE
Lloh1:
	ldr	x10, [x10, _cpuvcp@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	ldr	x10, [x10]
	ldp	w11, w12, [x10]
	mul	w9, w11, w9
	mul	w8, w12, w8
	asr	w8, w8, #28
	add	w8, w8, w9, asr #28
	ldr	w9, [x10, #8]
	add	w8, w8, w9, asr #12
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_cpuvcp,8,3                     ; @cpuvcp
	.no_dead_strip	_smu_cpu_power_get
.subsections_via_symbols
