	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function find_key
_find_key:                              ## @find_key
	.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	%r8, %r15
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movl	%edx, %r12d
	movq	%rdi, %r13
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	%r13, %rdi
	callq	_ro_node
	movq	%rax, %rdi
	movl	%r14d, %esi
	callq	_value64
	movl	%eax, %esi
	movq	_INTERNAL_NODE@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_8
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	callq	_ro_step
	testl	%eax, %eax
	js	LBB0_10
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%r13, %rdi
	callq	_ro_node
	movl	12(%rax), %edi
	callq	_le32_to_cpu
	movl	%eax, %ebx
	movq	%r13, %rdi
	callq	_ro_node
	movl	8(%rax), %edi
	callq	_le32_to_cpu
	testl	%eax, %eax
	je	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	%eax, %r14d
	decl	%r14d
	movq	%r13, %rdi
	callq	_ro_node
	testl	%r12d, %r12d
	movq	(%rax), %rax
	cmovel	%r12d, %r14d
	movslq	%r14d, %rcx
	movl	(%rax,%rcx,4), %edi
	callq	_le64_to_cpu
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx)
	movq	%r15, %rax
	testq	%r15, %r15
	jne	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	_INTERNAL_NODE@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	jne	LBB0_7
## %bb.6:
	xorl	%eax, %eax
	jmp	LBB0_10
LBB0_3:
	movq	_ENODATA@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_10
LBB0_8:
	xorl	%eax, %eax
	testq	%r15, %r15
	je	LBB0_10
## %bb.9:
	movl	%esi, (%r15)
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENODATA,4,2                    ## @ENODATA
	.comm	_INTERNAL_NODE,4,2              ## @INTERNAL_NODE
	.no_dead_strip	_find_key
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function find_key
_find_key:                              ; @find_key
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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, x4
	mov	x20, x3
	mov	x21, x2
	mov	x22, x0
Lloh0:
	adrp	x25, _INTERNAL_NODE@GOTPAGE
Lloh1:
	ldr	x25, [x25, _INTERNAL_NODE@GOTPAGEOFF]
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x22
	bl	_ro_node
	mov	x1, x24
	bl	_value64
	mov	x1, x0
	ldr	w8, [x25]
	tst	w8, w23
	b.eq	LBB0_8
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	bl	_ro_step
	tbnz	w0, #31, LBB0_10
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x22
	bl	_ro_node
	ldr	w0, [x0, #12]
	bl	_le32_to_cpu
	mov	x23, x0
	mov	x0, x22
	bl	_ro_node
	ldr	w0, [x0, #8]
	bl	_le32_to_cpu
	cbz	w0, LBB0_7
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	sub	w24, w0, #1
	mov	x0, x22
	bl	_ro_node
	ldr	x8, [x0]
	cmp	w21, #0
	csel	w24, wzr, w24, eq
	ldr	w0, [x8, w24, sxtw #2]
	bl	_le64_to_cpu
	str	w0, [x20]
	cbnz	x19, LBB0_1
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [x25]
	tst	w8, w23
	b.ne	LBB0_1
; %bb.6:
	mov	w0, #0
	b	LBB0_10
LBB0_7:
Lloh2:
	adrp	x8, _ENODATA@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ENODATA@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_10
LBB0_8:
	mov	w0, #0
	cbz	x19, LBB0_10
; %bb.9:
	str	w1, [x19]
LBB0_10:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_ENODATA,4,2                    ; @ENODATA
	.comm	_INTERNAL_NODE,4,2              ; @INTERNAL_NODE
	.no_dead_strip	_find_key
.subsections_via_symbols
