	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tree_num_get_range             ## -- Begin function tree_num_get_range
	.p2align	4, 0x90
_tree_num_get_range:                    ## @tree_num_get_range
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rax
	movq	_NIL@GOTPCREL(%rip), %r12
	cmpq	%rdi, (%r12)
	je	LBB0_9
## %bb.1:
	movl	%ecx, %r14d
	movl	%edx, %r15d
	movq	%rdi, %rbx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	24(%rbx), %rdi
	movl	(%rdi), %ecx
	cmpl	%r15d, %ecx
	jl	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %rsi
	movl	%r15d, %edx
	movl	%r14d, %ecx
	callq	_tree_num_get_range
	movq	24(%rbx), %rcx
	movl	(%rcx), %ecx
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	incl	%ecx
	subl	%ecx, %r15d
	subl	%ecx, %r14d
	js	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	testl	%r15d, %r15d
	jg	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	20(%rbx), %ecx
	movl	%ecx, (%rax)
	movl	16(%rbx), %ecx
	movl	%ecx, 4(%rax)
	addq	$8, %rax
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	testl	%r14d, %r14d
	jle	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%rbx), %rbx
	cmpq	%rbx, (%r12)
	jne	LBB0_2
LBB0_9:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NIL,8,3                        ## @NIL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tree_num_get_range             ; -- Begin function tree_num_get_range
	.p2align	2
_tree_num_get_range:                    ; @tree_num_get_range
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
Lloh0:
	adrp	x22, _NIL@GOTPAGE
Lloh1:
	ldr	x22, [x22, _NIL@GOTPAGEOFF]
	ldr	x8, [x22]
	cmp	x8, x0
	b.eq	LBB0_9
; %bb.1:
	mov	x19, x3
	mov	x20, x2
	mov	x21, x0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x21, #24]
	ldr	w8, [x0]
	cmp	w8, w20
	b.lt	LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x2, x20
	mov	x3, x19
	bl	_tree_num_get_range
	mov	x1, x0
	ldr	x8, [x21, #24]
	ldr	w8, [x8]
LBB0_4:                                 ;   in Loop: Header=BB0_2 Depth=1
	add	w8, w8, #1
	sub	w20, w20, w8
	subs	w19, w19, w8
	b.mi	LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	w20, #0
	b.gt	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [x21, #20]
	str	w8, [x1]
	ldr	w8, [x21, #16]
	str	w8, [x1, #4]
	add	x1, x1, #8
LBB0_7:                                 ;   in Loop: Header=BB0_2 Depth=1
	cmp	w19, #1
	b.lt	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x21, [x21, #8]
	ldr	x8, [x22]
	cmp	x8, x21
	b.ne	LBB0_2
LBB0_9:
	mov	x0, x1
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_NIL,8,3                        ; @NIL
.subsections_via_symbols
