	.file	"extr_wacom_wac.c_wacom_intuos_gen3_bt_pad.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	wacom_intuos_gen3_bt_pad, @function
wacom_intuos_gen3_bt_pad:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	esi, 4
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rax, QWORD PTR [rdi]
	mov	rbx, rdi
	mov	rbp, QWORD PTR 16[rdi]
	movzx	r12d, BYTE PTR 44[rax]
	mov	rdi, rbp
	mov	edx, r12d
	call	wacom_report_numbered_buttons@PLT
	mov	rax, QWORD PTR 8[rbx]
	xor	edx, edx
	test	r12d, r12d
	setne	dl
	mov	rdi, rbp
	mov	esi, DWORD PTR 4[rax]
	call	input_report_key@PLT
	test	r12d, r12d
	cmovne	r12d, DWORD PTR PAD_DEVICE_ID[rip]
	mov	rdi, rbp
	mov	esi, DWORD PTR ABS_MISC[rip]
	mov	edx, r12d
	call	input_report_abs@PLT
	mov	edx, DWORD PTR MSC_SERIAL[rip]
	mov	esi, DWORD PTR EV_MSC[rip]
	mov	rdi, rbp
	mov	ecx, -1
	call	input_event@PLT
	pop	rbx
	.cfi_def_cfa_offset 24
	mov	rdi, rbp
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	input_sync@PLT
	.cfi_endproc
.LFE0:
	.size	wacom_intuos_gen3_bt_pad, .-wacom_intuos_gen3_bt_pad
	.comm	PAD_DEVICE_ID,4,4
	.comm	MSC_SERIAL,4,4
	.comm	EV_MSC,4,4
	.comm	ABS_MISC,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_wacom_wac.c_wacom_intuos_gen3_bt_pad.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	wacom_intuos_gen3_bt_pad, %function
wacom_intuos_gen3_bt_pad:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r0
	ldr	r3, [r0]
	ldr	r4, [r0, #8]
	ldrb	r6, [r3, #44]	@ zero_extendqisi2
	mov	r0, r4
	mov	r2, r6
	mov	r1, #4
	bl	wacom_report_numbered_buttons
	ldr	r3, [r5, #4]
	subs	r2, r6, #0
	movne	r2, #1
	ldr	r1, [r3, #4]
	mov	r0, r4
	bl	input_report_key
	ldr	r3, .L8
	cmp	r6, #0
	ldr	r1, [r3]
	ldrne	r3, .L8+4
	mov	r0, r4
	ldrne	r6, [r3]
	mov	r2, r6
	bl	input_report_abs
	ldr	r3, .L8+8
	ldr	r2, .L8+12
	mov	r0, r4
	ldr	r1, [r3]
	ldr	r2, [r2]
	mvn	r3, #0
	bl	input_event
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	b	input_sync
.L9:
	.align	2
.L8:
	.word	ABS_MISC
	.word	PAD_DEVICE_ID
	.word	EV_MSC
	.word	MSC_SERIAL
	.size	wacom_intuos_gen3_bt_pad, .-wacom_intuos_gen3_bt_pad
	.comm	PAD_DEVICE_ID,4,4
	.comm	MSC_SERIAL,4,4
	.comm	EV_MSC,4,4
	.comm	ABS_MISC,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
