	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sqlite3_complete16             ## -- Begin function sqlite3_complete16
	.p2align	4, 0x90
_sqlite3_complete16:                    ## @sqlite3_complete16
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	xorl	%eax, %eax
	callq	_sqlite3_initialize
	testl	%eax, %eax
	jne	LBB0_5
## %bb.1:
	xorl	%edi, %edi
	callq	_sqlite3ValueNew
	movq	%rax, %r14
	movq	_SQLITE_UTF16NATIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_SQLITE_STATIC@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r14, %rdi
	movl	$-1, %esi
	movq	%rbx, %rdx
	callq	_sqlite3ValueSetStr
	movq	_SQLITE_UTF8@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_sqlite3ValueText
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	%rax, %rdi
	callq	_sqlite3_complete
	movl	%eax, %ebx
	jmp	LBB0_4
LBB0_3:
	movq	_SQLITE_NOMEM_BKPT@GOTPCREL(%rip), %rax
	movzbl	(%rax), %ebx
LBB0_4:
	movq	%r14, %rdi
	callq	_sqlite3ValueFree
	movzbl	%bl, %eax
LBB0_5:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SQLITE_UTF16NATIVE,4,2         ## @SQLITE_UTF16NATIVE
	.comm	_SQLITE_STATIC,4,2              ## @SQLITE_STATIC
	.comm	_SQLITE_UTF8,4,2                ## @SQLITE_UTF8
	.comm	_SQLITE_NOMEM_BKPT,4,2          ## @SQLITE_NOMEM_BKPT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sqlite3_complete16             ; -- Begin function sqlite3_complete16
	.p2align	2
_sqlite3_complete16:                    ; @sqlite3_complete16
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x0
	bl	_sqlite3_initialize
	cbnz	w0, LBB0_5
; %bb.1:
	bl	_sqlite3ValueNew
	mov	x19, x0
Lloh0:
	adrp	x8, _SQLITE_UTF16NATIVE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SQLITE_UTF16NATIVE@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
Lloh3:
	adrp	x8, _SQLITE_STATIC@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SQLITE_STATIC@GOTPAGEOFF]
Lloh5:
	ldr	w4, [x8]
	mov	w1, #-1
	mov	x2, x20
	bl	_sqlite3ValueSetStr
Lloh6:
	adrp	x8, _SQLITE_UTF8@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SQLITE_UTF8@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_sqlite3ValueText
	cbz	x0, LBB0_3
; %bb.2:
	bl	_sqlite3_complete
	mov	x20, x0
	b	LBB0_4
LBB0_3:
Lloh9:
	adrp	x8, _SQLITE_NOMEM_BKPT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SQLITE_NOMEM_BKPT@GOTPAGEOFF]
	ldrb	w20, [x8]
LBB0_4:
	mov	x0, x19
	bl	_sqlite3ValueFree
	and	w0, w20, #0xff
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_SQLITE_UTF16NATIVE,4,2         ; @SQLITE_UTF16NATIVE
	.comm	_SQLITE_STATIC,4,2              ; @SQLITE_STATIC
	.comm	_SQLITE_UTF8,4,2                ; @SQLITE_UTF8
	.comm	_SQLITE_NOMEM_BKPT,4,2          ; @SQLITE_NOMEM_BKPT
.subsections_via_symbols
