	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_editorDelChar                  ## -- Begin function editorDelChar
	.p2align	4, 0x90
_editorDelChar:                         ## @editorDelChar
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_E@GOTPCREL(%rip), %r14
	movslq	(%r14), %rax
	movslq	4(%r14), %rbx
	addq	%rax, %rbx
	cmpl	16(%r14), %ebx
	jge	LBB0_15
## %bb.1:
	movq	32(%r14), %rax
	testq	%rax, %rax
	je	LBB0_15
## %bb.2:
	movl	12(%r14), %esi
	addl	8(%r14), %esi
	movl	%esi, %ecx
	orl	%ebx, %ecx
	je	LBB0_15
## %bb.3:
	testl	%esi, %esi
	je	LBB0_4
## %bb.9:
	leaq	(%rax,%rbx,8), %rbx
	decl	%esi
	movq	%rbx, %rdi
	callq	_editorRowDelChar
	movl	12(%r14), %eax
	testl	%eax, %eax
	jne	LBB0_12
## %bb.10:
	movl	8(%r14), %ecx
	testl	%ecx, %ecx
	je	LBB0_12
## %bb.11:
	decl	%ecx
	movl	%ecx, 8(%r14)
	jmp	LBB0_13
LBB0_4:
	movslq	%ebx, %rcx
	leaq	(%rax,%rcx,8), %rdi
	addq	$-8, %rdi
	movl	-8(%rax,%rcx,8), %r15d
	movl	(%rax,%rbx,8), %edx
	movl	4(%rax,%rbx,8), %esi
	callq	_editorRowAppendString
	movl	%ebx, %edi
	callq	_editorDelRow
	movl	4(%r14), %eax
	testl	%eax, %eax
	je	LBB0_5
## %bb.6:
	decl	%eax
	movl	%eax, 4(%r14)
	jmp	LBB0_7
LBB0_12:
	decl	%eax
	movl	%eax, 12(%r14)
LBB0_13:
	movq	%rbx, %rdi
	callq	_editorUpdateRow
	jmp	LBB0_14
LBB0_5:
	decl	(%r14)
LBB0_7:
	movl	%r15d, 12(%r14)
	movl	20(%r14), %eax
	subl	%r15d, %eax
	jg	LBB0_14
## %bb.8:
	incl	%eax
	subl	%eax, %r15d
	movl	%r15d, 12(%r14)
	addl	%eax, 8(%r14)
LBB0_14:
	incl	24(%r14)
LBB0_15:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_E,40,3                         ## @E
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_editorDelChar                  ; -- Begin function editorDelChar
	.p2align	2
_editorDelChar:                         ; @editorDelChar
	.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
Lloh0:
	adrp	x21, _E@GOTPAGE
Lloh1:
	ldr	x21, [x21, _E@GOTPAGEOFF]
	ldpsw	x9, x10, [x21]
	ldp	w11, w12, [x21, #8]
	ldr	w13, [x21, #16]
	ldr	x8, [x21, #32]
	add	x20, x10, x9
	cmp	w20, w13
	ccmp	x8, #0, #4, lt
	add	w9, w12, w11
	orr	w10, w9, w20
	ccmp	w10, #0, #4, ne
	b.eq	LBB0_12
; %bb.1:
	add	x19, x8, x20, lsl #3
	cbz	w9, LBB0_4
; %bb.2:
	sub	w1, w9, #1
	mov	x0, x19
	bl	_editorRowDelChar
	ldp	w9, w8, [x21, #8]
	cmp	w8, #0
	ccmp	w9, #0, #4, eq
	b.ne	LBB0_6
; %bb.3:
	sub	w8, w8, #1
	str	w8, [x21, #12]
	b	LBB0_7
LBB0_4:
	add	x0, x8, x20, lsl #3
	ldr	w22, [x0, #-8]!
	ldr	w1, [x0, #12]
	ldr	w2, [x19]
	bl	_editorRowAppendString
	mov	x0, x20
	bl	_editorDelRow
	ldr	w8, [x21, #4]
	cbz	w8, LBB0_8
; %bb.5:
	sub	w8, w8, #1
	str	w8, [x21, #4]
	b	LBB0_9
LBB0_6:
	sub	w8, w9, #1
	str	w8, [x21, #8]
LBB0_7:
	mov	x0, x19
	bl	_editorUpdateRow
	b	LBB0_11
LBB0_8:
	ldr	w8, [x21]
	sub	w8, w8, #1
	str	w8, [x21]
LBB0_9:
	str	w22, [x21, #12]
	ldr	w8, [x21, #20]
	subs	w8, w8, w22
	b.gt	LBB0_11
; %bb.10:
	add	w8, w8, #1
	sub	w9, w22, w8
	ldr	w10, [x21, #8]
	add	w8, w10, w8
	stp	w8, w9, [x21, #8]
LBB0_11:
	ldr	w8, [x21, #24]
	add	w8, w8, #1
	str	w8, [x21, #24]
LBB0_12:
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_E,40,3                         ; @E
.subsections_via_symbols
