	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function msi_laptop_i8042_filter
LCPI0_0:
	.quad	0x3fe0000000000000              ## double 0.5
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_msi_laptop_i8042_filter:               ## @msi_laptop_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_I8042_STR_AUXDATA@GOTPCREL(%rip), %rax
	testb	%sil, (%rax)
	jne	LBB0_15
## %bb.1:
	movl	%edi, %ebx
	xorl	%edi, %edi
	cmpb	$-32, %bl
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movb	$1, _msi_laptop_i8042_filter.extended(%rip)
LBB0_15:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_3:
	movzbl	_msi_laptop_i8042_filter.extended(%rip), %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_15
## %bb.4:
	movb	$0, _msi_laptop_i8042_filter.extended(%rip)
	leal	-84(%rbx), %eax
	cmpb	$34, %al
	ja	LBB0_5
## %bb.10:
	movzbl	%al, %eax
	movabsq	$17179885569, %rcx              ## imm = 0x400004001
	btq	%rax, %rcx
	jae	LBB0_5
## %bb.11:
	movq	_quirks@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpl	$0, (%rax)
	je	LBB0_13
## %bb.12:
	movq	_HZ@GOTPCREL(%rip), %rax
	movsd	(%rax), %xmm0                   ## xmm0 = mem[0],zero
	mulsd	LCPI0_0(%rip), %xmm0
	callq	_round_jiffies_relative
	movq	_msi_rfkill_dwork@GOTPCREL(%rip), %rdi
	jmp	LBB0_8
LBB0_5:
	cmpb	$-28, %bl
	jne	LBB0_15
## %bb.6:
	movq	_quirks@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpl	$0, (%rax)
	je	LBB0_9
## %bb.7:
	movq	_HZ@GOTPCREL(%rip), %rax
	movsd	(%rax), %xmm0                   ## xmm0 = mem[0],zero
	mulsd	LCPI0_0(%rip), %xmm0
	callq	_round_jiffies_relative
	movq	_msi_touchpad_dwork@GOTPCREL(%rip), %rdi
LBB0_8:
	movl	%eax, %esi
	callq	_schedule_delayed_work
	jmp	LBB0_15
LBB0_13:
	movq	_msi_rfkill_work@GOTPCREL(%rip), %rdi
	jmp	LBB0_14
LBB0_9:
	movq	_msi_touchpad_work@GOTPCREL(%rip), %rdi
LBB0_14:
	callq	_schedule_work
	jmp	LBB0_15
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_msi_laptop_i8042_filter.extended,1,2 ## @msi_laptop_i8042_filter.extended
	.comm	_I8042_STR_AUXDATA,1,0          ## @I8042_STR_AUXDATA
	.comm	_quirks,8,3                     ## @quirks
	.comm	_msi_touchpad_dwork,4,2         ## @msi_touchpad_dwork
	.comm	_HZ,8,3                         ## @HZ
	.comm	_msi_touchpad_work,4,2          ## @msi_touchpad_work
	.comm	_msi_rfkill_dwork,4,2           ## @msi_rfkill_dwork
	.comm	_msi_rfkill_work,4,2            ## @msi_rfkill_work
	.no_dead_strip	_msi_laptop_i8042_filter
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function msi_laptop_i8042_filter
_msi_laptop_i8042_filter:               ; @msi_laptop_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.ne	LBB0_3
; %bb.1:
	mov	x19, x0
	cmp	w0, #224
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_4
; %bb.2:
	mov	w8, #1
	adrp	x9, _msi_laptop_i8042_filter.extended@PAGE
	strb	w8, [x9, _msi_laptop_i8042_filter.extended@PAGEOFF]
LBB0_3:
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_4:
	adrp	x20, _msi_laptop_i8042_filter.extended@PAGE
	ldrb	w0, [x20, _msi_laptop_i8042_filter.extended@PAGEOFF]
	bl	_unlikely
	cbz	x0, LBB0_3
; %bb.5:
	strb	wzr, [x20, _msi_laptop_i8042_filter.extended@PAGEOFF]
	sub	w8, w19, #84
	cmp	w8, #34
	b.hi	LBB0_9
; %bb.6:
	mov	w9, #1
	lsl	x8, x9, x8
	mov	x9, #16385
	movk	x9, #4, lsl #32
	tst	x8, x9
	b.eq	LBB0_9
; %bb.7:
Lloh2:
	adrp	x8, _quirks@GOTPAGE
Lloh3:
	ldr	x8, [x8, _quirks@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	ldr	w8, [x8]
	cbz	w8, LBB0_12
; %bb.8:
Lloh5:
	adrp	x8, _HZ@GOTPAGE
Lloh6:
	ldr	x8, [x8, _HZ@GOTPAGEOFF]
Lloh7:
	ldr	d0, [x8]
	fmov	d1, #0.50000000
	fmul	d0, d0, d1
	bl	_round_jiffies_relative
	mov	x1, x0
Lloh8:
	adrp	x0, _msi_rfkill_dwork@GOTPAGE
Lloh9:
	ldr	x0, [x0, _msi_rfkill_dwork@GOTPAGEOFF]
	bl	_schedule_delayed_work
	b	LBB0_3
LBB0_9:
	cmp	w19, #228
	b.ne	LBB0_3
; %bb.10:
Lloh10:
	adrp	x8, _quirks@GOTPAGE
Lloh11:
	ldr	x8, [x8, _quirks@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	ldr	w8, [x8]
	cbz	w8, LBB0_13
; %bb.11:
Lloh13:
	adrp	x8, _HZ@GOTPAGE
Lloh14:
	ldr	x8, [x8, _HZ@GOTPAGEOFF]
Lloh15:
	ldr	d0, [x8]
	fmov	d1, #0.50000000
	fmul	d0, d0, d1
	bl	_round_jiffies_relative
	mov	x1, x0
Lloh16:
	adrp	x0, _msi_touchpad_dwork@GOTPAGE
Lloh17:
	ldr	x0, [x0, _msi_touchpad_dwork@GOTPAGEOFF]
	bl	_schedule_delayed_work
	b	LBB0_3
LBB0_12:
Lloh18:
	adrp	x0, _msi_rfkill_work@GOTPAGE
Lloh19:
	ldr	x0, [x0, _msi_rfkill_work@GOTPAGEOFF]
	b	LBB0_14
LBB0_13:
Lloh20:
	adrp	x0, _msi_touchpad_work@GOTPAGE
Lloh21:
	ldr	x0, [x0, _msi_touchpad_work@GOTPAGEOFF]
LBB0_14:
	bl	_schedule_work
	b	LBB0_3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_msi_laptop_i8042_filter.extended,1,2 ; @msi_laptop_i8042_filter.extended
	.comm	_I8042_STR_AUXDATA,1,0          ; @I8042_STR_AUXDATA
	.comm	_quirks,8,3                     ; @quirks
	.comm	_msi_touchpad_dwork,4,2         ; @msi_touchpad_dwork
	.comm	_HZ,8,3                         ; @HZ
	.comm	_msi_touchpad_work,4,2          ; @msi_touchpad_work
	.comm	_msi_rfkill_dwork,4,2           ; @msi_rfkill_dwork
	.comm	_msi_rfkill_work,4,2            ; @msi_rfkill_work
	.no_dead_strip	_msi_laptop_i8042_filter
.subsections_via_symbols
