	.file	"extr_kperf.c_kperf_on_cpu_internal.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	kperf_on_cpu_internal
	.type	kperf_on_cpu_internal, @function
kperf_on_cpu_internal:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rdx
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12d, esi
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	ebp, edi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	cmp	QWORD PTR kperf_kdebug_cswitch[rip], 0
	jne	.L7
	cmp	QWORD PTR kperf_lightweight_pet_active[rip], 0
	jne	.L8
.L3:
	cmp	QWORD PTR kperf_lazy_wait_action[rip], 0
	jne	.L9
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	call	get_threadtask@PLT
	mov	edi, eax
	call	task_pid@PLT
	mov	edi, ebp
	mov	r14d, eax
	call	thread_tid@PLT
	mov	edi, DWORD PTR PERF_TI_CSWITCH[rip]
	mov	edx, r14d
	mov	esi, eax
	call	BUF_DATA@PLT
	cmp	QWORD PTR kperf_lightweight_pet_active[rip], 0
	je	.L3
.L8:
	mov	rdx, r13
	mov	esi, r12d
	mov	edi, ebp
	call	kperf_pet_on_cpu@PLT
	cmp	QWORD PTR kperf_lazy_wait_action[rip], 0
	je	.L1
.L9:
	add	rsp, 8
	.cfi_def_cfa_offset 40
	mov	rdx, r13
	mov	esi, r12d
	mov	edi, ebp
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	jmp	kperf_lazy_wait_sample@PLT
	.cfi_endproc
.LFE0:
	.size	kperf_on_cpu_internal, .-kperf_on_cpu_internal
	.comm	kperf_lightweight_pet_active,8,8
	.comm	kperf_lazy_wait_action,8,8
	.comm	kperf_kdebug_cswitch,8,8
	.comm	PERF_TI_CSWITCH,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_kperf.c_kperf_on_cpu_internal.c"
	.text
	.align	2
	.global	kperf_on_cpu_internal
	.syntax unified
	.arm
	.fpu softvfp
	.type	kperf_on_cpu_internal, %function
kperf_on_cpu_internal:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L15
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r3, [r3]
	mov	r5, r1
	cmp	r3, #0
	mov	r6, r2
	mov	r4, r0
	bne	.L13
.L2:
	ldr	r3, .L15+4
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L14
.L3:
	ldr	r3, .L15+8
	ldr	r3, [r3]
	cmp	r3, #0
	popeq	{r4, r5, r6, r7, r8, pc}
	mov	r2, r6
	mov	r1, r5
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, lr}
	b	kperf_lazy_wait_sample
.L14:
	mov	r2, r6
	mov	r1, r5
	mov	r0, r4
	bl	kperf_pet_on_cpu
	b	.L3
.L13:
	bl	get_threadtask
	bl	task_pid
	ldr	r3, .L15+12
	mov	r7, r0
	mov	r0, r4
	ldr	r8, [r3]
	bl	thread_tid
	mov	r2, r7
	mov	r1, r0
	mov	r0, r8
	bl	BUF_DATA
	b	.L2
.L16:
	.align	2
.L15:
	.word	kperf_kdebug_cswitch
	.word	kperf_lightweight_pet_active
	.word	kperf_lazy_wait_action
	.word	PERF_TI_CSWITCH
	.size	kperf_on_cpu_internal, .-kperf_on_cpu_internal
	.comm	kperf_lightweight_pet_active,4,4
	.comm	kperf_lazy_wait_action,4,4
	.comm	kperf_kdebug_cswitch,4,4
	.comm	PERF_TI_CSWITCH,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
