	.file	"extr_parson.c_json_serialize_to_string_pretty.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	json_serialize_to_string_pretty
	.type	json_serialize_to_string_pretty, @function
json_serialize_to_string_pretty:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	call	json_serialization_size_pretty@PLT
	test	rax, rax
	je	.L9
	mov	rdi, rax
	mov	r13, rax
	call	parson_malloc@PLT
	mov	r12, rax
	test	rax, rax
	je	.L9
	mov	rdx, r13
	mov	rsi, rax
	mov	rdi, rbp
	call	json_serialize_to_buffer_pretty@PLT
	cmp	QWORD PTR JSONFailure[rip], rax
	jne	.L1
	mov	rdi, r12
	call	json_free_serialized_string@PLT
	.p2align 4,,10
	.p2align 3
.L9:
	xor	r12d, r12d
.L1:
	mov	rax, r12
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	json_serialize_to_string_pretty, .-json_serialize_to_string_pretty
	.comm	JSONFailure,8,8
	.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_serialize_to_string_pretty.c"
	.text
	.align	2
	.global	json_serialize_to_string_pretty
	.syntax unified
	.arm
	.fpu softvfp
	.type	json_serialize_to_string_pretty, %function
json_serialize_to_string_pretty:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r6, r0
	bl	json_serialization_size_pretty
	subs	r5, r0, #0
	beq	.L9
	bl	parson_malloc
	subs	r4, r0, #0
	beq	.L9
	mov	r2, r5
	mov	r0, r6
	mov	r1, r4
	bl	json_serialize_to_buffer_pretty
	ldr	r3, .L11
	ldr	r3, [r3]
	cmp	r3, r0
	bne	.L1
	mov	r0, r4
	bl	json_free_serialized_string
.L9:
	mov	r4, #0
.L1:
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L12:
	.align	2
.L11:
	.word	JSONFailure
	.size	json_serialize_to_string_pretty, .-json_serialize_to_string_pretty
	.comm	JSONFailure,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
