	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vega20_od8_set_feature_id
_vega20_od8_set_feature_id:             ## @vega20_od8_set_feature_id
	.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), %rcx
	movl	(%rcx), %eax
	movq	_OD8_GFXCLK_LIMITS@GOTPCREL(%rip), %rdx
	movl	(%rdx), %esi
	movq	8(%rcx), %rcx
	movq	_OD8_SETTING_GFXCLK_FMIN@GOTPCREL(%rip), %rdi
	movq	(%rdi), %rdi
	testl	%eax, %esi
	je	LBB0_2
## %bb.1:
	movl	%esi, (%rcx,%rdi,4)
	movl	(%rdx), %edx
	jmp	LBB0_3
LBB0_2:
	movl	$0, (%rcx,%rdi,4)
	xorl	%edx, %edx
LBB0_3:
	movq	_OD8_SETTING_GFXCLK_FMAX@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	movl	%edx, (%rcx,%rsi,4)
	movq	_OD8_GFXCLK_CURVE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %esi
	movq	_OD8_SETTING_GFXCLK_FREQ1@GOTPCREL(%rip), %rdi
	movq	(%rdi), %rdi
	testl	%eax, %esi
	je	LBB0_5
## %bb.4:
	movl	%esi, (%rcx,%rdi,4)
	movl	(%rdx), %esi
	movq	_OD8_SETTING_GFXCLK_VOLTAGE1@GOTPCREL(%rip), %rdi
	movq	(%rdi), %rdi
	movl	%esi, (%rcx,%rdi,4)
	movl	(%rdx), %esi
	movq	_OD8_SETTING_GFXCLK_FREQ2@GOTPCREL(%rip), %rdi
	movq	(%rdi), %rdi
	movl	%esi, (%rcx,%rdi,4)
	movl	(%rdx), %esi
	movq	_OD8_SETTING_GFXCLK_VOLTAGE2@GOTPCREL(%rip), %rdi
	movq	(%rdi), %rdi
	movl	%esi, (%rcx,%rdi,4)
	movl	(%rdx), %esi
	movq	_OD8_SETTING_GFXCLK_FREQ3@GOTPCREL(%rip), %rdi
	movq	(%rdi), %rdi
	movl	%esi, (%rcx,%rdi,4)
	movl	(%rdx), %edx
	jmp	LBB0_6
LBB0_5:
	movl	$0, (%rcx,%rdi,4)
	movq	_OD8_SETTING_GFXCLK_VOLTAGE1@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	$0, (%rcx,%rdx,4)
	movq	_OD8_SETTING_GFXCLK_FREQ2@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	$0, (%rcx,%rdx,4)
	movq	_OD8_SETTING_GFXCLK_VOLTAGE2@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	$0, (%rcx,%rdx,4)
	movq	_OD8_SETTING_GFXCLK_FREQ3@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	$0, (%rcx,%rdx,4)
	xorl	%edx, %edx
LBB0_6:
	movq	_OD8_SETTING_GFXCLK_VOLTAGE3@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	movl	%edx, (%rcx,%rsi,4)
	movq	_OD8_UCLK_MAX@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movl	%edx, %esi
	andl	%eax, %esi
	cmovnel	%edx, %esi
	movq	_OD8_SETTING_UCLK_FMAX@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	%esi, (%rcx,%rdx,4)
	movq	_OD8_POWER_LIMIT@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movl	%edx, %esi
	andl	%eax, %esi
	cmovnel	%edx, %esi
	movq	_OD8_SETTING_POWER_PERCENTAGE@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	%esi, (%rcx,%rdx,4)
	movq	_OD8_ACOUSTIC_LIMIT_SCLK@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movl	%edx, %esi
	andl	%eax, %esi
	cmovnel	%edx, %esi
	movq	_OD8_SETTING_FAN_ACOUSTIC_LIMIT@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	%esi, (%rcx,%rdx,4)
	movq	_OD8_FAN_SPEED_MIN@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movl	%edx, %esi
	andl	%eax, %esi
	cmovnel	%edx, %esi
	movq	_OD8_SETTING_FAN_MIN_SPEED@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	%esi, (%rcx,%rdx,4)
	movq	_OD8_TEMPERATURE_FAN@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movl	%edx, %esi
	andl	%eax, %esi
	cmovnel	%edx, %esi
	movq	_OD8_SETTING_FAN_TARGET_TEMP@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	%esi, (%rcx,%rdx,4)
	movq	_OD8_TEMPERATURE_SYSTEM@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	andl	%edx, %eax
	cmovnel	%edx, %eax
	movq	_OD8_SETTING_OPERATING_TEMP_MAX@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	%eax, (%rcx,%rdx,4)
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OD8_GFXCLK_LIMITS,4,2          ## @OD8_GFXCLK_LIMITS
	.comm	_OD8_SETTING_GFXCLK_FMIN,8,3    ## @OD8_SETTING_GFXCLK_FMIN
	.comm	_OD8_SETTING_GFXCLK_FMAX,8,3    ## @OD8_SETTING_GFXCLK_FMAX
	.comm	_OD8_GFXCLK_CURVE,4,2           ## @OD8_GFXCLK_CURVE
	.comm	_OD8_SETTING_GFXCLK_FREQ1,8,3   ## @OD8_SETTING_GFXCLK_FREQ1
	.comm	_OD8_SETTING_GFXCLK_VOLTAGE1,8,3 ## @OD8_SETTING_GFXCLK_VOLTAGE1
	.comm	_OD8_SETTING_GFXCLK_FREQ2,8,3   ## @OD8_SETTING_GFXCLK_FREQ2
	.comm	_OD8_SETTING_GFXCLK_VOLTAGE2,8,3 ## @OD8_SETTING_GFXCLK_VOLTAGE2
	.comm	_OD8_SETTING_GFXCLK_FREQ3,8,3   ## @OD8_SETTING_GFXCLK_FREQ3
	.comm	_OD8_SETTING_GFXCLK_VOLTAGE3,8,3 ## @OD8_SETTING_GFXCLK_VOLTAGE3
	.comm	_OD8_UCLK_MAX,4,2               ## @OD8_UCLK_MAX
	.comm	_OD8_SETTING_UCLK_FMAX,8,3      ## @OD8_SETTING_UCLK_FMAX
	.comm	_OD8_POWER_LIMIT,4,2            ## @OD8_POWER_LIMIT
	.comm	_OD8_SETTING_POWER_PERCENTAGE,8,3 ## @OD8_SETTING_POWER_PERCENTAGE
	.comm	_OD8_ACOUSTIC_LIMIT_SCLK,4,2    ## @OD8_ACOUSTIC_LIMIT_SCLK
	.comm	_OD8_SETTING_FAN_ACOUSTIC_LIMIT,8,3 ## @OD8_SETTING_FAN_ACOUSTIC_LIMIT
	.comm	_OD8_FAN_SPEED_MIN,4,2          ## @OD8_FAN_SPEED_MIN
	.comm	_OD8_SETTING_FAN_MIN_SPEED,8,3  ## @OD8_SETTING_FAN_MIN_SPEED
	.comm	_OD8_TEMPERATURE_FAN,4,2        ## @OD8_TEMPERATURE_FAN
	.comm	_OD8_SETTING_FAN_TARGET_TEMP,8,3 ## @OD8_SETTING_FAN_TARGET_TEMP
	.comm	_OD8_TEMPERATURE_SYSTEM,4,2     ## @OD8_TEMPERATURE_SYSTEM
	.comm	_OD8_SETTING_OPERATING_TEMP_MAX,8,3 ## @OD8_SETTING_OPERATING_TEMP_MAX
	.no_dead_strip	_vega20_od8_set_feature_id
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vega20_od8_set_feature_id
_vega20_od8_set_feature_id:             ; @vega20_od8_set_feature_id
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
	ldr	w9, [x8]
Lloh0:
	adrp	x10, _OD8_GFXCLK_LIMITS@GOTPAGE
Lloh1:
	ldr	x10, [x10, _OD8_GFXCLK_LIMITS@GOTPAGEOFF]
	ldr	w11, [x10]
	ldr	x8, [x8, #8]
Lloh2:
	adrp	x12, _OD8_SETTING_GFXCLK_FMIN@GOTPAGE
Lloh3:
	ldr	x12, [x12, _OD8_SETTING_GFXCLK_FMIN@GOTPAGEOFF]
Lloh4:
	ldr	x12, [x12]
	tst	w11, w9
	b.eq	LBB0_2
; %bb.1:
	str	w11, [x8, x12, lsl #2]
	ldr	w10, [x10]
	b	LBB0_3
LBB0_2:
	mov	w10, #0
	str	wzr, [x8, x12, lsl #2]
LBB0_3:
Lloh5:
	adrp	x11, _OD8_SETTING_GFXCLK_FMAX@GOTPAGE
Lloh6:
	ldr	x11, [x11, _OD8_SETTING_GFXCLK_FMAX@GOTPAGEOFF]
Lloh7:
	ldr	x11, [x11]
	str	w10, [x8, x11, lsl #2]
Lloh8:
	adrp	x10, _OD8_GFXCLK_CURVE@GOTPAGE
Lloh9:
	ldr	x10, [x10, _OD8_GFXCLK_CURVE@GOTPAGEOFF]
	ldr	w11, [x10]
Lloh10:
	adrp	x12, _OD8_SETTING_GFXCLK_FREQ1@GOTPAGE
Lloh11:
	ldr	x12, [x12, _OD8_SETTING_GFXCLK_FREQ1@GOTPAGEOFF]
Lloh12:
	ldr	x12, [x12]
	tst	w11, w9
	b.eq	LBB0_5
; %bb.4:
	str	w11, [x8, x12, lsl #2]
	ldr	w11, [x10]
Lloh13:
	adrp	x12, _OD8_SETTING_GFXCLK_VOLTAGE1@GOTPAGE
Lloh14:
	ldr	x12, [x12, _OD8_SETTING_GFXCLK_VOLTAGE1@GOTPAGEOFF]
Lloh15:
	ldr	x12, [x12]
	str	w11, [x8, x12, lsl #2]
	ldr	w11, [x10]
Lloh16:
	adrp	x12, _OD8_SETTING_GFXCLK_FREQ2@GOTPAGE
Lloh17:
	ldr	x12, [x12, _OD8_SETTING_GFXCLK_FREQ2@GOTPAGEOFF]
Lloh18:
	ldr	x12, [x12]
	str	w11, [x8, x12, lsl #2]
	ldr	w11, [x10]
Lloh19:
	adrp	x12, _OD8_SETTING_GFXCLK_VOLTAGE2@GOTPAGE
Lloh20:
	ldr	x12, [x12, _OD8_SETTING_GFXCLK_VOLTAGE2@GOTPAGEOFF]
Lloh21:
	ldr	x12, [x12]
	str	w11, [x8, x12, lsl #2]
	ldr	w11, [x10]
Lloh22:
	adrp	x12, _OD8_SETTING_GFXCLK_FREQ3@GOTPAGE
Lloh23:
	ldr	x12, [x12, _OD8_SETTING_GFXCLK_FREQ3@GOTPAGEOFF]
Lloh24:
	ldr	x12, [x12]
	str	w11, [x8, x12, lsl #2]
	ldr	w10, [x10]
	b	LBB0_6
LBB0_5:
	mov	w10, #0
	str	wzr, [x8, x12, lsl #2]
Lloh25:
	adrp	x11, _OD8_SETTING_GFXCLK_VOLTAGE1@GOTPAGE
Lloh26:
	ldr	x11, [x11, _OD8_SETTING_GFXCLK_VOLTAGE1@GOTPAGEOFF]
Lloh27:
	ldr	x11, [x11]
	str	wzr, [x8, x11, lsl #2]
Lloh28:
	adrp	x11, _OD8_SETTING_GFXCLK_FREQ2@GOTPAGE
Lloh29:
	ldr	x11, [x11, _OD8_SETTING_GFXCLK_FREQ2@GOTPAGEOFF]
Lloh30:
	ldr	x11, [x11]
	str	wzr, [x8, x11, lsl #2]
Lloh31:
	adrp	x11, _OD8_SETTING_GFXCLK_VOLTAGE2@GOTPAGE
Lloh32:
	ldr	x11, [x11, _OD8_SETTING_GFXCLK_VOLTAGE2@GOTPAGEOFF]
Lloh33:
	ldr	x11, [x11]
	str	wzr, [x8, x11, lsl #2]
Lloh34:
	adrp	x11, _OD8_SETTING_GFXCLK_FREQ3@GOTPAGE
Lloh35:
	ldr	x11, [x11, _OD8_SETTING_GFXCLK_FREQ3@GOTPAGEOFF]
Lloh36:
	ldr	x11, [x11]
	str	wzr, [x8, x11, lsl #2]
LBB0_6:
Lloh37:
	adrp	x11, _OD8_SETTING_GFXCLK_VOLTAGE3@GOTPAGE
Lloh38:
	ldr	x11, [x11, _OD8_SETTING_GFXCLK_VOLTAGE3@GOTPAGEOFF]
Lloh39:
	ldr	x11, [x11]
	str	w10, [x8, x11, lsl #2]
Lloh40:
	adrp	x10, _OD8_UCLK_MAX@GOTPAGE
Lloh41:
	ldr	x10, [x10, _OD8_UCLK_MAX@GOTPAGEOFF]
Lloh42:
	ldr	w10, [x10]
	tst	w10, w9
	csel	w10, wzr, w10, eq
Lloh43:
	adrp	x11, _OD8_SETTING_UCLK_FMAX@GOTPAGE
Lloh44:
	ldr	x11, [x11, _OD8_SETTING_UCLK_FMAX@GOTPAGEOFF]
Lloh45:
	ldr	x11, [x11]
	str	w10, [x8, x11, lsl #2]
Lloh46:
	adrp	x10, _OD8_POWER_LIMIT@GOTPAGE
Lloh47:
	ldr	x10, [x10, _OD8_POWER_LIMIT@GOTPAGEOFF]
Lloh48:
	ldr	w10, [x10]
	tst	w10, w9
	csel	w10, wzr, w10, eq
Lloh49:
	adrp	x11, _OD8_SETTING_POWER_PERCENTAGE@GOTPAGE
Lloh50:
	ldr	x11, [x11, _OD8_SETTING_POWER_PERCENTAGE@GOTPAGEOFF]
Lloh51:
	ldr	x11, [x11]
	str	w10, [x8, x11, lsl #2]
Lloh52:
	adrp	x10, _OD8_ACOUSTIC_LIMIT_SCLK@GOTPAGE
Lloh53:
	ldr	x10, [x10, _OD8_ACOUSTIC_LIMIT_SCLK@GOTPAGEOFF]
Lloh54:
	ldr	w10, [x10]
	tst	w10, w9
Lloh55:
	adrp	x11, _OD8_SETTING_FAN_ACOUSTIC_LIMIT@GOTPAGE
Lloh56:
	ldr	x11, [x11, _OD8_SETTING_FAN_ACOUSTIC_LIMIT@GOTPAGEOFF]
	csel	w10, wzr, w10, eq
Lloh57:
	ldr	x11, [x11]
	str	w10, [x8, x11, lsl #2]
Lloh58:
	adrp	x10, _OD8_FAN_SPEED_MIN@GOTPAGE
Lloh59:
	ldr	x10, [x10, _OD8_FAN_SPEED_MIN@GOTPAGEOFF]
Lloh60:
	ldr	w10, [x10]
	tst	w10, w9
	csel	w10, wzr, w10, eq
Lloh61:
	adrp	x11, _OD8_SETTING_FAN_MIN_SPEED@GOTPAGE
Lloh62:
	ldr	x11, [x11, _OD8_SETTING_FAN_MIN_SPEED@GOTPAGEOFF]
Lloh63:
	ldr	x11, [x11]
	str	w10, [x8, x11, lsl #2]
Lloh64:
	adrp	x10, _OD8_TEMPERATURE_FAN@GOTPAGE
Lloh65:
	ldr	x10, [x10, _OD8_TEMPERATURE_FAN@GOTPAGEOFF]
Lloh66:
	ldr	w10, [x10]
	tst	w10, w9
	csel	w10, wzr, w10, eq
Lloh67:
	adrp	x11, _OD8_SETTING_FAN_TARGET_TEMP@GOTPAGE
Lloh68:
	ldr	x11, [x11, _OD8_SETTING_FAN_TARGET_TEMP@GOTPAGEOFF]
Lloh69:
	ldr	x11, [x11]
	str	w10, [x8, x11, lsl #2]
Lloh70:
	adrp	x10, _OD8_TEMPERATURE_SYSTEM@GOTPAGE
Lloh71:
	ldr	x10, [x10, _OD8_TEMPERATURE_SYSTEM@GOTPAGEOFF]
Lloh72:
	ldr	w10, [x10]
	tst	w10, w9
	csel	w9, wzr, w10, eq
Lloh73:
	adrp	x10, _OD8_SETTING_OPERATING_TEMP_MAX@GOTPAGE
Lloh74:
	ldr	x10, [x10, _OD8_SETTING_OPERATING_TEMP_MAX@GOTPAGEOFF]
Lloh75:
	ldr	x10, [x10]
	str	w9, [x8, x10, lsl #2]
	mov	w0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh73, Lloh74, Lloh75
	.loh AdrpLdrGotLdr	Lloh70, Lloh71, Lloh72
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.cfi_endproc
                                        ; -- End function
	.comm	_OD8_GFXCLK_LIMITS,4,2          ; @OD8_GFXCLK_LIMITS
	.comm	_OD8_SETTING_GFXCLK_FMIN,8,3    ; @OD8_SETTING_GFXCLK_FMIN
	.comm	_OD8_SETTING_GFXCLK_FMAX,8,3    ; @OD8_SETTING_GFXCLK_FMAX
	.comm	_OD8_GFXCLK_CURVE,4,2           ; @OD8_GFXCLK_CURVE
	.comm	_OD8_SETTING_GFXCLK_FREQ1,8,3   ; @OD8_SETTING_GFXCLK_FREQ1
	.comm	_OD8_SETTING_GFXCLK_VOLTAGE1,8,3 ; @OD8_SETTING_GFXCLK_VOLTAGE1
	.comm	_OD8_SETTING_GFXCLK_FREQ2,8,3   ; @OD8_SETTING_GFXCLK_FREQ2
	.comm	_OD8_SETTING_GFXCLK_VOLTAGE2,8,3 ; @OD8_SETTING_GFXCLK_VOLTAGE2
	.comm	_OD8_SETTING_GFXCLK_FREQ3,8,3   ; @OD8_SETTING_GFXCLK_FREQ3
	.comm	_OD8_SETTING_GFXCLK_VOLTAGE3,8,3 ; @OD8_SETTING_GFXCLK_VOLTAGE3
	.comm	_OD8_UCLK_MAX,4,2               ; @OD8_UCLK_MAX
	.comm	_OD8_SETTING_UCLK_FMAX,8,3      ; @OD8_SETTING_UCLK_FMAX
	.comm	_OD8_POWER_LIMIT,4,2            ; @OD8_POWER_LIMIT
	.comm	_OD8_SETTING_POWER_PERCENTAGE,8,3 ; @OD8_SETTING_POWER_PERCENTAGE
	.comm	_OD8_ACOUSTIC_LIMIT_SCLK,4,2    ; @OD8_ACOUSTIC_LIMIT_SCLK
	.comm	_OD8_SETTING_FAN_ACOUSTIC_LIMIT,8,3 ; @OD8_SETTING_FAN_ACOUSTIC_LIMIT
	.comm	_OD8_FAN_SPEED_MIN,4,2          ; @OD8_FAN_SPEED_MIN
	.comm	_OD8_SETTING_FAN_MIN_SPEED,8,3  ; @OD8_SETTING_FAN_MIN_SPEED
	.comm	_OD8_TEMPERATURE_FAN,4,2        ; @OD8_TEMPERATURE_FAN
	.comm	_OD8_SETTING_FAN_TARGET_TEMP,8,3 ; @OD8_SETTING_FAN_TARGET_TEMP
	.comm	_OD8_TEMPERATURE_SYSTEM,4,2     ; @OD8_TEMPERATURE_SYSTEM
	.comm	_OD8_SETTING_OPERATING_TEMP_MAX,8,3 ; @OD8_SETTING_OPERATING_TEMP_MAX
	.no_dead_strip	_vega20_od8_set_feature_id
.subsections_via_symbols
