	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sqlite3RefillIndex
_sqlite3RefillIndex:                    ## @sqlite3RefillIndex
	.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
	movl	%edx, -52(%rbp)                 ## 4-byte Spill
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	24(%rsi), %r12
	movl	(%rdi), %eax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	addl	$2, %eax
	movl	%eax, (%rdi)
	movq	16(%rdi), %r13
	movl	16(%rsi), %esi
	movq	%r13, %rdi
	callq	_sqlite3SchemaToIndex
	movl	%eax, %r14d
	movq	_SQLITE_REINDEX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	movl	12(%rbx), %edx
	movq	8(%r13), %rax
	movslq	%r14d, %rcx
	movl	(%rax,%rcx,4), %r8d
	movq	%r15, %rdi
	xorl	%ecx, %ecx
	callq	_sqlite3AuthCheck
	testq	%rax, %rax
	jne	LBB0_17
## %bb.1:
	movl	(%r12), %r8d
	movl	4(%r12), %edx
	movq	%r15, %rdi
	movl	%r14d, %esi
	movl	$1, %ecx
	callq	_sqlite3TableLock
	movq	%r15, %rdi
	callq	_sqlite3GetVdbe
	testq	%rax, %rax
	je	LBB0_17
## %bb.2:
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	movl	%r14d, -44(%rbp)                ## 4-byte Spill
	movl	-52(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	testl	%eax, %eax
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	jns	LBB0_4
## %bb.3:
	movl	(%rbx), %eax
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
LBB0_4:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_sqlite3KeyInfoOfIndex
	movq	%rax, %r14
	movl	$1, %edi
	testq	%rax, %rax
	jne	LBB0_7
## %bb.5:
	cmpq	$0, (%r13)
	jne	LBB0_7
## %bb.6:
	xorl	%edi, %edi
	cmpq	$0, 8(%r15)
	setne	%dil
LBB0_7:
	movq	-96(%rbp), %r12                 ## 8-byte Reload
	leal	1(%r12), %eax
	movq	%r12, %rbx
	movl	%eax, -68(%rbp)                 ## 4-byte Spill
	callq	_assert
	movl	(%r15), %r13d
	leal	1(%r13), %eax
	movl	%eax, (%r15)
	movq	_OP_SorterOpen@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -88(%rbp)                 ## 4-byte Spill
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movl	4(%rax), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	%r14, -120(%rbp)                ## 8-byte Spill
	movq	%r14, %rdi
	callq	_sqlite3KeyInfoRef
	movq	_P4_KEYINFO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, (%rsp)
	movq	-112(%rbp), %r12                ## 8-byte Reload
	movq	%r12, %rdi
	movl	-88(%rbp), %esi                 ## 4-byte Reload
	movl	%r13d, %edx
	xorl	%ecx, %ecx
	movl	-48(%rbp), %r8d                 ## 4-byte Reload
	movq	%rax, %r9
	callq	_sqlite3VdbeAddOp4
	movq	_OP_OpenRead@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r15, %rdi
	movl	%ebx, %esi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	callq	_sqlite3OpenTable
	movq	_OP_Rewind@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movl	%ebx, %edx
	xorl	%ecx, %ecx
	callq	_sqlite3VdbeAddOp2
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	callq	_VdbeCoverage
	movq	%r15, %rdi
	callq	_sqlite3GetTempReg
	movl	%eax, %r14d
	movq	%r15, %rdi
	callq	_sqlite3MultiWrite
	movl	$0, 8(%rsp)
	movl	$0, (%rsp)
	leaq	-100(%rbp), %r9
	movq	%r15, %rdi
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	movl	%ebx, %edx
	movl	%r14d, %ecx
	xorl	%r8d, %r8d
	callq	_sqlite3GenerateIndexKey
	movq	_OP_SorterInsert@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	movl	%r13d, %edx
	movl	%r14d, -48(%rbp)                ## 4-byte Spill
	movl	%r14d, %ecx
	callq	_sqlite3VdbeAddOp2
	movl	-100(%rbp), %esi
	movq	%r15, %rdi
	callq	_sqlite3ResolvePartIdxLabel
	movq	_OP_Next@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	leal	1(%rbx), %ecx
	movq	%r12, %rdi
	movq	-96(%rbp), %rdx                 ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_sqlite3VdbeAddOp2
	movq	%r12, %rdi
	callq	_VdbeCoverage
	movq	%r12, %rdi
	movl	%ebx, %esi
	callq	_sqlite3VdbeJumpHere
	movl	-52(%rbp), %r13d                ## 4-byte Reload
	testl	%r13d, %r13d
	jns	LBB0_9
## %bb.8:
	movq	_OP_Clear@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movl	-56(%rbp), %edx                 ## 4-byte Reload
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	callq	_sqlite3VdbeAddOp2
LBB0_9:
	movq	_OP_OpenWrite@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_P4_KEYINFO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rsp)
	movq	%r12, %rdi
	movl	-68(%rbp), %r14d                ## 4-byte Reload
	movl	%r14d, %edx
	movl	-56(%rbp), %ecx                 ## 4-byte Reload
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	movq	-120(%rbp), %r9                 ## 8-byte Reload
	callq	_sqlite3VdbeAddOp4
	movq	_OPFLAG_BULKCSR@GOTPCREL(%rip), %rax
	movl	$0, %esi
	testl	%r13d, %r13d
	js	LBB0_11
## %bb.10:
	movq	_OPFLAG_P2ISREG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
LBB0_11:
	orl	(%rax), %esi
	movq	-112(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_sqlite3VdbeChangeP5
	movq	_OP_SorterSort@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	xorl	%ecx, %ecx
	callq	_sqlite3VdbeAddOp2
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	%rbx, %rdi
	callq	_VdbeCoverage
	movq	-80(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdi
	callq	_IsUniqueIndex
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_sqlite3VdbeGoto
	movl	%eax, %r14d
	movq	%rbx, %rdi
	callq	_sqlite3VdbeCurrentAddr
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_OE_Abort@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_sqlite3VdbeVerifyAbortable
	movq	_OP_SorterCompare@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	4(%r12), %r9d
	movq	%rbx, %rdi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	movl	%r14d, %ecx
	movl	-48(%rbp), %r13d                ## 4-byte Reload
	movl	%r13d, %r8d
	callq	_sqlite3VdbeAddOp4Int
	movq	%rbx, %rdi
	callq	_VdbeCoverage
	movq	_OE_Abort@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movq	%r12, %rdx
	callq	_sqlite3UniqueConstraint
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	-68(%rbp), %r14d                ## 4-byte Reload
	callq	_sqlite3VdbeJumpHere
	jmp	LBB0_14
LBB0_13:
	movq	%r15, %rdi
	callq	_sqlite3MayAbort
	movq	%rbx, %rdi
	callq	_sqlite3VdbeCurrentAddr
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	-48(%rbp), %r13d                ## 4-byte Reload
LBB0_14:
	movq	_OP_SorterData@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	movl	%r13d, %ecx
	movl	%r14d, %r8d
	callq	_sqlite3VdbeAddOp3
	cmpl	$0, 8(%r12)
	jne	LBB0_16
## %bb.15:
	movq	_OP_SeekEnd@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	%r14d, %edx
	callq	_sqlite3VdbeAddOp1
LBB0_16:
	movq	_OP_IdxInsert@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	%r14d, %edx
	movl	%r13d, %ecx
	callq	_sqlite3VdbeAddOp2
	movq	_OPFLAG_USESEEKRESULT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_sqlite3VdbeChangeP5
	movq	%r15, %rdi
	movl	%r13d, %esi
	callq	_sqlite3ReleaseTempReg
	movq	_OP_SorterNext@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	movl	%r15d, %edx
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	callq	_sqlite3VdbeAddOp2
	movq	%rbx, %rdi
	callq	_VdbeCoverage
	movq	%rbx, %rdi
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	callq	_sqlite3VdbeJumpHere
	movq	_OP_Close@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	%rbx, %rdi
	movq	-96(%rbp), %rdx                 ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_sqlite3VdbeAddOp1
	movl	(%r12), %esi
	movq	%rbx, %rdi
	movl	%r14d, %edx
	callq	_sqlite3VdbeAddOp1
	movl	(%r12), %esi
	movq	%rbx, %rdi
	movl	%r15d, %edx
	callq	_sqlite3VdbeAddOp1
LBB0_17:
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SQLITE_REINDEX,4,2             ## @SQLITE_REINDEX
	.comm	_OP_SorterOpen,4,2              ## @OP_SorterOpen
	.comm	_P4_KEYINFO,4,2                 ## @P4_KEYINFO
	.comm	_OP_OpenRead,4,2                ## @OP_OpenRead
	.comm	_OP_Rewind,4,2                  ## @OP_Rewind
	.comm	_OP_SorterInsert,4,2            ## @OP_SorterInsert
	.comm	_OP_Next,4,2                    ## @OP_Next
	.comm	_OP_Clear,4,2                   ## @OP_Clear
	.comm	_OP_OpenWrite,4,2               ## @OP_OpenWrite
	.comm	_OPFLAG_BULKCSR,4,2             ## @OPFLAG_BULKCSR
	.comm	_OPFLAG_P2ISREG,4,2             ## @OPFLAG_P2ISREG
	.comm	_OP_SorterSort,4,2              ## @OP_SorterSort
	.comm	_OE_Abort,4,2                   ## @OE_Abort
	.comm	_OP_SorterCompare,4,2           ## @OP_SorterCompare
	.comm	_OP_SorterData,4,2              ## @OP_SorterData
	.comm	_OP_SeekEnd,4,2                 ## @OP_SeekEnd
	.comm	_OP_IdxInsert,4,2               ## @OP_IdxInsert
	.comm	_OPFLAG_USESEEKRESULT,4,2       ## @OPFLAG_USESEEKRESULT
	.comm	_OP_SorterNext,4,2              ## @OP_SorterNext
	.comm	_OP_Close,4,2                   ## @OP_Close
	.no_dead_strip	_sqlite3RefillIndex
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sqlite3RefillIndex
_sqlite3RefillIndex:                    ; @sqlite3RefillIndex
	.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, x2
	mov	x23, x1
	mov	x20, x0
	ldr	x26, [x1, #24]
	ldr	w19, [x0]
	add	w8, w19, #2
	str	w8, [x0]
	ldr	x24, [x0, #16]
	ldr	w1, [x1, #16]
	mov	x0, x24
	bl	_sqlite3SchemaToIndex
	mov	x27, x0
Lloh0:
	adrp	x8, _SQLITE_REINDEX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SQLITE_REINDEX@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	ldr	w2, [x23, #12]
	ldr	x8, [x24, #8]
	ldr	w4, [x8, w0, sxtw #2]
	mov	x0, x20
	mov	w3, #0
	bl	_sqlite3AuthCheck
	cbnz	x0, LBB0_15
; %bb.1:
	ldp	w4, w2, [x26]
	mov	x0, x20
	mov	x1, x27
	mov	w3, #1
	bl	_sqlite3TableLock
	mov	x0, x20
	bl	_sqlite3GetVdbe
	cbz	x0, LBB0_15
; %bb.2:
	mov	x21, x0
	mov	x22, x25
	tbz	w25, #31, LBB0_4
; %bb.3:
	ldr	w22, [x23]
LBB0_4:
	str	w25, [sp, #16]                  ; 4-byte Folded Spill
	add	w8, w19, #1
	str	w8, [sp, #24]                   ; 4-byte Folded Spill
	mov	x0, x20
	mov	x1, x23
	bl	_sqlite3KeyInfoOfIndex
	mov	x25, x0
	str	w22, [sp, #20]                  ; 4-byte Folded Spill
	cbnz	x0, LBB0_6
; %bb.5:
	ldr	x8, [x24]
	cbz	x8, LBB0_16
LBB0_6:
	mov	w0, #1
LBB0_7:
	bl	_assert
	ldr	w24, [x20]
	add	w8, w24, #1
	str	w8, [x20]
Lloh3:
	adrp	x8, _OP_SorterOpen@GOTPAGE
Lloh4:
	ldr	x8, [x8, _OP_SorterOpen@GOTPAGEOFF]
Lloh5:
	ldr	w22, [x8]
	ldr	w28, [x23, #4]
	str	x25, [sp, #8]                   ; 8-byte Folded Spill
	mov	x0, x25
	bl	_sqlite3KeyInfoRef
	mov	x5, x0
Lloh6:
	adrp	x8, _P4_KEYINFO@GOTPAGE
Lloh7:
	ldr	x8, [x8, _P4_KEYINFO@GOTPAGEOFF]
Lloh8:
	ldr	w6, [x8]
	mov	x0, x21
	mov	x1, x22
	mov	x2, x24
	mov	w3, #0
	mov	x4, x28
	bl	_sqlite3VdbeAddOp4
Lloh9:
	adrp	x8, _OP_OpenRead@GOTPAGE
Lloh10:
	ldr	x8, [x8, _OP_OpenRead@GOTPAGEOFF]
Lloh11:
	ldr	w4, [x8]
	mov	x0, x20
	mov	x1, x19
	mov	x2, x27
	mov	x3, x26
	bl	_sqlite3OpenTable
Lloh12:
	adrp	x8, _OP_Rewind@GOTPAGE
Lloh13:
	ldr	x8, [x8, _OP_Rewind@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x21
	mov	x2, x19
	mov	w3, #0
	bl	_sqlite3VdbeAddOp2
	mov	x22, x0
	mov	x0, x21
	bl	_VdbeCoverage
	mov	x0, x20
	bl	_sqlite3GetTempReg
	mov	x26, x0
	mov	x0, x20
	bl	_sqlite3MultiWrite
	add	x5, sp, #28
	mov	x0, x20
	mov	x1, x23
	mov	x2, x19
	mov	x3, x26
	mov	w4, #0
	mov	w6, #0
	mov	w7, #0
	bl	_sqlite3GenerateIndexKey
Lloh15:
	adrp	x8, _OP_SorterInsert@GOTPAGE
Lloh16:
	ldr	x8, [x8, _OP_SorterInsert@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	x0, x21
	mov	x2, x24
	mov	x3, x26
	bl	_sqlite3VdbeAddOp2
	ldr	w1, [sp, #28]
	mov	x0, x20
	bl	_sqlite3ResolvePartIdxLabel
Lloh18:
	adrp	x8, _OP_Next@GOTPAGE
Lloh19:
	ldr	x8, [x8, _OP_Next@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	add	w3, w22, #1
	mov	x0, x21
	mov	x2, x19
	bl	_sqlite3VdbeAddOp2
	mov	x0, x21
	bl	_VdbeCoverage
	mov	x0, x21
	mov	x1, x22
	bl	_sqlite3VdbeJumpHere
	ldp	w25, w28, [sp, #16]             ; 8-byte Folded Reload
	tbz	w25, #31, LBB0_9
; %bb.8:
Lloh21:
	adrp	x8, _OP_Clear@GOTPAGE
Lloh22:
	ldr	x8, [x8, _OP_Clear@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	mov	x0, x21
	mov	x2, x28
	mov	x3, x27
	bl	_sqlite3VdbeAddOp2
LBB0_9:
Lloh24:
	adrp	x8, _OP_OpenWrite@GOTPAGE
Lloh25:
	ldr	x8, [x8, _OP_OpenWrite@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
Lloh27:
	adrp	x8, _P4_KEYINFO@GOTPAGE
Lloh28:
	ldr	x8, [x8, _P4_KEYINFO@GOTPAGEOFF]
Lloh29:
	ldr	w6, [x8]
	mov	x0, x21
	ldr	w22, [sp, #24]                  ; 4-byte Folded Reload
	mov	x2, x22
	mov	x3, x28
	mov	x4, x27
	ldr	x5, [sp, #8]                    ; 8-byte Folded Reload
	bl	_sqlite3VdbeAddOp4
Lloh30:
	adrp	x8, _OPFLAG_BULKCSR@GOTPAGE
Lloh31:
	ldr	x8, [x8, _OPFLAG_BULKCSR@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
Lloh33:
	adrp	x9, _OPFLAG_P2ISREG@GOTPAGE
Lloh34:
	ldr	x9, [x9, _OPFLAG_P2ISREG@GOTPAGEOFF]
Lloh35:
	ldr	w9, [x9]
	bic	w9, w9, w25, asr #31
	orr	w1, w9, w8
	mov	x0, x21
	bl	_sqlite3VdbeChangeP5
Lloh36:
	adrp	x8, _OP_SorterSort@GOTPAGE
Lloh37:
	ldr	x8, [x8, _OP_SorterSort@GOTPAGEOFF]
Lloh38:
	ldr	w1, [x8]
	mov	x0, x21
	mov	x2, x24
	mov	w3, #0
	bl	_sqlite3VdbeAddOp2
	mov	x25, x0
	mov	x0, x21
	bl	_VdbeCoverage
	mov	x0, x23
	bl	_IsUniqueIndex
	cbz	x0, LBB0_11
; %bb.10:
	mov	x0, x21
	mov	w1, #1
	bl	_sqlite3VdbeGoto
	mov	x22, x0
	mov	x0, x21
	bl	_sqlite3VdbeCurrentAddr
	mov	x27, x0
Lloh39:
	adrp	x28, _OE_Abort@GOTPAGE
Lloh40:
	ldr	x28, [x28, _OE_Abort@GOTPAGEOFF]
	ldr	w1, [x28]
	mov	x0, x21
	bl	_sqlite3VdbeVerifyAbortable
Lloh41:
	adrp	x8, _OP_SorterCompare@GOTPAGE
Lloh42:
	ldr	x8, [x8, _OP_SorterCompare@GOTPAGEOFF]
Lloh43:
	ldr	w1, [x8]
	ldr	w5, [x23, #4]
	mov	x0, x21
	mov	x2, x24
	mov	x3, x22
	mov	x4, x26
	bl	_sqlite3VdbeAddOp4Int
	mov	x0, x21
	bl	_VdbeCoverage
	ldr	w1, [x28]
	mov	x0, x20
	mov	x2, x23
	bl	_sqlite3UniqueConstraint
	mov	x0, x21
	mov	x1, x22
	ldr	w22, [sp, #24]                  ; 4-byte Folded Reload
	bl	_sqlite3VdbeJumpHere
	b	LBB0_12
LBB0_11:
	mov	x0, x20
	bl	_sqlite3MayAbort
	mov	x0, x21
	bl	_sqlite3VdbeCurrentAddr
	mov	x27, x0
LBB0_12:
Lloh44:
	adrp	x8, _OP_SorterData@GOTPAGE
Lloh45:
	ldr	x8, [x8, _OP_SorterData@GOTPAGEOFF]
Lloh46:
	ldr	w1, [x8]
	mov	x0, x21
	mov	x2, x24
	mov	x3, x26
	mov	x4, x22
	bl	_sqlite3VdbeAddOp3
	ldr	w8, [x23, #8]
	cbnz	w8, LBB0_14
; %bb.13:
Lloh47:
	adrp	x8, _OP_SeekEnd@GOTPAGE
Lloh48:
	ldr	x8, [x8, _OP_SeekEnd@GOTPAGEOFF]
Lloh49:
	ldr	w1, [x8]
	mov	x0, x21
	mov	x2, x22
	bl	_sqlite3VdbeAddOp1
LBB0_14:
Lloh50:
	adrp	x8, _OP_IdxInsert@GOTPAGE
Lloh51:
	ldr	x8, [x8, _OP_IdxInsert@GOTPAGEOFF]
Lloh52:
	ldr	w1, [x8]
	mov	x0, x21
	mov	x2, x22
	mov	x3, x26
	bl	_sqlite3VdbeAddOp2
Lloh53:
	adrp	x8, _OPFLAG_USESEEKRESULT@GOTPAGE
Lloh54:
	ldr	x8, [x8, _OPFLAG_USESEEKRESULT@GOTPAGEOFF]
Lloh55:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_sqlite3VdbeChangeP5
	mov	x0, x20
	mov	x1, x26
	bl	_sqlite3ReleaseTempReg
Lloh56:
	adrp	x8, _OP_SorterNext@GOTPAGE
Lloh57:
	ldr	x8, [x8, _OP_SorterNext@GOTPAGEOFF]
Lloh58:
	ldr	w1, [x8]
	mov	x0, x21
	mov	x2, x24
	mov	x3, x27
	bl	_sqlite3VdbeAddOp2
	mov	x0, x21
	bl	_VdbeCoverage
	mov	x0, x21
	mov	x1, x25
	bl	_sqlite3VdbeJumpHere
Lloh59:
	adrp	x20, _OP_Close@GOTPAGE
Lloh60:
	ldr	x20, [x20, _OP_Close@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	x0, x21
	mov	x2, x19
	bl	_sqlite3VdbeAddOp1
	ldr	w1, [x20]
	mov	x0, x21
	mov	x2, x22
	bl	_sqlite3VdbeAddOp1
	ldr	w1, [x20]
	mov	x0, x21
	mov	x2, x24
	bl	_sqlite3VdbeAddOp1
LBB0_15:
	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
LBB0_16:
	ldr	x8, [x20, #8]
	cmp	x8, #0
	cset	w0, ne
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGot	Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGot	Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.cfi_endproc
                                        ; -- End function
	.comm	_SQLITE_REINDEX,4,2             ; @SQLITE_REINDEX
	.comm	_OP_SorterOpen,4,2              ; @OP_SorterOpen
	.comm	_P4_KEYINFO,4,2                 ; @P4_KEYINFO
	.comm	_OP_OpenRead,4,2                ; @OP_OpenRead
	.comm	_OP_Rewind,4,2                  ; @OP_Rewind
	.comm	_OP_SorterInsert,4,2            ; @OP_SorterInsert
	.comm	_OP_Next,4,2                    ; @OP_Next
	.comm	_OP_Clear,4,2                   ; @OP_Clear
	.comm	_OP_OpenWrite,4,2               ; @OP_OpenWrite
	.comm	_OPFLAG_BULKCSR,4,2             ; @OPFLAG_BULKCSR
	.comm	_OPFLAG_P2ISREG,4,2             ; @OPFLAG_P2ISREG
	.comm	_OP_SorterSort,4,2              ; @OP_SorterSort
	.comm	_OE_Abort,4,2                   ; @OE_Abort
	.comm	_OP_SorterCompare,4,2           ; @OP_SorterCompare
	.comm	_OP_SorterData,4,2              ; @OP_SorterData
	.comm	_OP_SeekEnd,4,2                 ; @OP_SeekEnd
	.comm	_OP_IdxInsert,4,2               ; @OP_IdxInsert
	.comm	_OPFLAG_USESEEKRESULT,4,2       ; @OPFLAG_USESEEKRESULT
	.comm	_OP_SorterNext,4,2              ; @OP_SorterNext
	.comm	_OP_Close,4,2                   ; @OP_Close
	.no_dead_strip	_sqlite3RefillIndex
.subsections_via_symbols
