	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function r_steps9
_r_steps9:                              ## @r_steps9
	.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	-7(%rax), %ecx
	xorl	%ebx, %ebx
	cmpl	8(%rdi), %ecx
	jle	LBB0_24
## %bb.1:
	movq	%rdi, %r12
	movq	16(%rdi), %rcx
	movl	-4(%rcx,%rax,4), %eax
	movl	%eax, %ecx
	andl	$-32, %ecx
	cmpl	$160, %ecx
	jne	LBB0_24
## %bb.2:
	movl	$-1610481664, %ecx              ## imm = 0xA0020000
	btl	%eax, %ecx
	jae	LBB0_24
## %bb.3:
	movq	_a_26@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movl	$3, %edx
	callq	_find_among_b
	testl	%eax, %eax
	je	LBB0_24
## %bb.4:
	movl	4(%r12), %eax
	movl	%eax, 24(%r12)
	movq	%r12, %rdi
	callq	_slice_del
	movl	%eax, %r14d
	testl	%eax, %eax
	js	LBB0_11
## %bb.5:
	movq	40(%r12), %rax
	movq	$0, (%rax)
	movl	4(%r12), %eax
	movl	%eax, %ebx
	subl	28(%r12), %ebx
	movl	%eax, (%r12)
	movq	_a_24@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movl	$4, %edx
	callq	_find_among_b
	testl	%eax, %eax
	je	LBB0_12
## %bb.6:
	movl	4(%r12), %ecx
	movl	8(%r12), %eax
	movl	%ecx, 24(%r12)
	cmpl	%eax, %ecx
	jg	LBB0_13
## %bb.7:
	movq	32(%r12), %rax
	movq	(%rax), %rsi
	movq	%r12, %rdi
	callq	_slice_to
	movq	32(%r12), %rcx
	movq	%rax, (%rcx)
	testq	%rax, %rax
	je	LBB0_21
## %bb.8:
	movq	_s_62@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	movl	$4, %esi
	callq	_slice_from_s
	testl	%eax, %eax
	js	LBB0_22
## %bb.9:
	movl	4(%r12), %ebx
	movq	32(%r12), %rax
	movq	(%rax), %rcx
	movq	%r12, %rdi
	movl	%ebx, %esi
	movl	%ebx, %edx
	callq	_insert_v
	movl	%ebx, 4(%r12)
	movl	$1, %ebx
	testl	%eax, %eax
	jns	LBB0_24
	jmp	LBB0_22
LBB0_11:
	movl	%r14d, %ebx
	jmp	LBB0_24
LBB0_12:
	movl	8(%r12), %eax
LBB0_13:
	movl	28(%r12), %ecx
	leal	(%rcx,%rbx), %edx
	movl	%edx, 4(%r12)
	movl	%edx, (%r12)
	addl	%ebx, %ecx
	decl	%ecx
	xorl	%r15d, %r15d
	cmpl	%eax, %ecx
	jle	LBB0_23
## %bb.14:
	movq	16(%r12), %rax
	movslq	%ecx, %rcx
	movl	(%rax,%rcx,4), %eax
	orl	$8, %eax
	cmpl	$189, %eax
	jne	LBB0_23
## %bb.15:
	movq	_a_25@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movl	$2, %edx
	callq	_find_among_b
	testl	%eax, %eax
	je	LBB0_23
## %bb.16:
	movl	4(%r12), %eax
	movl	%eax, 24(%r12)
	movq	32(%r12), %rax
	movq	(%rax), %rsi
	movq	%r12, %rdi
	callq	_slice_to
	movq	32(%r12), %rcx
	movq	%rax, (%rcx)
	testq	%rax, %rax
	je	LBB0_21
## %bb.17:
	movq	_s_63@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	movl	$4, %esi
	callq	_slice_from_s
	testl	%eax, %eax
	js	LBB0_22
## %bb.18:
	movl	4(%r12), %ebx
	movq	32(%r12), %rax
	movq	(%rax), %rcx
	movq	%r12, %rdi
	movl	%ebx, %esi
	movl	%ebx, %edx
	callq	_insert_v
	movl	%ebx, 4(%r12)
	movl	$1, %ebx
	testl	%eax, %eax
	cmovsl	%eax, %r14d
	movl	%r14d, %r15d
	jns	LBB0_24
	jmp	LBB0_23
LBB0_21:
	movl	$-1, %r15d
	jmp	LBB0_23
LBB0_22:
	movl	%eax, %r15d
LBB0_23:
	movl	%r15d, %ebx
LBB0_24:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_a_26,4,2                       ## @a_26
	.comm	_a_24,4,2                       ## @a_24
	.comm	_s_62,4,2                       ## @s_62
	.comm	_a_25,4,2                       ## @a_25
	.comm	_s_63,4,2                       ## @s_63
	.no_dead_strip	_r_steps9
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function r_steps9
_r_steps9:                              ; @r_steps9
	.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	w10, w8, #7
	cmp	w10, w9
	b.le	LBB0_18
; %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, #160
	b.ne	LBB0_18
; %bb.2:
	mov	w9, #-1610481664
	lsr	w8, w9, w8
	tbz	w8, #0, LBB0_18
; %bb.3:
Lloh0:
	adrp	x8, _a_26@GOTPAGE
Lloh1:
	ldr	x8, [x8, _a_26@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #3
	bl	_find_among_b
	cbz	w0, LBB0_18
; %bb.4:
	ldr	w8, [x19, #4]
	str	w8, [x19, #24]
	mov	x0, x19
	bl	_slice_del
	mov	x20, x0
	tbnz	w0, #31, LBB0_19
; %bb.5:
	ldr	x8, [x19, #40]
	str	xzr, [x8]
	ldr	w21, [x19, #28]
	ldr	w22, [x19, #4]
	str	w22, [x19]
Lloh3:
	adrp	x8, _a_24@GOTPAGE
Lloh4:
	ldr	x8, [x8, _a_24@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #4
	bl	_find_among_b
	cbz	w0, LBB0_10
; %bb.6:
	ldp	w9, w8, [x19, #4]
	str	w9, [x19, #24]
	cmp	w9, w8
	b.gt	LBB0_11
; %bb.7:
	ldr	x8, [x19, #32]
	ldr	x1, [x8]
	mov	x0, x19
	bl	_slice_to
	ldr	x8, [x19, #32]
	str	x0, [x8]
	cbz	x0, LBB0_20
; %bb.8:
Lloh6:
	adrp	x8, _s_62@GOTPAGE
Lloh7:
	ldr	x8, [x8, _s_62@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #4
	bl	_slice_from_s
	tbnz	w0, #31, LBB0_21
; %bb.9:
	ldr	w21, [x19, #4]
	ldr	x8, [x19, #32]
	ldr	x3, [x8]
	mov	x0, x19
	mov	x1, x21
	mov	x2, x21
	bl	_insert_v
	str	w21, [x19, #4]
	tbz	w0, #31, LBB0_17
	b	LBB0_21
LBB0_10:
	ldr	w8, [x19, #8]
LBB0_11:
	ldr	w9, [x19, #28]
	sub	w10, w22, w21
	add	w9, w9, w10
	stp	w9, w9, [x19]
	sub	w9, w9, #1
	cmp	w9, w8
	b.le	LBB0_18
; %bb.12:
	ldr	x8, [x19, #16]
	ldr	w8, [x8, w9, sxtw #2]
	orr	w8, w8, #0x8
	cmp	w8, #189
	b.ne	LBB0_18
; %bb.13:
Lloh9:
	adrp	x8, _a_25@GOTPAGE
Lloh10:
	ldr	x8, [x8, _a_25@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #2
	bl	_find_among_b
	cbz	w0, LBB0_18
; %bb.14:
	ldr	w8, [x19, #4]
	str	w8, [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_20
; %bb.15:
Lloh12:
	adrp	x8, _s_63@GOTPAGE
Lloh13:
	ldr	x8, [x8, _s_63@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #4
	bl	_slice_from_s
	tbnz	w0, #31, LBB0_21
; %bb.16:
	ldr	w21, [x19, #4]
	ldr	x8, [x19, #32]
	ldr	x3, [x8]
	mov	x0, x19
	mov	x1, x21
	mov	x2, x21
	bl	_insert_v
	str	w21, [x19, #4]
	cmp	w0, #0
	csel	w20, w0, w20, lt
	tbnz	w0, #31, LBB0_19
LBB0_17:
	mov	w20, #1
	b	LBB0_19
LBB0_18:
	mov	w20, #0
LBB0_19:
	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_20:
	mov	w20, #-1
	b	LBB0_19
LBB0_21:
	mov	x20, x0
	b	LBB0_19
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_a_26,4,2                       ; @a_26
	.comm	_a_24,4,2                       ; @a_24
	.comm	_s_62,4,2                       ; @s_62
	.comm	_a_25,4,2                       ; @a_25
	.comm	_s_63,4,2                       ; @s_63
	.no_dead_strip	_r_steps9
.subsections_via_symbols
