	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function r_Step_1a
_r_Step_1a:                             ## @r_Step_1a
	.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
	movl	4(%rdi), %eax
	movl	%eax, %ebx
	subl	(%rdi), %ebx
	movl	%eax, 8(%rdi)
	cmpl	12(%rdi), %eax
	jle	LBB0_7
## %bb.1:
	movslq	%eax, %rcx
	movq	16(%r15), %rdx
	movl	-4(%rdx,%rcx,4), %ecx
	cmpl	$115, %ecx
	je	LBB0_3
## %bb.2:
	cmpl	$39, %ecx
	jne	LBB0_7
LBB0_3:
	movq	_a_1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	$3, %edx
	callq	_find_among_b
	testl	%eax, %eax
	je	LBB0_6
## %bb.4:
	movslq	4(%r15), %rax
	movq	%rax, 24(%r15)
	movq	%r15, %rdi
	callq	_slice_del
	testl	%eax, %eax
	js	LBB0_17
## %bb.5:
	movl	4(%r15), %eax
	jmp	LBB0_7
LBB0_6:
	addl	(%r15), %ebx
	movl	%ebx, 4(%r15)
	movl	%ebx, %eax
LBB0_7:
	movl	%eax, 8(%r15)
	xorl	%r14d, %r14d
	cmpl	12(%r15), %eax
	jle	LBB0_26
## %bb.8:
	movq	16(%r15), %rcx
	cltq
	movl	-4(%rcx,%rax,4), %eax
	cmpl	$115, %eax
	je	LBB0_10
## %bb.9:
	cmpl	$100, %eax
	jne	LBB0_26
LBB0_10:
	movq	_a_2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	$6, %edx
	callq	_find_among_b
	testl	%eax, %eax
	je	LBB0_26
## %bb.11:
	movslq	4(%r15), %rcx
	movq	%rcx, 24(%r15)
	cmpl	$3, %eax
	je	LBB0_18
## %bb.12:
	cmpl	$2, %eax
	je	LBB0_21
## %bb.13:
	cmpl	$1, %eax
	jne	LBB0_25
## %bb.14:
	movq	_s_2@GOTPCREL(%rip), %rax
	jmp	LBB0_15
LBB0_18:
	cmpl	12(%r15), %ecx
	jle	LBB0_26
## %bb.19:
	leal	-1(%rcx), %eax
	movl	%eax, 4(%r15)
	movq	_g_v@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	$97, %edx
	movl	$121, %ecx
	movl	$1, %r8d
	callq	_out_grouping_b
	testl	%eax, %eax
	js	LBB0_26
## %bb.20:
	subl	%eax, 4(%r15)
	movq	%r15, %rdi
	callq	_slice_del
	testl	%eax, %eax
	jns	LBB0_25
LBB0_17:
	movl	%eax, %r14d
	jmp	LBB0_26
LBB0_21:
	leal	-2(%rcx), %eax
	cmpl	%eax, 12(%r15)
	jg	LBB0_24
## %bb.22:
	cmpl	(%r15), %eax
	jg	LBB0_24
## %bb.23:
	movl	%eax, 4(%r15)
	movq	_s_3@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movl	$1, %esi
	jmp	LBB0_16
LBB0_24:
	movq	_s_4@GOTPCREL(%rip), %rax
LBB0_15:
	movl	(%rax), %edx
	movq	%r15, %rdi
	movl	$2, %esi
LBB0_16:
	callq	_slice_from_s
	testl	%eax, %eax
	js	LBB0_17
LBB0_25:
	movl	$1, %r14d
LBB0_26:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_a_1,4,2                        ## @a_1
	.comm	_a_2,4,2                        ## @a_2
	.comm	_s_2,4,2                        ## @s_2
	.comm	_s_3,4,2                        ## @s_3
	.comm	_s_4,4,2                        ## @s_4
	.comm	_g_v,4,2                        ## @g_v
	.no_dead_strip	_r_Step_1a
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function r_Step_1a
_r_Step_1a:                             ; @r_Step_1a
	.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	w21, w20, [x0]
	str	w20, [x0, #8]
	ldr	w8, [x0, #12]
	cmp	w20, w8
	b.le	LBB0_7
; %bb.1:
	ldr	x8, [x19, #16]
	sub	w9, w20, #1
	ldr	w8, [x8, w9, sxtw #2]
	cmp	w8, #115
	b.eq	LBB0_3
; %bb.2:
	cmp	w8, #39
	b.ne	LBB0_7
LBB0_3:
Lloh0:
	adrp	x8, _a_1@GOTPAGE
Lloh1:
	ldr	x8, [x8, _a_1@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #3
	bl	_find_among_b
	cbz	w0, LBB0_6
; %bb.4:
	ldrsw	x8, [x19, #4]
	str	x8, [x19, #24]
	mov	x0, x19
	bl	_slice_del
	tbnz	w0, #31, LBB0_19
; %bb.5:
	ldr	w20, [x19, #4]
	b	LBB0_7
LBB0_6:
	ldr	w8, [x19]
	sub	w9, w20, w21
	add	w20, w9, w8
	str	w20, [x19, #4]
LBB0_7:
	str	w20, [x19, #8]
	ldr	w8, [x19, #12]
	cmp	w20, w8
	b.le	LBB0_18
; %bb.8:
	ldr	x8, [x19, #16]
	sub	w9, w20, #1
	ldr	w8, [x8, w9, sxtw #2]
	cmp	w8, #115
	b.eq	LBB0_10
; %bb.9:
	cmp	w8, #100
	b.ne	LBB0_18
LBB0_10:
Lloh3:
	adrp	x8, _a_2@GOTPAGE
Lloh4:
	ldr	x8, [x8, _a_2@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #6
	bl	_find_among_b
	cbz	w0, LBB0_19
; %bb.11:
	ldrsw	x8, [x19, #4]
	str	x8, [x19, #24]
	cmp	w0, #3
	b.eq	LBB0_15
; %bb.12:
	cmp	w0, #2
	b.eq	LBB0_20
; %bb.13:
	cmp	w0, #1
	b.ne	LBB0_26
; %bb.14:
Lloh6:
	adrp	x8, _s_2@GOTPAGE
Lloh7:
	ldr	x8, [x8, _s_2@GOTPAGEOFF]
	b	LBB0_24
LBB0_15:
	ldr	w9, [x19, #12]
	cmp	w8, w9
	b.le	LBB0_18
; %bb.16:
	sub	w8, w8, #1
	str	w8, [x19, #4]
Lloh8:
	adrp	x8, _g_v@GOTPAGE
Lloh9:
	ldr	x8, [x8, _g_v@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #97
	mov	w3, #121
	mov	w4, #1
	bl	_out_grouping_b
	tbnz	w0, #31, LBB0_18
; %bb.17:
	ldr	w8, [x19, #4]
	sub	w8, w8, w0
	str	w8, [x19, #4]
	mov	x0, x19
	bl	_slice_del
	tbz	w0, #31, LBB0_26
	b	LBB0_19
LBB0_18:
	mov	w0, #0
LBB0_19:
	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
LBB0_20:
	sub	w8, w8, #2
	ldr	w9, [x19, #12]
	cmp	w9, w8
	b.gt	LBB0_23
; %bb.21:
	ldr	w9, [x19]
	cmp	w8, w9
	b.gt	LBB0_23
; %bb.22:
	str	w8, [x19, #4]
Lloh11:
	adrp	x8, _s_3@GOTPAGE
Lloh12:
	ldr	x8, [x8, _s_3@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #1
	b	LBB0_25
LBB0_23:
Lloh14:
	adrp	x8, _s_4@GOTPAGE
Lloh15:
	ldr	x8, [x8, _s_4@GOTPAGEOFF]
LBB0_24:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #2
LBB0_25:
	bl	_slice_from_s
	tbnz	w0, #31, LBB0_19
LBB0_26:
	mov	w0, #1
	b	LBB0_19
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_a_1,4,2                        ; @a_1
	.comm	_a_2,4,2                        ; @a_2
	.comm	_s_2,4,2                        ; @s_2
	.comm	_s_3,4,2                        ; @s_3
	.comm	_s_4,4,2                        ; @s_4
	.comm	_g_v,4,2                        ; @g_v
	.no_dead_strip	_r_Step_1a
.subsections_via_symbols
