	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function r_tidy_up
_r_tidy_up:                             ## @r_tidy_up
	.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	(%rdi), %eax
	movl	%eax, 8(%rdi)
	movq	_a_7@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$4, %edx
	callq	_find_among_b
	xorl	%r14d, %r14d
	testl	%eax, %eax
	je	LBB0_12
## %bb.1:
	movl	(%rbx), %ecx
	movl	%ecx, 4(%rbx)
	cmpl	$3, %eax
	je	LBB0_8
## %bb.2:
	cmpl	$2, %eax
	je	LBB0_10
## %bb.3:
	cmpl	$1, %eax
	jne	LBB0_11
## %bb.4:
	movq	%rbx, %rdi
	callq	_slice_del
	testl	%eax, %eax
	js	LBB0_9
## %bb.5:
	movl	(%rbx), %eax
	movl	%eax, 8(%rbx)
	movq	_s_6@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	$2, %esi
	callq	_eq_s_b
	testl	%eax, %eax
	je	LBB0_12
## %bb.6:
	movl	(%rbx), %eax
	movl	%eax, 4(%rbx)
	movq	_s_7@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_10:
	movq	_s_8@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	$2, %esi
	callq	_eq_s_b
	testl	%eax, %eax
	je	LBB0_12
LBB0_8:
	movq	%rbx, %rdi
	callq	_slice_del
	testl	%eax, %eax
	js	LBB0_9
LBB0_11:
	movl	$1, %r14d
	jmp	LBB0_12
LBB0_9:
	movl	%eax, %r14d
LBB0_12:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_a_7,4,2                        ## @a_7
	.comm	_s_6,4,2                        ## @s_6
	.comm	_s_7,4,2                        ## @s_7
	.comm	_s_8,4,2                        ## @s_8
	.no_dead_strip	_r_tidy_up
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function r_tidy_up
_r_tidy_up:                             ; @r_tidy_up
	.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]
	str	w8, [x0, #8]
Lloh0:
	adrp	x8, _a_7@GOTPAGE
Lloh1:
	ldr	x8, [x8, _a_7@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w2, #4
	bl	_find_among_b
	cbz	w0, LBB0_11
; %bb.1:
	ldr	w8, [x19]
	str	w8, [x19, #4]
	cmp	w0, #3
	b.eq	LBB0_9
; %bb.2:
	cmp	w0, #2
	b.eq	LBB0_7
; %bb.3:
	cmp	w0, #1
	b.ne	LBB0_10
; %bb.4:
	mov	x0, x19
	bl	_slice_del
	tbnz	w0, #31, LBB0_11
; %bb.5:
	ldr	w8, [x19]
	str	w8, [x19, #8]
Lloh3:
	adrp	x8, _s_6@GOTPAGE
Lloh4:
	ldr	x8, [x8, _s_6@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #2
	bl	_eq_s_b
	cbz	w0, LBB0_11
; %bb.6:
	ldr	w8, [x19]
	str	w8, [x19, #4]
Lloh6:
	adrp	x8, _s_7@GOTPAGE
Lloh7:
	ldr	x8, [x8, _s_7@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:
Lloh8:
	adrp	x8, _s_8@GOTPAGE
Lloh9:
	ldr	x8, [x8, _s_8@GOTPAGEOFF]
LBB0_8:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #2
	bl	_eq_s_b
	cbz	w0, LBB0_11
LBB0_9:
	mov	x0, x19
	bl	_slice_del
	tbnz	w0, #31, LBB0_11
LBB0_10:
	mov	w0, #1
LBB0_11:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_a_7,4,2                        ; @a_7
	.comm	_s_6,4,2                        ; @s_6
	.comm	_s_7,4,2                        ; @s_7
	.comm	_s_8,4,2                        ; @s_8
	.no_dead_strip	_r_tidy_up
.subsections_via_symbols
