	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_c_delafter                     ## -- Begin function c_delafter
	.p2align	4, 0x90
_c_delafter:                            ## @c_delafter
	.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
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movslq	%edi, %rax
	movq	_LastChar@GOTPCREL(%rip), %r9
	movq	(%r9), %r12
	movq	_Cursor@GOTPCREL(%rip), %r8
	movq	(%r8), %r15
	movq	%r12, %rcx
	subq	%r15, %rcx
	sarq	$2, %rcx
	cmpq	%rax, %rcx
	cmovll	%ecx, %eax
	testl	%eax, %eax
	jle	LBB0_41
## %bb.1:
	movq	_VImode@GOTPCREL(%rip), %rcx
	cmpq	$0, (%rcx)
	je	LBB0_2
## %bb.17:
	movq	_UndoBuf@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	_TCSHOP_INSERT@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movq	_UndoAction@GOTPCREL(%rip), %rsi
	movl	%edx, (%rsi)
	movq	_UndoSize@GOTPCREL(%rip), %rdx
	movl	%eax, (%rdx)
	movq	_UndoPtr@GOTPCREL(%rip), %rdx
	movq	%r15, (%rdx)
	movl	%eax, %r14d
	cmpq	%r12, %r15
	ja	LBB0_35
## %bb.18:
	leaq	4(%r15), %rsi
	leaq	1(%r12), %rax
	cmpq	%rax, %rsi
	movq	%rax, %rdx
	cmovaq	%rsi, %rdx
	movq	%r15, %rdi
	notq	%rdi
	addq	%rdi, %rdx
	cmpq	$28, %rdx
	jae	LBB0_20
## %bb.19:
	movq	%r15, %rax
	jmp	LBB0_34
LBB0_2:
	movl	%eax, %r14d
	leaq	(%r15,%r14,4), %rcx
	cmpq	%r12, %rcx
	ja	LBB0_35
## %bb.3:
	leaq	(,%r14,4), %rdx
	leaq	(%r15,%r14,4), %rax
	addq	$4, %rax
	leaq	1(%r12), %rsi
	cmpq	%rsi, %rax
	cmovaq	%rax, %rsi
	movq	%r15, %r10
	notq	%r10
	addq	%rsi, %r10
	subq	%rdx, %r10
	cmpq	$28, %r10
	jb	LBB0_4
## %bb.5:
	movq	%rdx, %rax
	negq	%rax
	cmpq	$32, %rax
	jb	LBB0_6
## %bb.7:
	shrq	$2, %r10
	incq	%r10
	movq	%r10, %r11
	andq	$-8, %r11
	leaq	-8(%r11), %rax
	movq	%rax, %rbx
	shrq	$3, %rbx
	incq	%rbx
	movl	%ebx, %edi
	andl	$3, %edi
	cmpq	$24, %rax
	jae	LBB0_9
## %bb.8:
	xorl	%eax, %eax
	jmp	LBB0_11
LBB0_20:
	cmpq	%rax, %rsi
	cmovaq	%rsi, %rax
	addq	%rdi, %rax
	shrq	$2, %rax
	leaq	(%rcx,%rax,4), %rsi
	addq	$4, %rsi
	leaq	(%r15,%rax,4), %r11
	addq	$4, %r11
	leaq	(%r15,%r14,4), %rbx
	addq	%r14, %rax
	leaq	(%r15,%rax,4), %rdi
	addq	$4, %rdi
	cmpq	%r11, %rcx
	setb	%r13b
	cmpq	%rsi, %r15
	setb	%r8b
	cmpq	%rdi, %rcx
	setb	%al
	cmpq	%rsi, %rbx
	setb	%sil
	cmpq	%rdi, %r15
	setb	%r10b
	cmpq	%r11, %rbx
	setb	%dil
	testb	%r8b, %r13b
	jne	LBB0_21
## %bb.22:
	andb	%sil, %al
	movq	_Cursor@GOTPCREL(%rip), %r8
	jne	LBB0_23
## %bb.24:
	andb	%dil, %r10b
	jne	LBB0_25
## %bb.26:
	shrq	$2, %rdx
	incq	%rdx
	movq	%rdx, %r10
	andq	$-8, %r10
	leaq	-8(%r10), %rax
	movq	%rax, %r11
	shrq	$3, %r11
	incq	%r11
	testq	%rax, %rax
	je	LBB0_27
## %bb.28:
	movabsq	$4611686018427387900, %rax      ## imm = 0x3FFFFFFFFFFFFFFC
	orq	$2, %rax
	andq	%r11, %rax
	leaq	48(%r15), %rdi
	leaq	(%r15,%r14,4), %rsi
	addq	$48, %rsi
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_29:                                ## =>This Inner Loop Header: Depth=1
	movups	-48(%rdi,%rbx,4), %xmm0
	movups	-32(%rdi,%rbx,4), %xmm1
	movups	%xmm0, (%rcx,%rbx,4)
	movups	%xmm1, 16(%rcx,%rbx,4)
	movups	-48(%rsi,%rbx,4), %xmm0
	movups	-32(%rsi,%rbx,4), %xmm1
	movups	%xmm0, -48(%rdi,%rbx,4)
	movups	%xmm1, -32(%rdi,%rbx,4)
	movups	-16(%rdi,%rbx,4), %xmm0
	movups	(%rdi,%rbx,4), %xmm1
	movups	%xmm0, 32(%rcx,%rbx,4)
	movups	%xmm1, 48(%rcx,%rbx,4)
	movups	-16(%rsi,%rbx,4), %xmm0
	movups	(%rsi,%rbx,4), %xmm1
	movups	%xmm0, -16(%rdi,%rbx,4)
	movups	%xmm1, (%rdi,%rbx,4)
	addq	$16, %rbx
	addq	$-2, %rax
	jne	LBB0_29
## %bb.30:
	testb	$1, %r11b
	je	LBB0_32
LBB0_31:
	leaq	(%r15,%rbx,4), %rax
	movups	(%r15,%rbx,4), %xmm0
	movups	16(%r15,%rbx,4), %xmm1
	movups	%xmm0, (%rcx,%rbx,4)
	movups	%xmm1, 16(%rcx,%rbx,4)
	movups	(%rax,%r14,4), %xmm0
	movups	16(%rax,%r14,4), %xmm1
	movups	%xmm0, (%r15,%rbx,4)
	movups	%xmm1, 16(%r15,%rbx,4)
LBB0_32:
	cmpq	%r10, %rdx
	je	LBB0_35
## %bb.33:
	leaq	(%rcx,%r10,4), %rcx
	leaq	(%r15,%r10,4), %rax
	jmp	LBB0_34
LBB0_4:
	movq	%r15, %rax
	jmp	LBB0_16
LBB0_6:
	movq	%r15, %rax
	jmp	LBB0_16
LBB0_9:
	andq	$-4, %rbx
	leaq	(%r15,%r14,4), %rsi
	addq	$112, %rsi
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movups	-112(%rsi,%rax,4), %xmm0
	movups	-96(%rsi,%rax,4), %xmm1
	movups	%xmm0, (%r15,%rax,4)
	movups	%xmm1, 16(%r15,%rax,4)
	movups	-80(%rsi,%rax,4), %xmm0
	movups	-64(%rsi,%rax,4), %xmm1
	movups	%xmm0, 32(%r15,%rax,4)
	movups	%xmm1, 48(%r15,%rax,4)
	movups	-48(%rsi,%rax,4), %xmm0
	movups	-32(%rsi,%rax,4), %xmm1
	movups	%xmm0, 64(%r15,%rax,4)
	movups	%xmm1, 80(%r15,%rax,4)
	movups	-16(%rsi,%rax,4), %xmm0
	movups	(%rsi,%rax,4), %xmm1
	movups	%xmm0, 96(%r15,%rax,4)
	movups	%xmm1, 112(%r15,%rax,4)
	addq	$32, %rax
	addq	$-4, %rbx
	jne	LBB0_10
LBB0_11:
	testq	%rdi, %rdi
	je	LBB0_14
## %bb.12:
	leaq	(%r15,%rax,4), %rax
	addq	$16, %rax
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movups	-16(%rax,%rdx), %xmm0
	movups	(%rax,%rdx), %xmm1
	movups	%xmm0, -16(%rax)
	movups	%xmm1, (%rax)
	addq	$32, %rax
	decq	%rdi
	jne	LBB0_13
LBB0_14:
	cmpq	%r11, %r10
	je	LBB0_35
## %bb.15:
	leaq	(%rcx,%r11,4), %rcx
	leaq	(%r15,%r11,4), %rax
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rcx), %ecx
	movl	%ecx, (%rax)
	leaq	(%rax,%r14,4), %rcx
	addq	$4, %rcx
	leaq	(%rax,%rdx), %rsi
	addq	$4, %rsi
	addq	$4, %rax
	cmpq	%r12, %rsi
	jbe	LBB0_16
	jmp	LBB0_35
LBB0_25:
	movq	%r15, %rax
	jmp	LBB0_34
LBB0_27:
	xorl	%ebx, %ebx
	testb	$1, %r11b
	jne	LBB0_31
	jmp	LBB0_32
LBB0_21:
	movq	%r15, %rax
	movq	_Cursor@GOTPCREL(%rip), %r8
	jmp	LBB0_34
LBB0_23:
	movq	%r15, %rax
	.p2align	4, 0x90
LBB0_34:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rax), %edx
	movl	%edx, (%rcx)
	addq	$4, %rcx
	movl	(%rax,%r14,4), %edx
	movl	%edx, (%rax)
	addq	$4, %rax
	cmpq	%r12, %rax
	jbe	LBB0_34
LBB0_35:
	leaq	(,%r14,4), %rax
	subq	%rax, %r12
	movq	%r12, (%r9)
	movq	_Mark@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	testq	%rcx, %rcx
	je	LBB0_41
## %bb.36:
	cmpq	%r15, %rcx
	jbe	LBB0_38
## %bb.37:
	leaq	(%r15,%r14,4), %rdx
	cmpq	%rdx, %rcx
	jbe	LBB0_40
LBB0_38:
	cmpq	(%r8), %rcx
	jbe	LBB0_41
## %bb.39:
	negq	%r14
	leaq	(%rcx,%r14,4), %r15
LBB0_40:
	movq	%r15, (%rax)
LBB0_41:
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LastChar,8,3                   ## @LastChar
	.comm	_Cursor,8,3                     ## @Cursor
	.comm	_VImode,8,3                     ## @VImode
	.comm	_UndoBuf,8,3                    ## @UndoBuf
	.comm	_TCSHOP_INSERT,4,2              ## @TCSHOP_INSERT
	.comm	_UndoAction,4,2                 ## @UndoAction
	.comm	_UndoSize,4,2                   ## @UndoSize
	.comm	_UndoPtr,8,3                    ## @UndoPtr
	.comm	_Mark,8,3                       ## @Mark
	.comm	_MODE_INSERT,4,2                ## @MODE_INSERT
	.comm	_inputmode,4,2                  ## @inputmode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_c_delafter                     ; -- Begin function c_delafter
	.p2align	2
_c_delafter:                            ; @c_delafter
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x11, _LastChar@GOTPAGE
Lloh1:
	ldr	x11, [x11, _LastChar@GOTPAGEOFF]
	ldr	x12, [x11]
Lloh2:
	adrp	x9, _Cursor@GOTPAGE
Lloh3:
	ldr	x9, [x9, _Cursor@GOTPAGEOFF]
	ldr	x8, [x9]
	sub	x10, x12, x8
	asr	x10, x10, #2
	cmp	x10, w0, sxtw
	csel	w10, w10, w0, lt
	cmp	w10, #1
	b.lt	LBB0_27
; %bb.1:
Lloh4:
	adrp	x13, _VImode@GOTPAGE
Lloh5:
	ldr	x13, [x13, _VImode@GOTPAGEOFF]
Lloh6:
	ldr	x13, [x13]
	cbz	x13, LBB0_5
; %bb.2:
Lloh7:
	adrp	x13, _UndoBuf@GOTPAGE
Lloh8:
	ldr	x13, [x13, _UndoBuf@GOTPAGEOFF]
Lloh9:
	adrp	x14, _TCSHOP_INSERT@GOTPAGE
Lloh10:
	ldr	x14, [x14, _TCSHOP_INSERT@GOTPAGEOFF]
Lloh11:
	ldr	x13, [x13]
Lloh12:
	ldr	w14, [x14]
Lloh13:
	adrp	x15, _UndoAction@GOTPAGE
Lloh14:
	ldr	x15, [x15, _UndoAction@GOTPAGEOFF]
Lloh15:
	adrp	x16, _UndoSize@GOTPAGE
Lloh16:
	ldr	x16, [x16, _UndoSize@GOTPAGEOFF]
Lloh17:
	str	w14, [x15]
Lloh18:
	str	w10, [x16]
Lloh19:
	adrp	x14, _UndoPtr@GOTPAGE
Lloh20:
	ldr	x14, [x14, _UndoPtr@GOTPAGEOFF]
Lloh21:
	str	x8, [x14]
	cmp	x8, x12
	b.hi	LBB0_22
; %bb.3:
	add	x14, x8, #4
	add	x16, x12, #1
	cmp	x14, x16
	csinc	x15, x14, x12, hi
	mvn	x17, x8
	add	x15, x15, x17
	cmp	x15, #60
	b.hs	LBB0_11
; %bb.4:
	mov	x14, x8
	b	LBB0_21
LBB0_5:
	add	x13, x8, w10, uxtw #2
	cmp	x13, x12
	b.hi	LBB0_22
; %bb.6:
	lsl	x14, x10, #2
	add	x15, x14, x8
	add	x15, x15, #4
	add	x16, x12, #1
	cmp	x15, x16
	csinc	x15, x15, x12, hi
	mvn	x16, x8
	add	x15, x15, x16
	sub	x16, x15, x14
	cmp	x16, #60
	b.lo	LBB0_17
; %bb.7:
	neg	x17, x14
	mov	x15, x8
	cmp	x17, #64
	b.lo	LBB0_18
; %bb.8:
	lsr	x15, x16, #2
	add	x16, x15, #1
	and	x17, x16, #0x7ffffffffffffff0
	lsl	x15, x17, #2
	add	x13, x13, x15
	add	x15, x8, x15
	add	x0, x8, #32
	mov	x1, x17
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	add	x2, x0, x14
	ldp	q0, q1, [x2, #-32]
	ldp	q2, q3, [x2]
	stp	q0, q1, [x0, #-32]
	stp	q2, q3, [x0], #64
	subs	x1, x1, #16
	b.ne	LBB0_9
; %bb.10:
	cmp	x16, x17
	b.ne	LBB0_18
	b	LBB0_22
LBB0_11:
	cmp	x14, x16
	csinc	x14, x14, x12, hi
	add	x14, x14, x17
	lsr	x14, x14, #2
	lsl	x16, x14, #2
	add	x16, x16, #4
	add	x17, x8, x16
	add	x0, x8, x10, lsl #2
	add	x14, x14, x10
	add	x14, x8, x14, lsl #2
	add	x1, x14, #4
	cmp	x13, x1
	add	x2, x13, x16
	ccmp	x0, x2, #2, lo
	cset	w14, lo
	cmp	x8, x1
	ccmp	x0, x17, #2, lo
	cset	w16, lo
	cmp	x8, x2
	ccmp	x13, x17, #2, lo
	b.lo	LBB0_19
; %bb.12:
	tbnz	w14, #0, LBB0_20
; %bb.13:
	mov	x14, x8
	tbnz	w16, #0, LBB0_21
; %bb.14:
	lsr	x14, x15, #2
	add	x15, x14, #1
	and	x16, x15, #0x7ffffffffffffff0
	lsl	x14, x16, #2
	add	x17, x13, x14
	add	x14, x8, x14
	add	x13, x13, #32
	lsl	x0, x10, #2
	mov	x1, x8
	mov	x2, x16
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	ldp	q0, q1, [x1]
	ldp	q2, q3, [x1, #32]
	stp	q0, q1, [x13, #-32]
	stp	q2, q3, [x13], #64
	add	x3, x1, x0
	ldp	q0, q1, [x3]
	ldp	q2, q3, [x3, #32]
	stp	q0, q1, [x1]
	stp	q2, q3, [x1, #32]
	add	x1, x1, #64
	subs	x2, x2, #16
	b.ne	LBB0_15
; %bb.16:
	mov	x13, x17
	cmp	x15, x16
	b.ne	LBB0_21
	b	LBB0_22
LBB0_17:
	mov	x15, x8
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	ldr	w13, [x13]
	str	w13, [x15], #4
	add	x13, x15, x10, lsl #2
	add	x16, x15, x14
	cmp	x16, x12
	b.ls	LBB0_18
	b	LBB0_22
LBB0_19:
	mov	x14, x8
	b	LBB0_21
LBB0_20:
	mov	x14, x8
LBB0_21:                                ; =>This Inner Loop Header: Depth=1
	ldr	w15, [x14]
	str	w15, [x13], #4
	ldr	w15, [x14, x10, lsl #2]
	str	w15, [x14], #4
	cmp	x14, x12
	b.ls	LBB0_21
LBB0_22:
	sub	x12, x12, x10, lsl #2
	str	x12, [x11]
Lloh22:
	adrp	x11, _Mark@GOTPAGE
Lloh23:
	ldr	x11, [x11, _Mark@GOTPAGEOFF]
	ldr	x12, [x11]
	cbz	x12, LBB0_27
; %bb.23:
	add	x13, x8, x10, lsl #2
	cmp	x12, x8
	ccmp	x12, x13, #2, hi
	b.ls	LBB0_26
; %bb.24:
	ldr	x8, [x9]
	cmp	x12, x8
	b.ls	LBB0_27
; %bb.25:
	neg	x8, x10
	add	x8, x12, x8, lsl #2
LBB0_26:
	str	x8, [x11]
LBB0_27:
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotStr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotStr	Lloh15, Lloh16, Lloh18
	.loh AdrpLdrGotStr	Lloh13, Lloh14, Lloh17
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh11
	.loh AdrpLdrGot	Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_LastChar,8,3                   ; @LastChar
	.comm	_Cursor,8,3                     ; @Cursor
	.comm	_VImode,8,3                     ; @VImode
	.comm	_UndoBuf,8,3                    ; @UndoBuf
	.comm	_TCSHOP_INSERT,4,2              ; @TCSHOP_INSERT
	.comm	_UndoAction,4,2                 ; @UndoAction
	.comm	_UndoSize,4,2                   ; @UndoSize
	.comm	_UndoPtr,8,3                    ; @UndoPtr
	.comm	_Mark,8,3                       ; @Mark
	.comm	_MODE_INSERT,4,2                ; @MODE_INSERT
	.comm	_inputmode,4,2                  ; @inputmode
.subsections_via_symbols
