	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pcache1PinPage
_pcache1PinPage:                        ## @pcache1PinPage
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	testq	%rdi, %rdi
	je	LBB0_12
## %bb.1:
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	8(%rax), %r14
	movl	16(%r14), %edi
	callq	_sqlite3_mutex_held
	movl	%eax, %edi
	callq	_assert
	movq	16(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_2
LBB0_3:
	movq	8(%rbx), %rcx
	testq	%rcx, %rcx
	je	LBB0_5
## %bb.4:
	movq	%rax, 16(%rcx)
	movq	16(%rbx), %rax
LBB0_5:
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	%rcx, 8(%rax)
LBB0_7:
	cmpq	%rbx, 8(%r14)
	jne	LBB0_9
## %bb.8:
	movq	%rax, 8(%r14)
LBB0_9:
	leaq	8(%rbx), %rax
	cmpq	%rbx, (%r14)
	jne	LBB0_11
## %bb.10:
	movq	(%rax), %rcx
	movq	%rcx, (%r14)
LBB0_11:
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rax)
	movq	(%rbx), %rax
	decl	(%rax)
	jmp	LBB0_12
LBB0_2:
	cmpq	%rbx, (%r14)
	je	LBB0_3
LBB0_12:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_pcache1PinPage
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pcache1PinPage
_pcache1PinPage:                        ; @pcache1PinPage
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	cbz	x0, LBB0_12
; %bb.1:
	mov	x19, x0
	ldr	x8, [x0]
	ldr	x20, [x8, #8]
	ldr	w0, [x20, #16]
	bl	_sqlite3_mutex_held
	bl	_assert
	ldr	x9, [x19, #16]
	cbz	x9, LBB0_11
LBB0_2:
	mov	x8, x19
	ldr	x10, [x8, #8]!
	cbz	x10, LBB0_4
; %bb.3:
	str	x9, [x10, #16]
	ldr	x9, [x19, #16]
LBB0_4:
	cbz	x9, LBB0_6
; %bb.5:
	str	x10, [x9, #8]
LBB0_6:
	ldr	x10, [x20, #8]
	cmp	x10, x19
	b.ne	LBB0_8
; %bb.7:
	str	x9, [x20, #8]
LBB0_8:
	ldr	x9, [x20]
	cmp	x9, x19
	b.ne	LBB0_10
; %bb.9:
	ldr	x9, [x8]
	str	x9, [x20]
LBB0_10:
	stp	xzr, xzr, [x8]
	ldr	x8, [x19]
	ldr	w9, [x8]
	sub	w9, w9, #1
	str	w9, [x8]
	b	LBB0_12
LBB0_11:
	ldr	x8, [x20]
	cmp	x8, x19
	b.eq	LBB0_2
LBB0_12:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_pcache1PinPage
.subsections_via_symbols
