	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hp_accel_i8042_filter
_hp_accel_i8042_filter:                 ## @hp_accel_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_I8042_STR_AUXDATA@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	testb	%sil, (%rax)
	jne	LBB0_6
## %bb.1:
	movl	%edi, %r15d
	cmpb	$-32, %r15b
	jne	LBB0_3
## %bb.2:
	movb	$1, _hp_accel_i8042_filter.extended(%rip)
	movl	$1, %ebx
	jmp	LBB0_6
LBB0_3:
	movq	%rdx, %r14
	movzbl	_hp_accel_i8042_filter.extended(%rip), %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	movb	$0, _hp_accel_i8042_filter.extended(%rip)
	movl	$1, %ebx
	cmpb	$-124, %r15b
	jl	LBB0_6
## %bb.5:
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	movl	$224, %esi
	xorl	%edx, %edx
	callq	_serio_interrupt
LBB0_6:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_hp_accel_i8042_filter.extended,1,2 ## @hp_accel_i8042_filter.extended
	.comm	_I8042_STR_AUXDATA,1,0          ## @I8042_STR_AUXDATA
	.no_dead_strip	_hp_accel_i8042_filter
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hp_accel_i8042_filter
_hp_accel_i8042_filter:                 ; @hp_accel_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_2
LBB0_1:
	mov	w0, #0
	b	LBB0_7
LBB0_2:
	mov	x20, x0
	cmp	w0, #224
	b.ne	LBB0_4
; %bb.3:
	mov	w0, #1
	adrp	x8, _hp_accel_i8042_filter.extended@PAGE
	strb	w0, [x8, _hp_accel_i8042_filter.extended@PAGEOFF]
	b	LBB0_7
LBB0_4:
	mov	x19, x2
	adrp	x21, _hp_accel_i8042_filter.extended@PAGE
	ldrb	w0, [x21, _hp_accel_i8042_filter.extended@PAGEOFF]
	bl	_unlikely
	cbz	x0, LBB0_7
; %bb.5:
	strb	wzr, [x21, _hp_accel_i8042_filter.extended@PAGEOFF]
	mov	w8, #-124
	cmp	w8, w20, sxtb
	b.le	LBB0_8
; %bb.6:
	mov	w0, #1
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
LBB0_8:
	mov	x0, x19
	mov	w1, #224
	mov	w2, #0
	bl	_serio_interrupt
	b	LBB0_1
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_hp_accel_i8042_filter.extended,1,2 ; @hp_accel_i8042_filter.extended
	.comm	_I8042_STR_AUXDATA,1,0          ; @I8042_STR_AUXDATA
	.no_dead_strip	_hp_accel_i8042_filter
.subsections_via_symbols
