	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function v_ecl
_v_ecl:                                 ## @v_ecl
	.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	%rdi, %r14
	movq	40(%rdi), %r15
	cmpq	$0, (%r15)
	je	LBB0_1
LBB0_2:
	leaq	-32(%rbp), %rdx
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_screen_init
	movl	$1, %ebx
	testq	%rax, %rax
	jne	LBB0_8
## %bb.3:
	movq	-32(%rbp), %rsi
	movl	$1, %ebx
	movq	%r14, %rdi
	movl	$1, %edx
	callq	_vs_split
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	-32(%rbp), %rdi
	callq	_screen_end
	jmp	LBB0_8
LBB0_1:
	movq	%r14, %rdi
	callq	_v_ecl_init
	movl	$1, %ebx
	testq	%rax, %rax
	jne	LBB0_8
	jmp	LBB0_2
LBB0_5:
	movq	(%r15), %rax
	movq	8(%rax), %rcx
	movq	-32(%rbp), %rdi
	movq	%rcx, 32(%rdi)
	incl	(%rcx)
	movq	(%rax), %rax
	movq	%rax, 24(%rdi)
	movq	24(%r14), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, (%rax)
	movq	%rdi, %rsi
	callq	_db_last
	movq	-32(%rbp), %rdi
	cmpl	$0, (%rdi)
	jne	LBB0_7
## %bb.6:
	movl	$1, (%rdi)
LBB0_7:
	movq	%r14, 16(%r14)
	movq	_SC_COMEDIT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_F_SET
	movq	-32(%rbp), %rax
	movq	%rax, 8(%r14)
	movq	_SC_SSWITCH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_F_SET
	xorl	%ebx, %ebx
LBB0_8:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SC_COMEDIT,4,2                 ## @SC_COMEDIT
	.comm	_SC_SSWITCH,4,2                 ## @SC_SSWITCH
	.comm	_OS_STRDUP,4,2                  ## @OS_STRDUP
	.comm	_O_FILEENCODING,4,2             ## @O_FILEENCODING
	.no_dead_strip	_v_ecl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function v_ecl
_v_ecl:                                 ; @v_ecl
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
	ldr	x20, [x0, #40]
	ldr	x8, [x20]
	cbz	x8, LBB0_4
LBB0_1:
	add	x2, sp, #8
	mov	x0, x20
	mov	x1, x19
	bl	_screen_init
	cbnz	x0, LBB0_5
; %bb.2:
	ldr	x1, [sp, #8]
	mov	x0, x19
	mov	w2, #1
	bl	_vs_split
	cbz	x0, LBB0_7
; %bb.3:
	ldr	x0, [sp, #8]
	bl	_screen_end
	mov	w0, #1
	b	LBB0_6
LBB0_4:
	mov	x0, x19
	bl	_v_ecl_init
	cbz	x0, LBB0_1
LBB0_5:
	mov	w0, #1
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_7:
	ldr	x8, [x20]
	ldr	x0, [sp, #8]
	ldp	x8, x9, [x8]
	ldr	w10, [x9]
	add	w10, w10, #1
	str	w10, [x9]
	stp	x8, x9, [x0, #24]
	ldr	x9, [x19, #24]
	ldr	w9, [x9]
	str	w9, [x8]
	mov	x1, x0
	bl	_db_last
	ldr	x0, [sp, #8]
	ldr	w8, [x0]
	cbnz	w8, LBB0_9
; %bb.8:
	mov	w8, #1
	str	w8, [x0]
LBB0_9:
	str	x19, [x19, #16]
Lloh0:
	adrp	x8, _SC_COMEDIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SC_COMEDIT@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_F_SET
	ldr	x8, [sp, #8]
	str	x8, [x19, #8]
Lloh3:
	adrp	x8, _SC_SSWITCH@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SC_SSWITCH@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_F_SET
	mov	w0, #0
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SC_COMEDIT,4,2                 ; @SC_COMEDIT
	.comm	_SC_SSWITCH,4,2                 ; @SC_SSWITCH
	.comm	_OS_STRDUP,4,2                  ; @OS_STRDUP
	.comm	_O_FILEENCODING,4,2             ; @O_FILEENCODING
	.no_dead_strip	_v_ecl
.subsections_via_symbols
