	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sqlite3SelectExpand
_sqlite3SelectExpand:                   ## @sqlite3SelectExpand
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -24
	movq	%rsi, %rbx
	movq	_sqlite3ExprWalkNoop@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -16(%rbp)
	movq	%rdi, -24(%rbp)
	movl	(%rdi), %edi
	callq	_OK_IF_ALWAYS_TRUE
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_convertCompoundSelectToSubquery@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -32(%rbp)
	movq	$0, -40(%rbp)
	leaq	-48(%rbp), %rdi
	movq	%rbx, %rsi
	callq	_sqlite3WalkSelect
LBB0_2:
	movq	_selectExpander@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -32(%rbp)
	movq	_selectPopWith@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	movq	$0, -48(%rbp)
	leaq	-48(%rbp), %rdi
	movq	%rbx, %rsi
	callq	_sqlite3WalkSelect
	addq	$40, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_sqlite3ExprWalkNoop,4,2        ## @sqlite3ExprWalkNoop
	.comm	_convertCompoundSelectToSubquery,4,2 ## @convertCompoundSelectToSubquery
	.comm	_selectExpander,4,2             ## @selectExpander
	.comm	_selectPopWith,8,3              ## @selectPopWith
	.no_dead_strip	_sqlite3SelectExpand
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sqlite3SelectExpand
_sqlite3SelectExpand:                   ; @sqlite3SelectExpand
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
Lloh0:
	adrp	x8, _sqlite3ExprWalkNoop@GOTPAGE
Lloh1:
	ldr	x8, [x8, _sqlite3ExprWalkNoop@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #40]
	str	x0, [sp, #32]
	ldr	w0, [x0]
	bl	_OK_IF_ALWAYS_TRUE
	cbz	x0, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _convertCompoundSelectToSubquery@GOTPAGE
Lloh4:
	ldr	x8, [x8, _convertCompoundSelectToSubquery@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [sp, #24]
	str	xzr, [sp, #16]
	add	x0, sp, #8
	mov	x1, x19
	bl	_sqlite3WalkSelect
LBB0_2:
Lloh6:
	adrp	x8, _selectExpander@GOTPAGE
Lloh7:
	ldr	x8, [x8, _selectExpander@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	str	w8, [sp, #24]
Lloh9:
	adrp	x8, _selectPopWith@GOTPAGE
Lloh10:
	ldr	x8, [x8, _selectPopWith@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	stp	xzr, x8, [sp, #8]
	add	x0, sp, #8
	mov	x1, x19
	bl	_sqlite3WalkSelect
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_sqlite3ExprWalkNoop,4,2        ; @sqlite3ExprWalkNoop
	.comm	_convertCompoundSelectToSubquery,4,2 ; @convertCompoundSelectToSubquery
	.comm	_selectExpander,4,2             ; @selectExpander
	.comm	_selectPopWith,8,3              ; @selectPopWith
	.no_dead_strip	_sqlite3SelectExpand
.subsections_via_symbols
