	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_spell_check2                   ## -- Begin function spell_check2
	.p2align	4, 0x90
_spell_check2:                          ## @spell_check2
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r15
	callq	_strlen
	movl	%eax, %r14d
	movl	$0, 8(%rbx)
	movq	%rbx, -88(%rbp)                 ## 8-byte Spill
	movq	$0, (%rbx)
	callq	_dyn_mark
	movq	%r14, -80(%rbp)                 ## 8-byte Spill
	leal	3(%r14), %ebx
	movl	%ebx, %edi
	callq	_zmalloc
	movq	%rax, %r14
	movl	%ebx, %edi
	callq	_zmalloc
	movq	%rax, %r12
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_strcpy
	movq	_spellers@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	jle	LBB0_9
## %bb.1:
	movq	_SC@GOTPCREL(%rip), %r15
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_7 Depth 2
	movq	(%r15), %rax
	movq	(%rax,%rbx,8), %rax
	movl	(%rax), %ecx
	movl	$3, %edi
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdx
	xorl	%eax, %eax
	callq	_vkprintf
	movq	(%r15), %rax
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movq	(%rax,%rbx,8), %rax
	movl	4(%rax), %edi
	callq	_new_aspell_document_checker
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_aspell_error
	movq	%rbx, %rdi
	testq	%rax, %rax
	jne	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	callq	_to_aspell_document_checker
	movq	%rax, %rbx
	movq	%rax, %rdi
	movq	%r14, %rsi
	movl	$-1, %edx
	callq	_aspell_document_checker_process
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_aspell_document_checker_next_misspelling
	movq	%r12, %r15
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	movq	%r14, %rcx
	movq	%rax, %r14
	shrq	$32, %r14
	movl	$0, %r13d
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	je	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rax, %r12
	xorl	%r13d, %r13d
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rcx, -96(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_7:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movslq	%r12d, %r15
	addq	%rcx, %r15
	movq	_SC@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rax,%rcx,8), %rax
	movl	(%rax), %r8d
	movl	$3, %edi
	leaq	L_.str.2(%rip), %rsi
	movl	%r14d, %edx
	movq	%r15, %rcx
	xorl	%eax, %eax
	callq	_vkprintf
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movl	%r14d, %edx
	callq	_memcpy
	sarq	$32, %r12
	leaq	(%rbx,%r12), %r15
	incq	%r15
	movb	$32, (%rbx,%r12)
	incl	%r13d
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_aspell_document_checker_next_misspelling
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, %r12
	movq	%rax, %r14
	shrq	$32, %r14
	movq	%r15, %rbx
	jne	LBB0_7
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%rcx, %r12
	movl	$3, %edi
	leaq	L_.str.3(%rip), %rsi
	movl	%r13d, %edx
	xorl	%eax, %eax
	callq	_vkprintf
	movb	$0, (%r15)
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_delete_aspell_document_checker
	testl	%r13d, %r13d
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	_SC@GOTPCREL(%rip), %r15
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_9
## %bb.2:                               ##   in Loop: Header=BB0_3 Depth=1
	incq	%rbx
	movq	_spellers@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	movl	%r13d, -44(%rbp)                ## 4-byte Spill
	cmpq	%rax, %rbx
	jl	LBB0_3
LBB0_9:
	callq	_dyn_release
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movl	%ecx, (%rax)
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, 4(%rax)
	xorl	%eax, %eax
	jmp	LBB0_10
LBB0_4:
	callq	_aspell_error_message
	leaq	L_.str.1(%rip), %rsi
	movl	$1, %edi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_vkprintf
	movl	$-1, %eax
LBB0_10:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_spellers,4,2                   ## @spellers
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s (%s)\n"

	.comm	_SC,8,3                         ## @SC
L_.str.1:                               ## @.str.1
	.asciz	"%s\n"

L_.str.2:                               ## @.str.2
	.asciz	"%.*s (%s)\n"

L_.str.3:                               ## @.str.3
	.asciz	"words = %d\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_spell_check2                   ; -- Begin function spell_check2
	.p2align	2
_spell_check2:                          ; @spell_check2
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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, x1
	mov	x22, x0
	bl	_strlen
	mov	x20, x0
	str	wzr, [x19, #8]
	str	xzr, [x19]
	str	x19, [sp, #32]                  ; 8-byte Folded Spill
	bl	_dyn_mark
	str	w20, [sp, #28]                  ; 4-byte Folded Spill
	add	w21, w20, #3
	mov	x0, x21
	bl	_zmalloc
	mov	x20, x0
	mov	x0, x21
	bl	_zmalloc
	mov	x27, x0
	mov	x0, x20
	mov	x1, x22
	bl	_strcpy
Lloh0:
	adrp	x8, _spellers@GOTPAGE
Lloh1:
	ldr	x8, [x8, _spellers@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.1:
	mov	x22, #0
Lloh3:
	adrp	x24, _SC@GOTPAGE
Lloh4:
	ldr	x24, [x24, _SC@GOTPAGEOFF]
Lloh5:
	adrp	x19, l_.str.2@PAGE
Lloh6:
	add	x19, x19, l_.str.2@PAGEOFF
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
	mov	x25, x20
	ldr	x8, [x24]
	lsl	x20, x22, #3
	ldr	x8, [x8, x20]
	ldr	w8, [x8]
	stp	x25, x8, [sp]
	mov	w0, #3
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	bl	_vkprintf
	ldr	x8, [x24]
	ldr	x8, [x8, x20]
	ldr	w0, [x8, #4]
	bl	_new_aspell_document_checker
	mov	x20, x0
	bl	_aspell_error
	cbnz	x0, LBB0_11
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x20
	bl	_to_aspell_document_checker
	mov	x26, x0
	mov	x1, x25
	mov	w2, #-1
	bl	_aspell_document_checker_process
	mov	x0, x26
	bl	_aspell_document_checker_next_misspelling
	lsr	x20, x0, #32
                                        ; kill: def $w20 killed $w20 killed $x20 def $x20
	str	x27, [sp, #40]                  ; 8-byte Folded Spill
	cbz	w20, LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x28, x0
	mov	w21, #0
LBB0_5:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	x23, x25, w28, sxtw
	ldr	x8, [x24]
	ldr	x8, [x8, x22, lsl #3]
	ldr	w8, [x8]
	stp	x23, x8, [sp, #8]
	str	x20, [sp]
	mov	w0, #3
	mov	x1, x19
	bl	_vkprintf
	mov	x0, x27
	mov	x1, x23
	mov	x2, x20
	bl	_memcpy
	add	x27, x27, x28, asr #32
	mov	w8, #32
	strb	w8, [x27], #1
	add	w21, w21, #1
	mov	x0, x26
	bl	_aspell_document_checker_next_misspelling
	mov	x28, x0
	lsr	x8, x0, #32
	mov	x20, x8
	cbnz	w8, LBB0_5
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	w21, #0
LBB0_7:                                 ;   in Loop: Header=BB0_2 Depth=1
	str	x21, [sp]
	mov	w0, #3
Lloh9:
	adrp	x1, l_.str.3@PAGE
Lloh10:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_vkprintf
	strb	wzr, [x27]
	mov	x0, x26
	bl	_delete_aspell_document_checker
	cbz	w21, LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x22, x22, #1
Lloh11:
	adrp	x8, _spellers@GOTPAGE
Lloh12:
	ldr	x8, [x8, _spellers@GOTPAGEOFF]
Lloh13:
	ldrsw	x8, [x8]
	ldr	x20, [sp, #40]                  ; 8-byte Folded Reload
	mov	x27, x25
	cmp	x22, x8
	b.lt	LBB0_2
	b	LBB0_10
LBB0_9:
	mov	w21, #0
LBB0_10:
	bl	_dyn_release
	mov	w0, #0
	ldr	x8, [sp, #32]                   ; 8-byte Folded Reload
	ldr	w9, [sp, #28]                   ; 4-byte Folded Reload
	stp	w9, w21, [x8]
	b	LBB0_12
LBB0_11:
	mov	x0, x20
	bl	_aspell_error_message
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh14:
	adrp	x1, l_.str.1@PAGE
Lloh15:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #1
	bl	_vkprintf
	mov	w0, #-1
LBB0_12:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_spellers,4,2                   ; @spellers
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s (%s)\n"

	.comm	_SC,8,3                         ; @SC
l_.str.1:                               ; @.str.1
	.asciz	"%s\n"

l_.str.2:                               ; @.str.2
	.asciz	"%.*s (%s)\n"

l_.str.3:                               ; @.str.3
	.asciz	"words = %d\n"

.subsections_via_symbols
