	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vega12_notify_smc_display_change
_vega12_notify_smc_display_change:      ## @vega12_notify_smc_display_change
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rax
	movq	(%rax), %rax
	movq	_GNLD_DPM_UCLK@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	$0, (%rax,%rcx,8)
	je	LBB0_1
## %bb.2:
	movq	_PPSMC_MSG_SetUclkFastSwitch@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%edx, %edx
	testl	%esi, %esi
	setne	%dl
	movl	%eax, %esi
	popq	%rbp
	jmp	_smum_send_msg_to_smc_with_parameter ## TAILCALL
LBB0_1:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GNLD_DPM_UCLK,8,3              ## @GNLD_DPM_UCLK
	.comm	_PPSMC_MSG_SetUclkFastSwitch,4,2 ## @PPSMC_MSG_SetUclkFastSwitch
	.no_dead_strip	_vega12_notify_smc_display_change
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vega12_notify_smc_display_change
_vega12_notify_smc_display_change:      ; @vega12_notify_smc_display_change
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
	ldr	x8, [x8]
Lloh0:
	adrp	x9, _GNLD_DPM_UCLK@GOTPAGE
Lloh1:
	ldr	x9, [x9, _GNLD_DPM_UCLK@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	ldr	x8, [x8, x9, lsl #3]
	cbz	x8, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _PPSMC_MSG_SetUclkFastSwitch@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PPSMC_MSG_SetUclkFastSwitch@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w1, #0
	cset	w2, ne
	mov	x1, x8
	b	_smum_send_msg_to_smc_with_parameter
LBB0_2:
	mov	w0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_GNLD_DPM_UCLK,8,3              ; @GNLD_DPM_UCLK
	.comm	_PPSMC_MSG_SetUclkFastSwitch,4,2 ; @PPSMC_MSG_SetUclkFastSwitch
	.no_dead_strip	_vega12_notify_smc_display_change
.subsections_via_symbols
