	.file	"215768945.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"w"
.LC1:
	.string	"ImageOutput3.ppm"
.LC2:
	.string	"P3\n%d %d\n255\n"
.LC6:
	.string	"%d\n%d\n%d\n"
	.align 8
.LC7:
	.string	"There was an error in closing the file."
.LC8:
	.string	"startGimp.bat"
	.align 8
.LC9:
	.string	"set DefaultGimp = C:\\Program Files\\GIMP 2\\bin\\"
	.align 8
.LC10:
	.string	"\nif not exist %%DefaultGimp%%gimp goto ERROR"
	.align 8
.LC11:
	.string	"\nset PATH =;%%PATH%%;%%DefaultGimp%%;"
.LC12:
	.string	"\ngimp ImageOutput3.ppm"
	.align 8
.LC13:
	.string	"\n:ERROR \necho Something happened, exiting!\npause\ncd"
	.text
	.globl	main
	.type	main, @function
main:
.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, 48
	mov	DWORD PTR -24[rbp], 200
	mov	DWORD PTR -20[rbp], 200
	mov	DWORD PTR -16[rbp], 0
	lea	rsi, .LC0[rip]
	lea	rdi, .LC1[rip]
	call	fopen@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	ecx, DWORD PTR -24[rbp]
	mov	edx, DWORD PTR -20[rbp]
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	DWORD PTR -32[rbp], 1
	jmp	.L2
.L5:
	mov	DWORD PTR -28[rbp], 1
	jmp	.L3
.L4:
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, DWORD PTR -32[rbp]
	movsd	xmm1, QWORD PTR .LC3[rip]
	divsd	xmm0, xmm1
	movq	rax, xmm0
	movq	xmm0, rax
	call	sin@PLT
	movsd	xmm1, QWORD PTR .LC4[rip]
	mulsd	xmm0, xmm1
	movsd	QWORD PTR -40[rbp], xmm0
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, DWORD PTR -28[rbp]
	movsd	xmm1, QWORD PTR .LC3[rip]
	movapd	xmm3, xmm0
	divsd	xmm3, xmm1
	movq	rax, xmm3
	movq	xmm0, rax
	call	cos@PLT
	movq	rax, xmm0
	movq	xmm0, rax
	call	floor@PLT
	mulsd	xmm0, QWORD PTR -40[rbp]
	movq	xmm1, QWORD PTR .LC5[rip]
	andpd	xmm0, xmm1
	cvttsd2si	eax, xmm0
	mov	DWORD PTR -16[rbp], eax
	pxor	xmm6, xmm6
	cvtsi2sd	xmm6, DWORD PTR -16[rbp]
	movsd	QWORD PTR -40[rbp], xmm6
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, DWORD PTR -32[rbp]
	movsd	xmm1, QWORD PTR .LC3[rip]
	divsd	xmm0, xmm1
	movq	rax, xmm0
	movq	xmm0, rax
	call	cos@PLT
	mulsd	xmm0, QWORD PTR -40[rbp]
	movsd	QWORD PTR -40[rbp], xmm0
	pxor	xmm7, xmm7
	cvtsi2sd	xmm7, DWORD PTR -16[rbp]
	movsd	QWORD PTR -48[rbp], xmm7
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, DWORD PTR -32[rbp]
	movsd	xmm1, QWORD PTR .LC3[rip]
	movapd	xmm4, xmm0
	divsd	xmm4, xmm1
	movq	rax, xmm4
	movq	xmm0, rax
	call	cos@PLT
	movapd	xmm5, xmm0
	mulsd	xmm5, QWORD PTR -48[rbp]
	movq	rcx, xmm5
	mov	edx, DWORD PTR -16[rbp]
	mov	rax, QWORD PTR -8[rbp]
	movsd	xmm1, QWORD PTR -40[rbp]
	movq	xmm0, rcx
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	mov	eax, 2
	call	fprintf@PLT
	add	DWORD PTR -28[rbp], 1
.L3:
	mov	eax, DWORD PTR -28[rbp]
	cmp	eax, DWORD PTR -24[rbp]
	jle	.L4
	add	DWORD PTR -32[rbp], 1
.L2:
	mov	eax, DWORD PTR -32[rbp]
	cmp	eax, DWORD PTR -20[rbp]
	jle	.L5
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	fclose@PLT
	test	eax, eax
	je	.L6
	lea	rdi, .LC7[rip]
	call	puts@PLT
.L6:
	lea	rsi, .LC0[rip]
	lea	rdi, .LC8[rip]
	call	fopen@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rcx, rax
	mov	edx, 46
	mov	esi, 1
	lea	rdi, .LC9[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC10[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC11[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rcx, rax
	mov	edx, 22
	mov	esi, 1
	lea	rdi, .LC12[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rcx, rax
	mov	edx, 51
	mov	esi, 1
	lea	rdi, .LC13[rip]
	call	fwrite@PLT
	lea	rdi, .LC8[rip]
	call	system@PLT
	mov	DWORD PTR -12[rbp], eax
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC3:
	.long	0
	.long	1076101120
	.align 8
.LC4:
	.long	0
	.long	1081073664
	.align 16
.LC5:
	.long	-1
	.long	2147483647
	.long	0
	.long	0
	.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	"215768945.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"w\000"
	.align	2
.LC1:
	.ascii	"ImageOutput3.ppm\000"
	.align	2
.LC2:
	.ascii	"P3\012%d %d\012255\012\000"
	.global	__aeabi_i2d
	.global	__aeabi_ddiv
	.global	__aeabi_dmul
	.global	__aeabi_d2iz
	.align	2
.LC3:
	.ascii	"%d\012%d\012%d\012\000"
	.align	2
.LC4:
	.ascii	"There was an error in closing the file.\000"
	.align	2
.LC5:
	.ascii	"startGimp.bat\000"
	.align	2
.LC6:
	.ascii	"set DefaultGimp = C:\\Program Files\\GIMP 2\\bin\\\000"
	.align	2
.LC7:
	.ascii	"\012if not exist %%DefaultGimp%%gimp goto ERROR\000"
	.align	2
.LC8:
	.ascii	"\012set PATH =;%%PATH%%;%%DefaultGimp%%;\000"
	.align	2
.LC9:
	.ascii	"\012gimp ImageOutput3.ppm\000"
	.align	2
.LC10:
	.ascii	"\012:ERROR \012echo Something happened, exiting!\012"
	.ascii	"pause\012cd\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, fp, lr}
	add	fp, sp, #28
	sub	sp, sp, #48
	mov	r3, #200
	str	r3, [fp, #-48]
	mov	r3, #200
	str	r3, [fp, #-44]
	mov	r3, #0
	str	r3, [fp, #-40]
	ldr	r1, .L8
	ldr	r0, .L8+4
	bl	fopen
	str	r0, [fp, #-36]
	ldr	r3, [fp, #-48]
	ldr	r2, [fp, #-44]
	ldr	r1, .L8+8
	ldr	r0, [fp, #-36]
	bl	fprintf
	mov	r3, #1
	str	r3, [fp, #-56]
	b	.L2
.L5:
	mov	r3, #1
	str	r3, [fp, #-52]
	b	.L3
.L4:
	ldr	r0, [fp, #-56]
	bl	__aeabi_i2d
	mov	r2, #0
	ldr	r3, .L8+12
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	sin
	mov	r2, #0
	ldr	r3, .L8+16
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	ldr	r0, [fp, #-52]
	bl	__aeabi_i2d
	mov	r2, #0
	ldr	r3, .L8+12
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	cos
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	floor
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	bic	r5, r3, #-2147483648
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_d2iz
	mov	r3, r0
	str	r3, [fp, #-40]
	ldr	r0, [fp, #-40]
	bl	__aeabi_i2d
	mov	r6, r0
	mov	r7, r1
	ldr	r0, [fp, #-56]
	bl	__aeabi_i2d
	mov	r2, #0
	ldr	r3, .L8+12
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	cos
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r8, r2
	mov	r9, r3
	ldr	r0, [fp, #-40]
	bl	__aeabi_i2d
	mov	r6, r0
	mov	r7, r1
	ldr	r0, [fp, #-56]
	bl	__aeabi_i2d
	mov	r2, #0
	ldr	r3, .L8+12
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	cos
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	str	r2, [sp, #8]
	str	r3, [sp, #12]
	stm	sp, {r8-r9}
	ldr	r2, [fp, #-40]
	ldr	r1, .L8+20
	ldr	r0, [fp, #-36]
	bl	fprintf
	ldr	r3, [fp, #-52]
	add	r3, r3, #1
	str	r3, [fp, #-52]
.L3:
	ldr	r2, [fp, #-52]
	ldr	r3, [fp, #-48]
	cmp	r2, r3
	ble	.L4
	ldr	r3, [fp, #-56]
	add	r3, r3, #1
	str	r3, [fp, #-56]
.L2:
	ldr	r2, [fp, #-56]
	ldr	r3, [fp, #-44]
	cmp	r2, r3
	ble	.L5
	ldr	r0, [fp, #-36]
	bl	fclose
	mov	r3, r0
	cmp	r3, #0
	beq	.L6
	ldr	r0, .L8+24
	bl	puts
.L6:
	ldr	r1, .L8
	ldr	r0, .L8+28
	bl	fopen
	str	r0, [fp, #-36]
	ldr	r3, [fp, #-36]
	mov	r2, #46
	mov	r1, #1
	ldr	r0, .L8+32
	bl	fwrite
	ldr	r1, .L8+36
	ldr	r0, [fp, #-36]
	bl	fprintf
	ldr	r1, .L8+40
	ldr	r0, [fp, #-36]
	bl	fprintf
	ldr	r3, [fp, #-36]
	mov	r2, #22
	mov	r1, #1
	ldr	r0, .L8+44
	bl	fwrite
	ldr	r3, [fp, #-36]
	mov	r2, #51
	mov	r1, #1
	ldr	r0, .L8+48
	bl	fwrite
	ldr	r0, .L8+28
	bl	system
	str	r0, [fp, #-32]
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, fp, pc}
.L9:
	.align	2
.L8:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	1076101120
	.word	1081073664
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
