	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pp_atomfwctrl_get_avfs_information ## -- Begin function pp_atomfwctrl_get_avfs_information
	.p2align	4, 0x90
_pp_atomfwctrl_get_avfs_information:    ## @pp_atomfwctrl_get_avfs_information
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	_asic_profiling_info@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_GetIndexIntoMasterDataTable
	movl	(%rbx), %edi
	movl	%eax, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_smu_atom_get_data_table
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movl	(%rax), %ecx
	movl	4(%rax), %eax
	cmpl	$4, %ecx
	jne	LBB0_5
## %bb.3:
	cmpl	$1, %eax
	jne	LBB0_5
## %bb.4:
	movl	136(%rbx), %edi
	callq	_le32_to_cpu
	movq	%rax, 328(%r14)
	movl	132(%rbx), %edi
	callq	_le32_to_cpu
	movq	%rax, 320(%r14)
	movl	128(%rbx), %edi
	callq	_le32_to_cpu
	movq	%rax, 312(%r14)
	movl	124(%rbx), %edi
	callq	_le32_to_cpu
	movq	%rax, 304(%r14)
	movl	120(%rbx), %edi
	callq	_le32_to_cpu
	movq	%rax, 296(%r14)
	movl	116(%rbx), %edi
	callq	_le16_to_cpu
	movq	%rax, 288(%r14)
	movl	112(%rbx), %edi
	callq	_le16_to_cpu
	movq	%rax, 280(%r14)
	movl	108(%rbx), %edi
	callq	_le16_to_cpu
	movq	%rax, 272(%r14)
	movl	104(%rbx), %edi
	callq	_le32_to_cpu
	movq	%rax, 264(%r14)
	movl	100(%rbx), %edi
	callq	_le32_to_cpu
	movq	%rax, 256(%r14)
	movl	96(%rbx), %edi
	callq	_le32_to_cpu
	movq	%rax, 248(%r14)
	movl	92(%rbx), %edi
	callq	_le32_to_cpu
	movq	%rax, 240(%r14)
	movl	88(%rbx), %edi
	callq	_le32_to_cpu
	movq	%rax, 232(%r14)
	movl	84(%rbx), %edi
	callq	_le32_to_cpu
	movq	%rax, 224(%r14)
	movl	80(%rbx), %edi
	callq	_le32_to_cpu
	movq	%rax, 216(%r14)
	movl	76(%rbx), %edi
	callq	_le32_to_cpu
	movq	%rax, 208(%r14)
	movl	72(%rbx), %edi
	callq	_le32_to_cpu
	movq	%rax, 200(%r14)
	movl	68(%rbx), %edi
	callq	_le32_to_cpu
	movq	%rax, 192(%r14)
	movl	64(%rbx), %edi
	callq	_le32_to_cpu
	movq	%rax, 184(%r14)
	movl	60(%rbx), %edi
	callq	_le32_to_cpu
	movq	%rax, 176(%r14)
	movl	56(%rbx), %eax
	movl	%eax, 172(%r14)
	movl	52(%rbx), %eax
	movl	%eax, 168(%r14)
	movl	48(%rbx), %edi
	callq	_le16_to_cpu
	movq	%rax, 160(%r14)
	movl	44(%rbx), %edi
	callq	_le32_to_cpu
	movq	%rax, 152(%r14)
	movl	40(%rbx), %edi
	callq	_le32_to_cpu
	movq	%rax, 144(%r14)
	movl	36(%rbx), %edi
	callq	_le32_to_cpu
	movq	%rax, 136(%r14)
	movl	32(%rbx), %edi
	callq	_le32_to_cpu
	movq	%rax, 128(%r14)
	movl	28(%rbx), %edi
	callq	_le32_to_cpu
	movq	%rax, 120(%r14)
	movl	24(%rbx), %edi
	callq	_le32_to_cpu
	movq	%rax, 112(%r14)
	movl	20(%rbx), %edi
	callq	_le32_to_cpu
	movq	%rax, 104(%r14)
	movl	16(%rbx), %edi
	callq	_le32_to_cpu
	movq	%rax, 96(%r14)
	movl	12(%rbx), %edi
	callq	_le32_to_cpu
	movq	%rax, 88(%r14)
	movl	(%rbx), %edi
	callq	_le32_to_cpu
	movq	%rax, 80(%r14)
	movl	8(%rbx), %edi
	callq	_le32_to_cpu
	movq	%rax, 72(%r14)
	movl	4(%rbx), %edi
	callq	_le32_to_cpu
	movq	%rax, 64(%r14)
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%r14)
	movups	%xmm0, 16(%r14)
	movups	%xmm0, 32(%r14)
	movups	%xmm0, 48(%r14)
	xorl	%eax, %eax
	jmp	LBB0_9
LBB0_1:
	movl	$-1, %eax
	jmp	LBB0_9
LBB0_5:
	cmpl	$4, %ecx
	jne	LBB0_8
## %bb.6:
	cmpl	$2, %eax
	jne	LBB0_8
## %bb.7:
	movl	164(%rbx), %edi
	callq	_le32_to_cpu
	movq	%rax, 328(%r14)
	movl	160(%rbx), %edi
	callq	_le32_to_cpu
	movq	%rax, 320(%r14)
	movl	156(%rbx), %edi
	callq	_le32_to_cpu
	movq	%rax, 312(%r14)
	movl	152(%rbx), %edi
	callq	_le32_to_cpu
	movq	%rax, 304(%r14)
	movl	148(%rbx), %edi
	callq	_le32_to_cpu
	movq	%rax, 296(%r14)
	movl	144(%rbx), %edi
	callq	_le16_to_cpu
	movq	%rax, 288(%r14)
	movl	140(%rbx), %edi
	callq	_le16_to_cpu
	movq	%rax, 280(%r14)
	movl	136(%rbx), %edi
	callq	_le16_to_cpu
	movq	%rax, 272(%r14)
	movl	132(%rbx), %edi
	callq	_le32_to_cpu
	movq	%rax, 264(%r14)
	movl	128(%rbx), %edi
	callq	_le32_to_cpu
	movq	%rax, 256(%r14)
	movl	124(%rbx), %edi
	callq	_le32_to_cpu
	movq	%rax, 248(%r14)
	movl	120(%rbx), %edi
	callq	_le32_to_cpu
	movq	%rax, 240(%r14)
	movl	116(%rbx), %edi
	callq	_le32_to_cpu
	movq	%rax, 232(%r14)
	movl	112(%rbx), %edi
	callq	_le32_to_cpu
	movq	%rax, 224(%r14)
	movl	108(%rbx), %edi
	callq	_le32_to_cpu
	movq	%rax, 216(%r14)
	movl	104(%rbx), %edi
	callq	_le32_to_cpu
	movq	%rax, 208(%r14)
	movl	100(%rbx), %edi
	callq	_le32_to_cpu
	movq	%rax, 200(%r14)
	movl	96(%rbx), %edi
	callq	_le32_to_cpu
	movq	%rax, 192(%r14)
	movl	92(%rbx), %edi
	callq	_le32_to_cpu
	movq	%rax, 184(%r14)
	movl	88(%rbx), %edi
	callq	_le32_to_cpu
	movq	%rax, 176(%r14)
	movl	84(%rbx), %eax
	movl	%eax, 172(%r14)
	movl	80(%rbx), %eax
	movl	%eax, 168(%r14)
	movl	76(%rbx), %edi
	callq	_le16_to_cpu
	movq	%rax, 160(%r14)
	movl	72(%rbx), %edi
	callq	_le32_to_cpu
	movq	%rax, 152(%r14)
	movl	68(%rbx), %edi
	callq	_le32_to_cpu
	movq	%rax, 144(%r14)
	movl	64(%rbx), %edi
	callq	_le32_to_cpu
	movq	%rax, 136(%r14)
	movl	60(%rbx), %edi
	callq	_le32_to_cpu
	movq	%rax, 128(%r14)
	movl	56(%rbx), %edi
	callq	_le32_to_cpu
	movq	%rax, 120(%r14)
	movl	52(%rbx), %edi
	callq	_le32_to_cpu
	movq	%rax, 112(%r14)
	movl	48(%rbx), %edi
	callq	_le32_to_cpu
	movq	%rax, 104(%r14)
	movl	44(%rbx), %edi
	callq	_le32_to_cpu
	movq	%rax, 96(%r14)
	movl	40(%rbx), %edi
	callq	_le32_to_cpu
	movq	%rax, 88(%r14)
	movl	(%rbx), %edi
	callq	_le32_to_cpu
	movq	%rax, 80(%r14)
	movl	36(%rbx), %edi
	callq	_le32_to_cpu
	movq	%rax, 72(%r14)
	movl	32(%rbx), %edi
	callq	_le32_to_cpu
	movq	%rax, 64(%r14)
	movl	28(%rbx), %edi
	callq	_le32_to_cpu
	movq	%rax, 56(%r14)
	movl	24(%rbx), %edi
	callq	_le32_to_cpu
	movq	%rax, 48(%r14)
	movl	20(%rbx), %edi
	callq	_le32_to_cpu
	movq	%rax, 40(%r14)
	movl	16(%rbx), %edi
	callq	_le32_to_cpu
	movq	%rax, 32(%r14)
	movl	12(%rbx), %edi
	callq	_le32_to_cpu
	movq	%rax, 24(%r14)
	movl	8(%rbx), %edi
	callq	_le32_to_cpu
	movq	%rax, 16(%r14)
	movl	4(%rbx), %edi
	callq	_le32_to_cpu
	movq	%rax, 8(%r14)
	movl	(%rbx), %edi
	callq	_le32_to_cpu
	movq	%rax, (%r14)
	xorl	%eax, %eax
	jmp	LBB0_9
LBB0_8:
	leaq	L_.str(%rip), %rdi
	callq	_pr_info
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_9:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_asic_profiling_info,4,2        ## @asic_profiling_info
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid VBIOS AVFS ProfilingInfo Revision!\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pp_atomfwctrl_get_avfs_information ; -- Begin function pp_atomfwctrl_get_avfs_information
	.p2align	2
_pp_atomfwctrl_get_avfs_information:    ; @pp_atomfwctrl_get_avfs_information
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _asic_profiling_info@GOTPAGE
Lloh1:
	ldr	x8, [x8, _asic_profiling_info@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_GetIndexIntoMasterDataTable
	mov	x1, x0
	ldr	w0, [x20]
	mov	x2, #0
	mov	x3, #0
	mov	x4, #0
	bl	_smu_atom_get_data_table
	cbz	x0, LBB0_4
; %bb.1:
	mov	x20, x0
	ldp	w8, w9, [x0]
	cmp	w8, #4
	ccmp	w9, #1, #0, eq
	b.eq	LBB0_5
; %bb.2:
	cmp	w8, #4
	ccmp	w9, #2, #0, eq
	b.eq	LBB0_6
; %bb.3:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_info
Lloh5:
	adrp	x8, _EINVAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_7
LBB0_4:
	mov	w0, #-1
	b	LBB0_7
LBB0_5:
	ldr	w0, [x20, #136]
	bl	_le32_to_cpu
	str	x0, [x19, #328]
	ldr	w0, [x20, #132]
	bl	_le32_to_cpu
	str	x0, [x19, #320]
	ldr	w0, [x20, #128]
	bl	_le32_to_cpu
	str	x0, [x19, #312]
	ldr	w0, [x20, #124]
	bl	_le32_to_cpu
	str	x0, [x19, #304]
	ldr	w0, [x20, #120]
	bl	_le32_to_cpu
	str	x0, [x19, #296]
	ldr	w0, [x20, #116]
	bl	_le16_to_cpu
	str	x0, [x19, #288]
	ldr	w0, [x20, #112]
	bl	_le16_to_cpu
	str	x0, [x19, #280]
	ldr	w0, [x20, #108]
	bl	_le16_to_cpu
	str	x0, [x19, #272]
	ldr	w0, [x20, #104]
	bl	_le32_to_cpu
	str	x0, [x19, #264]
	ldr	w0, [x20, #100]
	bl	_le32_to_cpu
	str	x0, [x19, #256]
	ldr	w0, [x20, #96]
	bl	_le32_to_cpu
	str	x0, [x19, #248]
	ldr	w0, [x20, #92]
	bl	_le32_to_cpu
	str	x0, [x19, #240]
	ldr	w0, [x20, #88]
	bl	_le32_to_cpu
	str	x0, [x19, #232]
	ldr	w0, [x20, #84]
	bl	_le32_to_cpu
	str	x0, [x19, #224]
	ldr	w0, [x20, #80]
	bl	_le32_to_cpu
	str	x0, [x19, #216]
	ldr	w0, [x20, #76]
	bl	_le32_to_cpu
	str	x0, [x19, #208]
	ldr	w0, [x20, #72]
	bl	_le32_to_cpu
	str	x0, [x19, #200]
	ldr	w0, [x20, #68]
	bl	_le32_to_cpu
	str	x0, [x19, #192]
	ldr	w0, [x20, #64]
	bl	_le32_to_cpu
	str	x0, [x19, #184]
	ldr	w0, [x20, #60]
	bl	_le32_to_cpu
	str	x0, [x19, #176]
	ldur	d0, [x20, #52]
	str	d0, [x19, #168]
	ldr	w0, [x20, #48]
	bl	_le16_to_cpu
	str	x0, [x19, #160]
	ldr	w0, [x20, #44]
	bl	_le32_to_cpu
	str	x0, [x19, #152]
	ldr	w0, [x20, #40]
	bl	_le32_to_cpu
	str	x0, [x19, #144]
	ldr	w0, [x20, #36]
	bl	_le32_to_cpu
	str	x0, [x19, #136]
	ldr	w0, [x20, #32]
	bl	_le32_to_cpu
	str	x0, [x19, #128]
	ldr	w0, [x20, #28]
	bl	_le32_to_cpu
	str	x0, [x19, #120]
	ldr	w0, [x20, #24]
	bl	_le32_to_cpu
	str	x0, [x19, #112]
	ldr	w0, [x20, #20]
	bl	_le32_to_cpu
	str	x0, [x19, #104]
	ldr	w0, [x20, #16]
	bl	_le32_to_cpu
	str	x0, [x19, #96]
	ldr	w0, [x20, #12]
	bl	_le32_to_cpu
	str	x0, [x19, #88]
	ldr	w0, [x20]
	bl	_le32_to_cpu
	str	x0, [x19, #80]
	ldr	w0, [x20, #8]
	bl	_le32_to_cpu
	str	x0, [x19, #72]
	ldr	w0, [x20, #4]
	bl	_le32_to_cpu
	mov	x8, x0
	mov	w0, #0
	str	x8, [x19, #64]
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [x19]
	stp	q0, q0, [x19, #32]
	b	LBB0_7
LBB0_6:
	ldr	w0, [x20, #164]
	bl	_le32_to_cpu
	str	x0, [x19, #328]
	ldr	w0, [x20, #160]
	bl	_le32_to_cpu
	str	x0, [x19, #320]
	ldr	w0, [x20, #156]
	bl	_le32_to_cpu
	str	x0, [x19, #312]
	ldr	w0, [x20, #152]
	bl	_le32_to_cpu
	str	x0, [x19, #304]
	ldr	w0, [x20, #148]
	bl	_le32_to_cpu
	str	x0, [x19, #296]
	ldr	w0, [x20, #144]
	bl	_le16_to_cpu
	str	x0, [x19, #288]
	ldr	w0, [x20, #140]
	bl	_le16_to_cpu
	str	x0, [x19, #280]
	ldr	w0, [x20, #136]
	bl	_le16_to_cpu
	str	x0, [x19, #272]
	ldr	w0, [x20, #132]
	bl	_le32_to_cpu
	str	x0, [x19, #264]
	ldr	w0, [x20, #128]
	bl	_le32_to_cpu
	str	x0, [x19, #256]
	ldr	w0, [x20, #124]
	bl	_le32_to_cpu
	str	x0, [x19, #248]
	ldr	w0, [x20, #120]
	bl	_le32_to_cpu
	str	x0, [x19, #240]
	ldr	w0, [x20, #116]
	bl	_le32_to_cpu
	str	x0, [x19, #232]
	ldr	w0, [x20, #112]
	bl	_le32_to_cpu
	str	x0, [x19, #224]
	ldr	w0, [x20, #108]
	bl	_le32_to_cpu
	str	x0, [x19, #216]
	ldr	w0, [x20, #104]
	bl	_le32_to_cpu
	str	x0, [x19, #208]
	ldr	w0, [x20, #100]
	bl	_le32_to_cpu
	str	x0, [x19, #200]
	ldr	w0, [x20, #96]
	bl	_le32_to_cpu
	str	x0, [x19, #192]
	ldr	w0, [x20, #92]
	bl	_le32_to_cpu
	str	x0, [x19, #184]
	ldr	w0, [x20, #88]
	bl	_le32_to_cpu
	str	x0, [x19, #176]
	ldr	d0, [x20, #80]
	str	d0, [x19, #168]
	ldr	w0, [x20, #76]
	bl	_le16_to_cpu
	str	x0, [x19, #160]
	ldr	w0, [x20, #72]
	bl	_le32_to_cpu
	str	x0, [x19, #152]
	ldr	w0, [x20, #68]
	bl	_le32_to_cpu
	str	x0, [x19, #144]
	ldr	w0, [x20, #64]
	bl	_le32_to_cpu
	str	x0, [x19, #136]
	ldr	w0, [x20, #60]
	bl	_le32_to_cpu
	str	x0, [x19, #128]
	ldr	w0, [x20, #56]
	bl	_le32_to_cpu
	str	x0, [x19, #120]
	ldr	w0, [x20, #52]
	bl	_le32_to_cpu
	str	x0, [x19, #112]
	ldr	w0, [x20, #48]
	bl	_le32_to_cpu
	str	x0, [x19, #104]
	ldr	w0, [x20, #44]
	bl	_le32_to_cpu
	str	x0, [x19, #96]
	ldr	w0, [x20, #40]
	bl	_le32_to_cpu
	str	x0, [x19, #88]
	ldr	w0, [x20]
	bl	_le32_to_cpu
	str	x0, [x19, #80]
	ldr	w0, [x20, #36]
	bl	_le32_to_cpu
	str	x0, [x19, #72]
	ldr	w0, [x20, #32]
	bl	_le32_to_cpu
	str	x0, [x19, #64]
	ldr	w0, [x20, #28]
	bl	_le32_to_cpu
	str	x0, [x19, #56]
	ldr	w0, [x20, #24]
	bl	_le32_to_cpu
	str	x0, [x19, #48]
	ldr	w0, [x20, #20]
	bl	_le32_to_cpu
	str	x0, [x19, #40]
	ldr	w0, [x20, #16]
	bl	_le32_to_cpu
	str	x0, [x19, #32]
	ldr	w0, [x20, #12]
	bl	_le32_to_cpu
	str	x0, [x19, #24]
	ldr	w0, [x20, #8]
	bl	_le32_to_cpu
	str	x0, [x19, #16]
	ldr	w0, [x20, #4]
	bl	_le32_to_cpu
	str	x0, [x19, #8]
	ldr	w0, [x20]
	bl	_le32_to_cpu
	mov	x8, x0
	mov	w0, #0
	str	x8, [x19]
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_asic_profiling_info,4,2        ; @asic_profiling_info
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid VBIOS AVFS ProfilingInfo Revision!\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
.subsections_via_symbols
