	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sqlite3_finalize               ## -- Begin function sqlite3_finalize
	.p2align	4, 0x90
_sqlite3_finalize:                      ## @sqlite3_finalize
	.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
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	movq	%rdi, %rbx
	movq	(%rdi), %r14
	callq	_vdbeSafety
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	_SQLITE_MISUSE_BKPT@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_1:
	movq	_SQLITE_OK@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %eax
	jmp	LBB0_6
LBB0_3:
	movl	(%r14), %edi
	callq	_sqlite3_mutex_enter
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_checkProfileCallback
	movq	%rbx, %rdi
	callq	_sqlite3VdbeFinalize
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_sqlite3ApiExit
	movl	%eax, %ebx
	movq	%r14, %rdi
	callq	_sqlite3LeaveMutexAndCloseZombie
	movl	%ebx, %eax
LBB0_6:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SQLITE_OK,4,2                  ## @SQLITE_OK
	.comm	_SQLITE_MISUSE_BKPT,4,2         ## @SQLITE_MISUSE_BKPT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sqlite3_finalize               ; -- Begin function sqlite3_finalize
	.p2align	2
_sqlite3_finalize:                      ; @sqlite3_finalize
	.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
	cbz	x0, LBB0_3
; %bb.1:
	mov	x20, x0
	ldr	x19, [x0]
	bl	_vdbeSafety
	cbz	x0, LBB0_5
; %bb.2:
Lloh0:
	adrp	x8, _SQLITE_MISUSE_BKPT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SQLITE_MISUSE_BKPT@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:
Lloh2:
	adrp	x8, _SQLITE_OK@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SQLITE_OK@GOTPAGEOFF]
LBB0_4:
	ldr	w0, [x8]
	b	LBB0_6
LBB0_5:
	ldr	w0, [x19]
	bl	_sqlite3_mutex_enter
	mov	x0, x19
	mov	x1, x20
	bl	_checkProfileCallback
	mov	x0, x20
	bl	_sqlite3VdbeFinalize
	mov	x1, x0
	mov	x0, x19
	bl	_sqlite3ApiExit
	mov	x20, x0
	mov	x0, x19
	bl	_sqlite3LeaveMutexAndCloseZombie
	mov	x0, x20
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_SQLITE_OK,4,2                  ; @SQLITE_OK
	.comm	_SQLITE_MISUSE_BKPT,4,2         ; @SQLITE_MISUSE_BKPT
.subsections_via_symbols
