	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dm_table_find_target           ## -- Begin function dm_table_find_target
	.p2align	4, 0x90
_dm_table_find_target:                  ## @dm_table_find_target
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rdi, %r14
	callq	_dm_table_get_size
	xorl	%edi, %edi
	cmpq	%r12, %rax
	setle	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	jmp	LBB0_11
LBB0_2:
	cmpl	$0, (%r14)
	je	LBB0_12
## %bb.3:
	xorl	%esi, %esi
	movq	_KEYS_PER_NODE@GOTPCREL(%rip), %r13
	xorl	%r15d, %r15d
	xorl	%ebx, %ebx
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_4 Depth=1
	incl	%ebx
	cmpl	(%r14), %ebx
	jae	LBB0_10
LBB0_4:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
	movl	%r15d, %edi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_get_child
	movl	%eax, %r15d
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_get_node
	movq	%rax, %rcx
	movl	(%r13), %eax
	movl	$0, %esi
	testq	%rax, %rax
	je	LBB0_9
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_6:                                 ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpq	%r12, (%rcx,%rsi,8)
	jge	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=2
	incq	%rsi
	cmpq	%rsi, %rax
	jne	LBB0_6
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	%eax, %esi
	jmp	LBB0_9
LBB0_12:
	movq	_KEYS_PER_NODE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%r15d, %r15d
	xorl	%esi, %esi
LBB0_10:
	imull	%r15d, %eax
	addl	%esi, %eax
	shlq	$2, %rax
	addq	8(%r14), %rax
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_KEYS_PER_NODE,4,2              ## @KEYS_PER_NODE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dm_table_find_target           ; -- Begin function dm_table_find_target
	.p2align	2
_dm_table_find_target:                  ; @dm_table_find_target
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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, x1
	mov	x19, x0
	bl	_dm_table_get_size
	cmp	x0, x20
	cset	w0, le
	bl	_unlikely
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, #0
	b	LBB0_13
LBB0_2:
	ldr	w8, [x19]
	cbz	w8, LBB0_11
; %bb.3:
	mov	w1, #0
	mov	w21, #0
	mov	w22, #0
Lloh0:
	adrp	x23, _KEYS_PER_NODE@GOTPAGE
Lloh1:
	ldr	x23, [x23, _KEYS_PER_NODE@GOTPAGEOFF]
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	w1, #0
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	w22, w22, #1
	ldr	w9, [x19]
	cmp	w22, w9
	b.hs	LBB0_12
LBB0_6:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
	mov	x0, x21
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_get_child
	mov	x21, x0
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
	bl	_get_node
	ldr	w8, [x23]
	cbz	w8, LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x1, #0
LBB0_8:                                 ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x9, [x0, x1, lsl #3]
	cmp	x9, x20
	b.ge	LBB0_5
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=2
	add	x1, x1, #1
	cmp	x8, x1
	b.ne	LBB0_8
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x1, x8
	b	LBB0_5
LBB0_11:
	mov	w21, #0
	mov	w1, #0
Lloh2:
	adrp	x8, _KEYS_PER_NODE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _KEYS_PER_NODE@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
LBB0_12:
	ldr	x9, [x19, #8]
	madd	w8, w8, w21, w1
	add	x0, x9, w8, uxtw #2
LBB0_13:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_KEYS_PER_NODE,4,2              ; @KEYS_PER_NODE
.subsections_via_symbols
