	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vdbeUnbind
_vdbeUnbind:                            ## @vdbeUnbind
	.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
	movl	%esi, %r14d
	movq	%rdi, %rbx
	callq	_vdbeSafetyNotNull
	movq	_SQLITE_MISUSE_BKPT@GOTPCREL(%rip), %r12
	testq	%rax, %rax
	jne	LBB0_12
## %bb.1:
	movq	32(%rbx), %rax
	movl	4(%rax), %edi
	callq	_sqlite3_mutex_enter
	movq	(%rbx), %rax
	movq	_VDBE_MAGIC_RUN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.2:
	cmpq	$0, 8(%rbx)
	js	LBB0_4
LBB0_3:
	movq	32(%rbx), %rdi
	movq	_SQLITE_MISUSE@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	callq	_sqlite3Error
	movq	32(%rbx), %rax
	movl	4(%rax), %edi
	callq	_sqlite3_mutex_leave
	movl	(%r14), %edi
	movl	48(%rbx), %edx
	leaq	L_.str(%rip), %rsi
	callq	_sqlite3_log
LBB0_12:
	movl	(%r12), %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	testl	%r14d, %r14d
	jle	LBB0_6
## %bb.5:
	cmpl	%r14d, 16(%rbx)
	jge	LBB0_7
LBB0_6:
	movq	32(%rbx), %rdi
	movq	_SQLITE_RANGE@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	callq	_sqlite3Error
	movq	32(%rbx), %rax
	movl	4(%rax), %edi
	callq	_sqlite3_mutex_leave
	jmp	LBB0_12
LBB0_7:
	leal	-1(%r14), %r15d
	movq	40(%rbx), %r12
	leaq	(%r12,%r15,4), %rdi
	callq	_sqlite3VdbeMemRelease
	movq	_MEM_Null@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r12,%r15,4)
	movq	_SQLITE_OK@GOTPCREL(%rip), %r12
	movl	(%r12), %eax
	movq	32(%rbx), %rcx
	movl	%eax, (%rcx)
	movq	_SQLITE_PREPARE_SAVESQL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	$1, %edi
	testl	%eax, 20(%rbx)
	jne	LBB0_9
## %bb.8:
	xorl	%edi, %edi
	cmpl	$0, 24(%rbx)
	sete	%dil
LBB0_9:
	callq	_assert
	movl	24(%rbx), %eax
	testl	%eax, %eax
	je	LBB0_12
## %bb.10:
	movl	$1, %edx
	movl	%r15d, %ecx
	shll	%cl, %edx
	cmpl	$32, %r14d
	movl	$-2147483648, %ecx              ## imm = 0x80000000
	cmovbl	%edx, %ecx
	testl	%ecx, %eax
	je	LBB0_12
## %bb.11:
	movl	$1, 28(%rbx)
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.comm	_SQLITE_MISUSE_BKPT,4,2         ## @SQLITE_MISUSE_BKPT
	.comm	_VDBE_MAGIC_RUN,8,3             ## @VDBE_MAGIC_RUN
	.comm	_SQLITE_MISUSE,4,2              ## @SQLITE_MISUSE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"bind on a busy prepared statement: [%s]"

	.comm	_SQLITE_RANGE,4,2               ## @SQLITE_RANGE
	.comm	_MEM_Null,4,2                   ## @MEM_Null
	.comm	_SQLITE_OK,4,2                  ## @SQLITE_OK
	.comm	_SQLITE_PREPARE_SAVESQL,4,2     ## @SQLITE_PREPARE_SAVESQL
	.no_dead_strip	_vdbeUnbind
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vdbeUnbind
_vdbeUnbind:                            ; @vdbeUnbind
	.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	x20, x1
	mov	x19, x0
	bl	_vdbeSafetyNotNull
	cbnz	x0, LBB0_4
; %bb.1:
	ldr	x8, [x19, #32]
	ldr	w0, [x8, #4]
	bl	_sqlite3_mutex_enter
	ldr	x8, [x19]
Lloh0:
	adrp	x9, _VDBE_MAGIC_RUN@GOTPAGE
Lloh1:
	ldr	x9, [x9, _VDBE_MAGIC_RUN@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.2:
	ldr	x8, [x19, #8]
	tbnz	x8, #63, LBB0_6
LBB0_3:
	ldr	x0, [x19, #32]
Lloh3:
	adrp	x20, _SQLITE_MISUSE@GOTPAGE
Lloh4:
	ldr	x20, [x20, _SQLITE_MISUSE@GOTPAGEOFF]
	ldr	w1, [x20]
	bl	_sqlite3Error
	ldr	x8, [x19, #32]
	ldr	w0, [x8, #4]
	bl	_sqlite3_mutex_leave
	ldr	w0, [x20]
	ldr	w2, [x19, #48]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	bl	_sqlite3_log
LBB0_4:
Lloh7:
	adrp	x20, _SQLITE_MISUSE_BKPT@GOTPAGE
Lloh8:
	ldr	x20, [x20, _SQLITE_MISUSE_BKPT@GOTPAGEOFF]
LBB0_5:
	ldr	w0, [x20]
	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_6:
	subs	w22, w20, #1
	b.lt	LBB0_8
; %bb.7:
	ldr	w8, [x19, #16]
	cmp	w8, w20
	b.ge	LBB0_9
LBB0_8:
	ldr	x0, [x19, #32]
Lloh9:
	adrp	x20, _SQLITE_RANGE@GOTPAGE
Lloh10:
	ldr	x20, [x20, _SQLITE_RANGE@GOTPAGEOFF]
	ldr	w1, [x20]
	bl	_sqlite3Error
	ldr	x8, [x19, #32]
	ldr	w0, [x8, #4]
	bl	_sqlite3_mutex_leave
	b	LBB0_5
LBB0_9:
	ldr	x8, [x19, #40]
	add	x21, x8, w22, uxtw #2
	mov	x0, x21
	bl	_sqlite3VdbeMemRelease
Lloh11:
	adrp	x8, _MEM_Null@GOTPAGE
Lloh12:
	ldr	x8, [x8, _MEM_Null@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	str	w8, [x21]
Lloh14:
	adrp	x8, _SQLITE_OK@GOTPAGE
Lloh15:
	ldr	x8, [x8, _SQLITE_OK@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	ldr	x9, [x19, #32]
	str	w8, [x9]
	ldr	w8, [x19, #20]
Lloh17:
	adrp	x9, _SQLITE_PREPARE_SAVESQL@GOTPAGE
Lloh18:
	ldr	x9, [x9, _SQLITE_PREPARE_SAVESQL@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_11
; %bb.10:
	mov	w0, #1
	b	LBB0_12
LBB0_11:
	ldr	w8, [x19, #24]
	cmp	w8, #0
	cset	w0, eq
LBB0_12:
	bl	_assert
	ldr	w8, [x19, #24]
	cbz	w8, LBB0_15
; %bb.13:
	mov	w9, #1
	lsl	w10, w9, w22
	mov	w11, #-2147483648
	cmp	w20, #31
	csel	w10, w11, w10, hi
	tst	w8, w10
	b.eq	LBB0_15
; %bb.14:
	str	w9, [x19, #28]
LBB0_15:
Lloh20:
	adrp	x20, _SQLITE_OK@GOTPAGE
Lloh21:
	ldr	x20, [x20, _SQLITE_OK@GOTPAGEOFF]
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_SQLITE_MISUSE_BKPT,4,2         ; @SQLITE_MISUSE_BKPT
	.comm	_VDBE_MAGIC_RUN,8,3             ; @VDBE_MAGIC_RUN
	.comm	_SQLITE_MISUSE,4,2              ; @SQLITE_MISUSE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"bind on a busy prepared statement: [%s]"

	.comm	_SQLITE_RANGE,4,2               ; @SQLITE_RANGE
	.comm	_MEM_Null,4,2                   ; @MEM_Null
	.comm	_SQLITE_OK,4,2                  ; @SQLITE_OK
	.comm	_SQLITE_PREPARE_SAVESQL,4,2     ; @SQLITE_PREPARE_SAVESQL
	.no_dead_strip	_vdbeUnbind
.subsections_via_symbols
