	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function smu7_check_smc_update_required_for_display_configuration
_smu7_check_smc_update_required_for_display_configuration: ## @smu7_check_smc_update_required_for_display_configuration
	.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
	movq	16(%rdi), %r15
	movq	(%rdi), %rax
	movq	(%r15), %rcx
	movq	8(%r15), %rdx
	xorq	(%rax), %rcx
	xorq	8(%rax), %rdx
	xorl	%r14d, %r14d
	orq	%rcx, %rdx
	setne	%r14b
	movl	8(%rdi), %edi
	movq	_PHM_PlatformCaps_SclkDeepSleep@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_phm_cap_enabled
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	16(%r15), %rax
	movq	(%rbx), %rcx
	movq	16(%rcx), %rcx
	cmpq	%rcx, %rax
	je	LBB0_3
## %bb.2:
	movq	_SMU7_MINIMUM_ENGINE_CLOCK@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	cmpq	%rdx, %rcx
	movl	$1, %ecx
	cmovgel	%ecx, %r14d
	cmpq	%rdx, %rax
	cmovgel	%ecx, %r14d
LBB0_3:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PHM_PlatformCaps_SclkDeepSleep,4,2 ## @PHM_PlatformCaps_SclkDeepSleep
	.comm	_SMU7_MINIMUM_ENGINE_CLOCK,8,3  ## @SMU7_MINIMUM_ENGINE_CLOCK
	.no_dead_strip	_smu7_check_smc_update_required_for_display_configuration
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function smu7_check_smc_update_required_for_display_configuration
_smu7_check_smc_update_required_for_display_configuration: ; @smu7_check_smc_update_required_for_display_configuration
	.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	x20, x0
	ldr	x21, [x0, #16]
	ldr	x8, [x0]
	ldp	x9, x10, [x21]
	ldp	x11, x8, [x8]
	cmp	x10, x8
	ccmp	x9, x11, #0, eq
	cset	w19, ne
	ldr	w0, [x0, #8]
Lloh0:
	adrp	x8, _PHM_PlatformCaps_SclkDeepSleep@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PHM_PlatformCaps_SclkDeepSleep@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_phm_cap_enabled
	cbz	x0, LBB0_3
; %bb.1:
	ldr	x8, [x21, #16]
	ldr	x9, [x20]
	ldr	x9, [x9, #16]
	cmp	x8, x9
	b.eq	LBB0_3
; %bb.2:
Lloh3:
	adrp	x10, _SMU7_MINIMUM_ENGINE_CLOCK@GOTPAGE
Lloh4:
	ldr	x10, [x10, _SMU7_MINIMUM_ENGINE_CLOCK@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	cmp	x9, x10
	ccmp	x8, x10, #0, lt
	csinc	w19, w19, wzr, lt
LBB0_3:
	mov	x0, x19
	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	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_PHM_PlatformCaps_SclkDeepSleep,4,2 ; @PHM_PlatformCaps_SclkDeepSleep
	.comm	_SMU7_MINIMUM_ENGINE_CLOCK,8,3  ; @SMU7_MINIMUM_ENGINE_CLOCK
	.no_dead_strip	_smu7_check_smc_update_required_for_display_configuration
.subsections_via_symbols
