	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function minmaxStep
_minmaxStep:                            ## @minmaxStep
	.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	%rdi, %r15
	movq	(%rdx), %r14
	movl	%esi, %edi
	callq	_UNUSED_PARAMETER
	movq	%r15, %rdi
	movl	$16, %esi
	callq	_sqlite3_aggregate_context
	testq	%rax, %rax
	je	LBB0_9
## %bb.1:
	movq	%rax, %rbx
	movq	%r14, %rdi
	callq	_sqlite3_value_type
	movq	_SQLITE_NULL@GOTPCREL(%rip), %rdx
	movq	8(%rbx), %rcx
	cmpq	(%rdx), %rax
	jne	LBB0_4
## %bb.2:
	testq	%rcx, %rcx
	je	LBB0_9
LBB0_3:
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_sqlite3SkipAccumulatorLoad     ## TAILCALL
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	testq	%rcx, %rcx
	je	LBB0_10
## %bb.5:
	movq	%r15, %rdi
	callq	_sqlite3GetFuncCollSeq
	movq	%rax, %r13
	movq	%r15, %rdi
	callq	_sqlite3_user_data
	movq	%rax, %r12
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movq	%r13, %rdx
	callq	_sqlite3MemCompare
	testq	%r12, %r12
	je	LBB0_7
## %bb.6:
	testl	%eax, %eax
	js	LBB0_11
LBB0_7:
	testq	%r12, %r12
	jne	LBB0_3
## %bb.8:
	testl	%eax, %eax
	jg	LBB0_11
	jmp	LBB0_3
LBB0_10:
	movq	%r15, %rdi
	callq	_sqlite3_context_db_handle
	movl	%eax, (%rbx)
LBB0_11:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_sqlite3VdbeMemCopy             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SQLITE_NULL,8,3                ## @SQLITE_NULL
	.no_dead_strip	_minmaxStep
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function minmaxStep
_minmaxStep:                            ; @minmaxStep
	.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	x20, x0
	ldr	x19, [x2]
	mov	x0, x1
	bl	_UNUSED_PARAMETER
	mov	x0, x20
	mov	w1, #16
	bl	_sqlite3_aggregate_context
	cbz	x0, LBB0_4
; %bb.1:
	mov	x21, x0
	mov	x0, x19
	bl	_sqlite3_value_type
Lloh0:
	adrp	x8, _SQLITE_NULL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SQLITE_NULL@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x8]
	ldr	x8, [x21, #8]
	cmp	x0, x9
	b.ne	LBB0_5
; %bb.2:
	cbz	x8, LBB0_4
LBB0_3:
	mov	x0, x20
	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
	b	_sqlite3SkipAccumulatorLoad
LBB0_4:
	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_5:
	cbz	x8, LBB0_10
; %bb.6:
	mov	x0, x20
	bl	_sqlite3GetFuncCollSeq
	mov	x23, x0
	mov	x0, x20
	bl	_sqlite3_user_data
	mov	x22, x0
	mov	x0, x21
	mov	x1, x19
	mov	x2, x23
	bl	_sqlite3MemCompare
	cbz	x22, LBB0_8
; %bb.7:
	tbnz	w0, #31, LBB0_11
LBB0_8:
	cbnz	x22, LBB0_3
; %bb.9:
	cmp	w0, #1
	b.ge	LBB0_11
	b	LBB0_3
LBB0_10:
	mov	x0, x20
	bl	_sqlite3_context_db_handle
	str	w0, [x21]
LBB0_11:
	mov	x0, x21
	mov	x1, x19
	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
	b	_sqlite3VdbeMemCopy
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SQLITE_NULL,8,3                ; @SQLITE_NULL
	.no_dead_strip	_minmaxStep
.subsections_via_symbols
