	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function v_ecl_init
_v_ecl_init:                            ## @v_ecl_init
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	(%rdi), %r15
	xorl	%esi, %esi
	callq	_file_add
	movl	$1, %r14d
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movq	%rax, %r12
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	callq	_screen_init
	testq	%rax, %rax
	jne	LBB0_5
## %bb.2:
	movq	(%r15), %rdi
	movq	%r12, %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_file_init
	movq	(%r15), %rdi
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	callq	_screen_end
	movq	$0, (%r15)
	jmp	LBB0_5
LBB0_4:
	movl	(%rdi), %edi
	movq	_F_RCV_ON@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_F_CLR
	xorl	%r14d, %r14d
LBB0_5:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_F_RCV_ON,4,2                   ## @F_RCV_ON
	.no_dead_strip	_v_ecl_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function v_ecl_init
_v_ecl_init:                            ; @v_ecl_init
	.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	x21, x0
	ldr	x19, [x0]
	mov	x1, #0
	bl	_file_add
	cbz	x0, LBB0_2
; %bb.1:
	mov	x20, x0
	mov	x0, x19
	mov	x1, x21
	mov	x2, x19
	bl	_screen_init
	cbz	x0, LBB0_4
LBB0_2:
	mov	w0, #1
LBB0_3:
	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
LBB0_4:
	ldr	x0, [x19]
	mov	x1, x20
	mov	x2, #0
	mov	w3, #0
	bl	_file_init
	mov	x8, x0
	ldr	x0, [x19]
	cbz	x8, LBB0_6
; %bb.5:
	bl	_screen_end
	str	xzr, [x19]
	mov	w0, #1
	b	LBB0_3
LBB0_6:
	ldr	w0, [x0]
Lloh0:
	adrp	x8, _F_RCV_ON@GOTPAGE
Lloh1:
	ldr	x8, [x8, _F_RCV_ON@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_F_CLR
	mov	w0, #0
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_F_RCV_ON,4,2                   ; @F_RCV_ON
	.no_dead_strip	_v_ecl_init
.subsections_via_symbols
