	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function execSql
_execSql:                               ## @execSql
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	leaq	-48(%rbp), %rcx
	movq	%rdx, %rsi
	movl	$-1, %edx
	xorl	%r8d, %r8d
	callq	_sqlite3_prepare_v2
	movl	%eax, %r13d
	movq	_SQLITE_OK@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r13d
	jne	LBB0_15
## %bb.1:
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	movq	_SQLITE_ROW@GOTPCREL(%rip), %r15
	movl	(%r15), %r12d
	movq	-48(%rbp), %rdi
	callq	_sqlite3_step
	movl	%eax, %r13d
	cmpl	%eax, %r12d
	jne	LBB0_10
## %bb.2:
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	leaq	L_.str(%rip), %r12
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movq	%rbx, %rdx
	callq	_execSql
	movl	%eax, %r13d
	movq	_SQLITE_OK@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r13d
	jne	LBB0_9
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	(%r15), %ebx
	movq	-48(%rbp), %rdi
	callq	_sqlite3_step
	cmpl	%eax, %ebx
	jne	LBB0_8
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	-48(%rbp), %rdi
	xorl	%esi, %esi
	callq	_sqlite3_column_text
	movq	%rax, %rbx
	movq	%r14, %rdi
	movq	%r12, %rsi
	movl	$6, %edx
	callq	_sqlite3_strnicmp
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_assert
	testq	%rbx, %rbx
	je	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %rdi
	leaq	L_.str.1(%rip), %rsi
	movl	$3, %edx
	callq	_strncmp
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %rdi
	leaq	L_.str.2(%rip), %rsi
	movl	$3, %edx
	callq	_strncmp
	testq	%rax, %rax
	jne	LBB0_7
	jmp	LBB0_6
LBB0_8:
	movl	%eax, %r13d
LBB0_9:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
LBB0_10:
	xorl	%edi, %edi
	cmpl	(%r15), %r13d
	setne	%dil
	callq	_assert
	movq	_SQLITE_DONE@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r13d
	jne	LBB0_12
## %bb.11:
	movq	_SQLITE_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
LBB0_12:
	testl	%r13d, %r13d
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	je	LBB0_14
## %bb.13:
	movq	%rbx, %rdi
	callq	_sqlite3_errmsg
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	%eax, %edx
	callq	_sqlite3SetString
LBB0_14:
	movq	-48(%rbp), %rdi
	callq	_sqlite3_finalize
LBB0_15:
	movl	%r13d, %eax
	addq	$24, %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_ROW,4,2                 ## @SQLITE_ROW
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"SELECT"

L_.str.1:                               ## @.str.1
	.asciz	"CRE"

L_.str.2:                               ## @.str.2
	.asciz	"INS"

	.comm	_SQLITE_DONE,4,2                ## @SQLITE_DONE
	.no_dead_strip	_execSql
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function execSql
_execSql:                               ; @execSql
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x21, x2
	mov	x20, x1
	mov	x19, x0
	add	x3, sp, #8
	mov	x1, x2
	mov	w2, #-1
	mov	w4, #0
	bl	_sqlite3_prepare_v2
	mov	x22, x0
Lloh0:
	adrp	x26, _SQLITE_OK@GOTPAGE
Lloh1:
	ldr	x26, [x26, _SQLITE_OK@GOTPAGEOFF]
	ldr	w8, [x26]
	cmp	w0, w8
	b.ne	LBB0_12
; %bb.1:
Lloh2:
	adrp	x27, _SQLITE_ROW@GOTPAGE
Lloh3:
	ldr	x27, [x27, _SQLITE_ROW@GOTPAGEOFF]
	ldr	w22, [x27]
	ldr	x0, [sp, #8]
	bl	_sqlite3_step
	mov	x25, x0
	cmp	w22, w0
	b.ne	LBB0_9
; %bb.2:
Lloh4:
	adrp	x22, l_.str@PAGE
Lloh5:
	add	x22, x22, l_.str@PAGEOFF
Lloh6:
	adrp	x23, l_.str.1@PAGE
Lloh7:
	add	x23, x23, l_.str.1@PAGEOFF
Lloh8:
	adrp	x24, l_.str.2@PAGE
Lloh9:
	add	x24, x24, l_.str.2@PAGEOFF
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x19
	mov	x1, x20
	mov	x2, x25
	bl	_execSql
	ldr	w8, [x26]
	cmp	w0, w8
	b.ne	LBB0_8
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	w28, [x27]
	ldr	x0, [sp, #8]
	bl	_sqlite3_step
	cmp	w28, w0
	b.ne	LBB0_8
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [sp, #8]
	mov	w1, #0
	bl	_sqlite3_column_text
	mov	x25, x0
	mov	x0, x21
	mov	x1, x22
	mov	w2, #6
	bl	_sqlite3_strnicmp
	cmp	x0, #0
	cset	w0, eq
	bl	_assert
	cbz	x25, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x25
	mov	x1, x23
	mov	w2, #3
	bl	_strncmp
	cbz	x0, LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x25
	mov	x1, x24
	mov	w2, #3
	bl	_strncmp
	cbnz	x0, LBB0_4
	b	LBB0_3
LBB0_8:
	mov	x25, x0
LBB0_9:
	ldr	w8, [x27]
	cmp	w25, w8
	cset	w0, ne
	bl	_assert
Lloh10:
	adrp	x8, _SQLITE_DONE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _SQLITE_DONE@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	ldr	w9, [x26]
	cmp	w25, w8
	csel	w22, w9, w25, eq
	cbz	w22, LBB0_11
; %bb.10:
	mov	x0, x19
	bl	_sqlite3_errmsg
	mov	x2, x0
	mov	x0, x20
	mov	x1, x19
	bl	_sqlite3SetString
LBB0_11:
	ldr	x0, [sp, #8]
	bl	_sqlite3_finalize
LBB0_12:
	mov	x0, x22
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_SQLITE_OK,4,2                  ; @SQLITE_OK
	.comm	_SQLITE_ROW,4,2                 ; @SQLITE_ROW
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"SELECT"

l_.str.1:                               ; @.str.1
	.asciz	"CRE"

l_.str.2:                               ; @.str.2
	.asciz	"INS"

	.comm	_SQLITE_DONE,4,2                ; @SQLITE_DONE
	.no_dead_strip	_execSql
.subsections_via_symbols
