	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hgpk_spewing_hack
_hgpk_spewing_hack:                     ## @hgpk_spewing_hack
	.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
	orl	%edx, %esi
	jne	LBB0_6
## %bb.1:
	movq	%rdi, %r15
	movq	(%rdi), %rbx
	movd	%r8d, %xmm0
	pinsrd	$1, %ecx, %xmm0
	pmovsxdq	%xmm0, %xmm1
	movdqu	8(%rbx), %xmm0
	paddq	%xmm1, %xmm0
	movdqu	%xmm0, 8(%rbx)
	movl	(%rbx), %eax
	leal	1(%rax), %ecx
	movl	%ecx, (%rbx)
	cmpl	$100, %eax
	jl	LBB0_6
## %bb.2:
	leaq	8(%rbx), %r12
	pextrq	$1, %xmm0, %rdi
	callq	_abs
	cmpl	$2, %eax
	jg	LBB0_5
## %bb.3:
	movq	(%r12), %rdi
	callq	_abs
	cmpl	$2, %eax
	jg	LBB0_5
## %bb.4:
	movq	8(%rbx), %rcx
	movq	16(%rbx), %rdx
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_hgpk_dbg
	leaq	24(%rbx), %r14
	movq	_spew_delay@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_msecs_to_jiffies
	movq	%r15, %rdi
	movq	%r14, %rsi
	movl	%eax, %edx
	callq	_psmouse_queue_work
LBB0_5:
	movl	$0, (%rbx)
	pxor	%xmm0, %xmm0
	movdqu	%xmm0, (%r12)
LBB0_6:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"packet spew detected (%d,%d)\n"

	.comm	_spew_delay,4,2                 ## @spew_delay
	.no_dead_strip	_hgpk_spewing_hack
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hgpk_spewing_hack
_hgpk_spewing_hack:                     ; @hgpk_spewing_hack
	.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
	orr	w8, w2, w1
	cbnz	w8, LBB0_6
; %bb.1:
	mov	x19, x0
	ldr	x21, [x0]
	ldr	x8, [x21, #16]
	add	x0, x8, w3, sxtw
	str	x0, [x21, #16]
	mov	x22, x21
	ldr	x8, [x22, #8]!
	add	x8, x8, w4, sxtw
	str	x8, [x22]
	ldr	w8, [x21]
	add	w9, w8, #1
	str	w9, [x21]
	cmp	w8, #100
	b.lt	LBB0_6
; %bb.2:
	bl	_abs
	cmp	w0, #2
	b.gt	LBB0_5
; %bb.3:
	ldr	x0, [x22]
	bl	_abs
	cmp	w0, #2
	b.gt	LBB0_5
; %bb.4:
	ldp	x3, x2, [x21, #8]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_hgpk_dbg
	add	x20, x21, #24
Lloh2:
	adrp	x8, _spew_delay@GOTPAGE
Lloh3:
	ldr	x8, [x8, _spew_delay@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	bl	_msecs_to_jiffies
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	_psmouse_queue_work
LBB0_5:
	str	wzr, [x21]
	stp	xzr, xzr, [x22]
LBB0_6:
	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
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"packet spew detected (%d,%d)\n"

	.comm	_spew_delay,4,2                 ; @spew_delay
	.no_dead_strip	_hgpk_spewing_hack
.subsections_via_symbols
