	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function resolveP2Values
_resolveP2Values:                       ## @resolveP2Values
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r12
	movl	(%rsi), %r13d
	movq	(%rdi), %rsi
	movl	$1, 8(%rdi)
	movl	12(%rdi), %ebx
	testl	%ebx, %ebx
	jle	LBB0_25
## %bb.1:
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	movq	24(%r12), %r14
	movl	$1, %r15d
	subl	%ebx, %r15d
	incl	%ebx
	addq	$32, %r14
	movq	_sqlite3OpcodeProperty@GOTPCREL(%rip), %rdx
	movq	_OP_Function@GOTPCREL(%rip), %rsi
	movq	_OP_AggStep@GOTPCREL(%rip), %r9
	movq	_OPFLG_JUMP@GOTPCREL(%rip), %r8
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_23:                                ##   in Loop: Header=BB0_2 Depth=1
	decl	%ebx
	incl	%r15d
	addq	$40, %r14
	cmpl	$1, %ebx
	jbe	LBB0_24
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	-32(%r14), %rcx
	movq	(%rdx), %rax
	movl	(%rax,%rcx,4), %eax
	movl	%eax, -24(%r14)
	cmpq	(%rsi), %rcx
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	(%r9), %rcx
	je	LBB0_4
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_OP_Transaction@GOTPCREL(%rip), %rdi
	cmpq	(%rdi), %rcx
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$0, -16(%r14)
	jne	LBB0_9
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_OP_Vacuum@GOTPCREL(%rip), %rdi
	cmpq	(%rdi), %rcx
	je	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_OP_VUpdate@GOTPCREL(%rip), %rdi
	cmpq	(%rdi), %rcx
	jne	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	-16(%r14), %ecx
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	-20(%r14), %ecx
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%r13d, %ecx
	cmovgl	%ecx, %r13d
	jmp	LBB0_20
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	$0, 8(%r12)
LBB0_20:                                ##   in Loop: Header=BB0_2 Depth=1
	testl	%eax, (%r8)
	je	LBB0_23
## %bb.21:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	-16(%r14), %eax
	testl	%eax, %eax
	jns	LBB0_23
## %bb.22:                              ##   in Loop: Header=BB0_2 Depth=1
	notl	%eax
	xorl	%edi, %edi
	cmpl	%eax, 16(%r12)
	setg	%dil
	callq	_assert
	movq	_OPFLG_JUMP@GOTPCREL(%rip), %r8
	movq	_OP_AggStep@GOTPCREL(%rip), %r9
	movq	_OP_Function@GOTPCREL(%rip), %rsi
	movq	_sqlite3OpcodeProperty@GOTPCREL(%rip), %rdx
	movslq	-16(%r14), %rax
	notq	%rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rcx,%rax,4), %eax
	movl	%eax, -16(%r14)
	jmp	LBB0_23
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_OP_VFilter@GOTPCREL(%rip), %rdi
	cmpq	(%rdi), %rcx
	jne	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	12(%r12), %eax
	addl	%r15d, %eax
	xorl	%edi, %edi
	cmpl	$3, %eax
	setge	%dil
	callq	_assert
	movq	-72(%r14), %rax
	xorl	%edi, %edi
	movq	_OP_Integer@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	sete	%dil
	callq	_assert
	movq	_OPFLG_JUMP@GOTPCREL(%rip), %r8
	movq	_OP_AggStep@GOTPCREL(%rip), %r9
	movq	_OP_Function@GOTPCREL(%rip), %rsi
	movq	_sqlite3OpcodeProperty@GOTPCREL(%rip), %rdx
	movl	-52(%r14), %ecx
	movl	-24(%r14), %eax
	jmp	LBB0_5
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_OP_Next@GOTPCREL(%rip), %rdi
	cmpq	(%rdi), %rcx
	je	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_OP_SorterNext@GOTPCREL(%rip), %rdi
	cmpq	(%rdi), %rcx
	je	LBB0_16
## %bb.17:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_OP_Prev@GOTPCREL(%rip), %rdi
	cmpq	(%rdi), %rcx
	jne	LBB0_20
## %bb.18:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_sqlite3BtreePrevious@GOTPCREL(%rip), %rcx
	jmp	LBB0_19
LBB0_16:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_sqlite3BtreeNext@GOTPCREL(%rip), %rcx
LBB0_19:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rcx), %ecx
	movl	%ecx, (%r14)
	movq	_P4_ADVANCE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, -8(%r14)
	jmp	LBB0_20
LBB0_24:
	movq	(%r12), %rsi
	movq	-48(%rbp), %r14                 ## 8-byte Reload
LBB0_25:
	movl	20(%r12), %edi
	callq	_sqlite3DbFree
	movq	$0, (%r12)
	movl	%r13d, (%r14)
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_sqlite3OpcodeProperty,8,3      ## @sqlite3OpcodeProperty
	.comm	_OP_Function,8,3                ## @OP_Function
	.comm	_OP_AggStep,8,3                 ## @OP_AggStep
	.comm	_OP_Transaction,8,3             ## @OP_Transaction
	.comm	_OP_Vacuum,8,3                  ## @OP_Vacuum
	.comm	_OP_VUpdate,8,3                 ## @OP_VUpdate
	.comm	_OP_VFilter,8,3                 ## @OP_VFilter
	.comm	_OP_Integer,8,3                 ## @OP_Integer
	.comm	_OP_Next,8,3                    ## @OP_Next
	.comm	_OP_SorterNext,8,3              ## @OP_SorterNext
	.comm	_sqlite3BtreeNext,4,2           ## @sqlite3BtreeNext
	.comm	_P4_ADVANCE,8,3                 ## @P4_ADVANCE
	.comm	_OP_Prev,8,3                    ## @OP_Prev
	.comm	_sqlite3BtreePrevious,4,2       ## @sqlite3BtreePrevious
	.comm	_OPFLG_JUMP,4,2                 ## @OPFLG_JUMP
	.no_dead_strip	_resolveP2Values
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function resolveP2Values
_resolveP2Values:                       ; @resolveP2Values
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x19, x1
	mov	x20, x0
	ldr	w22, [x1]
	ldr	x21, [x0]
	mov	w8, #1
	str	w8, [x0, #8]
	ldr	w9, [x0, #12]
	cmp	w9, #1
	b.lt	LBB0_24
; %bb.1:
	str	x19, [sp, #8]                   ; 8-byte Folded Spill
	ldr	x10, [x20, #24]
	add	w23, w9, #1
Lloh0:
	adrp	x24, _sqlite3OpcodeProperty@GOTPAGE
Lloh1:
	ldr	x24, [x24, _sqlite3OpcodeProperty@GOTPAGEOFF]
	sub	w25, w8, w9
	add	x26, x10, #32
Lloh2:
	adrp	x27, _OP_Function@GOTPAGE
Lloh3:
	ldr	x27, [x27, _OP_Function@GOTPAGEOFF]
Lloh4:
	adrp	x28, _OP_AggStep@GOTPAGE
Lloh5:
	ldr	x28, [x28, _OP_AggStep@GOTPAGEOFF]
Lloh6:
	adrp	x19, _OPFLG_JUMP@GOTPAGE
Lloh7:
	ldr	x19, [x19, _OPFLG_JUMP@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	sub	w23, w23, #1
	add	w25, w25, #1
	add	x26, x26, #40
	cmp	w23, #1
	b.ls	LBB0_23
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldur	x9, [x26, #-32]
	ldr	x8, [x24]
	ldr	w8, [x8, x9, lsl #2]
	stur	w8, [x26, #-24]
	ldr	x10, [x27]
	ldr	x11, [x28]
	cmp	x9, x10
	ccmp	x9, x11, #4, ne
	b.ne	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldur	w9, [x26, #-20]
	b	LBB0_10
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
Lloh8:
	adrp	x10, _OP_Transaction@GOTPAGE
Lloh9:
	ldr	x10, [x10, _OP_Transaction@GOTPAGEOFF]
Lloh10:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldur	w10, [x26, #-16]
	cbnz	w10, LBB0_11
LBB0_7:                                 ;   in Loop: Header=BB0_3 Depth=1
Lloh11:
	adrp	x10, _OP_Vacuum@GOTPAGE
Lloh12:
	ldr	x10, [x10, _OP_Vacuum@GOTPAGEOFF]
Lloh13:
	ldr	x10, [x10]
	cmp	x9, x10
	b.eq	LBB0_11
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
Lloh14:
	adrp	x10, _OP_VUpdate@GOTPAGE
Lloh15:
	ldr	x10, [x10, _OP_VUpdate@GOTPAGEOFF]
Lloh16:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_12
; %bb.9:                                ;   in Loop: Header=BB0_3 Depth=1
	ldur	w9, [x26, #-16]
LBB0_10:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w9, w22
	csel	w22, w9, w22, gt
	b	LBB0_20
LBB0_11:                                ;   in Loop: Header=BB0_3 Depth=1
	str	wzr, [x20, #8]
	b	LBB0_20
LBB0_12:                                ;   in Loop: Header=BB0_3 Depth=1
Lloh17:
	adrp	x10, _OP_VFilter@GOTPAGE
Lloh18:
	ldr	x10, [x10, _OP_VFilter@GOTPAGEOFF]
Lloh19:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x20, #12]
	add	w8, w25, w8
	cmp	w8, #2
	cset	w0, gt
	bl	_assert
	ldur	x8, [x26, #-72]
Lloh20:
	adrp	x9, _OP_Integer@GOTPAGE
Lloh21:
	ldr	x9, [x9, _OP_Integer@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, eq
	bl	_assert
	ldur	w8, [x26, #-52]
	cmp	w8, w22
	csel	w22, w8, w22, gt
	ldur	w8, [x26, #-24]
	b	LBB0_20
LBB0_14:                                ;   in Loop: Header=BB0_3 Depth=1
Lloh23:
	adrp	x10, _OP_Next@GOTPAGE
Lloh24:
	ldr	x10, [x10, _OP_Next@GOTPAGEOFF]
Lloh25:
	ldr	x10, [x10]
	cmp	x9, x10
	b.eq	LBB0_18
; %bb.15:                               ;   in Loop: Header=BB0_3 Depth=1
Lloh26:
	adrp	x10, _OP_SorterNext@GOTPAGE
Lloh27:
	ldr	x10, [x10, _OP_SorterNext@GOTPAGEOFF]
Lloh28:
	ldr	x10, [x10]
	cmp	x9, x10
	b.eq	LBB0_18
; %bb.16:                               ;   in Loop: Header=BB0_3 Depth=1
Lloh29:
	adrp	x10, _OP_Prev@GOTPAGE
Lloh30:
	ldr	x10, [x10, _OP_Prev@GOTPAGEOFF]
Lloh31:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_20
; %bb.17:                               ;   in Loop: Header=BB0_3 Depth=1
Lloh32:
	adrp	x9, _sqlite3BtreePrevious@GOTPAGE
Lloh33:
	ldr	x9, [x9, _sqlite3BtreePrevious@GOTPAGEOFF]
	b	LBB0_19
LBB0_18:                                ;   in Loop: Header=BB0_3 Depth=1
Lloh34:
	adrp	x9, _sqlite3BtreeNext@GOTPAGE
Lloh35:
	ldr	x9, [x9, _sqlite3BtreeNext@GOTPAGEOFF]
LBB0_19:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w9, [x9]
	str	w9, [x26]
Lloh36:
	adrp	x9, _P4_ADVANCE@GOTPAGE
Lloh37:
	ldr	x9, [x9, _P4_ADVANCE@GOTPAGEOFF]
Lloh38:
	ldr	x9, [x9]
	stur	x9, [x26, #-8]
LBB0_20:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w9, [x19]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.21:                               ;   in Loop: Header=BB0_3 Depth=1
	ldur	w8, [x26, #-16]
	tbz	w8, #31, LBB0_2
; %bb.22:                               ;   in Loop: Header=BB0_3 Depth=1
	mvn	w8, w8
	ldr	w9, [x20, #16]
	cmp	w9, w8
	cset	w0, gt
	bl	_assert
	ldur	w8, [x26, #-16]
	mvn	w8, w8
	ldr	w8, [x21, w8, sxtw #2]
	stur	w8, [x26, #-16]
	b	LBB0_2
LBB0_23:
	ldr	x21, [x20]
	ldr	x19, [sp, #8]                   ; 8-byte Folded Reload
LBB0_24:
	ldr	w0, [x20, #20]
	mov	x1, x21
	bl	_sqlite3DbFree
	str	xzr, [x20]
	str	w22, [x19]
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.cfi_endproc
                                        ; -- End function
	.comm	_sqlite3OpcodeProperty,8,3      ; @sqlite3OpcodeProperty
	.comm	_OP_Function,8,3                ; @OP_Function
	.comm	_OP_AggStep,8,3                 ; @OP_AggStep
	.comm	_OP_Transaction,8,3             ; @OP_Transaction
	.comm	_OP_Vacuum,8,3                  ; @OP_Vacuum
	.comm	_OP_VUpdate,8,3                 ; @OP_VUpdate
	.comm	_OP_VFilter,8,3                 ; @OP_VFilter
	.comm	_OP_Integer,8,3                 ; @OP_Integer
	.comm	_OP_Next,8,3                    ; @OP_Next
	.comm	_OP_SorterNext,8,3              ; @OP_SorterNext
	.comm	_sqlite3BtreeNext,4,2           ; @sqlite3BtreeNext
	.comm	_P4_ADVANCE,8,3                 ; @P4_ADVANCE
	.comm	_OP_Prev,8,3                    ; @OP_Prev
	.comm	_sqlite3BtreePrevious,4,2       ; @sqlite3BtreePrevious
	.comm	_OPFLG_JUMP,4,2                 ; @OPFLG_JUMP
	.no_dead_strip	_resolveP2Values
.subsections_via_symbols
