	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function si_process_firmware_header
_si_process_firmware_header:            ## @si_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	callq	_si_get_pi
	movq	%rax, %r14
	movq	_SISLANDS_SMC_FIRMWARE_HEADER_LOCATION@GOTPCREL(%rip), %r15
	movq	_SISLANDS_SMC_FIRMWARE_HEADER_stateTable@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r15), %rsi
	movl	8(%r14), %ecx
	leaq	-32(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_si_read_smc_sram_dword
	testl	%eax, %eax
	jne	LBB0_10
## %bb.1:
	movq	-32(%rbp), %rax
	movq	%rax, 72(%r14)
	movq	_SISLANDS_SMC_FIRMWARE_HEADER_softRegisters@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r15), %rsi
	movl	8(%r14), %ecx
	leaq	-32(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_si_read_smc_sram_dword
	testl	%eax, %eax
	jne	LBB0_10
## %bb.2:
	movq	-32(%rbp), %rax
	movq	%rax, 64(%r14)
	movq	_SISLANDS_SMC_FIRMWARE_HEADER_mcRegisterTable@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r15), %rsi
	movl	8(%r14), %ecx
	leaq	-32(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_si_read_smc_sram_dword
	testl	%eax, %eax
	jne	LBB0_10
## %bb.3:
	movq	-32(%rbp), %rax
	movq	%rax, 56(%r14)
	movq	_SISLANDS_SMC_FIRMWARE_HEADER_fanTable@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r15), %rsi
	movl	8(%r14), %ecx
	leaq	-32(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_si_read_smc_sram_dword
	testl	%eax, %eax
	jne	LBB0_10
## %bb.4:
	movq	-32(%rbp), %rax
	movq	%rax, 48(%r14)
	movq	_SISLANDS_SMC_FIRMWARE_HEADER_mcArbDramAutoRefreshTable@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r15), %rsi
	movl	8(%r14), %ecx
	leaq	-32(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_si_read_smc_sram_dword
	testl	%eax, %eax
	jne	LBB0_10
## %bb.5:
	movq	-32(%rbp), %rax
	movq	%rax, 40(%r14)
	movq	_SISLANDS_SMC_FIRMWARE_HEADER_CacConfigTable@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r15), %rsi
	movl	8(%r14), %ecx
	leaq	-32(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_si_read_smc_sram_dword
	testl	%eax, %eax
	jne	LBB0_10
## %bb.6:
	movq	-32(%rbp), %rax
	movq	%rax, 32(%r14)
	movq	_SISLANDS_SMC_FIRMWARE_HEADER_DteConfiguration@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r15), %rsi
	movl	8(%r14), %ecx
	leaq	-32(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_si_read_smc_sram_dword
	testl	%eax, %eax
	jne	LBB0_10
## %bb.7:
	movq	-32(%rbp), %rax
	movq	%rax, 24(%r14)
	movq	_SISLANDS_SMC_FIRMWARE_HEADER_spllTable@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r15), %rsi
	movl	8(%r14), %ecx
	leaq	-32(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_si_read_smc_sram_dword
	testl	%eax, %eax
	jne	LBB0_10
## %bb.8:
	movq	-32(%rbp), %rax
	movq	%rax, 16(%r14)
	movq	_SISLANDS_SMC_FIRMWARE_HEADER_PAPMParameters@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r15), %rsi
	movl	8(%r14), %ecx
	leaq	-32(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_si_read_smc_sram_dword
	testl	%eax, %eax
	jne	LBB0_10
## %bb.9:
	movq	-32(%rbp), %rax
	movq	%rax, (%r14)
	xorl	%eax, %eax
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SISLANDS_SMC_FIRMWARE_HEADER_LOCATION,8,3 ## @SISLANDS_SMC_FIRMWARE_HEADER_LOCATION
	.comm	_SISLANDS_SMC_FIRMWARE_HEADER_stateTable,8,3 ## @SISLANDS_SMC_FIRMWARE_HEADER_stateTable
	.comm	_SISLANDS_SMC_FIRMWARE_HEADER_softRegisters,8,3 ## @SISLANDS_SMC_FIRMWARE_HEADER_softRegisters
	.comm	_SISLANDS_SMC_FIRMWARE_HEADER_mcRegisterTable,8,3 ## @SISLANDS_SMC_FIRMWARE_HEADER_mcRegisterTable
	.comm	_SISLANDS_SMC_FIRMWARE_HEADER_fanTable,8,3 ## @SISLANDS_SMC_FIRMWARE_HEADER_fanTable
	.comm	_SISLANDS_SMC_FIRMWARE_HEADER_mcArbDramAutoRefreshTable,8,3 ## @SISLANDS_SMC_FIRMWARE_HEADER_mcArbDramAutoRefreshTable
	.comm	_SISLANDS_SMC_FIRMWARE_HEADER_CacConfigTable,8,3 ## @SISLANDS_SMC_FIRMWARE_HEADER_CacConfigTable
	.comm	_SISLANDS_SMC_FIRMWARE_HEADER_DteConfiguration,8,3 ## @SISLANDS_SMC_FIRMWARE_HEADER_DteConfiguration
	.comm	_SISLANDS_SMC_FIRMWARE_HEADER_spllTable,8,3 ## @SISLANDS_SMC_FIRMWARE_HEADER_spllTable
	.comm	_SISLANDS_SMC_FIRMWARE_HEADER_PAPMParameters,8,3 ## @SISLANDS_SMC_FIRMWARE_HEADER_PAPMParameters
	.no_dead_strip	_si_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 si_process_firmware_header
_si_process_firmware_header:            ; @si_process_firmware_header
	.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	x20, x0
	bl	_si_get_pi
	mov	x19, x0
Lloh0:
	adrp	x21, _SISLANDS_SMC_FIRMWARE_HEADER_LOCATION@GOTPAGE
Lloh1:
	ldr	x21, [x21, _SISLANDS_SMC_FIRMWARE_HEADER_LOCATION@GOTPAGEOFF]
	ldr	x8, [x21]
Lloh2:
	adrp	x9, _SISLANDS_SMC_FIRMWARE_HEADER_stateTable@GOTPAGE
Lloh3:
	ldr	x9, [x9, _SISLANDS_SMC_FIRMWARE_HEADER_stateTable@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	add	x1, x9, x8
	ldr	w3, [x0, #8]
	add	x2, sp, #8
	mov	x0, x20
	bl	_si_read_smc_sram_dword
	cbnz	w0, LBB0_10
; %bb.1:
	ldr	x8, [sp, #8]
	str	x8, [x19, #72]
	ldr	x8, [x21]
Lloh5:
	adrp	x9, _SISLANDS_SMC_FIRMWARE_HEADER_softRegisters@GOTPAGE
Lloh6:
	ldr	x9, [x9, _SISLANDS_SMC_FIRMWARE_HEADER_softRegisters@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	add	x1, x9, x8
	ldr	w3, [x19, #8]
	add	x2, sp, #8
	mov	x0, x20
	bl	_si_read_smc_sram_dword
	cbnz	w0, LBB0_10
; %bb.2:
	ldr	x8, [sp, #8]
	str	x8, [x19, #64]
	ldr	x8, [x21]
Lloh8:
	adrp	x9, _SISLANDS_SMC_FIRMWARE_HEADER_mcRegisterTable@GOTPAGE
Lloh9:
	ldr	x9, [x9, _SISLANDS_SMC_FIRMWARE_HEADER_mcRegisterTable@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	add	x1, x9, x8
	ldr	w3, [x19, #8]
	add	x2, sp, #8
	mov	x0, x20
	bl	_si_read_smc_sram_dword
	cbnz	w0, LBB0_10
; %bb.3:
	ldr	x8, [sp, #8]
	str	x8, [x19, #56]
	ldr	x8, [x21]
Lloh11:
	adrp	x9, _SISLANDS_SMC_FIRMWARE_HEADER_fanTable@GOTPAGE
Lloh12:
	ldr	x9, [x9, _SISLANDS_SMC_FIRMWARE_HEADER_fanTable@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	add	x1, x9, x8
	ldr	w3, [x19, #8]
	add	x2, sp, #8
	mov	x0, x20
	bl	_si_read_smc_sram_dword
	cbnz	w0, LBB0_10
; %bb.4:
	ldr	x8, [sp, #8]
	str	x8, [x19, #48]
	ldr	x8, [x21]
Lloh14:
	adrp	x9, _SISLANDS_SMC_FIRMWARE_HEADER_mcArbDramAutoRefreshTable@GOTPAGE
Lloh15:
	ldr	x9, [x9, _SISLANDS_SMC_FIRMWARE_HEADER_mcArbDramAutoRefreshTable@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	add	x1, x9, x8
	ldr	w3, [x19, #8]
	add	x2, sp, #8
	mov	x0, x20
	bl	_si_read_smc_sram_dword
	cbnz	w0, LBB0_10
; %bb.5:
	ldr	x8, [sp, #8]
	str	x8, [x19, #40]
	ldr	x8, [x21]
Lloh17:
	adrp	x9, _SISLANDS_SMC_FIRMWARE_HEADER_CacConfigTable@GOTPAGE
Lloh18:
	ldr	x9, [x9, _SISLANDS_SMC_FIRMWARE_HEADER_CacConfigTable@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	add	x1, x9, x8
	ldr	w3, [x19, #8]
	add	x2, sp, #8
	mov	x0, x20
	bl	_si_read_smc_sram_dword
	cbnz	w0, LBB0_10
; %bb.6:
	ldr	x8, [sp, #8]
	str	x8, [x19, #32]
	ldr	x8, [x21]
Lloh20:
	adrp	x9, _SISLANDS_SMC_FIRMWARE_HEADER_DteConfiguration@GOTPAGE
Lloh21:
	ldr	x9, [x9, _SISLANDS_SMC_FIRMWARE_HEADER_DteConfiguration@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	add	x1, x9, x8
	ldr	w3, [x19, #8]
	add	x2, sp, #8
	mov	x0, x20
	bl	_si_read_smc_sram_dword
	cbnz	w0, LBB0_10
; %bb.7:
	ldr	x8, [sp, #8]
	str	x8, [x19, #24]
	ldr	x8, [x21]
Lloh23:
	adrp	x9, _SISLANDS_SMC_FIRMWARE_HEADER_spllTable@GOTPAGE
Lloh24:
	ldr	x9, [x9, _SISLANDS_SMC_FIRMWARE_HEADER_spllTable@GOTPAGEOFF]
Lloh25:
	ldr	x9, [x9]
	add	x1, x9, x8
	ldr	w3, [x19, #8]
	add	x2, sp, #8
	mov	x0, x20
	bl	_si_read_smc_sram_dword
	cbnz	w0, LBB0_10
; %bb.8:
	ldr	x8, [sp, #8]
	str	x8, [x19, #16]
	ldr	x8, [x21]
Lloh26:
	adrp	x9, _SISLANDS_SMC_FIRMWARE_HEADER_PAPMParameters@GOTPAGE
Lloh27:
	ldr	x9, [x9, _SISLANDS_SMC_FIRMWARE_HEADER_PAPMParameters@GOTPAGEOFF]
Lloh28:
	ldr	x9, [x9]
	add	x1, x9, x8
	ldr	w3, [x19, #8]
	add	x2, sp, #8
	mov	x0, x20
	bl	_si_read_smc_sram_dword
	cbnz	w0, LBB0_10
; %bb.9:
	ldr	x8, [sp, #8]
	str	x8, [x19]
LBB0_10:
	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	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_SISLANDS_SMC_FIRMWARE_HEADER_LOCATION,8,3 ; @SISLANDS_SMC_FIRMWARE_HEADER_LOCATION
	.comm	_SISLANDS_SMC_FIRMWARE_HEADER_stateTable,8,3 ; @SISLANDS_SMC_FIRMWARE_HEADER_stateTable
	.comm	_SISLANDS_SMC_FIRMWARE_HEADER_softRegisters,8,3 ; @SISLANDS_SMC_FIRMWARE_HEADER_softRegisters
	.comm	_SISLANDS_SMC_FIRMWARE_HEADER_mcRegisterTable,8,3 ; @SISLANDS_SMC_FIRMWARE_HEADER_mcRegisterTable
	.comm	_SISLANDS_SMC_FIRMWARE_HEADER_fanTable,8,3 ; @SISLANDS_SMC_FIRMWARE_HEADER_fanTable
	.comm	_SISLANDS_SMC_FIRMWARE_HEADER_mcArbDramAutoRefreshTable,8,3 ; @SISLANDS_SMC_FIRMWARE_HEADER_mcArbDramAutoRefreshTable
	.comm	_SISLANDS_SMC_FIRMWARE_HEADER_CacConfigTable,8,3 ; @SISLANDS_SMC_FIRMWARE_HEADER_CacConfigTable
	.comm	_SISLANDS_SMC_FIRMWARE_HEADER_DteConfiguration,8,3 ; @SISLANDS_SMC_FIRMWARE_HEADER_DteConfiguration
	.comm	_SISLANDS_SMC_FIRMWARE_HEADER_spllTable,8,3 ; @SISLANDS_SMC_FIRMWARE_HEADER_spllTable
	.comm	_SISLANDS_SMC_FIRMWARE_HEADER_PAPMParameters,8,3 ; @SISLANDS_SMC_FIRMWARE_HEADER_PAPMParameters
	.no_dead_strip	_si_process_firmware_header
.subsections_via_symbols
