	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wacom_setup_pad_input_capabilities ## -- Begin function wacom_setup_pad_input_capabilities
	.p2align	4, 0x90
_wacom_setup_pad_input_capabilities:    ## @wacom_setup_pad_input_capabilities
	.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
	movq	%rsi, %r12
	movq	%rdi, %r14
	movl	8(%rsi), %eax
	cmpl	$155, %eax
	jne	LBB0_3
## %bb.1:
	cmpq	$0, 16(%r12)
	jle	LBB0_3
## %bb.2:
	movq	_WACOM_DEVICETYPE_PAD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%ecx, 24(%r12)
LBB0_3:
	movq	_WACOM_DEVICETYPE_PAD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, 24(%r12)
	je	LBB0_36
## %bb.4:
	cmpl	$136, %eax
	jne	LBB0_6
## %bb.5:
	cmpq	%r14, (%r12)
	je	LBB0_36
LBB0_6:
	movq	_EV_KEY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BIT_MASK
	movl	%eax, %ebx
	movq	_EV_ABS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BIT_MASK
	orl	%ebx, %eax
	movq	(%r14), %rcx
	orl	%eax, (%rcx)
	movq	_ABS_MISC@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movl	12(%r14), %esi
	callq	___set_bit
	movq	24(%r14), %rax
	movq	_ABS_X@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rsi
	testq	%rax, %rax
	je	LBB0_9
## %bb.7:
	movq	%rsi, %rcx
	shlq	$4, %rcx
	cmpq	$0, 8(%rax,%rcx)
	jne	LBB0_11
## %bb.8:
	cmpq	$0, (%rax,%rcx)
	jne	LBB0_11
LBB0_9:
	movq	%r14, %rdi
	xorl	%edx, %edx
	movl	$1, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_input_set_abs_params
	movq	24(%r14), %rax
	testq	%rax, %rax
	je	LBB0_10
LBB0_11:
	movq	_ABS_Y@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	movq	%rsi, %rcx
	shlq	$4, %rcx
	cmpq	$0, 8(%rax,%rcx)
	jne	LBB0_14
## %bb.12:
	cmpq	$0, (%rax,%rcx)
	jne	LBB0_14
	jmp	LBB0_13
LBB0_10:
	movq	_ABS_Y@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
LBB0_13:
	movq	%r14, %rdi
	xorl	%edx, %edx
	movl	$1, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_input_set_abs_params
LBB0_14:
	movq	_BTN_STYLUS@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	movl	8(%r14), %esi
	callq	___set_bit
	movq	16(%r12), %rsi
	movq	%r14, %rdi
	callq	_wacom_setup_numbered_buttons
	movl	8(%r12), %eax
	addl	$-128, %eax
	cmpl	$35, %eax
	ja	LBB0_36
## %bb.15:
	movq	%r15, %rdx
	xorl	%r15d, %r15d
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_27:
	movq	_ABS_WHEEL@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	xorl	%r15d, %r15d
LBB0_28:
	movq	%r14, %rdi
	xorl	%edx, %edx
	movl	$71, %ecx
	jmp	LBB0_29
LBB0_36:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
	jmp	LBB0_37
LBB0_34:
	movl	(%rdx), %edi
	movl	12(%r14), %esi
	callq	___clear_bit
	movq	_BTN_LEFT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	8(%r14), %esi
	callq	___set_bit
	movq	_BTN_FORWARD@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	8(%r14), %esi
	callq	___set_bit
	movq	_BTN_BACK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	8(%r14), %esi
	callq	___set_bit
	movq	_BTN_RIGHT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	8(%r14), %esi
	callq	___set_bit
	jmp	LBB0_37
LBB0_30:
	movq	_ABS_RY@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r14, %rdi
	xorl	%edx, %edx
	movl	$4096, %ecx                     ## imm = 0x1000
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_input_set_abs_params
LBB0_31:
	movq	_ABS_RX@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	xorl	%r15d, %r15d
	jmp	LBB0_32
LBB0_25:
	movq	_BTN_BACK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	8(%r14), %esi
	callq	___set_bit
	movq	_BTN_LEFT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	8(%r14), %esi
	callq	___set_bit
	movq	_BTN_FORWARD@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	8(%r14), %esi
	callq	___set_bit
	movq	_BTN_RIGHT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	jmp	LBB0_26
LBB0_16:
	movq	_BTN_BACK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	8(%r14), %esi
	callq	___set_bit
	movq	_BTN_FORWARD@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	8(%r14), %esi
	callq	___set_bit
	movq	_EV_REL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_REL_WHEEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_input_set_capability
	jmp	LBB0_37
LBB0_20:
	movq	_KEY_PROG1@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	8(%r14), %esi
	callq	___set_bit
	movq	_KEY_PROG2@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	8(%r14), %esi
	callq	___set_bit
	movq	_KEY_PROG3@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	8(%r14), %esi
	callq	___set_bit
	movq	_KEY_ONSCREEN_KEYBOARD@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	8(%r14), %esi
	callq	___set_bit
	movq	_KEY_BUTTONCONFIG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	8(%r14), %esi
	callq	___set_bit
	cmpl	$0, 28(%r12)
	jne	LBB0_22
## %bb.21:
	movq	_KEY_CONTROLPANEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	8(%r14), %esi
	callq	___set_bit
LBB0_22:
	movq	(%rbx), %rsi
	xorl	%r15d, %r15d
	movq	%r14, %rdi
	movl	$-2048, %edx                    ## imm = 0xF800
	movl	$2048, %ecx                     ## imm = 0x800
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_input_set_abs_params
	movq	(%rbx), %rsi
	movq	%r14, %rdi
	movl	$1024, %edx                     ## imm = 0x400
	callq	_input_abs_set_res
	movq	_ABS_Y@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rsi
	movq	%r14, %rdi
	movl	$-2048, %edx                    ## imm = 0xF800
	movl	$2048, %ecx                     ## imm = 0x800
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_input_set_abs_params
	movq	(%rbx), %rsi
	movq	%r14, %rdi
	movl	$1024, %edx                     ## imm = 0x400
	callq	_input_abs_set_res
	movq	_ABS_Z@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rsi
	movq	%r14, %rdi
	movl	$-2048, %edx                    ## imm = 0xF800
	movl	$2048, %ecx                     ## imm = 0x800
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_input_set_abs_params
	movq	(%rbx), %rsi
	movq	%r14, %rdi
	movl	$1024, %edx                     ## imm = 0x400
	callq	_input_abs_set_res
	movq	_INPUT_PROP_ACCELEROMETER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	16(%r14), %esi
	callq	___set_bit
	jmp	LBB0_37
LBB0_17:
	movq	_KEY_PROG1@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	8(%r14), %esi
	callq	___set_bit
	movq	_KEY_PROG2@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	8(%r14), %esi
	callq	___set_bit
	movq	_KEY_PROG3@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	8(%r14), %esi
	callq	___set_bit
	movq	_KEY_ONSCREEN_KEYBOARD@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	8(%r14), %esi
	callq	___set_bit
	movq	_KEY_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	8(%r14), %esi
	callq	___set_bit
	cmpl	$0, 28(%r12)
	jne	LBB0_19
## %bb.18:
	movq	_KEY_BUTTONCONFIG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	8(%r14), %esi
	callq	___set_bit
LBB0_19:
	movq	_ABS_WHEEL@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	xorl	%r15d, %r15d
	movq	%r14, %rdi
	xorl	%edx, %edx
	movl	$71, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_input_set_abs_params
	movq	_ABS_THROTTLE@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	jmp	LBB0_28
LBB0_23:
	movq	_KEY_PROG1@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	8(%r14), %esi
	callq	___set_bit
	movq	_KEY_PROG2@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	8(%r14), %esi
	callq	___set_bit
	movq	_KEY_PROG3@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	8(%r14), %esi
	callq	___set_bit
	movq	_KEY_BUTTONCONFIG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	8(%r14), %esi
	callq	___set_bit
	movq	_KEY_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	8(%r14), %esi
	callq	___set_bit
LBB0_24:
	movq	_ABS_RX@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	xorl	%r15d, %r15d
	movq	%r14, %rdi
	xorl	%edx, %edx
	movl	$4096, %ecx                     ## imm = 0x1000
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_input_set_abs_params
	movq	_ABS_RY@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
LBB0_32:
	movq	%r14, %rdi
	xorl	%edx, %edx
	movl	$4096, %ecx                     ## imm = 0x1000
LBB0_29:
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_input_set_abs_params
LBB0_37:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_35:
	movq	_EV_MSC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_MSC_SERIAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_input_set_capability
	jmp	LBB0_27
LBB0_33:
	movl	(%r13), %edi
LBB0_26:
	movl	8(%r14), %esi
	callq	___set_bit
	jmp	LBB0_27
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_25, LBB0_25-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_24, LBB0_24-LJTI0_0
.set L0_0_set_20, LBB0_20-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_23, LBB0_23-LJTI0_0
.set L0_0_set_27, LBB0_27-LJTI0_0
.set L0_0_set_35, LBB0_35-LJTI0_0
.set L0_0_set_37, LBB0_37-LJTI0_0
.set L0_0_set_34, LBB0_34-LJTI0_0
.set L0_0_set_33, LBB0_33-LJTI0_0
.set L0_0_set_31, LBB0_31-LJTI0_0
.set L0_0_set_30, LBB0_30-LJTI0_0
LJTI0_0:
	.long	L0_0_set_25
	.long	L0_0_set_16
	.long	L0_0_set_24
	.long	L0_0_set_20
	.long	L0_0_set_17
	.long	L0_0_set_23
	.long	L0_0_set_24
	.long	L0_0_set_27
	.long	L0_0_set_35
	.long	L0_0_set_27
	.long	L0_0_set_27
	.long	L0_0_set_27
	.long	L0_0_set_27
	.long	L0_0_set_27
	.long	L0_0_set_37
	.long	L0_0_set_34
	.long	L0_0_set_34
	.long	L0_0_set_27
	.long	L0_0_set_27
	.long	L0_0_set_27
	.long	L0_0_set_33
	.long	L0_0_set_27
	.long	L0_0_set_27
	.long	L0_0_set_27
	.long	L0_0_set_31
	.long	L0_0_set_30
	.long	L0_0_set_30
	.long	L0_0_set_37
	.long	L0_0_set_37
	.long	L0_0_set_37
	.long	L0_0_set_37
	.long	L0_0_set_37
	.long	L0_0_set_37
	.long	L0_0_set_24
	.long	L0_0_set_34
	.long	L0_0_set_34
	.end_data_region
                                        ## -- End function
	.comm	_WACOM_DEVICETYPE_PAD,4,2       ## @WACOM_DEVICETYPE_PAD
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_EV_KEY,4,2                     ## @EV_KEY
	.comm	_EV_ABS,4,2                     ## @EV_ABS
	.comm	_ABS_MISC,4,2                   ## @ABS_MISC
	.comm	_ABS_X,8,3                      ## @ABS_X
	.comm	_ABS_Y,8,3                      ## @ABS_Y
	.comm	_BTN_STYLUS,4,2                 ## @BTN_STYLUS
	.comm	_BTN_BACK,4,2                   ## @BTN_BACK
	.comm	_BTN_LEFT,4,2                   ## @BTN_LEFT
	.comm	_BTN_FORWARD,4,2                ## @BTN_FORWARD
	.comm	_BTN_RIGHT,4,2                  ## @BTN_RIGHT
	.comm	_ABS_WHEEL,8,3                  ## @ABS_WHEEL
	.comm	_EV_REL,4,2                     ## @EV_REL
	.comm	_REL_WHEEL,4,2                  ## @REL_WHEEL
	.comm	_KEY_PROG1,4,2                  ## @KEY_PROG1
	.comm	_KEY_PROG2,4,2                  ## @KEY_PROG2
	.comm	_KEY_PROG3,4,2                  ## @KEY_PROG3
	.comm	_KEY_ONSCREEN_KEYBOARD,4,2      ## @KEY_ONSCREEN_KEYBOARD
	.comm	_KEY_INFO,4,2                   ## @KEY_INFO
	.comm	_KEY_BUTTONCONFIG,4,2           ## @KEY_BUTTONCONFIG
	.comm	_ABS_THROTTLE,8,3               ## @ABS_THROTTLE
	.comm	_KEY_CONTROLPANEL,4,2           ## @KEY_CONTROLPANEL
	.comm	_ABS_Z,8,3                      ## @ABS_Z
	.comm	_INPUT_PROP_ACCELEROMETER,4,2   ## @INPUT_PROP_ACCELEROMETER
	.comm	_ABS_RX,8,3                     ## @ABS_RX
	.comm	_ABS_RY,8,3                     ## @ABS_RY
	.comm	_EV_MSC,4,2                     ## @EV_MSC
	.comm	_MSC_SERIAL,4,2                 ## @MSC_SERIAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wacom_setup_pad_input_capabilities ; -- Begin function wacom_setup_pad_input_capabilities
	.p2align	2
_wacom_setup_pad_input_capabilities:    ; @wacom_setup_pad_input_capabilities
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x20, x1
	mov	x19, x0
	ldr	w8, [x1, #8]
Lloh0:
	adrp	x9, _WACOM_DEVICETYPE_PAD@GOTPAGE
Lloh1:
	ldr	x9, [x9, _WACOM_DEVICETYPE_PAD@GOTPAGEOFF]
	cmp	w8, #155
	b.ne	LBB0_3
; %bb.1:
	ldr	x10, [x20, #16]
	cmp	x10, #1
	b.lt	LBB0_3
; %bb.2:
	ldr	w10, [x9]
	ldr	w11, [x20, #24]
	orr	w10, w11, w10
	str	w10, [x20, #24]
LBB0_3:
	ldr	w10, [x20, #24]
	ldr	w9, [x9]
	tst	w9, w10
	b.eq	LBB0_18
; %bb.4:
	cmp	w8, #136
	b.ne	LBB0_6
; %bb.5:
	ldr	x8, [x20]
	cmp	x8, x19
	b.eq	LBB0_18
LBB0_6:
Lloh2:
	adrp	x8, _EV_KEY@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EV_KEY@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	bl	_BIT_MASK
	mov	x21, x0
Lloh5:
	adrp	x8, _EV_ABS@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EV_ABS@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	bl	_BIT_MASK
	orr	w8, w0, w21
	ldr	x9, [x19]
	ldr	w10, [x9]
	orr	w8, w8, w10
	str	w8, [x9]
Lloh8:
	adrp	x22, _ABS_MISC@GOTPAGE
Lloh9:
	ldr	x22, [x22, _ABS_MISC@GOTPAGEOFF]
	ldr	w0, [x22]
	ldr	w1, [x19, #12]
	bl	___set_bit
	ldr	x8, [x19, #24]
Lloh10:
	adrp	x21, _ABS_X@GOTPAGE
Lloh11:
	ldr	x21, [x21, _ABS_X@GOTPAGEOFF]
	ldr	x1, [x21]
	cbz	x8, LBB0_9
; %bb.7:
	add	x9, x8, x1, lsl #4
	ldr	x9, [x9, #8]
	cbnz	x9, LBB0_10
; %bb.8:
	lsl	x9, x1, #4
	ldr	x9, [x8, x9]
	cbnz	x9, LBB0_10
LBB0_9:
	mov	x0, x19
	mov	w2, #0
	mov	w3, #1
	mov	w4, #0
	mov	w5, #0
	bl	_input_set_abs_params
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_12
LBB0_10:
Lloh12:
	adrp	x9, _ABS_Y@GOTPAGE
Lloh13:
	ldr	x9, [x9, _ABS_Y@GOTPAGEOFF]
Lloh14:
	ldr	x1, [x9]
	add	x9, x8, x1, lsl #4
	ldr	x9, [x9, #8]
	cbnz	x9, LBB0_14
; %bb.11:
	lsl	x9, x1, #4
	ldr	x8, [x8, x9]
	cbnz	x8, LBB0_14
	b	LBB0_13
LBB0_12:
Lloh15:
	adrp	x8, _ABS_Y@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ABS_Y@GOTPAGEOFF]
Lloh17:
	ldr	x1, [x8]
LBB0_13:
	mov	x0, x19
	mov	w2, #0
	mov	w3, #1
	mov	w4, #0
	mov	w5, #0
	bl	_input_set_abs_params
LBB0_14:
Lloh18:
	adrp	x23, _BTN_STYLUS@GOTPAGE
Lloh19:
	ldr	x23, [x23, _BTN_STYLUS@GOTPAGEOFF]
	ldr	w0, [x23]
	ldr	w1, [x19, #8]
	bl	___set_bit
	ldr	x1, [x20, #16]
	mov	x0, x19
	bl	_wacom_setup_numbered_buttons
	ldr	w8, [x20, #8]
	sub	w8, w8, #128
	cmp	w8, #35
	b.hi	LBB0_18
; %bb.15:
	mov	w0, #0
Lloh20:
	adrp	x9, lJTI0_0@PAGE
Lloh21:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_16
	ldrh	w11, [x9, x8, lsl #1]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_16:
Lloh22:
	adrp	x8, _ABS_WHEEL@GOTPAGE
Lloh23:
	ldr	x8, [x8, _ABS_WHEEL@GOTPAGEOFF]
LBB0_17:
	ldr	x1, [x8]
	mov	x0, x19
	mov	w2, #0
	mov	w3, #71
	b	LBB0_34
LBB0_18:
Lloh24:
	adrp	x8, _ENODEV@GOTPAGE
Lloh25:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_36
LBB0_19:
	ldr	w0, [x22]
	ldr	w1, [x19, #12]
	bl	___clear_bit
Lloh27:
	adrp	x8, _BTN_LEFT@GOTPAGE
Lloh28:
	ldr	x8, [x8, _BTN_LEFT@GOTPAGEOFF]
Lloh29:
	ldr	w0, [x8]
	ldr	w1, [x19, #8]
	bl	___set_bit
Lloh30:
	adrp	x8, _BTN_FORWARD@GOTPAGE
Lloh31:
	ldr	x8, [x8, _BTN_FORWARD@GOTPAGEOFF]
Lloh32:
	ldr	w0, [x8]
	ldr	w1, [x19, #8]
	bl	___set_bit
Lloh33:
	adrp	x8, _BTN_BACK@GOTPAGE
Lloh34:
	ldr	x8, [x8, _BTN_BACK@GOTPAGEOFF]
Lloh35:
	ldr	w0, [x8]
	ldr	w1, [x19, #8]
	bl	___set_bit
Lloh36:
	adrp	x8, _BTN_RIGHT@GOTPAGE
Lloh37:
	ldr	x8, [x8, _BTN_RIGHT@GOTPAGEOFF]
Lloh38:
	ldr	w0, [x8]
	ldr	w1, [x19, #8]
LBB0_20:
	bl	___set_bit
	b	LBB0_35
LBB0_21:
Lloh39:
	adrp	x8, _ABS_RY@GOTPAGE
Lloh40:
	ldr	x8, [x8, _ABS_RY@GOTPAGEOFF]
Lloh41:
	ldr	x1, [x8]
	mov	x0, x19
	mov	w2, #0
	mov	w3, #4096
	mov	w4, #0
	mov	w5, #0
	bl	_input_set_abs_params
LBB0_22:
Lloh42:
	adrp	x8, _ABS_RX@GOTPAGE
Lloh43:
	ldr	x8, [x8, _ABS_RX@GOTPAGEOFF]
	b	LBB0_33
LBB0_23:
Lloh44:
	adrp	x8, _BTN_BACK@GOTPAGE
Lloh45:
	ldr	x8, [x8, _BTN_BACK@GOTPAGEOFF]
Lloh46:
	ldr	w0, [x8]
	ldr	w1, [x19, #8]
	bl	___set_bit
Lloh47:
	adrp	x8, _BTN_LEFT@GOTPAGE
Lloh48:
	ldr	x8, [x8, _BTN_LEFT@GOTPAGEOFF]
Lloh49:
	ldr	w0, [x8]
	ldr	w1, [x19, #8]
	bl	___set_bit
Lloh50:
	adrp	x8, _BTN_FORWARD@GOTPAGE
Lloh51:
	ldr	x8, [x8, _BTN_FORWARD@GOTPAGEOFF]
Lloh52:
	ldr	w0, [x8]
	ldr	w1, [x19, #8]
	bl	___set_bit
Lloh53:
	adrp	x8, _BTN_RIGHT@GOTPAGE
Lloh54:
	ldr	x8, [x8, _BTN_RIGHT@GOTPAGEOFF]
Lloh55:
	ldr	w0, [x8]
	b	LBB0_39
LBB0_24:
Lloh56:
	adrp	x8, _BTN_BACK@GOTPAGE
Lloh57:
	ldr	x8, [x8, _BTN_BACK@GOTPAGEOFF]
Lloh58:
	ldr	w0, [x8]
	ldr	w1, [x19, #8]
	bl	___set_bit
Lloh59:
	adrp	x8, _BTN_FORWARD@GOTPAGE
Lloh60:
	ldr	x8, [x8, _BTN_FORWARD@GOTPAGEOFF]
Lloh61:
	ldr	w0, [x8]
	ldr	w1, [x19, #8]
	bl	___set_bit
Lloh62:
	adrp	x8, _EV_REL@GOTPAGE
Lloh63:
	ldr	x8, [x8, _EV_REL@GOTPAGEOFF]
Lloh64:
	ldr	w1, [x8]
Lloh65:
	adrp	x8, _REL_WHEEL@GOTPAGE
Lloh66:
	ldr	x8, [x8, _REL_WHEEL@GOTPAGEOFF]
Lloh67:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_input_set_capability
	b	LBB0_35
LBB0_25:
Lloh68:
	adrp	x8, _KEY_PROG1@GOTPAGE
Lloh69:
	ldr	x8, [x8, _KEY_PROG1@GOTPAGEOFF]
Lloh70:
	ldr	w0, [x8]
	ldr	w1, [x19, #8]
	bl	___set_bit
Lloh71:
	adrp	x8, _KEY_PROG2@GOTPAGE
Lloh72:
	ldr	x8, [x8, _KEY_PROG2@GOTPAGEOFF]
Lloh73:
	ldr	w0, [x8]
	ldr	w1, [x19, #8]
	bl	___set_bit
Lloh74:
	adrp	x8, _KEY_PROG3@GOTPAGE
Lloh75:
	ldr	x8, [x8, _KEY_PROG3@GOTPAGEOFF]
Lloh76:
	ldr	w0, [x8]
	ldr	w1, [x19, #8]
	bl	___set_bit
Lloh77:
	adrp	x8, _KEY_ONSCREEN_KEYBOARD@GOTPAGE
Lloh78:
	ldr	x8, [x8, _KEY_ONSCREEN_KEYBOARD@GOTPAGEOFF]
Lloh79:
	ldr	w0, [x8]
	ldr	w1, [x19, #8]
	bl	___set_bit
Lloh80:
	adrp	x8, _KEY_BUTTONCONFIG@GOTPAGE
Lloh81:
	ldr	x8, [x8, _KEY_BUTTONCONFIG@GOTPAGEOFF]
Lloh82:
	ldr	w0, [x8]
	ldr	w1, [x19, #8]
	bl	___set_bit
	ldr	w8, [x20, #28]
	cbnz	w8, LBB0_27
; %bb.26:
Lloh83:
	adrp	x8, _KEY_CONTROLPANEL@GOTPAGE
Lloh84:
	ldr	x8, [x8, _KEY_CONTROLPANEL@GOTPAGEOFF]
Lloh85:
	ldr	w0, [x8]
	ldr	w1, [x19, #8]
	bl	___set_bit
LBB0_27:
	ldr	x1, [x21]
	mov	x0, x19
	mov	w2, #-2048
	mov	w3, #2048
	mov	w4, #0
	mov	w5, #0
	bl	_input_set_abs_params
	ldr	x1, [x21]
	mov	x0, x19
	mov	w2, #1024
	bl	_input_abs_set_res
Lloh86:
	adrp	x20, _ABS_Y@GOTPAGE
Lloh87:
	ldr	x20, [x20, _ABS_Y@GOTPAGEOFF]
	ldr	x1, [x20]
	mov	x0, x19
	mov	w2, #-2048
	mov	w3, #2048
	mov	w4, #0
	mov	w5, #0
	bl	_input_set_abs_params
	ldr	x1, [x20]
	mov	x0, x19
	mov	w2, #1024
	bl	_input_abs_set_res
Lloh88:
	adrp	x20, _ABS_Z@GOTPAGE
Lloh89:
	ldr	x20, [x20, _ABS_Z@GOTPAGEOFF]
	ldr	x1, [x20]
	mov	x0, x19
	mov	w2, #-2048
	mov	w3, #2048
	mov	w4, #0
	mov	w5, #0
	bl	_input_set_abs_params
	ldr	x1, [x20]
	mov	x0, x19
	mov	w2, #1024
	bl	_input_abs_set_res
Lloh90:
	adrp	x8, _INPUT_PROP_ACCELEROMETER@GOTPAGE
Lloh91:
	ldr	x8, [x8, _INPUT_PROP_ACCELEROMETER@GOTPAGEOFF]
Lloh92:
	ldr	w0, [x8]
	ldr	w1, [x19, #16]
	b	LBB0_20
LBB0_28:
Lloh93:
	adrp	x8, _KEY_PROG1@GOTPAGE
Lloh94:
	ldr	x8, [x8, _KEY_PROG1@GOTPAGEOFF]
Lloh95:
	ldr	w0, [x8]
	ldr	w1, [x19, #8]
	bl	___set_bit
Lloh96:
	adrp	x8, _KEY_PROG2@GOTPAGE
Lloh97:
	ldr	x8, [x8, _KEY_PROG2@GOTPAGEOFF]
Lloh98:
	ldr	w0, [x8]
	ldr	w1, [x19, #8]
	bl	___set_bit
Lloh99:
	adrp	x8, _KEY_PROG3@GOTPAGE
Lloh100:
	ldr	x8, [x8, _KEY_PROG3@GOTPAGEOFF]
Lloh101:
	ldr	w0, [x8]
	ldr	w1, [x19, #8]
	bl	___set_bit
Lloh102:
	adrp	x8, _KEY_ONSCREEN_KEYBOARD@GOTPAGE
Lloh103:
	ldr	x8, [x8, _KEY_ONSCREEN_KEYBOARD@GOTPAGEOFF]
Lloh104:
	ldr	w0, [x8]
	ldr	w1, [x19, #8]
	bl	___set_bit
Lloh105:
	adrp	x8, _KEY_INFO@GOTPAGE
Lloh106:
	ldr	x8, [x8, _KEY_INFO@GOTPAGEOFF]
Lloh107:
	ldr	w0, [x8]
	ldr	w1, [x19, #8]
	bl	___set_bit
	ldr	w8, [x20, #28]
	cbnz	w8, LBB0_30
; %bb.29:
Lloh108:
	adrp	x8, _KEY_BUTTONCONFIG@GOTPAGE
Lloh109:
	ldr	x8, [x8, _KEY_BUTTONCONFIG@GOTPAGEOFF]
Lloh110:
	ldr	w0, [x8]
	ldr	w1, [x19, #8]
	bl	___set_bit
LBB0_30:
Lloh111:
	adrp	x8, _ABS_WHEEL@GOTPAGE
Lloh112:
	ldr	x8, [x8, _ABS_WHEEL@GOTPAGEOFF]
Lloh113:
	ldr	x1, [x8]
	mov	x0, x19
	mov	w2, #0
	mov	w3, #71
	mov	w4, #0
	mov	w5, #0
	bl	_input_set_abs_params
Lloh114:
	adrp	x8, _ABS_THROTTLE@GOTPAGE
Lloh115:
	ldr	x8, [x8, _ABS_THROTTLE@GOTPAGEOFF]
	b	LBB0_17
LBB0_31:
Lloh116:
	adrp	x8, _KEY_PROG1@GOTPAGE
Lloh117:
	ldr	x8, [x8, _KEY_PROG1@GOTPAGEOFF]
Lloh118:
	ldr	w0, [x8]
	ldr	w1, [x19, #8]
	bl	___set_bit
Lloh119:
	adrp	x8, _KEY_PROG2@GOTPAGE
Lloh120:
	ldr	x8, [x8, _KEY_PROG2@GOTPAGEOFF]
Lloh121:
	ldr	w0, [x8]
	ldr	w1, [x19, #8]
	bl	___set_bit
Lloh122:
	adrp	x8, _KEY_PROG3@GOTPAGE
Lloh123:
	ldr	x8, [x8, _KEY_PROG3@GOTPAGEOFF]
Lloh124:
	ldr	w0, [x8]
	ldr	w1, [x19, #8]
	bl	___set_bit
Lloh125:
	adrp	x8, _KEY_BUTTONCONFIG@GOTPAGE
Lloh126:
	ldr	x8, [x8, _KEY_BUTTONCONFIG@GOTPAGEOFF]
Lloh127:
	ldr	w0, [x8]
	ldr	w1, [x19, #8]
	bl	___set_bit
Lloh128:
	adrp	x8, _KEY_INFO@GOTPAGE
Lloh129:
	ldr	x8, [x8, _KEY_INFO@GOTPAGEOFF]
Lloh130:
	ldr	w0, [x8]
	ldr	w1, [x19, #8]
	bl	___set_bit
LBB0_32:
Lloh131:
	adrp	x8, _ABS_RX@GOTPAGE
Lloh132:
	ldr	x8, [x8, _ABS_RX@GOTPAGEOFF]
Lloh133:
	ldr	x1, [x8]
	mov	x0, x19
	mov	w2, #0
	mov	w3, #4096
	mov	w4, #0
	mov	w5, #0
	bl	_input_set_abs_params
Lloh134:
	adrp	x8, _ABS_RY@GOTPAGE
Lloh135:
	ldr	x8, [x8, _ABS_RY@GOTPAGEOFF]
LBB0_33:
	ldr	x1, [x8]
	mov	x0, x19
	mov	w2, #0
	mov	w3, #4096
LBB0_34:
	mov	w4, #0
	mov	w5, #0
	bl	_input_set_abs_params
LBB0_35:
	mov	w0, #0
LBB0_36:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_37:
Lloh136:
	adrp	x8, _EV_MSC@GOTPAGE
Lloh137:
	ldr	x8, [x8, _EV_MSC@GOTPAGEOFF]
Lloh138:
	ldr	w1, [x8]
Lloh139:
	adrp	x8, _MSC_SERIAL@GOTPAGE
Lloh140:
	ldr	x8, [x8, _MSC_SERIAL@GOTPAGEOFF]
Lloh141:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_input_set_capability
	b	LBB0_16
LBB0_38:
	ldr	w0, [x23]
LBB0_39:
	ldr	w1, [x19, #8]
	bl	___set_bit
	b	LBB0_16
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGot	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh80, Lloh81, Lloh82
	.loh AdrpLdrGotLdr	Lloh77, Lloh78, Lloh79
	.loh AdrpLdrGotLdr	Lloh74, Lloh75, Lloh76
	.loh AdrpLdrGotLdr	Lloh71, Lloh72, Lloh73
	.loh AdrpLdrGotLdr	Lloh68, Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh83, Lloh84, Lloh85
	.loh AdrpLdrGotLdr	Lloh90, Lloh91, Lloh92
	.loh AdrpLdrGot	Lloh88, Lloh89
	.loh AdrpLdrGot	Lloh86, Lloh87
	.loh AdrpLdrGotLdr	Lloh105, Lloh106, Lloh107
	.loh AdrpLdrGotLdr	Lloh102, Lloh103, Lloh104
	.loh AdrpLdrGotLdr	Lloh99, Lloh100, Lloh101
	.loh AdrpLdrGotLdr	Lloh96, Lloh97, Lloh98
	.loh AdrpLdrGotLdr	Lloh93, Lloh94, Lloh95
	.loh AdrpLdrGotLdr	Lloh108, Lloh109, Lloh110
	.loh AdrpLdrGot	Lloh114, Lloh115
	.loh AdrpLdrGotLdr	Lloh111, Lloh112, Lloh113
	.loh AdrpLdrGotLdr	Lloh128, Lloh129, Lloh130
	.loh AdrpLdrGotLdr	Lloh125, Lloh126, Lloh127
	.loh AdrpLdrGotLdr	Lloh122, Lloh123, Lloh124
	.loh AdrpLdrGotLdr	Lloh119, Lloh120, Lloh121
	.loh AdrpLdrGotLdr	Lloh116, Lloh117, Lloh118
	.loh AdrpLdrGot	Lloh134, Lloh135
	.loh AdrpLdrGotLdr	Lloh131, Lloh132, Lloh133
	.loh AdrpLdrGotLdr	Lloh139, Lloh140, Lloh141
	.loh AdrpLdrGotLdr	Lloh136, Lloh137, Lloh138
	.cfi_endproc
	.section	__TEXT,__const
	.p2align	1
lJTI0_0:
	.short	(LBB0_23-LBB0_16)>>2
	.short	(LBB0_24-LBB0_16)>>2
	.short	(LBB0_32-LBB0_16)>>2
	.short	(LBB0_25-LBB0_16)>>2
	.short	(LBB0_28-LBB0_16)>>2
	.short	(LBB0_31-LBB0_16)>>2
	.short	(LBB0_32-LBB0_16)>>2
	.short	(LBB0_16-LBB0_16)>>2
	.short	(LBB0_37-LBB0_16)>>2
	.short	(LBB0_16-LBB0_16)>>2
	.short	(LBB0_16-LBB0_16)>>2
	.short	(LBB0_16-LBB0_16)>>2
	.short	(LBB0_16-LBB0_16)>>2
	.short	(LBB0_16-LBB0_16)>>2
	.short	(LBB0_36-LBB0_16)>>2
	.short	(LBB0_19-LBB0_16)>>2
	.short	(LBB0_19-LBB0_16)>>2
	.short	(LBB0_16-LBB0_16)>>2
	.short	(LBB0_16-LBB0_16)>>2
	.short	(LBB0_16-LBB0_16)>>2
	.short	(LBB0_38-LBB0_16)>>2
	.short	(LBB0_16-LBB0_16)>>2
	.short	(LBB0_16-LBB0_16)>>2
	.short	(LBB0_16-LBB0_16)>>2
	.short	(LBB0_22-LBB0_16)>>2
	.short	(LBB0_21-LBB0_16)>>2
	.short	(LBB0_21-LBB0_16)>>2
	.short	(LBB0_36-LBB0_16)>>2
	.short	(LBB0_36-LBB0_16)>>2
	.short	(LBB0_36-LBB0_16)>>2
	.short	(LBB0_36-LBB0_16)>>2
	.short	(LBB0_36-LBB0_16)>>2
	.short	(LBB0_36-LBB0_16)>>2
	.short	(LBB0_32-LBB0_16)>>2
	.short	(LBB0_19-LBB0_16)>>2
	.short	(LBB0_19-LBB0_16)>>2
                                        ; -- End function
	.comm	_WACOM_DEVICETYPE_PAD,4,2       ; @WACOM_DEVICETYPE_PAD
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_EV_KEY,4,2                     ; @EV_KEY
	.comm	_EV_ABS,4,2                     ; @EV_ABS
	.comm	_ABS_MISC,4,2                   ; @ABS_MISC
	.comm	_ABS_X,8,3                      ; @ABS_X
	.comm	_ABS_Y,8,3                      ; @ABS_Y
	.comm	_BTN_STYLUS,4,2                 ; @BTN_STYLUS
	.comm	_BTN_BACK,4,2                   ; @BTN_BACK
	.comm	_BTN_LEFT,4,2                   ; @BTN_LEFT
	.comm	_BTN_FORWARD,4,2                ; @BTN_FORWARD
	.comm	_BTN_RIGHT,4,2                  ; @BTN_RIGHT
	.comm	_ABS_WHEEL,8,3                  ; @ABS_WHEEL
	.comm	_EV_REL,4,2                     ; @EV_REL
	.comm	_REL_WHEEL,4,2                  ; @REL_WHEEL
	.comm	_KEY_PROG1,4,2                  ; @KEY_PROG1
	.comm	_KEY_PROG2,4,2                  ; @KEY_PROG2
	.comm	_KEY_PROG3,4,2                  ; @KEY_PROG3
	.comm	_KEY_ONSCREEN_KEYBOARD,4,2      ; @KEY_ONSCREEN_KEYBOARD
	.comm	_KEY_INFO,4,2                   ; @KEY_INFO
	.comm	_KEY_BUTTONCONFIG,4,2           ; @KEY_BUTTONCONFIG
	.comm	_ABS_THROTTLE,8,3               ; @ABS_THROTTLE
	.comm	_KEY_CONTROLPANEL,4,2           ; @KEY_CONTROLPANEL
	.comm	_ABS_Z,8,3                      ; @ABS_Z
	.comm	_INPUT_PROP_ACCELEROMETER,4,2   ; @INPUT_PROP_ACCELEROMETER
	.comm	_ABS_RX,8,3                     ; @ABS_RX
	.comm	_ABS_RY,8,3                     ; @ABS_RY
	.comm	_EV_MSC,4,2                     ; @EV_MSC
	.comm	_MSC_SERIAL,4,2                 ; @MSC_SERIAL
.subsections_via_symbols
