	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function smu8_get_sclk_level
_smu8_get_sclk_level:                   ## @smu8_get_sclk_level
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $edx killed $edx def $rdx
	xorl	%eax, %eax
	addl	$-128, %edx
	cmpl	$3, %edx
	ja	LBB0_10
## %bb.1:
	movq	(%rdi), %rcx
	leaq	LJTI0_0(%rip), %rdi
	movslq	(%rdi,%rdx,4), %rdx
	addq	%rdi, %rdx
	jmpq	*%rdx
LBB0_2:
	movq	8(%rcx), %rdx
	testl	%edx, %edx
	jle	LBB0_10
## %bb.3:
	movl	%edx, %edi
	movq	(%rcx), %rcx
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	%esi, (%rcx,%rax,4)
	jge	LBB0_10
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	incq	%rax
	cmpq	%rax, %rdi
	jne	LBB0_4
## %bb.6:
	movl	%edx, %eax
LBB0_10:
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
LBB0_7:
	movl	8(%rcx), %eax
	leal	-1(%rax), %edi
	cmpl	$-1, %edi
	movl	$-1, %r8d
	cmovll	%edi, %r8d
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	decl	%eax
	js	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	movq	(%rcx), %rdi
	movl	%eax, %edx
	cmpl	%esi, (%rdi,%rdx,4)
	jg	LBB0_8
	jmp	LBB0_10
LBB0_11:
	movl	%r8d, %eax
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_7
	.long	L0_0_set_2
	.long	L0_0_set_7
	.end_data_region
                                        ## -- End function
	.no_dead_strip	_smu8_get_sclk_level
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function smu8_get_sclk_level
_smu8_get_sclk_level:                   ; @smu8_get_sclk_level
	.cfi_startproc
; %bb.0:
	sub	w9, w2, #128
	cmp	w9, #3
	b.hi	LBB0_10
; %bb.1:
	ldr	x8, [x0]
Lloh0:
	adrp	x10, lJTI0_0@PAGE
Lloh1:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_2
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_2:
	ldr	x0, [x8, #8]
	cmp	w0, #1
	b.lt	LBB0_10
; %bb.3:
	mov	x9, #0
	and	x10, x0, #0xffffffff
	ldr	x8, [x8]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x8, x9, lsl #2]
	cmp	w11, w1
	b.ge	LBB0_12
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x9, x9, #1
	cmp	x10, x9
	b.ne	LBB0_4
	b	LBB0_9
LBB0_6:
	ldr	w0, [x8, #8]
	sub	w9, w0, #1
	cmn	w9, #1
	csinv	w9, w9, wzr, lt
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	subs	w0, w0, #1
	b.mi	LBB0_11
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x10, [x8]
	ldr	w10, [x10, w0, uxtw #2]
	cmp	w10, w1
	b.gt	LBB0_7
LBB0_9:
                                        ; kill: def $w0 killed $w0 killed $x0
	ret
LBB0_10:
	mov	w0, #0
                                        ; kill: def $w0 killed $w0 killed $x0
	ret
LBB0_11:
	mov	x0, x9
                                        ; kill: def $w0 killed $w0 killed $x0
	ret
LBB0_12:
	mov	x0, x9
                                        ; kill: def $w0 killed $w0 killed $x0
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
                                        ; -- End function
	.no_dead_strip	_smu8_get_sclk_level
.subsections_via_symbols
