	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function btreeSetHasContent
_btreeSetHasContent:                    ## @btreeSetHasContent
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	_SQLITE_OK@GOTPCREL(%rip), %r12
	movl	(%r12), %ebx
	movq	8(%rdi), %rdi
	testq	%rdi, %rdi
	jne	LBB0_4
## %bb.1:
	xorl	%edi, %edi
	cmpq	%r14, (%r15)
	setge	%dil
	callq	_assert
	movq	(%r15), %rdi
	callq	_sqlite3BitvecCreate
	movq	%rax, %rdi
	movq	%rax, 8(%r15)
	testq	%rax, %rax
	jne	LBB0_3
## %bb.2:
	movq	_SQLITE_NOMEM_BKPT@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_3:
	movl	%ebx, %eax
	movl	(%r12), %ebx
	cmpl	%ebx, %eax
	jne	LBB0_5
LBB0_4:
	callq	_sqlite3BitvecSize
	movq	%rax, %rcx
	movl	%ebx, %eax
	cmpq	%r14, %rcx
	jge	LBB0_6
LBB0_5:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	8(%r15), %rdi
	movq	%r14, %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_sqlite3BitvecSet               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SQLITE_OK,4,2                  ## @SQLITE_OK
	.comm	_SQLITE_NOMEM_BKPT,4,2          ## @SQLITE_NOMEM_BKPT
	.no_dead_strip	_btreeSetHasContent
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function btreeSetHasContent
_btreeSetHasContent:                    ; @btreeSetHasContent
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x22, _SQLITE_OK@GOTPAGE
Lloh1:
	ldr	x22, [x22, _SQLITE_OK@GOTPAGEOFF]
	ldr	w21, [x22]
	ldr	x0, [x0, #8]
	cbnz	x0, LBB0_3
; %bb.1:
	ldr	x8, [x20]
	cmp	x8, x19
	cset	w0, ge
	bl	_assert
	ldr	x0, [x20]
	bl	_sqlite3BitvecCreate
Lloh2:
	adrp	x8, _SQLITE_NOMEM_BKPT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SQLITE_NOMEM_BKPT@GOTPAGEOFF]
	str	x0, [x20, #8]
Lloh4:
	ldr	w8, [x8]
	cmp	x0, #0
	csel	w21, w8, w21, eq
	ldr	w8, [x22]
	cmp	w21, w8
	b.ne	LBB0_4
; %bb.2:
	mov	x21, x8
LBB0_3:
	bl	_sqlite3BitvecSize
	cmp	x0, x19
	b.ge	LBB0_5
LBB0_4:
	mov	x0, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_5:
	ldr	x0, [x20, #8]
	mov	x1, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_sqlite3BitvecSet
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_SQLITE_OK,4,2                  ; @SQLITE_OK
	.comm	_SQLITE_NOMEM_BKPT,4,2          ; @SQLITE_NOMEM_BKPT
	.no_dead_strip	_btreeSetHasContent
.subsections_via_symbols
