	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function generateColumnNames
_generateColumnNames:                   ## @generateColumnNames
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpq	$0, 8(%rdi)
	jne	LBB0_25
## %bb.1:
	movq	%rdi, %r15
	cmpl	$0, (%rdi)
	je	LBB0_2
LBB0_25:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	16(%r15), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	24(%r15), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rsi, %rbx
	movq	16(%rsi), %rsi
	testq	%rsi, %rsi
	jne	LBB0_3
## %bb.4:
	leaq	L_.str(%rip), %rcx
	movl	$1, %edi
	movq	%r15, %rsi
	movq	%rbx, %rdx
	callq	_SELECTTRACE
	movq	(%rbx), %r14
	movq	8(%rbx), %rbx
	xorl	%edi, %edi
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	testq	%r12, %r12
	setne	%dil
	callq	_assert
	xorl	%edi, %edi
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	testq	%rbx, %rbx
	setne	%dil
	callq	_assert
	movq	%r15, -88(%rbp)                 ## 8-byte Spill
	movl	$1, (%r15)
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	movl	(%r15), %ecx
	movq	_SQLITE_FullColNames@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_SQLITE_ShortColNames@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%edx, -68(%rbp)                 ## 4-byte Spill
	orl	%edx, %eax
	movl	%ecx, -72(%rbp)                 ## 4-byte Spill
	testl	%ecx, %eax
	setne	-41(%rbp)                       ## 1-byte Folded Spill
	movl	(%r14), %esi
	movq	%r12, %rdi
	callq	_sqlite3VdbeSetNumCols
	cmpl	$0, (%r14)
	jle	LBB0_24
## %bb.5:
	xorl	%r12d, %r12d
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r14), %rax
	movq	16(%rax,%r12), %rbx
	xorl	%edi, %edi
	testq	%rbx, %rbx
	setne	%dil
	callq	_assert
	movq	(%rbx), %rax
	xorl	%edi, %edi
	movq	_TK_AGG_COLUMN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	setne	%dil
	callq	_assert
	movq	(%rbx), %rcx
	movb	$1, %al
	movq	_TK_COLUMN@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	cmpq	$0, 16(%rbx)
	setne	%al
LBB0_8:                                 ##   in Loop: Header=BB0_6 Depth=1
	movzbl	%al, %edi
	callq	_assert
	movq	8(%r14), %rax
	movq	(%rax,%r12), %rcx
	testq	%rcx, %rcx
	je	LBB0_10
LBB0_9:                                 ##   in Loop: Header=BB0_6 Depth=1
	movq	_COLNAME_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_SQLITE_TRANSIENT@GOTPCREL(%rip), %rax
	jmp	LBB0_22
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_6 Depth=1
	cmpb	$0, -41(%rbp)                   ## 1-byte Folded Reload
	je	LBB0_18
## %bb.11:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	(%rbx), %rcx
	movq	_TK_COLUMN@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_18
## %bb.12:                              ##   in Loop: Header=BB0_6 Depth=1
	movl	8(%rbx), %r15d
	movq	16(%rbx), %rbx
	xorl	%edi, %edi
	testq	%rbx, %rbx
	setne	%dil
	callq	_assert
	testl	%r15d, %r15d
	jns	LBB0_15
## %bb.13:                              ##   in Loop: Header=BB0_6 Depth=1
	movl	(%rbx), %r15d
	testl	%r15d, %r15d
	js	LBB0_14
LBB0_15:                                ##   in Loop: Header=BB0_6 Depth=1
	xorl	%edi, %edi
	cmpl	4(%rbx), %r15d
	setl	%dil
	callq	_assert
	movq	16(%rbx), %rax
	movl	%r15d, %ecx
	movq	(%rax,%rcx,8), %rcx
LBB0_16:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	movl	-68(%rbp), %eax                 ## 4-byte Reload
	testl	%eax, -72(%rbp)                 ## 4-byte Folded Reload
	je	LBB0_9
## %bb.17:                              ##   in Loop: Header=BB0_6 Depth=1
	movl	8(%rbx), %edx
	movq	%r15, %rdi
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_sqlite3MPrintf
	movq	_COLNAME_NAME@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	_SQLITE_DYNAMIC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%r13d, %esi
	movq	%rax, %rcx
	jmp	LBB0_23
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	8(%rax,%r12), %rsi
	testq	%rsi, %rsi
	je	LBB0_19
## %bb.20:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	%r15, %rdi
	callq	_sqlite3DbStrDup
	jmp	LBB0_21
LBB0_19:                                ##   in Loop: Header=BB0_6 Depth=1
	leal	1(%r13), %edx
	movq	%r15, %rdi
	leaq	L_.str.3(%rip), %rsi
	xorl	%eax, %eax
	callq	_sqlite3MPrintf
LBB0_21:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	%rax, %rcx
	movq	_COLNAME_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_SQLITE_DYNAMIC@GOTPCREL(%rip), %rax
LBB0_22:                                ##   in Loop: Header=BB0_6 Depth=1
	movl	(%rax), %r8d
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%r13d, %esi
LBB0_23:                                ##   in Loop: Header=BB0_6 Depth=1
	callq	_sqlite3VdbeSetColName
	incq	%r13
	movslq	(%r14), %rax
	addq	$24, %r12
	cmpq	%rax, %r13
	jl	LBB0_6
	jmp	LBB0_24
LBB0_14:                                ##   in Loop: Header=BB0_6 Depth=1
	xorl	%edi, %edi
	cmpl	$-1, %r15d
	sete	%dil
	callq	_assert
	leaq	L_.str.1(%rip), %rcx
	jmp	LBB0_16
LBB0_24:
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	movq	%r14, %rdx
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_generateColumnTypes            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"generating column names\n"

	.comm	_SQLITE_FullColNames,4,2        ## @SQLITE_FullColNames
	.comm	_SQLITE_ShortColNames,4,2       ## @SQLITE_ShortColNames
	.comm	_TK_AGG_COLUMN,8,3              ## @TK_AGG_COLUMN
	.comm	_TK_COLUMN,8,3                  ## @TK_COLUMN
	.comm	_COLNAME_NAME,4,2               ## @COLNAME_NAME
	.comm	_SQLITE_TRANSIENT,4,2           ## @SQLITE_TRANSIENT
L_.str.1:                               ## @.str.1
	.asciz	"rowid"

L_.str.2:                               ## @.str.2
	.asciz	"%s.%s"

	.comm	_SQLITE_DYNAMIC,4,2             ## @SQLITE_DYNAMIC
L_.str.3:                               ## @.str.3
	.asciz	"column%d"

	.no_dead_strip	_generateColumnNames
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function generateColumnNames
_generateColumnNames:                   ; @generateColumnNames
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	ldr	x8, [x0, #8]
	cbnz	x8, LBB0_2
; %bb.1:
	mov	x19, x0
	ldr	w8, [x0]
	cbz	w8, LBB0_3
LBB0_2:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_3:
	ldp	x28, x20, [x19, #16]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x23, x1
	ldr	x1, [x1, #16]
	cbnz	x1, LBB0_4
; %bb.5:
Lloh0:
	adrp	x3, l_.str@PAGE
Lloh1:
	add	x3, x3, l_.str@PAGEOFF
	mov	w21, #1
	mov	w0, #1
	mov	x1, x19
	mov	x2, x23
	bl	_SELECTTRACE
	ldp	x23, x22, [x23]
	cmp	x20, #0
	cset	w0, ne
	bl	_assert
	str	x22, [sp, #16]                  ; 8-byte Folded Spill
	cmp	x22, #0
	cset	w0, ne
	bl	_assert
	str	w21, [x19]
	ldr	w8, [x28]
Lloh2:
	adrp	x9, _SQLITE_FullColNames@GOTPAGE
Lloh3:
	ldr	x9, [x9, _SQLITE_FullColNames@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	and	w10, w9, w8
Lloh5:
	adrp	x9, _SQLITE_ShortColNames@GOTPAGE
Lloh6:
	ldr	x9, [x9, _SQLITE_ShortColNames@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	and	w8, w9, w8
	str	w10, [sp, #28]                  ; 4-byte Folded Spill
	orr	w8, w8, w10
	cmp	w8, #0
	cset	w26, ne
	ldr	w1, [x23]
	mov	x0, x20
	bl	_sqlite3VdbeSetNumCols
	ldr	w8, [x23]
	cmp	w8, #1
	b.lt	LBB0_26
; %bb.6:
	mov	x25, #0
	mov	x24, #0
Lloh8:
	adrp	x27, _TK_AGG_COLUMN@GOTPAGE
Lloh9:
	ldr	x27, [x27, _TK_AGG_COLUMN@GOTPAGEOFF]
Lloh10:
	adrp	x22, _TK_COLUMN@GOTPAGE
Lloh11:
	ldr	x22, [x22, _TK_COLUMN@GOTPAGEOFF]
	b	LBB0_9
LBB0_7:                                 ;   in Loop: Header=BB0_9 Depth=1
Lloh12:
	adrp	x8, _COLNAME_NAME@GOTPAGE
Lloh13:
	ldr	x8, [x8, _COLNAME_NAME@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
Lloh15:
	adrp	x8, _SQLITE_TRANSIENT@GOTPAGE
Lloh16:
	ldr	x8, [x8, _SQLITE_TRANSIENT@GOTPAGEOFF]
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	ldr	w4, [x8]
	mov	x0, x20
	mov	x1, x24
	bl	_sqlite3VdbeSetColName
	add	x24, x24, #1
	ldrsw	x8, [x23]
	add	x25, x25, #24
	cmp	x24, x8
	b.ge	LBB0_26
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x23, #8]
	add	x8, x8, x25
	ldr	x21, [x8, #16]
	cmp	x21, #0
	cset	w0, ne
	bl	_assert
	ldr	x8, [x21]
	ldr	x9, [x27]
	cmp	x8, x9
	cset	w0, ne
	bl	_assert
	ldr	x8, [x21]
	ldr	x9, [x22]
	cmp	x8, x9
	b.ne	LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	x8, [x21, #16]
	cmp	x8, #0
	cset	w0, ne
	b	LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_9 Depth=1
	mov	w0, #1
LBB0_12:                                ;   in Loop: Header=BB0_9 Depth=1
	bl	_assert
	ldr	x8, [x23, #8]
	ldr	x3, [x8, x25]
	cbnz	x3, LBB0_7
; %bb.13:                               ;   in Loop: Header=BB0_9 Depth=1
	cbz	w26, LBB0_20
; %bb.14:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	x9, [x21]
	ldr	x10, [x22]
	cmp	x9, x10
	b.ne	LBB0_20
; %bb.15:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x22, x27
	mov	x27, x26
	mov	x26, x28
	ldr	w28, [x21, #8]
	ldr	x21, [x21, #16]
	cmp	x21, #0
	cset	w0, ne
	bl	_assert
	tbz	w28, #31, LBB0_17
; %bb.16:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	w28, [x21]
	tbnz	w28, #31, LBB0_25
LBB0_17:                                ;   in Loop: Header=BB0_9 Depth=1
	ldr	w8, [x21, #4]
	cmp	w28, w8
	cset	w0, lt
	bl	_assert
	ldr	x8, [x21, #16]
	ldr	x3, [x8, w28, uxtw #3]
LBB0_18:                                ;   in Loop: Header=BB0_9 Depth=1
	mov	x28, x26
	mov	x26, x27
	mov	x27, x22
Lloh17:
	adrp	x22, _TK_COLUMN@GOTPAGE
Lloh18:
	ldr	x22, [x22, _TK_COLUMN@GOTPAGEOFF]
	ldr	w8, [sp, #28]                   ; 4-byte Folded Reload
	cbz	w8, LBB0_7
; %bb.19:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	w2, [x21, #8]
	str	x3, [sp]
	mov	x0, x28
Lloh19:
	adrp	x1, l_.str.2@PAGE
Lloh20:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_23
LBB0_20:                                ;   in Loop: Header=BB0_9 Depth=1
	add	x8, x8, x25
	ldr	x1, [x8, #8]
	cbz	x1, LBB0_22
; %bb.21:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x0, x28
	bl	_sqlite3DbStrDup
	b	LBB0_24
LBB0_22:                                ;   in Loop: Header=BB0_9 Depth=1
	add	w2, w24, #1
	mov	x0, x28
Lloh21:
	adrp	x1, l_.str.3@PAGE
Lloh22:
	add	x1, x1, l_.str.3@PAGEOFF
LBB0_23:                                ;   in Loop: Header=BB0_9 Depth=1
	bl	_sqlite3MPrintf
LBB0_24:                                ;   in Loop: Header=BB0_9 Depth=1
	mov	x3, x0
Lloh23:
	adrp	x8, _COLNAME_NAME@GOTPAGE
Lloh24:
	ldr	x8, [x8, _COLNAME_NAME@GOTPAGEOFF]
Lloh25:
	ldr	w2, [x8]
Lloh26:
	adrp	x8, _SQLITE_DYNAMIC@GOTPAGE
Lloh27:
	ldr	x8, [x8, _SQLITE_DYNAMIC@GOTPAGEOFF]
	b	LBB0_8
LBB0_25:                                ;   in Loop: Header=BB0_9 Depth=1
	cmn	w28, #1
	cset	w0, eq
	bl	_assert
Lloh28:
	adrp	x3, l_.str.1@PAGE
Lloh29:
	add	x3, x3, l_.str.1@PAGEOFF
	b	LBB0_18
LBB0_26:
	mov	x0, x19
	ldr	x1, [sp, #16]                   ; 8-byte Folded Reload
	mov	x2, x23
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	b	_generateColumnTypes
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpAdd	Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"generating column names\n"

	.comm	_SQLITE_FullColNames,4,2        ; @SQLITE_FullColNames
	.comm	_SQLITE_ShortColNames,4,2       ; @SQLITE_ShortColNames
	.comm	_TK_AGG_COLUMN,8,3              ; @TK_AGG_COLUMN
	.comm	_TK_COLUMN,8,3                  ; @TK_COLUMN
	.comm	_COLNAME_NAME,4,2               ; @COLNAME_NAME
	.comm	_SQLITE_TRANSIENT,4,2           ; @SQLITE_TRANSIENT
l_.str.1:                               ; @.str.1
	.asciz	"rowid"

l_.str.2:                               ; @.str.2
	.asciz	"%s.%s"

	.comm	_SQLITE_DYNAMIC,4,2             ; @SQLITE_DYNAMIC
l_.str.3:                               ; @.str.3
	.asciz	"column%d"

	.no_dead_strip	_generateColumnNames
.subsections_via_symbols
