	.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	_TF_Autoincrement@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%r15d, %r15d
	testl	%eax, (%rdx)
	je	LBB0_8
## %bb.1:
	movq	%rdx, %rbx
	movl	%esi, %r14d
	movq	%rdi, %r13
	callq	_sqlite3ParseToplevel
	movq	%rax, %r12
	movq	8(%rax), %rax
	testq	%rax, %rax
	je	LBB0_5
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rbx, 8(%rax)
	je	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	16(%rax), %rax
	testq	%rax, %rax
	jne	LBB0_3
LBB0_5:
	movl	16(%r13), %edi
	movl	$24, %esi
	callq	_sqlite3DbMallocRaw
	testq	%rax, %rax
	je	LBB0_8
## %bb.6:
	movq	8(%r12), %rcx
	movq	%rcx, 16(%rax)
	movq	%rax, 8(%r12)
	movq	%rbx, 8(%rax)
	movl	%r14d, (%rax)
	movl	(%r12), %ecx
	leal	2(%rcx), %r15d
	movl	%r15d, 4(%rax)
	addl	$3, %ecx
	movl	%ecx, (%r12)
	jmp	LBB0_8
LBB0_7:
	movl	4(%rax), %r15d
LBB0_8:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TF_Autoincrement,4,2           ## @TF_Autoincrement
	.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	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	ldr	w8, [x2]
Lloh0:
	adrp	x9, _TF_Autoincrement@GOTPAGE
Lloh1:
	ldr	x9, [x9, _TF_Autoincrement@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_6
; %bb.1:
	mov	x20, x2
	mov	x19, x1
	mov	x22, x0
	bl	_sqlite3ParseToplevel
	mov	x21, x0
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_4
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x8, #8]
	cmp	x9, x20
	b.eq	LBB0_7
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x8, #16]
	cbnz	x8, LBB0_2
LBB0_4:
	ldr	w0, [x22, #16]
	mov	w1, #24
	bl	_sqlite3DbMallocRaw
	cbz	x0, LBB0_8
; %bb.5:
	mov	x8, x0
	ldr	x9, [x21, #8]
	str	x0, [x21, #8]
	stp	x20, x9, [x0, #8]
	ldr	w9, [x21]
	add	w0, w9, #2
	stp	w19, w0, [x8]
	add	w8, w9, #3
	str	w8, [x21]
	b	LBB0_8
LBB0_6:
	mov	w0, #0
	b	LBB0_8
LBB0_7:
	ldr	w0, [x8, #4]
LBB0_8:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_TF_Autoincrement,4,2           ; @TF_Autoincrement
	.no_dead_strip	_autoIncBegin
.subsections_via_symbols
