	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function arvo_report_to_chrdev
_arvo_report_to_chrdev:                 ## @arvo_report_to_chrdev
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	movl	4(%rdi), %eax
	movl	%eax, -8(%rbp)
	movl	(%rsi), %eax
	movq	_ARVO_SPECIAL_REPORT_EVENT_MASK_BUTTON@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	%eax, %ecx
	movq	_ARVO_SPECIAL_REPORT_EVENT_MASK_ACTION@GOTPCREL(%rip), %rdx
	andl	(%rdx), %eax
	movl	%ecx, -16(%rbp)
	movq	_ARVO_SPECIAL_REPORT_EVENT_ACTION_PRESS@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_1
## %bb.2:
	movq	_ARVO_ROCCAT_REPORT_ACTION_PRESS@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_ARVO_ROCCAT_REPORT_ACTION_RELEASE@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	movl	%eax, -12(%rbp)
	movl	(%rdi), %edi
	leaq	-16(%rbp), %rsi
	callq	_roccat_report_event
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ARVO_SPECIAL_REPORT_EVENT_MASK_BUTTON,4,2 ## @ARVO_SPECIAL_REPORT_EVENT_MASK_BUTTON
	.comm	_ARVO_SPECIAL_REPORT_EVENT_MASK_ACTION,4,2 ## @ARVO_SPECIAL_REPORT_EVENT_MASK_ACTION
	.comm	_ARVO_SPECIAL_REPORT_EVENT_ACTION_PRESS,4,2 ## @ARVO_SPECIAL_REPORT_EVENT_ACTION_PRESS
	.comm	_ARVO_ROCCAT_REPORT_ACTION_PRESS,4,2 ## @ARVO_ROCCAT_REPORT_ACTION_PRESS
	.comm	_ARVO_ROCCAT_REPORT_ACTION_RELEASE,4,2 ## @ARVO_ROCCAT_REPORT_ACTION_RELEASE
	.no_dead_strip	_arvo_report_to_chrdev
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function arvo_report_to_chrdev
_arvo_report_to_chrdev:                 ; @arvo_report_to_chrdev
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.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
	ldr	w8, [x1]
Lloh0:
	adrp	x9, _ARVO_SPECIAL_REPORT_EVENT_MASK_BUTTON@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ARVO_SPECIAL_REPORT_EVENT_MASK_BUTTON@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	and	w9, w9, w8
	ldp	w0, w10, [x0]
	str	w10, [sp, #8]
	str	w9, [sp]
Lloh3:
	adrp	x9, _ARVO_SPECIAL_REPORT_EVENT_MASK_ACTION@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ARVO_SPECIAL_REPORT_EVENT_MASK_ACTION@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	and	w8, w9, w8
Lloh6:
	adrp	x9, _ARVO_SPECIAL_REPORT_EVENT_ACTION_PRESS@GOTPAGE
Lloh7:
	ldr	x9, [x9, _ARVO_SPECIAL_REPORT_EVENT_ACTION_PRESS@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
Lloh9:
	adrp	x10, _ARVO_ROCCAT_REPORT_ACTION_PRESS@GOTPAGE
Lloh10:
	ldr	x10, [x10, _ARVO_ROCCAT_REPORT_ACTION_PRESS@GOTPAGEOFF]
Lloh11:
	adrp	x11, _ARVO_ROCCAT_REPORT_ACTION_RELEASE@GOTPAGE
Lloh12:
	ldr	x11, [x11, _ARVO_ROCCAT_REPORT_ACTION_RELEASE@GOTPAGEOFF]
	cmp	w8, w9
	csel	x8, x10, x11, eq
	ldr	w8, [x8]
	str	w8, [sp, #4]
	mov	x1, sp
	bl	_roccat_report_event
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ARVO_SPECIAL_REPORT_EVENT_MASK_BUTTON,4,2 ; @ARVO_SPECIAL_REPORT_EVENT_MASK_BUTTON
	.comm	_ARVO_SPECIAL_REPORT_EVENT_MASK_ACTION,4,2 ; @ARVO_SPECIAL_REPORT_EVENT_MASK_ACTION
	.comm	_ARVO_SPECIAL_REPORT_EVENT_ACTION_PRESS,4,2 ; @ARVO_SPECIAL_REPORT_EVENT_ACTION_PRESS
	.comm	_ARVO_ROCCAT_REPORT_ACTION_PRESS,4,2 ; @ARVO_ROCCAT_REPORT_ACTION_PRESS
	.comm	_ARVO_ROCCAT_REPORT_ACTION_RELEASE,4,2 ; @ARVO_ROCCAT_REPORT_ACTION_RELEASE
	.no_dead_strip	_arvo_report_to_chrdev
.subsections_via_symbols
