	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function autoIncBegin
_autoIncBegin:                          ## @autoIncBegin
	.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, %r12
	movl	%esi, %r15d
	movq	%rdi, %r13
	movq	16(%rdi), %rax
	movq	8(%rax), %rax
	movslq	%esi, %rbx
	xorl	%edi, %edi
	cmpq	$0, (%rax,%rbx,8)
	setne	%dil
	callq	_assert
	movq	_TF_Autoincrement@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%r14d, %r14d
	testl	%eax, (%r12)
	je	LBB0_14
## %bb.1:
	movq	16(%r13), %rax
	movq	_DBFLAG_Vacuum@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	jne	LBB0_14
## %bb.2:
	movq	%r13, %rdi
	callq	_sqlite3ParseToplevel
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	16(%r13), %rax
	movq	8(%rax), %rax
	movq	(%rax,%rbx,8), %rax
	movq	(%rax), %rbx
	testq	%rbx, %rbx
	je	LBB0_6
## %bb.3:
	movq	%rbx, %rdi
	callq	_HasRowid
	testl	%eax, %eax
	je	LBB0_6
## %bb.4:
	movq	%rbx, %rdi
	callq	_IsVirtual
	testq	%rax, %rax
	jne	LBB0_6
## %bb.5:
	cmpl	$2, 4(%rbx)
	jne	LBB0_6
## %bb.7:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	8(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_11
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%r12, 8(%rax)
	je	LBB0_13
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	16(%rax), %rax
	testq	%rax, %rax
	jne	LBB0_9
LBB0_11:
	movq	16(%r13), %rdi
	movl	$24, %esi
	callq	_sqlite3DbMallocRawNN
	testq	%rax, %rax
	je	LBB0_14
## %bb.12:
	movq	8(%rbx), %rcx
	movq	%rcx, 16(%rax)
	movq	%rax, 8(%rbx)
	movq	%r12, 8(%rax)
	movl	%r15d, (%rax)
	movl	(%rbx), %ecx
	leal	2(%rcx), %r14d
	movl	%r14d, 4(%rax)
	addl	$4, %ecx
	movl	%ecx, (%rbx)
	jmp	LBB0_14
LBB0_6:
	incl	28(%r13)
	movq	_SQLITE_CORRUPT_SEQUENCE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%r13)
LBB0_14:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	movl	4(%rax), %r14d
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.comm	_TF_Autoincrement,4,2           ## @TF_Autoincrement
	.comm	_DBFLAG_Vacuum,4,2              ## @DBFLAG_Vacuum
	.comm	_SQLITE_CORRUPT_SEQUENCE,4,2    ## @SQLITE_CORRUPT_SEQUENCE
	.no_dead_strip	_autoIncBegin
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function autoIncBegin
_autoIncBegin:                          ; @autoIncBegin
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x20, x2
	mov	x19, x1
	mov	x21, x0
	ldr	x8, [x0, #16]
	ldr	x8, [x8, #8]
	ldr	x8, [x8, w1, sxtw #3]
	cmp	x8, #0
	cset	w0, ne
	bl	_assert
	ldr	w8, [x20]
Lloh0:
	adrp	x9, _TF_Autoincrement@GOTPAGE
Lloh1:
	ldr	x9, [x9, _TF_Autoincrement@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	ldr	x8, [x21, #16]
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _DBFLAG_Vacuum@GOTPAGE
Lloh4:
	ldr	x9, [x9, _DBFLAG_Vacuum@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
LBB0_2:
	mov	w0, #0
	b	LBB0_13
LBB0_3:
	sxtw	x23, w19
	mov	x0, x21
	bl	_sqlite3ParseToplevel
	ldr	x8, [x21, #16]
	ldr	x8, [x8, #8]
	ldr	x8, [x8, x23, lsl #3]
	ldr	x23, [x8]
	cbz	x23, LBB0_12
; %bb.4:
	mov	x22, x0
	mov	x0, x23
	bl	_HasRowid
	cbz	w0, LBB0_12
; %bb.5:
	mov	x0, x23
	bl	_IsVirtual
	cbnz	x0, LBB0_12
; %bb.6:
	ldr	w8, [x23, #4]
	cmp	w8, #2
	b.ne	LBB0_12
; %bb.7:
	ldr	x8, [x22, #8]
	cbz	x8, LBB0_10
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x8, #8]
	cmp	x9, x20
	b.eq	LBB0_14
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	x8, [x8, #16]
	cbnz	x8, LBB0_8
LBB0_10:
	ldr	x0, [x21, #16]
	mov	w1, #24
	bl	_sqlite3DbMallocRawNN
	cbz	x0, LBB0_13
; %bb.11:
	mov	x8, x0
	ldr	x9, [x22, #8]
	str	x0, [x22, #8]
	stp	x20, x9, [x0, #8]
	ldr	w9, [x22]
	add	w0, w9, #2
	stp	w19, w0, [x8]
	add	w8, w9, #4
	str	w8, [x22]
	b	LBB0_13
LBB0_12:
	mov	w0, #0
	ldr	w8, [x21, #28]
	add	w8, w8, #1
Lloh6:
	adrp	x9, _SQLITE_CORRUPT_SEQUENCE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _SQLITE_CORRUPT_SEQUENCE@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	stp	w9, w8, [x21, #24]
LBB0_13:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_14:
	ldr	w0, [x8, #4]
	b	LBB0_13
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_TF_Autoincrement,4,2           ; @TF_Autoincrement
	.comm	_DBFLAG_Vacuum,4,2              ; @DBFLAG_Vacuum
	.comm	_SQLITE_CORRUPT_SEQUENCE,4,2    ; @SQLITE_CORRUPT_SEQUENCE
	.no_dead_strip	_autoIncBegin
.subsections_via_symbols
