	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function byd_clear_touch
_byd_clear_touch:                       ## @byd_clear_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_timer@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rdi, %rsi
	callq	_from_timer
	movq	%rax, %r14
	movq	16(%rax), %rbx
	movl	(%rbx), %edi
	callq	_serio_pause_rx
	movl	$0, (%r14)
	movq	%rbx, %rdi
	callq	_byd_report_input
	movl	(%rbx), %edi
	callq	_serio_continue_rx
	movq	_BYD_PAD_WIDTH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, %ecx
	shrl	$31, %ecx
	addl	%eax, %ecx
	sarl	%ecx
	movl	%ecx, 4(%r14)
	movq	_BYD_PAD_HEIGHT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, %ecx
	shrl	$31, %ecx
	addl	%eax, %ecx
	sarl	%ecx
	movl	%ecx, 8(%r14)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_timer,4,2                      ## @timer
	.comm	_BYD_PAD_WIDTH,4,2              ## @BYD_PAD_WIDTH
	.comm	_BYD_PAD_HEIGHT,4,2             ## @BYD_PAD_HEIGHT
	.comm	_priv,8,3                       ## @priv
	.no_dead_strip	_byd_clear_touch
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function byd_clear_touch
_byd_clear_touch:                       ; @byd_clear_touch
	.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
Lloh0:
	adrp	x8, _timer@GOTPAGE
Lloh1:
	ldr	x8, [x8, _timer@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x1, x0
	bl	_from_timer
	mov	x19, x0
	ldr	x20, [x0, #16]
	ldr	w0, [x20]
	bl	_serio_pause_rx
	str	wzr, [x19]
	mov	x0, x20
	bl	_byd_report_input
	ldr	w0, [x20]
	bl	_serio_continue_rx
Lloh3:
	adrp	x8, _BYD_PAD_WIDTH@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BYD_PAD_WIDTH@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w8, #0
	cinc	w8, w8, lt
	asr	w8, w8, #1
Lloh6:
	adrp	x9, _BYD_PAD_HEIGHT@GOTPAGE
Lloh7:
	ldr	x9, [x9, _BYD_PAD_HEIGHT@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	cmp	w9, #0
	cinc	w9, w9, lt
	asr	w9, w9, #1
	stp	w8, w9, [x19, #4]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_timer,4,2                      ; @timer
	.comm	_BYD_PAD_WIDTH,4,2              ; @BYD_PAD_WIDTH
	.comm	_BYD_PAD_HEIGHT,4,2             ; @BYD_PAD_HEIGHT
	.comm	_priv,8,3                       ; @priv
	.no_dead_strip	_byd_clear_touch
.subsections_via_symbols
