	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vdbeFreeOpArray
_vdbeFreeOpArray:                       ## @vdbeFreeOpArray
	.cfi_startproc
## %bb.0:
	testq	%rsi, %rsi
	je	LBB0_7
## %bb.1:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %ebx
	movq	%rsi, %r14
	movq	%rdi, %r15
	testl	%edx, %edx
	jle	LBB0_6
## %bb.2:
	decl	%ebx
	shlq	$4, %rbx
	addq	%r14, %rbx
	movq	_P4_FREE_IF_LE@GOTPCREL(%rip), %r12
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	addq	$-16, %rbx
	cmpq	%r14, %rbx
	jb	LBB0_6
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rsi
	cmpq	(%r12), %rsi
	jg	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	12(%rbx), %edx
	movq	%r15, %rdi
	callq	_freeP4
	jmp	LBB0_5
LBB0_6:
	movq	%r15, %rdi
	movq	%r14, %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_sqlite3DbFreeNN                ## TAILCALL
LBB0_7:
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_P4_FREE_IF_LE,8,3              ## @P4_FREE_IF_LE
	.no_dead_strip	_vdbeFreeOpArray
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vdbeFreeOpArray
_vdbeFreeOpArray:                       ; @vdbeFreeOpArray
	.cfi_startproc
; %bb.0:
	cbz	x1, LBB0_7
; %bb.1:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x1
	mov	x20, x0
	subs	w8, w2, #1
	b.lt	LBB0_6
; %bb.2:
	add	x21, x19, w8, uxtw #4
Lloh0:
	adrp	x22, _P4_FREE_IF_LE@GOTPAGE
Lloh1:
	ldr	x22, [x22, _P4_FREE_IF_LE@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	sub	x21, x21, #16
	cmp	x21, x19
	b.lo	LBB0_6
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x1, [x21]
	ldr	x8, [x22]
	cmp	x1, x8
	b.gt	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w2, [x21, #12]
	mov	x0, x20
	bl	_freeP4
	b	LBB0_3
LBB0_6:
	mov	x0, x20
	mov	x1, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_sqlite3DbFreeNN
LBB0_7:
	.cfi_def_cfa wsp, 0
	.cfi_same_value w30
	.cfi_same_value w29
	.cfi_same_value w19
	.cfi_same_value w20
	.cfi_same_value w21
	.cfi_same_value w22
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_P4_FREE_IF_LE,8,3              ; @P4_FREE_IF_LE
	.no_dead_strip	_vdbeFreeOpArray
.subsections_via_symbols
