	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function asus_q500a_i8042_filter
_asus_q500a_i8042_filter:               ## @asus_q500a_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_I8042_STR_AUXDATA@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	testb	%sil, (%rax)
	jne	LBB0_4
## %bb.1:
	xorl	%eax, %eax
	cmpb	$-31, %dil
	sete	%al
	movl	%eax, %edi
	callq	_unlikely
	movq	%rax, %r14
	testq	%rax, %rax
	jne	LBB0_3
## %bb.2:
	movzbl	_asus_q500a_i8042_filter.extended(%rip), %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_4
LBB0_3:
	testq	%r14, %r14
	setne	_asus_q500a_i8042_filter.extended(%rip)
	movl	$1, %ebx
LBB0_4:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_asus_q500a_i8042_filter.extended,1,2 ## @asus_q500a_i8042_filter.extended
	.comm	_I8042_STR_AUXDATA,1,0          ## @I8042_STR_AUXDATA
	.no_dead_strip	_asus_q500a_i8042_filter
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function asus_q500a_i8042_filter
_asus_q500a_i8042_filter:               ; @asus_q500a_i8042_filter
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
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
; %bb.1:
	mov	w0, #0
	b	LBB0_5
LBB0_2:
	cmp	w0, #225
	cset	w0, eq
	bl	_unlikely
	mov	x19, x0
	adrp	x20, _asus_q500a_i8042_filter.extended@PAGE
	cbnz	x0, LBB0_4
; %bb.3:
	ldrb	w0, [x20, _asus_q500a_i8042_filter.extended@PAGEOFF]
	bl	_unlikely
	cbz	x0, LBB0_5
LBB0_4:
	cmp	x19, #0
	cset	w8, ne
	strb	w8, [x20, _asus_q500a_i8042_filter.extended@PAGEOFF]
	mov	w0, #1
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_asus_q500a_i8042_filter.extended,1,2 ; @asus_q500a_i8042_filter.extended
	.comm	_I8042_STR_AUXDATA,1,0          ; @I8042_STR_AUXDATA
	.no_dead_strip	_asus_q500a_i8042_filter
.subsections_via_symbols
