	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function smu7_reset_dpm_tables
_smu7_reset_dpm_tables:                 ## @smu7_reset_dpm_tables
	.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	%rdi, %rbx
	movq	(%rdi), %r14
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$20, %edx
	callq	_memset
	leaq	16(%r14), %r15
	movq	_SMU_MAX_LEVELS_GRAPHICS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_smum_get_mac_definition
	movq	_MAX_REGULAR_DPM_NUMBER@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_phm_reset_single_dpm_table
	leaq	12(%r14), %r15
	movq	_SMU_MAX_LEVELS_MEMORY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_smum_get_mac_definition
	movl	(%r12), %edx
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_phm_reset_single_dpm_table
	leaq	8(%r14), %r15
	movq	_SMU_MAX_LEVELS_VDDC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_smum_get_mac_definition
	movl	(%r12), %edx
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_phm_reset_single_dpm_table
	leaq	4(%r14), %r15
	movq	_SMU_MAX_LEVELS_VDDCI@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_smum_get_mac_definition
	movl	(%r12), %edx
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_phm_reset_single_dpm_table
	movq	_SMU_MAX_LEVELS_MVDD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_smum_get_mac_definition
	movl	(%r12), %edx
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_phm_reset_single_dpm_table
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SMU_MAX_LEVELS_GRAPHICS,4,2    ## @SMU_MAX_LEVELS_GRAPHICS
	.comm	_MAX_REGULAR_DPM_NUMBER,4,2     ## @MAX_REGULAR_DPM_NUMBER
	.comm	_SMU_MAX_LEVELS_MEMORY,4,2      ## @SMU_MAX_LEVELS_MEMORY
	.comm	_SMU_MAX_LEVELS_VDDC,4,2        ## @SMU_MAX_LEVELS_VDDC
	.comm	_SMU_MAX_LEVELS_VDDCI,4,2       ## @SMU_MAX_LEVELS_VDDCI
	.comm	_SMU_MAX_LEVELS_MVDD,4,2        ## @SMU_MAX_LEVELS_MVDD
	.no_dead_strip	_smu7_reset_dpm_tables
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function smu7_reset_dpm_tables
_smu7_reset_dpm_tables:                 ; @smu7_reset_dpm_tables
	.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	x19, [x0]
	mov	x0, x19
	mov	w1, #0
	mov	w2, #20
	bl	_memset
	add	x21, x19, #16
Lloh0:
	adrp	x8, _SMU_MAX_LEVELS_GRAPHICS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SMU_MAX_LEVELS_GRAPHICS@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_smum_get_mac_definition
	mov	x1, x0
Lloh3:
	adrp	x22, _MAX_REGULAR_DPM_NUMBER@GOTPAGE
Lloh4:
	ldr	x22, [x22, _MAX_REGULAR_DPM_NUMBER@GOTPAGEOFF]
	ldr	w2, [x22]
	mov	x0, x21
	bl	_phm_reset_single_dpm_table
	add	x21, x19, #12
Lloh5:
	adrp	x8, _SMU_MAX_LEVELS_MEMORY@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SMU_MAX_LEVELS_MEMORY@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_smum_get_mac_definition
	mov	x1, x0
	ldr	w2, [x22]
	mov	x0, x21
	bl	_phm_reset_single_dpm_table
	add	x21, x19, #8
Lloh8:
	adrp	x8, _SMU_MAX_LEVELS_VDDC@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SMU_MAX_LEVELS_VDDC@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_smum_get_mac_definition
	mov	x1, x0
	ldr	w2, [x22]
	mov	x0, x21
	bl	_phm_reset_single_dpm_table
	add	x21, x19, #4
Lloh11:
	adrp	x8, _SMU_MAX_LEVELS_VDDCI@GOTPAGE
Lloh12:
	ldr	x8, [x8, _SMU_MAX_LEVELS_VDDCI@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_smum_get_mac_definition
	mov	x1, x0
	ldr	w2, [x22]
	mov	x0, x21
	bl	_phm_reset_single_dpm_table
Lloh14:
	adrp	x8, _SMU_MAX_LEVELS_MVDD@GOTPAGE
Lloh15:
	ldr	x8, [x8, _SMU_MAX_LEVELS_MVDD@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_smum_get_mac_definition
	mov	x1, x0
	ldr	w2, [x22]
	mov	x0, x19
	bl	_phm_reset_single_dpm_table
	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	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SMU_MAX_LEVELS_GRAPHICS,4,2    ; @SMU_MAX_LEVELS_GRAPHICS
	.comm	_MAX_REGULAR_DPM_NUMBER,4,2     ; @MAX_REGULAR_DPM_NUMBER
	.comm	_SMU_MAX_LEVELS_MEMORY,4,2      ; @SMU_MAX_LEVELS_MEMORY
	.comm	_SMU_MAX_LEVELS_VDDC,4,2        ; @SMU_MAX_LEVELS_VDDC
	.comm	_SMU_MAX_LEVELS_VDDCI,4,2       ; @SMU_MAX_LEVELS_VDDCI
	.comm	_SMU_MAX_LEVELS_MVDD,4,2        ; @SMU_MAX_LEVELS_MVDD
	.no_dead_strip	_smu7_reset_dpm_tables
.subsections_via_symbols
