	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ctf_dtd_lookup                 ## -- Begin function ctf_dtd_lookup
	.p2align	4, 0x90
_ctf_dtd_lookup:                        ## @ctf_dtd_lookup
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	8(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movslq	(%rdi), %rcx
	decq	%rcx
	movslq	%esi, %rdx
	andq	%rcx, %rdx
	movq	(%rax,%rdx,8), %rax
	testq	%rax, %rax
	je	LBB0_5
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	%esi, (%rax)
	je	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	8(%rax), %rax
	testq	%rax, %rax
	jne	LBB0_3
LBB0_5:
	xorl	%eax, %eax
LBB0_6:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ctf_dtd_lookup                 ; -- Begin function ctf_dtd_lookup
	.p2align	2
_ctf_dtd_lookup:                        ; @ctf_dtd_lookup
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_5
; %bb.1:
	ldr	w9, [x0]
	sub	w9, w9, #1
	and	w9, w9, w1
	ldr	x0, [x8, w9, sxtw #3]
	cbz	x0, LBB0_4
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x0]
	cmp	w8, w1
	b.eq	LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x0, [x0, #8]
	cbnz	x0, LBB0_2
LBB0_4:
	ret
LBB0_5:
	mov	x0, #0
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
