	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ci_process_firmware_header
_ci_process_firmware_header:            ## @ci_process_firmware_header
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	callq	_ci_get_pi
	movq	%rax, %r14
	movq	_SMU7_FIRMWARE_HEADER_LOCATION@GOTPCREL(%rip), %r12
	movq	(%r12), %rbx
	movq	_SMU7_Firmware_Header@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	movq	_DpmTable@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_offsetof
	addq	%rax, %rbx
	movl	8(%r14), %ecx
	leaq	-48(%rbp), %rdx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_ci_read_smc_sram_dword
	testl	%eax, %eax
	jne	LBB0_6
## %bb.1:
	movq	-48(%rbp), %rax
	movq	%rax, 40(%r14)
	movq	(%r12), %rbx
	movl	(%r13), %edi
	movq	_SoftRegisters@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_offsetof
	addq	%rax, %rbx
	movl	8(%r14), %ecx
	leaq	-48(%rbp), %rdx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_ci_read_smc_sram_dword
	testl	%eax, %eax
	jne	LBB0_6
## %bb.2:
	movq	-48(%rbp), %rax
	movq	%rax, 32(%r14)
	movq	(%r12), %rbx
	movl	(%r13), %edi
	movq	_mcRegisterTable@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_offsetof
	addq	%rax, %rbx
	movl	8(%r14), %ecx
	leaq	-48(%rbp), %rdx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_ci_read_smc_sram_dword
	testl	%eax, %eax
	jne	LBB0_6
## %bb.3:
	movq	-48(%rbp), %rax
	movq	%rax, 24(%r14)
	movq	(%r12), %rbx
	movl	(%r13), %edi
	movq	_FanTable@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_offsetof
	addq	%rax, %rbx
	movl	8(%r14), %ecx
	leaq	-48(%rbp), %rdx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_ci_read_smc_sram_dword
	testl	%eax, %eax
	jne	LBB0_6
## %bb.4:
	movq	-48(%rbp), %rax
	movq	%rax, 16(%r14)
	movq	(%r12), %rbx
	movl	(%r13), %edi
	movq	_mcArbDramTimingTable@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_offsetof
	addq	%rax, %rbx
	movl	8(%r14), %ecx
	leaq	-48(%rbp), %rdx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_ci_read_smc_sram_dword
	testl	%eax, %eax
	jne	LBB0_6
## %bb.5:
	movq	-48(%rbp), %rax
	movq	%rax, (%r14)
	xorl	%eax, %eax
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	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	_DpmTable,4,2                   ## @DpmTable
	.comm	_SoftRegisters,4,2              ## @SoftRegisters
	.comm	_mcRegisterTable,4,2            ## @mcRegisterTable
	.comm	_FanTable,4,2                   ## @FanTable
	.comm	_mcArbDramTimingTable,4,2       ## @mcArbDramTimingTable
	.no_dead_strip	_ci_process_firmware_header
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ci_process_firmware_header
_ci_process_firmware_header:            ; @ci_process_firmware_header
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x0
	bl	_ci_get_pi
	mov	x19, x0
Lloh0:
	adrp	x21, _SMU7_FIRMWARE_HEADER_LOCATION@GOTPAGE
Lloh1:
	ldr	x21, [x21, _SMU7_FIRMWARE_HEADER_LOCATION@GOTPAGEOFF]
	ldr	x23, [x21]
Lloh2:
	adrp	x22, _SMU7_Firmware_Header@GOTPAGE
Lloh3:
	ldr	x22, [x22, _SMU7_Firmware_Header@GOTPAGEOFF]
	ldr	w0, [x22]
Lloh4:
	adrp	x8, _DpmTable@GOTPAGE
Lloh5:
	ldr	x8, [x8, _DpmTable@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
	bl	_offsetof
	add	x1, x0, x23
	ldr	w3, [x19, #8]
	add	x2, sp, #8
	mov	x0, x20
	bl	_ci_read_smc_sram_dword
	cbnz	w0, LBB0_6
; %bb.1:
	ldr	x8, [sp, #8]
	str	x8, [x19, #40]
	ldr	x23, [x21]
	ldr	w0, [x22]
Lloh7:
	adrp	x8, _SoftRegisters@GOTPAGE
Lloh8:
	ldr	x8, [x8, _SoftRegisters@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	bl	_offsetof
	add	x1, x0, x23
	ldr	w3, [x19, #8]
	add	x2, sp, #8
	mov	x0, x20
	bl	_ci_read_smc_sram_dword
	cbnz	w0, LBB0_6
; %bb.2:
	ldr	x8, [sp, #8]
	str	x8, [x19, #32]
	ldr	x23, [x21]
	ldr	w0, [x22]
Lloh10:
	adrp	x8, _mcRegisterTable@GOTPAGE
Lloh11:
	ldr	x8, [x8, _mcRegisterTable@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	bl	_offsetof
	add	x1, x0, x23
	ldr	w3, [x19, #8]
	add	x2, sp, #8
	mov	x0, x20
	bl	_ci_read_smc_sram_dword
	cbnz	w0, LBB0_6
; %bb.3:
	ldr	x8, [sp, #8]
	str	x8, [x19, #24]
	ldr	x23, [x21]
	ldr	w0, [x22]
Lloh13:
	adrp	x8, _FanTable@GOTPAGE
Lloh14:
	ldr	x8, [x8, _FanTable@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	bl	_offsetof
	add	x1, x0, x23
	ldr	w3, [x19, #8]
	add	x2, sp, #8
	mov	x0, x20
	bl	_ci_read_smc_sram_dword
	cbnz	w0, LBB0_6
; %bb.4:
	ldr	x8, [sp, #8]
	str	x8, [x19, #16]
	ldr	x21, [x21]
	ldr	w0, [x22]
Lloh16:
	adrp	x8, _mcArbDramTimingTable@GOTPAGE
Lloh17:
	ldr	x8, [x8, _mcArbDramTimingTable@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	bl	_offsetof
	add	x1, x0, x21
	ldr	w3, [x19, #8]
	add	x2, sp, #8
	mov	x0, x20
	bl	_ci_read_smc_sram_dword
	cbnz	w0, LBB0_6
; %bb.5:
	ldr	x8, [sp, #8]
	str	x8, [x19]
LBB0_6:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.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	_DpmTable,4,2                   ; @DpmTable
	.comm	_SoftRegisters,4,2              ; @SoftRegisters
	.comm	_mcRegisterTable,4,2            ; @mcRegisterTable
	.comm	_FanTable,4,2                   ; @FanTable
	.comm	_mcArbDramTimingTable,4,2       ; @mcArbDramTimingTable
	.no_dead_strip	_ci_process_firmware_header
.subsections_via_symbols
