	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function imon_touch_event
_imon_touch_event:                      ## @imon_touch_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	addq	$12, %rdi
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	_TOUCH_TIMEOUT@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	addq	(%rax), %rsi
	callq	_mod_timer
	movb	(%r14), %al
	movb	1(%r14), %cl
	shrb	$4, %cl
	shlb	$4, %al
	orb	%cl, %al
	movb	%al, (%rbx)
	movzbl	2(%r14), %ecx
	shll	$4, %ecx
	movzbl	1(%r14), %edx
	andl	$15, %edx
	orl	%ecx, %edx
	xorl	$4095, %edx                     ## imm = 0xFFF
	movl	%edx, 4(%rbx)
	movl	8(%rbx), %edi
	movq	_ABS_X@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movzbl	%al, %edx
	callq	_input_report_abs
	movl	8(%rbx), %edi
	movq	_ABS_Y@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movzbl	4(%rbx), %edx
	callq	_input_report_abs
	movl	8(%rbx), %edi
	movq	_BTN_TOUCH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$1, %edx
	callq	_input_report_key
	movl	8(%rbx), %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_input_sync                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_TOUCH_TIMEOUT,8,3              ## @TOUCH_TIMEOUT
	.comm	_ABS_X,4,2                      ## @ABS_X
	.comm	_ABS_Y,4,2                      ## @ABS_Y
	.comm	_BTN_TOUCH,4,2                  ## @BTN_TOUCH
	.no_dead_strip	_imon_touch_event
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function imon_touch_event
_imon_touch_event:                      ; @imon_touch_event
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _jiffies@GOTPAGE
Lloh1:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
	add	x0, x0, #12
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _TOUCH_TIMEOUT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _TOUCH_TIMEOUT@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_mod_timer
	ldrb	w8, [x19]
	ldrb	w9, [x19, #1]
	lsl	w9, w9, #24
	extr	w8, w8, w9, #28
	strb	w8, [x20]
	ldrb	w9, [x19, #2]
	ldrb	w10, [x19, #1]
	and	w10, w10, #0xf
	bfi	w10, w9, #4, #8
	eor	w9, w10, #0xfff
	str	w9, [x20, #4]
	ldr	w0, [x20, #8]
Lloh6:
	adrp	x9, _ABS_X@GOTPAGE
Lloh7:
	ldr	x9, [x9, _ABS_X@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x9]
	and	w2, w8, #0xff
	bl	_input_report_abs
	ldr	w0, [x20, #8]
Lloh9:
	adrp	x8, _ABS_Y@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ABS_Y@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	ldrb	w2, [x20, #4]
	bl	_input_report_abs
	ldr	w0, [x20, #8]
Lloh12:
	adrp	x8, _BTN_TOUCH@GOTPAGE
Lloh13:
	ldr	x8, [x8, _BTN_TOUCH@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	w2, #1
	bl	_input_report_key
	ldr	w0, [x20, #8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_input_sync
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_TOUCH_TIMEOUT,8,3              ; @TOUCH_TIMEOUT
	.comm	_ABS_X,4,2                      ; @ABS_X
	.comm	_ABS_Y,4,2                      ; @ABS_Y
	.comm	_BTN_TOUCH,4,2                  ; @BTN_TOUCH
	.no_dead_strip	_imon_touch_event
.subsections_via_symbols
