	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tree_num_lookup
_tree_num_lookup:                       ## @tree_num_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	%rdi, %rax
	movq	_NIL@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	%rdi, %rcx
	je	LBB0_4
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	%esi, (%rax)
	je	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	setg	%dl
	movzbl	%dl, %edx
	movq	8(%rax,%rdx,8), %rax
	cmpq	%rcx, %rax
	jne	LBB0_1
## %bb.3:
	movq	%rcx, %rax
LBB0_4:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NIL,8,3                        ## @NIL
	.no_dead_strip	_tree_num_lookup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tree_num_lookup
_tree_num_lookup:                       ; @tree_num_lookup
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _NIL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NIL@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x0
	b.eq	LBB0_5
; %bb.1:
	mov	w9, #8
	mov	w10, #16
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x0]
	cmp	w11, w1
	b.eq	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	csel	x11, x10, x9, gt
	ldr	x0, [x0, x11]
	cmp	x0, x8
	b.ne	LBB0_2
; %bb.4:
	mov	x0, x8
LBB0_5:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_NIL,8,3                        ; @NIL
	.no_dead_strip	_tree_num_lookup
.subsections_via_symbols
