	.file	"extr_pmu.c_reprogram_counter.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"kvm: pmu event creation failed %ld\n"
	.text
	.p2align 4
	.type	reprogram_counter, @function
reprogram_counter:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12d, r9d
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rdi
	sub	rsp, 48
	.cfi_def_cfa_offset 80
	mov	ebp, DWORD PTR [rdi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	mov	DWORD PTR 16[rsp], ecx
	movabs	rax, 4294967332
	mov	QWORD PTR [rsp], rax
	sub	rax, 35
	neg	ebp
	mov	DWORD PTR 20[rsp], r8d
	mov	DWORD PTR 24[rsp], edx
	mov	DWORD PTR 32[rsp], esi
	mov	DWORD PTR 28[rsp], 0
	mov	QWORD PTR 8[rsp], rax
	call	pmc_bitmask@PLT
	mov	rdi, rsp
	mov	r8, rbx
	mov	esi, -1
	and	ebp, eax
	mov	ecx, DWORD PTR kvm_perf_overflow_intr[rip]
	test	r12d, r12d
	mov	edx, DWORD PTR current[rip]
	cmove	ecx, DWORD PTR kvm_perf_overflow[rip]
	mov	DWORD PTR 28[rsp], ebp
	call	perf_event_create_kernel_counter@PLT
	mov	rdi, rax
	mov	rbp, rax
	call	IS_ERR@PLT
	test	rax, rax
	jne	.L9
	mov	rsi, QWORD PTR 8[rbx]
	mov	edi, DWORD PTR 16[rbx]
	mov	QWORD PTR 24[rbx], rbp
	call	clear_bit@PLT
.L1:
	mov	rax, QWORD PTR 40[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L10
	add	rsp, 48
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	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
.L9:
	.cfi_restore_state
	mov	rdi, rbp
	call	PTR_ERR@PLT
	lea	rdi, .LC0[rip]
	mov	esi, eax
	call	printk_once@PLT
	jmp	.L1
.L10:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	reprogram_counter, .-reprogram_counter
	.comm	kvm_perf_overflow_intr,4,4
	.comm	kvm_perf_overflow,4,4
	.comm	current,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_pmu.c_reprogram_counter.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"kvm: pmu event creation failed %ld\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	reprogram_counter, %function
reprogram_counter:
	@ args = 8, pretend = 0, frame = 40
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	ip, #1
	mov	lr, #36
	mov	r6, #0
	sub	sp, sp, #48
	str	r3, [sp, #24]
	ldr	r3, .L11
	str	r1, [sp, #40]
	str	r2, [sp, #32]
	ldr	r3, [r3]
	str	r3, [sp, #44]
	mov	r3,#0
	ldr	r3, [sp, #64]
	str	lr, [sp, #8]
	str	ip, [sp, #12]
	str	ip, [sp, #16]
	str	ip, [sp, #20]
	mov	r4, r0
	ldr	r5, [r0]
	str	r6, [sp, #36]
	str	r3, [sp, #28]
	ldr	r6, [sp, #68]
	bl	pmc_bitmask
	ldr	r3, .L11+4
	cmp	r6, #0
	rsb	r5, r5, #0
	ldr	r2, [r3]
	and	r5, r5, r0
	ldrne	r3, .L11+8
	ldreq	r3, .L11+12
	str	r5, [sp, #36]
	ldr	r3, [r3]
	mvn	r1, #0
	str	r4, [sp]
	add	r0, sp, #8
	bl	perf_event_create_kernel_counter
	mov	r5, r0
	bl	IS_ERR
	cmp	r0, #0
	bne	.L9
	ldr	r1, [r4, #4]
	ldr	r0, [r4, #8]
	str	r5, [r4, #12]
	bl	clear_bit
.L1:
	ldr	r3, .L11
	ldr	r2, [r3]
	ldr	r3, [sp, #44]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L10
	add	sp, sp, #48
	@ sp needed
	pop	{r4, r5, r6, pc}
.L9:
	mov	r0, r5
	bl	PTR_ERR
	mov	r1, r0
	ldr	r0, .L11+16
	bl	printk_once
	b	.L1
.L10:
	bl	__stack_chk_fail
.L12:
	.align	2
.L11:
	.word	.LC1
	.word	current
	.word	kvm_perf_overflow_intr
	.word	kvm_perf_overflow
	.word	.LC0
	.size	reprogram_counter, .-reprogram_counter
	.comm	kvm_perf_overflow_intr,4,4
	.comm	kvm_perf_overflow,4,4
	.comm	current,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
