	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function input_handle_event
_input_handle_event:                    ## @input_handle_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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movl	%esi, %r15d
	movq	%rdi, %rbx
	movl	%ecx, -36(%rbp)
	leaq	-36(%rbp), %rcx
	callq	_input_get_disposition
	movl	%eax, %r12d
	movq	_INPUT_IGNORE_EVENT@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r12d
	je	LBB0_3
## %bb.1:
	movq	_EV_SYN@GOTPCREL(%rip), %rax
	cmpl	%r15d, (%rax)
	je	LBB0_3
## %bb.2:
	movl	-36(%rbp), %edx
	movl	%r15d, %edi
	movl	%r14d, %esi
	callq	_add_input_randomness
LBB0_3:
	movq	_INPUT_PASS_TO_DEVICE@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	je	LBB0_6
## %bb.4:
	movq	32(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movl	-36(%rbp), %ecx
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movl	%r14d, %edx
	callq	*%rax
LBB0_6:
	movq	8(%rbx), %rsi
	testq	%rsi, %rsi
	je	LBB0_17
## %bb.7:
	movq	_INPUT_PASS_TO_HANDLERS@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	je	LBB0_11
## %bb.8:
	movq	_INPUT_SLOT@GOTPCREL(%rip), %rcx
	movl	(%rbx), %eax
	testl	%r12d, (%rcx)
	je	LBB0_10
## %bb.9:
	movslq	%eax, %rcx
	leal	1(%rcx), %eax
	movl	%eax, (%rbx)
	movq	_EV_ABS@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	leaq	(%rcx,%rcx,2), %rcx
	movl	%edx, (%rsi,%rcx,4)
	movq	_ABS_MT_SLOT@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movl	%edx, 4(%rsi,%rcx,4)
	movq	24(%rbx), %rdx
	movl	(%rdx), %edx
	movl	%edx, 8(%rsi,%rcx,4)
LBB0_10:
	leal	1(%rax), %ecx
	movl	%ecx, (%rbx)
	cltq
	leaq	(%rax,%rax,2), %rax
	movl	%r15d, (%rsi,%rax,4)
	movl	%r14d, 4(%rsi,%rax,4)
	movl	-36(%rbp), %ecx
	movl	%ecx, 8(%rsi,%rax,4)
LBB0_11:
	movq	_INPUT_FLUSH@GOTPCREL(%rip), %rax
	movslq	(%rbx), %rdx
	testl	%r12d, (%rax)
	je	LBB0_15
## %bb.12:
	cmpl	$2, %edx
	jl	LBB0_14
## %bb.13:
	movq	%rbx, %rdi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_input_pass_values
LBB0_14:
	movl	$0, (%rbx)
	xorl	%edi, %edi
	xorl	%esi, %esi
	callq	_ktime_set
	movq	16(%rbx), %rcx
	movq	_INPUT_CLK_MONO@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	%eax, (%rcx,%rdx,4)
	jmp	LBB0_17
LBB0_15:
	movl	4(%rbx), %eax
	addl	$-2, %eax
	cmpl	%eax, %edx
	jl	LBB0_17
## %bb.16:
	leal	1(%rdx), %eax
	movl	%eax, (%rbx)
	leaq	(%rdx,%rdx,2), %rax
	movq	_input_value_sync@GOTPCREL(%rip), %rcx
	movl	8(%rcx), %edx
	movl	%edx, 8(%rsi,%rax,4)
	movq	(%rcx), %rcx
	movq	%rcx, (%rsi,%rax,4)
	movq	8(%rbx), %rsi
	movl	(%rbx), %edx
	movq	%rbx, %rdi
	callq	_input_pass_values
	movl	$0, (%rbx)
LBB0_17:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_INPUT_IGNORE_EVENT,4,2         ## @INPUT_IGNORE_EVENT
	.comm	_EV_SYN,4,2                     ## @EV_SYN
	.comm	_INPUT_PASS_TO_DEVICE,4,2       ## @INPUT_PASS_TO_DEVICE
	.comm	_INPUT_PASS_TO_HANDLERS,4,2     ## @INPUT_PASS_TO_HANDLERS
	.comm	_INPUT_SLOT,4,2                 ## @INPUT_SLOT
	.comm	_EV_ABS,4,2                     ## @EV_ABS
	.comm	_ABS_MT_SLOT,4,2                ## @ABS_MT_SLOT
	.comm	_INPUT_FLUSH,4,2                ## @INPUT_FLUSH
	.comm	_INPUT_CLK_MONO,8,3             ## @INPUT_CLK_MONO
	.comm	_input_value_sync,12,2          ## @input_value_sync
	.no_dead_strip	_input_handle_event
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function input_handle_event
_input_handle_event:                    ; @input_handle_event
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x20, x2
	mov	x21, x1
	mov	x19, x0
	str	w3, [sp, #12]
	add	x3, sp, #12
	bl	_input_get_disposition
	mov	x22, x0
Lloh0:
	adrp	x8, _INPUT_IGNORE_EVENT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _INPUT_IGNORE_EVENT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _EV_SYN@GOTPAGE
Lloh4:
	ldr	x9, [x9, _EV_SYN@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w0, w8
	ccmp	w9, w21, #4, ne
	b.eq	LBB0_2
; %bb.1:
	ldr	w2, [sp, #12]
	mov	x0, x21
	mov	x1, x20
	bl	_add_input_randomness
LBB0_2:
Lloh6:
	adrp	x8, _INPUT_PASS_TO_DEVICE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _INPUT_PASS_TO_DEVICE@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_5
; %bb.3:
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_5
; %bb.4:
	ldr	w3, [sp, #12]
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	blr	x8
LBB0_5:
	ldr	x1, [x19, #8]
	cbz	x1, LBB0_16
; %bb.6:
Lloh9:
	adrp	x8, _INPUT_PASS_TO_HANDLERS@GOTPAGE
Lloh10:
	ldr	x8, [x8, _INPUT_PASS_TO_HANDLERS@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_10
; %bb.7:
Lloh12:
	adrp	x8, _INPUT_SLOT@GOTPAGE
Lloh13:
	ldr	x8, [x8, _INPUT_SLOT@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x8]
	ldr	w8, [x19]
	tst	w9, w22
	b.eq	LBB0_9
; %bb.8:
	sxtw	x9, w8
	add	w8, w8, #1
Lloh15:
	adrp	x10, _EV_ABS@GOTPAGE
Lloh16:
	ldr	x10, [x10, _EV_ABS@GOTPAGEOFF]
	str	w8, [x19]
Lloh17:
	ldr	w10, [x10]
	mov	w11, #12
	madd	x9, x9, x11, x1
Lloh18:
	adrp	x11, _ABS_MT_SLOT@GOTPAGE
Lloh19:
	ldr	x11, [x11, _ABS_MT_SLOT@GOTPAGEOFF]
	str	w10, [x9]
Lloh20:
	ldr	w10, [x11]
	ldr	x11, [x19, #24]
	ldr	w11, [x11]
	stp	w10, w11, [x9, #4]
LBB0_9:
	add	w9, w8, #1
	str	w9, [x19]
	mov	w9, #12
	smaddl	x8, w8, w9, x1
	stp	w21, w20, [x8]
	ldr	w9, [sp, #12]
	str	w9, [x8, #8]
LBB0_10:
Lloh21:
	adrp	x8, _INPUT_FLUSH@GOTPAGE
Lloh22:
	ldr	x8, [x8, _INPUT_FLUSH@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	ldrsw	x2, [x19]
	tst	w8, w22
	b.eq	LBB0_14
; %bb.11:
	cmp	w2, #2
	b.lt	LBB0_13
; %bb.12:
	mov	x0, x19
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_input_pass_values
LBB0_13:
	str	wzr, [x19]
	mov	w0, #0
	mov	w1, #0
	bl	_ktime_set
	ldr	x8, [x19, #16]
Lloh24:
	adrp	x9, _INPUT_CLK_MONO@GOTPAGE
Lloh25:
	ldr	x9, [x9, _INPUT_CLK_MONO@GOTPAGEOFF]
Lloh26:
	ldr	x9, [x9]
	str	w0, [x8, x9, lsl #2]
	b	LBB0_16
LBB0_14:
	ldr	w8, [x19, #4]
	sub	w8, w8, #2
	cmp	w2, w8
	b.lt	LBB0_16
; %bb.15:
	add	w8, w2, #1
	str	w8, [x19]
	mov	w8, #12
	madd	x8, x2, x8, x1
Lloh27:
	adrp	x9, _input_value_sync@GOTPAGE
Lloh28:
	ldr	x9, [x9, _input_value_sync@GOTPAGEOFF]
	ldr	x10, [x9]
	ldr	w9, [x9, #8]
	str	w9, [x8, #8]
	str	x10, [x8]
	ldr	x1, [x19, #8]
	ldr	w2, [x19]
	mov	x0, x19
	bl	_input_pass_values
	str	wzr, [x19]
LBB0_16:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_INPUT_IGNORE_EVENT,4,2         ; @INPUT_IGNORE_EVENT
	.comm	_EV_SYN,4,2                     ; @EV_SYN
	.comm	_INPUT_PASS_TO_DEVICE,4,2       ; @INPUT_PASS_TO_DEVICE
	.comm	_INPUT_PASS_TO_HANDLERS,4,2     ; @INPUT_PASS_TO_HANDLERS
	.comm	_INPUT_SLOT,4,2                 ; @INPUT_SLOT
	.comm	_EV_ABS,4,2                     ; @EV_ABS
	.comm	_ABS_MT_SLOT,4,2                ; @ABS_MT_SLOT
	.comm	_INPUT_FLUSH,4,2                ; @INPUT_FLUSH
	.comm	_INPUT_CLK_MONO,8,3             ; @INPUT_CLK_MONO
	.comm	_input_value_sync,12,2          ; @input_value_sync
	.no_dead_strip	_input_handle_event
.subsections_via_symbols
