	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function btreeSetNPage
_btreeSetNPage:                         ## @btreeSetNPage
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	(%rsi), %rdi
	addq	$112, %rdi
	callq	_get4byte
	movl	%eax, %ebx
	movl	%eax, -20(%rbp)
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_testcase
	testl	%ebx, %ebx
	jne	LBB0_2
## %bb.1:
	movl	4(%r14), %edi
	leaq	-20(%rbp), %rsi
	callq	_sqlite3PagerPagecount
	movl	-20(%rbp), %ebx
LBB0_2:
	xorl	%edi, %edi
	cmpl	%ebx, (%r14)
	setne	%dil
	callq	_testcase
	movl	-20(%rbp), %eax
	movl	%eax, (%r14)
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_btreeSetNPage
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function btreeSetNPage
_btreeSetNPage:                         ; @btreeSetNPage
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
	ldr	x8, [x1]
	add	x0, x8, #112
	bl	_get4byte
	mov	x20, x0
	str	w0, [sp, #12]
	cmp	w0, #0
	cset	w0, eq
	bl	_testcase
	cbnz	w20, LBB0_2
; %bb.1:
	ldr	w0, [x19, #4]
	add	x1, sp, #12
	bl	_sqlite3PagerPagecount
	ldr	w20, [sp, #12]
LBB0_2:
	ldr	w8, [x19]
	cmp	w8, w20
	cset	w0, ne
	bl	_testcase
	ldr	w8, [sp, #12]
	str	w8, [x19]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_btreeSetNPage
.subsections_via_symbols
