	.file	"extr_smu7_hwmgr.c_smu7_patch_cac_vddc.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	smu7_patch_cac_vddc, @function
smu7_patch_cac_vddc:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	sub	rsp, 16
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	test	rsi, rsi
	je	.L3
	cmp	QWORD PTR [rsi], 0
	mov	rbp, rsi
	je	.L3
	mov	rax, QWORD PTR 8[rsi]
	mov	r14, QWORD PTR [rdi]
	mov	r12, rdi
	xor	ebx, ebx
	mov	r13, rsp
	.p2align 4,,10
	.p2align 3
.L4:
	mov	rax, QWORD PTR [rax+rbx*8]
	mov	rdx, r14
	mov	rsi, r13
	mov	rdi, r12
	mov	QWORD PTR [rsp], rax
	call	smu7_patch_ppt_v0_with_vdd_leakage@PLT
	mov	rax, QWORD PTR 8[rbp]
	mov	rdx, QWORD PTR [rsp]
	mov	QWORD PTR [rax+rbx*8], rdx
	add	rbx, 1
	cmp	QWORD PTR 0[rbp], rbx
	ja	.L4
.L3:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L10
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
.L10:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	smu7_patch_cac_vddc, .-smu7_patch_cac_vddc
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_smu7_hwmgr.c_smu7_patch_cac_vddc.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	smu7_patch_cac_vddc, %function
smu7_patch_cac_vddc:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	ldr	r3, .L14
	sub	sp, sp, #12
	subs	r5, r1, #0
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	beq	.L3
	ldr	r3, [r5]
	cmp	r3, #0
	beq	.L3
	mov	r6, r0
	mov	r4, #0
	ldr	r3, [r5, #4]
	ldr	r7, [r0]
.L4:
	ldr	r3, [r3, r4, lsl #2]
	mov	r1, sp
	mov	r2, r7
	mov	r0, r6
	str	r3, [sp]
	bl	smu7_patch_ppt_v0_with_vdd_leakage
	ldr	r3, [r5, #4]
	ldr	ip, [sp]
	ldr	r1, [r5]
	str	ip, [r3, r4, lsl #2]
	add	r4, r4, #1
	cmp	r1, r4
	bhi	.L4
.L3:
	ldr	r3, .L14
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L13
	mov	r0, #0
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L13:
	bl	__stack_chk_fail
.L15:
	.align	2
.L14:
	.word	.LC0
	.size	smu7_patch_cac_vddc, .-smu7_patch_cac_vddc
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
