	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ci_populate_dw8
_ci_populate_dw8:                       ## @ci_populate_dw8
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	callq	_ci_get_pi
	movq	%rax, %r15
	movq	16(%rax), %r12
	movq	_SMU7_FIRMWARE_HEADER_LOCATION@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	_SMU7_Firmware_Header@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_PmFuseTable@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_offsetof
	addq	%rax, %rbx
	movq	_SMU7_Discrete_PmFuses@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_TdcWaterfallCtl@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_offsetof
	addq	%rax, %rbx
	movl	8(%r15), %ecx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	callq	_ci_read_smc_sram_dword
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_3
LBB0_2:
	movq	(%r12), %rax
	movq	%rax, (%r15)
	xorl	%eax, %eax
LBB0_3:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SMU7_FIRMWARE_HEADER_LOCATION,8,3 ## @SMU7_FIRMWARE_HEADER_LOCATION
	.comm	_SMU7_Firmware_Header,4,2       ## @SMU7_Firmware_Header
	.comm	_PmFuseTable,4,2                ## @PmFuseTable
	.comm	_SMU7_Discrete_PmFuses,4,2      ## @SMU7_Discrete_PmFuses
	.comm	_TdcWaterfallCtl,4,2            ## @TdcWaterfallCtl
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_ci_populate_dw8
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ci_populate_dw8
_ci_populate_dw8:                       ; @ci_populate_dw8
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x20, x0
	bl	_ci_get_pi
	mov	x19, x0
	ldr	x21, [x0, #16]
Lloh0:
	adrp	x8, _SMU7_FIRMWARE_HEADER_LOCATION@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SMU7_FIRMWARE_HEADER_LOCATION@GOTPAGEOFF]
Lloh2:
	ldr	x22, [x8]
Lloh3:
	adrp	x8, _SMU7_Firmware_Header@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SMU7_Firmware_Header@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x8, _PmFuseTable@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PmFuseTable@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_offsetof
	add	x22, x0, x22
Lloh9:
	adrp	x8, _SMU7_Discrete_PmFuses@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SMU7_Discrete_PmFuses@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
Lloh12:
	adrp	x8, _TdcWaterfallCtl@GOTPAGE
Lloh13:
	ldr	x8, [x8, _TdcWaterfallCtl@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	bl	_offsetof
	add	x1, x22, x0
	ldr	w3, [x19, #8]
	mov	x0, x20
	mov	x2, x19
	bl	_ci_read_smc_sram_dword
	cbz	w0, LBB0_2
; %bb.1:
Lloh15:
	adrp	x8, _EINVAL@GOTPAGE
Lloh16:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_3
LBB0_2:
	ldr	x8, [x21]
	str	x8, [x19]
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_SMU7_FIRMWARE_HEADER_LOCATION,8,3 ; @SMU7_FIRMWARE_HEADER_LOCATION
	.comm	_SMU7_Firmware_Header,4,2       ; @SMU7_Firmware_Header
	.comm	_PmFuseTable,4,2                ; @PmFuseTable
	.comm	_SMU7_Discrete_PmFuses,4,2      ; @SMU7_Discrete_PmFuses
	.comm	_TdcWaterfallCtl,4,2            ; @TdcWaterfallCtl
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_ci_populate_dw8
.subsections_via_symbols
