	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fillInCell
_fillInCell:                            ## @fillInCell
	.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	$136, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $r9d killed $r9d def $r9
	movq	%r9, -72(%rbp)                  ## 8-byte Spill
	movq	%r8, -136(%rbp)                 ## 8-byte Spill
	movq	%rcx, -128(%rbp)                ## 8-byte Spill
	movq	%rdx, %r13
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	$0, -112(%rbp)
	movq	40(%rdi), %r14
	movq	$0, -64(%rbp)
	movl	24(%r14), %edi
	callq	_sqlite3_mutex_held
	movl	%eax, %edi
	callq	_assert
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	movq	(%rbx), %rax
	movq	%r15, %rbx
	movl	$1, %edi
	cmpq	%r15, %rax
	ja	LBB0_3
## %bb.1:
	addq	(%r14), %rax
	cmpq	%rbx, %rax
	jbe	LBB0_3
## %bb.2:
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movl	8(%rax), %edi
	callq	_sqlite3PagerIswriteable
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
LBB0_3:
	callq	_assert
	xorl	%r12d, %r12d
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	cmpl	$0, 32(%rax)
	sete	%r12b
	shll	$2, %r12d
	cmpq	$0, 24(%rax)
	movq	%r13, -104(%rbp)                ## 8-byte Spill
	je	LBB0_4
## %bb.5:
	movl	16(%rbp), %r15d
	movl	%r12d, %edi
	addq	%rbx, %rdi
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	leal	(%r15,%rax), %esi
	callq	_putVarint
	addl	%r12d, %eax
	movl	%eax, %r12d
	jmp	LBB0_6
LBB0_4:
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
LBB0_6:
	movslq	%r12d, %r13
	leaq	(%rbx,%r13), %rdi
	movq	-128(%rbp), %r12                ## 8-byte Reload
	movl	%r12d, %esi
	callq	_putVarint
	addl	%eax, %r13d
	leaq	-176(%rbp), %rdx
	movq	%rbx, %rsi
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	callq	_btreeParseCellPtr
	xorl	%edi, %edi
	cmpl	%r13d, -176(%rbp)
	sete	%dil
	callq	_assert
	xorl	%edi, %edi
	cmpq	%r12, -168(%rbp)
	sete	%dil
	callq	_assert
	addl	-72(%rbp), %r15d                ## 4-byte Folded Reload
	movq	%r15, -88(%rbp)                 ## 8-byte Spill
	movslq	%r15d, %rax
	xorl	%edi, %edi
	cmpq	%rax, -160(%rbp)
	sete	%dil
	callq	_assert
	cmpq	$0, 16(%rbx)
	je	LBB0_8
## %bb.7:
	movq	-136(%rbp), %r12                ## 8-byte Reload
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx def $rdx
	xorl	%edi, %edi
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
LBB0_11:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	24(%rbp), %rax
	movl	-152(%rbp), %ecx
	movl	%ecx, (%rax)
	testl	%esi, %esi
	jle	LBB0_12
## %bb.13:
	movq	-144(%rbp), %rax
	addq	%rbx, %rax
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	movslq	%r13d, %r13
	addq	%rbx, %r13
	movl	-148(%rbp), %ecx
	xorl	%eax, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	leaq	-52(%rbp), %rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_42:                                ##   in Loop: Header=BB0_14 Depth=1
	movq	%r13, %rdi
	xorl	%esi, %esi
	movl	%r15d, %edx
	callq	_memset
LBB0_43:                                ##   in Loop: Header=BB0_14 Depth=1
	movslq	%r15d, %rax
	addq	%rax, %r13
	leaq	(%r12,%rax,4), %r12
	movl	-104(%rbp), %ecx                ## 4-byte Reload
	subl	%eax, %ecx
	subl	%eax, %ebx
	cmoveq	-136(%rbp), %r12                ## 8-byte Folded Reload
	cmovel	-72(%rbp), %ebx                 ## 4-byte Folded Reload
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	subl	%eax, %esi
	movq	%rbx, %rdx
	jle	LBB0_44
LBB0_14:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_17 Depth 2
	testl	%ecx, %ecx
	movq	%rdx, -128(%rbp)                ## 8-byte Spill
	movq	%rsi, -88(%rbp)                 ## 8-byte Spill
	je	LBB0_15
## %bb.35:                              ##   in Loop: Header=BB0_14 Depth=1
	cmpl	%ecx, %esi
	movl	%ecx, %r15d
	cmovll	%esi, %r15d
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	testq	%rax, %rax
	movl	%ecx, -104(%rbp)                ## 4-byte Spill
	jne	LBB0_34
## %bb.36:                              ##   in Loop: Header=BB0_14 Depth=1
	movb	$1, %al
	xorl	%ecx, %ecx
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_37
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_14 Depth=1
	movq	-64(%rbp), %r15
	cmpq	$0, 16(%r14)
	movq	%r15, %rcx
	je	LBB0_21
## %bb.16:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	%r15, %rsi
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_17 Depth=2
	movq	-64(%rbp), %rsi
LBB0_17:                                ##   Parent Loop BB0_14 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	incq	%rsi
	movq	%rsi, -64(%rbp)
	movq	%r14, %rdi
	callq	_PTRMAP_ISPAGE
	testq	%rax, %rax
	jne	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_17 Depth=2
	movq	-64(%rbp), %rbx
	movq	%r14, %rdi
	callq	_PENDING_BYTE_PAGE
	cmpq	%rax, %rbx
	je	LBB0_19
## %bb.20:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	-64(%rbp), %rcx
LBB0_21:                                ##   in Loop: Header=BB0_14 Depth=1
	movq	%r14, %rdi
	leaq	-112(%rbp), %rsi
	leaq	-64(%rbp), %rdx
	xorl	%r8d, %r8d
	callq	_allocateBtreePage
	movl	%eax, -52(%rbp)
	cmpq	$0, 16(%r14)
	je	LBB0_27
## %bb.22:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	_SQLITE_OK@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_27
## %bb.23:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	_PTRMAP_OVERFLOW2@GOTPCREL(%rip), %rax
	testq	%r15, %r15
	jne	LBB0_25
## %bb.24:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	_PTRMAP_OVERFLOW1@GOTPCREL(%rip), %rax
LBB0_25:                                ##   in Loop: Header=BB0_14 Depth=1
	movl	(%rax), %edx
	movq	-64(%rbp), %rsi
	movq	%r14, %rdi
	movq	%r15, %rcx
	leaq	-52(%rbp), %r8
	callq	_ptrmapPut
	cmpl	$0, -52(%rbp)
	je	LBB0_28
## %bb.26:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	-112(%rbp), %rdi
	callq	_releasePage
	movl	-52(%rbp), %eax
LBB0_27:                                ##   in Loop: Header=BB0_14 Depth=1
	testl	%eax, %eax
	jne	LBB0_45
LBB0_28:                                ##   in Loop: Header=BB0_14 Depth=1
	movb	$1, %r15b
	movb	$1, %al
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	testq	%rcx, %rcx
	je	LBB0_30
## %bb.29:                              ##   in Loop: Header=BB0_14 Depth=1
	movl	8(%rcx), %edi
	callq	_sqlite3PagerIswriteable
	testq	%rax, %rax
	setne	%al
LBB0_30:                                ##   in Loop: Header=BB0_14 Depth=1
	movzbl	%al, %edi
	callq	_assert
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movq	-120(%rbp), %rcx                ## 8-byte Reload
	cmpq	%rax, %rcx
	jb	LBB0_33
## %bb.31:                              ##   in Loop: Header=BB0_14 Depth=1
	addq	(%r14), %rax
	cmpq	%rax, %rcx
	jae	LBB0_33
## %bb.32:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movl	8(%rax), %edi
	callq	_sqlite3PagerIswriteable
	testq	%rax, %rax
	setne	%r15b
LBB0_33:                                ##   in Loop: Header=BB0_14 Depth=1
	movzbl	%r15b, %edi
	callq	_assert
	movq	-64(%rbp), %rsi
	movq	-120(%rbp), %rdi                ## 8-byte Reload
	callq	_put4byte
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_releasePage
	movq	-112(%rbp), %rbx
	movq	(%rbx), %rdi
	movq	%rdi, -120(%rbp)                ## 8-byte Spill
	xorl	%esi, %esi
	callq	_put4byte
	movq	-112(%rbp), %rax
	movq	(%rax), %r13
	addq	$4, %r13
	movl	8(%r14), %r15d
	addl	$-4, %r15d
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	cmpl	%r15d, %eax
	movl	%r15d, -104(%rbp)               ## 4-byte Spill
	cmovll	%eax, %r15d
	movq	%rbx, %rax
LBB0_34:                                ##   in Loop: Header=BB0_14 Depth=1
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	8(%rax), %edi
	callq	_sqlite3PagerIswriteable
	testq	%rax, %rax
	setne	%al
LBB0_37:                                ##   in Loop: Header=BB0_14 Depth=1
	movzbl	%al, %edi
	callq	_assert
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rcx
	movb	$1, %al
	cmpq	%rcx, %r13
	jb	LBB0_40
## %bb.38:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	%r13, %rdx
	addq	(%r14), %rcx
	cmpq	%rcx, %r13
	jae	LBB0_40
## %bb.39:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movl	8(%rax), %edi
	callq	_sqlite3PagerIswriteable
	testq	%rax, %rax
	setne	%al
LBB0_40:                                ##   in Loop: Header=BB0_14 Depth=1
	movzbl	%al, %edi
	callq	_assert
	movq	-128(%rbp), %rbx                ## 8-byte Reload
	testl	%ebx, %ebx
	jle	LBB0_42
## %bb.41:                              ##   in Loop: Header=BB0_14 Depth=1
	cmpl	%ebx, %r15d
	cmovgel	%ebx, %r15d
	movl	%r12d, %edi
	callq	_assert
	movq	%r13, %rdi
	movq	%r12, %rsi
	movl	%r15d, %edx
	callq	_memcpy
	jmp	LBB0_43
LBB0_8:
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	cmpq	$2147483647, %r12               ## imm = 0x7FFFFFFF
	setg	%al
	movq	-104(%rbp), %rbx                ## 8-byte Reload
	testq	%rbx, %rbx
	sete	%cl
	orb	%al, %cl
	movzbl	%cl, %edi
	callq	_NEVER
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	movq	_SQLITE_CORRUPT_BKPT@GOTPCREL(%rip), %rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	jmp	LBB0_47
LBB0_44:
	movq	_SQLITE_OK@GOTPCREL(%rip), %rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
LBB0_45:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	jmp	LBB0_46
LBB0_12:
	movq	_SQLITE_OK@GOTPCREL(%rip), %rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	xorl	%edi, %edi
LBB0_46:
	callq	_releasePage
LBB0_47:
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %eax
	addq	$136, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	addl	%r12d, %esi
	movq	%r12, %rdx
	movq	%rbx, %r12
	movq	%r15, %rdi
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_SQLITE_CORRUPT_BKPT,4,2        ## @SQLITE_CORRUPT_BKPT
	.comm	_SQLITE_OK,4,2                  ## @SQLITE_OK
	.comm	_PTRMAP_OVERFLOW2,4,2           ## @PTRMAP_OVERFLOW2
	.comm	_PTRMAP_OVERFLOW1,4,2           ## @PTRMAP_OVERFLOW1
	.no_dead_strip	_fillInCell
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fillInCell
_fillInCell:                            ; @fillInCell
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #192
	.cfi_def_cfa_offset 192
	stp	x28, x27, [sp, #96]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #112]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #128]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #144]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #160]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #176]            ; 16-byte Folded Spill
	add	x29, sp, #176
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x25, x7
	mov	x26, x6
	mov	x28, x5
	str	x4, [sp, #24]                   ; 8-byte Folded Spill
	mov	x23, x3
	mov	x24, x2
	mov	x27, x1
	mov	x20, x0
	stp	xzr, xzr, [sp, #72]
	ldr	x22, [x0, #40]
	ldr	w0, [x22, #24]
	bl	_sqlite3_mutex_held
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_assert
	ldr	x8, [x20]
	cmp	x8, x27
	b.hi	LBB0_3
; %bb.1:
	ldr	x9, [x22]
	add	x8, x8, x9
	cmp	x8, x27
	b.ls	LBB0_3
; %bb.2:
	ldr	w0, [x20, #8]
	bl	_sqlite3PagerIswriteable
	cmp	x0, #0
	cset	w0, ne
	b	LBB0_4
LBB0_3:
	mov	w0, #1
LBB0_4:
	bl	_assert
	ldr	w8, [x20, #32]
	cmp	w8, #0
	cset	w8, eq
	lsl	w19, w8, #2
	ldr	x8, [x20, #24]
	cbz	x8, LBB0_6
; %bb.5:
	add	x0, x27, w19, uxtw
	add	w1, w26, w28
	bl	_putVarint
	add	w19, w19, w0
	b	LBB0_7
LBB0_6:
	mov	w26, #0
	mov	w28, #0
LBB0_7:
	add	x0, x27, w19, sxtw
	mov	x1, x23
	bl	_putVarint
	add	w21, w19, w0
	add	x2, sp, #32
	mov	x0, x20
	mov	x1, x27
	bl	_btreeParseCellPtr
	ldr	w8, [sp, #32]
	cmp	w8, w21
	cset	w0, eq
	bl	_assert
	ldr	x8, [sp, #40]
	cmp	x8, x23
	cset	w0, eq
	bl	_assert
	ldr	x8, [sp, #48]
	add	w19, w28, w26
	cmp	x8, w19, sxtw
	cset	w0, eq
	bl	_assert
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_42
; %bb.8:
	ldr	x24, [sp, #24]                  ; 8-byte Folded Reload
	mov	x23, x28
	mov	w28, #0
LBB0_9:
	ldr	w8, [sp, #56]
	str	w8, [x25]
Lloh0:
	adrp	x8, _SQLITE_OK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SQLITE_OK@GOTPAGEOFF]
	str	x8, [sp, #8]                    ; 8-byte Folded Spill
	cmp	w19, #1
	b.lt	LBB0_44
; %bb.10:
	mov	x25, #0
	ldr	x8, [sp, #64]
	add	x26, x27, x8
	add	x27, x27, w21, sxtw
	ldr	w21, [sp, #60]
	str	w28, [sp, #20]                  ; 4-byte Folded Spill
	b	LBB0_13
LBB0_11:                                ;   in Loop: Header=BB0_13 Depth=1
	mov	x0, x27
	mov	w1, #0
	mov	x2, x28
	bl	_memset
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=1
	sub	w19, w19, w28
	add	x27, x27, w28, sxtw
	add	x8, x24, w28, sxtw #2
	sub	w21, w21, w28
	subs	w9, w23, w28
	ldr	x10, [sp, #24]                  ; 8-byte Folded Reload
	csel	x24, x10, x8, eq
	ldr	w8, [sp, #20]                   ; 4-byte Folded Reload
	csel	w23, w8, w9, eq
	cmp	w19, #0
	b.le	LBB0_47
LBB0_13:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_19 Depth 2
	cbz	w21, LBB0_16
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	cmp	w19, w21
	csel	w28, w19, w21, lt
	cbnz	x25, LBB0_35
; %bb.15:                               ;   in Loop: Header=BB0_13 Depth=1
	mov	w0, #1
	b	LBB0_36
LBB0_16:                                ;   in Loop: Header=BB0_13 Depth=1
	ldr	x27, [sp, #72]
	ldr	x8, [x22, #16]
	mov	x3, x27
	cbz	x8, LBB0_22
; %bb.17:                               ;   in Loop: Header=BB0_13 Depth=1
	mov	x8, x27
	b	LBB0_19
LBB0_18:                                ;   in Loop: Header=BB0_19 Depth=2
	ldr	x8, [sp, #72]
LBB0_19:                                ;   Parent Loop BB0_13 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	x1, x8, #1
	str	x1, [sp, #72]
	mov	x0, x22
	bl	_PTRMAP_ISPAGE
	cbnz	x0, LBB0_18
; %bb.20:                               ;   in Loop: Header=BB0_19 Depth=2
	ldr	x21, [sp, #72]
	mov	x0, x22
	bl	_PENDING_BYTE_PAGE
	cmp	x21, x0
	b.eq	LBB0_18
; %bb.21:                               ;   in Loop: Header=BB0_13 Depth=1
	ldr	x3, [sp, #72]
LBB0_22:                                ;   in Loop: Header=BB0_13 Depth=1
	add	x1, sp, #80
	add	x2, sp, #72
	mov	x0, x22
	mov	w4, #0
	bl	_allocateBtreePage
	stur	w0, [x29, #-84]
	ldr	x8, [x22, #16]
	cbz	x8, LBB0_26
; %bb.23:                               ;   in Loop: Header=BB0_13 Depth=1
Lloh2:
	adrp	x8, _SQLITE_OK@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SQLITE_OK@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_26
; %bb.24:                               ;   in Loop: Header=BB0_13 Depth=1
	cmp	x27, #0
Lloh5:
	adrp	x8, _PTRMAP_OVERFLOW2@GOTPAGE
Lloh6:
	ldr	x8, [x8, _PTRMAP_OVERFLOW2@GOTPAGEOFF]
Lloh7:
	adrp	x9, _PTRMAP_OVERFLOW1@GOTPAGE
Lloh8:
	ldr	x9, [x9, _PTRMAP_OVERFLOW1@GOTPAGEOFF]
	csel	x8, x9, x8, eq
	ldr	w2, [x8]
	ldr	x1, [sp, #72]
	sub	x4, x29, #84
	mov	x0, x22
	mov	x3, x27
	bl	_ptrmapPut
	ldur	w8, [x29, #-84]
	cbz	w8, LBB0_27
; %bb.25:                               ;   in Loop: Header=BB0_13 Depth=1
	ldr	x0, [sp, #80]
	bl	_releasePage
	ldur	w0, [x29, #-84]
LBB0_26:                                ;   in Loop: Header=BB0_13 Depth=1
	cbnz	w0, LBB0_46
LBB0_27:                                ;   in Loop: Header=BB0_13 Depth=1
	cbz	x25, LBB0_29
; %bb.28:                               ;   in Loop: Header=BB0_13 Depth=1
	ldr	w0, [x25, #8]
	bl	_sqlite3PagerIswriteable
	cmp	x0, #0
	cset	w0, ne
	b	LBB0_30
LBB0_29:                                ;   in Loop: Header=BB0_13 Depth=1
	mov	w0, #1
LBB0_30:                                ;   in Loop: Header=BB0_13 Depth=1
	bl	_assert
	ldr	x8, [x20]
	cmp	x26, x8
	b.lo	LBB0_33
; %bb.31:                               ;   in Loop: Header=BB0_13 Depth=1
	ldr	x9, [x22]
	add	x8, x8, x9
	cmp	x26, x8
	b.hs	LBB0_33
; %bb.32:                               ;   in Loop: Header=BB0_13 Depth=1
	ldr	w0, [x20, #8]
	bl	_sqlite3PagerIswriteable
	cmp	x0, #0
	cset	w0, ne
	b	LBB0_34
LBB0_33:                                ;   in Loop: Header=BB0_13 Depth=1
	mov	w0, #1
LBB0_34:                                ;   in Loop: Header=BB0_13 Depth=1
	bl	_assert
	ldr	x1, [sp, #72]
	mov	x0, x26
	bl	_put4byte
	mov	x0, x25
	bl	_releasePage
	ldr	x25, [sp, #80]
	ldr	x26, [x25]
	mov	x0, x26
	mov	x1, #0
	bl	_put4byte
	ldr	x8, [sp, #80]
	ldr	x8, [x8]
	add	x27, x8, #4
	ldr	w8, [x22, #8]
	sub	w21, w8, #4
	cmp	w19, w21
	csel	w28, w19, w21, lt
LBB0_35:                                ;   in Loop: Header=BB0_13 Depth=1
	ldr	w0, [x25, #8]
	bl	_sqlite3PagerIswriteable
	cmp	x0, #0
	cset	w0, ne
LBB0_36:                                ;   in Loop: Header=BB0_13 Depth=1
	bl	_assert
	ldr	x8, [x20]
	cmp	x27, x8
	b.lo	LBB0_39
; %bb.37:                               ;   in Loop: Header=BB0_13 Depth=1
	ldr	x9, [x22]
	add	x8, x8, x9
	cmp	x27, x8
	b.hs	LBB0_39
; %bb.38:                               ;   in Loop: Header=BB0_13 Depth=1
	ldr	w0, [x20, #8]
	bl	_sqlite3PagerIswriteable
	cmp	x0, #0
	cset	w0, ne
	b	LBB0_40
LBB0_39:                                ;   in Loop: Header=BB0_13 Depth=1
	mov	w0, #1
LBB0_40:                                ;   in Loop: Header=BB0_13 Depth=1
	bl	_assert
	cmp	w23, #1
	b.lt	LBB0_11
; %bb.41:                               ;   in Loop: Header=BB0_13 Depth=1
	cmp	w28, w23
	csel	w28, w28, w23, lt
	mov	x0, x24
	bl	_assert
	mov	x0, x27
	mov	x1, x24
	mov	x2, x28
	bl	_memcpy
	b	LBB0_12
LBB0_42:
	cmp	x24, #0
	mov	w8, #2147483647
	ccmp	x23, x8, #0, ne
	cset	w0, gt
	bl	_NEVER
	cbz	x0, LBB0_45
; %bb.43:
Lloh9:
	adrp	x8, _SQLITE_CORRUPT_BKPT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SQLITE_CORRUPT_BKPT@GOTPAGEOFF]
	str	x8, [sp, #8]                    ; 8-byte Folded Spill
	b	LBB0_48
LBB0_44:
	mov	x25, #0
	b	LBB0_47
LBB0_45:
	add	w19, w19, w23
	b	LBB0_9
LBB0_46:
	sub	x8, x29, #84
	str	x8, [sp, #8]                    ; 8-byte Folded Spill
LBB0_47:
	mov	x0, x25
	bl	_releasePage
LBB0_48:
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #176]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #160]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #144]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #128]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #112]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #192
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_SQLITE_CORRUPT_BKPT,4,2        ; @SQLITE_CORRUPT_BKPT
	.comm	_SQLITE_OK,4,2                  ; @SQLITE_OK
	.comm	_PTRMAP_OVERFLOW2,4,2           ; @PTRMAP_OVERFLOW2
	.comm	_PTRMAP_OVERFLOW1,4,2           ; @PTRMAP_OVERFLOW1
	.no_dead_strip	_fillInCell
.subsections_via_symbols
