	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cs_init                        ## -- Begin function cs_init
	.p2align	4, 0x90
_cs_init:                               ## @cs_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movl	40(%rsi), %esi
	leaq	16(%rbx), %r15
	leaq	-28(%rbp), %r8
	movq	%r15, %rdx
	movq	%rbx, %rcx
	callq	_db_eget
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movl	$1, %ebx
	cmpl	$0, -28(%rbp)
	je	LBB0_8
## %bb.2:
	movq	_M_BERR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	%r14, %rdi
	callq	_msgq
	jmp	LBB0_8
LBB0_3:
	movq	(%rbx), %rsi
	testq	%rsi, %rsi
	je	LBB0_5
## %bb.4:
	movq	(%r15), %rdi
	callq	_v_isempty
	testq	%rax, %rax
	je	LBB0_6
LBB0_5:
	movq	$0, 8(%rbx)
	movq	_CS_EMP@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 32(%rbx)
	jmp	LBB0_7
LBB0_6:
	movq	$0, 32(%rbx)
	movq	8(%rbx), %rax
	movq	16(%rbx), %rcx
	movl	(%rcx,%rax,4), %eax
	movl	%eax, 24(%rbx)
LBB0_7:
	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	_M_BERR,4,2                     ## @M_BERR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"177|Empty file"

	.comm	_CS_EMP,8,3                     ## @CS_EMP
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cs_init                        ; -- Begin function cs_init
	.p2align	2
_cs_init:                               ; @cs_init
	.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	x19, x1
	mov	x20, x0
	ldr	w1, [x1, #40]
	add	x21, x19, #16
	add	x4, sp, #12
	mov	x2, x21
	mov	x3, x19
	bl	_db_eget
	cbz	x0, LBB0_3
; %bb.1:
	ldr	w8, [sp, #12]
	cbz	w8, LBB0_6
; %bb.2:
Lloh0:
	adrp	x8, _M_BERR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _M_BERR@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x20
	bl	_msgq
	mov	w0, #1
	b	LBB0_8
LBB0_3:
	ldr	x1, [x19]
	cbz	x1, LBB0_5
; %bb.4:
	ldr	x0, [x21]
	bl	_v_isempty
	cbz	x0, LBB0_7
LBB0_5:
	mov	w0, #0
	str	xzr, [x19, #8]
Lloh5:
	adrp	x8, _CS_EMP@GOTPAGE
Lloh6:
	ldr	x8, [x8, _CS_EMP@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	str	x8, [x19, #32]
	b	LBB0_8
LBB0_6:
	mov	w0, #1
	b	LBB0_8
LBB0_7:
	str	xzr, [x19, #32]
	ldp	x9, x8, [x19, #8]
	ldr	w8, [x8, x9, lsl #2]
	str	w8, [x19, #24]
LBB0_8:
	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 AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_M_BERR,4,2                     ; @M_BERR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"177|Empty file"

	.comm	_CS_EMP,8,3                     ; @CS_EMP
.subsections_via_symbols
