	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function r_Step_1b
_r_Step_1b:                             ## @r_Step_1b
	.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
	movslq	4(%rdi), %rax
	movl	%eax, (%rdi)
	leal	-1(%rax), %ecx
	xorl	%r14d, %r14d
	cmpl	8(%rdi), %ecx
	jle	LBB0_26
## %bb.1:
	movq	%rdi, %rbx
	movq	16(%rdi), %rcx
	movl	-4(%rcx,%rax,4), %eax
	cmpl	$103, %eax
	je	LBB0_3
## %bb.2:
	cmpl	$100, %eax
	jne	LBB0_26
LBB0_3:
	movq	_a_2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$3, %edx
	callq	_find_among_b
	testl	%eax, %eax
	je	LBB0_26
## %bb.4:
	movl	4(%rbx), %r15d
	movl	%r15d, 24(%rbx)
	cmpl	$2, %eax
	je	LBB0_9
## %bb.5:
	cmpl	$1, %eax
	jne	LBB0_8
## %bb.6:
	movq	%rbx, %rdi
	callq	_r_R1
	testl	%eax, %eax
	jle	LBB0_25
## %bb.7:
	movq	_s_2@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	$2, %esi
	callq	_slice_from_s
	testl	%eax, %eax
	js	LBB0_25
LBB0_8:
	movl	$1, %r14d
	jmp	LBB0_26
LBB0_9:
	movl	40(%rbx), %r12d
	movq	_g_v@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$97, %edx
	movl	$121, %ecx
	movl	$1, %r8d
	callq	_out_grouping_b
	testl	%eax, %eax
	js	LBB0_26
## %bb.10:
	subl	%r12d, %r15d
	addl	40(%rbx), %r15d
	movl	%r15d, 4(%rbx)
	movq	%rbx, %rdi
	callq	_slice_del
	testl	%eax, %eax
	js	LBB0_25
## %bb.11:
	movl	4(%rbx), %r15d
	movl	40(%rbx), %r12d
	leal	-1(%r15), %eax
	cmpl	8(%rbx), %eax
	jle	LBB0_14
## %bb.12:
	movslq	%r15d, %rax
	movq	16(%rbx), %rcx
	movl	-4(%rcx,%rax,4), %eax
	movl	%eax, %ecx
	andl	$-32, %ecx
	cmpl	$96, %ecx
	jne	LBB0_14
## %bb.13:
	movl	$68514004, %ecx                 ## imm = 0x41570D4
	btl	%eax, %ecx
	jb	LBB0_17
LBB0_14:
	movq	32(%rbx), %rax
	cmpl	(%rax), %r15d
	jne	LBB0_26
## %bb.15:
	movq	%rbx, %rdi
	callq	_r_shortv
	testl	%eax, %eax
	jle	LBB0_25
## %bb.16:
	subl	%r12d, %r15d
	addl	40(%rbx), %r15d
	movl	%r15d, 4(%rbx)
	movq	_s_4@GOTPCREL(%rip), %rax
LBB0_22:
	movl	(%rax), %r8d
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movl	%r15d, %edx
	movl	$1, %ecx
	callq	_insert_s
	movl	%r15d, 4(%rbx)
	testl	%eax, %eax
	jns	LBB0_8
LBB0_25:
	movl	%eax, %r14d
LBB0_26:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_17:
	movq	_a_1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$13, %edx
	callq	_find_among_b
	testl	%eax, %eax
	je	LBB0_26
## %bb.18:
	subl	%r12d, %r15d
	movl	40(%rbx), %r12d
	addl	%r12d, %r15d
	movl	%r15d, 4(%rbx)
	cmpl	$3, %eax
	je	LBB0_14
## %bb.19:
	cmpl	$2, %eax
	je	LBB0_23
## %bb.20:
	cmpl	$1, %eax
	jne	LBB0_8
## %bb.21:
	movq	_s_3@GOTPCREL(%rip), %rax
	jmp	LBB0_22
LBB0_23:
	movl	%r15d, (%rbx)
	cmpl	8(%rbx), %r15d
	jle	LBB0_26
## %bb.24:
	decl	%r15d
	movl	%r15d, 4(%rbx)
	movl	%r15d, 24(%rbx)
	movq	%rbx, %rdi
	callq	_slice_del
	testl	%eax, %eax
	jns	LBB0_8
	jmp	LBB0_25
	.cfi_endproc
                                        ## -- End function
	.comm	_a_2,4,2                        ## @a_2
	.comm	_s_2,4,2                        ## @s_2
	.comm	_g_v,4,2                        ## @g_v
	.comm	_a_1,4,2                        ## @a_1
	.comm	_s_3,4,2                        ## @s_3
	.comm	_s_4,4,2                        ## @s_4
	.no_dead_strip	_r_Step_1b
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function r_Step_1b
_r_Step_1b:                             ; @r_Step_1b
	.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
	ldp	w8, w9, [x0, #4]
	str	w8, [x0]
	sub	w8, w8, #1
	cmp	w8, w9
	b.le	LBB0_25
; %bb.1:
	mov	x19, x0
	ldr	x9, [x0, #16]
	ldr	w8, [x9, w8, sxtw #2]
	cmp	w8, #103
	b.eq	LBB0_3
; %bb.2:
	cmp	w8, #100
	b.ne	LBB0_25
LBB0_3:
Lloh0:
	adrp	x8, _a_2@GOTPAGE
Lloh1:
	ldr	x8, [x8, _a_2@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #3
	bl	_find_among_b
	cbz	w0, LBB0_26
; %bb.4:
	ldr	w20, [x19, #4]
	str	w20, [x19, #24]
	cmp	w0, #2
	b.eq	LBB0_9
; %bb.5:
	cmp	w0, #1
	b.ne	LBB0_8
; %bb.6:
	mov	x0, x19
	bl	_r_R1
	cmp	w0, #1
	b.lt	LBB0_26
; %bb.7:
Lloh3:
	adrp	x8, _s_2@GOTPAGE
Lloh4:
	ldr	x8, [x8, _s_2@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #2
	bl	_slice_from_s
	tbnz	w0, #31, LBB0_26
LBB0_8:
	mov	w0, #1
	b	LBB0_26
LBB0_9:
	ldr	w21, [x19, #40]
Lloh6:
	adrp	x8, _g_v@GOTPAGE
Lloh7:
	ldr	x8, [x8, _g_v@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #97
	mov	w3, #121
	mov	w4, #1
	bl	_out_grouping_b
	tbnz	w0, #31, LBB0_25
; %bb.10:
	ldr	w8, [x19, #40]
	sub	w9, w20, w21
	add	w8, w9, w8
	str	w8, [x19, #4]
	mov	x0, x19
	bl	_slice_del
	tbnz	w0, #31, LBB0_26
; %bb.11:
	ldr	w21, [x19, #40]
	ldp	w20, w9, [x19, #4]
	sub	w8, w20, #1
	cmp	w8, w9
	b.le	LBB0_14
; %bb.12:
	ldr	x9, [x19, #16]
	ldr	w8, [x9, w8, sxtw #2]
	and	w9, w8, #0xffffffe0
	cmp	w9, #96
	b.ne	LBB0_14
; %bb.13:
	mov	w9, #28884
	movk	w9, #1045, lsl #16
	lsr	w8, w9, w8
	tbnz	w8, #0, LBB0_18
LBB0_14:
	ldr	x8, [x19, #32]
	ldr	w8, [x8]
	cmp	w20, w8
	b.ne	LBB0_25
; %bb.15:
	mov	x0, x19
	bl	_r_shortv
	cmp	w0, #1
	b.lt	LBB0_26
; %bb.16:
	ldr	w8, [x19, #40]
	sub	w9, w20, w21
	add	w20, w8, w9
	str	w20, [x19, #4]
Lloh9:
	adrp	x8, _s_4@GOTPAGE
Lloh10:
	ldr	x8, [x8, _s_4@GOTPAGEOFF]
LBB0_17:
	ldr	w4, [x8]
	mov	x0, x19
	mov	x1, x20
	mov	x2, x20
	mov	w3, #1
	bl	_insert_s
	str	w20, [x19, #4]
	tbz	w0, #31, LBB0_8
	b	LBB0_26
LBB0_18:
Lloh11:
	adrp	x8, _a_1@GOTPAGE
Lloh12:
	ldr	x8, [x8, _a_1@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #13
	bl	_find_among_b
	cbz	w0, LBB0_26
; %bb.19:
	sub	w8, w20, w21
	ldr	w21, [x19, #40]
	add	w20, w21, w8
	str	w20, [x19, #4]
	cmp	w0, #3
	b.eq	LBB0_14
; %bb.20:
	cmp	w0, #2
	b.eq	LBB0_23
; %bb.21:
	cmp	w0, #1
	b.ne	LBB0_8
; %bb.22:
Lloh14:
	adrp	x8, _s_3@GOTPAGE
Lloh15:
	ldr	x8, [x8, _s_3@GOTPAGEOFF]
	b	LBB0_17
LBB0_23:
	str	w20, [x19]
	ldr	w8, [x19, #8]
	cmp	w20, w8
	b.le	LBB0_25
; %bb.24:
	sub	w8, w20, #1
	str	w8, [x19, #4]
	str	w8, [x19, #24]
	mov	x0, x19
	bl	_slice_del
	tbz	w0, #31, LBB0_8
	b	LBB0_26
LBB0_25:
	mov	w0, #0
LBB0_26:
	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 AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_a_2,4,2                        ; @a_2
	.comm	_s_2,4,2                        ; @s_2
	.comm	_g_v,4,2                        ; @g_v
	.comm	_a_1,4,2                        ; @a_1
	.comm	_s_3,4,2                        ; @s_3
	.comm	_s_4,4,2                        ; @s_4
	.no_dead_strip	_r_Step_1b
.subsections_via_symbols
