	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function slidebar_i8042_filter
_slidebar_i8042_filter:                 ## @slidebar_i8042_filter
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_I8042_STR_AUXDATA@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	testb	%sil, (%rax)
	jne	LBB0_11
## %bb.1:
	movl	%edi, %r15d
	cmpb	$-32, %r15b
	jne	LBB0_3
## %bb.2:
	movb	$1, _slidebar_i8042_filter.extended(%rip)
LBB0_10:
	movl	$1, %ebx
	jmp	LBB0_11
LBB0_3:
	cmpb	$1, _slidebar_i8042_filter.extended(%rip)
	jne	LBB0_11
## %bb.4:
	movq	%rdx, %r14
	movzbl	%r15b, %eax
	movb	$0, _slidebar_i8042_filter.extended(%rip)
	andl	$127, %eax
	xorl	%edi, %edi
	cmpl	$59, %eax
	setne	%dil
	callq	_likely
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	movl	$224, %esi
	xorl	%edx, %edx
	callq	_serio_interrupt
LBB0_11:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	_slidebar_input_dev@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	movq	_BTN_TOUCH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	testb	$-128, %r15b
	jne	LBB0_7
## %bb.8:
	movl	$1, %edx
	callq	_input_report_key
	movl	(%r12), %r14d
	movq	_ABS_X@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	xorl	%eax, %eax
	callq	_slidebar_pos_get
	movl	%r14d, %edi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_input_report_abs
	jmp	LBB0_9
LBB0_7:
	xorl	%edx, %edx
	callq	_input_report_key
LBB0_9:
	movl	(%r12), %edi
	callq	_input_sync
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_slidebar_i8042_filter.extended,1,2 ## @slidebar_i8042_filter.extended
	.comm	_I8042_STR_AUXDATA,1,0          ## @I8042_STR_AUXDATA
	.comm	_slidebar_input_dev,4,2         ## @slidebar_input_dev
	.comm	_BTN_TOUCH,4,2                  ## @BTN_TOUCH
	.comm	_ABS_X,4,2                      ## @ABS_X
	.no_dead_strip	_slidebar_i8042_filter
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function slidebar_i8042_filter
_slidebar_i8042_filter:                 ; @slidebar_i8042_filter
	.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
Lloh0:
	adrp	x8, _I8042_STR_AUXDATA@GOTPAGE
Lloh1:
	ldr	x8, [x8, _I8042_STR_AUXDATA@GOTPAGEOFF]
	ldrb	w8, [x8]
	tst	w8, w1
	b.eq	LBB0_3
LBB0_1:
	mov	w0, #0
LBB0_2:
	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
LBB0_3:
	mov	x19, x0
	cmp	w0, #224
	b.ne	LBB0_5
; %bb.4:
	mov	w0, #1
	adrp	x8, _slidebar_i8042_filter.extended@PAGE
	strb	w0, [x8, _slidebar_i8042_filter.extended@PAGEOFF]
	b	LBB0_2
LBB0_5:
	adrp	x8, _slidebar_i8042_filter.extended@PAGE
	ldrb	w9, [x8, _slidebar_i8042_filter.extended@PAGEOFF]
	cmp	w9, #1
	b.ne	LBB0_1
; %bb.6:
	mov	x20, x2
	strb	wzr, [x8, _slidebar_i8042_filter.extended@PAGEOFF]
	and	w8, w19, #0x7f
	cmp	w8, #59
	cset	w0, ne
	bl	_likely
	cbz	x0, LBB0_8
; %bb.7:
	mov	x0, x20
	mov	w1, #224
	mov	w2, #0
	bl	_serio_interrupt
	b	LBB0_1
LBB0_8:
Lloh2:
	adrp	x21, _slidebar_input_dev@GOTPAGE
Lloh3:
	ldr	x21, [x21, _slidebar_input_dev@GOTPAGEOFF]
	ldr	w0, [x21]
Lloh4:
	adrp	x8, _BTN_TOUCH@GOTPAGE
Lloh5:
	ldr	x8, [x8, _BTN_TOUCH@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
	tbnz	w19, #7, LBB0_10
; %bb.9:
	mov	w2, #1
	bl	_input_report_key
	ldr	w19, [x21]
Lloh7:
	adrp	x8, _ABS_X@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ABS_X@GOTPAGEOFF]
Lloh9:
	ldr	w20, [x8]
	bl	_slidebar_pos_get
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	_input_report_abs
	b	LBB0_11
LBB0_10:
	mov	w2, #0
	bl	_input_report_key
LBB0_11:
	ldr	w0, [x21]
	bl	_input_sync
	mov	w0, #1
	b	LBB0_2
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_slidebar_i8042_filter.extended,1,2 ; @slidebar_i8042_filter.extended
	.comm	_I8042_STR_AUXDATA,1,0          ; @I8042_STR_AUXDATA
	.comm	_slidebar_input_dev,4,2         ; @slidebar_input_dev
	.comm	_BTN_TOUCH,4,2                  ; @BTN_TOUCH
	.comm	_ABS_X,4,2                      ; @ABS_X
	.no_dead_strip	_slidebar_i8042_filter
.subsections_via_symbols
