	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function editorUpdateRow
LCPI0_0:
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_editorUpdateRow
	.p2align	4, 0x90
_editorUpdateRow:                       ## @editorUpdateRow
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	(%rdi), %rdi
	callq	_free
	movl	8(%rbx), %edi
	testl	%edi, %edi
	jle	LBB0_3
## %bb.1:
	movq	16(%rbx), %rax
	movq	_TAB@GOTPCREL(%rip), %rcx
	movb	(%rcx), %r9b
	cmpl	$8, %edi
	jae	LBB0_4
## %bb.2:
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	jmp	LBB0_10
LBB0_3:
	movl	$1, %eax
	jmp	LBB0_12
LBB0_4:
	movl	%edi, %edx
	andl	$-8, %edx
	movzbl	%r9b, %ecx
	movd	%ecx, %xmm0
	punpcklbw	%xmm0, %xmm0            ## xmm0 = xmm0[0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7]
	pshuflw	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0,4,5,6,7]
	leaq	-8(%rdx), %rcx
	movq	%rcx, %r8
	shrq	$3, %r8
	incq	%r8
	testq	%rcx, %rcx
	je	LBB0_33
## %bb.5:
	movq	%r8, %rcx
	andq	$-2, %rcx
	pxor	%xmm1, %xmm1
	xorl	%esi, %esi
	movdqa	LCPI0_0(%rip), %xmm3            ## xmm3 = [1,1,1,1]
	pxor	%xmm2, %xmm2
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movd	(%rax,%rsi), %xmm4              ## xmm4 = mem[0],zero,zero,zero
	movd	4(%rax,%rsi), %xmm5             ## xmm5 = mem[0],zero,zero,zero
	pcmpeqb	%xmm0, %xmm4
	pmovzxbd	%xmm4, %xmm4                    ## xmm4 = xmm4[0],zero,zero,zero,xmm4[1],zero,zero,zero,xmm4[2],zero,zero,zero,xmm4[3],zero,zero,zero
	pand	%xmm3, %xmm4
	paddd	%xmm1, %xmm4
	pcmpeqb	%xmm0, %xmm5
	pmovzxbd	%xmm5, %xmm5                    ## xmm5 = xmm5[0],zero,zero,zero,xmm5[1],zero,zero,zero,xmm5[2],zero,zero,zero,xmm5[3],zero,zero,zero
	pand	%xmm3, %xmm5
	paddd	%xmm2, %xmm5
	movd	8(%rax,%rsi), %xmm1             ## xmm1 = mem[0],zero,zero,zero
	movd	12(%rax,%rsi), %xmm2            ## xmm2 = mem[0],zero,zero,zero
	pcmpeqb	%xmm0, %xmm1
	pmovzxbd	%xmm1, %xmm1                    ## xmm1 = xmm1[0],zero,zero,zero,xmm1[1],zero,zero,zero,xmm1[2],zero,zero,zero,xmm1[3],zero,zero,zero
	pand	%xmm3, %xmm1
	paddd	%xmm4, %xmm1
	pcmpeqb	%xmm0, %xmm2
	pmovzxbd	%xmm2, %xmm2                    ## xmm2 = xmm2[0],zero,zero,zero,xmm2[1],zero,zero,zero,xmm2[2],zero,zero,zero,xmm2[3],zero,zero,zero
	pand	%xmm3, %xmm2
	paddd	%xmm5, %xmm2
	addq	$16, %rsi
	addq	$-2, %rcx
	jne	LBB0_6
## %bb.7:
	testb	$1, %r8b
	je	LBB0_9
LBB0_8:
	movd	(%rax,%rsi), %xmm3              ## xmm3 = mem[0],zero,zero,zero
	movd	4(%rax,%rsi), %xmm4             ## xmm4 = mem[0],zero,zero,zero
	pcmpeqb	%xmm0, %xmm3
	pmovzxbd	%xmm3, %xmm3                    ## xmm3 = xmm3[0],zero,zero,zero,xmm3[1],zero,zero,zero,xmm3[2],zero,zero,zero,xmm3[3],zero,zero,zero
	movdqa	LCPI0_0(%rip), %xmm5            ## xmm5 = [1,1,1,1]
	pand	%xmm5, %xmm3
	paddd	%xmm3, %xmm1
	pcmpeqb	%xmm0, %xmm4
	pmovzxbd	%xmm4, %xmm0                    ## xmm0 = xmm4[0],zero,zero,zero,xmm4[1],zero,zero,zero,xmm4[2],zero,zero,zero,xmm4[3],zero,zero,zero
	pand	%xmm5, %xmm0
	paddd	%xmm0, %xmm2
LBB0_9:
	paddd	%xmm2, %xmm1
	pshufd	$238, %xmm1, %xmm0              ## xmm0 = xmm1[2,3,2,3]
	paddd	%xmm1, %xmm0
	pshufd	$85, %xmm0, %xmm1               ## xmm1 = xmm0[1,1,1,1]
	paddd	%xmm0, %xmm1
	movd	%xmm1, %ecx
	cmpq	%rdi, %rdx
	je	LBB0_11
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	xorl	%esi, %esi
	cmpb	%r9b, (%rax,%rdx)
	sete	%sil
	addl	%esi, %ecx
	incq	%rdx
	cmpq	%rdx, %rdi
	jne	LBB0_10
LBB0_11:
	leal	1(,%rcx,8), %eax
LBB0_12:
	addl	%eax, %edi
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_malloc
	movq	%rax, (%rbx)
	cmpl	$0, 8(%rbx)
	jle	LBB0_31
## %bb.13:
	xorl	%eax, %eax
	movq	_TAB@GOTPCREL(%rip), %r8
	xorl	%edx, %edx
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_16 Depth=1
	movb	%cl, (%rsi,%rdi)
LBB0_15:                                ##   in Loop: Header=BB0_16 Depth=1
	incq	%rax
	movslq	8(%rbx), %rcx
	cmpq	%rcx, %rax
	jge	LBB0_30
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rsi
	movq	16(%rbx), %rcx
	movzbl	(%rcx,%rax), %ecx
	movslq	%edx, %rdi
	leaq	1(%rdi), %rdx
	cmpb	(%r8), %cl
	jne	LBB0_14
## %bb.17:                              ##   in Loop: Header=BB0_16 Depth=1
	movb	$32, (%rsi,%rdi)
	addl	$2, %edi
	testb	$7, %dil
	je	LBB0_15
## %bb.18:                              ##   in Loop: Header=BB0_16 Depth=1
	movl	%edi, %esi
	movq	(%rbx), %rcx
	movb	$32, (%rcx,%rdx)
	leaq	1(%rsi), %rdx
	testb	$7, %dl
	je	LBB0_26
## %bb.19:                              ##   in Loop: Header=BB0_16 Depth=1
	movq	(%rbx), %rcx
	movslq	%edi, %rdi
	movb	$32, (%rcx,%rdi)
	leaq	2(%rsi), %rdi
	testb	$7, %dil
	je	LBB0_15
## %bb.20:                              ##   in Loop: Header=BB0_16 Depth=1
	movq	(%rbx), %rcx
	movslq	%edx, %rdx
	movb	$32, (%rcx,%rdx)
	leaq	3(%rsi), %rdx
	testb	$7, %dl
	je	LBB0_26
## %bb.21:                              ##   in Loop: Header=BB0_16 Depth=1
	movq	(%rbx), %rcx
	movslq	%edi, %rdi
	movb	$32, (%rcx,%rdi)
	leaq	4(%rsi), %rdi
	testb	$7, %dil
	je	LBB0_15
## %bb.22:                              ##   in Loop: Header=BB0_16 Depth=1
	movq	(%rbx), %rcx
	movslq	%edx, %rdx
	movb	$32, (%rcx,%rdx)
	leaq	5(%rsi), %rdx
	testb	$7, %dl
	je	LBB0_26
## %bb.23:                              ##   in Loop: Header=BB0_16 Depth=1
	movq	(%rbx), %rcx
	movslq	%edi, %rdi
	movb	$32, (%rcx,%rdi)
	leaq	6(%rsi), %rdi
	testb	$7, %dil
	je	LBB0_15
## %bb.24:                              ##   in Loop: Header=BB0_16 Depth=1
	movq	(%rbx), %rcx
	movslq	%edx, %rdx
	movb	$32, (%rcx,%rdx)
	addq	$7, %rsi
	testb	$7, %sil
	je	LBB0_26
## %bb.25:                              ##   in Loop: Header=BB0_16 Depth=1
	movq	(%rbx), %rcx
	movslq	%edi, %rdx
	movb	$32, (%rcx,%rdx)
	movl	%esi, %edx
	jmp	LBB0_15
LBB0_26:                                ##   in Loop: Header=BB0_16 Depth=1
	movl	%edi, %edx
	jmp	LBB0_15
LBB0_30:
	movq	(%rbx), %rax
	jmp	LBB0_32
LBB0_31:
	xorl	%edx, %edx
LBB0_32:
	movl	%edx, 24(%rbx)
	movslq	%edx, %rcx
	movb	$0, (%rax,%rcx)
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_editorUpdateSyntax             ## TAILCALL
LBB0_33:
	pxor	%xmm1, %xmm1
	xorl	%esi, %esi
	pxor	%xmm2, %xmm2
	testb	$1, %r8b
	jne	LBB0_8
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_TAB,1,0                        ## @TAB
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_editorUpdateRow                ; -- Begin function editorUpdateRow
	.p2align	2
_editorUpdateRow:                       ; @editorUpdateRow
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x0, [x0]
	bl	_free
	ldr	w8, [x19, #8]
Lloh0:
	adrp	x20, _TAB@GOTPAGE
Lloh1:
	ldr	x20, [x20, _TAB@GOTPAGEOFF]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	ldr	x10, [x19, #16]
	ldrb	w9, [x20]
	cmp	w8, #8
	b.hs	LBB0_4
; %bb.2:
	mov	x11, #0
	mov	w12, #0
	b	LBB0_13
LBB0_3:
	mov	w9, #1
	b	LBB0_16
LBB0_4:
	cmp	w8, #32
	b.hs	LBB0_6
; %bb.5:
	mov	w12, #0
	mov	x11, #0
	b	LBB0_10
LBB0_6:
	dup.16b	v1, w9
	movi.2d	v0, #0000000000000000
	and	x11, x8, #0xffffffe0
	movi.4s	v2, #1
	add	x12, x10, #16
	movi.2d	v4, #0000000000000000
	mov	x13, x11
	movi.2d	v3, #0000000000000000
	movi.2d	v5, #0000000000000000
	movi.2d	v6, #0000000000000000
	movi.2d	v16, #0000000000000000
	movi.2d	v7, #0000000000000000
	movi.2d	v17, #0000000000000000
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldp	q18, q19, [x12, #-16]
	cmeq.16b	v18, v18, v1
	ushll.8h	v20, v18, #0
	ushll.4s	v21, v20, #0
	and.16b	v21, v21, v2
	ushll2.4s	v20, v20, #0
	and.16b	v20, v20, v2
	ushll2.8h	v18, v18, #0
	ushll.4s	v22, v18, #0
	and.16b	v22, v22, v2
	ushll2.4s	v18, v18, #0
	and.16b	v18, v18, v2
	cmeq.16b	v19, v19, v1
	ushll.8h	v23, v19, #0
	ushll.4s	v24, v23, #0
	and.16b	v24, v24, v2
	ushll2.4s	v23, v23, #0
	and.16b	v23, v23, v2
	ushll2.8h	v19, v19, #0
	ushll.4s	v25, v19, #0
	and.16b	v25, v25, v2
	ushll2.4s	v19, v19, #0
	and.16b	v19, v19, v2
	add.4s	v5, v5, v18
	add.4s	v3, v3, v22
	add.4s	v4, v4, v20
	add.4s	v0, v0, v21
	add.4s	v17, v17, v19
	add.4s	v7, v7, v25
	add.4s	v16, v16, v23
	add.4s	v6, v6, v24
	add	x12, x12, #32
	subs	x13, x13, #32
	b.ne	LBB0_7
; %bb.8:
	add.4s	v1, v16, v4
	add.4s	v2, v17, v5
	add.4s	v0, v6, v0
	add.4s	v3, v7, v3
	add.4s	v0, v0, v3
	add.4s	v1, v1, v2
	add.4s	v0, v0, v1
	addv.4s	s0, v0
	fmov	w12, s0
	cmp	x11, x8
	b.eq	LBB0_15
; %bb.9:
	tst	x8, #0x18
	b.eq	LBB0_13
LBB0_10:
	mov	x13, x11
	and	x11, x8, #0xfffffff8
	movi.2d	v0, #0000000000000000
	mov.s	v0[0], w12
	movi.2d	v1, #0000000000000000
	dup.8b	v2, w9
	add	x12, x10, x13
	sub	x13, x13, x11
	movi.4s	v3, #1
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	d4, [x12], #8
	cmeq.8b	v4, v4, v2
	ushll.8h	v4, v4, #0
	ushll.4s	v5, v4, #0
	and.16b	v5, v5, v3
	ushll2.4s	v4, v4, #0
	and.16b	v4, v4, v3
	add.4s	v1, v1, v4
	add.4s	v0, v0, v5
	adds	x13, x13, #8
	b.ne	LBB0_11
; %bb.12:
	add.4s	v0, v0, v1
	addv.4s	s0, v0
	fmov	w12, s0
	cmp	x11, x8
	b.eq	LBB0_15
LBB0_13:
	add	x10, x10, x11
	sub	x11, x8, x11
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w13, [x10], #1
	cmp	w13, w9
	cinc	w12, w12, eq
	subs	x11, x11, #1
	b.ne	LBB0_14
LBB0_15:
	mov	w9, #1
	bfi	w9, w12, #3, #29
LBB0_16:
	add	w0, w9, w8
	bl	_malloc
	str	x0, [x19]
	ldr	w8, [x19, #8]
	cmp	w8, #1
	b.lt	LBB0_34
; %bb.17:
	mov	x8, #0
	mov	w10, #0
	mov	w9, #32
	b	LBB0_20
LBB0_18:                                ;   in Loop: Header=BB0_20 Depth=1
	strb	w12, [x11, x13]
LBB0_19:                                ;   in Loop: Header=BB0_20 Depth=1
	add	x8, x8, #1
	ldrsw	x11, [x19, #8]
	cmp	x8, x11
	b.ge	LBB0_33
LBB0_20:                                ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x19, #16]
	ldrb	w12, [x11, x8]
	ldrb	w14, [x20]
	ldr	x11, [x19]
                                        ; kill: def $w10 killed $w10 killed $x10 def $x10
	sxtw	x13, w10
	add	x10, x13, #1
	cmp	w12, w14
	b.ne	LBB0_18
; %bb.21:                               ;   in Loop: Header=BB0_20 Depth=1
	strb	w9, [x11, x13]
	add	w11, w13, #2
	tst	w11, #0x7
	b.eq	LBB0_19
; %bb.22:                               ;   in Loop: Header=BB0_20 Depth=1
	ldr	x12, [x19]
	strb	w9, [x12, x10]
	add	x12, x11, #1
	tst	x12, #0x7
	b.eq	LBB0_30
; %bb.23:                               ;   in Loop: Header=BB0_20 Depth=1
	ldr	x10, [x19]
	strb	w9, [x10, w11, sxtw]
	add	x10, x11, #2
	tst	x10, #0x7
	b.eq	LBB0_31
; %bb.24:                               ;   in Loop: Header=BB0_20 Depth=1
	ldr	x13, [x19]
	strb	w9, [x13, w12, sxtw]
	add	x12, x11, #3
	tst	x12, #0x7
	b.eq	LBB0_32
; %bb.25:                               ;   in Loop: Header=BB0_20 Depth=1
	ldr	x13, [x19]
	strb	w9, [x13, w10, sxtw]
	add	x10, x11, #4
	tst	x10, #0x7
	b.eq	LBB0_31
; %bb.26:                               ;   in Loop: Header=BB0_20 Depth=1
	ldr	x13, [x19]
	strb	w9, [x13, w12, sxtw]
	add	x12, x11, #5
	tst	x12, #0x7
	b.eq	LBB0_32
; %bb.27:                               ;   in Loop: Header=BB0_20 Depth=1
	ldr	x13, [x19]
	strb	w9, [x13, w10, sxtw]
	add	x10, x11, #6
	tst	x10, #0x7
	b.eq	LBB0_31
; %bb.28:                               ;   in Loop: Header=BB0_20 Depth=1
	ldr	x13, [x19]
	strb	w9, [x13, w12, sxtw]
	add	x11, x11, #7
	tst	x11, #0x7
	b.eq	LBB0_32
; %bb.29:                               ;   in Loop: Header=BB0_20 Depth=1
	ldr	x12, [x19]
	strb	w9, [x12, w10, sxtw]
LBB0_30:                                ;   in Loop: Header=BB0_20 Depth=1
	mov	x10, x11
	b	LBB0_19
LBB0_31:                                ;   in Loop: Header=BB0_20 Depth=1
	mov	x10, x12
	b	LBB0_19
LBB0_32:                                ;   in Loop: Header=BB0_20 Depth=1
                                        ; kill: def $w10 killed $w10 killed $x10 def $x10
	b	LBB0_19
LBB0_33:
	ldr	x0, [x19]
	b	LBB0_35
LBB0_34:
	mov	w10, #0
LBB0_35:
	str	w10, [x19, #24]
	strb	wzr, [x0, w10, sxtw]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_editorUpdateSyntax
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_TAB,1,0                        ; @TAB
.subsections_via_symbols
