	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_swedish_ISO_8859_1_stem        ## -- Begin function swedish_ISO_8859_1_stem
	.p2align	4, 0x90
_swedish_ISO_8859_1_stem:               ## @swedish_ISO_8859_1_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
	movl	(%rdi), %ebx
	callq	_r_mark_regions
	movl	%eax, %r15d
	shrl	$31, %eax
	testl	%r15d, %r15d
	movl	$2, %ecx
	cmovnel	%eax, %ecx
	testb	$1, %cl
	je	LBB0_3
## %bb.1:
	movl	%r15d, %ebx
	testl	%eax, %eax
	jne	LBB0_15
## %bb.2:
	movl	(%r14), %ebx
LBB0_3:
	movl	%ebx, 4(%r14)
	movl	8(%r14), %eax
	movl	%eax, (%r14)
	movq	%r14, %rdi
	callq	_r_main_suffix
	movl	%eax, %ebx
	shrl	$31, %eax
	testl	%ebx, %ebx
	cmovnsl	%r15d, %ebx
	movl	$3, %ecx
	cmovnel	%eax, %ecx
	cmovel	%r15d, %ebx
	cmpl	$3, %ecx
	je	LBB0_5
## %bb.4:
	testl	%ecx, %ecx
	jne	LBB0_6
LBB0_5:
	movl	8(%r14), %r15d
	movl	%r15d, (%r14)
	movl	%r15d, %r12d
	jmp	LBB0_8
LBB0_6:
	testl	%eax, %eax
	jne	LBB0_15
## %bb.7:
	movl	(%r14), %r15d
	movl	8(%r14), %r12d
LBB0_8:
	movq	%r14, %rdi
	callq	_r_consonant_pair
	movl	%eax, %ecx
	shrl	$31, %ecx
	testl	%eax, %eax
	cmovnsl	%ebx, %eax
	movl	$4, %edx
	cmovnel	%ecx, %edx
	cmovnel	%eax, %ebx
	testb	$1, %dl
	jne	LBB0_10
## %bb.9:
	subl	%r12d, %r15d
	addl	8(%r14), %r15d
	movl	%r15d, (%r14)
LBB0_11:
	movq	%r14, %rdi
	callq	_r_other_suffix
	movl	%eax, %ecx
	shrl	$31, %ecx
	testl	%eax, %eax
	movl	$5, %edx
	cmovnel	%ecx, %edx
	testl	%edx, %edx
	je	LBB0_14
## %bb.12:
	cmpl	$5, %edx
	je	LBB0_14
## %bb.13:
	testl	%eax, %eax
	cmovnsl	%ebx, %eax
	cmovnel	%eax, %ebx
	testl	%ecx, %ecx
	jne	LBB0_15
LBB0_14:
	movl	4(%r14), %eax
	movl	%eax, (%r14)
	movl	$1, %ebx
LBB0_15:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	testl	%ecx, %ecx
	je	LBB0_11
	jmp	LBB0_15
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_swedish_ISO_8859_1_stem        ; -- Begin function swedish_ISO_8859_1_stem
	.p2align	2
_swedish_ISO_8859_1_stem:               ; @swedish_ISO_8859_1_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	w21, [x0]
	bl	_r_mark_regions
	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.eq	LBB0_3
; %bb.1:
	cbnz	w8, LBB0_14
; %bb.2:
	ldr	w21, [x20]
LBB0_3:
	ldr	w8, [x20, #8]
	stp	w8, w21, [x20]
	mov	x0, x20
	bl	_r_main_suffix
	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_6
LBB0_5:
	ldr	w21, [x20, #8]
	str	w21, [x20]
	mov	x22, x21
	b	LBB0_8
LBB0_6:
	cbnz	w8, LBB0_14
; %bb.7:
	ldr	w22, [x20, #8]
	ldr	w21, [x20]
LBB0_8:
	mov	x0, x20
	bl	_r_consonant_pair
	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.9:
	ldr	w8, [x20, #8]
	sub	w9, w21, w22
	add	w8, w9, w8
	str	w8, [x20]
LBB0_10:
	mov	x0, x20
	bl	_r_other_suffix
	lsr	w8, w0, #31
	mov	w9, #5
	cmp	w0, #0
	csel	w9, w9, w8, eq
	cbz	w9, LBB0_13
; %bb.11:
	cmp	w9, #5
	b.eq	LBB0_13
; %bb.12:
	cmp	w0, #0
	csel	w9, w0, w19, lt
	csel	w19, w19, w9, eq
	cbnz	w8, LBB0_14
LBB0_13:
	ldr	w8, [x20, #4]
	str	w8, [x20]
	mov	w19, #1
LBB0_14:
	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_15:
	cbz	w8, LBB0_10
	b	LBB0_14
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
