	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function r_remove_common_word_endings
_r_remove_common_word_endings:          ## @r_remove_common_word_endings
	.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, %rbx
	movq	(%rdi), %rax
	movl	$0, (%rax)
	callq	_r_has_min_length
	movl	%eax, %r14d
	testl	%eax, %eax
	jle	LBB0_23
## %bb.1:
	movl	12(%rbx), %eax
	movl	16(%rbx), %ecx
	movl	%eax, 8(%rbx)
	movl	%ecx, 12(%rbx)
	movl	%ecx, 20(%rbx)
	movq	_s_56@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	$12, %esi
	callq	_eq_s_b
	testl	%eax, %eax
	jne	LBB0_20
## %bb.2:
	movl	16(%rbx), %eax
	movl	%eax, 12(%rbx)
	movq	_s_57@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	$15, %esi
	callq	_eq_s_b
	testl	%eax, %eax
	jne	LBB0_20
## %bb.3:
	movl	16(%rbx), %eax
	movl	%eax, 12(%rbx)
	movq	_s_58@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	$12, %esi
	callq	_eq_s_b
	testl	%eax, %eax
	jne	LBB0_20
## %bb.4:
	movl	16(%rbx), %eax
	movl	%eax, 12(%rbx)
	movq	_s_59@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	$15, %esi
	callq	_eq_s_b
	testl	%eax, %eax
	jne	LBB0_20
## %bb.5:
	movl	16(%rbx), %eax
	movl	%eax, 12(%rbx)
	movq	_s_60@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	$9, %esi
	callq	_eq_s_b
	testl	%eax, %eax
	jne	LBB0_20
## %bb.6:
	movl	16(%rbx), %eax
	movl	%eax, 12(%rbx)
	movq	_s_61@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	$12, %esi
	callq	_eq_s_b
	testl	%eax, %eax
	jne	LBB0_20
## %bb.7:
	movl	16(%rbx), %eax
	movl	%eax, 12(%rbx)
	movq	_s_62@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	$15, %esi
	callq	_eq_s_b
	testl	%eax, %eax
	jne	LBB0_20
## %bb.8:
	movl	16(%rbx), %eax
	movl	%eax, 12(%rbx)
	movq	_s_63@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	$12, %esi
	callq	_eq_s_b
	testl	%eax, %eax
	jne	LBB0_20
## %bb.9:
	movl	16(%rbx), %eax
	movl	%eax, 12(%rbx)
	movq	_s_64@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	$12, %esi
	callq	_eq_s_b
	testl	%eax, %eax
	jne	LBB0_20
## %bb.10:
	movl	16(%rbx), %eax
	movl	%eax, 12(%rbx)
	movq	_s_65@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	$9, %esi
	callq	_eq_s_b
	testl	%eax, %eax
	jne	LBB0_20
## %bb.11:
	movl	16(%rbx), %eax
	movl	%eax, 12(%rbx)
	movq	_s_66@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	$15, %esi
	callq	_eq_s_b
	testl	%eax, %eax
	jne	LBB0_20
## %bb.12:
	movl	16(%rbx), %eax
	movl	%eax, 12(%rbx)
	movq	_s_67@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	$9, %esi
	callq	_eq_s_b
	testl	%eax, %eax
	je	LBB0_14
## %bb.13:
	movl	12(%rbx), %r15d
	movl	16(%rbx), %r12d
	movq	_a_16@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$8, %edx
	callq	_find_among_b
	testl	%eax, %eax
	je	LBB0_19
LBB0_14:
	movl	16(%rbx), %eax
	movl	%eax, 12(%rbx)
	movq	_s_68@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	$6, %esi
	callq	_eq_s_b
	testl	%eax, %eax
	jne	LBB0_20
## %bb.15:
	movl	16(%rbx), %eax
	movl	%eax, 12(%rbx)
	movq	_s_69@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	$9, %esi
	callq	_eq_s_b
	testl	%eax, %eax
	jne	LBB0_20
## %bb.16:
	movl	16(%rbx), %eax
	movl	%eax, 12(%rbx)
	movl	%eax, 20(%rbx)
	movq	_a_17@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$13, %edx
	callq	_find_among_b
	testl	%eax, %eax
	je	LBB0_24
## %bb.17:
	movl	12(%rbx), %eax
	movl	%eax, 24(%rbx)
	movq	%rbx, %rdi
	callq	_slice_del
	testl	%eax, %eax
	jns	LBB0_21
LBB0_22:
	movl	%eax, %r14d
	jmp	LBB0_23
LBB0_19:
	subl	%r12d, %r15d
	addl	16(%rbx), %r15d
	movl	%r15d, 12(%rbx)
LBB0_20:
	movl	12(%rbx), %eax
	movl	%eax, 24(%rbx)
	movq	_s_70@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	$3, %esi
	callq	_slice_from_s
	testl	%eax, %eax
	js	LBB0_22
LBB0_21:
	movq	(%rbx), %rax
	movl	$1, (%rax)
	movl	8(%rbx), %eax
	movl	%eax, 12(%rbx)
	movq	%rbx, %rdi
	callq	_r_fix_endings
	testl	%eax, %eax
	cmovnsl	%r14d, %eax
	cmovel	%r14d, %eax
	movl	$1, %r14d
	cmovsl	%eax, %r14d
LBB0_23:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_24:
	xorl	%r14d, %r14d
	jmp	LBB0_23
	.cfi_endproc
                                        ## -- End function
	.comm	_s_56,4,2                       ## @s_56
	.comm	_s_57,4,2                       ## @s_57
	.comm	_s_58,4,2                       ## @s_58
	.comm	_s_59,4,2                       ## @s_59
	.comm	_s_60,4,2                       ## @s_60
	.comm	_s_61,4,2                       ## @s_61
	.comm	_s_62,4,2                       ## @s_62
	.comm	_s_63,4,2                       ## @s_63
	.comm	_s_64,4,2                       ## @s_64
	.comm	_s_65,4,2                       ## @s_65
	.comm	_s_66,4,2                       ## @s_66
	.comm	_s_67,4,2                       ## @s_67
	.comm	_a_16,4,2                       ## @a_16
	.comm	_s_68,4,2                       ## @s_68
	.comm	_s_69,4,2                       ## @s_69
	.comm	_s_70,4,2                       ## @s_70
	.comm	_a_17,4,2                       ## @a_17
	.no_dead_strip	_r_remove_common_word_endings
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function r_remove_common_word_endings
_r_remove_common_word_endings:          ; @r_remove_common_word_endings
	.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
	mov	x20, x0
	ldr	x8, [x0]
	str	wzr, [x8]
	bl	_r_has_min_length
	mov	x19, x0
	cmp	w0, #1
	b.lt	LBB0_22
; %bb.1:
	ldp	w8, w9, [x20, #12]
	stp	w8, w9, [x20, #8]
	str	w9, [x20, #20]
Lloh0:
	adrp	x8, _s_56@GOTPAGE
Lloh1:
	ldr	x8, [x8, _s_56@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x20
	mov	w1, #12
	bl	_eq_s_b
	cbnz	w0, LBB0_20
; %bb.2:
	ldr	w8, [x20, #16]
	str	w8, [x20, #12]
Lloh3:
	adrp	x8, _s_57@GOTPAGE
Lloh4:
	ldr	x8, [x8, _s_57@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x20
	mov	w1, #15
	bl	_eq_s_b
	cbnz	w0, LBB0_20
; %bb.3:
	ldr	w8, [x20, #16]
	str	w8, [x20, #12]
Lloh6:
	adrp	x8, _s_58@GOTPAGE
Lloh7:
	ldr	x8, [x8, _s_58@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	mov	x0, x20
	mov	w1, #12
	bl	_eq_s_b
	cbnz	w0, LBB0_20
; %bb.4:
	ldr	w8, [x20, #16]
	str	w8, [x20, #12]
Lloh9:
	adrp	x8, _s_59@GOTPAGE
Lloh10:
	ldr	x8, [x8, _s_59@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	mov	x0, x20
	mov	w1, #15
	bl	_eq_s_b
	cbnz	w0, LBB0_20
; %bb.5:
	ldr	w8, [x20, #16]
	str	w8, [x20, #12]
Lloh12:
	adrp	x8, _s_60@GOTPAGE
Lloh13:
	ldr	x8, [x8, _s_60@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
	mov	x0, x20
	mov	w1, #9
	bl	_eq_s_b
	cbnz	w0, LBB0_20
; %bb.6:
	ldr	w8, [x20, #16]
	str	w8, [x20, #12]
Lloh15:
	adrp	x8, _s_61@GOTPAGE
Lloh16:
	ldr	x8, [x8, _s_61@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
	mov	x0, x20
	mov	w1, #12
	bl	_eq_s_b
	cbnz	w0, LBB0_20
; %bb.7:
	ldr	w8, [x20, #16]
	str	w8, [x20, #12]
Lloh18:
	adrp	x8, _s_62@GOTPAGE
Lloh19:
	ldr	x8, [x8, _s_62@GOTPAGEOFF]
Lloh20:
	ldr	w2, [x8]
	mov	x0, x20
	mov	w1, #15
	bl	_eq_s_b
	cbnz	w0, LBB0_20
; %bb.8:
	ldr	w8, [x20, #16]
	str	w8, [x20, #12]
Lloh21:
	adrp	x8, _s_63@GOTPAGE
Lloh22:
	ldr	x8, [x8, _s_63@GOTPAGEOFF]
Lloh23:
	ldr	w2, [x8]
	mov	x0, x20
	mov	w1, #12
	bl	_eq_s_b
	cbnz	w0, LBB0_20
; %bb.9:
	ldr	w8, [x20, #16]
	str	w8, [x20, #12]
Lloh24:
	adrp	x8, _s_64@GOTPAGE
Lloh25:
	ldr	x8, [x8, _s_64@GOTPAGEOFF]
Lloh26:
	ldr	w2, [x8]
	mov	x0, x20
	mov	w1, #12
	bl	_eq_s_b
	cbnz	w0, LBB0_20
; %bb.10:
	ldr	w8, [x20, #16]
	str	w8, [x20, #12]
Lloh27:
	adrp	x8, _s_65@GOTPAGE
Lloh28:
	ldr	x8, [x8, _s_65@GOTPAGEOFF]
Lloh29:
	ldr	w2, [x8]
	mov	x0, x20
	mov	w1, #9
	bl	_eq_s_b
	cbnz	w0, LBB0_20
; %bb.11:
	ldr	w8, [x20, #16]
	str	w8, [x20, #12]
Lloh30:
	adrp	x8, _s_66@GOTPAGE
Lloh31:
	ldr	x8, [x8, _s_66@GOTPAGEOFF]
Lloh32:
	ldr	w2, [x8]
	mov	x0, x20
	mov	w1, #15
	bl	_eq_s_b
	cbnz	w0, LBB0_20
; %bb.12:
	ldr	w8, [x20, #16]
	str	w8, [x20, #12]
Lloh33:
	adrp	x8, _s_67@GOTPAGE
Lloh34:
	ldr	x8, [x8, _s_67@GOTPAGEOFF]
Lloh35:
	ldr	w2, [x8]
	mov	x0, x20
	mov	w1, #9
	bl	_eq_s_b
	cbz	w0, LBB0_14
; %bb.13:
	ldp	w22, w21, [x20, #12]
Lloh36:
	adrp	x8, _a_16@GOTPAGE
Lloh37:
	ldr	x8, [x8, _a_16@GOTPAGEOFF]
Lloh38:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #8
	bl	_find_among_b
	cbz	w0, LBB0_19
LBB0_14:
	ldr	w8, [x20, #16]
	str	w8, [x20, #12]
Lloh39:
	adrp	x8, _s_68@GOTPAGE
Lloh40:
	ldr	x8, [x8, _s_68@GOTPAGEOFF]
Lloh41:
	ldr	w2, [x8]
	mov	x0, x20
	mov	w1, #6
	bl	_eq_s_b
	cbnz	w0, LBB0_20
; %bb.15:
	ldr	w8, [x20, #16]
	str	w8, [x20, #12]
Lloh42:
	adrp	x8, _s_69@GOTPAGE
Lloh43:
	ldr	x8, [x8, _s_69@GOTPAGEOFF]
Lloh44:
	ldr	w2, [x8]
	mov	x0, x20
	mov	w1, #9
	bl	_eq_s_b
	cbnz	w0, LBB0_20
; %bb.16:
	ldr	w8, [x20, #16]
	str	w8, [x20, #12]
	str	w8, [x20, #20]
Lloh45:
	adrp	x8, _a_17@GOTPAGE
Lloh46:
	ldr	x8, [x8, _a_17@GOTPAGEOFF]
Lloh47:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #13
	bl	_find_among_b
	cbz	w0, LBB0_23
; %bb.17:
	ldr	w8, [x20, #12]
	str	w8, [x20, #24]
	mov	x0, x20
	bl	_slice_del
	tbz	w0, #31, LBB0_21
LBB0_18:
	mov	x19, x0
	b	LBB0_22
LBB0_19:
	ldr	w8, [x20, #16]
	sub	w9, w22, w21
	add	w8, w9, w8
	str	w8, [x20, #12]
LBB0_20:
	ldr	w8, [x20, #12]
	str	w8, [x20, #24]
Lloh48:
	adrp	x8, _s_70@GOTPAGE
Lloh49:
	ldr	x8, [x8, _s_70@GOTPAGEOFF]
Lloh50:
	ldr	w2, [x8]
	mov	x0, x20
	mov	w1, #3
	bl	_slice_from_s
	tbnz	w0, #31, LBB0_18
LBB0_21:
	ldr	x8, [x20]
	mov	w9, #1
	str	w9, [x8]
	ldr	w8, [x20, #8]
	str	w8, [x20, #12]
	mov	x0, x20
	bl	_r_fix_endings
	cmp	w0, #0
	csel	w8, w0, w19, lt
	csel	w8, w19, w8, eq
	csinc	w19, w8, wzr, lt
LBB0_22:
	mov	x0, x19
	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_23:
	mov	w19, #0
	b	LBB0_22
	.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
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.cfi_endproc
                                        ; -- End function
	.comm	_s_56,4,2                       ; @s_56
	.comm	_s_57,4,2                       ; @s_57
	.comm	_s_58,4,2                       ; @s_58
	.comm	_s_59,4,2                       ; @s_59
	.comm	_s_60,4,2                       ; @s_60
	.comm	_s_61,4,2                       ; @s_61
	.comm	_s_62,4,2                       ; @s_62
	.comm	_s_63,4,2                       ; @s_63
	.comm	_s_64,4,2                       ; @s_64
	.comm	_s_65,4,2                       ; @s_65
	.comm	_s_66,4,2                       ; @s_66
	.comm	_s_67,4,2                       ; @s_67
	.comm	_a_16,4,2                       ; @a_16
	.comm	_s_68,4,2                       ; @s_68
	.comm	_s_69,4,2                       ; @s_69
	.comm	_s_70,4,2                       ; @s_70
	.comm	_a_17,4,2                       ; @a_17
	.no_dead_strip	_r_remove_common_word_endings
.subsections_via_symbols
