	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wacom_setup_intuos
_wacom_setup_intuos:                    ## @wacom_setup_intuos
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	(%rdi), %rbx
	movq	_EV_REL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_REL_WHEEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_input_set_capability
	movq	%r14, %rdi
	callq	_wacom_setup_cintiq
	movq	_BTN_LEFT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %esi
	callq	___set_bit
	movq	_BTN_RIGHT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %esi
	callq	___set_bit
	movq	_BTN_MIDDLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %esi
	callq	___set_bit
	movq	_BTN_SIDE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %esi
	callq	___set_bit
	movq	_BTN_EXTRA@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %esi
	callq	___set_bit
	movq	_BTN_TOOL_MOUSE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %esi
	callq	___set_bit
	movq	_BTN_TOOL_LENS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %esi
	callq	___set_bit
	movq	_ABS_RZ@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	%rbx, %rdi
	movl	$-900, %edx                     ## imm = 0xFC7C
	movl	$899, %ecx                      ## imm = 0x383
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_input_set_abs_params
	movl	(%r14), %esi
	movq	%rbx, %rdi
	movl	$287, %edx                      ## imm = 0x11F
	callq	_input_abs_set_res
	movq	_ABS_THROTTLE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$-1023, %edx                    ## imm = 0xFC01
	movl	$1023, %ecx                     ## imm = 0x3FF
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_input_set_abs_params           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_EV_REL,4,2                     ## @EV_REL
	.comm	_REL_WHEEL,4,2                  ## @REL_WHEEL
	.comm	_BTN_LEFT,4,2                   ## @BTN_LEFT
	.comm	_BTN_RIGHT,4,2                  ## @BTN_RIGHT
	.comm	_BTN_MIDDLE,4,2                 ## @BTN_MIDDLE
	.comm	_BTN_SIDE,4,2                   ## @BTN_SIDE
	.comm	_BTN_EXTRA,4,2                  ## @BTN_EXTRA
	.comm	_BTN_TOOL_MOUSE,4,2             ## @BTN_TOOL_MOUSE
	.comm	_BTN_TOOL_LENS,4,2              ## @BTN_TOOL_LENS
	.comm	_ABS_RZ,4,2                     ## @ABS_RZ
	.comm	_ABS_THROTTLE,4,2               ## @ABS_THROTTLE
	.no_dead_strip	_wacom_setup_intuos
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wacom_setup_intuos
_wacom_setup_intuos:                    ; @wacom_setup_intuos
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x0
	ldr	x19, [x0]
Lloh0:
	adrp	x8, _EV_REL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EV_REL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _REL_WHEEL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _REL_WHEEL@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_input_set_capability
	mov	x0, x20
	bl	_wacom_setup_cintiq
Lloh6:
	adrp	x8, _BTN_LEFT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _BTN_LEFT@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	ldr	w1, [x19]
	bl	___set_bit
Lloh9:
	adrp	x8, _BTN_RIGHT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _BTN_RIGHT@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	ldr	w1, [x19]
	bl	___set_bit
Lloh12:
	adrp	x8, _BTN_MIDDLE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _BTN_MIDDLE@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	ldr	w1, [x19]
	bl	___set_bit
Lloh15:
	adrp	x8, _BTN_SIDE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _BTN_SIDE@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	ldr	w1, [x19]
	bl	___set_bit
Lloh18:
	adrp	x8, _BTN_EXTRA@GOTPAGE
Lloh19:
	ldr	x8, [x8, _BTN_EXTRA@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	ldr	w1, [x19]
	bl	___set_bit
Lloh21:
	adrp	x8, _BTN_TOOL_MOUSE@GOTPAGE
Lloh22:
	ldr	x8, [x8, _BTN_TOOL_MOUSE@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
	ldr	w1, [x19]
	bl	___set_bit
Lloh24:
	adrp	x8, _BTN_TOOL_LENS@GOTPAGE
Lloh25:
	ldr	x8, [x8, _BTN_TOOL_LENS@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
	ldr	w1, [x19]
	bl	___set_bit
Lloh27:
	adrp	x20, _ABS_RZ@GOTPAGE
Lloh28:
	ldr	x20, [x20, _ABS_RZ@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #-900
	mov	w3, #899
	mov	w4, #0
	mov	w5, #0
	bl	_input_set_abs_params
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #287
	bl	_input_abs_set_res
Lloh29:
	adrp	x8, _ABS_THROTTLE@GOTPAGE
Lloh30:
	ldr	x8, [x8, _ABS_THROTTLE@GOTPAGEOFF]
Lloh31:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #-1023
	mov	w3, #1023
	mov	w4, #0
	mov	w5, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_input_set_abs_params
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EV_REL,4,2                     ; @EV_REL
	.comm	_REL_WHEEL,4,2                  ; @REL_WHEEL
	.comm	_BTN_LEFT,4,2                   ; @BTN_LEFT
	.comm	_BTN_RIGHT,4,2                  ; @BTN_RIGHT
	.comm	_BTN_MIDDLE,4,2                 ; @BTN_MIDDLE
	.comm	_BTN_SIDE,4,2                   ; @BTN_SIDE
	.comm	_BTN_EXTRA,4,2                  ; @BTN_EXTRA
	.comm	_BTN_TOOL_MOUSE,4,2             ; @BTN_TOOL_MOUSE
	.comm	_BTN_TOOL_LENS,4,2              ; @BTN_TOOL_LENS
	.comm	_ABS_RZ,4,2                     ; @ABS_RZ
	.comm	_ABS_THROTTLE,4,2               ; @ABS_THROTTLE
	.no_dead_strip	_wacom_setup_intuos
.subsections_via_symbols
