	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rmi_check_valid_report_id
_rmi_check_valid_report_id:             ## @rmi_check_valid_report_id
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rax
	movl	%esi, %esi
	movq	(%rax,%rsi,8), %rax
	movl	%edx, %edx
	movq	(%rax,%rdx,8), %rdx
	movq	%rdx, (%rcx)
	xorl	%eax, %eax
	testq	%rdx, %rdx
	je	LBB0_7
## %bb.1:
	movl	(%rdx), %r8d
	testl	%r8d, %r8d
	jle	LBB0_7
## %bb.2:
	movq	8(%rdx), %rax
	movq	_HID_USAGE_PAGE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movq	_HID_UP_MSVENDOR@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rax,%rdi,8), %rcx
	movl	(%rcx), %ecx
	andl	%edx, %ecx
	cmpl	%esi, %ecx
	jae	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	incq	%rdi
	cmpq	%rdi, %r8
	jne	LBB0_3
## %bb.5:
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_6:
	movl	$1, %eax
LBB0_7:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HID_USAGE_PAGE,4,2             ## @HID_USAGE_PAGE
	.comm	_HID_UP_MSVENDOR,4,2            ## @HID_UP_MSVENDOR
	.no_dead_strip	_rmi_check_valid_report_id
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rmi_check_valid_report_id
_rmi_check_valid_report_id:             ; @rmi_check_valid_report_id
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
	ldr	x8, [x8, w1, uxtw #3]
	ldr	x9, [x8, w2, uxtw #3]
	str	x9, [x3]
	cbz	x9, LBB0_5
; %bb.1:
	ldr	w8, [x9]
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.2:
	ldr	x9, [x9, #8]
Lloh0:
	adrp	x10, _HID_USAGE_PAGE@GOTPAGE
Lloh1:
	ldr	x10, [x10, _HID_USAGE_PAGE@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
Lloh3:
	adrp	x11, _HID_UP_MSVENDOR@GOTPAGE
Lloh4:
	ldr	x11, [x11, _HID_UP_MSVENDOR@GOTPAGEOFF]
Lloh5:
	ldr	w11, [x11]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x12, [x9]
	ldr	w12, [x12]
	and	w12, w10, w12
	cmp	w12, w11
	b.hs	LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x9, x9, #8
	subs	x8, x8, #1
	b.ne	LBB0_3
LBB0_5:
	mov	w0, #0
	ret
LBB0_6:
	mov	w0, #1
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_HID_USAGE_PAGE,4,2             ; @HID_USAGE_PAGE
	.comm	_HID_UP_MSVENDOR,4,2            ; @HID_UP_MSVENDOR
	.no_dead_strip	_rmi_check_valid_report_id
.subsections_via_symbols
