	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fillTrgm
_fillTrgm:                              ## @fillTrgm
	.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	%rsi, %r12
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAX_MULTIBYTE_CHAR_LEN@GOTPCREL(%rip), %r15
	movslq	(%r15), %r13
	leal	(%r13,%r13,2), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rsi
	movq	(%r12), %rax
	movl	(%rax), %ecx
	movq	%rsi, %rdx
	testl	%ecx, %ecx
	je	LBB0_5
## %bb.1:
	testl	%r13d, %r13d
	jle	LBB0_6
## %bb.2:
	movq	%rsi, %rbx
	incq	%rbx
	movl	$1, %edi
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdx
	movb	%cl, -1(%rbx)
	cmpq	%r13, %rdi
	jge	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	(%rax,%rdi,4), %ecx
	leaq	1(%rdx), %rbx
	incq	%rdi
	testl	%ecx, %ecx
	jne	LBB0_3
	jmp	LBB0_6
LBB0_5:
	incq	%rdx
	movb	$32, (%rsi)
LBB0_6:
	movq	8(%r12), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	je	LBB0_11
## %bb.7:
	testl	%r13d, %r13d
	jle	LBB0_12
## %bb.8:
	incq	%rdx
	movl	$1, %ecx
	movq	%rdx, %rdi
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rdi, %rdx
	movb	%al, -1(%rdi)
	movslq	(%r15), %rax
	cmpq	%rax, %rcx
	jge	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	8(%r12), %rax
	movl	(%rax,%rcx,4), %eax
	leaq	1(%rdx), %rdi
	incq	%rcx
	testl	%eax, %eax
	jne	LBB0_9
	jmp	LBB0_12
LBB0_11:
	movb	$32, (%rdx)
	incq	%rdx
LBB0_12:
	movq	16(%r12), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	je	LBB0_17
## %bb.13:
	cmpl	$0, (%r15)
	jle	LBB0_18
## %bb.14:
	incq	%rdx
	movl	$1, %ecx
	movq	%rdx, %rdi
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movq	%rdi, %rdx
	movb	%al, -1(%rdi)
	movslq	(%r15), %rax
	cmpq	%rax, %rcx
	jge	LBB0_18
## %bb.16:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	16(%r12), %rax
	movl	(%rax,%rcx,4), %eax
	leaq	1(%rdx), %rdi
	incq	%rcx
	testl	%eax, %eax
	jne	LBB0_15
	jmp	LBB0_18
LBB0_17:
	movb	$32, (%rdx)
	incq	%rdx
LBB0_18:
	subl	%esi, %edx
	movq	%r14, %rdi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_compact_trigram
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_20
## %bb.19:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_20:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_MULTIBYTE_CHAR_LEN,4,2     ## @MAX_MULTIBYTE_CHAR_LEN
	.no_dead_strip	_fillTrgm
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fillTrgm
_fillTrgm:                              ; @fillTrgm
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	sub	sp, sp, #16
	mov	x8, x1
Lloh0:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	stur	x9, [x29, #-8]
Lloh3:
	adrp	x13, _MAX_MULTIBYTE_CHAR_LEN@GOTPAGE
Lloh4:
	ldr	x13, [x13, _MAX_MULTIBYTE_CHAR_LEN@GOTPAGEOFF]
	ldrsw	x14, [x13]
	add	w12, w14, w14, lsl #1
	mov	x9, x12
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x10, x12, #15
	and	x10, x10, #0x1fffffff0
	sub	x1, x9, x10
	mov	sp, x1
	ldr	x12, [x8]
	ldr	w10, [x12]
	cbz	w10, LBB0_6
; %bb.1:
	mov	x9, x1
	cmp	w14, #1
	b.lt	LBB0_7
; %bb.2:
	mov	x11, #0
	add	x9, x12, #4
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x12, x11
	strb	w10, [x1, x11]
	add	x11, x11, #1
	cmp	x11, x14
	b.ge	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w10, [x9, x12, lsl #2]
	cbnz	w10, LBB0_3
LBB0_5:
	add	x9, x1, x12
	add	x9, x9, #1
	b	LBB0_7
LBB0_6:
	mov	w10, #32
	mov	x9, x1
	strb	w10, [x9], #1
LBB0_7:
	ldr	x10, [x8, #8]
	ldr	w10, [x10]
	cbz	w10, LBB0_13
; %bb.8:
	cmp	w14, #1
	b.lt	LBB0_14
; %bb.9:
	mov	x11, #0
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	mov	x12, x11
	strb	w10, [x9, x11]
	add	x11, x11, #1
	ldrsw	x10, [x13]
	cmp	x11, x10
	b.ge	LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	x10, [x8, #8]
	add	x10, x10, x12, lsl #2
	ldr	w10, [x10, #4]
	cbnz	w10, LBB0_10
LBB0_12:
	add	x9, x9, x12
	add	x9, x9, #1
	b	LBB0_14
LBB0_13:
	mov	w10, #32
	strb	w10, [x9], #1
LBB0_14:
	ldr	x10, [x8, #16]
	ldr	w10, [x10]
	cbz	w10, LBB0_20
; %bb.15:
	ldr	w11, [x13]
	cmp	w11, #1
	b.lt	LBB0_21
; %bb.16:
	mov	x11, #0
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	mov	x12, x11
	strb	w10, [x9, x11]
	add	x11, x11, #1
	ldrsw	x10, [x13]
	cmp	x11, x10
	b.ge	LBB0_19
; %bb.18:                               ;   in Loop: Header=BB0_17 Depth=1
	ldr	x10, [x8, #16]
	add	x10, x10, x12, lsl #2
	ldr	w10, [x10, #4]
	cbnz	w10, LBB0_17
LBB0_19:
	add	x8, x9, x12
	add	x9, x8, #1
	b	LBB0_21
LBB0_20:
	mov	w8, #32
	strb	w8, [x9], #1
LBB0_21:
	sub	w2, w9, w1
	bl	_compact_trigram
	ldur	x8, [x29, #-8]
Lloh7:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh8:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_23
; %bb.22:
	mov	sp, x29
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_23:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_MULTIBYTE_CHAR_LEN,4,2     ; @MAX_MULTIBYTE_CHAR_LEN
	.no_dead_strip	_fillTrgm
.subsections_via_symbols
