	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function r_remove_second_order_prefix
_r_remove_second_order_prefix:          ## @r_remove_second_order_prefix
	.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
	movslq	4(%rdi), %rax
	movl	%eax, (%rdi)
	leal	1(%rax), %ecx
	xorl	%r14d, %r14d
	cmpl	8(%rdi), %ecx
	jge	LBB0_14
## %bb.1:
	movq	%rdi, %rbx
	movq	16(%rdi), %rcx
	cmpl	$101, 4(%rcx,%rax,4)
	jne	LBB0_14
## %bb.2:
	movq	_a_4@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$6, %edx
	callq	_find_among
                                        ## kill: def $eax killed $eax def $rax
	testl	%eax, %eax
	je	LBB0_14
## %bb.3:
	movl	4(%rbx), %ecx
	movl	%ecx, 24(%rbx)
	movl	$1, %r14d
	decl	%eax
	cmpl	$3, %eax
	ja	LBB0_14
## %bb.4:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_5:
	movq	%rbx, %rdi
	callq	_slice_del
	testl	%eax, %eax
	js	LBB0_15
## %bb.6:
	movq	32(%rbx), %rax
	movl	$2, 4(%rax)
	jmp	LBB0_13
LBB0_7:
	movq	_s_5@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	$4, %esi
	callq	_slice_from_s
	testl	%eax, %eax
	js	LBB0_15
## %bb.8:
	movq	32(%rbx), %rax
	jmp	LBB0_13
LBB0_9:
	movq	%rbx, %rdi
	callq	_slice_del
	testl	%eax, %eax
	jns	LBB0_12
LBB0_15:
	movl	%eax, %r14d
	jmp	LBB0_14
LBB0_11:
	movq	_s_6@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	$4, %esi
	callq	_slice_from_s
	testl	%eax, %eax
	js	LBB0_15
LBB0_12:
	movq	32(%rbx), %rax
	movl	$4, 4(%rax)
LBB0_13:
	decl	(%rax)
LBB0_14:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
LJTI0_0:
	.long	L0_0_set_5
	.long	L0_0_set_7
	.long	L0_0_set_9
	.long	L0_0_set_11
	.end_data_region
                                        ## -- End function
	.comm	_a_4,4,2                        ## @a_4
	.comm	_s_5,4,2                        ## @s_5
	.comm	_s_6,4,2                        ## @s_6
	.no_dead_strip	_r_remove_second_order_prefix
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function r_remove_second_order_prefix
_r_remove_second_order_prefix:          ; @r_remove_second_order_prefix
	.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]
	add	w8, w8, #1
	cmp	w8, w9
	b.ge	LBB0_7
; %bb.1:
	mov	x19, x0
	ldr	x9, [x0, #16]
	ldr	w8, [x9, w8, sxtw #2]
	cmp	w8, #101
	b.ne	LBB0_7
; %bb.2:
Lloh0:
	adrp	x8, _a_4@GOTPAGE
Lloh1:
	ldr	x8, [x8, _a_4@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #6
	bl	_find_among
	cbz	w0, LBB0_8
; %bb.3:
	ldr	w8, [x19, #4]
	str	w8, [x19, #24]
	sub	w8, w0, #1
	cmp	w8, #3
	b.hi	LBB0_16
; %bb.4:
Lloh3:
	adrp	x9, lJTI0_0@PAGE
Lloh4:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_5
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_5:
	mov	x0, x19
	bl	_slice_del
	tbnz	w0, #31, LBB0_8
; %bb.6:
	ldr	x8, [x19, #32]
	mov	w9, #2
	str	w9, [x8, #4]
	b	LBB0_15
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:
Lloh5:
	adrp	x8, _s_5@GOTPAGE
Lloh6:
	ldr	x8, [x8, _s_5@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #4
	bl	_slice_from_s
	tbnz	w0, #31, LBB0_8
; %bb.10:
	ldr	x8, [x19, #32]
	b	LBB0_15
LBB0_11:
	mov	x0, x19
	bl	_slice_del
	tbnz	w0, #31, LBB0_8
; %bb.12:
	ldr	x8, [x19, #32]
	mov	w9, #4
	str	w9, [x8, #4]
	b	LBB0_15
LBB0_13:
Lloh8:
	adrp	x8, _s_6@GOTPAGE
Lloh9:
	ldr	x8, [x8, _s_6@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	mov	w20, #4
	mov	x0, x19
	mov	w1, #4
	bl	_slice_from_s
	tbnz	w0, #31, LBB0_8
; %bb.14:
	ldr	x8, [x19, #32]
	str	w20, [x8, #4]
LBB0_15:
	ldr	w9, [x8]
	sub	w9, w9, #1
	str	w9, [x8]
LBB0_16:
	mov	w0, #1
	b	LBB0_8
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_5-LBB0_5)>>2
	.byte	(LBB0_9-LBB0_5)>>2
	.byte	(LBB0_11-LBB0_5)>>2
	.byte	(LBB0_13-LBB0_5)>>2
                                        ; -- End function
	.comm	_a_4,4,2                        ; @a_4
	.comm	_s_5,4,2                        ; @s_5
	.comm	_s_6,4,2                        ; @s_6
	.no_dead_strip	_r_remove_second_order_prefix
.subsections_via_symbols
