	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function setAllPagerFlags
_setAllPagerFlags:                      ## @setAllPagerFlags
	.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
	cmpq	$0, 16(%rdi)
	je	LBB0_6
## %bb.1:
	movq	%rdi, %r14
	movq	8(%rdi), %rbx
	movl	(%rdi), %r15d
	movq	_SQLITE_FullFSync@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_PAGER_FULLFSYNC@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpl	(%rcx), %eax
	sete	%dil
	callq	_assert
	movq	_SQLITE_CkptFullFSync@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_PAGER_CKPT_FULLFSYNC@GOTPCREL(%rip), %r13
	xorl	%edi, %edi
	cmpl	(%r13), %eax
	sete	%dil
	callq	_assert
	movq	_SQLITE_CacheSpill@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_PAGER_CACHESPILL@GOTPCREL(%rip), %r12
	xorl	%edi, %edi
	cmpl	(%r12), %eax
	sete	%dil
	callq	_assert
	movl	(%r13), %eax
	movq	_PAGER_FULLFSYNC@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	orl	(%r12), %eax
	movq	_PAGER_FLAGS_MASK@GOTPCREL(%rip), %r12
	xorl	%edi, %edi
	cmpl	(%r12), %eax
	sete	%dil
	callq	_assert
	movq	_PAGER_SYNCHRONOUS_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	xorl	%edi, %edi
	andl	(%rbx), %eax
	sete	%dil
	callq	_assert
	testl	%r15d, %r15d
	jle	LBB0_6
## %bb.2:
	incl	%r15d
	addq	$8, %rbx
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	decl	%r15d
	addq	$16, %rbx
	cmpl	$1, %r15d
	jbe	LBB0_6
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	(%r12), %esi
	andl	4(%r14), %esi
	orl	-8(%rbx), %esi
	callq	_sqlite3BtreeSetPagerFlags
	jmp	LBB0_5
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SQLITE_FullFSync,4,2           ## @SQLITE_FullFSync
	.comm	_PAGER_FULLFSYNC,4,2            ## @PAGER_FULLFSYNC
	.comm	_SQLITE_CkptFullFSync,4,2       ## @SQLITE_CkptFullFSync
	.comm	_PAGER_CKPT_FULLFSYNC,4,2       ## @PAGER_CKPT_FULLFSYNC
	.comm	_SQLITE_CacheSpill,4,2          ## @SQLITE_CacheSpill
	.comm	_PAGER_CACHESPILL,4,2           ## @PAGER_CACHESPILL
	.comm	_PAGER_FLAGS_MASK,4,2           ## @PAGER_FLAGS_MASK
	.comm	_PAGER_SYNCHRONOUS_MASK,4,2     ## @PAGER_SYNCHRONOUS_MASK
	.no_dead_strip	_setAllPagerFlags
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function setAllPagerFlags
_setAllPagerFlags:                      ; @setAllPagerFlags
	.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
	ldr	x8, [x0, #16]
	cbz	x8, LBB0_6
; %bb.1:
	mov	x19, x0
	ldr	x20, [x0, #8]
	ldr	w21, [x0]
Lloh0:
	adrp	x8, _SQLITE_FullFSync@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SQLITE_FullFSync@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x22, _PAGER_FULLFSYNC@GOTPAGE
Lloh4:
	ldr	x22, [x22, _PAGER_FULLFSYNC@GOTPAGEOFF]
	ldr	w9, [x22]
	cmp	w8, w9
	cset	w0, eq
	bl	_assert
Lloh5:
	adrp	x8, _SQLITE_CkptFullFSync@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SQLITE_CkptFullFSync@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	adrp	x23, _PAGER_CKPT_FULLFSYNC@GOTPAGE
Lloh9:
	ldr	x23, [x23, _PAGER_CKPT_FULLFSYNC@GOTPAGEOFF]
	ldr	w9, [x23]
	cmp	w8, w9
	cset	w0, eq
	bl	_assert
Lloh10:
	adrp	x8, _SQLITE_CacheSpill@GOTPAGE
Lloh11:
	ldr	x8, [x8, _SQLITE_CacheSpill@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
Lloh13:
	adrp	x24, _PAGER_CACHESPILL@GOTPAGE
Lloh14:
	ldr	x24, [x24, _PAGER_CACHESPILL@GOTPAGEOFF]
	ldr	w9, [x24]
	cmp	w8, w9
	cset	w0, eq
	bl	_assert
	ldr	w8, [x22]
	ldr	w9, [x23]
	orr	w8, w9, w8
	ldr	w9, [x24]
	orr	w8, w8, w9
Lloh15:
	adrp	x22, _PAGER_FLAGS_MASK@GOTPAGE
Lloh16:
	ldr	x22, [x22, _PAGER_FLAGS_MASK@GOTPAGEOFF]
	ldr	w9, [x22]
	cmp	w8, w9
	cset	w0, eq
	bl	_assert
	ldr	w8, [x20]
Lloh17:
	adrp	x9, _PAGER_SYNCHRONOUS_MASK@GOTPAGE
Lloh18:
	ldr	x9, [x9, _PAGER_SYNCHRONOUS_MASK@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	bics	wzr, w8, w9
	cset	w0, eq
	bl	_assert
	cmp	w21, #1
	b.lt	LBB0_6
; %bb.2:
	add	w21, w21, #1
	add	x20, x20, #8
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	sub	w21, w21, #1
	add	x20, x20, #16
	cmp	w21, #1
	b.ls	LBB0_6
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x20]
	cbz	x0, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldur	w8, [x20, #-8]
	ldr	w9, [x19, #4]
	ldr	w10, [x22]
	and	w9, w10, w9
	orr	w1, w9, w8
	bl	_sqlite3BtreeSetPagerFlags
	b	LBB0_3
LBB0_6:
	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
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SQLITE_FullFSync,4,2           ; @SQLITE_FullFSync
	.comm	_PAGER_FULLFSYNC,4,2            ; @PAGER_FULLFSYNC
	.comm	_SQLITE_CkptFullFSync,4,2       ; @SQLITE_CkptFullFSync
	.comm	_PAGER_CKPT_FULLFSYNC,4,2       ; @PAGER_CKPT_FULLFSYNC
	.comm	_SQLITE_CacheSpill,4,2          ; @SQLITE_CacheSpill
	.comm	_PAGER_CACHESPILL,4,2           ; @PAGER_CACHESPILL
	.comm	_PAGER_FLAGS_MASK,4,2           ; @PAGER_FLAGS_MASK
	.comm	_PAGER_SYNCHRONOUS_MASK,4,2     ; @PAGER_SYNCHRONOUS_MASK
	.no_dead_strip	_setAllPagerFlags
.subsections_via_symbols
