	.file	"122360.c"
	.intel_syntax noprefix
	.text
	.globl	rand_double
	.type	rand_double, @function
rand_double:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	call	rand@PLT
	mov	DWORD PTR -4[rbp], eax
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, DWORD PTR -4[rbp]
	movsd	xmm1, QWORD PTR .LC0[rip]
	divsd	xmm0, xmm1
	movq	rax, xmm0
	movq	xmm0, rax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	rand_double, .-rand_double
	.globl	rand_array_f64
	.type	rand_array_f64, @function
rand_array_f64:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	movsd	QWORD PTR -40[rbp], xmm0
	movsd	QWORD PTR -48[rbp], xmm1
	movsd	xmm0, QWORD PTR -48[rbp]
	subsd	xmm0, QWORD PTR -40[rbp]
	movsd	QWORD PTR -8[rbp], xmm0
	mov	DWORD PTR -12[rbp], 0
	jmp	.L4
.L5:
	mov	eax, 0
	call	rand_double
	movq	rax, xmm0
	movq	xmm0, rax
	mulsd	xmm0, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR -12[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	addsd	xmm0, QWORD PTR -40[rbp]
	movsd	QWORD PTR [rax], xmm0
	add	DWORD PTR -12[rbp], 1
.L4:
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, DWORD PTR -28[rbp]
	jb	.L5
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	rand_array_f64, .-rand_array_f64
	.section	.rodata
.LC1:
	.string	"%.17g"
	.text
	.globl	write_array_f64
	.type	write_array_f64, @function
write_array_f64:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	DWORD PTR -36[rbp], edx
	mov	DWORD PTR -4[rbp], 0
	jmp	.L7
.L9:
	mov	eax, DWORD PTR -4[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -24[rbp]
	movq	xmm0, rdx
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 1
	call	fprintf@PLT
	mov	eax, DWORD PTR -36[rbp]
	sub	eax, 1
	cmp	DWORD PTR -4[rbp], eax
	jnb	.L8
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rax
	mov	edi, 44
	call	fputc@PLT
.L8:
	add	DWORD PTR -4[rbp], 1
.L7:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -36[rbp]
	jb	.L9
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	write_array_f64, .-write_array_f64
	.section	.rodata
.LC2:
	.string	"\"%s\":["
	.text
	.globl	write_named_array_f64
	.type	write_named_array_f64, @function
write_named_array_f64:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	QWORD PTR -24[rbp], rdx
	mov	DWORD PTR -28[rbp], ecx
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edx, DWORD PTR -28[rbp]
	mov	rcx, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	write_array_f64
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rax
	mov	edi, 93
	call	fputc@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	write_named_array_f64, .-write_named_array_f64
	.section	.rodata
.LC3:
	.string	"x"
.LC4:
	.string	"C"
	.text
	.globl	write_data_as_json
	.type	write_data_as_json, @function
write_data_as_json:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	QWORD PTR -24[rbp], rdx
	mov	DWORD PTR -28[rbp], ecx
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rax
	mov	edi, 123
	call	fputc@PLT
	mov	ecx, DWORD PTR -28[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	call	write_named_array_f64
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rax
	mov	edi, 44
	call	fputc@PLT
	mov	ecx, DWORD PTR -28[rbp]
	mov	rdx, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	call	write_named_array_f64
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rax
	mov	edi, 125
	call	fputc@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	write_data_as_json, .-write_data_as_json
	.section	.rodata
.LC5:
	.string	"Error allocating memory."
.LC6:
	.string	"w"
.LC7:
	.string	"Error opening file."
	.text
	.globl	generate
	.type	generate, @function
generate:
.LFB11:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 80
	mov	QWORD PTR -56[rbp], rdi
	mov	DWORD PTR -60[rbp], esi
	mov	QWORD PTR -72[rbp], rdx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	eax, DWORD PTR -60[rbp]
	sal	rax, 3
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -24[rbp], rax
	cmp	QWORD PTR -24[rbp], 0
	jne	.L13
	lea	rdi, .LC5[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
.L13:
	mov	DWORD PTR -36[rbp], 0
	jmp	.L14
.L15:
	mov	eax, DWORD PTR -36[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	lea	rcx, [rdx+rax]
	mov	eax, DWORD PTR -36[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	lea	rdx, -32[rbp]
	mov	rsi, rcx
	mov	rdi, rdx
	movq	xmm0, rax
	call	fresnl@PLT
	add	DWORD PTR -36[rbp], 1
.L14:
	mov	eax, DWORD PTR -36[rbp]
	cmp	eax, DWORD PTR -60[rbp]
	jb	.L15
	mov	rax, QWORD PTR -72[rbp]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -16[rbp], rax
	cmp	QWORD PTR -16[rbp], 0
	jne	.L16
	lea	rdi, .LC7[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
.L16:
	mov	ecx, DWORD PTR -60[rbp]
	mov	rdx, QWORD PTR -24[rbp]
	mov	rsi, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	write_data_as_json
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	free@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L17
	call	__stack_chk_fail@PLT
.L17:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	generate, .-generate
	.section	.rodata
.LC10:
	.string	"small.json"
.LC12:
	.string	"medium.json"
.LC16:
	.string	"huge.json"
	.text
	.globl	main
	.type	main, @function
main:
.LFB12:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	DWORD PTR -12[rbp], 1000
	mov	eax, DWORD PTR -12[rbp]
	sal	rax, 3
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L19
	lea	rdi, .LC5[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
.L19:
	movsd	xmm0, QWORD PTR .LC8[rip]
	mov	edx, DWORD PTR -12[rbp]
	mov	rax, QWORD PTR -8[rbp]
	movapd	xmm1, xmm0
	pxor	xmm0, xmm0
	mov	esi, edx
	mov	rdi, rax
	call	rand_array_f64
	mov	ecx, DWORD PTR -12[rbp]
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, .LC10[rip]
	mov	esi, ecx
	mov	rdi, rax
	call	generate
	movsd	xmm0, QWORD PTR .LC11[rip]
	mov	rcx, QWORD PTR .LC8[rip]
	mov	edx, DWORD PTR -12[rbp]
	mov	rax, QWORD PTR -8[rbp]
	movapd	xmm1, xmm0
	movq	xmm0, rcx
	mov	esi, edx
	mov	rdi, rax
	call	rand_array_f64
	mov	ecx, DWORD PTR -12[rbp]
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, .LC12[rip]
	mov	esi, ecx
	mov	rdi, rax
	call	generate
	movsd	xmm0, QWORD PTR .LC13[rip]
	mov	rcx, QWORD PTR .LC11[rip]
	mov	edx, DWORD PTR -12[rbp]
	mov	rax, QWORD PTR -8[rbp]
	movapd	xmm1, xmm0
	movq	xmm0, rcx
	mov	esi, edx
	mov	rdi, rax
	call	rand_array_f64
	mov	ecx, DWORD PTR -12[rbp]
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, .LC12[rip]
	mov	esi, ecx
	mov	rdi, rax
	call	generate
	movsd	xmm0, QWORD PTR .LC14[rip]
	mov	rcx, QWORD PTR .LC15[rip]
	mov	edx, DWORD PTR -12[rbp]
	mov	rax, QWORD PTR -8[rbp]
	movapd	xmm1, xmm0
	movq	xmm0, rcx
	mov	esi, edx
	mov	rdi, rax
	call	rand_array_f64
	mov	ecx, DWORD PTR -12[rbp]
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, .LC16[rip]
	mov	esi, ecx
	mov	rdi, rax
	call	generate
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC0:
	.long	0
	.long	1105199104
	.align 8
.LC8:
	.long	0
	.long	1076101120
	.align 8
.LC11:
	.long	0
	.long	1079574528
	.align 8
.LC13:
	.long	0
	.long	1088556448
	.align 8
.LC14:
	.long	0
	.long	1089293312
	.align 8
.LC15:
	.long	0
	.long	1088653312
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.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, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"122360.c"
	.text
	.global	__aeabi_i2d
	.global	__aeabi_ddiv
	.align	2
	.global	rand_double
	.syntax unified
	.arm
	.fpu softvfp
	.type	rand_double, %function
rand_double:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	bl	rand
	str	r0, [fp, #-8]
	ldr	r0, [fp, #-8]
	bl	__aeabi_i2d
	mov	r2, #0
	ldr	r3, .L3
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L4:
	.align	2
.L3:
	.word	1105199104
	.size	rand_double, .-rand_double
	.global	__aeabi_dsub
	.global	__aeabi_dmul
	.global	__aeabi_dadd
	.align	2
	.global	rand_array_f64
	.syntax unified
	.arm
	.fpu softvfp
	.type	rand_array_f64, %function
rand_array_f64:
	@ args = 8, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #36
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	ldmib	fp, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L6
.L7:
	bl	rand_double
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-32]
	add	r4, r2, r3
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	stm	r4, {r2-r3}
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L6:
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-36]
	cmp	r2, r3
	bcc	.L7
	nop
	nop
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
	.size	rand_array_f64, .-rand_array_f64
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%.17g\000"
	.text
	.align	2
	.global	write_array_f64
	.syntax unified
	.arm
	.fpu softvfp
	.type	write_array_f64, %function
write_array_f64:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L9
.L11:
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	ldr	r1, .L12
	ldr	r0, [fp, #-16]
	bl	fprintf
	ldr	r3, [fp, #-24]
	sub	r3, r3, #1
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	bcs	.L10
	ldr	r1, [fp, #-16]
	mov	r0, #44
	bl	fputc
.L10:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L9:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	bcc	.L11
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L13:
	.align	2
.L12:
	.word	.LC0
	.size	write_array_f64, .-write_array_f64
	.section	.rodata
	.align	2
.LC1:
	.ascii	"\"%s\":[\000"
	.text
	.align	2
	.global	write_named_array_f64
	.syntax unified
	.arm
	.fpu softvfp
	.type	write_named_array_f64, %function
write_named_array_f64:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	str	r2, [fp, #-16]
	str	r3, [fp, #-20]
	ldr	r2, [fp, #-12]
	ldr	r1, .L15
	ldr	r0, [fp, #-8]
	bl	fprintf
	ldr	r2, [fp, #-20]
	ldr	r1, [fp, #-16]
	ldr	r0, [fp, #-8]
	bl	write_array_f64
	ldr	r1, [fp, #-8]
	mov	r0, #93
	bl	fputc
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L16:
	.align	2
.L15:
	.word	.LC1
	.size	write_named_array_f64, .-write_named_array_f64
	.section	.rodata
	.align	2
.LC2:
	.ascii	"x\000"
	.align	2
.LC3:
	.ascii	"C\000"
	.text
	.align	2
	.global	write_data_as_json
	.syntax unified
	.arm
	.fpu softvfp
	.type	write_data_as_json, %function
write_data_as_json:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	str	r2, [fp, #-16]
	str	r3, [fp, #-20]
	ldr	r1, [fp, #-8]
	mov	r0, #123
	bl	fputc
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-12]
	ldr	r1, .L18
	ldr	r0, [fp, #-8]
	bl	write_named_array_f64
	ldr	r1, [fp, #-8]
	mov	r0, #44
	bl	fputc
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-16]
	ldr	r1, .L18+4
	ldr	r0, [fp, #-8]
	bl	write_named_array_f64
	ldr	r1, [fp, #-8]
	mov	r0, #125
	bl	fputc
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L19:
	.align	2
.L18:
	.word	.LC2
	.word	.LC3
	.size	write_data_as_json, .-write_data_as_json
	.section	.rodata
	.align	2
.LC4:
	.ascii	"Error allocating memory.\000"
	.align	2
.LC5:
	.ascii	"w\000"
	.align	2
.LC6:
	.ascii	"Error opening file.\000"
	.align	2
.LC7:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	generate
	.syntax unified
	.arm
	.fpu softvfp
	.type	generate, %function
generate:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #48
	str	r0, [fp, #-40]
	str	r1, [fp, #-44]
	str	r2, [fp, #-48]
	ldr	r3, .L26
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-44]
	lsl	r3, r3, #3
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	bne	.L21
	ldr	r0, .L26+4
	bl	puts
	mov	r0, #1
	bl	exit
.L21:
	mov	r3, #0
	str	r3, [fp, #-32]
	b	.L22
.L23:
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	sub	r2, fp, #20
	bl	fresnl
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L22:
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-44]
	cmp	r2, r3
	bcc	.L23
	ldr	r1, .L26+8
	ldr	r0, [fp, #-48]
	bl	fopen
	str	r0, [fp, #-24]
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bne	.L24
	ldr	r0, .L26+12
	bl	puts
	mov	r0, #1
	bl	exit
.L24:
	ldr	r3, [fp, #-44]
	ldr	r2, [fp, #-28]
	ldr	r1, [fp, #-40]
	ldr	r0, [fp, #-24]
	bl	write_data_as_json
	ldr	r0, [fp, #-24]
	bl	fclose
	ldr	r0, [fp, #-28]
	bl	free
	nop
	ldr	r3, .L26
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L25
	bl	__stack_chk_fail
.L25:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L27:
	.align	2
.L26:
	.word	.LC7
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.size	generate, .-generate
	.section	.rodata
	.align	2
.LC8:
	.ascii	"small.json\000"
	.align	2
.LC9:
	.ascii	"medium.json\000"
	.align	2
.LC10:
	.ascii	"huge.json\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	mov	r3, #1000
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #3
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L29
	ldr	r0, .L31
	bl	puts
	mov	r0, #1
	bl	exit
.L29:
	mov	r2, #0
	ldr	r3, .L31+4
	stm	sp, {r2-r3}
	mov	r2, #0
	mov	r3, #0
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	rand_array_f64
	ldr	r2, .L31+8
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	generate
	mov	r2, #0
	ldr	r3, .L31+12
	stm	sp, {r2-r3}
	mov	r2, #0
	ldr	r3, .L31+4
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	rand_array_f64
	ldr	r2, .L31+16
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	generate
	mov	r2, #0
	ldr	r3, .L31+20
	stm	sp, {r2-r3}
	mov	r2, #0
	ldr	r3, .L31+12
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	rand_array_f64
	ldr	r2, .L31+16
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	generate
	mov	r2, #0
	ldr	r3, .L31+24
	stm	sp, {r2-r3}
	mov	r2, #0
	ldr	r3, .L31+28
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	rand_array_f64
	ldr	r2, .L31+32
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	generate
	ldr	r0, [fp, #-8]
	bl	free
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L32:
	.align	2
.L31:
	.word	.LC4
	.word	1076101120
	.word	.LC8
	.word	1079574528
	.word	.LC9
	.word	1088556448
	.word	1089293312
	.word	1088653312
	.word	.LC10
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
