	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function whereLoopClearUnion
_whereLoopClearUnion:                   ## @whereLoopClearUnion
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movl	(%rsi), %eax
	movq	_WHERE_VIRTUALTABLE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	_WHERE_AUTO_INDEX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, %esi
	orl	%edx, %esi
	testl	%eax, %esi
	je	LBB0_7
## %bb.1:
	movq	%rdi, %r14
	testl	%eax, %edx
	je	LBB0_4
## %bb.2:
	cmpq	$0, 24(%rbx)
	je	LBB0_4
## %bb.3:
	movq	16(%rbx), %rdi
	callq	_sqlite3_free
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rbx)
	jmp	LBB0_7
LBB0_4:
	testl	%eax, %ecx
	je	LBB0_7
## %bb.5:
	movq	8(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_sqlite3DbFree
	movq	8(%rbx), %rsi
	movq	%r14, %rdi
	callq	_sqlite3DbFreeNN
	movq	$0, 8(%rbx)
LBB0_7:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WHERE_VIRTUALTABLE,4,2         ## @WHERE_VIRTUALTABLE
	.comm	_WHERE_AUTO_INDEX,4,2           ## @WHERE_AUTO_INDEX
	.no_dead_strip	_whereLoopClearUnion
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function whereLoopClearUnion
_whereLoopClearUnion:                   ; @whereLoopClearUnion
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	w8, [x1]
Lloh0:
	adrp	x9, _WHERE_VIRTUALTABLE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _WHERE_VIRTUALTABLE@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x9]
Lloh3:
	adrp	x9, _WHERE_AUTO_INDEX@GOTPAGE
Lloh4:
	ldr	x9, [x9, _WHERE_AUTO_INDEX@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w11, w9, w10
	tst	w11, w8
	b.eq	LBB0_7
; %bb.1:
	mov	x19, x1
	mov	x20, x0
	tst	w10, w8
	b.eq	LBB0_4
; %bb.2:
	ldr	x10, [x19, #24]
	cbz	x10, LBB0_4
; %bb.3:
	ldr	x0, [x19, #16]
	bl	_sqlite3_free
	stp	xzr, xzr, [x19, #16]
	b	LBB0_7
LBB0_4:
	tst	w9, w8
	b.eq	LBB0_7
; %bb.5:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_7
; %bb.6:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_sqlite3DbFree
	ldr	x1, [x19, #8]
	mov	x0, x20
	bl	_sqlite3DbFreeNN
	str	xzr, [x19, #8]
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_WHERE_VIRTUALTABLE,4,2         ; @WHERE_VIRTUALTABLE
	.comm	_WHERE_AUTO_INDEX,4,2           ; @WHERE_AUTO_INDEX
	.no_dead_strip	_whereLoopClearUnion
.subsections_via_symbols
