	.file	"extr_powermate.c_powermate_input_event.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	powermate_input_event, @function
powermate_input_event:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12d, ecx
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	ebp, edx
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	ebx, esi
	call	input_get_drvdata@PLT
	cmp	DWORD PTR EV_MSC[rip], ebx
	je	.L5
.L2:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	cmp	DWORD PTR MSC_PULSELED[rip], ebp
	jne	.L2
	mov	r9d, r12d
	mov	r8d, r12d
	mov	ecx, r12d
	mov	edx, r12d
	shr	r9d, 20
	shr	r8d, 19
	movzx	esi, r12b
	mov	rdi, rax
	shr	ecx, 17
	shr	edx, 8
	and	r9d, 1
	and	r8d, 1
	and	ecx, 3
	and	edx, 511
	call	powermate_pulse_led@PLT
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	powermate_input_event, .-powermate_input_event
	.comm	MSC_PULSELED,4,4
	.comm	EV_MSC,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_powermate.c_powermate_input_event.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	powermate_input_event, %function
powermate_input_event:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r1
	sub	sp, sp, #8
	mov	r5, r2
	mov	r6, r3
	bl	input_get_drvdata
	ldr	r2, .L6
	ldr	r2, [r2]
	cmp	r2, r4
	beq	.L5
.L2:
	mov	r0, #0
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, pc}
.L5:
	ldr	r3, .L6+4
	ldr	r3, [r3]
	cmp	r3, r5
	bne	.L2
	lsr	ip, r6, #20
	lsr	r1, r6, #19
	ldr	r2, .L6+8
	and	ip, ip, #1
	and	r1, r1, #1
	lsr	r3, r6, #17
	stm	sp, {r1, ip}
	and	r2, r2, r6, lsr #8
	and	r3, r3, #3
	and	r1, r6, #255
	bl	powermate_pulse_led
	b	.L2
.L7:
	.align	2
.L6:
	.word	EV_MSC
	.word	MSC_PULSELED
	.word	511
	.size	powermate_input_event, .-powermate_input_event
	.comm	MSC_PULSELED,4,4
	.comm	EV_MSC,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
