	.file	"104138.c"
	.intel_syntax noprefix
	.text
	.globl	bigendian
	.type	bigendian, @function
bigendian:
.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, 64
	mov	QWORD PTR -40[rbp], rdi
	mov	DWORD PTR -8[rbp], 16
	mov	DWORD PTR -20[rbp], 0
	mov	rax, QWORD PTR -40[rbp]
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	mov	DWORD PTR -12[rbp], eax
	mov	DWORD PTR -16[rbp], 0
	jmp	.L2
.L3:
	mov	eax, DWORD PTR -12[rbp]
	cdq
	shr	edx, 31
	add	eax, edx
	and	eax, 1
	sub	eax, edx
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -12[rbp]
	sub	eax, DWORD PTR -4[rbp]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	mov	DWORD PTR -12[rbp], eax
	pxor	xmm2, xmm2
	cvtsi2sd	xmm2, DWORD PTR -20[rbp]
	movsd	QWORD PTR -48[rbp], xmm2
	pxor	xmm3, xmm3
	cvtsi2sd	xmm3, DWORD PTR -4[rbp]
	movsd	QWORD PTR -56[rbp], xmm3
	mov	eax, DWORD PTR -8[rbp]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	mov	edx, eax
	mov	eax, DWORD PTR -16[rbp]
	add	eax, edx
	cdq
	idiv	DWORD PTR -8[rbp]
	mov	eax, edx
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	mov	rax, QWORD PTR .LC0[rip]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	pow@PLT
	mulsd	xmm0, QWORD PTR -56[rbp]
	addsd	xmm0, QWORD PTR -48[rbp]
	cvttsd2si	eax, xmm0
	mov	DWORD PTR -20[rbp], eax
	add	DWORD PTR -16[rbp], 1
.L2:
	mov	eax, DWORD PTR -16[rbp]
	cmp	eax, DWORD PTR -8[rbp]
	jl	.L3
	mov	eax, DWORD PTR -20[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	bigendian, .-bigendian
	.section	.rodata
.LC2:
	.string	"wb"
	.text
	.globl	writepovray_
	.type	writepovray_, @function
writepovray_:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r12
	push	rbx
	sub	rsp, 192
	.cfi_offset 12, -24
	.cfi_offset 3, -32
	mov	QWORD PTR -184[rbp], rdi
	mov	QWORD PTR -192[rbp], rsi
	mov	QWORD PTR -200[rbp], rdx
	mov	QWORD PTR -208[rbp], rcx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	rax, rsp
	mov	r12, rax
	mov	rax, QWORD PTR -184[rbp]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -184[rbp]
	mov	eax, DWORD PTR [rax]
	imul	edx, eax
	mov	rax, QWORD PTR -184[rbp]
	mov	eax, DWORD PTR [rax]
	mov	ebx, edx
	imul	ebx, eax
	movsx	rax, ebx
	sub	rax, 1
	mov	QWORD PTR -152[rbp], rax
	movsx	rax, ebx
	mov	r10, rax
	mov	r11d, 0
	movsx	rax, ebx
	mov	r8, rax
	mov	r9d, 0
	movsx	rax, ebx
	lea	rdx, [rax+rax]
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	esi, 16
	mov	edx, 0
	div	rsi
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L6:
	cmp	rsp, rdx
	je	.L7
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L6
.L7:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L8
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L8:
	mov	rax, rsp
	add	rax, 1
	shr	rax
	add	rax, rax
	mov	QWORD PTR -144[rbp], rax
	mov	WORD PTR -170[rbp], -1
	mov	rax, QWORD PTR -184[rbp]
	mov	eax, DWORD PTR [rax]
	mov	WORD PTR -172[rbp], ax
	lea	rax, -172[rbp]
	mov	rdi, rax
	call	bigendian
	mov	WORD PTR -174[rbp], ax
	mov	rax, QWORD PTR -184[rbp]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -184[rbp]
	mov	eax, DWORD PTR [rax]
	imul	edx, eax
	mov	rax, QWORD PTR -184[rbp]
	mov	eax, DWORD PTR [rax]
	imul	eax, edx
	mov	DWORD PTR -164[rbp], eax
	pxor	xmm0, xmm0
	movsd	QWORD PTR -160[rbp], xmm0
	mov	DWORD PTR -168[rbp], 0
	jmp	.L9
.L12:
	mov	eax, DWORD PTR -168[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -192[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	comisd	xmm0, QWORD PTR -160[rbp]
	jbe	.L10
	mov	eax, DWORD PTR -168[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -192[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	movsd	QWORD PTR -160[rbp], xmm0
.L10:
	add	DWORD PTR -168[rbp], 1
.L9:
	mov	eax, DWORD PTR -168[rbp]
	cmp	eax, DWORD PTR -164[rbp]
	jl	.L12
	mov	DWORD PTR -168[rbp], 0
	jmp	.L13
.L17:
	mov	eax, DWORD PTR -168[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -192[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	pxor	xmm1, xmm1
	comisd	xmm0, xmm1
	jbe	.L23
	mov	eax, DWORD PTR -168[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -192[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	movzx	eax, WORD PTR -170[rbp]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	mulsd	xmm0, xmm1
	cvttsd2si	eax, xmm0
	mov	ecx, eax
	mov	rax, QWORD PTR -144[rbp]
	mov	edx, DWORD PTR -168[rbp]
	movsx	rdx, edx
	mov	WORD PTR [rax+rdx*2], cx
	mov	eax, DWORD PTR -168[rbp]
	cdqe
	lea	rdx, [rax+rax]
	mov	rax, QWORD PTR -144[rbp]
	add	rax, rdx
	mov	rdi, rax
	call	bigendian
	mov	rdx, QWORD PTR -144[rbp]
	mov	ecx, DWORD PTR -168[rbp]
	movsx	rcx, ecx
	mov	WORD PTR [rdx+rcx*2], ax
	jmp	.L16
.L23:
	mov	rax, QWORD PTR -144[rbp]
	mov	edx, DWORD PTR -168[rbp]
	movsx	rdx, edx
	mov	WORD PTR [rax+rdx*2], 0
.L16:
	add	DWORD PTR -168[rbp], 1
.L13:
	mov	eax, DWORD PTR -168[rbp]
	cmp	eax, DWORD PTR -164[rbp]
	jl	.L17
	mov	DWORD PTR -168[rbp], 0
	jmp	.L18
.L19:
	mov	eax, DWORD PTR -168[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -200[rbp]
	add	rax, rdx
	movzx	edx, BYTE PTR [rax]
	mov	eax, DWORD PTR -168[rbp]
	cdqe
	mov	BYTE PTR -128[rbp+rax], dl
	add	DWORD PTR -168[rbp], 1
.L18:
	mov	eax, DWORD PTR -168[rbp]
	cdqe
	cmp	QWORD PTR -208[rbp], rax
	jg	.L19
	mov	eax, DWORD PTR -168[rbp]
	cdqe
	mov	BYTE PTR -128[rbp+rax], 0
	lea	rax, -128[rbp]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -136[rbp], rax
	mov	rdx, QWORD PTR -136[rbp]
	lea	rax, -174[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 2
	mov	rdi, rax
	call	fwrite@PLT
	mov	rdx, QWORD PTR -136[rbp]
	lea	rax, -174[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 2
	mov	rdi, rax
	call	fwrite@PLT
	mov	rdx, QWORD PTR -136[rbp]
	lea	rax, -174[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 2
	mov	rdi, rax
	call	fwrite@PLT
	movsx	rax, ebx
	lea	rsi, [rax+rax]
	mov	rdx, QWORD PTR -136[rbp]
	mov	rax, QWORD PTR -144[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	rdi, rax
	call	fwrite@PLT
	mov	rax, QWORD PTR -136[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	rsp, r12
	nop
	mov	rax, QWORD PTR -24[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L20
	call	__stack_chk_fail@PLT
.L20:
	lea	rsp, -16[rbp]
	pop	rbx
	pop	r12
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	writepovray_, .-writepovray_
	.globl	rand_init_
	.type	rand_init_, @function
rand_init_:
.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, 16
	mov	DWORD PTR -4[rbp], edi
	mov	edi, 123456
	call	srand@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	rand_init_, .-rand_init_
	.globl	nextran_
	.type	nextran_, @function
nextran_:
.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, 16
	call	rand@PLT
	mov	DWORD PTR -4[rbp], eax
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, DWORD PTR -4[rbp]
	addsd	xmm0, xmm0
	movsd	xmm1, QWORD PTR .LC3[rip]
	divsd	xmm0, xmm1
	movsd	xmm1, QWORD PTR .LC4[rip]
	subsd	xmm0, xmm1
	movq	rax, xmm0
	movq	xmm0, rax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	nextran_, .-nextran_
	.globl	nextran
	.type	nextran, @function
nextran:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, 0
	call	nextran_
	movq	rax, xmm0
	movq	xmm0, rax
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	nextran, .-nextran
	.section	.rodata
	.align 8
.LC0:
	.long	0
	.long	1073741824
	.align 8
.LC3:
	.long	-4194304
	.long	1105199103
	.align 8
.LC4:
	.long	0
	.long	1072693248
	.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	"104138.c"
	.text
	.global	__aeabi_i2d
	.global	__aeabi_idivmod
	.global	__aeabi_dmul
	.global	__aeabi_dadd
	.global	__aeabi_d2iz
	.align	2
	.global	bigendian
	.syntax unified
	.arm
	.fpu softvfp
	.type	bigendian, %function
bigendian:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #32
	str	r0, [fp, #-48]
	mov	r3, #16
	str	r3, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-48]
	ldrh	r3, [r3]
	str	r3, [fp, #-32]
	mov	r3, #0
	str	r3, [fp, #-36]
	b	.L2
.L3:
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	and	r3, r3, #1
	rsblt	r3, r3, #0
	str	r3, [fp, #-24]
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-24]
	sub	r3, r2, r3
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	str	r3, [fp, #-32]
	ldr	r0, [fp, #-40]
	bl	__aeabi_i2d
	mov	r4, r0
	mov	r5, r1
	ldr	r0, [fp, #-24]
	bl	__aeabi_i2d
	mov	r6, r0
	mov	r7, r1
	ldr	r3, [fp, #-28]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-36]
	add	r3, r2, r3
	ldr	r1, [fp, #-28]
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, #0
	mov	r1, #1073741824
	bl	pow
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L2:
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-28]
	cmp	r2, r3
	blt	.L3
	ldr	r3, [fp, #-40]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	mov	r0, r3
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
	.size	bigendian, .-bigendian
	.global	__aeabi_dcmplt
	.global	__aeabi_dcmpgt
	.global	__aeabi_d2uiz
	.section	.rodata
	.align	2
.LC0:
	.ascii	"wb\000"
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	writepovray_
	.syntax unified
	.arm
	.fpu softvfp
	.type	writepovray_, %function
writepovray_:
	@ args = 0, pretend = 0, frame = 160
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #160
	str	r0, [fp, #-168]
	str	r1, [fp, #-172]
	str	r2, [fp, #-176]
	str	r3, [fp, #-180]
	ldr	r3, .L21
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	mov	r3,#0
	mov	r3, sp
	mov	r5, r3
	ldr	r3, [fp, #-168]
	ldr	r3, [r3]
	ldr	r2, [fp, #-168]
	ldr	r2, [r2]
	mul	r3, r2, r3
	ldr	r2, [fp, #-168]
	ldr	r2, [r2]
	mul	r4, r2, r3
	sub	r3, r4, #1
	str	r3, [fp, #-148]
	mov	r3, r4
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #4
	orr	r3, r3, r0, lsr #28
	lsl	r2, r0, #4
	mov	r3, r4
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #4
	orr	r3, r3, r0, lsr #28
	lsl	r2, r0, #4
	mov	r3, r4
	lsl	r3, r3, #1
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	mov	r3, sp
	add	r3, r3, #1
	lsr	r3, r3, #1
	lsl	r3, r3, #1
	str	r3, [fp, #-144]
	mvn	r3, #0
	strh	r3, [fp, #-154]	@ movhi
	ldr	r3, [fp, #-168]
	ldr	r3, [r3]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	strh	r3, [fp, #-156]	@ movhi
	sub	r3, fp, #156
	mov	r0, r3
	bl	bigendian
	mov	r3, r0
	strh	r3, [fp, #-158]	@ movhi
	ldr	r3, [fp, #-168]
	ldr	r3, [r3]
	ldr	r2, [fp, #-168]
	ldr	r2, [r2]
	mul	r3, r2, r3
	ldr	r2, [fp, #-168]
	ldr	r2, [r2]
	mul	r3, r2, r3
	str	r3, [fp, #-140]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-132]
	str	r3, [fp, #-128]
	mov	r3, #0
	str	r3, [fp, #-152]
	b	.L6
.L9:
	ldr	r3, [fp, #-152]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-172]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	sub	r1, fp, #132
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L7
	ldr	r3, [fp, #-152]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-172]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-132]
	str	r3, [fp, #-128]
.L7:
	ldr	r3, [fp, #-152]
	add	r3, r3, #1
	str	r3, [fp, #-152]
.L6:
	ldr	r2, [fp, #-152]
	ldr	r3, [fp, #-140]
	cmp	r2, r3
	blt	.L9
	mov	r3, #0
	str	r3, [fp, #-152]
	b	.L10
.L14:
	ldr	r3, [fp, #-152]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-172]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	mov	r2, #0
	mov	r3, #0
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L20
	ldr	r3, [fp, #-152]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-172]
	add	r3, r2, r3
	ldmia	r3, {r6-r7}
	ldrh	r3, [fp, #-154]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2uiz
	mov	r3, r0
	lsl	r3, r3, #16
	lsr	r2, r3, #16
	ldr	r1, [fp, #-144]
	ldr	r3, [fp, #-152]
	lsl	r3, r3, #1
	add	r3, r1, r3
	strh	r2, [r3]	@ movhi
	ldr	r3, [fp, #-152]
	lsl	r3, r3, #1
	ldr	r2, [fp, #-144]
	add	r3, r2, r3
	mov	r0, r3
	bl	bigendian
	mov	r3, r0
	mov	r1, r3
	ldr	r2, [fp, #-144]
	ldr	r3, [fp, #-152]
	lsl	r3, r3, #1
	add	r3, r2, r3
	strh	r1, [r3]	@ movhi
	b	.L13
.L20:
	ldr	r2, [fp, #-144]
	ldr	r3, [fp, #-152]
	lsl	r3, r3, #1
	add	r3, r2, r3
	mov	r2, #0
	strh	r2, [r3]	@ movhi
.L13:
	ldr	r3, [fp, #-152]
	add	r3, r3, #1
	str	r3, [fp, #-152]
.L10:
	ldr	r2, [fp, #-152]
	ldr	r3, [fp, #-140]
	cmp	r2, r3
	blt	.L14
	mov	r3, #0
	str	r3, [fp, #-152]
	b	.L15
.L16:
	ldr	r3, [fp, #-152]
	ldr	r2, [fp, #-176]
	add	r3, r2, r3
	ldrb	r1, [r3]	@ zero_extendqisi2
	sub	r2, fp, #124
	ldr	r3, [fp, #-152]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3]
	ldr	r3, [fp, #-152]
	add	r3, r3, #1
	str	r3, [fp, #-152]
.L15:
	ldr	r2, [fp, #-152]
	ldr	r3, [fp, #-180]
	cmp	r2, r3
	blt	.L16
	sub	r2, fp, #124
	ldr	r3, [fp, #-152]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	sub	r3, fp, #124
	ldr	r1, .L21+4
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-136]
	sub	r0, fp, #158
	ldr	r3, [fp, #-136]
	mov	r2, #1
	mov	r1, #2
	bl	fwrite
	sub	r0, fp, #158
	ldr	r3, [fp, #-136]
	mov	r2, #1
	mov	r1, #2
	bl	fwrite
	sub	r0, fp, #158
	ldr	r3, [fp, #-136]
	mov	r2, #1
	mov	r1, #2
	bl	fwrite
	mov	r3, r4
	lsl	r1, r3, #1
	ldr	r3, [fp, #-136]
	mov	r2, #1
	ldr	r0, [fp, #-144]
	bl	fwrite
	ldr	r0, [fp, #-136]
	bl	fclose
	mov	sp, r5
	nop
	ldr	r3, .L21
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L17
	bl	__stack_chk_fail
.L17:
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
.L22:
	.align	2
.L21:
	.word	.LC1
	.word	.LC0
	.size	writepovray_, .-writepovray_
	.align	2
	.global	rand_init_
	.syntax unified
	.arm
	.fpu softvfp
	.type	rand_init_, %function
rand_init_:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r0, .L24
	bl	srand
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L25:
	.align	2
.L24:
	.word	123456
	.size	rand_init_, .-rand_init_
	.global	__aeabi_ddiv
	.global	__aeabi_dsub
	.align	2
	.global	nextran_
	.syntax unified
	.arm
	.fpu softvfp
	.type	nextran_, %function
nextran_:
	@ 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, r0
	mov	r3, r1
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r2, .L28
	ldr	r3, .L28+4
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	ldr	r3, .L28+8
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L29:
	.align	2
.L28:
	.word	-4194304
	.word	1105199103
	.word	1072693248
	.size	nextran_, .-nextran_
	.align	2
	.global	nextran
	.syntax unified
	.arm
	.fpu softvfp
	.type	nextran, %function
nextran:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	bl	nextran_
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	pop	{fp, pc}
	.size	nextran, .-nextran
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
