	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function smu8_read_sensor
_smu8_read_sensor:                      ## @smu8_read_sensor
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -104(%rbp)                ## 8-byte Spill
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movl	%esi, %r15d
	movq	%rdi, %rbx
	movq	32(%rdi), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	24(%rdi), %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	16(%rdi), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	8(%rdi), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	(%rdi), %edi
	movq	_CGS_IND_REG__SMC@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	_ixTARGET_AND_CURRENT_PROFILE_INDEX@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_cgs_read_ind_register
	movq	_TARGET_AND_CURRENT_PROFILE_INDEX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_CURR_SCLK_INDEX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%rax, %rdi
	callq	_PHM_GET_FIELD
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movl	(%rbx), %edi
	movl	(%r12), %esi
	movq	_ixTARGET_AND_CURRENT_PROFILE_INDEX_2@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	callq	_cgs_read_ind_register
	movq	_TARGET_AND_CURRENT_PROFILE_INDEX_2@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	_CURR_UVD_INDEX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%rax, %rdi
	callq	_PHM_GET_FIELD
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movl	(%rbx), %edi
	movl	(%r12), %esi
	movl	(%r14), %edx
	callq	_cgs_read_ind_register
	movl	(%r13), %esi
	movq	_CURR_VCE_INDEX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%rax, %rdi
	callq	_PHM_GET_FIELD
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	cmpl	$3, (%rcx)
	jg	LBB0_2
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_28
LBB0_2:
	movl	$4, (%rcx)
	addl	$-128, %r15d
	cmpl	$9, %r15d
	ja	LBB0_1
## %bb.3:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%r15,4), %rdx
	addq	%rcx, %rdx
	jmpq	*%rdx
LBB0_4:
	movl	(%rbx), %edi
	movq	_CGS_IND_REG__SMC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ixSMUSVI_NB_CURRENTVID@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_cgs_read_ind_register
	movq	_CURRENT_NB_VID_MASK@GOTPCREL(%rip), %rcx
	andq	(%rcx), %rax
	movq	_CURRENT_NB_VID__SHIFT@GOTPCREL(%rip), %rcx
	jmp	LBB0_6
LBB0_5:
	movl	(%rbx), %edi
	movq	_CGS_IND_REG__SMC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ixSMUSVI_GFX_CURRENTVID@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_cgs_read_ind_register
	movq	_CURRENT_GFX_VID_MASK@GOTPCREL(%rip), %rcx
	andq	(%rcx), %rax
	movq	_CURRENT_GFX_VID__SHIFT@GOTPCREL(%rip), %rcx
LBB0_6:
	movb	(%rcx), %cl
	shrq	%cl, %rax
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_smu8_convert_8Bit_index_to_voltage
                                        ## kill: def $eax killed $eax def $rax
	leal	3(%rax), %ecx
	testl	%eax, %eax
	cmovnsl	%eax, %ecx
	sarl	$2, %ecx
	movslq	%ecx, %rax
	jmp	LBB0_26
LBB0_7:
	xorl	%eax, %eax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	cmpl	$0, (%rcx)
	jmp	LBB0_15
LBB0_8:
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	cmpl	$0, (%rcx)
	jne	LBB0_17
## %bb.9:
	movq	_SMU8_MAX_HARDWARE_POWERLEVELS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jae	LBB0_1
## %bb.10:
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx), %rcx
	movq	(%rcx,%rax,8), %rax
	jmp	LBB0_26
LBB0_11:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	cmpl	$0, 4(%rax)
	jne	LBB0_17
## %bb.12:
	movq	_SMU8_MAX_HARDWARE_POWERLEVELS@GOTPCREL(%rip), %rax
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	cmpq	(%rax), %rcx
	jae	LBB0_1
## %bb.13:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	shlq	$4, %rcx
	movq	(%rax,%rcx), %rax
	jmp	LBB0_26
LBB0_14:
	xorl	%eax, %eax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	cmpl	$0, 4(%rcx)
LBB0_15:
	sete	%al
	jmp	LBB0_26
LBB0_16:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	cmpl	$0, 4(%rax)
	je	LBB0_24
LBB0_17:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	$0, (%rax)
	jmp	LBB0_27
LBB0_18:
	movq	%rbx, %rdi
	callq	_smu8_thermal_get_temperature
	jmp	LBB0_26
LBB0_19:
	movq	_PPSMC_MSG_GetAverageGraphicsActivity@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_smum_send_msg_to_smc
	movl	$50, %ecx
	testl	%eax, %eax
	jne	LBB0_21
## %bb.20:
	movl	(%rbx), %edi
	movq	_mmSMU_MP1_SRBM2P_ARG_0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_cgs_read_register
	cmpq	$100, %rax
	movl	$100, %ecx
	cmovbq	%rax, %rcx
LBB0_21:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%rcx, (%rax)
	jmp	LBB0_27
LBB0_22:
	movq	_NUM_SCLK_LEVELS@GOTPCREL(%rip), %rax
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	cmpq	(%rax), %rcx
	jae	LBB0_1
## %bb.23:
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movq	(%rax,%rcx,8), %rax
	jmp	LBB0_26
LBB0_24:
	movq	_SMU8_MAX_HARDWARE_POWERLEVELS@GOTPCREL(%rip), %rax
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	cmpq	(%rax), %rcx
	jae	LBB0_1
## %bb.25:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	shlq	$4, %rcx
	movq	8(%rax,%rcx), %rax
LBB0_26:
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
LBB0_27:
	xorl	%eax, %eax
LBB0_28:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_19, LBB0_19-LJTI0_0
.set L0_0_set_22, LBB0_22-LJTI0_0
LJTI0_0:
	.long	L0_0_set_4
	.long	L0_0_set_5
	.long	L0_0_set_7
	.long	L0_0_set_8
	.long	L0_0_set_11
	.long	L0_0_set_14
	.long	L0_0_set_16
	.long	L0_0_set_18
	.long	L0_0_set_19
	.long	L0_0_set_22
	.end_data_region
                                        ## -- End function
	.comm	_CGS_IND_REG__SMC,4,2           ## @CGS_IND_REG__SMC
	.comm	_ixTARGET_AND_CURRENT_PROFILE_INDEX,4,2 ## @ixTARGET_AND_CURRENT_PROFILE_INDEX
	.comm	_TARGET_AND_CURRENT_PROFILE_INDEX,4,2 ## @TARGET_AND_CURRENT_PROFILE_INDEX
	.comm	_CURR_SCLK_INDEX,4,2            ## @CURR_SCLK_INDEX
	.comm	_ixTARGET_AND_CURRENT_PROFILE_INDEX_2,4,2 ## @ixTARGET_AND_CURRENT_PROFILE_INDEX_2
	.comm	_TARGET_AND_CURRENT_PROFILE_INDEX_2,4,2 ## @TARGET_AND_CURRENT_PROFILE_INDEX_2
	.comm	_CURR_UVD_INDEX,4,2             ## @CURR_UVD_INDEX
	.comm	_CURR_VCE_INDEX,4,2             ## @CURR_VCE_INDEX
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_NUM_SCLK_LEVELS,8,3            ## @NUM_SCLK_LEVELS
	.comm	_ixSMUSVI_NB_CURRENTVID,4,2     ## @ixSMUSVI_NB_CURRENTVID
	.comm	_CURRENT_NB_VID_MASK,8,3        ## @CURRENT_NB_VID_MASK
	.comm	_CURRENT_NB_VID__SHIFT,8,3      ## @CURRENT_NB_VID__SHIFT
	.comm	_ixSMUSVI_GFX_CURRENTVID,4,2    ## @ixSMUSVI_GFX_CURRENTVID
	.comm	_CURRENT_GFX_VID_MASK,8,3       ## @CURRENT_GFX_VID_MASK
	.comm	_CURRENT_GFX_VID__SHIFT,8,3     ## @CURRENT_GFX_VID__SHIFT
	.comm	_SMU8_MAX_HARDWARE_POWERLEVELS,8,3 ## @SMU8_MAX_HARDWARE_POWERLEVELS
	.comm	_PPSMC_MSG_GetAverageGraphicsActivity,4,2 ## @PPSMC_MSG_GetAverageGraphicsActivity
	.comm	_mmSMU_MP1_SRBM2P_ARG_0,4,2     ## @mmSMU_MP1_SRBM2P_ARG_0
	.no_dead_strip	_smu8_read_sensor
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function smu8_read_sensor
_smu8_read_sensor:                      ; @smu8_read_sensor
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x3
	mov	x22, x1
	mov	x20, x0
	ldp	x27, x28, [x0, #24]
	ldr	x8, [x0, #16]
	str	x8, [sp, #8]                    ; 8-byte Folded Spill
	ldr	x8, [x0, #8]
	stp	x8, x2, [sp, #16]               ; 16-byte Folded Spill
	ldr	w0, [x0]
Lloh0:
	adrp	x19, _CGS_IND_REG__SMC@GOTPAGE
Lloh1:
	ldr	x19, [x19, _CGS_IND_REG__SMC@GOTPAGEOFF]
	ldr	w1, [x19]
Lloh2:
	adrp	x8, _ixTARGET_AND_CURRENT_PROFILE_INDEX@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ixTARGET_AND_CURRENT_PROFILE_INDEX@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	bl	_cgs_read_ind_register
Lloh5:
	adrp	x8, _TARGET_AND_CURRENT_PROFILE_INDEX@GOTPAGE
Lloh6:
	ldr	x8, [x8, _TARGET_AND_CURRENT_PROFILE_INDEX@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
Lloh8:
	adrp	x8, _CURR_SCLK_INDEX@GOTPAGE
Lloh9:
	ldr	x8, [x8, _CURR_SCLK_INDEX@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	bl	_PHM_GET_FIELD
	mov	x23, x0
	ldr	w0, [x20]
	ldr	w1, [x19]
Lloh11:
	adrp	x25, _ixTARGET_AND_CURRENT_PROFILE_INDEX_2@GOTPAGE
Lloh12:
	ldr	x25, [x25, _ixTARGET_AND_CURRENT_PROFILE_INDEX_2@GOTPAGEOFF]
	ldr	w2, [x25]
	bl	_cgs_read_ind_register
Lloh13:
	adrp	x26, _TARGET_AND_CURRENT_PROFILE_INDEX_2@GOTPAGE
Lloh14:
	ldr	x26, [x26, _TARGET_AND_CURRENT_PROFILE_INDEX_2@GOTPAGEOFF]
	ldr	w1, [x26]
Lloh15:
	adrp	x8, _CURR_UVD_INDEX@GOTPAGE
Lloh16:
	ldr	x8, [x8, _CURR_UVD_INDEX@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
	bl	_PHM_GET_FIELD
	mov	x24, x0
	ldr	w0, [x20]
	ldr	w1, [x19]
	ldr	w2, [x25]
	bl	_cgs_read_ind_register
	ldr	w1, [x26]
Lloh18:
	adrp	x8, _CURR_VCE_INDEX@GOTPAGE
Lloh19:
	ldr	x8, [x8, _CURR_VCE_INDEX@GOTPAGEOFF]
Lloh20:
	ldr	w2, [x8]
	bl	_PHM_GET_FIELD
	ldr	w9, [x21]
	cmp	w9, #3
	b.gt	LBB0_2
LBB0_1:
Lloh21:
	adrp	x8, _EINVAL@GOTPAGE
Lloh22:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_27
LBB0_2:
	mov	w9, #4
	str	w9, [x21]
	sub	w9, w22, #128
	cmp	w9, #9
	b.hi	LBB0_1
; %bb.3:
Lloh24:
	adrp	x10, lJTI0_0@PAGE
Lloh25:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_4
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_4:
	ldr	w0, [x20]
	ldr	w1, [x19]
Lloh26:
	adrp	x8, _ixSMUSVI_NB_CURRENTVID@GOTPAGE
Lloh27:
	ldr	x8, [x8, _ixSMUSVI_NB_CURRENTVID@GOTPAGEOFF]
Lloh28:
	ldr	w2, [x8]
	bl	_cgs_read_ind_register
Lloh29:
	adrp	x8, _CURRENT_NB_VID_MASK@GOTPAGE
Lloh30:
	ldr	x8, [x8, _CURRENT_NB_VID_MASK@GOTPAGEOFF]
Lloh31:
	ldr	x8, [x8]
	and	x8, x8, x0
Lloh32:
	adrp	x9, _CURRENT_NB_VID__SHIFT@GOTPAGE
Lloh33:
	ldr	x9, [x9, _CURRENT_NB_VID__SHIFT@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
	ldr	w0, [x20]
	ldr	w1, [x19]
Lloh34:
	adrp	x8, _ixSMUSVI_GFX_CURRENTVID@GOTPAGE
Lloh35:
	ldr	x8, [x8, _ixSMUSVI_GFX_CURRENTVID@GOTPAGEOFF]
Lloh36:
	ldr	w2, [x8]
	bl	_cgs_read_ind_register
Lloh37:
	adrp	x8, _CURRENT_GFX_VID_MASK@GOTPAGE
Lloh38:
	ldr	x8, [x8, _CURRENT_GFX_VID_MASK@GOTPAGEOFF]
Lloh39:
	ldr	x8, [x8]
	and	x8, x8, x0
Lloh40:
	adrp	x9, _CURRENT_GFX_VID__SHIFT@GOTPAGE
Lloh41:
	ldr	x9, [x9, _CURRENT_GFX_VID__SHIFT@GOTPAGEOFF]
LBB0_6:
	ldr	x9, [x9]
	lsr	x1, x8, x9
	mov	x0, x20
	bl	_smu8_convert_8Bit_index_to_voltage
	mov	x8, x0
	mov	w0, #0
	add	w9, w8, #3
	cmp	w8, #0
	csel	w8, w9, w8, lt
	sbfx	x8, x8, #2, #30
	b	LBB0_25
LBB0_7:
	mov	w0, #0
	ldr	w8, [x28]
	b	LBB0_15
LBB0_8:
	ldr	w9, [x28]
	cbnz	w9, LBB0_17
; %bb.9:
	mov	x8, x0
Lloh42:
	adrp	x9, _SMU8_MAX_HARDWARE_POWERLEVELS@GOTPAGE
Lloh43:
	ldr	x9, [x9, _SMU8_MAX_HARDWARE_POWERLEVELS@GOTPAGEOFF]
Lloh44:
	ldr	x9, [x9]
	cmp	x0, x9
	b.hs	LBB0_1
; %bb.10:
	mov	w0, #0
	ldr	x9, [sp, #8]                    ; 8-byte Folded Reload
	ldr	x9, [x9]
	ldr	x8, [x9, x8, lsl #3]
	b	LBB0_25
LBB0_11:
	ldr	w8, [x28, #4]
	cbnz	w8, LBB0_17
; %bb.12:
Lloh45:
	adrp	x8, _SMU8_MAX_HARDWARE_POWERLEVELS@GOTPAGE
Lloh46:
	ldr	x8, [x8, _SMU8_MAX_HARDWARE_POWERLEVELS@GOTPAGEOFF]
Lloh47:
	ldr	x8, [x8]
	cmp	x24, x8
	b.hs	LBB0_1
; %bb.13:
	mov	w0, #0
	ldr	x8, [sp, #16]                   ; 8-byte Folded Reload
	ldr	x8, [x8]
	lsl	x9, x24, #4
	ldr	x8, [x8, x9]
	b	LBB0_25
LBB0_14:
	mov	w0, #0
	ldr	w8, [x28, #4]
LBB0_15:
	cmp	w8, #0
	cset	w8, eq
	b	LBB0_25
LBB0_16:
	ldr	w8, [x28, #4]
	cbz	w8, LBB0_23
LBB0_17:
	mov	w0, #0
	ldr	x8, [sp, #24]                   ; 8-byte Folded Reload
	str	xzr, [x8]
	b	LBB0_27
LBB0_18:
	mov	x0, x20
	bl	_smu8_thermal_get_temperature
	mov	x8, x0
	mov	w0, #0
	b	LBB0_25
LBB0_19:
Lloh48:
	adrp	x8, _PPSMC_MSG_GetAverageGraphicsActivity@GOTPAGE
Lloh49:
	ldr	x8, [x8, _PPSMC_MSG_GetAverageGraphicsActivity@GOTPAGEOFF]
Lloh50:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_smum_send_msg_to_smc
	cbz	w0, LBB0_28
; %bb.20:
	mov	w8, #50
	b	LBB0_29
LBB0_21:
Lloh51:
	adrp	x8, _NUM_SCLK_LEVELS@GOTPAGE
Lloh52:
	ldr	x8, [x8, _NUM_SCLK_LEVELS@GOTPAGEOFF]
Lloh53:
	ldr	x8, [x8]
	cmp	x23, x8
	b.hs	LBB0_1
; %bb.22:
	mov	w0, #0
	ldr	x8, [x27]
	ldr	x8, [x8, x23, lsl #3]
	b	LBB0_25
LBB0_23:
Lloh54:
	adrp	x8, _SMU8_MAX_HARDWARE_POWERLEVELS@GOTPAGE
Lloh55:
	ldr	x8, [x8, _SMU8_MAX_HARDWARE_POWERLEVELS@GOTPAGEOFF]
Lloh56:
	ldr	x8, [x8]
	cmp	x24, x8
	b.hs	LBB0_1
; %bb.24:
	mov	w0, #0
	ldr	x8, [sp, #16]                   ; 8-byte Folded Reload
	ldr	x8, [x8]
	add	x8, x8, x24, lsl #4
	ldr	x8, [x8, #8]
LBB0_25:
	ldr	x9, [sp, #24]                   ; 8-byte Folded Reload
LBB0_26:
	str	x8, [x9]
LBB0_27:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_28:
	ldr	w0, [x20]
Lloh57:
	adrp	x8, _mmSMU_MP1_SRBM2P_ARG_0@GOTPAGE
Lloh58:
	ldr	x8, [x8, _mmSMU_MP1_SRBM2P_ARG_0@GOTPAGEOFF]
Lloh59:
	ldr	w1, [x8]
	bl	_cgs_read_register
	mov	w8, #100
	cmp	x0, #100
	csel	x8, x0, x8, lo
LBB0_29:
	ldr	x9, [sp, #24]                   ; 8-byte Folded Reload
	mov	w0, #0
	b	LBB0_26
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_5-LBB0_4)>>2
	.byte	(LBB0_7-LBB0_4)>>2
	.byte	(LBB0_8-LBB0_4)>>2
	.byte	(LBB0_11-LBB0_4)>>2
	.byte	(LBB0_14-LBB0_4)>>2
	.byte	(LBB0_16-LBB0_4)>>2
	.byte	(LBB0_18-LBB0_4)>>2
	.byte	(LBB0_19-LBB0_4)>>2
	.byte	(LBB0_21-LBB0_4)>>2
                                        ; -- End function
	.comm	_CGS_IND_REG__SMC,4,2           ; @CGS_IND_REG__SMC
	.comm	_ixTARGET_AND_CURRENT_PROFILE_INDEX,4,2 ; @ixTARGET_AND_CURRENT_PROFILE_INDEX
	.comm	_TARGET_AND_CURRENT_PROFILE_INDEX,4,2 ; @TARGET_AND_CURRENT_PROFILE_INDEX
	.comm	_CURR_SCLK_INDEX,4,2            ; @CURR_SCLK_INDEX
	.comm	_ixTARGET_AND_CURRENT_PROFILE_INDEX_2,4,2 ; @ixTARGET_AND_CURRENT_PROFILE_INDEX_2
	.comm	_TARGET_AND_CURRENT_PROFILE_INDEX_2,4,2 ; @TARGET_AND_CURRENT_PROFILE_INDEX_2
	.comm	_CURR_UVD_INDEX,4,2             ; @CURR_UVD_INDEX
	.comm	_CURR_VCE_INDEX,4,2             ; @CURR_VCE_INDEX
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_NUM_SCLK_LEVELS,8,3            ; @NUM_SCLK_LEVELS
	.comm	_ixSMUSVI_NB_CURRENTVID,4,2     ; @ixSMUSVI_NB_CURRENTVID
	.comm	_CURRENT_NB_VID_MASK,8,3        ; @CURRENT_NB_VID_MASK
	.comm	_CURRENT_NB_VID__SHIFT,8,3      ; @CURRENT_NB_VID__SHIFT
	.comm	_ixSMUSVI_GFX_CURRENTVID,4,2    ; @ixSMUSVI_GFX_CURRENTVID
	.comm	_CURRENT_GFX_VID_MASK,8,3       ; @CURRENT_GFX_VID_MASK
	.comm	_CURRENT_GFX_VID__SHIFT,8,3     ; @CURRENT_GFX_VID__SHIFT
	.comm	_SMU8_MAX_HARDWARE_POWERLEVELS,8,3 ; @SMU8_MAX_HARDWARE_POWERLEVELS
	.comm	_PPSMC_MSG_GetAverageGraphicsActivity,4,2 ; @PPSMC_MSG_GetAverageGraphicsActivity
	.comm	_mmSMU_MP1_SRBM2P_ARG_0,4,2     ; @mmSMU_MP1_SRBM2P_ARG_0
	.no_dead_strip	_smu8_read_sensor
.subsections_via_symbols
