	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function raydium_mt_event
_raydium_mt_event:                      ## @raydium_mt_event
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movl	(%rdi), %eax
	movl	4(%rdi), %ecx
	cltd
	idivl	%ecx
	testl	%eax, %eax
	jle	LBB0_5
## %bb.1:
	xorl	%r15d, %r15d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	incl	%r15d
	movl	(%r14), %eax
	movl	4(%r14), %ecx
	cltd
	idivl	%ecx
	cmpl	%eax, %r15d
	jge	LBB0_5
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	imull	%r15d, %ecx
	movslq	%ecx, %rbx
	shlq	$2, %rbx
	addq	8(%r14), %rbx
	movq	_RM_CONTACT_STATE_POS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rbx,%rax,4), %r12d
	movl	16(%r14), %edi
	movl	%r15d, %esi
	callq	_input_mt_slot
	movl	16(%r14), %edi
	movq	_MT_TOOL_FINGER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r12d, %edx
	callq	_input_mt_report_slot_state
	testl	%r12d, %r12d
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	16(%r14), %r13d
	movq	_ABS_MT_POSITION_X@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_RM_CONTACT_X_POS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	leaq	(%rbx,%rax,4), %rdi
	callq	_get_unaligned_le16
	movl	%r13d, %edi
	movl	%r12d, %esi
	movl	%eax, %edx
	callq	_input_report_abs
	movl	16(%r14), %r13d
	movq	_ABS_MT_POSITION_Y@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_RM_CONTACT_Y_POS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	leaq	(%rbx,%rax,4), %rdi
	callq	_get_unaligned_le16
	movl	%r13d, %edi
	movl	%r12d, %esi
	movl	%eax, %edx
	callq	_input_report_abs
	movl	16(%r14), %edi
	movq	_ABS_MT_PRESSURE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_RM_CONTACT_PRESSURE_POS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rbx,%rax,4), %edx
	callq	_input_report_abs
	movq	_RM_CONTACT_WIDTH_X_POS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rbx,%rax,4), %r12d
	movq	_RM_CONTACT_WIDTH_Y_POS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rbx,%rax,4), %ebx
	movl	16(%r14), %r13d
	movq	_ABS_MT_TOUCH_MAJOR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	%r12d, %edi
	movl	%ebx, %esi
	callq	_max
	movl	%r13d, %edi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	%eax, %edx
	callq	_input_report_abs
	movl	16(%r14), %r13d
	movq	_ABS_MT_TOUCH_MINOR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	%r12d, %edi
	movl	%ebx, %esi
	callq	_min
	movl	%r13d, %edi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	%eax, %edx
	callq	_input_report_abs
	jmp	LBB0_4
LBB0_5:
	movl	16(%r14), %edi
	callq	_input_mt_sync_frame
	movl	16(%r14), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_input_sync                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_RM_CONTACT_STATE_POS,8,3       ## @RM_CONTACT_STATE_POS
	.comm	_MT_TOOL_FINGER,4,2             ## @MT_TOOL_FINGER
	.comm	_ABS_MT_POSITION_X,4,2          ## @ABS_MT_POSITION_X
	.comm	_RM_CONTACT_X_POS,8,3           ## @RM_CONTACT_X_POS
	.comm	_ABS_MT_POSITION_Y,4,2          ## @ABS_MT_POSITION_Y
	.comm	_RM_CONTACT_Y_POS,8,3           ## @RM_CONTACT_Y_POS
	.comm	_ABS_MT_PRESSURE,4,2            ## @ABS_MT_PRESSURE
	.comm	_RM_CONTACT_PRESSURE_POS,8,3    ## @RM_CONTACT_PRESSURE_POS
	.comm	_RM_CONTACT_WIDTH_X_POS,8,3     ## @RM_CONTACT_WIDTH_X_POS
	.comm	_RM_CONTACT_WIDTH_Y_POS,8,3     ## @RM_CONTACT_WIDTH_Y_POS
	.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	_raydium_mt_event
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function raydium_mt_event
_raydium_mt_event:                      ; @raydium_mt_event
	.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
	mov	x19, x0
	ldp	w9, w8, [x0]
	sdiv	w9, w9, w8
	cmp	w9, #1
	b.lt	LBB0_5
; %bb.1:
	mov	w20, #0
Lloh0:
	adrp	x25, _RM_CONTACT_STATE_POS@GOTPAGE
Lloh1:
	ldr	x25, [x25, _RM_CONTACT_STATE_POS@GOTPAGEOFF]
Lloh2:
	adrp	x26, _MT_TOOL_FINGER@GOTPAGE
Lloh3:
	ldr	x26, [x26, _MT_TOOL_FINGER@GOTPAGEOFF]
Lloh4:
	adrp	x27, _ABS_MT_TOUCH_MAJOR@GOTPAGE
Lloh5:
	ldr	x27, [x27, _ABS_MT_TOUCH_MAJOR@GOTPAGEOFF]
Lloh6:
	adrp	x28, _ABS_MT_TOUCH_MINOR@GOTPAGE
Lloh7:
	ldr	x28, [x28, _ABS_MT_TOUCH_MINOR@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	w20, w20, #1
	ldp	w9, w8, [x19]
	sdiv	w9, w9, w8
	cmp	w20, w9
	b.ge	LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x19, #8]
	mul	w8, w8, w20
	add	x23, x9, w8, sxtw #2
	ldr	x8, [x25]
	ldr	w21, [x23, x8, lsl #2]
	ldr	w0, [x19, #16]
	mov	x1, x20
	bl	_input_mt_slot
	ldr	w0, [x19, #16]
	ldr	w1, [x26]
	mov	x2, x21
	bl	_input_mt_report_slot_state
	cbz	w21, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w21, [x19, #16]
Lloh8:
	adrp	x8, _ABS_MT_POSITION_X@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ABS_MT_POSITION_X@GOTPAGEOFF]
Lloh10:
	ldr	w22, [x8]
Lloh11:
	adrp	x8, _RM_CONTACT_X_POS@GOTPAGE
Lloh12:
	ldr	x8, [x8, _RM_CONTACT_X_POS@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	add	x0, x23, x8, lsl #2
	bl	_get_unaligned_le16
	mov	x2, x0
	mov	x0, x21
	mov	x1, x22
	bl	_input_report_abs
	ldr	w21, [x19, #16]
Lloh14:
	adrp	x8, _ABS_MT_POSITION_Y@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ABS_MT_POSITION_Y@GOTPAGEOFF]
Lloh16:
	ldr	w22, [x8]
Lloh17:
	adrp	x8, _RM_CONTACT_Y_POS@GOTPAGE
Lloh18:
	ldr	x8, [x8, _RM_CONTACT_Y_POS@GOTPAGEOFF]
Lloh19:
	ldr	x8, [x8]
	add	x0, x23, x8, lsl #2
	bl	_get_unaligned_le16
	mov	x2, x0
	mov	x0, x21
	mov	x1, x22
	bl	_input_report_abs
	ldr	w0, [x19, #16]
Lloh20:
	adrp	x8, _ABS_MT_PRESSURE@GOTPAGE
Lloh21:
	ldr	x8, [x8, _ABS_MT_PRESSURE@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
Lloh23:
	adrp	x8, _RM_CONTACT_PRESSURE_POS@GOTPAGE
Lloh24:
	ldr	x8, [x8, _RM_CONTACT_PRESSURE_POS@GOTPAGEOFF]
Lloh25:
	ldr	x8, [x8]
	ldr	w2, [x23, x8, lsl #2]
	bl	_input_report_abs
Lloh26:
	adrp	x8, _RM_CONTACT_WIDTH_X_POS@GOTPAGE
Lloh27:
	ldr	x8, [x8, _RM_CONTACT_WIDTH_X_POS@GOTPAGEOFF]
Lloh28:
	ldr	x8, [x8]
	ldr	w21, [x23, x8, lsl #2]
Lloh29:
	adrp	x8, _RM_CONTACT_WIDTH_Y_POS@GOTPAGE
Lloh30:
	ldr	x8, [x8, _RM_CONTACT_WIDTH_Y_POS@GOTPAGEOFF]
Lloh31:
	ldr	x8, [x8]
	ldr	w22, [x23, x8, lsl #2]
	ldr	w23, [x19, #16]
	ldr	w24, [x27]
	mov	x0, x21
	mov	x1, x22
	bl	_max
	mov	x2, x0
	mov	x0, x23
	mov	x1, x24
	bl	_input_report_abs
	ldr	w23, [x19, #16]
	ldr	w24, [x28]
	mov	x0, x21
	mov	x1, x22
	bl	_min
	mov	x2, x0
	mov	x0, x23
	mov	x1, x24
	bl	_input_report_abs
	b	LBB0_2
LBB0_5:
	ldr	w0, [x19, #16]
	bl	_input_mt_sync_frame
	ldr	w0, [x19, #16]
	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_sync
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_RM_CONTACT_STATE_POS,8,3       ; @RM_CONTACT_STATE_POS
	.comm	_MT_TOOL_FINGER,4,2             ; @MT_TOOL_FINGER
	.comm	_ABS_MT_POSITION_X,4,2          ; @ABS_MT_POSITION_X
	.comm	_RM_CONTACT_X_POS,8,3           ; @RM_CONTACT_X_POS
	.comm	_ABS_MT_POSITION_Y,4,2          ; @ABS_MT_POSITION_Y
	.comm	_RM_CONTACT_Y_POS,8,3           ; @RM_CONTACT_Y_POS
	.comm	_ABS_MT_PRESSURE,4,2            ; @ABS_MT_PRESSURE
	.comm	_RM_CONTACT_PRESSURE_POS,8,3    ; @RM_CONTACT_PRESSURE_POS
	.comm	_RM_CONTACT_WIDTH_X_POS,8,3     ; @RM_CONTACT_WIDTH_X_POS
	.comm	_RM_CONTACT_WIDTH_Y_POS,8,3     ; @RM_CONTACT_WIDTH_Y_POS
	.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	_raydium_mt_event
.subsections_via_symbols
