	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function smu_v12_0_populate_smc_tables
_smu_v12_0_populate_smc_tables:         ## @smu_v12_0_populate_smc_tables
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	8(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_SMU_TABLE_DPMCLOCKS@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	cmpl	$0, (%rax,%rsi,4)
	je	LBB0_2
## %bb.3:
	movl	(%rdi), %ecx
	xorl	%edx, %edx
	xorl	%r8d, %r8d
	popq	%rbp
	jmp	_smu_update_table               ## TAILCALL
LBB0_2:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SMU_TABLE_DPMCLOCKS,8,3        ## @SMU_TABLE_DPMCLOCKS
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_smu_v12_0_populate_smc_tables
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function smu_v12_0_populate_smc_tables
_smu_v12_0_populate_smc_tables:         ; @smu_v12_0_populate_smc_tables
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_3
; %bb.1:
Lloh0:
	adrp	x9, _SMU_TABLE_DPMCLOCKS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SMU_TABLE_DPMCLOCKS@GOTPAGEOFF]
Lloh2:
	ldr	x1, [x9]
	ldr	w8, [x8, x1, lsl #2]
	cbz	w8, LBB0_3
; %bb.2:
	ldr	w3, [x0]
	mov	w2, #0
	mov	w4, #0
	b	_smu_update_table
LBB0_3:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_SMU_TABLE_DPMCLOCKS,8,3        ; @SMU_TABLE_DPMCLOCKS
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_smu_v12_0_populate_smc_tables
.subsections_via_symbols
