	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function surface3_spi_report_touch
_surface3_spi_report_touch:             ## @surface3_spi_report_touch
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r14
	movl	(%rsi), %r12d
	movl	(%rdi), %ebx
	leaq	20(%rsi), %rdi
	callq	_get_unaligned_le16
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_input_mt_get_slot_by_key
	testl	%eax, %eax
	js	LBB0_2
## %bb.1:
	movl	(%r14), %edi
	movl	%eax, %esi
	callq	_input_mt_slot
	movl	(%r14), %edi
	movq	_MT_TOOL_FINGER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r12d, %edx
	andl	$1, %edx
	callq	_input_mt_report_slot_state
	andl	$1, %r12d
	jne	LBB0_3
LBB0_2:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movl	(%r14), %r12d
	movq	_ABS_MT_POSITION_X@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	16(%r15), %rdi
	callq	_get_unaligned_le16
	movl	%r12d, %edi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_input_report_abs
	movl	(%r14), %r12d
	movq	_ABS_MT_POSITION_Y@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	12(%r15), %rdi
	callq	_get_unaligned_le16
	movl	%r12d, %edi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_input_report_abs
	movl	(%r14), %r12d
	movq	_ABS_MT_WIDTH_MAJOR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	8(%r15), %rdi
	callq	_get_unaligned_le16
	movl	%r12d, %edi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_input_report_abs
	movl	(%r14), %r14d
	movq	_ABS_MT_WIDTH_MINOR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	addq	$4, %r15
	movq	%r15, %rdi
	callq	_get_unaligned_le16
	movl	%r14d, %edi
	movl	%ebx, %esi
	movl	%eax, %edx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_input_report_abs               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MT_TOOL_FINGER,4,2             ## @MT_TOOL_FINGER
	.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_WIDTH_MAJOR,4,2         ## @ABS_MT_WIDTH_MAJOR
	.comm	_ABS_MT_WIDTH_MINOR,4,2         ## @ABS_MT_WIDTH_MINOR
	.no_dead_strip	_surface3_spi_report_touch
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function surface3_spi_report_touch
_surface3_spi_report_touch:             ; @surface3_spi_report_touch
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x1
	mov	x20, x0
	mov	x0, x1
	ldr	w22, [x0], #20
	ldr	w21, [x20]
	bl	_get_unaligned_le16
	mov	x1, x0
	mov	x0, x21
	bl	_input_mt_get_slot_by_key
	tbnz	w0, #31, LBB0_2
; %bb.1:
	mov	x1, x0
	and	w21, w22, #0x1
	ldr	w0, [x20]
	bl	_input_mt_slot
	ldr	w0, [x20]
Lloh0:
	adrp	x8, _MT_TOOL_FINGER@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MT_TOOL_FINGER@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x2, x21
	bl	_input_mt_report_slot_state
	tbnz	w22, #0, LBB0_3
LBB0_2:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_3:
	ldr	w21, [x20]
Lloh3:
	adrp	x8, _ABS_MT_POSITION_X@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ABS_MT_POSITION_X@GOTPAGEOFF]
Lloh5:
	ldr	w22, [x8]
	add	x0, x19, #16
	bl	_get_unaligned_le16
	mov	x2, x0
	mov	x0, x21
	mov	x1, x22
	bl	_input_report_abs
	ldr	w21, [x20]
Lloh6:
	adrp	x8, _ABS_MT_POSITION_Y@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ABS_MT_POSITION_Y@GOTPAGEOFF]
Lloh8:
	ldr	w22, [x8]
	add	x0, x19, #12
	bl	_get_unaligned_le16
	mov	x2, x0
	mov	x0, x21
	mov	x1, x22
	bl	_input_report_abs
	ldr	w21, [x20]
Lloh9:
	adrp	x8, _ABS_MT_WIDTH_MAJOR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ABS_MT_WIDTH_MAJOR@GOTPAGEOFF]
Lloh11:
	ldr	w22, [x8]
	add	x0, x19, #8
	bl	_get_unaligned_le16
	mov	x2, x0
	mov	x0, x21
	mov	x1, x22
	bl	_input_report_abs
	ldr	w20, [x20]
Lloh12:
	adrp	x8, _ABS_MT_WIDTH_MINOR@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ABS_MT_WIDTH_MINOR@GOTPAGEOFF]
Lloh14:
	ldr	w21, [x8]
	add	x0, x19, #4
	bl	_get_unaligned_le16
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_input_report_abs
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_MT_TOOL_FINGER,4,2             ; @MT_TOOL_FINGER
	.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_WIDTH_MAJOR,4,2         ; @ABS_MT_WIDTH_MAJOR
	.comm	_ABS_MT_WIDTH_MINOR,4,2         ; @ABS_MT_WIDTH_MINOR
	.no_dead_strip	_surface3_spi_report_touch
.subsections_via_symbols
