	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function smu7_get_number_of_powerplay_table_entries
_smu7_get_number_of_powerplay_table_entries: ## @smu7_get_number_of_powerplay_table_entries
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	movq	$0, -8(%rbp)
	movq	(%rdi), %rcx
	movq	_PP_TABLE_V0@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rcx
	jne	LBB0_3
## %bb.1:
	leaq	-8(%rbp), %rsi
	callq	_pp_tables_get_num_of_entries
	movl	%eax, %ecx
	xorl	%eax, %eax
	testl	%ecx, %ecx
	jne	LBB0_4
## %bb.2:
	movl	-8(%rbp), %eax
	jmp	LBB0_4
LBB0_3:
	movq	_PP_TABLE_V1@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	cmpq	(%rdx), %rcx
	jne	LBB0_4
## %bb.5:
	addq	$16, %rsp
	popq	%rbp
	jmp	_get_number_of_powerplay_table_entries_v1_0 ## TAILCALL
LBB0_4:
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PP_TABLE_V0,8,3                ## @PP_TABLE_V0
	.comm	_PP_TABLE_V1,8,3                ## @PP_TABLE_V1
	.no_dead_strip	_smu7_get_number_of_powerplay_table_entries
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function smu7_get_number_of_powerplay_table_entries
_smu7_get_number_of_powerplay_table_entries: ; @smu7_get_number_of_powerplay_table_entries
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	str	xzr, [sp, #8]
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _PP_TABLE_V0@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PP_TABLE_V0@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	add	x1, sp, #8
	bl	_pp_tables_get_num_of_entries
	ldr	w8, [sp, #8]
	cmp	w0, #0
	csel	w0, w8, wzr, eq
	b	LBB0_5
LBB0_2:
Lloh3:
	adrp	x9, _PP_TABLE_V1@GOTPAGE
Lloh4:
	ldr	x9, [x9, _PP_TABLE_V1@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	b	_get_number_of_powerplay_table_entries_v1_0
LBB0_4:
	mov	w0, #0
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_PP_TABLE_V0,8,3                ; @PP_TABLE_V0
	.comm	_PP_TABLE_V1,8,3                ; @PP_TABLE_V1
	.no_dead_strip	_smu7_get_number_of_powerplay_table_entries
.subsections_via_symbols
