	.file	"13411.c"
	.intel_syntax noprefix
	.text
	.globl	frame
	.bss
	.align 32
	.type	frame, @object
	.size	frame, 65146800
frame:
	.zero	65146800
	.globl	z_buffer
	.align 32
	.type	z_buffer, @object
	.size	z_buffer, 173724800
z_buffer:
	.zero	173724800
	.globl	A
	.section	.rodata
	.align 8
	.type	A, @object
	.size	A, 8
A:
	.long	0
	.long	-1075838976
	.globl	B
	.align 8
	.type	B, @object
	.size	B, 8
B:
	.long	-1717986918
	.long	1071225241
	.globl	R1
	.align 8
	.type	R1, @object
	.size	R1, 8
R1:
	.long	-1717986918
	.long	1071225241
	.globl	R2
	.align 8
	.type	R2, @object
	.size	R2, 8
R2:
	.long	0
	.long	1072693248
	.globl	depth
	.align 8
	.type	depth, @object
	.size	depth, 8
depth:
	.long	0
	.long	1075052544
	.text
	.globl	rotate
	.type	rotate, @function
rotate:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	QWORD PTR -24[rbp], rdx
	mov	rax, QWORD PTR -16[rbp]
	movsd	xmm1, QWORD PTR [rax]
	mov	rax, QWORD PTR -24[rbp]
	movsd	xmm0, QWORD PTR [rax]
	mulsd	xmm1, xmm0
	mov	rax, QWORD PTR -16[rbp]
	movsd	xmm2, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -24[rbp]
	movsd	xmm0, QWORD PTR 8[rax]
	mulsd	xmm0, xmm2
	addsd	xmm1, xmm0
	mov	rax, QWORD PTR -16[rbp]
	movsd	xmm2, QWORD PTR 16[rax]
	mov	rax, QWORD PTR -24[rbp]
	movsd	xmm0, QWORD PTR 16[rax]
	mulsd	xmm0, xmm2
	addsd	xmm0, xmm1
	mov	rax, QWORD PTR -8[rbp]
	movsd	QWORD PTR [rax], xmm0
	mov	rax, QWORD PTR -16[rbp]
	movsd	xmm1, QWORD PTR [rax]
	mov	rax, QWORD PTR -24[rbp]
	movsd	xmm0, QWORD PTR 24[rax]
	mulsd	xmm1, xmm0
	mov	rax, QWORD PTR -16[rbp]
	movsd	xmm2, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -24[rbp]
	movsd	xmm0, QWORD PTR 32[rax]
	mulsd	xmm0, xmm2
	addsd	xmm1, xmm0
	mov	rax, QWORD PTR -16[rbp]
	movsd	xmm2, QWORD PTR 16[rax]
	mov	rax, QWORD PTR -24[rbp]
	movsd	xmm0, QWORD PTR 40[rax]
	mulsd	xmm0, xmm2
	addsd	xmm0, xmm1
	mov	rax, QWORD PTR -8[rbp]
	movsd	QWORD PTR 8[rax], xmm0
	mov	rax, QWORD PTR -16[rbp]
	movsd	xmm1, QWORD PTR [rax]
	mov	rax, QWORD PTR -24[rbp]
	movsd	xmm0, QWORD PTR 48[rax]
	mulsd	xmm1, xmm0
	mov	rax, QWORD PTR -16[rbp]
	movsd	xmm2, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -24[rbp]
	movsd	xmm0, QWORD PTR 56[rax]
	mulsd	xmm0, xmm2
	addsd	xmm1, xmm0
	mov	rax, QWORD PTR -16[rbp]
	movsd	xmm2, QWORD PTR 16[rax]
	mov	rax, QWORD PTR -24[rbp]
	movsd	xmm0, QWORD PTR 64[rax]
	mulsd	xmm0, xmm2
	addsd	xmm0, xmm1
	mov	rax, QWORD PTR -8[rbp]
	movsd	QWORD PTR 16[rax], xmm0
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	rotate, .-rotate
	.section	.rodata
.LC0:
	.string	"No file name supplied\n"
.LC13:
	.string	"wb"
.LC14:
	.string	"P6\n%i %i\n255\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 512
	mov	DWORD PTR -500[rbp], edi
	mov	QWORD PTR -512[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	cmp	DWORD PTR -500[rbp], 2
	je	.L3
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 22
	mov	esi, 1
	lea	rdi, .LC0[rip]
	call	fwrite@PLT
	mov	eax, 1
	jmp	.L4
.L3:
	mov	DWORD PTR -488[rbp], 0
	jmp	.L5
.L8:
	mov	DWORD PTR -484[rbp], 0
	jmp	.L6
.L7:
	mov	eax, DWORD PTR -484[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -488[rbp]
	cdqe
	imul	rax, rax, 4660
	add	rax, rdx
	lea	rdx, 0[0+rax*8]
	lea	rax, z_buffer[rip]
	movsd	xmm0, QWORD PTR .LC1[rip]
	movsd	QWORD PTR [rdx+rax], xmm0
	add	DWORD PTR -484[rbp], 1
.L6:
	cmp	DWORD PTR -484[rbp], 4659
	jle	.L7
	add	DWORD PTR -488[rbp], 1
.L5:
	cmp	DWORD PTR -488[rbp], 4659
	jle	.L8
	mov	rax, QWORD PTR .LC2[rip]
	movq	xmm0, rax
	call	cos@PLT
	movq	rax, xmm0
	mov	QWORD PTR -240[rbp], rax
	mov	rax, QWORD PTR .LC2[rip]
	movq	xmm0, rax
	call	sin@PLT
	movq	rax, xmm0
	mov	QWORD PTR -232[rbp], rax
	pxor	xmm0, xmm0
	movsd	QWORD PTR -224[rbp], xmm0
	mov	rax, QWORD PTR .LC2[rip]
	movq	xmm0, rax
	call	sin@PLT
	movq	rax, xmm0
	movq	xmm0, QWORD PTR .LC4[rip]
	movq	xmm3, rax
	xorpd	xmm3, xmm0
	movapd	xmm0, xmm3
	movsd	QWORD PTR -216[rbp], xmm0
	mov	rax, QWORD PTR .LC2[rip]
	movq	xmm0, rax
	call	cos@PLT
	movq	rax, xmm0
	mov	QWORD PTR -208[rbp], rax
	pxor	xmm0, xmm0
	movsd	QWORD PTR -200[rbp], xmm0
	pxor	xmm0, xmm0
	movsd	QWORD PTR -192[rbp], xmm0
	pxor	xmm0, xmm0
	movsd	QWORD PTR -184[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC5[rip]
	movsd	QWORD PTR -176[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC5[rip]
	movsd	QWORD PTR -160[rbp], xmm0
	pxor	xmm0, xmm0
	movsd	QWORD PTR -152[rbp], xmm0
	pxor	xmm0, xmm0
	movsd	QWORD PTR -144[rbp], xmm0
	pxor	xmm0, xmm0
	movsd	QWORD PTR -136[rbp], xmm0
	mov	rax, QWORD PTR .LC6[rip]
	movq	xmm0, rax
	call	cos@PLT
	movq	rax, xmm0
	mov	QWORD PTR -128[rbp], rax
	mov	rax, QWORD PTR .LC6[rip]
	movq	xmm0, rax
	call	sin@PLT
	movq	rax, xmm0
	mov	QWORD PTR -120[rbp], rax
	pxor	xmm0, xmm0
	movsd	QWORD PTR -112[rbp], xmm0
	mov	rax, QWORD PTR .LC6[rip]
	movq	xmm0, rax
	call	sin@PLT
	movq	rax, xmm0
	movq	xmm0, QWORD PTR .LC4[rip]
	movq	xmm4, rax
	xorpd	xmm4, xmm0
	movapd	xmm0, xmm4
	movsd	QWORD PTR -104[rbp], xmm0
	mov	rax, QWORD PTR .LC6[rip]
	movq	xmm0, rax
	call	cos@PLT
	movq	rax, xmm0
	mov	QWORD PTR -96[rbp], rax
	mov	DWORD PTR -480[rbp], 0
	jmp	.L9
.L26:
	mov	DWORD PTR -476[rbp], 0
	jmp	.L10
.L25:
	mov	eax, DWORD PTR -480[rbp]
	add	eax, eax
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, eax
	movsd	xmm0, QWORD PTR .LC7[rip]
	mulsd	xmm0, xmm1
	movsd	xmm1, QWORD PTR .LC8[rip]
	divsd	xmm0, xmm1
	movsd	QWORD PTR -456[rbp], xmm0
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, DWORD PTR -476[rbp]
	movsd	xmm0, QWORD PTR .LC7[rip]
	mulsd	xmm0, xmm1
	movsd	xmm1, QWORD PTR .LC8[rip]
	divsd	xmm0, xmm1
	movsd	QWORD PTR -448[rbp], xmm0
	mov	rax, QWORD PTR -456[rbp]
	movq	xmm0, rax
	call	cos@PLT
	movsd	xmm1, QWORD PTR .LC2[rip]
	mulsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR .LC5[rip]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -304[rbp], xmm0
	mov	rax, QWORD PTR -456[rbp]
	movq	xmm0, rax
	call	sin@PLT
	movsd	xmm1, QWORD PTR .LC2[rip]
	mulsd	xmm0, xmm1
	movsd	QWORD PTR -296[rbp], xmm0
	pxor	xmm0, xmm0
	movsd	QWORD PTR -288[rbp], xmm0
	mov	rax, QWORD PTR -456[rbp]
	movq	xmm0, rax
	call	cos@PLT
	movq	rax, xmm0
	mov	QWORD PTR -272[rbp], rax
	mov	rax, QWORD PTR -456[rbp]
	movq	xmm0, rax
	call	sin@PLT
	movq	rax, xmm0
	mov	QWORD PTR -264[rbp], rax
	pxor	xmm0, xmm0
	movsd	QWORD PTR -256[rbp], xmm0
	mov	rax, QWORD PTR -448[rbp]
	movq	xmm0, rax
	call	cos@PLT
	movq	rax, xmm0
	mov	QWORD PTR -80[rbp], rax
	pxor	xmm0, xmm0
	movsd	QWORD PTR -72[rbp], xmm0
	mov	rax, QWORD PTR -448[rbp]
	movq	xmm0, rax
	call	sin@PLT
	movq	rax, xmm0
	mov	QWORD PTR -64[rbp], rax
	pxor	xmm0, xmm0
	movsd	QWORD PTR -56[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC5[rip]
	movsd	QWORD PTR -48[rbp], xmm0
	pxor	xmm0, xmm0
	movsd	QWORD PTR -40[rbp], xmm0
	mov	rax, QWORD PTR -448[rbp]
	movq	xmm0, rax
	call	sin@PLT
	movq	rax, xmm0
	movq	xmm0, QWORD PTR .LC4[rip]
	movq	xmm5, rax
	xorpd	xmm5, xmm0
	movapd	xmm0, xmm5
	movsd	QWORD PTR -32[rbp], xmm0
	pxor	xmm0, xmm0
	movsd	QWORD PTR -24[rbp], xmm0
	mov	rax, QWORD PTR -448[rbp]
	movq	xmm0, rax
	call	cos@PLT
	movq	rax, xmm0
	mov	QWORD PTR -16[rbp], rax
	lea	rdx, -80[rbp]
	lea	rcx, -304[rbp]
	lea	rax, -432[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	rotate
	lea	rdx, -160[rbp]
	lea	rcx, -432[rbp]
	lea	rax, -400[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	rotate
	lea	rdx, -240[rbp]
	lea	rcx, -400[rbp]
	lea	rax, -368[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	rotate
	movsd	xmm0, QWORD PTR -352[rbp]
	movsd	xmm1, QWORD PTR .LC9[rip]
	subsd	xmm0, xmm1
	movsd	QWORD PTR -352[rbp], xmm0
	movsd	xmm0, QWORD PTR -368[rbp]
	movsd	xmm2, QWORD PTR -352[rbp]
	movapd	xmm1, xmm0
	divsd	xmm1, xmm2
	movsd	xmm0, QWORD PTR .LC8[rip]
	mulsd	xmm0, xmm1
	cvttsd2si	eax, xmm0
	add	eax, 2330
	mov	DWORD PTR -472[rbp], eax
	movsd	xmm0, QWORD PTR -360[rbp]
	movsd	xmm2, QWORD PTR -352[rbp]
	movapd	xmm1, xmm0
	divsd	xmm1, xmm2
	movsd	xmm0, QWORD PTR .LC8[rip]
	mulsd	xmm0, xmm1
	cvttsd2si	eax, xmm0
	add	eax, 2330
	mov	DWORD PTR -468[rbp], eax
	cmp	DWORD PTR -468[rbp], 0
	js	.L36
	cmp	DWORD PTR -468[rbp], 4659
	jg	.L36
	cmp	DWORD PTR -472[rbp], 0
	js	.L36
	cmp	DWORD PTR -472[rbp], 4659
	jg	.L36
	lea	rdx, -80[rbp]
	lea	rcx, -272[rbp]
	lea	rax, -432[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	rotate
	lea	rdx, -160[rbp]
	lea	rcx, -432[rbp]
	lea	rax, -400[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	rotate
	lea	rdx, -240[rbp]
	lea	rcx, -400[rbp]
	lea	rax, -336[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	rotate
	movsd	xmm0, QWORD PTR -352[rbp]
	mov	eax, DWORD PTR -472[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -468[rbp]
	cdqe
	imul	rax, rax, 4660
	add	rax, rdx
	lea	rdx, 0[0+rax*8]
	lea	rax, z_buffer[rip]
	movsd	xmm1, QWORD PTR [rdx+rax]
	comisd	xmm0, xmm1
	jbe	.L13
	movsd	xmm0, QWORD PTR -328[rbp]
	movsd	xmm1, QWORD PTR -336[rbp]
	subsd	xmm0, xmm1
	movsd	xmm1, QWORD PTR .LC10[rip]
	divsd	xmm0, xmm1
	movsd	QWORD PTR -440[rbp], xmm0
	movsd	xmm0, QWORD PTR -440[rbp]
	pxor	xmm1, xmm1
	comisd	xmm0, xmm1
	jbe	.L33
	movsd	xmm1, QWORD PTR -440[rbp]
	movsd	xmm0, QWORD PTR .LC11[rip]
	mulsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR .LC12[rip]
	addsd	xmm0, xmm1
	cvttsd2si	eax, xmm0
	mov	esi, eax
	jmp	.L18
.L33:
	mov	esi, 32
.L18:
	mov	eax, DWORD PTR -472[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -468[rbp]
	movsx	rcx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	imul	rdx, rcx, 13980
	add	rdx, rax
	lea	rax, frame[rip]
	add	rax, rdx
	mov	BYTE PTR [rax], sil
	movsd	xmm0, QWORD PTR -328[rbp]
	movsd	QWORD PTR -440[rbp], xmm0
	movsd	xmm0, QWORD PTR -440[rbp]
	pxor	xmm1, xmm1
	comisd	xmm0, xmm1
	jbe	.L34
	movsd	xmm1, QWORD PTR -440[rbp]
	movsd	xmm0, QWORD PTR .LC11[rip]
	mulsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR .LC12[rip]
	addsd	xmm0, xmm1
	cvttsd2si	eax, xmm0
	mov	esi, eax
	jmp	.L21
.L34:
	mov	esi, 32
.L21:
	mov	eax, DWORD PTR -472[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -468[rbp]
	movsx	rcx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	imul	rdx, rcx, 13980
	add	rdx, rax
	lea	rax, frame[rip+1]
	add	rax, rdx
	mov	BYTE PTR [rax], sil
	movsd	xmm1, QWORD PTR -328[rbp]
	movsd	xmm0, QWORD PTR -336[rbp]
	addsd	xmm0, xmm1
	movsd	xmm1, QWORD PTR .LC10[rip]
	divsd	xmm0, xmm1
	movsd	QWORD PTR -440[rbp], xmm0
	movsd	xmm0, QWORD PTR -440[rbp]
	pxor	xmm1, xmm1
	comisd	xmm0, xmm1
	jbe	.L35
	movsd	xmm1, QWORD PTR -440[rbp]
	movsd	xmm0, QWORD PTR .LC11[rip]
	mulsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR .LC12[rip]
	addsd	xmm0, xmm1
	cvttsd2si	eax, xmm0
	mov	esi, eax
	jmp	.L24
.L35:
	mov	esi, 32
.L24:
	mov	eax, DWORD PTR -472[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -468[rbp]
	movsx	rcx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	imul	rdx, rcx, 13980
	add	rdx, rax
	lea	rax, frame[rip+2]
	add	rax, rdx
	mov	BYTE PTR [rax], sil
	movsd	xmm0, QWORD PTR -352[rbp]
	mov	eax, DWORD PTR -472[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -468[rbp]
	cdqe
	imul	rax, rax, 4660
	add	rax, rdx
	lea	rdx, 0[0+rax*8]
	lea	rax, z_buffer[rip]
	movsd	QWORD PTR [rdx+rax], xmm0
	jmp	.L13
.L36:
	nop
.L13:
	add	DWORD PTR -476[rbp], 1
.L10:
	cmp	DWORD PTR -476[rbp], 9319
	jle	.L25
	add	DWORD PTR -480[rbp], 1
.L9:
	cmp	DWORD PTR -480[rbp], 4659
	jle	.L26
	mov	rax, QWORD PTR -512[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC13[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -464[rbp], rax
	cmp	QWORD PTR -464[rbp], 0
	je	.L27
	mov	rax, QWORD PTR -464[rbp]
	mov	ecx, 4660
	mov	edx, 4660
	lea	rsi, .LC14[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR -464[rbp]
	mov	rcx, rax
	mov	edx, 1
	mov	esi, 65146800
	lea	rdi, frame[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR -464[rbp]
	mov	rdi, rax
	call	fclose@PLT
.L27:
	mov	eax, 0
.L4:
	mov	rdi, QWORD PTR -8[rbp]
	sub	rdi, QWORD PTR fs:40
	je	.L28
	call	__stack_chk_fail@PLT
.L28:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC1:
	.long	0
	.long	-1071382528
	.align 8
.LC2:
	.long	-1717986918
	.long	1071225241
	.align 16
.LC4:
	.long	0
	.long	-2147483648
	.long	0
	.long	0
	.align 8
.LC5:
	.long	0
	.long	1072693248
	.align 8
.LC6:
	.long	0
	.long	-1075838976
	.align 8
.LC7:
	.long	1413754136
	.long	1074340347
	.align 8
.LC8:
	.long	0
	.long	1085420544
	.align 8
.LC9:
	.long	0
	.long	1075052544
	.align 8
.LC10:
	.long	1719614413
	.long	1073127582
	.align 8
.LC11:
	.long	0
	.long	1080786944
	.align 8
.LC12:
	.long	0
	.long	1077936128
	.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	"13411.c"
	.text
	.global	frame
	.bss
	.align	2
	.type	frame, %object
	.size	frame, 65146800
frame:
	.space	65146800
	.global	z_buffer
	.align	3
	.type	z_buffer, %object
	.size	z_buffer, 173724800
z_buffer:
	.space	173724800
	.global	A
	.section	.rodata
	.align	3
	.type	A, %object
	.size	A, 8
A:
	.word	0
	.word	-1075838976
	.global	B
	.align	3
	.type	B, %object
	.size	B, 8
B:
	.word	2576980378
	.word	1071225241
	.global	R1
	.align	3
	.type	R1, %object
	.size	R1, 8
R1:
	.word	2576980378
	.word	1071225241
	.global	R2
	.align	3
	.type	R2, %object
	.size	R2, 8
R2:
	.word	0
	.word	1072693248
	.global	depth
	.align	3
	.type	depth, %object
	.size	depth, 8
depth:
	.word	0
	.word	1075052544
	.global	__aeabi_dmul
	.global	__aeabi_dadd
	.text
	.align	2
	.global	rotate
	.syntax unified
	.arm
	.fpu softvfp
	.type	rotate, %function
rotate:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	ldr	r3, [fp, #-20]
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-24]
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r3, [fp, #-20]
	add	r1, r3, #8
	ldmia	r1, {r0-r1}
	ldr	r3, [fp, #-24]
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	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	r4, r2
	mov	r5, r3
	ldr	r3, [fp, #-20]
	add	r1, r3, #16
	ldmia	r1, {r0-r1}
	ldr	r3, [fp, #-24]
	add	r3, r3, #16
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	ldr	r1, [fp, #-16]
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-20]
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-24]
	add	r3, r3, #24
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r3, [fp, #-20]
	add	r1, r3, #8
	ldmia	r1, {r0-r1}
	ldr	r3, [fp, #-24]
	add	r3, r3, #32
	ldmia	r3, {r2-r3}
	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	r4, r2
	mov	r5, r3
	ldr	r3, [fp, #-20]
	add	r1, r3, #16
	ldmia	r1, {r0-r1}
	ldr	r3, [fp, #-24]
	add	r3, r3, #40
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	ldr	r1, [fp, #-16]
	str	r2, [r1, #8]
	str	r3, [r1, #12]
	ldr	r3, [fp, #-20]
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-24]
	add	r3, r3, #48
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r3, [fp, #-20]
	add	r1, r3, #8
	ldmia	r1, {r0-r1}
	ldr	r3, [fp, #-24]
	add	r3, r3, #56
	ldmia	r3, {r2-r3}
	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	r4, r2
	mov	r5, r3
	ldr	r3, [fp, #-20]
	add	r1, r3, #16
	ldmia	r1, {r0-r1}
	ldr	r3, [fp, #-24]
	add	r3, r3, #64
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	ldr	r1, [fp, #-16]
	str	r2, [r1, #16]
	str	r3, [r1, #20]
	nop
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
	.size	rotate, .-rotate
	.section	.rodata
	.align	2
.LC0:
	.ascii	"No file name supplied\012\000"
	.global	__aeabi_i2d
	.global	__aeabi_ddiv
	.global	__aeabi_dsub
	.global	__aeabi_d2iz
	.global	__aeabi_dcmpgt
	.global	__aeabi_d2uiz
	.align	2
.LC1:
	.ascii	"wb\000"
	.align	2
.LC2:
	.ascii	"P6\012%i %i\012255\012\000"
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 432
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, fp, lr}
	add	fp, sp, #28
	sub	sp, sp, #432
	str	r0, [fp, #-456]
	str	r1, [fp, #-460]
	ldr	r3, .L37
	ldr	r3, [r3]
	str	r3, [fp, #-32]
	mov	r3,#0
	ldr	r3, [fp, #-456]
	cmp	r3, #2
	beq	.L3
	ldr	r3, .L37+4
	ldr	r3, [r3]
	mov	r2, #22
	mov	r1, #1
	ldr	r0, .L37+8
	bl	fwrite
	mov	r3, #1
	b	.L4
.L3:
	mov	r3, #0
	str	r3, [fp, #-448]
	b	.L5
.L8:
	mov	r3, #0
	str	r3, [fp, #-444]
	b	.L6
.L7:
	ldr	r1, .L37+12
	ldr	r3, [fp, #-448]
	ldr	r2, .L37+16
	mul	r2, r3, r2
	ldr	r3, [fp, #-444]
	add	r3, r2, r3
	lsl	r3, r3, #3
	add	r1, r1, r3
	mov	r2, #0
	ldr	r3, .L37+20
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-444]
	add	r3, r3, #1
	str	r3, [fp, #-444]
.L6:
	ldr	r3, [fp, #-444]
	ldr	r2, .L37+24
	cmp	r3, r2
	ble	.L7
	ldr	r3, [fp, #-448]
	add	r3, r3, #1
	str	r3, [fp, #-448]
.L5:
	ldr	r3, [fp, #-448]
	ldr	r2, .L37+24
	cmp	r3, r2
	ble	.L8
	ldr	r2, .L37+28
	ldr	r3, .L37+32
	mov	r0, r2
	mov	r1, r3
	bl	cos
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-252]
	str	r3, [fp, #-248]
	ldr	r2, .L37+28
	ldr	r3, .L37+32
	mov	r0, r2
	mov	r1, r3
	bl	sin
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-244]
	str	r3, [fp, #-240]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-236]
	str	r3, [fp, #-232]
	ldr	r2, .L37+28
	ldr	r3, .L37+32
	mov	r0, r2
	mov	r1, r3
	bl	sin
	mov	r2, r0
	mov	r3, r1
	mov	r8, r2
	eor	r9, r3, #-2147483648
	str	r8, [fp, #-228]
	str	r9, [fp, #-224]
	ldr	r2, .L37+28
	ldr	r3, .L37+32
	mov	r0, r2
	mov	r1, r3
	bl	cos
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-220]
	str	r3, [fp, #-216]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-212]
	str	r3, [fp, #-208]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-204]
	str	r3, [fp, #-200]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-196]
	str	r3, [fp, #-192]
	mov	r2, #0
	ldr	r3, .L37+36
	str	r2, [fp, #-188]
	str	r3, [fp, #-184]
	mov	r2, #0
	ldr	r3, .L37+36
	str	r2, [fp, #-180]
	str	r3, [fp, #-176]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-172]
	str	r3, [fp, #-168]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-164]
	str	r3, [fp, #-160]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-156]
	str	r3, [fp, #-152]
	mov	r2, #0
	ldr	r3, .L37+40
	mov	r0, r2
	mov	r1, r3
	bl	cos
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-148]
	str	r3, [fp, #-144]
	mov	r2, #0
	ldr	r3, .L37+40
	mov	r0, r2
	mov	r1, r3
	bl	sin
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-140]
	str	r3, [fp, #-136]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-132]
	str	r3, [fp, #-128]
	mov	r2, #0
	ldr	r3, .L37+40
	mov	r0, r2
	mov	r1, r3
	bl	sin
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	eor	r7, r3, #-2147483648
	str	r6, [fp, #-124]
	str	r7, [fp, #-120]
	mov	r2, #0
	ldr	r3, .L37+40
	mov	r0, r2
	mov	r1, r3
	bl	cos
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-116]
	str	r3, [fp, #-112]
	mov	r3, #0
	str	r3, [fp, #-440]
	b	.L9
.L26:
	mov	r3, #0
	str	r3, [fp, #-436]
	b	.L10
.L25:
	ldr	r3, [fp, #-440]
	lsl	r3, r3, #1
	mov	r0, r3
	bl	__aeabi_i2d
	ldr	r2, .L37+44
	ldr	r3, .L37+48
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	ldr	r3, .L37+52
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-420]
	str	r3, [fp, #-416]
	ldr	r0, [fp, #-436]
	bl	__aeabi_i2d
	ldr	r2, .L37+44
	ldr	r3, .L37+48
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	ldr	r3, .L37+52
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-412]
	str	r3, [fp, #-408]
	sub	r1, fp, #420
	ldmia	r1, {r0-r1}
	bl	cos
	ldr	r2, .L37+28
	ldr	r3, .L37+32
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	ldr	r3, .L37+36
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-300]
	str	r3, [fp, #-296]
	sub	r1, fp, #420
	ldmia	r1, {r0-r1}
	bl	sin
	ldr	r2, .L37+28
	ldr	r3, .L37+32
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-292]
	str	r3, [fp, #-288]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-284]
	str	r3, [fp, #-280]
	sub	r1, fp, #420
	ldmia	r1, {r0-r1}
	bl	cos
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-276]
	str	r3, [fp, #-272]
	sub	r1, fp, #420
	ldmia	r1, {r0-r1}
	bl	sin
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-268]
	str	r3, [fp, #-264]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-260]
	str	r3, [fp, #-256]
	sub	r1, fp, #412
	ldmia	r1, {r0-r1}
	bl	cos
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-108]
	str	r3, [fp, #-104]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-100]
	str	r3, [fp, #-96]
	sub	r1, fp, #412
	ldmia	r1, {r0-r1}
	bl	sin
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-92]
	str	r3, [fp, #-88]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-84]
	str	r3, [fp, #-80]
	mov	r2, #0
	ldr	r3, .L37+36
	str	r2, [fp, #-76]
	str	r3, [fp, #-72]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-68]
	str	r3, [fp, #-64]
	sub	r1, fp, #412
	ldmia	r1, {r0-r1}
	bl	sin
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	eor	r5, r3, #-2147483648
	str	r4, [fp, #-60]
	str	r5, [fp, #-56]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
	sub	r1, fp, #412
	ldmia	r1, {r0-r1}
	bl	cos
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	sub	r2, fp, #108
	sub	r1, fp, #300
	sub	r3, fp, #396
	mov	r0, r3
	bl	rotate
	sub	r2, fp, #180
	sub	r1, fp, #396
	sub	r3, fp, #372
	mov	r0, r3
	bl	rotate
	sub	r2, fp, #252
	sub	r1, fp, #372
	sub	r3, fp, #348
	mov	r0, r3
	bl	rotate
	sub	r1, fp, #332
	ldmia	r1, {r0-r1}
	mov	r2, #0
	ldr	r3, .L37+56
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-332]
	str	r3, [fp, #-328]
	sub	r1, fp, #348
	ldmia	r1, {r0-r1}
	sub	r3, fp, #332
	ldmia	r3, {r2-r3}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	ldr	r3, .L37+52
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	add	r3, r3, #2320
	add	r3, r3, #10
	str	r3, [fp, #-428]
	sub	r1, fp, #340
	ldmia	r1, {r0-r1}
	sub	r3, fp, #332
	ldmia	r3, {r2-r3}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	ldr	r3, .L37+52
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	add	r3, r3, #2320
	add	r3, r3, #10
	str	r3, [fp, #-424]
	ldr	r3, [fp, #-424]
	cmp	r3, #0
	blt	.L36
	ldr	r3, [fp, #-424]
	ldr	r2, .L37+24
	cmp	r3, r2
	bgt	.L36
	ldr	r3, [fp, #-428]
	cmp	r3, #0
	blt	.L36
	ldr	r3, [fp, #-428]
	ldr	r2, .L37+24
	cmp	r3, r2
	bgt	.L36
	sub	r2, fp, #108
	sub	r1, fp, #276
	sub	r3, fp, #396
	mov	r0, r3
	bl	rotate
	sub	r2, fp, #180
	sub	r1, fp, #396
	sub	r3, fp, #372
	mov	r0, r3
	bl	rotate
	sub	r2, fp, #252
	sub	r1, fp, #372
	sub	r3, fp, #324
	mov	r0, r3
	bl	rotate
	sub	r1, fp, #332
	ldmia	r1, {r0-r1}
	ldr	ip, .L37+12
	ldr	r3, [fp, #-424]
	ldr	r2, .L37+16
	mul	r2, r3, r2
	ldr	r3, [fp, #-428]
	add	r3, r2, r3
	lsl	r3, r3, #3
	add	r3, ip, r3
	ldmia	r3, {r2-r3}
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L13
	sub	r1, fp, #316
	ldmia	r1, {r0-r1}
	sub	r3, fp, #324
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r2, .L37+60
	ldr	r3, .L37+64
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-404]
	str	r3, [fp, #-400]
	mov	r2, #0
	mov	r3, #0
	sub	r1, fp, #404
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L33
	mov	r2, #0
	ldr	r3, .L37+68
	sub	r1, fp, #404
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	ldr	r3, .L37+72
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2uiz
	mov	r3, r0
	and	r0, r3, #255
	b	.L18
.L33:
	mov	r0, #32
.L18:
	ldr	ip, .L37+76
	ldr	r2, [fp, #-428]
	ldr	r1, [fp, #-424]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	ldr	r2, .L37+80
	mul	r2, r1, r2
	add	r3, r3, r2
	add	r3, ip, r3
	mov	r2, r0
	strb	r2, [r3]
	sub	r3, fp, #316
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-404]
	str	r3, [fp, #-400]
	mov	r2, #0
	mov	r3, #0
	sub	r1, fp, #404
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L34
	mov	r2, #0
	ldr	r3, .L37+68
	sub	r1, fp, #404
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	ldr	r3, .L37+72
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2uiz
	mov	r3, r0
	and	r0, r3, #255
	b	.L21
.L34:
	mov	r0, #32
.L21:
	ldr	ip, .L37+76
	ldr	r2, [fp, #-428]
	ldr	r1, [fp, #-424]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	ldr	r2, .L37+80
	mul	r2, r1, r2
	add	r3, r3, r2
	add	r3, ip, r3
	add	r3, r3, #1
	mov	r2, r0
	strb	r2, [r3]
	sub	r1, fp, #316
	ldmia	r1, {r0-r1}
	sub	r3, fp, #324
	ldmia	r3, {r2-r3}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r2, .L37+60
	ldr	r3, .L37+64
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-404]
	str	r3, [fp, #-400]
	mov	r2, #0
	mov	r3, #0
	sub	r1, fp, #404
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L35
	mov	r2, #0
	ldr	r3, .L37+68
	sub	r1, fp, #404
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	ldr	r3, .L37+72
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2uiz
	mov	r3, r0
	and	r0, r3, #255
	b	.L24
.L35:
	mov	r0, #32
.L24:
	ldr	ip, .L37+76
	ldr	r2, [fp, #-428]
	ldr	r1, [fp, #-424]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	ldr	r2, .L37+80
	mul	r2, r1, r2
	add	r3, r3, r2
	add	r3, ip, r3
	add	r3, r3, #2
	mov	r2, r0
	strb	r2, [r3]
	sub	r3, fp, #332
	ldmia	r3, {r2-r3}
	ldr	ip, .L37+12
	ldr	r1, [fp, #-424]
	ldr	r0, .L37+16
	mul	r0, r1, r0
	ldr	r1, [fp, #-428]
	add	r1, r0, r1
	lsl	r1, r1, #3
	add	r1, ip, r1
	stm	r1, {r2-r3}
	b	.L13
.L36:
	nop
.L13:
	ldr	r3, [fp, #-436]
	add	r3, r3, #1
	str	r3, [fp, #-436]
.L10:
	ldr	r3, [fp, #-436]
	ldr	r2, .L37+84
	cmp	r3, r2
	ble	.L25
	ldr	r3, [fp, #-440]
	add	r3, r3, #1
	str	r3, [fp, #-440]
.L9:
	ldr	r3, [fp, #-440]
	ldr	r2, .L37+24
	cmp	r3, r2
	ble	.L26
	ldr	r3, [fp, #-460]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r1, .L37+88
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-432]
	ldr	r3, [fp, #-432]
	cmp	r3, #0
	beq	.L27
	ldr	r3, .L37+16
	ldr	r2, .L37+16
	ldr	r1, .L37+92
	ldr	r0, [fp, #-432]
	bl	fprintf
	ldr	r3, [fp, #-432]
	mov	r2, #1
	ldr	r1, .L37+96
	ldr	r0, .L37+76
	bl	fwrite
	ldr	r0, [fp, #-432]
	bl	fclose
.L27:
	mov	r3, #0
.L4:
	ldr	r2, .L37
	ldr	r1, [r2]
	ldr	r2, [fp, #-32]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L28
	bl	__stack_chk_fail
.L28:
	mov	r0, r3
	sub	sp, fp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, fp, pc}
.L38:
	.align	2
.L37:
	.word	.LC3
	.word	stderr
	.word	.LC0
	.word	z_buffer
	.word	4660
	.word	-1071382528
	.word	4659
	.word	-1717986918
	.word	1071225241
	.word	1072693248
	.word	-1075838976
	.word	1413754136
	.word	1074340347
	.word	1085420544
	.word	1075052544
	.word	1719614413
	.word	1073127582
	.word	1080786944
	.word	1077936128
	.word	frame
	.word	13980
	.word	9319
	.word	.LC1
	.word	.LC2
	.word	65146800
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
