	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function clearSelect
_clearSelect:                           ## @clearSelect
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rsi, %rsi
	je	LBB0_13
## %bb.1:
	movl	%edx, %r12d
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	48(%rsi), %rbx
	movl	40(%rsi), %esi
	callq	_sqlite3ExprListDelete
	movl	36(%r15), %esi
	movq	%r14, %rdi
	callq	_sqlite3SrcListDelete
	movl	32(%r15), %esi
	movq	%r14, %rdi
	callq	_sqlite3ExprDelete
	movl	28(%r15), %esi
	movq	%r14, %rdi
	callq	_sqlite3ExprListDelete
	movl	24(%r15), %esi
	movq	%r14, %rdi
	callq	_sqlite3ExprDelete
	movl	20(%r15), %esi
	movq	%r14, %rdi
	callq	_sqlite3ExprListDelete
	movl	16(%r15), %esi
	movq	%r14, %rdi
	callq	_sqlite3ExprDelete
	movl	12(%r15), %edi
	callq	_OK_IF_ALWAYS_TRUE
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movl	12(%r15), %esi
	movq	%r14, %rdi
	callq	_sqlite3WindowListDelete
LBB0_3:
	xorl	%edi, %edi
	cmpq	$0, (%r15)
	sete	%dil
	callq	_assert
	movl	8(%r15), %edi
	callq	_OK_IF_ALWAYS_TRUE
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movl	8(%r15), %esi
	movq	%r14, %rdi
	callq	_sqlite3WithDelete
LBB0_5:
	testl	%r12d, %r12d
	je	LBB0_7
## %bb.6:
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_sqlite3DbFreeNN
LBB0_7:
	testq	%rbx, %rbx
	jne	LBB0_8
LBB0_13:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_sqlite3DbFreeNN
	movq	%r15, %rbx
	testq	%r15, %r15
	je	LBB0_13
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	48(%rbx), %r15
	movl	40(%rbx), %esi
	movq	%r14, %rdi
	callq	_sqlite3ExprListDelete
	movl	36(%rbx), %esi
	movq	%r14, %rdi
	callq	_sqlite3SrcListDelete
	movl	32(%rbx), %esi
	movq	%r14, %rdi
	callq	_sqlite3ExprDelete
	movl	28(%rbx), %esi
	movq	%r14, %rdi
	callq	_sqlite3ExprListDelete
	movl	24(%rbx), %esi
	movq	%r14, %rdi
	callq	_sqlite3ExprDelete
	movl	20(%rbx), %esi
	movq	%r14, %rdi
	callq	_sqlite3ExprListDelete
	movl	16(%rbx), %esi
	movq	%r14, %rdi
	callq	_sqlite3ExprDelete
	movl	12(%rbx), %edi
	callq	_OK_IF_ALWAYS_TRUE
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	movl	12(%rbx), %esi
	movq	%r14, %rdi
	callq	_sqlite3WindowListDelete
LBB0_10:                                ##   in Loop: Header=BB0_8 Depth=1
	xorl	%edi, %edi
	cmpq	$0, (%rbx)
	sete	%dil
	callq	_assert
	movl	8(%rbx), %edi
	callq	_OK_IF_ALWAYS_TRUE
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_8 Depth=1
	movl	8(%rbx), %esi
	movq	%r14, %rdi
	callq	_sqlite3WithDelete
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_clearSelect
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function clearSelect
_clearSelect:                           ; @clearSelect
	.cfi_startproc
; %bb.0:
	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
	cbz	x1, LBB0_8
; %bb.1:
	mov	x22, x2
	mov	x21, x1
	mov	x19, x0
	ldr	x20, [x1, #48]
	ldr	w1, [x1, #40]
	bl	_sqlite3ExprListDelete
	ldr	w1, [x21, #36]
	mov	x0, x19
	bl	_sqlite3SrcListDelete
	ldr	w1, [x21, #32]
	mov	x0, x19
	bl	_sqlite3ExprDelete
	ldr	w1, [x21, #28]
	mov	x0, x19
	bl	_sqlite3ExprListDelete
	ldr	w1, [x21, #24]
	mov	x0, x19
	bl	_sqlite3ExprDelete
	ldr	w1, [x21, #20]
	mov	x0, x19
	bl	_sqlite3ExprListDelete
	ldr	w1, [x21, #16]
	mov	x0, x19
	bl	_sqlite3ExprDelete
	ldr	w0, [x21, #12]
	bl	_OK_IF_ALWAYS_TRUE
	cbz	x0, LBB0_3
; %bb.2:
	ldr	w1, [x21, #12]
	mov	x0, x19
	bl	_sqlite3WindowListDelete
LBB0_3:
	ldr	x8, [x21]
	cmp	x8, #0
	cset	w0, eq
	bl	_assert
	ldr	w0, [x21, #8]
	bl	_OK_IF_ALWAYS_TRUE
	cbz	x0, LBB0_5
; %bb.4:
	ldr	w1, [x21, #8]
	mov	x0, x19
	bl	_sqlite3WithDelete
LBB0_5:
	cbz	w22, LBB0_7
; %bb.6:
	mov	x0, x19
	mov	x1, x21
	bl	_sqlite3DbFreeNN
LBB0_7:
	cbnz	x20, LBB0_10
LBB0_8:
	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
	ret
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, x19
	mov	x1, x20
	bl	_sqlite3DbFreeNN
	mov	x20, x21
	cbz	x21, LBB0_8
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	x21, [x20, #48]
	ldr	w1, [x20, #40]
	mov	x0, x19
	bl	_sqlite3ExprListDelete
	ldr	w1, [x20, #36]
	mov	x0, x19
	bl	_sqlite3SrcListDelete
	ldr	w1, [x20, #32]
	mov	x0, x19
	bl	_sqlite3ExprDelete
	ldr	w1, [x20, #28]
	mov	x0, x19
	bl	_sqlite3ExprListDelete
	ldr	w1, [x20, #24]
	mov	x0, x19
	bl	_sqlite3ExprDelete
	ldr	w1, [x20, #20]
	mov	x0, x19
	bl	_sqlite3ExprListDelete
	ldr	w1, [x20, #16]
	mov	x0, x19
	bl	_sqlite3ExprDelete
	ldr	w0, [x20, #12]
	bl	_OK_IF_ALWAYS_TRUE
	cbz	x0, LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	w1, [x20, #12]
	mov	x0, x19
	bl	_sqlite3WindowListDelete
LBB0_12:                                ;   in Loop: Header=BB0_10 Depth=1
	ldr	x8, [x20]
	cmp	x8, #0
	cset	w0, eq
	bl	_assert
	ldr	w0, [x20, #8]
	bl	_OK_IF_ALWAYS_TRUE
	cbz	x0, LBB0_9
; %bb.13:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	w1, [x20, #8]
	mov	x0, x19
	bl	_sqlite3WithDelete
	b	LBB0_9
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_clearSelect
.subsections_via_symbols
