	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_set_rlen                       ## -- Begin function set_rlen
	.p2align	4, 0x90
_set_rlen:                              ## @set_rlen
	.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	_CC@GOTPCREL(%rip), %r8
	movq	(%r8), %rax
	movl	(%rax), %edx
	testl	%edx, %edx
	jle	LBB0_3
## %bb.1:
	movq	_Rlen@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	_Rfirst@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rsi
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	$0, (%rcx,%rdi,8)
	movl	$-1, (%rsi,%rdi,4)
	incq	%rdi
	movslq	(%rax), %rdx
	cmpq	%rdx, %rdi
	jl	LBB0_2
LBB0_3:
	movq	_NEWS_UG_EXTENSION@GOTPCREL(%rip), %r9
	movq	(%r9), %rcx
	testq	%rcx, %rcx
	je	LBB0_5
## %bb.4:
	movl	%edx, %esi
	shrl	$31, %esi
	addl	%edx, %esi
	sarl	%esi
	movl	%esi, %edx
LBB0_5:
	movq	_split_factor@GOTPCREL(%rip), %r10
	movl	%edx, (%r10)
	movq	_QL@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r12d
	testl	%r12d, %r12d
	jle	LBB0_20
## %bb.6:
	leaq	(%r12,%r12,2), %r13
	addq	$-3, %r13
	leaq	-4(,%r12,4), %rbx
	movq	_NEWS_G_EXTENSION@GOTPCREL(%rip), %r11
	movq	_Q@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	leaq	-1(%r12), %r14
	movq	(%r11), %rdx
	orq	%rcx, %rdx
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	(%r15), %rax
	addq	%rbx, %rax
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_7 Depth=1
	movl	4(%rax), %eax
	andl	$15, %eax
	movl	$2, %ecx
	movq	_CLUSTER_MODE_THIRDINT@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %eax
	je	LBB0_14
## %bb.10:                              ##   in Loop: Header=BB0_7 Depth=1
	movl	$1, %ecx
	movq	_CLUSTER_MODE_SECONDINT@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %eax
	jne	LBB0_11
LBB0_14:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	(%r15), %rax
	addq	%r13, %rcx
	movl	(%rax,%rcx,4), %esi
	jmp	LBB0_15
LBB0_11:                                ##   in Loop: Header=BB0_7 Depth=1
	xorl	%edi, %edi
	movq	_CLUSTER_MODE_FIRSTINT@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	sete	%dil
	movq	%r9, %r15
	callq	_assert
	movq	_NEWS_G_EXTENSION@GOTPCREL(%rip), %r11
	movq	_split_factor@GOTPCREL(%rip), %r10
	movq	%r15, %r9
	movq	_Q@GOTPCREL(%rip), %r15
	movq	_CC@GOTPCREL(%rip), %r8
	leaq	(%r14,%r14,2), %rax
	shlq	$2, %rax
	addq	(%r15), %rax
	movq	(%r9), %rcx
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_7 Depth=1
	movl	(%rax), %esi
	testq	%rcx, %rcx
	je	LBB0_15
## %bb.13:                              ##   in Loop: Header=BB0_7 Depth=1
	movl	(%r10), %ecx
	movl	%esi, %eax
	cltd
	idivl	%ecx
	subl	%edx, %ecx
	testl	%esi, %esi
	cmovnsl	%edx, %ecx
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_7 Depth=1
	movl	%esi, %eax
	negl	%eax
	cmovsl	%esi, %eax
	cltd
	idivl	(%r10)
	movl	%edx, %ecx
LBB0_16:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	(%r8), %rax
	cmpl	(%rax), %ecx
	jge	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	_Rfirst@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movslq	%ecx, %rcx
	movl	(%rdx,%rcx,4), %esi
	movq	_QN@GOTPCREL(%rip), %rdi
	movq	(%rdi), %rdi
	movl	%esi, -4(%rdi,%r12,4)
	leal	-1(%r12), %esi
	movl	%esi, (%rdx,%rcx,4)
	movq	_Rlen@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	incq	(%rdx,%rcx,8)
LBB0_18:                                ##   in Loop: Header=BB0_7 Depth=1
	cmpq	$2, %r12
	jb	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	(%r9), %rcx
	addq	$-3, %r13
	addq	$-4, %rbx
	movq	%r14, %r12
	jmp	LBB0_7
LBB0_20:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CC,8,3                         ## @CC
	.comm	_Rlen,8,3                       ## @Rlen
	.comm	_Rfirst,8,3                     ## @Rfirst
	.comm	_NEWS_UG_EXTENSION,8,3          ## @NEWS_UG_EXTENSION
	.comm	_split_factor,4,2               ## @split_factor
	.comm	_QL,4,2                         ## @QL
	.comm	_NEWS_G_EXTENSION,8,3           ## @NEWS_G_EXTENSION
	.comm	_Q,8,3                          ## @Q
	.comm	_CLUSTER_MODE_THIRDINT,4,2      ## @CLUSTER_MODE_THIRDINT
	.comm	_CLUSTER_MODE_SECONDINT,4,2     ## @CLUSTER_MODE_SECONDINT
	.comm	_CLUSTER_MODE_FIRSTINT,4,2      ## @CLUSTER_MODE_FIRSTINT
	.comm	_QN,8,3                         ## @QN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_set_rlen                       ; -- Begin function set_rlen
	.p2align	2
_set_rlen:                              ; @set_rlen
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
Lloh0:
	adrp	x23, _CC@GOTPAGE
Lloh1:
	ldr	x23, [x23, _CC@GOTPAGEOFF]
	ldr	x8, [x23]
	ldr	w10, [x8]
Lloh2:
	adrp	x20, _Rlen@GOTPAGE
Lloh3:
	ldr	x20, [x20, _Rlen@GOTPAGEOFF]
Lloh4:
	adrp	x19, _Rfirst@GOTPAGE
Lloh5:
	ldr	x19, [x19, _Rfirst@GOTPAGEOFF]
	cmp	w10, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x9, #0
	ldr	x11, [x20]
	ldr	x12, [x19]
	mov	w13, #-1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	str	xzr, [x11, x9, lsl #3]
	str	w13, [x12, x9, lsl #2]
	add	x9, x9, #1
	ldrsw	x10, [x8]
	cmp	x9, x10
	b.lt	LBB0_2
LBB0_3:
Lloh6:
	adrp	x26, _NEWS_UG_EXTENSION@GOTPAGE
Lloh7:
	ldr	x26, [x26, _NEWS_UG_EXTENSION@GOTPAGEOFF]
	ldr	x9, [x26]
	cmp	w10, #0
	cinc	w11, w10, lt
	asr	w11, w11, #1
	cmp	x9, #0
Lloh8:
	adrp	x25, _split_factor@GOTPAGE
Lloh9:
	ldr	x25, [x25, _split_factor@GOTPAGEOFF]
	csel	w10, w10, w11, eq
	str	w10, [x25]
Lloh10:
	adrp	x10, _QL@GOTPAGE
Lloh11:
	ldr	x10, [x10, _QL@GOTPAGEOFF]
Lloh12:
	ldr	w28, [x10]
	cmp	w28, #1
	b.lt	LBB0_19
; %bb.4:
	add	x10, x28, x28, lsl #1
	sub	x24, x10, #3
	lsl	x10, x28, #2
Lloh13:
	adrp	x0, _NEWS_G_EXTENSION@GOTPAGE
Lloh14:
	ldr	x0, [x0, _NEWS_G_EXTENSION@GOTPAGEOFF]
Lloh15:
	adrp	x22, _Q@GOTPAGE
Lloh16:
	ldr	x22, [x22, _Q@GOTPAGEOFF]
Lloh17:
	adrp	x3, _QN@GOTPAGE
Lloh18:
	ldr	x3, [x3, _QN@GOTPAGEOFF]
Lloh19:
	adrp	x4, _CLUSTER_MODE_THIRDINT@GOTPAGE
Lloh20:
	ldr	x4, [x4, _CLUSTER_MODE_THIRDINT@GOTPAGEOFF]
	sub	x21, x10, #4
Lloh21:
	adrp	x5, _CLUSTER_MODE_SECONDINT@GOTPAGE
Lloh22:
	ldr	x5, [x5, _CLUSTER_MODE_SECONDINT@GOTPAGEOFF]
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	sub	x27, x28, #1
	ldr	x10, [x0]
	orr	x10, x9, x10
	cbz	x10, LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x22]
	add	x8, x8, x21
	ldr	w8, [x8]
	cbz	x9, LBB0_13
LBB0_7:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	w9, [x25]
	sdiv	w10, w8, w9
	msub	w10, w10, w9, w8
	sub	w9, w9, w10
	cmp	w8, #0
	csel	w9, w9, w10, lt
	b	LBB0_14
LBB0_8:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x8, #4]
	and	w8, w8, #0xf
	ldr	w9, [x4]
	cmp	w8, w9
	b.ne	LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	w8, #2
	b	LBB0_12
LBB0_10:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w9, [x5]
	cmp	w8, w9
	b.ne	LBB0_18
; %bb.11:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	w8, #1
LBB0_12:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x9, [x22]
	add	x8, x24, x8
	ldr	w8, [x9, x8, lsl #2]
LBB0_13:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	w8, #0
	cneg	w8, w8, mi
	ldr	w9, [x25]
	sdiv	w10, w8, w9
	msub	w9, w10, w9, w8
LBB0_14:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x23]
	ldr	w10, [x8]
	cmp	w9, w10
	b.ge	LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x10, [x19]
	sbfiz	x11, x9, #2, #32
	ldr	w12, [x10, x11]
	ldr	x13, [x3]
	add	x13, x13, x28, lsl #2
	stur	w12, [x13, #-4]
	sub	w12, w28, #1
	str	w12, [x10, x11]
	ldr	x10, [x20]
	sbfiz	x9, x9, #3, #32
	ldr	x11, [x10, x9]
	add	x11, x11, #1
	str	x11, [x10, x9]
LBB0_16:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	x28, #2
	b.lo	LBB0_19
; %bb.17:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x9, [x26]
	sub	x24, x24, #3
	sub	x21, x21, #4
	mov	x28, x27
	b	LBB0_5
LBB0_18:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh23:
	adrp	x9, _CLUSTER_MODE_FIRSTINT@GOTPAGE
Lloh24:
	ldr	x9, [x9, _CLUSTER_MODE_FIRSTINT@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
	cmp	w8, w9
	cset	w0, eq
	bl	_assert
Lloh26:
	adrp	x5, _CLUSTER_MODE_SECONDINT@GOTPAGE
Lloh27:
	ldr	x5, [x5, _CLUSTER_MODE_SECONDINT@GOTPAGEOFF]
Lloh28:
	adrp	x4, _CLUSTER_MODE_THIRDINT@GOTPAGE
Lloh29:
	ldr	x4, [x4, _CLUSTER_MODE_THIRDINT@GOTPAGEOFF]
Lloh30:
	adrp	x3, _QN@GOTPAGE
Lloh31:
	ldr	x3, [x3, _QN@GOTPAGEOFF]
Lloh32:
	adrp	x0, _NEWS_G_EXTENSION@GOTPAGE
Lloh33:
	ldr	x0, [x0, _NEWS_G_EXTENSION@GOTPAGEOFF]
	ldr	x8, [x22]
	mov	w9, #12
	madd	x8, x27, x9, x8
	ldr	x9, [x26]
	ldr	w8, [x8]
	cbnz	x9, LBB0_7
	b	LBB0_13
LBB0_19:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_CC,8,3                         ; @CC
	.comm	_Rlen,8,3                       ; @Rlen
	.comm	_Rfirst,8,3                     ; @Rfirst
	.comm	_NEWS_UG_EXTENSION,8,3          ; @NEWS_UG_EXTENSION
	.comm	_split_factor,4,2               ; @split_factor
	.comm	_QL,4,2                         ; @QL
	.comm	_NEWS_G_EXTENSION,8,3           ; @NEWS_G_EXTENSION
	.comm	_Q,8,3                          ; @Q
	.comm	_CLUSTER_MODE_THIRDINT,4,2      ; @CLUSTER_MODE_THIRDINT
	.comm	_CLUSTER_MODE_SECONDINT,4,2     ; @CLUSTER_MODE_SECONDINT
	.comm	_CLUSTER_MODE_FIRSTINT,4,2      ; @CLUSTER_MODE_FIRSTINT
	.comm	_QN,8,3                         ; @QN
.subsections_via_symbols
