	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nepali_UTF_8_stem              ## -- Begin function nepali_UTF_8_stem
	.p2align	4, 0x90
_nepali_UTF_8_stem:                     ## @nepali_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	%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, %r14
	movq	4(%rdi), %rax
	movq	%rax, (%rdi)
	callq	_r_remove_category_1
	movl	%eax, %ebx
	shrl	$31, %eax
	testl	%ebx, %ebx
	movl	$2, %ecx
	cmovnel	%eax, %ecx
	testb	$1, %cl
	jne	LBB0_2
## %bb.1:
	movl	8(%r14), %eax
	movl	%eax, 4(%r14)
	movl	%eax, %r12d
	jmp	LBB0_4
LBB0_2:
	testl	%eax, %eax
	jne	LBB0_14
## %bb.3:
	movl	4(%r14), %eax
	movl	8(%r14), %r12d
LBB0_4:
	movl	$6, %r15d
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	subl	%eax, %r12d
	movq	%r14, %rdi
	callq	_r_check_category_2
	testl	%eax, %eax
	je	LBB0_10
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	js	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	8(%r14), %eax
	subl	%r12d, %eax
	movl	%eax, 4(%r14)
	movq	%r14, %rdi
	callq	_r_remove_category_2
	testl	%eax, %eax
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_5 Depth=1
	cmovsl	%eax, %ebx
	js	LBB0_14
LBB0_10:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	%ebx, %r13d
	movl	8(%r14), %eax
	subl	%r12d, %eax
	movl	%eax, 4(%r14)
	movq	%r14, %rdi
	callq	_r_remove_category_3
	movl	%eax, %ecx
	shrl	$31, %ecx
	testl	%eax, %eax
	cmovsl	%eax, %ebx
	cmovel	%r15d, %ecx
	cmovel	%r13d, %ebx
	testl	%ecx, %ecx
	jne	LBB0_11
## %bb.15:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	4(%r14), %eax
	movl	8(%r14), %r12d
	jmp	LBB0_5
LBB0_11:
	cmpl	$6, %ecx
	je	LBB0_13
## %bb.12:
	testl	%eax, %eax
	js	LBB0_14
LBB0_13:
	movl	(%r14), %eax
	movl	%eax, 4(%r14)
	movl	$1, %ebx
	jmp	LBB0_14
LBB0_7:
	movl	%eax, %ebx
LBB0_14:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nepali_UTF_8_stem              ; -- Begin function nepali_UTF_8_stem
	.p2align	2
_nepali_UTF_8_stem:                     ; @nepali_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	x19, x0
	ldur	d0, [x0, #4]
	str	d0, [x0]
	bl	_r_remove_category_1
	mov	x20, 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_2
; %bb.1:
	ldr	w8, [x19, #8]
	str	w8, [x19, #4]
	mov	x9, x8
	b	LBB0_5
LBB0_2:
	cbz	w8, LBB0_4
; %bb.3:
	mov	x0, x20
	b	LBB0_15
LBB0_4:
	ldp	w8, w9, [x19, #4]
LBB0_5:
	mov	w21, #6
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	sub	w22, w9, w8
	mov	x0, x19
	bl	_r_check_category_2
	cbz	w0, LBB0_10
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	tbnz	w0, #31, LBB0_15
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x19, #8]
	sub	w8, w8, w22
	str	w8, [x19, #4]
	mov	x0, x19
	bl	_r_remove_category_2
	cbz	w0, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x8, x0
	cmp	w0, #0
	csel	w20, w0, w20, lt
	mov	x0, x20
	tbnz	w8, #31, LBB0_15
LBB0_10:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x19, #8]
	sub	w8, w8, w22
	str	w8, [x19, #4]
	mov	x0, x19
	bl	_r_remove_category_3
	lsr	w9, w0, #31
	cmp	w0, #0
	csel	w10, w0, w20, lt
	csel	w9, w21, w9, eq
	csel	w20, w20, w10, eq
	cbnz	w9, LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_6 Depth=1
	ldp	w8, w9, [x19, #4]
	b	LBB0_6
LBB0_12:
	cmp	w9, #6
	b.eq	LBB0_14
; %bb.13:
	mov	x8, x0
	mov	x0, x20
	tbnz	w8, #31, LBB0_15
LBB0_14:
	ldr	w8, [x19]
	str	w8, [x19, #4]
	mov	w0, #1
LBB0_15:
	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
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
