	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function smu7_patch_ppt_v1_with_vdd_leakage
_smu7_patch_ppt_v1_with_vdd_leakage:    ## @smu7_patch_ppt_v1_with_vdd_leakage
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdx), %rcx
	testq	%rcx, %rcx
	je	LBB0_1
## %bb.2:
	movq	16(%rdx), %rax
	movl	(%rsi), %r8d
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	%r8d, (%rax,%rdi,4)
	je	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	incq	%rdi
	cmpq	%rdi, %rcx
	jne	LBB0_3
	jmp	LBB0_6
LBB0_1:
	movl	(%rsi), %r8d
	jmp	LBB0_6
LBB0_4:
	movq	8(%rdx), %rax
	movl	(%rax,%rdi,4), %r8d
	movl	%r8d, (%rsi)
LBB0_6:
	movq	_ATOM_VIRTUAL_VOLTAGE_ID0@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r8d
	jle	LBB0_7
## %bb.8:
	leaq	L_.str(%rip), %rdi
	popq	%rbp
	jmp	_pr_err                         ## TAILCALL
LBB0_7:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ATOM_VIRTUAL_VOLTAGE_ID0,4,2   ## @ATOM_VIRTUAL_VOLTAGE_ID0
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Voltage value looks like a Leakage ID but it's not patched \n"

	.no_dead_strip	_smu7_patch_ppt_v1_with_vdd_leakage
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function smu7_patch_ppt_v1_with_vdd_leakage
_smu7_patch_ppt_v1_with_vdd_leakage:    ; @smu7_patch_ppt_v1_with_vdd_leakage
	.cfi_startproc
; %bb.0:
	ldr	x9, [x2]
	cbz	x9, LBB0_4
; %bb.1:
	mov	x10, #0
	ldr	x11, [x2, #16]
	ldr	w8, [x1]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w12, [x11, x10, lsl #2]
	cmp	w12, w8
	b.eq	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x10, x10, #1
	cmp	x9, x10
	b.ne	LBB0_2
	b	LBB0_6
LBB0_4:
	ldr	w8, [x1]
	b	LBB0_6
LBB0_5:
	ldr	x8, [x2, #8]
	ldr	w8, [x8, x10, lsl #2]
	str	w8, [x1]
LBB0_6:
Lloh0:
	adrp	x9, _ATOM_VIRTUAL_VOLTAGE_ID0@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ATOM_VIRTUAL_VOLTAGE_ID0@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w8, w9
	b.le	LBB0_8
; %bb.7:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	b	_pr_err
LBB0_8:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_ATOM_VIRTUAL_VOLTAGE_ID0,4,2   ; @ATOM_VIRTUAL_VOLTAGE_ID0
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Voltage value looks like a Leakage ID but it's not patched \n"

	.no_dead_strip	_smu7_patch_ppt_v1_with_vdd_leakage
.subsections_via_symbols
