	.file	"extr_lazy.c_kperf_lazy_cpu_sample.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	kperf_lazy_cpu_sample
	.type	kperf_lazy_cpu_sample, @function
kperf_lazy_cpu_sample:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14d, edx
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13d, esi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rdi
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	call	ml_get_interrupts_enabled@PLT
	xor	edi, edi
	cmp	QWORD PTR FALSE[rip], rax
	sete	dil
	call	assert@PLT
	xor	eax, eax
	call	current_processor@PLT
	mov	r12, rax
	xor	eax, eax
	call	mach_absolute_time@PLT
	mov	rbp, rax
	sub	rax, QWORD PTR [r12]
	cmp	QWORD PTR kperf_lazy_cpu_time_threshold[rip], rax
	jl	.L7
.L1:
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L8
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	mov	QWORD PTR [r12], rbp
	lea	r12, 12[rbx]
	mov	rsi, rbp
	lea	r15, 4[rbx]
	mov	rdi, r12
	call	timer_update@PLT
	mov	rsi, rbp
	mov	rdi, r15
	call	timer_update@PLT
	mov	rdi, r12
	call	timer_grab@PLT
	lea	rdi, 8[rbx]
	mov	r12, rax
	call	timer_grab@PLT
	mov	rdi, r15
	mov	rbp, rax
	call	timer_grab@PLT
	mov	ecx, DWORD PTR [rbx]
	mov	edi, DWORD PTR PERF_LZ_CPUSAMPLE[rip]
	xor	r8d, r8d
	test	r14d, r14d
	lea	rsi, 0[rbp+rax]
	mov	rdx, r12
	setne	r8b
	call	BUF_DATA@PLT
	mov	rdi, rbx
	call	get_threadtask@PLT
	mov	DWORD PTR [rsp], 0
	mov	ebp, eax
	mov	eax, DWORD PTR TRIGGER_TYPE_LAZY_CPU[rip]
	mov	edi, ebp
	mov	DWORD PTR 4[rsp], eax
	call	task_pid@PLT
	mov	DWORD PTR 12[rsp], ebp
	mov	DWORD PTR 8[rsp], eax
	xor	eax, eax
	mov	QWORD PTR 16[rsp], rbx
	call	kperf_intr_sample_buffer@PLT
	mov	rdi, rax
	test	rax, rax
	je	.L1
	mov	ecx, DWORD PTR SAMPLE_FLAG_PEND_USER[rip]
	mov	edx, DWORD PTR kperf_lazy_cpu_action[rip]
	mov	rsi, rsp
	or	ecx, r13d
	call	kperf_sample@PLT
	jmp	.L1
.L8:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	kperf_lazy_cpu_sample, .-kperf_lazy_cpu_sample
	.comm	kperf_lazy_cpu_time_threshold,8,8
	.comm	kperf_lazy_cpu_action,4,4
	.comm	TRIGGER_TYPE_LAZY_CPU,4,4
	.comm	SAMPLE_FLAG_PEND_USER,4,4
	.comm	PERF_LZ_CPUSAMPLE,4,4
	.comm	FALSE,8,8
	.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_lazy.c_kperf_lazy_cpu_sample.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	kperf_lazy_cpu_sample
	.syntax unified
	.arm
	.fpu softvfp
	.type	kperf_lazy_cpu_sample, %function
kperf_lazy_cpu_sample:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	ldr	r3, .L9
	sub	sp, sp, #32
	mov	r7, r2
	mov	r8, r1
	ldr	r3, [r3]
	str	r3, [sp, #28]
	mov	r3,#0
	mov	r5, r0
	bl	ml_get_interrupts_enabled
	ldr	r3, .L9+4
	ldr	r3, [r3]
	sub	r0, r3, r0
	clz	r0, r0
	lsr	r0, r0, #5
	bl	assert
	bl	current_processor
	mov	r6, r0
	bl	mach_absolute_time
	ldr	r2, .L9+8
	ldr	r3, [r6]
	ldr	r2, [r2]
	sub	r3, r0, r3
	cmp	r2, r3
	blt	.L7
.L1:
	ldr	r3, .L9
	ldr	r2, [r3]
	ldr	r3, [sp, #28]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L8
	add	sp, sp, #32
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L7:
	mov	r4, r0
	add	r10, r5, #12
	mov	r1, r4
	str	r0, [r6]
	add	r9, r5, #4
	mov	r0, r10
	bl	timer_update
	mov	r1, r4
	mov	r0, r9
	bl	timer_update
	mov	r0, r10
	bl	timer_grab
	mov	r6, r0
	add	r0, r5, #8
	bl	timer_grab
	mov	r4, r0
	mov	r0, r9
	bl	timer_grab
	subs	r7, r7, #0
	movne	r7, #1
	ldr	r3, .L9+12
	str	r7, [sp]
	add	r1, r4, r0
	mov	r2, r6
	ldr	r0, [r3]
	ldr	r3, [r5]
	bl	BUF_DATA
	mov	r0, r5
	bl	get_threadtask
	mov	r2, #0
	ldr	r3, .L9+16
	mov	r4, r0
	ldr	r3, [r3]
	str	r2, [sp, #8]
	str	r3, [sp, #12]
	bl	task_pid
	str	r4, [sp, #20]
	str	r0, [sp, #16]
	str	r5, [sp, #24]
	bl	kperf_intr_sample_buffer
	cmp	r0, #0
	beq	.L1
	ldr	r3, .L9+20
	ldr	r2, .L9+24
	ldr	r3, [r3]
	ldr	r2, [r2]
	orr	r3, r8, r3
	add	r1, sp, #8
	bl	kperf_sample
	b	.L1
.L8:
	bl	__stack_chk_fail
.L10:
	.align	2
.L9:
	.word	.LC0
	.word	FALSE
	.word	kperf_lazy_cpu_time_threshold
	.word	PERF_LZ_CPUSAMPLE
	.word	TRIGGER_TYPE_LAZY_CPU
	.word	SAMPLE_FLAG_PEND_USER
	.word	kperf_lazy_cpu_action
	.size	kperf_lazy_cpu_sample, .-kperf_lazy_cpu_sample
	.comm	kperf_lazy_cpu_time_threshold,4,4
	.comm	kperf_lazy_cpu_action,4,4
	.comm	TRIGGER_TYPE_LAZY_CPU,4,4
	.comm	SAMPLE_FLAG_PEND_USER,4,4
	.comm	PERF_LZ_CPUSAMPLE,4,4
	.comm	FALSE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
