	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vega10_get_pp_table_entry
_vega10_get_pp_table_entry:             ## @vega10_get_pp_table_entry
	.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	%rdx, %rbx
	movq	%rsi, %r15
	movq	%rdi, %r12
	movq	_PhwVega10_Magic@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leaq	12(%rdx), %rdi
	movl	%eax, 12(%rdx)
	callq	_cast_phw_vega10_power_state
	movq	%rax, %r14
	movq	_vega10_get_pp_table_entry_callback_func@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r12, %rdi
	movq	%r15, %rsi
	movq	%rbx, %rdx
	callq	_vega10_get_powerplay_table_entry
	cmpl	$0, 8(%rbx)
	jne	LBB0_2
## %bb.1:
	movl	$1, (%r14)
LBB0_2:
	movl	4(%rbx), %eax
	movl	%eax, 8(%r14)
	movl	(%rbx), %eax
	movl	%eax, 4(%r14)
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PhwVega10_Magic,4,2            ## @PhwVega10_Magic
	.comm	_vega10_get_pp_table_entry_callback_func,4,2 ## @vega10_get_pp_table_entry_callback_func
	.no_dead_strip	_vega10_get_pp_table_entry
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vega10_get_pp_table_entry
_vega10_get_pp_table_entry:             ; @vega10_get_pp_table_entry
	.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	x19, x2
	mov	x21, x1
	mov	x22, x0
Lloh0:
	adrp	x8, _PhwVega10_Magic@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PhwVega10_Magic@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	mov	x0, x2
	str	w8, [x0, #12]!
	bl	_cast_phw_vega10_power_state
	mov	x20, x0
Lloh3:
	adrp	x8, _vega10_get_pp_table_entry_callback_func@GOTPAGE
Lloh4:
	ldr	x8, [x8, _vega10_get_pp_table_entry_callback_func@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
	mov	x0, x22
	mov	x1, x21
	mov	x2, x19
	bl	_vega10_get_powerplay_table_entry
	ldr	w8, [x19, #8]
	cbnz	w8, LBB0_2
; %bb.1:
	mov	w8, #1
	str	w8, [x20]
LBB0_2:
	ldr	d0, [x19]
	stur	d0, [x20, #4]
	mov	w0, #0
	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	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PhwVega10_Magic,4,2            ; @PhwVega10_Magic
	.comm	_vega10_get_pp_table_entry_callback_func,4,2 ; @vega10_get_pp_table_entry_callback_func
	.no_dead_strip	_vega10_get_pp_table_entry
.subsections_via_symbols
