	.file	"extr_lis3lv02d.c_lis302dl_interrupt_handle_click.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	lis302dl_interrupt_handle_click, @function
lis302dl_interrupt_handle_click:
.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
	mov	rbp, rdi
	sub	rsp, 24
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	rax, QWORD PTR 24[rdi]
	mov	r12, QWORD PTR [rax]
	call	mutex_lock@PLT
	mov	esi, DWORD PTR CLICK_SRC[rip]
	lea	rdx, 4[rsp]
	mov	rdi, rbp
	call	[QWORD PTR 16[rbp]]
	mov	eax, DWORD PTR 4[rsp]
	test	DWORD PTR CLICK_SINGLE_X[rip], eax
	jne	.L17
	test	DWORD PTR CLICK_SINGLE_Y[rip], eax
	jne	.L18
.L3:
	test	DWORD PTR CLICK_SINGLE_Z[rip], eax
	jne	.L19
.L4:
	mov	rdi, r12
	call	input_sync@PLT
	mov	rdi, rbp
	call	mutex_unlock@PLT
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L20
	add	rsp, 24
	.cfi_remember_state
	.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
.L17:
	.cfi_restore_state
	mov	rax, QWORD PTR 8[rbp]
	mov	edx, 1
	mov	rdi, r12
	mov	esi, DWORD PTR [rax]
	call	input_report_key@PLT
	mov	rax, QWORD PTR 8[rbp]
	xor	edx, edx
	mov	rdi, r12
	mov	esi, DWORD PTR [rax]
	call	input_report_key@PLT
	mov	eax, DWORD PTR 4[rsp]
	test	DWORD PTR CLICK_SINGLE_Y[rip], eax
	je	.L3
.L18:
	mov	rax, QWORD PTR 8[rbp]
	mov	edx, 1
	mov	rdi, r12
	mov	esi, DWORD PTR 4[rax]
	call	input_report_key@PLT
	mov	rax, QWORD PTR 8[rbp]
	xor	edx, edx
	mov	rdi, r12
	mov	esi, DWORD PTR 4[rax]
	call	input_report_key@PLT
	mov	eax, DWORD PTR 4[rsp]
	test	DWORD PTR CLICK_SINGLE_Z[rip], eax
	je	.L4
.L19:
	mov	rax, QWORD PTR 8[rbp]
	mov	rdi, r12
	mov	edx, 1
	mov	esi, DWORD PTR 8[rax]
	call	input_report_key@PLT
	mov	rax, QWORD PTR 8[rbp]
	xor	edx, edx
	mov	rdi, r12
	mov	esi, DWORD PTR 8[rax]
	call	input_report_key@PLT
	jmp	.L4
.L20:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	lis302dl_interrupt_handle_click, .-lis302dl_interrupt_handle_click
	.comm	CLICK_SRC,4,4
	.comm	CLICK_SINGLE_Z,4,4
	.comm	CLICK_SINGLE_Y,4,4
	.comm	CLICK_SINGLE_X,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_lis3lv02d.c_lis302dl_interrupt_handle_click.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	lis302dl_interrupt_handle_click, %function
lis302dl_interrupt_handle_click:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	mov	r4, r0
	ldr	r3, [r0, #12]
	ldr	r2, .L21
	sub	sp, sp, #12
	ldr	r2, [r2]
	str	r2, [sp, #4]
	mov	r2,#0
	ldr	r5, [r3]
	bl	mutex_lock
	ldr	r2, .L21+4
	ldr	r3, [r4, #8]
	ldr	r1, [r2]
	mov	r0, r4
	mov	r2, sp
	blx	r3
	ldr	r2, .L21+8
	ldr	r3, [sp]
	ldr	r2, [r2]
	tst	r3, r2
	bne	.L17
	ldr	r2, .L21+12
	ldr	r2, [r2]
	tst	r3, r2
	bne	.L18
.L3:
	ldr	r2, .L21+16
	ldr	r2, [r2]
	tst	r3, r2
	bne	.L19
.L4:
	mov	r0, r5
	bl	input_sync
	mov	r0, r4
	bl	mutex_unlock
	ldr	r3, .L21
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L20
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, pc}
.L17:
	ldr	r3, [r4, #4]
	mov	r2, #1
	ldr	r1, [r3]
	mov	r0, r5
	bl	input_report_key
	ldr	r3, [r4, #4]
	mov	r2, #0
	ldr	r1, [r3]
	mov	r0, r5
	bl	input_report_key
	ldr	r2, .L21+12
	ldr	r3, [sp]
	ldr	r2, [r2]
	tst	r3, r2
	beq	.L3
.L18:
	ldr	r3, [r4, #4]
	mov	r2, #1
	ldr	r1, [r3, #4]
	mov	r0, r5
	bl	input_report_key
	ldr	r3, [r4, #4]
	mov	r2, #0
	ldr	r1, [r3, #4]
	mov	r0, r5
	bl	input_report_key
	ldr	r2, .L21+16
	ldr	r3, [sp]
	ldr	r2, [r2]
	tst	r3, r2
	beq	.L4
.L19:
	ldr	r3, [r4, #4]
	mov	r2, #1
	ldr	r1, [r3, #8]
	mov	r0, r5
	bl	input_report_key
	ldr	r3, [r4, #4]
	mov	r2, #0
	mov	r0, r5
	ldr	r1, [r3, #8]
	bl	input_report_key
	b	.L4
.L20:
	bl	__stack_chk_fail
.L22:
	.align	2
.L21:
	.word	.LC0
	.word	CLICK_SRC
	.word	CLICK_SINGLE_X
	.word	CLICK_SINGLE_Y
	.word	CLICK_SINGLE_Z
	.size	lis302dl_interrupt_handle_click, .-lis302dl_interrupt_handle_click
	.comm	CLICK_SRC,4,4
	.comm	CLICK_SINGLE_Z,4,4
	.comm	CLICK_SINGLE_Y,4,4
	.comm	CLICK_SINGLE_X,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
