	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function r_step5i
_r_step5i:                              ## @r_step5i
	.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_62@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$3, %edx
	callq	_find_among_b
	xorl	%r14d, %r14d
	testl	%eax, %eax
	je	LBB0_18
## %bb.1:
	movl	4(%rbx), %eax
	movl	%eax, 8(%rbx)
	movq	%rbx, %rdi
	callq	_slice_del
	testl	%eax, %eax
	js	LBB0_17
## %bb.2:
	movq	40(%rbx), %rax
	movq	$0, (%rax)
	movl	4(%rbx), %r15d
	movl	12(%rbx), %r12d
	movl	%r15d, (%rbx)
	movq	_s_98@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	$8, %esi
	callq	_eq_s_b
	testl	%eax, %eax
	je	LBB0_6
## %bb.3:
	movl	4(%rbx), %eax
	movl	%eax, 8(%rbx)
	movq	16(%rbx), %rax
	movq	(%rax), %rsi
	movq	%rbx, %rdi
	callq	_slice_to
	movq	16(%rbx), %rcx
	movq	%rax, (%rcx)
	testq	%rax, %rax
	je	LBB0_10
## %bb.4:
	movq	_s_99@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	$4, %esi
	callq	_slice_from_s
	testl	%eax, %eax
	js	LBB0_17
## %bb.5:
	movl	4(%rbx), %r14d
	movq	16(%rbx), %rax
	movq	(%rax), %rcx
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	%r14d, %edx
	callq	_insert_v
	movl	%r14d, 4(%rbx)
	testl	%eax, %eax
	movl	$1, %r14d
	cmovsl	%eax, %r14d
	jmp	LBB0_18
LBB0_6:
	subl	%r12d, %r15d
	movl	12(%rbx), %ecx
	leal	(%rcx,%r15), %eax
	movl	%eax, 4(%rbx)
	movl	%eax, (%rbx)
	addl	%r15d, %ecx
	addl	$-5, %ecx
	cmpl	24(%rbx), %ecx
	jle	LBB0_12
## %bb.7:
	movq	32(%rbx), %rcx
	movslq	%eax, %rdx
	movl	-4(%rcx,%rdx,4), %ecx
	andl	$-2, %ecx
	cmpl	$134, %ecx
	jne	LBB0_12
## %bb.8:
	movq	_a_59@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$2, %edx
	callq	_find_among_b
	testl	%eax, %eax
	je	LBB0_11
## %bb.9:
	movl	4(%rbx), %eax
	movl	%eax, 8(%rbx)
	jmp	LBB0_18
LBB0_11:
	movl	12(%rbx), %eax
	addl	%r15d, %eax
LBB0_12:
	movl	%eax, 4(%rbx)
	movl	%eax, (%rbx)
	movq	_a_60@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$10, %edx
	callq	_find_among_b
	testl	%eax, %eax
	je	LBB0_19
## %bb.13:
	movl	4(%rbx), %eax
	movl	%eax, 8(%rbx)
	movq	16(%rbx), %rax
	movq	(%rax), %rsi
	movq	%rbx, %rdi
	callq	_slice_to
	movq	16(%rbx), %rcx
	movq	%rax, (%rcx)
	testq	%rax, %rax
	je	LBB0_10
## %bb.14:
	movq	_s_100@GOTPCREL(%rip), %rax
LBB0_15:
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	$4, %esi
	callq	_slice_from_s
	testl	%eax, %eax
	js	LBB0_17
## %bb.16:
	movl	4(%rbx), %r14d
	movq	16(%rbx), %rax
	movq	(%rax), %rcx
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	%r14d, %edx
	callq	_insert_v
	movl	%r14d, 4(%rbx)
	movl	$1, %r14d
	testl	%eax, %eax
	jns	LBB0_18
LBB0_17:
	movl	%eax, %r14d
	jmp	LBB0_18
LBB0_19:
	addl	12(%rbx), %r15d
	movl	%r15d, 4(%rbx)
	movl	%r15d, (%rbx)
	movq	_a_61@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$44, %edx
	callq	_find_among_b
	xorl	%r14d, %r14d
	testl	%eax, %eax
	je	LBB0_18
## %bb.20:
	movl	4(%rbx), %eax
	movl	%eax, 8(%rbx)
	cmpl	24(%rbx), %eax
	jg	LBB0_18
## %bb.21:
	movq	16(%rbx), %rax
	movq	(%rax), %rsi
	movq	%rbx, %rdi
	callq	_slice_to
	movq	16(%rbx), %rcx
	movq	%rax, (%rcx)
	testq	%rax, %rax
	je	LBB0_10
## %bb.22:
	movq	_s_101@GOTPCREL(%rip), %rax
	jmp	LBB0_15
LBB0_10:
	movl	$-1, %r14d
LBB0_18:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_a_62,4,2                       ## @a_62
	.comm	_s_98,4,2                       ## @s_98
	.comm	_s_99,4,2                       ## @s_99
	.comm	_a_59,4,2                       ## @a_59
	.comm	_a_60,4,2                       ## @a_60
	.comm	_s_100,4,2                      ## @s_100
	.comm	_a_61,4,2                       ## @a_61
	.comm	_s_101,4,2                      ## @s_101
	.no_dead_strip	_r_step5i
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function r_step5i
_r_step5i:                              ; @r_step5i
	.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_62@GOTPAGE
Lloh1:
	ldr	x8, [x8, _a_62@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w2, #3
	bl	_find_among_b
	cbz	w0, LBB0_23
; %bb.1:
	ldr	w8, [x19, #4]
	str	w8, [x19, #8]
	mov	x0, x19
	bl	_slice_del
	tbnz	w0, #31, LBB0_23
; %bb.2:
	ldr	x8, [x19, #40]
	str	xzr, [x8]
	ldr	w20, [x19, #12]
	ldr	w21, [x19, #4]
	str	w21, [x19]
Lloh3:
	adrp	x8, _s_98@GOTPAGE
Lloh4:
	ldr	x8, [x8, _s_98@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #8
	bl	_eq_s_b
	cbz	w0, LBB0_6
; %bb.3:
	ldr	w8, [x19, #4]
	str	w8, [x19, #8]
	ldr	x8, [x19, #16]
	ldr	x1, [x8]
	mov	x0, x19
	bl	_slice_to
	ldr	x8, [x19, #16]
	str	x0, [x8]
	cbz	x0, LBB0_22
; %bb.4:
Lloh6:
	adrp	x8, _s_99@GOTPAGE
Lloh7:
	ldr	x8, [x8, _s_99@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #4
	bl	_slice_from_s
	tbnz	w0, #31, LBB0_23
; %bb.5:
	ldr	w20, [x19, #4]
	ldr	x8, [x19, #16]
	ldr	x3, [x8]
	mov	x0, x19
	mov	x1, x20
	mov	x2, x20
	bl	_insert_v
	str	w20, [x19, #4]
	cmp	w0, #0
	csinc	w0, w0, wzr, lt
	b	LBB0_23
LBB0_6:
	ldr	w8, [x19, #12]
	sub	w20, w21, w20
	add	w8, w8, w20
	stp	w8, w8, [x19]
	sub	w9, w8, #5
	ldr	w10, [x19, #24]
	cmp	w9, w10
	b.le	LBB0_11
; %bb.7:
	ldr	x9, [x19, #32]
	sub	w10, w8, #1
	ldr	w9, [x9, w10, sxtw #2]
	and	w9, w9, #0xfffffffe
	cmp	w9, #134
	b.ne	LBB0_11
; %bb.8:
Lloh9:
	adrp	x8, _a_59@GOTPAGE
Lloh10:
	ldr	x8, [x8, _a_59@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #2
	bl	_find_among_b
	cbz	w0, LBB0_10
; %bb.9:
	mov	w0, #0
	ldr	w8, [x19, #4]
	str	w8, [x19, #8]
	b	LBB0_23
LBB0_10:
	ldr	w8, [x19, #12]
	add	w8, w8, w20
LBB0_11:
	stp	w8, w8, [x19]
Lloh12:
	adrp	x8, _a_60@GOTPAGE
Lloh13:
	ldr	x8, [x8, _a_60@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #10
	bl	_find_among_b
	cbz	w0, LBB0_17
; %bb.12:
	ldr	w8, [x19, #4]
	str	w8, [x19, #8]
	ldr	x8, [x19, #16]
	ldr	x1, [x8]
	mov	x0, x19
	bl	_slice_to
	ldr	x8, [x19, #16]
	str	x0, [x8]
	cbz	x0, LBB0_22
; %bb.13:
Lloh15:
	adrp	x8, _s_100@GOTPAGE
Lloh16:
	ldr	x8, [x8, _s_100@GOTPAGEOFF]
LBB0_14:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #4
	bl	_slice_from_s
	tbnz	w0, #31, LBB0_23
; %bb.15:
	ldr	w20, [x19, #4]
	ldr	x8, [x19, #16]
	ldr	x3, [x8]
	mov	x0, x19
	mov	x1, x20
	mov	x2, x20
	bl	_insert_v
	str	w20, [x19, #4]
	tbnz	w0, #31, LBB0_23
; %bb.16:
	mov	w0, #1
	b	LBB0_23
LBB0_17:
	ldr	w8, [x19, #12]
	add	w8, w8, w20
	stp	w8, w8, [x19]
Lloh17:
	adrp	x8, _a_61@GOTPAGE
Lloh18:
	ldr	x8, [x8, _a_61@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #44
	bl	_find_among_b
	cbz	w0, LBB0_23
; %bb.18:
	ldr	w8, [x19, #4]
	str	w8, [x19, #8]
	ldr	w9, [x19, #24]
	cmp	w8, w9
	b.le	LBB0_20
; %bb.19:
	mov	w0, #0
	b	LBB0_23
LBB0_20:
	ldr	x8, [x19, #16]
	ldr	x1, [x8]
	mov	x0, x19
	bl	_slice_to
	ldr	x8, [x19, #16]
	str	x0, [x8]
	cbz	x0, LBB0_22
; %bb.21:
Lloh20:
	adrp	x8, _s_101@GOTPAGE
Lloh21:
	ldr	x8, [x8, _s_101@GOTPAGEOFF]
	b	LBB0_14
LBB0_22:
	mov	w0, #-1
LBB0_23:
	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 AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_a_62,4,2                       ; @a_62
	.comm	_s_98,4,2                       ; @s_98
	.comm	_s_99,4,2                       ; @s_99
	.comm	_a_59,4,2                       ; @a_59
	.comm	_a_60,4,2                       ; @a_60
	.comm	_s_100,4,2                      ; @s_100
	.comm	_a_61,4,2                       ; @a_61
	.comm	_s_101,4,2                      ; @s_101
	.no_dead_strip	_r_step5i
.subsections_via_symbols
