	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sqlite3_value_blob             ## -- Begin function sqlite3_value_blob
	.p2align	4, 0x90
_sqlite3_value_blob:                    ## @sqlite3_value_blob
	.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
	movq	%rdi, %rbx
	movq	_MEM_Blob@GOTPCREL(%rip), %r14
	movq	_MEM_Str@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	(%r14), %eax
	testl	%eax, (%rdi)
	je	LBB0_4
## %bb.1:
	movq	%rbx, %rdi
	callq	_ExpandBlob
	movq	_SQLITE_OK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.2:
	movl	(%r14), %eax
	orl	%eax, (%rbx)
	cmpq	$0, 16(%rbx)
	je	LBB0_8
## %bb.3:
	movq	8(%rbx), %rax
	jmp	LBB0_9
LBB0_4:
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_sqlite3_value_text             ## TAILCALL
LBB0_5:
	movl	(%rbx), %eax
	movq	_MEM_Null@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpl	(%rcx), %eax
	jne	LBB0_7
## %bb.6:
	xorl	%edi, %edi
	cmpq	$0, 8(%rbx)
	sete	%dil
LBB0_7:
	callq	_assert
LBB0_8:
	xorl	%eax, %eax
LBB0_9:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MEM_Blob,4,2                   ## @MEM_Blob
	.comm	_MEM_Str,4,2                    ## @MEM_Str
	.comm	_SQLITE_OK,8,3                  ## @SQLITE_OK
	.comm	_MEM_Null,4,2                   ## @MEM_Null
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sqlite3_value_blob             ; -- Begin function sqlite3_value_blob
	.p2align	2
_sqlite3_value_blob:                    ; @sqlite3_value_blob
	.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
	mov	x19, x0
	ldr	w8, [x0]
Lloh0:
	adrp	x20, _MEM_Blob@GOTPAGE
Lloh1:
	ldr	x20, [x20, _MEM_Blob@GOTPAGEOFF]
	ldr	w9, [x20]
Lloh2:
	adrp	x10, _MEM_Str@GOTPAGE
Lloh3:
	ldr	x10, [x10, _MEM_Str@GOTPAGEOFF]
Lloh4:
	ldr	w10, [x10]
	orr	w9, w10, w9
	tst	w9, w8
	b.eq	LBB0_4
; %bb.1:
	mov	x0, x19
	bl	_ExpandBlob
Lloh5:
	adrp	x8, _SQLITE_OK@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SQLITE_OK@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_5
; %bb.2:
	ldr	w8, [x20]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_9
; %bb.3:
	ldr	x0, [x19, #8]
	b	LBB0_10
LBB0_4:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_sqlite3_value_text
LBB0_5:
	ldr	w8, [x19]
Lloh8:
	adrp	x9, _MEM_Null@GOTPAGE
Lloh9:
	ldr	x9, [x9, _MEM_Null@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_7
; %bb.6:
	ldr	x8, [x19, #8]
	cmp	x8, #0
	cset	w0, eq
	b	LBB0_8
LBB0_7:
	mov	w0, #0
LBB0_8:
	bl	_assert
LBB0_9:
	mov	x0, #0
LBB0_10:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_MEM_Blob,4,2                   ; @MEM_Blob
	.comm	_MEM_Str,4,2                    ; @MEM_Str
	.comm	_SQLITE_OK,8,3                  ; @SQLITE_OK
	.comm	_MEM_Null,4,2                   ; @MEM_Null
.subsections_via_symbols
