	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mxt_proc_t9_message
_mxt_proc_t9_message:                   ## @mxt_proc_t9_message
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r9
	movl	(%rsi), %eax
	subl	(%rdi), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	8(%rsi), %eax
	shll	$4, %eax
	movl	16(%rsi), %ecx
	movl	%ecx, %edx
	shrl	$4, %edx
	andl	$15, %edx
	orl	%eax, %edx
	movl	12(%rsi), %eax
	shll	$4, %eax
	andl	$15, %ecx
	orl	%eax, %ecx
	movl	%edx, %r11d
	sarl	$2, %r11d
	cmpl	$1024, 4(%rdi)                  ## imm = 0x400
	cmovgel	%edx, %r11d
	movl	%ecx, %r12d
	sarl	$2, %r12d
	cmpl	$1024, 8(%rdi)                  ## imm = 0x400
	movl	4(%rsi), %r14d
	cmovgel	%ecx, %r12d
	movq	_MXT_T9_DETECT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	andl	%r14d, %ecx
	movq	_MXT_T9_PRESS@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	andl	%r14d, %r8d
	movq	_MXT_T9_RELEASE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%r14d, %eax
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movq	_MXT_T9_MOVE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edi
	andl	%r14d, %edi
	movq	_MXT_T9_VECTOR@GOTPCREL(%rip), %rdx
	movl	(%rdx), %ebx
	andl	%r14d, %ebx
	movq	_MXT_T9_AMP@GOTPCREL(%rip), %rdx
	movl	(%rdx), %eax
	andl	%r14d, %eax
	movq	_MXT_T9_SUPPRESS@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r13d
	andl	%r14d, %r13d
	movq	_MXT_T9_UNGRIP@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r15d
	andl	%r14d, %r15d
	testl	%ecx, %ecx
	movl	$46, %edx
	movl	$68, %ecx
	cmovel	%edx, %ecx
	testl	%r8d, %r8d
	movl	$80, %r8d
	cmovel	%edx, %r8d
	testl	%edi, %edi
	movl	$77, %edi
	cmovel	%edx, %edi
	movq	%rdi, -112(%rbp)                ## 8-byte Spill
	testl	%ebx, %ebx
	movl	$86, %edi
	cmovel	%edx, %edi
	movq	%rdi, -104(%rbp)                ## 8-byte Spill
	testl	%eax, %eax
	movl	$65, %ebx
	cmovel	%edx, %ebx
	testl	%r13d, %r13d
	movl	$83, %r10d
	cmovel	%edx, %r10d
	testl	%r15d, %r15d
	movl	20(%rsi), %r13d
	movl	24(%rsi), %eax
	movl	$85, %r15d
	cmovel	%edx, %r15d
	movq	24(%r9), %rdi
	movq	%r9, -64(%rbp)                  ## 8-byte Spill
	movq	16(%r9), %rsi
	movq	%rsi, -96(%rbp)                 ## 8-byte Spill
	subq	$8, %rsp
	cmpl	$0, -56(%rbp)                   ## 4-byte Folded Reload
	movl	$82, %r9d
	cmovel	%edx, %r9d
	leaq	L_.str(%rip), %rsi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	pushq	%rax
	movq	%r13, -80(%rbp)                 ## 8-byte Spill
	pushq	%r13
	movq	%r12, -88(%rbp)                 ## 8-byte Spill
	pushq	%r12
	movq	%r11, -56(%rbp)                 ## 8-byte Spill
	pushq	%r11
	pushq	%r15
	movq	-96(%rbp), %r15                 ## 8-byte Reload
	pushq	%r10
	pushq	%rbx
	pushq	-104(%rbp)                      ## 8-byte Folded Reload
	pushq	-112(%rbp)                      ## 8-byte Folded Reload
	callq	_dev_dbg
	addq	$80, %rsp
	movq	%r15, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	_input_mt_slot
	movq	_MXT_T9_DETECT@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_6
## %bb.1:
	movq	_MXT_T9_RELEASE@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	je	LBB0_3
## %bb.2:
	movq	_MT_TOOL_FINGER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_input_mt_report_slot_state
	movq	%r14, %rdi
	callq	_mxt_input_sync
LBB0_3:
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	testl	%ebx, %ebx
	jne	LBB0_5
## %bb.4:
	movq	_MXT_PRESSURE_DEFAULT@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_5:
	movq	_MT_TOOL_FINGER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	$1, %edx
	callq	_input_mt_report_slot_state
	movq	_ABS_MT_POSITION_X@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_input_report_abs
	movq	_ABS_MT_POSITION_Y@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_input_report_abs
	movq	_ABS_MT_PRESSURE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	%ebx, %edx
	callq	_input_report_abs
	movq	_ABS_MT_TOUCH_MAJOR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_input_report_abs
	jmp	LBB0_7
LBB0_6:
	movq	_MT_TOOL_FINGER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_input_mt_report_slot_state
	movq	-64(%rbp), %r14                 ## 8-byte Reload
LBB0_7:
	movl	$1, 12(%r14)
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"[%u] %c%c%c%c%c%c%c%c x: %5u y: %5u area: %3u amp: %3u\n"

	.comm	_MXT_T9_DETECT,4,2              ## @MXT_T9_DETECT
	.comm	_MXT_T9_PRESS,4,2               ## @MXT_T9_PRESS
	.comm	_MXT_T9_RELEASE,4,2             ## @MXT_T9_RELEASE
	.comm	_MXT_T9_MOVE,4,2                ## @MXT_T9_MOVE
	.comm	_MXT_T9_VECTOR,4,2              ## @MXT_T9_VECTOR
	.comm	_MXT_T9_AMP,4,2                 ## @MXT_T9_AMP
	.comm	_MXT_T9_SUPPRESS,4,2            ## @MXT_T9_SUPPRESS
	.comm	_MXT_T9_UNGRIP,4,2              ## @MXT_T9_UNGRIP
	.comm	_MT_TOOL_FINGER,4,2             ## @MT_TOOL_FINGER
	.comm	_MXT_PRESSURE_DEFAULT,4,2       ## @MXT_PRESSURE_DEFAULT
	.comm	_ABS_MT_POSITION_X,4,2          ## @ABS_MT_POSITION_X
	.comm	_ABS_MT_POSITION_Y,4,2          ## @ABS_MT_POSITION_Y
	.comm	_ABS_MT_PRESSURE,4,2            ## @ABS_MT_PRESSURE
	.comm	_ABS_MT_TOUCH_MAJOR,4,2         ## @ABS_MT_TOUCH_MAJOR
	.no_dead_strip	_mxt_proc_t9_message
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mxt_proc_t9_message
_mxt_proc_t9_message:                   ; @mxt_proc_t9_message
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x19, x0
	ldr	x0, [x0, #24]
	ldr	x20, [x19, #16]
	ldp	w8, w25, [x1]
	ldp	w9, w10, [x19]
	sub	w24, w8, w9
	ldp	w8, w9, [x1, #8]
	lsl	w8, w8, #4
	ldp	w11, w21, [x1, #16]
	bfxil	w8, w11, #4, #4
	bfi	w11, w9, #4, #28
	asr	w9, w8, #2
	cmp	w10, #1024
	csel	w23, w9, w8, lt
	ldr	w8, [x19, #8]
	asr	w9, w11, #2
	cmp	w8, #1024
	csel	w22, w9, w11, lt
	ldr	w26, [x1, #24]
Lloh0:
	adrp	x28, _MXT_T9_DETECT@GOTPAGE
Lloh1:
	ldr	x28, [x28, _MXT_T9_DETECT@GOTPAGEOFF]
Lloh2:
	adrp	x8, _MXT_T9_PRESS@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MXT_T9_PRESS@GOTPAGEOFF]
	ldr	w9, [x28]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x27, _MXT_T9_RELEASE@GOTPAGE
Lloh6:
	ldr	x27, [x27, _MXT_T9_RELEASE@GOTPAGEOFF]
Lloh7:
	adrp	x10, _MXT_T9_MOVE@GOTPAGE
Lloh8:
	ldr	x10, [x10, _MXT_T9_MOVE@GOTPAGEOFF]
	ldr	w11, [x27]
Lloh9:
	adrp	x12, _MXT_T9_AMP@GOTPAGE
Lloh10:
	ldr	x12, [x12, _MXT_T9_AMP@GOTPAGEOFF]
Lloh11:
	ldr	w12, [x12]
	tst	w12, w25
Lloh12:
	ldr	w10, [x10]
Lloh13:
	adrp	x12, _MXT_T9_VECTOR@GOTPAGE
Lloh14:
	ldr	x12, [x12, _MXT_T9_VECTOR@GOTPAGEOFF]
	mov	w13, #65
	mov	w14, #46
Lloh15:
	adrp	x15, _MXT_T9_SUPPRESS@GOTPAGE
Lloh16:
	ldr	x15, [x15, _MXT_T9_SUPPRESS@GOTPAGEOFF]
	csel	w13, w14, w13, eq
Lloh17:
	ldr	w15, [x15]
	tst	w15, w25
	mov	w15, #83
Lloh18:
	adrp	x16, _MXT_T9_UNGRIP@GOTPAGE
Lloh19:
	ldr	x16, [x16, _MXT_T9_UNGRIP@GOTPAGEOFF]
	csel	w15, w14, w15, eq
Lloh20:
	ldr	w16, [x16]
	tst	w16, w25
	mov	w16, #85
	csel	w16, w14, w16, eq
Lloh21:
	ldr	w12, [x12]
	stp	w21, w26, [sp, #12]
	strb	w16, [sp, #2]
	strb	w15, [sp, #1]
	strb	w13, [sp]
	tst	w9, w25
	stp	w23, w22, [sp, #4]
	mov	w9, #68
	csel	w3, w14, w9, eq
	tst	w8, w25
	mov	w8, #80
	csel	w4, w14, w8, eq
	tst	w11, w25
	mov	w8, #82
	csel	w5, w14, w8, eq
	tst	w10, w25
	mov	w8, #77
	csel	w6, w14, w8, eq
	tst	w12, w25
	mov	w8, #86
	csel	w7, w14, w8, eq
Lloh22:
	adrp	x1, l_.str@PAGE
Lloh23:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x24
	bl	_dev_dbg
	mov	x0, x20
	mov	x1, x24
	bl	_input_mt_slot
	ldr	w8, [x28]
	tst	w8, w25
	b.eq	LBB0_4
; %bb.1:
	ldr	w8, [x27]
Lloh24:
	adrp	x27, _MT_TOOL_FINGER@GOTPAGE
Lloh25:
	ldr	x27, [x27, _MT_TOOL_FINGER@GOTPAGEOFF]
	tst	w8, w25
	b.eq	LBB0_3
; %bb.2:
	ldr	w1, [x27]
	mov	x0, x20
	mov	w2, #0
	bl	_input_mt_report_slot_state
	mov	x0, x19
	bl	_mxt_input_sync
LBB0_3:
Lloh26:
	adrp	x8, _MXT_PRESSURE_DEFAULT@GOTPAGE
Lloh27:
	ldr	x8, [x8, _MXT_PRESSURE_DEFAULT@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
	cmp	w26, #0
	csel	w24, w8, w26, eq
	ldr	w1, [x27]
	mov	x0, x20
	mov	w2, #1
	bl	_input_mt_report_slot_state
Lloh29:
	adrp	x8, _ABS_MT_POSITION_X@GOTPAGE
Lloh30:
	ldr	x8, [x8, _ABS_MT_POSITION_X@GOTPAGEOFF]
Lloh31:
	ldr	w1, [x8]
	mov	x0, x20
	mov	x2, x23
	bl	_input_report_abs
Lloh32:
	adrp	x8, _ABS_MT_POSITION_Y@GOTPAGE
Lloh33:
	ldr	x8, [x8, _ABS_MT_POSITION_Y@GOTPAGEOFF]
Lloh34:
	ldr	w1, [x8]
	mov	x0, x20
	mov	x2, x22
	bl	_input_report_abs
Lloh35:
	adrp	x8, _ABS_MT_PRESSURE@GOTPAGE
Lloh36:
	ldr	x8, [x8, _ABS_MT_PRESSURE@GOTPAGEOFF]
Lloh37:
	ldr	w1, [x8]
	mov	x0, x20
	mov	x2, x24
	bl	_input_report_abs
Lloh38:
	adrp	x8, _ABS_MT_TOUCH_MAJOR@GOTPAGE
Lloh39:
	ldr	x8, [x8, _ABS_MT_TOUCH_MAJOR@GOTPAGEOFF]
Lloh40:
	ldr	w1, [x8]
	mov	x0, x20
	mov	x2, x21
	bl	_input_report_abs
	b	LBB0_5
LBB0_4:
Lloh41:
	adrp	x8, _MT_TOOL_FINGER@GOTPAGE
Lloh42:
	ldr	x8, [x8, _MT_TOOL_FINGER@GOTPAGEOFF]
Lloh43:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #0
	bl	_input_mt_report_slot_state
LBB0_5:
	mov	w8, #1
	str	w8, [x19, #12]
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh21
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh12
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"[%u] %c%c%c%c%c%c%c%c x: %5u y: %5u area: %3u amp: %3u\n"

	.comm	_MXT_T9_DETECT,4,2              ; @MXT_T9_DETECT
	.comm	_MXT_T9_PRESS,4,2               ; @MXT_T9_PRESS
	.comm	_MXT_T9_RELEASE,4,2             ; @MXT_T9_RELEASE
	.comm	_MXT_T9_MOVE,4,2                ; @MXT_T9_MOVE
	.comm	_MXT_T9_VECTOR,4,2              ; @MXT_T9_VECTOR
	.comm	_MXT_T9_AMP,4,2                 ; @MXT_T9_AMP
	.comm	_MXT_T9_SUPPRESS,4,2            ; @MXT_T9_SUPPRESS
	.comm	_MXT_T9_UNGRIP,4,2              ; @MXT_T9_UNGRIP
	.comm	_MT_TOOL_FINGER,4,2             ; @MT_TOOL_FINGER
	.comm	_MXT_PRESSURE_DEFAULT,4,2       ; @MXT_PRESSURE_DEFAULT
	.comm	_ABS_MT_POSITION_X,4,2          ; @ABS_MT_POSITION_X
	.comm	_ABS_MT_POSITION_Y,4,2          ; @ABS_MT_POSITION_Y
	.comm	_ABS_MT_PRESSURE,4,2            ; @ABS_MT_PRESSURE
	.comm	_ABS_MT_TOUCH_MAJOR,4,2         ; @ABS_MT_TOUCH_MAJOR
	.no_dead_strip	_mxt_proc_t9_message
.subsections_via_symbols
