	.file	"extr_pm-common.c_s3c_pm_do_restore.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"restore %p (restore %08lx, was %08x)\n"
	.text
	.p2align 4
	.globl	s3c_pm_do_restore
	.type	s3c_pm_do_restore, @function
s3c_pm_do_restore:
.LFB0:
	.cfi_startproc
	endbr64
	test	esi, esi
	jle	.L6
	lea	eax, -1[rsi]
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	lea	r12, 8[rdi+rax*8]
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	lea	rbp, .LC0[rip]
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rdi
	.p2align 4,,10
	.p2align 3
.L3:
	mov	edi, DWORD PTR [rbx]
	add	rbx, 8
	call	readl_relaxed@PLT
	mov	edx, DWORD PTR -4[rbx]
	mov	esi, DWORD PTR -8[rbx]
	mov	rdi, rbp
	mov	ecx, eax
	call	pr_debug@PLT
	mov	edi, DWORD PTR -4[rbx]
	mov	esi, DWORD PTR -8[rbx]
	call	writel_relaxed@PLT
	cmp	rbx, r12
	jne	.L3
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore 3
	.cfi_restore 6
	.cfi_restore 12
	ret
	.cfi_endproc
.LFE0:
	.size	s3c_pm_do_restore, .-s3c_pm_do_restore
	.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_pm-common.c_s3c_pm_do_restore.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"restore %p (restore %08lx, was %08x)\012\000"
	.text
	.align	2
	.global	s3c_pm_do_restore
	.syntax unified
	.arm
	.fpu softvfp
	.type	s3c_pm_do_restore, %function
s3c_pm_do_restore:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	subs	r5, r1, #0
	pople	{r4, r5, r6, r7, r8, pc}
	ldr	r8, .L7
	add	r4, r0, #8
.L3:
	ldmdb	r4, {r6, r7}
	mov	r0, r6
	bl	readl_relaxed
	mov	r2, r7
	mov	r3, r0
	mov	r1, r6
	mov	r0, r8
	bl	pr_debug
	ldr	r1, [r4, #-8]
	ldr	r0, [r4, #-4]
	bl	writel_relaxed
	subs	r5, r5, #1
	add	r4, r4, #8
	bne	.L3
	pop	{r4, r5, r6, r7, r8, pc}
.L8:
	.align	2
.L7:
	.word	.LC0
	.size	s3c_pm_do_restore, .-s3c_pm_do_restore
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
