	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function r_step5c
_r_step5c:                              ## @r_step5c
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movslq	4(%rdi), %rax
	movl	%eax, %ebx
	subl	(%rdi), %ebx
	movl	%eax, 8(%rdi)
	leal	-9(%rax), %ecx
	cmpl	12(%rdi), %ecx
	jle	LBB0_5
## %bb.1:
	movq	16(%r15), %rcx
	cmpl	$181, -4(%rcx,%rax,4)
	jne	LBB0_5
## %bb.2:
	movq	_a_45@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	$1, %edx
	callq	_find_among_b
	testl	%eax, %eax
	je	LBB0_5
## %bb.3:
	movslq	4(%r15), %rax
	movq	%rax, 24(%r15)
	movq	%r15, %rdi
	callq	_slice_del
	testl	%eax, %eax
	js	LBB0_12
## %bb.4:
	movq	40(%r15), %rax
	movq	$0, (%rax)
LBB0_5:
	addl	(%r15), %ebx
	movl	%ebx, 4(%r15)
	movl	%ebx, 8(%r15)
	movq	_s_80@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movl	$6, %esi
	callq	_eq_s_b
	testl	%eax, %eax
	je	LBB0_11
## %bb.6:
	movslq	4(%r15), %rax
	movq	%rax, 24(%r15)
	movq	%r15, %rdi
	callq	_slice_del
	testl	%eax, %eax
	js	LBB0_12
## %bb.7:
	movq	40(%r15), %rax
	movq	$0, (%rax)
	movl	(%r15), %r14d
	movl	4(%r15), %ebx
	movl	%ebx, 8(%r15)
	movq	_g_v2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	$945, %edx                      ## imm = 0x3B1
	movl	$969, %ecx                      ## imm = 0x3C9
	xorl	%r8d, %r8d
	callq	_in_grouping_b_U
	testq	%rax, %rax
	je	LBB0_13
## %bb.8:
	subl	%ebx, %r14d
	movl	(%r15), %eax
	subl	%r14d, %eax
	movl	%eax, 4(%r15)
	movl	%eax, 8(%r15)
	movq	_a_46@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	$31, %edx
	callq	_find_among_b
	testl	%eax, %eax
	je	LBB0_17
## %bb.9:
	movslq	4(%r15), %rax
	movq	%rax, 24(%r15)
	movq	32(%r15), %rax
	movq	(%rax), %rsi
	movq	%r15, %rdi
	callq	_slice_to
	movq	32(%r15), %rcx
	movq	%rax, (%rcx)
	testq	%rax, %rax
	je	LBB0_24
## %bb.10:
	movq	_s_82@GOTPCREL(%rip), %rax
	jmp	LBB0_15
LBB0_11:
	xorl	%eax, %eax
	jmp	LBB0_12
LBB0_13:
	movslq	4(%r15), %rax
	movq	%rax, 24(%r15)
	movq	32(%r15), %rax
	movq	(%rax), %rsi
	movq	%r15, %rdi
	callq	_slice_to
	movq	32(%r15), %rcx
	movq	%rax, (%rcx)
	testq	%rax, %rax
	je	LBB0_24
## %bb.14:
	movq	_s_81@GOTPCREL(%rip), %rax
LBB0_15:
	movl	(%rax), %edx
	movq	%r15, %rdi
	movl	$4, %esi
	callq	_slice_from_s
	testl	%eax, %eax
	js	LBB0_12
## %bb.16:
	movl	4(%r15), %r14d
	movq	32(%r15), %rax
	movq	(%rax), %rcx
	movq	%r15, %rdi
	movl	%r14d, %esi
	movl	%r14d, %edx
	callq	_insert_v
	movl	%r14d, 4(%r15)
	testl	%eax, %eax
	jns	LBB0_18
	jmp	LBB0_12
LBB0_17:
	movl	(%r15), %eax
	subl	%r14d, %eax
	movl	%eax, 4(%r15)
	movl	%eax, 8(%r15)
LBB0_18:
	movq	_a_47@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	$25, %edx
	callq	_find_among_b
	movl	%eax, %ecx
	xorl	%eax, %eax
	testl	%ecx, %ecx
	je	LBB0_12
## %bb.19:
	movslq	4(%r15), %rcx
	movq	%rcx, 24(%r15)
	cmpl	12(%r15), %ecx
	jg	LBB0_12
## %bb.20:
	movq	32(%r15), %rax
	movq	(%rax), %rsi
	movq	%r15, %rdi
	callq	_slice_to
	movq	32(%r15), %rcx
	movq	%rax, (%rcx)
	testq	%rax, %rax
	je	LBB0_24
## %bb.21:
	movq	_s_83@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movl	$4, %esi
	callq	_slice_from_s
	testl	%eax, %eax
	js	LBB0_12
## %bb.22:
	movl	4(%r15), %r14d
	movq	32(%r15), %rax
	movq	(%rax), %rcx
	movq	%r15, %rdi
	movl	%r14d, %esi
	movl	%r14d, %edx
	callq	_insert_v
	movl	%eax, %ecx
	movl	%r14d, 4(%r15)
	testl	%eax, %eax
	movl	$1, %eax
	cmovsl	%ecx, %eax
	jmp	LBB0_12
LBB0_24:
	movl	$-1, %eax
LBB0_12:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_a_45,4,2                       ## @a_45
	.comm	_s_80,4,2                       ## @s_80
	.comm	_g_v2,4,2                       ## @g_v2
	.comm	_s_81,4,2                       ## @s_81
	.comm	_a_46,4,2                       ## @a_46
	.comm	_s_82,4,2                       ## @s_82
	.comm	_a_47,4,2                       ## @a_47
	.comm	_s_83,4,2                       ## @s_83
	.no_dead_strip	_r_step5c
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function r_step5c
_r_step5c:                              ; @r_step5c
	.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
	ldp	w20, w21, [x0]
	str	w21, [x0, #8]
	sub	w8, w21, #9
	ldr	w9, [x0, #12]
	cmp	w8, w9
	b.le	LBB0_5
; %bb.1:
	ldr	x8, [x19, #16]
	sub	w9, w21, #1
	ldr	w8, [x8, w9, sxtw #2]
	cmp	w8, #181
	b.ne	LBB0_5
; %bb.2:
Lloh0:
	adrp	x8, _a_45@GOTPAGE
Lloh1:
	ldr	x8, [x8, _a_45@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #1
	bl	_find_among_b
	cbz	w0, LBB0_5
; %bb.3:
	ldrsw	x8, [x19, #4]
	str	x8, [x19, #24]
	mov	x0, x19
	bl	_slice_del
	tbnz	w0, #31, LBB0_23
; %bb.4:
	ldr	x8, [x19, #40]
	str	xzr, [x8]
LBB0_5:
	ldr	w8, [x19]
	sub	w9, w21, w20
	add	w8, w8, w9
	stp	w8, w8, [x19, #4]
Lloh3:
	adrp	x8, _s_80@GOTPAGE
Lloh4:
	ldr	x8, [x8, _s_80@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #6
	bl	_eq_s_b
	cbz	w0, LBB0_23
; %bb.6:
	ldrsw	x8, [x19, #4]
	str	x8, [x19, #24]
	mov	x0, x19
	bl	_slice_del
	tbnz	w0, #31, LBB0_23
; %bb.7:
	ldr	x8, [x19, #40]
	str	xzr, [x8]
	ldp	w20, w21, [x19]
	str	w21, [x19, #8]
Lloh6:
	adrp	x8, _g_v2@GOTPAGE
Lloh7:
	ldr	x8, [x8, _g_v2@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #945
	mov	w3, #969
	mov	w4, #0
	bl	_in_grouping_b_U
	cbz	x0, LBB0_11
; %bb.8:
	ldr	w8, [x19]
	sub	w20, w20, w21
	sub	w8, w8, w20
	stp	w8, w8, [x19, #4]
Lloh9:
	adrp	x8, _a_46@GOTPAGE
Lloh10:
	ldr	x8, [x8, _a_46@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #31
	bl	_find_among_b
	cbz	w0, LBB0_15
; %bb.9:
	ldrsw	x8, [x19, #4]
	str	x8, [x19, #24]
	ldr	x8, [x19, #32]
	ldr	x1, [x8]
	mov	x0, x19
	bl	_slice_to
	ldr	x8, [x19, #32]
	str	x0, [x8]
	cbz	x0, LBB0_22
; %bb.10:
Lloh12:
	adrp	x8, _s_82@GOTPAGE
Lloh13:
	ldr	x8, [x8, _s_82@GOTPAGEOFF]
	b	LBB0_13
LBB0_11:
	ldrsw	x8, [x19, #4]
	str	x8, [x19, #24]
	ldr	x8, [x19, #32]
	ldr	x1, [x8]
	mov	x0, x19
	bl	_slice_to
	ldr	x8, [x19, #32]
	str	x0, [x8]
	cbz	x0, LBB0_22
; %bb.12:
Lloh14:
	adrp	x8, _s_81@GOTPAGE
Lloh15:
	ldr	x8, [x8, _s_81@GOTPAGEOFF]
LBB0_13:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #4
	bl	_slice_from_s
	tbnz	w0, #31, LBB0_23
; %bb.14:
	ldr	w20, [x19, #4]
	ldr	x8, [x19, #32]
	ldr	x3, [x8]
	mov	x0, x19
	mov	x1, x20
	mov	x2, x20
	bl	_insert_v
	str	w20, [x19, #4]
	tbz	w0, #31, LBB0_16
	b	LBB0_23
LBB0_15:
	ldr	w8, [x19]
	sub	w8, w8, w20
	stp	w8, w8, [x19, #4]
LBB0_16:
Lloh16:
	adrp	x8, _a_47@GOTPAGE
Lloh17:
	ldr	x8, [x8, _a_47@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #25
	bl	_find_among_b
	cbz	w0, LBB0_23
; %bb.17:
	ldrsw	x8, [x19, #4]
	str	x8, [x19, #24]
	ldr	w9, [x19, #12]
	cmp	w8, w9
	b.le	LBB0_19
; %bb.18:
	mov	w0, #0
	b	LBB0_23
LBB0_19:
	ldr	x8, [x19, #32]
	ldr	x1, [x8]
	mov	x0, x19
	bl	_slice_to
	ldr	x8, [x19, #32]
	str	x0, [x8]
	cbz	x0, LBB0_22
; %bb.20:
Lloh19:
	adrp	x8, _s_83@GOTPAGE
Lloh20:
	ldr	x8, [x8, _s_83@GOTPAGEOFF]
Lloh21:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #4
	bl	_slice_from_s
	tbnz	w0, #31, LBB0_23
; %bb.21:
	ldr	w20, [x19, #4]
	ldr	x8, [x19, #32]
	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_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 AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_a_45,4,2                       ; @a_45
	.comm	_s_80,4,2                       ; @s_80
	.comm	_g_v2,4,2                       ; @g_v2
	.comm	_s_81,4,2                       ; @s_81
	.comm	_a_46,4,2                       ; @a_46
	.comm	_s_82,4,2                       ; @s_82
	.comm	_a_47,4,2                       ; @a_47
	.comm	_s_83,4,2                       ; @s_83
	.no_dead_strip	_r_step5c
.subsections_via_symbols
