	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function blobSeekToRow
_blobSeekToRow:                         ## @blobSeekToRow
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r12
	movq	16(%rdi), %r14
	movq	_MEM_Int@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	24(%r14), %rcx
	movl	%eax, 24(%rcx)
	movq	%rsi, 16(%rcx)
	cmpl	$5, (%r14)
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	jl	LBB0_2
## %bb.1:
	movl	$4, (%r14)
	movq	16(%r14), %rax
	movq	32(%rax), %rax
	movq	_OP_NotExists@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	sete	%dil
	callq	_assert
	movq	%r14, %rdi
	callq	_sqlite3VdbeExec
	jmp	LBB0_3
LBB0_2:
	movq	%r14, %rdi
	callq	_sqlite3_step
LBB0_3:
	movl	%eax, %r15d
	movq	_SQLITE_ROW@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
	cmpl	(%rax), %r15d
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	jne	LBB0_9
## %bb.4:
	movq	8(%r14), %rax
	movq	(%rax), %r14
	movl	(%r14), %eax
	movslq	(%r12), %rcx
	cmpl	%ecx, %eax
	jle	LBB0_6
## %bb.5:
	movq	8(%r14), %rdx
	movl	(%rdx,%rcx,4), %r13d
LBB0_6:
	xorl	%edi, %edi
	cmpl	%ecx, %eax
	sete	%dil
	callq	_testcase
	movl	(%r12), %eax
	incl	%eax
	xorl	%edi, %edi
	cmpl	%eax, (%r14)
	sete	%dil
	callq	_testcase
	cmpl	$11, %r13d
	jg	LBB0_8
## %bb.7:
	movl	8(%r12), %edi
	cmpl	$7, %r13d
	leaq	L_.str.2(%rip), %rax
	leaq	L_.str.3(%rip), %rcx
	cmoveq	%rax, %rcx
	testl	%r13d, %r13d
	leaq	L_.str.1(%rip), %rdx
	cmovneq	%rcx, %rdx
	leaq	L_.str(%rip), %rsi
	callq	_sqlite3MPrintf
	movq	%rax, %r13
	movq	_SQLITE_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	16(%r12), %rdi
	callq	_sqlite3_finalize
	movq	$0, 16(%r12)
	jmp	LBB0_9
LBB0_8:
	movq	8(%r14), %rax
	movslq	(%r12), %rcx
	addq	16(%r14), %rcx
	movl	(%rax,%rcx,4), %eax
	movl	%eax, 4(%r12)
	movl	%r13d, %edi
	callq	_sqlite3VdbeSerialTypeLen
	movl	%eax, 28(%r12)
	movl	24(%r14), %edi
	movl	%edi, 24(%r12)
	callq	_sqlite3BtreeIncrblobCursor
	xorl	%r13d, %r13d
LBB0_9:
	movq	_SQLITE_ROW@GOTPCREL(%rip), %rbx
	cmpl	(%rbx), %r15d
	jne	LBB0_11
## %bb.10:
	movq	_SQLITE_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	jmp	LBB0_16
LBB0_11:
	movq	16(%r12), %rdi
	testq	%rdi, %rdi
	je	LBB0_16
## %bb.12:
	callq	_sqlite3_finalize
	movl	%eax, %r15d
	movq	$0, 16(%r12)
	movq	_SQLITE_OK@GOTPCREL(%rip), %rax
	movl	8(%r12), %r14d
	cmpl	(%rax), %r15d
	jne	LBB0_14
## %bb.13:
	leaq	L_.str.4(%rip), %rsi
	movl	%r14d, %edi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	callq	_sqlite3MPrintf
	movq	%rax, %r13
	movq	_SQLITE_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	jmp	LBB0_15
LBB0_14:
	movl	%r14d, %edi
	callq	_sqlite3_errmsg
	leaq	L_.str.5(%rip), %rsi
	movl	%r14d, %edi
	movq	%rax, %rdx
	callq	_sqlite3MPrintf
	movq	%rax, %r13
LBB0_15:
	movq	_SQLITE_ROW@GOTPCREL(%rip), %rbx
LBB0_16:
	movq	_SQLITE_OK@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r15d
	setne	%al
	testq	%r13, %r13
	sete	%cl
	orb	%al, %cl
	movzbl	%cl, %edi
	callq	_assert
	cmpl	(%rbx), %r15d
	setne	%al
	movq	_SQLITE_DONE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %r15d
	setne	%cl
	andb	%al, %cl
	movzbl	%cl, %edi
	callq	_assert
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%r13, (%rax)
	movl	%r15d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MEM_Int,4,2                    ## @MEM_Int
	.comm	_OP_NotExists,8,3               ## @OP_NotExists
	.comm	_SQLITE_ROW,4,2                 ## @SQLITE_ROW
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cannot open value of type %s"

L_.str.1:                               ## @.str.1
	.asciz	"null"

L_.str.2:                               ## @.str.2
	.asciz	"real"

L_.str.3:                               ## @.str.3
	.asciz	"integer"

	.comm	_SQLITE_ERROR,4,2               ## @SQLITE_ERROR
	.comm	_SQLITE_OK,4,2                  ## @SQLITE_OK
L_.str.4:                               ## @.str.4
	.asciz	"no such rowid: %lld"

L_.str.5:                               ## @.str.5
	.asciz	"%s"

	.comm	_SQLITE_DONE,4,2                ## @SQLITE_DONE
	.no_dead_strip	_blobSeekToRow
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function blobSeekToRow
_blobSeekToRow:                         ; @blobSeekToRow
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	ldr	x23, [x0, #16]
Lloh0:
	adrp	x8, _MEM_Int@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MEM_Int@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	x9, [x23, #24]
	str	w8, [x9, #24]
	str	x1, [x9, #16]
	ldr	w8, [x23]
	cmp	w8, #5
	b.lt	LBB0_2
; %bb.1:
	mov	w8, #4
	str	w8, [x23]
	ldr	x8, [x23, #16]
	ldr	x8, [x8, #32]
Lloh3:
	adrp	x9, _OP_NotExists@GOTPAGE
Lloh4:
	ldr	x9, [x9, _OP_NotExists@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, eq
	bl	_assert
	mov	x0, x23
	bl	_sqlite3VdbeExec
	b	LBB0_3
LBB0_2:
	mov	x0, x23
	bl	_sqlite3_step
LBB0_3:
	mov	x22, x0
Lloh6:
	adrp	x24, _SQLITE_ROW@GOTPAGE
Lloh7:
	ldr	x24, [x24, _SQLITE_ROW@GOTPAGEOFF]
	ldr	w8, [x24]
	cmp	w0, w8
	b.ne	LBB0_10
; %bb.4:
	ldr	x8, [x23, #8]
	ldr	x25, [x8]
	ldr	w8, [x25]
	ldrsw	x9, [x21]
	cmp	w8, w9
	b.le	LBB0_6
; %bb.5:
	ldr	x10, [x25, #8]
	ldr	w23, [x10, x9, lsl #2]
	b	LBB0_7
LBB0_6:
	mov	w23, #0
LBB0_7:
	cmp	w8, w9
	cset	w0, eq
	bl	_testcase
	ldr	w8, [x25]
	ldr	w9, [x21]
	add	w9, w9, #1
	cmp	w8, w9
	cset	w0, eq
	bl	_testcase
	cmp	w23, #11
	b.gt	LBB0_9
; %bb.8:
	ldr	w0, [x21, #8]
Lloh8:
	adrp	x8, l_.str.3@PAGE
Lloh9:
	add	x8, x8, l_.str.3@PAGEOFF
Lloh10:
	adrp	x9, l_.str.2@PAGE
Lloh11:
	add	x9, x9, l_.str.2@PAGEOFF
	cmp	w23, #7
	csel	x8, x9, x8, eq
Lloh12:
	adrp	x9, l_.str.1@PAGE
Lloh13:
	add	x9, x9, l_.str.1@PAGEOFF
	cmp	w23, #0
	csel	x2, x9, x8, eq
Lloh14:
	adrp	x1, l_.str@PAGE
Lloh15:
	add	x1, x1, l_.str@PAGEOFF
	bl	_sqlite3MPrintf
	mov	x23, x0
Lloh16:
	adrp	x8, _SQLITE_ERROR@GOTPAGE
Lloh17:
	ldr	x8, [x8, _SQLITE_ERROR@GOTPAGEOFF]
Lloh18:
	ldr	w22, [x8]
	ldr	x0, [x21, #16]
	bl	_sqlite3_finalize
	str	xzr, [x21, #16]
	b	LBB0_11
LBB0_9:
	ldrsw	x8, [x21]
	ldp	x9, x10, [x25, #8]
	add	x8, x10, x8
	ldr	w8, [x9, x8, lsl #2]
	str	w8, [x21, #4]
	mov	x0, x23
	bl	_sqlite3VdbeSerialTypeLen
	ldr	w8, [x25, #24]
	stp	w8, w0, [x21, #24]
	mov	x0, x8
	bl	_sqlite3BtreeIncrblobCursor
LBB0_10:
	mov	x23, #0
LBB0_11:
	ldr	w8, [x24]
Lloh19:
	adrp	x25, _SQLITE_OK@GOTPAGE
Lloh20:
	ldr	x25, [x25, _SQLITE_OK@GOTPAGEOFF]
	cmp	w22, w8
	b.ne	LBB0_13
; %bb.12:
	ldr	w22, [x25]
	b	LBB0_17
LBB0_13:
	ldr	x0, [x21, #16]
	cbz	x0, LBB0_17
; %bb.14:
	bl	_sqlite3_finalize
	str	xzr, [x21, #16]
	ldr	w8, [x25]
	ldr	w21, [x21, #8]
	cmp	w0, w8
	b.ne	LBB0_16
; %bb.15:
Lloh21:
	adrp	x1, l_.str.4@PAGE
Lloh22:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x21
	mov	x2, x20
	bl	_sqlite3MPrintf
	mov	x23, x0
Lloh23:
	adrp	x8, _SQLITE_ERROR@GOTPAGE
Lloh24:
	ldr	x8, [x8, _SQLITE_ERROR@GOTPAGEOFF]
Lloh25:
	ldr	w22, [x8]
	b	LBB0_17
LBB0_16:
	mov	x22, x0
	mov	x0, x21
	bl	_sqlite3_errmsg
	mov	x2, x0
Lloh26:
	adrp	x1, l_.str.5@PAGE
Lloh27:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x21
	bl	_sqlite3MPrintf
	mov	x23, x0
LBB0_17:
	ldr	w8, [x25]
	cmp	w22, w8
	ccmp	x23, #0, #4, eq
	cset	w0, eq
	bl	_assert
	ldr	w8, [x24]
	cmp	w22, w8
Lloh28:
	adrp	x8, _SQLITE_DONE@GOTPAGE
Lloh29:
	ldr	x8, [x8, _SQLITE_DONE@GOTPAGEOFF]
Lloh30:
	ldr	w8, [x8]
	ccmp	w22, w8, #4, ne
	cset	w0, ne
	bl	_assert
	str	x23, [x19]
	mov	x0, x22
	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
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.comm	_MEM_Int,4,2                    ; @MEM_Int
	.comm	_OP_NotExists,8,3               ; @OP_NotExists
	.comm	_SQLITE_ROW,4,2                 ; @SQLITE_ROW
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cannot open value of type %s"

l_.str.1:                               ; @.str.1
	.asciz	"null"

l_.str.2:                               ; @.str.2
	.asciz	"real"

l_.str.3:                               ; @.str.3
	.asciz	"integer"

	.comm	_SQLITE_ERROR,4,2               ; @SQLITE_ERROR
	.comm	_SQLITE_OK,4,2                  ; @SQLITE_OK
l_.str.4:                               ; @.str.4
	.asciz	"no such rowid: %lld"

l_.str.5:                               ; @.str.5
	.asciz	"%s"

	.comm	_SQLITE_DONE,4,2                ; @SQLITE_DONE
	.no_dead_strip	_blobSeekToRow
.subsections_via_symbols
