	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tryToClone
_tryToClone:                            ## @tryToClone
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	$0, -24(%rbp)
	movq	%rsi, %rdi
	xorl	%esi, %esi
	callq	_access
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	leaq	-24(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_sqlite3_open
	testl	%eax, %eax
	je	LBB0_3
## %bb.2:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	-24(%rbp), %rdi
	callq	_sqlite3_errmsg
	leaq	L_.str.1(%rip), %rsi
	movl	%ebx, %edi
	movq	%rax, %rdx
	callq	_utf8_printf
	jmp	LBB0_4
LBB0_5:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdx
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_utf8_printf                    ## TAILCALL
LBB0_3:
	movq	(%r14), %rdi
	leaq	L_.str.2(%rip), %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_sqlite3_exec
	movq	-24(%rbp), %rdi
	leaq	L_.str.3(%rip), %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_sqlite3_exec
	movq	-24(%rbp), %rsi
	movq	_tryToCloneData@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str.4(%rip), %rdx
	movq	%r14, %rdi
	callq	_tryToCloneSchema
	movq	-24(%rbp), %rsi
	leaq	L_.str.5(%rip), %rdx
	movq	%r14, %rdi
	xorl	%ecx, %ecx
	callq	_tryToCloneSchema
	movq	-24(%rbp), %rdi
	leaq	L_.str.6(%rip), %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_sqlite3_exec
	movq	(%r14), %rdi
	leaq	L_.str.7(%rip), %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_sqlite3_exec
LBB0_4:
	movq	-24(%rbp), %rdi
	callq	_close_db
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"File \"%s\" already exists.\n"

L_.str.1:                               ## @.str.1
	.asciz	"Cannot create output database: %s\n"

L_.str.2:                               ## @.str.2
	.asciz	"PRAGMA writable_schema=ON;"

L_.str.3:                               ## @.str.3
	.asciz	"BEGIN EXCLUSIVE;"

L_.str.4:                               ## @.str.4
	.asciz	"type='table'"

	.comm	_tryToCloneData,4,2             ## @tryToCloneData
L_.str.5:                               ## @.str.5
	.asciz	"type!='table'"

L_.str.6:                               ## @.str.6
	.asciz	"COMMIT;"

L_.str.7:                               ## @.str.7
	.asciz	"PRAGMA writable_schema=OFF;"

	.no_dead_strip	_tryToClone
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tryToClone
_tryToClone:                            ; @tryToClone
	.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	x20, x1
	mov	x19, x0
	str	xzr, [sp, #8]
	mov	x0, x1
	mov	w1, #0
	bl	_access
	cbz	x0, LBB0_3
; %bb.1:
	add	x1, sp, #8
	mov	x0, x20
	bl	_sqlite3_open
	cbz	w0, LBB0_4
; %bb.2:
Lloh0:
	adrp	x8, _stderr@GOTPAGE
Lloh1:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh2:
	ldr	w19, [x8]
	ldr	x0, [sp, #8]
	bl	_sqlite3_errmsg
	mov	x2, x0
Lloh3:
	adrp	x1, l_.str.1@PAGE
Lloh4:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_utf8_printf
	b	LBB0_5
LBB0_3:
Lloh5:
	adrp	x8, _stderr@GOTPAGE
Lloh6:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_utf8_printf
LBB0_4:
	ldr	x0, [x19]
Lloh10:
	adrp	x1, l_.str.2@PAGE
Lloh11:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w2, #0
	mov	w3, #0
	mov	w4, #0
	bl	_sqlite3_exec
	ldr	x0, [sp, #8]
Lloh12:
	adrp	x1, l_.str.3@PAGE
Lloh13:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	w2, #0
	mov	w3, #0
	mov	w4, #0
	bl	_sqlite3_exec
	ldr	x1, [sp, #8]
Lloh14:
	adrp	x8, _tryToCloneData@GOTPAGE
Lloh15:
	ldr	x8, [x8, _tryToCloneData@GOTPAGEOFF]
Lloh16:
	ldr	w3, [x8]
Lloh17:
	adrp	x2, l_.str.4@PAGE
Lloh18:
	add	x2, x2, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_tryToCloneSchema
	ldr	x1, [sp, #8]
Lloh19:
	adrp	x2, l_.str.5@PAGE
Lloh20:
	add	x2, x2, l_.str.5@PAGEOFF
	mov	x0, x19
	mov	w3, #0
	bl	_tryToCloneSchema
	ldr	x0, [sp, #8]
Lloh21:
	adrp	x1, l_.str.6@PAGE
Lloh22:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	w2, #0
	mov	w3, #0
	mov	w4, #0
	bl	_sqlite3_exec
	ldr	x0, [x19]
Lloh23:
	adrp	x1, l_.str.7@PAGE
Lloh24:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	w2, #0
	mov	w3, #0
	mov	w4, #0
	bl	_sqlite3_exec
LBB0_5:
	ldr	x0, [sp, #8]
	bl	_close_db
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"File \"%s\" already exists.\n"

l_.str.1:                               ; @.str.1
	.asciz	"Cannot create output database: %s\n"

l_.str.2:                               ; @.str.2
	.asciz	"PRAGMA writable_schema=ON;"

l_.str.3:                               ; @.str.3
	.asciz	"BEGIN EXCLUSIVE;"

l_.str.4:                               ; @.str.4
	.asciz	"type='table'"

	.comm	_tryToCloneData,4,2             ; @tryToCloneData
l_.str.5:                               ; @.str.5
	.asciz	"type!='table'"

l_.str.6:                               ; @.str.6
	.asciz	"COMMIT;"

l_.str.7:                               ; @.str.7
	.asciz	"PRAGMA writable_schema=OFF;"

	.no_dead_strip	_tryToClone
.subsections_via_symbols
