	.file	"439352.c"
	.intel_syntax noprefix
	.text
	.globl	d_ring
	.bss
	.align 32
	.type	d_ring, @object
	.size	d_ring, 768
d_ring:
	.zero	768
	.globl	maxseg
	.align 32
	.type	maxseg, @object
	.size	maxseg, 272
maxseg:
	.zero	272
	.globl	minseg
	.align 32
	.type	minseg, @object
	.size	minseg, 272
minseg:
	.zero	272
	.text
	.globl	interpolate
	.type	interpolate, @function
interpolate:
.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 -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	QWORD PTR -40[rbp], rdx
	mov	rax, QWORD PTR -32[rbp]
	movsd	xmm0, QWORD PTR [rax]
	mov	rax, QWORD PTR -24[rbp]
	movsd	xmm1, QWORD PTR [rax]
	subsd	xmm0, xmm1
	mov	rax, QWORD PTR -40[rbp]
	movsd	xmm1, QWORD PTR [rax]
	mov	rax, QWORD PTR -24[rbp]
	movsd	xmm2, QWORD PTR [rax]
	subsd	xmm1, xmm2
	divsd	xmm0, xmm1
	movsd	QWORD PTR -16[rbp], xmm0
	mov	rax, QWORD PTR -24[rbp]
	movsd	xmm1, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -40[rbp]
	movsd	xmm0, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -24[rbp]
	movsd	xmm2, QWORD PTR 8[rax]
	subsd	xmm0, xmm2
	mulsd	xmm0, QWORD PTR -16[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -8[rbp], xmm0
	movsd	xmm0, QWORD PTR -8[rbp]
	movq	rax, xmm0
	movq	xmm0, rax
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	interpolate, .-interpolate
	.globl	next_up
	.type	next_up, @function
next_up:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -20[rbp], edi
	mov	eax, DWORD PTR -20[rbp]
	add	eax, 1
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 15
	jle	.L4
	mov	DWORD PTR -4[rbp], 0
.L4:
	mov	eax, DWORD PTR -4[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	next_up, .-next_up
	.globl	next_dn
	.type	next_dn, @function
next_dn:
.LFB2:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -20[rbp], edi
	mov	eax, DWORD PTR -20[rbp]
	sub	eax, 1
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 0
	jns	.L7
	mov	DWORD PTR -4[rbp], 15
.L7:
	mov	eax, DWORD PTR -4[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	next_dn, .-next_dn
	.globl	search
	.type	search, @function
search:
.LFB3:
	.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	DWORD PTR -36[rbp], edi
	mov	DWORD PTR -40[rbp], esi
	mov	DWORD PTR -44[rbp], edx
	mov	DWORD PTR -48[rbp], ecx
	mov	DWORD PTR -52[rbp], r8d
	mov	QWORD PTR -64[rbp], r9
	mov	DWORD PTR -28[rbp], 0
	mov	DWORD PTR -24[rbp], 1
	mov	eax, DWORD PTR -40[rbp]
	mov	edi, eax
	call	next_up
	mov	DWORD PTR -20[rbp], eax
	jmp	.L10
.L17:
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 4
	mov	rdx, rax
	lea	rax, d_ring[rip]
	mov	ecx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -40[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 4
	mov	rdx, rax
	lea	rax, d_ring[rip]
	mov	eax, DWORD PTR [rdx+rax]
	sub	ecx, eax
	mov	edx, ecx
	mov	eax, edx
	test	rax, rax
	js	.L11
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rax
	jmp	.L12
.L11:
	mov	rdx, rax
	shr	rdx
	and	eax, 1
	or	rdx, rax
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rdx
	addsd	xmm0, xmm0
.L12:
	movsd	QWORD PTR -16[rbp], xmm0
	mov	eax, DWORD PTR -44[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rax
	add	rax, rcx
	add	rax, 4
	lea	rdx, 0[0+rax*8]
	lea	rax, d_ring[rip]
	movsd	xmm0, QWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -48[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -40[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rax
	add	rax, rcx
	add	rax, 4
	lea	rdx, 0[0+rax*8]
	lea	rax, d_ring[rip]
	movsd	xmm1, QWORD PTR [rdx+rax]
	subsd	xmm0, xmm1
	divsd	xmm0, QWORD PTR -16[rbp]
	movsd	QWORD PTR -8[rbp], xmm0
	cmp	DWORD PTR -24[rbp], 0
	jne	.L13
	mov	rax, QWORD PTR -64[rbp]
	movsd	xmm0, QWORD PTR [rax]
	comisd	xmm0, QWORD PTR -8[rbp]
	seta	al
	movzx	eax, al
	cmp	DWORD PTR -52[rbp], eax
	je	.L14
.L13:
	mov	rax, QWORD PTR -64[rbp]
	movsd	xmm0, QWORD PTR -8[rbp]
	movsd	QWORD PTR [rax], xmm0
	mov	eax, DWORD PTR -44[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rax
	add	rax, rcx
	add	rax, 4
	lea	rdx, 0[0+rax*8]
	lea	rax, d_ring[rip]
	movsd	xmm1, QWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -36[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 4
	mov	rdx, rax
	lea	rax, d_ring[rip]
	mov	ecx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 4
	mov	rdx, rax
	lea	rax, d_ring[rip]
	mov	eax, DWORD PTR [rdx+rax]
	sub	ecx, eax
	mov	edx, ecx
	mov	eax, edx
	test	rax, rax
	js	.L15
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rax
	jmp	.L16
.L15:
	mov	rdx, rax
	shr	rdx
	and	eax, 1
	or	rdx, rax
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rdx
	addsd	xmm0, xmm0
.L16:
	mulsd	xmm0, QWORD PTR -8[rbp]
	addsd	xmm0, xmm1
	mov	rax, QWORD PTR -64[rbp]
	movsd	QWORD PTR 8[rax], xmm0
	mov	DWORD PTR -24[rbp], 0
	mov	eax, DWORD PTR -20[rbp]
	mov	DWORD PTR -28[rbp], eax
.L14:
	mov	eax, DWORD PTR -20[rbp]
	mov	edi, eax
	call	next_up
	mov	DWORD PTR -20[rbp], eax
.L10:
	mov	eax, DWORD PTR -36[rbp]
	mov	edi, eax
	call	next_up
	cmp	DWORD PTR -20[rbp], eax
	jne	.L17
	mov	eax, DWORD PTR -28[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	search, .-search
	.globl	df
	.bss
	.align 16
	.type	df, @object
	.size	df, 16
df:
	.zero	16
	.text
	.globl	polygon_reset
	.type	polygon_reset, @function
polygon_reset:
.LFB4:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	movsd	xmm0, QWORD PTR .LC0[rip]
	movsd	QWORD PTR df[rip], xmm0
	movsd	xmm0, QWORD PTR .LC0[rip]
	movsd	QWORD PTR df[rip+8], xmm0
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	polygon_reset, .-polygon_reset
	.globl	find_df
	.type	find_df, @function
find_df:
.LFB5:
	.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
	movsd	xmm0, QWORD PTR df[rip]
	pxor	xmm1, xmm1
	ucomisd	xmm0, xmm1
	jp	.L21
	pxor	xmm1, xmm1
	ucomisd	xmm0, xmm1
	jne	.L21
	movsd	xmm0, QWORD PTR df[rip+8]
	pxor	xmm1, xmm1
	ucomisd	xmm0, xmm1
	jp	.L23
	pxor	xmm1, xmm1
	ucomisd	xmm0, xmm1
	jne	.L23
	pxor	xmm0, xmm0
	jmp	.L25
.L23:
	movsd	xmm0, QWORD PTR df[rip+8]
	movq	xmm1, QWORD PTR .LC2[rip]
	xorpd	xmm0, xmm1
	jmp	.L25
.L21:
	movsd	xmm0, QWORD PTR df[rip+8]
	pxor	xmm1, xmm1
	ucomisd	xmm0, xmm1
	jp	.L26
	pxor	xmm1, xmm1
	ucomisd	xmm0, xmm1
	jne	.L26
	movsd	xmm0, QWORD PTR df[rip]
	jmp	.L25
.L26:
	cmp	QWORD PTR -8[rbp], 0
	je	.L28
	mov	rax, QWORD PTR -8[rbp]
	mov	DWORD PTR [rax], 1
.L28:
	pxor	xmm0, xmm0
.L25:
	movq	rax, xmm0
	movq	xmm0, rax
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE5:
	.size	find_df, .-find_df
	.globl	find_shift
	.type	find_shift, @function
find_shift:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	movsd	QWORD PTR -24[rbp], xmm0
	movsd	QWORD PTR -32[rbp], xmm1
	movsd	xmm0, QWORD PTR -32[rbp]
	movsd	xmm2, QWORD PTR .LC3[rip]
	movapd	xmm1, xmm0
	divsd	xmm1, xmm2
	movsd	xmm0, QWORD PTR -24[rbp]
	subsd	xmm0, xmm1
	movsd	QWORD PTR -16[rbp], xmm0
	movsd	xmm1, QWORD PTR -24[rbp]
	movsd	xmm0, QWORD PTR .LC4[rip]
	addsd	xmm0, xmm1
	movsd	xmm1, QWORD PTR -32[rbp]
	movsd	xmm2, QWORD PTR .LC5[rip]
	divsd	xmm1, xmm2
	subsd	xmm0, xmm1
	movsd	QWORD PTR -8[rbp], xmm0
	movsd	xmm0, QWORD PTR -16[rbp]
	comisd	xmm0, QWORD PTR -8[rbp]
	jbe	.L33
	movsd	xmm0, QWORD PTR -8[rbp]
	movsd	QWORD PTR -16[rbp], xmm0
.L33:
	pxor	xmm0, xmm0
	comisd	xmm0, QWORD PTR -16[rbp]
	jbe	.L40
	pxor	xmm0, xmm0
	jmp	.L37
.L40:
	movsd	xmm0, QWORD PTR -16[rbp]
.L37:
	movq	rax, xmm0
	movq	xmm0, rax
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	find_shift, .-find_shift
	.globl	polygon_point
	.type	polygon_point, @function
polygon_point:
.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, 24
	mov	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR -24[rbp]
	movsd	xmm2, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -24[rbp]
	movsd	xmm0, QWORD PTR [rax]
	movq	xmm1, QWORD PTR .LC2[rip]
	xorpd	xmm0, xmm1
	movq	rax, xmm0
	movapd	xmm1, xmm2
	movq	xmm0, rax
	call	find_shift
	movq	rax, xmm0
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	movsd	xmm0, QWORD PTR 8[rax]
	movq	xmm1, QWORD PTR .LC2[rip]
	xorpd	xmm0, xmm1
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	find_shift
	movq	rax, xmm0
	mov	QWORD PTR -8[rbp], rax
	movsd	xmm0, QWORD PTR df[rip]
	comisd	xmm0, QWORD PTR -16[rbp]
	jbe	.L42
	movsd	xmm0, QWORD PTR -16[rbp]
	movsd	QWORD PTR df[rip], xmm0
.L42:
	movsd	xmm0, QWORD PTR df[rip+8]
	comisd	xmm0, QWORD PTR -8[rbp]
	ja	.L47
	jmp	.L48
.L47:
	movsd	xmm0, QWORD PTR -8[rbp]
	movsd	QWORD PTR df[rip+8], xmm0
.L48:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	polygon_point, .-polygon_point
	.globl	find_df_center
	.type	find_df_center, @function
find_df_center:
.LFB8:
	.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 -56[rbp], rdi
	mov	QWORD PTR -64[rbp], rsi
	mov	rax, QWORD PTR -64[rbp]
	movsd	xmm1, QWORD PTR [rax]
	mov	rax, QWORD PTR -56[rbp]
	movsd	xmm0, QWORD PTR [rax]
	addsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR .LC6[rip]
	mulsd	xmm0, xmm1
	movsd	QWORD PTR -48[rbp], xmm0
	mov	rax, QWORD PTR -64[rbp]
	movsd	xmm0, QWORD PTR [rax]
	mov	rax, QWORD PTR -56[rbp]
	movsd	xmm1, QWORD PTR [rax]
	subsd	xmm0, xmm1
	movsd	QWORD PTR -40[rbp], xmm0
	mov	rax, QWORD PTR -64[rbp]
	movsd	xmm1, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -56[rbp]
	movsd	xmm0, QWORD PTR 8[rax]
	addsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR .LC6[rip]
	mulsd	xmm0, xmm1
	movsd	QWORD PTR -32[rbp], xmm0
	mov	rax, QWORD PTR -64[rbp]
	movsd	xmm0, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -56[rbp]
	movsd	xmm1, QWORD PTR 8[rax]
	subsd	xmm0, xmm1
	movsd	QWORD PTR -24[rbp], xmm0
	movsd	xmm0, QWORD PTR -32[rbp]
	movq	xmm1, QWORD PTR .LC2[rip]
	xorpd	xmm0, xmm1
	movsd	xmm1, QWORD PTR .LC3[rip]
	divsd	xmm0, xmm1
	subsd	xmm0, QWORD PTR -48[rbp]
	movsd	QWORD PTR -16[rbp], xmm0
	movsd	xmm1, QWORD PTR -40[rbp]
	movsd	xmm0, QWORD PTR .LC3[rip]
	mulsd	xmm0, xmm1
	movapd	xmm1, xmm0
	addsd	xmm1, QWORD PTR -24[rbp]
	movsd	xmm0, QWORD PTR .LC7[rip]
	divsd	xmm0, xmm1
	movsd	QWORD PTR -8[rbp], xmm0
	movsd	xmm0, QWORD PTR -8[rbp]
	mulsd	xmm0, QWORD PTR -16[rbp]
	movq	rax, xmm0
	movq	xmm0, rax
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	find_df_center, .-find_df_center
	.section	.rodata
.LC12:
	.string	"# inconsistent\n"
.LC13:
	.string	"# box [( %.3f , %.1f ) "
.LC14:
	.string	" ( %.3f , %.1f )] "
	.align 8
.LC15:
	.string	" delta_f %.3f  computed_freq %d\n"
	.text
	.globl	contemplate_data
	.type	contemplate_data, @function
contemplate_data:
.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, 192
	mov	DWORD PTR -164[rbp], edi
	movsd	QWORD PTR -176[rbp], xmm0
	movsd	QWORD PTR -184[rbp], xmm1
	mov	DWORD PTR -168[rbp], esi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -148[rbp], 0
	mov	DWORD PTR -124[rbp], 0
	mov	DWORD PTR -144[rbp], 0
	mov	DWORD PTR -120[rbp], 0
	mov	DWORD PTR -116[rbp], 0
	mov	eax, DWORD PTR -168[rbp]
	mov	DWORD PTR -128[rbp], eax
	mov	eax, DWORD PTR rp.1[rip]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 4
	mov	rcx, rax
	lea	rdx, d_ring[rip]
	mov	eax, DWORD PTR -164[rbp]
	mov	DWORD PTR [rcx+rdx], eax
	mov	eax, DWORD PTR rp.1[rip]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 4
	mov	rdx, rax
	lea	rax, d_ring[rip+8]
	movsd	xmm0, QWORD PTR -176[rbp]
	movsd	QWORD PTR [rdx+rax], xmm0
	mov	eax, DWORD PTR rp.1[rip]
	movsd	xmm0, QWORD PTR -184[rbp]
	movsd	xmm1, QWORD PTR .LC8[rip]
	subsd	xmm0, xmm1
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 4
	mov	rdx, rax
	lea	rax, d_ring[rip+16]
	movsd	QWORD PTR [rdx+rax], xmm0
	mov	eax, DWORD PTR rp.1[rip]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 4
	mov	rcx, rax
	lea	rdx, d_ring[rip+24]
	mov	eax, DWORD PTR -168[rbp]
	mov	DWORD PTR [rcx+rdx], eax
	mov	eax, DWORD PTR valid.0[rip]
	cmp	eax, 15
	jg	.L52
	mov	eax, DWORD PTR valid.0[rip]
	add	eax, 1
	mov	DWORD PTR valid.0[rip], eax
.L52:
	mov	eax, DWORD PTR valid.0[rip]
	cmp	eax, 16
	jne	.L53
	pxor	xmm0, xmm0
	movsd	QWORD PTR -80[rbp], xmm0
	mov	eax, DWORD PTR rp.1[rip]
	mov	DWORD PTR -132[rbp], eax
.L58:
	mov	eax, DWORD PTR -132[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 4
	mov	rdx, rax
	lea	rax, d_ring[rip+8]
	movsd	xmm0, QWORD PTR [rdx+rax]
	movapd	xmm1, xmm0
	subsd	xmm1, QWORD PTR -80[rbp]
	mov	eax, DWORD PTR -132[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 4
	mov	rdx, rax
	lea	rax, d_ring[rip+16]
	movsd	xmm0, QWORD PTR [rdx+rax]
	addsd	xmm0, xmm1
	mov	eax, DWORD PTR -132[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 4
	mov	rdx, rax
	lea	rax, d_ring[rip+40]
	movsd	QWORD PTR [rdx+rax], xmm0
	mov	eax, DWORD PTR -132[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 4
	mov	rdx, rax
	lea	rax, d_ring[rip+8]
	movsd	xmm0, QWORD PTR [rdx+rax]
	subsd	xmm0, QWORD PTR -80[rbp]
	mov	eax, DWORD PTR -132[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 4
	mov	rdx, rax
	lea	rax, d_ring[rip+16]
	movsd	xmm1, QWORD PTR [rdx+rax]
	subsd	xmm0, xmm1
	mov	eax, DWORD PTR -132[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 4
	mov	rdx, rax
	lea	rax, d_ring[rip+32]
	movsd	QWORD PTR [rdx+rax], xmm0
	mov	eax, DWORD PTR -132[rbp]
	mov	edi, eax
	call	next_dn
	mov	DWORD PTR -112[rbp], eax
	mov	eax, DWORD PTR rp.1[rip]
	cmp	DWORD PTR -112[rbp], eax
	je	.L111
	mov	eax, DWORD PTR -132[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 4
	mov	rdx, rax
	lea	rax, d_ring[rip]
	mov	ecx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -112[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 4
	mov	rdx, rax
	lea	rax, d_ring[rip]
	mov	eax, DWORD PTR [rdx+rax]
	sub	ecx, eax
	mov	edx, ecx
	mov	eax, edx
	test	rax, rax
	js	.L56
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rax
	jmp	.L57
.L56:
	mov	rdx, rax
	shr	rdx
	and	eax, 1
	or	rdx, rax
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rdx
	addsd	xmm0, xmm0
.L57:
	mov	eax, DWORD PTR -132[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 4
	mov	rdx, rax
	lea	rax, d_ring[rip+24]
	mov	eax, DWORD PTR [rdx+rax]
	sub	eax, DWORD PTR -168[rbp]
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, eax
	mulsd	xmm0, xmm1
	movsd	xmm1, QWORD PTR .LC9[rip]
	divsd	xmm0, xmm1
	movsd	xmm1, QWORD PTR -80[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -80[rbp], xmm0
	mov	eax, DWORD PTR -112[rbp]
	mov	DWORD PTR -132[rbp], eax
	jmp	.L58
.L111:
	nop
	mov	DWORD PTR -140[rbp], 1
	movsd	xmm0, QWORD PTR .LC10[rip]
	movsd	QWORD PTR -72[rbp], xmm0
	mov	DWORD PTR -136[rbp], 1
	mov	eax, DWORD PTR rp.1[rip]
	mov	edi, eax
	call	next_up
	mov	DWORD PTR -132[rbp], eax
.L66:
	mov	eax, DWORD PTR -136[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	lea	rax, maxseg[rip]
	add	rdx, rax
	mov	eax, DWORD PTR rp.1[rip]
	mov	esi, DWORD PTR -132[rbp]
	mov	r9, rdx
	mov	r8d, 0
	mov	ecx, 1
	mov	edx, 1
	mov	edi, eax
	call	search
	mov	DWORD PTR -124[rbp], eax
	mov	eax, DWORD PTR rp.1[rip]
	lea	rdx, -64[rbp]
	mov	esi, DWORD PTR -132[rbp]
	mov	r9, rdx
	mov	r8d, 1
	mov	ecx, 1
	mov	edx, 0
	mov	edi, eax
	call	search
	movsd	xmm1, QWORD PTR -64[rbp]
	mov	eax, DWORD PTR -136[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	lea	rax, maxseg[rip]
	movsd	xmm0, QWORD PTR [rdx+rax]
	comisd	xmm0, xmm1
	jbe	.L59
	movsd	xmm0, QWORD PTR -64[rbp]
	comisd	xmm0, QWORD PTR -72[rbp]
	jbe	.L59
	cmp	DWORD PTR -140[rbp], 0
	jne	.L62
	movsd	xmm1, QWORD PTR -64[rbp]
	movsd	xmm0, QWORD PTR -48[rbp]
	comisd	xmm0, xmm1
	jbe	.L59
.L62:
	mov	DWORD PTR -140[rbp], 0
	mov	rax, QWORD PTR -64[rbp]
	mov	rdx, QWORD PTR -56[rbp]
	mov	QWORD PTR -48[rbp], rax
	mov	QWORD PTR -40[rbp], rdx
.L59:
	mov	eax, DWORD PTR -136[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	lea	rax, maxseg[rip]
	movsd	xmm0, QWORD PTR [rdx+rax]
	movsd	QWORD PTR -72[rbp], xmm0
	add	DWORD PTR -136[rbp], 1
	mov	eax, DWORD PTR rp.1[rip]
	cmp	DWORD PTR -124[rbp], eax
	je	.L112
	mov	eax, DWORD PTR -124[rbp]
	mov	DWORD PTR -132[rbp], eax
	jmp	.L66
.L112:
	nop
	cmp	DWORD PTR -140[rbp], 1
	jne	.L67
	mov	DWORD PTR -144[rbp], 1
.L67:
	mov	eax, DWORD PTR -136[rbp]
	mov	DWORD PTR -108[rbp], eax
	mov	DWORD PTR -140[rbp], 1
	movsd	xmm0, QWORD PTR .LC11[rip]
	movsd	QWORD PTR -72[rbp], xmm0
	mov	DWORD PTR -136[rbp], 1
	mov	eax, DWORD PTR rp.1[rip]
	mov	edi, eax
	call	next_up
	mov	DWORD PTR -132[rbp], eax
.L75:
	mov	eax, DWORD PTR -136[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	lea	rax, minseg[rip]
	add	rdx, rax
	mov	eax, DWORD PTR rp.1[rip]
	mov	esi, DWORD PTR -132[rbp]
	mov	r9, rdx
	mov	r8d, 1
	mov	ecx, 0
	mov	edx, 0
	mov	edi, eax
	call	search
	mov	DWORD PTR -124[rbp], eax
	mov	eax, DWORD PTR rp.1[rip]
	lea	rdx, -64[rbp]
	mov	esi, DWORD PTR -132[rbp]
	mov	r9, rdx
	mov	r8d, 0
	mov	ecx, 0
	mov	edx, 1
	mov	edi, eax
	call	search
	movsd	xmm0, QWORD PTR -64[rbp]
	mov	eax, DWORD PTR -136[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	lea	rax, minseg[rip]
	movsd	xmm1, QWORD PTR [rdx+rax]
	comisd	xmm0, xmm1
	jbe	.L68
	movsd	xmm1, QWORD PTR -64[rbp]
	movsd	xmm0, QWORD PTR -72[rbp]
	comisd	xmm0, xmm1
	jbe	.L68
	cmp	DWORD PTR -140[rbp], 0
	jne	.L71
	movsd	xmm1, QWORD PTR -64[rbp]
	movsd	xmm0, QWORD PTR -32[rbp]
	comisd	xmm0, xmm1
	jbe	.L68
.L71:
	mov	DWORD PTR -140[rbp], 0
	mov	rax, QWORD PTR -64[rbp]
	mov	rdx, QWORD PTR -56[rbp]
	mov	QWORD PTR -32[rbp], rax
	mov	QWORD PTR -24[rbp], rdx
.L68:
	mov	eax, DWORD PTR -136[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	lea	rax, minseg[rip]
	movsd	xmm0, QWORD PTR [rdx+rax]
	movsd	QWORD PTR -72[rbp], xmm0
	add	DWORD PTR -136[rbp], 1
	mov	eax, DWORD PTR rp.1[rip]
	cmp	DWORD PTR -124[rbp], eax
	je	.L113
	mov	eax, DWORD PTR -124[rbp]
	mov	DWORD PTR -132[rbp], eax
	jmp	.L75
.L113:
	nop
	cmp	DWORD PTR -140[rbp], 1
	jne	.L76
	mov	DWORD PTR -144[rbp], 1
.L76:
	mov	eax, DWORD PTR -136[rbp]
	mov	DWORD PTR -104[rbp], eax
	mov	eax, 0
	call	polygon_reset
	lea	rax, -48[rbp]
	mov	rdi, rax
	call	polygon_point
	mov	DWORD PTR -140[rbp], 1
	mov	DWORD PTR -136[rbp], 1
	jmp	.L77
.L84:
	cmp	DWORD PTR -140[rbp], 0
	je	.L78
	mov	eax, DWORD PTR -136[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	lea	rax, maxseg[rip]
	movsd	xmm0, QWORD PTR [rdx+rax]
	movsd	xmm1, QWORD PTR -48[rbp]
	comisd	xmm0, xmm1
	jbe	.L78
	mov	eax, DWORD PTR -136[rbp]
	sub	eax, 1
	mov	DWORD PTR -120[rbp], eax
	mov	eax, DWORD PTR -120[rbp]
	cdqe
	sal	rax, 4
	mov	rsi, rax
	lea	rcx, maxseg[rip]
	mov	rax, QWORD PTR -48[rbp]
	mov	rdx, QWORD PTR -40[rbp]
	mov	QWORD PTR [rsi+rcx], rax
	mov	QWORD PTR 8[rsi+rcx], rdx
	mov	DWORD PTR -140[rbp], 0
.L78:
	mov	eax, DWORD PTR -136[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	lea	rax, maxseg[rip]
	movsd	xmm0, QWORD PTR [rdx+rax]
	movsd	xmm1, QWORD PTR -32[rbp]
	comisd	xmm0, xmm1
	ja	.L114
	cmp	DWORD PTR -140[rbp], 0
	jne	.L83
	mov	eax, DWORD PTR -136[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	lea	rax, maxseg[rip]
	add	rax, rdx
	mov	rdi, rax
	call	polygon_point
.L83:
	add	DWORD PTR -136[rbp], 1
.L77:
	mov	eax, DWORD PTR -136[rbp]
	cmp	eax, DWORD PTR -108[rbp]
	jl	.L84
	jmp	.L105
.L114:
	nop
.L105:
	cmp	DWORD PTR -140[rbp], 0
	je	.L85
	mov	DWORD PTR -144[rbp], 1
.L85:
	mov	eax, DWORD PTR -136[rbp]
	mov	DWORD PTR -100[rbp], eax
	mov	eax, DWORD PTR -100[rbp]
	cdqe
	sal	rax, 4
	mov	rsi, rax
	lea	rcx, maxseg[rip]
	mov	rax, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR -24[rbp]
	mov	QWORD PTR [rsi+rcx], rax
	mov	QWORD PTR 8[rsi+rcx], rdx
	lea	rax, -32[rbp]
	mov	rdi, rax
	call	polygon_point
	mov	DWORD PTR -140[rbp], 1
	mov	DWORD PTR -136[rbp], 1
	jmp	.L86
.L93:
	cmp	DWORD PTR -140[rbp], 0
	je	.L87
	mov	eax, DWORD PTR -136[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	lea	rax, minseg[rip]
	movsd	xmm1, QWORD PTR [rdx+rax]
	movsd	xmm0, QWORD PTR -32[rbp]
	comisd	xmm0, xmm1
	jbe	.L87
	mov	eax, DWORD PTR -136[rbp]
	sub	eax, 1
	mov	DWORD PTR -120[rbp], eax
	mov	eax, DWORD PTR -116[rbp]
	cdqe
	sal	rax, 4
	mov	rsi, rax
	lea	rcx, minseg[rip]
	mov	rax, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR -24[rbp]
	mov	QWORD PTR [rsi+rcx], rax
	mov	QWORD PTR 8[rsi+rcx], rdx
	mov	DWORD PTR -140[rbp], 0
.L87:
	mov	eax, DWORD PTR -136[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	lea	rax, minseg[rip]
	movsd	xmm1, QWORD PTR [rdx+rax]
	movsd	xmm0, QWORD PTR -48[rbp]
	comisd	xmm0, xmm1
	ja	.L115
	cmp	DWORD PTR -140[rbp], 0
	jne	.L92
	mov	eax, DWORD PTR -136[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	lea	rax, minseg[rip]
	add	rax, rdx
	mov	rdi, rax
	call	polygon_point
.L92:
	add	DWORD PTR -136[rbp], 1
.L86:
	mov	eax, DWORD PTR -136[rbp]
	cmp	eax, DWORD PTR -104[rbp]
	jl	.L93
	jmp	.L107
.L115:
	nop
.L107:
	cmp	DWORD PTR -140[rbp], 0
	je	.L94
	mov	DWORD PTR -144[rbp], 1
.L94:
	mov	eax, DWORD PTR -136[rbp]
	mov	DWORD PTR -96[rbp], eax
	mov	eax, DWORD PTR -96[rbp]
	cdqe
	sal	rax, 4
	mov	rsi, rax
	lea	rcx, minseg[rip]
	mov	rax, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR -24[rbp]
	mov	QWORD PTR [rsi+rcx], rax
	mov	QWORD PTR 8[rsi+rcx], rdx
	cmp	DWORD PTR -144[rbp], 0
	je	.L95
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 15
	mov	esi, 1
	lea	rdi, .LC12[rip]
	call	fwrite@PLT
	jmp	.L53
.L95:
	lea	rax, -148[rbp]
	mov	rdi, rax
	call	find_df
	movq	rax, xmm0
	mov	QWORD PTR -88[rbp], rax
	mov	eax, DWORD PTR -148[rbp]
	test	eax, eax
	je	.L96
	lea	rdx, -32[rbp]
	lea	rax, -48[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	find_df_center
	movq	rax, xmm0
	mov	QWORD PTR -88[rbp], rax
.L96:
	movsd	xmm1, QWORD PTR -88[rbp]
	movsd	xmm0, QWORD PTR .LC9[rip]
	mulsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR .LC6[rip]
	addsd	xmm0, xmm1
	cvttsd2si	eax, xmm0
	mov	DWORD PTR -92[rbp], eax
	mov	eax, DWORD PTR -92[rbp]
	sub	DWORD PTR -128[rbp], eax
	movsd	xmm0, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR -48[rbp]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	lea	rdi, .LC13[rip]
	mov	eax, 2
	call	printf@PLT
	movsd	xmm0, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -32[rbp]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	lea	rdi, .LC14[rip]
	mov	eax, 2
	call	printf@PLT
	mov	edx, DWORD PTR -128[rbp]
	mov	rax, QWORD PTR -88[rbp]
	mov	esi, edx
	movq	xmm0, rax
	lea	rdi, .LC15[rip]
	mov	eax, 1
	call	printf@PLT
	cmp	DWORD PTR -128[rbp], -6000000
	jge	.L97
	mov	DWORD PTR -128[rbp], -6000000
.L97:
	cmp	DWORD PTR -128[rbp], 6000000
	jle	.L53
	mov	DWORD PTR -128[rbp], 6000000
.L53:
	mov	eax, DWORD PTR rp.1[rip]
	add	eax, 1
	cdq
	shr	edx, 28
	add	eax, edx
	and	eax, 15
	sub	eax, edx
	mov	DWORD PTR rp.1[rip], eax
	mov	eax, DWORD PTR -128[rbp]
	mov	rdi, QWORD PTR -8[rbp]
	sub	rdi, QWORD PTR fs:40
	je	.L99
	call	__stack_chk_fail@PLT
.L99:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	contemplate_data, .-contemplate_data
	.local	rp.1
	.comm	rp.1,4,4
	.local	valid.0
	.comm	valid.0,4,4
	.section	.rodata
	.align 8
.LC0:
	.long	0
	.long	1077149696
	.align 16
.LC2:
	.long	0
	.long	-2147483648
	.long	0
	.long	0
	.align 8
.LC3:
	.long	0
	.long	1082310656
	.align 8
.LC4:
	.long	858993459
	.long	1070805811
	.align 8
.LC5:
	.long	0
	.long	1085763584
	.align 8
.LC6:
	.long	0
	.long	1071644672
	.align 8
.LC7:
	.long	0
	.long	1078853632
	.align 8
.LC8:
	.long	0
	.long	1082720256
	.align 8
.LC9:
	.long	0
	.long	1089470464
	.align 8
.LC10:
	.long	0
	.long	-1067909120
	.align 8
.LC11:
	.long	0
	.long	1079574528
	.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	"439352.c"
	.text
	.comm	d_ring,768,8
	.comm	maxseg,272,8
	.comm	minseg,272,8
	.global	__aeabi_dsub
	.global	__aeabi_ddiv
	.global	__aeabi_dmul
	.global	__aeabi_dadd
	.align	2
	.global	interpolate
	.syntax unified
	.arm
	.fpu softvfp
	.type	interpolate, %function
interpolate:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #32
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	str	r2, [fp, #-40]
	ldr	r3, [fp, #-36]
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-32]
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r3, [fp, #-40]
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-32]
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	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]
	ldr	r3, [fp, #-32]
	add	r5, r3, #8
	ldmia	r5, {r4-r5}
	ldr	r3, [fp, #-40]
	add	r1, r3, #8
	ldmia	r1, {r0-r1}
	ldr	r3, [fp, #-32]
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	sub	r3, fp, #28
	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
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
	.size	interpolate, .-interpolate
	.align	2
	.global	next_up
	.syntax unified
	.arm
	.fpu softvfp
	.type	next_up, %function
next_up:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #15
	ble	.L4
	mov	r3, #0
	str	r3, [fp, #-8]
.L4:
	ldr	r3, [fp, #-8]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	next_up, .-next_up
	.align	2
	.global	next_dn
	.syntax unified
	.arm
	.fpu softvfp
	.type	next_dn, %function
next_dn:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	sub	r3, r3, #1
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bge	.L7
	mov	r3, #15
	str	r3, [fp, #-8]
.L7:
	ldr	r3, [fp, #-8]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	next_dn, .-next_dn
	.global	__aeabi_ui2d
	.global	__aeabi_dcmplt
	.align	2
	.global	search
	.syntax unified
	.arm
	.fpu softvfp
	.type	search, %function
search:
	@ args = 8, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #48
	str	r0, [fp, #-48]
	str	r1, [fp, #-52]
	str	r2, [fp, #-56]
	str	r3, [fp, #-60]
	mov	r3, #0
	str	r3, [fp, #-40]
	mov	r3, #1
	str	r3, [fp, #-36]
	ldr	r0, [fp, #-52]
	bl	next_up
	str	r0, [fp, #-32]
	b	.L10
.L14:
	ldr	r1, .L16
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r1, r3
	ldr	r1, [r3]
	ldr	r0, .L16
	ldr	r2, [fp, #-52]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r0, r3
	ldr	r3, [r3]
	sub	r3, r1, r3
	mov	r0, r3
	bl	__aeabi_ui2d
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	ldr	r1, .L16
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, [fp, #-56]
	add	r3, r3, r2
	add	r3, r3, #4
	lsl	r3, r3, #3
	add	r3, r1, r3
	ldmia	r3, {r0-r1}
	ldr	ip, .L16
	ldr	r2, [fp, #-52]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, [fp, #-60]
	add	r3, r3, r2
	add	r3, r3, #4
	lsl	r3, r3, #3
	add	r3, ip, r3
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	bne	.L11
	ldr	r3, [fp, #8]
	ldmia	r3, {r2-r3}
	mov	r1, #1
	mov	r4, r1
	sub	r1, fp, #20
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	bne	.L12
	mov	r3, #0
	mov	r4, r3
.L12:
	and	r3, r4, #255
	mov	r2, r3
	ldr	r3, [fp, #4]
	cmp	r3, r2
	beq	.L13
.L11:
	ldr	r1, [fp, #8]
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	stm	r1, {r2-r3}
	ldr	r1, .L16
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, [fp, #-56]
	add	r3, r3, r2
	add	r3, r3, #4
	lsl	r3, r3, #3
	add	r3, r1, r3
	ldmia	r3, {r4-r5}
	ldr	r1, .L16
	ldr	r2, [fp, #-48]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r1, r3
	ldr	r1, [r3]
	ldr	r0, .L16
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r0, r3
	ldr	r3, [r3]
	sub	r3, r1, r3
	mov	r0, r3
	bl	__aeabi_ui2d
	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
	ldr	r1, [fp, #8]
	str	r2, [r1, #8]
	str	r3, [r1, #12]
	mov	r3, #0
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-32]
	str	r3, [fp, #-40]
.L13:
	ldr	r0, [fp, #-32]
	bl	next_up
	str	r0, [fp, #-32]
.L10:
	ldr	r0, [fp, #-48]
	bl	next_up
	mov	r2, r0
	ldr	r3, [fp, #-32]
	cmp	r3, r2
	bne	.L14
	ldr	r3, [fp, #-40]
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L17:
	.align	2
.L16:
	.word	d_ring
	.size	search, .-search
	.comm	df,16,8
	.align	2
	.global	polygon_reset
	.syntax unified
	.arm
	.fpu softvfp
	.type	polygon_reset, %function
polygon_reset:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	ldr	r1, .L19
	mov	r2, #0
	ldr	r3, .L19+4
	stm	r1, {r2-r3}
	ldr	r1, .L19
	mov	r2, #0
	ldr	r3, .L19+4
	str	r2, [r1, #8]
	str	r3, [r1, #12]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L20:
	.align	2
.L19:
	.word	df
	.word	1077149696
	.size	polygon_reset, .-polygon_reset
	.global	__aeabi_dcmpeq
	.align	2
	.global	find_df
	.syntax unified
	.arm
	.fpu softvfp
	.type	find_df, %function
find_df:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #8
	str	r0, [fp, #-16]
	ldr	r3, .L36
	ldmia	r3, {r0-r1}
	mov	r2, #0
	mov	r3, #0
	bl	__aeabi_dcmpeq
	mov	r3, r0
	cmp	r3, #0
	beq	.L33
	ldr	r3, .L36
	add	r1, r3, #8
	ldmia	r1, {r0-r1}
	mov	r2, #0
	mov	r3, #0
	bl	__aeabi_dcmpeq
	mov	r3, r0
	cmp	r3, #0
	beq	.L34
	mov	r4, #0
	mov	r5, #0
	b	.L26
.L34:
	ldr	r3, .L36
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	mov	r4, r2
	eor	r5, r3, #-2147483648
	b	.L26
.L33:
	ldr	r3, .L36
	add	r1, r3, #8
	ldmia	r1, {r0-r1}
	mov	r2, #0
	mov	r3, #0
	bl	__aeabi_dcmpeq
	mov	r3, r0
	cmp	r3, #0
	beq	.L35
	ldr	r3, .L36
	ldmia	r3, {r4-r5}
	b	.L26
.L35:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L29
	ldr	r3, [fp, #-16]
	mov	r2, #1
	str	r2, [r3]
.L29:
	mov	r4, #0
	mov	r5, #0
.L26:
	mov	r2, r4
	mov	r3, r5
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L37:
	.align	2
.L36:
	.word	df
	.size	find_df, .-find_df
	.align	2
	.global	find_shift
	.syntax unified
	.arm
	.fpu softvfp
	.type	find_shift, %function
find_shift:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #32
	str	r0, [fp, #-36]
	str	r1, [fp, #-32]
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	mov	r2, #0
	ldr	r3, .L47
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	ldr	r2, .L47+4
	ldr	r3, .L47+8
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	mov	r2, #0
	ldr	r3, .L47+12
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	sub	r1, fp, #20
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L39
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
.L39:
	mov	r2, #0
	mov	r3, #0
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L46
	mov	r2, #0
	mov	r3, #0
	b	.L43
.L46:
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
.L43:
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L48:
	.align	2
.L47:
	.word	1082310656
	.word	858993459
	.word	1070805811
	.word	1085763584
	.size	find_shift, .-find_shift
	.align	2
	.global	polygon_point
	.syntax unified
	.arm
	.fpu softvfp
	.type	polygon_point, %function
polygon_point:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #24
	str	r0, [fp, #-40]
	ldr	r3, [fp, #-40]
	ldmia	r3, {r2-r3}
	mov	r6, r2
	eor	r7, r3, #-2147483648
	ldr	r3, [fp, #-40]
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	mov	r0, r6
	mov	r1, r7
	bl	find_shift
	str	r0, [fp, #-36]
	str	r1, [fp, #-32]
	ldr	r3, [fp, #-40]
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-40]
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	mov	r4, r2
	eor	r5, r3, #-2147483648
	mov	r2, r4
	mov	r3, r5
	bl	find_shift
	str	r0, [fp, #-28]
	str	r1, [fp, #-24]
	ldr	r3, .L57
	ldmia	r3, {r2-r3}
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L50
	ldr	r1, .L57
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	stm	r1, {r2-r3}
.L50:
	ldr	r3, .L57
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	bne	.L55
	b	.L56
.L55:
	ldr	r1, .L57
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	str	r2, [r1, #8]
	str	r3, [r1, #12]
.L56:
	nop
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
.L58:
	.align	2
.L57:
	.word	df
	.size	polygon_point, .-polygon_point
	.align	2
	.global	find_df_center
	.syntax unified
	.arm
	.fpu softvfp
	.type	find_df_center, %function
find_df_center:
	@ args = 0, pretend = 0, frame = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #56
	str	r0, [fp, #-64]
	str	r1, [fp, #-68]
	ldr	r3, [fp, #-68]
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-64]
	ldmia	r3, {r2-r3}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	ldr	r3, .L61
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-60]
	str	r3, [fp, #-56]
	ldr	r3, [fp, #-68]
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-64]
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
	ldr	r3, [fp, #-68]
	add	r1, r3, #8
	ldmia	r1, {r0-r1}
	ldr	r3, [fp, #-64]
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	ldr	r3, .L61
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-68]
	add	r1, r3, #8
	ldmia	r1, {r0-r1}
	ldr	r3, [fp, #-64]
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	ldr	r4, [fp, #-44]
	ldr	r3, [fp, #-40]
	eor	r5, r3, #-2147483648
	mov	r2, #0
	ldr	r3, .L61+4
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	sub	r3, fp, #60
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	mov	r2, #0
	ldr	r3, .L61+4
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, #0
	ldr	r1, .L61+8
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	sub	r1, fp, #20
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L62:
	.align	2
.L61:
	.word	1071644672
	.word	1082310656
	.word	1078853632
	.size	find_df_center, .-find_df_center
	.global	__aeabi_i2d
	.global	__aeabi_dcmpgt
	.section	.rodata
	.align	2
.LC0:
	.ascii	"# inconsistent\012\000"
	.global	__aeabi_d2iz
	.align	2
.LC1:
	.ascii	"# box [( %.3f , %.1f ) \000"
	.align	2
.LC2:
	.ascii	" ( %.3f , %.1f )] \000"
	.align	2
.LC3:
	.ascii	" delta_f %.3f  computed_freq %d\012\000"
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	contemplate_data
	.syntax unified
	.arm
	.fpu softvfp
	.type	contemplate_data, %function
contemplate_data:
	@ args = 12, pretend = 0, frame = 160
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #168
	str	r0, [fp, #-160]
	str	r2, [fp, #-172]
	str	r3, [fp, #-168]
	ldr	r3, .L126
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-152]
	mov	r3, #0
	str	r3, [fp, #-128]
	mov	r3, #0
	str	r3, [fp, #-148]
	mov	r3, #0
	str	r3, [fp, #-124]
	mov	r3, #0
	str	r3, [fp, #-120]
	ldr	r3, [fp, #12]
	str	r3, [fp, #-132]
	ldr	r3, .L126+4
	ldr	r2, [r3]
	ldr	r1, .L126+8
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r1, r3
	ldr	r2, [fp, #-160]
	str	r2, [r3]
	ldr	r3, .L126+4
	ldr	r2, [r3]
	ldr	r1, .L126+8
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r1, r3
	add	r1, r3, #8
	sub	r3, fp, #172
	ldmia	r3, {r2-r3}
	stm	r1, {r2-r3}
	ldr	r3, .L126+4
	ldr	r4, [r3]
	mov	r2, #0
	ldr	r3, .L126+12
	ldmib	fp, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r2, .L126+8
	mov	r3, r4
	lsl	r3, r3, #1
	add	r3, r3, r4
	lsl	r3, r3, #4
	add	r3, r2, r3
	add	r3, r3, #16
	stm	r3, {r0-r1}
	ldr	r3, .L126+4
	ldr	r2, [r3]
	ldr	r1, .L126+8
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r1, r3
	add	r3, r3, #24
	ldr	r2, [fp, #12]
	str	r2, [r3]
	ldr	r3, .L126+16
	ldr	r3, [r3]
	cmp	r3, #15
	bgt	.L64
	ldr	r3, .L126+16
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L126+16
	str	r3, [r2]
.L64:
	ldr	r3, .L126+16
	ldr	r3, [r3]
	cmp	r3, #16
	bne	.L65
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-84]
	str	r3, [fp, #-80]
	ldr	r3, .L126+4
	ldr	r3, [r3]
	str	r3, [fp, #-136]
.L68:
	ldr	r1, .L126+8
	ldr	r2, [fp, #-136]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r1, r3
	add	r3, r3, #8
	ldmia	r3, {r0-r1}
	sub	r3, fp, #84
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	ip, .L126+8
	ldr	r2, [fp, #-136]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, ip, r3
	add	r3, r3, #16
	ldmia	r3, {r2-r3}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	ip, .L126+8
	ldr	r2, [fp, #-136]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, ip, r3
	add	r3, r3, #40
	stm	r3, {r0-r1}
	ldr	r1, .L126+8
	ldr	r2, [fp, #-136]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r1, r3
	add	r3, r3, #8
	ldmia	r3, {r0-r1}
	sub	r3, fp, #84
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	ip, .L126+8
	ldr	r2, [fp, #-136]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, ip, r3
	add	r3, r3, #16
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	ip, .L126+8
	ldr	r2, [fp, #-136]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, ip, r3
	add	r3, r3, #32
	stm	r3, {r0-r1}
	ldr	r0, [fp, #-136]
	bl	next_dn
	str	r0, [fp, #-116]
	ldr	r3, .L126+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-116]
	cmp	r2, r3
	beq	.L121
	ldr	r1, .L126+8
	ldr	r2, [fp, #-136]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r1, r3
	ldr	r1, [r3]
	ldr	r0, .L126+8
	ldr	r2, [fp, #-116]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r0, r3
	ldr	r3, [r3]
	sub	r3, r1, r3
	mov	r0, r3
	bl	__aeabi_ui2d
	mov	r4, r0
	mov	r5, r1
	ldr	r1, .L126+8
	ldr	r2, [fp, #-136]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r1, r3
	add	r3, r3, #24
	ldr	r2, [r3]
	ldr	r3, [fp, #12]
	sub	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	ldr	r3, .L126+20
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #84
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-84]
	str	r3, [fp, #-80]
	ldr	r3, [fp, #-116]
	str	r3, [fp, #-136]
	b	.L68
.L121:
	nop
	mov	r3, #1
	str	r3, [fp, #-144]
	mov	r2, #0
	ldr	r3, .L126+24
	str	r2, [fp, #-76]
	str	r3, [fp, #-72]
	mov	r3, #1
	str	r3, [fp, #-140]
	ldr	r3, .L126+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	next_up
	str	r0, [fp, #-136]
.L76:
	ldr	r3, .L126+4
	ldr	r0, [r3]
	ldr	r3, [fp, #-140]
	lsl	r3, r3, #4
	ldr	r2, .L126+28
	add	r3, r3, r2
	str	r3, [sp, #4]
	mov	r3, #0
	str	r3, [sp]
	mov	r3, #1
	mov	r2, #1
	ldr	r1, [fp, #-136]
	bl	search
	str	r0, [fp, #-128]
	ldr	r3, .L126+4
	ldr	r0, [r3]
	sub	r3, fp, #68
	str	r3, [sp, #4]
	mov	r3, #1
	str	r3, [sp]
	mov	r3, #1
	mov	r2, #0
	ldr	r1, [fp, #-136]
	bl	search
	sub	r1, fp, #68
	ldmia	r1, {r0-r1}
	ldr	r2, .L126+28
	ldr	r3, [fp, #-140]
	lsl	r3, r3, #4
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L69
	sub	r3, fp, #68
	ldmia	r3, {r2-r3}
	sub	r1, fp, #76
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L69
	ldr	r3, [fp, #-144]
	cmp	r3, #0
	bne	.L72
	sub	r1, fp, #68
	ldmia	r1, {r0-r1}
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L69
.L72:
	mov	r3, #0
	str	r3, [fp, #-144]
	sub	ip, fp, #52
	sub	r3, fp, #68
	ldm	r3, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
.L69:
	ldr	r2, .L126+28
	ldr	r3, [fp, #-140]
	lsl	r3, r3, #4
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-76]
	str	r3, [fp, #-72]
	ldr	r3, [fp, #-140]
	add	r3, r3, #1
	str	r3, [fp, #-140]
	ldr	r3, .L126+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-128]
	cmp	r2, r3
	beq	.L122
	ldr	r3, [fp, #-128]
	str	r3, [fp, #-136]
	b	.L76
.L122:
	nop
	ldr	r3, [fp, #-144]
	cmp	r3, #1
	bne	.L77
	mov	r3, #1
	str	r3, [fp, #-148]
.L77:
	ldr	r3, [fp, #-140]
	str	r3, [fp, #-112]
	mov	r3, #1
	str	r3, [fp, #-144]
	mov	r2, #0
	ldr	r3, .L126+32
	str	r2, [fp, #-76]
	str	r3, [fp, #-72]
	mov	r3, #1
	str	r3, [fp, #-140]
	ldr	r3, .L126+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	next_up
	str	r0, [fp, #-136]
.L85:
	ldr	r3, .L126+4
	ldr	r0, [r3]
	ldr	r3, [fp, #-140]
	lsl	r3, r3, #4
	ldr	r2, .L126+36
	add	r3, r3, r2
	str	r3, [sp, #4]
	mov	r3, #1
	str	r3, [sp]
	mov	r3, #0
	mov	r2, #0
	ldr	r1, [fp, #-136]
	bl	search
	str	r0, [fp, #-128]
	ldr	r3, .L126+4
	ldr	r0, [r3]
	sub	r3, fp, #68
	str	r3, [sp, #4]
	mov	r3, #0
	str	r3, [sp]
	mov	r3, #0
	mov	r2, #1
	ldr	r1, [fp, #-136]
	bl	search
	sub	r1, fp, #68
	ldmia	r1, {r0-r1}
	ldr	r2, .L126+36
	ldr	r3, [fp, #-140]
	lsl	r3, r3, #4
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L78
	sub	r3, fp, #68
	ldmia	r3, {r2-r3}
	sub	r1, fp, #76
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L78
	ldr	r3, [fp, #-144]
	cmp	r3, #0
	bne	.L81
	sub	r1, fp, #68
	ldmia	r1, {r0-r1}
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L78
.L81:
	mov	r3, #0
	str	r3, [fp, #-144]
	sub	ip, fp, #36
	sub	r3, fp, #68
	ldm	r3, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
.L78:
	ldr	r2, .L126+36
	ldr	r3, [fp, #-140]
	lsl	r3, r3, #4
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-76]
	str	r3, [fp, #-72]
	ldr	r3, [fp, #-140]
	add	r3, r3, #1
	str	r3, [fp, #-140]
	ldr	r3, .L126+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-128]
	cmp	r2, r3
	beq	.L123
	ldr	r3, [fp, #-128]
	str	r3, [fp, #-136]
	b	.L85
.L123:
	nop
	ldr	r3, [fp, #-144]
	cmp	r3, #1
	bne	.L86
	mov	r3, #1
	str	r3, [fp, #-148]
.L86:
	ldr	r3, [fp, #-140]
	str	r3, [fp, #-108]
	bl	polygon_reset
	sub	r3, fp, #52
	mov	r0, r3
	bl	polygon_point
	mov	r3, #1
	str	r3, [fp, #-144]
	mov	r3, #1
	str	r3, [fp, #-140]
	b	.L87
.L94:
	ldr	r3, [fp, #-144]
	cmp	r3, #0
	beq	.L88
	ldr	r2, .L126+28
	ldr	r3, [fp, #-140]
	lsl	r3, r3, #4
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L88
	ldr	r3, [fp, #-140]
	sub	r3, r3, #1
	str	r3, [fp, #-124]
	ldr	r2, .L126+28
	ldr	r3, [fp, #-124]
	lsl	ip, r3, #4
	add	ip, r2, ip
	sub	r3, fp, #52
	ldm	r3, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
	mov	r3, #0
	str	r3, [fp, #-144]
.L88:
	ldr	r2, .L126+28
	ldr	r3, [fp, #-140]
	lsl	r3, r3, #4
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	bne	.L124
	ldr	r3, [fp, #-144]
	cmp	r3, #0
	bne	.L93
	ldr	r3, [fp, #-140]
	lsl	r3, r3, #4
	ldr	r2, .L126+28
	add	r3, r3, r2
	mov	r0, r3
	bl	polygon_point
.L93:
	ldr	r3, [fp, #-140]
	add	r3, r3, #1
	str	r3, [fp, #-140]
.L87:
	ldr	r2, [fp, #-140]
	ldr	r3, [fp, #-112]
	cmp	r2, r3
	blt	.L94
	b	.L115
.L124:
	nop
.L115:
	ldr	r3, [fp, #-144]
	cmp	r3, #0
	beq	.L95
	mov	r3, #1
	str	r3, [fp, #-148]
.L95:
	ldr	r3, [fp, #-140]
	str	r3, [fp, #-104]
	ldr	r2, .L126+28
	ldr	r3, [fp, #-104]
	lsl	ip, r3, #4
	add	ip, r2, ip
	sub	r3, fp, #36
	ldm	r3, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
	sub	r3, fp, #36
	mov	r0, r3
	bl	polygon_point
	mov	r3, #1
	str	r3, [fp, #-144]
	mov	r3, #1
	str	r3, [fp, #-140]
	b	.L96
.L103:
	ldr	r3, [fp, #-144]
	cmp	r3, #0
	beq	.L97
	ldr	r2, .L126+36
	ldr	r3, [fp, #-140]
	lsl	r3, r3, #4
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L97
	ldr	r3, [fp, #-140]
	sub	r3, r3, #1
	str	r3, [fp, #-124]
	ldr	r2, .L126+36
	ldr	r3, [fp, #-120]
	lsl	ip, r3, #4
	add	ip, r2, ip
	sub	r3, fp, #36
	ldm	r3, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
	mov	r3, #0
	str	r3, [fp, #-144]
.L97:
	ldr	r2, .L126+36
	ldr	r3, [fp, #-140]
	lsl	r3, r3, #4
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	bne	.L125
	ldr	r3, [fp, #-144]
	cmp	r3, #0
	bne	.L102
	ldr	r3, [fp, #-140]
	lsl	r3, r3, #4
	ldr	r2, .L126+36
	add	r3, r3, r2
	mov	r0, r3
	bl	polygon_point
.L102:
	ldr	r3, [fp, #-140]
	add	r3, r3, #1
	str	r3, [fp, #-140]
.L96:
	ldr	r2, [fp, #-140]
	ldr	r3, [fp, #-108]
	cmp	r2, r3
	blt	.L103
	b	.L117
.L125:
	nop
.L117:
	ldr	r3, [fp, #-144]
	cmp	r3, #0
	beq	.L104
	mov	r3, #1
	str	r3, [fp, #-148]
.L104:
	ldr	r3, [fp, #-140]
	str	r3, [fp, #-100]
	ldr	r2, .L126+36
	ldr	r3, [fp, #-100]
	lsl	ip, r3, #4
	add	ip, r2, ip
	sub	r3, fp, #36
	ldm	r3, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
	ldr	r3, [fp, #-148]
	cmp	r3, #0
	beq	.L105
	ldr	r3, .L126+40
	ldr	r3, [r3]
	mov	r2, #15
	mov	r1, #1
	ldr	r0, .L126+44
	bl	fwrite
	b	.L65
.L105:
	sub	r3, fp, #152
	mov	r0, r3
	bl	find_df
	str	r0, [fp, #-92]
	str	r1, [fp, #-88]
	ldr	r3, [fp, #-152]
	cmp	r3, #0
	beq	.L106
	sub	r2, fp, #36
	sub	r3, fp, #52
	mov	r1, r2
	mov	r0, r3
	bl	find_df_center
	str	r0, [fp, #-92]
	str	r1, [fp, #-88]
.L106:
	mov	r2, #0
	ldr	r3, .L126+20
	sub	r1, fp, #92
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	ldr	r3, .L126+48
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	str	r3, [fp, #-96]
	ldr	r2, [fp, #-132]
	ldr	r3, [fp, #-96]
	sub	r3, r2, r3
	str	r3, [fp, #-132]
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	stm	sp, {r2-r3}
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L126+52
	bl	printf
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	stm	sp, {r2-r3}
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L126+56
	bl	printf
	ldr	r3, [fp, #-132]
	str	r3, [sp]
	sub	r3, fp, #92
	ldmia	r3, {r2-r3}
	ldr	r0, .L126+60
	bl	printf
	ldr	r3, [fp, #-132]
	ldr	r2, .L126+64
	cmp	r3, r2
	bge	.L107
	ldr	r3, .L126+64
	str	r3, [fp, #-132]
.L107:
	ldr	r3, [fp, #-132]
	ldr	r2, .L126+68
	cmp	r3, r2
	ble	.L65
	ldr	r3, .L126+68
	str	r3, [fp, #-132]
.L65:
	ldr	r3, .L126+4
	ldr	r3, [r3]
	add	r3, r3, #1
	rsbs	r2, r3, #0
	and	r3, r3, #15
	and	r2, r2, #15
	rsbpl	r3, r2, #0
	ldr	r2, .L126+4
	str	r3, [r2]
	ldr	r3, [fp, #-132]
	ldr	r2, .L126
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L109
	bl	__stack_chk_fail
.L109:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L127:
	.align	2
.L126:
	.word	.LC4
	.word	rp.4683
	.word	d_ring
	.word	1082720256
	.word	valid.4684
	.word	1089470464
	.word	-1067909120
	.word	maxseg
	.word	1079574528
	.word	minseg
	.word	stderr
	.word	.LC0
	.word	1071644672
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	-6000000
	.word	6000000
	.size	contemplate_data, .-contemplate_data
	.local	rp.4683
	.comm	rp.4683,4,4
	.local	valid.4684
	.comm	valid.4684,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
