	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hid_lookup_collection
_hid_lookup_collection:                 ## @hid_lookup_collection
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	16(%rdi), %rax
	movq	(%rax), %rax
	movl	(%rdi), %ecx
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	testl	%ecx, %ecx
	jle	LBB0_2
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	8(%rdi), %rdx
	movl	-4(%rdx,%rcx,4), %edx
	decq	%rcx
	cmpl	%esi, (%rax,%rdx,8)
	jne	LBB0_1
## %bb.4:
	movl	4(%rax,%rdx,8), %eax
	popq	%rbp
	retq
LBB0_2:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_hid_lookup_collection
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hid_lookup_collection
_hid_lookup_collection:                 ; @hid_lookup_collection
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0, #16]
	ldr	x8, [x8]
	ldr	w9, [x0]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w9, #1
	b.lt	LBB0_4
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	x10, [x0, #8]
	add	x10, x10, x9, lsl #2
	sub	x9, x9, #1
	ldur	w10, [x10, #-4]
	lsl	x11, x10, #3
	ldr	w11, [x8, x11]
	cmp	w11, w1
	b.ne	LBB0_1
; %bb.3:
	add	x8, x8, x10, lsl #3
	ldr	w0, [x8, #4]
	ret
LBB0_4:
	mov	w0, #0
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_hid_lookup_collection
.subsections_via_symbols
