	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function run_schema_dump_query
_run_schema_dump_query:                 ## @run_schema_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	%rsi, %r15
	movq	%rdi, %rbx
	movq	$0, -48(%rbp)
	movl	4(%rdi), %edi
	movq	_dump_callback@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-48(%rbp), %r8
	movq	%rbx, %rcx
	callq	_sqlite3_exec
	movl	%eax, %r14d
	movq	_SQLITE_CORRUPT@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r14d
	jne	LBB0_8
## %bb.1:
	movq	%r15, %rdi
	callq	_strlen30
	movl	%eax, %r13d
	movl	(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	callq	_raw_printf
	movq	-48(%rbp), %rdx
	testq	%rdx, %rdx
	je	LBB0_3
## %bb.2:
	movl	(%rbx), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_utf8_printf
	movq	-48(%rbp), %rdi
	callq	_sqlite3_free
	movq	$0, -48(%rbp)
LBB0_3:
	addl	$100, %r13d
	movl	%r13d, %edi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_8
## %bb.4:
	movq	%rax, %r12
	leaq	L_.str.2(%rip), %rdx
	movl	%r13d, %edi
	movq	%rax, %rsi
	movq	%r15, %rcx
	callq	_sqlite3_snprintf
	movl	4(%rbx), %edi
	movq	_dump_callback@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-48(%rbp), %r8
	movq	%r12, %rsi
	movq	%rbx, %rcx
	callq	_sqlite3_exec
	testl	%eax, %eax
	je	LBB0_6
## %bb.5:
	movl	%eax, %r14d
	movl	(%rbx), %edi
	movq	-48(%rbp), %rdx
	leaq	L_.str.3(%rip), %rsi
	callq	_utf8_printf
	jmp	LBB0_7
LBB0_6:
	movq	_SQLITE_CORRUPT@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
LBB0_7:
	movq	-48(%rbp), %rdi
	callq	_sqlite3_free
	movq	%r12, %rdi
	callq	_free
LBB0_8:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_dump_callback,4,2              ## @dump_callback
	.comm	_SQLITE_CORRUPT,4,2             ## @SQLITE_CORRUPT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"/****** CORRUPTION ERROR *******/\n"

L_.str.1:                               ## @.str.1
	.asciz	"/****** %s ******/\n"

L_.str.2:                               ## @.str.2
	.asciz	"%s ORDER BY rowid DESC"

L_.str.3:                               ## @.str.3
	.asciz	"/****** ERROR: %s ******/\n"

	.no_dead_strip	_run_schema_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_schema_dump_query
_run_schema_dump_query:                 ; @run_schema_dump_query
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x21, x1
	mov	x19, x0
	str	xzr, [sp, #8]
	ldr	w0, [x0, #4]
Lloh0:
	adrp	x25, _dump_callback@GOTPAGE
Lloh1:
	ldr	x25, [x25, _dump_callback@GOTPAGEOFF]
	ldr	w2, [x25]
	add	x4, sp, #8
	mov	x3, x19
	bl	_sqlite3_exec
	mov	x20, x0
Lloh2:
	adrp	x24, _SQLITE_CORRUPT@GOTPAGE
Lloh3:
	ldr	x24, [x24, _SQLITE_CORRUPT@GOTPAGEOFF]
	ldr	w8, [x24]
	cmp	w0, w8
	b.ne	LBB0_8
; %bb.1:
	mov	x0, x21
	bl	_strlen30
	mov	x22, x0
	ldr	w0, [x19]
Lloh4:
	adrp	x1, l_.str@PAGE
Lloh5:
	add	x1, x1, l_.str@PAGEOFF
	bl	_raw_printf
	ldr	x2, [sp, #8]
	cbz	x2, LBB0_3
; %bb.2:
	ldr	w0, [x19]
Lloh6:
	adrp	x1, l_.str.1@PAGE
Lloh7:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_utf8_printf
	ldr	x0, [sp, #8]
	bl	_sqlite3_free
	str	xzr, [sp, #8]
LBB0_3:
	add	w23, w22, #100
	mov	x0, x23
	bl	_malloc
	cbz	x0, LBB0_8
; %bb.4:
	mov	x22, x0
Lloh8:
	adrp	x2, l_.str.2@PAGE
Lloh9:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x23
	mov	x1, x22
	mov	x3, x21
	bl	_sqlite3_snprintf
	ldr	w0, [x19, #4]
	ldr	w2, [x25]
	add	x4, sp, #8
	mov	x1, x22
	mov	x3, x19
	bl	_sqlite3_exec
	cbz	w0, LBB0_6
; %bb.5:
	mov	x20, x0
	ldr	w0, [x19]
	ldr	x2, [sp, #8]
Lloh10:
	adrp	x1, l_.str.3@PAGE
Lloh11:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_utf8_printf
	b	LBB0_7
LBB0_6:
	ldr	w20, [x24]
LBB0_7:
	ldr	x0, [sp, #8]
	bl	_sqlite3_free
	mov	x0, x22
	bl	_free
LBB0_8:
	mov	x0, x20
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_dump_callback,4,2              ; @dump_callback
	.comm	_SQLITE_CORRUPT,4,2             ; @SQLITE_CORRUPT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"/****** CORRUPTION ERROR *******/\n"

l_.str.1:                               ; @.str.1
	.asciz	"/****** %s ******/\n"

l_.str.2:                               ; @.str.2
	.asciz	"%s ORDER BY rowid DESC"

l_.str.3:                               ; @.str.3
	.asciz	"/****** ERROR: %s ******/\n"

	.no_dead_strip	_run_schema_dump_query
.subsections_via_symbols
