	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hidpp_event
_hidpp_event:                           ## @hidpp_event
	.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
	movl	%ecx, %ebx
	callq	_hid_get_drvdata
	movq	%rax, %rsi
	xorl	%eax, %eax
	testq	%rsi, %rsi
	je	LBB0_6
## %bb.1:
	testl	%ebx, %ebx
	je	LBB0_6
## %bb.2:
	movq	_HIDPP_QUIRK_HI_RES_SCROLL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	(%rsi), %ecx
	je	LBB0_6
## %bb.3:
	movq	8(%rsi), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.4:
	addq	$16, %rsi
	cmpq	$0, (%rsi)
	je	LBB0_6
## %bb.5:
	movl	%ebx, %edx
	callq	_hidpp_scroll_counter_handle_scroll
	movl	$1, %eax
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HIDPP_QUIRK_HI_RES_SCROLL,4,2  ## @HIDPP_QUIRK_HI_RES_SCROLL
	.no_dead_strip	_hidpp_event
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hidpp_event
_hidpp_event:                           ; @hidpp_event
	.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, x3
	bl	_hid_get_drvdata
	cbz	x0, LBB0_7
; %bb.1:
	mov	x8, x0
	mov	w0, #0
	cbz	w19, LBB0_7
; %bb.2:
	mov	x1, x8
	ldr	w9, [x1], #16
Lloh0:
	adrp	x10, _HIDPP_QUIRK_HI_RES_SCROLL@GOTPAGE
Lloh1:
	ldr	x10, [x10, _HIDPP_QUIRK_HI_RES_SCROLL@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
	and	w9, w10, w9
	cbz	w9, LBB0_7
; %bb.3:
	ldr	x0, [x8, #8]
	cbz	x0, LBB0_7
; %bb.4:
	ldr	x8, [x1]
	cbz	x8, LBB0_6
; %bb.5:
	mov	x2, x19
	bl	_hidpp_scroll_counter_handle_scroll
	mov	w0, #1
	b	LBB0_7
LBB0_6:
	mov	w0, #0
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_HIDPP_QUIRK_HI_RES_SCROLL,4,2  ; @HIDPP_QUIRK_HI_RES_SCROLL
	.no_dead_strip	_hidpp_event
.subsections_via_symbols
