	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_russian_KOI8_R_stem            ## -- Begin function russian_KOI8_R_stem
	.p2align	4, 0x90
_russian_KOI8_R_stem:                   ## @russian_KOI8_R_stem
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movl	(%rdi), %r15d
	movq	_s_0@GOTPCREL(%rip), %r12
	movl	%r15d, %eax
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_2 Depth 2
	movl	8(%rbx), %ecx
	cltq
	.p2align	4, 0x90
LBB0_2:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%eax, 4(%rbx)
	cmpl	%eax, %ecx
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=2
	movq	16(%rbx), %rdx
	cmpl	$163, (%rdx,%rax,4)
	je	LBB0_6
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=2
	cmpl	%ecx, %eax
	jge	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=2
	incq	%rax
	movl	%eax, (%rbx)
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_1 Depth=1
	leal	1(%rax), %ecx
	movslq	%ecx, %rcx
	movq	%rcx, 24(%rbx)
	movl	%eax, (%rbx)
	movl	(%r12), %edx
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_slice_from_s
	testl	%eax, %eax
	js	LBB0_26
## %bb.7:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	(%rbx), %eax
	jmp	LBB0_1
LBB0_8:
	movl	%r15d, (%rbx)
	movq	%rbx, %rdi
	callq	_r_mark_regions
	movl	%eax, %r15d
	testl	%eax, %eax
	js	LBB0_15
## %bb.9:
	movl	(%rbx), %r12d
	movl	8(%rbx), %ecx
	movl	%r12d, 32(%rbx)
	movl	%ecx, (%rbx)
	movq	40(%rbx), %rax
	movl	(%rax), %eax
	xorl	%r14d, %r14d
	cmpl	%eax, %ecx
	jl	LBB0_42
## %bb.10:
	movl	%eax, 32(%rbx)
	movq	%rbx, %rdi
	callq	_r_perfective_gerund
	movl	%eax, %edx
	shrl	$31, %edx
	testl	%eax, %eax
	movl	%r15d, %r14d
	cmovsl	%eax, %r14d
	movl	$9, %ecx
	cmovnel	%edx, %ecx
	cmovel	%r15d, %r14d
	testl	%ecx, %ecx
	je	LBB0_29
## %bb.11:
	cmpl	$9, %ecx
	jne	LBB0_16
## %bb.12:
	movl	8(%rbx), %eax
	movl	%eax, (%rbx)
	movq	%rbx, %rdi
	callq	_r_reflexive
	testl	%eax, %eax
	je	LBB0_17
## %bb.13:
	js	LBB0_26
## %bb.14:
	movl	(%rbx), %r13d
	movl	8(%rbx), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	jmp	LBB0_18
LBB0_15:
	movl	%r15d, %r14d
	jmp	LBB0_42
LBB0_16:
	testl	%eax, %eax
	jns	LBB0_29
	jmp	LBB0_42
LBB0_17:
	movl	8(%rbx), %r13d
	movl	%r13d, (%rbx)
	movl	%r13d, -44(%rbp)                ## 4-byte Spill
LBB0_18:
	movq	%rbx, %rdi
	callq	_r_adjectival
	movl	%eax, %r15d
	shrl	$31, %eax
	testl	%r15d, %r15d
	cmovnsl	%r14d, %r15d
	movl	$12, %ecx
	cmovnel	%eax, %ecx
	cmovel	%r14d, %r15d
	testl	%ecx, %ecx
	je	LBB0_24
## %bb.19:
	cmpl	$12, %ecx
	jne	LBB0_28
## %bb.20:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	subl	%r13d, %eax
	movl	%eax, %r13d
	movl	8(%rbx), %eax
	subl	%r13d, %eax
	movl	%eax, (%rbx)
	movq	%rbx, %rdi
	callq	_r_verb
	movl	%eax, %r14d
	shrl	$31, %eax
	testl	%r14d, %r14d
	cmovnsl	%r15d, %r14d
	movl	$14, %ecx
	cmovnel	%eax, %ecx
	cmovel	%r15d, %r14d
	testl	%ecx, %ecx
	je	LBB0_29
## %bb.21:
	cmpl	$14, %ecx
	jne	LBB0_27
## %bb.22:
	movl	8(%rbx), %eax
	subl	%r13d, %eax
	movl	%eax, (%rbx)
	movq	%rbx, %rdi
	callq	_r_noun
	movl	%r14d, %r15d
	testl	%eax, %eax
	cmovsl	%eax, %r15d
	je	LBB0_29
## %bb.23:
	shrl	$31, %eax
	jmp	LBB0_28
LBB0_24:
	movl	%r15d, %r14d
	jmp	LBB0_29
LBB0_27:
	movl	%r14d, %r15d
LBB0_28:
	movl	%r15d, %r14d
	testl	%eax, %eax
	jne	LBB0_42
LBB0_29:
	movl	8(%rbx), %r15d
	movslq	%r15d, %rax
	movl	%eax, (%rbx)
	movq	%rax, 24(%rbx)
	cmpl	32(%rbx), %eax
	jle	LBB0_33
## %bb.30:
	movq	16(%rbx), %rcx
	cmpl	$201, -4(%rcx,%rax,4)
	movl	%r15d, %r13d
	jne	LBB0_34
## %bb.31:
	decq	%rax
	movl	%eax, (%rbx)
	movl	%eax, 4(%rbx)
	movq	%rbx, %rdi
	callq	_slice_del
	testl	%eax, %eax
	js	LBB0_26
## %bb.32:
	movl	(%rbx), %r15d
	movl	8(%rbx), %r13d
	jmp	LBB0_34
LBB0_33:
	movl	%r15d, %r13d
LBB0_34:
	movq	%rbx, %rdi
	callq	_r_derivational
	movl	%eax, %edx
	shrl	$31, %edx
	testl	%eax, %eax
	movl	%r14d, %esi
	cmovsl	%eax, %esi
	movl	$17, %ecx
	cmovnel	%edx, %ecx
	cmovnel	%esi, %r14d
	cmpl	$17, %ecx
	je	LBB0_36
## %bb.35:
	testl	%ecx, %ecx
	jne	LBB0_37
LBB0_36:
	subl	%r13d, %r15d
	addl	8(%rbx), %r15d
	movl	%r15d, (%rbx)
	jmp	LBB0_38
LBB0_37:
	testl	%eax, %eax
	js	LBB0_42
LBB0_38:
	movq	%rbx, %rdi
	callq	_r_tidy_up
	movl	%eax, %edx
	shrl	$31, %edx
	testl	%eax, %eax
	movl	$18, %ecx
	cmovnel	%edx, %ecx
	testl	%ecx, %ecx
	je	LBB0_41
## %bb.39:
	cmpl	$18, %ecx
	je	LBB0_41
## %bb.40:
	testl	%eax, %eax
	cmovnsl	%r14d, %eax
	cmovnel	%eax, %r14d
	js	LBB0_42
LBB0_41:
	movl	%r12d, 32(%rbx)
	movl	%r12d, (%rbx)
	movl	$1, %r14d
	jmp	LBB0_42
LBB0_26:
	movl	%eax, %r14d
LBB0_42:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_s_0,4,2                        ## @s_0
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_russian_KOI8_R_stem            ; -- Begin function russian_KOI8_R_stem
	.p2align	2
_russian_KOI8_R_stem:                   ; @russian_KOI8_R_stem
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
	ldr	w21, [x0]
Lloh0:
	adrp	x22, _s_0@GOTPAGE
Lloh1:
	ldr	x22, [x22, _s_0@GOTPAGEOFF]
	mov	x8, x21
LBB0_1:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_2 Depth 2
	ldr	w9, [x19, #8]
	sxtw	x8, w8
LBB0_2:                                 ;   Parent Loop BB0_1 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	str	w8, [x19, #4]
	cmp	w9, w8
	b.eq	LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=2
	ldr	x10, [x19, #16]
	ldr	w10, [x10, x8, lsl #2]
	cmp	w10, #163
	b.eq	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_2 Depth=2
	cmp	w8, w9
	b.ge	LBB0_8
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=2
	add	x8, x8, #1
	str	w8, [x19]
	b	LBB0_2
LBB0_6:                                 ;   in Loop: Header=BB0_1 Depth=1
	add	w9, w8, #1
	sxtw	x9, w9
	str	x9, [x19, #24]
	str	w8, [x19]
	ldr	w2, [x22]
	mov	x0, x19
	mov	w1, #1
	bl	_slice_from_s
	tbnz	w0, #31, LBB0_39
; %bb.7:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	w8, [x19]
	b	LBB0_1
LBB0_8:
	str	w21, [x19]
	mov	x0, x19
	bl	_r_mark_regions
	mov	x20, x0
	tbnz	w0, #31, LBB0_38
; %bb.9:
	ldr	w21, [x19]
	str	w21, [x19, #32]
	ldr	w9, [x19, #8]
	str	w9, [x19]
	ldr	x8, [x19, #40]
	ldr	w8, [x8]
	cmp	w9, w8
	b.ge	LBB0_11
; %bb.10:
	mov	w20, #0
	b	LBB0_38
LBB0_11:
	str	w8, [x19, #32]
	mov	x0, x19
	bl	_r_perfective_gerund
	lsr	w8, w0, #31
	cmp	w0, #0
	csel	w9, w0, w20, lt
	mov	w10, #9
	csel	w8, w10, w8, eq
	csel	w22, w20, w9, eq
	cbz	w8, LBB0_25
; %bb.12:
	cmp	w8, #9
	b.ne	LBB0_16
; %bb.13:
	ldr	w8, [x19, #8]
	str	w8, [x19]
	mov	x0, x19
	bl	_r_reflexive
	cbz	w0, LBB0_17
; %bb.14:
	mov	x20, x0
	tbnz	w0, #31, LBB0_38
; %bb.15:
	ldr	w23, [x19, #8]
	ldr	w20, [x19]
	b	LBB0_18
LBB0_16:
	mov	x20, x22
	tbz	w0, #31, LBB0_25
	b	LBB0_38
LBB0_17:
	ldr	w20, [x19, #8]
	str	w20, [x19]
	mov	x23, x20
LBB0_18:
	mov	x0, x19
	bl	_r_adjectival
	lsr	w8, w0, #31
	cmp	w0, #0
	csel	w10, w0, w22, lt
	mov	w9, #12
	csel	w9, w9, w8, eq
	csel	w22, w22, w10, eq
	cbz	w9, LBB0_25
; %bb.19:
	cmp	w9, #12
	b.ne	LBB0_24
; %bb.20:
	ldr	w8, [x19, #8]
	sub	w20, w23, w20
	sub	w8, w8, w20
	str	w8, [x19]
	mov	x0, x19
	bl	_r_verb
	lsr	w8, w0, #31
	cmp	w0, #0
	csel	w10, w0, w22, lt
	mov	w9, #14
	csel	w9, w9, w8, eq
	csel	w22, w22, w10, eq
	cbz	w9, LBB0_25
; %bb.21:
	cmp	w9, #14
	b.ne	LBB0_24
; %bb.22:
	ldr	w8, [x19, #8]
	sub	w8, w8, w20
	str	w8, [x19]
	mov	x0, x19
	bl	_r_noun
	cmp	w0, #0
	csel	w9, w0, w22, lt
	cbz	w0, LBB0_25
; %bb.23:
	lsr	w8, w0, #31
	mov	x22, x9
LBB0_24:
	mov	x20, x22
	cbnz	w8, LBB0_38
LBB0_25:
	ldrsw	x23, [x19, #8]
	str	w23, [x19]
	str	x23, [x19, #24]
	ldr	w8, [x19, #32]
	cmp	w23, w8
	b.le	LBB0_29
; %bb.26:
	ldr	x9, [x19, #16]
	sub	w8, w23, #1
	ldr	w9, [x9, w8, sxtw #2]
	mov	x24, x23
	cmp	w9, #201
	b.ne	LBB0_30
; %bb.27:
	stp	w8, w8, [x19]
	mov	x0, x19
	bl	_slice_del
	tbnz	w0, #31, LBB0_39
; %bb.28:
	ldr	w24, [x19, #8]
	ldr	w23, [x19]
	b	LBB0_30
LBB0_29:
	mov	x24, x23
LBB0_30:
	mov	x0, x19
	bl	_r_derivational
	lsr	w8, w0, #31
	cmp	w0, #0
	csel	w9, w0, w22, lt
	mov	w10, #17
	csel	w8, w10, w8, eq
	csel	w20, w22, w9, eq
	cmp	w8, #17
	b.eq	LBB0_32
; %bb.31:
	cbnz	w8, LBB0_33
LBB0_32:
	ldr	w8, [x19, #8]
	sub	w9, w23, w24
	add	w8, w9, w8
	str	w8, [x19]
	b	LBB0_34
LBB0_33:
	tbnz	w0, #31, LBB0_38
LBB0_34:
	mov	x0, x19
	bl	_r_tidy_up
	lsr	w8, w0, #31
	mov	w9, #18
	cmp	w0, #0
	csel	w8, w9, w8, eq
	cbz	w8, LBB0_37
; %bb.35:
	cmp	w8, #18
	b.eq	LBB0_37
; %bb.36:
	cmp	w0, #0
	csel	w8, w0, w20, lt
	csel	w20, w20, w8, eq
	tbnz	w0, #31, LBB0_38
LBB0_37:
	str	w21, [x19, #32]
	str	w21, [x19]
	mov	w20, #1
LBB0_38:
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_39:
	mov	x20, x0
	b	LBB0_38
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_s_0,4,2                        ; @s_0
.subsections_via_symbols
