	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_smu_v11_0_get_vbios_bootup_values ## -- Begin function smu_v11_0_get_vbios_bootup_values
	.p2align	4, 0x90
_smu_v11_0_get_vbios_bootup_values:     ## @smu_v11_0_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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	_atom_master_list_of_data_tables_v2_1@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_firmwareinfo@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_get_index_into_master_table
	leaq	-28(%rbp), %rdx
	leaq	-24(%rbp), %rcx
	leaq	-20(%rbp), %r8
	leaq	-16(%rbp), %r9
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_smu_get_atom_data_table
	testl	%eax, %eax
	jne	LBB0_7
## %bb.1:
	movq	-16(%rbp), %rcx
	cmpl	$3, (%rcx)
	jne	LBB0_2
## %bb.3:
	movl	4(%rcx), %eax
	cmpl	$2, %eax
	ja	LBB0_5
## %bb.4:
	movl	28(%rcx), %edx
	movl	%edx, 48(%rbx)
	movl	24(%rcx), %edx
	movl	%edx, 44(%rbx)
	leaq	16(%rcx), %r8
	movl	20(%rcx), %edx
	movl	%edx, 40(%rbx)
	movq	$0, 32(%rbx)
	leaq	12(%rcx), %r9
	addq	$8, %rcx
	xorl	%r10d, %r10d
	movl	$3, %esi
	movl	%eax, %r11d
	jmp	LBB0_6
LBB0_2:
	leaq	L_.str(%rip), %rdi
	callq	_pr_err
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_7
LBB0_5:
	movl	32(%rcx), %edx
	movl	%edx, 48(%rbx)
	movl	28(%rcx), %edx
	movl	%edx, 44(%rbx)
	movl	24(%rcx), %edx
	movl	%edx, 40(%rbx)
	movq	$0, 32(%rbx)
	leaq	20(%rcx), %r8
	leaq	16(%rcx), %r9
	movl	8(%rcx), %r11d
	addq	$12, %rcx
	movl	$3, %r10d
	movl	%eax, %esi
LBB0_6:
	movl	(%rcx), %ecx
	movl	(%r9), %edi
	movl	(%r8), %edx
	movl	%edx, 28(%rbx)
	movl	%edi, 24(%rbx)
	movl	%ecx, 20(%rbx)
	movl	%r11d, 16(%rbx)
	movl	%esi, 12(%rbx)
	movl	%r10d, 8(%rbx)
	movl	$3, (%rbx)
	movl	%eax, 4(%rbx)
	xorl	%eax, %eax
LBB0_7:
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_atom_master_list_of_data_tables_v2_1,4,2 ## @atom_master_list_of_data_tables_v2_1
	.comm	_firmwareinfo,4,2               ## @firmwareinfo
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unknown atom_firmware_info version! for smu11\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	_smu_v11_0_get_vbios_bootup_values ; -- Begin function smu_v11_0_get_vbios_bootup_values
	.p2align	2
_smu_v11_0_get_vbios_bootup_values:     ; @smu_v11_0_get_vbios_bootup_values
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, _atom_master_list_of_data_tables_v2_1@GOTPAGE
Lloh1:
	ldr	x8, [x8, _atom_master_list_of_data_tables_v2_1@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _firmwareinfo@GOTPAGE
Lloh4:
	ldr	x8, [x8, _firmwareinfo@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_get_index_into_master_table
	mov	x1, x0
	sub	x2, x29, #20
	add	x3, sp, #24
	add	x4, sp, #20
	add	x5, sp, #8
	mov	x0, x19
	bl	_smu_get_atom_data_table
	cbnz	w0, LBB0_7
; %bb.1:
	ldr	x11, [sp, #8]
	ldr	w8, [x11]
	cmp	w8, #3
	b.ne	LBB0_4
; %bb.2:
	ldr	w8, [x11, #4]
	cmp	w8, #2
	b.hi	LBB0_5
; %bb.3:
	mov	w9, #0
	ldr	w10, [x11, #28]
	str	w10, [x19, #48]
	add	x10, x11, #16
	ldur	d0, [x11, #20]
	str	d0, [x19, #40]
	str	xzr, [x19, #32]
	add	x12, x11, #12
	add	x13, x11, #8
	mov	w14, #3
	mov	x11, x8
	b	LBB0_6
LBB0_4:
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_err
Lloh8:
	adrp	x8, _EINVAL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_7
LBB0_5:
	ldr	w9, [x11, #32]
	str	w9, [x19, #48]
	ldr	d0, [x11, #24]
	str	d0, [x19, #40]
	str	xzr, [x19, #32]
	add	x10, x11, #20
	add	x12, x11, #16
	add	x13, x11, #12
	ldr	w11, [x11, #8]
	mov	w9, #3
	mov	x14, x8
LBB0_6:
	mov	w0, #0
	ldr	w13, [x13]
	ldr	w12, [x12]
	ldr	w10, [x10]
	stp	w12, w10, [x19, #24]
	stp	w11, w13, [x19, #16]
	stp	w9, w14, [x19, #8]
	mov	w9, #3
	stp	w9, w8, [x19]
LBB0_7:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_atom_master_list_of_data_tables_v2_1,4,2 ; @atom_master_list_of_data_tables_v2_1
	.comm	_firmwareinfo,4,2               ; @firmwareinfo
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unknown atom_firmware_info version! for smu11\n"

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