	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function udraw_raw_event
_udraw_raw_event:                       ## @udraw_raw_event
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %ebx
	movq	%rdx, %r14
	callq	_hid_get_drvdata
	cmpl	$27, %ebx
	jne	LBB0_30
## %bb.1:
	movq	%rax, %r13
	movl	44(%r14), %eax
	testl	%eax, %eax
	je	LBB0_2
## %bb.3:
	cmpl	$128, %eax
	je	LBB0_6
## %bb.4:
	cmpl	$64, %eax
	jne	LBB0_7
## %bb.5:
	movq	_TOUCH_PEN@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_2:
	movq	_TOUCH_NONE@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_6:
	movq	_TOUCH_FINGER@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_7:
	movq	_TOUCH_TWOFINGER@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %r15d
	movl	28(%r13), %edi
	movq	_BTN_WEST@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r14), %edx
	andl	$1, %edx
	callq	_input_report_key
	movl	28(%r13), %edi
	movq	_BTN_SOUTH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r14), %edx
	shrl	%edx
	andl	$1, %edx
	callq	_input_report_key
	movl	28(%r13), %edi
	movq	_BTN_EAST@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r14), %edx
	shrl	$2, %edx
	andl	$1, %edx
	callq	_input_report_key
	movl	28(%r13), %edi
	movq	_BTN_NORTH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r14), %edx
	shrl	$3, %edx
	andl	$1, %edx
	callq	_input_report_key
	movl	28(%r13), %edi
	movq	_BTN_SELECT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	4(%r14), %edx
	andl	$1, %edx
	callq	_input_report_key
	movl	28(%r13), %edi
	movq	_BTN_START@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	4(%r14), %edx
	shrl	%edx
	andl	$1, %edx
	callq	_input_report_key
	movl	28(%r13), %edi
	movq	_BTN_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	4(%r14), %edx
	shrl	$4, %edx
	andl	$1, %edx
	callq	_input_report_key
	movslq	8(%r14), %rax
	xorl	%ebx, %ebx
	movl	$0, %edx
	movl	$0, %r12d
	cmpq	$7, %rax
	ja	LBB0_10
## %bb.9:
	leaq	l_switch.table.udraw_raw_event(%rip), %rcx
	movl	(%rcx,%rax,4), %edx
	leaq	l_switch.table.udraw_raw_event.1(%rip), %rcx
	movl	(%rcx,%rax,4), %r12d
LBB0_10:
	movl	28(%r13), %edi
	movq	_ABS_X@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_input_report_abs
	movl	28(%r13), %edi
	movq	_ABS_Y@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r12d, %edx
	callq	_input_report_abs
	movl	28(%r13), %edi
	callq	_input_sync
	movq	_TOUCH_NONE@GOTPCREL(%rip), %rax
	movl	$0, %r12d
	cmpl	(%rax), %r15d
	je	LBB0_15
## %bb.11:
	movl	60(%r14), %eax
	xorl	%r12d, %r12d
	movl	$0, %ebx
	cmpl	$15, %eax
	je	LBB0_13
## %bb.12:
	shll	$8, %eax
	addl	68(%r14), %eax
	movl	%eax, %ebx
LBB0_13:
	movl	64(%r14), %eax
	cmpl	$15, %eax
	je	LBB0_15
## %bb.14:
	shll	$8, %eax
	addl	72(%r14), %eax
	movl	%eax, %r12d
LBB0_15:
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	movq	_TOUCH_FINGER@GOTPCREL(%rip), %rdx
	movl	(%rdx), %eax
	cmpl	%eax, %r15d
	movl	%r15d, %ebx
	jne	LBB0_20
## %bb.16:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, (%r13)
	movl	%r12d, 4(%r13)
	movq	$-1, 8(%r13)
	movl	(%rdx), %eax
	movq	_TOUCH_TWOFINGER@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	jmp	LBB0_17
LBB0_20:
	movq	_TOUCH_TWOFINGER@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	cmpl	%ecx, %ebx
	jne	LBB0_17
## %bb.21:
	movl	8(%r13), %eax
	movq	%rdx, %r15
	cmpl	$-1, %eax
	je	LBB0_22
## %bb.23:
	movl	%r12d, %ecx
	movl	-44(%rbp), %r12d                ## 4-byte Reload
	subl	%eax, %r12d
	addl	(%r13), %r12d
	subl	12(%r13), %ecx
	addl	4(%r13), %ecx
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	jmp	LBB0_24
LBB0_17:
	cmpl	%eax, %ebx
	je	LBB0_19
## %bb.18:
	cmpl	%ecx, %ebx
	je	LBB0_19
## %bb.25:
	movl	24(%r13), %edi
	movq	_BTN_TOUCH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_input_report_key
	movl	24(%r13), %edi
	movq	_BTN_TOOL_FINGER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_input_report_key
	movl	24(%r13), %edi
	movq	_BTN_TOOL_DOUBLETAP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_input_report_key
	movq	_ABS_X@GOTPCREL(%rip), %r15
	jmp	LBB0_26
LBB0_19:
	movq	%rdx, %r15
	movl	%r12d, -48(%rbp)                ## 4-byte Spill
	movl	-44(%rbp), %r12d                ## 4-byte Reload
LBB0_24:
	movl	24(%r13), %edi
	movq	_BTN_TOUCH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$1, %edx
	callq	_input_report_key
	movl	24(%r13), %edi
	movq	_BTN_TOOL_FINGER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	cmpl	(%r15), %ebx
	sete	%dl
	callq	_input_report_key
	movl	24(%r13), %edi
	movq	_BTN_TOOL_DOUBLETAP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_TOUCH_TWOFINGER@GOTPCREL(%rip), %rax
	xorl	%edx, %edx
	cmpl	(%rax), %ebx
	sete	%dl
	callq	_input_report_key
	movl	24(%r13), %edi
	movq	_ABS_X@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movl	%r12d, -44(%rbp)                ## 4-byte Spill
	movl	%r12d, %edx
	callq	_input_report_abs
	movl	24(%r13), %edi
	movq	_ABS_Y@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	-48(%rbp), %r12d                ## 4-byte Reload
	movl	%r12d, %edx
	callq	_input_report_abs
LBB0_26:
	movl	24(%r13), %edi
	callq	_input_sync
	movq	_TOUCH_PEN@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jne	LBB0_28
## %bb.27:
	movslq	52(%r14), %rdi
	movq	_PRESSURE_OFFSET@GOTPCREL(%rip), %rax
	subq	(%rax), %rdi
	movq	_MAX_PRESSURE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%esi, %esi
	callq	_clamp
	movl	%eax, %ebx
	movl	20(%r13), %edi
	movq	_BTN_TOUCH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	testl	%ebx, %ebx
	setne	%dl
	callq	_input_report_key
	movl	20(%r13), %edi
	movq	_BTN_TOOL_PEN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$1, %edx
	callq	_input_report_key
	movl	20(%r13), %edi
	movq	_ABS_PRESSURE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edx
	callq	_input_report_abs
	movl	20(%r13), %edi
	movl	(%r15), %esi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	callq	_input_report_abs
	movq	_ABS_Y@GOTPCREL(%rip), %rax
	jmp	LBB0_29
LBB0_28:
	movl	20(%r13), %edi
	movq	_BTN_TOUCH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%r12d, %r12d
	xorl	%edx, %edx
	callq	_input_report_key
	movl	20(%r13), %edi
	movq	_BTN_TOOL_PEN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_input_report_key
	movq	_ABS_PRESSURE@GOTPCREL(%rip), %rax
LBB0_29:
	movl	20(%r13), %edi
	movl	(%rax), %esi
	movl	%r12d, %edx
	callq	_input_report_abs
	movl	20(%r13), %edi
	callq	_input_sync
	movl	80(%r14), %edi
	shll	$8, %edi
	addl	76(%r14), %edi
	movq	_AXIS_X@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_clamp_accel
	movl	%eax, %r15d
	movl	88(%r14), %edi
	shll	$8, %edi
	addl	84(%r14), %edi
	movq	_AXIS_Y@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_clamp_accel
	movl	%eax, %r12d
	movl	96(%r14), %edi
	shll	$8, %edi
	addl	92(%r14), %edi
	movq	_AXIS_Z@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_clamp_accel
	movl	%eax, %ebx
	movl	16(%r13), %edi
	movq	_ABS_X@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r15d, %edx
	callq	_input_report_abs
	movl	16(%r13), %edi
	movq	_ABS_Y@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r12d, %edx
	callq	_input_report_abs
	movl	16(%r13), %edi
	movq	_ABS_Z@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edx
	callq	_input_report_abs
	movl	16(%r13), %edi
	callq	_input_sync
LBB0_30:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_22:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 8(%r13)
	movl	%r12d, 12(%r13)
	movl	(%r13), %r12d
	movl	4(%r13), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	jmp	LBB0_24
	.cfi_endproc
                                        ## -- End function
	.comm	_TOUCH_NONE,4,2                 ## @TOUCH_NONE
	.comm	_TOUCH_PEN,4,2                  ## @TOUCH_PEN
	.comm	_TOUCH_FINGER,4,2               ## @TOUCH_FINGER
	.comm	_TOUCH_TWOFINGER,4,2            ## @TOUCH_TWOFINGER
	.comm	_BTN_WEST,4,2                   ## @BTN_WEST
	.comm	_BTN_SOUTH,4,2                  ## @BTN_SOUTH
	.comm	_BTN_EAST,4,2                   ## @BTN_EAST
	.comm	_BTN_NORTH,4,2                  ## @BTN_NORTH
	.comm	_BTN_SELECT,4,2                 ## @BTN_SELECT
	.comm	_BTN_START,4,2                  ## @BTN_START
	.comm	_BTN_MODE,4,2                   ## @BTN_MODE
	.comm	_ABS_X,4,2                      ## @ABS_X
	.comm	_ABS_Y,4,2                      ## @ABS_Y
	.comm	_BTN_TOUCH,4,2                  ## @BTN_TOUCH
	.comm	_BTN_TOOL_FINGER,4,2            ## @BTN_TOOL_FINGER
	.comm	_BTN_TOOL_DOUBLETAP,4,2         ## @BTN_TOOL_DOUBLETAP
	.comm	_PRESSURE_OFFSET,8,3            ## @PRESSURE_OFFSET
	.comm	_MAX_PRESSURE,4,2               ## @MAX_PRESSURE
	.comm	_BTN_TOOL_PEN,4,2               ## @BTN_TOOL_PEN
	.comm	_ABS_PRESSURE,4,2               ## @ABS_PRESSURE
	.comm	_AXIS_X,4,2                     ## @AXIS_X
	.comm	_AXIS_Y,4,2                     ## @AXIS_Y
	.comm	_AXIS_Z,4,2                     ## @AXIS_Z
	.comm	_ABS_Z,4,2                      ## @ABS_Z
	.no_dead_strip	_udraw_raw_event
	.section	__TEXT,__const
	.p2align	2                               ## @switch.table.udraw_raw_event
l_switch.table.udraw_raw_event:
	.long	0                               ## 0x0
	.long	127                             ## 0x7f
	.long	127                             ## 0x7f
	.long	127                             ## 0x7f
	.long	0                               ## 0x0
	.long	4294967169                      ## 0xffffff81
	.long	4294967169                      ## 0xffffff81
	.long	4294967169                      ## 0xffffff81

	.p2align	2                               ## @switch.table.udraw_raw_event.1
l_switch.table.udraw_raw_event.1:
	.long	4294967169                      ## 0xffffff81
	.long	4294967169                      ## 0xffffff81
	.long	0                               ## 0x0
	.long	127                             ## 0x7f
	.long	127                             ## 0x7f
	.long	127                             ## 0x7f
	.long	0                               ## 0x0
	.long	4294967169                      ## 0xffffff81

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function udraw_raw_event
_udraw_raw_event:                       ; @udraw_raw_event
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x3
	mov	x20, x2
	bl	_hid_get_drvdata
	cmp	w21, #27
	b.ne	LBB0_33
; %bb.1:
	mov	x19, x0
	ldr	w8, [x20, #44]
Lloh0:
	adrp	x22, _TOUCH_NONE@GOTPAGE
Lloh1:
	ldr	x22, [x22, _TOUCH_NONE@GOTPAGEOFF]
	cbz	w8, LBB0_5
; %bb.2:
	cmp	w8, #128
	b.eq	LBB0_6
; %bb.3:
	cmp	w8, #64
	b.ne	LBB0_7
; %bb.4:
Lloh2:
	adrp	x8, _TOUCH_PEN@GOTPAGE
Lloh3:
	ldr	x8, [x8, _TOUCH_PEN@GOTPAGEOFF]
	b	LBB0_8
LBB0_5:
	mov	x8, x22
	b	LBB0_8
LBB0_6:
Lloh4:
	adrp	x8, _TOUCH_FINGER@GOTPAGE
Lloh5:
	ldr	x8, [x8, _TOUCH_FINGER@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:
Lloh6:
	adrp	x8, _TOUCH_TWOFINGER@GOTPAGE
Lloh7:
	ldr	x8, [x8, _TOUCH_TWOFINGER@GOTPAGEOFF]
LBB0_8:
	ldr	w23, [x8]
	ldr	w0, [x19, #28]
Lloh8:
	adrp	x8, _BTN_WEST@GOTPAGE
Lloh9:
	ldr	x8, [x8, _BTN_WEST@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	ldr	w8, [x20]
	and	w2, w8, #0x1
	bl	_input_report_key
	ldr	w0, [x19, #28]
Lloh11:
	adrp	x8, _BTN_SOUTH@GOTPAGE
Lloh12:
	ldr	x8, [x8, _BTN_SOUTH@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	ldr	w8, [x20]
	ubfx	w2, w8, #1, #1
	bl	_input_report_key
	ldr	w0, [x19, #28]
Lloh14:
	adrp	x8, _BTN_EAST@GOTPAGE
Lloh15:
	ldr	x8, [x8, _BTN_EAST@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	ldr	w8, [x20]
	ubfx	w2, w8, #2, #1
	bl	_input_report_key
	ldr	w0, [x19, #28]
Lloh17:
	adrp	x8, _BTN_NORTH@GOTPAGE
Lloh18:
	ldr	x8, [x8, _BTN_NORTH@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	ldr	w8, [x20]
	ubfx	w2, w8, #3, #1
	bl	_input_report_key
	ldr	w0, [x19, #28]
Lloh20:
	adrp	x8, _BTN_SELECT@GOTPAGE
Lloh21:
	ldr	x8, [x8, _BTN_SELECT@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
	ldr	w8, [x20, #4]
	and	w2, w8, #0x1
	bl	_input_report_key
	ldr	w0, [x19, #28]
Lloh23:
	adrp	x8, _BTN_START@GOTPAGE
Lloh24:
	ldr	x8, [x8, _BTN_START@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
	ldr	w8, [x20, #4]
	ubfx	w2, w8, #1, #1
	bl	_input_report_key
	ldr	w0, [x19, #28]
Lloh26:
	adrp	x8, _BTN_MODE@GOTPAGE
Lloh27:
	ldr	x8, [x8, _BTN_MODE@GOTPAGEOFF]
Lloh28:
	ldr	w1, [x8]
	ldr	w8, [x20, #4]
	ubfx	w2, w8, #4, #1
	bl	_input_report_key
	ldrsw	x8, [x20, #8]
	cmp	w8, #7
	b.hi	LBB0_10
; %bb.9:
	lsl	x8, x8, #2
Lloh29:
	adrp	x9, l_switch.table.udraw_raw_event@PAGE
Lloh30:
	add	x9, x9, l_switch.table.udraw_raw_event@PAGEOFF
	ldr	w2, [x9, x8]
Lloh31:
	adrp	x9, l_switch.table.udraw_raw_event.1@PAGE
Lloh32:
	add	x9, x9, l_switch.table.udraw_raw_event.1@PAGEOFF
	ldr	w21, [x9, x8]
	b	LBB0_11
LBB0_10:
	mov	w2, #0
	mov	w21, #0
LBB0_11:
Lloh33:
	adrp	x28, _TOUCH_FINGER@GOTPAGE
Lloh34:
	ldr	x28, [x28, _TOUCH_FINGER@GOTPAGEOFF]
	ldr	w0, [x19, #28]
Lloh35:
	adrp	x24, _ABS_X@GOTPAGE
Lloh36:
	ldr	x24, [x24, _ABS_X@GOTPAGEOFF]
	ldr	w1, [x24]
	bl	_input_report_abs
	ldr	w0, [x19, #28]
Lloh37:
	adrp	x25, _ABS_Y@GOTPAGE
Lloh38:
	ldr	x25, [x25, _ABS_Y@GOTPAGEOFF]
	ldr	w1, [x25]
	mov	x2, x21
	bl	_input_report_abs
	ldr	w0, [x19, #28]
	bl	_input_sync
	ldr	w8, [x22]
	cmp	w23, w8
	b.ne	LBB0_13
; %bb.12:
	mov	w22, #0
	mov	w21, #0
	b	LBB0_19
LBB0_13:
	ldr	w8, [x20, #60]
	cmp	w8, #15
	b.ne	LBB0_15
; %bb.14:
	mov	w22, #0
	b	LBB0_16
LBB0_15:
	ldr	w9, [x20, #68]
	add	w22, w9, w8, lsl #8
LBB0_16:
	ldr	w8, [x20, #64]
	cmp	w8, #15
	b.ne	LBB0_18
; %bb.17:
	mov	w21, #0
	b	LBB0_19
LBB0_18:
	ldr	w9, [x20, #72]
	add	w21, w9, w8, lsl #8
LBB0_19:
Lloh39:
	adrp	x27, _TOUCH_PEN@GOTPAGE
Lloh40:
	ldr	x27, [x27, _TOUCH_PEN@GOTPAGEOFF]
	ldr	w8, [x28]
Lloh41:
	adrp	x26, _BTN_TOUCH@GOTPAGE
Lloh42:
	ldr	x26, [x26, _BTN_TOUCH@GOTPAGEOFF]
	cmp	w23, w8
	b.ne	LBB0_21
; %bb.20:
	stp	w22, w21, [x19]
	movi.2d	v0, #0xffffffffffffffff
	str	d0, [x19, #8]
	ldr	w8, [x28]
Lloh43:
	adrp	x9, _TOUCH_TWOFINGER@GOTPAGE
Lloh44:
	ldr	x9, [x9, _TOUCH_TWOFINGER@GOTPAGEOFF]
Lloh45:
	ldr	w9, [x9]
	b	LBB0_24
LBB0_21:
Lloh46:
	adrp	x9, _TOUCH_TWOFINGER@GOTPAGE
Lloh47:
	ldr	x9, [x9, _TOUCH_TWOFINGER@GOTPAGEOFF]
Lloh48:
	ldr	w9, [x9]
	cmp	w23, w9
	b.ne	LBB0_24
; %bb.22:
	ldr	w8, [x19, #8]
	cmn	w8, #1
	b.eq	LBB0_27
; %bb.23:
	ldp	w9, w10, [x19]
	sub	w8, w22, w8
	add	w22, w8, w9
	ldr	w8, [x19, #12]
	sub	w8, w21, w8
	add	w21, w8, w10
	b	LBB0_28
LBB0_24:
	cmp	w23, w8
	b.eq	LBB0_28
; %bb.25:
	cmp	w23, w9
	b.eq	LBB0_28
; %bb.26:
	ldr	w0, [x19, #24]
	ldr	w1, [x26]
	mov	w2, #0
	bl	_input_report_key
	ldr	w0, [x19, #24]
Lloh49:
	adrp	x8, _BTN_TOOL_FINGER@GOTPAGE
Lloh50:
	ldr	x8, [x8, _BTN_TOOL_FINGER@GOTPAGEOFF]
Lloh51:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_input_report_key
	ldr	w0, [x19, #24]
Lloh52:
	adrp	x8, _BTN_TOOL_DOUBLETAP@GOTPAGE
Lloh53:
	ldr	x8, [x8, _BTN_TOOL_DOUBLETAP@GOTPAGEOFF]
Lloh54:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_input_report_key
	b	LBB0_29
LBB0_27:
	stp	w22, w21, [x19, #8]
	ldp	w22, w21, [x19]
LBB0_28:
	ldr	w0, [x19, #24]
	ldr	w1, [x26]
	mov	w2, #1
	bl	_input_report_key
	ldr	w0, [x19, #24]
Lloh55:
	adrp	x8, _BTN_TOOL_FINGER@GOTPAGE
Lloh56:
	ldr	x8, [x8, _BTN_TOOL_FINGER@GOTPAGEOFF]
Lloh57:
	ldr	w1, [x8]
	ldr	w8, [x28]
	cmp	w23, w8
	cset	w2, eq
	bl	_input_report_key
	ldr	w0, [x19, #24]
Lloh58:
	adrp	x8, _BTN_TOOL_DOUBLETAP@GOTPAGE
Lloh59:
	ldr	x8, [x8, _BTN_TOOL_DOUBLETAP@GOTPAGEOFF]
Lloh60:
	ldr	w1, [x8]
Lloh61:
	adrp	x8, _TOUCH_TWOFINGER@GOTPAGE
Lloh62:
	ldr	x8, [x8, _TOUCH_TWOFINGER@GOTPAGEOFF]
Lloh63:
	ldr	w8, [x8]
	cmp	w23, w8
	cset	w2, eq
	bl	_input_report_key
	ldr	w0, [x19, #24]
	ldr	w1, [x24]
	mov	x2, x22
	bl	_input_report_abs
	ldr	w0, [x19, #24]
	ldr	w1, [x25]
	mov	x2, x21
	bl	_input_report_abs
LBB0_29:
	ldr	w0, [x19, #24]
	bl	_input_sync
	ldr	w8, [x27]
	cmp	w23, w8
	b.ne	LBB0_31
; %bb.30:
Lloh64:
	adrp	x8, _PRESSURE_OFFSET@GOTPAGE
Lloh65:
	ldr	x8, [x8, _PRESSURE_OFFSET@GOTPAGEOFF]
	ldrsw	x9, [x20, #52]
Lloh66:
	ldr	x8, [x8]
	sub	x0, x9, x8
Lloh67:
	adrp	x8, _MAX_PRESSURE@GOTPAGE
Lloh68:
	ldr	x8, [x8, _MAX_PRESSURE@GOTPAGEOFF]
Lloh69:
	ldr	w2, [x8]
	mov	w1, #0
	bl	_clamp
	mov	x23, x0
	ldr	w0, [x19, #20]
	ldr	w1, [x26]
	cmp	w23, #0
	cset	w2, ne
	bl	_input_report_key
	ldr	w0, [x19, #20]
Lloh70:
	adrp	x8, _BTN_TOOL_PEN@GOTPAGE
Lloh71:
	ldr	x8, [x8, _BTN_TOOL_PEN@GOTPAGEOFF]
Lloh72:
	ldr	w1, [x8]
	mov	w2, #1
	bl	_input_report_key
	ldr	w0, [x19, #20]
Lloh73:
	adrp	x8, _ABS_PRESSURE@GOTPAGE
Lloh74:
	ldr	x8, [x8, _ABS_PRESSURE@GOTPAGEOFF]
Lloh75:
	ldr	w1, [x8]
	mov	x2, x23
	bl	_input_report_abs
	ldr	w0, [x19, #20]
	ldr	w1, [x24]
	mov	x2, x22
	bl	_input_report_abs
Lloh76:
	adrp	x8, _ABS_Y@GOTPAGE
Lloh77:
	ldr	x8, [x8, _ABS_Y@GOTPAGEOFF]
	b	LBB0_32
LBB0_31:
	ldr	w0, [x19, #20]
	ldr	w1, [x26]
	mov	w2, #0
	bl	_input_report_key
	ldr	w0, [x19, #20]
Lloh78:
	adrp	x8, _BTN_TOOL_PEN@GOTPAGE
Lloh79:
	ldr	x8, [x8, _BTN_TOOL_PEN@GOTPAGEOFF]
Lloh80:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_input_report_key
	mov	w21, #0
Lloh81:
	adrp	x8, _ABS_PRESSURE@GOTPAGE
Lloh82:
	ldr	x8, [x8, _ABS_PRESSURE@GOTPAGEOFF]
LBB0_32:
	ldr	w0, [x19, #20]
	ldr	w1, [x8]
	mov	x2, x21
	bl	_input_report_abs
	ldr	w0, [x19, #20]
	bl	_input_sync
	ldp	w8, w9, [x20, #76]
	add	w0, w8, w9, lsl #8
Lloh83:
	adrp	x8, _AXIS_X@GOTPAGE
Lloh84:
	ldr	x8, [x8, _AXIS_X@GOTPAGEOFF]
Lloh85:
	ldr	w1, [x8]
	bl	_clamp_accel
	mov	x21, x0
	ldp	w8, w9, [x20, #84]
	add	w0, w8, w9, lsl #8
Lloh86:
	adrp	x8, _AXIS_Y@GOTPAGE
Lloh87:
	ldr	x8, [x8, _AXIS_Y@GOTPAGEOFF]
Lloh88:
	ldr	w1, [x8]
	bl	_clamp_accel
	mov	x22, x0
	ldp	w8, w9, [x20, #92]
	add	w0, w8, w9, lsl #8
Lloh89:
	adrp	x8, _AXIS_Z@GOTPAGE
Lloh90:
	ldr	x8, [x8, _AXIS_Z@GOTPAGEOFF]
Lloh91:
	ldr	w1, [x8]
	bl	_clamp_accel
	mov	x20, x0
	ldr	w0, [x19, #16]
	ldr	w1, [x24]
	mov	x2, x21
	bl	_input_report_abs
	ldr	w0, [x19, #16]
	ldr	w1, [x25]
	mov	x2, x22
	bl	_input_report_abs
	ldr	w0, [x19, #16]
Lloh92:
	adrp	x8, _ABS_Z@GOTPAGE
Lloh93:
	ldr	x8, [x8, _ABS_Z@GOTPAGEOFF]
Lloh94:
	ldr	w1, [x8]
	mov	x2, x20
	bl	_input_report_abs
	ldr	w0, [x19, #16]
	bl	_input_sync
LBB0_33:
	mov	w0, #0
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh41, Lloh42
	.loh AdrpLdrGot	Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGot	Lloh76, Lloh77
	.loh AdrpLdrGotLdr	Lloh73, Lloh74, Lloh75
	.loh AdrpLdrGotLdr	Lloh70, Lloh71, Lloh72
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpLdrGot	Lloh81, Lloh82
	.loh AdrpLdrGotLdr	Lloh78, Lloh79, Lloh80
	.loh AdrpLdrGotLdr	Lloh92, Lloh93, Lloh94
	.loh AdrpLdrGotLdr	Lloh89, Lloh90, Lloh91
	.loh AdrpLdrGotLdr	Lloh86, Lloh87, Lloh88
	.loh AdrpLdrGotLdr	Lloh83, Lloh84, Lloh85
	.cfi_endproc
                                        ; -- End function
	.comm	_TOUCH_NONE,4,2                 ; @TOUCH_NONE
	.comm	_TOUCH_PEN,4,2                  ; @TOUCH_PEN
	.comm	_TOUCH_FINGER,4,2               ; @TOUCH_FINGER
	.comm	_TOUCH_TWOFINGER,4,2            ; @TOUCH_TWOFINGER
	.comm	_BTN_WEST,4,2                   ; @BTN_WEST
	.comm	_BTN_SOUTH,4,2                  ; @BTN_SOUTH
	.comm	_BTN_EAST,4,2                   ; @BTN_EAST
	.comm	_BTN_NORTH,4,2                  ; @BTN_NORTH
	.comm	_BTN_SELECT,4,2                 ; @BTN_SELECT
	.comm	_BTN_START,4,2                  ; @BTN_START
	.comm	_BTN_MODE,4,2                   ; @BTN_MODE
	.comm	_ABS_X,4,2                      ; @ABS_X
	.comm	_ABS_Y,4,2                      ; @ABS_Y
	.comm	_BTN_TOUCH,4,2                  ; @BTN_TOUCH
	.comm	_BTN_TOOL_FINGER,4,2            ; @BTN_TOOL_FINGER
	.comm	_BTN_TOOL_DOUBLETAP,4,2         ; @BTN_TOOL_DOUBLETAP
	.comm	_PRESSURE_OFFSET,8,3            ; @PRESSURE_OFFSET
	.comm	_MAX_PRESSURE,4,2               ; @MAX_PRESSURE
	.comm	_BTN_TOOL_PEN,4,2               ; @BTN_TOOL_PEN
	.comm	_ABS_PRESSURE,4,2               ; @ABS_PRESSURE
	.comm	_AXIS_X,4,2                     ; @AXIS_X
	.comm	_AXIS_Y,4,2                     ; @AXIS_Y
	.comm	_AXIS_Z,4,2                     ; @AXIS_Z
	.comm	_ABS_Z,4,2                      ; @ABS_Z
	.no_dead_strip	_udraw_raw_event
	.section	__TEXT,__const
	.p2align	2                               ; @switch.table.udraw_raw_event
l_switch.table.udraw_raw_event:
	.long	0                               ; 0x0
	.long	127                             ; 0x7f
	.long	127                             ; 0x7f
	.long	127                             ; 0x7f
	.long	0                               ; 0x0
	.long	4294967169                      ; 0xffffff81
	.long	4294967169                      ; 0xffffff81
	.long	4294967169                      ; 0xffffff81

	.p2align	2                               ; @switch.table.udraw_raw_event.1
l_switch.table.udraw_raw_event.1:
	.long	4294967169                      ; 0xffffff81
	.long	4294967169                      ; 0xffffff81
	.long	0                               ; 0x0
	.long	127                             ; 0x7f
	.long	127                             ; 0x7f
	.long	127                             ; 0x7f
	.long	0                               ; 0x0
	.long	4294967169                      ; 0xffffff81

.subsections_via_symbols
