	.file	"extr_exynos5420-pmu.c_exynos5420_pmu_init.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"EXYNOS5420 PMU initialized\n"
	.text
	.p2align 4
	.type	exynos5420_pmu_init, @function
exynos5420_pmu_init:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	xor	ebx, ebx
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L3:
	mov	rax, QWORD PTR exynos5420_list_disable_pmu_reg[rip]
	xor	edi, edi
	mov	esi, DWORD PTR [rax+rbx*4]
	add	rbx, 1
	call	pmu_raw_writel@PLT
.L2:
	mov	rdi, QWORD PTR exynos5420_list_disable_pmu_reg[rip]
	call	ARRAY_SIZE@PLT
	cmp	eax, ebx
	jg	.L3
	mov	esi, DWORD PTR S5P_CENTRAL_SEQ_OPTION[rip]
	mov	edi, DWORD PTR EXYNOS5420_USE_STANDBY_WFI_ALL[rip]
	call	pmu_raw_writel@PLT
	xor	edi, edi
	call	EXYNOS_L2_OPTION@PLT
	mov	edi, eax
	call	pmu_raw_readl@PLT
	mov	ebp, DWORD PTR EXYNOS_L2_USE_RETENTION[rip]
	xor	edi, edi
	not	ebp
	and	ebp, eax
	call	EXYNOS_L2_OPTION@PLT
	mov	edi, ebp
	mov	esi, eax
	call	pmu_raw_writel@PLT
	mov	edi, 1
	call	EXYNOS_L2_OPTION@PLT
	mov	edi, eax
	call	pmu_raw_readl@PLT
	mov	ebp, DWORD PTR EXYNOS_L2_USE_RETENTION[rip]
	mov	edi, 1
	not	ebp
	and	ebp, eax
	call	EXYNOS_L2_OPTION@PLT
	mov	edi, ebp
	mov	esi, eax
	call	pmu_raw_writel@PLT
	mov	edi, DWORD PTR EXYNOS5420_LPI_MASK[rip]
	call	pmu_raw_readl@PLT
	mov	esi, DWORD PTR EXYNOS5420_LPI_MASK[rip]
	or	eax, DWORD PTR EXYNOS5420_ATB_ISP_ARM[rip]
	mov	edi, eax
	call	pmu_raw_writel@PLT
	mov	edi, DWORD PTR EXYNOS5420_LPI_MASK1[rip]
	call	pmu_raw_readl@PLT
	mov	esi, DWORD PTR EXYNOS5420_LPI_MASK1[rip]
	or	eax, DWORD PTR EXYNOS5420_ATB_KFC[rip]
	mov	edi, eax
	call	pmu_raw_writel@PLT
	mov	edi, DWORD PTR EXYNOS5420_ARM_COMMON_OPTION[rip]
	call	pmu_raw_readl@PLT
	mov	esi, DWORD PTR EXYNOS5420_ARM_COMMON_OPTION[rip]
	or	eax, DWORD PTR EXYNOS5_SKIP_DEACTIVATE_ACEACP_IN_PWDN[rip]
	mov	edi, eax
	call	pmu_raw_writel@PLT
	mov	edi, DWORD PTR EXYNOS5420_KFC_COMMON_OPTION[rip]
	call	pmu_raw_readl@PLT
	mov	esi, DWORD PTR EXYNOS5420_KFC_COMMON_OPTION[rip]
	or	eax, DWORD PTR EXYNOS5_SKIP_DEACTIVATE_ACEACP_IN_PWDN[rip]
	mov	edi, eax
	call	pmu_raw_writel@PLT
	mov	esi, DWORD PTR EXYNOS5420_LOGIC_RESET_DURATION3[rip]
	mov	edi, DWORD PTR DUR_WAIT_RESET[rip]
	call	pmu_raw_writel@PLT
	mov	esi, DWORD PTR EXYNOS5420_ARM_INTR_SPREAD_ENABLE[rip]
	mov	edi, DWORD PTR SPREAD_ENABLE[rip]
	call	pmu_raw_writel@PLT
	mov	esi, DWORD PTR EXYNOS5420_ARM_INTR_SPREAD_USE_STANDBYWFI[rip]
	mov	edi, DWORD PTR SPREAD_USE_STANDWFI[rip]
	call	pmu_raw_writel@PLT
	mov	esi, DWORD PTR EXYNOS5420_UP_SCHEDULER[rip]
	mov	edi, 1
	call	pmu_raw_writel@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 24
	lea	rdi, .LC0[rip]
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	pr_info@PLT
	.cfi_endproc
.LFE0:
	.size	exynos5420_pmu_init, .-exynos5420_pmu_init
	.comm	exynos5420_list_disable_pmu_reg,8,8
	.comm	SPREAD_USE_STANDWFI,4,4
	.comm	SPREAD_ENABLE,4,4
	.comm	S5P_CENTRAL_SEQ_OPTION,4,4
	.comm	EXYNOS_L2_USE_RETENTION,4,4
	.comm	EXYNOS5_SKIP_DEACTIVATE_ACEACP_IN_PWDN,4,4
	.comm	EXYNOS5420_USE_STANDBY_WFI_ALL,4,4
	.comm	EXYNOS5420_UP_SCHEDULER,4,4
	.comm	EXYNOS5420_LPI_MASK1,4,4
	.comm	EXYNOS5420_LPI_MASK,4,4
	.comm	EXYNOS5420_LOGIC_RESET_DURATION3,4,4
	.comm	EXYNOS5420_KFC_COMMON_OPTION,4,4
	.comm	EXYNOS5420_ATB_KFC,4,4
	.comm	EXYNOS5420_ATB_ISP_ARM,4,4
	.comm	EXYNOS5420_ARM_INTR_SPREAD_USE_STANDBYWFI,4,4
	.comm	EXYNOS5420_ARM_INTR_SPREAD_ENABLE,4,4
	.comm	EXYNOS5420_ARM_COMMON_OPTION,4,4
	.comm	DUR_WAIT_RESET,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_exynos5420-pmu.c_exynos5420_pmu_init.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"EXYNOS5420 PMU initialized\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	exynos5420_pmu_init, %function
exynos5420_pmu_init:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, #0
	ldr	r5, .L6
	b	.L2
.L3:
	ldr	r3, [r5]
	mov	r0, #0
	ldr	r1, [r3, r4, lsl #2]
	bl	pmu_raw_writel
	add	r4, r4, #1
.L2:
	ldr	r0, [r5]
	bl	ARRAY_SIZE
	cmp	r0, r4
	bgt	.L3
	ldr	r2, .L6+4
	ldr	r3, .L6+8
	ldr	r1, [r2]
	ldr	r0, [r3]
	bl	pmu_raw_writel
	mov	r0, #0
	bl	EXYNOS_L2_OPTION
	bl	pmu_raw_readl
	mov	r4, r0
	ldr	r6, .L6+12
	mov	r0, #0
	ldr	r3, [r6]
	ldr	r5, .L6+16
	bic	r4, r4, r3
	bl	EXYNOS_L2_OPTION
	mov	r1, r0
	mov	r0, r4
	bl	pmu_raw_writel
	mov	r0, #1
	bl	EXYNOS_L2_OPTION
	bl	pmu_raw_readl
	mov	r4, r0
	ldr	r3, [r6]
	mov	r0, #1
	bic	r4, r4, r3
	bl	EXYNOS_L2_OPTION
	mov	r1, r0
	mov	r0, r4
	bl	pmu_raw_writel
	ldr	r0, [r5]
	bl	pmu_raw_readl
	ldr	r3, .L6+20
	ldr	r4, .L6+24
	ldr	r3, [r3]
	ldr	r1, [r5]
	orr	r0, r0, r3
	bl	pmu_raw_writel
	ldr	r0, [r4]
	bl	pmu_raw_readl
	ldr	r3, .L6+28
	ldr	r6, .L6+32
	ldr	r3, [r3]
	ldr	r1, [r4]
	orr	r0, r0, r3
	bl	pmu_raw_writel
	ldr	r0, [r6]
	bl	pmu_raw_readl
	ldr	r5, .L6+36
	ldr	r4, .L6+40
	ldr	r3, [r5]
	ldr	r1, [r6]
	orr	r0, r0, r3
	bl	pmu_raw_writel
	ldr	r0, [r4]
	bl	pmu_raw_readl
	ldr	r3, [r5]
	ldr	r1, [r4]
	orr	r0, r0, r3
	bl	pmu_raw_writel
	ldr	r2, .L6+44
	ldr	r3, .L6+48
	ldr	r1, [r2]
	ldr	r0, [r3]
	bl	pmu_raw_writel
	ldr	r2, .L6+52
	ldr	r3, .L6+56
	ldr	r1, [r2]
	ldr	r0, [r3]
	bl	pmu_raw_writel
	ldr	r2, .L6+60
	ldr	r3, .L6+64
	ldr	r1, [r2]
	ldr	r0, [r3]
	bl	pmu_raw_writel
	ldr	r3, .L6+68
	mov	r0, #1
	ldr	r1, [r3]
	bl	pmu_raw_writel
	pop	{r4, r5, r6, lr}
	ldr	r0, .L6+72
	b	pr_info
.L7:
	.align	2
.L6:
	.word	exynos5420_list_disable_pmu_reg
	.word	S5P_CENTRAL_SEQ_OPTION
	.word	EXYNOS5420_USE_STANDBY_WFI_ALL
	.word	EXYNOS_L2_USE_RETENTION
	.word	EXYNOS5420_LPI_MASK
	.word	EXYNOS5420_ATB_ISP_ARM
	.word	EXYNOS5420_LPI_MASK1
	.word	EXYNOS5420_ATB_KFC
	.word	EXYNOS5420_ARM_COMMON_OPTION
	.word	EXYNOS5_SKIP_DEACTIVATE_ACEACP_IN_PWDN
	.word	EXYNOS5420_KFC_COMMON_OPTION
	.word	EXYNOS5420_LOGIC_RESET_DURATION3
	.word	DUR_WAIT_RESET
	.word	EXYNOS5420_ARM_INTR_SPREAD_ENABLE
	.word	SPREAD_ENABLE
	.word	EXYNOS5420_ARM_INTR_SPREAD_USE_STANDBYWFI
	.word	SPREAD_USE_STANDWFI
	.word	EXYNOS5420_UP_SCHEDULER
	.word	.LC0
	.size	exynos5420_pmu_init, .-exynos5420_pmu_init
	.comm	exynos5420_list_disable_pmu_reg,4,4
	.comm	SPREAD_USE_STANDWFI,4,4
	.comm	SPREAD_ENABLE,4,4
	.comm	S5P_CENTRAL_SEQ_OPTION,4,4
	.comm	EXYNOS_L2_USE_RETENTION,4,4
	.comm	EXYNOS5_SKIP_DEACTIVATE_ACEACP_IN_PWDN,4,4
	.comm	EXYNOS5420_USE_STANDBY_WFI_ALL,4,4
	.comm	EXYNOS5420_UP_SCHEDULER,4,4
	.comm	EXYNOS5420_LPI_MASK1,4,4
	.comm	EXYNOS5420_LPI_MASK,4,4
	.comm	EXYNOS5420_LOGIC_RESET_DURATION3,4,4
	.comm	EXYNOS5420_KFC_COMMON_OPTION,4,4
	.comm	EXYNOS5420_ATB_KFC,4,4
	.comm	EXYNOS5420_ATB_ISP_ARM,4,4
	.comm	EXYNOS5420_ARM_INTR_SPREAD_USE_STANDBYWFI,4,4
	.comm	EXYNOS5420_ARM_INTR_SPREAD_ENABLE,4,4
	.comm	EXYNOS5420_ARM_COMMON_OPTION,4,4
	.comm	DUR_WAIT_RESET,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
