	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dm_btree_lookup                ## -- Begin function dm_btree_lookup
	.p2align	4, 0x90
_dm_btree_lookup:                       ## @dm_btree_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	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r12
	movl	%esi, %ebx
	movq	%rdi, %r15
	movl	(%rdi), %r14d
	movq	_ENODATA@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
	subl	(%rax), %r13d
	leaq	-48(%rbp), %rdi
	movq	%r15, %rsi
	callq	_init_ro_spine
	cmpl	$0, (%r15)
	je	LBB0_10
## %bb.1:
	decl	%r14d
	movq	%r14, -72(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	$8, %eax
	leaq	-52(%rbp), %r9
	cmpq	%r14, -72(%rbp)                 ## 8-byte Folded Reload
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%r15), %rax
	movq	-64(%rbp), %r9                  ## 8-byte Reload
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r12,%r14,8), %rdx
	movq	_lower_bound@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	%rax, (%rsp)
	leaq	-48(%rbp), %rdi
	movl	%ebx, %esi
	leaq	-80(%rbp), %r8
	callq	_btree_lookup_raw
	testl	%eax, %eax
	jne	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-80(%rbp), %rax
	cmpq	(%r12,%r14,8), %rax
	jne	LBB0_6
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	-52(%rbp), %edi
	callq	_le64_to_cpu
	movl	%eax, %ebx
	incq	%r14
	movl	(%r15), %eax
	cmpq	%rax, %r14
	jb	LBB0_2
## %bb.9:
	xorl	%r13d, %r13d
	jmp	LBB0_10
LBB0_7:
	movl	%eax, %r13d
LBB0_10:
	leaq	-48(%rbp), %rdi
	callq	_exit_ro_spine
	jmp	LBB0_11
LBB0_6:
	leaq	-48(%rbp), %rdi
	callq	_exit_ro_spine
	xorl	%r13d, %r13d
	movq	_ENODATA@GOTPCREL(%rip), %rax
	subl	(%rax), %r13d
LBB0_11:
	movl	%r13d, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENODATA,4,2                    ## @ENODATA
	.comm	_lower_bound,4,2                ## @lower_bound
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dm_btree_lookup                ; -- Begin function dm_btree_lookup
	.p2align	2
_dm_btree_lookup:                       ; @dm_btree_lookup
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x3
	mov	x20, x2
	mov	x22, x1
	mov	x21, x0
	ldr	w25, [x0]
Lloh0:
	adrp	x23, _ENODATA@GOTPAGE
Lloh1:
	ldr	x23, [x23, _ENODATA@GOTPAGEOFF]
	ldr	w24, [x23]
	mov	x0, sp
	mov	x1, x21
	bl	_init_ro_spine
	ldr	w8, [x21]
	cbz	w8, LBB0_9
; %bb.1:
	mov	x24, #0
	sub	w25, w25, #1
Lloh2:
	adrp	x26, _lower_bound@GOTPAGE
Lloh3:
	ldr	x26, [x26, _lower_bound@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	cmp	x25, x24
	b.ne	LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x6, [x21, #8]
	mov	x5, x19
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_2 Depth=1
	add	x5, sp, #4
	mov	w6, #8
LBB0_5:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	x2, [x20, x24, lsl #3]
	ldr	w3, [x26]
	mov	x0, sp
	add	x4, sp, #8
	mov	x1, x22
	bl	_btree_lookup_raw
	cbnz	w0, LBB0_10
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [sp, #8]
	ldr	x9, [x20, x24, lsl #3]
	cmp	x8, x9
	b.ne	LBB0_12
; %bb.7:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w0, [sp, #4]
	bl	_le64_to_cpu
	mov	x22, x0
	add	x24, x24, #1
	ldr	w8, [x21]
	cmp	x24, x8
	b.lo	LBB0_2
; %bb.8:
	mov	w22, #0
	b	LBB0_11
LBB0_9:
	neg	w22, w24
	b	LBB0_11
LBB0_10:
	mov	x22, x0
LBB0_11:
	mov	x0, sp
	bl	_exit_ro_spine
	b	LBB0_13
LBB0_12:
	mov	x0, sp
	bl	_exit_ro_spine
	ldr	w8, [x23]
	neg	w22, w8
LBB0_13:
	mov	x0, x22
	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
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_ENODATA,4,2                    ; @ENODATA
	.comm	_lower_bound,4,2                ; @lower_bound
.subsections_via_symbols
