	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function r_steps4
_r_steps4:                              ## @r_steps4
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movl	4(%rdi), %eax
	movl	%eax, (%rdi)
	movq	_a_11@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$7, %edx
	callq	_find_among_b
	xorl	%r14d, %r14d
	testl	%eax, %eax
	je	LBB0_11
## %bb.1:
	movl	4(%rbx), %eax
	movl	%eax, 8(%rbx)
	movq	%rbx, %rdi
	callq	_slice_del
	testl	%eax, %eax
	js	LBB0_10
## %bb.2:
	movq	32(%rbx), %rax
	movq	$0, (%rax)
	movslq	4(%rbx), %rax
	movl	%eax, (%rbx)
	leal	-3(%rax), %ecx
	cmpl	12(%rbx), %ecx
	jle	LBB0_11
## %bb.3:
	movq	16(%rbx), %rcx
	movl	-4(%rcx,%rax,4), %eax
	movl	%eax, %ecx
	andl	$-32, %ecx
	cmpl	$160, %ecx
	jne	LBB0_11
## %bb.4:
	movl	$-2145255424, %ecx              ## imm = 0x80220000
	btl	%eax, %ecx
	jae	LBB0_11
## %bb.5:
	movq	_a_10@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$19, %edx
	callq	_find_among_b
	testl	%eax, %eax
	je	LBB0_11
## %bb.6:
	movl	4(%rbx), %eax
	movl	%eax, 8(%rbx)
	cmpl	12(%rbx), %eax
	jg	LBB0_11
## %bb.7:
	movq	24(%rbx), %rax
	movq	(%rax), %rsi
	movq	%rbx, %rdi
	callq	_slice_to
	movq	24(%rbx), %rcx
	movq	%rax, (%rcx)
	testq	%rax, %rax
	je	LBB0_12
## %bb.8:
	movq	_s_42@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	$2, %esi
	callq	_slice_from_s
	testl	%eax, %eax
	js	LBB0_10
## %bb.9:
	movl	4(%rbx), %r14d
	movq	24(%rbx), %rax
	movq	(%rax), %rcx
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	%r14d, %edx
	callq	_insert_v
	movl	%r14d, 4(%rbx)
	testl	%eax, %eax
	movl	$1, %r14d
	cmovsl	%eax, %r14d
	jmp	LBB0_11
LBB0_10:
	movl	%eax, %r14d
LBB0_11:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_12:
	movl	$-1, %r14d
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_a_11,4,2                       ## @a_11
	.comm	_a_10,4,2                       ## @a_10
	.comm	_s_42,4,2                       ## @s_42
	.no_dead_strip	_r_steps4
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function r_steps4
_r_steps4:                              ; @r_steps4
	.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
	mov	x19, x0
	ldr	w8, [x0, #4]
	str	w8, [x0]
Lloh0:
	adrp	x8, _a_11@GOTPAGE
Lloh1:
	ldr	x8, [x8, _a_11@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w2, #7
	bl	_find_among_b
	cbz	w0, LBB0_8
; %bb.1:
	ldr	w8, [x19, #4]
	str	w8, [x19, #8]
	mov	x0, x19
	bl	_slice_del
	tbnz	w0, #31, LBB0_8
; %bb.2:
	ldr	x8, [x19, #32]
	str	xzr, [x8]
	ldr	w8, [x19, #4]
	str	w8, [x19]
	sub	w9, w8, #3
	ldr	w10, [x19, #12]
	cmp	w9, w10
	b.le	LBB0_7
; %bb.3:
	ldr	x9, [x19, #16]
	sub	w8, w8, #1
	ldr	w8, [x9, w8, sxtw #2]
	and	w9, w8, #0xffffffe0
	cmp	w9, #160
	b.ne	LBB0_7
; %bb.4:
	mov	w9, #-2145255424
	lsr	w8, w9, w8
	tbz	w8, #0, LBB0_7
; %bb.5:
Lloh3:
	adrp	x8, _a_10@GOTPAGE
Lloh4:
	ldr	x8, [x8, _a_10@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #19
	bl	_find_among_b
	cbz	w0, LBB0_8
; %bb.6:
	ldr	w8, [x19, #4]
	str	w8, [x19, #8]
	ldr	w9, [x19, #12]
	cmp	w8, w9
	b.le	LBB0_9
LBB0_7:
	mov	w0, #0
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_9:
	ldr	x8, [x19, #24]
	ldr	x1, [x8]
	mov	x0, x19
	bl	_slice_to
	ldr	x8, [x19, #24]
	str	x0, [x8]
	cbz	x0, LBB0_12
; %bb.10:
Lloh6:
	adrp	x8, _s_42@GOTPAGE
Lloh7:
	ldr	x8, [x8, _s_42@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #2
	bl	_slice_from_s
	tbnz	w0, #31, LBB0_8
; %bb.11:
	ldr	w20, [x19, #4]
	ldr	x8, [x19, #24]
	ldr	x3, [x8]
	mov	x0, x19
	mov	x1, x20
	mov	x2, x20
	bl	_insert_v
	str	w20, [x19, #4]
	cmp	w0, #0
	csinc	w0, w0, wzr, lt
	b	LBB0_8
LBB0_12:
	mov	w0, #-1
	b	LBB0_8
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_a_11,4,2                       ; @a_11
	.comm	_a_10,4,2                       ; @a_10
	.comm	_s_42,4,2                       ; @s_42
	.no_dead_strip	_r_steps4
.subsections_via_symbols
