	.file	"extr_parson.c_json_object_set_value.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	json_object_set_value
	.type	json_object_set_value, @function
json_object_set_value:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rdx
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	test	rsi, rsi
	sete	dl
	test	r13, r13
	sete	al
	or	dl, al
	jne	.L2
	mov	rbp, rdi
	test	rdi, rdi
	je	.L2
	cmp	QWORD PTR 0[r13], 0
	je	.L3
.L2:
	mov	eax, DWORD PTR JSONFailure[rip]
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	mov	r12, rsi
	call	json_object_get_value@PLT
	mov	rdi, rax
	test	rax, rax
	je	.L9
	call	json_value_free@PLT
	xor	ebx, ebx
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L8:
	mov	rax, QWORD PTR 8[rbp]
	mov	rsi, r12
	mov	edi, DWORD PTR [rax+rbx*4]
	call	strcmp@PLT
	test	rax, rax
	je	.L12
	add	rbx, 1
.L6:
	mov	rdi, rbp
	call	json_object_get_count@PLT
	cmp	rax, rbx
	ja	.L8
.L9:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rdx, r13
	mov	rsi, r12
	mov	rdi, rbp
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	json_object_add@PLT
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_restore_state
	mov	rdi, rbp
	call	json_object_get_wrapping_value@PLT
	mov	QWORD PTR 0[r13], rax
	mov	rax, QWORD PTR 0[rbp]
	mov	QWORD PTR [rax+rbx*8], r13
	mov	eax, DWORD PTR JSONSuccess[rip]
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	json_object_set_value, .-json_object_set_value
	.comm	JSONSuccess,4,4
	.comm	JSONFailure,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_parson.c_json_object_set_value.c"
	.text
	.align	2
	.global	json_object_set_value
	.syntax unified
	.arm
	.fpu softvfp
	.type	json_object_set_value, %function
json_object_set_value:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	clz	r3, r2
	cmp	r1, #0
	lsr	r3, r3, #5
	moveq	r3, #1
	cmp	r0, #0
	moveq	r3, #1
	cmp	r3, #0
	bne	.L11
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r5, [r2]
	mov	r7, r2
	cmp	r5, #0
	beq	.L3
	ldr	r3, .L16
	ldr	r0, [r3]
	pop	{r4, r5, r6, r7, r8, pc}
.L11:
	ldr	r3, .L16
	ldr	r0, [r3]
	bx	lr
.L3:
	mov	r6, r1
	mov	r4, r0
	bl	json_object_get_value
	cmp	r0, #0
	beq	.L9
	bl	json_value_free
	b	.L6
.L8:
	ldr	r3, [r4, #4]
	mov	r1, r6
	ldr	r0, [r3, r5, lsl #2]
	bl	strcmp
	cmp	r0, #0
	lsl	r8, r5, #2
	beq	.L15
	add	r5, r5, #1
.L6:
	mov	r0, r4
	bl	json_object_get_count
	cmp	r0, r5
	bhi	.L8
.L9:
	mov	r2, r7
	mov	r1, r6
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, lr}
	b	json_object_add
.L15:
	mov	r0, r4
	bl	json_object_get_wrapping_value
	ldr	r3, [r4]
	ldr	r2, .L16+4
	str	r0, [r7]
	ldr	r0, [r2]
	str	r7, [r3, r8]
	pop	{r4, r5, r6, r7, r8, pc}
.L17:
	.align	2
.L16:
	.word	JSONFailure
	.word	JSONSuccess
	.size	json_object_set_value, .-json_object_set_value
	.comm	JSONSuccess,4,4
	.comm	JSONFailure,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
