	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function make_trigrams
_make_trigrams:                         ## @make_trigrams
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	cmpl	$3, %ecx
	jl	LBB0_8
## %bb.1:
	movl	%edx, %ebx
	movq	%rsi, %r15
	cmpl	%ecx, %edx
	jle	LBB0_5
## %bb.2:
	movq	%r15, %rdi
	callq	_pg_mblen
	movl	%eax, %r14d
	cltq
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	leaq	(%r15,%rax), %r13
	movq	%r13, %rdi
	callq	_pg_mblen
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	%ebx, %r15d
	movslq	%eax, %rbx
	addq	%rbx, %r13
	movq	%r13, %rdi
	callq	_pg_mblen
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movslq	%r15d, %rsi
	leaq	(%rdi,%rbx), %rcx
	movslq	%eax, %r8
	addq	%r8, %rcx
	cmpq	%rsi, %rcx
	jg	LBB0_8
## %bb.3:
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	%edx, -56(%rbp)                 ## 4-byte Spill
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	addl	%edx, %r14d
	addl	%eax, %r14d
	movq	%rdi, %r15
	movq	%r12, %rdi
	movq	%r13, %rsi
	movl	%r14d, %edx
	movq	%r8, %r14
	callq	_compact_trigram
	addq	%r15, %r13
	addq	$4, %r12
	addq	%r13, %rbx
	addq	%r14, %rbx
	movq	%rbx, %rdi
	callq	_pg_mblen
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movq	%r13, %rcx
	subq	-64(%rbp), %rcx                 ## 8-byte Folded Reload
	movl	-56(%rbp), %r14d                ## 4-byte Reload
	movslq	%r14d, %rdi
	addq	%rdi, %rcx
	movslq	%edx, %rbx
	addq	%rbx, %rcx
	movslq	%eax, %r8
	addq	%r8, %rcx
	cmpq	%rsi, %rcx
	jle	LBB0_4
	jmp	LBB0_8
LBB0_5:
	sete	%al
	movzbl	%al, %edi
	callq	_Assert
	cmpl	$3, %ebx
	jl	LBB0_8
## %bb.6:
	addl	$-2, %ebx
	movslq	%ebx, %r14
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	leaq	(%r15,%rbx), %rsi
	movq	%r12, %rdi
	callq	_CPTRGM
	addq	$4, %r12
	incq	%rbx
	cmpq	%r14, %rbx
	jl	LBB0_7
LBB0_8:
	movq	%r12, %rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_make_trigrams
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function make_trigrams
_make_trigrams:                         ; @make_trigrams
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
	cmp	w3, #3
	b.lt	LBB0_8
; %bb.1:
	mov	x21, x2
	mov	x20, x1
	cmp	w2, w3
	b.le	LBB0_5
; %bb.2:
	mov	x0, x20
	bl	_pg_mblen
	mov	x22, x0
	sxtw	x25, w22
	add	x24, x20, x25
	mov	x0, x24
	bl	_pg_mblen
	mov	x23, x0
	sxtw	x26, w23
	add	x0, x24, x26
	bl	_pg_mblen
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x24, w21
	sxtw	x27, w0
	add	x8, x25, x26
	add	x8, x8, x27
	cmp	x8, x24
	b.gt	LBB0_8
; %bb.3:
                                        ; kill: def $w0 killed $w0 killed $x0 def $x0
                                        ; kill: def $w23 killed $w23 killed $x23 def $x23
	mov	x21, x20
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x28, x23
	mov	x23, x0
	add	w8, w28, w22
	add	w2, w8, w0
	mov	x0, x19
	mov	x1, x21
	bl	_compact_trigram
	add	x19, x19, #4
	add	x21, x21, x25
	add	x8, x21, x26
	add	x0, x8, x27
	bl	_pg_mblen
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x25, w28
	sub	x8, x21, x20
	add	x8, x8, x25
	sxtw	x26, w23
	sxtw	x27, w0
	add	x8, x8, x26
	add	x8, x8, x27
	mov	x22, x28
	cmp	x8, x24
	b.le	LBB0_4
	b	LBB0_8
LBB0_5:
	cset	w0, eq
	bl	_Assert
	cmp	w21, #3
	b.lt	LBB0_8
; %bb.6:
	mov	x22, #0
	sub	w8, w21, #2
	sxtw	x21, w8
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	add	x1, x20, x22
	mov	x0, x19
	bl	_CPTRGM
	add	x19, x19, #4
	add	x22, x22, #1
	cmp	x22, x21
	b.lt	LBB0_7
LBB0_8:
	mov	x0, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_make_trigrams
.subsections_via_symbols
