	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function locate_item
_locate_item:                           ## @locate_item
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r15
	movl	%r8d, %ebx
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r14
	movq	$0, -64(%rbp)
	movl	%r8d, %edx
	callq	_hid_start_parse
	movq	%rax, %r12
	leaq	-64(%rbp), %rsi
	movq	%rax, %rdi
	callq	_hid_get_item
	xorl	%r13d, %r13d
	testq	%rax, %rax
	je	LBB0_10
## %bb.1:
	movq	%r15, -72(%rbp)                 ## 8-byte Spill
	movq	_HIO_CONST@GOTPCREL(%rip), %r13
	leaq	-64(%rbp), %r15
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_hid_get_item
	testq	%rax, %rax
	je	LBB0_9
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	%ebx, -56(%rbp)
	jne	LBB0_8
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r13), %eax
	testl	%eax, -52(%rbp)
	jne	LBB0_8
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%r14, -48(%rbp)
	jne	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	cmpq	%rax, -64(%rbp)
	jne	LBB0_8
## %bb.6:
	movl	$1, %r13d
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	testq	%rcx, %rcx
	je	LBB0_10
## %bb.7:
	movq	-48(%rbp), %rax
	movq	%rax, 16(%rcx)
	movups	-64(%rbp), %xmm0
	movups	%xmm0, (%rcx)
	jmp	LBB0_10
LBB0_9:
	xorl	%r13d, %r13d
LBB0_10:
	movq	%r12, %rdi
	callq	_hid_end_parse
	movl	%r13d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HIO_CONST,4,2                  ## @HIO_CONST
	.no_dead_strip	_locate_item
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function locate_item
_locate_item:                           ; @locate_item
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x5
	mov	x21, x4
	mov	x22, x3
	mov	x23, x2
	str	xzr, [sp, #8]
	mov	x2, x4
	bl	_hid_start_parse
	mov	x19, x0
	add	x1, sp, #8
	bl	_hid_get_item
	cbz	x0, LBB0_7
; %bb.1:
Lloh0:
	adrp	x24, _HIO_CONST@GOTPAGE
Lloh1:
	ldr	x24, [x24, _HIO_CONST@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x1, sp, #8
	mov	x0, x19
	bl	_hid_get_item
	cbz	x0, LBB0_7
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [sp, #16]
	cmp	w8, w21
	b.ne	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [sp, #20]
	ldr	w9, [x24]
	and	w8, w9, w8
	ldr	x9, [sp, #24]
	ldr	x10, [sp, #8]
	cmp	w8, #0
	ccmp	x9, x23, #0, eq
	ccmp	x10, x22, #0, eq
	b.ne	LBB0_2
; %bb.5:
	cbz	x20, LBB0_9
; %bb.6:
	ldur	q0, [sp, #8]
	str	q0, [x20]
	ldr	x8, [sp, #24]
	str	x8, [x20, #16]
	mov	w20, #1
	b	LBB0_8
LBB0_7:
	mov	w20, #0
LBB0_8:
	mov	x0, x19
	bl	_hid_end_parse
	mov	x0, x20
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_9:
	mov	w20, #1
	b	LBB0_8
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_HIO_CONST,4,2                  ; @HIO_CONST
	.no_dead_strip	_locate_item
.subsections_via_symbols
