	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function idxLargestIndex
_idxLargestIndex:                       ## @idxLargestIndex
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	$0, -32(%rbp)
	movl	$0, (%rsi)
	leaq	L_.str(%rip), %rcx
	leaq	-32(%rbp), %rsi
	callq	_idxPrepareStmt
	movl	%eax, -20(%rbp)
	movq	_SQLITE_OK@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_3
## %bb.1:
	movq	_SQLITE_ROW@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	movq	-32(%rbp), %rdi
	callq	_sqlite3_step
	cmpq	%rax, %r14
	jne	LBB0_3
## %bb.2:
	movq	-32(%rbp), %rdi
	xorl	%esi, %esi
	callq	_sqlite3_column_int
	incl	%eax
	movl	%eax, (%rbx)
LBB0_3:
	movq	-32(%rbp), %rsi
	leaq	-20(%rbp), %rdi
	callq	_idxFinalize
	movl	-20(%rbp), %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SQLITE_OK,4,2                  ## @SQLITE_OK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"SELECT max(i.seqno) FROM   sqlite_master AS s,   pragma_index_list(s.name) AS l,   pragma_index_info(l.name) AS i WHERE s.type = 'table'"

	.comm	_SQLITE_ROW,8,3                 ## @SQLITE_ROW
	.no_dead_strip	_idxLargestIndex
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function idxLargestIndex
_idxLargestIndex:                       ; @idxLargestIndex
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	str	xzr, [sp]
	str	wzr, [x1]
Lloh0:
	adrp	x3, l_.str@PAGE
Lloh1:
	add	x3, x3, l_.str@PAGEOFF
	mov	x1, sp
	bl	_idxPrepareStmt
	str	w0, [sp, #12]
Lloh2:
	adrp	x8, _SQLITE_OK@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SQLITE_OK@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_3
; %bb.1:
Lloh5:
	adrp	x8, _SQLITE_ROW@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SQLITE_ROW@GOTPAGEOFF]
Lloh7:
	ldr	x20, [x8]
	ldr	x0, [sp]
	bl	_sqlite3_step
	cmp	x20, x0
	b.ne	LBB0_3
; %bb.2:
	ldr	x0, [sp]
	mov	w1, #0
	bl	_sqlite3_column_int
	add	w8, w0, #1
	str	w8, [x19]
LBB0_3:
	ldr	x1, [sp]
	add	x0, sp, #12
	bl	_idxFinalize
	ldr	w0, [sp, #12]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_SQLITE_OK,4,2                  ; @SQLITE_OK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"SELECT max(i.seqno) FROM   sqlite_master AS s,   pragma_index_list(s.name) AS l,   pragma_index_info(l.name) AS i WHERE s.type = 'table'"

	.comm	_SQLITE_ROW,8,3                 ; @SQLITE_ROW
	.no_dead_strip	_idxLargestIndex
.subsections_via_symbols
