	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function idxCreateFromWhere
_idxCreateFromWhere:                    ## @idxCreateFromWhere
	.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	%rdx, %r13
	movq	%rsi, %r15
	movq	%rdi, %r12
	movq	8(%rsi), %rbx
	xorl	%r14d, %r14d
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	8(%rbx), %rbx
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	testq	%rbx, %rbx
	je	LBB0_6
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_idxFindConstraint
	testl	%eax, %eax
	jne	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_idxFindConstraint
	testl	%eax, %eax
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%r14, (%rbx)
	movq	%rbx, %r14
	jmp	LBB0_5
LBB0_6:
	movq	%r12, %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	movq	%r13, %rcx
	callq	_idxCreateFromCons
	movq	%r12, %rcx
	movl	%eax, %r12d
	testq	%r13, %r13
	je	LBB0_7
LBB0_15:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movq	_SQLITE_OK@GOTPCREL(%rip), %r13
	cmpl	(%r13), %r12d
	jne	LBB0_15
## %bb.8:
	movq	(%r15), %rbx
	testq	%rbx, %rbx
	je	LBB0_15
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	xorl	%edi, %edi
	cmpq	$0, (%rbx)
	sete	%dil
	callq	_assert
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_idxFindConstraint
	testl	%eax, %eax
	jne	LBB0_13
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	xorl	%edi, %edi
	movq	%rbx, %rsi
	callq	_idxFindConstraint
	testl	%eax, %eax
	jne	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	movq	%r14, %rdx
	movq	%rbx, %rcx
	callq	_idxCreateFromCons
	movl	%eax, %r12d
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_10 Depth=1
	cmpl	(%r13), %r12d
	jne	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	8(%rbx), %rbx
	testq	%rbx, %rbx
	jne	LBB0_10
	jmp	LBB0_15
	.cfi_endproc
                                        ## -- End function
	.comm	_SQLITE_OK,4,2                  ## @SQLITE_OK
	.no_dead_strip	_idxCreateFromWhere
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function idxCreateFromWhere
_idxCreateFromWhere:                    ; @idxCreateFromWhere
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x23, x2
	mov	x19, x1
	mov	x20, x0
	ldr	x22, [x1, #8]
	cbz	x22, LBB0_6
; %bb.1:
	mov	x21, #0
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x22, [x22, #8]
	cbz	x22, LBB0_7
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	mov	x1, x22
	bl	_idxFindConstraint
	cbnz	w0, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x23
	mov	x1, x22
	bl	_idxFindConstraint
	cbnz	w0, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	str	x21, [x22]
	mov	x21, x22
	b	LBB0_2
LBB0_6:
	mov	x21, #0
LBB0_7:
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	mov	x3, x23
	bl	_idxCreateFromCons
	mov	x22, x0
	cbz	x23, LBB0_9
LBB0_8:
	mov	x0, x22
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_9:
	ldr	x23, [x19]
Lloh0:
	adrp	x24, _SQLITE_OK@GOTPAGE
Lloh1:
	ldr	x24, [x24, _SQLITE_OK@GOTPAGEOFF]
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=1
	ldr	x23, [x23, #8]
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x24]
	cmp	w22, w8
	ccmp	x23, #0, #4, eq
	b.eq	LBB0_8
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	ldr	x8, [x23]
	cmp	x8, #0
	cset	w0, eq
	bl	_assert
	mov	x0, x21
	mov	x1, x23
	bl	_idxFindConstraint
	cbnz	w0, LBB0_10
; %bb.13:                               ;   in Loop: Header=BB0_11 Depth=1
	mov	x0, #0
	mov	x1, x23
	bl	_idxFindConstraint
	cbnz	w0, LBB0_10
; %bb.14:                               ;   in Loop: Header=BB0_11 Depth=1
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	mov	x3, x23
	bl	_idxCreateFromCons
	mov	x22, x0
	b	LBB0_10
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_SQLITE_OK,4,2                  ; @SQLITE_OK
	.no_dead_strip	_idxCreateFromWhere
.subsections_via_symbols
