	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function smu7_check_dpm_table_updated
_smu7_check_dpm_table_updated:          ## @smu7_check_dpm_table_updated
	.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), %r8
	testq	%r8, %r8
	je	LBB0_24
## %bb.1:
	movq	8(%rdi), %r9
	movq	24(%r9), %rdx
	testq	%rdx, %rdx
	je	LBB0_6
## %bb.2:
	movq	32(%r9), %rsi
	movq	56(%r9), %rdi
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rdi,%rcx,8), %rax
	cmpq	(%rsi,%rcx,8), %rax
	jne	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_4 Depth=1
	incq	%rcx
	cmpq	%rcx, %rdx
	jne	LBB0_4
	jmp	LBB0_6
LBB0_5:
	movq	_DPMTABLE_OD_UPDATE_SCLK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r9)
LBB0_6:
	movq	8(%r9), %rdx
	testq	%rdx, %rdx
	je	LBB0_11
## %bb.7:
	movq	16(%r9), %rsi
	movq	48(%r9), %rdi
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rdi,%rcx,8), %rax
	cmpq	(%rsi,%rcx,8), %rax
	jne	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_9 Depth=1
	incq	%rcx
	cmpq	%rcx, %rdx
	jne	LBB0_9
	jmp	LBB0_11
LBB0_10:
	movq	_DPMTABLE_OD_UPDATE_MCLK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r9)
LBB0_11:
	movq	8(%r8), %rcx
	movq	(%rcx), %rdx
	testq	%rdx, %rdx
	je	LBB0_17
## %bb.12:
	movq	8(%rcx), %rsi
	movq	52(%r9), %rdi
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rsi,%rcx,8), %rax
	cmpq	(%rdi,%rcx,8), %rax
	jne	LBB0_15
## %bb.13:                              ##   in Loop: Header=BB0_14 Depth=1
	incq	%rcx
	cmpq	%rcx, %rdx
	jne	LBB0_14
LBB0_17:
	movq	(%r8), %rdx
	movq	(%rdx), %rcx
	testq	%rcx, %rcx
	je	LBB0_22
## %bb.18:
	movq	8(%rdx), %rdx
	movq	48(%r9), %rsi
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_20:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rdx,%rdi,8), %rax
	cmpq	(%rsi,%rdi,8), %rax
	jne	LBB0_21
## %bb.19:                              ##   in Loop: Header=BB0_20 Depth=1
	incq	%rdi
	cmpq	%rdi, %rcx
	jne	LBB0_20
LBB0_22:
	movl	(%r9), %ecx
	movq	_DPMTABLE_OD_UPDATE_VDDC@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	testl	%ecx, %edx
	je	LBB0_24
## %bb.23:
	notl	%edx
	andl	%edx, %ecx
	movl	%ecx, (%r9)
	movq	_DPMTABLE_OD_UPDATE_SCLK@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_DPMTABLE_OD_UPDATE_MCLK@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	%ecx, (%r9)
LBB0_24:
	popq	%rbp
	retq
LBB0_15:
	movq	_DPMTABLE_OD_UPDATE_VDDC@GOTPCREL(%rip), %rax
	movq	_DPMTABLE_OD_UPDATE_MCLK@GOTPCREL(%rip), %rcx
	jmp	LBB0_16
LBB0_21:
	movq	_DPMTABLE_OD_UPDATE_VDDC@GOTPCREL(%rip), %rax
	movq	_DPMTABLE_OD_UPDATE_SCLK@GOTPCREL(%rip), %rcx
LBB0_16:
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	orl	%ecx, (%r9)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DPMTABLE_OD_UPDATE_SCLK,4,2    ## @DPMTABLE_OD_UPDATE_SCLK
	.comm	_DPMTABLE_OD_UPDATE_MCLK,4,2    ## @DPMTABLE_OD_UPDATE_MCLK
	.comm	_DPMTABLE_OD_UPDATE_VDDC,4,2    ## @DPMTABLE_OD_UPDATE_VDDC
	.no_dead_strip	_smu7_check_dpm_table_updated
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function smu7_check_dpm_table_updated
_smu7_check_dpm_table_updated:          ; @smu7_check_dpm_table_updated
	.cfi_startproc
; %bb.0:
	ldr	x9, [x0]
	cbz	x9, LBB0_25
; %bb.1:
	ldr	x8, [x0, #8]
	ldr	x10, [x8, #24]
	cbz	x10, LBB0_5
; %bb.2:
	ldr	x11, [x8, #56]
	ldr	x12, [x8, #32]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x13, [x11]
	ldr	x14, [x12]
	cmp	x13, x14
	b.ne	LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x11, x11, #8
	add	x12, x12, #8
	subs	x10, x10, #1
	b.ne	LBB0_3
LBB0_5:
	ldr	x10, [x8, #8]
	cbnz	x10, LBB0_7
	b	LBB0_11
LBB0_6:
Lloh0:
	adrp	x10, _DPMTABLE_OD_UPDATE_SCLK@GOTPAGE
Lloh1:
	ldr	x10, [x10, _DPMTABLE_OD_UPDATE_SCLK@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
	ldr	w11, [x8]
	orr	w10, w11, w10
	str	w10, [x8]
	ldr	x10, [x8, #8]
	cbz	x10, LBB0_11
LBB0_7:
	ldr	x11, [x8, #48]
	ldr	x12, [x8, #16]
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x13, [x11]
	ldr	x14, [x12]
	cmp	x13, x14
	b.ne	LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	add	x11, x11, #8
	add	x12, x12, #8
	subs	x10, x10, #1
	b.ne	LBB0_8
	b	LBB0_11
LBB0_10:
Lloh3:
	adrp	x10, _DPMTABLE_OD_UPDATE_MCLK@GOTPAGE
Lloh4:
	ldr	x10, [x10, _DPMTABLE_OD_UPDATE_MCLK@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	ldr	w11, [x8]
	orr	w10, w11, w10
	str	w10, [x8]
LBB0_11:
	ldr	x11, [x9, #8]
	ldr	x10, [x11]
	cbz	x10, LBB0_15
; %bb.12:
	ldr	x11, [x11, #8]
	ldur	x12, [x8, #52]
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldr	x13, [x11]
	ldr	x14, [x12]
	cmp	x13, x14
	b.ne	LBB0_21
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	add	x11, x11, #8
	add	x12, x12, #8
	subs	x10, x10, #1
	b.ne	LBB0_13
LBB0_15:
	ldr	x10, [x9]
	ldr	x9, [x10]
	cbz	x9, LBB0_19
; %bb.16:
	ldr	x10, [x10, #8]
	ldr	x11, [x8, #48]
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	ldr	x12, [x10]
	ldr	x13, [x11]
	cmp	x12, x13
	b.ne	LBB0_22
; %bb.18:                               ;   in Loop: Header=BB0_17 Depth=1
	add	x10, x10, #8
	add	x11, x11, #8
	subs	x9, x9, #1
	b.ne	LBB0_17
LBB0_19:
	ldr	w9, [x8]
Lloh6:
	adrp	x10, _DPMTABLE_OD_UPDATE_VDDC@GOTPAGE
Lloh7:
	ldr	x10, [x10, _DPMTABLE_OD_UPDATE_VDDC@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_25
; %bb.20:
	bic	w9, w9, w10
	str	w9, [x8]
Lloh9:
	adrp	x10, _DPMTABLE_OD_UPDATE_SCLK@GOTPAGE
Lloh10:
	ldr	x10, [x10, _DPMTABLE_OD_UPDATE_SCLK@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
Lloh12:
	adrp	x11, _DPMTABLE_OD_UPDATE_MCLK@GOTPAGE
Lloh13:
	ldr	x11, [x11, _DPMTABLE_OD_UPDATE_MCLK@GOTPAGEOFF]
Lloh14:
	ldr	w11, [x11]
	orr	w9, w10, w9
	orr	w9, w9, w11
	b	LBB0_24
LBB0_21:
Lloh15:
	adrp	x9, _DPMTABLE_OD_UPDATE_VDDC@GOTPAGE
Lloh16:
	ldr	x9, [x9, _DPMTABLE_OD_UPDATE_VDDC@GOTPAGEOFF]
Lloh17:
	adrp	x10, _DPMTABLE_OD_UPDATE_MCLK@GOTPAGE
Lloh18:
	ldr	x10, [x10, _DPMTABLE_OD_UPDATE_MCLK@GOTPAGEOFF]
	b	LBB0_23
LBB0_22:
Lloh19:
	adrp	x9, _DPMTABLE_OD_UPDATE_VDDC@GOTPAGE
Lloh20:
	ldr	x9, [x9, _DPMTABLE_OD_UPDATE_VDDC@GOTPAGEOFF]
Lloh21:
	adrp	x10, _DPMTABLE_OD_UPDATE_SCLK@GOTPAGE
Lloh22:
	ldr	x10, [x10, _DPMTABLE_OD_UPDATE_SCLK@GOTPAGEOFF]
LBB0_23:
	ldr	w9, [x9]
	ldr	w10, [x10]
	orr	w9, w10, w9
	ldr	w10, [x8]
	orr	w9, w9, w10
LBB0_24:
	str	w9, [x8]
LBB0_25:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_DPMTABLE_OD_UPDATE_SCLK,4,2    ; @DPMTABLE_OD_UPDATE_SCLK
	.comm	_DPMTABLE_OD_UPDATE_MCLK,4,2    ; @DPMTABLE_OD_UPDATE_MCLK
	.comm	_DPMTABLE_OD_UPDATE_VDDC,4,2    ; @DPMTABLE_OD_UPDATE_VDDC
	.no_dead_strip	_smu7_check_dpm_table_updated
.subsections_via_symbols
