	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function constructAutomaticIndex
_constructAutomaticIndex:               ## @constructAutomaticIndex
	.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	$120, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, -56(%rbp)                  ## 8-byte Spill
	movl	%ecx, -76(%rbp)                 ## 4-byte Spill
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	8(%rdi), %rax
	xorl	%edi, %edi
	movq	%rax, -128(%rbp)                ## 8-byte Spill
	testq	%rax, %rax
	setne	%dil
	callq	_assert
	movq	%rbx, -96(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_sqlite3CodeOnce
	movl	%eax, -108(%rbp)                ## 4-byte Spill
	movq	8(%r14), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	(%r15), %rax
	movq	%r15, -88(%rbp)                 ## 8-byte Spill
	movq	8(%r15), %rbx
	movq	%rax, %rcx
	shlq	$4, %rcx
	addq	%rbx, %rcx
	movq	%rcx, -104(%rbp)                ## 8-byte Spill
	testq	%rax, %rax
	jle	LBB0_1
## %bb.2:
	xorl	%r15d, %r15d
	xorl	%r13d, %r13d
	movq	%r14, -144(%rbp)                ## 8-byte Spill
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	addq	$16, %rbx
	cmpq	-104(%rbp), %rbx                ## 8-byte Folded Reload
	jae	LBB0_6
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	-76(%rbp), %edx                 ## 4-byte Reload
	callq	_termCanDriveIndex
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	%r13d, -44(%rbp)                ## 4-byte Spill
	movl	(%rbx), %r13d
	movq	_BMS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leal	-1(%rax), %ecx
	xorl	%edi, %edi
	cmpl	%eax, %r13d
	movzbl	%cl, %r12d
	cmovll	%r13d, %r12d
	sete	%dil
	movl	$1, %r14d
	movl	%r12d, %ecx
	shll	%cl, %r14d
	callq	_testcase
	movq	_BMS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	decl	%eax
	xorl	%edi, %edi
	cmpl	%eax, %r13d
	movl	-44(%rbp), %r13d                ## 4-byte Reload
	sete	%dil
	callq	_testcase
	btl	%r12d, %r13d
	movl	$0, %eax
	cmovbl	%eax, %r14d
	sbbl	$-1, %r15d
	orl	%r14d, %r13d
	movq	-144(%rbp), %r14                ## 8-byte Reload
	jmp	LBB0_5
LBB0_1:
	xorl	%r13d, %r13d
	xorl	%r15d, %r15d
LBB0_6:
	xorl	%edi, %edi
	testl	%r15d, %r15d
	setg	%dil
	callq	_assert
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	%r15d, 16(%rax)
	notl	%r13d
	movq	_BMS@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	decl	%ebx
	btsl	%ebx, %r13d
	andl	(%r14), %r13d
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	movl	(%r12), %eax
	xorl	%edi, %edi
	cmpl	%ebx, %eax
	cmovll	%eax, %ebx
	sete	%dil
	callq	_testcase
	movq	_BMS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	$-2, %eax
	xorl	%edi, %edi
	cmpl	%eax, (%r12)
	sete	%dil
	callq	_testcase
	testl	%ebx, %ebx
	jle	LBB0_7
## %bb.8:
	leal	-1(%rbx), %ecx
	movl	%ebx, %eax
	andl	$3, %eax
	cmpl	$3, %ecx
	jae	LBB0_10
## %bb.9:
	xorl	%ecx, %ecx
	jmp	LBB0_12
LBB0_7:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	jmp	LBB0_14
LBB0_10:
	movl	%ebx, %edx
	andl	$-4, %edx
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	xorl	%esi, %esi
	btl	%ecx, %r13d
	setb	%sil
	leal	1(%rcx), %edi
	btl	%edi, %r13d
	adcl	%r15d, %esi
	incl	%edi
	movzbl	%dil, %edi
	xorl	%r15d, %r15d
	btl	%edi, %r13d
	setb	%r15b
	leal	3(%rcx), %edi
	btl	%edi, %r13d
	adcl	%esi, %r15d
	addl	$4, %ecx
	cmpl	%edx, %ecx
	jne	LBB0_11
LBB0_12:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	testl	%eax, %eax
	je	LBB0_14
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	btl	%ecx, %r13d
	adcl	$0, %r15d
	incl	%ecx
	decl	%eax
	jne	LBB0_13
LBB0_14:
	movl	(%r14), %ecx
	movq	_BMS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leal	-1(%rax), %edx
	movzbl	%dl, %edx
	btl	%edx, %ecx
	movq	%rbx, -120(%rbp)                ## 8-byte Spill
	jae	LBB0_16
## %bb.15:
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rcx), %ecx
	subl	%eax, %r15d
	addl	%ecx, %r15d
	incl	%r15d
LBB0_16:
	movq	_WHERE_COLUMN_EQ@GOTPCREL(%rip), %rax
	movq	_WHERE_IDX_ONLY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_WO_EQ@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	orl	%ecx, 20(%rdi)
	leal	(%r15,%r15,2), %eax
	leal	(%r15,%rax,4), %esi
	addl	$48, %esi
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movq	%rdi, %rbx
	movl	(%rax), %edi
	callq	_sqlite3DbMallocZero
	testq	%rax, %rax
	je	LBB0_36
## %bb.17:
	movq	%rax, %rdx
	movl	%r13d, -44(%rbp)                ## 4-byte Spill
	movslq	%r15d, %rax
	movq	%rdx, 24(%rbx)
	leaq	48(%rdx), %rcx
	movq	%rcx, (%rdx)
	leaq	48(%rdx,%rax,8), %rcx
	movq	%rcx, 8(%rdx)
	leaq	(%rcx,%rax,4), %rax
	movq	%rax, 40(%rdx)
	leaq	L_.str(%rip), %rax
	movq	%rax, 16(%rdx)
	movl	%r15d, 24(%rdx)
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	movq	%rax, 32(%rdx)
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %r13
	xorl	%r12d, %r12d
	cmpq	-104(%rbp), %r13                ## 8-byte Folded Reload
	jae	LBB0_25
## %bb.18:
	xorl	%r12d, %r12d
	movl	$0, -88(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_19
	.p2align	4, 0x90
LBB0_23:                                ##   in Loop: Header=BB0_19 Depth=1
	orl	%ebx, -88(%rbp)                 ## 4-byte Folded Spill
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movq	%rcx, (%rax,%r12,8)
	incl	%r12d
LBB0_24:                                ##   in Loop: Header=BB0_19 Depth=1
	addq	$16, %r13
	cmpq	-104(%rbp), %r13                ## 8-byte Folded Reload
	jae	LBB0_25
LBB0_19:                                ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	movq	%r14, %rsi
	movl	-76(%rbp), %edx                 ## 4-byte Reload
	callq	_termCanDriveIndex
	testq	%rax, %rax
	je	LBB0_24
## %bb.20:                              ##   in Loop: Header=BB0_19 Depth=1
	movl	(%r13), %eax
	movq	_BMS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	leal	-1(%rcx), %edx
	cmpl	%ecx, %eax
	movzbl	%dl, %ecx
	cmovll	%eax, %ecx
	movl	$1, %ebx
	shll	%cl, %ebx
	movl	-88(%rbp), %edx                 ## 4-byte Reload
	btl	%ecx, %edx
	jb	LBB0_24
## %bb.21:                              ##   in Loop: Header=BB0_19 Depth=1
	movq	8(%r13), %rcx
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	movq	8(%rdx), %rdx
	movslq	%r12d, %r12
	movl	%eax, (%rdx,%r12,4)
	movl	(%rcx), %edx
	movl	4(%rcx), %esi
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	callq	_sqlite3BinaryCompareCollSeq
	movq	%rax, -136(%rbp)                ## 8-byte Spill
	movq	%rax, %rdi
	callq	_ALWAYS
	leaq	L_.str.1(%rip), %rcx
	testq	%rax, %rax
	je	LBB0_23
## %bb.22:                              ##   in Loop: Header=BB0_19 Depth=1
	movq	-136(%rbp), %rax                ## 8-byte Reload
	movq	(%rax), %rcx
	jmp	LBB0_23
LBB0_25:
	xorl	%edi, %edi
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	cmpl	16(%rax), %r12d
	sete	%dil
	callq	_assert
	movq	-120(%rbp), %rbx                ## 8-byte Reload
	testl	%ebx, %ebx
	jle	LBB0_26
## %bb.27:
	xorl	%eax, %eax
	leaq	L_.str.1(%rip), %r8
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	jmp	LBB0_28
	.p2align	4, 0x90
LBB0_30:                                ##   in Loop: Header=BB0_28 Depth=1
	incl	%eax
	cmpl	%eax, %ebx
	je	LBB0_31
LBB0_28:                                ## =>This Inner Loop Header: Depth=1
	btl	%eax, %edi
	jae	LBB0_30
## %bb.29:                              ##   in Loop: Header=BB0_28 Depth=1
	movq	8(%rcx), %rdx
	movslq	%r12d, %r12
	movl	%eax, (%rdx,%r12,4)
	movq	(%rcx), %rdx
	movq	%r8, (%rdx,%r12,8)
	incl	%r12d
	jmp	LBB0_30
LBB0_36:
	addq	$120, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_26:
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
LBB0_31:
	movl	(%r14), %edx
	movq	_BMS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leal	-1(%rdi), %eax
	btl	%eax, %edx
	jae	LBB0_35
## %bb.32:
	cmpl	(%rsi), %edi
	jg	LBB0_35
## %bb.33:
	movslq	%r12d, %r12
	leaq	L_.str.1(%rip), %rdi
	.p2align	4, 0x90
LBB0_34:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%rcx), %rdx
	movl	%eax, (%rdx,%r12,4)
	movq	(%rcx), %rdx
	movq	%rdi, (%rdx,%r12,8)
	incq	%r12
	incl	%eax
	cmpl	(%rsi), %eax
	jl	LBB0_34
LBB0_35:
	xorl	%edi, %edi
	cmpl	%r15d, %r12d
	sete	%dil
	callq	_assert
	movq	-96(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	callq	_sqlite3IndexKeyinfo
	movq	%rax, %r14
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	movq	(%r13), %rdi
	shrq	$63, %rdi
	xorl	$1, %edi
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_assert
	movq	_OP_OpenAutoindex@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	(%r13), %rdx
	incl	%r15d
	movq	_P4_KEYINFO_HANDOFF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rsp)
	movq	-128(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %rdi
	movl	%r15d, %ecx
	xorl	%r8d, %r8d
	movq	%r14, %r9
	callq	_sqlite3VdbeAddOp4
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movslq	4(%rax), %rdi
	callq	_VdbeComment
	movq	_OP_Rewind@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	8(%r13), %rdx
	movq	%rbx, %rdi
	callq	_sqlite3VdbeAddOp1
	movl	%eax, %r14d
	movq	%r12, %rdi
	callq	_sqlite3GetTempReg
	movl	%eax, %r15d
	movq	8(%r13), %rdx
	movq	%r12, %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movl	%eax, %ecx
	movl	$1, %r8d
	callq	_sqlite3GenerateIndexKey
	movq	_OP_IdxInsert@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	(%r13), %rdx
	movq	%rbx, %rdi
	movl	%r15d, %ecx
	callq	_sqlite3VdbeAddOp2
	movq	_OPFLAG_USESEEKRESULT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_sqlite3VdbeChangeP5
	movq	_OP_Next@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	8(%r13), %rdx
	leal	1(%r14), %ecx
	movq	%rbx, %rdi
	callq	_sqlite3VdbeAddOp2
	movq	_SQLITE_STMTSTATUS_AUTOINDEX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_sqlite3VdbeChangeP5
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_sqlite3VdbeJumpHere
	movq	%r12, %rdi
	movl	%r15d, %esi
	callq	_sqlite3ReleaseTempReg
	movq	%rbx, %rdi
	movl	-108(%rbp), %esi                ## 4-byte Reload
	addq	$120, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_sqlite3VdbeJumpHere            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_BMS,4,2                        ## @BMS
	.comm	_WHERE_COLUMN_EQ,4,2            ## @WHERE_COLUMN_EQ
	.comm	_WHERE_IDX_ONLY,4,2             ## @WHERE_IDX_ONLY
	.comm	_WO_EQ,4,2                      ## @WO_EQ
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"auto-index"

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

	.comm	_OP_OpenAutoindex,4,2           ## @OP_OpenAutoindex
	.comm	_P4_KEYINFO_HANDOFF,4,2         ## @P4_KEYINFO_HANDOFF
	.comm	_OP_Rewind,4,2                  ## @OP_Rewind
	.comm	_OP_IdxInsert,4,2               ## @OP_IdxInsert
	.comm	_OPFLAG_USESEEKRESULT,4,2       ## @OPFLAG_USESEEKRESULT
	.comm	_OP_Next,4,2                    ## @OP_Next
	.comm	_SQLITE_STMTSTATUS_AUTOINDEX,4,2 ## @SQLITE_STMTSTATUS_AUTOINDEX
	.no_dead_strip	_constructAutomaticIndex
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function constructAutomaticIndex
lCPI0_0:
	.long	0                               ; 0x0
	.long	1                               ; 0x1
	.long	2                               ; 0x2
	.long	3                               ; 0x3
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_constructAutomaticIndex:               ; @constructAutomaticIndex
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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, x4
	str	w3, [sp, #52]                   ; 4-byte Folded Spill
	mov	x19, x2
	mov	x21, x1
	mov	x27, x0
	ldr	x8, [x0, #8]
	str	x8, [sp, #24]                   ; 8-byte Folded Spill
	cmp	x8, #0
	cset	w0, ne
	bl	_assert
	mov	x0, x27
	bl	_sqlite3CodeOnce
	str	w0, [sp, #20]                   ; 4-byte Folded Spill
	str	x19, [sp, #56]                  ; 8-byte Folded Spill
	ldr	x28, [x19, #8]
	ldp	x8, x26, [x21]
	str	x21, [sp, #8]                   ; 8-byte Folded Spill
	add	x24, x26, x8, lsl #4
	cmp	x8, #1
	str	x24, [sp, #40]                  ; 8-byte Folded Spill
	b.lt	LBB0_5
; %bb.1:
	mov	w21, #0
	mov	w19, #0
	mov	w22, #1
Lloh0:
	adrp	x25, _BMS@GOTPAGE
Lloh1:
	ldr	x25, [x25, _BMS@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x26, x26, #16
	cmp	x26, x24
	b.hs	LBB0_6
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x26
	ldr	x1, [sp, #56]                   ; 8-byte Folded Reload
	ldr	w2, [sp, #52]                   ; 4-byte Folded Reload
	bl	_termCanDriveIndex
	cbz	x0, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w23, [x26]
	ldr	w8, [x25]
	sub	w9, w8, #1
	cmp	w23, w8
	csel	w8, w23, w9, lt
	lsl	w24, w22, w8
	cset	w0, eq
	bl	_testcase
	ldr	w8, [x25]
	sub	w8, w8, #1
	cmp	w23, w8
	cset	w0, eq
	bl	_testcase
	tst	w24, w19
	csel	w8, w24, wzr, eq
	ldr	x24, [sp, #40]                  ; 8-byte Folded Reload
	orr	w19, w8, w19
	cinc	w21, w21, eq
	b	LBB0_2
LBB0_5:
	mov	w19, #0
	mov	w21, #0
LBB0_6:
	cmp	w21, #0
	cset	w0, gt
	bl	_assert
	str	w21, [x20, #16]
	ldr	x8, [sp, #56]                   ; 8-byte Folded Reload
	ldr	w8, [x8]
Lloh2:
	adrp	x22, _BMS@GOTPAGE
Lloh3:
	ldr	x22, [x22, _BMS@GOTPAGEOFF]
	ldr	w9, [x22]
	sub	w9, w9, #1
	mov	w10, #1
	lsl	w10, w10, w9
	orn	w10, w10, w19
	and	w23, w10, w8
	ldr	w8, [x28]
	cmp	w8, w9
	mov	x19, x28
	csel	w28, w8, w9, lt
	cset	w0, eq
	bl	_testcase
	str	x19, [sp, #32]                  ; 8-byte Folded Spill
	ldr	w8, [x19]
	ldr	w9, [x22]
	sub	w9, w9, #2
	cmp	w8, w9
	cset	w0, eq
	bl	_testcase
	cmp	w28, #1
	b.lt	LBB0_14
; %bb.7:
	cmp	w28, #16
	b.hs	LBB0_9
; %bb.8:
	mov	w8, #0
	b	LBB0_12
LBB0_9:
	and	w8, w28, #0xfffffff0
	movi.2d	v0, #0000000000000000
	movi.2d	v1, #0000000000000000
	mov.s	v1[0], w21
	dup.4s	v2, w23
	mvni.4s	v3, #3
Lloh4:
	adrp	x9, lCPI0_0@PAGE
Lloh5:
	ldr	q4, [x9, lCPI0_0@PAGEOFF]
	mvni.4s	v5, #7
	mvni.4s	v6, #11
	movi.4s	v7, #1
	movi.4s	v16, #16
	mov	x9, x8
	movi.2d	v17, #0000000000000000
	movi.2d	v18, #0000000000000000
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	neg.4s	v19, v4
	ushl.4s	v19, v2, v19
	sub.4s	v20, v3, v4
	ushl.4s	v20, v2, v20
	sub.4s	v21, v5, v4
	ushl.4s	v21, v2, v21
	sub.4s	v22, v6, v4
	ushl.4s	v22, v2, v22
	and.16b	v19, v19, v7
	and.16b	v20, v20, v7
	and.16b	v21, v21, v7
	and.16b	v22, v22, v7
	add.4s	v1, v19, v1
	add.4s	v0, v20, v0
	add.4s	v17, v21, v17
	add.4s	v18, v22, v18
	add.4s	v4, v4, v16
	subs	w9, w9, #16
	b.ne	LBB0_10
; %bb.11:
	add.4s	v0, v0, v1
	add.4s	v0, v17, v0
	add.4s	v0, v18, v0
	addv.4s	s0, v0
	fmov	w21, s0
	b	LBB0_13
LBB0_12:
	lsr	w9, w23, w8
	and	w9, w9, #0x1
	add	w21, w9, w21
	add	w8, w8, #1
LBB0_13:
	cmp	w28, w8
	b.ne	LBB0_12
LBB0_14:
	ldr	x8, [sp, #56]                   ; 8-byte Folded Reload
	ldr	w9, [x8]
Lloh6:
	adrp	x8, _BMS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _BMS@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	sub	w10, w8, #1
	lsr	w9, w9, w10
	tbz	w9, #0, LBB0_16
; %bb.15:
	ldr	x9, [sp, #32]                   ; 8-byte Folded Reload
	ldr	w9, [x9]
	sub	w8, w21, w8
	add	w8, w8, w9
	add	w21, w8, #1
LBB0_16:
Lloh9:
	adrp	x8, _WHERE_COLUMN_EQ@GOTPAGE
Lloh10:
	ldr	x8, [x8, _WHERE_COLUMN_EQ@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
Lloh12:
	adrp	x9, _WHERE_IDX_ONLY@GOTPAGE
Lloh13:
	ldr	x9, [x9, _WHERE_IDX_ONLY@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh15:
	adrp	x9, _WO_EQ@GOTPAGE
Lloh16:
	ldr	x9, [x9, _WO_EQ@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	orr	w8, w8, w9
	ldr	w9, [x20, #20]
	orr	w8, w8, w9
	str	w8, [x20, #20]
	mov	w8, #12
	madd	w8, w21, w8, w21
	add	w1, w8, #48
	ldr	w0, [x27]
	bl	_sqlite3DbMallocZero
	cbz	x0, LBB0_37
; %bb.17:
	mov	x26, x0
	str	x0, [x20, #24]
	add	x8, x0, #48
	add	x9, x8, w21, sxtw #3
	stp	x8, x9, [x0]
	add	x10, x9, w21, sxtw #2
Lloh18:
	adrp	x9, l_.str@PAGE
Lloh19:
	add	x9, x9, l_.str@PAGEOFF
	str	x9, [x0, #16]
	str	w21, [x0, #24]
	ldr	x8, [sp, #32]                   ; 8-byte Folded Reload
	stp	x8, x10, [x0, #32]
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	ldr	x25, [x8, #8]
	cmp	x25, x24
	str	w23, [sp, #4]                   ; 4-byte Folded Spill
	mov	w19, #0
	b.hs	LBB0_27
; %bb.18:
	mov	w23, #0
	mov	w22, #1
	b	LBB0_23
LBB0_19:                                ;   in Loop: Header=BB0_23 Depth=1
	ldr	x8, [x27]
LBB0_20:                                ;   in Loop: Header=BB0_23 Depth=1
	mov	x27, x20
	mov	x20, x22
	mov	w22, #1
	orr	w23, w24, w23
	sxtw	x9, w19
	ldr	x10, [x26]
	str	x8, [x10, x9, lsl #3]
	add	w19, w19, #1
LBB0_21:                                ;   in Loop: Header=BB0_23 Depth=1
	ldr	x24, [sp, #40]                  ; 8-byte Folded Reload
LBB0_22:                                ;   in Loop: Header=BB0_23 Depth=1
	add	x25, x25, #16
	cmp	x25, x24
	b.hs	LBB0_27
LBB0_23:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x25
	ldr	x1, [sp, #56]                   ; 8-byte Folded Reload
	ldr	w2, [sp, #52]                   ; 4-byte Folded Reload
	bl	_termCanDriveIndex
	cbz	x0, LBB0_22
; %bb.24:                               ;   in Loop: Header=BB0_23 Depth=1
	ldr	w8, [x25]
Lloh20:
	adrp	x9, _BMS@GOTPAGE
Lloh21:
	ldr	x9, [x9, _BMS@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	sub	w10, w9, #1
	cmp	w8, w9
	csel	w9, w8, w10, lt
	lsl	w24, w22, w9
	tst	w24, w23
	b.ne	LBB0_21
; %bb.25:                               ;   in Loop: Header=BB0_23 Depth=1
	mov	x22, x20
	ldr	x9, [x25, #8]
	ldr	x10, [x26, #8]
	str	w8, [x10, w19, sxtw #2]
	ldp	w2, w1, [x9]
	mov	x20, x27
	mov	x0, x27
	bl	_sqlite3BinaryCompareCollSeq
	mov	x27, x0
	bl	_ALWAYS
	cbnz	x0, LBB0_19
; %bb.26:                               ;   in Loop: Header=BB0_23 Depth=1
Lloh23:
	adrp	x8, l_.str.1@PAGE
Lloh24:
	add	x8, x8, l_.str.1@PAGEOFF
	b	LBB0_20
LBB0_27:
	ldr	w8, [x20, #16]
	cmp	w19, w8
	cset	w0, eq
	bl	_assert
	cmp	w28, #1
	b.lt	LBB0_32
; %bb.28:
	mov	w8, #0
Lloh25:
	adrp	x9, l_.str.1@PAGE
Lloh26:
	add	x9, x9, l_.str.1@PAGEOFF
	ldr	w12, [sp, #4]                   ; 4-byte Folded Reload
	b	LBB0_30
LBB0_29:                                ;   in Loop: Header=BB0_30 Depth=1
	add	w8, w8, #1
	cmp	w28, w8
	b.eq	LBB0_32
LBB0_30:                                ; =>This Inner Loop Header: Depth=1
	lsr	w10, w12, w8
	tbz	w10, #0, LBB0_29
; %bb.31:                               ;   in Loop: Header=BB0_30 Depth=1
	ldp	x11, x10, [x26]
	str	w8, [x10, w19, sxtw #2]
	str	x9, [x11, w19, sxtw #3]
	add	w19, w19, #1
	b	LBB0_29
LBB0_32:
	ldr	x8, [sp, #56]                   ; 8-byte Folded Reload
	ldr	w10, [x8]
Lloh27:
	adrp	x8, _BMS@GOTPAGE
Lloh28:
	ldr	x8, [x8, _BMS@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x8]
	sub	w8, w9, #1
	lsr	w10, w10, w8
	tbz	w10, #0, LBB0_38
; %bb.33:
	ldr	x22, [sp, #32]                  ; 8-byte Folded Reload
	ldr	w10, [x22]
	cmp	w9, w10
	b.gt	LBB0_39
; %bb.34:
                                        ; kill: def $w19 killed $w19 killed $x19 def $x19
	sxtw	x19, w19
Lloh30:
	adrp	x9, l_.str.1@PAGE
Lloh31:
	add	x9, x9, l_.str.1@PAGEOFF
LBB0_35:                                ; =>This Inner Loop Header: Depth=1
	ldp	x11, x10, [x26]
	str	w8, [x10, x19, lsl #2]
	str	x9, [x11, x19, lsl #3]
	add	x19, x19, #1
	add	w8, w8, #1
	ldr	w10, [x22]
	cmp	w8, w10
	b.lt	LBB0_35
; %bb.36:
                                        ; kill: def $w19 killed $w19 killed $x19 def $x19
	b	LBB0_39
LBB0_37:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_38:
	ldr	x22, [sp, #32]                  ; 8-byte Folded Reload
LBB0_39:
	cmp	w19, w21
	cset	w0, eq
	bl	_assert
	mov	x0, x27
	mov	x1, x26
	bl	_sqlite3IndexKeyinfo
	mov	x23, x0
	ldr	x8, [x20]
	lsr	x8, x8, #63
	eor	w0, w8, #0x1
	bl	_assert
Lloh32:
	adrp	x8, _OP_OpenAutoindex@GOTPAGE
Lloh33:
	ldr	x8, [x8, _OP_OpenAutoindex@GOTPAGEOFF]
Lloh34:
	ldr	w1, [x8]
	ldr	x2, [x20]
	add	w3, w21, #1
Lloh35:
	adrp	x8, _P4_KEYINFO_HANDOFF@GOTPAGE
Lloh36:
	ldr	x8, [x8, _P4_KEYINFO_HANDOFF@GOTPAGEOFF]
Lloh37:
	ldr	w6, [x8]
	ldr	x19, [sp, #24]                  ; 8-byte Folded Reload
	mov	x0, x19
	mov	w4, #0
	mov	x5, x23
	bl	_sqlite3VdbeAddOp4
	ldrsw	x0, [x22, #4]
	bl	_VdbeComment
Lloh38:
	adrp	x8, _OP_Rewind@GOTPAGE
Lloh39:
	ldr	x8, [x8, _OP_Rewind@GOTPAGEOFF]
Lloh40:
	ldr	w1, [x8]
	ldr	x2, [x20, #8]
	mov	x0, x19
	bl	_sqlite3VdbeAddOp1
	mov	x23, x0
	mov	x0, x27
	bl	_sqlite3GetTempReg
	mov	x24, x0
	ldr	x2, [x20, #8]
	mov	x0, x27
	mov	x1, x26
	mov	x3, x24
	mov	w4, #1
	bl	_sqlite3GenerateIndexKey
Lloh41:
	adrp	x8, _OP_IdxInsert@GOTPAGE
Lloh42:
	ldr	x8, [x8, _OP_IdxInsert@GOTPAGEOFF]
Lloh43:
	ldr	w1, [x8]
	ldr	x2, [x20]
	mov	x0, x19
	mov	x3, x24
	bl	_sqlite3VdbeAddOp2
Lloh44:
	adrp	x8, _OPFLAG_USESEEKRESULT@GOTPAGE
Lloh45:
	ldr	x8, [x8, _OPFLAG_USESEEKRESULT@GOTPAGEOFF]
Lloh46:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_sqlite3VdbeChangeP5
Lloh47:
	adrp	x8, _OP_Next@GOTPAGE
Lloh48:
	ldr	x8, [x8, _OP_Next@GOTPAGEOFF]
Lloh49:
	ldr	w1, [x8]
	ldr	x2, [x20, #8]
	add	w3, w23, #1
	mov	x0, x19
	bl	_sqlite3VdbeAddOp2
Lloh50:
	adrp	x8, _SQLITE_STMTSTATUS_AUTOINDEX@GOTPAGE
Lloh51:
	ldr	x8, [x8, _SQLITE_STMTSTATUS_AUTOINDEX@GOTPAGEOFF]
Lloh52:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_sqlite3VdbeChangeP5
	mov	x0, x19
	mov	x1, x23
	bl	_sqlite3VdbeJumpHere
	mov	x0, x27
	mov	x1, x24
	bl	_sqlite3ReleaseTempReg
	mov	x0, x19
	ldr	w1, [sp, #20]                   ; 4-byte Folded Reload
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	b	_sqlite3VdbeJumpHere
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdr	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.cfi_endproc
                                        ; -- End function
	.comm	_BMS,4,2                        ; @BMS
	.comm	_WHERE_COLUMN_EQ,4,2            ; @WHERE_COLUMN_EQ
	.comm	_WHERE_IDX_ONLY,4,2             ; @WHERE_IDX_ONLY
	.comm	_WO_EQ,4,2                      ; @WO_EQ
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"auto-index"

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

	.comm	_OP_OpenAutoindex,4,2           ; @OP_OpenAutoindex
	.comm	_P4_KEYINFO_HANDOFF,4,2         ; @P4_KEYINFO_HANDOFF
	.comm	_OP_Rewind,4,2                  ; @OP_Rewind
	.comm	_OP_IdxInsert,4,2               ; @OP_IdxInsert
	.comm	_OPFLAG_USESEEKRESULT,4,2       ; @OPFLAG_USESEEKRESULT
	.comm	_OP_Next,4,2                    ; @OP_Next
	.comm	_SQLITE_STMTSTATUS_AUTOINDEX,4,2 ; @SQLITE_STMTSTATUS_AUTOINDEX
	.no_dead_strip	_constructAutomaticIndex
.subsections_via_symbols
