	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_amdgpu_parse_extended_power_table ## -- Begin function amdgpu_parse_extended_power_table
	.p2align	4, 0x90
_amdgpu_parse_extended_power_table:     ## @amdgpu_parse_extended_power_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	$120, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_PowerPlayInfo@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_GetIndexIntoMasterTable
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	336(%rbx), %rdi
	xorl	%ebx, %ebx
	leaq	-152(%rbp), %rcx
	leaq	-144(%rbp), %r8
	leaq	-64(%rbp), %r9
	movl	%eax, %esi
	xorl	%edx, %edx
	callq	_amdgpu_atom_parse_data_header
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	336(%rax), %rax
	movq	(%rax), %r12
	movq	-64(%rbp), %r15
	movq	(%r15,%r12), %rdi
	callq	_le16_to_cpu
	cmpq	$4, %rax
	jb	LBB0_9
## %bb.3:
	movq	8(%r12,%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_9
## %bb.4:
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	movq	336(%r13), %rax
	movq	-64(%rbp), %rbx
	addq	(%rax), %rbx
	callq	_le16_to_cpu
	movq	%rax, %r14
	movl	56(%rax,%rbx), %eax
	movl	%eax, 328(%r13)
	movq	48(%r14,%rbx), %rdi
	callq	_le16_to_cpu
	movq	%rax, 320(%r13)
	movq	40(%r14,%rbx), %rdi
	callq	_le16_to_cpu
	movq	%rax, 312(%r13)
	movq	32(%r14,%rbx), %rdi
	callq	_le16_to_cpu
	movq	%rax, 304(%r13)
	movq	24(%r14,%rbx), %rdi
	callq	_le16_to_cpu
	movq	%rax, 296(%r13)
	movq	16(%r14,%rbx), %rdi
	callq	_le16_to_cpu
	movq	%rax, 288(%r13)
	movq	8(%r14,%rbx), %rdi
	callq	_le16_to_cpu
	movq	%rax, 280(%r13)
	movl	$10900, %eax                    ## imm = 0x2A94
	cmpl	$2, (%r14,%rbx)
	jl	LBB0_6
## %bb.5:
	movq	(%r14,%rbx), %rdi
	callq	_le16_to_cpu
LBB0_6:
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, 240(%rcx)
	movl	$100000, 244(%rcx)              ## imm = 0x186A0
	cmpl	$3, (%r14,%rbx)
	jl	LBB0_8
## %bb.7:
	movl	16(%r14,%rbx), %eax
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	movl	%eax, 272(%r13)
	movq	8(%r14,%rbx), %rdi
	callq	_le16_to_cpu
	movq	%rax, 264(%r13)
	movl	$4836, 248(%r13)                ## imm = 0x12E4
	movq	(%r14,%rbx), %rdi
	callq	_le16_to_cpu
	movq	%rax, 256(%r13)
LBB0_8:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	$1, 252(%rax)
LBB0_9:
	movq	(%r12,%r15), %rdi
	callq	_le16_to_cpu
	cmpq	$4, %rax
	jb	LBB0_30
## %bb.10:
	movq	40(%r12,%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_13
## %bb.11:
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movq	336(%r14), %rax
	movq	-64(%rbp), %rbx
	addq	(%rax), %rbx
	callq	_le16_to_cpu
	addq	%rax, %rbx
	leaq	172(%r14), %rdi
	movq	%rbx, %rsi
	callq	_amdgpu_parse_clk_voltage_dep_table
	testl	%eax, %eax
	jne	LBB0_12
LBB0_13:
	movq	32(%r12,%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_15
## %bb.14:
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movq	336(%r14), %rax
	movq	-64(%rbp), %rbx
	addq	(%rax), %rbx
	callq	_le16_to_cpu
	addq	%rax, %rbx
	leaq	168(%r14), %rdi
	movq	%rbx, %rsi
	callq	_amdgpu_parse_clk_voltage_dep_table
	testl	%eax, %eax
	jne	LBB0_12
LBB0_15:
	movq	24(%r12,%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_17
## %bb.16:
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movq	336(%r14), %rax
	movq	-64(%rbp), %rbx
	addq	(%rax), %rbx
	callq	_le16_to_cpu
	addq	%rax, %rbx
	leaq	164(%r14), %rdi
	movq	%rbx, %rsi
	callq	_amdgpu_parse_clk_voltage_dep_table
	testl	%eax, %eax
	jne	LBB0_12
LBB0_17:
	movq	16(%r12,%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_19
## %bb.18:
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movq	336(%r14), %rax
	movq	-64(%rbp), %rbx
	addq	(%rax), %rbx
	callq	_le16_to_cpu
	addq	%rax, %rbx
	leaq	160(%r14), %rdi
	movq	%rbx, %rsi
	callq	_amdgpu_parse_clk_voltage_dep_table
	testl	%eax, %eax
	je	LBB0_19
LBB0_12:
	movl	%eax, %ebx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_amdgpu_free_extended_power_table
	jmp	LBB0_85
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	jmp	LBB0_85
LBB0_19:
	movq	8(%r12,%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_22
## %bb.20:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	336(%rax), %rax
	movq	-64(%rbp), %rbx
	addq	(%rax), %rbx
	callq	_le16_to_cpu
	cmpq	$0, 8(%rax,%rbx)
	je	LBB0_22
## %bb.21:
	movq	%rax, %r14
	movq	(%rax,%rbx), %rax
	movq	32(%rax), %rdi
	callq	_le16_to_cpu
	movq	(%r14,%rbx), %rcx
	movl	(%rcx), %edx
	shll	$16, %edx
	orl	%edx, %eax
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	movl	%eax, 136(%r13)
	movq	24(%rcx), %rdi
	callq	_le16_to_cpu
	movq	(%r14,%rbx), %rcx
	movl	4(%rcx), %edx
	shll	$16, %edx
	orl	%edx, %eax
	movl	%eax, 140(%r13)
	movq	16(%rcx), %rdi
	callq	_le16_to_cpu
	movq	%rax, 152(%r13)
	movq	(%r14,%rbx), %rax
	movq	8(%rax), %rdi
	callq	_le16_to_cpu
	movq	%rax, 144(%r13)
LBB0_22:
	movq	(%r12,%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_30
## %bb.23:
	movq	%r15, -72(%rbp)                 ## 8-byte Spill
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	336(%rbx), %rax
	movq	-64(%rbp), %r15
	addq	(%rax), %r15
	callq	_le16_to_cpu
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	(%rax,%r15), %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$4, %esi
	callq	_kcalloc
	movq	%rax, 128(%rbx)
	testq	%rax, %rax
	je	LBB0_24
## %bb.25:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax,%r15), %eax
	testl	%eax, %eax
	jle	LBB0_29
## %bb.26:
	movq	%r12, -96(%rbp)                 ## 8-byte Spill
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax,%r15), %rbx
	xorl	%r12d, %r12d
	xorl	%r14d, %r14d
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_27:                                ## =>This Inner Loop Header: Depth=1
	movq	24(%rbx), %rdi
	callq	_le16_to_cpu
	movl	(%rbx), %ecx
	shll	$16, %ecx
	orl	%ecx, %eax
	movq	128(%r13), %rcx
	movl	%eax, (%rcx,%r12)
	movq	16(%rbx), %rdi
	callq	_le16_to_cpu
	movl	4(%rbx), %ecx
	shll	$16, %ecx
	orl	%ecx, %eax
	movq	128(%r13), %rcx
	movl	%eax, 4(%rcx,%r12)
	movq	8(%rbx), %rdi
	callq	_le16_to_cpu
	movq	128(%r13), %rcx
	movq	%rax, 8(%rcx,%r12)
	addq	$256, %rbx                      ## imm = 0x100
	incq	%r14
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movslq	(%rax,%r15), %rax
	addq	$16, %r12
	cmpq	%rax, %r14
	jl	LBB0_27
## %bb.28:
	movq	-96(%rbp), %r12                 ## 8-byte Reload
LBB0_29:
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, 120(%rcx)
	movq	-72(%rbp), %r15                 ## 8-byte Reload
LBB0_30:
	movq	(%r12,%r15), %rdi
	callq	_le16_to_cpu
	cmpq	$4, %rax
	jb	LBB0_41
## %bb.31:
	movl	36(%r12,%r15), %edi
	callq	_le32_to_cpu
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rax, 232(%rbx)
	movl	32(%r12,%r15), %edi
	callq	_le32_to_cpu
	movq	%rax, 216(%rbx)
	movq	%rax, 224(%rbx)
	movq	24(%r12,%r15), %rdi
	callq	_le16_to_cpu
	movl	%eax, (%rbx)
	xorl	%ecx, %ecx
	testl	%eax, %eax
	setne	%cl
	movl	%ecx, 4(%rbx)
	movq	$0, 208(%rbx)
	movl	20(%r12,%r15), %edi
	callq	_le32_to_cpu
	movq	%rax, 200(%rbx)
	movl	16(%r12,%r15), %edi
	callq	_le32_to_cpu
	movq	%rax, 192(%rbx)
	movq	8(%r12,%r15), %rdi
	callq	_le16_to_cpu
	movq	%rax, 184(%rbx)
	movq	(%r12,%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_41
## %bb.32:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	336(%rbx), %rax
	movq	-64(%rbp), %r13
	addq	(%rax), %r13
	callq	_le16_to_cpu
	movq	%rax, %r14
	movl	(%rax,%r13), %edi
	shll	$2, %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_kzalloc
	movq	%rax, 112(%rbx)
	testq	%rax, %rax
	je	LBB0_24
## %bb.33:
	movl	(%r14,%r13), %eax
	testl	%eax, %eax
	jle	LBB0_40
## %bb.34:
	movq	%r15, -72(%rbp)                 ## 8-byte Spill
	movq	%r12, -96(%rbp)                 ## 8-byte Spill
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movq	8(%r14,%r13), %r12
	xorl	%r15d, %r15d
	xorl	%r14d, %r14d
	jmp	LBB0_35
	.p2align	4, 0x90
LBB0_37:                                ##   in Loop: Header=BB0_35 Depth=1
	movq	8(%r12,%r15,8), %rdi
	callq	_le16_to_cpu
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	112(%rbx), %rcx
	movq	%rax, 8(%rcx,%r15)
	movl	(%r12,%r15,8), %edi
	callq	_le32_to_cpu
	movq	112(%rbx), %rcx
	movq	%rax, (%rcx,%r15)
LBB0_38:                                ##   in Loop: Header=BB0_35 Depth=1
	incq	%r14
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movslq	(%rax,%r13), %rax
	addq	$40, %r15
	cmpq	%rax, %r14
	jge	LBB0_39
LBB0_35:                                ## =>This Inner Loop Header: Depth=1
	movq	_ATOM_PP_PLATFORM_CAP_EVV@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	testl	%eax, 8(%rcx)
	je	LBB0_37
## %bb.36:                              ##   in Loop: Header=BB0_35 Depth=1
	movq	32(%r12,%r15,8), %rdi
	callq	_le16_to_cpu
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	112(%rbx), %rcx
	movq	%rax, 32(%rcx,%r15)
	movq	24(%r12,%r15,8), %rdi
	callq	_le16_to_cpu
	movq	112(%rbx), %rcx
	movq	%rax, 24(%rcx,%r15)
	movq	16(%r12,%r15,8), %rdi
	callq	_le16_to_cpu
	movq	112(%rbx), %rcx
	movq	%rax, 16(%rcx,%r15)
	jmp	LBB0_38
LBB0_39:
	movq	-96(%rbp), %r12                 ## 8-byte Reload
	movq	-72(%rbp), %r15                 ## 8-byte Reload
LBB0_40:
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, 104(%rcx)
LBB0_41:
	movq	(%r12,%r15), %rdi
	callq	_le16_to_cpu
	xorl	%ebx, %ebx
	cmpq	$4, %rax
	jb	LBB0_85
## %bb.42:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	336(%rax), %rax
	movq	-64(%rbp), %rbx
	addq	(%rax), %rbx
	movq	(%r12,%r15), %rdi
	callq	_le16_to_cpu
	movq	%rbx, -88(%rbp)                 ## 8-byte Spill
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	8(%rax,%rbx), %rdi
	callq	_le16_to_cpu
	movq	_SIZE_OF_ATOM_PPLIB_EXTENDEDHEADER_V2@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jl	LBB0_51
## %bb.43:
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movq	56(%rcx,%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_51
## %bb.44:
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	movq	336(%r13), %rax
	movq	(%rax), %r14
	movq	-64(%rbp), %rbx
	callq	_le16_to_cpu
	movq	%rax, %r15
	movq	%r14, -96(%rbp)                 ## 8-byte Spill
	movq	%rbx, -120(%rbp)                ## 8-byte Spill
	addq	%rbx, %r14
	movq	%r14, -72(%rbp)                 ## 8-byte Spill
	movq	336(%r13), %rax
	movq	(%rax), %rbx
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movq	56(%rcx,%rax), %rdi
	addq	-64(%rbp), %rbx
	callq	_le16_to_cpu
	movq	%r15, %rdx
	movslq	1(%r15,%r14), %rcx
	shlq	$3, %rcx
	leaq	(%rcx,%rcx,2), %r14
	leaq	(%rax,%rbx), %r15
	addq	$2, %r15
	movq	336(%r13), %rax
	movq	(%rax), %r12
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	movq	56(%rax,%rcx), %rdi
	movq	%rdx, %rbx
	addq	-64(%rbp), %r12
	callq	_le16_to_cpu
	movq	%rax, -128(%rbp)                ## 8-byte Spill
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movslq	1(%rbx,%rax), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	%r14, -112(%rbp)                ## 8-byte Spill
	movq	%r15, -104(%rbp)                ## 8-byte Spill
	movslq	(%r15,%r14), %rbx
	leal	(,%rbx,4), %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_kzalloc
	movq	%rax, 96(%r13)
	testq	%rax, %rax
	je	LBB0_24
## %bb.45:
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movq	-120(%rbp), %rcx                ## 8-byte Reload
	leaq	(%rax,%rcx), %rdx
	incq	%rdx
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%rax,2), %rax
	shlq	$4, %rbx
	addq	-128(%rbp), %r12                ## 8-byte Folded Reload
	leaq	(%r12,%rax,8), %rsi
	addq	$3, %rsi
	movq	-112(%rbp), %rax                ## 8-byte Reload
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	movl	(%rax,%rcx), %eax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, 88(%rcx)
	movq	%rbx, -128(%rbp)                ## 8-byte Spill
	movq	%rsi, -136(%rbp)                ## 8-byte Spill
	movq	8(%rbx,%rsi), %rcx
	movq	%rcx, -120(%rbp)                ## 8-byte Spill
	testl	%eax, %eax
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	jle	LBB0_48
## %bb.46:
	movq	-112(%rbp), %rax                ## 8-byte Reload
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	movq	8(%rax,%rcx), %rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	xorl	%ebx, %ebx
	xorl	%r15d, %r15d
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_47:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%rdi,%rdx), %r12
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movslq	(%rax,%rbx,8), %rax
	leaq	(%rax,%rax,2), %r14
	shlq	$6, %r14
	movq	16(%r12,%r14), %rdi
	callq	_le16_to_cpu
	movl	(%r12,%r14), %ecx
	shll	$16, %ecx
	orl	%ecx, %eax
	movq	96(%r13), %rcx
	movl	%eax, (%rcx,%rbx)
	movq	8(%r12,%r14), %rdi
	callq	_le16_to_cpu
	movl	4(%r12,%r14), %ecx
	shll	$16, %ecx
	orl	%ecx, %eax
	movq	96(%r13), %rcx
	movl	%eax, 4(%rcx,%rbx)
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax,%rbx,8), %rdi
	callq	_le16_to_cpu
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	movq	96(%r13), %rcx
	movq	%rax, 8(%rcx,%rbx)
	incq	%r15
	movq	-112(%rbp), %rax                ## 8-byte Reload
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	movslq	(%rax,%rcx), %rax
	addq	$16, %rbx
	cmpq	%rax, %r15
	jl	LBB0_47
LBB0_48:
	movq	-128(%rbp), %rax                ## 8-byte Reload
	movq	-136(%rbp), %rcx                ## 8-byte Reload
	movq	(%rax,%rcx), %rax
	movq	_AMD_MAX_VCE_LEVELS@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	%rcx, %rax
	cmovlq	%rax, %rcx
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	%ecx, 12(%rax)
	testl	%ecx, %ecx
	movq	-120(%rbp), %rsi                ## 8-byte Reload
	jle	LBB0_51
## %bb.49:
	xorl	%r12d, %r12d
	xorl	%r14d, %r14d
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_50:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%rdi,%rdx), %r15
	movslq	(%rsi,%r12,4), %rax
	leaq	(%rax,%rax,2), %rbx
	shlq	$6, %rbx
	movq	16(%r15,%rbx), %rdi
	callq	_le16_to_cpu
	movl	(%r15,%rbx), %ecx
	shll	$16, %ecx
	orl	%ecx, %eax
	movq	176(%r13), %rcx
	movl	%eax, (%rcx,%r12)
	movq	8(%r15,%rbx), %rdi
	callq	_le16_to_cpu
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	-120(%rbp), %rsi                ## 8-byte Reload
	movl	4(%r15,%rbx), %ecx
	shll	$16, %ecx
	orl	%ecx, %eax
	movq	176(%r13), %rcx
	movl	%eax, 4(%rcx,%r12)
	movl	4(%rsi,%r12,4), %eax
	movl	%eax, %edx
	andl	$63, %edx
	movl	%edx, 8(%rcx,%r12)
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	shrl	$6, %eax
	andl	$3, %eax
	movl	%eax, 12(%rcx,%r12)
	incq	%r14
	movslq	12(%r13), %rax
	addq	$16, %r12
	cmpq	%rax, %r14
	jl	LBB0_50
LBB0_51:
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movq	8(%rcx,%rax), %rdi
	callq	_le16_to_cpu
	movq	_SIZE_OF_ATOM_PPLIB_EXTENDEDHEADER_V3@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jl	LBB0_57
## %bb.52:
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movq	48(%rcx,%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_57
## %bb.53:
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	movq	336(%r13), %rax
	movq	(%rax), %r15
	movq	-64(%rbp), %rbx
	callq	_le16_to_cpu
	movq	%rax, %r14
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, -104(%rbp)                ## 8-byte Spill
	leaq	(%r15,%rbx), %r12
	movq	336(%r13), %rax
	movq	(%rax), %r15
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movq	48(%rcx,%rax), %rdi
	addq	-64(%rbp), %r15
	callq	_le16_to_cpu
	movslq	1(%r14,%r12), %rcx
	movq	%r14, %rbx
	shlq	$3, %rcx
	leaq	(%rcx,%rcx,2), %rcx
	leaq	(%rax,%r15), %rdx
	addq	$2, %rdx
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movq	%rdx, -96(%rbp)                 ## 8-byte Spill
	movl	(%rdx,%rcx), %edi
	shll	$2, %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_kzalloc
	movq	%rax, 80(%r13)
	testq	%rax, %rax
	je	LBB0_24
## %bb.54:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rax,%rcx), %eax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, 72(%rcx)
	testl	%eax, %eax
	jle	LBB0_57
## %bb.55:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	addq	%rcx, %rax
	incq	%rax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	movq	8(%rax,%rcx), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
	xorl	%r15d, %r15d
	movq	%rbx, -112(%rbp)                ## 8-byte Spill
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_56:                                ## =>This Inner Loop Header: Depth=1
	movq	-104(%rbp), %rax                ## 8-byte Reload
	movq	8(%rbx,%rax), %rbx
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movslq	(%rax,%r14,8), %rax
	leaq	(%rax,%rax,2), %r12
	shlq	$6, %r12
	movq	16(%rbx,%r12), %rdi
	callq	_le16_to_cpu
	movl	(%rbx,%r12), %ecx
	shll	$16, %ecx
	orl	%ecx, %eax
	movq	80(%r13), %rcx
	movl	%eax, (%rcx,%r14)
	movq	8(%rbx,%r12), %rdi
	callq	_le16_to_cpu
	movl	4(%rbx,%r12), %ecx
	movq	-112(%rbp), %rbx                ## 8-byte Reload
	shll	$16, %ecx
	orl	%ecx, %eax
	movq	80(%r13), %rcx
	movl	%eax, 4(%rcx,%r14)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax,%r14,8), %rdi
	callq	_le16_to_cpu
	movq	80(%r13), %rcx
	movq	%rax, 8(%rcx,%r14)
	incq	%r15
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	movslq	(%rax,%rcx), %rax
	addq	$16, %r14
	cmpq	%rax, %r15
	jl	LBB0_56
LBB0_57:
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movq	8(%rcx,%rax), %rdi
	callq	_le16_to_cpu
	movq	_SIZE_OF_ATOM_PPLIB_EXTENDEDHEADER_V4@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jl	LBB0_63
## %bb.58:
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movq	40(%rcx,%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_63
## %bb.59:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	336(%rbx), %rax
	movq	(%rax), %r14
	movq	-64(%rbp), %r15
	callq	_le16_to_cpu
	leaq	(%r14,%r15), %rcx
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	1(%rax,%rcx), %edi
	shll	$2, %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_kzalloc
	movq	%rax, 64(%rbx)
	testq	%rax, %rax
	je	LBB0_24
## %bb.60:
	addq	%r14, %r15
	incq	%r15
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax,%r15), %eax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, 56(%rcx)
	testl	%eax, %eax
	jle	LBB0_63
## %bb.61:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax,%r15), %rbx
	addq	$16, %rbx
	xorl	%r12d, %r12d
	xorl	%r14d, %r14d
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_62:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rdi
	callq	_le16_to_cpu
	movl	-16(%rbx), %ecx
	shll	$16, %ecx
	orl	%ecx, %eax
	movq	64(%r13), %rcx
	movl	%eax, (%rcx,%r12)
	movq	-8(%rbx), %rdi
	callq	_le16_to_cpu
	movq	64(%r13), %rcx
	movq	%rax, 8(%rcx,%r12)
	incq	%r14
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movslq	(%rax,%r15), %rax
	addq	$16, %r12
	addq	$192, %rbx
	cmpq	%rax, %r14
	jl	LBB0_62
LBB0_63:
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	movq	-80(%rbp), %r15                 ## 8-byte Reload
	movq	8(%r15,%rbx), %rdi
	callq	_le16_to_cpu
	movq	_SIZE_OF_ATOM_PPLIB_EXTENDEDHEADER_V5@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jl	LBB0_67
## %bb.64:
	movq	32(%r15,%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_67
## %bb.65:
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	movq	336(%r13), %rax
	movq	(%rax), %r14
	movq	-64(%rbp), %rbx
	callq	_le16_to_cpu
	movq	%rax, %r12
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$4, %edi
	callq	_kzalloc
	movq	%rax, 48(%r13)
	testq	%rax, %rax
	je	LBB0_24
## %bb.66:
	addq	%r14, %rbx
	movl	40(%r12,%rbx), %ecx
	movl	%ecx, 72(%rax)
	movq	32(%r12,%rbx), %rdi
	callq	_le16_to_cpu
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movq	48(%r14), %rcx
	movq	%rax, 64(%rcx)
	movl	28(%r12,%rbx), %edi
	callq	_le32_to_cpu
	movq	48(%r14), %rcx
	movq	%rax, 56(%rcx)
	movl	24(%r12,%rbx), %edi
	callq	_le32_to_cpu
	movq	48(%r14), %rcx
	movq	%rax, 48(%rcx)
	movl	20(%r12,%rbx), %edi
	callq	_le32_to_cpu
	movq	48(%r14), %rcx
	movq	%rax, 40(%rcx)
	movl	16(%r12,%rbx), %edi
	callq	_le32_to_cpu
	movq	48(%r14), %rcx
	movq	%rax, 32(%rcx)
	movl	12(%r12,%rbx), %edi
	callq	_le32_to_cpu
	movq	48(%r14), %rcx
	movq	%rax, 24(%rcx)
	movl	8(%r12,%rbx), %edi
	callq	_le32_to_cpu
	movq	48(%r14), %rcx
	movq	%rax, 16(%rcx)
	movl	4(%r12,%rbx), %edi
	callq	_le32_to_cpu
	movq	48(%r14), %rcx
	movq	%rax, 8(%rcx)
	movl	(%r12,%rbx), %edi
	callq	_le32_to_cpu
	movq	48(%r14), %rcx
	movq	%rax, (%rcx)
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
LBB0_67:
	movq	8(%r15,%rbx), %rdi
	callq	_le16_to_cpu
	movq	_SIZE_OF_ATOM_PPLIB_EXTENDEDHEADER_V6@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jl	LBB0_73
## %bb.68:
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movq	24(%rcx,%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_73
## %bb.69:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	336(%rbx), %rax
	movq	(%rax), %r14
	movq	-64(%rbp), %r15
	callq	_le16_to_cpu
	leaq	(%r14,%r15), %rcx
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	1(%rax,%rcx), %edi
	shll	$2, %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_kzalloc
	movq	%rax, 40(%rbx)
	testq	%rax, %rax
	je	LBB0_24
## %bb.70:
	addq	%r14, %r15
	incq	%r15
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax,%r15), %eax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, 32(%rcx)
	testl	%eax, %eax
	jle	LBB0_73
## %bb.71:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax,%r15), %rbx
	addq	$16, %rbx
	xorl	%r12d, %r12d
	xorl	%r14d, %r14d
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_72:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rdi
	callq	_le16_to_cpu
	movl	-16(%rbx), %ecx
	shll	$16, %ecx
	orl	%ecx, %eax
	movq	40(%r13), %rcx
	movl	%eax, (%rcx,%r12)
	movq	-8(%rbx), %rdi
	callq	_le16_to_cpu
	movq	40(%r13), %rcx
	movq	%rax, 8(%rcx,%r12)
	incq	%r14
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movslq	(%rax,%r15), %rax
	addq	$16, %r12
	addq	$192, %rbx
	cmpq	%rax, %r14
	jl	LBB0_72
LBB0_73:
	movq	-88(%rbp), %r12                 ## 8-byte Reload
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	movq	8(%rbx,%r12), %rdi
	callq	_le16_to_cpu
	movq	_SIZE_OF_ATOM_PPLIB_EXTENDEDHEADER_V7@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jl	LBB0_80
## %bb.74:
	movq	16(%rbx,%r12), %rdi
	testq	%rdi, %rdi
	je	LBB0_80
## %bb.75:
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	movq	336(%r15), %rax
	movq	-64(%rbp), %r14
	addq	(%rax), %r14
	callq	_le16_to_cpu
	movq	(%rax,%r14), %r14
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$4, %edi
	callq	_kzalloc
	movq	%rax, 24(%r15)
	testq	%rax, %rax
	je	LBB0_24
## %bb.76:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	336(%rax), %rax
	movq	-64(%rbp), %r15
	addq	(%rax), %r15
	movq	16(%rbx,%r12), %rdi
	callq	_le16_to_cpu
	movq	%rax, %rbx
	addq	%r15, %rbx
	testq	%r14, %r14
	jle	LBB0_78
## %bb.77:
	movl	(%rbx), %eax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	24(%rcx), %rcx
	movl	%eax, (%rcx)
	addq	$8, %rbx
	jmp	LBB0_79
LBB0_24:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_amdgpu_free_extended_power_table
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_85
LBB0_78:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	24(%rax), %rax
	movl	$255, (%rax)
LBB0_79:
	movq	48(%rbx), %rdi
	callq	_le16_to_cpu
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movq	24(%r14), %rcx
	movq	%rax, 56(%rcx)
	movq	40(%rbx), %rdi
	callq	_le16_to_cpu
	movq	24(%r14), %rcx
	movq	%rax, 48(%rcx)
	movq	32(%rbx), %rdi
	callq	_le16_to_cpu
	movq	24(%r14), %rcx
	movq	%rax, 40(%rcx)
	movq	24(%rbx), %rdi
	callq	_le16_to_cpu
	movq	24(%r14), %rcx
	movq	%rax, 32(%rcx)
	movq	16(%rbx), %rdi
	callq	_le16_to_cpu
	movq	24(%r14), %rcx
	movq	%rax, 24(%rcx)
	movq	8(%rbx), %rdi
	callq	_le16_to_cpu
	movq	24(%r14), %rcx
	movq	%rax, 16(%rcx)
	movq	(%rbx), %rdi
	callq	_le16_to_cpu
	movq	24(%r14), %rcx
	movq	%rax, 8(%rcx)
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
LBB0_80:
	movq	8(%rbx,%r12), %rdi
	callq	_le16_to_cpu
	movq	_SIZE_OF_ATOM_PPLIB_EXTENDEDHEADER_V8@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_82
## %bb.81:
	xorl	%ebx, %ebx
	jmp	LBB0_85
LBB0_82:
	movq	(%rbx,%r12), %rdi
	testq	%rdi, %rdi
	movl	$0, %ebx
	je	LBB0_85
## %bb.83:
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	movq	336(%r15), %rax
	movq	-64(%rbp), %r14
	addq	(%rax), %r14
	callq	_le16_to_cpu
	addq	%rax, %r14
	addq	$16, %r15
	movq	%r15, %r12
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_amdgpu_parse_clk_voltage_dep_table
	testl	%eax, %eax
	je	LBB0_85
## %bb.84:
	movl	%eax, %r14d
	movl	(%r12), %edi
	callq	_kfree
	movl	%r14d, %ebx
LBB0_85:
	movl	%ebx, %eax
	addq	$120, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DATA,4,2                       ## @DATA
	.comm	_PowerPlayInfo,4,2              ## @PowerPlayInfo
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_ATOM_PP_PLATFORM_CAP_EVV,4,2   ## @ATOM_PP_PLATFORM_CAP_EVV
	.comm	_SIZE_OF_ATOM_PPLIB_EXTENDEDHEADER_V2,8,3 ## @SIZE_OF_ATOM_PPLIB_EXTENDEDHEADER_V2
	.comm	_AMD_MAX_VCE_LEVELS,8,3         ## @AMD_MAX_VCE_LEVELS
	.comm	_SIZE_OF_ATOM_PPLIB_EXTENDEDHEADER_V3,8,3 ## @SIZE_OF_ATOM_PPLIB_EXTENDEDHEADER_V3
	.comm	_SIZE_OF_ATOM_PPLIB_EXTENDEDHEADER_V4,8,3 ## @SIZE_OF_ATOM_PPLIB_EXTENDEDHEADER_V4
	.comm	_SIZE_OF_ATOM_PPLIB_EXTENDEDHEADER_V5,8,3 ## @SIZE_OF_ATOM_PPLIB_EXTENDEDHEADER_V5
	.comm	_SIZE_OF_ATOM_PPLIB_EXTENDEDHEADER_V6,8,3 ## @SIZE_OF_ATOM_PPLIB_EXTENDEDHEADER_V6
	.comm	_SIZE_OF_ATOM_PPLIB_EXTENDEDHEADER_V7,8,3 ## @SIZE_OF_ATOM_PPLIB_EXTENDEDHEADER_V7
	.comm	_SIZE_OF_ATOM_PPLIB_EXTENDEDHEADER_V8,8,3 ## @SIZE_OF_ATOM_PPLIB_EXTENDEDHEADER_V8
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_amdgpu_parse_extended_power_table ; -- Begin function amdgpu_parse_extended_power_table
	.p2align	2
_amdgpu_parse_extended_power_table:     ; @amdgpu_parse_extended_power_table
	.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	x19, x0
Lloh0:
	adrp	x8, _DATA@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DATA@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _PowerPlayInfo@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PowerPlayInfo@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_GetIndexIntoMasterTable
	mov	x1, x0
	ldr	x0, [x19, #336]
	add	x3, sp, #16
	add	x4, sp, #8
	add	x5, sp, #24
	mov	x2, #0
	bl	_amdgpu_atom_parse_data_header
	cbz	w0, LBB0_5
; %bb.1:
	ldr	x8, [x19, #336]
	ldr	x8, [x8]
	ldr	x9, [sp, #24]
	add	x21, x9, x8
	ldr	x0, [x21]
	bl	_le16_to_cpu
	cmp	x0, #4
	b.lo	LBB0_10
; %bb.2:
	ldr	x0, [x21, #8]
	cbz	x0, LBB0_10
; %bb.3:
	ldr	x8, [x19, #336]
	ldr	x8, [x8]
	ldr	x9, [sp, #24]
	add	x20, x9, x8
	bl	_le16_to_cpu
	add	x20, x20, x0
	ldr	w8, [x20, #56]
	str	w8, [x19, #328]
	ldr	x0, [x20, #48]
	bl	_le16_to_cpu
	str	x0, [x19, #320]
	ldr	x0, [x20, #40]
	bl	_le16_to_cpu
	str	x0, [x19, #312]
	ldr	x0, [x20, #32]
	bl	_le16_to_cpu
	str	x0, [x19, #304]
	ldr	x0, [x20, #24]
	bl	_le16_to_cpu
	str	x0, [x19, #296]
	ldr	x0, [x20, #16]
	bl	_le16_to_cpu
	str	x0, [x19, #288]
	ldr	x0, [x20, #8]
	bl	_le16_to_cpu
	str	x0, [x19, #280]
	ldr	w8, [x20]
	cmp	w8, #2
	b.lt	LBB0_6
; %bb.4:
	ldr	x0, [x20]
	bl	_le16_to_cpu
	b	LBB0_7
LBB0_5:
Lloh6:
	adrp	x8, _EINVAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_77
LBB0_6:
	mov	w0, #10900
LBB0_7:
	mov	w8, #34464
	movk	w8, #1, lsl #16
	stp	w0, w8, [x19, #240]
	ldr	w8, [x20]
	cmp	w8, #2
	b.le	LBB0_9
; %bb.8:
	ldr	w8, [x20, #16]
	str	w8, [x19, #272]
	ldr	x0, [x20, #8]
	bl	_le16_to_cpu
	str	x0, [x19, #264]
	mov	w8, #4836
	str	w8, [x19, #248]
	ldr	x0, [x20]
	bl	_le16_to_cpu
	str	x0, [x19, #256]
LBB0_9:
	mov	w8, #1
	str	w8, [x19, #252]
LBB0_10:
	ldr	x0, [x21]
	bl	_le16_to_cpu
	cmp	x0, #4
	b.lo	LBB0_29
; %bb.11:
	ldr	x0, [x21, #40]
	cbz	x0, LBB0_13
; %bb.12:
	ldr	x8, [x19, #336]
	ldr	x8, [x8]
	ldr	x9, [sp, #24]
	add	x20, x9, x8
	bl	_le16_to_cpu
	add	x1, x20, x0
	add	x0, x19, #172
	bl	_amdgpu_parse_clk_voltage_dep_table
	cbnz	w0, LBB0_19
LBB0_13:
	ldr	x0, [x21, #32]
	cbz	x0, LBB0_15
; %bb.14:
	ldr	x8, [x19, #336]
	ldr	x8, [x8]
	ldr	x9, [sp, #24]
	add	x20, x9, x8
	bl	_le16_to_cpu
	add	x1, x20, x0
	add	x0, x19, #168
	bl	_amdgpu_parse_clk_voltage_dep_table
	cbnz	w0, LBB0_19
LBB0_15:
	ldr	x0, [x21, #24]
	cbz	x0, LBB0_17
; %bb.16:
	ldr	x8, [x19, #336]
	ldr	x8, [x8]
	ldr	x9, [sp, #24]
	add	x20, x9, x8
	bl	_le16_to_cpu
	add	x1, x20, x0
	add	x0, x19, #164
	bl	_amdgpu_parse_clk_voltage_dep_table
	cbnz	w0, LBB0_19
LBB0_17:
	ldr	x0, [x21, #16]
	cbz	x0, LBB0_20
; %bb.18:
	ldr	x8, [x19, #336]
	ldr	x8, [x8]
	ldr	x9, [sp, #24]
	add	x20, x9, x8
	bl	_le16_to_cpu
	add	x1, x20, x0
	add	x0, x19, #160
	bl	_amdgpu_parse_clk_voltage_dep_table
	cbz	w0, LBB0_20
LBB0_19:
	mov	x20, x0
	mov	x0, x19
	bl	_amdgpu_free_extended_power_table
	b	LBB0_85
LBB0_20:
	ldr	x0, [x21, #8]
	cbz	x0, LBB0_23
; %bb.21:
	ldr	x8, [x19, #336]
	ldr	x8, [x8]
	ldr	x9, [sp, #24]
	add	x20, x9, x8
	bl	_le16_to_cpu
	add	x20, x20, x0
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_23
; %bb.22:
	ldr	x8, [x20]
	ldr	x0, [x8, #32]
	bl	_le16_to_cpu
	ldr	x8, [x20]
	ldr	w9, [x8]
	orr	w9, w0, w9, lsl #16
	str	w9, [x19, #136]
	ldr	x0, [x8, #24]
	bl	_le16_to_cpu
	ldr	x8, [x20]
	ldr	w9, [x8, #4]
	orr	w9, w0, w9, lsl #16
	str	w9, [x19, #140]
	ldr	x0, [x8, #16]
	bl	_le16_to_cpu
	str	x0, [x19, #152]
	ldr	x8, [x20]
	ldr	x0, [x8, #8]
	bl	_le16_to_cpu
	str	x0, [x19, #144]
LBB0_23:
	ldr	x0, [x21]
	cbz	x0, LBB0_29
; %bb.24:
	ldr	x8, [x19, #336]
	ldr	x8, [x8]
	ldr	x9, [sp, #24]
	add	x20, x9, x8
	bl	_le16_to_cpu
	add	x20, x20, x0
	ldr	w0, [x20]
Lloh8:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	mov	w1, #4
	bl	_kcalloc
	str	x0, [x19, #128]
	cbz	x0, LBB0_76
; %bb.25:
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_28
; %bb.26:
	mov	x22, #0
	mov	x23, #0
	ldr	x8, [x20, #8]
	add	x24, x8, #16
LBB0_27:                                ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x24, #8]
	bl	_le16_to_cpu
	ldur	w8, [x24, #-16]
	orr	w8, w0, w8, lsl #16
	ldr	x9, [x19, #128]
	str	w8, [x9, x22]
	ldr	x0, [x24]
	bl	_le16_to_cpu
	ldur	w8, [x24, #-12]
	orr	w8, w0, w8, lsl #16
	ldr	x9, [x19, #128]
	add	x9, x9, x22
	str	w8, [x9, #4]
	ldur	x0, [x24, #-8]
	bl	_le16_to_cpu
	ldr	x8, [x19, #128]
	add	x8, x8, x22
	str	x0, [x8, #8]
	add	x23, x23, #1
	ldrsw	x8, [x20]
	add	x22, x22, #16
	add	x24, x24, #256
	cmp	x23, x8
	b.lt	LBB0_27
LBB0_28:
	str	w8, [x19, #120]
LBB0_29:
	ldr	x0, [x21]
	bl	_le16_to_cpu
	cmp	x0, #4
	b.lo	LBB0_39
; %bb.30:
	ldr	w0, [x21, #36]
	bl	_le32_to_cpu
	str	x0, [x19, #232]
	ldr	w0, [x21, #32]
	bl	_le32_to_cpu
	stp	x0, x0, [x19, #216]
	ldr	x0, [x21, #24]
	bl	_le16_to_cpu
	cmp	w0, #0
	cset	w8, ne
	stp	w0, w8, [x19]
	str	xzr, [x19, #208]
	ldr	w0, [x21, #20]
	bl	_le32_to_cpu
	str	x0, [x19, #200]
	ldr	w0, [x21, #16]
	bl	_le32_to_cpu
	str	x0, [x19, #192]
	ldr	x0, [x21, #8]
	bl	_le16_to_cpu
	str	x0, [x19, #184]
	ldr	x0, [x21]
	cbz	x0, LBB0_39
; %bb.31:
	ldr	x8, [x19, #336]
	ldr	x8, [x8]
	ldr	x9, [sp, #24]
	add	x20, x9, x8
	bl	_le16_to_cpu
	add	x20, x20, x0
	ldr	w8, [x20]
	lsl	w0, w8, #2
Lloh11:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh12:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	bl	_kzalloc
	str	x0, [x19, #112]
	cbz	x0, LBB0_76
; %bb.32:
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_38
; %bb.33:
	mov	x22, #0
	mov	x23, #0
	ldr	x8, [x20, #8]
	add	x24, x8, #16
Lloh14:
	adrp	x25, _ATOM_PP_PLATFORM_CAP_EVV@GOTPAGE
Lloh15:
	ldr	x25, [x25, _ATOM_PP_PLATFORM_CAP_EVV@GOTPAGEOFF]
	b	LBB0_36
LBB0_34:                                ;   in Loop: Header=BB0_36 Depth=1
	ldur	x0, [x24, #-8]
	bl	_le16_to_cpu
	ldr	x8, [x19, #112]
	add	x8, x8, x22
	str	x0, [x8, #8]
	ldur	w0, [x24, #-16]
	bl	_le32_to_cpu
	ldr	x8, [x19, #112]
	str	x0, [x8, x22]
LBB0_35:                                ;   in Loop: Header=BB0_36 Depth=1
	add	x23, x23, #1
	ldrsw	x8, [x20]
	add	x22, x22, #40
	add	x24, x24, #320
	cmp	x23, x8
	b.ge	LBB0_38
LBB0_36:                                ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x19, #8]
	ldr	w9, [x25]
	tst	w9, w8
	b.eq	LBB0_34
; %bb.37:                               ;   in Loop: Header=BB0_36 Depth=1
	ldr	x0, [x24, #16]
	bl	_le16_to_cpu
	ldr	x8, [x19, #112]
	add	x8, x8, x22
	str	x0, [x8, #32]
	ldr	x0, [x24, #8]
	bl	_le16_to_cpu
	ldr	x8, [x19, #112]
	add	x8, x8, x22
	str	x0, [x8, #24]
	ldr	x0, [x24]
	bl	_le16_to_cpu
	ldr	x8, [x19, #112]
	add	x8, x8, x22
	str	x0, [x8, #16]
	b	LBB0_35
LBB0_38:
	str	w8, [x19, #104]
LBB0_39:
	ldr	x0, [x21]
	bl	_le16_to_cpu
	cmp	x0, #4
	b.lo	LBB0_84
; %bb.40:
	ldr	x8, [x19, #336]
	ldr	x8, [x8]
	ldr	x9, [sp, #24]
	add	x20, x9, x8
	ldr	x0, [x21]
	bl	_le16_to_cpu
	add	x21, x20, x0
	ldr	x0, [x21, #8]
	bl	_le16_to_cpu
Lloh16:
	adrp	x8, _SIZE_OF_ATOM_PPLIB_EXTENDEDHEADER_V2@GOTPAGE
Lloh17:
	ldr	x8, [x8, _SIZE_OF_ATOM_PPLIB_EXTENDEDHEADER_V2@GOTPAGEOFF]
Lloh18:
	ldr	x8, [x8]
	cmp	x0, x8
	b.lt	LBB0_49
; %bb.41:
	ldr	x0, [x21, #56]
	cbz	x0, LBB0_49
; %bb.42:
	ldr	x8, [x19, #336]
	ldr	x20, [x8]
	ldr	x22, [sp, #24]
	bl	_le16_to_cpu
	add	x8, x20, x22
	add	x22, x8, x0
	ldr	x8, [x19, #336]
	ldr	x20, [x8]
	ldr	x23, [sp, #24]
	ldr	x0, [x21, #56]
	bl	_le16_to_cpu
	ldrsw	x8, [x22, #1]!
	mov	w24, #24
	add	x9, x20, x23
	add	x9, x9, x0
	madd	x23, x8, x24, x9
	ldr	x8, [x19, #336]
	ldr	x25, [x8]
	ldr	x26, [sp, #24]
	ldr	x0, [x21, #56]
	bl	_le16_to_cpu
	mov	x20, x0
	ldrsw	x27, [x23, #2]!
	ldrsw	x28, [x22]
	lsl	w0, w27, #2
Lloh19:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh20:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	bl	_kzalloc
	str	x0, [x19, #96]
	cbz	x0, LBB0_76
; %bb.43:
	add	x8, x25, x26
	add	x8, x8, x20
	madd	x8, x28, x24, x8
	add	x8, x8, x27, lsl #4
	add	x9, x8, #3
	ldr	w8, [x23]
	str	w8, [x19, #88]
	str	x9, [sp]                        ; 8-byte Folded Spill
	ldr	x20, [x9, #8]
	cmp	w8, #1
	b.lt	LBB0_46
; %bb.44:
	mov	x25, #0
	mov	x26, #0
	ldr	x27, [x23, #8]
	mov	w28, #192
LBB0_45:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22, #8]
	ldrsw	x9, [x27]
	madd	x24, x9, x28, x8
	ldr	x0, [x24, #16]
	bl	_le16_to_cpu
	ldr	w8, [x24]
	orr	w8, w0, w8, lsl #16
	ldr	x9, [x19, #96]
	str	w8, [x9, x25]
	ldr	x0, [x24, #8]
	bl	_le16_to_cpu
	ldr	w8, [x24, #4]
	orr	w8, w0, w8, lsl #16
	ldr	x9, [x19, #96]
	add	x9, x9, x25
	str	w8, [x9, #4]
	ldr	x0, [x27, #8]
	bl	_le16_to_cpu
	ldr	x8, [x19, #96]
	add	x8, x8, x25
	str	x0, [x8, #8]
	add	x26, x26, #1
	ldrsw	x8, [x23]
	add	x25, x25, #16
	add	x27, x27, #128
	cmp	x26, x8
	b.lt	LBB0_45
LBB0_46:
Lloh22:
	adrp	x8, _AMD_MAX_VCE_LEVELS@GOTPAGE
Lloh23:
	ldr	x8, [x8, _AMD_MAX_VCE_LEVELS@GOTPAGEOFF]
	ldr	x9, [sp]                        ; 8-byte Folded Reload
	ldr	x9, [x9]
Lloh24:
	ldr	x8, [x8]
	cmp	x9, x8
	csel	x8, x9, x8, lt
	str	w8, [x19, #12]
	cmp	w8, #1
	b.lt	LBB0_49
; %bb.47:
	mov	x23, #0
	mov	x24, #0
	mov	w25, #192
LBB0_48:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22, #8]
	add	x26, x20, x23, lsl #2
	ldrsw	x9, [x26]
	madd	x27, x9, x25, x8
	ldr	x0, [x27, #16]
	bl	_le16_to_cpu
	ldr	w8, [x27]
	orr	w8, w0, w8, lsl #16
	ldr	x9, [x19, #176]
	str	w8, [x9, x23]
	ldr	x0, [x27, #8]
	bl	_le16_to_cpu
	ldr	w8, [x27, #4]
	orr	w8, w0, w8, lsl #16
	ldr	x9, [x19, #176]
	add	x9, x9, x23
	str	w8, [x9, #4]
	ldr	w8, [x26, #4]
	and	w10, w8, #0x3f
	ubfx	w8, w8, #6, #2
	stp	w10, w8, [x9, #8]
	add	x24, x24, #1
	ldrsw	x8, [x19, #12]
	add	x23, x23, #16
	cmp	x24, x8
	b.lt	LBB0_48
LBB0_49:
	ldr	x0, [x21, #8]
	bl	_le16_to_cpu
Lloh25:
	adrp	x8, _SIZE_OF_ATOM_PPLIB_EXTENDEDHEADER_V3@GOTPAGE
Lloh26:
	ldr	x8, [x8, _SIZE_OF_ATOM_PPLIB_EXTENDEDHEADER_V3@GOTPAGEOFF]
Lloh27:
	ldr	x8, [x8]
	cmp	x0, x8
	b.lt	LBB0_55
; %bb.50:
	ldr	x0, [x21, #48]
	cbz	x0, LBB0_55
; %bb.51:
	ldr	x8, [x19, #336]
	ldr	x20, [x8]
	ldr	x22, [sp, #24]
	bl	_le16_to_cpu
	add	x8, x20, x22
	add	x20, x8, x0
	ldr	x8, [x19, #336]
	ldr	x22, [x8]
	ldr	x23, [sp, #24]
	ldr	x0, [x21, #48]
	bl	_le16_to_cpu
	ldrsw	x8, [x20, #1]!
	mov	w9, #24
	add	x10, x22, x23
	add	x10, x10, x0
	madd	x22, x8, x9, x10
	ldr	w8, [x22, #2]!
	lsl	w0, w8, #2
Lloh28:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh29:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh30:
	ldr	w1, [x8]
	bl	_kzalloc
	str	x0, [x19, #80]
	cbz	x0, LBB0_76
; %bb.52:
	ldr	w8, [x22]
	str	w8, [x19, #72]
	cmp	w8, #1
	b.lt	LBB0_55
; %bb.53:
	mov	x23, #0
	mov	x24, #0
	ldr	x25, [x22, #8]
	mov	w26, #192
LBB0_54:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #8]
	ldrsw	x9, [x25]
	madd	x27, x9, x26, x8
	ldr	x0, [x27, #16]
	bl	_le16_to_cpu
	ldr	w8, [x27]
	orr	w8, w0, w8, lsl #16
	ldr	x9, [x19, #80]
	str	w8, [x9, x23]
	ldr	x0, [x27, #8]
	bl	_le16_to_cpu
	ldr	w8, [x27, #4]
	orr	w8, w0, w8, lsl #16
	ldr	x9, [x19, #80]
	add	x9, x9, x23
	str	w8, [x9, #4]
	ldr	x0, [x25, #8]
	bl	_le16_to_cpu
	ldr	x8, [x19, #80]
	add	x8, x8, x23
	str	x0, [x8, #8]
	add	x24, x24, #1
	ldrsw	x8, [x22]
	add	x23, x23, #16
	add	x25, x25, #128
	cmp	x24, x8
	b.lt	LBB0_54
LBB0_55:
	ldr	x0, [x21, #8]
	bl	_le16_to_cpu
Lloh31:
	adrp	x8, _SIZE_OF_ATOM_PPLIB_EXTENDEDHEADER_V4@GOTPAGE
Lloh32:
	ldr	x8, [x8, _SIZE_OF_ATOM_PPLIB_EXTENDEDHEADER_V4@GOTPAGEOFF]
Lloh33:
	ldr	x8, [x8]
	cmp	x0, x8
	b.lt	LBB0_61
; %bb.56:
	ldr	x0, [x21, #40]
	cbz	x0, LBB0_61
; %bb.57:
	ldr	x8, [x19, #336]
	ldr	x20, [x8]
	ldr	x22, [sp, #24]
	bl	_le16_to_cpu
	add	x8, x20, x22
	add	x20, x8, x0
	ldr	w8, [x20, #1]!
	lsl	w0, w8, #2
Lloh34:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh35:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh36:
	ldr	w1, [x8]
	bl	_kzalloc
	str	x0, [x19, #64]
	cbz	x0, LBB0_76
; %bb.58:
	ldr	w8, [x20]
	str	w8, [x19, #56]
	cmp	w8, #1
	b.lt	LBB0_61
; %bb.59:
	mov	x22, #0
	mov	x23, #0
	ldr	x8, [x20, #8]
	add	x24, x8, #16
LBB0_60:                                ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x24]
	bl	_le16_to_cpu
	ldur	w8, [x24, #-16]
	orr	w8, w0, w8, lsl #16
	ldr	x9, [x19, #64]
	str	w8, [x9, x22]
	ldur	x0, [x24, #-8]
	bl	_le16_to_cpu
	ldr	x8, [x19, #64]
	add	x8, x8, x22
	str	x0, [x8, #8]
	add	x23, x23, #1
	ldrsw	x8, [x20]
	add	x22, x22, #16
	add	x24, x24, #192
	cmp	x23, x8
	b.lt	LBB0_60
LBB0_61:
	ldr	x0, [x21, #8]
	bl	_le16_to_cpu
Lloh37:
	adrp	x8, _SIZE_OF_ATOM_PPLIB_EXTENDEDHEADER_V5@GOTPAGE
Lloh38:
	ldr	x8, [x8, _SIZE_OF_ATOM_PPLIB_EXTENDEDHEADER_V5@GOTPAGEOFF]
Lloh39:
	ldr	x8, [x8]
	cmp	x0, x8
	b.lt	LBB0_65
; %bb.62:
	ldr	x0, [x21, #32]
	cbz	x0, LBB0_65
; %bb.63:
	ldr	x8, [x19, #336]
	ldr	x22, [x8]
	ldr	x23, [sp, #24]
	bl	_le16_to_cpu
	mov	x20, x0
Lloh40:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh41:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh42:
	ldr	w1, [x8]
	mov	w0, #4
	bl	_kzalloc
	str	x0, [x19, #48]
	cbz	x0, LBB0_76
; %bb.64:
	add	x8, x23, x22
	add	x20, x8, x20
	ldr	w8, [x20, #40]
	str	w8, [x0, #72]
	ldr	x0, [x20, #32]
	bl	_le16_to_cpu
	ldr	x8, [x19, #48]
	str	x0, [x8, #64]
	ldr	w0, [x20, #28]
	bl	_le32_to_cpu
	ldr	x8, [x19, #48]
	str	x0, [x8, #56]
	ldr	w0, [x20, #24]
	bl	_le32_to_cpu
	ldr	x8, [x19, #48]
	str	x0, [x8, #48]
	ldr	w0, [x20, #20]
	bl	_le32_to_cpu
	ldr	x8, [x19, #48]
	str	x0, [x8, #40]
	ldr	w0, [x20, #16]
	bl	_le32_to_cpu
	ldr	x8, [x19, #48]
	str	x0, [x8, #32]
	ldr	w0, [x20, #12]
	bl	_le32_to_cpu
	ldr	x8, [x19, #48]
	str	x0, [x8, #24]
	ldr	w0, [x20, #8]
	bl	_le32_to_cpu
	ldr	x8, [x19, #48]
	str	x0, [x8, #16]
	ldr	w0, [x20, #4]
	bl	_le32_to_cpu
	ldr	x8, [x19, #48]
	str	x0, [x8, #8]
	ldr	w0, [x20]
	bl	_le32_to_cpu
	ldr	x8, [x19, #48]
	str	x0, [x8]
LBB0_65:
	ldr	x0, [x21, #8]
	bl	_le16_to_cpu
Lloh43:
	adrp	x8, _SIZE_OF_ATOM_PPLIB_EXTENDEDHEADER_V6@GOTPAGE
Lloh44:
	ldr	x8, [x8, _SIZE_OF_ATOM_PPLIB_EXTENDEDHEADER_V6@GOTPAGEOFF]
Lloh45:
	ldr	x8, [x8]
	cmp	x0, x8
	b.lt	LBB0_71
; %bb.66:
	ldr	x0, [x21, #24]
	cbz	x0, LBB0_71
; %bb.67:
	ldr	x8, [x19, #336]
	ldr	x20, [x8]
	ldr	x22, [sp, #24]
	bl	_le16_to_cpu
	add	x8, x20, x22
	add	x20, x8, x0
	ldr	w8, [x20, #1]!
	lsl	w0, w8, #2
Lloh46:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh47:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh48:
	ldr	w1, [x8]
	bl	_kzalloc
	str	x0, [x19, #40]
	cbz	x0, LBB0_76
; %bb.68:
	ldr	w8, [x20]
	str	w8, [x19, #32]
	cmp	w8, #1
	b.lt	LBB0_71
; %bb.69:
	mov	x22, #0
	mov	x23, #0
	ldr	x8, [x20, #8]
	add	x24, x8, #16
LBB0_70:                                ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x24]
	bl	_le16_to_cpu
	ldur	w8, [x24, #-16]
	orr	w8, w0, w8, lsl #16
	ldr	x9, [x19, #40]
	str	w8, [x9, x22]
	ldur	x0, [x24, #-8]
	bl	_le16_to_cpu
	ldr	x8, [x19, #40]
	add	x8, x8, x22
	str	x0, [x8, #8]
	add	x23, x23, #1
	ldrsw	x8, [x20]
	add	x22, x22, #16
	add	x24, x24, #192
	cmp	x23, x8
	b.lt	LBB0_70
LBB0_71:
	ldr	x0, [x21, #8]
	bl	_le16_to_cpu
Lloh49:
	adrp	x8, _SIZE_OF_ATOM_PPLIB_EXTENDEDHEADER_V7@GOTPAGE
Lloh50:
	ldr	x8, [x8, _SIZE_OF_ATOM_PPLIB_EXTENDEDHEADER_V7@GOTPAGEOFF]
Lloh51:
	ldr	x8, [x8]
	cmp	x0, x8
	b.lt	LBB0_80
; %bb.72:
	ldr	x0, [x21, #16]
	cbz	x0, LBB0_80
; %bb.73:
	ldr	x8, [x19, #336]
	ldr	x8, [x8]
	ldr	x9, [sp, #24]
	add	x20, x9, x8
	bl	_le16_to_cpu
	ldr	x22, [x20, x0]
Lloh52:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh53:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh54:
	ldr	w1, [x8]
	mov	w0, #4
	bl	_kzalloc
	str	x0, [x19, #24]
	cbz	x0, LBB0_76
; %bb.74:
	ldr	x8, [x19, #336]
	ldr	x8, [x8]
	ldr	x9, [sp, #24]
	add	x20, x9, x8
	ldr	x0, [x21, #16]
	bl	_le16_to_cpu
	add	x20, x20, x0
	cmp	x22, #1
	b.lt	LBB0_78
; %bb.75:
	ldr	w8, [x20], #8
	ldr	x9, [x19, #24]
	str	w8, [x9]
	b	LBB0_79
LBB0_76:
	mov	x0, x19
	bl	_amdgpu_free_extended_power_table
Lloh55:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh56:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_77:
	ldr	w8, [x8]
	neg	w20, w8
	b	LBB0_85
LBB0_78:
	ldr	x8, [x19, #24]
	mov	w9, #255
	str	w9, [x8]
LBB0_79:
	ldr	x0, [x20, #48]
	bl	_le16_to_cpu
	ldr	x8, [x19, #24]
	str	x0, [x8, #56]
	ldr	x0, [x20, #40]
	bl	_le16_to_cpu
	ldr	x8, [x19, #24]
	str	x0, [x8, #48]
	ldr	x0, [x20, #32]
	bl	_le16_to_cpu
	ldr	x8, [x19, #24]
	str	x0, [x8, #40]
	ldr	x0, [x20, #24]
	bl	_le16_to_cpu
	ldr	x8, [x19, #24]
	str	x0, [x8, #32]
	ldr	x0, [x20, #16]
	bl	_le16_to_cpu
	ldr	x8, [x19, #24]
	str	x0, [x8, #24]
	ldr	x0, [x20, #8]
	bl	_le16_to_cpu
	ldr	x8, [x19, #24]
	str	x0, [x8, #16]
	ldr	x0, [x20]
	bl	_le16_to_cpu
	ldr	x8, [x19, #24]
	str	x0, [x8, #8]
LBB0_80:
	ldr	x0, [x21, #8]
	bl	_le16_to_cpu
Lloh57:
	adrp	x8, _SIZE_OF_ATOM_PPLIB_EXTENDEDHEADER_V8@GOTPAGE
Lloh58:
	ldr	x8, [x8, _SIZE_OF_ATOM_PPLIB_EXTENDEDHEADER_V8@GOTPAGEOFF]
Lloh59:
	ldr	x8, [x8]
	cmp	x0, x8
	b.lt	LBB0_84
; %bb.81:
	ldr	x0, [x21]
	cbz	x0, LBB0_84
; %bb.82:
	ldr	x8, [x19, #336]
	ldr	x8, [x8]
	ldr	x9, [sp, #24]
	add	x20, x9, x8
	bl	_le16_to_cpu
	add	x1, x20, x0
	add	x19, x19, #16
	mov	x0, x19
	bl	_amdgpu_parse_clk_voltage_dep_table
	mov	x20, x0
	cbz	w0, LBB0_85
; %bb.83:
	ldr	w0, [x19]
	bl	_kfree
	b	LBB0_85
LBB0_84:
	mov	w20, #0
LBB0_85:
	mov	x0, x20
	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
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGot	Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.cfi_endproc
                                        ; -- End function
	.comm	_DATA,4,2                       ; @DATA
	.comm	_PowerPlayInfo,4,2              ; @PowerPlayInfo
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_ATOM_PP_PLATFORM_CAP_EVV,4,2   ; @ATOM_PP_PLATFORM_CAP_EVV
	.comm	_SIZE_OF_ATOM_PPLIB_EXTENDEDHEADER_V2,8,3 ; @SIZE_OF_ATOM_PPLIB_EXTENDEDHEADER_V2
	.comm	_AMD_MAX_VCE_LEVELS,8,3         ; @AMD_MAX_VCE_LEVELS
	.comm	_SIZE_OF_ATOM_PPLIB_EXTENDEDHEADER_V3,8,3 ; @SIZE_OF_ATOM_PPLIB_EXTENDEDHEADER_V3
	.comm	_SIZE_OF_ATOM_PPLIB_EXTENDEDHEADER_V4,8,3 ; @SIZE_OF_ATOM_PPLIB_EXTENDEDHEADER_V4
	.comm	_SIZE_OF_ATOM_PPLIB_EXTENDEDHEADER_V5,8,3 ; @SIZE_OF_ATOM_PPLIB_EXTENDEDHEADER_V5
	.comm	_SIZE_OF_ATOM_PPLIB_EXTENDEDHEADER_V6,8,3 ; @SIZE_OF_ATOM_PPLIB_EXTENDEDHEADER_V6
	.comm	_SIZE_OF_ATOM_PPLIB_EXTENDEDHEADER_V7,8,3 ; @SIZE_OF_ATOM_PPLIB_EXTENDEDHEADER_V7
	.comm	_SIZE_OF_ATOM_PPLIB_EXTENDEDHEADER_V8,8,3 ; @SIZE_OF_ATOM_PPLIB_EXTENDEDHEADER_V8
.subsections_via_symbols
