	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ci_get_vbios_boot_values
_ci_get_vbios_boot_values:              ## @ci_get_vbios_boot_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	%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, %r12
	movq	%rdi, %r15
	movq	_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_FirmwareInfo@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_GetIndexIntoMasterTable
	movq	(%r15), %rdi
	xorl	%r14d, %r14d
	leaq	-56(%rbp), %rcx
	leaq	-52(%rbp), %r8
	leaq	-48(%rbp), %r9
	movl	%eax, %esi
	xorl	%edx, %edx
	callq	_atom_parse_data_header
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	(%r15), %rax
	movq	(%rax), %r13
	movq	-48(%rbp), %rbx
	movl	16(%rbx,%r13), %edi
	callq	_le16_to_cpu
	movq	%rax, 40(%r12)
	movl	12(%rbx,%r13), %edi
	callq	_le16_to_cpu
	movq	%rax, 32(%r12)
	movl	8(%rbx,%r13), %edi
	callq	_le16_to_cpu
	movq	%rax, 24(%r12)
	movq	%r15, %rdi
	callq	_ci_get_current_pcie_speed
	movl	%eax, 20(%r12)
	movq	%r15, %rdi
	callq	_ci_get_current_pcie_lane_number
	movl	%eax, 16(%r12)
	movl	4(%rbx,%r13), %edi
	callq	_le32_to_cpu
	movq	%rax, 8(%r12)
	movl	(%rbx,%r13), %edi
	callq	_le32_to_cpu
	movq	%rax, (%r12)
	jmp	LBB0_3
LBB0_2:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
LBB0_3:
	movl	%r14d, %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	_FirmwareInfo,4,2               ## @FirmwareInfo
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_ci_get_vbios_boot_values
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ci_get_vbios_boot_values
_ci_get_vbios_boot_values:              ; @ci_get_vbios_boot_values
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _DATA@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DATA@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _FirmwareInfo@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FirmwareInfo@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_GetIndexIntoMasterTable
	mov	x1, x0
	ldr	x0, [x20]
	add	x3, sp, #12
	add	x4, sp, #8
	mov	x5, sp
	mov	x2, #0
	bl	_atom_parse_data_header
	cbz	x0, LBB0_2
; %bb.1:
	ldr	x8, [x20]
	ldr	x8, [x8]
	ldr	x9, [sp]
	add	x21, x9, x8
	ldr	w0, [x21, #16]
	bl	_le16_to_cpu
	str	x0, [x19, #40]
	ldr	w0, [x21, #12]
	bl	_le16_to_cpu
	str	x0, [x19, #32]
	ldr	w0, [x21, #8]
	bl	_le16_to_cpu
	str	x0, [x19, #24]
	mov	x0, x20
	bl	_ci_get_current_pcie_speed
	str	w0, [x19, #20]
	mov	x0, x20
	bl	_ci_get_current_pcie_lane_number
	str	w0, [x19, #16]
	ldr	w0, [x21, #4]
	bl	_le32_to_cpu
	str	x0, [x19, #8]
	ldr	w0, [x21]
	bl	_le32_to_cpu
	mov	x8, x0
	mov	w0, #0
	str	x8, [x19]
	b	LBB0_3
LBB0_2:
Lloh6:
	adrp	x8, _EINVAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_3:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_DATA,4,2                       ; @DATA
	.comm	_FirmwareInfo,4,2               ; @FirmwareInfo
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_ci_get_vbios_boot_values
.subsections_via_symbols
