	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function codeRowTrigger
_codeRowTrigger:                        ## @codeRowTrigger
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movq	%rdx, %rbx
	movq	%rsi, %r14
	movq	%rdi, %r15
	callq	_sqlite3ParseToplevel
	movq	%rax, %r12
	movq	96(%r15), %r13
	cmpl	$0, 16(%r14)
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	je	LBB0_2
## %bb.1:
	movq	%r14, %rdi
	callq	_tableOfTrigger
	xorl	%edi, %edi
	cmpq	%rbx, %rax
	sete	%dil
	jmp	LBB0_3
LBB0_2:
	movl	$1, %edi
LBB0_3:
	callq	_assert
	movl	(%r12), %edi
	callq	_assert
	movq	%r13, %rdi
	movl	$40, %esi
	callq	_sqlite3DbMallocZero
	testq	%rax, %rax
	je	LBB0_13
## %bb.4:
	movq	%rax, %rbx
	movq	40(%r12), %rax
	movq	%rax, 32(%rbx)
	movq	%rbx, 40(%r12)
	movq	%r13, %rdi
	movl	$24, %esi
	callq	_sqlite3DbMallocZero
	movq	%rax, 24(%rbx)
	testq	%rax, %rax
	je	LBB0_13
## %bb.5:
	movq	%r15, -80(%rbp)                 ## 8-byte Spill
	movl	(%r12), %edi
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	%rax, %rsi
	callq	_sqlite3VdbeLinkSubProgram
	movq	%r14, 16(%rbx)
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, (%rbx)
	movq	%rbx, -96(%rbp)                 ## 8-byte Spill
	movq	8(%rbx), %rax
	movq	$-1, (%rax)
	movq	%r13, %rdi
	movl	$104, %esi
	callq	_sqlite3StackAllocZero
	testq	%rax, %rax
	je	LBB0_13
## %bb.6:
	movq	%r13, %rbx
	movq	%r14, %r13
	movq	%rax, %r14
	leaq	-104(%rbp), %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	movq	%r14, -104(%rbp)
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, 96(%r14)
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, 88(%r14)
	movq	%r12, %r15
	movq	%r12, 80(%r14)
	movl	16(%r13), %eax
	movl	%eax, 72(%r14)
	movq	(%r13), %rax
	movq	%rax, 8(%r14)
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movl	68(%rcx), %eax
	movl	%eax, 68(%r14)
	movl	64(%rcx), %eax
	movl	%eax, 64(%r14)
	movq	%r14, %rdi
	callq	_sqlite3GetVdbe
	testq	%rax, %rax
	je	LBB0_24
## %bb.7:
	movq	%rax, %r12
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_onErrorText
	movslq	(%rbx), %rdi
	callq	_VdbeComment
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	movl	16(%r13), %edx
	testl	%edx, %edx
	je	LBB0_9
## %bb.8:
	leaq	L_.str.7(%rip), %rsi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_sqlite3MPrintf
	movq	_P4_DYNAMIC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	%r12, %rdi
	movl	$-1, %esi
	movl	%eax, %edx
	callq	_sqlite3VdbeChangeP4
LBB0_9:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	24(%rax), %esi
	testl	%esi, %esi
	movq	%r15, -112(%rbp)                ## 8-byte Spill
	je	LBB0_16
## %bb.10:
	movl	$0, -68(%rbp)                   ## 4-byte Folded Spill
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_sqlite3ExprDup
	movq	%rax, %rsi
	movq	_SQLITE_OK@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	leaq	-104(%rbp), %rdi
	movq	%rsi, %r15
	callq	_sqlite3ResolveExprNames
	cmpq	%rax, %r13
	jne	LBB0_17
## %bb.11:
	cmpq	$0, (%rbx)
	movq	-80(%rbp), %r13                 ## 8-byte Reload
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	jne	LBB0_18
## %bb.12:
	movq	%r14, %rdi
	callq	_sqlite3VdbeMakeLabel
	movl	%eax, %edx
	movq	_SQLITE_JUMPIFNULL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	movq	%r15, %rsi
	movl	%edx, -68(%rbp)                 ## 4-byte Spill
	callq	_sqlite3ExprIfFalse
	jmp	LBB0_18
LBB0_13:
	xorl	%eax, %eax
	jmp	LBB0_29
LBB0_16:
	movl	20(%rax), %esi
	movq	%r14, %rdi
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %edx
	callq	_codeTriggerProgram
	movq	-80(%rbp), %r13                 ## 8-byte Reload
	jmp	LBB0_20
LBB0_17:
	movq	-80(%rbp), %r13                 ## 8-byte Reload
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
LBB0_18:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	callq	_sqlite3ExprDelete
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	20(%rax), %esi
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_codeTriggerProgram
	movl	-68(%rbp), %esi                 ## 4-byte Reload
	testl	%esi, %esi
	je	LBB0_20
## %bb.19:
	movq	%r12, %rdi
	callq	_sqlite3VdbeResolveLabel
LBB0_20:
	movq	_OP_Halt@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_sqlite3VdbeAddOp0
	movl	%ebx, %edi
	callq	_onErrorText
	movslq	%eax, %rdi
	callq	_VdbeComment
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_transferParseError
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	cmpq	$0, (%rax)
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	jne	LBB0_23
## %bb.21:
	cmpq	$0, 16(%r13)
	jne	LBB0_23
## %bb.22:
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	addq	$16, %rsi
	movq	-112(%rbp), %rdx                ## 8-byte Reload
	addq	$32, %rdx
	movq	%r12, %rdi
	callq	_sqlite3VdbeTakeOpArray
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, 20(%rcx)
LBB0_23:
	movl	60(%r14), %eax
	movl	%eax, 12(%rcx)
	movl	56(%r14), %eax
	movl	%eax, 8(%rcx)
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, (%rcx)
	movl	24(%r14), %eax
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	movq	8(%rcx), %rcx
	movl	%eax, (%rcx)
	movl	28(%r14), %eax
	movl	%eax, 4(%rcx)
	movq	%r12, %rdi
	callq	_sqlite3VdbeDelete
LBB0_24:
	cmpl	$0, 52(%r14)
	movl	$0, %edi
	jne	LBB0_26
## %bb.25:
	xorl	%edi, %edi
	cmpl	$0, 48(%r14)
	sete	%dil
LBB0_26:
	callq	_assert
	xorl	%edi, %edi
	cmpq	$0, 40(%r14)
	jne	LBB0_28
## %bb.27:
	xorl	%edi, %edi
	cmpl	$0, 32(%r14)
	sete	%dil
LBB0_28:
	callq	_assert
	movq	%r14, %rdi
	callq	_sqlite3ParserReset
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rsi
	callq	_sqlite3StackFree
	movq	-96(%rbp), %rax                 ## 8-byte Reload
LBB0_29:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TRIGGER_BEFORE,8,3             ## @TRIGGER_BEFORE
	.comm	_TK_UPDATE,8,3                  ## @TK_UPDATE
	.comm	_TK_INSERT,8,3                  ## @TK_INSERT
	.comm	_TK_DELETE,8,3                  ## @TK_DELETE
	.section	__TEXT,__cstring,cstring_literals
L_.str.7:                               ## @.str.7
	.asciz	"-- TRIGGER %s"

	.comm	_P4_DYNAMIC,4,2                 ## @P4_DYNAMIC
	.comm	_SQLITE_OK,8,3                  ## @SQLITE_OK
	.comm	_SQLITE_JUMPIFNULL,4,2          ## @SQLITE_JUMPIFNULL
	.comm	_OP_Halt,4,2                    ## @OP_Halt
	.no_dead_strip	_codeRowTrigger
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function codeRowTrigger
_codeRowTrigger:                        ; @codeRowTrigger
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x25, x3
	mov	x28, x2
	mov	x21, x1
	mov	x23, x0
	bl	_sqlite3ParseToplevel
	mov	x22, x0
	ldr	x19, [x23, #96]
	ldr	w8, [x21, #16]
	cbz	w8, LBB0_2
; %bb.1:
	mov	x0, x21
	bl	_tableOfTrigger
	cmp	x0, x28
	cset	w0, eq
	b	LBB0_3
LBB0_2:
	mov	w0, #1
LBB0_3:
	bl	_assert
	ldr	w0, [x22]
	bl	_assert
	mov	x0, x19
	mov	w1, #40
	bl	_sqlite3DbMallocZero
	mov	x20, x0
	cbz	x0, LBB0_29
; %bb.4:
	ldr	x8, [x22, #40]
	str	x8, [x20, #32]
	str	x20, [x22, #40]
	mov	x0, x19
	mov	w1, #24
	bl	_sqlite3DbMallocZero
	str	x0, [x20, #24]
	cbz	x0, LBB0_13
; %bb.5:
	mov	x26, x0
	ldr	w0, [x22]
	mov	x1, x26
	bl	_sqlite3VdbeLinkSubProgram
	str	x21, [x20, #16]
	str	w25, [x20]
	ldr	x8, [x20, #8]
	movi.2d	v0, #0xffffffffffffffff
	str	d0, [x8]
	mov	x0, x19
	mov	w1, #104
	bl	_sqlite3StackAllocZero
	cbz	x0, LBB0_13
; %bb.6:
	mov	x24, x0
	add	x0, sp, #24
	mov	w1, #0
	mov	w2, #8
	bl	_memset
	str	x24, [sp, #24]
	stp	x28, x19, [x24, #88]
	str	x22, [x24, #80]
	ldr	w8, [x21, #16]
	str	w8, [x24, #72]
	ldr	x8, [x21]
	str	x8, [x24, #8]
	ldr	d0, [x23, #64]
	str	d0, [x24, #64]
	mov	x0, x24
	bl	_sqlite3GetVdbe
	cbz	x0, LBB0_22
; %bb.7:
	mov	x27, x0
	mov	x0, x25
	bl	_onErrorText
	ldrsw	x0, [x28]
	bl	_VdbeComment
	ldr	w2, [x21, #16]
	cbz	w2, LBB0_9
; %bb.8:
Lloh0:
	adrp	x1, l_.str.7@PAGE
Lloh1:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x19
	bl	_sqlite3MPrintf
	mov	x2, x0
Lloh2:
	adrp	x8, _P4_DYNAMIC@GOTPAGE
Lloh3:
	ldr	x8, [x8, _P4_DYNAMIC@GOTPAGEOFF]
Lloh4:
	ldr	w3, [x8]
	mov	x0, x27
	mov	w1, #-1
	bl	_sqlite3VdbeChangeP4
LBB0_9:
	ldr	w1, [x21, #24]
	cbz	w1, LBB0_14
; %bb.10:
	mov	x0, x19
	mov	w2, #0
	bl	_sqlite3ExprDup
	mov	x1, x0
	str	x0, [sp, #16]                   ; 8-byte Folded Spill
Lloh5:
	adrp	x8, _SQLITE_OK@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SQLITE_OK@GOTPAGEOFF]
	str	x27, [sp, #8]                   ; 8-byte Folded Spill
Lloh7:
	ldr	x27, [x8]
	add	x0, sp, #24
	bl	_sqlite3ResolveExprNames
	mov	w28, #0
	cmp	x27, x0
	ldr	x27, [sp, #8]                   ; 8-byte Folded Reload
	b.ne	LBB0_16
; %bb.11:
	ldr	x8, [x19]
	cbz	x8, LBB0_15
; %bb.12:
	mov	w28, #0
	b	LBB0_16
LBB0_13:
	mov	x20, #0
	b	LBB0_29
LBB0_14:
	ldr	w1, [x21, #20]
	mov	x0, x24
	mov	x2, x25
	bl	_codeTriggerProgram
	b	LBB0_18
LBB0_15:
	mov	x0, x24
	bl	_sqlite3VdbeMakeLabel
	mov	x28, x0
Lloh8:
	adrp	x8, _SQLITE_JUMPIFNULL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SQLITE_JUMPIFNULL@GOTPAGEOFF]
Lloh10:
	ldr	w3, [x8]
	mov	x0, x24
	ldr	x1, [sp, #16]                   ; 8-byte Folded Reload
	mov	x2, x28
	bl	_sqlite3ExprIfFalse
LBB0_16:
	mov	x0, x19
	ldr	x1, [sp, #16]                   ; 8-byte Folded Reload
	bl	_sqlite3ExprDelete
	ldr	w1, [x21, #20]
	mov	x0, x24
	mov	x2, x25
	bl	_codeTriggerProgram
	cbz	w28, LBB0_18
; %bb.17:
	mov	x0, x27
	mov	x1, x28
	bl	_sqlite3VdbeResolveLabel
LBB0_18:
Lloh11:
	adrp	x8, _OP_Halt@GOTPAGE
Lloh12:
	ldr	x8, [x8, _OP_Halt@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	mov	x0, x27
	bl	_sqlite3VdbeAddOp0
	mov	x0, x25
	bl	_onErrorText
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x0, w0
	bl	_VdbeComment
	mov	x0, x23
	mov	x1, x24
	bl	_transferParseError
	ldr	x8, [x19]
	cbnz	x8, LBB0_21
; %bb.19:
	ldr	x8, [x23, #16]
	cbnz	x8, LBB0_21
; %bb.20:
	add	x1, x26, #16
	add	x2, x22, #32
	mov	x0, x27
	bl	_sqlite3VdbeTakeOpArray
	str	w0, [x26, #20]
LBB0_21:
	ldr	d0, [x24, #56]
	str	d0, [x26, #8]
	str	x21, [x26]
	ldr	w8, [x24, #24]
	ldr	x9, [x20, #8]
	str	w8, [x9]
	ldr	w8, [x24, #28]
	str	w8, [x9, #4]
	mov	x0, x27
	bl	_sqlite3VdbeDelete
LBB0_22:
	ldr	w8, [x24, #52]
	cbz	w8, LBB0_24
; %bb.23:
	mov	w0, #0
	b	LBB0_25
LBB0_24:
	ldr	w8, [x24, #48]
	cmp	w8, #0
	cset	w0, eq
LBB0_25:
	bl	_assert
	ldr	x8, [x24, #40]
	cbz	x8, LBB0_27
; %bb.26:
	mov	w0, #0
	b	LBB0_28
LBB0_27:
	ldr	w8, [x24, #32]
	cmp	w8, #0
	cset	w0, eq
LBB0_28:
	bl	_assert
	mov	x0, x24
	bl	_sqlite3ParserReset
	mov	x0, x19
	mov	x1, x24
	bl	_sqlite3StackFree
LBB0_29:
	mov	x0, x20
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_TRIGGER_BEFORE,8,3             ; @TRIGGER_BEFORE
	.comm	_TK_UPDATE,8,3                  ; @TK_UPDATE
	.comm	_TK_INSERT,8,3                  ; @TK_INSERT
	.comm	_TK_DELETE,8,3                  ; @TK_DELETE
	.section	__TEXT,__cstring,cstring_literals
l_.str.7:                               ; @.str.7
	.asciz	"-- TRIGGER %s"

	.comm	_P4_DYNAMIC,4,2                 ; @P4_DYNAMIC
	.comm	_SQLITE_OK,8,3                  ; @SQLITE_OK
	.comm	_SQLITE_JUMPIFNULL,4,2          ; @SQLITE_JUMPIFNULL
	.comm	_OP_Halt,4,2                    ; @OP_Halt
	.no_dead_strip	_codeRowTrigger
.subsections_via_symbols
