	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_idx_item
_get_idx_item:                          ## @get_idx_item
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_idx_items@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	testl	%edx, %edx
	jle	LBB0_10
## %bb.1:
	movq	_IndexItems@GOTPCREL(%rip), %r8
	movq	(%r8), %r9
	movl	$-1, %ecx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	%eax, %ecx
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	%edx, %eax
	subl	%ecx, %eax
	cmpl	$1, %eax
	jle	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	leal	(%rdx,%rcx), %eax
	sarl	%eax
	movslq	%eax, %rsi
	shlq	$4, %rsi
	cmpq	%rdi, (%r9,%rsi)
	jle	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%eax, %edx
	jmp	LBB0_5
LBB0_6:
	testl	%ecx, %ecx
	js	LBB0_10
## %bb.7:
	movq	(%r8), %rax
	movl	%ecx, %ecx
	shlq	$4, %rcx
	cmpq	%rdi, (%rax,%rcx)
	jne	LBB0_10
## %bb.8:
	movq	_FLAG_DELETED@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	testl	%edx, 8(%rax,%rcx)
	je	LBB0_9
LBB0_10:
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_9:
	addq	%rcx, %rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_idx_items,4,2                  ## @idx_items
	.comm	_IndexItems,8,3                 ## @IndexItems
	.comm	_FLAG_DELETED,4,2               ## @FLAG_DELETED
	.no_dead_strip	_get_idx_item
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_idx_item
_get_idx_item:                          ; @get_idx_item
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _idx_items@GOTPAGE
Lloh1:
	ldr	x8, [x8, _idx_items@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.1:
Lloh3:
	adrp	x10, _IndexItems@GOTPAGE
Lloh4:
	ldr	x10, [x10, _IndexItems@GOTPAGEOFF]
	ldr	x11, [x10]
	mov	w9, #-1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	w12, w8, w9
	asr	w12, w12, #1
	sbfiz	x13, x12, #4, #32
	ldr	x13, [x11, x13]
	cmp	x13, x0
	csel	w9, w9, w12, gt
	csel	w8, w12, w8, gt
	sub	w12, w8, w9
	cmp	w12, #1
	b.gt	LBB0_2
; %bb.3:
	tbnz	w9, #31, LBB0_6
; %bb.4:
	ldr	x10, [x10]
	add	x8, x10, w9, uxtw #4
	ldr	x11, [x8]
	cmp	x11, x0
	b.ne	LBB0_6
; %bb.5:
	add	x9, x10, x9, lsl #4
	ldr	w9, [x9, #8]
Lloh5:
	adrp	x10, _FLAG_DELETED@GOTPAGE
Lloh6:
	ldr	x10, [x10, _FLAG_DELETED@GOTPAGEOFF]
Lloh7:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_7
LBB0_6:
	mov	x8, #0
LBB0_7:
	mov	x0, x8
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_idx_items,4,2                  ; @idx_items
	.comm	_IndexItems,8,3                 ; @IndexItems
	.comm	_FLAG_DELETED,4,2               ; @FLAG_DELETED
	.no_dead_strip	_get_idx_item
.subsections_via_symbols
