	.file	"extr_cik.c_kv_save_regs_for_reset.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	kv_save_regs_for_reset, @function
kv_save_regs_for_reset:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	mov	edi, DWORD PTR GMCON_RENG_EXECUTE[rip]
	mov	rbx, rsi
	call	RREG32@PLT
	mov	edi, DWORD PTR GMCON_MISC[rip]
	mov	DWORD PTR [rbx], eax
	call	RREG32@PLT
	mov	edi, DWORD PTR GMCON_MISC3[rip]
	mov	DWORD PTR 4[rbx], eax
	call	RREG32@PLT
	mov	esi, DWORD PTR RENG_EXECUTE_ON_PWR_UP[rip]
	mov	edi, DWORD PTR GMCON_RENG_EXECUTE[rip]
	mov	QWORD PTR 8[rbx], rax
	not	esi
	and	esi, DWORD PTR [rbx]
	call	WREG32@PLT
	mov	esi, DWORD PTR RENG_EXECUTE_ON_REG_UPDATE[rip]
	mov	edi, DWORD PTR GMCON_MISC[rip]
	or	esi, DWORD PTR STCTRL_STUTTER_EN[rip]
	not	esi
	and	esi, DWORD PTR 4[rbx]
	pop	rbx
	.cfi_def_cfa_offset 8
	jmp	WREG32@PLT
	.cfi_endproc
.LFE0:
	.size	kv_save_regs_for_reset, .-kv_save_regs_for_reset
	.comm	STCTRL_STUTTER_EN,4,4
	.comm	RENG_EXECUTE_ON_REG_UPDATE,4,4
	.comm	RENG_EXECUTE_ON_PWR_UP,4,4
	.comm	GMCON_RENG_EXECUTE,4,4
	.comm	GMCON_MISC3,4,4
	.comm	GMCON_MISC,4,4
	.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_cik.c_kv_save_regs_for_reset.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	kv_save_regs_for_reset, %function
kv_save_regs_for_reset:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r6, .L4
	mov	r4, r1
	ldr	r0, [r6]
	bl	RREG32
	ldr	r5, .L4+4
	str	r0, [r4]
	ldr	r0, [r5]
	bl	RREG32
	ldr	r3, .L4+8
	str	r0, [r4, #4]
	ldr	r0, [r3]
	bl	RREG32
	ldr	r2, .L4+12
	ldr	r3, [r4]
	ldr	r1, [r2]
	str	r0, [r4, #8]
	bic	r1, r3, r1
	ldr	r0, [r6]
	bl	WREG32
	ldr	r3, .L4+16
	ldr	r2, .L4+20
	ldr	r3, [r3]
	ldr	r2, [r2]
	ldr	r1, [r4, #4]
	orr	r3, r3, r2
	ldr	r0, [r5]
	bic	r1, r1, r3
	pop	{r4, r5, r6, lr}
	b	WREG32
.L5:
	.align	2
.L4:
	.word	GMCON_RENG_EXECUTE
	.word	GMCON_MISC
	.word	GMCON_MISC3
	.word	RENG_EXECUTE_ON_PWR_UP
	.word	RENG_EXECUTE_ON_REG_UPDATE
	.word	STCTRL_STUTTER_EN
	.size	kv_save_regs_for_reset, .-kv_save_regs_for_reset
	.comm	STCTRL_STUTTER_EN,4,4
	.comm	RENG_EXECUTE_ON_REG_UPDATE,4,4
	.comm	RENG_EXECUTE_ON_PWR_UP,4,4
	.comm	GMCON_RENG_EXECUTE,4,4
	.comm	GMCON_MISC3,4,4
	.comm	GMCON_MISC,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
