	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sqlite3_get_table_cb
_sqlite3_get_table_cb:                  ## @sqlite3_get_table_cb
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r12
	movl	%esi, %r15d
	movq	%rdi, %r13
	movq	(%rdi), %rax
	testq	%rax, %rax
	sete	%bl
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	testq	%rdx, %rdx
	setne	%cl
	andb	%bl, %cl
	movl	%esi, %edx
	shll	%cl, %edx
	movl	8(%rdi), %esi
	addl	%edx, %esi
	movl	12(%rdi), %ecx
	cmpl	%ecx, %esi
	jle	LBB0_3
## %bb.1:
	leal	(%rdx,%rcx,2), %esi
	movl	%esi, 12(%r13)
	movq	16(%r13), %rdi
	shll	$3, %esi
	callq	_sqlite3_realloc64
	testq	%rax, %rax
	je	LBB0_19
## %bb.2:
	movq	%rax, 16(%r13)
	movq	(%r13), %rax
LBB0_3:
	testq	%rax, %rax
	je	LBB0_4
## %bb.13:
	cmpl	%r15d, 24(%r13)
	je	LBB0_8
## %bb.14:
	movq	32(%r13), %rdi
	callq	_sqlite3_free
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_sqlite3_mprintf
	movq	%rax, 32(%r13)
	movq	_SQLITE_ERROR@GOTPCREL(%rip), %rax
	jmp	LBB0_20
LBB0_4:
	movl	%r15d, 24(%r13)
	testl	%r15d, %r15d
	jle	LBB0_8
## %bb.5:
	movl	%r15d, %ebx
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12,%r14,8), %rsi
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_sqlite3_mprintf
	testq	%rax, %rax
	je	LBB0_19
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	16(%r13), %rcx
	movslq	8(%r13), %rdx
	leal	1(%rdx), %esi
	movl	%esi, 8(%r13)
	movq	%rax, (%rcx,%rdx,8)
	incq	%r14
	cmpq	%r14, %rbx
	jne	LBB0_6
LBB0_8:
	xorl	%eax, %eax
	cmpq	$0, -48(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_21
## %bb.9:
	testl	%r15d, %r15d
	jle	LBB0_18
## %bb.10:
	movl	%r15d, %r12d
	xorl	%r14d, %r14d
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_11 Depth=1
	xorl	%r15d, %r15d
LBB0_17:                                ##   in Loop: Header=BB0_11 Depth=1
	movq	16(%r13), %rax
	movslq	8(%r13), %rcx
	leal	1(%rcx), %edx
	movl	%edx, 8(%r13)
	movq	%r15, (%rax,%rcx,8)
	incq	%r14
	cmpq	%r14, %r12
	je	LBB0_18
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax,%r14,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_12
## %bb.15:                              ##   in Loop: Header=BB0_11 Depth=1
	callq	_sqlite3Strlen30
	movl	%eax, %ebx
	incl	%ebx
	movl	%ebx, %edi
	callq	_sqlite3_malloc64
	testq	%rax, %rax
	je	LBB0_19
## %bb.16:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	%rax, %r15
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax,%r14,8), %rsi
	movq	%r15, %rdi
	movl	%ebx, %edx
	callq	_memcpy
	jmp	LBB0_17
LBB0_19:
	movq	_SQLITE_NOMEM_BKPT@GOTPCREL(%rip), %rax
LBB0_20:
	movl	(%rax), %eax
	movl	%eax, 28(%r13)
	movl	$1, %eax
	jmp	LBB0_21
LBB0_18:
	incq	(%r13)
	xorl	%eax, %eax
LBB0_21:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s"

L_.str.1:                               ## @.str.1
	.asciz	"sqlite3_get_table() called with two or more incompatible queries"

	.comm	_SQLITE_ERROR,4,2               ## @SQLITE_ERROR
	.comm	_SQLITE_NOMEM_BKPT,4,2          ## @SQLITE_NOMEM_BKPT
	.no_dead_strip	_sqlite3_get_table_cb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sqlite3_get_table_cb
_sqlite3_get_table_cb:                  ; @sqlite3_get_table_cb
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x22, x3
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	ldr	x8, [x0]
	cmp	x2, #0
	ccmp	x8, #0, #0, ne
	cset	w9, eq
	lsl	w9, w1, w9
	ldp	w11, w10, [x0, #8]
	add	w11, w9, w11
	cmp	w11, w10
	b.le	LBB0_3
; %bb.1:
	add	w8, w9, w10, lsl #1
	str	w8, [x19, #12]
	ldr	x0, [x19, #16]
	lsl	w1, w8, #3
	bl	_sqlite3_realloc64
	cbz	x0, LBB0_18
; %bb.2:
	str	x0, [x19, #16]
	ldr	x8, [x19]
LBB0_3:
	cbz	x8, LBB0_6
; %bb.4:
	ldr	w8, [x19, #24]
	cmp	w8, w21
	b.eq	LBB0_10
; %bb.5:
	ldr	x0, [x19, #32]
	bl	_sqlite3_free
Lloh0:
	adrp	x0, l_.str.1@PAGE
Lloh1:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_sqlite3_mprintf
	str	x0, [x19, #32]
Lloh2:
	adrp	x8, _SQLITE_ERROR@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SQLITE_ERROR@GOTPAGEOFF]
	b	LBB0_19
LBB0_6:
	str	w21, [x19, #24]
	cmp	w21, #1
	b.lt	LBB0_10
; %bb.7:
	mov	w24, w21
Lloh4:
	adrp	x23, l_.str@PAGE
Lloh5:
	add	x23, x23, l_.str@PAGEOFF
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22]
	str	x8, [sp]
	mov	x0, x23
	bl	_sqlite3_mprintf
	cbz	x0, LBB0_18
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	x8, [x19, #16]
	ldrsw	x9, [x19, #8]
	add	w10, w9, #1
	str	w10, [x19, #8]
	str	x0, [x8, x9, lsl #3]
	add	x22, x22, #8
	subs	x24, x24, #1
	b.ne	LBB0_8
LBB0_10:
	cbz	x20, LBB0_21
; %bb.11:
	cmp	w21, #1
	b.lt	LBB0_20
; %bb.12:
	mov	w23, w21
	b	LBB0_15
LBB0_13:                                ;   in Loop: Header=BB0_15 Depth=1
	mov	x21, #0
LBB0_14:                                ;   in Loop: Header=BB0_15 Depth=1
	ldr	x8, [x19, #16]
	ldrsw	x9, [x19, #8]
	add	w10, w9, #1
	str	w10, [x19, #8]
	str	x21, [x8, x9, lsl #3]
	add	x20, x20, #8
	subs	x23, x23, #1
	b.eq	LBB0_20
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x20]
	cbz	x0, LBB0_13
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=1
	bl	_sqlite3Strlen30
	add	w22, w0, #1
	mov	x0, x22
	bl	_sqlite3_malloc64
	cbz	x0, LBB0_18
; %bb.17:                               ;   in Loop: Header=BB0_15 Depth=1
	mov	x21, x0
	ldr	x1, [x20]
	mov	x2, x22
	bl	_memcpy
	b	LBB0_14
LBB0_18:
Lloh6:
	adrp	x8, _SQLITE_NOMEM_BKPT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SQLITE_NOMEM_BKPT@GOTPAGEOFF]
LBB0_19:
	ldr	w8, [x8]
	str	w8, [x19, #28]
	mov	w0, #1
	b	LBB0_22
LBB0_20:
	mov	w0, #0
	ldr	x8, [x19]
	add	x8, x8, #1
	str	x8, [x19]
	b	LBB0_22
LBB0_21:
	mov	w0, #0
LBB0_22:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s"

l_.str.1:                               ; @.str.1
	.asciz	"sqlite3_get_table() called with two or more incompatible queries"

	.comm	_SQLITE_ERROR,4,2               ; @SQLITE_ERROR
	.comm	_SQLITE_NOMEM_BKPT,4,2          ; @SQLITE_NOMEM_BKPT
	.no_dead_strip	_sqlite3_get_table_cb
.subsections_via_symbols
