	.file	"243893113.c"
	.intel_syntax noprefix
	.text
	.globl	testpoint
	.type	testpoint, @function
testpoint:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	movq	rcx, xmm0
	movapd	xmm0, xmm1
	mov	eax, 0
	mov	edx, 0
	mov	rax, rcx
	movq	rdx, xmm0
	mov	QWORD PTR -48[rbp], rax
	mov	QWORD PTR -40[rbp], rdx
	mov	rax, QWORD PTR -48[rbp]
	mov	rdx, QWORD PTR -40[rbp]
	mov	QWORD PTR -16[rbp], rax
	mov	QWORD PTR -8[rbp], rdx
	mov	DWORD PTR -28[rbp], 0
	jmp	.L2
.L6:
	movsd	xmm1, QWORD PTR -16[rbp]
	movsd	xmm0, QWORD PTR -16[rbp]
	mulsd	xmm0, xmm1
	movsd	xmm2, QWORD PTR -8[rbp]
	movsd	xmm1, QWORD PTR -8[rbp]
	mulsd	xmm2, xmm1
	movapd	xmm1, xmm0
	subsd	xmm1, xmm2
	movsd	xmm0, QWORD PTR -48[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -24[rbp], xmm0
	movsd	xmm1, QWORD PTR -16[rbp]
	movsd	xmm0, QWORD PTR -8[rbp]
	mulsd	xmm0, xmm1
	movapd	xmm1, xmm0
	addsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR -40[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -8[rbp], xmm0
	movsd	xmm0, QWORD PTR -24[rbp]
	movsd	QWORD PTR -16[rbp], xmm0
	movsd	xmm1, QWORD PTR -16[rbp]
	movsd	xmm0, QWORD PTR -16[rbp]
	mulsd	xmm1, xmm0
	movsd	xmm2, QWORD PTR -8[rbp]
	movsd	xmm0, QWORD PTR -8[rbp]
	mulsd	xmm0, xmm2
	addsd	xmm0, xmm1
	comisd	xmm0, QWORD PTR .LC0[rip]
	jbe	.L9
	mov	eax, DWORD PTR -28[rbp]
	jmp	.L7
.L9:
	add	DWORD PTR -28[rbp], 1
.L2:
	cmp	DWORD PTR -28[rbp], 2047
	jle	.L6
	mov	eax, DWORD PTR -28[rbp]
.L7:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	testpoint, .-testpoint
	.globl	mandelbrot
	.type	mandelbrot, @function
mandelbrot:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 88
	.cfi_offset 3, -24
	mov	DWORD PTR -52[rbp], edi
	mov	DWORD PTR -56[rbp], esi
	movq	rax, xmm0
	movapd	xmm0, xmm1
	mov	ecx, 0
	mov	ebx, 0
	mov	rcx, rax
	movq	rbx, xmm0
	mov	QWORD PTR -80[rbp], rcx
	mov	QWORD PTR -72[rbp], rbx
	movapd	xmm1, xmm2
	movapd	xmm0, xmm3
	mov	ecx, 0
	mov	ebx, 0
	movq	rcx, xmm1
	movq	rbx, xmm0
	mov	QWORD PTR -96[rbp], rcx
	mov	QWORD PTR -88[rbp], rbx
	mov	QWORD PTR -64[rbp], rdx
	mov	DWORD PTR -40[rbp], 0
	jmp	.L11
.L14:
	mov	DWORD PTR -36[rbp], 0
	jmp	.L12
.L13:
	movsd	xmm1, QWORD PTR -80[rbp]
	movsd	xmm2, QWORD PTR -96[rbp]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, DWORD PTR -36[rbp]
	mulsd	xmm0, xmm2
	addsd	xmm0, xmm1
	movsd	QWORD PTR -32[rbp], xmm0
	movsd	xmm1, QWORD PTR -72[rbp]
	movsd	xmm2, QWORD PTR -88[rbp]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, DWORD PTR -40[rbp]
	mulsd	xmm0, xmm2
	addsd	xmm0, xmm1
	movsd	QWORD PTR -24[rbp], xmm0
	mov	rax, QWORD PTR -32[rbp]
	movsd	xmm1, QWORD PTR -24[rbp]
	movq	xmm0, rax
	call	testpoint
	mov	edx, eax
	mov	eax, DWORD PTR -40[rbp]
	imul	eax, DWORD PTR -52[rbp]
	mov	ecx, eax
	mov	eax, DWORD PTR -36[rbp]
	add	eax, ecx
	cdqe
	lea	rcx, 0[0+rax*4]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rcx
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, edx
	movss	DWORD PTR [rax], xmm0
	add	DWORD PTR -36[rbp], 1
.L12:
	mov	eax, DWORD PTR -36[rbp]
	cmp	eax, DWORD PTR -52[rbp]
	jl	.L13
	add	DWORD PTR -40[rbp], 1
.L11:
	mov	eax, DWORD PTR -40[rbp]
	cmp	eax, DWORD PTR -56[rbp]
	jl	.L14
	nop
	nop
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	mandelbrot, .-mandelbrot
	.section	.rodata
.LC6:
	.string	"elapsed = %lf\n"
.LC7:
	.string	"Printing mandelbrot.ppm..."
.LC8:
	.string	"mandelbrot.ppm"
	.text
	.globl	main
	.type	main, @function
main:
.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, 112
	mov	DWORD PTR -100[rbp], edi
	mov	QWORD PTR -112[rbp], rsi
	mov	rax, QWORD PTR -112[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -96[rbp], eax
	mov	rax, QWORD PTR -112[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -92[rbp], eax
	mov	eax, DWORD PTR -100[rbp]
	cdqe
	sal	rax, 3
	lea	rdx, -8[rax]
	mov	rax, QWORD PTR -112[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -88[rbp], eax
	mov	eax, DWORD PTR -88[rbp]
	mov	edi, eax
	call	omp_set_num_threads@PLT
	mov	eax, DWORD PTR -96[rbp]
	imul	eax, DWORD PTR -92[rbp]
	cdqe
	sal	rax, 2
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -72[rbp], rax
	movss	xmm0, DWORD PTR .LC1[rip]
	movss	DWORD PTR -84[rbp], xmm0
	movss	xmm0, DWORD PTR .LC2[rip]
	movss	DWORD PTR -80[rbp], xmm0
	movss	xmm0, DWORD PTR .LC3[rip]
	movss	DWORD PTR -76[rbp], xmm0
	pxor	xmm0, xmm0
	cvtss2sd	xmm0, DWORD PTR -84[rbp]
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, DWORD PTR -76[rbp]
	movsd	xmm1, QWORD PTR .LC4[rip]
	mulsd	xmm1, xmm2
	subsd	xmm0, xmm1
	movsd	QWORD PTR -48[rbp], xmm0
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, DWORD PTR -84[rbp]
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, DWORD PTR -76[rbp]
	movsd	xmm0, QWORD PTR .LC4[rip]
	mulsd	xmm0, xmm2
	addsd	xmm0, xmm1
	movsd	QWORD PTR -32[rbp], xmm0
	pxor	xmm0, xmm0
	cvtss2sd	xmm0, DWORD PTR -80[rbp]
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, DWORD PTR -76[rbp]
	movsd	xmm1, QWORD PTR .LC4[rip]
	mulsd	xmm1, xmm2
	subsd	xmm0, xmm1
	movsd	QWORD PTR -40[rbp], xmm0
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, DWORD PTR -80[rbp]
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, DWORD PTR -76[rbp]
	movsd	xmm0, QWORD PTR .LC4[rip]
	mulsd	xmm0, xmm2
	addsd	xmm0, xmm1
	movsd	QWORD PTR -24[rbp], xmm0
	movsd	xmm0, QWORD PTR -32[rbp]
	movsd	xmm1, QWORD PTR -48[rbp]
	subsd	xmm0, xmm1
	mov	eax, DWORD PTR -96[rbp]
	sub	eax, 1
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, eax
	divsd	xmm0, xmm1
	movsd	QWORD PTR -16[rbp], xmm0
	movsd	xmm0, QWORD PTR -24[rbp]
	movsd	xmm1, QWORD PTR -40[rbp]
	subsd	xmm0, xmm1
	mov	eax, DWORD PTR -92[rbp]
	sub	eax, 1
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, eax
	divsd	xmm0, xmm1
	movsd	QWORD PTR -8[rbp], xmm0
	call	omp_get_wtime@PLT
	cvttsd2si	rax, xmm0
	mov	QWORD PTR -64[rbp], rax
	mov	rdx, QWORD PTR -72[rbp]
	movsd	xmm2, QWORD PTR -16[rbp]
	movsd	xmm0, QWORD PTR -8[rbp]
	mov	rsi, QWORD PTR -48[rbp]
	movsd	xmm1, QWORD PTR -40[rbp]
	mov	ecx, DWORD PTR -92[rbp]
	mov	eax, DWORD PTR -96[rbp]
	movapd	xmm3, xmm0
	movq	xmm0, rsi
	mov	esi, ecx
	mov	edi, eax
	call	mandelbrot
	call	omp_get_wtime@PLT
	cvttsd2si	rax, xmm0
	mov	QWORD PTR -56[rbp], rax
	mov	rax, QWORD PTR -56[rbp]
	sub	rax, QWORD PTR -64[rbp]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rax
	movsd	xmm1, QWORD PTR .LC5[rip]
	divsd	xmm0, xmm1
	movq	rax, xmm0
	movq	xmm0, rax
	lea	rdi, .LC6[rip]
	mov	eax, 1
	call	printf@PLT
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rcx, QWORD PTR -72[rbp]
	mov	edx, DWORD PTR -92[rbp]
	mov	eax, DWORD PTR -96[rbp]
	mov	r9d, 80
	mov	r8d, 0
	mov	esi, eax
	lea	rdi, .LC8[rip]
	call	writeMandelbrot
	mov	rax, QWORD PTR -72[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	edi, 0
	call	exit@PLT
	.cfi_endproc
.LFE8:
	.size	main, .-main
	.section	.rodata
.LC9:
	.string	"wb"
.LC10:
	.string	"P6 %d %d %d\n"
	.text
	.globl	saveppm
	.type	saveppm, @function
saveppm:
.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, 48
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	DWORD PTR -36[rbp], edx
	mov	DWORD PTR -40[rbp], ecx
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC9[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	ecx, DWORD PTR -40[rbp]
	mov	edx, DWORD PTR -36[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	r8d, 255
	lea	rsi, .LC10[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, DWORD PTR -36[rbp]
	imul	eax, DWORD PTR -40[rbp]
	movsx	rdx, eax
	mov	rcx, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR -32[rbp]
	mov	esi, 3
	mov	rdi, rax
	call	fwrite@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	fclose@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	saveppm, .-saveppm
	.globl	writeMandelbrot
	.type	writeMandelbrot, @function
writeMandelbrot:
.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, 64
	mov	QWORD PTR -40[rbp], rdi
	mov	DWORD PTR -44[rbp], esi
	mov	DWORD PTR -48[rbp], edx
	mov	QWORD PTR -56[rbp], rcx
	mov	DWORD PTR -60[rbp], r8d
	mov	DWORD PTR -64[rbp], r9d
	mov	eax, DWORD PTR -44[rbp]
	imul	eax, DWORD PTR -48[rbp]
	mov	edx, eax
	mov	eax, edx
	add	eax, eax
	add	eax, edx
	cdqe
	mov	esi, 1
	mov	rdi, rax
	call	calloc@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	DWORD PTR -24[rbp], 0
	jmp	.L18
.L27:
	mov	DWORD PTR -20[rbp], 0
	jmp	.L19
.L26:
	mov	eax, DWORD PTR -24[rbp]
	imul	eax, DWORD PTR -44[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -20[rbp]
	add	eax, edx
	mov	DWORD PTR -16[rbp], eax
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	movss	xmm0, DWORD PTR [rax]
	pxor	xmm1, xmm1
	cvtsi2ss	xmm1, DWORD PTR -60[rbp]
	subss	xmm0, xmm1
	cvtss2sd	xmm0, xmm0
	mov	eax, DWORD PTR -64[rbp]
	sub	eax, DWORD PTR -60[rbp]
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, eax
	divsd	xmm0, xmm1
	movq	rax, xmm0
	movq	xmm0, rax
	call	sqrt@PLT
	movsd	xmm1, QWORD PTR .LC11[rip]
	mulsd	xmm0, xmm1
	cvttsd2si	eax, xmm0
	mov	DWORD PTR -12[rbp], eax
	cmp	DWORD PTR -12[rbp], 255
	jg	.L20
	mov	eax, DWORD PTR -12[rbp]
	mov	ecx, eax
	mov	edx, DWORD PTR -16[rbp]
	mov	eax, edx
	add	eax, eax
	add	eax, edx
	cdqe
	lea	rdx, 2[rax]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	not	ecx
	mov	edx, ecx
	mov	BYTE PTR [rax], dl
	jmp	.L21
.L20:
	cmp	DWORD PTR -12[rbp], 511
	jg	.L22
	mov	eax, DWORD PTR -12[rbp]
	mov	ecx, eax
	mov	edx, DWORD PTR -16[rbp]
	mov	eax, edx
	add	eax, eax
	add	eax, edx
	cdqe
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	not	ecx
	mov	edx, ecx
	mov	BYTE PTR [rax], dl
	jmp	.L21
.L22:
	cmp	DWORD PTR -12[rbp], 767
	jg	.L23
	mov	eax, DWORD PTR -12[rbp]
	mov	ecx, eax
	mov	edx, DWORD PTR -16[rbp]
	mov	eax, edx
	add	eax, eax
	add	eax, edx
	movsx	rdx, eax
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	not	ecx
	mov	edx, ecx
	mov	BYTE PTR [rax], dl
	jmp	.L21
.L23:
	cmp	DWORD PTR -12[rbp], 1023
	jg	.L24
	mov	eax, DWORD PTR -12[rbp]
	mov	ecx, eax
	mov	edx, DWORD PTR -16[rbp]
	mov	eax, edx
	add	eax, eax
	add	eax, edx
	movsx	rdx, eax
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	not	ecx
	mov	edx, ecx
	mov	BYTE PTR [rax], dl
	jmp	.L21
.L24:
	cmp	DWORD PTR -12[rbp], 1535
	jg	.L25
	mov	eax, DWORD PTR -12[rbp]
	mov	ecx, eax
	mov	edx, DWORD PTR -16[rbp]
	mov	eax, edx
	add	eax, eax
	add	eax, edx
	cdqe
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	not	ecx
	mov	edx, ecx
	mov	BYTE PTR [rax], dl
	jmp	.L21
.L25:
	cmp	DWORD PTR -12[rbp], 2047
	jg	.L21
	mov	eax, DWORD PTR -12[rbp]
	mov	ecx, eax
	mov	edx, DWORD PTR -16[rbp]
	mov	eax, edx
	add	eax, eax
	add	eax, edx
	cdqe
	lea	rdx, 2[rax]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	not	ecx
	mov	edx, ecx
	mov	BYTE PTR [rax], dl
.L21:
	add	DWORD PTR -20[rbp], 1
.L19:
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, DWORD PTR -44[rbp]
	jl	.L26
	add	DWORD PTR -24[rbp], 1
.L18:
	mov	eax, DWORD PTR -24[rbp]
	cmp	eax, DWORD PTR -48[rbp]
	jl	.L27
	mov	ecx, DWORD PTR -48[rbp]
	mov	edx, DWORD PTR -44[rbp]
	mov	rsi, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	saveppm
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	free@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	writeMandelbrot, .-writeMandelbrot
	.section	.rodata
	.align 8
.LC0:
	.long	0
	.long	1074790400
	.align 4
.LC1:
	.long	-1086159380
	.align 4
.LC2:
	.long	1040224101
	.align 4
.LC3:
	.long	1041971078
	.align 8
.LC4:
	.long	0
	.long	1071644672
	.align 8
.LC5:
	.long	0
	.long	1093567616
	.align 8
.LC11:
	.long	0
	.long	1082654720
	.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	"243893113.c"
	.text
	.global	__aeabi_dmul
	.global	__aeabi_dsub
	.global	__aeabi_dadd
	.global	__aeabi_dcmpgt
	.align	2
	.global	testpoint
	.syntax unified
	.arm
	.fpu softvfp
	.type	testpoint, %function
testpoint:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #48
	sub	ip, fp, #60
	stm	ip, {r0, r1, r2, r3}
	sub	ip, fp, #28
	sub	r3, fp, #60
	ldm	r3, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
	mov	r3, #0
	str	r3, [fp, #-40]
	b	.L2
.L6:
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	sub	r1, fp, #20
	ldmia	r1, {r0-r1}
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	sub	r3, fp, #60
	ldmia	r3, {r2-r3}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, r0
	mov	r3, r1
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	sub	r1, fp, #20
	ldmia	r1, {r0-r1}
	sub	r3, fp, #20
	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	r0, r2
	mov	r1, r3
	mov	r2, #0
	ldr	r3, .L10
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L9
	ldr	r3, [fp, #-40]
	b	.L7
.L9:
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L2:
	ldr	r3, [fp, #-40]
	cmp	r3, #2048
	blt	.L6
	ldr	r3, [fp, #-40]
.L7:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L11:
	.align	2
.L10:
	.word	1074790400
	.size	testpoint, .-testpoint
	.global	__aeabi_i2d
	.global	__aeabi_i2f
	.align	2
	.global	mandelbrot
	.syntax unified
	.arm
	.fpu softvfp
	.type	mandelbrot, %function
mandelbrot:
	@ args = 36, pretend = 8, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	sub	sp, sp, #8
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #32
	str	r0, [fp, #-48]
	str	r1, [fp, #-52]
	add	r1, fp, #4
	stm	r1, {r2, r3}
	mov	r3, #0
	str	r3, [fp, #-44]
	b	.L13
.L16:
	mov	r3, #0
	str	r3, [fp, #-40]
	b	.L14
.L15:
	ldmib	fp, {r4-r5}
	add	r7, fp, #20
	ldmia	r7, {r6-r7}
	ldr	r0, [fp, #-40]
	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, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	add	r5, fp, #12
	ldmia	r5, {r4-r5}
	add	r7, fp, #28
	ldmia	r7, {r6-r7}
	ldr	r0, [fp, #-44]
	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, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	sub	r3, fp, #36
	ldm	r3, {r0, r1, r2, r3}
	bl	testpoint
	mov	r1, r0
	ldr	r3, [fp, #-44]
	ldr	r2, [fp, #-48]
	mul	r2, r3, r2
	ldr	r3, [fp, #-40]
	add	r3, r2, r3
	lsl	r3, r3, #2
	ldr	r2, [fp, #36]
	add	r4, r2, r3
	mov	r0, r1
	bl	__aeabi_i2f
	mov	r3, r0
	str	r3, [r4]	@ float
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L14:
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-48]
	cmp	r2, r3
	blt	.L15
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-44]
.L13:
	ldr	r2, [fp, #-44]
	ldr	r3, [fp, #-52]
	cmp	r2, r3
	blt	.L16
	nop
	nop
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, lr}
	add	sp, sp, #8
	bx	lr
	.size	mandelbrot, .-mandelbrot
	.global	__aeabi_f2d
	.global	__aeabi_ddiv
	.global	__aeabi_d2iz
	.section	.rodata
	.align	2
.LC0:
	.ascii	"elapsed = %lf\012\000"
	.align	2
.LC1:
	.ascii	"Printing mandelbrot.ppm...\000"
	.align	2
.LC2:
	.ascii	"mandelbrot.ppm\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 96
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #128
	str	r0, [fp, #-104]
	str	r1, [fp, #-108]
	ldr	r3, [fp, #-108]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	str	r0, [fp, #-96]
	ldr	r3, [fp, #-108]
	add	r3, r3, #8
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	str	r0, [fp, #-92]
	ldr	r3, [fp, #-104]
	sub	r3, r3, #-1073741823
	lsl	r3, r3, #2
	ldr	r2, [fp, #-108]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	str	r0, [fp, #-88]
	ldr	r0, [fp, #-88]
	bl	omp_set_num_threads
	ldr	r3, [fp, #-96]
	ldr	r2, [fp, #-92]
	mul	r3, r2, r3
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-84]
	ldr	r3, .L18
	str	r3, [fp, #-80]	@ float
	ldr	r3, .L18+4
	str	r3, [fp, #-76]	@ float
	ldr	r3, .L18+8
	str	r3, [fp, #-72]	@ float
	ldr	r0, [fp, #-80]	@ float
	bl	__aeabi_f2d
	mov	r4, r0
	mov	r5, r1
	ldr	r0, [fp, #-72]	@ float
	bl	__aeabi_f2d
	mov	r2, #0
	ldr	r3, .L18+12
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-60]
	str	r3, [fp, #-56]
	ldr	r0, [fp, #-80]	@ float
	bl	__aeabi_f2d
	mov	r4, r0
	mov	r5, r1
	ldr	r0, [fp, #-72]	@ float
	bl	__aeabi_f2d
	mov	r2, #0
	ldr	r3, .L18+12
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	ldr	r0, [fp, #-76]	@ float
	bl	__aeabi_f2d
	mov	r4, r0
	mov	r5, r1
	ldr	r0, [fp, #-72]	@ float
	bl	__aeabi_f2d
	mov	r2, #0
	ldr	r3, .L18+12
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
	ldr	r0, [fp, #-76]	@ float
	bl	__aeabi_f2d
	mov	r4, r0
	mov	r5, r1
	ldr	r0, [fp, #-72]	@ float
	bl	__aeabi_f2d
	mov	r2, #0
	ldr	r3, .L18+12
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	sub	r3, fp, #60
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r3, [fp, #-96]
	sub	r3, r3, #1
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r3, [fp, #-92]
	sub	r3, r3, #1
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	bl	omp_get_wtime
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	str	r3, [fp, #-68]
	ldr	r3, [fp, #-84]
	str	r3, [sp, #24]
	add	ip, sp, #8
	sub	r3, fp, #28
	ldm	r3, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
	mov	r2, sp
	sub	r3, fp, #52
	ldm	r3, {r0, r1}
	stm	r2, {r0, r1}
	sub	r3, fp, #60
	ldm	r3, {r2, r3}
	ldr	r1, [fp, #-92]
	ldr	r0, [fp, #-96]
	bl	mandelbrot
	bl	omp_get_wtime
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	str	r3, [fp, #-64]
	ldr	r2, [fp, #-64]
	ldr	r3, [fp, #-68]
	sub	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, #0
	ldr	r3, .L18+16
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L18+20
	bl	printf
	ldr	r0, .L18+24
	bl	printf
	mov	r3, #80
	str	r3, [sp, #4]
	mov	r3, #0
	str	r3, [sp]
	ldr	r3, [fp, #-84]
	ldr	r2, [fp, #-92]
	ldr	r1, [fp, #-96]
	ldr	r0, .L18+28
	bl	writeMandelbrot
	ldr	r0, [fp, #-84]
	bl	free
	mov	r0, #0
	bl	exit
.L19:
	.align	2
.L18:
	.word	-1086159380
	.word	1040224101
	.word	1041971078
	.word	1071644672
	.word	1093567616
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.size	main, .-main
	.section	.rodata
	.align	2
.LC3:
	.ascii	"wb\000"
	.align	2
.LC4:
	.ascii	"P6 %d %d %d\012\000"
	.text
	.align	2
	.global	saveppm
	.syntax unified
	.arm
	.fpu softvfp
	.type	saveppm, %function
saveppm:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	str	r3, [fp, #-28]
	ldr	r1, .L21
	ldr	r0, [fp, #-16]
	bl	fopen
	str	r0, [fp, #-8]
	mov	r3, #255
	str	r3, [sp]
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-24]
	ldr	r1, .L21+4
	ldr	r0, [fp, #-8]
	bl	fprintf
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-28]
	mul	r3, r2, r3
	mov	r2, r3
	ldr	r3, [fp, #-8]
	mov	r1, #3
	ldr	r0, [fp, #-20]
	bl	fwrite
	ldr	r0, [fp, #-8]
	bl	fclose
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L22:
	.align	2
.L21:
	.word	.LC3
	.word	.LC4
	.size	saveppm, .-saveppm
	.global	__aeabi_fsub
	.align	2
	.global	writeMandelbrot
	.syntax unified
	.arm
	.fpu softvfp
	.type	writeMandelbrot, %function
writeMandelbrot:
	@ args = 8, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #40
	str	r0, [fp, #-40]
	str	r1, [fp, #-44]
	str	r2, [fp, #-48]
	str	r3, [fp, #-52]
	ldr	r3, [fp, #-44]
	ldr	r2, [fp, #-48]
	mul	r2, r3, r2
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	mov	r1, #1
	mov	r0, r3
	bl	calloc
	mov	r3, r0
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-32]
	b	.L24
.L33:
	mov	r3, #0
	str	r3, [fp, #-28]
	b	.L25
.L32:
	ldr	r3, [fp, #-32]
	ldr	r2, [fp, #-44]
	mul	r3, r2, r3
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-52]
	add	r3, r2, r3
	ldr	r4, [r3]	@ float
	ldr	r0, [fp, #4]
	bl	__aeabi_i2f
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fsub
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r4, r0
	mov	r5, r1
	ldr	r2, [fp, #8]
	ldr	r3, [fp, #4]
	sub	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	sqrt
	mov	r2, #0
	ldr	r3, .L34
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #255
	bgt	.L26
	ldr	r3, [fp, #-16]
	and	r1, r3, #255
	ldr	r2, [fp, #-20]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	add	r3, r3, #2
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	mvn	r2, r1
	and	r2, r2, #255
	strb	r2, [r3]
	b	.L27
.L26:
	ldr	r3, [fp, #-16]
	cmp	r3, #512
	bge	.L28
	ldr	r3, [fp, #-16]
	and	r1, r3, #255
	ldr	r2, [fp, #-20]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	add	r3, r3, #1
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	mvn	r2, r1
	and	r2, r2, #255
	strb	r2, [r3]
	b	.L27
.L28:
	ldr	r3, [fp, #-16]
	cmp	r3, #768
	bge	.L29
	ldr	r3, [fp, #-16]
	and	r1, r3, #255
	ldr	r2, [fp, #-20]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	mov	r2, r3
	ldr	r3, [fp, #-24]
	add	r3, r3, r2
	mvn	r2, r1
	and	r2, r2, #255
	strb	r2, [r3]
	b	.L27
.L29:
	ldr	r3, [fp, #-16]
	cmp	r3, #1024
	bge	.L30
	ldr	r3, [fp, #-16]
	and	r1, r3, #255
	ldr	r2, [fp, #-20]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	mov	r2, r3
	ldr	r3, [fp, #-24]
	add	r3, r3, r2
	mvn	r2, r1
	and	r2, r2, #255
	strb	r2, [r3]
	b	.L27
.L30:
	ldr	r3, [fp, #-16]
	cmp	r3, #1536
	bge	.L31
	ldr	r3, [fp, #-16]
	and	r1, r3, #255
	ldr	r2, [fp, #-20]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	add	r3, r3, #1
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	mvn	r2, r1
	and	r2, r2, #255
	strb	r2, [r3]
	b	.L27
.L31:
	ldr	r3, [fp, #-16]
	cmp	r3, #2048
	bge	.L27
	ldr	r3, [fp, #-16]
	and	r1, r3, #255
	ldr	r2, [fp, #-20]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	add	r3, r3, #2
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	mvn	r2, r1
	and	r2, r2, #255
	strb	r2, [r3]
.L27:
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L25:
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-44]
	cmp	r2, r3
	blt	.L32
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L24:
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-48]
	cmp	r2, r3
	blt	.L33
	ldr	r3, [fp, #-48]
	ldr	r2, [fp, #-44]
	ldr	r1, [fp, #-24]
	ldr	r0, [fp, #-40]
	bl	saveppm
	ldr	r0, [fp, #-24]
	bl	free
	nop
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L35:
	.align	2
.L34:
	.word	1082654720
	.size	writeMandelbrot, .-writeMandelbrot
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
