	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_atomctrl_get_smc_sclk_range_table ## -- Begin function atomctrl_get_smc_sclk_range_table
	.p2align	4, 0x90
_atomctrl_get_smc_sclk_range_table:     ## @atomctrl_get_smc_sclk_range_table
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movl	(%rdi), %ebx
	movq	_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SMU_Info@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_GetIndexIntoMasterTable
	leaq	-44(%rbp), %rdx
	leaq	-52(%rbp), %rcx
	leaq	-48(%rbp), %r8
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_smu_atom_get_data_table
	cmpl	$0, (%rax)
	jle	LBB0_3
## %bb.1:
	movq	%rax, %r15
	movq	(%r14), %rcx
	xorl	%r12d, %r12d
	xorl	%ebx, %ebx
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r15), %rax
	movl	16(%rax,%rbx), %edx
	movl	%edx, 28(%rcx,%r12)
	movl	12(%rax,%rbx), %edx
	movl	%edx, 24(%rcx,%r12)
	movl	8(%rax,%rbx), %edi
	callq	_le16_to_cpu
	movq	(%r14), %rcx
	movq	%rax, 16(%rcx,%r12)
	movq	8(%r15), %rax
	movl	4(%rax,%rbx), %edi
	callq	_le16_to_cpu
	movq	(%r14), %rcx
	movq	%rax, 8(%rcx,%r12)
	movq	8(%r15), %rax
	movl	(%rax,%rbx), %edi
	callq	_le16_to_cpu
	movq	(%r14), %rcx
	movq	%rax, (%rcx,%r12)
	incq	%r13
	movslq	(%r15), %rax
	addq	$20, %rbx
	addq	$32, %r12
	cmpq	%rax, %r13
	jl	LBB0_2
LBB0_3:
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DATA,4,2                       ## @DATA
	.comm	_SMU_Info,4,2                   ## @SMU_Info
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_atomctrl_get_smc_sclk_range_table ; -- Begin function atomctrl_get_smc_sclk_range_table
	.p2align	2
_atomctrl_get_smc_sclk_range_table:     ; @atomctrl_get_smc_sclk_range_table
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x1
	ldr	w20, [x0]
Lloh0:
	adrp	x8, _DATA@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DATA@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _SMU_Info@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SMU_Info@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_GetIndexIntoMasterTable
	mov	x1, x0
	add	x2, sp, #4
	add	x3, sp, #12
	add	x4, sp, #8
	mov	x0, x20
	bl	_smu_atom_get_data_table
	ldr	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x20, x0
	mov	x21, #0
	mov	x22, #0
	mov	x23, #0
	ldr	x8, [x19]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x20, #8]
	add	x9, x9, x22
	ldur	d0, [x9, #12]
	add	x8, x8, x21
	str	d0, [x8, #24]
	ldr	w0, [x9, #8]
	bl	_le16_to_cpu
	ldr	x8, [x19]
	add	x8, x8, x21
	str	x0, [x8, #16]
	ldr	x8, [x20, #8]
	add	x8, x8, x22
	ldr	w0, [x8, #4]
	bl	_le16_to_cpu
	ldr	x8, [x19]
	add	x8, x8, x21
	str	x0, [x8, #8]
	ldr	x8, [x20, #8]
	ldr	w0, [x8, x22]
	bl	_le16_to_cpu
	ldr	x8, [x19]
	str	x0, [x8, x21]
	add	x23, x23, #1
	ldrsw	x9, [x20]
	add	x22, x22, #20
	add	x21, x21, #32
	cmp	x23, x9
	b.lt	LBB0_2
LBB0_3:
	mov	w0, #0
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DATA,4,2                       ; @DATA
	.comm	_SMU_Info,4,2                   ; @SMU_Info
.subsections_via_symbols
