	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stmpe_ts_handler
_stmpe_ts_handler:                      ## @stmpe_ts_handler
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	%rsi, %rdi
	callq	_cancel_delayed_work_sync
	movl	4(%r14), %edi
	movq	_STMPE_REG_TSC_CTRL@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	_STMPE_TSC_CTRL_TSC_EN@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	xorl	%ecx, %ecx
	callq	_stmpe_set_bits
	movl	4(%r14), %edi
	movq	_STMPE_REG_TSC_DATA_XYZ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-64(%rbp), %rcx
	movl	$4, %edx
	callq	_stmpe_block_read
	movl	-64(%rbp), %eax
	movl	-60(%rbp), %ebx
	shll	$4, %eax
	movl	%ebx, %edx
	sarl	$4, %edx
	orl	%eax, %edx
	andl	$15, %ebx
	shll	$8, %ebx
	orl	-56(%rbp), %ebx
	movl	-52(%rbp), %r15d
	movl	8(%r14), %edi
	movq	_ABS_X@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_input_report_abs
	movl	8(%r14), %edi
	movq	_ABS_Y@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edx
	callq	_input_report_abs
	movl	8(%r14), %edi
	movq	_ABS_PRESSURE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r15d, %edx
	callq	_input_report_abs
	movl	8(%r14), %edi
	movq	_BTN_TOUCH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$1, %edx
	callq	_input_report_key
	movl	8(%r14), %edi
	callq	_input_sync
	movl	4(%r14), %edi
	callq	___stmpe_reset_fifo
	movl	4(%r14), %edi
	movl	(%r12), %esi
	movl	(%r13), %ecx
	movl	%ecx, %edx
	callq	_stmpe_set_bits
	movl	$50, %edi
	callq	_msecs_to_jiffies
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_schedule_delayed_work
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_2
## %bb.1:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_STMPE_REG_TSC_CTRL,4,2         ## @STMPE_REG_TSC_CTRL
	.comm	_STMPE_TSC_CTRL_TSC_EN,4,2      ## @STMPE_TSC_CTRL_TSC_EN
	.comm	_STMPE_REG_TSC_DATA_XYZ,4,2     ## @STMPE_REG_TSC_DATA_XYZ
	.comm	_ABS_X,4,2                      ## @ABS_X
	.comm	_ABS_Y,4,2                      ## @ABS_Y
	.comm	_ABS_PRESSURE,4,2               ## @ABS_PRESSURE
	.comm	_BTN_TOUCH,4,2                  ## @BTN_TOUCH
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_stmpe_ts_handler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stmpe_ts_handler
_stmpe_ts_handler:                      ; @stmpe_ts_handler
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	mov	x19, x1
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	mov	x0, x1
	bl	_cancel_delayed_work_sync
	ldr	w0, [x19, #4]
Lloh3:
	adrp	x22, _STMPE_REG_TSC_CTRL@GOTPAGE
Lloh4:
	ldr	x22, [x22, _STMPE_REG_TSC_CTRL@GOTPAGEOFF]
	ldr	w1, [x22]
Lloh5:
	adrp	x23, _STMPE_TSC_CTRL_TSC_EN@GOTPAGE
Lloh6:
	ldr	x23, [x23, _STMPE_TSC_CTRL_TSC_EN@GOTPAGEOFF]
	ldr	w2, [x23]
	mov	w3, #0
	bl	_stmpe_set_bits
	ldr	w0, [x19, #4]
Lloh7:
	adrp	x8, _STMPE_REG_TSC_DATA_XYZ@GOTPAGE
Lloh8:
	ldr	x8, [x8, _STMPE_REG_TSC_DATA_XYZ@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	add	x3, sp, #8
	mov	w2, #4
	bl	_stmpe_block_read
	ldp	w8, w9, [sp, #8]
	asr	w10, w9, #4
	orr	w2, w10, w8, lsl #4
	ubfiz	w8, w9, #8, #4
	ldp	w9, w20, [sp, #16]
	orr	w21, w8, w9
	ldr	w0, [x19, #8]
Lloh10:
	adrp	x8, _ABS_X@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ABS_X@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	bl	_input_report_abs
	ldr	w0, [x19, #8]
Lloh13:
	adrp	x8, _ABS_Y@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ABS_Y@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	mov	x2, x21
	bl	_input_report_abs
	ldr	w0, [x19, #8]
Lloh16:
	adrp	x8, _ABS_PRESSURE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ABS_PRESSURE@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	mov	x2, x20
	bl	_input_report_abs
	ldr	w0, [x19, #8]
Lloh19:
	adrp	x8, _BTN_TOUCH@GOTPAGE
Lloh20:
	ldr	x8, [x8, _BTN_TOUCH@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	mov	w2, #1
	bl	_input_report_key
	ldr	w0, [x19, #8]
	bl	_input_sync
	ldr	w0, [x19, #4]
	bl	___stmpe_reset_fifo
	ldr	w0, [x19, #4]
	ldr	w1, [x22]
	ldr	w2, [x23]
	mov	x3, x2
	bl	_stmpe_set_bits
	mov	w0, #50
	bl	_msecs_to_jiffies
	mov	x1, x0
	mov	x0, x19
	bl	_schedule_delayed_work
Lloh22:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh23:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
Lloh24:
	ldr	w0, [x8]
	ldr	x8, [sp, #24]
Lloh25:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh26:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh27:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_2
; %bb.1:
	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
	add	sp, sp, #96
	ret
LBB0_2:
	bl	___stack_chk_fail
	.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	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_STMPE_REG_TSC_CTRL,4,2         ; @STMPE_REG_TSC_CTRL
	.comm	_STMPE_TSC_CTRL_TSC_EN,4,2      ; @STMPE_TSC_CTRL_TSC_EN
	.comm	_STMPE_REG_TSC_DATA_XYZ,4,2     ; @STMPE_REG_TSC_DATA_XYZ
	.comm	_ABS_X,4,2                      ; @ABS_X
	.comm	_ABS_Y,4,2                      ; @ABS_Y
	.comm	_ABS_PRESSURE,4,2               ; @ABS_PRESSURE
	.comm	_BTN_TOUCH,4,2                  ; @BTN_TOUCH
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_stmpe_ts_handler
.subsections_via_symbols
