	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tamil_UTF_8_stem               ## -- Begin function tamil_UTF_8_stem
	.p2align	4, 0x90
_tamil_UTF_8_stem:                      ## @tamil_UTF_8_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	8(%rdi), %rax
	movq	$0, 8(%rax)
	movl	(%rdi), %r15d
	callq	_r_fix_ending
	movl	%eax, %ebx
	shrl	$31, %eax
	testl	%ebx, %ebx
	movl	$2, %ecx
	cmovnel	%eax, %ecx
	testb	$1, %cl
	jne	LBB0_2
## %bb.1:
	movl	%r15d, (%r14)
LBB0_3:
	movq	%r14, %rdi
	callq	_r_has_min_length
	testl	%eax, %eax
	jle	LBB0_4
## %bb.5:
	movl	(%r14), %r12d
	movq	%r14, %rdi
	callq	_r_remove_question_prefixes
	movl	%eax, %r15d
	shrl	$31, %eax
	testl	%r15d, %r15d
	cmovnsl	%ebx, %r15d
	movl	$3, %ecx
	cmovnel	%eax, %ecx
	cmovel	%ebx, %r15d
	cmpl	$3, %ecx
	je	LBB0_7
## %bb.6:
	testl	%ecx, %ecx
	jne	LBB0_8
LBB0_7:
	movl	%r12d, (%r14)
	jmp	LBB0_10
LBB0_2:
	movl	%ebx, %r15d
	testl	%eax, %eax
	je	LBB0_3
	jmp	LBB0_48
LBB0_4:
	movl	%eax, %r15d
	jmp	LBB0_48
LBB0_8:
	testl	%eax, %eax
	jne	LBB0_48
## %bb.9:
	movl	(%r14), %r12d
LBB0_10:
	movq	%r14, %rdi
	callq	_r_remove_pronoun_prefixes
	movl	%eax, %ecx
	shrl	$31, %ecx
	testl	%eax, %eax
	cmovnsl	%r15d, %eax
	movl	$4, %edx
	cmovnel	%ecx, %edx
	cmovnel	%eax, %r15d
	testb	$1, %dl
	jne	LBB0_12
## %bb.11:
	movl	%r12d, (%r14)
LBB0_14:
	movq	%r14, %rdi
	callq	_r_remove_question_suffixes
	movl	%eax, %ecx
	shrl	$31, %ecx
	testl	%eax, %eax
	cmovnsl	%r15d, %eax
	movl	$5, %edx
	cmovnel	%ecx, %edx
	cmovnel	%eax, %r15d
	cmpl	$5, %edx
	je	LBB0_16
## %bb.15:
	testl	%edx, %edx
	jne	LBB0_17
LBB0_16:
	movl	%r12d, (%r14)
	jmp	LBB0_19
LBB0_12:
	testl	%ecx, %ecx
	jne	LBB0_48
## %bb.13:
	movl	(%r14), %r12d
	jmp	LBB0_14
LBB0_17:
	testl	%ecx, %ecx
	jne	LBB0_48
## %bb.18:
	movl	(%r14), %r12d
LBB0_19:
	movq	%r14, %rdi
	callq	_r_remove_um
	movl	%eax, %ecx
	shrl	$31, %ecx
	testl	%eax, %eax
	cmovnsl	%r15d, %eax
	movl	$6, %edx
	cmovnel	%ecx, %edx
	cmovnel	%eax, %r15d
	cmpl	$6, %edx
	je	LBB0_21
## %bb.20:
	testl	%edx, %edx
	jne	LBB0_22
LBB0_21:
	movl	%r12d, (%r14)
LBB0_24:
	movq	%r14, %rdi
	callq	_r_remove_common_word_endings
	movl	%eax, %ecx
	shrl	$31, %ecx
	testl	%eax, %eax
	cmovnsl	%r15d, %eax
	movl	$7, %edx
	cmovnel	%ecx, %edx
	cmovnel	%eax, %r15d
	cmpl	$7, %edx
	je	LBB0_26
## %bb.25:
	testl	%edx, %edx
	jne	LBB0_27
LBB0_26:
	movl	%r12d, (%r14)
LBB0_29:
	movq	%r14, %rdi
	callq	_r_remove_vetrumai_urupukal
	movl	%eax, %ecx
	shrl	$31, %ecx
	testl	%eax, %eax
	cmovnsl	%r15d, %eax
	movl	$8, %edx
	cmovnel	%ecx, %edx
	cmovnel	%eax, %r15d
	testb	$1, %dl
	jne	LBB0_31
## %bb.30:
	movl	%r12d, (%r14)
LBB0_33:
	movq	%r14, %rdi
	callq	_r_remove_plural_suffix
	movl	%eax, %ecx
	shrl	$31, %ecx
	testl	%eax, %eax
	cmovnsl	%r15d, %eax
	movl	$9, %edx
	cmovnel	%ecx, %edx
	cmovnel	%eax, %r15d
	cmpl	$9, %edx
	je	LBB0_35
## %bb.34:
	testl	%edx, %edx
	jne	LBB0_36
LBB0_35:
	movl	%r12d, (%r14)
	jmp	LBB0_38
LBB0_22:
	testl	%ecx, %ecx
	jne	LBB0_48
## %bb.23:
	movl	(%r14), %r12d
	jmp	LBB0_24
LBB0_27:
	testl	%ecx, %ecx
	jne	LBB0_48
## %bb.28:
	movl	(%r14), %r12d
	jmp	LBB0_29
LBB0_31:
	testl	%ecx, %ecx
	jne	LBB0_48
## %bb.32:
	movl	(%r14), %r12d
	jmp	LBB0_33
LBB0_36:
	testl	%ecx, %ecx
	jne	LBB0_48
## %bb.37:
	movl	(%r14), %r12d
LBB0_38:
	movq	%r14, %rdi
	callq	_r_remove_command_suffixes
	movl	%eax, %ecx
	shrl	$31, %ecx
	testl	%eax, %eax
	cmovnsl	%r15d, %eax
	movl	$10, %edx
	cmovnel	%ecx, %edx
	cmovnel	%eax, %r15d
	cmpl	$10, %edx
	je	LBB0_40
## %bb.39:
	testl	%edx, %edx
	jne	LBB0_41
LBB0_40:
	movl	%r12d, (%r14)
LBB0_43:
	movq	%r14, %rdi
	callq	_r_remove_tense_suffixes
	movl	%eax, %ecx
	shrl	$31, %ecx
	testl	%eax, %eax
	movl	$11, %edx
	cmovnel	%ecx, %edx
	cmpl	$11, %edx
	je	LBB0_45
## %bb.44:
	testl	%edx, %edx
	jne	LBB0_46
LBB0_45:
	movl	%r12d, (%r14)
LBB0_47:
	movl	$1, %r15d
LBB0_48:
	movl	%r15d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_41:
	testl	%ecx, %ecx
	jne	LBB0_48
## %bb.42:
	movl	(%r14), %r12d
	jmp	LBB0_43
LBB0_46:
	testl	%eax, %eax
	cmovnsl	%r15d, %eax
	cmovnel	%eax, %r15d
	testl	%ecx, %ecx
	je	LBB0_47
	jmp	LBB0_48
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tamil_UTF_8_stem               ; -- Begin function tamil_UTF_8_stem
	.p2align	2
_tamil_UTF_8_stem:                      ; @tamil_UTF_8_stem
	.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, #8]
	str	xzr, [x8, #8]
	ldr	w21, [x0]
	bl	_r_fix_ending
	mov	x19, x0
	lsr	w8, w0, #31
	mov	w9, #2
	cmp	w0, #0
	csel	w9, w9, w8, eq
	orr	w9, w9, #0x2
	cmp	w9, #2
	b.ne	LBB0_6
; %bb.1:
	str	w21, [x20]
LBB0_2:
	mov	x0, x20
	bl	_r_has_min_length
	cmp	w0, #1
	b.lt	LBB0_7
; %bb.3:
	ldr	w21, [x20]
	mov	x0, x20
	bl	_r_remove_question_prefixes
	lsr	w8, w0, #31
	cmp	w0, #0
	csel	w10, w0, w19, lt
	mov	w9, #3
	csel	w9, w9, w8, eq
	csel	w19, w19, w10, eq
	cmp	w9, #3
	b.eq	LBB0_5
; %bb.4:
	cbnz	w9, LBB0_8
LBB0_5:
	str	w21, [x20]
	b	LBB0_10
LBB0_6:
	cbz	w8, LBB0_2
	b	LBB0_45
LBB0_7:
	mov	x19, x0
	b	LBB0_45
LBB0_8:
	cbnz	w8, LBB0_45
; %bb.9:
	ldr	w21, [x20]
LBB0_10:
	mov	x0, x20
	bl	_r_remove_pronoun_prefixes
	lsr	w8, w0, #31
	cmp	w0, #0
	csel	w9, w0, w19, lt
	mov	w10, #4
	csel	w10, w10, w8, eq
	csel	w19, w19, w9, eq
	orr	w9, w10, #0x4
	cmp	w9, #4
	b.ne	LBB0_15
; %bb.11:
	str	w21, [x20]
LBB0_12:
	mov	x0, x20
	bl	_r_remove_question_suffixes
	lsr	w8, w0, #31
	cmp	w0, #0
	csel	w10, w0, w19, lt
	mov	w9, #5
	csel	w9, w9, w8, eq
	csel	w19, w19, w10, eq
	cmp	w9, #5
	b.eq	LBB0_14
; %bb.13:
	cbnz	w9, LBB0_17
LBB0_14:
	str	w21, [x20]
	b	LBB0_19
LBB0_15:
	cbnz	w8, LBB0_45
; %bb.16:
	ldr	w21, [x20]
	b	LBB0_12
LBB0_17:
	cbnz	w8, LBB0_45
; %bb.18:
	ldr	w21, [x20]
LBB0_19:
	mov	x0, x20
	bl	_r_remove_um
	lsr	w8, w0, #31
	cmp	w0, #0
	csel	w10, w0, w19, lt
	mov	w9, #6
	csel	w9, w9, w8, eq
	csel	w19, w19, w10, eq
	cmp	w9, #6
	b.eq	LBB0_21
; %bb.20:
	cbnz	w9, LBB0_30
LBB0_21:
	str	w21, [x20]
LBB0_22:
	mov	x0, x20
	bl	_r_remove_common_word_endings
	lsr	w8, w0, #31
	cmp	w0, #0
	csel	w10, w0, w19, lt
	mov	w9, #7
	csel	w9, w9, w8, eq
	csel	w19, w19, w10, eq
	cmp	w9, #7
	b.eq	LBB0_24
; %bb.23:
	cbnz	w9, LBB0_32
LBB0_24:
	str	w21, [x20]
LBB0_25:
	mov	x0, x20
	bl	_r_remove_vetrumai_urupukal
	lsr	w8, w0, #31
	cmp	w0, #0
	csel	w9, w0, w19, lt
	mov	w10, #8
	csel	w10, w10, w8, eq
	csel	w19, w19, w9, eq
	orr	w9, w10, #0x8
	cmp	w9, #8
	b.ne	LBB0_34
; %bb.26:
	str	w21, [x20]
LBB0_27:
	mov	x0, x20
	bl	_r_remove_plural_suffix
	lsr	w8, w0, #31
	cmp	w0, #0
	csel	w10, w0, w19, lt
	mov	w9, #9
	csel	w9, w9, w8, eq
	csel	w19, w19, w10, eq
	cmp	w9, #9
	b.eq	LBB0_29
; %bb.28:
	cbnz	w9, LBB0_36
LBB0_29:
	str	w21, [x20]
	b	LBB0_38
LBB0_30:
	cbnz	w8, LBB0_45
; %bb.31:
	ldr	w21, [x20]
	b	LBB0_22
LBB0_32:
	cbnz	w8, LBB0_45
; %bb.33:
	ldr	w21, [x20]
	b	LBB0_25
LBB0_34:
	cbnz	w8, LBB0_45
; %bb.35:
	ldr	w21, [x20]
	b	LBB0_27
LBB0_36:
	cbnz	w8, LBB0_45
; %bb.37:
	ldr	w21, [x20]
LBB0_38:
	mov	x0, x20
	bl	_r_remove_command_suffixes
	lsr	w8, w0, #31
	cmp	w0, #0
	csel	w10, w0, w19, lt
	mov	w9, #10
	csel	w9, w9, w8, eq
	csel	w19, w19, w10, eq
	cmp	w9, #10
	b.eq	LBB0_40
; %bb.39:
	cbnz	w9, LBB0_46
LBB0_40:
	str	w21, [x20]
LBB0_41:
	mov	x0, x20
	bl	_r_remove_tense_suffixes
	lsr	w8, w0, #31
	mov	w9, #11
	cmp	w0, #0
	csel	w9, w9, w8, eq
	cmp	w9, #11
	b.eq	LBB0_43
; %bb.42:
	cbnz	w9, LBB0_48
LBB0_43:
	str	w21, [x20]
LBB0_44:
	mov	w19, #1
LBB0_45:
	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_46:
	cbnz	w8, LBB0_45
; %bb.47:
	ldr	w21, [x20]
	b	LBB0_41
LBB0_48:
	cmp	w0, #0
	csel	w9, w0, w19, lt
	csel	w19, w19, w9, eq
	cbz	w8, LBB0_44
	b	LBB0_45
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
