	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hidpp_raw_event
_hidpp_raw_event:                       ## @hidpp_raw_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	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r14d
	movq	%rdx, %r15
	movq	%rdi, %r12
	callq	_hid_get_drvdata
	movq	%rax, %rbx
	xorl	%eax, %eax
	testq	%rbx, %rbx
	je	LBB0_11
## %bb.1:
	movl	(%r15), %eax
	cmpl	$130, %eax
	je	LBB0_6
## %bb.2:
	cmpl	$129, %eax
	je	LBB0_14
## %bb.3:
	cmpl	$128, %eax
	jne	LBB0_9
## %bb.4:
	cmpl	%r14d, (%rbx)
	je	LBB0_8
LBB0_5:
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	movl	%r14d, %edx
	callq	_hid_err
	movl	$1, %eax
	jmp	LBB0_11
LBB0_6:
	movq	_HIDPP_REPORT_LONG_LENGTH@GOTPCREL(%rip), %rax
	cmpl	%r14d, (%rax)
	jne	LBB0_5
	jmp	LBB0_8
LBB0_14:
	movq	_HIDPP_REPORT_SHORT_LENGTH@GOTPCREL(%rip), %rax
	cmpl	%r14d, (%rax)
	jne	LBB0_5
LBB0_8:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movl	%r14d, %edx
	callq	_hidpp_raw_hidpp_event
	testl	%eax, %eax
	je	LBB0_9
LBB0_11:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movl	4(%rbx), %ecx
	movq	_HIDPP_QUIRK_CLASS_WTP@GOTPCREL(%rip), %rax
	testl	%ecx, (%rax)
	je	LBB0_10
## %bb.12:
	movq	%r12, %rdi
	movq	%r15, %rsi
	movl	%r14d, %edx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_wtp_raw_event                  ## TAILCALL
LBB0_10:
	movq	_HIDPP_QUIRK_CLASS_M560@GOTPCREL(%rip), %rdx
	movl	$0, %eax
	testl	%ecx, (%rdx)
	je	LBB0_11
## %bb.13:
	movq	%r12, %rdi
	movq	%r15, %rsi
	movl	%r14d, %edx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_m560_raw_event                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"received hid++ report of bad size (%d)"

	.comm	_HIDPP_REPORT_LONG_LENGTH,4,2   ## @HIDPP_REPORT_LONG_LENGTH
	.comm	_HIDPP_REPORT_SHORT_LENGTH,4,2  ## @HIDPP_REPORT_SHORT_LENGTH
	.comm	_HIDPP_QUIRK_CLASS_WTP,4,2      ## @HIDPP_QUIRK_CLASS_WTP
	.comm	_HIDPP_QUIRK_CLASS_M560,4,2     ## @HIDPP_QUIRK_CLASS_M560
	.no_dead_strip	_hidpp_raw_event
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hidpp_raw_event
_hidpp_raw_event:                       ; @hidpp_raw_event
	.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
	mov	x19, x3
	mov	x21, x2
	mov	x20, x0
	bl	_hid_get_drvdata
	cbz	x0, LBB0_15
; %bb.1:
	mov	x22, x0
	ldr	w8, [x21]
	cmp	w8, #130
	b.eq	LBB0_6
; %bb.2:
	cmp	w8, #129
	b.eq	LBB0_7
; %bb.3:
	cmp	w8, #128
	b.ne	LBB0_10
; %bb.4:
	ldr	w8, [x22]
	cmp	w8, w19
	b.eq	LBB0_9
LBB0_5:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	mov	x2, x19
	bl	_hid_err
	mov	w0, #1
	b	LBB0_15
LBB0_6:
Lloh2:
	adrp	x8, _HIDPP_REPORT_LONG_LENGTH@GOTPAGE
Lloh3:
	ldr	x8, [x8, _HIDPP_REPORT_LONG_LENGTH@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:
Lloh4:
	adrp	x8, _HIDPP_REPORT_SHORT_LENGTH@GOTPAGE
Lloh5:
	ldr	x8, [x8, _HIDPP_REPORT_SHORT_LENGTH@GOTPAGEOFF]
LBB0_8:
	ldr	w8, [x8]
	cmp	w8, w19
	b.ne	LBB0_5
LBB0_9:
	mov	x0, x22
	mov	x1, x21
	mov	x2, x19
	bl	_hidpp_raw_hidpp_event
	cbnz	w0, LBB0_15
LBB0_10:
	ldr	w8, [x22, #4]
Lloh6:
	adrp	x9, _HIDPP_QUIRK_CLASS_WTP@GOTPAGE
Lloh7:
	ldr	x9, [x9, _HIDPP_QUIRK_CLASS_WTP@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_12
; %bb.11:
	mov	x0, x20
	mov	x1, x21
	mov	x2, x19
	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
	b	_wtp_raw_event
LBB0_12:
Lloh9:
	adrp	x9, _HIDPP_QUIRK_CLASS_M560@GOTPAGE
Lloh10:
	ldr	x9, [x9, _HIDPP_QUIRK_CLASS_M560@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_14
; %bb.13:
	mov	x0, x20
	mov	x1, x21
	mov	x2, x19
	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
	b	_m560_raw_event
LBB0_14:
	mov	w0, #0
LBB0_15:
	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 AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"received hid++ report of bad size (%d)"

	.comm	_HIDPP_REPORT_LONG_LENGTH,4,2   ; @HIDPP_REPORT_LONG_LENGTH
	.comm	_HIDPP_REPORT_SHORT_LENGTH,4,2  ; @HIDPP_REPORT_SHORT_LENGTH
	.comm	_HIDPP_QUIRK_CLASS_WTP,4,2      ; @HIDPP_QUIRK_CLASS_WTP
	.comm	_HIDPP_QUIRK_CLASS_M560,4,2     ; @HIDPP_QUIRK_CLASS_M560
	.no_dead_strip	_hidpp_raw_event
.subsections_via_symbols
