	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pageFreeArray
_pageFreeArray:                         ## @pageFreeArray
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testl	%edx, %edx
	jle	LBB0_14
## %bb.1:
	movq	%rcx, %rbx
	movq	8(%rdi), %rax
	movq	16(%rdi), %r8
	movq	(%rax), %rax
	leaq	(%r8,%rax,4), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movslq	(%rdi), %rax
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	movslq	4(%rdi), %rcx
	addq	%rax, %rcx
	movq	%r8, -64(%rbp)                  ## 8-byte Spill
	leaq	(%r8,%rcx,4), %rax
	addq	$32, %rax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	addl	%esi, %edx
	movslq	%esi, %r12
	movslq	%edx, %rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorl	%r13d, %r13d
	xorl	%r15d, %r15d
	movq	%rbx, -88(%rbp)                 ## 8-byte Spill
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_5 Depth=1
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	addl	%r13d, %eax
	movl	%eax, %r13d
LBB0_3:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	incl	%eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%r14, %r15
                                        ## kill: def $r13d killed $r13d killed $r13
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
LBB0_4:                                 ##   in Loop: Header=BB0_5 Depth=1
	incq	%r12
	cmpq	-96(%rbp), %r12                 ## 8-byte Folded Reload
	jge	LBB0_11
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%rbx), %rax
	movq	(%rax,%r12,8), %r14
	movq	%r14, %rdi
	movq	-104(%rbp), %rsi                ## 8-byte Reload
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	callq	_SQLITE_WITHIN
	testq	%rax, %rax
	je	LBB0_4
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	%r13d, -44(%rbp)                ## 4-byte Spill
	movq	(%rbx), %rax
	movslq	(%rax,%r12,4), %r13
	xorl	%edi, %edi
	testq	%r13, %r13
	setg	%dil
	callq	_assert
	leaq	(%r14,%r13,4), %rbx
	cmpq	%rbx, %r15
	je	LBB0_2
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	testq	%r15, %r15
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	subq	-64(%rbp), %r15                 ## 8-byte Folded Reload
	seta	%al
	cmpq	$262144, %r15                   ## imm = 0x40000
	setl	%cl
	andb	%al, %cl
	movzbl	%cl, %edi
	callq	_assert
	shrq	$2, %r15
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movl	%r15d, %esi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	callq	_freeSpace
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	cmpq	-80(%rbp), %rbx                 ## 8-byte Folded Reload
	jbe	LBB0_3
LBB0_14:
	xorl	%eax, %eax
	jmp	LBB0_15
LBB0_11:
	testq	%r15, %r15
	je	LBB0_13
## %bb.12:
	subq	-64(%rbp), %r15                 ## 8-byte Folded Reload
	seta	%al
	cmpq	$262144, %r15                   ## imm = 0x40000
	setl	%cl
	andb	%al, %cl
	movzbl	%cl, %edi
	callq	_assert
	shrq	$2, %r15
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movl	%r15d, %esi
	movl	%r13d, %edx
	callq	_freeSpace
LBB0_13:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
LBB0_15:
                                        ## kill: def $eax killed $eax killed $rax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_pageFreeArray
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pageFreeArray
_pageFreeArray:                         ; @pageFreeArray
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
                                        ; kill: def $w1 killed $w1 def $x1
	cmp	w2, #1
	b.lt	LBB0_10
; %bb.1:
	mov	x21, x3
	mov	w24, #0
	mov	w22, #0
	mov	x26, #0
	ldp	x8, x10, [x0, #8]
	ldr	x8, [x8]
	add	x23, x10, x8, lsl #2
	ldp	w8, w9, [x0]
	stp	x10, x0, [sp, #8]               ; 16-byte Folded Spill
	add	w8, w8, w9
	add	w8, w8, #8
	add	x8, x10, w8, sxtw #2
	str	x8, [sp, #24]                   ; 8-byte Folded Spill
	add	w8, w2, w1
	sxtw	x27, w1
	sxtw	x28, w8
	b	LBB0_5
LBB0_2:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	w20, w20, w22
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	w24, w24, #1
	mov	x26, x25
	mov	x22, x20
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x27, x27, #1
	cmp	x27, x28
	b.ge	LBB0_11
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21, #8]
	ldr	x25, [x8, x27, lsl #3]
	mov	x0, x25
	ldr	x1, [sp, #24]                   ; 8-byte Folded Reload
	mov	x2, x23
	bl	_SQLITE_WITHIN
	cbz	x0, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x21]
	ldrsw	x20, [x8, x27, lsl #2]
	cmp	x20, #0
	cset	w0, gt
	bl	_assert
	add	x19, x25, x20, lsl #2
	cmp	x26, x19
	b.eq	LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	cbz	x26, LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	subs	x26, x26, x8
	mov	w8, #262144
	ccmp	x26, x8, #0, hi
	cset	w0, lt
	bl	_assert
	lsr	x1, x26, #2
	ldr	x0, [sp, #16]                   ; 8-byte Folded Reload
                                        ; kill: def $w1 killed $w1 killed $x1
	mov	x2, x22
	bl	_freeSpace
LBB0_9:                                 ;   in Loop: Header=BB0_5 Depth=1
	cmp	x19, x23
	b.ls	LBB0_3
LBB0_10:
	mov	w24, #0
	b	LBB0_13
LBB0_11:
	cbz	x26, LBB0_13
; %bb.12:
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	subs	x19, x26, x8
	mov	w8, #262144
	ccmp	x19, x8, #0, hi
	cset	w0, lt
	bl	_assert
	lsr	x1, x19, #2
	ldr	x0, [sp, #16]                   ; 8-byte Folded Reload
                                        ; kill: def $w1 killed $w1 killed $x1
	mov	x2, x22
	bl	_freeSpace
LBB0_13:
	mov	x0, x24
	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
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_pageFreeArray
.subsections_via_symbols
