	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_input_dev_tpc                  ## -- Begin function input_dev_tpc
	.p2align	4, 0x90
_input_dev_tpc:                         ## @input_dev_tpc
	.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	%rsi, %rbx
	movq	%rdi, %r14
	movq	(%rsi), %rax
	movq	(%rax), %rcx
	movq	_BTN_TOOL_FINGER@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	je	LBB0_3
## %bb.1:
	movq	_BTN_TOOL_PEN@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	je	LBB0_3
## %bb.2:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_3:
	movq	_ABS_RX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	12(%rax), %ecx
	movq	%r14, %rdi
	xorl	%edx, %edx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_input_set_abs_params
	movq	_ABS_RY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	(%rbx), %rax
	movl	8(%rax), %ecx
	movq	%r14, %rdi
	xorl	%edx, %edx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_input_set_abs_params           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_BTN_TOOL_FINGER,8,3            ## @BTN_TOOL_FINGER
	.comm	_BTN_TOOL_PEN,8,3               ## @BTN_TOOL_PEN
	.comm	_ABS_RX,4,2                     ## @ABS_RX
	.comm	_ABS_RY,4,2                     ## @ABS_RY
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_input_dev_tpc                  ; -- Begin function input_dev_tpc
	.p2align	2
_input_dev_tpc:                         ; @input_dev_tpc
	.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
	ldr	x8, [x1]
	ldr	x9, [x8]
Lloh0:
	adrp	x10, _BTN_TOOL_FINGER@GOTPAGE
Lloh1:
	ldr	x10, [x10, _BTN_TOOL_FINGER@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
Lloh3:
	adrp	x11, _BTN_TOOL_PEN@GOTPAGE
Lloh4:
	ldr	x11, [x11, _BTN_TOOL_PEN@GOTPAGEOFF]
Lloh5:
	ldr	x11, [x11]
	cmp	x9, x10
	ccmp	x9, x11, #4, ne
	b.ne	LBB0_2
; %bb.1:
	mov	x20, x1
	mov	x19, x0
Lloh6:
	adrp	x9, _ABS_RX@GOTPAGE
Lloh7:
	ldr	x9, [x9, _ABS_RX@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x9]
	ldr	w3, [x8, #12]
	mov	w2, #0
	mov	w4, #0
	mov	w5, #0
	bl	_input_set_abs_params
Lloh9:
	adrp	x8, _ABS_RY@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ABS_RY@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	ldr	x8, [x20]
	ldr	w3, [x8, #8]
	mov	x0, x19
	mov	w2, #0
	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
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_BTN_TOOL_FINGER,8,3            ; @BTN_TOOL_FINGER
	.comm	_BTN_TOOL_PEN,8,3               ; @BTN_TOOL_PEN
	.comm	_ABS_RX,4,2                     ; @ABS_RX
	.comm	_ABS_RY,4,2                     ; @ABS_RY
.subsections_via_symbols
