	.file	"extr_json1.c_jsonAppendValue.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"null"
.LC1:
	.string	"JSON cannot hold BLOB values"
	.text
	.p2align 4
	.type	jsonAppendValue, @function
jsonAppendValue:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rdi
	mov	rdi, rsi
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	sqlite3_value_type@PLT
	cmp	eax, 129
	je	.L2
	jg	.L3
	cmp	eax, 128
	jne	.L5
	mov	rdi, rbp
	call	sqlite3_value_text@PLT
	mov	rdi, rbp
	mov	r13, rax
	call	sqlite3_value_bytes@PLT
	mov	rdi, rbp
	mov	r14d, eax
	call	sqlite3_value_subtype@PLT
	mov	edx, r14d
	mov	rsi, r13
	mov	rdi, r12
	cmp	eax, DWORD PTR JSON_SUBTYPE[rip]
	je	.L12
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	jmp	jsonAppendString@PLT
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	sub	eax, 130
	cmp	eax, 1
	ja	.L5
	mov	rdi, rbp
	call	sqlite3_value_text@PLT
	mov	rdi, rbp
	mov	r13, rax
	call	sqlite3_value_bytes@PLT
	mov	rsi, r13
	mov	rdi, r12
	mov	edx, eax
.L12:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	jmp	jsonAppendRaw@PLT
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	mov	eax, DWORD PTR [r12]
	test	eax, eax
	je	.L14
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	edx, 4
	lea	rsi, .LC0[rip]
	mov	rdi, r12
	jmp	.L12
	.p2align 4,,10
	.p2align 3
.L14:
	mov	edi, DWORD PTR 4[r12]
	mov	edx, -1
	lea	rsi, .LC1[rip]
	call	sqlite3_result_error@PLT
	mov	DWORD PTR [r12], 2
	mov	rdi, r12
	add	rsp, 8
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	jmp	jsonReset@PLT
	.cfi_endproc
.LFE0:
	.size	jsonAppendValue, .-jsonAppendValue
	.comm	JSON_SUBTYPE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_json1.c_jsonAppendValue.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"null\000"
	.align	2
.LC1:
	.ascii	"JSON cannot hold BLOB values\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	jsonAppendValue, %function
jsonAppendValue:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r0
	mov	r0, r1
	mov	r4, r1
	bl	sqlite3_value_type
	cmp	r0, #129
	beq	.L2
	bgt	.L3
	cmp	r0, #128
	bne	.L5
	mov	r0, r4
	bl	sqlite3_value_text
	mov	r6, r0
	mov	r0, r4
	bl	sqlite3_value_bytes
	mov	r2, r0
	mov	r0, r4
	mov	r4, r2
	bl	sqlite3_value_subtype
	ldr	r3, .L13
	mov	r2, r4
	ldr	r3, [r3]
	mov	r1, r6
	cmp	r0, r3
	mov	r0, r5
	beq	.L12
	pop	{r4, r5, r6, lr}
	b	jsonAppendString
.L3:
	sub	r3, r0, #130
	cmp	r3, #1
	bhi	.L5
	mov	r0, r4
	bl	sqlite3_value_text
	mov	r1, r0
	mov	r0, r4
	mov	r4, r1
	bl	sqlite3_value_bytes
	mov	r1, r4
	mov	r2, r0
	mov	r0, r5
	pop	{r4, r5, r6, lr}
	b	jsonAppendRaw
.L5:
	ldr	r3, [r5]
	cmp	r3, #0
	popne	{r4, r5, r6, pc}
	ldr	r0, [r5, #4]
	mvn	r2, #0
	ldr	r1, .L13+4
	bl	sqlite3_result_error
	mov	r3, #2
	mov	r0, r5
	str	r3, [r5]
	pop	{r4, r5, r6, lr}
	b	jsonReset
.L2:
	mov	r0, r5
	pop	{r4, r5, r6, lr}
	mov	r2, #4
	ldr	r1, .L13+8
	b	jsonAppendRaw
.L12:
	pop	{r4, r5, r6, lr}
	b	jsonAppendRaw
.L14:
	.align	2
.L13:
	.word	JSON_SUBTYPE
	.word	.LC1
	.word	.LC0
	.size	jsonAppendValue, .-jsonAppendValue
	.comm	JSON_SUBTYPE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
