	.file	"extr_cache-l2x0-pmu.c_l2x0_pmu_suspend.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	l2x0_pmu_suspend
	.type	l2x0_pmu_suspend, @function
l2x0_pmu_suspend:
.LFB0:
	.cfi_startproc
	endbr64
	mov	edi, DWORD PTR l2x0_pmu[rip]
	test	edi, edi
	jne	.L17
	ret
	.p2align 4,,10
	.p2align 3
.L17:
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	call	l2x0_pmu_disable@PLT
	mov	eax, DWORD PTR PMU_NR_COUNTERS[rip]
	test	eax, eax
	jle	.L1
	xor	ebx, ebx
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L3:
	add	rbx, 1
	cmp	DWORD PTR PMU_NR_COUNTERS[rip], ebx
	jle	.L1
.L4:
	mov	rax, QWORD PTR events[rip]
	mov	rdi, QWORD PTR [rax+rbx*8]
	test	rdi, rdi
	je	.L3
	mov	esi, DWORD PTR PERF_EF_UPDATE[rip]
	add	rbx, 1
	call	l2x0_pmu_event_stop@PLT
	cmp	DWORD PTR PMU_NR_COUNTERS[rip], ebx
	jg	.L4
.L1:
	pop	rbx
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	l2x0_pmu_suspend, .-l2x0_pmu_suspend
	.comm	l2x0_pmu,4,4
	.comm	events,8,8
	.comm	PMU_NR_COUNTERS,4,4
	.comm	PERF_EF_UPDATE,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_cache-l2x0-pmu.c_l2x0_pmu_suspend.c"
	.text
	.align	2
	.global	l2x0_pmu_suspend
	.syntax unified
	.arm
	.fpu softvfp
	.type	l2x0_pmu_suspend, %function
l2x0_pmu_suspend:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L17
	ldr	r0, [r3]
	cmp	r0, #0
	bxeq	lr
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r5, .L17+4
	bl	l2x0_pmu_disable
	ldr	r3, [r5]
	cmp	r3, #0
	pople	{r4, r5, r6, r7, r8, pc}
	mov	r4, #0
	ldr	r6, .L17+8
	ldr	r7, .L17+12
	b	.L4
.L3:
	ldr	r3, [r5]
	cmp	r3, r4
	pople	{r4, r5, r6, r7, r8, pc}
.L4:
	ldr	r3, [r6]
	ldr	r0, [r3, r4, lsl #2]
	add	r4, r4, #1
	cmp	r0, #0
	beq	.L3
	ldr	r1, [r7]
	bl	l2x0_pmu_event_stop
	b	.L3
.L18:
	.align	2
.L17:
	.word	l2x0_pmu
	.word	PMU_NR_COUNTERS
	.word	events
	.word	PERF_EF_UPDATE
	.size	l2x0_pmu_suspend, .-l2x0_pmu_suspend
	.comm	l2x0_pmu,4,4
	.comm	events,4,4
	.comm	PMU_NR_COUNTERS,4,4
	.comm	PERF_EF_UPDATE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
