	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_listree_get_range_rec_rev      ## -- Begin function listree_get_range_rec_rev
	.p2align	4, 0x90
_listree_get_range_rec_rev:             ## @listree_get_range_rec_rev
	.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
	movl	%ecx, %r13d
	movl	$1, %eax
	cmpl	%r8d, %ecx
	jg	LBB0_6
## %bb.1:
	movl	%r8d, %r12d
	movl	%edx, %ebx
	movq	%rdi, %rcx
	movq	_NIL@GOTPCREL(%rip), %rdx
	movq	_TF_MINUS@GOTPCREL(%rip), %r10
	movq	_y_to_delta@GOTPCREL(%rip), %r11
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_3 Depth 2
	movq	(%rdx), %rax
	.p2align	4, 0x90
LBB0_3:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpq	%rsi, %rax
	je	LBB0_4
## %bb.27:                              ##   in Loop: Header=BB0_3 Depth=2
	movq	%rsi, %r14
	movl	%ebx, %r8d
	subl	(%rsi), %r8d
	movq	24(%rsi), %rsi
	movl	4(%rsi), %r15d
	addl	%r15d, %r8d
	cmpl	%r12d, %r8d
	jg	LBB0_3
## %bb.28:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movl	8(%r14), %ecx
	andl	$3, %ecx
	movl	(%r10), %r9d
	xorl	%edi, %edi
	cmpl	%r9d, %ecx
	setne	%dil
	addl	%r8d, %edi
	movq	(%r11), %rax
	addl	(%rax,%rcx,4), %r15d
	cmpl	%r13d, %edi
	jle	LBB0_29
## %bb.31:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	%r9d, -60(%rbp)                 ## 4-byte Spill
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movl	%edi, -44(%rbp)                 ## 4-byte Spill
	decl	%r8d
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%ebx, %edx
	movl	%r13d, %ecx
	callq	_listree_get_range_rec_rev
	testl	%eax, %eax
	js	LBB0_5
## %bb.32:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	-60(%rbp), %eax                 ## 4-byte Reload
	cmpl	%eax, -72(%rbp)                 ## 4-byte Folded Reload
	je	LBB0_33
## %bb.34:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	12(%r14), %eax
	movq	_RA@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rcx
	leaq	-4(%rcx), %rdx
	movq	%rdx, (%rsi)
	movl	%eax, -4(%rcx)
LBB0_33:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	_NIL@GOTPCREL(%rip), %rdx
	movq	_TF_MINUS@GOTPCREL(%rip), %r10
	movq	_y_to_delta@GOTPCREL(%rip), %r11
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	jmp	LBB0_30
	.p2align	4, 0x90
LBB0_29:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	%r13d, %edi
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
LBB0_30:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	%r12d, %eax
	subl	%r15d, %eax
	movl	%edi, %r13d
	subl	%r15d, %r13d
	movq	16(%r14), %rsi
	cmpl	%r12d, %edi
	movl	%eax, %r12d
	jle	LBB0_2
	jmp	LBB0_26
LBB0_4:
	xorl	%edi, %edi
	cmpl	%r13d, %r12d
	setge	%dil
	movq	%rcx, %rbx
	callq	_assert
	testq	%rbx, %rbx
	je	LBB0_5
## %bb.7:
	movl	%r12d, %r10d
	subl	%r13d, %r10d
	jl	LBB0_26
## %bb.8:
	movq	%rbx, %rdx
	movq	_RA@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%r13d, %rcx
	cmpl	$7, %r10d
	jb	LBB0_20
## %bb.9:
	leaq	(%rcx,%r10), %rsi
	movq	%r10, %rdi
	notq	%rdi
	leaq	(%rax,%rdi,4), %rdi
	leaq	(%rdx,%rsi,4), %rsi
	addq	$4, %rsi
	cmpq	%rsi, %rdi
	jae	LBB0_11
## %bb.10:
	leaq	(%rdx,%rcx,4), %rsi
	cmpq	%rax, %rsi
	jb	LBB0_20
LBB0_11:
	incq	%r10
	movq	%r10, %r8
	andq	$-8, %r8
	leaq	-8(%r8), %rsi
	movq	%rsi, %r9
	shrq	$3, %r9
	incq	%r9
	testq	%rsi, %rsi
	je	LBB0_12
## %bb.13:
	movq	%r9, %rdi
	andq	$-2, %rdi
	leaq	(%rdx,%rcx,4), %rsi
	addq	$48, %rsi
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movdqu	-48(%rsi), %xmm0
	movdqu	-32(%rsi), %xmm1
	pshufd	$27, %xmm0, %xmm0               ## xmm0 = xmm0[3,2,1,0]
	movdqu	%xmm0, -16(%rax,%rbx,4)
	pshufd	$27, %xmm1, %xmm0               ## xmm0 = xmm1[3,2,1,0]
	movdqu	%xmm0, -32(%rax,%rbx,4)
	movdqu	-16(%rsi), %xmm0
	movdqu	(%rsi), %xmm1
	pshufd	$27, %xmm0, %xmm0               ## xmm0 = xmm0[3,2,1,0]
	movdqu	%xmm0, -48(%rax,%rbx,4)
	pshufd	$27, %xmm1, %xmm0               ## xmm0 = xmm1[3,2,1,0]
	movdqu	%xmm0, -64(%rax,%rbx,4)
	addq	$64, %rsi
	addq	$-16, %rbx
	addq	$-2, %rdi
	jne	LBB0_14
## %bb.15:
	negq	%rbx
	jmp	LBB0_16
LBB0_5:
	movl	$-2, %eax
	jmp	LBB0_6
LBB0_12:
	xorl	%ebx, %ebx
LBB0_16:
	leaq	(,%r8,4), %rsi
	testb	$1, %r9b
	je	LBB0_18
## %bb.17:
	leaq	(,%rbx,4), %r9
	movq	%rax, %rdi
	subq	%r9, %rdi
	addq	%rcx, %rbx
	movdqu	(%rdx,%rbx,4), %xmm0
	movdqu	16(%rdx,%rbx,4), %xmm1
	pshufd	$27, %xmm0, %xmm0               ## xmm0 = xmm0[3,2,1,0]
	movdqu	%xmm0, -16(%rdi)
	pshufd	$27, %xmm1, %xmm0               ## xmm0 = xmm1[3,2,1,0]
	movdqu	%xmm0, -32(%rdi)
LBB0_18:
	subq	%rsi, %rax
	cmpq	%r8, %r10
	je	LBB0_25
## %bb.19:
	addq	%r8, %rcx
LBB0_20:
	leal	1(%r12), %ebx
	movl	%ebx, %esi
	subl	%ecx, %esi
	subl	%ecx, %r12d
	andl	$7, %esi
	je	LBB0_22
	.p2align	4, 0x90
LBB0_21:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rdx,%rcx,4), %edi
	incq	%rcx
	movl	%edi, -4(%rax)
	addq	$-4, %rax
	decl	%esi
	jne	LBB0_21
LBB0_22:
	cmpl	$7, %r12d
	jb	LBB0_25
## %bb.23:
	movl	%ebx, %edi
	.p2align	4, 0x90
LBB0_24:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rdx,%rcx,4), %esi
	movl	%esi, -4(%rax)
	movl	4(%rdx,%rcx,4), %esi
	movl	%esi, -8(%rax)
	movl	8(%rdx,%rcx,4), %esi
	movl	%esi, -12(%rax)
	movl	12(%rdx,%rcx,4), %esi
	movl	%esi, -16(%rax)
	movl	16(%rdx,%rcx,4), %esi
	movl	%esi, -20(%rax)
	movl	20(%rdx,%rcx,4), %esi
	movl	%esi, -24(%rax)
	movl	24(%rdx,%rcx,4), %esi
	movl	%esi, -28(%rax)
	movl	28(%rdx,%rcx,4), %esi
	addq	$8, %rcx
	movl	%esi, -32(%rax)
	addq	$-32, %rax
	cmpl	%ecx, %edi
	jne	LBB0_24
LBB0_25:
	movq	_RA@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
LBB0_26:
	movl	$1, %eax
LBB0_6:
	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	_RA,8,3                         ## @RA
	.comm	_TF_MINUS,4,2                   ## @TF_MINUS
	.comm	_y_to_delta,8,3                 ## @y_to_delta
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_listree_get_range_rec_rev      ; -- Begin function listree_get_range_rec_rev
	.p2align	2
_listree_get_range_rec_rev:             ; @listree_get_range_rec_rev
	.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	w3, w4
	b.gt	LBB0_22
; %bb.1:
	mov	x19, x4
	mov	x22, x3
	mov	x21, x2
	mov	x20, x0
Lloh0:
	adrp	x25, _NIL@GOTPAGE
Lloh1:
	ldr	x25, [x25, _NIL@GOTPAGEOFF]
Lloh2:
	adrp	x11, _TF_MINUS@GOTPAGE
Lloh3:
	ldr	x11, [x11, _TF_MINUS@GOTPAGEOFF]
Lloh4:
	adrp	x12, _y_to_delta@GOTPAGE
Lloh5:
	ldr	x12, [x12, _y_to_delta@GOTPAGEOFF]
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_3 Depth 2
	ldr	x9, [x25]
LBB0_3:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	cmp	x9, x1
	b.eq	LBB0_12
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=2
	mov	x27, x1
	ldr	w8, [x1]
	ldr	x1, [x1, #24]
	ldr	w28, [x1, #4]
	sub	w8, w21, w8
	add	w8, w28, w8
	cmp	w8, w19
	b.gt	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w9, [x27, #8]
	and	x26, x9, #0x3
	ldr	w24, [x11]
	cmp	w26, w24
	cinc	w23, w8, ne
	ldr	x9, [x12]
	ldr	w9, [x9, x26, lsl #2]
	cmp	w23, w22
	b.le	LBB0_10
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
	str	w9, [sp, #12]                   ; 4-byte Folded Spill
	mov	x0, x20
	sub	w4, w8, #1
	mov	x2, x21
	mov	x3, x22
	bl	_listree_get_range_rec_rev
	tbnz	w0, #31, LBB0_24
; %bb.7:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	w26, w24
	b.eq	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [x27, #12]
Lloh6:
	adrp	x10, _RA@GOTPAGE
Lloh7:
	ldr	x10, [x10, _RA@GOTPAGEOFF]
	ldr	x9, [x10]
	str	w8, [x9, #-4]!
	str	x9, [x10]
LBB0_9:                                 ;   in Loop: Header=BB0_2 Depth=1
Lloh8:
	adrp	x11, _TF_MINUS@GOTPAGE
Lloh9:
	ldr	x11, [x11, _TF_MINUS@GOTPAGEOFF]
Lloh10:
	adrp	x12, _y_to_delta@GOTPAGE
Lloh11:
	ldr	x12, [x12, _y_to_delta@GOTPAGEOFF]
	ldr	w9, [sp, #12]                   ; 4-byte Folded Reload
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x23, x22
LBB0_11:                                ;   in Loop: Header=BB0_2 Depth=1
	add	w8, w9, w28
	sub	w9, w19, w8
	sub	w22, w23, w8
	ldr	x1, [x27, #16]
	mov	w0, #1
	cmp	w23, w19
	mov	x19, x9
	b.le	LBB0_2
	b	LBB0_23
LBB0_12:
	cmp	w19, w22
	cset	w0, ge
	bl	_assert
	cbz	x20, LBB0_24
; %bb.13:
	subs	w9, w19, w22
	b.lt	LBB0_22
; %bb.14:
Lloh12:
	adrp	x15, _RA@GOTPAGE
Lloh13:
	ldr	x15, [x15, _RA@GOTPAGEOFF]
	ldr	x10, [x15]
	sxtw	x8, w22
	cmp	w9, #15
	b.lo	LBB0_19
; %bb.15:
	mvn	x11, x9
	add	x11, x10, x11, lsl #2
	add	x13, x20, x8, lsl #2
	add	x12, x8, x9
	add	x12, x20, x12, lsl #2
	add	x12, x12, #4
	cmp	x11, x12
	ccmp	x13, x10, #2, lo
	b.lo	LBB0_19
; %bb.16:
	add	x11, x9, #1
	and	x12, x11, #0x1fffffff0
	add	x8, x12, x8
	sub	x9, x10, x12, lsl #2
	add	x13, x13, #32
	sub	x10, x10, #32
	mov	x14, x12
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	ldp	q0, q1, [x13, #-32]
	ldp	q2, q3, [x13], #64
	rev64.4s	v0, v0
	ext.16b	v0, v0, v0, #8
	rev64.4s	v1, v1
	ext.16b	v1, v1, v1, #8
	stp	q1, q0, [x10]
	rev64.4s	v0, v2
	ext.16b	v0, v0, v0, #8
	rev64.4s	v1, v3
	ext.16b	v1, v1, v1, #8
	stp	q1, q0, [x10, #-32]
	sub	x10, x10, #64
	sub	x14, x14, #16
	cbnz	x14, LBB0_17
; %bb.18:
	mov	x10, x9
	cmp	x11, x12
	b.eq	LBB0_21
LBB0_19:
	add	x11, x20, x8, lsl #2
	sub	w8, w19, w8
	add	w8, w8, #1
	mov	x9, x10
LBB0_20:                                ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x11], #4
	str	w10, [x9, #-4]!
	subs	w8, w8, #1
	b.ne	LBB0_20
LBB0_21:
	str	x9, [x15]
LBB0_22:
	mov	w0, #1
LBB0_23:
	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
LBB0_24:
	mov	w0, #-2
	b	LBB0_23
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_NIL,8,3                        ; @NIL
	.comm	_RA,8,3                         ; @RA
	.comm	_TF_MINUS,4,2                   ; @TF_MINUS
	.comm	_y_to_delta,8,3                 ; @y_to_delta
.subsections_via_symbols
