	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function r_Step_3
_r_Step_3:                              ## @r_Step_3
	.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
	movslq	4(%rdi), %rax
	movl	%eax, (%rdi)
	leal	-2(%rax), %ecx
	xorl	%r14d, %r14d
	cmpl	8(%rdi), %ecx
	jle	LBB0_18
## %bb.1:
	movq	%rdi, %rbx
	movq	16(%rdi), %rcx
	movl	-4(%rcx,%rax,4), %eax
	movl	%eax, %ecx
	andl	$-32, %ecx
	cmpl	$96, %ecx
	jne	LBB0_18
## %bb.2:
	movl	$528928, %ecx                   ## imm = 0x81220
	btl	%eax, %ecx
	jae	LBB0_18
## %bb.3:
	movq	_a_6@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$9, %edx
	callq	_find_among_b
	testl	%eax, %eax
	je	LBB0_18
## %bb.4:
	movl	%eax, %r15d
	movl	4(%rbx), %eax
	movl	%eax, 24(%rbx)
	movq	%rbx, %rdi
	callq	_r_R1
	testl	%eax, %eax
	jle	LBB0_9
## %bb.5:
	decl	%r15d
	cmpl	$5, %r15d
	ja	LBB0_17
## %bb.6:
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%r15,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_7:
	movq	_s_23@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	$4, %esi
	jmp	LBB0_8
LBB0_10:
	movq	_s_24@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	$3, %esi
	jmp	LBB0_8
LBB0_11:
	movq	_s_25@GOTPCREL(%rip), %rax
	jmp	LBB0_12
LBB0_13:
	movq	_s_26@GOTPCREL(%rip), %rax
LBB0_12:
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	$2, %esi
LBB0_8:
	callq	_slice_from_s
	testl	%eax, %eax
	jns	LBB0_17
	jmp	LBB0_9
LBB0_15:
	movq	%rbx, %rdi
	callq	_r_R2
	testl	%eax, %eax
	jle	LBB0_9
LBB0_14:
	movq	%rbx, %rdi
	callq	_slice_del
	testl	%eax, %eax
	js	LBB0_9
LBB0_17:
	movl	$1, %r14d
	jmp	LBB0_18
LBB0_9:
	movl	%eax, %r14d
LBB0_18:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
LJTI0_0:
	.long	L0_0_set_7
	.long	L0_0_set_10
	.long	L0_0_set_11
	.long	L0_0_set_13
	.long	L0_0_set_14
	.long	L0_0_set_15
	.end_data_region
                                        ## -- End function
	.comm	_a_6,4,2                        ## @a_6
	.comm	_s_23,4,2                       ## @s_23
	.comm	_s_24,4,2                       ## @s_24
	.comm	_s_25,4,2                       ## @s_25
	.comm	_s_26,4,2                       ## @s_26
	.no_dead_strip	_r_Step_3
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function r_Step_3
_r_Step_3:                              ; @r_Step_3
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldp	w8, w9, [x0, #4]
	str	w8, [x0]
	sub	w10, w8, #2
	cmp	w10, w9
	b.le	LBB0_3
; %bb.1:
	mov	x19, x0
	ldr	x9, [x0, #16]
	sub	w8, w8, #1
	ldr	w8, [x9, w8, sxtw #2]
	and	w9, w8, #0xffffffe0
	cmp	w9, #96
	b.ne	LBB0_3
; %bb.2:
	mov	w9, #4640
	movk	w9, #8, lsl #16
	lsr	w8, w9, w8
	tbnz	w8, #0, LBB0_5
LBB0_3:
	mov	w0, #0
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_5:
Lloh0:
	adrp	x8, _a_6@GOTPAGE
Lloh1:
	ldr	x8, [x8, _a_6@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #9
	bl	_find_among_b
	cbz	w0, LBB0_4
; %bb.6:
	mov	x20, x0
	ldr	w8, [x19, #4]
	str	w8, [x19, #24]
	mov	x0, x19
	bl	_r_R1
	cmp	w0, #1
	b.lt	LBB0_4
; %bb.7:
	sub	w8, w20, #1
	cmp	w8, #5
	b.hi	LBB0_17
; %bb.8:
Lloh3:
	adrp	x9, lJTI0_0@PAGE
Lloh4:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_9
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_9:
Lloh5:
	adrp	x8, _s_23@GOTPAGE
Lloh6:
	ldr	x8, [x8, _s_23@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #4
	b	LBB0_14
LBB0_10:
Lloh8:
	adrp	x8, _s_24@GOTPAGE
Lloh9:
	ldr	x8, [x8, _s_24@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #3
	b	LBB0_14
LBB0_11:
Lloh11:
	adrp	x8, _s_25@GOTPAGE
Lloh12:
	ldr	x8, [x8, _s_25@GOTPAGEOFF]
	b	LBB0_13
LBB0_12:
Lloh13:
	adrp	x8, _s_26@GOTPAGE
Lloh14:
	ldr	x8, [x8, _s_26@GOTPAGEOFF]
LBB0_13:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #2
LBB0_14:
	bl	_slice_from_s
	tbz	w0, #31, LBB0_17
	b	LBB0_4
LBB0_15:
	mov	x0, x19
	bl	_r_R2
	cmp	w0, #1
	b.lt	LBB0_4
LBB0_16:
	mov	x0, x19
	bl	_slice_del
	tbnz	w0, #31, LBB0_4
LBB0_17:
	mov	w0, #1
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_9-LBB0_9)>>2
	.byte	(LBB0_10-LBB0_9)>>2
	.byte	(LBB0_11-LBB0_9)>>2
	.byte	(LBB0_12-LBB0_9)>>2
	.byte	(LBB0_16-LBB0_9)>>2
	.byte	(LBB0_15-LBB0_9)>>2
                                        ; -- End function
	.comm	_a_6,4,2                        ; @a_6
	.comm	_s_23,4,2                       ; @s_23
	.comm	_s_24,4,2                       ; @s_24
	.comm	_s_25,4,2                       ; @s_25
	.comm	_s_26,4,2                       ; @s_26
	.no_dead_strip	_r_Step_3
.subsections_via_symbols
