	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vs_insertln
_vs_insertln:                           ## @vs_insertln
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	%rdi, %r14
	movq	(%rdi), %r15
	callq	_IS_VSPLIT
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_SC_SCR_REDRAW@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_F_SET
	jmp	LBB0_6
LBB0_2:
	movq	%r14, %rdi
	callq	_IS_ONELINE
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	8(%r15), %rbx
	movq	%r14, %rdi
	callq	_LASTLINE
	movq	%r14, %rdi
	movq	%rax, %rsi
	xorl	%edx, %edx
	callq	*%rbx
	movq	%r14, %rdi
	callq	*32(%r15)
	jmp	LBB0_6
LBB0_4:
	leaq	-48(%rbp), %rsi
	leaq	-40(%rbp), %rdx
	movq	%r14, %rdi
	callq	*24(%r15)
	testl	%ebx, %ebx
	je	LBB0_6
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r15), %r12
	movq	%r14, %rdi
	callq	_LASTLINE
	leaq	-1(%rax), %rsi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	*%r12
	movq	%r14, %rdi
	callq	*16(%r15)
	movq	-48(%rbp), %rsi
	movq	-40(%rbp), %rdx
	movq	%r14, %rdi
	callq	*8(%r15)
	movq	%r14, %rdi
	callq	*(%r15)
	decl	%ebx
	jne	LBB0_5
LBB0_6:
	xorl	%eax, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SC_SCR_REDRAW,4,2              ## @SC_SCR_REDRAW
	.no_dead_strip	_vs_insertln
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vs_insertln
_vs_insertln:                           ; @vs_insertln
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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, x1
	mov	x19, x0
	ldr	x21, [x0]
	bl	_IS_VSPLIT
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _SC_SCR_REDRAW@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SC_SCR_REDRAW@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_F_SET
	b	LBB0_6
LBB0_2:
	mov	x0, x19
	bl	_IS_ONELINE
	cbz	x0, LBB0_4
; %bb.3:
	ldr	x20, [x21, #8]
	mov	x0, x19
	bl	_LASTLINE
	mov	x1, x0
	mov	x0, x19
	mov	x2, #0
	blr	x20
	ldr	x8, [x21, #32]
	mov	x0, x19
	blr	x8
	b	LBB0_6
LBB0_4:
	ldr	x8, [x21, #24]
	add	x1, sp, #8
	mov	x2, sp
	mov	x0, x19
	blr	x8
	cbz	w20, LBB0_6
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	sub	w20, w20, #1
	ldr	x22, [x21, #8]
	mov	x0, x19
	bl	_LASTLINE
	sub	x1, x0, #1
	mov	x0, x19
	mov	x2, #0
	blr	x22
	ldr	x8, [x21, #16]
	mov	x0, x19
	blr	x8
	ldr	x8, [x21, #8]
	ldp	x2, x1, [sp]
	mov	x0, x19
	blr	x8
	ldr	x8, [x21]
	mov	x0, x19
	blr	x8
	cbnz	w20, LBB0_5
LBB0_6:
	mov	w0, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SC_SCR_REDRAW,4,2              ; @SC_SCR_REDRAW
	.no_dead_strip	_vs_insertln
.subsections_via_symbols
