	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function smu_v11_0_get_fan_control_mode
_smu_v11_0_get_fan_control_mode:        ## @smu_v11_0_get_fan_control_mode
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_SMU_FEATURE_FAN_CONTROL_BIT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_smu_feature_is_enabled
	testl	%eax, %eax
	jne	LBB0_1
## %bb.2:
	movq	_AMD_FAN_CTRL_MANUAL@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_AMD_FAN_CTRL_AUTO@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SMU_FEATURE_FAN_CONTROL_BIT,4,2 ## @SMU_FEATURE_FAN_CONTROL_BIT
	.comm	_AMD_FAN_CTRL_MANUAL,4,2        ## @AMD_FAN_CTRL_MANUAL
	.comm	_AMD_FAN_CTRL_AUTO,4,2          ## @AMD_FAN_CTRL_AUTO
	.no_dead_strip	_smu_v11_0_get_fan_control_mode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function smu_v11_0_get_fan_control_mode
_smu_v11_0_get_fan_control_mode:        ; @smu_v11_0_get_fan_control_mode
	.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
Lloh0:
	adrp	x8, _SMU_FEATURE_FAN_CONTROL_BIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SMU_FEATURE_FAN_CONTROL_BIT@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_smu_feature_is_enabled
Lloh3:
	adrp	x8, _AMD_FAN_CTRL_MANUAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AMD_FAN_CTRL_MANUAL@GOTPAGEOFF]
Lloh5:
	adrp	x9, _AMD_FAN_CTRL_AUTO@GOTPAGE
Lloh6:
	ldr	x9, [x9, _AMD_FAN_CTRL_AUTO@GOTPAGEOFF]
	cmp	w0, #0
	csel	x8, x8, x9, eq
	ldr	w0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SMU_FEATURE_FAN_CONTROL_BIT,4,2 ; @SMU_FEATURE_FAN_CONTROL_BIT
	.comm	_AMD_FAN_CTRL_MANUAL,4,2        ; @AMD_FAN_CTRL_MANUAL
	.comm	_AMD_FAN_CTRL_AUTO,4,2          ; @AMD_FAN_CTRL_AUTO
	.no_dead_strip	_smu_v11_0_get_fan_control_mode
.subsections_via_symbols
