	.file	"extr_perf_event.c_perf_event_print_debug.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"CPU#%d: PMG: 0x%08lx\n"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"PM%d: 0x%08lx, PMCTRL%d: 0x%08lx, PMSTAT%d: 0x%08lx\n"
	.text
	.p2align 4
	.globl	perf_event_print_debug
	.type	perf_event_print_debug, @function
perf_event_print_debug:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	xor	edi, edi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	local_irq_save@PLT
	mov	edi, DWORD PTR XTENSA_PMU_PMG[rip]
	call	get_er@PLT
	mov	r12d, eax
	xor	eax, eax
	call	smp_processor_id@PLT
	mov	edx, r12d
	lea	rdi, .LC0[rip]
	mov	esi, eax
	xor	eax, eax
	call	pr_info@PLT
	mov	ecx, DWORD PTR XCHAL_NUM_PERF_COUNTERS[rip]
	test	ecx, ecx
	je	.L2
	xor	ebx, ebx
	lea	r12, .LC1[rip]
	.p2align 4,,10
	.p2align 3
.L3:
	mov	edi, ebx
	call	XTENSA_PMU_PMSTAT@PLT
	mov	edi, eax
	call	get_er@PLT
	mov	edi, ebx
	mov	r13d, eax
	call	XTENSA_PMU_PMCTRL@PLT
	mov	edi, eax
	call	get_er@PLT
	mov	edi, ebx
	mov	ebp, eax
	call	XTENSA_PMU_PM@PLT
	mov	edi, eax
	call	get_er@PLT
	sub	rsp, 8
	.cfi_def_cfa_offset 56
	mov	r9d, ebx
	mov	ecx, ebx
	push	r13
	.cfi_def_cfa_offset 64
	mov	edx, eax
	mov	esi, ebx
	xor	eax, eax
	mov	r8d, ebp
	mov	rdi, r12
	add	ebx, 1
	call	pr_info@PLT
	cmp	DWORD PTR XCHAL_NUM_PERF_COUNTERS[rip], ebx
	pop	rax
	.cfi_def_cfa_offset 56
	pop	rdx
	.cfi_def_cfa_offset 48
	ja	.L3
.L2:
	add	rsp, 8
	.cfi_def_cfa_offset 40
	xor	edi, edi
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	local_irq_restore@PLT
	.cfi_endproc
.LFE0:
	.size	perf_event_print_debug, .-perf_event_print_debug
	.comm	XTENSA_PMU_PMG,4,4
	.comm	XCHAL_NUM_PERF_COUNTERS,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_perf_event.c_perf_event_print_debug.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"CPU#%d: PMG: 0x%08lx\012\000"
	.align	2
.LC1:
	.ascii	"PM%d: 0x%08lx, PMCTRL%d: 0x%08lx, PMSTAT%d: 0x%08lx"
	.ascii	"\012\000"
	.text
	.align	2
	.global	perf_event_print_debug
	.syntax unified
	.arm
	.fpu softvfp
	.type	perf_event_print_debug, %function
perf_event_print_debug:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r0, #0
	sub	sp, sp, #16
	bl	local_irq_save
	bl	smp_processor_id
	ldr	r3, .L10
	mov	r4, r0
	ldr	r0, [r3]
	bl	get_er
	ldr	r7, .L10+4
	mov	r2, r0
	mov	r1, r4
	ldr	r0, .L10+8
	bl	pr_info
	ldr	r3, [r7]
	cmp	r3, #0
	beq	.L2
	mov	r4, #0
	ldr	r8, .L10+12
.L3:
	mov	r0, r4
	bl	XTENSA_PMU_PM
	bl	get_er
	mov	r5, r0
	mov	r0, r4
	bl	XTENSA_PMU_PMCTRL
	bl	get_er
	mov	r6, r0
	mov	r0, r4
	bl	XTENSA_PMU_PMSTAT
	bl	get_er
	mov	r3, r4
	mov	r1, r4
	str	r0, [sp, #8]
	str	r4, [sp, #4]
	mov	r2, r5
	mov	r0, r8
	str	r6, [sp]
	bl	pr_info
	ldr	r3, [r7]
	add	r4, r4, #1
	cmp	r3, r4
	bhi	.L3
.L2:
	mov	r0, #0
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, r7, r8, lr}
	b	local_irq_restore
.L11:
	.align	2
.L10:
	.word	XTENSA_PMU_PMG
	.word	XCHAL_NUM_PERF_COUNTERS
	.word	.LC0
	.word	.LC1
	.size	perf_event_print_debug, .-perf_event_print_debug
	.comm	XTENSA_PMU_PMG,4,4
	.comm	XCHAL_NUM_PERF_COUNTERS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
