	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function smu10_dpm_get_mclk
_smu10_dpm_get_mclk:                    ## @smu10_dpm_get_mclk
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	movq	(%rdi), %rax
	movq	(%rax), %rcx
	movq	8(%rcx), %rax
	testl	%esi, %esi
	je	LBB0_4
## %bb.3:
	movl	(%rax), %eax
	popq	%rbp
	retq
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
LBB0_4:
	movslq	(%rcx), %rcx
	movl	-4(%rax,%rcx,4), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_smu10_dpm_get_mclk
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function smu10_dpm_get_mclk
_smu10_dpm_get_mclk:                    ; @smu10_dpm_get_mclk
	.cfi_startproc
; %bb.0:
	cbz	x0, LBB0_3
; %bb.1:
	ldr	x8, [x0]
	ldr	x9, [x8]
	ldr	x8, [x9, #8]
	cbz	w1, LBB0_4
; %bb.2:
	ldr	w0, [x8]
	ret
LBB0_3:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	ret
LBB0_4:
	ldrsw	x9, [x9]
	add	x8, x8, x9, lsl #2
	ldur	w0, [x8, #-4]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_smu10_dpm_get_mclk
.subsections_via_symbols
