	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ptrmapPutOvflPtr
_ptrmapPutOvflPtr:                      ## @ptrmapPutOvflPtr
	.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	%r12
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpl	$0, (%rcx)
	jne	LBB0_5
## %bb.1:
	movq	%rcx, %r14
	movq	%rdx, %rbx
	movq	%rsi, %r12
	movq	%rdi, %r15
	xorl	%edi, %edi
	testq	%rdx, %rdx
	setne	%dil
	callq	_assert
	leaq	-56(%rbp), %rdx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	*16(%r15)
	movq	-56(%rbp), %rax
	cmpq	-48(%rbp), %rax
	jge	LBB0_5
## %bb.2:
	movl	8(%r12), %edi
	leaq	(%rbx,%rax,4), %rdx
	movq	%rbx, %rsi
	callq	_SQLITE_WITHIN
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	xorl	%edi, %edi
	cmpq	%r15, %r12
	setne	%dil
	callq	_testcase
	movq	_SQLITE_CORRUPT_BKPT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r14)
	jmp	LBB0_5
LBB0_4:
	movslq	-40(%rbp), %rax
	leaq	(%rbx,%rax,4), %rdi
	addq	$-16, %rdi
	callq	_get4byte
	movl	(%r15), %ecx
	movl	4(%r15), %edi
	movq	_PTRMAP_OVERFLOW1@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movl	%eax, %esi
	movq	%r14, %r8
	callq	_ptrmapPut
LBB0_5:
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SQLITE_CORRUPT_BKPT,4,2        ## @SQLITE_CORRUPT_BKPT
	.comm	_PTRMAP_OVERFLOW1,4,2           ## @PTRMAP_OVERFLOW1
	.no_dead_strip	_ptrmapPutOvflPtr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ptrmapPutOvflPtr
_ptrmapPutOvflPtr:                      ; @ptrmapPutOvflPtr
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	ldr	w8, [x3]
	cbnz	w8, LBB0_5
; %bb.1:
	mov	x19, x3
	mov	x21, x2
	mov	x22, x1
	mov	x20, x0
	cmp	x2, #0
	cset	w0, ne
	bl	_assert
	ldr	x8, [x20, #16]
	add	x2, sp, #8
	mov	x0, x20
	mov	x1, x21
	blr	x8
	ldp	x8, x9, [sp, #8]
	cmp	x8, x9
	b.ge	LBB0_5
; %bb.2:
	ldr	w0, [x22, #8]
	add	x2, x21, x8, lsl #2
	mov	x1, x21
	bl	_SQLITE_WITHIN
	cbz	x0, LBB0_4
; %bb.3:
	cmp	x22, x20
	cset	w0, ne
	bl	_testcase
Lloh0:
	adrp	x8, _SQLITE_CORRUPT_BKPT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SQLITE_CORRUPT_BKPT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x19]
	b	LBB0_5
LBB0_4:
	ldrsw	x8, [sp, #24]
	add	x8, x21, x8, lsl #2
	sub	x0, x8, #16
	bl	_get4byte
	mov	x1, x0
Lloh3:
	adrp	x8, _PTRMAP_OVERFLOW1@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PTRMAP_OVERFLOW1@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	ldp	w3, w0, [x20]
	mov	x4, x19
	bl	_ptrmapPut
LBB0_5:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_SQLITE_CORRUPT_BKPT,4,2        ; @SQLITE_CORRUPT_BKPT
	.comm	_PTRMAP_OVERFLOW1,4,2           ; @PTRMAP_OVERFLOW1
	.no_dead_strip	_ptrmapPutOvflPtr
.subsections_via_symbols
