	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, -68(%rbp)                 ## 4-byte Spill
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r13
	movq	%rdi, %rbx
	movq	(%rdi), %r12
	movl	(%rsi), %r14d
	leal	2(%r14), %esi
	movl	%esi, -48(%rbp)                 ## 4-byte Spill
	callq	_sqlite3GetTempRange
	movl	%eax, %r15d
	movq	%rbx, %rdi
	callq	_sqlite3GetTempReg
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%rbx, %rdi
	callq	_sqlite3ExprCacheClear
	movq	%rbx, %rdi
	movq	%r13, %rsi
	movl	%r15d, %edx
	xorl	%ecx, %ecx
	callq	_sqlite3ExprCodeExprList
	movq	_OP_Sequence@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	movl	4(%r13), %edx
	leal	(%r15,%r14), %ecx
	movq	%r12, %rdi
	callq	_sqlite3VdbeAddOp2
	leal	(%r15,%r14), %edx
	incl	%edx
	movq	%rbx, %rdi
	movl	-68(%rbp), %esi                 ## 4-byte Reload
	movl	$1, %ecx
	callq	_sqlite3ExprCodeMove
	movq	_OP_MakeRecord@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movl	%r15d, %edx
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	callq	_sqlite3VdbeAddOp3
	movq	_SF_UseSorter@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	andl	(%rcx), %eax
	jne	LBB0_1
## %bb.2:
	movq	_OP_IdxInsert@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_OP_SorterInsert@GOTPCREL(%rip), %rax
LBB0_3:
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rax), %esi
	movl	4(%rcx), %edx
	movq	%r12, %rdi
	movl	-44(%rbp), %r14d                ## 4-byte Reload
	movl	%r14d, %ecx
	callq	_sqlite3VdbeAddOp2
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_sqlite3ReleaseTempReg
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	callq	_sqlite3ReleaseTempRange
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	4(%rax), %eax
	testl	%eax, %eax
	je	LBB0_4
## %bb.5:
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movl	8(%rcx), %ecx
	leal	1(%rcx), %ebx
	testl	%ecx, %ecx
	cmovel	%eax, %ebx
	movq	_OP_IfZero@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movl	%ebx, %edx
	callq	_sqlite3VdbeAddOp1
	movl	%eax, %r15d
	movq	_OP_AddImm@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movl	%ebx, %edx
	movl	$-1, %ecx
	callq	_sqlite3VdbeAddOp2
	movq	_OP_Goto@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_sqlite3VdbeAddOp0
	movl	%eax, %ebx
	movq	%r12, %rdi
	movl	%r15d, %esi
	callq	_sqlite3VdbeJumpHere
	movq	_OP_Last@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movl	4(%r14), %edx
	movq	%r12, %rdi
	callq	_sqlite3VdbeAddOp1
	movq	_OP_Delete@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	4(%r14), %edx
	movq	%r12, %rdi
	callq	_sqlite3VdbeAddOp1
	movq	%r12, %rdi
	movl	%ebx, %esi
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_sqlite3VdbeJumpHere            ## TAILCALL
LBB0_4:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OP_Sequence,4,2                ## @OP_Sequence
	.comm	_OP_MakeRecord,4,2              ## @OP_MakeRecord
	.comm	_SF_UseSorter,4,2               ## @SF_UseSorter
	.comm	_OP_SorterInsert,4,2            ## @OP_SorterInsert
	.comm	_OP_IdxInsert,4,2               ## @OP_IdxInsert
	.comm	_OP_IfZero,4,2                  ## @OP_IfZero
	.comm	_OP_AddImm,4,2                  ## @OP_AddImm
	.comm	_OP_Goto,4,2                    ## @OP_Goto
	.comm	_OP_Last,4,2                    ## @OP_Last
	.comm	_OP_Delete,4,2                  ## @OP_Delete
	.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:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x26, x3
	mov	x21, x2
	mov	x20, x1
	mov	x22, x0
	ldr	x19, [x0]
	ldr	w27, [x1]
	add	w23, w27, #2
	mov	x1, x23
	bl	_sqlite3GetTempRange
	mov	x24, x0
	mov	x0, x22
	bl	_sqlite3GetTempReg
	mov	x25, x0
	mov	x0, x22
	bl	_sqlite3ExprCacheClear
	mov	x0, x22
	mov	x1, x20
	mov	x2, x24
	mov	w3, #0
	bl	_sqlite3ExprCodeExprList
Lloh0:
	adrp	x8, _OP_Sequence@GOTPAGE
Lloh1:
	ldr	x8, [x8, _OP_Sequence@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	ldr	w2, [x20, #4]
	add	w27, w24, w27
	mov	x0, x19
	mov	x3, x27
	bl	_sqlite3VdbeAddOp2
	add	w2, w27, #1
	mov	x0, x22
	mov	x1, x26
	mov	w3, #1
	bl	_sqlite3ExprCodeMove
Lloh3:
	adrp	x8, _OP_MakeRecord@GOTPAGE
Lloh4:
	ldr	x8, [x8, _OP_MakeRecord@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x24
	mov	x3, x23
	mov	x4, x25
	bl	_sqlite3VdbeAddOp3
	ldr	w8, [x21]
Lloh6:
	adrp	x9, _SF_UseSorter@GOTPAGE
Lloh7:
	ldr	x9, [x9, _SF_UseSorter@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
Lloh9:
	adrp	x10, _OP_IdxInsert@GOTPAGE
Lloh10:
	ldr	x10, [x10, _OP_IdxInsert@GOTPAGEOFF]
Lloh11:
	adrp	x11, _OP_SorterInsert@GOTPAGE
Lloh12:
	ldr	x11, [x11, _OP_SorterInsert@GOTPAGEOFF]
	tst	w9, w8
	csel	x8, x10, x11, eq
	ldr	w1, [x8]
	ldr	w2, [x20, #4]
	mov	x0, x19
	mov	x3, x25
	bl	_sqlite3VdbeAddOp2
	mov	x0, x22
	mov	x1, x25
	bl	_sqlite3ReleaseTempReg
	mov	x0, x22
	mov	x1, x24
	mov	x2, x23
	bl	_sqlite3ReleaseTempRange
	ldr	w8, [x21, #4]
	cbz	w8, LBB0_2
; %bb.1:
	ldr	w9, [x21, #8]
	cmp	w9, #0
	csinc	w21, w8, w9, eq
Lloh13:
	adrp	x8, _OP_IfZero@GOTPAGE
Lloh14:
	ldr	x8, [x8, _OP_IfZero@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x21
	bl	_sqlite3VdbeAddOp1
	mov	x22, x0
Lloh16:
	adrp	x8, _OP_AddImm@GOTPAGE
Lloh17:
	ldr	x8, [x8, _OP_AddImm@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x21
	mov	w3, #-1
	bl	_sqlite3VdbeAddOp2
Lloh19:
	adrp	x8, _OP_Goto@GOTPAGE
Lloh20:
	ldr	x8, [x8, _OP_Goto@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_sqlite3VdbeAddOp0
	mov	x21, x0
	mov	x0, x19
	mov	x1, x22
	bl	_sqlite3VdbeJumpHere
Lloh22:
	adrp	x8, _OP_Last@GOTPAGE
Lloh23:
	ldr	x8, [x8, _OP_Last@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
	ldr	w2, [x20, #4]
	mov	x0, x19
	bl	_sqlite3VdbeAddOp1
Lloh25:
	adrp	x8, _OP_Delete@GOTPAGE
Lloh26:
	ldr	x8, [x8, _OP_Delete@GOTPAGEOFF]
Lloh27:
	ldr	w1, [x8]
	ldr	w2, [x20, #4]
	mov	x0, x19
	bl	_sqlite3VdbeAddOp1
	mov	x0, x19
	mov	x1, x21
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_sqlite3VdbeJumpHere
LBB0_2:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_OP_Sequence,4,2                ; @OP_Sequence
	.comm	_OP_MakeRecord,4,2              ; @OP_MakeRecord
	.comm	_SF_UseSorter,4,2               ; @SF_UseSorter
	.comm	_OP_SorterInsert,4,2            ; @OP_SorterInsert
	.comm	_OP_IdxInsert,4,2               ; @OP_IdxInsert
	.comm	_OP_IfZero,4,2                  ; @OP_IfZero
	.comm	_OP_AddImm,4,2                  ; @OP_AddImm
	.comm	_OP_Goto,4,2                    ; @OP_Goto
	.comm	_OP_Last,4,2                    ; @OP_Last
	.comm	_OP_Delete,4,2                  ; @OP_Delete
	.no_dead_strip	_pushOntoSorter
.subsections_via_symbols
