	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sqlite3_step                   ## -- Begin function sqlite3_step
	.p2align	4, 0x90
_sqlite3_step:                          ## @sqlite3_step
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	callq	_vdbeSafetyNotNull
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_SQLITE_MISUSE_BKPT@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_15
LBB0_2:
	movq	32(%r15), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	(%rax), %edi
	callq	_sqlite3_mutex_enter
	movl	$0, (%r15)
	movq	%r15, %rdi
	callq	_sqlite3Step
	movl	%eax, %ebx
	movq	_SQLITE_SCHEMA@GOTPCREL(%rip), %r12
	cmpl	(%r12), %eax
	jne	LBB0_14
## %bb.3:
	movq	_SQLITE_MAX_SCHEMA_RETRY@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_14
## %bb.4:
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	4(%r15), %r13d
	movq	%r15, %rdi
	callq	_sqlite3Reprepare
	movl	%eax, %ebx
	movq	_SQLITE_OK@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jne	LBB0_7
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	%r15, %rdi
	callq	_sqlite3_reset
	testl	%r13d, %r13d
	js	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_6 Depth=1
	movl	$1, (%r15)
LBB0_11:                                ##   in Loop: Header=BB0_6 Depth=1
	xorl	%edi, %edi
	cmpq	$0, 16(%r15)
	sete	%dil
	callq	_assert
	movq	%r15, %rdi
	callq	_sqlite3Step
	movl	%eax, %ebx
	cmpl	(%r12), %eax
	jne	LBB0_14
## %bb.5:                               ##   in Loop: Header=BB0_6 Depth=1
	incl	%r14d
	movq	_SQLITE_MAX_SCHEMA_RETRY@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r14d
	jl	LBB0_6
	jmp	LBB0_14
LBB0_7:
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movl	8(%r14), %edi
	callq	_sqlite3_value_text
	movq	%rax, %r12
	movl	24(%r15), %esi
	movq	%r14, %rdi
	callq	_sqlite3DbFree
	cmpl	$0, 4(%r14)
	je	LBB0_8
## %bb.12:
	movl	$0, 24(%r15)
	movq	_SQLITE_NOMEM_BKPT@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_13
LBB0_8:
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_sqlite3DbStrDup
	movl	%eax, 24(%r15)
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_sqlite3ApiExit
	movl	%eax, %ebx
LBB0_13:
	movl	%ebx, 8(%r15)
LBB0_14:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	callq	_sqlite3_mutex_leave
LBB0_15:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SQLITE_OK,4,2                  ## @SQLITE_OK
	.comm	_SQLITE_MISUSE_BKPT,4,2         ## @SQLITE_MISUSE_BKPT
	.comm	_SQLITE_SCHEMA,4,2              ## @SQLITE_SCHEMA
	.comm	_SQLITE_MAX_SCHEMA_RETRY,4,2    ## @SQLITE_MAX_SCHEMA_RETRY
	.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_step                   ; -- Begin function sqlite3_step
	.p2align	2
_sqlite3_step:                          ; @sqlite3_step
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x0
	bl	_vdbeSafetyNotNull
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _SQLITE_MISUSE_BKPT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SQLITE_MISUSE_BKPT@GOTPAGEOFF]
Lloh2:
	ldr	w21, [x8]
	b	LBB0_15
LBB0_2:
	ldr	x19, [x20, #32]
	ldr	w0, [x19]
	bl	_sqlite3_mutex_enter
	str	wzr, [x20]
	mov	x0, x20
	bl	_sqlite3Step
	mov	x21, x0
Lloh3:
	adrp	x22, _SQLITE_SCHEMA@GOTPAGE
Lloh4:
	ldr	x22, [x22, _SQLITE_SCHEMA@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w0, w8
	b.ne	LBB0_14
; %bb.3:
Lloh5:
	adrp	x23, _SQLITE_MAX_SCHEMA_RETRY@GOTPAGE
Lloh6:
	ldr	x23, [x23, _SQLITE_MAX_SCHEMA_RETRY@GOTPAGEOFF]
	ldr	w8, [x23]
	cmp	w8, #1
	b.lt	LBB0_14
; %bb.4:
	mov	w24, #0
Lloh7:
	adrp	x25, _SQLITE_OK@GOTPAGE
Lloh8:
	ldr	x25, [x25, _SQLITE_OK@GOTPAGEOFF]
	mov	w26, #1
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w27, [x20, #4]
	mov	x0, x20
	bl	_sqlite3Reprepare
	ldr	w8, [x25]
	cmp	w0, w8
	b.ne	LBB0_10
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x20
	bl	_sqlite3_reset
	tbnz	w27, #31, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	str	w26, [x20]
LBB0_8:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x20, #16]
	cmp	x8, #0
	cset	w0, eq
	bl	_assert
	mov	x0, x20
	bl	_sqlite3Step
	mov	x21, x0
	ldr	w8, [x22]
	cmp	w0, w8
	b.ne	LBB0_14
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x23]
	add	w24, w24, #1
	cmp	w24, w8
	b.lt	LBB0_5
	b	LBB0_14
LBB0_10:
	mov	x21, x0
	ldr	w0, [x19, #8]
	bl	_sqlite3_value_text
	mov	x22, x0
	ldr	w1, [x20, #24]
	mov	x0, x19
	bl	_sqlite3DbFree
	ldr	w8, [x19, #4]
	cbz	w8, LBB0_12
; %bb.11:
	str	wzr, [x20, #24]
Lloh9:
	adrp	x8, _SQLITE_NOMEM_BKPT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SQLITE_NOMEM_BKPT@GOTPAGEOFF]
Lloh11:
	ldr	w21, [x8]
	b	LBB0_13
LBB0_12:
	mov	x0, x19
	mov	x1, x22
	bl	_sqlite3DbStrDup
	str	w0, [x20, #24]
	mov	x0, x19
	mov	x1, x21
	bl	_sqlite3ApiExit
	mov	x21, x0
LBB0_13:
	str	w21, [x20, #8]
LBB0_14:
	ldr	w0, [x19]
	bl	_sqlite3_mutex_leave
LBB0_15:
	mov	x0, x21
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_SQLITE_OK,4,2                  ; @SQLITE_OK
	.comm	_SQLITE_MISUSE_BKPT,4,2         ; @SQLITE_MISUSE_BKPT
	.comm	_SQLITE_SCHEMA,4,2              ; @SQLITE_SCHEMA
	.comm	_SQLITE_MAX_SCHEMA_RETRY,4,2    ; @SQLITE_MAX_SCHEMA_RETRY
	.comm	_SQLITE_NOMEM_BKPT,4,2          ; @SQLITE_NOMEM_BKPT
.subsections_via_symbols
