	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function input_handle_abs_event
_input_handle_abs_event:                ## @input_handle_abs_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	8(%rdi), %r13
	movq	_ABS_MT_SLOT@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	jne	LBB0_6
## %bb.1:
	testq	%r13, %r13
	je	LBB0_5
## %bb.2:
	movl	(%r14), %eax
	testl	%eax, %eax
	js	LBB0_5
## %bb.3:
	cmpl	(%r13), %eax
	jge	LBB0_5
## %bb.4:
	movl	%eax, 4(%r13)
	jmp	LBB0_5
LBB0_6:
	movl	%esi, %ebx
	movq	%rdi, %r12
	movl	%esi, %edi
	callq	_input_is_mt_value
	testl	%eax, %eax
	je	LBB0_7
## %bb.8:
	testq	%r13, %r13
	je	LBB0_17
## %bb.9:
	movq	8(%r13), %rdx
	movq	_ABS_MT_FIRST@GOTPCREL(%rip), %rcx
	movl	%ebx, %r15d
	subl	(%rcx), %r15d
	movslq	4(%r13), %rcx
	shlq	$2, %r15
	addq	(%rdx,%rcx,8), %r15
	testq	%r15, %r15
	jne	LBB0_11
	jmp	LBB0_13
LBB0_7:
	movl	%ebx, %r15d
	shlq	$3, %r15
	addq	(%r12), %r15
	testq	%r15, %r15
	je	LBB0_13
LBB0_11:
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	(%r14), %edi
	movl	(%r15), %esi
	movq	(%r12), %rax
	movl	%ebx, %ecx
	movl	4(%rax,%rcx,8), %edx
	callq	_input_defuzz_abs_event
	movl	%eax, (%r14)
	cmpl	%eax, (%r15)
	jne	LBB0_12
LBB0_5:
	movq	_INPUT_IGNORE_EVENT@GOTPCREL(%rip), %rax
	jmp	LBB0_18
LBB0_12:
	movl	%eax, (%r15)
	movl	-44(%rbp), %eax                 ## 4-byte Reload
LBB0_13:
	testl	%eax, %eax
	movq	_ABS_MT_SLOT@GOTPCREL(%rip), %rbx
	je	LBB0_17
## %bb.14:
	testq	%r13, %r13
	je	LBB0_17
## %bb.15:
	movslq	4(%r13), %r14
	movl	(%rbx), %esi
	movq	%r12, %rdi
	callq	_input_abs_get_val
	cmpq	%r14, %rax
	jne	LBB0_16
LBB0_17:
	movq	_INPUT_PASS_TO_HANDLERS@GOTPCREL(%rip), %rax
LBB0_18:
	movl	(%rax), %eax
LBB0_19:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	movl	(%rbx), %esi
	movslq	4(%r13), %rdx
	movq	%r12, %rdi
	callq	_input_abs_set_val
	movq	_INPUT_PASS_TO_HANDLERS@GOTPCREL(%rip), %rcx
	movq	_INPUT_SLOT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	(%rcx), %eax
	jmp	LBB0_19
	.cfi_endproc
                                        ## -- End function
	.comm	_ABS_MT_SLOT,4,2                ## @ABS_MT_SLOT
	.comm	_INPUT_IGNORE_EVENT,4,2         ## @INPUT_IGNORE_EVENT
	.comm	_ABS_MT_FIRST,4,2               ## @ABS_MT_FIRST
	.comm	_INPUT_PASS_TO_HANDLERS,4,2     ## @INPUT_PASS_TO_HANDLERS
	.comm	_INPUT_SLOT,4,2                 ## @INPUT_SLOT
	.no_dead_strip	_input_handle_abs_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_abs_event
_input_handle_abs_event:                ; @input_handle_abs_event
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x20, x2
	ldr	x23, [x0, #8]
Lloh0:
	adrp	x24, _ABS_MT_SLOT@GOTPAGE
Lloh1:
	ldr	x24, [x24, _ABS_MT_SLOT@GOTPAGEOFF]
	ldr	w8, [x24]
	cmp	w8, w1
	b.ne	LBB0_5
; %bb.1:
	cbz	x23, LBB0_10
; %bb.2:
	ldr	w8, [x20]
	tbnz	w8, #31, LBB0_10
; %bb.3:
	ldr	w9, [x23]
	cmp	w8, w9
	b.ge	LBB0_10
; %bb.4:
	str	w8, [x23, #4]
	b	LBB0_10
LBB0_5:
	mov	x22, x1
	mov	x19, x0
	mov	x0, x1
	bl	_input_is_mt_value
	mov	x21, x0
	cbz	w0, LBB0_8
; %bb.6:
	cbz	x23, LBB0_15
; %bb.7:
	ldr	x8, [x23, #8]
	ldrsw	x9, [x23, #4]
	ldr	x8, [x8, x9, lsl #3]
Lloh2:
	adrp	x9, _ABS_MT_FIRST@GOTPAGE
Lloh3:
	ldr	x9, [x9, _ABS_MT_FIRST@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	sub	w9, w22, w9
	add	x25, x8, w9, uxtw #2
	cbnz	x25, LBB0_9
	b	LBB0_12
LBB0_8:
	ldr	x8, [x19]
	add	x25, x8, w22, uxtw #3
	cbz	x25, LBB0_12
LBB0_9:
	ldr	w0, [x20]
	ldr	w1, [x25]
	ldr	x8, [x19]
	add	x8, x8, w22, uxtw #3
	ldr	w2, [x8, #4]
	bl	_input_defuzz_abs_event
	str	w0, [x20]
	ldr	w8, [x25]
	cmp	w8, w0
	b.ne	LBB0_11
LBB0_10:
Lloh5:
	adrp	x8, _INPUT_IGNORE_EVENT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _INPUT_IGNORE_EVENT@GOTPAGEOFF]
	b	LBB0_16
LBB0_11:
	str	w0, [x25]
LBB0_12:
	cbz	w21, LBB0_15
; %bb.13:
	cbz	x23, LBB0_15
; %bb.14:
	ldrsw	x20, [x23, #4]
	ldr	w1, [x24]
	mov	x0, x19
	bl	_input_abs_get_val
	cmp	x0, x20
	b.ne	LBB0_18
LBB0_15:
Lloh7:
	adrp	x8, _INPUT_PASS_TO_HANDLERS@GOTPAGE
Lloh8:
	ldr	x8, [x8, _INPUT_PASS_TO_HANDLERS@GOTPAGEOFF]
LBB0_16:
	ldr	w0, [x8]
LBB0_17:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_18:
	ldr	w1, [x24]
	ldrsw	x2, [x23, #4]
	mov	x0, x19
	bl	_input_abs_set_val
Lloh9:
	adrp	x8, _INPUT_PASS_TO_HANDLERS@GOTPAGE
Lloh10:
	ldr	x8, [x8, _INPUT_PASS_TO_HANDLERS@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
Lloh12:
	adrp	x9, _INPUT_SLOT@GOTPAGE
Lloh13:
	ldr	x9, [x9, _INPUT_SLOT@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	orr	w0, w9, w8
	b	LBB0_17
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_ABS_MT_SLOT,4,2                ; @ABS_MT_SLOT
	.comm	_INPUT_IGNORE_EVENT,4,2         ; @INPUT_IGNORE_EVENT
	.comm	_ABS_MT_FIRST,4,2               ; @ABS_MT_FIRST
	.comm	_INPUT_PASS_TO_HANDLERS,4,2     ; @INPUT_PASS_TO_HANDLERS
	.comm	_INPUT_SLOT,4,2                 ; @INPUT_SLOT
	.no_dead_strip	_input_handle_abs_event
.subsections_via_symbols
