	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function r_Step_5
_r_Step_5:                              ## @r_Step_5
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movslq	4(%rdi), %rax
	movl	%eax, (%rdi)
	xorl	%r14d, %r14d
	cmpl	8(%rdi), %eax
	jle	LBB0_21
## %bb.1:
	movq	%rdi, %rbx
	movq	16(%rdi), %rcx
	movl	-4(%rcx,%rax,4), %eax
	cmpl	$108, %eax
	je	LBB0_3
## %bb.2:
	cmpl	$101, %eax
	jne	LBB0_21
LBB0_3:
	movq	_a_8@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$2, %edx
	callq	_find_among_b
	testl	%eax, %eax
	je	LBB0_21
## %bb.4:
	movl	4(%rbx), %r12d
	movl	%r12d, 24(%rbx)
	cmpl	$2, %eax
	je	LBB0_12
## %bb.5:
	cmpl	$1, %eax
	jne	LBB0_20
## %bb.6:
	movl	28(%rbx), %r14d
	movq	%rbx, %rdi
	callq	_r_R2
	movl	%eax, %ecx
	shrl	$31, %ecx
	testl	%eax, %eax
	movl	$3, %edx
	cmovnel	%ecx, %edx
	testl	%edx, %edx
	je	LBB0_16
## %bb.7:
	movl	%eax, %r15d
	cmpl	$3, %edx
	jne	LBB0_18
## %bb.8:
	subl	%r14d, %r12d
	addl	28(%rbx), %r12d
	movl	%r12d, 4(%rbx)
	movq	%rbx, %rdi
	callq	_r_R1
	testl	%eax, %eax
	jle	LBB0_17
## %bb.9:
	movl	4(%rbx), %r12d
	movl	28(%rbx), %r13d
	movq	%rbx, %rdi
	callq	_r_shortv
	movl	%eax, %ecx
	shrl	$31, %ecx
	testl	%eax, %eax
	cmovnsl	%r15d, %eax
	movl	$5, %r14d
	cmovnel	%ecx, %r14d
	cmovel	%r15d, %eax
	testl	%r14d, %r14d
	je	LBB0_21
## %bb.10:
	cmpl	$5, %r14d
	jne	LBB0_18
## %bb.11:
	subl	%r13d, %r12d
	addl	28(%rbx), %r12d
	movl	%r12d, 4(%rbx)
	jmp	LBB0_16
LBB0_12:
	movq	%rbx, %rdi
	callq	_r_R2
	testl	%eax, %eax
	jle	LBB0_17
## %bb.13:
	movslq	4(%rbx), %rax
	cmpl	8(%rbx), %eax
	jle	LBB0_21
## %bb.14:
	movq	16(%rbx), %rcx
	cmpl	$108, -4(%rcx,%rax,4)
	jne	LBB0_21
## %bb.15:
	decq	%rax
	movl	%eax, 4(%rbx)
	jmp	LBB0_16
LBB0_18:
	movl	%eax, %r14d
	testl	%ecx, %ecx
	jne	LBB0_21
LBB0_16:
	movq	%rbx, %rdi
	callq	_slice_del
	testl	%eax, %eax
	js	LBB0_17
LBB0_20:
	movl	$1, %r14d
	jmp	LBB0_21
LBB0_17:
	movl	%eax, %r14d
LBB0_21:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_a_8,4,2                        ## @a_8
	.no_dead_strip	_r_Step_5
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function r_Step_5
_r_Step_5:                              ; @r_Step_5
	.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]
	cmp	w8, w9
	b.le	LBB0_16
; %bb.1:
	mov	x19, x0
	ldr	x9, [x0, #16]
	sub	w8, w8, #1
	ldr	w8, [x9, w8, sxtw #2]
	cmp	w8, #108
	b.eq	LBB0_3
; %bb.2:
	cmp	w8, #101
	b.ne	LBB0_16
LBB0_3:
Lloh0:
	adrp	x8, _a_8@GOTPAGE
Lloh1:
	ldr	x8, [x8, _a_8@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #2
	bl	_find_among_b
	cbz	w0, LBB0_16
; %bb.4:
	ldr	w21, [x19, #4]
	str	w21, [x19, #24]
	cmp	w0, #2
	b.eq	LBB0_12
; %bb.5:
	cmp	w0, #1
	b.ne	LBB0_20
; %bb.6:
	ldr	w22, [x19, #28]
	mov	x0, x19
	bl	_r_R2
	lsr	w8, w0, #31
	mov	w9, #3
	cmp	w0, #0
	csel	w9, w9, w8, eq
	cbz	w9, LBB0_19
; %bb.7:
	mov	x20, x0
	cmp	w9, #3
	b.ne	LBB0_18
; %bb.8:
	ldr	w8, [x19, #28]
	sub	w9, w21, w22
	add	w8, w9, w8
	str	w8, [x19, #4]
	mov	x0, x19
	bl	_r_R1
	cmp	w0, #1
	b.lt	LBB0_21
; %bb.9:
	ldr	w21, [x19, #28]
	ldr	w22, [x19, #4]
	mov	x0, x19
	bl	_r_shortv
	lsr	w8, w0, #31
	cmp	w0, #0
	csel	w10, w0, w20, lt
	mov	w9, #5
	csel	w9, w9, w8, eq
	csel	w20, w20, w10, eq
	cbz	w9, LBB0_22
; %bb.10:
	cmp	w9, #5
	b.ne	LBB0_18
; %bb.11:
	ldr	w8, [x19, #28]
	sub	w9, w22, w21
	add	w8, w9, w8
	b	LBB0_15
LBB0_12:
	mov	x0, x19
	bl	_r_R2
	cmp	w0, #1
	b.lt	LBB0_21
; %bb.13:
	ldp	w8, w9, [x19, #4]
	cmp	w8, w9
	b.le	LBB0_16
; %bb.14:
	ldr	x9, [x19, #16]
	sub	w8, w8, #1
	ldr	w9, [x9, w8, sxtw #2]
	cmp	w9, #108
	b.ne	LBB0_16
LBB0_15:
	str	w8, [x19, #4]
	b	LBB0_19
LBB0_16:
	mov	w20, #0
LBB0_17:
	mov	x0, x20
	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_18:
	cbnz	w8, LBB0_17
LBB0_19:
	mov	x0, x19
	bl	_slice_del
	tbnz	w0, #31, LBB0_21
LBB0_20:
	mov	w20, #1
	b	LBB0_17
LBB0_21:
	mov	x20, x0
	b	LBB0_17
LBB0_22:
	mov	x20, x9
	b	LBB0_17
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_a_8,4,2                        ; @a_8
	.no_dead_strip	_r_Step_5
.subsections_via_symbols
