	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mousedev_touchpad_touch
_mousedev_touchpad_touch:               ## @mousedev_touchpad_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	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	(%rdi), %rbx
	testl	%esi, %esi
	je	LBB0_1
## %bb.5:
	testq	%rbx, %rbx
	jne	LBB0_7
## %bb.6:
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r15)
	jmp	LBB0_7
LBB0_1:
	testq	%rbx, %rbx
	je	LBB0_4
## %bb.2:
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	movq	_tap_time@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_msecs_to_jiffies
	addq	%rax, %rbx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_time_before
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	leaq	32(%r15), %r14
	xorl	%edi, %edi
	movq	%r14, %rsi
	callq	_set_bit
	movq	_mousedev_mix@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rsi
	addq	$32, %rsi
	xorl	%edi, %edi
	callq	_set_bit
	movq	(%rbx), %rsi
	addq	$32, %rsi
	movq	%r15, %rdi
	callq	_mousedev_notify_readers
	movq	(%rbx), %rdi
	leaq	32(%rdi), %rsi
	callq	_mousedev_notify_readers
	xorl	%edi, %edi
	movq	%r14, %rsi
	callq	_clear_bit
	movq	(%rbx), %rsi
	addq	$32, %rsi
	xorl	%edi, %edi
	callq	_clear_bit
LBB0_4:
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%r15)
	movups	%xmm0, (%r15)
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_tap_time,4,2                   ## @tap_time
	.comm	_mousedev_mix,8,3               ## @mousedev_mix
	.no_dead_strip	_mousedev_touchpad_touch
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mousedev_touchpad_touch
_mousedev_touchpad_touch:               ; @mousedev_touchpad_touch
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
	ldr	x21, [x0]
	cbz	w1, LBB0_3
; %bb.1:
	cbnz	x21, LBB0_7
; %bb.2:
Lloh0:
	adrp	x8, _jiffies@GOTPAGE
Lloh1:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [x19]
	b	LBB0_7
LBB0_3:
	cbz	x21, LBB0_6
; %bb.4:
Lloh3:
	adrp	x8, _jiffies@GOTPAGE
Lloh4:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh5:
	ldr	x20, [x8]
Lloh6:
	adrp	x8, _tap_time@GOTPAGE
Lloh7:
	ldr	x8, [x8, _tap_time@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_msecs_to_jiffies
	add	x1, x0, x21
	mov	x0, x20
	bl	_time_before
	cbz	x0, LBB0_6
; %bb.5:
	add	x20, x19, #32
	mov	w0, #0
	mov	x1, x20
	bl	_set_bit
Lloh9:
	adrp	x21, _mousedev_mix@GOTPAGE
Lloh10:
	ldr	x21, [x21, _mousedev_mix@GOTPAGEOFF]
	ldr	x8, [x21]
	add	x1, x8, #32
	mov	w0, #0
	bl	_set_bit
	ldr	x8, [x21]
	add	x1, x8, #32
	mov	x0, x19
	bl	_mousedev_notify_readers
	ldr	x0, [x21]
	add	x1, x0, #32
	bl	_mousedev_notify_readers
	mov	w0, #0
	mov	x1, x20
	bl	_clear_bit
	ldr	x8, [x21]
	add	x1, x8, #32
	mov	w0, #0
	bl	_clear_bit
LBB0_6:
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [x19]
LBB0_7:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_tap_time,4,2                   ; @tap_time
	.comm	_mousedev_mix,8,3               ; @mousedev_mix
	.no_dead_strip	_mousedev_touchpad_touch
.subsections_via_symbols
