	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dm_pp_get_static_clocks        ## -- Begin function dm_pp_get_static_clocks
	.p2align	4, 0x90
_dm_pp_get_static_clocks:               ## @dm_pp_get_static_clocks
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -24
	movq	%rsi, %rbx
	movq	(%rdi), %rdi
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -32(%rbp)
	movq	16(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movl	8(%rdi), %edi
	leaq	-32(%rbp), %rsi
	callq	*%rax
	jmp	LBB0_6
LBB0_3:
	cmpq	$0, (%rdi)
	je	LBB0_4
## %bb.5:
	leaq	-32(%rbp), %rsi
	callq	_smu_get_current_clocks
LBB0_6:
	xorl	%ecx, %ecx
	testl	%eax, %eax
	jne	LBB0_9
## %bb.7:
	movl	-24(%rbp), %edi
	jmp	LBB0_8
LBB0_4:
	xorl	%edi, %edi
LBB0_8:
	callq	_pp_to_dc_powerlevel_state
	movl	%eax, 8(%rbx)
	movl	-32(%rbp), %eax
	addl	%eax, %eax
	leal	(%rax,%rax,4), %eax
	movl	%eax, (%rbx)
	movl	-28(%rbp), %eax
	addl	%eax, %eax
	leal	(%rax,%rax,4), %eax
	movl	%eax, 4(%rbx)
	movl	$1, %ecx
LBB0_9:
	movl	%ecx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dm_pp_get_static_clocks        ; -- Begin function dm_pp_get_static_clocks
	.p2align	2
_dm_pp_get_static_clocks:               ; @dm_pp_get_static_clocks
	.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
	ldr	x0, [x0]
	stp	xzr, xzr, [sp]
	ldr	x8, [x0, #16]
	cbz	x8, LBB0_4
; %bb.1:
	ldr	x8, [x8]
	cbz	x8, LBB0_4
; %bb.2:
	ldr	w0, [x0, #8]
	mov	x1, sp
	blr	x8
	cbz	w0, LBB0_6
LBB0_3:
	mov	w0, #0
	b	LBB0_9
LBB0_4:
	ldr	x8, [x0]
	cbz	x8, LBB0_7
; %bb.5:
	mov	x1, sp
	bl	_smu_get_current_clocks
	cbnz	w0, LBB0_3
LBB0_6:
	ldr	w0, [sp, #8]
	b	LBB0_8
LBB0_7:
	mov	w0, #0
LBB0_8:
	bl	_pp_to_dc_powerlevel_state
	str	w0, [x19, #8]
	ldr	d0, [sp]
	movi.2s	v1, #10
	mul.2s	v0, v0, v1
	str	d0, [x19]
	mov	w0, #1
LBB0_9:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
