	.file	"extr_st_sensors_buffer.c_st_sensors_trigger_handler.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	st_sensors_trigger_handler
	.type	st_sensors_trigger_handler, @function
st_sensors_trigger_handler:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, QWORD PTR [rsi]
	mov	rdi, rbx
	call	iio_priv@PLT
	mov	rdi, rbx
	mov	rbp, rax
	call	iio_trigger_using_own@PLT
	test	rax, rax
	je	.L2
	mov	r12d, DWORD PTR 4[rbp]
.L3:
	mov	esi, DWORD PTR 0[rbp]
	mov	rdi, rbx
	call	st_sensors_get_buffer_element@PLT
	test	eax, eax
	js	.L4
	mov	esi, DWORD PTR 0[rbp]
	mov	edx, r12d
	mov	rdi, rbx
	call	iio_push_to_buffers_with_timestamp@PLT
.L4:
	mov	edi, DWORD PTR [rbx]
	call	iio_trigger_notify_done@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	eax, DWORD PTR IRQ_HANDLED[rip]
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	rdi, rbx
	call	iio_get_time_ns@PLT
	mov	r12d, eax
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	st_sensors_trigger_handler, .-st_sensors_trigger_handler
	.comm	IRQ_HANDLED,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_st_sensors_buffer.c_st_sensors_trigger_handler.c"
	.text
	.align	2
	.global	st_sensors_trigger_handler
	.syntax unified
	.arm
	.fpu softvfp
	.type	st_sensors_trigger_handler, %function
st_sensors_trigger_handler:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r4, [r1]
	mov	r0, r4
	bl	iio_priv
	mov	r5, r0
	mov	r0, r4
	bl	iio_trigger_using_own
	cmp	r0, #0
	beq	.L2
	ldr	r6, [r5, #4]
.L3:
	mov	r0, r4
	ldr	r1, [r5]
	bl	st_sensors_get_buffer_element
	cmp	r0, #0
	blt	.L4
	mov	r2, r6
	mov	r0, r4
	ldr	r1, [r5]
	bl	iio_push_to_buffers_with_timestamp
.L4:
	ldr	r0, [r4]
	bl	iio_trigger_notify_done
	ldr	r3, .L7
	ldr	r0, [r3]
	pop	{r4, r5, r6, pc}
.L2:
	mov	r0, r4
	bl	iio_get_time_ns
	mov	r6, r0
	b	.L3
.L8:
	.align	2
.L7:
	.word	IRQ_HANDLED
	.size	st_sensors_trigger_handler, .-st_sensors_trigger_handler
	.comm	IRQ_HANDLED,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
