	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function incrVacuumStep
_incrVacuumStep:                        ## @incrVacuumStep
	.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
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r15d
	movq	%rdx, %rbx
	movq	%rsi, %r12
	movq	%rdi, %r14
	movl	24(%rdi), %edi
	callq	_sqlite3_mutex_held
	movl	%eax, %edi
	callq	_assert
	xorl	%edi, %edi
	cmpq	%r12, %rbx
	setg	%dil
	callq	_assert
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_PTRMAP_ISPAGE
	testq	%rax, %rax
	jne	LBB0_18
## %bb.1:
	movq	%r14, %rdi
	callq	_PENDING_BYTE_PAGE
	cmpq	%rbx, %rax
	jne	LBB0_2
LBB0_18:
	testl	%r15d, %r15d
	jne	LBB0_22
	.p2align	4, 0x90
LBB0_19:                                ## =>This Inner Loop Header: Depth=1
	decq	%rbx
	movq	%r14, %rdi
	callq	_PENDING_BYTE_PAGE
	cmpq	%rax, %rbx
	je	LBB0_19
## %bb.20:                              ##   in Loop: Header=BB0_19 Depth=1
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_PTRMAP_ISPAGE
	testq	%rax, %rax
	jne	LBB0_19
## %bb.21:
	movl	$1, (%r14)
	movq	%rbx, 8(%r14)
LBB0_22:
	movq	_SQLITE_OK@GOTPCREL(%rip), %rax
LBB0_23:
	movl	(%rax), %r13d
LBB0_24:
	movl	%r13d, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	16(%r14), %rax
	movl	$144, %edi
	addq	(%rax), %rdi
	callq	_get4byte
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	leaq	-80(%rbp), %rdx
	leaq	-96(%rbp), %rcx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_ptrmapGet
	movl	%eax, %r13d
	movq	_SQLITE_OK@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r13d
	jne	LBB0_24
## %bb.5:
	movq	-80(%rbp), %rax
	movq	_PTRMAP_ROOTPAGE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.6:
	movq	_SQLITE_CORRUPT_BKPT@GOTPCREL(%rip), %rax
	jmp	LBB0_23
LBB0_3:
	movq	_SQLITE_DONE@GOTPCREL(%rip), %rax
	jmp	LBB0_23
LBB0_7:
	movq	_PTRMAP_FREEPAGE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_11
## %bb.8:
	testl	%r15d, %r15d
	jne	LBB0_18
## %bb.9:
	movq	_BTALLOC_EXACT@GOTPCREL(%rip), %rax
	movq	(%rax), %r8
	leaq	-48(%rbp), %rsi
	leaq	-64(%rbp), %rdx
	movq	%r14, %rdi
	movq	%rbx, %rcx
	callq	_allocateBtreePage
	movl	%eax, %r13d
	movq	_SQLITE_OK@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r13d
	jne	LBB0_24
## %bb.10:
	xorl	%edi, %edi
	cmpq	%rbx, -64(%rbp)
	sete	%dil
	callq	_assert
	movq	-48(%rbp), %rdi
	callq	_releasePage
	jmp	LBB0_18
LBB0_11:
	movq	_BTALLOC_ANY@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	leaq	-48(%rbp), %rdx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	xorl	%ecx, %ecx
	callq	_btreeGetPage
	movl	%eax, %r13d
	movq	_SQLITE_OK@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r13d
	jne	LBB0_24
## %bb.12:
	xorl	%ecx, %ecx
	movl	%r15d, -52(%rbp)                ## 4-byte Spill
	testl	%r15d, %r15d
	movq	_BTALLOC_LE@GOTPCREL(%rip), %rax
	movq	-72(%rbp), %r8                  ## 8-byte Reload
	cmoveq	(%rax), %r8
	cmoveq	%r12, %rcx
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	leaq	-88(%rbp), %rsi
	leaq	-64(%rbp), %rdx
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	%r8, %r15
	callq	_allocateBtreePage
	movl	%eax, %r13d
	movq	_SQLITE_OK@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r13d
	jne	LBB0_14
## %bb.15:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	-88(%rbp), %rdi
	callq	_releasePage
	movq	-64(%rbp), %rax
	cmpl	$0, -52(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	%r15, %r8
	cmpq	%r12, %rax
	jg	LBB0_13
LBB0_17:
	xorl	%edi, %edi
	cmpq	%rbx, %rax
	setl	%dil
	callq	_assert
	movq	-48(%rbp), %rsi
	movq	-80(%rbp), %rdx
	movq	-96(%rbp), %rcx
	movq	-64(%rbp), %r8
	movq	%r14, %rdi
	movl	-52(%rbp), %r15d                ## 4-byte Reload
	movl	%r15d, %r9d
	callq	_relocatePage
	movl	%eax, %r13d
	movq	-48(%rbp), %rdi
	callq	_releasePage
	movq	_SQLITE_OK@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r13d
	je	LBB0_18
	jmp	LBB0_24
LBB0_14:
	movq	-48(%rbp), %rdi
	callq	_releasePage
	jmp	LBB0_24
	.cfi_endproc
                                        ## -- End function
	.comm	_SQLITE_DONE,4,2                ## @SQLITE_DONE
	.comm	_SQLITE_OK,4,2                  ## @SQLITE_OK
	.comm	_PTRMAP_ROOTPAGE,8,3            ## @PTRMAP_ROOTPAGE
	.comm	_SQLITE_CORRUPT_BKPT,4,2        ## @SQLITE_CORRUPT_BKPT
	.comm	_PTRMAP_FREEPAGE,8,3            ## @PTRMAP_FREEPAGE
	.comm	_BTALLOC_EXACT,8,3              ## @BTALLOC_EXACT
	.comm	_BTALLOC_ANY,8,3                ## @BTALLOC_ANY
	.comm	_BTALLOC_LE,8,3                 ## @BTALLOC_LE
	.no_dead_strip	_incrVacuumStep
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function incrVacuumStep
_incrVacuumStep:                        ; @incrVacuumStep
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	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
	mov	x21, x3
	mov	x20, x2
	mov	x22, x1
	mov	x19, x0
	ldr	w0, [x0, #24]
	bl	_sqlite3_mutex_held
	bl	_assert
	cmp	x20, x22
	cset	w0, gt
	bl	_assert
	mov	x0, x19
	mov	x1, x20
	bl	_PTRMAP_ISPAGE
	cbnz	x0, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_PENDING_BYTE_PAGE
	cmp	x0, x20
	b.ne	LBB0_9
LBB0_2:
	cbnz	w21, LBB0_6
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	sub	x20, x20, #1
	mov	x0, x19
	bl	_PENDING_BYTE_PAGE
	cmp	x20, x0
	b.eq	LBB0_3
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x19
	mov	x1, x20
	bl	_PTRMAP_ISPAGE
	cbnz	x0, LBB0_3
; %bb.5:
	mov	w8, #1
	str	w8, [x19]
	str	x20, [x19, #8]
LBB0_6:
Lloh0:
	adrp	x8, _SQLITE_OK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SQLITE_OK@GOTPAGEOFF]
LBB0_7:
	ldr	w23, [x8]
LBB0_8:
	mov	x0, x23
	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
	add	sp, sp, #128
	ret
LBB0_9:
	ldr	x8, [x19, #16]
	ldr	x8, [x8]
	add	x0, x8, #144
	bl	_get4byte
	cbz	x0, LBB0_13
; %bb.10:
	add	x2, sp, #40
	add	x3, sp, #32
	mov	x0, x19
	mov	x1, x20
	bl	_ptrmapGet
	mov	x23, x0
Lloh2:
	adrp	x26, _SQLITE_OK@GOTPAGE
Lloh3:
	ldr	x26, [x26, _SQLITE_OK@GOTPAGEOFF]
	ldr	w8, [x26]
	cmp	w0, w8
	b.ne	LBB0_8
; %bb.11:
	ldr	x8, [sp, #40]
Lloh4:
	adrp	x9, _PTRMAP_ROOTPAGE@GOTPAGE
Lloh5:
	ldr	x9, [x9, _PTRMAP_ROOTPAGE@GOTPAGEOFF]
Lloh6:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_14
; %bb.12:
Lloh7:
	adrp	x8, _SQLITE_CORRUPT_BKPT@GOTPAGE
Lloh8:
	ldr	x8, [x8, _SQLITE_CORRUPT_BKPT@GOTPAGEOFF]
	b	LBB0_7
LBB0_13:
Lloh9:
	adrp	x8, _SQLITE_DONE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SQLITE_DONE@GOTPAGEOFF]
	b	LBB0_7
LBB0_14:
Lloh11:
	adrp	x9, _PTRMAP_FREEPAGE@GOTPAGE
Lloh12:
	ldr	x9, [x9, _PTRMAP_FREEPAGE@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_18
; %bb.15:
	cbnz	w21, LBB0_2
; %bb.16:
Lloh14:
	adrp	x8, _BTALLOC_EXACT@GOTPAGE
Lloh15:
	ldr	x8, [x8, _BTALLOC_EXACT@GOTPAGEOFF]
Lloh16:
	ldr	x4, [x8]
	add	x1, sp, #16
	add	x2, sp, #24
	mov	x0, x19
	mov	x3, x20
	bl	_allocateBtreePage
	ldr	w8, [x26]
	cmp	w0, w8
	b.ne	LBB0_25
; %bb.17:
	ldr	x8, [sp, #24]
	cmp	x8, x20
	cset	w0, eq
	bl	_assert
	ldr	x0, [sp, #16]
	bl	_releasePage
	b	LBB0_2
LBB0_18:
Lloh17:
	adrp	x8, _BTALLOC_ANY@GOTPAGE
Lloh18:
	ldr	x8, [x8, _BTALLOC_ANY@GOTPAGEOFF]
Lloh19:
	ldr	x24, [x8]
	add	x2, sp, #16
	mov	x0, x19
	mov	x1, x20
	mov	w3, #0
	bl	_btreeGetPage
	mov	x23, x0
	ldr	w8, [x26]
	cmp	w0, w8
	b.ne	LBB0_8
; %bb.19:
Lloh20:
	adrp	x8, _BTALLOC_LE@GOTPAGE
Lloh21:
	ldr	x8, [x8, _BTALLOC_LE@GOTPAGEOFF]
Lloh22:
	ldr	x8, [x8]
	cmp	w21, #0
	csel	x24, x8, x24, eq
	csel	x25, x22, xzr, eq
LBB0_20:                                ; =>This Inner Loop Header: Depth=1
	add	x1, sp, #8
	add	x2, sp, #24
	mov	x0, x19
	mov	x3, x25
	mov	x4, x24
	bl	_allocateBtreePage
	ldr	w8, [x26]
	cmp	w0, w8
	b.ne	LBB0_24
; %bb.21:                               ;   in Loop: Header=BB0_20 Depth=1
	ldr	x0, [sp, #8]
	bl	_releasePage
	ldr	x8, [sp, #24]
	cbz	w21, LBB0_23
; %bb.22:                               ;   in Loop: Header=BB0_20 Depth=1
	cmp	x8, x22
	b.gt	LBB0_20
LBB0_23:
	cmp	x8, x20
	cset	w0, lt
	bl	_assert
	ldp	x1, x4, [sp, #16]
	ldp	x3, x2, [sp, #32]
	mov	x0, x19
	mov	x5, x21
	bl	_relocatePage
	mov	x23, x0
	ldr	x0, [sp, #16]
	bl	_releasePage
	ldr	w8, [x26]
	cmp	w23, w8
	b.eq	LBB0_2
	b	LBB0_8
LBB0_24:
	mov	x23, x0
	ldr	x0, [sp, #16]
	bl	_releasePage
	b	LBB0_8
LBB0_25:
	mov	x23, x0
	b	LBB0_8
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_SQLITE_DONE,4,2                ; @SQLITE_DONE
	.comm	_SQLITE_OK,4,2                  ; @SQLITE_OK
	.comm	_PTRMAP_ROOTPAGE,8,3            ; @PTRMAP_ROOTPAGE
	.comm	_SQLITE_CORRUPT_BKPT,4,2        ; @SQLITE_CORRUPT_BKPT
	.comm	_PTRMAP_FREEPAGE,8,3            ; @PTRMAP_FREEPAGE
	.comm	_BTALLOC_EXACT,8,3              ; @BTALLOC_EXACT
	.comm	_BTALLOC_ANY,8,3                ; @BTALLOC_ANY
	.comm	_BTALLOC_LE,8,3                 ; @BTALLOC_LE
	.no_dead_strip	_incrVacuumStep
.subsections_via_symbols
