	.file	"36795.c"
	.intel_syntax noprefix
	.text
	.globl	bulbs
	.bss
	.align 32
	.type	bulbs, @object
	.size	bulbs, 16000
bulbs:
	.zero	16000
	.globl	column
	.align 32
	.type	column, @object
	.size	column, 24000
column:
	.zero	24000
	.globl	l
	.align 4
	.type	l, @object
	.size	l, 4
l:
	.zero	4
	.globl	c
	.align 4
	.type	c, @object
	.size	c, 4
c:
	.zero	4
	.globl	w
	.align 4
	.type	w, @object
	.size	w, 4
w:
	.zero	4
	.globl	h
	.align 4
	.type	h, @object
	.size	h, 4
h:
	.zero	4
	.text
	.globl	tangency_points
	.type	tangency_points, @function
tangency_points:
.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, 160
	mov	QWORD PTR -136[rbp], rdi
	mov	QWORD PTR -144[rbp], rsi
	mov	QWORD PTR -152[rbp], rdx
	mov	QWORD PTR -160[rbp], rcx
	mov	rax, QWORD PTR -144[rbp]
	movsd	xmm0, QWORD PTR [rax]
	movsd	QWORD PTR -120[rbp], xmm0
	mov	rax, QWORD PTR -144[rbp]
	movsd	xmm0, QWORD PTR 8[rax]
	movsd	QWORD PTR -112[rbp], xmm0
	mov	rax, QWORD PTR -144[rbp]
	movsd	xmm0, QWORD PTR 16[rax]
	movsd	QWORD PTR -104[rbp], xmm0
	mov	rax, QWORD PTR -136[rbp]
	movsd	xmm0, QWORD PTR [rax]
	movsd	QWORD PTR -96[rbp], xmm0
	mov	rax, QWORD PTR -136[rbp]
	movsd	xmm0, QWORD PTR 8[rax]
	movsd	QWORD PTR -88[rbp], xmm0
	movsd	xmm0, QWORD PTR -120[rbp]
	subsd	xmm0, QWORD PTR -96[rbp]
	movsd	QWORD PTR -80[rbp], xmm0
	movsd	xmm0, QWORD PTR -112[rbp]
	subsd	xmm0, QWORD PTR -88[rbp]
	movsd	QWORD PTR -72[rbp], xmm0
	movsd	xmm0, QWORD PTR -72[rbp]
	movapd	xmm1, xmm0
	mulsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR -80[rbp]
	mulsd	xmm0, xmm0
	addsd	xmm1, xmm0
	movq	rax, xmm1
	movq	xmm0, rax
	call	sqrt@PLT
	movq	rax, xmm0
	mov	QWORD PTR -64[rbp], rax
	movsd	xmm0, QWORD PTR -64[rbp]
	movapd	xmm1, xmm0
	mulsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR -104[rbp]
	mulsd	xmm0, xmm0
	subsd	xmm1, xmm0
	movq	rax, xmm1
	movq	xmm0, rax
	call	sqrt@PLT
	movq	rax, xmm0
	mov	QWORD PTR -56[rbp], rax
	movsd	xmm0, QWORD PTR -56[rbp]
	movapd	xmm1, xmm0
	mulsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR -104[rbp]
	mulsd	xmm0, xmm0
	subsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR -64[rbp]
	mulsd	xmm0, xmm0
	addsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR -64[rbp]
	movapd	xmm2, xmm0
	addsd	xmm2, xmm0
	divsd	xmm1, xmm2
	movapd	xmm0, xmm1
	movsd	QWORD PTR -48[rbp], xmm0
	movsd	xmm0, QWORD PTR -80[rbp]
	mulsd	xmm0, QWORD PTR -48[rbp]
	divsd	xmm0, QWORD PTR -64[rbp]
	movsd	xmm1, QWORD PTR -96[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -40[rbp], xmm0
	movsd	xmm0, QWORD PTR -72[rbp]
	mulsd	xmm0, QWORD PTR -48[rbp]
	divsd	xmm0, QWORD PTR -64[rbp]
	movsd	xmm1, QWORD PTR -88[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -32[rbp], xmm0
	movsd	xmm0, QWORD PTR -56[rbp]
	movapd	xmm1, xmm0
	mulsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR -48[rbp]
	mulsd	xmm0, xmm0
	subsd	xmm1, xmm0
	movq	rax, xmm1
	movq	xmm0, rax
	call	sqrt@PLT
	movq	rax, xmm0
	mov	QWORD PTR -24[rbp], rax
	movsd	xmm0, QWORD PTR -72[rbp]
	movq	xmm1, QWORD PTR .LC0[rip]
	xorpd	xmm1, xmm0
	movsd	xmm0, QWORD PTR -24[rbp]
	divsd	xmm0, QWORD PTR -64[rbp]
	mulsd	xmm0, xmm1
	movsd	QWORD PTR -16[rbp], xmm0
	movsd	xmm0, QWORD PTR -24[rbp]
	divsd	xmm0, QWORD PTR -64[rbp]
	movsd	xmm1, QWORD PTR -80[rbp]
	mulsd	xmm0, xmm1
	movsd	QWORD PTR -8[rbp], xmm0
	movsd	xmm0, QWORD PTR -40[rbp]
	addsd	xmm0, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -152[rbp]
	movsd	QWORD PTR [rax], xmm0
	movsd	xmm0, QWORD PTR -40[rbp]
	subsd	xmm0, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -160[rbp]
	movsd	QWORD PTR [rax], xmm0
	movsd	xmm0, QWORD PTR -32[rbp]
	addsd	xmm0, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR -152[rbp]
	movsd	QWORD PTR 8[rax], xmm0
	movsd	xmm0, QWORD PTR -32[rbp]
	subsd	xmm0, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR -160[rbp]
	movsd	QWORD PTR 8[rax], xmm0
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	tangency_points, .-tangency_points
	.globl	points_line
	.type	points_line, @function
points_line:
.LFB7:
	.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 -8[rbp]
	movsd	xmm0, QWORD PTR [rax]
	mov	rax, QWORD PTR -16[rbp]
	movsd	xmm1, QWORD PTR [rax]
	ucomisd	xmm0, xmm1
	jp	.L3
	ucomisd	xmm0, xmm1
	jne	.L3
	mov	rax, QWORD PTR -24[rbp]
	movsd	xmm0, QWORD PTR .LC1[rip]
	movsd	QWORD PTR [rax], xmm0
	mov	rax, QWORD PTR -24[rbp]
	pxor	xmm0, xmm0
	movsd	QWORD PTR 8[rax], xmm0
	mov	rax, QWORD PTR -8[rbp]
	movsd	xmm0, QWORD PTR [rax]
	movq	xmm1, QWORD PTR .LC0[rip]
	xorpd	xmm0, xmm1
	mov	rax, QWORD PTR -24[rbp]
	movsd	QWORD PTR 16[rax], xmm0
	jmp	.L7
.L3:
	mov	rax, QWORD PTR -24[rbp]
	movsd	xmm0, QWORD PTR .LC1[rip]
	movsd	QWORD PTR 8[rax], xmm0
	mov	rax, QWORD PTR -8[rbp]
	movsd	xmm0, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -16[rbp]
	movsd	xmm1, QWORD PTR 8[rax]
	subsd	xmm0, xmm1
	movq	xmm1, QWORD PTR .LC0[rip]
	xorpd	xmm0, xmm1
	mov	rax, QWORD PTR -8[rbp]
	movsd	xmm1, QWORD PTR [rax]
	mov	rax, QWORD PTR -16[rbp]
	movsd	xmm2, QWORD PTR [rax]
	subsd	xmm1, xmm2
	divsd	xmm0, xmm1
	mov	rax, QWORD PTR -24[rbp]
	movsd	QWORD PTR [rax], xmm0
	mov	rax, QWORD PTR -24[rbp]
	movsd	xmm1, QWORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	movsd	xmm0, QWORD PTR [rax]
	mulsd	xmm0, xmm1
	movq	xmm1, QWORD PTR .LC0[rip]
	xorpd	xmm0, xmm1
	mov	rax, QWORD PTR -24[rbp]
	movsd	xmm2, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -8[rbp]
	movsd	xmm1, QWORD PTR 8[rax]
	mulsd	xmm1, xmm2
	subsd	xmm0, xmm1
	mov	rax, QWORD PTR -24[rbp]
	movsd	QWORD PTR 16[rax], xmm0
.L7:
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	points_line, .-points_line
	.globl	linnearize
	.type	linnearize, @function
linnearize:
.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 -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	movsd	xmm1, QWORD PTR [rax]
	movsd	xmm0, QWORD PTR .LC3[rip]
	comisd	xmm0, xmm1
	jbe	.L19
	mov	rax, QWORD PTR -8[rbp]
	movsd	xmm0, QWORD PTR 8[rax]
	jmp	.L11
.L19:
	mov	rax, QWORD PTR -8[rbp]
	movsd	xmm0, QWORD PTR 8[rax]
	mov	eax, DWORD PTR h[rip]
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, eax
	subsd	xmm0, xmm1
	movq	xmm1, QWORD PTR .LC4[rip]
	andpd	xmm1, xmm0
	movsd	xmm0, QWORD PTR .LC3[rip]
	comisd	xmm0, xmm1
	jbe	.L20
	mov	eax, DWORD PTR h[rip]
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, eax
	mov	rax, QWORD PTR -8[rbp]
	movsd	xmm0, QWORD PTR [rax]
	addsd	xmm0, xmm1
	jmp	.L11
.L20:
	mov	rax, QWORD PTR -8[rbp]
	movsd	xmm0, QWORD PTR [rax]
	mov	eax, DWORD PTR w[rip]
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, eax
	subsd	xmm0, xmm1
	movq	xmm1, QWORD PTR .LC4[rip]
	andpd	xmm1, xmm0
	movsd	xmm0, QWORD PTR .LC3[rip]
	comisd	xmm0, xmm1
	jbe	.L21
	mov	edx, DWORD PTR h[rip]
	mov	eax, DWORD PTR w[rip]
	add	eax, edx
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, eax
	mov	eax, DWORD PTR h[rip]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	mov	rax, QWORD PTR -8[rbp]
	movsd	xmm2, QWORD PTR 8[rax]
	subsd	xmm0, xmm2
	addsd	xmm0, xmm1
	jmp	.L11
.L21:
	mov	edx, DWORD PTR h[rip]
	mov	eax, DWORD PTR w[rip]
	add	edx, eax
	mov	eax, DWORD PTR h[rip]
	add	eax, edx
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, eax
	mov	eax, DWORD PTR w[rip]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	mov	rax, QWORD PTR -8[rbp]
	movsd	xmm2, QWORD PTR [rax]
	subsd	xmm0, xmm2
	addsd	xmm0, xmm1
.L11:
	movq	rax, xmm0
	movq	xmm0, rax
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	linnearize, .-linnearize
	.globl	signed_area
	.type	signed_area, @function
signed_area:
.LFB9:
	.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 -8[rbp]
	movsd	xmm1, QWORD PTR [rax]
	mov	rax, QWORD PTR -16[rbp]
	movsd	xmm0, QWORD PTR 8[rax]
	mulsd	xmm0, xmm1
	mov	rax, QWORD PTR -8[rbp]
	movsd	xmm2, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -16[rbp]
	movsd	xmm1, QWORD PTR [rax]
	mulsd	xmm2, xmm1
	movapd	xmm1, xmm0
	subsd	xmm1, xmm2
	mov	rax, QWORD PTR -8[rbp]
	movsd	xmm2, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -24[rbp]
	movsd	xmm0, QWORD PTR [rax]
	mulsd	xmm0, xmm2
	addsd	xmm0, xmm1
	mov	rax, QWORD PTR -8[rbp]
	movsd	xmm2, QWORD PTR [rax]
	mov	rax, QWORD PTR -24[rbp]
	movsd	xmm1, QWORD PTR 8[rax]
	mulsd	xmm2, xmm1
	movapd	xmm1, xmm0
	subsd	xmm1, xmm2
	mov	rax, QWORD PTR -16[rbp]
	movsd	xmm2, QWORD PTR [rax]
	mov	rax, QWORD PTR -24[rbp]
	movsd	xmm0, QWORD PTR 8[rax]
	mulsd	xmm0, xmm2
	addsd	xmm0, xmm1
	mov	rax, QWORD PTR -16[rbp]
	movsd	xmm2, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -24[rbp]
	movsd	xmm1, QWORD PTR [rax]
	mulsd	xmm1, xmm2
	subsd	xmm0, xmm1
	movsd	xmm1, QWORD PTR .LC5[rip]
	divsd	xmm0, xmm1
	movq	rax, xmm0
	movq	xmm0, rax
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	signed_area, .-signed_area
	.globl	add_part
	.type	add_part, @function
add_part:
.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, 48
	mov	QWORD PTR -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -24[rbp], rax
	mov	QWORD PTR -8[rbp], 0
	jmp	.L25
.L51:
	mov	rax, QWORD PTR -48[rbp]
	movsd	xmm0, QWORD PTR [rax]
	mov	rax, QWORD PTR -24[rbp]
	movsd	xmm1, QWORD PTR [rax]
	subsd	xmm0, xmm1
	comisd	xmm0, QWORD PTR .LC6[rip]
	jbe	.L26
	mov	rax, QWORD PTR -24[rbp]
	movsd	xmm0, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -48[rbp]
	movsd	xmm1, QWORD PTR [rax]
	subsd	xmm0, xmm1
	comisd	xmm0, QWORD PTR .LC6[rip]
	jbe	.L26
	mov	rax, QWORD PTR -48[rbp]
	movsd	xmm0, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -24[rbp]
	movsd	xmm1, QWORD PTR 8[rax]
	subsd	xmm0, xmm1
	comisd	xmm0, QWORD PTR .LC6[rip]
	jbe	.L29
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR -16[rbp], rax
	jmp	.L31
.L35:
	mov	rax, QWORD PTR -16[rbp]
	movsd	xmm0, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -48[rbp]
	movsd	xmm1, QWORD PTR 8[rax]
	comisd	xmm0, xmm1
	jbe	.L32
	mov	rax, QWORD PTR -16[rbp]
	movsd	xmm0, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -48[rbp]
	movsd	QWORD PTR 8[rax], xmm0
.L32:
	mov	rax, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR 16[rax]
	mov	rax, QWORD PTR -48[rbp]
	mov	QWORD PTR 16[rax], rdx
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR -16[rbp], rax
.L31:
	cmp	QWORD PTR -16[rbp], 0
	je	.L34
	mov	rax, QWORD PTR -48[rbp]
	movsd	xmm0, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -16[rbp]
	movsd	xmm1, QWORD PTR [rax]
	subsd	xmm0, xmm1
	comisd	xmm0, QWORD PTR .LC6[rip]
	ja	.L35
.L34:
	mov	rax, QWORD PTR -48[rbp]
	movsd	xmm0, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -24[rbp]
	movsd	QWORD PTR 8[rax], xmm0
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	mov	QWORD PTR 16[rax], rdx
.L29:
	mov	rax, QWORD PTR -48[rbp]
	mov	rdi, rax
	call	free@PLT
	jmp	.L36
.L26:
	mov	rax, QWORD PTR -24[rbp]
	movsd	xmm0, QWORD PTR [rax]
	mov	rax, QWORD PTR -48[rbp]
	movsd	xmm1, QWORD PTR [rax]
	subsd	xmm0, xmm1
	comisd	xmm0, QWORD PTR .LC6[rip]
	jbe	.L37
	mov	rax, QWORD PTR -48[rbp]
	movsd	xmm0, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -24[rbp]
	movsd	xmm1, QWORD PTR [rax]
	subsd	xmm0, xmm1
	comisd	xmm0, QWORD PTR .LC6[rip]
	jbe	.L37
	mov	rax, QWORD PTR -48[rbp]
	movsd	xmm0, QWORD PTR [rax]
	mov	rax, QWORD PTR -24[rbp]
	movsd	QWORD PTR [rax], xmm0
	mov	rax, QWORD PTR -48[rbp]
	movsd	xmm0, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -24[rbp]
	movsd	xmm1, QWORD PTR 8[rax]
	subsd	xmm0, xmm1
	comisd	xmm0, QWORD PTR .LC3[rip]
	jbe	.L40
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR -16[rbp], rax
	jmp	.L42
.L46:
	mov	rax, QWORD PTR -16[rbp]
	movsd	xmm0, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -48[rbp]
	movsd	xmm1, QWORD PTR 8[rax]
	comisd	xmm0, xmm1
	jbe	.L43
	mov	rax, QWORD PTR -16[rbp]
	movsd	xmm0, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -48[rbp]
	movsd	QWORD PTR 8[rax], xmm0
.L43:
	mov	rax, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR 16[rax]
	mov	rax, QWORD PTR -48[rbp]
	mov	QWORD PTR 16[rax], rdx
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR -16[rbp], rax
.L42:
	cmp	QWORD PTR -16[rbp], 0
	je	.L45
	mov	rax, QWORD PTR -48[rbp]
	movsd	xmm0, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -16[rbp]
	movsd	xmm1, QWORD PTR [rax]
	subsd	xmm0, xmm1
	comisd	xmm0, QWORD PTR .LC6[rip]
	ja	.L46
.L45:
	mov	rax, QWORD PTR -48[rbp]
	movsd	xmm0, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -24[rbp]
	movsd	QWORD PTR 8[rax], xmm0
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	mov	QWORD PTR 16[rax], rdx
.L40:
	mov	rax, QWORD PTR -48[rbp]
	mov	rdi, rax
	call	free@PLT
	jmp	.L36
.L37:
	mov	rax, QWORD PTR -24[rbp]
	movsd	xmm0, QWORD PTR [rax]
	mov	rax, QWORD PTR -48[rbp]
	movsd	xmm1, QWORD PTR [rax]
	subsd	xmm0, xmm1
	comisd	xmm0, QWORD PTR .LC6[rip]
	jbe	.L62
	mov	rax, QWORD PTR -48[rbp]
	mov	rdx, QWORD PTR -24[rbp]
	mov	QWORD PTR 16[rax], rdx
	cmp	QWORD PTR -8[rbp], 0
	jne	.L49
	mov	rax, QWORD PTR -40[rbp]
	mov	rdx, QWORD PTR -48[rbp]
	mov	QWORD PTR [rax], rdx
	jmp	.L36
.L49:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR -48[rbp]
	mov	QWORD PTR 16[rax], rdx
	jmp	.L36
.L62:
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR -24[rbp], rax
.L25:
	cmp	QWORD PTR -24[rbp], 0
	jne	.L51
.L36:
	cmp	QWORD PTR -24[rbp], 0
	jne	.L63
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR -48[rbp]
	mov	QWORD PTR 16[rax], rdx
.L63:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	add_part, .-add_part
	.globl	append_dark
	.type	append_dark, @function
append_dark:
.LFB11:
	.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, 184
	.cfi_offset 3, -24
	mov	QWORD PTR -136[rbp], rdi
	mov	QWORD PTR -144[rbp], rsi
	mov	QWORD PTR -152[rbp], rdx
	mov	QWORD PTR -160[rbp], rcx
	mov	QWORD PTR -168[rbp], r8
	mov	QWORD PTR -176[rbp], r9
	mov	rax, QWORD PTR 16[rbp]
	mov	QWORD PTR -184[rbp], rax
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	BYTE PTR -113[rbp], 0
	mov	rax, QWORD PTR -176[rbp]
	movsd	xmm0, QWORD PTR 8[rax]
	movq	xmm1, QWORD PTR .LC4[rip]
	andpd	xmm0, xmm1
	comisd	xmm0, QWORD PTR .LC3[rip]
	jbe	.L65
	pxor	xmm0, xmm0
	movsd	QWORD PTR -48[rbp], xmm0
	mov	rax, QWORD PTR -176[rbp]
	movsd	xmm0, QWORD PTR 16[rax]
	movq	xmm1, QWORD PTR .LC0[rip]
	xorpd	xmm0, xmm1
	mov	rax, QWORD PTR -176[rbp]
	movsd	xmm1, QWORD PTR 8[rax]
	divsd	xmm0, xmm1
	movsd	QWORD PTR -40[rbp], xmm0
	movsd	xmm0, QWORD PTR -40[rbp]
	comisd	xmm0, QWORD PTR .LC3[rip]
	jbe	.L67
	movsd	xmm1, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR h[rip]
	pxor	xmm2, xmm2
	cvtsi2sd	xmm2, eax
	movsd	xmm0, QWORD PTR .LC3[rip]
	addsd	xmm0, xmm2
	comisd	xmm0, xmm1
	jbe	.L67
	movsd	xmm0, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR -144[rbp]
	movsd	xmm2, QWORD PTR [rax]
	movapd	xmm1, xmm0
	subsd	xmm1, xmm2
	movsd	xmm0, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR -144[rbp]
	movsd	xmm2, QWORD PTR [rax]
	subsd	xmm0, xmm2
	mulsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR -144[rbp]
	movsd	xmm3, QWORD PTR 8[rax]
	movapd	xmm2, xmm0
	subsd	xmm2, xmm3
	movsd	xmm0, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR -144[rbp]
	movsd	xmm3, QWORD PTR 8[rax]
	subsd	xmm0, xmm3
	mulsd	xmm0, xmm2
	addsd	xmm1, xmm0
	movq	rax, xmm1
	movq	xmm0, rax
	call	sqrt@PLT
	movq	rbx, xmm0
	movsd	xmm0, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR -160[rbp]
	movsd	xmm2, QWORD PTR [rax]
	movapd	xmm1, xmm0
	subsd	xmm1, xmm2
	movsd	xmm0, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR -160[rbp]
	movsd	xmm2, QWORD PTR [rax]
	subsd	xmm0, xmm2
	mulsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR -160[rbp]
	movsd	xmm3, QWORD PTR 8[rax]
	movapd	xmm2, xmm0
	subsd	xmm2, xmm3
	movsd	xmm0, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR -160[rbp]
	movsd	xmm3, QWORD PTR 8[rax]
	subsd	xmm0, xmm3
	mulsd	xmm0, xmm2
	addsd	xmm1, xmm0
	movq	rax, xmm1
	movq	xmm0, rax
	call	sqrt@PLT
	movq	xmm4, rbx
	comisd	xmm4, xmm0
	jbe	.L67
	mov	BYTE PTR -113[rbp], 1
	mov	rax, QWORD PTR -48[rbp]
	mov	rdx, QWORD PTR -40[rbp]
	mov	QWORD PTR -80[rbp], rax
	mov	QWORD PTR -72[rbp], rdx
.L67:
	mov	eax, DWORD PTR w[rip]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	movsd	QWORD PTR -48[rbp], xmm0
	mov	rax, QWORD PTR -176[rbp]
	movsd	xmm1, QWORD PTR [rax]
	mov	eax, DWORD PTR w[rip]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	mulsd	xmm1, xmm0
	mov	rax, QWORD PTR -176[rbp]
	movsd	xmm0, QWORD PTR 16[rax]
	addsd	xmm0, xmm1
	movq	xmm1, QWORD PTR .LC0[rip]
	xorpd	xmm0, xmm1
	mov	rax, QWORD PTR -176[rbp]
	movsd	xmm1, QWORD PTR 8[rax]
	divsd	xmm0, xmm1
	movsd	QWORD PTR -40[rbp], xmm0
	cmp	BYTE PTR -113[rbp], 0
	jne	.L65
	movsd	xmm0, QWORD PTR -40[rbp]
	comisd	xmm0, QWORD PTR .LC3[rip]
	jbe	.L65
	movsd	xmm1, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR h[rip]
	pxor	xmm2, xmm2
	cvtsi2sd	xmm2, eax
	movsd	xmm0, QWORD PTR .LC3[rip]
	addsd	xmm0, xmm2
	comisd	xmm0, xmm1
	jbe	.L65
	movsd	xmm0, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR -144[rbp]
	movsd	xmm2, QWORD PTR [rax]
	movapd	xmm1, xmm0
	subsd	xmm1, xmm2
	movsd	xmm0, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR -144[rbp]
	movsd	xmm2, QWORD PTR [rax]
	subsd	xmm0, xmm2
	mulsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR -144[rbp]
	movsd	xmm3, QWORD PTR 8[rax]
	movapd	xmm2, xmm0
	subsd	xmm2, xmm3
	movsd	xmm0, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR -144[rbp]
	movsd	xmm3, QWORD PTR 8[rax]
	subsd	xmm0, xmm3
	mulsd	xmm0, xmm2
	addsd	xmm1, xmm0
	movq	rax, xmm1
	movq	xmm0, rax
	call	sqrt@PLT
	movq	rbx, xmm0
	movsd	xmm0, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR -160[rbp]
	movsd	xmm2, QWORD PTR [rax]
	movapd	xmm1, xmm0
	subsd	xmm1, xmm2
	movsd	xmm0, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR -160[rbp]
	movsd	xmm2, QWORD PTR [rax]
	subsd	xmm0, xmm2
	mulsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR -160[rbp]
	movsd	xmm3, QWORD PTR 8[rax]
	movapd	xmm2, xmm0
	subsd	xmm2, xmm3
	movsd	xmm0, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR -160[rbp]
	movsd	xmm3, QWORD PTR 8[rax]
	subsd	xmm0, xmm3
	mulsd	xmm0, xmm2
	addsd	xmm1, xmm0
	movq	rax, xmm1
	movq	xmm0, rax
	call	sqrt@PLT
	movq	xmm5, rbx
	comisd	xmm5, xmm0
	jbe	.L65
	mov	BYTE PTR -113[rbp], 1
	mov	rax, QWORD PTR -48[rbp]
	mov	rdx, QWORD PTR -40[rbp]
	mov	QWORD PTR -80[rbp], rax
	mov	QWORD PTR -72[rbp], rdx
.L65:
	mov	rax, QWORD PTR -176[rbp]
	movsd	xmm0, QWORD PTR [rax]
	movq	xmm1, QWORD PTR .LC4[rip]
	andpd	xmm0, xmm1
	comisd	xmm0, QWORD PTR .LC3[rip]
	jbe	.L74
	pxor	xmm0, xmm0
	movsd	QWORD PTR -40[rbp], xmm0
	mov	rax, QWORD PTR -176[rbp]
	movsd	xmm0, QWORD PTR 16[rax]
	movq	xmm1, QWORD PTR .LC0[rip]
	xorpd	xmm0, xmm1
	mov	rax, QWORD PTR -176[rbp]
	movsd	xmm1, QWORD PTR [rax]
	divsd	xmm0, xmm1
	movsd	QWORD PTR -48[rbp], xmm0
	cmp	BYTE PTR -113[rbp], 0
	jne	.L76
	movsd	xmm0, QWORD PTR -48[rbp]
	comisd	xmm0, QWORD PTR .LC3[rip]
	jbe	.L76
	movsd	xmm1, QWORD PTR -48[rbp]
	mov	eax, DWORD PTR w[rip]
	pxor	xmm2, xmm2
	cvtsi2sd	xmm2, eax
	movsd	xmm0, QWORD PTR .LC3[rip]
	addsd	xmm0, xmm2
	comisd	xmm0, xmm1
	jbe	.L76
	movsd	xmm0, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR -144[rbp]
	movsd	xmm2, QWORD PTR [rax]
	movapd	xmm1, xmm0
	subsd	xmm1, xmm2
	movsd	xmm0, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR -144[rbp]
	movsd	xmm2, QWORD PTR [rax]
	subsd	xmm0, xmm2
	mulsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR -144[rbp]
	movsd	xmm3, QWORD PTR 8[rax]
	movapd	xmm2, xmm0
	subsd	xmm2, xmm3
	movsd	xmm0, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR -144[rbp]
	movsd	xmm3, QWORD PTR 8[rax]
	subsd	xmm0, xmm3
	mulsd	xmm0, xmm2
	addsd	xmm1, xmm0
	movq	rax, xmm1
	movq	xmm0, rax
	call	sqrt@PLT
	movq	rbx, xmm0
	movsd	xmm0, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR -160[rbp]
	movsd	xmm2, QWORD PTR [rax]
	movapd	xmm1, xmm0
	subsd	xmm1, xmm2
	movsd	xmm0, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR -160[rbp]
	movsd	xmm2, QWORD PTR [rax]
	subsd	xmm0, xmm2
	mulsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR -160[rbp]
	movsd	xmm3, QWORD PTR 8[rax]
	movapd	xmm2, xmm0
	subsd	xmm2, xmm3
	movsd	xmm0, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR -160[rbp]
	movsd	xmm3, QWORD PTR 8[rax]
	subsd	xmm0, xmm3
	mulsd	xmm0, xmm2
	addsd	xmm1, xmm0
	movq	rax, xmm1
	movq	xmm0, rax
	call	sqrt@PLT
	movq	xmm6, rbx
	comisd	xmm6, xmm0
	jbe	.L76
	mov	BYTE PTR -113[rbp], 1
	mov	rax, QWORD PTR -48[rbp]
	mov	rdx, QWORD PTR -40[rbp]
	mov	QWORD PTR -80[rbp], rax
	mov	QWORD PTR -72[rbp], rdx
.L76:
	mov	eax, DWORD PTR h[rip]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	movsd	QWORD PTR -40[rbp], xmm0
	mov	rax, QWORD PTR -176[rbp]
	movsd	xmm1, QWORD PTR 8[rax]
	mov	eax, DWORD PTR h[rip]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	mulsd	xmm1, xmm0
	mov	rax, QWORD PTR -176[rbp]
	movsd	xmm0, QWORD PTR 16[rax]
	addsd	xmm0, xmm1
	movq	xmm1, QWORD PTR .LC0[rip]
	xorpd	xmm0, xmm1
	mov	rax, QWORD PTR -176[rbp]
	movsd	xmm1, QWORD PTR [rax]
	divsd	xmm0, xmm1
	movsd	QWORD PTR -48[rbp], xmm0
	cmp	BYTE PTR -113[rbp], 0
	jne	.L74
	movsd	xmm0, QWORD PTR -48[rbp]
	comisd	xmm0, QWORD PTR .LC3[rip]
	jbe	.L74
	movsd	xmm1, QWORD PTR -48[rbp]
	mov	eax, DWORD PTR w[rip]
	pxor	xmm2, xmm2
	cvtsi2sd	xmm2, eax
	movsd	xmm0, QWORD PTR .LC3[rip]
	addsd	xmm0, xmm2
	comisd	xmm0, xmm1
	jbe	.L74
	movsd	xmm0, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR -144[rbp]
	movsd	xmm2, QWORD PTR [rax]
	movapd	xmm1, xmm0
	subsd	xmm1, xmm2
	movsd	xmm0, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR -144[rbp]
	movsd	xmm2, QWORD PTR [rax]
	subsd	xmm0, xmm2
	mulsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR -144[rbp]
	movsd	xmm3, QWORD PTR 8[rax]
	movapd	xmm2, xmm0
	subsd	xmm2, xmm3
	movsd	xmm0, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR -144[rbp]
	movsd	xmm3, QWORD PTR 8[rax]
	subsd	xmm0, xmm3
	mulsd	xmm0, xmm2
	addsd	xmm1, xmm0
	movq	rax, xmm1
	movq	xmm0, rax
	call	sqrt@PLT
	movq	rbx, xmm0
	movsd	xmm0, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR -160[rbp]
	movsd	xmm2, QWORD PTR [rax]
	movapd	xmm1, xmm0
	subsd	xmm1, xmm2
	movsd	xmm0, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR -160[rbp]
	movsd	xmm2, QWORD PTR [rax]
	subsd	xmm0, xmm2
	mulsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR -160[rbp]
	movsd	xmm3, QWORD PTR 8[rax]
	movapd	xmm2, xmm0
	subsd	xmm2, xmm3
	movsd	xmm0, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR -160[rbp]
	movsd	xmm3, QWORD PTR 8[rax]
	subsd	xmm0, xmm3
	mulsd	xmm0, xmm2
	addsd	xmm1, xmm0
	movq	rax, xmm1
	movq	xmm0, rax
	call	sqrt@PLT
	movq	xmm7, rbx
	comisd	xmm7, xmm0
	jbe	.L74
	mov	BYTE PTR -113[rbp], 1
	mov	rax, QWORD PTR -48[rbp]
	mov	rdx, QWORD PTR -40[rbp]
	mov	QWORD PTR -80[rbp], rax
	mov	QWORD PTR -72[rbp], rdx
.L74:
	lea	rax, -80[rbp]
	mov	rdi, rax
	call	linnearize
	movq	rax, xmm0
	mov	QWORD PTR -112[rbp], rax
	mov	BYTE PTR -113[rbp], 0
	mov	rax, QWORD PTR -184[rbp]
	movsd	xmm0, QWORD PTR 8[rax]
	movq	xmm1, QWORD PTR .LC4[rip]
	andpd	xmm0, xmm1
	comisd	xmm0, QWORD PTR .LC3[rip]
	jbe	.L83
	pxor	xmm0, xmm0
	movsd	QWORD PTR -48[rbp], xmm0
	mov	rax, QWORD PTR -184[rbp]
	movsd	xmm0, QWORD PTR 16[rax]
	movq	xmm1, QWORD PTR .LC0[rip]
	xorpd	xmm0, xmm1
	mov	rax, QWORD PTR -184[rbp]
	movsd	xmm1, QWORD PTR 8[rax]
	divsd	xmm0, xmm1
	movsd	QWORD PTR -40[rbp], xmm0
	movsd	xmm0, QWORD PTR -40[rbp]
	comisd	xmm0, QWORD PTR .LC3[rip]
	jbe	.L85
	movsd	xmm1, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR h[rip]
	pxor	xmm2, xmm2
	cvtsi2sd	xmm2, eax
	movsd	xmm0, QWORD PTR .LC3[rip]
	addsd	xmm0, xmm2
	comisd	xmm0, xmm1
	jbe	.L85
	movsd	xmm0, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR -144[rbp]
	movsd	xmm2, QWORD PTR [rax]
	movapd	xmm1, xmm0
	subsd	xmm1, xmm2
	movsd	xmm0, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR -144[rbp]
	movsd	xmm2, QWORD PTR [rax]
	subsd	xmm0, xmm2
	mulsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR -144[rbp]
	movsd	xmm3, QWORD PTR 8[rax]
	movapd	xmm2, xmm0
	subsd	xmm2, xmm3
	movsd	xmm0, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR -144[rbp]
	movsd	xmm3, QWORD PTR 8[rax]
	subsd	xmm0, xmm3
	mulsd	xmm0, xmm2
	addsd	xmm1, xmm0
	movq	rax, xmm1
	movq	xmm0, rax
	call	sqrt@PLT
	movq	rbx, xmm0
	movsd	xmm0, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR -168[rbp]
	movsd	xmm2, QWORD PTR [rax]
	movapd	xmm1, xmm0
	subsd	xmm1, xmm2
	movsd	xmm0, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR -168[rbp]
	movsd	xmm2, QWORD PTR [rax]
	subsd	xmm0, xmm2
	mulsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR -168[rbp]
	movsd	xmm3, QWORD PTR 8[rax]
	movapd	xmm2, xmm0
	subsd	xmm2, xmm3
	movsd	xmm0, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR -168[rbp]
	movsd	xmm3, QWORD PTR 8[rax]
	subsd	xmm0, xmm3
	mulsd	xmm0, xmm2
	addsd	xmm1, xmm0
	movq	rax, xmm1
	movq	xmm0, rax
	call	sqrt@PLT
	movq	xmm4, rbx
	comisd	xmm4, xmm0
	jbe	.L85
	mov	BYTE PTR -113[rbp], 1
	mov	rax, QWORD PTR -48[rbp]
	mov	rdx, QWORD PTR -40[rbp]
	mov	QWORD PTR -64[rbp], rax
	mov	QWORD PTR -56[rbp], rdx
.L85:
	mov	eax, DWORD PTR w[rip]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	movsd	QWORD PTR -48[rbp], xmm0
	mov	rax, QWORD PTR -184[rbp]
	movsd	xmm1, QWORD PTR [rax]
	mov	eax, DWORD PTR w[rip]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	mulsd	xmm1, xmm0
	mov	rax, QWORD PTR -184[rbp]
	movsd	xmm0, QWORD PTR 16[rax]
	addsd	xmm0, xmm1
	movq	xmm1, QWORD PTR .LC0[rip]
	xorpd	xmm0, xmm1
	mov	rax, QWORD PTR -184[rbp]
	movsd	xmm1, QWORD PTR 8[rax]
	divsd	xmm0, xmm1
	movsd	QWORD PTR -40[rbp], xmm0
	cmp	BYTE PTR -113[rbp], 0
	jne	.L83
	movsd	xmm0, QWORD PTR -40[rbp]
	comisd	xmm0, QWORD PTR .LC3[rip]
	jbe	.L83
	movsd	xmm1, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR h[rip]
	pxor	xmm2, xmm2
	cvtsi2sd	xmm2, eax
	movsd	xmm0, QWORD PTR .LC3[rip]
	addsd	xmm0, xmm2
	comisd	xmm0, xmm1
	jbe	.L83
	movsd	xmm0, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR -144[rbp]
	movsd	xmm2, QWORD PTR [rax]
	movapd	xmm1, xmm0
	subsd	xmm1, xmm2
	movsd	xmm0, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR -144[rbp]
	movsd	xmm2, QWORD PTR [rax]
	subsd	xmm0, xmm2
	mulsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR -144[rbp]
	movsd	xmm3, QWORD PTR 8[rax]
	movapd	xmm2, xmm0
	subsd	xmm2, xmm3
	movsd	xmm0, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR -144[rbp]
	movsd	xmm3, QWORD PTR 8[rax]
	subsd	xmm0, xmm3
	mulsd	xmm0, xmm2
	addsd	xmm1, xmm0
	movq	rax, xmm1
	movq	xmm0, rax
	call	sqrt@PLT
	movq	rbx, xmm0
	movsd	xmm0, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR -168[rbp]
	movsd	xmm2, QWORD PTR [rax]
	movapd	xmm1, xmm0
	subsd	xmm1, xmm2
	movsd	xmm0, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR -168[rbp]
	movsd	xmm2, QWORD PTR [rax]
	subsd	xmm0, xmm2
	mulsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR -168[rbp]
	movsd	xmm3, QWORD PTR 8[rax]
	movapd	xmm2, xmm0
	subsd	xmm2, xmm3
	movsd	xmm0, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR -168[rbp]
	movsd	xmm3, QWORD PTR 8[rax]
	subsd	xmm0, xmm3
	mulsd	xmm0, xmm2
	addsd	xmm1, xmm0
	movq	rax, xmm1
	movq	xmm0, rax
	call	sqrt@PLT
	movq	xmm5, rbx
	comisd	xmm5, xmm0
	jbe	.L83
	mov	BYTE PTR -113[rbp], 1
	mov	rax, QWORD PTR -48[rbp]
	mov	rdx, QWORD PTR -40[rbp]
	mov	QWORD PTR -64[rbp], rax
	mov	QWORD PTR -56[rbp], rdx
.L83:
	mov	rax, QWORD PTR -184[rbp]
	movsd	xmm0, QWORD PTR [rax]
	movq	xmm1, QWORD PTR .LC4[rip]
	andpd	xmm0, xmm1
	comisd	xmm0, QWORD PTR .LC3[rip]
	jbe	.L92
	pxor	xmm0, xmm0
	movsd	QWORD PTR -40[rbp], xmm0
	mov	rax, QWORD PTR -184[rbp]
	movsd	xmm0, QWORD PTR 16[rax]
	movq	xmm1, QWORD PTR .LC0[rip]
	xorpd	xmm0, xmm1
	mov	rax, QWORD PTR -184[rbp]
	movsd	xmm1, QWORD PTR [rax]
	divsd	xmm0, xmm1
	movsd	QWORD PTR -48[rbp], xmm0
	cmp	BYTE PTR -113[rbp], 0
	jne	.L94
	movsd	xmm0, QWORD PTR -48[rbp]
	comisd	xmm0, QWORD PTR .LC3[rip]
	jbe	.L94
	movsd	xmm1, QWORD PTR -48[rbp]
	mov	eax, DWORD PTR w[rip]
	pxor	xmm2, xmm2
	cvtsi2sd	xmm2, eax
	movsd	xmm0, QWORD PTR .LC3[rip]
	addsd	xmm0, xmm2
	comisd	xmm0, xmm1
	jbe	.L94
	movsd	xmm0, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR -144[rbp]
	movsd	xmm2, QWORD PTR [rax]
	movapd	xmm1, xmm0
	subsd	xmm1, xmm2
	movsd	xmm0, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR -144[rbp]
	movsd	xmm2, QWORD PTR [rax]
	subsd	xmm0, xmm2
	mulsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR -144[rbp]
	movsd	xmm3, QWORD PTR 8[rax]
	movapd	xmm2, xmm0
	subsd	xmm2, xmm3
	movsd	xmm0, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR -144[rbp]
	movsd	xmm3, QWORD PTR 8[rax]
	subsd	xmm0, xmm3
	mulsd	xmm0, xmm2
	addsd	xmm1, xmm0
	movq	rax, xmm1
	movq	xmm0, rax
	call	sqrt@PLT
	movq	rbx, xmm0
	movsd	xmm0, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR -168[rbp]
	movsd	xmm2, QWORD PTR [rax]
	movapd	xmm1, xmm0
	subsd	xmm1, xmm2
	movsd	xmm0, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR -168[rbp]
	movsd	xmm2, QWORD PTR [rax]
	subsd	xmm0, xmm2
	mulsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR -168[rbp]
	movsd	xmm3, QWORD PTR 8[rax]
	movapd	xmm2, xmm0
	subsd	xmm2, xmm3
	movsd	xmm0, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR -168[rbp]
	movsd	xmm3, QWORD PTR 8[rax]
	subsd	xmm0, xmm3
	mulsd	xmm0, xmm2
	addsd	xmm1, xmm0
	movq	rax, xmm1
	movq	xmm0, rax
	call	sqrt@PLT
	movq	xmm6, rbx
	comisd	xmm6, xmm0
	jbe	.L94
	mov	BYTE PTR -113[rbp], 1
	mov	rax, QWORD PTR -48[rbp]
	mov	rdx, QWORD PTR -40[rbp]
	mov	QWORD PTR -64[rbp], rax
	mov	QWORD PTR -56[rbp], rdx
.L94:
	mov	eax, DWORD PTR h[rip]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	movsd	QWORD PTR -40[rbp], xmm0
	mov	rax, QWORD PTR -184[rbp]
	movsd	xmm1, QWORD PTR 8[rax]
	mov	eax, DWORD PTR h[rip]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	mulsd	xmm1, xmm0
	mov	rax, QWORD PTR -184[rbp]
	movsd	xmm0, QWORD PTR 16[rax]
	addsd	xmm0, xmm1
	movq	xmm1, QWORD PTR .LC0[rip]
	xorpd	xmm0, xmm1
	mov	rax, QWORD PTR -184[rbp]
	movsd	xmm1, QWORD PTR [rax]
	divsd	xmm0, xmm1
	movsd	QWORD PTR -48[rbp], xmm0
	cmp	BYTE PTR -113[rbp], 0
	jne	.L92
	movsd	xmm0, QWORD PTR -48[rbp]
	comisd	xmm0, QWORD PTR .LC3[rip]
	jbe	.L92
	movsd	xmm1, QWORD PTR -48[rbp]
	mov	eax, DWORD PTR w[rip]
	pxor	xmm2, xmm2
	cvtsi2sd	xmm2, eax
	movsd	xmm0, QWORD PTR .LC3[rip]
	addsd	xmm0, xmm2
	comisd	xmm0, xmm1
	jbe	.L92
	movsd	xmm0, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR -144[rbp]
	movsd	xmm2, QWORD PTR [rax]
	movapd	xmm1, xmm0
	subsd	xmm1, xmm2
	movsd	xmm0, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR -144[rbp]
	movsd	xmm2, QWORD PTR [rax]
	subsd	xmm0, xmm2
	mulsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR -144[rbp]
	movsd	xmm3, QWORD PTR 8[rax]
	movapd	xmm2, xmm0
	subsd	xmm2, xmm3
	movsd	xmm0, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR -144[rbp]
	movsd	xmm3, QWORD PTR 8[rax]
	subsd	xmm0, xmm3
	mulsd	xmm0, xmm2
	addsd	xmm1, xmm0
	movq	rax, xmm1
	movq	xmm0, rax
	call	sqrt@PLT
	movq	rbx, xmm0
	movsd	xmm0, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR -168[rbp]
	movsd	xmm2, QWORD PTR [rax]
	movapd	xmm1, xmm0
	subsd	xmm1, xmm2
	movsd	xmm0, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR -168[rbp]
	movsd	xmm2, QWORD PTR [rax]
	subsd	xmm0, xmm2
	mulsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR -168[rbp]
	movsd	xmm3, QWORD PTR 8[rax]
	movapd	xmm2, xmm0
	subsd	xmm2, xmm3
	movsd	xmm0, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR -168[rbp]
	movsd	xmm3, QWORD PTR 8[rax]
	subsd	xmm0, xmm3
	mulsd	xmm0, xmm2
	addsd	xmm1, xmm0
	movq	rax, xmm1
	movq	xmm0, rax
	call	sqrt@PLT
	movq	xmm7, rbx
	comisd	xmm7, xmm0
	jbe	.L92
	mov	BYTE PTR -113[rbp], 1
	mov	rax, QWORD PTR -48[rbp]
	mov	rdx, QWORD PTR -40[rbp]
	mov	QWORD PTR -64[rbp], rax
	mov	QWORD PTR -56[rbp], rdx
.L92:
	lea	rax, -64[rbp]
	mov	rdi, rax
	call	linnearize
	movq	rax, xmm0
	mov	QWORD PTR -104[rbp], rax
	mov	rcx, QWORD PTR -152[rbp]
	lea	rdx, -80[rbp]
	mov	rax, QWORD PTR -144[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	signed_area
	movsd	xmm1, QWORD PTR .LC6[rip]
	comisd	xmm1, xmm0
	jbe	.L101
	movsd	xmm0, QWORD PTR -112[rbp]
	movsd	QWORD PTR -96[rbp], xmm0
	movsd	xmm0, QWORD PTR -104[rbp]
	movsd	QWORD PTR -112[rbp], xmm0
	movsd	xmm0, QWORD PTR -96[rbp]
	movsd	QWORD PTR -104[rbp], xmm0
.L101:
	movsd	xmm0, QWORD PTR -112[rbp]
	comisd	xmm0, QWORD PTR -104[rbp]
	jbe	.L140
	mov	edi, 24
	call	malloc@PLT
	mov	QWORD PTR -88[rbp], rax
	mov	rax, QWORD PTR -88[rbp]
	pxor	xmm0, xmm0
	movsd	QWORD PTR [rax], xmm0
	mov	rax, QWORD PTR -88[rbp]
	movsd	xmm0, QWORD PTR -104[rbp]
	movsd	QWORD PTR 8[rax], xmm0
	mov	rax, QWORD PTR -88[rbp]
	mov	QWORD PTR 16[rax], 0
	mov	rax, QWORD PTR -136[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L105
	mov	rax, QWORD PTR -136[rbp]
	mov	rdx, QWORD PTR -88[rbp]
	mov	QWORD PTR [rax], rdx
	jmp	.L106
.L105:
	mov	rdx, QWORD PTR -88[rbp]
	mov	rax, QWORD PTR -136[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	add_part
.L106:
	mov	edi, 24
	call	malloc@PLT
	mov	QWORD PTR -88[rbp], rax
	mov	rax, QWORD PTR -88[rbp]
	movsd	xmm0, QWORD PTR -112[rbp]
	movsd	QWORD PTR [rax], xmm0
	mov	eax, DWORD PTR h[rip]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	movapd	xmm1, xmm0
	addsd	xmm1, xmm0
	mov	eax, DWORD PTR w[rip]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	addsd	xmm0, xmm0
	addsd	xmm0, xmm1
	mov	rax, QWORD PTR -88[rbp]
	movsd	QWORD PTR 8[rax], xmm0
	mov	rax, QWORD PTR -88[rbp]
	mov	QWORD PTR 16[rax], 0
	mov	rdx, QWORD PTR -88[rbp]
	mov	rax, QWORD PTR -136[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	add_part
	jmp	.L141
.L140:
	mov	edi, 24
	call	malloc@PLT
	mov	QWORD PTR -88[rbp], rax
	mov	rax, QWORD PTR -88[rbp]
	movsd	xmm0, QWORD PTR -112[rbp]
	movsd	QWORD PTR [rax], xmm0
	mov	rax, QWORD PTR -88[rbp]
	movsd	xmm0, QWORD PTR -104[rbp]
	movsd	QWORD PTR 8[rax], xmm0
	mov	rax, QWORD PTR -88[rbp]
	mov	QWORD PTR 16[rax], 0
	mov	rax, QWORD PTR -136[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L108
	mov	rax, QWORD PTR -136[rbp]
	mov	rdx, QWORD PTR -88[rbp]
	mov	QWORD PTR [rax], rdx
	jmp	.L141
.L108:
	mov	rdx, QWORD PTR -88[rbp]
	mov	rax, QWORD PTR -136[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	add_part
.L141:
	nop
	mov	rax, QWORD PTR -24[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L109
	call	__stack_chk_fail@PLT
.L109:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	append_dark, .-append_dark
	.globl	merge
	.type	merge, @function
merge:
.LFB12:
	.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 -56[rbp], rdi
	mov	QWORD PTR -64[rbp], rsi
	mov	QWORD PTR -24[rbp], 0
	mov	QWORD PTR -16[rbp], 0
	mov	rax, QWORD PTR -56[rbp]
	mov	QWORD PTR -40[rbp], rax
	mov	rax, QWORD PTR -64[rbp]
	mov	QWORD PTR -32[rbp], rax
	jmp	.L143
.L165:
	mov	rax, QWORD PTR -32[rbp]
	movsd	xmm0, QWORD PTR [rax]
	mov	rax, QWORD PTR -40[rbp]
	movsd	xmm1, QWORD PTR [rax]
	subsd	xmm0, xmm1
	comisd	xmm0, QWORD PTR .LC6[rip]
	jbe	.L144
	mov	rax, QWORD PTR -40[rbp]
	movsd	xmm0, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -32[rbp]
	movsd	xmm1, QWORD PTR [rax]
	subsd	xmm0, xmm1
	comisd	xmm0, QWORD PTR .LC6[rip]
	jbe	.L144
	mov	rax, QWORD PTR -40[rbp]
	movsd	xmm0, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -32[rbp]
	movsd	xmm1, QWORD PTR 8[rax]
	subsd	xmm0, xmm1
	comisd	xmm0, QWORD PTR .LC6[rip]
	jbe	.L174
	mov	edi, 24
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -32[rbp]
	movsd	xmm0, QWORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	movsd	QWORD PTR [rax], xmm0
	mov	rax, QWORD PTR -32[rbp]
	movsd	xmm0, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -8[rbp]
	movsd	QWORD PTR 8[rax], xmm0
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 16[rax], 0
	cmp	QWORD PTR -24[rbp], 0
	je	.L149
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR 16[rax], rdx
	jmp	.L150
.L149:
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR -16[rbp], rax
.L150:
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR -32[rbp], rax
	jmp	.L143
.L174:
	mov	edi, 24
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -32[rbp]
	movsd	xmm0, QWORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	movsd	QWORD PTR [rax], xmm0
	mov	rax, QWORD PTR -40[rbp]
	movsd	xmm0, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -8[rbp]
	movsd	QWORD PTR 8[rax], xmm0
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 16[rax], 0
	cmp	QWORD PTR -24[rbp], 0
	je	.L151
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR 16[rax], rdx
	jmp	.L152
.L151:
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR -16[rbp], rax
.L152:
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR -40[rbp], rax
	jmp	.L143
.L144:
	mov	rax, QWORD PTR -40[rbp]
	movsd	xmm0, QWORD PTR [rax]
	mov	rax, QWORD PTR -32[rbp]
	movsd	xmm1, QWORD PTR [rax]
	subsd	xmm0, xmm1
	comisd	xmm0, QWORD PTR .LC6[rip]
	jbe	.L153
	mov	rax, QWORD PTR -32[rbp]
	movsd	xmm0, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -40[rbp]
	movsd	xmm1, QWORD PTR [rax]
	subsd	xmm0, xmm1
	comisd	xmm0, QWORD PTR .LC6[rip]
	jbe	.L153
	mov	rax, QWORD PTR -32[rbp]
	movsd	xmm0, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -40[rbp]
	movsd	xmm1, QWORD PTR 8[rax]
	subsd	xmm0, xmm1
	comisd	xmm0, QWORD PTR .LC6[rip]
	jbe	.L175
	mov	edi, 24
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -40[rbp]
	movsd	xmm0, QWORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	movsd	QWORD PTR [rax], xmm0
	mov	rax, QWORD PTR -40[rbp]
	movsd	xmm0, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -8[rbp]
	movsd	QWORD PTR 8[rax], xmm0
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 16[rax], 0
	cmp	QWORD PTR -24[rbp], 0
	je	.L158
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR 16[rax], rdx
	jmp	.L159
.L158:
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR -16[rbp], rax
.L159:
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR -40[rbp], rax
	jmp	.L143
.L175:
	mov	edi, 24
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -40[rbp]
	movsd	xmm0, QWORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	movsd	QWORD PTR [rax], xmm0
	mov	rax, QWORD PTR -32[rbp]
	movsd	xmm0, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -8[rbp]
	movsd	QWORD PTR 8[rax], xmm0
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 16[rax], 0
	cmp	QWORD PTR -24[rbp], 0
	je	.L160
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR 16[rax], rdx
	jmp	.L161
.L160:
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR -16[rbp], rax
.L161:
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR -32[rbp], rax
	jmp	.L143
.L153:
	mov	rax, QWORD PTR -32[rbp]
	movsd	xmm0, QWORD PTR [rax]
	mov	rax, QWORD PTR -40[rbp]
	movsd	xmm1, QWORD PTR 8[rax]
	subsd	xmm0, xmm1
	comisd	xmm0, QWORD PTR .LC6[rip]
	jbe	.L176
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR -40[rbp], rax
	jmp	.L143
.L176:
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR -32[rbp], rax
.L143:
	cmp	QWORD PTR -40[rbp], 0
	je	.L164
	cmp	QWORD PTR -32[rbp], 0
	jne	.L165
.L164:
	mov	rax, QWORD PTR -16[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	merge, .-merge
	.globl	sum_dark
	.type	sum_dark, @function
sum_dark:
.LFB13:
	.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 -40[rbp], rdi
	pxor	xmm0, xmm0
	movsd	QWORD PTR -24[rbp], xmm0
	mov	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR -16[rbp], rax
	mov	QWORD PTR -8[rbp], 0
	jmp	.L178
.L179:
	mov	rax, QWORD PTR -16[rbp]
	movsd	xmm0, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -16[rbp]
	movsd	xmm1, QWORD PTR [rax]
	subsd	xmm0, xmm1
	movsd	xmm1, QWORD PTR -24[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -24[rbp], xmm0
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	free@PLT
.L178:
	cmp	QWORD PTR -16[rbp], 0
	jne	.L179
	movsd	xmm0, QWORD PTR -24[rbp]
	movq	rax, xmm0
	movq	xmm0, rax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	sum_dark, .-sum_dark
	.section	.rodata
.LC7:
	.string	"%d %d"
.LC8:
	.string	"%d %d %d"
.LC9:
	.string	"%.4lf\n"
.LC10:
	.string	"%d %d %d %d"
	.text
	.globl	main
	.type	main, @function
main:
.LFB14:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 144
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	jmp	.L182
.L195:
	mov	eax, DWORD PTR l[rip]
	test	eax, eax
	jne	.L183
	mov	eax, DWORD PTR c[rip]
	test	eax, eax
	jne	.L183
	mov	eax, DWORD PTR w[rip]
	test	eax, eax
	jne	.L183
	mov	eax, DWORD PTR h[rip]
	test	eax, eax
	je	.L198
.L183:
	mov	DWORD PTR -128[rbp], 0
	jmp	.L185
.L186:
	lea	rdx, -136[rbp]
	lea	rax, -140[rbp]
	mov	rsi, rax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -140[rbp]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	mov	eax, DWORD PTR -128[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	lea	rax, bulbs[rip]
	movsd	QWORD PTR [rdx+rax], xmm0
	mov	eax, DWORD PTR -136[rbp]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	mov	eax, DWORD PTR -128[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	lea	rax, bulbs[rip+8]
	movsd	QWORD PTR [rdx+rax], xmm0
	add	DWORD PTR -128[rbp], 1
.L185:
	mov	eax, DWORD PTR l[rip]
	cmp	DWORD PTR -128[rbp], eax
	jl	.L186
	mov	DWORD PTR -128[rbp], 0
	jmp	.L187
.L188:
	lea	rcx, -132[rbp]
	lea	rdx, -136[rbp]
	lea	rax, -140[rbp]
	mov	rsi, rax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -140[rbp]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	mov	eax, DWORD PTR -128[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, column[rip]
	movsd	QWORD PTR [rdx+rax], xmm0
	mov	eax, DWORD PTR -136[rbp]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	mov	eax, DWORD PTR -128[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, column[rip+8]
	movsd	QWORD PTR [rdx+rax], xmm0
	mov	eax, DWORD PTR -132[rbp]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	mov	eax, DWORD PTR -128[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, column[rip+16]
	movsd	QWORD PTR [rdx+rax], xmm0
	add	DWORD PTR -128[rbp], 1
.L187:
	mov	eax, DWORD PTR c[rip]
	cmp	DWORD PTR -128[rbp], eax
	jl	.L188
	mov	QWORD PTR -112[rbp], 0
	mov	DWORD PTR -128[rbp], 0
	jmp	.L189
.L194:
	mov	QWORD PTR -120[rbp], 0
	mov	DWORD PTR -124[rbp], 0
	jmp	.L190
.L191:
	mov	eax, DWORD PTR -124[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	lea	rdx, column[rip]
	lea	rsi, [rax+rdx]
	mov	eax, DWORD PTR -128[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	lea	rax, bulbs[rip]
	lea	rdi, [rdx+rax]
	lea	rdx, -80[rbp]
	lea	rax, -96[rbp]
	mov	rcx, rdx
	mov	rdx, rax
	call	tangency_points
	mov	eax, DWORD PTR -128[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	lea	rax, bulbs[rip]
	lea	rcx, [rdx+rax]
	lea	rdx, -64[rbp]
	lea	rax, -96[rbp]
	mov	rsi, rax
	mov	rdi, rcx
	call	points_line
	mov	eax, DWORD PTR -128[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	lea	rax, bulbs[rip]
	lea	rcx, [rdx+rax]
	lea	rdx, -32[rbp]
	lea	rax, -80[rbp]
	mov	rsi, rax
	mov	rdi, rcx
	call	points_line
	mov	eax, DWORD PTR -124[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	lea	rdx, column[rip]
	lea	rdi, [rax+rdx]
	mov	eax, DWORD PTR -128[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	lea	rax, bulbs[rip]
	lea	rsi, [rdx+rax]
	lea	r9, -64[rbp]
	lea	r8, -80[rbp]
	lea	rdx, -96[rbp]
	lea	rax, -120[rbp]
	sub	rsp, 8
	lea	rcx, -32[rbp]
	push	rcx
	mov	rcx, rdx
	mov	rdx, rdi
	mov	rdi, rax
	call	append_dark
	add	rsp, 16
	add	DWORD PTR -124[rbp], 1
.L190:
	mov	eax, DWORD PTR c[rip]
	cmp	DWORD PTR -124[rbp], eax
	jl	.L191
	cmp	QWORD PTR -112[rbp], 0
	jne	.L192
	mov	rax, QWORD PTR -120[rbp]
	mov	QWORD PTR -112[rbp], rax
	jmp	.L193
.L192:
	mov	rdx, QWORD PTR -120[rbp]
	mov	rax, QWORD PTR -112[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	merge
	mov	QWORD PTR -112[rbp], rax
.L193:
	add	DWORD PTR -128[rbp], 1
.L189:
	mov	eax, DWORD PTR l[rip]
	cmp	DWORD PTR -128[rbp], eax
	jl	.L194
	mov	rax, QWORD PTR -112[rbp]
	mov	rdi, rax
	call	sum_dark
	movq	rax, xmm0
	mov	QWORD PTR -104[rbp], rax
	mov	eax, DWORD PTR h[rip]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	movapd	xmm1, xmm0
	addsd	xmm1, xmm0
	mov	eax, DWORD PTR w[rip]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	addsd	xmm0, xmm0
	addsd	xmm0, xmm1
	subsd	xmm0, QWORD PTR -104[rbp]
	movsd	QWORD PTR -104[rbp], xmm0
	mov	rax, QWORD PTR -104[rbp]
	movq	xmm0, rax
	lea	rdi, .LC9[rip]
	mov	eax, 1
	call	printf@PLT
.L182:
	lea	r8, h[rip]
	lea	rcx, w[rip]
	lea	rdx, c[rip]
	lea	rsi, l[rip]
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	test	eax, eax
	jne	.L195
	jmp	.L184
.L198:
	nop
.L184:
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L197
	call	__stack_chk_fail@PLT
.L197:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	main, .-main
	.section	.rodata
	.align 16
.LC0:
	.long	0
	.long	-2147483648
	.long	0
	.long	0
	.align 8
.LC1:
	.long	0
	.long	1072693248
	.align 8
.LC3:
	.long	-2036257893
	.long	1023837339
	.align 16
.LC4:
	.long	-1
	.long	2147483647
	.long	0
	.long	0
	.align 8
.LC5:
	.long	0
	.long	1073741824
	.align 8
.LC6:
	.long	-2036257893
	.long	-1123646309
	.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	"36795.c"
	.text
	.comm	bulbs,16000,8
	.comm	column,24000,8
	.comm	l,4,4
	.comm	c,4,4
	.comm	w,4,4
	.comm	h,4,4
	.global	__aeabi_dsub
	.global	__aeabi_dmul
	.global	__aeabi_dadd
	.global	__aeabi_ddiv
	.align	2
	.global	tangency_points
	.syntax unified
	.arm
	.fpu softvfp
	.type	tangency_points, %function
tangency_points:
	@ args = 0, pretend = 0, frame = 136
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #136
	str	r0, [fp, #-144]
	str	r1, [fp, #-148]
	str	r2, [fp, #-152]
	str	r3, [fp, #-156]
	ldr	r3, [fp, #-148]
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-140]
	str	r3, [fp, #-136]
	ldr	r3, [fp, #-148]
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-132]
	str	r3, [fp, #-128]
	ldr	r3, [fp, #-148]
	add	r3, r3, #16
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-124]
	str	r3, [fp, #-120]
	ldr	r3, [fp, #-144]
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-116]
	str	r3, [fp, #-112]
	ldr	r3, [fp, #-144]
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-108]
	str	r3, [fp, #-104]
	sub	r3, fp, #116
	ldmia	r3, {r2-r3}
	sub	r1, fp, #140
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-100]
	str	r3, [fp, #-96]
	sub	r3, fp, #108
	ldmia	r3, {r2-r3}
	sub	r1, fp, #132
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-92]
	str	r3, [fp, #-88]
	sub	r3, fp, #92
	ldmia	r3, {r2-r3}
	sub	r1, fp, #92
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	sub	r3, fp, #100
	ldmia	r3, {r2-r3}
	sub	r1, fp, #100
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	sqrt
	str	r0, [fp, #-84]
	str	r1, [fp, #-80]
	sub	r3, fp, #84
	ldmia	r3, {r2-r3}
	sub	r1, fp, #84
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	sub	r3, fp, #124
	ldmia	r3, {r2-r3}
	sub	r1, fp, #124
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	sqrt
	str	r0, [fp, #-76]
	str	r1, [fp, #-72]
	sub	r3, fp, #76
	ldmia	r3, {r2-r3}
	sub	r1, fp, #76
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	sub	r3, fp, #124
	ldmia	r3, {r2-r3}
	sub	r1, fp, #124
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	sub	r3, fp, #84
	ldmia	r3, {r2-r3}
	sub	r1, fp, #84
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	sub	r1, fp, #84
	ldmia	r1, {r0-r1}
	mov	r2, r0
	mov	r3, r1
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-68]
	str	r3, [fp, #-64]
	sub	r3, fp, #68
	ldmia	r3, {r2-r3}
	sub	r1, fp, #100
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	sub	r3, fp, #84
	ldmia	r3, {r2-r3}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #116
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-60]
	str	r3, [fp, #-56]
	sub	r3, fp, #68
	ldmia	r3, {r2-r3}
	sub	r1, fp, #92
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	sub	r3, fp, #84
	ldmia	r3, {r2-r3}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #108
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
	sub	r3, fp, #76
	ldmia	r3, {r2-r3}
	sub	r1, fp, #76
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	sub	r3, fp, #68
	ldmia	r3, {r2-r3}
	sub	r1, fp, #68
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	sqrt
	str	r0, [fp, #-44]
	str	r1, [fp, #-40]
	ldr	r4, [fp, #-92]
	ldr	r3, [fp, #-88]
	eor	r5, r3, #-2147483648
	sub	r3, fp, #84
	ldmia	r3, {r2-r3}
	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_dmul
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	sub	r3, fp, #84
	ldmia	r3, {r2-r3}
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #100
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	ldr	r1, [fp, #-152]
	stm	r1, {r2-r3}
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	ldr	r1, [fp, #-156]
	stm	r1, {r2-r3}
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	ldr	r1, [fp, #-152]
	str	r2, [r1, #8]
	str	r3, [r1, #12]
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	ldr	r1, [fp, #-156]
	str	r2, [r1, #8]
	str	r3, [r1, #12]
	nop
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
	.size	tangency_points, .-tangency_points
	.global	__aeabi_dcmpeq
	.align	2
	.global	points_line
	.syntax unified
	.arm
	.fpu softvfp
	.type	points_line, %function
points_line:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, fp, lr}
	add	fp, sp, #28
	sub	sp, sp, #16
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	str	r2, [fp, #-40]
	ldr	r3, [fp, #-32]
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-36]
	ldmia	r3, {r2-r3}
	bl	__aeabi_dcmpeq
	mov	r3, r0
	cmp	r3, #0
	beq	.L7
	ldr	r1, [fp, #-40]
	mov	r2, #0
	ldr	r3, .L9
	stm	r1, {r2-r3}
	ldr	r1, [fp, #-40]
	mov	r2, #0
	mov	r3, #0
	str	r2, [r1, #8]
	str	r3, [r1, #12]
	ldr	r3, [fp, #-32]
	ldmia	r3, {r2-r3}
	mov	r4, r2
	eor	r5, r3, #-2147483648
	ldr	r3, [fp, #-40]
	str	r4, [r3, #16]
	str	r5, [r3, #20]
	b	.L8
.L7:
	ldr	r1, [fp, #-40]
	mov	r2, #0
	ldr	r3, .L9
	str	r2, [r1, #8]
	str	r3, [r1, #12]
	ldr	r3, [fp, #-32]
	add	r1, r3, #8
	ldmia	r1, {r0-r1}
	ldr	r3, [fp, #-36]
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r8, r2
	eor	r9, r3, #-2147483648
	ldr	r3, [fp, #-32]
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-36]
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r8
	mov	r1, r9
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	ldr	r1, [fp, #-40]
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-40]
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-32]
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	eor	r7, r3, #-2147483648
	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_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	ldr	r1, [fp, #-40]
	str	r2, [r1, #16]
	str	r3, [r1, #20]
.L8:
	nop
	sub	sp, fp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, fp, pc}
.L10:
	.align	2
.L9:
	.word	1072693248
	.size	points_line, .-points_line
	.global	__aeabi_dcmplt
	.global	__aeabi_i2d
	.align	2
	.global	linnearize
	.syntax unified
	.arm
	.fpu softvfp
	.type	linnearize, %function
linnearize:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, fp, lr}
	add	fp, sp, #28
	sub	sp, sp, #8
	str	r0, [fp, #-32]
	ldr	r3, [fp, #-32]
	ldmia	r3, {r0-r1}
	ldr	r2, .L25
	ldr	r3, .L25+4
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L22
	ldr	r3, [fp, #-32]
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	b	.L14
.L22:
	ldr	r3, [fp, #-32]
	add	r9, r3, #8
	ldmia	r9, {r8-r9}
	ldr	r3, .L25+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r8
	mov	r1, r9
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	bic	r7, r3, #-2147483648
	ldr	r2, .L25
	ldr	r3, .L25+4
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L23
	ldr	r3, .L25+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	__aeabi_i2d
	ldr	r3, [fp, #-32]
	ldmia	r3, {r2-r3}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	b	.L14
.L23:
	ldr	r3, [fp, #-32]
	ldmia	r3, {r6-r7}
	ldr	r3, .L25+12
	ldr	r3, [r3]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	bic	r5, r3, #-2147483648
	ldr	r2, .L25
	ldr	r3, .L25+4
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L24
	ldr	r3, .L25+8
	ldr	r2, [r3]
	ldr	r3, .L25+12
	ldr	r3, [r3]
	add	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r4, r0
	mov	r5, r1
	ldr	r3, .L25+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	__aeabi_i2d
	ldr	r3, [fp, #-32]
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	b	.L14
.L24:
	ldr	r3, .L25+8
	ldr	r2, [r3]
	ldr	r3, .L25+12
	ldr	r3, [r3]
	add	r2, r2, r3
	ldr	r3, .L25+8
	ldr	r3, [r3]
	add	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r4, r0
	mov	r5, r1
	ldr	r3, .L25+12
	ldr	r3, [r3]
	mov	r0, r3
	bl	__aeabi_i2d
	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_dadd
	mov	r2, r0
	mov	r3, r1
.L14:
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, fp, pc}
.L26:
	.align	2
.L25:
	.word	-2036257893
	.word	1023837339
	.word	h
	.word	w
	.size	linnearize, .-linnearize
	.align	2
	.global	signed_area
	.syntax unified
	.arm
	.fpu softvfp
	.type	signed_area, %function
signed_area:
	@ 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, #-16]
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-20]
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r3, [fp, #-16]
	add	r1, r3, #8
	ldmia	r1, {r0-r1}
	ldr	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	r4, r2
	mov	r5, r3
	ldr	r3, [fp, #-16]
	add	r1, r3, #8
	ldmia	r1, {r0-r1}
	ldr	r3, [fp, #-24]
	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, #-16]
	ldmia	r3, {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_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r3, [fp, #-20]
	ldmia	r3, {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, #8
	ldmia	r1, {r0-r1}
	ldr	r3, [fp, #-24]
	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
	mov	r2, #0
	mov	r3, #1073741824
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
	.size	signed_area, .-signed_area
	.global	__aeabi_dcmpgt
	.align	2
	.global	add_part
	.syntax unified
	.arm
	.fpu softvfp
	.type	add_part, %function
add_part:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L30
.L56:
	ldr	r3, [fp, #-28]
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-16]
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r2, .L69
	ldr	r3, .L69+4
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L31
	ldr	r3, [fp, #-16]
	add	r1, r3, #8
	ldmia	r1, {r0-r1}
	ldr	r3, [fp, #-28]
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r2, .L69
	ldr	r3, .L69+4
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L31
	ldr	r3, [fp, #-28]
	add	r1, r3, #8
	ldmia	r1, {r0-r1}
	ldr	r3, [fp, #-16]
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r2, .L69
	ldr	r3, .L69+4
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L34
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #16]
	str	r3, [fp, #-12]
	b	.L36
.L40:
	ldr	r3, [fp, #-12]
	add	r1, r3, #8
	ldmia	r1, {r0-r1}
	ldr	r3, [fp, #-28]
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L37
	ldr	r3, [fp, #-12]
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	ldr	r1, [fp, #-28]
	str	r2, [r1, #8]
	str	r3, [r1, #12]
.L37:
	ldr	r3, [fp, #-12]
	ldr	r2, [r3, #16]
	ldr	r3, [fp, #-28]
	str	r2, [r3, #16]
	ldr	r0, [fp, #-12]
	bl	free
	ldr	r3, [fp, #-28]
	ldr	r3, [r3, #16]
	str	r3, [fp, #-12]
.L36:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	beq	.L39
	ldr	r3, [fp, #-28]
	add	r1, r3, #8
	ldmia	r1, {r0-r1}
	ldr	r3, [fp, #-12]
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r2, .L69
	ldr	r3, .L69+4
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	bne	.L40
.L39:
	ldr	r3, [fp, #-28]
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	ldr	r1, [fp, #-16]
	str	r2, [r1, #8]
	str	r3, [r1, #12]
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-12]
	str	r2, [r3, #16]
.L34:
	ldr	r0, [fp, #-28]
	bl	free
	b	.L41
.L31:
	ldr	r3, [fp, #-16]
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-28]
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r2, .L69
	ldr	r3, .L69+4
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L42
	ldr	r3, [fp, #-28]
	add	r1, r3, #8
	ldmia	r1, {r0-r1}
	ldr	r3, [fp, #-16]
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r2, .L69
	ldr	r3, .L69+4
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L42
	ldr	r3, [fp, #-28]
	ldmia	r3, {r2-r3}
	ldr	r1, [fp, #-16]
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-28]
	add	r1, r3, #8
	ldmia	r1, {r0-r1}
	ldr	r3, [fp, #-16]
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r2, .L69
	ldr	r3, .L69+8
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L45
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #16]
	str	r3, [fp, #-12]
	b	.L47
.L51:
	ldr	r3, [fp, #-12]
	add	r1, r3, #8
	ldmia	r1, {r0-r1}
	ldr	r3, [fp, #-28]
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L48
	ldr	r3, [fp, #-12]
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	ldr	r1, [fp, #-28]
	str	r2, [r1, #8]
	str	r3, [r1, #12]
.L48:
	ldr	r3, [fp, #-12]
	ldr	r2, [r3, #16]
	ldr	r3, [fp, #-28]
	str	r2, [r3, #16]
	ldr	r0, [fp, #-12]
	bl	free
	ldr	r3, [fp, #-28]
	ldr	r3, [r3, #16]
	str	r3, [fp, #-12]
.L47:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	beq	.L50
	ldr	r3, [fp, #-28]
	add	r1, r3, #8
	ldmia	r1, {r0-r1}
	ldr	r3, [fp, #-12]
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r2, .L69
	ldr	r3, .L69+4
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	bne	.L51
.L50:
	ldr	r3, [fp, #-28]
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	ldr	r1, [fp, #-16]
	str	r2, [r1, #8]
	str	r3, [r1, #12]
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-12]
	str	r2, [r3, #16]
.L45:
	ldr	r0, [fp, #-28]
	bl	free
	b	.L41
.L42:
	ldr	r3, [fp, #-16]
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-28]
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r2, .L69
	ldr	r3, .L69+4
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L67
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-16]
	str	r2, [r3, #16]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L54
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-28]
	str	r2, [r3]
	b	.L41
.L54:
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-28]
	str	r2, [r3, #16]
	b	.L41
.L67:
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #16]
	str	r3, [fp, #-16]
.L30:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L56
.L41:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L68
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-28]
	str	r2, [r3, #16]
.L68:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L70:
	.align	2
.L69:
	.word	-2036257893
	.word	-1123646309
	.word	1023837339
	.size	add_part, .-add_part
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	append_dark
	.syntax unified
	.arm
	.fpu softvfp
	.type	append_dark, %function
append_dark:
	@ args = 12, pretend = 0, frame = 200
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, fp, lr}
	add	fp, sp, #28
	sub	sp, sp, #200
	str	r0, [fp, #-120]
	str	r1, [fp, #-124]
	str	r2, [fp, #-128]
	str	r3, [fp, #-132]
	ldr	r3, [fp, #4]
	str	r3, [fp, #-136]
	ldr	r3, [fp, #8]
	str	r3, [fp, #-140]
	ldr	r3, [fp, #12]
	str	r3, [fp, #-144]
	ldr	r3, .L149
	ldr	r3, [r3]
	str	r3, [fp, #-32]
	mov	r3,#0
	mov	r3, #0
	strb	r3, [fp, #-113]
	ldr	r3, [fp, #-140]
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	mov	r4, r2
	bic	r5, r3, #-2147483648
	ldr	r2, .L149+8
	ldr	r3, .L149+4
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L72
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
	ldr	r3, [fp, #-140]
	add	r3, r3, #16
	ldmia	r3, {r2-r3}
	mov	r6, r2
	eor	r7, r3, #-2147483648
	ldr	r3, [fp, #-140]
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	ldr	r2, .L149+8
	ldr	r3, .L149+4
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L74
	sub	r5, fp, #44
	ldmia	r5, {r4-r5}
	ldr	r3, .L149+16
	ldr	r3, [r3]
	mov	r0, r3
	bl	__aeabi_i2d
	ldr	r2, .L149+8
	ldr	r3, .L149+4
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L74
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	ldr	r3, [fp, #-124]
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	ldr	r3, [fp, #-124]
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	ldr	r3, [fp, #-124]
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	ldr	r3, [fp, #-124]
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	sqrt
	mov	r8, r0
	mov	r9, r1
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	ldr	r3, [fp, #-132]
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	ldr	r3, [fp, #-132]
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	ldr	r3, [fp, #-132]
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	ldr	r3, [fp, #-132]
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	sqrt
	mov	r2, r0
	mov	r3, r1
	mov	r0, r8
	mov	r1, r9
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L74
	mov	r3, #1
	strb	r3, [fp, #-113]
	sub	ip, fp, #84
	sub	r3, fp, #52
	ldm	r3, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
.L74:
	ldr	r3, .L149+20
	ldr	r3, [r3]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
	ldr	r3, [fp, #-140]
	ldmia	r3, {r4-r5}
	ldr	r3, .L149+20
	ldr	r3, [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
	ldr	r3, [fp, #-140]
	add	r3, r3, #16
	ldmia	r3, {r2-r3}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-156]
	eor	r3, r3, #-2147483648
	str	r3, [fp, #-152]
	ldr	r3, [fp, #-140]
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	sub	r1, fp, #156
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	ldrb	r3, [fp, #-113]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L72
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	ldr	r2, .L149+8
	ldr	r3, .L149+4
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L72
	sub	r5, fp, #44
	ldmia	r5, {r4-r5}
	ldr	r3, .L149+16
	ldr	r3, [r3]
	mov	r0, r3
	bl	__aeabi_i2d
	ldr	r2, .L149+8
	ldr	r3, .L149+4
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L72
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	ldr	r3, [fp, #-124]
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	ldr	r3, [fp, #-124]
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	ldr	r3, [fp, #-124]
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	ldr	r3, [fp, #-124]
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	sqrt
	mov	r8, r0
	mov	r9, r1
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	ldr	r3, [fp, #-132]
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	ldr	r3, [fp, #-132]
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	ldr	r3, [fp, #-132]
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	ldr	r3, [fp, #-132]
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	sqrt
	mov	r2, r0
	mov	r3, r1
	mov	r0, r8
	mov	r1, r9
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L72
	mov	r3, #1
	strb	r3, [fp, #-113]
	sub	ip, fp, #84
	sub	r3, fp, #52
	ldm	r3, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
.L72:
	ldr	r3, [fp, #-140]
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-164]
	bic	r3, r3, #-2147483648
	str	r3, [fp, #-160]
	ldr	r2, .L149+8
	ldr	r3, .L149+4
	sub	r1, fp, #164
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L81
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-140]
	add	r3, r3, #16
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-172]
	eor	r3, r3, #-2147483648
	str	r3, [fp, #-168]
	ldr	r3, [fp, #-140]
	ldmia	r3, {r2-r3}
	sub	r1, fp, #172
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
	ldrb	r3, [fp, #-113]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L83
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	ldr	r2, .L149+8
	ldr	r3, .L149+4
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L83
	sub	r5, fp, #52
	ldmia	r5, {r4-r5}
	ldr	r3, .L149+20
	ldr	r3, [r3]
	mov	r0, r3
	bl	__aeabi_i2d
	ldr	r2, .L149+8
	ldr	r3, .L149+4
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L83
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	ldr	r3, [fp, #-124]
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	ldr	r3, [fp, #-124]
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	ldr	r3, [fp, #-124]
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	ldr	r3, [fp, #-124]
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	sqrt
	mov	r8, r0
	mov	r9, r1
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	ldr	r3, [fp, #-132]
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	ldr	r3, [fp, #-132]
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	ldr	r3, [fp, #-132]
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	ldr	r3, [fp, #-132]
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	sqrt
	mov	r2, r0
	mov	r3, r1
	mov	r0, r8
	mov	r1, r9
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L83
	mov	r3, #1
	strb	r3, [fp, #-113]
	sub	ip, fp, #84
	sub	r3, fp, #52
	ldm	r3, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
.L83:
	ldr	r3, .L149+16
	ldr	r3, [r3]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-140]
	add	r5, r3, #8
	ldmia	r5, {r4-r5}
	ldr	r3, .L149+16
	ldr	r3, [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
	ldr	r3, [fp, #-140]
	add	r3, r3, #16
	ldmia	r3, {r2-r3}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-180]
	eor	r3, r3, #-2147483648
	str	r3, [fp, #-176]
	ldr	r3, [fp, #-140]
	ldmia	r3, {r2-r3}
	sub	r1, fp, #180
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
	ldrb	r3, [fp, #-113]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L81
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	ldr	r2, .L149+8
	ldr	r3, .L149+4
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L81
	sub	r5, fp, #52
	ldmia	r5, {r4-r5}
	ldr	r3, .L149+20
	ldr	r3, [r3]
	mov	r0, r3
	bl	__aeabi_i2d
	ldr	r2, .L149+8
	ldr	r3, .L149+4
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L81
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	ldr	r3, [fp, #-124]
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	ldr	r3, [fp, #-124]
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	ldr	r3, [fp, #-124]
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	ldr	r3, [fp, #-124]
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	sqrt
	mov	r8, r0
	mov	r9, r1
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	ldr	r3, [fp, #-132]
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	ldr	r3, [fp, #-132]
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	ldr	r3, [fp, #-132]
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	ldr	r3, [fp, #-132]
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	sqrt
	mov	r2, r0
	mov	r3, r1
	mov	r0, r8
	mov	r1, r9
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L81
	mov	r3, #1
	strb	r3, [fp, #-113]
	sub	ip, fp, #84
	sub	r3, fp, #52
	ldm	r3, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
.L81:
	sub	r3, fp, #84
	mov	r0, r3
	bl	linnearize
	str	r0, [fp, #-108]
	str	r1, [fp, #-104]
	mov	r3, #0
	strb	r3, [fp, #-113]
	ldr	r3, [fp, #-144]
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-188]
	bic	r3, r3, #-2147483648
	str	r3, [fp, #-184]
	ldr	r2, .L149+8
	ldr	r3, .L149+4
	sub	r1, fp, #188
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L90
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
	ldr	r3, [fp, #-144]
	add	r3, r3, #16
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-196]
	eor	r3, r3, #-2147483648
	str	r3, [fp, #-192]
	ldr	r3, [fp, #-144]
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	sub	r1, fp, #196
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	ldr	r2, .L149+8
	ldr	r3, .L149+4
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L92
	sub	r5, fp, #44
	ldmia	r5, {r4-r5}
	ldr	r3, .L149+16
	ldr	r3, [r3]
	mov	r0, r3
	bl	__aeabi_i2d
	ldr	r2, .L149+8
	ldr	r3, .L149+4
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L92
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	ldr	r3, [fp, #-124]
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	ldr	r3, [fp, #-124]
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	ldr	r3, [fp, #-124]
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	ldr	r3, [fp, #-124]
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	sqrt
	mov	r6, r0
	mov	r7, r1
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	ldr	r3, [fp, #-136]
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	ldr	r3, [fp, #-136]
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r8, r2
	mov	r9, r3
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	ldr	r3, [fp, #-136]
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	ldr	r3, [fp, #-136]
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r8
	mov	r1, r9
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	sqrt
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L92
	mov	r3, #1
	strb	r3, [fp, #-113]
	sub	ip, fp, #68
	sub	r3, fp, #52
	ldm	r3, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
.L92:
	ldr	r3, .L149+20
	ldr	r3, [r3]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
	ldr	r3, [fp, #-144]
	ldmia	r3, {r4-r5}
	ldr	r3, .L149+20
	ldr	r3, [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
	ldr	r3, [fp, #-144]
	add	r3, r3, #16
	ldmia	r3, {r2-r3}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-204]
	eor	r3, r3, #-2147483648
	str	r3, [fp, #-200]
	ldr	r3, [fp, #-144]
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	sub	r1, fp, #204
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	ldrb	r3, [fp, #-113]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L90
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	ldr	r2, .L149+8
	b	.L150
.L151:
	.align	2
.L149:
	.word	.LC0
	.word	1023837339
	.word	-2036257893
	.word	-1123646309
	.word	h
	.word	w
	.word	.LC0
.L150:
	ldr	r3, .L149+4
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L90
	sub	r5, fp, #44
	ldmia	r5, {r4-r5}
	ldr	r3, .L149+16
	ldr	r3, [r3]
	mov	r0, r3
	bl	__aeabi_i2d
	ldr	r2, .L149+8
	ldr	r3, .L149+4
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L90
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	ldr	r3, [fp, #-124]
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	ldr	r3, [fp, #-124]
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	ldr	r3, [fp, #-124]
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	ldr	r3, [fp, #-124]
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	sqrt
	mov	r6, r0
	mov	r7, r1
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	ldr	r3, [fp, #-136]
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	ldr	r3, [fp, #-136]
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r8, r2
	mov	r9, r3
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	ldr	r3, [fp, #-136]
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	ldr	r3, [fp, #-136]
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r8
	mov	r1, r9
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	sqrt
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L90
	mov	r3, #1
	strb	r3, [fp, #-113]
	sub	ip, fp, #68
	sub	r3, fp, #52
	ldm	r3, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
.L90:
	ldr	r3, [fp, #-144]
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-212]
	bic	r3, r3, #-2147483648
	str	r3, [fp, #-208]
	ldr	r2, .L149+8
	ldr	r3, .L149+4
	sub	r1, fp, #212
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L99
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-144]
	add	r3, r3, #16
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-220]
	eor	r3, r3, #-2147483648
	str	r3, [fp, #-216]
	ldr	r3, [fp, #-144]
	ldmia	r3, {r2-r3}
	sub	r1, fp, #220
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
	ldrb	r3, [fp, #-113]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L101
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	ldr	r2, .L149+8
	ldr	r3, .L149+4
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L101
	sub	r5, fp, #52
	ldmia	r5, {r4-r5}
	ldr	r3, .L149+20
	ldr	r3, [r3]
	mov	r0, r3
	bl	__aeabi_i2d
	ldr	r2, .L149+8
	ldr	r3, .L149+4
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L101
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	ldr	r3, [fp, #-124]
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	ldr	r3, [fp, #-124]
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	ldr	r3, [fp, #-124]
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	ldr	r3, [fp, #-124]
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	sqrt
	mov	r4, r0
	mov	r5, r1
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	ldr	r3, [fp, #-136]
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	ldr	r3, [fp, #-136]
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	ldr	r3, [fp, #-136]
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r8, r2
	mov	r9, r3
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	ldr	r3, [fp, #-136]
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r8
	mov	r1, r9
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	sqrt
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L101
	mov	r3, #1
	strb	r3, [fp, #-113]
	sub	ip, fp, #68
	sub	r3, fp, #52
	ldm	r3, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
.L101:
	ldr	r3, .L149+16
	ldr	r3, [r3]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-144]
	add	r5, r3, #8
	ldmia	r5, {r4-r5}
	ldr	r3, .L149+16
	ldr	r3, [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
	ldr	r3, [fp, #-144]
	add	r3, r3, #16
	ldmia	r3, {r2-r3}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-228]
	eor	r3, r3, #-2147483648
	str	r3, [fp, #-224]
	ldr	r3, [fp, #-144]
	ldmia	r3, {r2-r3}
	sub	r1, fp, #228
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
	ldrb	r3, [fp, #-113]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L99
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	ldr	r2, .L149+8
	ldr	r3, .L149+4
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L99
	sub	r5, fp, #52
	ldmia	r5, {r4-r5}
	ldr	r3, .L149+20
	ldr	r3, [r3]
	mov	r0, r3
	bl	__aeabi_i2d
	ldr	r2, .L149+8
	ldr	r3, .L149+4
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L99
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	ldr	r3, [fp, #-124]
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	ldr	r3, [fp, #-124]
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	ldr	r3, [fp, #-124]
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	ldr	r3, [fp, #-124]
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	sqrt
	mov	r4, r0
	mov	r5, r1
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	ldr	r3, [fp, #-136]
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	ldr	r3, [fp, #-136]
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	ldr	r3, [fp, #-136]
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r8, r2
	mov	r9, r3
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	ldr	r3, [fp, #-136]
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r8
	mov	r1, r9
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	sqrt
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L99
	mov	r3, #1
	strb	r3, [fp, #-113]
	sub	ip, fp, #68
	sub	r3, fp, #52
	ldm	r3, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
.L99:
	sub	r3, fp, #68
	mov	r0, r3
	bl	linnearize
	str	r0, [fp, #-100]
	str	r1, [fp, #-96]
	ldr	r3, [fp, #-128]
	sub	r2, fp, #84
	mov	r1, r3
	ldr	r0, [fp, #-124]
	bl	signed_area
	ldr	r2, .L149+8
	ldr	r3, .L149+12
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L108
	sub	r3, fp, #108
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-92]
	str	r3, [fp, #-88]
	sub	r3, fp, #100
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-108]
	str	r3, [fp, #-104]
	sub	r3, fp, #92
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-100]
	str	r3, [fp, #-96]
.L108:
	sub	r3, fp, #100
	ldmia	r3, {r2-r3}
	sub	r1, fp, #108
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L147
	mov	r0, #24
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-112]
	ldr	r1, [fp, #-112]
	mov	r2, #0
	mov	r3, #0
	stm	r1, {r2-r3}
	ldr	r1, [fp, #-112]
	sub	r3, fp, #100
	ldmia	r3, {r2-r3}
	str	r2, [r1, #8]
	str	r3, [r1, #12]
	ldr	r3, [fp, #-112]
	mov	r2, #0
	str	r2, [r3, #16]
	ldr	r3, [fp, #-120]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L112
	ldr	r3, [fp, #-120]
	ldr	r2, [fp, #-112]
	str	r2, [r3]
	b	.L113
.L112:
	ldr	r1, [fp, #-112]
	ldr	r0, [fp, #-120]
	bl	add_part
.L113:
	mov	r0, #24
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-112]
	ldr	r1, [fp, #-112]
	sub	r3, fp, #108
	ldmia	r3, {r2-r3}
	stm	r1, {r2-r3}
	ldr	r3, .L149+16
	ldr	r3, [r3]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r3, .L149+20
	ldr	r3, [r3]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	ldr	r1, [fp, #-112]
	str	r2, [r1, #8]
	str	r3, [r1, #12]
	ldr	r3, [fp, #-112]
	mov	r2, #0
	str	r2, [r3, #16]
	ldr	r1, [fp, #-112]
	ldr	r0, [fp, #-120]
	bl	add_part
	b	.L148
.L147:
	mov	r0, #24
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-112]
	ldr	r1, [fp, #-112]
	sub	r3, fp, #108
	ldmia	r3, {r2-r3}
	stm	r1, {r2-r3}
	ldr	r1, [fp, #-112]
	sub	r3, fp, #100
	ldmia	r3, {r2-r3}
	str	r2, [r1, #8]
	str	r3, [r1, #12]
	ldr	r3, [fp, #-112]
	mov	r2, #0
	str	r2, [r3, #16]
	ldr	r3, [fp, #-120]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L115
	ldr	r3, [fp, #-120]
	ldr	r2, [fp, #-112]
	str	r2, [r3]
	b	.L148
.L115:
	ldr	r1, [fp, #-112]
	ldr	r0, [fp, #-120]
	bl	add_part
.L148:
	nop
	ldr	r3, .L149+24
	ldr	r2, [r3]
	ldr	r3, [fp, #-32]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L116
	bl	__stack_chk_fail
.L116:
	sub	sp, fp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, fp, pc}
	.size	append_dark, .-append_dark
	.align	2
	.global	merge
	.syntax unified
	.arm
	.fpu softvfp
	.type	merge, %function
merge:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	mov	r3, #0
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-32]
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-36]
	str	r3, [fp, #-20]
	b	.L153
.L175:
	ldr	r3, [fp, #-20]
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-24]
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r2, .L187
	ldr	r3, .L187+4
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L154
	ldr	r3, [fp, #-24]
	add	r1, r3, #8
	ldmia	r1, {r0-r1}
	ldr	r3, [fp, #-20]
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r2, .L187
	ldr	r3, .L187+4
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L154
	ldr	r3, [fp, #-24]
	add	r1, r3, #8
	ldmia	r1, {r0-r1}
	ldr	r3, [fp, #-20]
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r2, .L187
	ldr	r3, .L187+4
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L184
	mov	r0, #24
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-20]
	ldmia	r3, {r2-r3}
	ldr	r1, [fp, #-8]
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-20]
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	ldr	r1, [fp, #-8]
	str	r2, [r1, #8]
	str	r3, [r1, #12]
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3, #16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L159
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-8]
	str	r2, [r3, #16]
	b	.L160
.L159:
	ldr	r3, [fp, #-8]
	str	r3, [fp, #-12]
.L160:
	ldr	r3, [fp, #-8]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-20]
	ldr	r3, [r3, #16]
	str	r3, [fp, #-20]
	b	.L153
.L184:
	mov	r0, #24
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-20]
	ldmia	r3, {r2-r3}
	ldr	r1, [fp, #-8]
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-24]
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	ldr	r1, [fp, #-8]
	str	r2, [r1, #8]
	str	r3, [r1, #12]
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3, #16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L161
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-8]
	str	r2, [r3, #16]
	b	.L162
.L161:
	ldr	r3, [fp, #-8]
	str	r3, [fp, #-12]
.L162:
	ldr	r3, [fp, #-8]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #16]
	str	r3, [fp, #-24]
	b	.L153
.L154:
	ldr	r3, [fp, #-24]
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-20]
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r2, .L187
	ldr	r3, .L187+4
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L163
	ldr	r3, [fp, #-20]
	add	r1, r3, #8
	ldmia	r1, {r0-r1}
	ldr	r3, [fp, #-24]
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r2, .L187
	ldr	r3, .L187+4
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L163
	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_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r2, .L187
	ldr	r3, .L187+4
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L185
	mov	r0, #24
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-24]
	ldmia	r3, {r2-r3}
	ldr	r1, [fp, #-8]
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-24]
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	ldr	r1, [fp, #-8]
	str	r2, [r1, #8]
	str	r3, [r1, #12]
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3, #16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L168
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-8]
	str	r2, [r3, #16]
	b	.L169
.L168:
	ldr	r3, [fp, #-8]
	str	r3, [fp, #-12]
.L169:
	ldr	r3, [fp, #-8]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #16]
	str	r3, [fp, #-24]
	b	.L153
.L185:
	mov	r0, #24
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-24]
	ldmia	r3, {r2-r3}
	ldr	r1, [fp, #-8]
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-20]
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	ldr	r1, [fp, #-8]
	str	r2, [r1, #8]
	str	r3, [r1, #12]
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3, #16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L170
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-8]
	str	r2, [r3, #16]
	b	.L171
.L170:
	ldr	r3, [fp, #-8]
	str	r3, [fp, #-12]
.L171:
	ldr	r3, [fp, #-8]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-20]
	ldr	r3, [r3, #16]
	str	r3, [fp, #-20]
	b	.L153
.L163:
	ldr	r3, [fp, #-20]
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-24]
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r2, .L187
	ldr	r3, .L187+4
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L186
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #16]
	str	r3, [fp, #-24]
	b	.L153
.L186:
	ldr	r3, [fp, #-20]
	ldr	r3, [r3, #16]
	str	r3, [fp, #-20]
.L153:
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	beq	.L174
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L175
.L174:
	ldr	r3, [fp, #-12]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L188:
	.align	2
.L187:
	.word	-2036257893
	.word	-1123646309
	.size	merge, .-merge
	.align	2
	.global	sum_dark
	.syntax unified
	.arm
	.fpu softvfp
	.type	sum_dark, %function
sum_dark:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-12]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-24]
	str	r3, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L190
.L191:
	ldr	r3, [fp, #-20]
	add	r1, r3, #8
	ldmia	r1, {r0-r1}
	ldr	r3, [fp, #-20]
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #12
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-12]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-20]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-20]
	ldr	r3, [r3, #16]
	str	r3, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	free
.L190:
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L191
	sub	r3, fp, #12
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	sum_dark, .-sum_dark
	.section	.rodata
	.align	2
.LC1:
	.ascii	"%d %d\000"
	.align	2
.LC2:
	.ascii	"%d %d %d\000"
	.align	2
.LC3:
	.ascii	"%.4lf\012\000"
	.align	2
.LC4:
	.ascii	"%d %d %d %d\000"
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 128
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #144
	ldr	r3, .L211
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	b	.L194
.L207:
	ldr	r3, .L211+4
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L195
	ldr	r3, .L211+8
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L195
	ldr	r3, .L211+12
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L195
	ldr	r3, .L211+16
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L210
.L195:
	mov	r3, #0
	str	r3, [fp, #-120]
	b	.L197
.L198:
	sub	r2, fp, #128
	sub	r3, fp, #132
	mov	r1, r3
	ldr	r0, .L211+20
	bl	__isoc99_scanf
	ldr	r3, [fp, #-132]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L211+24
	ldr	r1, [fp, #-120]
	lsl	r1, r1, #4
	add	r1, r0, r1
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-128]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L211+24
	ldr	r1, [fp, #-120]
	lsl	r1, r1, #4
	add	r1, r0, r1
	add	r1, r1, #8
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-120]
	add	r3, r3, #1
	str	r3, [fp, #-120]
.L197:
	ldr	r3, .L211+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-120]
	cmp	r2, r3
	blt	.L198
	mov	r3, #0
	str	r3, [fp, #-120]
	b	.L199
.L200:
	sub	r3, fp, #124
	sub	r2, fp, #128
	sub	r1, fp, #132
	ldr	r0, .L211+28
	bl	__isoc99_scanf
	ldr	r3, [fp, #-132]
	mov	r0, r3
	bl	__aeabi_i2d
	ldr	ip, .L211+32
	ldr	r2, [fp, #-120]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, ip, r3
	stm	r3, {r0-r1}
	ldr	r3, [fp, #-128]
	mov	r0, r3
	bl	__aeabi_i2d
	ldr	ip, .L211+32
	ldr	r2, [fp, #-120]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, ip, r3
	add	r3, r3, #8
	stm	r3, {r0-r1}
	ldr	r3, [fp, #-124]
	mov	r0, r3
	bl	__aeabi_i2d
	ldr	ip, .L211+32
	ldr	r2, [fp, #-120]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, ip, r3
	add	r3, r3, #16
	stm	r3, {r0-r1}
	ldr	r3, [fp, #-120]
	add	r3, r3, #1
	str	r3, [fp, #-120]
.L199:
	ldr	r3, .L211+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-120]
	cmp	r2, r3
	blt	.L200
	mov	r3, #0
	str	r3, [fp, #-112]
	mov	r3, #0
	str	r3, [fp, #-120]
	b	.L201
.L206:
	mov	r3, #0
	str	r3, [fp, #-136]
	mov	r3, #0
	str	r3, [fp, #-116]
	b	.L202
.L203:
	ldr	r3, [fp, #-120]
	lsl	r3, r3, #4
	ldr	r2, .L211+24
	add	r0, r3, r2
	ldr	r2, [fp, #-116]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	ldr	r2, .L211+32
	add	r1, r3, r2
	sub	r3, fp, #84
	sub	r2, fp, #100
	bl	tangency_points
	ldr	r3, [fp, #-120]
	lsl	r3, r3, #4
	ldr	r2, .L211+24
	add	r3, r3, r2
	sub	r2, fp, #68
	sub	r1, fp, #100
	mov	r0, r3
	bl	points_line
	ldr	r3, [fp, #-120]
	lsl	r3, r3, #4
	ldr	r2, .L211+24
	add	r3, r3, r2
	sub	r2, fp, #44
	sub	r1, fp, #84
	mov	r0, r3
	bl	points_line
	ldr	r3, [fp, #-120]
	lsl	r3, r3, #4
	ldr	r2, .L211+24
	add	r1, r3, r2
	ldr	r2, [fp, #-116]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	ldr	r2, .L211+32
	add	r2, r3, r2
	sub	ip, fp, #100
	sub	r0, fp, #136
	sub	r3, fp, #44
	str	r3, [sp, #8]
	sub	r3, fp, #68
	str	r3, [sp, #4]
	sub	r3, fp, #84
	str	r3, [sp]
	mov	r3, ip
	bl	append_dark
	ldr	r3, [fp, #-116]
	add	r3, r3, #1
	str	r3, [fp, #-116]
.L202:
	ldr	r3, .L211+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-116]
	cmp	r2, r3
	blt	.L203
	ldr	r3, [fp, #-112]
	cmp	r3, #0
	bne	.L204
	ldr	r3, [fp, #-136]
	str	r3, [fp, #-112]
	b	.L205
.L204:
	ldr	r3, [fp, #-136]
	mov	r1, r3
	ldr	r0, [fp, #-112]
	bl	merge
	str	r0, [fp, #-112]
.L205:
	ldr	r3, [fp, #-120]
	add	r3, r3, #1
	str	r3, [fp, #-120]
.L201:
	ldr	r3, .L211+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-120]
	cmp	r2, r3
	blt	.L206
	ldr	r0, [fp, #-112]
	bl	sum_dark
	str	r0, [fp, #-108]
	str	r1, [fp, #-104]
	ldr	r3, .L211+16
	ldr	r3, [r3]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r3, .L211+12
	ldr	r3, [r3]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	bl	__aeabi_dadd
	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
	sub	r3, fp, #108
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-108]
	str	r3, [fp, #-104]
	sub	r3, fp, #108
	ldmia	r3, {r2-r3}
	ldr	r0, .L211+36
	bl	printf
.L194:
	ldr	r3, .L211+16
	str	r3, [sp]
	ldr	r3, .L211+12
	ldr	r2, .L211+8
	ldr	r1, .L211+4
	ldr	r0, .L211+40
	bl	__isoc99_scanf
	mov	r3, r0
	cmp	r3, #0
	bne	.L207
	b	.L196
.L210:
	nop
.L196:
	mov	r3, #0
	ldr	r2, .L211
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L209
	bl	__stack_chk_fail
.L209:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L212:
	.align	2
.L211:
	.word	.LC5
	.word	l
	.word	c
	.word	w
	.word	h
	.word	.LC1
	.word	bulbs
	.word	.LC2
	.word	column
	.word	.LC3
	.word	.LC4
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
