	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function smu_set_funcs
_smu_set_funcs:                         ## @smu_set_funcs
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	%rdi, %rax
	addq	$8, %rdi
	movl	(%rax), %ecx
	leal	-130(%rcx), %edx
	cmpl	$4, %edx
	jae	LBB0_5
LBB0_1:
	movq	_PP_OVERDRIVE_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, 4(%rax)
	je	LBB0_3
## %bb.2:
	movl	$1, (%rdi)
LBB0_3:
	callq	_smu_v11_0_set_smu_funcs
LBB0_4:
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_5:
	cmpl	$129, %ecx
	je	LBB0_8
## %bb.6:
	cmpl	$128, %ecx
	je	LBB0_1
## %bb.7:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
LBB0_8:
	movq	_PP_OVERDRIVE_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, 4(%rax)
	je	LBB0_10
## %bb.9:
	movl	$1, (%rdi)
LBB0_10:
	callq	_smu_v12_0_set_smu_funcs
	jmp	LBB0_4
	.cfi_endproc
                                        ## -- End function
	.comm	_PP_OVERDRIVE_MASK,4,2          ## @PP_OVERDRIVE_MASK
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_smu_set_funcs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function smu_set_funcs
_smu_set_funcs:                         ; @smu_set_funcs
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	mov	x8, x0
	ldr	w9, [x0], #8
	sub	w10, w9, #130
	cmp	w10, #4
	b.hs	LBB0_5
LBB0_1:
	ldr	w8, [x8, #4]
Lloh0:
	adrp	x9, _PP_OVERDRIVE_MASK@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PP_OVERDRIVE_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.2:
	mov	w8, #1
	str	w8, [x0]
LBB0_3:
	bl	_smu_v11_0_set_smu_funcs
LBB0_4:
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_5:
	cmp	w9, #129
	b.eq	LBB0_8
; %bb.6:
	cmp	w9, #128
	b.eq	LBB0_1
; %bb.7:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_8:
	ldr	w8, [x8, #4]
Lloh6:
	adrp	x9, _PP_OVERDRIVE_MASK@GOTPAGE
Lloh7:
	ldr	x9, [x9, _PP_OVERDRIVE_MASK@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_10
; %bb.9:
	mov	w8, #1
	str	w8, [x0]
LBB0_10:
	bl	_smu_v12_0_set_smu_funcs
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_PP_OVERDRIVE_MASK,4,2          ; @PP_OVERDRIVE_MASK
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_smu_set_funcs
.subsections_via_symbols
