	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pp_atomfwctrl_get_vbios_bootup_values ## -- Begin function pp_atomfwctrl_get_vbios_bootup_values
	.p2align	4, 0x90
_pp_atomfwctrl_get_vbios_bootup_values: ## @pp_atomfwctrl_get_vbios_bootup_values
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	_firmwareinfo@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_GetIndexIntoMasterDataTable
	movl	(%r15), %edi
	xorl	%ebx, %ebx
	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:
	cmpl	$3, (%rax)
	jne	LBB0_7
## %bb.3:
	movl	4(%rax), %ecx
	cmpl	$1, %ecx
	je	LBB0_6
## %bb.4:
	cmpl	$2, %ecx
	jne	LBB0_7
## %bb.5:
	movq	%r15, %rdi
	movq	%r14, %rsi
	movq	%rax, %rdx
	callq	_pp_atomfwctrl_copy_vbios_bootup_values_3_2
	xorl	%ebx, %ebx
	jmp	LBB0_9
LBB0_7:
	leaq	L_.str.1(%rip), %rdi
	callq	_pr_info
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	jmp	LBB0_8
LBB0_1:
	leaq	L_.str(%rip), %rdi
	callq	_pr_info
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_8:
	subl	(%rax), %ebx
LBB0_9:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	%r15, %rdi
	movq	%r14, %rsi
	movq	%rax, %rdx
	callq	_pp_atomfwctrl_copy_vbios_bootup_values_3_1
	xorl	%ebx, %ebx
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_firmwareinfo,4,2               ## @firmwareinfo
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Error retrieving BIOS firmwareinfo!"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.1:                               ## @.str.1
	.asciz	"Fw info table revision does not match!"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pp_atomfwctrl_get_vbios_bootup_values ; -- Begin function pp_atomfwctrl_get_vbios_bootup_values
	.p2align	2
_pp_atomfwctrl_get_vbios_bootup_values: ; @pp_atomfwctrl_get_vbios_bootup_values
	.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, _firmwareinfo@GOTPAGE
Lloh1:
	ldr	x8, [x8, _firmwareinfo@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_6
; %bb.1:
	mov	x2, x0
	ldr	w8, [x0]
	cmp	w8, #3
	b.ne	LBB0_5
; %bb.2:
	ldr	w8, [x2, #4]
	cmp	w8, #1
	b.eq	LBB0_9
; %bb.3:
	cmp	w8, #2
	b.ne	LBB0_5
; %bb.4:
	mov	x0, x20
	mov	x1, x19
	bl	_pp_atomfwctrl_copy_vbios_bootup_values_3_2
	mov	w0, #0
	b	LBB0_8
LBB0_5:
Lloh3:
	adrp	x0, l_.str.1@PAGE
Lloh4:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_7
LBB0_6:
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
LBB0_7:
	bl	_pr_info
Lloh7:
	adrp	x8, _EINVAL@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_9:
	mov	x0, x20
	mov	x1, x19
	bl	_pp_atomfwctrl_copy_vbios_bootup_values_3_1
	mov	w0, #0
	b	LBB0_8
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_firmwareinfo,4,2               ; @firmwareinfo
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Error retrieving BIOS firmwareinfo!"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.1:                               ; @.str.1
	.asciz	"Fw info table revision does not match!"

.subsections_via_symbols
