	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sur40_report_blob
_sur40_report_blob:                     ## @sur40_report_blob
	.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	(%rdi), %rax
	movq	_SUR40_TOUCH@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.1:
	movq	%rsi, %r14
	movq	%rdi, %r15
	movl	32(%rdi), %esi
	movq	%r14, %rdi
	callq	_input_mt_get_slot_by_key
	testl	%eax, %eax
	js	LBB0_3
## %bb.2:
	movl	%eax, %ebx
	movq	_MAX_CONTACTS@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jge	LBB0_3
## %bb.4:
	movl	28(%r15), %edi
	callq	_le16_to_cpu
	movl	%eax, %r12d
	movl	24(%r15), %edi
	callq	_le16_to_cpu
	movl	%eax, %r13d
	movl	20(%r15), %edi
	callq	_le16_to_cpu
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	16(%r15), %edi
	callq	_le16_to_cpu
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	12(%r15), %edi
	callq	_le16_to_cpu
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movl	8(%r15), %edi
	callq	_le16_to_cpu
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_input_mt_slot
	movq	_MT_TOOL_FINGER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	$1, %edx
	callq	_input_mt_report_slot_state
	xorl	%r15d, %r15d
	cmpl	%r13d, %r12d
	setg	%r15b
	movl	%r12d, %edi
	movl	%r13d, %esi
	callq	_max
	movl	%eax, %ebx
	movl	%r12d, %edi
	movl	%r13d, %esi
	callq	_min
	movl	%eax, %r12d
	movq	_ABS_MT_POSITION_X@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	callq	_input_report_abs
	movq	_ABS_MT_POSITION_Y@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	callq	_input_report_abs
	movq	_ABS_MT_TOOL_X@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	callq	_input_report_abs
	movq	_ABS_MT_TOOL_Y@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	-56(%rbp), %edx                 ## 4-byte Reload
	callq	_input_report_abs
	movq	_ABS_MT_ORIENTATION@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	%r15d, %edx
	callq	_input_report_abs
	movq	_ABS_MT_TOUCH_MAJOR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_input_report_abs
	movq	_ABS_MT_TOUCH_MINOR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	%r12d, %edx
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_input_report_abs               ## TAILCALL
LBB0_3:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SUR40_TOUCH,8,3                ## @SUR40_TOUCH
	.comm	_MAX_CONTACTS,4,2               ## @MAX_CONTACTS
	.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_TOOL_X,4,2              ## @ABS_MT_TOOL_X
	.comm	_ABS_MT_TOOL_Y,4,2              ## @ABS_MT_TOOL_Y
	.comm	_ABS_MT_ORIENTATION,4,2         ## @ABS_MT_ORIENTATION
	.comm	_ABS_MT_TOUCH_MAJOR,4,2         ## @ABS_MT_TOUCH_MAJOR
	.comm	_ABS_MT_TOUCH_MINOR,4,2         ## @ABS_MT_TOUCH_MINOR
	.no_dead_strip	_sur40_report_blob
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sur40_report_blob
_sur40_report_blob:                     ; @sur40_report_blob
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _SUR40_TOUCH@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SUR40_TOUCH@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.1:
	mov	x19, x1
	mov	x20, x0
	ldr	w1, [x0, #32]
	mov	x0, x19
	bl	_input_mt_get_slot_by_key
	tbnz	w0, #31, LBB0_4
; %bb.2:
	mov	x21, x0
Lloh3:
	adrp	x8, _MAX_CONTACTS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAX_CONTACTS@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ge	LBB0_4
; %bb.3:
	ldr	w0, [x20, #28]
	bl	_le16_to_cpu
	mov	x22, x0
	ldr	w0, [x20, #24]
	bl	_le16_to_cpu
	mov	x23, x0
	ldr	w0, [x20, #20]
	bl	_le16_to_cpu
	mov	x24, x0
	ldr	w0, [x20, #16]
	bl	_le16_to_cpu
	mov	x25, x0
	ldr	w0, [x20, #12]
	bl	_le16_to_cpu
	mov	x26, x0
	ldr	w0, [x20, #8]
	bl	_le16_to_cpu
	mov	x20, x0
	mov	x0, x19
	mov	x1, x21
	bl	_input_mt_slot
Lloh6:
	adrp	x8, _MT_TOOL_FINGER@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MT_TOOL_FINGER@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #1
	bl	_input_mt_report_slot_state
	cmp	w22, w23
	cset	w21, gt
	mov	x0, x22
	mov	x1, x23
	bl	_max
	mov	x27, x0
	mov	x0, x22
	mov	x1, x23
	bl	_min
	mov	x22, x0
Lloh9:
	adrp	x8, _ABS_MT_POSITION_X@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ABS_MT_POSITION_X@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x24
	bl	_input_report_abs
Lloh12:
	adrp	x8, _ABS_MT_POSITION_Y@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ABS_MT_POSITION_Y@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x25
	bl	_input_report_abs
Lloh15:
	adrp	x8, _ABS_MT_TOOL_X@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ABS_MT_TOOL_X@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x26
	bl	_input_report_abs
Lloh18:
	adrp	x8, _ABS_MT_TOOL_Y@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ABS_MT_TOOL_Y@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x20
	bl	_input_report_abs
Lloh21:
	adrp	x8, _ABS_MT_ORIENTATION@GOTPAGE
Lloh22:
	ldr	x8, [x8, _ABS_MT_ORIENTATION@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x21
	bl	_input_report_abs
Lloh24:
	adrp	x8, _ABS_MT_TOUCH_MAJOR@GOTPAGE
Lloh25:
	ldr	x8, [x8, _ABS_MT_TOUCH_MAJOR@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x27
	bl	_input_report_abs
Lloh27:
	adrp	x8, _ABS_MT_TOUCH_MINOR@GOTPAGE
Lloh28:
	ldr	x8, [x8, _ABS_MT_TOUCH_MINOR@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x22
	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
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_input_report_abs
LBB0_4:
	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
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.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
	.cfi_endproc
                                        ; -- End function
	.comm	_SUR40_TOUCH,8,3                ; @SUR40_TOUCH
	.comm	_MAX_CONTACTS,4,2               ; @MAX_CONTACTS
	.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_TOOL_X,4,2              ; @ABS_MT_TOOL_X
	.comm	_ABS_MT_TOOL_Y,4,2              ; @ABS_MT_TOOL_Y
	.comm	_ABS_MT_ORIENTATION,4,2         ; @ABS_MT_ORIENTATION
	.comm	_ABS_MT_TOUCH_MAJOR,4,2         ; @ABS_MT_TOUCH_MAJOR
	.comm	_ABS_MT_TOUCH_MINOR,4,2         ; @ABS_MT_TOUCH_MINOR
	.no_dead_strip	_sur40_report_blob
.subsections_via_symbols
