	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function u1_raw_event
_u1_raw_event:                          ## @u1_raw_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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%eax, %eax
	testq	%rsi, %rsi
	je	LBB0_12
## %bb.1:
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movl	(%rsi), %ecx
	cmpl	$128, %ecx
	je	LBB0_10
## %bb.2:
	cmpl	$131, %ecx
	jne	LBB0_12
## %bb.3:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	cmpl	$0, (%r15)
	jle	LBB0_9
## %bb.4:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	leaq	20(%rax), %rbx
	xorl	%r12d, %r12d
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	movl	8(%r15), %edi
	movq	_MT_TOOL_FINGER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_input_mt_report_slot_state
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=1
	incq	%r12
	movslq	(%r15), %rax
	addq	$20, %rbx
	cmpq	%rax, %r12
	jge	LBB0_9
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	leaq	-8(%rbx), %rdi
	callq	_get_unaligned_le16
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_get_unaligned_le16
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	8(%rbx), %r13d
	movl	8(%r15), %edi
	movl	%r12d, %esi
	callq	_input_mt_slot
	andl	$127, %r13d
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	8(%r15), %edi
	movq	_MT_TOOL_FINGER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$1, %edx
	callq	_input_mt_report_slot_state
	movl	8(%r15), %edi
	movq	_ABS_MT_POSITION_X@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %edx
	callq	_input_report_abs
	movl	8(%r15), %edi
	movq	_ABS_MT_POSITION_Y@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_input_report_abs
	movl	8(%r15), %edi
	movq	_ABS_MT_PRESSURE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r13d, %edx
	callq	_input_report_abs
	jmp	LBB0_8
LBB0_10:
	leaq	8(%rbx), %rdi
	callq	_get_unaligned_le16
	movq	%rax, %r14
	leaq	16(%rbx), %rdi
	callq	_get_unaligned_le16
	leal	7(%r14), %ecx
	testw	%r14w, %r14w
	cmovnsl	%r14d, %ecx
	movswl	%cx, %edx
	sarl	$3, %edx
	leal	7(%rax), %ecx
	testw	%ax, %ax
	cmovnsl	%eax, %ecx
	movswl	%cx, %r12d
	sarl	$3, %r12d
	leaq	4(%r15), %r14
	movl	4(%r15), %edi
	movq	_REL_X@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_input_report_rel
	movl	4(%r15), %edi
	movq	_REL_Y@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r12d, %edx
	callq	_input_report_rel
	movl	4(%r15), %edi
	movq	_BTN_LEFT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	jmp	LBB0_11
LBB0_9:
	leaq	8(%r15), %r14
	movl	8(%r15), %edi
	callq	_input_mt_sync_frame
	movl	8(%r15), %edi
	movq	_BTN_LEFT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
LBB0_11:
	movl	4(%rbx), %edx
	addq	$4, %rbx
	andl	$1, %edx
	callq	_input_report_key
	movl	(%r14), %edi
	movq	_BTN_RIGHT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%rbx), %edx
	andl	$2, %edx
	callq	_input_report_key
	movl	(%r14), %edi
	movq	_BTN_MIDDLE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%rbx), %edx
	andl	$4, %edx
	callq	_input_report_key
	movl	(%r14), %edi
	callq	_input_sync
	movl	$1, %eax
LBB0_12:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.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_PRESSURE,4,2            ## @ABS_MT_PRESSURE
	.comm	_BTN_LEFT,4,2                   ## @BTN_LEFT
	.comm	_BTN_RIGHT,4,2                  ## @BTN_RIGHT
	.comm	_BTN_MIDDLE,4,2                 ## @BTN_MIDDLE
	.comm	_REL_X,4,2                      ## @REL_X
	.comm	_REL_Y,4,2                      ## @REL_Y
	.no_dead_strip	_u1_raw_event
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function u1_raw_event
_u1_raw_event:                          ; @u1_raw_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
	cbz	x1, LBB0_9
; %bb.1:
	mov	x20, x1
	mov	x19, x0
	ldr	w8, [x1]
	cmp	w8, #128
	b.eq	LBB0_10
; %bb.2:
	cmp	w8, #131
	b.ne	LBB0_9
; %bb.3:
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_11
; %bb.4:
	mov	x21, #0
	add	x22, x20, #20
Lloh0:
	adrp	x26, _MT_TOOL_FINGER@GOTPAGE
Lloh1:
	ldr	x26, [x26, _MT_TOOL_FINGER@GOTPAGEOFF]
Lloh2:
	adrp	x28, _ABS_MT_POSITION_Y@GOTPAGE
Lloh3:
	ldr	x28, [x28, _ABS_MT_POSITION_Y@GOTPAGEOFF]
Lloh4:
	adrp	x27, _ABS_MT_PRESSURE@GOTPAGE
Lloh5:
	ldr	x27, [x27, _ABS_MT_PRESSURE@GOTPAGEOFF]
	b	LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldr	w0, [x19, #8]
	ldr	w1, [x26]
	mov	w2, #0
	bl	_input_mt_report_slot_state
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	x21, x21, #1
	ldrsw	x8, [x19]
	add	x22, x22, #20
	cmp	x21, x8
	b.ge	LBB0_11
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	sub	x0, x22, #8
	bl	_get_unaligned_le16
	mov	x25, x0
	mov	x0, x22
	bl	_get_unaligned_le16
	mov	x24, x0
	ldr	w8, [x22, #8]
	and	w23, w8, #0x7f
	ldr	w0, [x19, #8]
	mov	x1, x21
	bl	_input_mt_slot
	cbz	w23, LBB0_5
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w0, [x19, #8]
	ldr	w1, [x26]
	mov	w2, #1
	bl	_input_mt_report_slot_state
	ldr	w0, [x19, #8]
Lloh6:
	adrp	x8, _ABS_MT_POSITION_X@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ABS_MT_POSITION_X@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x2, x25
	bl	_input_report_abs
	ldr	w0, [x19, #8]
	ldr	w1, [x28]
	mov	x2, x24
	bl	_input_report_abs
	ldr	w0, [x19, #8]
	ldr	w1, [x27]
	mov	x2, x23
	bl	_input_report_abs
	b	LBB0_6
LBB0_9:
	mov	w0, #0
	b	LBB0_13
LBB0_10:
	add	x0, x20, #8
	bl	_get_unaligned_le16
	mov	x21, x0
	sxth	w22, w21
	add	x0, x20, #16
	bl	_get_unaligned_le16
	sxth	w8, w0
	ubfx	w9, w22, #28, #3
	add	w9, w21, w9
	sbfx	w2, w9, #3, #13
	ubfx	w8, w8, #28, #3
	add	w8, w0, w8
	sbfx	w21, w8, #3, #13
	ldr	w0, [x19, #4]!
Lloh9:
	adrp	x8, _REL_X@GOTPAGE
Lloh10:
	ldr	x8, [x8, _REL_X@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	bl	_input_report_rel
	ldr	w0, [x19]
Lloh12:
	adrp	x8, _REL_Y@GOTPAGE
Lloh13:
	ldr	x8, [x8, _REL_Y@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x2, x21
	bl	_input_report_rel
	b	LBB0_12
LBB0_11:
	ldr	w0, [x19, #8]!
	bl	_input_mt_sync_frame
LBB0_12:
	ldr	w0, [x19]
Lloh15:
	adrp	x8, _BTN_LEFT@GOTPAGE
Lloh16:
	ldr	x8, [x8, _BTN_LEFT@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	ldr	w8, [x20, #4]!
	and	w2, w8, #0x1
	bl	_input_report_key
	ldr	w0, [x19]
Lloh18:
	adrp	x8, _BTN_RIGHT@GOTPAGE
Lloh19:
	ldr	x8, [x8, _BTN_RIGHT@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	ldr	w8, [x20]
	and	w2, w8, #0x2
	bl	_input_report_key
	ldr	w0, [x19]
Lloh21:
	adrp	x8, _BTN_MIDDLE@GOTPAGE
Lloh22:
	ldr	x8, [x8, _BTN_MIDDLE@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	ldr	w8, [x20]
	and	w2, w8, #0x4
	bl	_input_report_key
	ldr	w0, [x19]
	bl	_input_sync
	mov	w0, #1
LBB0_13:
	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 AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.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_PRESSURE,4,2            ; @ABS_MT_PRESSURE
	.comm	_BTN_LEFT,4,2                   ; @BTN_LEFT
	.comm	_BTN_RIGHT,4,2                  ; @BTN_RIGHT
	.comm	_BTN_MIDDLE,4,2                 ; @BTN_MIDDLE
	.comm	_REL_X,4,2                      ; @REL_X
	.comm	_REL_Y,4,2                      ; @REL_Y
	.no_dead_strip	_u1_raw_event
.subsections_via_symbols
