	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function listree_get_range_rec
_listree_get_range_rec:                 ## @listree_get_range_rec
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $edx killed $edx def $rdx
	cmpl	%ecx, %edx
	jg	LBB0_11
## %bb.1:
	movq	%rsi, %r15
	movq	%rdi, %r13
	movq	_NIL@GOTPCREL(%rip), %rbx
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	cmpq	%r13, (%rbx)
	je	LBB0_3
	.p2align	4, 0x90
LBB0_6:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r15, %r14
	movl	(%r15), %ebx
	movq	%r13, %rdi
	callq	_NODE_RPOS
	subl	%eax, %ebx
	movq	16(%r13), %rax
	addl	(%rax), %ebx
	movq	%r13, %rdi
	callq	_NODE_TYPE
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	_TF_MINUS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	16(%r13), %rax
	movl	(%rax), %r12d
	movq	_rpos_to_delta@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	movq	%r13, %rdi
	callq	_NODE_TYPE
	cmpl	-44(%rbp), %ebx                 ## 4-byte Folded Reload
	jle	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=2
	movq	16(%r13), %r13
	movq	_NIL@GOTPCREL(%rip), %rax
	cmpq	%r13, (%rax)
	movq	%r14, %r15
	jne	LBB0_6
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	xorl	%esi, %esi
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	cmpq	%rcx, -80(%rbp)                 ## 8-byte Folded Reload
	setne	%sil
	addl	%ebx, %esi
	addl	(%r15,%rax,4), %r12d
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	cmpl	%edx, %esi
	movl	%r12d, %ecx
	jle	LBB0_9
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	%esi, -48(%rbp)                 ## 4-byte Spill
	movl	%ecx, -52(%rbp)                 ## 4-byte Spill
	movq	16(%r13), %rdi
	decl	%ebx
	movq	%r14, %r15
	movq	%r14, %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	movl	%ebx, %ecx
	callq	_listree_get_range_rec
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	cmpq	%rax, -80(%rbp)                 ## 8-byte Folded Reload
	movl	-44(%rbp), %r12d                ## 4-byte Reload
	movq	_NIL@GOTPCREL(%rip), %rbx
	je	LBB0_13
## %bb.14:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %rdi
	callq	_in_tree
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	%edx, %esi
	movl	-44(%rbp), %r12d                ## 4-byte Reload
	movq	%r14, %r15
	movq	_NIL@GOTPCREL(%rip), %rbx
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	%r12d, %eax
	subl	%ecx, %eax
	movl	%esi, %edx
	subl	%ecx, %edx
	movq	8(%r13), %r13
	cmpl	%r12d, %esi
	movl	%eax, %ecx
	jle	LBB0_2
	jmp	LBB0_11
LBB0_3:
	movl	-44(%rbp), %r14d                ## 4-byte Reload
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	cmpl	%r14d, %esi
	jg	LBB0_11
## %bb.4:
	incl	%r14d
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	leal	1(%rsi), %ebx
	movq	%r15, %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_in_array
	movl	%ebx, %esi
	cmpl	%ebx, %r14d
	jne	LBB0_5
LBB0_11:
	movl	$1, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NIL,8,3                        ## @NIL
	.comm	_TF_MINUS,8,3                   ## @TF_MINUS
	.comm	_rpos_to_delta,8,3              ## @rpos_to_delta
	.no_dead_strip	_listree_get_range_rec
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function listree_get_range_rec
_listree_get_range_rec:                 ; @listree_get_range_rec
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	cmp	w2, w3
	b.gt	LBB0_14
; %bb.1:
	mov	x20, x3
	mov	x22, x2
	mov	x19, x1
	mov	x21, x0
Lloh0:
	adrp	x24, _NIL@GOTPAGE
Lloh1:
	ldr	x24, [x24, _NIL@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x24]
	cmp	x8, x21
	b.eq	LBB0_11
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w23, [x19]
	mov	x0, x21
	bl	_NODE_RPOS
	ldr	x8, [x21, #16]
	ldr	w8, [x8]
	sub	w9, w23, w0
	add	w25, w8, w9
	mov	x0, x21
	bl	_NODE_TYPE
	mov	x23, x0
Lloh2:
	adrp	x8, _TF_MINUS@GOTPAGE
Lloh3:
	ldr	x8, [x8, _TF_MINUS@GOTPAGEOFF]
Lloh4:
	ldr	x28, [x8]
	ldr	x8, [x21, #16]
	ldr	w27, [x8]
Lloh5:
	adrp	x8, _rpos_to_delta@GOTPAGE
Lloh6:
	ldr	x8, [x8, _rpos_to_delta@GOTPAGEOFF]
Lloh7:
	ldr	x26, [x8]
	mov	x0, x21
	bl	_NODE_TYPE
	cmp	w25, w20
	b.le	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x21, [x21, #16]
	b	LBB0_2
LBB0_5:                                 ;   in Loop: Header=BB0_2 Depth=1
	cmp	x23, x28
	cinc	w8, w25, ne
	ldr	w9, [x26, x0, lsl #2]
	cmp	w8, w22
	b.le	LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
	str	w9, [sp, #12]                   ; 4-byte Folded Spill
	mov	x26, x8
	ldr	x0, [x21, #16]
	sub	w3, w25, #1
	mov	x1, x19
	mov	x2, x22
	bl	_listree_get_range_rec
	cmp	x23, x28
	b.eq	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x21
	bl	_in_tree
LBB0_8:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	w9, [sp, #12]                   ; 4-byte Folded Reload
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	x26, x22
LBB0_10:                                ;   in Loop: Header=BB0_2 Depth=1
	add	w8, w9, w27
	sub	w9, w20, w8
	sub	w22, w26, w8
	ldr	x21, [x21, #8]
	cmp	w26, w20
	mov	x20, x9
	b.le	LBB0_2
	b	LBB0_14
LBB0_11:
	cmp	w22, w20
	b.gt	LBB0_14
; %bb.12:
	add	w20, w20, #1
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	add	w21, w22, #1
	mov	x0, x19
	mov	x1, x22
	bl	_in_array
	mov	x22, x21
	cmp	w20, w21
	b.ne	LBB0_13
LBB0_14:
	mov	w0, #1
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_NIL,8,3                        ; @NIL
	.comm	_TF_MINUS,8,3                   ; @TF_MINUS
	.comm	_rpos_to_delta,8,3              ; @rpos_to_delta
	.no_dead_strip	_listree_get_range_rec
.subsections_via_symbols
