	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sqlite3_table_column_metadata  ## -- Begin function sqlite3_table_column_metadata
	.p2align	4, 0x90
_sqlite3_table_column_metadata:         ## @sqlite3_table_column_metadata
	.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
	movq	%r9, -96(%rbp)                  ## 8-byte Spill
	movq	%r8, -88(%rbp)                  ## 8-byte Spill
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movq	%rdx, -80(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r12
	movq	%rdi, %r15
	movq	$0, -56(%rbp)
	movl	(%rdi), %edi
	callq	_sqlite3_mutex_enter
	movq	%r15, %rdi
	callq	_sqlite3BtreeEnterAll
	leaq	-56(%rbp), %rsi
	movq	%r15, %rdi
	callq	_sqlite3Init
	movq	_SQLITE_OK@GOTPCREL(%rip), %rcx
	xorl	%r14d, %r14d
	movl	$0, %r9d
	movl	$0, %r10d
	movl	$0, %edx
	movl	$0, %r13d
	movl	$0, %ebx
	movl	%eax, -72(%rbp)                 ## 4-byte Spill
	cmpl	%eax, (%rcx)
	jne	LBB0_27
## %bb.1:
	movq	%r15, %rdi
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	movq	%r12, %rdx
	callq	_sqlite3FindTable
	testq	%rax, %rax
	je	LBB0_19
## %bb.2:
	movq	%rax, %rsi
	xorl	%r14d, %r14d
	cmpq	$0, 24(%rax)
	movl	$0, %r9d
	movl	$0, %r10d
	movl	$0, %edx
	movl	$0, %r13d
	movl	$0, %ebx
	jne	LBB0_27
## %bb.3:
	movb	$1, %al
	leaq	L_.str(%rip), %r9
	cmpq	$0, -48(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_9
## %bb.4:
	movl	(%rsi), %eax
	testl	%eax, %eax
	jle	LBB0_10
## %bb.5:
	xorl	%ebx, %ebx
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%rsi), %r12
	movq	%rsi, %r13
	movl	20(%r12,%rbx), %edi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_sqlite3StrICmp
	testq	%rax, %rax
	je	LBB0_11
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	incq	%r14
	movslq	(%r13), %rax
	addq	$24, %rbx
	cmpq	%rax, %r14
	movq	%r13, %rsi
	jl	LBB0_6
## %bb.8:
	addq	%rbx, %r12
	addq	$-24, %r12
	leaq	L_.str(%rip), %r9
	cmpl	%eax, %r14d
	je	LBB0_12
	jmp	LBB0_16
LBB0_9:
	xorl	%r10d, %r10d
	xorl	%r8d, %r8d
	xorl	%ebx, %ebx
	jmp	LBB0_24
LBB0_10:
	xorl	%r14d, %r14d
	xorl	%r12d, %r12d
	cmpl	%eax, %r14d
	je	LBB0_12
	jmp	LBB0_16
LBB0_11:
	addq	%rbx, %r12
	movl	(%r13), %eax
	leaq	L_.str(%rip), %r9
	movq	%r13, %rsi
	cmpl	%eax, %r14d
	jne	LBB0_16
LBB0_12:
	movq	%r9, %r13
	movq	%rsi, %rbx
	movq	%rsi, %rdi
	callq	_HasRowid
	testq	%rax, %rax
	je	LBB0_19
## %bb.13:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_sqlite3IsRowid
	testq	%rax, %rax
	je	LBB0_19
## %bb.14:
	movq	%rbx, %rsi
	movl	4(%rbx), %r14d
	testl	%r14d, %r14d
	js	LBB0_22
## %bb.15:
	leaq	(%r14,%r14,2), %r12
	shlq	$3, %r12
	addq	16(%rsi), %r12
	movq	%r13, %r9
LBB0_16:
	testq	%r12, %r12
	je	LBB0_20
## %bb.17:
	movq	%rsi, %rbx
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_sqlite3ColumnType
	movq	%rbx, %rsi
	movq	%rax, %r9
	cmpq	$0, 8(%r12)
	setne	%r8b
	movq	_COLFLAG_PRIMKEY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, 16(%r12)
	movq	(%r12), %r10
	setne	%al
	cmpl	%r14d, 4(%rbx)
	jne	LBB0_21
## %bb.18:
	movq	_TF_Autoincrement@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	xorl	%ebx, %ebx
	testl	%ecx, 8(%rsi)
	setne	%bl
	jmp	LBB0_24
LBB0_19:
	xorl	%r14d, %r14d
	xorl	%r9d, %r9d
	xorl	%r10d, %r10d
	xorl	%edx, %edx
	xorl	%r13d, %r13d
	xorl	%ebx, %ebx
	jmp	LBB0_27
LBB0_20:
	xorl	%r10d, %r10d
	xorl	%r8d, %r8d
	xorl	%ebx, %ebx
	jmp	LBB0_23
LBB0_21:
	xorl	%ebx, %ebx
	jmp	LBB0_24
LBB0_22:
	xorl	%r10d, %r10d
	xorl	%r8d, %r8d
	xorl	%ebx, %ebx
	movq	%r13, %r9
LBB0_23:
	movb	$1, %al
LBB0_24:
	testq	%r10, %r10
	jne	LBB0_26
## %bb.25:
	movq	_sqlite3StrBINARY@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r10
LBB0_26:
	movzbl	%al, %r13d
	movzbl	%r8b, %edx
	movq	%rsi, %r14
LBB0_27:
	movl	%edx, -68(%rbp)                 ## 4-byte Spill
	movq	%r15, %rdi
	movl	%ebx, %r15d
	movq	%r10, %rbx
	movq	%r9, %r12
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	callq	_sqlite3BtreeLeaveAll
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	testq	%rax, %rax
	je	LBB0_29
## %bb.28:
	movq	%r12, (%rax)
LBB0_29:
	movq	16(%rbp), %rax
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	testq	%rcx, %rcx
	je	LBB0_31
## %bb.30:
	movq	%rbx, (%rcx)
LBB0_31:
	movq	24(%rbp), %rcx
	testq	%rax, %rax
	movq	%r14, %rdx
	je	LBB0_33
## %bb.32:
	movl	-68(%rbp), %esi                 ## 4-byte Reload
	movl	%esi, (%rax)
LBB0_33:
	movq	32(%rbp), %rax
	testq	%rcx, %rcx
	je	LBB0_35
## %bb.34:
	movl	%r13d, (%rcx)
LBB0_35:
	testq	%rax, %rax
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	je	LBB0_37
## %bb.36:
	movl	%r15d, (%rax)
LBB0_37:
	movq	-56(%rbp), %rcx
	movl	-72(%rbp), %r14d                ## 4-byte Reload
	movq	_SQLITE_OK@GOTPCREL(%rip), %rax
	cmpl	%r14d, (%rax)
	jne	LBB0_41
## %bb.38:
	testq	%rdx, %rdx
	jne	LBB0_41
## %bb.39:
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movq	%rcx, %rsi
	callq	_sqlite3DbFree
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	movq	%r12, %rcx
	callq	_sqlite3MPrintf
	movq	%rax, %rcx
	movq	%rax, -56(%rbp)
	movq	_SQLITE_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	jmp	LBB0_42
LBB0_41:
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
LBB0_42:
	testq	%rcx, %rcx
	leaq	L_.str.2(%rip), %rdx
	cmoveq	%rcx, %rdx
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_sqlite3ErrorWithMsg
	movq	-56(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_sqlite3DbFree
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_sqlite3ApiExit
	movl	%eax, %r14d
	movl	(%rbx), %edi
	callq	_sqlite3_mutex_leave
	movl	%r14d, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SQLITE_OK,4,2                  ## @SQLITE_OK
	.comm	_COLFLAG_PRIMKEY,4,2            ## @COLFLAG_PRIMKEY
	.comm	_TF_Autoincrement,4,2           ## @TF_Autoincrement
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"INTEGER"

	.comm	_sqlite3StrBINARY,8,3           ## @sqlite3StrBINARY
L_.str.1:                               ## @.str.1
	.asciz	"no such table column: %s.%s"

	.comm	_SQLITE_ERROR,4,2               ## @SQLITE_ERROR
L_.str.2:                               ## @.str.2
	.asciz	"%s"

	.comm	_SQLITE_MISUSE_BKPT,4,2         ## @SQLITE_MISUSE_BKPT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sqlite3_table_column_metadata  ; -- Begin function sqlite3_table_column_metadata
	.p2align	2
_sqlite3_table_column_metadata:         ; @sqlite3_table_column_metadata
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	mov	x26, x7
	stp	x5, x6, [sp, #24]               ; 16-byte Folded Spill
	str	x4, [sp, #16]                   ; 8-byte Folded Spill
	mov	x28, x3
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	str	xzr, [sp, #40]
	ldr	w0, [x0]
	bl	_sqlite3_mutex_enter
	mov	x0, x19
	bl	_sqlite3BtreeEnterAll
	add	x1, sp, #40
	mov	x0, x19
	bl	_sqlite3Init
	mov	x22, x0
Lloh0:
	adrp	x8, _SQLITE_OK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SQLITE_OK@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w0
	str	x20, [sp, #8]                   ; 8-byte Folded Spill
	b.ne	LBB0_3
; %bb.1:
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	bl	_sqlite3FindTable
	mov	x27, x0
	cbz	x0, LBB0_4
; %bb.2:
	ldr	x8, [x27, #24]
	cbz	x8, LBB0_19
LBB0_3:
	mov	x25, x28
	mov	x27, #0
	b	LBB0_5
LBB0_4:
	mov	x25, x28
LBB0_5:
	mov	x28, #0
	mov	x24, #0
	mov	w20, #0
	mov	w21, #0
	mov	w23, #0
LBB0_6:
	mov	x0, x19
	bl	_sqlite3BtreeLeaveAll
	ldr	x8, [sp, #16]                   ; 8-byte Folded Reload
	cbz	x8, LBB0_8
; %bb.7:
	str	x28, [x8]
LBB0_8:
	ldp	x8, x9, [sp, #24]               ; 16-byte Folded Reload
	cbz	x8, LBB0_10
; %bb.9:
	str	x24, [x8]
LBB0_10:
	ldr	x8, [x29, #16]
	cbz	x9, LBB0_12
; %bb.11:
	str	w20, [x9]
LBB0_12:
	cbz	x26, LBB0_14
; %bb.13:
	str	w21, [x26]
LBB0_14:
	cbz	x8, LBB0_16
; %bb.15:
	str	w23, [x8]
LBB0_16:
Lloh3:
	adrp	x8, _SQLITE_OK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SQLITE_OK@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	ldr	x3, [sp, #40]
	cmp	w8, w22
	ccmp	x27, #0, #0, eq
	b.ne	LBB0_18
; %bb.17:
	mov	x0, x19
	mov	x1, x3
	bl	_sqlite3DbFree
Lloh6:
	adrp	x1, l_.str.1@PAGE
Lloh7:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	ldr	x2, [sp, #8]                    ; 8-byte Folded Reload
	mov	x3, x25
	bl	_sqlite3MPrintf
	mov	x3, x0
	str	x0, [sp, #40]
Lloh8:
	adrp	x8, _SQLITE_ERROR@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SQLITE_ERROR@GOTPAGEOFF]
Lloh10:
	ldr	w22, [x8]
LBB0_18:
Lloh11:
	adrp	x8, l_.str.2@PAGE
Lloh12:
	add	x8, x8, l_.str.2@PAGEOFF
	cmp	x3, #0
	csel	x2, xzr, x8, eq
	mov	x0, x19
	mov	x1, x22
	bl	_sqlite3ErrorWithMsg
	ldr	x1, [sp, #40]
	mov	x0, x19
	bl	_sqlite3DbFree
	mov	x0, x19
	mov	x1, x22
	bl	_sqlite3ApiExit
	mov	x20, x0
	ldr	w0, [x19]
	bl	_sqlite3_mutex_leave
	mov	x0, x20
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_19:
	cbz	x28, LBB0_34
; %bb.20:
	ldr	w8, [x27]
	cmp	w8, #1
	b.lt	LBB0_25
; %bb.21:
	mov	x20, #0
	mov	x24, #0
LBB0_22:                                ; =>This Inner Loop Header: Depth=1
	ldr	x23, [x27, #16]
	add	x21, x23, x20
	ldr	w0, [x21, #20]
	mov	x1, x28
	bl	_sqlite3StrICmp
	cbz	x0, LBB0_26
; %bb.23:                               ;   in Loop: Header=BB0_22 Depth=1
	add	x24, x24, #1
	ldrsw	x8, [x27]
	add	x20, x20, #24
	cmp	x24, x8
	b.lt	LBB0_22
; %bb.24:
	add	x9, x23, x20
	sub	x21, x9, #24
	cmp	w24, w8
	b.eq	LBB0_27
	b	LBB0_31
LBB0_25:
	mov	w24, #0
	mov	x21, #0
	cmp	w24, w8
	b.eq	LBB0_27
	b	LBB0_31
LBB0_26:
	ldr	w8, [x27]
	cmp	w24, w8
	b.ne	LBB0_31
LBB0_27:
	mov	x0, x27
	bl	_HasRowid
	cbz	x0, LBB0_3
; %bb.28:
	mov	x0, x28
	bl	_sqlite3IsRowid
	cbz	x0, LBB0_3
; %bb.29:
	ldr	w24, [x27, #4]
	tbnz	w24, #31, LBB0_34
; %bb.30:
	ldr	x8, [x27, #16]
	mov	w9, #24
	madd	x21, x24, x9, x8
                                        ; kill: def $w24 killed $w24 killed $x24 def $x24
LBB0_31:
	mov	x25, x28
	cbz	x21, LBB0_35
; %bb.32:
	mov	x0, x21
	mov	w1, #0
	bl	_sqlite3ColumnType
	mov	x28, x0
	ldp	x8, x9, [x21]
	cmp	x9, #0
	cset	w20, ne
Lloh13:
	adrp	x9, _COLFLAG_PRIMKEY@GOTPAGE
Lloh14:
	ldr	x9, [x9, _COLFLAG_PRIMKEY@GOTPAGEOFF]
	ldr	w10, [x21, #16]
Lloh15:
	ldr	w9, [x9]
	tst	w9, w10
	cset	w21, ne
	ldr	w9, [x27, #4]
	cmp	w9, w24
	b.ne	LBB0_37
; %bb.33:
	ldr	w9, [x27, #8]
Lloh16:
	adrp	x10, _TF_Autoincrement@GOTPAGE
Lloh17:
	ldr	x10, [x10, _TF_Autoincrement@GOTPAGEOFF]
Lloh18:
	ldr	w10, [x10]
	tst	w10, w9
	cset	w23, ne
	b	LBB0_36
LBB0_34:
	mov	x25, x28
LBB0_35:
	mov	x8, #0
	mov	w20, #0
	mov	w23, #0
	mov	w21, #1
Lloh19:
	adrp	x28, l_.str@PAGE
Lloh20:
	add	x28, x28, l_.str@PAGEOFF
LBB0_36:
Lloh21:
	adrp	x9, _sqlite3StrBINARY@GOTPAGE
Lloh22:
	ldr	x9, [x9, _sqlite3StrBINARY@GOTPAGEOFF]
Lloh23:
	ldr	x9, [x9]
	cmp	x8, #0
	csel	x24, x9, x8, eq
	b	LBB0_6
LBB0_37:
	mov	w23, #0
	b	LBB0_36
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_SQLITE_OK,4,2                  ; @SQLITE_OK
	.comm	_COLFLAG_PRIMKEY,4,2            ; @COLFLAG_PRIMKEY
	.comm	_TF_Autoincrement,4,2           ; @TF_Autoincrement
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"INTEGER"

	.comm	_sqlite3StrBINARY,8,3           ; @sqlite3StrBINARY
l_.str.1:                               ; @.str.1
	.asciz	"no such table column: %s.%s"

	.comm	_SQLITE_ERROR,4,2               ; @SQLITE_ERROR
l_.str.2:                               ; @.str.2
	.asciz	"%s"

	.comm	_SQLITE_MISUSE_BKPT,4,2         ; @SQLITE_MISUSE_BKPT
.subsections_via_symbols
