	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function smu_fetch_param_partitions
_smu_fetch_param_partitions:            ## @smu_fetch_param_partitions
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_SMU_SDB_CPUVCP_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_smu_get_sdb_partition
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rax, %rcx
	addq	$4, %rcx
	movq	_cpuvcp@GOTPCREL(%rip), %rdx
	movq	%rcx, (%rdx)
	movl	(%rax), %eax
	movq	_cpuvcp_version@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
LBB0_2:
	movq	_SMU_SDB_CPUDIODE_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_smu_get_sdb_partition
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	addq	$4, %rax
	movq	_cpudiode@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
LBB0_4:
	movq	_SMU_SDB_SLOTSPOW_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_smu_get_sdb_partition
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	addq	$4, %rax
	movq	_slotspow@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
LBB0_6:
	movq	_SMU_SDB_DEBUG_SWITCHES_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_smu_get_sdb_partition
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	addq	$4, %rax
	movq	_debugswitches@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
LBB0_8:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SMU_SDB_CPUVCP_ID,4,2          ## @SMU_SDB_CPUVCP_ID
	.comm	_cpuvcp,8,3                     ## @cpuvcp
	.comm	_cpuvcp_version,4,2             ## @cpuvcp_version
	.comm	_SMU_SDB_CPUDIODE_ID,4,2        ## @SMU_SDB_CPUDIODE_ID
	.comm	_cpudiode,8,3                   ## @cpudiode
	.comm	_SMU_SDB_SLOTSPOW_ID,4,2        ## @SMU_SDB_SLOTSPOW_ID
	.comm	_slotspow,8,3                   ## @slotspow
	.comm	_SMU_SDB_DEBUG_SWITCHES_ID,4,2  ## @SMU_SDB_DEBUG_SWITCHES_ID
	.comm	_debugswitches,8,3              ## @debugswitches
	.no_dead_strip	_smu_fetch_param_partitions
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function smu_fetch_param_partitions
_smu_fetch_param_partitions:            ; @smu_fetch_param_partitions
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _SMU_SDB_CPUVCP_ID@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SMU_SDB_CPUVCP_ID@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	x1, #0
	bl	_smu_get_sdb_partition
	cbz	x0, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _cpuvcp@GOTPAGE
Lloh4:
	ldr	x8, [x8, _cpuvcp@GOTPAGEOFF]
	ldr	w9, [x0], #4
Lloh5:
	str	x0, [x8]
Lloh6:
	adrp	x8, _cpuvcp_version@GOTPAGE
Lloh7:
	ldr	x8, [x8, _cpuvcp_version@GOTPAGEOFF]
Lloh8:
	str	w9, [x8]
LBB0_2:
Lloh9:
	adrp	x8, _SMU_SDB_CPUDIODE_ID@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SMU_SDB_CPUDIODE_ID@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	mov	x1, #0
	bl	_smu_get_sdb_partition
	cbz	x0, LBB0_4
; %bb.3:
	add	x8, x0, #4
Lloh12:
	adrp	x9, _cpudiode@GOTPAGE
Lloh13:
	ldr	x9, [x9, _cpudiode@GOTPAGEOFF]
Lloh14:
	str	x8, [x9]
LBB0_4:
Lloh15:
	adrp	x8, _SMU_SDB_SLOTSPOW_ID@GOTPAGE
Lloh16:
	ldr	x8, [x8, _SMU_SDB_SLOTSPOW_ID@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	mov	x1, #0
	bl	_smu_get_sdb_partition
	cbz	x0, LBB0_6
; %bb.5:
	add	x8, x0, #4
Lloh18:
	adrp	x9, _slotspow@GOTPAGE
Lloh19:
	ldr	x9, [x9, _slotspow@GOTPAGEOFF]
Lloh20:
	str	x8, [x9]
LBB0_6:
Lloh21:
	adrp	x8, _SMU_SDB_DEBUG_SWITCHES_ID@GOTPAGE
Lloh22:
	ldr	x8, [x8, _SMU_SDB_DEBUG_SWITCHES_ID@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
	mov	x1, #0
	bl	_smu_get_sdb_partition
	cbz	x0, LBB0_8
; %bb.7:
	add	x8, x0, #4
Lloh24:
	adrp	x9, _debugswitches@GOTPAGE
Lloh25:
	ldr	x9, [x9, _debugswitches@GOTPAGEOFF]
Lloh26:
	str	x8, [x9]
LBB0_8:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotStr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotStr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotStr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotStr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotStr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_SMU_SDB_CPUVCP_ID,4,2          ; @SMU_SDB_CPUVCP_ID
	.comm	_cpuvcp,8,3                     ; @cpuvcp
	.comm	_cpuvcp_version,4,2             ; @cpuvcp_version
	.comm	_SMU_SDB_CPUDIODE_ID,4,2        ; @SMU_SDB_CPUDIODE_ID
	.comm	_cpudiode,8,3                   ; @cpudiode
	.comm	_SMU_SDB_SLOTSPOW_ID,4,2        ; @SMU_SDB_SLOTSPOW_ID
	.comm	_slotspow,8,3                   ; @slotspow
	.comm	_SMU_SDB_DEBUG_SWITCHES_ID,4,2  ; @SMU_SDB_DEBUG_SWITCHES_ID
	.comm	_debugswitches,8,3              ; @debugswitches
	.no_dead_strip	_smu_fetch_param_partitions
.subsections_via_symbols
