	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function unravel
_unravel:                               ## @unravel
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	.cfi_offset %rbx, -24
	movq	_len@GOTPCREL(%rip), %rax
	movq	(%rax), %r11
	movl	(%r11), %esi
	testl	%esi, %esi
	js	LBB0_6
## %bb.1:
	movq	_J@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r10
	xorl	%edx, %edx
	movq	_pref@GOTPCREL(%rip), %r8
	movq	_suff@GOTPCREL(%rip), %r9
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	%ecx, (%r10,%rdx,4)
	leaq	1(%rdx), %rax
	movslq	(%r11), %rsi
	cmpq	%rsi, %rdx
	movq	%rax, %rdx
	jge	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movslq	(%r8), %rax
	movl	%edx, %ecx
	cmpq	%rax, %rdx
	jle	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movslq	(%r9), %rax
	movslq	%esi, %rbx
	subq	%rax, %rbx
	xorl	%ecx, %ecx
	cmpq	%rbx, %rdx
	jle	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	4(%r11), %ecx
	subl	%esi, %ecx
	addl	%edx, %ecx
	jmp	LBB0_5
LBB0_6:
	movq	_clist@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%edi, %rcx
	movq	%rcx, %rdx
	shlq	$4, %rdx
	movq	(%rax,%rdx), %rdx
	testq	%rdx, %rdx
	je	LBB0_9
## %bb.7:
	movq	_J@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	movq	_pref@GOTPCREL(%rip), %r8
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movslq	(%r8), %rbx
	addl	%ebx, %edx
	shlq	$4, %rcx
	movslq	12(%rax,%rcx), %rdi
	addq	%rbx, %rdi
	movl	%edx, (%rsi,%rdi,4)
	movslq	8(%rax,%rcx), %rcx
	movq	%rcx, %rdx
	shlq	$4, %rdx
	movq	(%rax,%rdx), %rdx
	testq	%rdx, %rdx
	jne	LBB0_8
LBB0_9:
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_len,8,3                        ## @len
	.comm	_pref,4,2                       ## @pref
	.comm	_suff,4,2                       ## @suff
	.comm	_J,8,3                          ## @J
	.comm	_clist,8,3                      ## @clist
	.no_dead_strip	_unravel
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function unravel
_unravel:                               ; @unravel
	.cfi_startproc
; %bb.0:
                                        ; kill: def $w0 killed $w0 def $x0
Lloh0:
	adrp	x8, _len@GOTPAGE
Lloh1:
	ldr	x8, [x8, _len@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x8]
	ldr	w14, [x10]
Lloh3:
	adrp	x9, _J@GOTPAGE
Lloh4:
	ldr	x9, [x9, _J@GOTPAGEOFF]
Lloh5:
	adrp	x8, _pref@GOTPAGE
Lloh6:
	ldr	x8, [x8, _pref@GOTPAGEOFF]
	tbnz	w14, #31, LBB0_7
; %bb.1:
	mov	x11, #0
	ldr	x12, [x9]
Lloh7:
	adrp	x13, _suff@GOTPAGE
Lloh8:
	ldr	x13, [x13, _suff@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w15, [x10, #4]
	sub	w14, w15, w14
	add	w15, w11, w14
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	str	w15, [x12, x11, lsl #2]
	add	x15, x11, #1
	ldrsw	x14, [x10]
	cmp	x11, x14
	mov	x11, x15
	b.ge	LBB0_7
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldrsw	x16, [x8]
	mov	x15, x11
	cmp	x11, x16
	b.le	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldrsw	x15, [x13]
	mov	x16, x14
	sxtw	x16, w16
	sub	x15, x16, x15
	cmp	x11, x15
	b.gt	LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w15, #0
	b	LBB0_3
LBB0_7:
Lloh9:
	adrp	x10, _clist@GOTPAGE
Lloh10:
	ldr	x10, [x10, _clist@GOTPAGEOFF]
Lloh11:
	ldr	x10, [x10]
	sbfiz	x11, x0, #4, #32
	ldr	x11, [x10, x11]
	cbz	x11, LBB0_10
; %bb.8:
	sxtw	x12, w0
	ldr	x9, [x9]
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w13, [x8]
	add	w11, w13, w11
	add	x12, x10, x12, lsl #4
	ldr	w14, [x12, #12]
	add	w13, w14, w13
	str	w11, [x9, w13, sxtw #2]
	ldrsw	x12, [x12, #8]
	lsl	x11, x12, #4
	ldr	x11, [x10, x11]
	cbnz	x11, LBB0_9
LBB0_10:
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_len,8,3                        ; @len
	.comm	_pref,4,2                       ; @pref
	.comm	_suff,4,2                       ; @suff
	.comm	_J,8,3                          ; @J
	.comm	_clist,8,3                      ; @clist
	.no_dead_strip	_unravel
.subsections_via_symbols
