	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function asus_nb_wmi_quirks
_asus_nb_wmi_quirks:                    ## @asus_nb_wmi_quirks
	.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	%rdi, %rbx
	movq	_quirk_asus_unknown@GOTPCREL(%rip), %rax
	movq	_quirks@GOTPCREL(%rip), %r14
	movq	%rax, (%r14)
	movq	_asus_quirks@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_dmi_check_system
	movq	(%r14), %rax
	movq	%rax, 8(%rbx)
	movq	_FB_BLANK_UNBLANK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, (%rbx)
	movq	_wapf@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	cmpl	$-1, %edx
	je	LBB0_2
## %bb.1:
	movl	%edx, (%rax)
	jmp	LBB0_3
LBB0_2:
	movl	(%rax), %edx
	movl	%edx, (%rcx)
LBB0_3:
	movq	8(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.4:
	callq	_i8042_install_filter
	testl	%eax, %eax
	je	LBB0_5
## %bb.7:
	leaq	L_.str(%rip), %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_pr_warn                        ## TAILCALL
LBB0_6:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_5:
	leaq	L_.str.1(%rip), %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_pr_info                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_quirk_asus_unknown,16,3        ## @quirk_asus_unknown
	.comm	_quirks,8,3                     ## @quirks
	.comm	_asus_quirks,4,2                ## @asus_quirks
	.comm	_FB_BLANK_UNBLANK,4,2           ## @FB_BLANK_UNBLANK
	.comm	_wapf,4,2                       ## @wapf
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unable to install key filter\n"

L_.str.1:                               ## @.str.1
	.asciz	"Using i8042 filter function for receiving events\n"

	.no_dead_strip	_asus_nb_wmi_quirks
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function asus_nb_wmi_quirks
_asus_nb_wmi_quirks:                    ; @asus_nb_wmi_quirks
	.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
	mov	x19, x0
Lloh0:
	adrp	x20, _quirks@GOTPAGE
Lloh1:
	ldr	x20, [x20, _quirks@GOTPAGEOFF]
Lloh2:
	adrp	x8, _quirk_asus_unknown@GOTPAGE
Lloh3:
	ldr	x8, [x8, _quirk_asus_unknown@GOTPAGEOFF]
	str	x8, [x20]
Lloh4:
	adrp	x8, _asus_quirks@GOTPAGE
Lloh5:
	ldr	x8, [x8, _asus_quirks@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	bl	_dmi_check_system
	ldr	x8, [x20]
	str	x8, [x19, #8]
Lloh7:
	adrp	x9, _FB_BLANK_UNBLANK@GOTPAGE
Lloh8:
	ldr	x9, [x9, _FB_BLANK_UNBLANK@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	str	w9, [x19]
Lloh10:
	adrp	x9, _wapf@GOTPAGE
Lloh11:
	ldr	x9, [x9, _wapf@GOTPAGEOFF]
	ldr	w10, [x9]
	cmn	w10, #1
	b.eq	LBB0_4
; %bb.1:
	str	w10, [x8]
	ldr	x0, [x8, #8]
	cbz	x0, LBB0_5
LBB0_2:
	bl	_i8042_install_filter
	cbz	w0, LBB0_6
; %bb.3:
Lloh12:
	adrp	x0, l_.str@PAGE
Lloh13:
	add	x0, x0, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_pr_warn
LBB0_4:
	ldr	w10, [x8]
	str	w10, [x9]
	ldr	x0, [x8, #8]
	cbnz	x0, LBB0_2
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_6:
Lloh14:
	adrp	x0, l_.str.1@PAGE
Lloh15:
	add	x0, x0, l_.str.1@PAGEOFF
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_pr_info
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_quirk_asus_unknown,16,3        ; @quirk_asus_unknown
	.comm	_quirks,8,3                     ; @quirks
	.comm	_asus_quirks,4,2                ; @asus_quirks
	.comm	_FB_BLANK_UNBLANK,4,2           ; @FB_BLANK_UNBLANK
	.comm	_wapf,4,2                       ; @wapf
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unable to install key filter\n"

l_.str.1:                               ; @.str.1
	.asciz	"Using i8042 filter function for receiving events\n"

	.no_dead_strip	_asus_nb_wmi_quirks
.subsections_via_symbols
