	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_editorRowInsertChar            ## -- Begin function editorRowInsertChar
	.p2align	4, 0x90
_editorRowInsertChar:                   ## @editorRowInsertChar
	.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
	movl	%edx, %r14d
	movl	%esi, %r15d
	movq	%rdi, %r12
	movl	(%rdi), %esi
	cmpl	%r15d, %esi
	jge	LBB0_2
## %bb.1:
	movl	%r15d, %ebx
	subl	%esi, %ebx
	movq	8(%r12), %rdi
	leal	2(%r15), %esi
	callq	_realloc
	movq	%rax, 8(%r12)
	addl	(%r12), %eax
	movl	%eax, %edi
	movl	$32, %esi
	movl	%ebx, %edx
	callq	_memset
	movq	8(%r12), %rax
	incl	%ebx
	movl	(%r12), %ecx
	addl	%ebx, %ecx
	movslq	%ecx, %rcx
	movb	$0, (%rax,%rcx)
	addl	(%r12), %ebx
	movslq	%r15d, %r13
	jmp	LBB0_3
LBB0_2:
	movq	8(%r12), %rdi
	addl	$2, %esi
	callq	_realloc
	movq	%rax, 8(%r12)
	movslq	%r15d, %r13
	leaq	(%rax,%r13), %rdi
	incq	%rdi
	leaq	(%rax,%r13), %rsi
	movl	(%r12), %edx
	subl	%r15d, %edx
	incl	%edx
	callq	_memmove
	movl	(%r12), %ebx
	incl	%ebx
LBB0_3:
	movl	%ebx, (%r12)
	movq	8(%r12), %rax
	movb	%r14b, (%rax,%r13)
	movq	%r12, %rdi
	callq	_editorUpdateRow
	movq	_E@GOTPCREL(%rip), %rax
	incl	(%rax)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_E,4,2                          ## @E
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_editorRowInsertChar            ; -- Begin function editorRowInsertChar
	.p2align	2
_editorRowInsertChar:                   ; @editorRowInsertChar
	.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
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	ldr	w8, [x0]
	cmp	w8, w1
	b.ge	LBB0_2
; %bb.1:
	sub	w22, w21, w8
	ldr	x0, [x19, #8]
	add	w1, w21, #2
	bl	_realloc
	str	x0, [x19, #8]
	ldr	w8, [x19]
	add	w0, w0, w8
	mov	w1, #32
	mov	x2, x22
	bl	_memset
	ldr	x8, [x19, #8]
	ldr	w9, [x19]
	add	w10, w22, #1
	add	w9, w10, w9
	strb	wzr, [x8, w9, sxtw]
	ldr	w8, [x19]
	add	w8, w10, w8
	sxtw	x22, w21
	b	LBB0_3
LBB0_2:
	ldr	x0, [x19, #8]
	add	w1, w8, #2
	bl	_realloc
	str	x0, [x19, #8]
	mov	x8, x21
	sxtw	x22, w8
	add	x1, x0, x22
	add	x0, x1, #1
	ldr	w8, [x19]
	sub	w8, w8, w21
	add	w2, w8, #1
	bl	_memmove
	ldr	w8, [x19]
	add	w8, w8, #1
LBB0_3:
	str	w8, [x19]
	ldr	x8, [x19, #8]
	strb	w20, [x8, x22]
	mov	x0, x19
	bl	_editorUpdateRow
Lloh0:
	adrp	x8, _E@GOTPAGE
Lloh1:
	ldr	x8, [x8, _E@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
	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,4,2                          ; @E
.subsections_via_symbols
