	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function r_steps8
_r_steps8:                              ## @r_steps8
	.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	%rdi, %rbx
	movl	4(%rdi), %eax
	movl	%eax, (%rdi)
	movq	_a_23@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$8, %edx
	callq	_find_among_b
	testl	%eax, %eax
	je	LBB0_10
## %bb.1:
	movl	4(%rbx), %eax
	movl	%eax, 8(%rbx)
	movq	%rbx, %rdi
	callq	_slice_del
	movl	%eax, %r14d
	testl	%eax, %eax
	js	LBB0_20
## %bb.2:
	movq	32(%rbx), %rax
	movq	$0, (%rax)
	movl	4(%rbx), %r12d
	movl	12(%rbx), %r15d
	movl	%r12d, (%rbx)
	movq	_a_21@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$33, %edx
	callq	_find_among_b
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movl	4(%rbx), %eax
	movl	%eax, 8(%rbx)
	cmpl	16(%rbx), %eax
	jle	LBB0_11
LBB0_4:
	subl	%r12d, %r15d
	movl	12(%rbx), %eax
	subl	%r15d, %eax
	movl	%eax, 4(%rbx)
	movl	%eax, (%rbx)
	movq	_a_22@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$15, %edx
	callq	_find_among_b
	testl	%eax, %eax
	je	LBB0_6
## %bb.5:
	movl	4(%rbx), %eax
	movl	%eax, 8(%rbx)
	cmpl	16(%rbx), %eax
	jle	LBB0_15
LBB0_6:
	movl	12(%rbx), %eax
	subl	%r15d, %eax
	movl	%eax, 4(%rbx)
	movl	%eax, (%rbx)
	movq	_s_60@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	$6, %esi
	callq	_eq_s_b
	testl	%eax, %eax
	je	LBB0_18
## %bb.7:
	movl	4(%rbx), %eax
	movl	%eax, 8(%rbx)
	movq	24(%rbx), %rax
	movq	(%rax), %rsi
	movq	%rbx, %rdi
	callq	_slice_to
	movq	24(%rbx), %rcx
	movq	%rax, (%rcx)
	testq	%rax, %rax
	je	LBB0_19
## %bb.8:
	movq	_s_61@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	$6, %esi
	callq	_slice_from_s
	testl	%eax, %eax
	js	LBB0_14
## %bb.9:
	movl	4(%rbx), %r15d
	movq	24(%rbx), %rax
	movq	(%rax), %rcx
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movl	%r15d, %edx
	callq	_insert_v
	movl	%eax, %ecx
	movl	%r15d, 4(%rbx)
	movl	$1, %eax
	testl	%ecx, %ecx
	cmovsl	%ecx, %r14d
	jns	LBB0_21
	jmp	LBB0_20
LBB0_10:
	xorl	%eax, %eax
	jmp	LBB0_21
LBB0_11:
	movq	24(%rbx), %rax
	movq	(%rax), %rsi
	movq	%rbx, %rdi
	callq	_slice_to
	movq	24(%rbx), %rcx
	movq	%rax, (%rcx)
	testq	%rax, %rax
	je	LBB0_19
## %bb.12:
	movq	_s_58@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	$4, %esi
	jmp	LBB0_13
LBB0_15:
	movq	24(%rbx), %rax
	movq	(%rax), %rsi
	movq	%rbx, %rdi
	callq	_slice_to
	movq	24(%rbx), %rcx
	movq	%rax, (%rcx)
	testq	%rax, %rax
	je	LBB0_19
## %bb.16:
	movq	_s_59@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	$6, %esi
LBB0_13:
	callq	_slice_from_s
	testl	%eax, %eax
	js	LBB0_14
## %bb.17:
	movl	4(%rbx), %r15d
	movq	24(%rbx), %rax
	movq	(%rax), %rcx
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movl	%r15d, %edx
	callq	_insert_v
	movl	%eax, %r14d
	movl	%r15d, 4(%rbx)
	movl	$1, %eax
	testl	%r14d, %r14d
	jns	LBB0_21
	jmp	LBB0_20
LBB0_19:
	movl	$-1, %r14d
	jmp	LBB0_20
LBB0_14:
	movl	%eax, %r14d
	jmp	LBB0_20
LBB0_18:
	xorl	%r14d, %r14d
LBB0_20:
	movl	%r14d, %eax
LBB0_21:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_a_23,4,2                       ## @a_23
	.comm	_a_21,4,2                       ## @a_21
	.comm	_s_58,4,2                       ## @s_58
	.comm	_a_22,4,2                       ## @a_22
	.comm	_s_59,4,2                       ## @s_59
	.comm	_s_60,4,2                       ## @s_60
	.comm	_s_61,4,2                       ## @s_61
	.no_dead_strip	_r_steps8
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function r_steps8
_r_steps8:                              ; @r_steps8
	.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
	mov	x19, x0
	ldr	w8, [x0, #4]
	str	w8, [x0]
Lloh0:
	adrp	x8, _a_23@GOTPAGE
Lloh1:
	ldr	x8, [x8, _a_23@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w2, #8
	bl	_find_among_b
	cbz	w0, LBB0_10
; %bb.1:
	ldr	w8, [x19, #4]
	str	w8, [x19, #8]
	mov	x0, x19
	bl	_slice_del
	mov	x20, x0
	tbnz	w0, #31, LBB0_19
; %bb.2:
	ldr	x8, [x19, #32]
	str	xzr, [x8]
	ldr	w21, [x19, #12]
	ldr	w22, [x19, #4]
	str	w22, [x19]
Lloh3:
	adrp	x8, _a_21@GOTPAGE
Lloh4:
	ldr	x8, [x8, _a_21@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #33
	bl	_find_among_b
	cbz	w0, LBB0_4
; %bb.3:
	ldr	w8, [x19, #4]
	str	w8, [x19, #8]
	ldr	w9, [x19, #16]
	cmp	w8, w9
	b.le	LBB0_11
LBB0_4:
	ldr	w8, [x19, #12]
	sub	w21, w21, w22
	sub	w8, w8, w21
	stp	w8, w8, [x19]
Lloh6:
	adrp	x8, _a_22@GOTPAGE
Lloh7:
	ldr	x8, [x8, _a_22@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #15
	bl	_find_among_b
	cbz	w0, LBB0_6
; %bb.5:
	ldr	w8, [x19, #4]
	str	w8, [x19, #8]
	ldr	w9, [x19, #16]
	cmp	w8, w9
	b.le	LBB0_13
LBB0_6:
	ldr	w8, [x19, #12]
	sub	w8, w8, w21
	stp	w8, w8, [x19]
Lloh9:
	adrp	x8, _s_60@GOTPAGE
Lloh10:
	ldr	x8, [x8, _s_60@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #6
	bl	_eq_s_b
	cbz	w0, LBB0_10
; %bb.7:
	ldr	w8, [x19, #4]
	str	w8, [x19, #8]
	ldr	x8, [x19, #24]
	ldr	x1, [x8]
	mov	x0, x19
	bl	_slice_to
	ldr	x8, [x19, #24]
	str	x0, [x8]
	cbz	x0, LBB0_17
; %bb.8:
Lloh12:
	adrp	x8, _s_61@GOTPAGE
Lloh13:
	ldr	x8, [x8, _s_61@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #6
	bl	_slice_from_s
	tbnz	w0, #31, LBB0_18
; %bb.9:
	ldr	w21, [x19, #4]
	ldr	x8, [x19, #24]
	ldr	x3, [x8]
	mov	x0, x19
	mov	x1, x21
	mov	x2, x21
	bl	_insert_v
	str	w21, [x19, #4]
	cmp	w0, #0
	csel	w20, w0, w20, lt
	tbz	w0, #31, LBB0_16
	b	LBB0_19
LBB0_10:
	mov	w20, #0
	b	LBB0_19
LBB0_11:
	ldr	x8, [x19, #24]
	ldr	x1, [x8]
	mov	x0, x19
	bl	_slice_to
	ldr	x8, [x19, #24]
	str	x0, [x8]
	cbz	x0, LBB0_17
; %bb.12:
Lloh15:
	adrp	x8, _s_58@GOTPAGE
Lloh16:
	ldr	x8, [x8, _s_58@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #4
	bl	_slice_from_s
	tbz	w0, #31, LBB0_15
	b	LBB0_18
LBB0_13:
	ldr	x8, [x19, #24]
	ldr	x1, [x8]
	mov	x0, x19
	bl	_slice_to
	ldr	x8, [x19, #24]
	str	x0, [x8]
	cbz	x0, LBB0_17
; %bb.14:
Lloh18:
	adrp	x8, _s_59@GOTPAGE
Lloh19:
	ldr	x8, [x8, _s_59@GOTPAGEOFF]
Lloh20:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #6
	bl	_slice_from_s
	tbnz	w0, #31, LBB0_18
LBB0_15:
	ldr	w21, [x19, #4]
	ldr	x8, [x19, #24]
	ldr	x3, [x8]
	mov	x0, x19
	mov	x1, x21
	mov	x2, x21
	bl	_insert_v
	str	w21, [x19, #4]
	tbnz	w0, #31, LBB0_18
LBB0_16:
	mov	w20, #1
	b	LBB0_19
LBB0_17:
	mov	w20, #-1
	b	LBB0_19
LBB0_18:
	mov	x20, x0
LBB0_19:
	mov	x0, x20
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_a_23,4,2                       ; @a_23
	.comm	_a_21,4,2                       ; @a_21
	.comm	_s_58,4,2                       ; @s_58
	.comm	_a_22,4,2                       ; @a_22
	.comm	_s_59,4,2                       ; @s_59
	.comm	_s_60,4,2                       ; @s_60
	.comm	_s_61,4,2                       ; @s_61
	.no_dead_strip	_r_steps8
.subsections_via_symbols
