	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tcindex_lookup
_tcindex_lookup:                        ## @tcindex_lookup
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	16(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	leaq	(%rax,%rbx,4), %rdi
	callq	_tcindex_filter_is_set
	testq	%rax, %rax
	je	LBB0_12
## %bb.2:
	shlq	$2, %rbx
	addq	16(%r14), %rbx
	jmp	LBB0_13
LBB0_3:
	movq	8(%r14), %rcx
	testq	%rcx, %rcx
	je	LBB0_12
## %bb.4:
	movq	(%r14), %rsi
	movq	%rbx, %rax
	orq	%rsi, %rax
	shrq	$32, %rax
	je	LBB0_5
## %bb.6:
	movq	%rbx, %rax
	xorl	%edx, %edx
	divq	%rsi
	jmp	LBB0_7
LBB0_5:
	movl	%ebx, %eax
	xorl	%edx, %edx
	divl	%esi
                                        ## kill: def $edx killed $edx def $rdx
LBB0_7:
	movq	(%rcx,%rdx,8), %rax
	testq	%rax, %rax
	je	LBB0_12
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rbx, (%rax)
	je	LBB0_10
## %bb.11:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	16(%rax), %rax
	testq	%rax, %rax
	jne	LBB0_9
LBB0_12:
	xorl	%ebx, %ebx
LBB0_13:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_10:
	addq	$8, %rax
	movq	%rax, %rbx
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_tcindex_lookup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tcindex_lookup
_tcindex_lookup:                        ; @tcindex_lookup
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
	ldr	x8, [x0, #16]
	cbz	x8, LBB0_3
; %bb.1:
	add	x0, x8, x19, lsl #2
	bl	_tcindex_filter_is_set
	cbz	x0, LBB0_9
; %bb.2:
	ldr	x8, [x20, #16]
	add	x0, x8, x19, lsl #2
	b	LBB0_9
LBB0_3:
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_7
; %bb.4:
	ldr	x9, [x20]
	udiv	x10, x19, x9
	msub	x9, x10, x9, x19
	ldr	x8, [x8, x9, lsl #3]
	cbz	x8, LBB0_7
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x8]
	cmp	x9, x19
	b.eq	LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x8, #16]
	cbnz	x8, LBB0_5
LBB0_7:
	mov	x0, #0
	b	LBB0_9
LBB0_8:
	add	x0, x8, #8
LBB0_9:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_tcindex_lookup
.subsections_via_symbols
