	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wacom_intuos_inout
_wacom_intuos_inout:                    ## @wacom_intuos_inout
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r12
	movq	(%rdi), %rax
	movq	32(%rdi), %rcx
	movq	(%rcx), %rdx
	movq	_INTUOS@GOTPCREL(%rip), %rsi
	movzbl	1(%rax), %ecx
	movl	%ecx, %edi
	andl	$1, %edi
	xorl	%r15d, %r15d
	cmpq	(%rsi), %rdx
	cmoveq	%rdi, %r15
	movl	%ecx, %ebx
	andb	$-4, %bl
	cmpb	$-64, %bl
	jne	LBB0_14
## %bb.1:
	movb	6(%rax), %cl
	movb	7(%rax), %dl
	shrb	$4, %dl
	shlb	$4, %cl
	orb	%dl, %cl
	movq	8(%r12), %rdx
	movb	%cl, (%rdx,%r15)
	movb	2(%rax), %cl
	movb	3(%rax), %al
	shrb	$4, %al
	shlb	$4, %cl
	orb	%al, %cl
	movq	16(%r12), %rax
	movb	%cl, (%rax,%r15)
	movq	16(%r12), %rax
	movb	(%rax,%r15), %al
	cmpb	$-7, %al
	jle	LBB0_2
## %bb.6:
	addb	$6, %al
	cmpb	$56, %al
	ja	LBB0_13
## %bb.7:
	movzbl	%al, %eax
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_12:
	movq	_BTN_TOOL_RUBBER@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_14:
	movq	_WACOM_21UX2@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdx
	jl	LBB0_16
## %bb.15:
	movq	_WACOM_24HD@GOTPCREL(%rip), %rsi
	movl	$1, %eax
	cmpq	(%rsi), %rdx
	jle	LBB0_23
LBB0_16:
	andb	$-2, %cl
	xorl	%eax, %eax
	cmpb	$-128, %cl
	jne	LBB0_23
## %bb.17:
	movq	_ABS_X@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_wacom_report_abs
	movq	_ABS_Y@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_wacom_report_abs
	movq	_ABS_DISTANCE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_wacom_report_abs
	movq	_ABS_TILT_X@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_wacom_report_abs
	movq	_ABS_TILT_Y@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_wacom_report_abs
	movq	24(%r12), %rax
	movq	(%rax,%r15,8), %rax
	movq	_BTN_TOOL_MOUSE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_18
## %bb.19:
	movq	_ABS_PRESSURE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_wacom_report_abs
	movq	_BTN_STYLUS@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_wacom_report_key
	movq	_BTN_STYLUS2@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_wacom_report_key
	movq	_BTN_TOUCH@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_wacom_report_key
	movq	_ABS_WHEEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_wacom_report_abs
	movq	32(%r12), %rax
	movq	(%rax), %rax
	movq	_INTUOS3S@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jl	LBB0_22
## %bb.20:
	movq	_ABS_Z@GOTPCREL(%rip), %rax
	jmp	LBB0_21
LBB0_2:
	leal	106(%rax), %ecx
	cmpb	$2, %cl
	jb	LBB0_11
## %bb.3:
	cmpb	$-108, %al
	je	LBB0_5
## %bb.4:
	cmpb	$-100, %al
	jne	LBB0_13
LBB0_5:
	movq	_BTN_TOOL_MOUSE@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_11:
	movq	_BTN_TOOL_LENS@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_13:
	movq	_BTN_TOOL_PEN@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_18:
	movq	_BTN_LEFT@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_wacom_report_key
	movq	_BTN_MIDDLE@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_wacom_report_key
	movq	_BTN_RIGHT@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_wacom_report_key
	movq	_BTN_SIDE@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_wacom_report_key
	movq	_BTN_EXTRA@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_wacom_report_key
	movq	_ABS_THROTTLE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_wacom_report_abs
	movq	_ABS_RZ@GOTPCREL(%rip), %rax
LBB0_21:
	movl	(%rax), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_wacom_report_abs
LBB0_22:
	movq	24(%r12), %rax
	movq	(%rax,%r15,8), %rsi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_wacom_report_key
	movq	_ABS_MISC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_wacom_report_abs
	movq	_EV_MSC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_MSC_SERIAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	8(%r12), %rax
	movzbl	(%rax,%r15), %ecx
	movq	%r14, %rdi
	callq	_wacom_input_event
	movq	16(%r12), %rax
	movb	$0, (%rax,%r15)
	movl	$2, %eax
	jmp	LBB0_23
LBB0_8:
	movq	_BTN_TOOL_PENCIL@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_10:
	movq	_BTN_TOOL_BRUSH@GOTPCREL(%rip), %rax
LBB0_9:
	movq	(%rax), %rax
	movq	24(%r12), %rcx
	movq	%rax, (%rcx,%r15,8)
	movl	$1, %eax
LBB0_23:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
LJTI0_0:
	.long	L0_0_set_12
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_11
	.long	L0_0_set_5
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_8
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_5
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_10
	.end_data_region
                                        ## -- End function
	.comm	_INTUOS,8,3                     ## @INTUOS
	.comm	_BTN_TOOL_PENCIL,8,3            ## @BTN_TOOL_PENCIL
	.comm	_BTN_TOOL_PEN,8,3               ## @BTN_TOOL_PEN
	.comm	_BTN_TOOL_BRUSH,8,3             ## @BTN_TOOL_BRUSH
	.comm	_BTN_TOOL_MOUSE,8,3             ## @BTN_TOOL_MOUSE
	.comm	_BTN_TOOL_LENS,8,3              ## @BTN_TOOL_LENS
	.comm	_BTN_TOOL_RUBBER,8,3            ## @BTN_TOOL_RUBBER
	.comm	_BTN_TOOL_AIRBRUSH,8,3          ## @BTN_TOOL_AIRBRUSH
	.comm	_WACOM_21UX2,8,3                ## @WACOM_21UX2
	.comm	_WACOM_24HD,8,3                 ## @WACOM_24HD
	.comm	_ABS_X,4,2                      ## @ABS_X
	.comm	_ABS_Y,4,2                      ## @ABS_Y
	.comm	_ABS_DISTANCE,4,2               ## @ABS_DISTANCE
	.comm	_ABS_TILT_X,4,2                 ## @ABS_TILT_X
	.comm	_ABS_TILT_Y,4,2                 ## @ABS_TILT_Y
	.comm	_BTN_LEFT,8,3                   ## @BTN_LEFT
	.comm	_BTN_MIDDLE,8,3                 ## @BTN_MIDDLE
	.comm	_BTN_RIGHT,8,3                  ## @BTN_RIGHT
	.comm	_BTN_SIDE,8,3                   ## @BTN_SIDE
	.comm	_BTN_EXTRA,8,3                  ## @BTN_EXTRA
	.comm	_ABS_THROTTLE,4,2               ## @ABS_THROTTLE
	.comm	_ABS_RZ,4,2                     ## @ABS_RZ
	.comm	_ABS_PRESSURE,4,2               ## @ABS_PRESSURE
	.comm	_BTN_STYLUS,8,3                 ## @BTN_STYLUS
	.comm	_BTN_STYLUS2,8,3                ## @BTN_STYLUS2
	.comm	_BTN_TOUCH,8,3                  ## @BTN_TOUCH
	.comm	_ABS_WHEEL,4,2                  ## @ABS_WHEEL
	.comm	_INTUOS3S,8,3                   ## @INTUOS3S
	.comm	_ABS_Z,4,2                      ## @ABS_Z
	.comm	_ABS_MISC,4,2                   ## @ABS_MISC
	.comm	_EV_MSC,4,2                     ## @EV_MSC
	.comm	_MSC_SERIAL,4,2                 ## @MSC_SERIAL
	.no_dead_strip	_wacom_intuos_inout
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wacom_intuos_inout
_wacom_intuos_inout:                    ; @wacom_intuos_inout
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
	ldr	x8, [x0]
	ldr	x9, [x0, #32]
	ldr	x9, [x9]
Lloh0:
	adrp	x10, _INTUOS@GOTPAGE
Lloh1:
	ldr	x10, [x10, _INTUOS@GOTPAGEOFF]
Lloh2:
	ldr	x11, [x10]
	ldrb	w10, [x8, #1]
	and	w12, w10, #0x1
	cmp	x9, x11
	csel	x21, x12, xzr, eq
	and	w11, w10, #0xfc
	cmp	w11, #192
	b.ne	LBB0_5
; %bb.1:
	ldrb	w9, [x8, #6]
	ldrb	w10, [x8, #7]
	lsl	w10, w10, #24
	extr	w9, w9, w10, #28
	ldr	x10, [x19, #8]
	strb	w9, [x10, x21]
	ldrb	w9, [x8, #2]
	ldrb	w8, [x8, #3]
	lsl	w8, w8, #24
	extr	w8, w9, w8, #28
	ldr	x9, [x19, #16]
	strb	w8, [x9, x21]
	ldr	x8, [x19, #16]
	ldrb	w8, [x8, x21]
	cmp	w8, #149
	b.gt	LBB0_10
; %bb.2:
	sub	w9, w8, #6
	cmp	w9, #44
	b.hi	LBB0_19
; %bb.3:
Lloh3:
	adrp	x8, lJTI0_0@PAGE
Lloh4:
	add	x8, x8, lJTI0_0@PAGEOFF
	adr	x10, LBB0_4
	ldrb	w11, [x8, x9]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_4:
Lloh5:
	adrp	x8, _BTN_TOOL_PENCIL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _BTN_TOOL_PENCIL@GOTPAGEOFF]
	b	LBB0_23
LBB0_5:
Lloh7:
	adrp	x8, _WACOM_21UX2@GOTPAGE
Lloh8:
	ldr	x8, [x8, _WACOM_21UX2@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
Lloh10:
	adrp	x11, _WACOM_24HD@GOTPAGE
Lloh11:
	ldr	x11, [x11, _WACOM_24HD@GOTPAGEOFF]
Lloh12:
	ldr	x11, [x11]
	cmp	x9, x8
	ccmp	x9, x11, #0, ge
	b.le	LBB0_24
; %bb.6:
	and	w8, w10, #0xfe
	cmp	w8, #128
	b.ne	LBB0_15
; %bb.7:
	mov	x20, x1
Lloh13:
	adrp	x8, _ABS_X@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ABS_X@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #0
	bl	_wacom_report_abs
Lloh16:
	adrp	x8, _ABS_Y@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ABS_Y@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #0
	bl	_wacom_report_abs
Lloh19:
	adrp	x8, _ABS_DISTANCE@GOTPAGE
Lloh20:
	ldr	x8, [x8, _ABS_DISTANCE@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #0
	bl	_wacom_report_abs
Lloh22:
	adrp	x8, _ABS_TILT_X@GOTPAGE
Lloh23:
	ldr	x8, [x8, _ABS_TILT_X@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #0
	bl	_wacom_report_abs
Lloh25:
	adrp	x8, _ABS_TILT_Y@GOTPAGE
Lloh26:
	ldr	x8, [x8, _ABS_TILT_Y@GOTPAGEOFF]
Lloh27:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #0
	bl	_wacom_report_abs
	ldr	x8, [x19, #24]
	ldr	x8, [x8, x21, lsl #3]
Lloh28:
	adrp	x9, _BTN_TOOL_MOUSE@GOTPAGE
Lloh29:
	ldr	x9, [x9, _BTN_TOOL_MOUSE@GOTPAGEOFF]
Lloh30:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ge	LBB0_16
; %bb.8:
Lloh31:
	adrp	x8, _ABS_PRESSURE@GOTPAGE
Lloh32:
	ldr	x8, [x8, _ABS_PRESSURE@GOTPAGEOFF]
Lloh33:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #0
	bl	_wacom_report_abs
Lloh34:
	adrp	x8, _BTN_STYLUS@GOTPAGE
Lloh35:
	ldr	x8, [x8, _BTN_STYLUS@GOTPAGEOFF]
Lloh36:
	ldr	x1, [x8]
	mov	x0, x20
	mov	w2, #0
	bl	_wacom_report_key
Lloh37:
	adrp	x8, _BTN_STYLUS2@GOTPAGE
Lloh38:
	ldr	x8, [x8, _BTN_STYLUS2@GOTPAGEOFF]
Lloh39:
	ldr	x1, [x8]
	mov	x0, x20
	mov	w2, #0
	bl	_wacom_report_key
Lloh40:
	adrp	x8, _BTN_TOUCH@GOTPAGE
Lloh41:
	ldr	x8, [x8, _BTN_TOUCH@GOTPAGEOFF]
Lloh42:
	ldr	x1, [x8]
	mov	x0, x20
	mov	w2, #0
	bl	_wacom_report_key
Lloh43:
	adrp	x8, _ABS_WHEEL@GOTPAGE
Lloh44:
	ldr	x8, [x8, _ABS_WHEEL@GOTPAGEOFF]
Lloh45:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #0
	bl	_wacom_report_abs
	ldr	x8, [x19, #32]
	ldr	x8, [x8]
Lloh46:
	adrp	x9, _INTUOS3S@GOTPAGE
Lloh47:
	ldr	x9, [x9, _INTUOS3S@GOTPAGEOFF]
Lloh48:
	ldr	x9, [x9]
	cmp	x8, x9
	b.lt	LBB0_18
; %bb.9:
Lloh49:
	adrp	x8, _ABS_Z@GOTPAGE
Lloh50:
	ldr	x8, [x8, _ABS_Z@GOTPAGEOFF]
	b	LBB0_17
LBB0_10:
	sub	w9, w8, #150
	cmp	w9, #2
	b.lo	LBB0_14
; %bb.11:
	cmp	w8, #156
	b.eq	LBB0_20
; %bb.12:
	cmp	w8, #250
	b.ne	LBB0_21
; %bb.13:
Lloh51:
	adrp	x8, _BTN_TOOL_RUBBER@GOTPAGE
Lloh52:
	ldr	x8, [x8, _BTN_TOOL_RUBBER@GOTPAGEOFF]
	b	LBB0_23
LBB0_14:
Lloh53:
	adrp	x8, _BTN_TOOL_LENS@GOTPAGE
Lloh54:
	ldr	x8, [x8, _BTN_TOOL_LENS@GOTPAGEOFF]
	b	LBB0_23
LBB0_15:
	mov	w0, #0
	b	LBB0_25
LBB0_16:
Lloh55:
	adrp	x8, _BTN_LEFT@GOTPAGE
Lloh56:
	ldr	x8, [x8, _BTN_LEFT@GOTPAGEOFF]
Lloh57:
	ldr	x1, [x8]
	mov	x0, x20
	mov	w2, #0
	bl	_wacom_report_key
Lloh58:
	adrp	x8, _BTN_MIDDLE@GOTPAGE
Lloh59:
	ldr	x8, [x8, _BTN_MIDDLE@GOTPAGEOFF]
Lloh60:
	ldr	x1, [x8]
	mov	x0, x20
	mov	w2, #0
	bl	_wacom_report_key
Lloh61:
	adrp	x8, _BTN_RIGHT@GOTPAGE
Lloh62:
	ldr	x8, [x8, _BTN_RIGHT@GOTPAGEOFF]
Lloh63:
	ldr	x1, [x8]
	mov	x0, x20
	mov	w2, #0
	bl	_wacom_report_key
Lloh64:
	adrp	x8, _BTN_SIDE@GOTPAGE
Lloh65:
	ldr	x8, [x8, _BTN_SIDE@GOTPAGEOFF]
Lloh66:
	ldr	x1, [x8]
	mov	x0, x20
	mov	w2, #0
	bl	_wacom_report_key
Lloh67:
	adrp	x8, _BTN_EXTRA@GOTPAGE
Lloh68:
	ldr	x8, [x8, _BTN_EXTRA@GOTPAGEOFF]
Lloh69:
	ldr	x1, [x8]
	mov	x0, x20
	mov	w2, #0
	bl	_wacom_report_key
Lloh70:
	adrp	x8, _ABS_THROTTLE@GOTPAGE
Lloh71:
	ldr	x8, [x8, _ABS_THROTTLE@GOTPAGEOFF]
Lloh72:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #0
	bl	_wacom_report_abs
Lloh73:
	adrp	x8, _ABS_RZ@GOTPAGE
Lloh74:
	ldr	x8, [x8, _ABS_RZ@GOTPAGEOFF]
LBB0_17:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #0
	bl	_wacom_report_abs
LBB0_18:
	ldr	x8, [x19, #24]
	ldr	x1, [x8, x21, lsl #3]
	mov	x0, x20
	mov	w2, #0
	bl	_wacom_report_key
Lloh75:
	adrp	x8, _ABS_MISC@GOTPAGE
Lloh76:
	ldr	x8, [x8, _ABS_MISC@GOTPAGEOFF]
Lloh77:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #0
	bl	_wacom_report_abs
Lloh78:
	adrp	x8, _EV_MSC@GOTPAGE
Lloh79:
	ldr	x8, [x8, _EV_MSC@GOTPAGEOFF]
Lloh80:
	ldr	w1, [x8]
Lloh81:
	adrp	x8, _MSC_SERIAL@GOTPAGE
Lloh82:
	ldr	x8, [x8, _MSC_SERIAL@GOTPAGEOFF]
Lloh83:
	ldr	w2, [x8]
	ldr	x8, [x19, #8]
	ldrb	w3, [x8, x21]
	mov	x0, x20
	bl	_wacom_input_event
	ldr	x8, [x19, #16]
	strb	wzr, [x8, x21]
	mov	w0, #2
	b	LBB0_25
LBB0_19:
	cmp	w8, #148
	b.ne	LBB0_21
LBB0_20:
Lloh84:
	adrp	x8, _BTN_TOOL_MOUSE@GOTPAGE
Lloh85:
	ldr	x8, [x8, _BTN_TOOL_MOUSE@GOTPAGEOFF]
	b	LBB0_23
LBB0_21:
Lloh86:
	adrp	x8, _BTN_TOOL_PEN@GOTPAGE
Lloh87:
	ldr	x8, [x8, _BTN_TOOL_PEN@GOTPAGEOFF]
	b	LBB0_23
LBB0_22:
Lloh88:
	adrp	x8, _BTN_TOOL_BRUSH@GOTPAGE
Lloh89:
	ldr	x8, [x8, _BTN_TOOL_BRUSH@GOTPAGEOFF]
LBB0_23:
	ldr	x8, [x8]
	ldr	x9, [x19, #24]
	str	x8, [x9, x21, lsl #3]
LBB0_24:
	mov	w0, #1
LBB0_25:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh49, Lloh50
	.loh AdrpLdrGot	Lloh51, Lloh52
	.loh AdrpLdrGot	Lloh53, Lloh54
	.loh AdrpLdrGot	Lloh73, Lloh74
	.loh AdrpLdrGotLdr	Lloh70, Lloh71, Lloh72
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh81, Lloh82, Lloh83
	.loh AdrpLdrGotLdr	Lloh78, Lloh79, Lloh80
	.loh AdrpLdrGotLdr	Lloh75, Lloh76, Lloh77
	.loh AdrpLdrGot	Lloh84, Lloh85
	.loh AdrpLdrGot	Lloh86, Lloh87
	.loh AdrpLdrGot	Lloh88, Lloh89
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_14-LBB0_4)>>2
	.byte	(LBB0_20-LBB0_4)>>2
	.byte	(LBB0_21-LBB0_4)>>2
	.byte	(LBB0_21-LBB0_4)>>2
	.byte	(LBB0_21-LBB0_4)>>2
	.byte	(LBB0_21-LBB0_4)>>2
	.byte	(LBB0_21-LBB0_4)>>2
	.byte	(LBB0_21-LBB0_4)>>2
	.byte	(LBB0_21-LBB0_4)>>2
	.byte	(LBB0_21-LBB0_4)>>2
	.byte	(LBB0_21-LBB0_4)>>2
	.byte	(LBB0_21-LBB0_4)>>2
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_21-LBB0_4)>>2
	.byte	(LBB0_21-LBB0_4)>>2
	.byte	(LBB0_21-LBB0_4)>>2
	.byte	(LBB0_21-LBB0_4)>>2
	.byte	(LBB0_20-LBB0_4)>>2
	.byte	(LBB0_21-LBB0_4)>>2
	.byte	(LBB0_21-LBB0_4)>>2
	.byte	(LBB0_21-LBB0_4)>>2
	.byte	(LBB0_21-LBB0_4)>>2
	.byte	(LBB0_21-LBB0_4)>>2
	.byte	(LBB0_21-LBB0_4)>>2
	.byte	(LBB0_21-LBB0_4)>>2
	.byte	(LBB0_21-LBB0_4)>>2
	.byte	(LBB0_21-LBB0_4)>>2
	.byte	(LBB0_21-LBB0_4)>>2
	.byte	(LBB0_21-LBB0_4)>>2
	.byte	(LBB0_21-LBB0_4)>>2
	.byte	(LBB0_21-LBB0_4)>>2
	.byte	(LBB0_21-LBB0_4)>>2
	.byte	(LBB0_21-LBB0_4)>>2
	.byte	(LBB0_21-LBB0_4)>>2
	.byte	(LBB0_21-LBB0_4)>>2
	.byte	(LBB0_21-LBB0_4)>>2
	.byte	(LBB0_21-LBB0_4)>>2
	.byte	(LBB0_21-LBB0_4)>>2
	.byte	(LBB0_21-LBB0_4)>>2
	.byte	(LBB0_21-LBB0_4)>>2
	.byte	(LBB0_21-LBB0_4)>>2
	.byte	(LBB0_21-LBB0_4)>>2
	.byte	(LBB0_21-LBB0_4)>>2
	.byte	(LBB0_21-LBB0_4)>>2
	.byte	(LBB0_22-LBB0_4)>>2
                                        ; -- End function
	.comm	_INTUOS,8,3                     ; @INTUOS
	.comm	_BTN_TOOL_PENCIL,8,3            ; @BTN_TOOL_PENCIL
	.comm	_BTN_TOOL_PEN,8,3               ; @BTN_TOOL_PEN
	.comm	_BTN_TOOL_BRUSH,8,3             ; @BTN_TOOL_BRUSH
	.comm	_BTN_TOOL_MOUSE,8,3             ; @BTN_TOOL_MOUSE
	.comm	_BTN_TOOL_LENS,8,3              ; @BTN_TOOL_LENS
	.comm	_BTN_TOOL_RUBBER,8,3            ; @BTN_TOOL_RUBBER
	.comm	_BTN_TOOL_AIRBRUSH,8,3          ; @BTN_TOOL_AIRBRUSH
	.comm	_WACOM_21UX2,8,3                ; @WACOM_21UX2
	.comm	_WACOM_24HD,8,3                 ; @WACOM_24HD
	.comm	_ABS_X,4,2                      ; @ABS_X
	.comm	_ABS_Y,4,2                      ; @ABS_Y
	.comm	_ABS_DISTANCE,4,2               ; @ABS_DISTANCE
	.comm	_ABS_TILT_X,4,2                 ; @ABS_TILT_X
	.comm	_ABS_TILT_Y,4,2                 ; @ABS_TILT_Y
	.comm	_BTN_LEFT,8,3                   ; @BTN_LEFT
	.comm	_BTN_MIDDLE,8,3                 ; @BTN_MIDDLE
	.comm	_BTN_RIGHT,8,3                  ; @BTN_RIGHT
	.comm	_BTN_SIDE,8,3                   ; @BTN_SIDE
	.comm	_BTN_EXTRA,8,3                  ; @BTN_EXTRA
	.comm	_ABS_THROTTLE,4,2               ; @ABS_THROTTLE
	.comm	_ABS_RZ,4,2                     ; @ABS_RZ
	.comm	_ABS_PRESSURE,4,2               ; @ABS_PRESSURE
	.comm	_BTN_STYLUS,8,3                 ; @BTN_STYLUS
	.comm	_BTN_STYLUS2,8,3                ; @BTN_STYLUS2
	.comm	_BTN_TOUCH,8,3                  ; @BTN_TOUCH
	.comm	_ABS_WHEEL,4,2                  ; @ABS_WHEEL
	.comm	_INTUOS3S,8,3                   ; @INTUOS3S
	.comm	_ABS_Z,4,2                      ; @ABS_Z
	.comm	_ABS_MISC,4,2                   ; @ABS_MISC
	.comm	_EV_MSC,4,2                     ; @EV_MSC
	.comm	_MSC_SERIAL,4,2                 ; @MSC_SERIAL
	.no_dead_strip	_wacom_intuos_inout
.subsections_via_symbols
