	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fkLookupParent
_fkLookupParent:                        ## @fkLookupParent
	.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	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -104(%rbp)                 ## 8-byte Spill
	movq	%r8, %r13
	movq	%rcx, -128(%rbp)                ## 8-byte Spill
	movq	%rdx, -120(%rbp)                ## 8-byte Spill
	movl	%esi, -56(%rbp)                 ## 4-byte Spill
	movq	%rdi, %rbx
	movl	32(%rbp), %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movl	24(%rbp), %r15d
	movl	16(%rbp), %eax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	callq	_sqlite3GetVdbe
	movq	%rax, %r14
	movq	%rbx, -88(%rbp)                 ## 8-byte Spill
	movl	(%rbx), %r12d
	movq	%rax, %rdi
	callq	_sqlite3VdbeMakeLabel
	movl	%eax, %ebx
	testl	%r15d, %r15d
	jns	LBB0_2
## %bb.1:
	movq	_OP_FkIfZero@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r13), %edx
	movq	%r14, %rdi
	movl	%ebx, %ecx
	callq	_sqlite3VdbeAddOp2
LBB0_2:
	movq	%r13, -96(%rbp)                 ## 8-byte Spill
	movl	4(%r13), %esi
	testl	%esi, %esi
	movl	%r15d, -48(%rbp)                ## 4-byte Spill
	jle	LBB0_6
## %bb.3:
	movl	%r12d, -64(%rbp)                ## 4-byte Spill
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	leal	1(%rax), %r12d
	xorl	%ebx, %ebx
	movq	-96(%rbp), %r13                 ## 8-byte Reload
	movq	-104(%rbp), %r15                ## 8-byte Reload
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r15,%rbx,4), %edx
	addl	%r12d, %edx
	movq	_OP_IsNull@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	callq	_sqlite3VdbeAddOp2
	incq	%rbx
	movslq	4(%r13), %rsi
	cmpq	%rsi, %rbx
	jl	LBB0_4
## %bb.5:
	movl	-64(%rbp), %r12d                ## 4-byte Reload
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	movl	-48(%rbp), %r15d                ## 4-byte Reload
LBB0_6:
	decl	%r12d
	cmpl	$0, -52(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_22
## %bb.7:
	movq	-128(%rbp), %r15                ## 8-byte Reload
	testq	%r15, %r15
	je	LBB0_8
## %bb.12:
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movq	%rsi, %r13
	callq	_sqlite3GetTempRange
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	movq	%rbx, %rdi
	callq	_sqlite3GetTempReg
	movl	%eax, -108(%rbp)                ## 4-byte Spill
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_sqlite3IndexKeyinfo
	movq	%rax, %rbx
	movq	_OP_OpenRead@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r15), %ecx
	movq	%r14, %rdi
	movl	%r12d, -64(%rbp)                ## 4-byte Spill
	movl	%r12d, %edx
	movl	-56(%rbp), %r8d                 ## 4-byte Reload
	callq	_sqlite3VdbeAddOp3
	movq	_P4_KEYINFO_HANDOFF@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	movl	$-1, %esi
	movq	%rbx, %rdx
	callq	_sqlite3VdbeChangeP4
	movq	%r13, -80(%rbp)                 ## 8-byte Spill
	testl	%r13d, %r13d
	movq	%r14, %r13
	movq	-104(%rbp), %r14                ## 8-byte Reload
	jle	LBB0_15
## %bb.13:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	incl	%eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movl	-80(%rbp), %r12d                ## 4-byte Reload
	movl	-60(%rbp), %ebx                 ## 4-byte Reload
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movq	_OP_Copy@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r14,%r15,4), %edx
	addl	-52(%rbp), %edx                 ## 4-byte Folded Reload
	leal	(%rbx,%r15), %ecx
	movq	%r13, %rdi
	callq	_sqlite3VdbeAddOp2
	incq	%r15
	cmpq	%r15, %r12
	jne	LBB0_14
LBB0_15:
	movl	-48(%rbp), %r15d                ## 4-byte Reload
	cmpl	$1, %r15d
	movq	%r13, %r14
	movq	-120(%rbp), %rcx                ## 8-byte Reload
	jne	LBB0_21
## %bb.16:
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	cmpq	%rcx, 8(%rax)
	jne	LBB0_21
## %bb.17:
	movq	%r14, %rdi
	callq	_sqlite3VdbeCurrentAddr
                                        ## kill: def $eax killed $eax def $rax
	cmpl	$0, -80(%rbp)                   ## 4-byte Folded Reload
	movq	%r14, %r15
	movq	-128(%rbp), %r13                ## 8-byte Reload
	movq	-104(%rbp), %rsi                ## 8-byte Reload
	jle	LBB0_20
## %bb.18:
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	addl	%ecx, %eax
	incl	%eax
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	incl	%eax
	movq	%rax, -144(%rbp)                ## 8-byte Spill
	movl	%ecx, %eax
	movq	%rax, -136(%rbp)                ## 8-byte Spill
	xorl	%ebx, %ebx
	movq	-120(%rbp), %r14                ## 8-byte Reload
	.p2align	4, 0x90
LBB0_19:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rsi,%rbx,4), %eax
	movq	-144(%rbp), %rcx                ## 8-byte Reload
	addl	%eax, %ecx
	movl	%ecx, -52(%rbp)                 ## 4-byte Spill
	movq	8(%r13), %rcx
	movl	(%rcx,%rbx,4), %r12d
	incl	%r12d
	xorl	%edi, %edi
	cmpl	(%r14), %eax
	setne	%dil
	callq	_assert
	movq	8(%r13), %rax
	movl	(%rax,%rbx,4), %eax
	cmpl	(%r14), %eax
	movl	$0, %eax
	cmovel	%eax, %r12d
	addl	-72(%rbp), %r12d                ## 4-byte Folded Reload
	movq	_OP_Ne@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	movl	-56(%rbp), %ecx                 ## 4-byte Reload
	movl	%r12d, %r8d
	callq	_sqlite3VdbeAddOp3
	movq	_SQLITE_JUMPIFNULL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_sqlite3VdbeChangeP5
	movq	-104(%rbp), %rsi                ## 8-byte Reload
	incq	%rbx
	cmpq	%rbx, -136(%rbp)                ## 8-byte Folded Reload
	jne	LBB0_19
LBB0_20:
	movq	_OP_Goto@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	xorl	%edx, %edx
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	callq	_sqlite3VdbeAddOp2
	movq	%r15, %r14
	movl	-48(%rbp), %r15d                ## 4-byte Reload
LBB0_21:
	movq	_OP_MakeRecord@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	-60(%rbp), %edx                 ## 4-byte Reload
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
                                        ## kill: def $ecx killed $ecx killed $rcx
	movl	-108(%rbp), %ebx                ## 4-byte Reload
	movl	%ebx, %r8d
	callq	_sqlite3VdbeAddOp3
	movq	%r14, %rdi
	movq	-128(%rbp), %rsi                ## 8-byte Reload
	callq	_sqlite3IndexAffinityStr
	movq	_P4_TRANSIENT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	%r14, %rdi
	movl	$-1, %esi
	movq	%rax, %rdx
	callq	_sqlite3VdbeChangeP4
	movq	_OP_Found@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	-64(%rbp), %r12d                ## 4-byte Reload
	movl	%r12d, %edx
	movl	-44(%rbp), %r13d                ## 4-byte Reload
	movl	%r13d, %ecx
	movl	%ebx, %r8d
	xorl	%r9d, %r9d
	callq	_sqlite3VdbeAddOp4Int
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movl	-108(%rbp), %esi                ## 4-byte Reload
	callq	_sqlite3ReleaseTempReg
	movq	%rbx, %rdi
	movl	%r13d, %ebx
	movl	-60(%rbp), %esi                 ## 4-byte Reload
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_sqlite3ReleaseTempRange
	jmp	LBB0_22
LBB0_8:
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	callq	_sqlite3GetTempReg
	movl	%eax, %r13d
	movq	_OP_SCopy@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-104(%rbp), %rax                ## 8-byte Reload
	movl	(%rax), %eax
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	leal	(%rcx,%rax), %edx
	incl	%edx
	movq	%r14, %rdi
	movl	%r13d, %ecx
	callq	_sqlite3VdbeAddOp2
	movq	_OP_MustBeInt@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	%r13d, %edx
	xorl	%ecx, %ecx
	callq	_sqlite3VdbeAddOp2
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	cmpl	$1, -48(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_11
## %bb.9:
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movq	-120(%rbp), %rcx                ## 8-byte Reload
	cmpq	%rcx, 8(%rax)
	jne	LBB0_11
## %bb.10:
	movq	_OP_Eq@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	movl	%ebx, %ecx
	movl	%r13d, %r8d
	callq	_sqlite3VdbeAddOp3
LBB0_11:
	movq	_OP_OpenRead@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	-88(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdi
	movl	%r12d, %esi
	movl	-56(%rbp), %edx                 ## 4-byte Reload
	movq	-120(%rbp), %rcx                ## 8-byte Reload
	callq	_sqlite3OpenTable
	movq	_OP_NotExists@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	%r12d, %edx
	xorl	%ecx, %ecx
	movl	%r13d, %r8d
	callq	_sqlite3VdbeAddOp3
	movq	_OP_Goto@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	movl	%ebx, %ecx
	callq	_sqlite3VdbeAddOp2
	movq	%r14, %rdi
	callq	_sqlite3VdbeCurrentAddr
                                        ## kill: def $eax killed $eax def $rax
	leal	-2(%rax), %esi
	movq	%r14, %rdi
	callq	_sqlite3VdbeJumpHere
	movq	%r14, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	_sqlite3VdbeJumpHere
	movq	%r15, %rdi
	movl	%r13d, %esi
	callq	_sqlite3ReleaseTempReg
	movl	-48(%rbp), %r15d                ## 4-byte Reload
LBB0_22:
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edx
	testl	%edx, %edx
	jne	LBB0_29
## %bb.23:
	movq	-88(%rbp), %r13                 ## 8-byte Reload
	cmpl	$0, 8(%r13)
	jne	LBB0_26
## %bb.24:
	cmpl	$0, 4(%r13)
	je	LBB0_25
LBB0_26:
	testl	%r15d, %r15d
	jle	LBB0_27
## %bb.28:
	movq	%r13, %rdi
	callq	_sqlite3ParseToplevel
	movl	$1, (%rax)
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edx
	jmp	LBB0_29
LBB0_27:
	xorl	%edx, %edx
LBB0_29:
	movq	_OP_FkCounter@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	%r15d, %ecx
	callq	_sqlite3VdbeAddOp2
LBB0_30:
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_sqlite3VdbeResolveLabel
	movq	_OP_Close@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	%r12d, %edx
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_sqlite3VdbeAddOp1              ## TAILCALL
LBB0_25:
	xorl	%edi, %edi
	cmpl	$1, %r15d
	sete	%dil
	callq	_assert
	movq	_SQLITE_CONSTRAINT_FOREIGNKEY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_OE_Abort@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_P4_STATIC@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	leaq	L_.str(%rip), %rcx
	movq	%r13, %rdi
	callq	_sqlite3HaltConstraint
	jmp	LBB0_30
	.cfi_endproc
                                        ## -- End function
	.comm	_OP_FkIfZero,4,2                ## @OP_FkIfZero
	.comm	_OP_IsNull,4,2                  ## @OP_IsNull
	.comm	_OP_SCopy,4,2                   ## @OP_SCopy
	.comm	_OP_MustBeInt,4,2               ## @OP_MustBeInt
	.comm	_OP_Eq,4,2                      ## @OP_Eq
	.comm	_OP_OpenRead,4,2                ## @OP_OpenRead
	.comm	_OP_NotExists,4,2               ## @OP_NotExists
	.comm	_OP_Goto,4,2                    ## @OP_Goto
	.comm	_P4_KEYINFO_HANDOFF,4,2         ## @P4_KEYINFO_HANDOFF
	.comm	_OP_Copy,4,2                    ## @OP_Copy
	.comm	_OP_Ne,4,2                      ## @OP_Ne
	.comm	_SQLITE_JUMPIFNULL,4,2          ## @SQLITE_JUMPIFNULL
	.comm	_OP_MakeRecord,4,2              ## @OP_MakeRecord
	.comm	_P4_TRANSIENT,4,2               ## @P4_TRANSIENT
	.comm	_OP_Found,4,2                   ## @OP_Found
	.comm	_SQLITE_CONSTRAINT_FOREIGNKEY,4,2 ## @SQLITE_CONSTRAINT_FOREIGNKEY
	.comm	_OE_Abort,4,2                   ## @OE_Abort
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"foreign key constraint failed"

	.comm	_P4_STATIC,4,2                  ## @P4_STATIC
	.comm	_OP_FkCounter,4,2               ## @OP_FkCounter
	.comm	_OP_Close,4,2                   ## @OP_Close
	.no_dead_strip	_fkLookupParent
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fkLookupParent
_fkLookupParent:                        ; @fkLookupParent
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x28, x27, [sp, #80]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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, x7
	mov	x26, x6
	mov	x28, x5
	mov	x24, x4
	mov	x27, x3
	str	x2, [sp, #24]                   ; 8-byte Folded Spill
	str	w1, [sp, #72]                   ; 4-byte Folded Spill
	mov	x25, x0
	ldr	w8, [x29, #16]
	str	w8, [sp, #76]                   ; 4-byte Folded Spill
	bl	_sqlite3GetVdbe
	mov	x19, x0
	ldr	w22, [x25]
	bl	_sqlite3VdbeMakeLabel
	mov	x20, x0
	tbz	w21, #31, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _OP_FkIfZero@GOTPAGE
Lloh1:
	ldr	x8, [x8, _OP_FkIfZero@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	ldr	w2, [x24]
	mov	x0, x19
	mov	x3, x20
	bl	_sqlite3VdbeAddOp2
LBB0_2:
	sub	w23, w22, #1
	ldr	w22, [x24, #4]
	cmp	w22, #1
	str	w21, [sp, #52]                  ; 4-byte Folded Spill
	b.lt	LBB0_6
; %bb.3:
	stp	x25, x27, [sp, #32]             ; 16-byte Folded Spill
	mov	x27, x23
	mov	x23, #0
	mov	x21, x26
	add	w25, w26, #1
Lloh3:
	adrp	x26, _OP_IsNull@GOTPAGE
Lloh4:
	ldr	x26, [x26, _OP_IsNull@GOTPAGEOFF]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x28, x23, lsl #2]
	add	w2, w25, w8
	ldr	w1, [x26]
	mov	x0, x19
	mov	x3, x20
	bl	_sqlite3VdbeAddOp2
	add	x23, x23, #1
	ldrsw	x22, [x24, #4]
	cmp	x23, x22
	b.lt	LBB0_4
; %bb.5:
	mov	x23, x27
	ldp	x25, x27, [sp, #32]             ; 16-byte Folded Reload
	mov	x26, x21
	ldr	w21, [sp, #52]                  ; 4-byte Folded Reload
LBB0_6:
	ldr	w8, [sp, #76]                   ; 4-byte Folded Reload
	cbnz	w8, LBB0_18
; %bb.7:
	cbz	x27, LBB0_23
; %bb.8:
	str	w26, [sp, #76]                  ; 4-byte Folded Spill
	mov	x0, x25
	mov	x1, x22
	bl	_sqlite3GetTempRange
	str	w0, [sp, #20]                   ; 4-byte Folded Spill
	mov	x0, x25
	bl	_sqlite3GetTempReg
	str	w0, [sp, #12]                   ; 4-byte Folded Spill
	str	x25, [sp, #32]                  ; 8-byte Folded Spill
	mov	x0, x25
	mov	x1, x27
	bl	_sqlite3IndexKeyinfo
	mov	x21, x0
Lloh5:
	adrp	x8, _OP_OpenRead@GOTPAGE
Lloh6:
	ldr	x8, [x8, _OP_OpenRead@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	str	x27, [sp, #40]                  ; 8-byte Folded Spill
	ldr	w3, [x27]
	mov	x0, x19
	str	w23, [sp, #16]                  ; 4-byte Folded Spill
	mov	x2, x23
	ldr	w4, [sp, #72]                   ; 4-byte Folded Reload
	bl	_sqlite3VdbeAddOp3
Lloh8:
	adrp	x8, _P4_KEYINFO_HANDOFF@GOTPAGE
Lloh9:
	ldr	x8, [x8, _P4_KEYINFO_HANDOFF@GOTPAGEOFF]
Lloh10:
	ldr	w3, [x8]
	mov	x0, x19
	mov	w1, #-1
	mov	x2, x21
	bl	_sqlite3VdbeChangeP4
	cmp	w22, #1
	b.lt	LBB0_11
; %bb.9:
	ldr	w8, [sp, #76]                   ; 4-byte Folded Reload
	add	w23, w8, #1
Lloh11:
	adrp	x25, _OP_Copy@GOTPAGE
Lloh12:
	ldr	x25, [x25, _OP_Copy@GOTPAGEOFF]
	mov	x26, x28
	ldr	w21, [sp, #20]                  ; 4-byte Folded Reload
	mov	w27, w22
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x25]
	ldr	w8, [x26], #4
	add	w2, w23, w8
	mov	x0, x19
	mov	x3, x21
	bl	_sqlite3VdbeAddOp2
	add	w21, w21, #1
	subs	x27, x27, #1
	b.ne	LBB0_10
LBB0_11:
	ldr	w27, [sp, #52]                  ; 4-byte Folded Reload
	cmp	w27, #1
	b.ne	LBB0_17
; %bb.12:
	ldr	x8, [x24, #8]
	ldr	x9, [sp, #24]                   ; 8-byte Folded Reload
	cmp	x8, x9
	b.ne	LBB0_17
; %bb.13:
	mov	x0, x19
	bl	_sqlite3VdbeCurrentAddr
	cmp	w22, #1
	ldr	x25, [sp, #24]                  ; 8-byte Folded Reload
	ldr	x27, [sp, #40]                  ; 8-byte Folded Reload
	b.lt	LBB0_16
; %bb.14:
	mov	x26, #0
	add	w8, w22, w0
	add	w9, w8, #1
	ldr	w8, [sp, #76]                   ; 4-byte Folded Reload
	add	w8, w8, #1
	stp	w8, w9, [sp, #68]               ; 8-byte Folded Spill
	mov	w8, w22
	lsl	x8, x8, #2
	str	x8, [sp, #56]                   ; 8-byte Folded Spill
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x28, x26]
	ldr	w9, [sp, #68]                   ; 4-byte Folded Reload
	add	w23, w9, w8
	ldr	x9, [x27, #8]
	ldr	w21, [x9, x26]
	ldr	w9, [x25]
	cmp	w8, w9
	cset	w0, ne
	bl	_assert
	ldr	x8, [x27, #8]
	ldr	w8, [x8, x26]
	ldr	w9, [x25]
	cmp	w8, w9
	csinc	w8, wzr, w21, eq
	ldp	w3, w9, [sp, #72]               ; 8-byte Folded Reload
	add	w4, w8, w9
Lloh13:
	adrp	x8, _OP_Ne@GOTPAGE
Lloh14:
	ldr	x8, [x8, _OP_Ne@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x23
	bl	_sqlite3VdbeAddOp3
Lloh16:
	adrp	x8, _SQLITE_JUMPIFNULL@GOTPAGE
Lloh17:
	ldr	x8, [x8, _SQLITE_JUMPIFNULL@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_sqlite3VdbeChangeP5
	add	x26, x26, #4
	ldr	x8, [sp, #56]                   ; 8-byte Folded Reload
	cmp	x8, x26
	b.ne	LBB0_15
LBB0_16:
Lloh19:
	adrp	x8, _OP_Goto@GOTPAGE
Lloh20:
	ldr	x8, [x8, _OP_Goto@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	mov	x3, x20
	bl	_sqlite3VdbeAddOp2
	ldr	w27, [sp, #52]                  ; 4-byte Folded Reload
LBB0_17:
Lloh22:
	adrp	x8, _OP_MakeRecord@GOTPAGE
Lloh23:
	ldr	x8, [x8, _OP_MakeRecord@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
	mov	x0, x19
	ldr	w21, [sp, #20]                  ; 4-byte Folded Reload
	mov	x2, x21
	mov	x3, x22
	ldr	w26, [sp, #12]                  ; 4-byte Folded Reload
	mov	x4, x26
	bl	_sqlite3VdbeAddOp3
	mov	x0, x19
	ldr	x1, [sp, #40]                   ; 8-byte Folded Reload
	bl	_sqlite3IndexAffinityStr
	mov	x2, x0
Lloh25:
	adrp	x8, _P4_TRANSIENT@GOTPAGE
Lloh26:
	ldr	x8, [x8, _P4_TRANSIENT@GOTPAGEOFF]
Lloh27:
	ldr	w3, [x8]
	mov	x0, x19
	mov	w1, #-1
	bl	_sqlite3VdbeChangeP4
Lloh28:
	adrp	x8, _OP_Found@GOTPAGE
Lloh29:
	ldr	x8, [x8, _OP_Found@GOTPAGEOFF]
Lloh30:
	ldr	w1, [x8]
	mov	x0, x19
	ldr	w23, [sp, #16]                  ; 4-byte Folded Reload
	mov	x2, x23
	mov	x3, x20
	mov	x4, x26
	mov	w5, #0
	bl	_sqlite3VdbeAddOp4Int
	ldr	x25, [sp, #32]                  ; 8-byte Folded Reload
	mov	x0, x25
	mov	x1, x26
	bl	_sqlite3ReleaseTempReg
	mov	x0, x25
	mov	x1, x21
	mov	x21, x27
	mov	x2, x22
	bl	_sqlite3ReleaseTempRange
LBB0_18:
	ldr	w2, [x24]
	cbnz	w2, LBB0_28
LBB0_19:
	ldr	w8, [x25, #8]
	cbnz	w8, LBB0_21
; %bb.20:
	ldr	w8, [x25, #4]
	cbz	w8, LBB0_30
LBB0_21:
	cmp	w21, #1
	b.lt	LBB0_27
; %bb.22:
	mov	x0, x25
	bl	_sqlite3ParseToplevel
	mov	w8, #1
	str	w8, [x0]
	ldr	w2, [x24]
	b	LBB0_28
LBB0_23:
	mov	x0, x25
	bl	_sqlite3GetTempReg
	mov	x22, x0
Lloh31:
	adrp	x8, _OP_SCopy@GOTPAGE
Lloh32:
	ldr	x8, [x8, _OP_SCopy@GOTPAGEOFF]
Lloh33:
	ldr	w1, [x8]
	ldr	w8, [x28]
	add	w8, w26, w8
	add	w2, w8, #1
	mov	x0, x19
	mov	x3, x22
	bl	_sqlite3VdbeAddOp2
Lloh34:
	adrp	x8, _OP_MustBeInt@GOTPAGE
Lloh35:
	ldr	x8, [x8, _OP_MustBeInt@GOTPAGEOFF]
Lloh36:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x22
	mov	w3, #0
	bl	_sqlite3VdbeAddOp2
	mov	x27, x0
	ldr	w8, [sp, #52]                   ; 4-byte Folded Reload
	cmp	w8, #1
	ldr	x21, [sp, #24]                  ; 8-byte Folded Reload
	b.ne	LBB0_26
; %bb.24:
	ldr	x8, [x24, #8]
	cmp	x8, x21
	b.ne	LBB0_26
; %bb.25:
Lloh37:
	adrp	x8, _OP_Eq@GOTPAGE
Lloh38:
	ldr	x8, [x8, _OP_Eq@GOTPAGEOFF]
Lloh39:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x26
	mov	x3, x20
	mov	x4, x22
	bl	_sqlite3VdbeAddOp3
LBB0_26:
Lloh40:
	adrp	x8, _OP_OpenRead@GOTPAGE
Lloh41:
	ldr	x8, [x8, _OP_OpenRead@GOTPAGEOFF]
Lloh42:
	ldr	w4, [x8]
	mov	x0, x25
	mov	x1, x23
	ldr	w2, [sp, #72]                   ; 4-byte Folded Reload
	mov	x3, x21
	bl	_sqlite3OpenTable
Lloh43:
	adrp	x8, _OP_NotExists@GOTPAGE
Lloh44:
	ldr	x8, [x8, _OP_NotExists@GOTPAGEOFF]
Lloh45:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x23
	mov	w3, #0
	mov	x4, x22
	bl	_sqlite3VdbeAddOp3
Lloh46:
	adrp	x8, _OP_Goto@GOTPAGE
Lloh47:
	ldr	x8, [x8, _OP_Goto@GOTPAGEOFF]
Lloh48:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	mov	x3, x20
	bl	_sqlite3VdbeAddOp2
	mov	x0, x19
	bl	_sqlite3VdbeCurrentAddr
	sub	w1, w0, #2
	mov	x0, x19
	bl	_sqlite3VdbeJumpHere
	mov	x0, x19
	mov	x1, x27
	bl	_sqlite3VdbeJumpHere
	mov	x0, x25
	mov	x1, x22
	bl	_sqlite3ReleaseTempReg
	ldr	w21, [sp, #52]                  ; 4-byte Folded Reload
	ldr	w2, [x24]
	cbnz	w2, LBB0_28
	b	LBB0_19
LBB0_27:
	mov	w2, #0
LBB0_28:
Lloh49:
	adrp	x8, _OP_FkCounter@GOTPAGE
Lloh50:
	ldr	x8, [x8, _OP_FkCounter@GOTPAGEOFF]
Lloh51:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x3, x21
	bl	_sqlite3VdbeAddOp2
LBB0_29:
	mov	x0, x19
	mov	x1, x20
	bl	_sqlite3VdbeResolveLabel
Lloh52:
	adrp	x8, _OP_Close@GOTPAGE
Lloh53:
	ldr	x8, [x8, _OP_Close@GOTPAGEOFF]
Lloh54:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x23
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #176
	b	_sqlite3VdbeAddOp1
LBB0_30:
	cmp	w21, #1
	cset	w0, eq
	bl	_assert
Lloh55:
	adrp	x8, _SQLITE_CONSTRAINT_FOREIGNKEY@GOTPAGE
Lloh56:
	ldr	x8, [x8, _SQLITE_CONSTRAINT_FOREIGNKEY@GOTPAGEOFF]
Lloh57:
	ldr	w1, [x8]
Lloh58:
	adrp	x8, _OE_Abort@GOTPAGE
Lloh59:
	ldr	x8, [x8, _OE_Abort@GOTPAGEOFF]
Lloh60:
	ldr	w2, [x8]
Lloh61:
	adrp	x8, _P4_STATIC@GOTPAGE
Lloh62:
	ldr	x8, [x8, _P4_STATIC@GOTPAGEOFF]
Lloh63:
	ldr	w4, [x8]
Lloh64:
	adrp	x3, l_.str@PAGE
Lloh65:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x25
	bl	_sqlite3HaltConstraint
	b	LBB0_29
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpAdd	Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.cfi_endproc
                                        ; -- End function
	.comm	_OP_FkIfZero,4,2                ; @OP_FkIfZero
	.comm	_OP_IsNull,4,2                  ; @OP_IsNull
	.comm	_OP_SCopy,4,2                   ; @OP_SCopy
	.comm	_OP_MustBeInt,4,2               ; @OP_MustBeInt
	.comm	_OP_Eq,4,2                      ; @OP_Eq
	.comm	_OP_OpenRead,4,2                ; @OP_OpenRead
	.comm	_OP_NotExists,4,2               ; @OP_NotExists
	.comm	_OP_Goto,4,2                    ; @OP_Goto
	.comm	_P4_KEYINFO_HANDOFF,4,2         ; @P4_KEYINFO_HANDOFF
	.comm	_OP_Copy,4,2                    ; @OP_Copy
	.comm	_OP_Ne,4,2                      ; @OP_Ne
	.comm	_SQLITE_JUMPIFNULL,4,2          ; @SQLITE_JUMPIFNULL
	.comm	_OP_MakeRecord,4,2              ; @OP_MakeRecord
	.comm	_P4_TRANSIENT,4,2               ; @P4_TRANSIENT
	.comm	_OP_Found,4,2                   ; @OP_Found
	.comm	_SQLITE_CONSTRAINT_FOREIGNKEY,4,2 ; @SQLITE_CONSTRAINT_FOREIGNKEY
	.comm	_OE_Abort,4,2                   ; @OE_Abort
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"foreign key constraint failed"

	.comm	_P4_STATIC,4,2                  ; @P4_STATIC
	.comm	_OP_FkCounter,4,2               ; @OP_FkCounter
	.comm	_OP_Close,4,2                   ; @OP_Close
	.no_dead_strip	_fkLookupParent
.subsections_via_symbols
