	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_c_insert                       ## -- Begin function c_insert
	.p2align	4, 0x90
_c_insert:                              ## @c_insert
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_LastChar@GOTPCREL(%rip), %r9
	movq	(%r9), %rsi
	movslq	%edi, %rdx
	leaq	(%rsi,%rdx), %rcx
	movq	_InputLim@GOTPCREL(%rip), %rdi
	cmpq	(%rdi), %rcx
	jge	LBB0_8
## %bb.1:
	movq	_Cursor@GOTPCREL(%rip), %rdi
	movq	(%rdi), %rdi
	cmpq	%rsi, %rdi
	jge	LBB0_7
## %bb.2:
	ja	LBB0_4
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rsi), %eax
	movl	%eax, (%rsi,%rdx,4)
	addq	$-4, %rsi
	cmpq	%rdi, %rsi
	jae	LBB0_3
LBB0_4:
	movq	_Mark@GOTPCREL(%rip), %r8
	movq	(%r8), %rsi
	testq	%rsi, %rsi
	je	LBB0_7
## %bb.5:
	cmpq	%rdi, %rsi
	jle	LBB0_7
## %bb.6:
	addq	%rdx, %rsi
	movq	%rsi, (%r8)
LBB0_7:
	movq	%rcx, (%r9)
LBB0_8:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LastChar,8,3                   ## @LastChar
	.comm	_InputLim,8,3                   ## @InputLim
	.comm	_Cursor,8,3                     ## @Cursor
	.comm	_Mark,8,3                       ## @Mark
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_c_insert                       ; -- Begin function c_insert
	.p2align	2
_c_insert:                              ; @c_insert
	.cfi_startproc
; %bb.0:
                                        ; kill: def $w0 killed $w0 def $x0
Lloh0:
	adrp	x8, _LastChar@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LastChar@GOTPAGEOFF]
	ldr	x11, [x8]
	sxtw	x9, w0
Lloh2:
	adrp	x10, _InputLim@GOTPAGE
Lloh3:
	ldr	x10, [x10, _InputLim@GOTPAGEOFF]
Lloh4:
	ldr	x12, [x10]
	add	x10, x11, x9
	cmp	x10, x12
	b.ge	LBB0_7
; %bb.1:
Lloh5:
	adrp	x12, _Cursor@GOTPAGE
Lloh6:
	ldr	x12, [x12, _Cursor@GOTPAGEOFF]
Lloh7:
	ldr	x12, [x12]
	cmp	x12, x11
	b.ge	LBB0_6
; %bb.2:
	cmp	x11, x12
	b.lo	LBB0_4
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w13, [x11]
	str	w13, [x11, x9, lsl #2]
	sub	x11, x11, #4
	cmp	x11, x12
	b.hs	LBB0_3
LBB0_4:
Lloh8:
	adrp	x11, _Mark@GOTPAGE
Lloh9:
	ldr	x11, [x11, _Mark@GOTPAGEOFF]
	ldr	x13, [x11]
	cmp	x13, #0
	ccmp	x13, x12, #4, ne
	b.le	LBB0_6
; %bb.5:
	add	x9, x13, x9
	str	x9, [x11]
LBB0_6:
	str	x10, [x8]
LBB0_7:
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_LastChar,8,3                   ; @LastChar
	.comm	_InputLim,8,3                   ; @InputLim
	.comm	_Cursor,8,3                     ; @Cursor
	.comm	_Mark,8,3                       ; @Mark
.subsections_via_symbols
