	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function px_raw_event
_px_raw_event:                          ## @px_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
	movl	%ecx, %r8d
	movl	(%rsi), %ecx
	testl	%ecx, %ecx
	je	LBB0_1
## %bb.7:
	leaq	L_.str(%rip), %rsi
	movl	%ecx, %edx
	callq	_hid_info
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_1:
	cmpl	$3, %r8d
	jl	LBB0_6
## %bb.2:
	movl	%r8d, %esi
	incq	%rsi
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	decq	%rsi
	cmpq	$3, %rsi
	jbe	LBB0_6
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	leal	-2(%rsi), %r9d
	movl	(%rdx,%r9,4), %ecx
	leal	-232(%rcx), %eax
	cmpl	$-8, %eax
	jb	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	$1, %eax
                                        ## kill: def $cl killed $cl killed $rcx
	shll	%cl, %eax
	orl	%eax, (%rdx)
	movl	$0, (%rdx,%r9,4)
	jmp	LBB0_5
LBB0_6:
	movq	_HID_INPUT_REPORT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r8d, %ecx
	xorl	%r8d, %r8d
	callq	_hid_report_raw_event
	movl	$1, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HID_INPUT_REPORT,4,2           ## @HID_INPUT_REPORT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unknown report type %d\n"

	.no_dead_strip	_px_raw_event
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function px_raw_event
_px_raw_event:                          ; @px_raw_event
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	w8, [x1]
	cbz	w8, LBB0_2
; %bb.1:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x8
	bl	_hid_info
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_2:
	cmp	w3, #3
	b.lt	LBB0_7
; %bb.3:
	mov	w8, w3
	add	x8, x8, #1
	mov	w9, #1
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	sub	x8, x8, #1
	cmp	x8, #3
	b.ls	LBB0_7
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	sub	w10, w8, #2
	ldr	w11, [x2, w10, uxtw #2]
	sub	w12, w11, #232
	cmn	w12, #8
	b.lo	LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	lsl	w11, w9, w11
	ldr	w12, [x2]
	orr	w11, w12, w11
	str	w11, [x2]
	str	wzr, [x2, x10, lsl #2]
	b	LBB0_4
LBB0_7:
Lloh2:
	adrp	x8, _HID_INPUT_REPORT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _HID_INPUT_REPORT@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	w4, #0
	bl	_hid_report_raw_event
	mov	w0, #1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_HID_INPUT_REPORT,4,2           ; @HID_INPUT_REPORT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unknown report type %d\n"

	.no_dead_strip	_px_raw_event
.subsections_via_symbols
