	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function run_table_dump_query
_run_table_dump_query:                  ## @run_table_dump_query
	.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	%rdx, %r15
	movq	%rdi, %r14
	movl	4(%rdi), %edi
	leaq	-48(%rbp), %rcx
	movl	$-1, %edx
	xorl	%r8d, %r8d
	callq	_sqlite3_prepare_v2
	movl	%eax, %ebx
	movq	_SQLITE_OK@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jne	LBB0_17
## %bb.1:
	movq	-48(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_17
## %bb.2:
	callq	_sqlite3_step
	movl	%eax, %ebx
	movq	-48(%rbp), %rdi
	callq	_sqlite3_column_count
	movl	%eax, %r13d
	movq	_SQLITE_ROW@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jne	LBB0_16
## %bb.3:
	leaq	L_.str.1(%rip), %rbx
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_4 Depth=1
	leaq	L_.str.4(%rip), %rsi
LBB0_15:                                ##   in Loop: Header=BB0_4 Depth=1
	leaq	L_.str.1(%rip), %rbx
	movl	8(%r14), %edi
	callq	_raw_printf
	movq	-48(%rbp), %rdi
	callq	_sqlite3_step
	movl	$0, %r15d
	movq	_SQLITE_ROW@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_16
LBB0_4:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_8 Depth 2
                                        ##     Child Loop BB0_10 Depth 2
	testq	%r15, %r15
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	8(%r14), %edi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	xorl	%eax, %eax
	callq	_utf8_printf
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	-48(%rbp), %rdi
	xorl	%esi, %esi
	callq	_sqlite3_column_text
	movq	%rax, %r15
	movl	8(%r14), %edi
	movq	%rbx, %rsi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_utf8_printf
	cmpl	$2, %r13d
	jl	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	$1, %ebx
	.p2align	4, 0x90
LBB0_8:                                 ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	8(%r14), %r12d
	movq	-48(%rbp), %rdi
	movl	%ebx, %esi
	callq	_sqlite3_column_text
	movl	%r12d, %edi
	leaq	L_.str.2(%rip), %rsi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_utf8_printf
	incl	%ebx
	cmpl	%ebx, %r13d
	jne	LBB0_8
LBB0_9:                                 ##   in Loop: Header=BB0_4 Depth=1
	testq	%r15, %r15
	leaq	L_.str.3(%rip), %rax
	cmoveq	%rax, %r15
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_10 Depth=2
	cmpb	$45, (%r15)
	je	LBB0_14
LBB0_10:                                ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	incq	%r15
	movzbl	-1(%r15), %eax
	cmpb	$45, %al
	je	LBB0_13
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=2
	testb	%al, %al
	jne	LBB0_10
## %bb.12:                              ##   in Loop: Header=BB0_4 Depth=1
	leaq	L_.str.5(%rip), %rsi
	jmp	LBB0_15
LBB0_16:
	movq	-48(%rbp), %rdi
	callq	_sqlite3_finalize
	movl	%eax, %ebx
	movq	_SQLITE_OK@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	je	LBB0_19
LBB0_17:
	movl	4(%r14), %edi
	movl	8(%r14), %r15d
	callq	_sqlite3_errmsg
	leaq	L_.str(%rip), %rsi
	movl	%r15d, %edi
	movl	%ebx, %edx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_utf8_printf
	movzbl	%bl, %eax
	movq	_SQLITE_CORRUPT@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_19
## %bb.18:
	incl	(%r14)
LBB0_19:
	movl	%ebx, %eax
	addq	$8, %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
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"/**** ERROR: (%d) %s *****/\n"

	.comm	_SQLITE_CORRUPT,4,2             ## @SQLITE_CORRUPT
	.comm	_SQLITE_ROW,4,2                 ## @SQLITE_ROW
L_.str.1:                               ## @.str.1
	.asciz	"%s"

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

L_.str.3:                               ## @.str.3
	.space	1

L_.str.4:                               ## @.str.4
	.asciz	"\n;\n"

L_.str.5:                               ## @.str.5
	.asciz	";\n"

	.no_dead_strip	_run_table_dump_query
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function run_table_dump_query
_run_table_dump_query:                  ; @run_table_dump_query
	.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
	mov	x23, x2
	mov	x19, x0
	ldr	w0, [x0, #4]
	add	x3, sp, #24
	mov	w2, #-1
	mov	w4, #0
	bl	_sqlite3_prepare_v2
	mov	x20, x0
Lloh0:
	adrp	x8, _SQLITE_OK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SQLITE_OK@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	x0, [sp, #24]
	cmp	w20, w8
	ccmp	x0, #0, #4, eq
	b.ne	LBB0_2
; %bb.1:
	ldp	w0, w21, [x19, #4]
	bl	_sqlite3_errmsg
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x20, x0, [sp]
	b	LBB0_18
LBB0_2:
	bl	_sqlite3_step
	mov	x21, x0
	ldr	x0, [sp, #24]
	bl	_sqlite3_column_count
Lloh3:
	adrp	x27, _SQLITE_ROW@GOTPAGE
Lloh4:
	ldr	x27, [x27, _SQLITE_ROW@GOTPAGEOFF]
	ldr	w8, [x27]
	cmp	w21, w8
	b.ne	LBB0_16
; %bb.3:
	mov	x20, x0
Lloh5:
	adrp	x21, l_.str.1@PAGE
Lloh6:
	add	x21, x21, l_.str.1@PAGEOFF
Lloh7:
	adrp	x22, l_.str.2@PAGE
Lloh8:
	add	x22, x22, l_.str.2@PAGEOFF
Lloh9:
	adrp	x28, l_.str.3@PAGE
Lloh10:
	add	x28, x28, l_.str.3@PAGEOFF
Lloh11:
	adrp	x26, l_.str.5@PAGE
Lloh12:
	add	x26, x26, l_.str.5@PAGEOFF
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
Lloh13:
	adrp	x1, l_.str.4@PAGE
Lloh14:
	add	x1, x1, l_.str.4@PAGEOFF
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	w0, [x19, #8]
	bl	_raw_printf
	ldr	x0, [sp, #24]
	bl	_sqlite3_step
	mov	x23, #0
	ldr	w8, [x27]
	cmp	w0, w8
	b.ne	LBB0_16
LBB0_6:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_10 Depth 2
                                        ;     Child Loop BB0_13 Depth 2
	cbz	x23, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w0, [x19, #8]
	str	x23, [sp]
	mov	x1, x21
	bl	_utf8_printf
LBB0_8:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	x0, [sp, #24]
	mov	w1, #0
	bl	_sqlite3_column_text
	mov	x23, x0
	ldr	w0, [x19, #8]
	str	x23, [sp]
	mov	x1, x21
	bl	_utf8_printf
	cmp	w20, #2
	b.lt	LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	w24, #1
LBB0_10:                                ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w25, [x19, #8]
	ldr	x0, [sp, #24]
	mov	x1, x24
	bl	_sqlite3_column_text
	str	x0, [sp]
	mov	x0, x25
	mov	x1, x22
	bl	_utf8_printf
	add	w24, w24, #1
	cmp	w20, w24
	b.ne	LBB0_10
LBB0_11:                                ;   in Loop: Header=BB0_6 Depth=1
	cmp	x23, #0
	csel	x8, x28, x23, eq
	b	LBB0_13
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=2
	ldrb	w9, [x8]
	cmp	w9, #45
	b.eq	LBB0_4
LBB0_13:                                ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	x8, x8, #1
	ldurb	w9, [x8, #-1]
	cmp	w9, #45
	b.eq	LBB0_12
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=2
	cbnz	w9, LBB0_13
; %bb.15:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x1, x26
	b	LBB0_5
LBB0_16:
	ldr	x0, [sp, #24]
	bl	_sqlite3_finalize
	mov	x20, x0
Lloh15:
	adrp	x8, _SQLITE_OK@GOTPAGE
Lloh16:
	ldr	x8, [x8, _SQLITE_OK@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	cmp	w0, w8
	b.eq	LBB0_20
; %bb.17:
	ldp	w0, w21, [x19, #4]
	bl	_sqlite3_errmsg
                                        ; kill: def $w0 killed $w0 def $x0
	mov	x8, x20
	stp	x8, x0, [sp]
LBB0_18:
Lloh18:
	adrp	x1, l_.str@PAGE
Lloh19:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_utf8_printf
Lloh20:
	adrp	x8, _SQLITE_CORRUPT@GOTPAGE
Lloh21:
	ldr	x8, [x8, _SQLITE_CORRUPT@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	cmp	w8, w20, uxtb
	b.eq	LBB0_20
; %bb.19:
	ldr	w8, [x19]
	add	w8, w8, #1
	str	w8, [x19]
LBB0_20:
	mov	x0, x20
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_SQLITE_OK,4,2                  ; @SQLITE_OK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"/**** ERROR: (%d) %s *****/\n"

	.comm	_SQLITE_CORRUPT,4,2             ; @SQLITE_CORRUPT
	.comm	_SQLITE_ROW,4,2                 ; @SQLITE_ROW
l_.str.1:                               ; @.str.1
	.asciz	"%s"

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

l_.str.3:                               ; @.str.3
	.space	1

l_.str.4:                               ; @.str.4
	.asciz	"\n;\n"

l_.str.5:                               ; @.str.5
	.asciz	";\n"

	.no_dead_strip	_run_table_dump_query
.subsections_via_symbols
