	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pushOntoSorter
_pushOntoSorter:                        ## @pushOntoSorter
	.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	%r9d, %r15d
	movl	%r8d, %r14d
	movl	%ecx, %r13d
	movq	%rdx, -136(%rbp)                ## 8-byte Spill
	movq	%rdi, %r12
	movl	16(%rbp), %ebx
	movq	16(%rdi), %rax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movq	_SORTFLAG_UseSorter@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%edx, %edx
	andl	(%rsi), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	sete	%dl
	movq	32(%rsi), %rax
	movl	(%rax), %ecx
	movq	%rcx, -96(%rbp)                 ## 8-byte Spill
	movq	%rdx, -144(%rbp)                ## 8-byte Spill
	leal	(%rcx,%rdx), %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	addl	%r15d, %eax
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	movl	4(%rsi), %eax
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	movl	$1, %edi
	callq	_assert
	movq	%r15, -88(%rbp)                 ## 8-byte Spill
	cmpl	$1, %r15d
	sete	%al
	movl	%r13d, %r15d
	cmpl	%r14d, %r13d
	sete	%cl
	orb	%al, %cl
	movl	%r14d, -60(%rbp)                ## 4-byte Spill
	testl	%r14d, %r14d
	sete	%al
	orb	%cl, %al
	movzbl	%al, %edi
	callq	_assert
	testl	%ebx, %ebx
	movq	%r12, -80(%rbp)                 ## 8-byte Spill
	movl	%ebx, -120(%rbp)                ## 4-byte Spill
	je	LBB0_2
## %bb.1:
	xorl	%edi, %edi
	cmpl	%ebx, -56(%rbp)                 ## 4-byte Folded Reload
	sete	%dil
	callq	_assert
	movl	%r15d, %eax
	subl	%ebx, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	-64(%rbp), %r13d                ## 4-byte Reload
	jmp	LBB0_3
LBB0_2:
	movl	(%r12), %eax
	leal	1(%rax), %ecx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movl	-64(%rbp), %r13d                ## 4-byte Reload
	addl	%r13d, %eax
	movl	%eax, (%r12)
LBB0_3:
	movl	%r15d, %r12d
	movq	-136(%rbp), %r14                ## 8-byte Reload
	cmpq	$0, (%r14)
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_4
## %bb.5:
	xorl	%edi, %edi
	cmpl	$0, 8(%r14)
	setne	%dil
	jmp	LBB0_6
LBB0_4:
	movl	$1, %edi
LBB0_6:
	callq	_assert
	movq	(%r14), %rax
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	incq	%rax
	jmp	LBB0_9
LBB0_8:
	movl	8(%r14), %eax
LBB0_9:
	movq	%rax, -128(%rbp)                ## 8-byte Spill
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	callq	_sqlite3VdbeMakeLabel
	movl	%eax, 8(%rbx)
	movq	32(%rbx), %rsi
	movq	_SQLITE_ECEL_DUP@GOTPCREL(%rip), %rax
	movl	-60(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, %r8d
	testl	%ecx, %ecx
	je	LBB0_11
## %bb.10:
	movq	_SQLITE_ECEL_REF@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r8d
LBB0_11:
	movl	%r13d, %r15d
	orl	(%rax), %r8d
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_sqlite3ExprCodeExprList
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_13
## %bb.12:
	movq	_OP_Sequence@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	12(%rax), %edx
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	addl	%eax, %ecx
	movq	-104(%rbp), %rdi                ## 8-byte Reload
	callq	_sqlite3VdbeAddOp2
LBB0_13:
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	testl	%ebx, %ebx
	jle	LBB0_16
## %bb.14:
	cmpl	$0, -120(%rbp)                  ## 4-byte Folded Reload
	jne	LBB0_16
## %bb.15:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	addl	%ecx, %eax
	movq	-144(%rbp), %rdx                ## 8-byte Reload
	addl	%eax, %edx
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movl	%r12d, %esi
                                        ## kill: def $edx killed $edx killed $rdx
	movl	%ebx, %ecx
	callq	_sqlite3ExprCodeMove
LBB0_16:
	movl	$0, -88(%rbp)                   ## 4-byte Folded Spill
	movl	$0, %ecx
	cmpl	$0, -112(%rbp)                  ## 4-byte Folded Reload
	jle	LBB0_24
## %bb.17:
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movq	-136(%rbp), %rdx                ## 8-byte Reload
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movl	%r12d, %ecx
	movl	%r15d, %r8d
	callq	_makeSorterRecord
	movl	(%rbx), %r13d
	movl	4(%r14), %edx
	leal	(%rdx,%r13), %ecx
	incl	%r13d
	movl	%ecx, (%rbx)
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	movq	%rdx, -120(%rbp)                ## 8-byte Spill
	je	LBB0_18
## %bb.19:
	movq	_OP_SequenceTest@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	12(%r14), %edx
	jmp	LBB0_20
LBB0_18:
	movq	_OP_IfNot@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	leal	(%r12,%rax), %edx
LBB0_20:
	movq	-104(%rbp), %r15                ## 8-byte Reload
	movq	%r15, %rdi
	callq	_sqlite3VdbeAddOp1
	movl	%eax, %ebx
	movq	%r15, %rdi
	callq	_VdbeCoverage
	movq	_OP_Compare@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	4(%r14), %r8d
	movq	%r15, %rdi
	movl	%r13d, %edx
	movl	%r12d, %ecx
	callq	_sqlite3VdbeAddOp3
	movl	40(%r14), %esi
	movq	%r15, %rdi
	callq	_sqlite3VdbeGetOp
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	movq	8(%r14), %rcx
	cmpq	$0, (%rcx)
	jne	LBB0_35
## %bb.21:
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	movq	%r13, %r12
	movl	-64(%rbp), %ecx                 ## 4-byte Reload
	subl	-120(%rbp), %ecx                ## 4-byte Folded Reload
	movl	%ecx, (%rax)
	movq	8(%rax), %rbx
	movl	16(%rbx), %edi
	movq	(%rbx), %rdx
	xorl	%esi, %esi
	movq	%rax, %r13
	callq	_memset
	movq	_P4_KEYINFO@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rdi
	movl	$-1, %esi
	movq	%rbx, %rdx
	callq	_sqlite3VdbeChangeP4
	movq	(%rbx), %rax
	addq	$2, %rax
	xorl	%edi, %edi
	cmpq	%rax, 8(%rbx)
	setg	%dil
	callq	_testcase
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	32(%rax), %rsi
	movq	(%rbx), %rcx
	notq	%rcx
	addq	8(%rbx), %rcx
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	%r14, %rdi
	movq	-112(%rbp), %rdx                ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_sqlite3KeyInfoFromExprList
	movq	%rax, 8(%r13)
	movq	%r15, %rdi
	callq	_sqlite3VdbeCurrentAddr
	movl	%eax, %r13d
	movq	_OP_Jump@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leal	1(%r13), %edx
	movq	%r15, %rdi
	xorl	%ecx, %ecx
	movl	%edx, %r8d
	callq	_sqlite3VdbeAddOp3
	movq	%r15, %rdi
	callq	_VdbeCoverage
	movq	%r14, %rdi
	callq	_sqlite3VdbeMakeLabel
	movl	%eax, 16(%rbx)
	movl	(%r14), %edx
	incl	%edx
	movl	%edx, (%r14)
	movl	%edx, 20(%rbx)
	movq	_OP_Gosub@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	%r15, %rdi
	movl	%eax, %ecx
	callq	_sqlite3VdbeAddOp2
	movq	_OP_ResetSorter@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	12(%rbx), %edx
	movq	%r15, %rdi
	callq	_sqlite3VdbeAddOp1
	movq	-128(%rbp), %rdx                ## 8-byte Reload
	testl	%edx, %edx
	je	LBB0_23
## %bb.22:
	movq	_OP_IfNot@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	8(%rbx), %ecx
	movq	%r15, %rdi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_sqlite3VdbeAddOp2
	movq	%r15, %rdi
	callq	_VdbeCoverage
LBB0_23:
	movq	%r15, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	_sqlite3VdbeJumpHere
	movl	4(%rbx), %ecx
	movq	%r14, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	movl	%r12d, %edx
	callq	_sqlite3ExprCodeMove
	movq	%r15, %rdi
	movl	%r13d, %esi
	callq	_sqlite3VdbeJumpHere
	movl	-64(%rbp), %r15d                ## 4-byte Reload
	movl	-60(%rbp), %ecx                 ## 4-byte Reload
LBB0_24:
	movq	-128(%rbp), %r14                ## 8-byte Reload
	testl	%r14d, %r14d
	movl	%r15d, %r12d
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	movq	-104(%rbp), %r15                ## 8-byte Reload
	je	LBB0_26
## %bb.25:
	movl	12(%r13), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_OP_IfNotZero@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r15, %rdi
	movl	%ecx, -60(%rbp)                 ## 4-byte Spill
	callq	_sqlite3VdbeCurrentAddr
                                        ## kill: def $eax killed $eax def $rax
	leal	4(%rax), %ecx
	movq	%r15, %rdi
	movl	%ebx, %esi
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	movl	%r14d, %edx
	callq	_sqlite3VdbeAddOp2
	movq	%r15, %rdi
	callq	_VdbeCoverage
	movq	_OP_Last@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %edx
	xorl	%ecx, %ecx
	callq	_sqlite3VdbeAddOp2
	movq	_OP_IdxLE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-112(%rbp), %rax                ## 8-byte Reload
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	leal	(%rcx,%rax), %r8d
	movq	-96(%rbp), %r9                  ## 8-byte Reload
	subl	%eax, %r9d
	movq	%r15, %rdi
	movl	%ebx, %edx
	xorl	%ecx, %ecx
                                        ## kill: def $r9d killed $r9d killed $r9
	callq	_sqlite3VdbeAddOp4Int
	movl	%eax, -88(%rbp)                 ## 4-byte Spill
	movq	%r15, %rdi
	callq	_VdbeCoverage
	movq	_OP_Delete@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	%ebx, %edx
	callq	_sqlite3VdbeAddOp1
	movl	-60(%rbp), %ecx                 ## 4-byte Reload
LBB0_26:
	testl	%ecx, %ecx
	jne	LBB0_28
## %bb.27:
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	movq	-136(%rbp), %rdx                ## 8-byte Reload
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
                                        ## kill: def $ecx killed $ecx killed $rcx
	movl	%r12d, %r8d
	callq	_makeSorterRecord
	movl	%eax, %ecx
LBB0_28:
	movq	_SORTFLAG_UseSorter@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	(%r13), %eax
	jne	LBB0_29
## %bb.30:
	movq	_OP_IdxInsert@GOTPCREL(%rip), %rax
	jmp	LBB0_31
LBB0_29:
	movq	_OP_SorterInsert@GOTPCREL(%rip), %rax
LBB0_31:
	movl	(%rax), %esi
	movl	12(%r13), %edx
	movq	-112(%rbp), %rax                ## 8-byte Reload
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	addl	%eax, %r8d
	subl	%eax, %r12d
	movq	%r15, %rdi
                                        ## kill: def $r8d killed $r8d killed $r8
	movl	%r12d, %r9d
	callq	_sqlite3VdbeAddOp4Int
	cmpl	$0, -88(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_35
## %bb.32:
	movl	24(%r13), %edx
	testl	%edx, %edx
	jne	LBB0_34
## %bb.33:
	movq	%r15, %rdi
	callq	_sqlite3VdbeCurrentAddr
	movl	%eax, %edx
LBB0_34:
	movq	%r15, %rdi
	movl	-88(%rbp), %esi                 ## 4-byte Reload
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_sqlite3VdbeChangeP2            ## TAILCALL
LBB0_35:
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SORTFLAG_UseSorter,4,2         ## @SORTFLAG_UseSorter
	.comm	_SQLITE_ECEL_DUP,4,2            ## @SQLITE_ECEL_DUP
	.comm	_SQLITE_ECEL_REF,4,2            ## @SQLITE_ECEL_REF
	.comm	_OP_Sequence,4,2                ## @OP_Sequence
	.comm	_OP_IfNot,4,2                   ## @OP_IfNot
	.comm	_OP_SequenceTest,4,2            ## @OP_SequenceTest
	.comm	_OP_Compare,4,2                 ## @OP_Compare
	.comm	_P4_KEYINFO,4,2                 ## @P4_KEYINFO
	.comm	_OP_Jump,4,2                    ## @OP_Jump
	.comm	_OP_Gosub,4,2                   ## @OP_Gosub
	.comm	_OP_ResetSorter,4,2             ## @OP_ResetSorter
	.comm	_OP_IfNotZero,4,2               ## @OP_IfNotZero
	.comm	_OP_Last,4,2                    ## @OP_Last
	.comm	_OP_IdxLE,4,2                   ## @OP_IdxLE
	.comm	_OP_Delete,4,2                  ## @OP_Delete
	.comm	_OP_SorterInsert,4,2            ## @OP_SorterInsert
	.comm	_OP_IdxInsert,4,2               ## @OP_IdxInsert
	.no_dead_strip	_pushOntoSorter
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pushOntoSorter
_pushOntoSorter:                        ; @pushOntoSorter
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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	x22, x6
	mov	x27, x5
	mov	x26, x4
	mov	x24, x3
	mov	x19, x2
	mov	x20, x1
	mov	x28, x0
	ldr	x8, [x0, #16]
	str	x8, [sp, #16]                   ; 8-byte Folded Spill
Lloh0:
	adrp	x8, _SORTFLAG_UseSorter@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SORTFLAG_UseSorter@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldp	w9, w10, [x1]
	str	w10, [sp, #44]                  ; 4-byte Folded Spill
	ands	w8, w8, w9
	str	w8, [sp, #28]                   ; 4-byte Folded Spill
	cset	w8, eq
	str	w8, [sp, #12]                   ; 4-byte Folded Spill
	ldr	x8, [x1, #32]
	ldr	w8, [x8]
	mov	x21, x8
	cinc	w25, w8, eq
	add	w23, w25, w5
	mov	w0, #1
	bl	_assert
	cmp	w24, w26
	ccmp	w27, #1, #4, ne
	ccmp	w26, #0, #4, ne
	cset	w0, eq
	bl	_assert
	str	x28, [sp, #32]                  ; 8-byte Folded Spill
	str	w23, [sp, #24]                  ; 4-byte Folded Spill
	cbz	w22, LBB0_2
; %bb.1:
	cmp	w25, w22
	cset	w0, eq
	bl	_assert
	mov	x25, x24
	sub	w24, w24, w22
	b	LBB0_3
LBB0_2:
	mov	x25, x24
	ldr	w8, [x28]
	add	w24, w8, #1
	add	w8, w8, w23
	str	w8, [x28]
LBB0_3:
	mov	x23, x19
	ldr	x8, [x19]
	cbz	x8, LBB0_5
; %bb.4:
	ldr	w8, [x23, #8]
	cmp	w8, #0
	cset	w0, ne
	b	LBB0_6
LBB0_5:
	mov	w0, #1
LBB0_6:
	ldr	x19, [sp, #16]                  ; 8-byte Folded Reload
	bl	_assert
	ldr	x8, [x23]
	cbz	x8, LBB0_8
; %bb.7:
	add	x8, x8, #1
	b	LBB0_9
LBB0_8:
	ldr	w8, [x23, #8]
LBB0_9:
	str	x8, [sp, #16]                   ; 8-byte Folded Spill
	ldr	x28, [sp, #32]                  ; 8-byte Folded Reload
	mov	x0, x28
	bl	_sqlite3VdbeMakeLabel
	str	w0, [x20, #8]
	ldr	x1, [x20, #32]
Lloh3:
	adrp	x8, _SQLITE_ECEL_DUP@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SQLITE_ECEL_DUP@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _SQLITE_ECEL_REF@GOTPAGE
Lloh7:
	ldr	x9, [x9, _SQLITE_ECEL_REF@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	cmp	w26, #0
	csel	w9, wzr, w9, eq
	orr	w4, w9, w8
	mov	x0, x28
	mov	x2, x24
	mov	x3, x26
	bl	_sqlite3ExprCodeExprList
	ldr	w8, [sp, #28]                   ; 4-byte Folded Reload
	cbnz	w8, LBB0_11
; %bb.10:
Lloh9:
	adrp	x8, _OP_Sequence@GOTPAGE
Lloh10:
	ldr	x8, [x8, _OP_Sequence@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	ldr	w2, [x20, #12]
	add	w3, w24, w21
	mov	x0, x19
	bl	_sqlite3VdbeAddOp2
LBB0_11:
	cmp	w27, #1
	mov	x1, x25
	ldr	x25, [sp, #32]                  ; 8-byte Folded Reload
	b.lt	LBB0_14
; %bb.12:
	cbnz	w22, LBB0_14
; %bb.13:
	add	w8, w24, w21
	ldr	w9, [sp, #12]                   ; 4-byte Folded Reload
	add	w2, w8, w9
	mov	x0, x25
	mov	x3, x27
	bl	_sqlite3ExprCodeMove
LBB0_14:
	ldr	w8, [sp, #44]                   ; 4-byte Folded Reload
	cmp	w8, #1
	b.lt	LBB0_17
; %bb.15:
	mov	x0, x25
	mov	x1, x20
	mov	x2, x23
	mov	x3, x24
	ldr	w4, [sp, #24]                   ; 4-byte Folded Reload
	bl	_makeSorterRecord
	mov	x27, x0
	ldr	w8, [x25]
	add	w28, w8, #1
	ldr	w26, [x20, #4]
	add	w8, w26, w8
	str	w8, [x25]
	ldr	w8, [sp, #28]                   ; 4-byte Folded Reload
	cbz	w8, LBB0_18
; %bb.16:
Lloh12:
	adrp	x8, _OP_SequenceTest@GOTPAGE
Lloh13:
	ldr	x8, [x8, _OP_SequenceTest@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	ldr	w2, [x20, #12]
	b	LBB0_19
LBB0_17:
	str	wzr, [sp, #28]                  ; 4-byte Folded Spill
	b	LBB0_23
LBB0_18:
Lloh15:
	adrp	x8, _OP_IfNot@GOTPAGE
Lloh16:
	ldr	x8, [x8, _OP_IfNot@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	add	w2, w24, w21
LBB0_19:
	mov	x0, x19
	bl	_sqlite3VdbeAddOp1
	str	w0, [sp, #12]                   ; 4-byte Folded Spill
	mov	x0, x19
	bl	_VdbeCoverage
Lloh18:
	adrp	x8, _OP_Compare@GOTPAGE
Lloh19:
	ldr	x8, [x8, _OP_Compare@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	ldr	w4, [x20, #4]
	mov	x0, x19
	mov	x2, x28
	mov	x3, x24
	bl	_sqlite3VdbeAddOp3
	ldr	w1, [x20, #40]
	mov	x0, x19
	bl	_sqlite3VdbeGetOp
	ldr	x8, [x25, #8]
	ldr	x8, [x8]
	cbnz	x8, LBB0_32
; %bb.20:
	mov	x22, x0
	ldr	w8, [sp, #24]                   ; 4-byte Folded Reload
	sub	w8, w8, w26
	str	w8, [x0]
	ldr	x26, [x0, #8]
	ldr	w0, [x26, #16]
	ldr	x2, [x26]
	mov	w1, #0
	bl	_memset
Lloh21:
	adrp	x8, _P4_KEYINFO@GOTPAGE
Lloh22:
	ldr	x8, [x8, _P4_KEYINFO@GOTPAGEOFF]
Lloh23:
	ldr	w3, [x8]
	mov	x0, x19
	mov	w1, #-1
	mov	x2, x26
	bl	_sqlite3VdbeChangeP4
	ldp	x9, x8, [x26]
	add	x9, x9, #2
	cmp	x8, x9
	cset	w0, gt
	bl	_testcase
	ldr	x1, [x20, #32]
	ldp	x9, x8, [x26]
	mvn	x9, x9
	add	x3, x8, x9
	mov	x0, x25
	ldr	w2, [sp, #44]                   ; 4-byte Folded Reload
	bl	_sqlite3KeyInfoFromExprList
	str	x0, [x22, #8]
	mov	x0, x19
	bl	_sqlite3VdbeCurrentAddr
	mov	x22, x0
Lloh24:
	adrp	x8, _OP_Jump@GOTPAGE
Lloh25:
	ldr	x8, [x8, _OP_Jump@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
	add	w2, w0, #1
	mov	x0, x19
	mov	w3, #0
	mov	x4, x2
	bl	_sqlite3VdbeAddOp3
	mov	x0, x19
	bl	_VdbeCoverage
	mov	x0, x25
	bl	_sqlite3VdbeMakeLabel
	mov	x3, x0
	ldr	w8, [x25]
	add	w2, w8, #1
	str	w2, [x25]
	stp	w3, w2, [x20, #16]
Lloh27:
	adrp	x8, _OP_Gosub@GOTPAGE
Lloh28:
	ldr	x8, [x8, _OP_Gosub@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x8]
	mov	x0, x19
                                        ; kill: def $w3 killed $w3 killed $x3
	bl	_sqlite3VdbeAddOp2
Lloh30:
	adrp	x8, _OP_ResetSorter@GOTPAGE
Lloh31:
	ldr	x8, [x8, _OP_ResetSorter@GOTPAGEOFF]
Lloh32:
	ldr	w1, [x8]
	ldr	w2, [x20, #12]
	mov	x0, x19
	bl	_sqlite3VdbeAddOp1
	ldr	x2, [sp, #16]                   ; 8-byte Folded Reload
	cbz	w2, LBB0_22
; %bb.21:
Lloh33:
	adrp	x8, _OP_IfNot@GOTPAGE
Lloh34:
	ldr	x8, [x8, _OP_IfNot@GOTPAGEOFF]
Lloh35:
	ldr	w1, [x8]
	ldr	w3, [x20, #8]
	mov	x0, x19
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_sqlite3VdbeAddOp2
	mov	x0, x19
	bl	_VdbeCoverage
LBB0_22:
	str	w27, [sp, #28]                  ; 4-byte Folded Spill
	mov	x0, x19
	ldr	w1, [sp, #12]                   ; 4-byte Folded Reload
	bl	_sqlite3VdbeJumpHere
	ldr	w3, [x20, #4]
	mov	x0, x25
	mov	x1, x24
	mov	x2, x28
	bl	_sqlite3ExprCodeMove
	mov	x0, x19
	mov	x1, x22
	bl	_sqlite3VdbeJumpHere
LBB0_23:
	ldr	w28, [sp, #24]                  ; 4-byte Folded Reload
	ldr	x27, [sp, #16]                  ; 8-byte Folded Reload
	cbz	w27, LBB0_25
; %bb.24:
	ldr	w26, [x20, #12]
Lloh36:
	adrp	x8, _OP_IfNotZero@GOTPAGE
Lloh37:
	ldr	x8, [x8, _OP_IfNotZero@GOTPAGEOFF]
Lloh38:
	ldr	w22, [x8]
	mov	x0, x19
	bl	_sqlite3VdbeCurrentAddr
	add	w3, w0, #4
	mov	x0, x19
	mov	x1, x22
	mov	x2, x27
	bl	_sqlite3VdbeAddOp2
	mov	x0, x19
	bl	_VdbeCoverage
Lloh39:
	adrp	x8, _OP_Last@GOTPAGE
Lloh40:
	ldr	x8, [x8, _OP_Last@GOTPAGEOFF]
Lloh41:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x26
	mov	w3, #0
	bl	_sqlite3VdbeAddOp2
Lloh42:
	adrp	x8, _OP_IdxLE@GOTPAGE
Lloh43:
	ldr	x8, [x8, _OP_IdxLE@GOTPAGEOFF]
Lloh44:
	ldr	w1, [x8]
	ldr	w8, [sp, #44]                   ; 4-byte Folded Reload
	add	w4, w24, w8
	sub	w5, w21, w8
	mov	x0, x19
	mov	x2, x26
	mov	w3, #0
	bl	_sqlite3VdbeAddOp4Int
	mov	x22, x0
	mov	x0, x19
	bl	_VdbeCoverage
Lloh45:
	adrp	x8, _OP_Delete@GOTPAGE
Lloh46:
	ldr	x8, [x8, _OP_Delete@GOTPAGEOFF]
Lloh47:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x26
	bl	_sqlite3VdbeAddOp1
	b	LBB0_26
LBB0_25:
	mov	w22, #0
LBB0_26:
Lloh48:
	adrp	x21, _SORTFLAG_UseSorter@GOTPAGE
Lloh49:
	ldr	x21, [x21, _SORTFLAG_UseSorter@GOTPAGEOFF]
	ldr	w3, [sp, #28]                   ; 4-byte Folded Reload
	cbnz	w3, LBB0_28
; %bb.27:
	mov	x0, x25
	mov	x1, x20
	mov	x2, x23
	mov	x3, x24
	mov	x4, x28
	bl	_makeSorterRecord
	mov	x3, x0
LBB0_28:
	ldr	w8, [x20]
	ldr	w9, [x21]
Lloh50:
	adrp	x10, _OP_IdxInsert@GOTPAGE
Lloh51:
	ldr	x10, [x10, _OP_IdxInsert@GOTPAGEOFF]
Lloh52:
	adrp	x11, _OP_SorterInsert@GOTPAGE
Lloh53:
	ldr	x11, [x11, _OP_SorterInsert@GOTPAGEOFF]
	tst	w9, w8
	csel	x8, x10, x11, eq
	ldr	w1, [x8]
	ldr	w2, [x20, #12]
	ldr	w8, [sp, #44]                   ; 4-byte Folded Reload
	add	w4, w24, w8
	sub	w5, w28, w8
	mov	x0, x19
	bl	_sqlite3VdbeAddOp4Int
	cbz	w22, LBB0_32
; %bb.29:
	ldr	w2, [x20, #24]
	cbnz	w2, LBB0_31
; %bb.30:
	mov	x0, x19
	bl	_sqlite3VdbeCurrentAddr
	mov	x2, x0
LBB0_31:
	mov	x0, x19
	mov	x1, x22
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	b	_sqlite3VdbeChangeP2
LBB0_32:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGot	Lloh48, Lloh49
	.loh AdrpLdrGot	Lloh52, Lloh53
	.loh AdrpLdrGot	Lloh50, Lloh51
	.cfi_endproc
                                        ; -- End function
	.comm	_SORTFLAG_UseSorter,4,2         ; @SORTFLAG_UseSorter
	.comm	_SQLITE_ECEL_DUP,4,2            ; @SQLITE_ECEL_DUP
	.comm	_SQLITE_ECEL_REF,4,2            ; @SQLITE_ECEL_REF
	.comm	_OP_Sequence,4,2                ; @OP_Sequence
	.comm	_OP_IfNot,4,2                   ; @OP_IfNot
	.comm	_OP_SequenceTest,4,2            ; @OP_SequenceTest
	.comm	_OP_Compare,4,2                 ; @OP_Compare
	.comm	_P4_KEYINFO,4,2                 ; @P4_KEYINFO
	.comm	_OP_Jump,4,2                    ; @OP_Jump
	.comm	_OP_Gosub,4,2                   ; @OP_Gosub
	.comm	_OP_ResetSorter,4,2             ; @OP_ResetSorter
	.comm	_OP_IfNotZero,4,2               ; @OP_IfNotZero
	.comm	_OP_Last,4,2                    ; @OP_Last
	.comm	_OP_IdxLE,4,2                   ; @OP_IdxLE
	.comm	_OP_Delete,4,2                  ; @OP_Delete
	.comm	_OP_SorterInsert,4,2            ; @OP_SorterInsert
	.comm	_OP_IdxInsert,4,2               ; @OP_IdxInsert
	.no_dead_strip	_pushOntoSorter
.subsections_via_symbols
