	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function r_case_ending
_r_case_ending:                         ## @r_case_ending
	.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
	movq	(%rdi), %rax
	movq	8(%rdi), %rcx
	movq	(%rcx), %rcx
	xorl	%r14d, %r14d
	cmpq	%rcx, %rax
	jl	LBB0_29
## %bb.1:
	movq	%rdi, %r12
	movl	16(%rdi), %ebx
	movl	%ecx, 16(%rdi)
	movq	%rax, 24(%rdi)
	movq	_a_6@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$30, %edx
	callq	_find_among_b
                                        ## kill: def $eax killed $eax def $rax
	testl	%eax, %eax
	je	LBB0_2
## %bb.3:
	movq	(%r12), %rcx
	movq	%rcx, 32(%r12)
	movl	%ebx, 16(%r12)
	decl	%eax
	cmpl	$7, %eax
	ja	LBB0_26
## %bb.4:
	movslq	%ebx, %rdx
	leaq	LJTI0_0(%rip), %rsi
	movslq	(%rsi,%rax,4), %rax
	addq	%rsi, %rax
	jmpq	*%rax
LBB0_5:
	cmpq	%rdx, %rcx
	jle	LBB0_29
## %bb.6:
	movq	40(%r12), %rax
	cmpb	$97, -1(%rax,%rcx)
	je	LBB0_7
	jmp	LBB0_29
LBB0_2:
	movl	%ebx, 16(%r12)
	jmp	LBB0_29
LBB0_8:
	cmpq	%rdx, %rcx
	jle	LBB0_29
## %bb.9:
	movq	40(%r12), %rax
	cmpb	$101, -1(%rax,%rcx)
	je	LBB0_7
	jmp	LBB0_29
LBB0_10:
	cmpq	%rdx, %rcx
	jle	LBB0_29
## %bb.11:
	movq	40(%r12), %rax
	cmpb	$105, -1(%rax,%rcx)
	je	LBB0_7
	jmp	LBB0_29
LBB0_12:
	cmpq	%rdx, %rcx
	jle	LBB0_29
## %bb.13:
	movq	40(%r12), %rax
	cmpb	$111, -1(%rax,%rcx)
	jne	LBB0_29
LBB0_7:
	decq	%rcx
	movq	%rcx, (%r12)
	jmp	LBB0_26
LBB0_14:
	movq	_s_2@GOTPCREL(%rip), %rax
	jmp	LBB0_15
LBB0_16:
	movq	_s_3@GOTPCREL(%rip), %rax
LBB0_15:
	movl	(%rax), %edx
	movq	%r12, %rdi
	movl	$2, %esi
	callq	_eq_s_b
	testl	%eax, %eax
	jne	LBB0_26
	jmp	LBB0_29
LBB0_17:
	movl	48(%r12), %ebx
	subl	%ecx, %ebx
	movq	%r12, %rdi
	callq	_r_LONG
	movl	%eax, %edx
	shrl	$31, %edx
	testl	%eax, %eax
	movl	$3, %ecx
	cmovnel	%edx, %ecx
	movslq	%ebx, %r15
	testl	%ecx, %ecx
	je	LBB0_22
## %bb.18:
	cmpl	$3, %ecx
	jne	LBB0_21
## %bb.19:
	movslq	48(%r12), %rax
	subq	%r15, %rax
	movq	%rax, (%r12)
	movq	_s_4@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	movl	$2, %esi
	callq	_eq_s_b
	testl	%eax, %eax
	jne	LBB0_22
	jmp	LBB0_20
LBB0_24:
	movq	_g_V1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%r14d, %r14d
	movq	%r12, %rdi
	movl	$97, %edx
	movl	$246, %ecx
	xorl	%r8d, %r8d
	callq	_in_grouping_b_U
	testl	%eax, %eax
	jne	LBB0_29
## %bb.25:
	movq	_g_C@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%r14d, %r14d
	movq	%r12, %rdi
	movl	$98, %edx
	movl	$122, %ecx
	xorl	%r8d, %r8d
	callq	_in_grouping_b_U
	testl	%eax, %eax
	jne	LBB0_29
	jmp	LBB0_26
LBB0_21:
	xorl	%r14d, %r14d
	testl	%eax, %eax
	cmovsl	%eax, %r14d
	cmovel	%eax, %r14d
	js	LBB0_29
LBB0_22:
	movslq	48(%r12), %rsi
	subq	%r15, %rsi
	movq	%rsi, (%r12)
	movq	40(%r12), %rdi
	movslq	16(%r12), %rdx
                                        ## kill: def $esi killed $esi killed $rsi
	xorl	%ecx, %ecx
	movl	$-1, %r8d
	callq	_skip_utf8
	testl	%eax, %eax
	js	LBB0_20
## %bb.23:
	movl	%eax, %eax
	movq	%rax, (%r12)
	movq	%rax, 32(%r12)
	jmp	LBB0_26
LBB0_20:
	movslq	48(%r12), %rax
	subq	%r15, %rax
	movq	%rax, (%r12)
LBB0_26:
	movq	%r12, %rdi
	callq	_slice_del
	testl	%eax, %eax
	js	LBB0_27
## %bb.28:
	movq	56(%r12), %rax
	movl	$1, (%rax)
	movl	$1, %r14d
	jmp	LBB0_29
LBB0_27:
	movl	%eax, %r14d
LBB0_29:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_24, LBB0_24-LJTI0_0
LJTI0_0:
	.long	L0_0_set_5
	.long	L0_0_set_8
	.long	L0_0_set_10
	.long	L0_0_set_12
	.long	L0_0_set_14
	.long	L0_0_set_16
	.long	L0_0_set_17
	.long	L0_0_set_24
	.end_data_region
                                        ## -- End function
	.comm	_a_6,4,2                        ## @a_6
	.comm	_s_2,4,2                        ## @s_2
	.comm	_s_3,4,2                        ## @s_3
	.comm	_s_4,4,2                        ## @s_4
	.comm	_g_V1,4,2                       ## @g_V1
	.comm	_g_C,4,2                        ## @g_C
	.no_dead_strip	_r_case_ending
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function r_case_ending
_r_case_ending:                         ; @r_case_ending
	.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	x8, x9, [x0]
	ldr	x9, [x9]
	cmp	x8, x9
	b.ge	LBB0_2
LBB0_1:
	mov	w0, #0
	b	LBB0_29
LBB0_2:
	mov	x19, x0
	ldr	w20, [x0, #16]
	str	w9, [x0, #16]
	str	x8, [x0, #24]
Lloh0:
	adrp	x8, _a_6@GOTPAGE
Lloh1:
	ldr	x8, [x8, _a_6@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w2, #30
	bl	_find_among_b
	cbz	w0, LBB0_7
; %bb.3:
	ldr	x8, [x19]
	str	x8, [x19, #32]
	str	w20, [x19, #16]
	sub	w10, w0, #1
	cmp	w10, #7
	b.hi	LBB0_27
; %bb.4:
	sxtw	x9, w20
Lloh3:
	adrp	x11, lJTI0_0@PAGE
Lloh4:
	add	x11, x11, lJTI0_0@PAGEOFF
	adr	x12, LBB0_5
	ldrb	w13, [x11, x10]
	add	x12, x12, x13, lsl #2
	br	x12
LBB0_5:
	cmp	x8, x9
	b.le	LBB0_1
; %bb.6:
	ldr	x9, [x19, #40]
	sub	x8, x8, #1
	ldrb	w9, [x9, x8]
	cmp	w9, #97
	b.ne	LBB0_1
	b	LBB0_26
LBB0_7:
	str	w20, [x19, #16]
	b	LBB0_29
LBB0_8:
	cmp	x8, x9
	b.le	LBB0_1
; %bb.9:
	ldr	x9, [x19, #40]
	sub	x8, x8, #1
	ldrb	w9, [x9, x8]
	cmp	w9, #105
	b.ne	LBB0_1
	b	LBB0_26
LBB0_10:
	cmp	x8, x9
	b.le	LBB0_1
; %bb.11:
	ldr	x9, [x19, #40]
	sub	x8, x8, #1
	ldrb	w9, [x9, x8]
	cmp	w9, #111
	b.ne	LBB0_1
	b	LBB0_26
LBB0_12:
Lloh5:
	adrp	x8, _s_2@GOTPAGE
Lloh6:
	ldr	x8, [x8, _s_2@GOTPAGEOFF]
	b	LBB0_18
LBB0_13:
Lloh7:
	adrp	x8, _g_V1@GOTPAGE
Lloh8:
	ldr	x8, [x8, _g_V1@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #97
	mov	w3, #246
	mov	w4, #0
	bl	_in_grouping_b_U
	mov	x8, x0
	mov	w0, #0
	cbnz	w8, LBB0_29
; %bb.14:
Lloh10:
	adrp	x8, _g_C@GOTPAGE
Lloh11:
	ldr	x8, [x8, _g_C@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #98
	mov	w3, #122
	mov	w4, #0
	bl	_in_grouping_b_U
	mov	x8, x0
	mov	w0, #0
	cbnz	w8, LBB0_29
	b	LBB0_27
LBB0_15:
	cmp	x8, x9
	b.le	LBB0_1
; %bb.16:
	ldr	x9, [x19, #40]
	sub	x8, x8, #1
	ldrb	w9, [x9, x8]
	cmp	w9, #101
	b.ne	LBB0_1
	b	LBB0_26
LBB0_17:
Lloh13:
	adrp	x8, _s_3@GOTPAGE
Lloh14:
	ldr	x8, [x8, _s_3@GOTPAGEOFF]
LBB0_18:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #2
	bl	_eq_s_b
	cbnz	w0, LBB0_27
	b	LBB0_29
LBB0_19:
	ldr	w9, [x19, #48]
	sub	w20, w9, w8
	mov	x0, x19
	bl	_r_LONG
	lsr	w9, w0, #31
	mov	w10, #3
	cmp	w0, #0
	csel	w9, w10, w9, eq
	cbz	w9, LBB0_23
; %bb.20:
	cmp	w9, #3
	b.ne	LBB0_22
; %bb.21:
	ldrsw	x8, [x19, #48]
	sub	x8, x8, w20, sxtw
	str	x8, [x19]
Lloh15:
	adrp	x8, _s_4@GOTPAGE
Lloh16:
	ldr	x8, [x8, _s_4@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #2
	bl	_eq_s_b
	cbnz	w0, LBB0_23
	b	LBB0_25
LBB0_22:
	mov	x8, x0
	cmp	w0, #0
	csel	w9, w0, wzr, lt
	csel	w0, wzr, w9, eq
	tbnz	w8, #31, LBB0_29
LBB0_23:
	ldrsw	x8, [x19, #48]
	sub	x1, x8, w20, sxtw
	str	x1, [x19]
	ldr	x0, [x19, #40]
	ldrsw	x2, [x19, #16]
                                        ; kill: def $w1 killed $w1 killed $x1
	mov	w3, #0
	mov	w4, #-1
	bl	_skip_utf8
	tbnz	w0, #31, LBB0_25
; %bb.24:
	mov	w8, w0
	str	x8, [x19]
	str	x8, [x19, #32]
	b	LBB0_27
LBB0_25:
	ldrsw	x8, [x19, #48]
	sub	x8, x8, w20, sxtw
LBB0_26:
	str	x8, [x19]
LBB0_27:
	mov	x0, x19
	bl	_slice_del
	tbnz	w0, #31, LBB0_29
; %bb.28:
	ldr	x8, [x19, #56]
	mov	w0, #1
	str	w0, [x8]
LBB0_29:
	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 AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_5-LBB0_5)>>2
	.byte	(LBB0_15-LBB0_5)>>2
	.byte	(LBB0_8-LBB0_5)>>2
	.byte	(LBB0_10-LBB0_5)>>2
	.byte	(LBB0_12-LBB0_5)>>2
	.byte	(LBB0_17-LBB0_5)>>2
	.byte	(LBB0_19-LBB0_5)>>2
	.byte	(LBB0_13-LBB0_5)>>2
                                        ; -- End function
	.comm	_a_6,4,2                        ; @a_6
	.comm	_s_2,4,2                        ; @s_2
	.comm	_s_3,4,2                        ; @s_3
	.comm	_s_4,4,2                        ; @s_4
	.comm	_g_V1,4,2                       ; @g_V1
	.comm	_g_C,4,2                        ; @g_C
	.no_dead_strip	_r_case_ending
.subsections_via_symbols
