	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function navi10_populate_umd_state_clk
_navi10_populate_umd_state_clk:         ## @navi10_populate_umd_state_clk
	.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
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movl	$0, -16(%rbp)
	movl	$0, -12(%rbp)
	movq	_SMU_SCLK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-16(%rbp), %rdx
	xorl	%ecx, %ecx
	callq	_smu_get_dpm_freq_range
	testl	%eax, %eax
	jne	LBB0_3
## %bb.1:
	imull	$100, -16(%rbp), %eax
	movl	%eax, (%rbx)
	movq	_SMU_MCLK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-12(%rbp), %rdx
	movq	%rbx, %rdi
	xorl	%ecx, %ecx
	callq	_smu_get_dpm_freq_range
	testl	%eax, %eax
	jne	LBB0_3
## %bb.2:
	imull	$100, -12(%rbp), %eax
	movl	%eax, 4(%rbx)
	xorl	%eax, %eax
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SMU_SCLK,4,2                   ## @SMU_SCLK
	.comm	_SMU_MCLK,4,2                   ## @SMU_MCLK
	.no_dead_strip	_navi10_populate_umd_state_clk
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function navi10_populate_umd_state_clk
_navi10_populate_umd_state_clk:         ; @navi10_populate_umd_state_clk
	.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, x0
	str	xzr, [sp, #8]
Lloh0:
	adrp	x8, _SMU_SCLK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SMU_SCLK@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x2, sp, #12
	mov	x3, #0
	bl	_smu_get_dpm_freq_range
	cbnz	w0, LBB0_3
; %bb.1:
	ldr	w8, [sp, #12]
	mov	w20, #100
	mul	w8, w8, w20
	str	w8, [x19]
Lloh3:
	adrp	x8, _SMU_MCLK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SMU_MCLK@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	add	x2, sp, #8
	mov	x0, x19
	mov	x3, #0
	bl	_smu_get_dpm_freq_range
	cbnz	w0, LBB0_3
; %bb.2:
	ldr	w8, [sp, #8]
	mul	w8, w8, w20
	str	w8, [x19, #4]
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_SMU_SCLK,4,2                   ; @SMU_SCLK
	.comm	_SMU_MCLK,4,2                   ; @SMU_MCLK
	.no_dead_strip	_navi10_populate_umd_state_clk
.subsections_via_symbols
