	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sqlite3_get_table              ## -- Begin function sqlite3_get_table
	.p2align	4, 0x90
_sqlite3_get_table:                     ## @sqlite3_get_table
	.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, %rbx
	movq	%r8, %r13
	movq	%rcx, %r15
	movq	%rdx, %r12
	movq	%rsi, %r14
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	$0, (%rdx)
	testq	%r8, %r8
	je	LBB0_2
## %bb.1:
	movl	$0, (%r13)
LBB0_2:
	testq	%r15, %r15
	je	LBB0_4
## %bb.3:
	movl	$0, (%r15)
LBB0_4:
	testq	%rbx, %rbx
	je	LBB0_6
## %bb.5:
	movq	$0, (%rbx)
LBB0_6:
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -96(%rbp)
	movabsq	$85899345921, %rax              ## imm = 0x1400000001
	movq	%rax, -80(%rbp)
	movq	_SQLITE_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -72(%rbp)
	movl	$160, %edi
	callq	_sqlite3_malloc64
	movq	%rax, -64(%rbp)
	testq	%rax, %rax
	je	LBB0_7
## %bb.8:
	movq	$0, (%rax)
	movq	_sqlite3_get_table_cb@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-96(%rbp), %rcx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rsi
	movq	%rbx, %r8
	callq	_sqlite3_exec
	movl	%eax, %r14d
	movl	$1, %edi
	callq	_assert
	movl	-80(%rbp), %edi
	callq	_SQLITE_INT_TO_PTR
	movq	-64(%rbp), %rcx
	movq	%rax, (%rcx)
	movzbl	%r14b, %eax
	movq	_SQLITE_ABORT@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_14
## %bb.9:
	movq	-64(%rbp), %rdi
	addq	$8, %rdi
	callq	_sqlite3_free_table
	movq	-96(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_13
## %bb.10:
	testq	%rbx, %rbx
	je	LBB0_12
## %bb.11:
	movq	(%rbx), %rdi
	callq	_sqlite3_free
	movq	-96(%rbp), %rsi
	leaq	L_.str(%rip), %rdi
	callq	_sqlite3_mprintf
	movq	%rax, (%rbx)
	movq	-96(%rbp), %rdi
LBB0_12:
	callq	_sqlite3_free
LBB0_13:
	movl	-72(%rbp), %r14d
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	%r14d, (%rax)
	jmp	LBB0_24
LBB0_14:
	movq	-96(%rbp), %rdi
	callq	_sqlite3_free
	movq	_SQLITE_OK@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r14d
	jne	LBB0_15
## %bb.16:
	movl	-80(%rbp), %esi
	movq	-64(%rbp), %rax
	cmpl	%esi, -76(%rbp)
	jle	LBB0_20
## %bb.17:
	shll	$3, %esi
	movq	%rax, %rdi
	callq	_sqlite3_realloc64
	testq	%rax, %rax
	je	LBB0_18
## %bb.19:
	movq	%rax, -64(%rbp)
LBB0_20:
	addq	$8, %rax
	movq	%rax, (%r12)
	testq	%r13, %r13
	je	LBB0_22
## %bb.21:
	movl	-84(%rbp), %eax
	movl	%eax, (%r13)
LBB0_22:
	testq	%r15, %r15
	je	LBB0_24
## %bb.23:
	movl	-88(%rbp), %eax
	movl	%eax, (%r15)
	jmp	LBB0_24
LBB0_15:
	movq	-64(%rbp), %rdi
	addq	$8, %rdi
	callq	_sqlite3_free_table
	jmp	LBB0_24
LBB0_18:
	movq	-64(%rbp), %rdi
	addq	$8, %rdi
	callq	_sqlite3_free_table
LBB0_7:
	movq	_SQLITE_NOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx)
	movq	_SQLITE_NOMEM_BKPT@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
LBB0_24:
	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	_SQLITE_NOMEM,8,3               ## @SQLITE_NOMEM
	.comm	_SQLITE_NOMEM_BKPT,4,2          ## @SQLITE_NOMEM_BKPT
	.comm	_sqlite3_get_table_cb,4,2       ## @sqlite3_get_table_cb
	.comm	_SQLITE_ABORT,4,2               ## @SQLITE_ABORT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.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
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function sqlite3_get_table
lCPI0_0:
	.long	1                               ; 0x1
	.long	20                              ; 0x14
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_sqlite3_get_table
	.p2align	2
_sqlite3_get_table:                     ; @sqlite3_get_table
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	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
	mov	x23, x5
	mov	x21, x4
	mov	x20, x3
	mov	x22, x2
	mov	x24, x1
	mov	x19, x0
	str	xzr, [x2]
	cbz	x4, LBB0_2
; %bb.1:
	str	wzr, [x21]
LBB0_2:
	cbz	x20, LBB0_4
; %bb.3:
	str	wzr, [x20]
LBB0_4:
	cbz	x23, LBB0_6
; %bb.5:
	str	xzr, [x23]
LBB0_6:
	stp	xzr, xzr, [sp, #8]
Lloh0:
	adrp	x8, lCPI0_0@PAGE
Lloh1:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [sp, #24]
Lloh2:
	adrp	x25, _SQLITE_OK@GOTPAGE
Lloh3:
	ldr	x25, [x25, _SQLITE_OK@GOTPAGEOFF]
	ldr	w8, [x25]
	str	w8, [sp, #32]
	mov	w0, #160
	bl	_sqlite3_malloc64
	str	x0, [sp, #40]
	cbz	x0, LBB0_23
; %bb.7:
	str	xzr, [x0]
Lloh4:
	adrp	x8, _sqlite3_get_table_cb@GOTPAGE
Lloh5:
	ldr	x8, [x8, _sqlite3_get_table_cb@GOTPAGEOFF]
Lloh6:
	ldr	w2, [x8]
	add	x3, sp, #8
	mov	x0, x19
	mov	x1, x24
	mov	x4, x23
	bl	_sqlite3_exec
	mov	x24, x0
	mov	w0, #1
	bl	_assert
	ldr	w0, [sp, #24]
	bl	_SQLITE_INT_TO_PTR
	ldr	x8, [sp, #40]
	str	x0, [x8]
Lloh7:
	adrp	x8, _SQLITE_ABORT@GOTPAGE
Lloh8:
	ldr	x8, [x8, _SQLITE_ABORT@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	cmp	w8, w24, uxtb
	b.ne	LBB0_13
; %bb.8:
	ldr	x8, [sp, #40]
	add	x0, x8, #8
	bl	_sqlite3_free_table
	ldr	x0, [sp, #8]
	cbz	x0, LBB0_12
; %bb.9:
	cbz	x23, LBB0_11
; %bb.10:
	ldr	x0, [x23]
	bl	_sqlite3_free
	ldr	x1, [sp, #8]
Lloh10:
	adrp	x0, l_.str@PAGE
Lloh11:
	add	x0, x0, l_.str@PAGEOFF
	bl	_sqlite3_mprintf
	str	x0, [x23]
	ldr	x0, [sp, #8]
LBB0_11:
	bl	_sqlite3_free
LBB0_12:
	ldr	w24, [sp, #32]
	str	w24, [x19]
	b	LBB0_24
LBB0_13:
	ldr	x0, [sp, #8]
	bl	_sqlite3_free
	ldr	w8, [x25]
	cmp	w24, w8
	b.ne	LBB0_21
; %bb.14:
	ldp	w8, w9, [sp, #24]
	ldr	x0, [sp, #40]
	cmp	w9, w8
	b.le	LBB0_17
; %bb.15:
	lsl	w1, w8, #3
	bl	_sqlite3_realloc64
	cbz	x0, LBB0_22
; %bb.16:
	str	x0, [sp, #40]
LBB0_17:
	add	x8, x0, #8
	str	x8, [x22]
	cbz	x21, LBB0_19
; %bb.18:
	ldr	w8, [sp, #20]
	str	w8, [x21]
LBB0_19:
	cbz	x20, LBB0_24
; %bb.20:
	ldr	w8, [sp, #16]
	str	w8, [x20]
	b	LBB0_24
LBB0_21:
	ldr	x8, [sp, #40]
	add	x0, x8, #8
	bl	_sqlite3_free_table
	b	LBB0_24
LBB0_22:
	ldr	x8, [sp, #40]
	add	x0, x8, #8
	bl	_sqlite3_free_table
LBB0_23:
Lloh12:
	adrp	x8, _SQLITE_NOMEM@GOTPAGE
Lloh13:
	ldr	x8, [x8, _SQLITE_NOMEM@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	str	w8, [x19]
Lloh15:
	adrp	x8, _SQLITE_NOMEM_BKPT@GOTPAGE
Lloh16:
	ldr	x8, [x8, _SQLITE_NOMEM_BKPT@GOTPAGEOFF]
Lloh17:
	ldr	w24, [x8]
LBB0_24:
	mov	x0, x24
	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
	add	sp, sp, #128
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdr	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_SQLITE_OK,4,2                  ; @SQLITE_OK
	.comm	_SQLITE_NOMEM,8,3               ; @SQLITE_NOMEM
	.comm	_SQLITE_NOMEM_BKPT,4,2          ; @SQLITE_NOMEM_BKPT
	.comm	_sqlite3_get_table_cb,4,2       ; @sqlite3_get_table_cb
	.comm	_SQLITE_ABORT,4,2               ; @SQLITE_ABORT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s"

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