	.file	"345467.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"Memory Allocation Error\n"
.LC1:
	.string	"Problem making beam\n"
.LC2:
	.string	"Problem making psw beams\n"
.LC3:
	.string	"Bad beam type selected"
	.text
	.globl	slidebeam
	.type	slidebeam, @function
slidebeam:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r13
	push	r12
	push	rbx
	sub	rsp, 136
	.cfi_offset 13, -24
	.cfi_offset 12, -32
	.cfi_offset 3, -40
	mov	DWORD PTR -100[rbp], edi
	mov	DWORD PTR -104[rbp], esi
	mov	DWORD PTR -108[rbp], edx
	mov	DWORD PTR -112[rbp], ecx
	mov	DWORD PTR -116[rbp], r8d
	mov	DWORD PTR -120[rbp], r9d
	movsd	QWORD PTR -128[rbp], xmm0
	movsd	QWORD PTR -136[rbp], xmm1
	mov	rax, QWORD PTR 32[rbp]
	mov	QWORD PTR -144[rbp], rax
	mov	rax, QWORD PTR 40[rbp]
	mov	QWORD PTR -152[rbp], rax
	mov	rax, QWORD PTR 48[rbp]
	mov	QWORD PTR -160[rbp], rax
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -40[rbp], rax
	xor	eax, eax
	mov	rax, rsp
	mov	rbx, rax
	mov	eax, DWORD PTR -100[rbp]
	cdqe
	sub	rax, 1
	mov	QWORD PTR -72[rbp], rax
	mov	eax, DWORD PTR -100[rbp]
	cdqe
	mov	r12, rax
	mov	r13d, 0
	mov	eax, DWORD PTR -100[rbp]
	cdqe
	mov	r10, rax
	mov	r11d, 0
	mov	eax, DWORD PTR -100[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	esi, 16
	mov	edx, 0
	div	rsi
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L2:
	cmp	rsp, rdx
	je	.L3
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L2
.L3:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L4
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L4:
	mov	rax, rsp
	add	rax, 7
	shr	rax, 3
	sal	rax, 3
	mov	QWORD PTR -64[rbp], rax
	mov	eax, DWORD PTR 16[rbp]
	cdqe
	sal	rax, 3
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -56[rbp], rax
	cmp	QWORD PTR -56[rbp], 0
	jne	.L5
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 24
	mov	esi, 1
	lea	rdi, .LC0[rip]
	call	fwrite@PLT
	mov	edi, 1
	call	exit@PLT
.L5:
	mov	DWORD PTR -76[rbp], 0
	jmp	.L6
.L19:
	mov	DWORD PTR -80[rbp], 0
	jmp	.L7
.L18:
	mov	DWORD PTR -84[rbp], 0
	jmp	.L8
.L9:
	mov	eax, DWORD PTR -84[rbp]
	imul	eax, DWORD PTR -104[rbp]
	imul	eax, DWORD PTR -108[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -76[rbp]
	imul	eax, DWORD PTR -108[rbp]
	add	edx, eax
	mov	eax, DWORD PTR -80[rbp]
	add	eax, edx
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -144[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mov	rax, QWORD PTR -64[rbp]
	mov	edx, DWORD PTR -84[rbp]
	movsx	rdx, edx
	movsd	QWORD PTR [rax+rdx*8], xmm0
	add	DWORD PTR -84[rbp], 1
.L8:
	mov	eax, DWORD PTR -84[rbp]
	cmp	eax, DWORD PTR -100[rbp]
	jl	.L9
	cmp	DWORD PTR -116[rbp], 3
	je	.L10
	cmp	DWORD PTR -116[rbp], 3
	jg	.L11
	cmp	DWORD PTR -116[rbp], 1
	je	.L12
	cmp	DWORD PTR -116[rbp], 2
	je	.L13
	jmp	.L11
.L12:
	mov	r8, QWORD PTR -56[rbp]
	mov	ecx, DWORD PTR -120[rbp]
	movsd	xmm0, QWORD PTR -128[rbp]
	mov	rdi, QWORD PTR -136[rbp]
	mov	edx, DWORD PTR -100[rbp]
	mov	rsi, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR -152[rbp]
	mov	r9, r8
	mov	r8d, ecx
	movapd	xmm1, xmm0
	mov	ecx, DWORD PTR 16[rbp]
	movq	xmm0, rdi
	mov	rdi, rax
	call	do_beam
	cmp	eax, 1
	jne	.L14
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 20
	mov	esi, 1
	lea	rdi, .LC1[rip]
	call	fwrite@PLT
	mov	edi, 1
	call	exit@PLT
.L14:
	mov	edx, DWORD PTR -112[rbp]
	mov	rax, QWORD PTR -56[rbp]
	mov	esi, DWORD PTR 16[rbp]
	mov	rdi, rax
	call	get_mag
	movq	rax, xmm0
	mov	QWORD PTR -48[rbp], rax
	mov	eax, DWORD PTR -76[rbp]
	imul	eax, DWORD PTR -108[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -80[rbp]
	add	eax, edx
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -160[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR -48[rbp]
	movsd	QWORD PTR [rax], xmm0
	jmp	.L15
.L13:
	mov	r8d, DWORD PTR 24[rbp]
	mov	ecx, DWORD PTR -120[rbp]
	movsd	xmm0, QWORD PTR -128[rbp]
	mov	rdi, QWORD PTR -136[rbp]
	mov	edx, DWORD PTR -100[rbp]
	mov	rsi, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR -152[rbp]
	sub	rsp, 8
	push	QWORD PTR -56[rbp]
	mov	r9d, r8d
	mov	r8d, ecx
	movapd	xmm1, xmm0
	mov	ecx, DWORD PTR 16[rbp]
	movq	xmm0, rdi
	mov	rdi, rax
	call	do_beam_psw
	add	rsp, 16
	cmp	eax, 1
	jne	.L16
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 25
	mov	esi, 1
	lea	rdi, .LC2[rip]
	call	fwrite@PLT
	mov	edi, 1
	call	exit@PLT
.L16:
	mov	edx, DWORD PTR -112[rbp]
	mov	rax, QWORD PTR -56[rbp]
	mov	esi, DWORD PTR 16[rbp]
	mov	rdi, rax
	call	get_mag
	movq	rax, xmm0
	mov	QWORD PTR -48[rbp], rax
	mov	eax, DWORD PTR -76[rbp]
	imul	eax, DWORD PTR -108[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -80[rbp]
	add	eax, edx
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -160[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR -48[rbp]
	movsd	QWORD PTR [rax], xmm0
	jmp	.L15
.L10:
	mov	r8d, DWORD PTR 24[rbp]
	mov	ecx, DWORD PTR -120[rbp]
	movsd	xmm0, QWORD PTR -128[rbp]
	mov	rdi, QWORD PTR -136[rbp]
	mov	edx, DWORD PTR -100[rbp]
	mov	rsi, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR -152[rbp]
	sub	rsp, 8
	push	QWORD PTR -56[rbp]
	mov	r9d, r8d
	mov	r8d, ecx
	movapd	xmm1, xmm0
	mov	ecx, DWORD PTR 16[rbp]
	movq	xmm0, rdi
	mov	rdi, rax
	call	do_beam_root
	add	rsp, 16
	cmp	eax, 1
	jne	.L17
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 25
	mov	esi, 1
	lea	rdi, .LC2[rip]
	call	fwrite@PLT
	mov	edi, 1
	call	exit@PLT
.L17:
	mov	edx, DWORD PTR -112[rbp]
	mov	rax, QWORD PTR -56[rbp]
	mov	esi, DWORD PTR 16[rbp]
	mov	rdi, rax
	call	get_mag
	movq	rax, xmm0
	mov	QWORD PTR -48[rbp], rax
	mov	eax, DWORD PTR -76[rbp]
	imul	eax, DWORD PTR -108[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -80[rbp]
	add	eax, edx
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -160[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR -48[rbp]
	movsd	QWORD PTR [rax], xmm0
	jmp	.L15
.L11:
	lea	rdi, .LC3[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
.L15:
	add	DWORD PTR -80[rbp], 1
.L7:
	mov	eax, DWORD PTR -80[rbp]
	cmp	eax, DWORD PTR -108[rbp]
	jl	.L18
	add	DWORD PTR -76[rbp], 1
.L6:
	mov	eax, DWORD PTR -76[rbp]
	cmp	eax, DWORD PTR -104[rbp]
	jl	.L19
	mov	eax, 0
	mov	rsp, rbx
	mov	rbx, QWORD PTR -40[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L21
	call	__stack_chk_fail@PLT
.L21:
	lea	rsp, -24[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	slidebeam, .-slidebeam
	.globl	slant
	.type	slant, @function
slant:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r13
	push	r12
	push	rbx
	sub	rsp, 120
	.cfi_offset 13, -24
	.cfi_offset 12, -32
	.cfi_offset 3, -40
	mov	DWORD PTR -84[rbp], edi
	mov	DWORD PTR -88[rbp], esi
	mov	DWORD PTR -92[rbp], edx
	mov	DWORD PTR -96[rbp], ecx
	movsd	QWORD PTR -104[rbp], xmm0
	movsd	QWORD PTR -112[rbp], xmm1
	mov	DWORD PTR -116[rbp], r8d
	mov	DWORD PTR -120[rbp], r9d
	mov	rax, QWORD PTR 16[rbp]
	mov	QWORD PTR -128[rbp], rax
	mov	rax, QWORD PTR 24[rbp]
	mov	QWORD PTR -136[rbp], rax
	mov	rax, QWORD PTR 32[rbp]
	mov	QWORD PTR -144[rbp], rax
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -40[rbp], rax
	xor	eax, eax
	mov	rax, rsp
	mov	rbx, rax
	mov	eax, DWORD PTR -84[rbp]
	cdqe
	sub	rax, 1
	mov	QWORD PTR -64[rbp], rax
	mov	eax, DWORD PTR -84[rbp]
	cdqe
	mov	r12, rax
	mov	r13d, 0
	mov	eax, DWORD PTR -84[rbp]
	cdqe
	mov	r10, rax
	mov	r11d, 0
	mov	eax, DWORD PTR -84[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	esi, 16
	mov	edx, 0
	div	rsi
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L23:
	cmp	rsp, rdx
	je	.L24
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L23
.L24:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L25
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L25:
	mov	rax, rsp
	add	rax, 7
	shr	rax, 3
	sal	rax, 3
	mov	QWORD PTR -56[rbp], rax
	mov	eax, DWORD PTR -116[rbp]
	cdqe
	sal	rax, 3
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -48[rbp], rax
	cmp	QWORD PTR -48[rbp], 0
	jne	.L26
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 24
	mov	esi, 1
	lea	rdi, .LC0[rip]
	call	fwrite@PLT
	mov	edi, 1
	call	exit@PLT
.L26:
	mov	DWORD PTR -76[rbp], 0
	jmp	.L27
.L44:
	mov	DWORD PTR -68[rbp], 0
	jmp	.L28
.L29:
	mov	eax, DWORD PTR -68[rbp]
	imul	eax, DWORD PTR -88[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -76[rbp]
	add	eax, edx
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -128[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mov	rax, QWORD PTR -56[rbp]
	mov	edx, DWORD PTR -68[rbp]
	movsx	rdx, edx
	movsd	QWORD PTR [rax+rdx*8], xmm0
	add	DWORD PTR -68[rbp], 1
.L28:
	mov	eax, DWORD PTR -68[rbp]
	cmp	eax, DWORD PTR -84[rbp]
	jl	.L29
	cmp	DWORD PTR -92[rbp], 3
	je	.L30
	cmp	DWORD PTR -92[rbp], 3
	jg	.L31
	cmp	DWORD PTR -92[rbp], 1
	je	.L32
	cmp	DWORD PTR -92[rbp], 2
	je	.L33
	jmp	.L31
.L32:
	mov	r9, QWORD PTR -48[rbp]
	mov	r8d, DWORD PTR -96[rbp]
	movsd	xmm0, QWORD PTR -104[rbp]
	mov	ecx, DWORD PTR -116[rbp]
	mov	rdi, QWORD PTR -112[rbp]
	mov	edx, DWORD PTR -84[rbp]
	mov	rsi, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR -136[rbp]
	movapd	xmm1, xmm0
	movq	xmm0, rdi
	mov	rdi, rax
	call	do_beam
	cmp	eax, 1
	jne	.L34
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 20
	mov	esi, 1
	lea	rdi, .LC1[rip]
	call	fwrite@PLT
	mov	edi, 1
	call	exit@PLT
.L34:
	mov	DWORD PTR -72[rbp], 0
	jmp	.L35
.L36:
	mov	eax, DWORD PTR -72[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -48[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -76[rbp]
	imul	eax, DWORD PTR -116[rbp]
	mov	ecx, eax
	mov	eax, DWORD PTR -72[rbp]
	add	eax, ecx
	cdqe
	lea	rcx, 0[0+rax*8]
	mov	rax, QWORD PTR -144[rbp]
	add	rax, rcx
	movsd	xmm0, QWORD PTR [rdx]
	movsd	QWORD PTR [rax], xmm0
	add	DWORD PTR -72[rbp], 1
.L35:
	mov	eax, DWORD PTR -72[rbp]
	cmp	eax, DWORD PTR -116[rbp]
	jl	.L36
	jmp	.L37
.L33:
	mov	r9d, DWORD PTR -120[rbp]
	mov	r8d, DWORD PTR -96[rbp]
	movsd	xmm0, QWORD PTR -104[rbp]
	mov	ecx, DWORD PTR -116[rbp]
	mov	rdi, QWORD PTR -112[rbp]
	mov	edx, DWORD PTR -84[rbp]
	mov	rsi, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR -136[rbp]
	sub	rsp, 8
	push	QWORD PTR -48[rbp]
	movapd	xmm1, xmm0
	movq	xmm0, rdi
	mov	rdi, rax
	call	do_beam_psw
	add	rsp, 16
	cmp	eax, 1
	jne	.L38
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 25
	mov	esi, 1
	lea	rdi, .LC2[rip]
	call	fwrite@PLT
	mov	edi, 1
	call	exit@PLT
.L38:
	mov	DWORD PTR -72[rbp], 0
	jmp	.L39
.L40:
	mov	eax, DWORD PTR -72[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -48[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -76[rbp]
	imul	eax, DWORD PTR -116[rbp]
	mov	ecx, eax
	mov	eax, DWORD PTR -72[rbp]
	add	eax, ecx
	cdqe
	lea	rcx, 0[0+rax*8]
	mov	rax, QWORD PTR -144[rbp]
	add	rax, rcx
	movsd	xmm0, QWORD PTR [rdx]
	movsd	QWORD PTR [rax], xmm0
	add	DWORD PTR -72[rbp], 1
.L39:
	mov	eax, DWORD PTR -72[rbp]
	cmp	eax, DWORD PTR -116[rbp]
	jl	.L40
	jmp	.L37
.L30:
	mov	r9d, DWORD PTR -120[rbp]
	mov	r8d, DWORD PTR -96[rbp]
	movsd	xmm0, QWORD PTR -104[rbp]
	mov	ecx, DWORD PTR -116[rbp]
	mov	rdi, QWORD PTR -112[rbp]
	mov	edx, DWORD PTR -84[rbp]
	mov	rsi, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR -136[rbp]
	sub	rsp, 8
	push	QWORD PTR -48[rbp]
	movapd	xmm1, xmm0
	movq	xmm0, rdi
	mov	rdi, rax
	call	do_beam_root
	add	rsp, 16
	cmp	eax, 1
	jne	.L41
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 25
	mov	esi, 1
	lea	rdi, .LC2[rip]
	call	fwrite@PLT
	mov	edi, 1
	call	exit@PLT
.L41:
	mov	DWORD PTR -72[rbp], 0
	jmp	.L42
.L43:
	mov	eax, DWORD PTR -72[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -48[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -76[rbp]
	imul	eax, DWORD PTR -116[rbp]
	mov	ecx, eax
	mov	eax, DWORD PTR -72[rbp]
	add	eax, ecx
	cdqe
	lea	rcx, 0[0+rax*8]
	mov	rax, QWORD PTR -144[rbp]
	add	rax, rcx
	movsd	xmm0, QWORD PTR [rdx]
	movsd	QWORD PTR [rax], xmm0
	add	DWORD PTR -72[rbp], 1
.L42:
	mov	eax, DWORD PTR -72[rbp]
	cmp	eax, DWORD PTR -116[rbp]
	jl	.L43
	jmp	.L37
.L31:
	lea	rdi, .LC3[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
.L37:
	add	DWORD PTR -76[rbp], 1
.L27:
	mov	eax, DWORD PTR -76[rbp]
	cmp	eax, DWORD PTR -88[rbp]
	jl	.L44
	mov	eax, 0
	mov	rsp, rbx
	mov	rbx, QWORD PTR -40[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L46
	call	__stack_chk_fail@PLT
.L46:
	lea	rsp, -24[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	slant, .-slant
	.section	.rodata
	.align 8
.LC5:
	.string	"Shift time is before start of record\n"
.LC6:
	.string	"Padding %d points ...\n"
	.align 8
.LC7:
	.string	"Shift time puts you past end of record\n"
	.text
	.globl	do_beam
	.type	do_beam, @function
do_beam:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 112
	mov	QWORD PTR -56[rbp], rdi
	mov	QWORD PTR -64[rbp], rsi
	mov	DWORD PTR -68[rbp], edx
	movsd	QWORD PTR -80[rbp], xmm0
	mov	DWORD PTR -72[rbp], ecx
	movsd	QWORD PTR -88[rbp], xmm1
	mov	DWORD PTR -92[rbp], r8d
	mov	QWORD PTR -104[rbp], r9
	mov	DWORD PTR -36[rbp], 0
	jmp	.L48
.L49:
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -104[rbp]
	add	rax, rdx
	pxor	xmm0, xmm0
	movsd	QWORD PTR [rax], xmm0
	add	DWORD PTR -36[rbp], 1
.L48:
	mov	eax, DWORD PTR -36[rbp]
	cmp	eax, DWORD PTR -72[rbp]
	jl	.L49
	mov	DWORD PTR -36[rbp], 0
	jmp	.L50
.L71:
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	movsd	QWORD PTR -24[rbp], xmm0
	movsd	xmm0, QWORD PTR -80[rbp]
	addsd	xmm0, QWORD PTR -24[rbp]
	divsd	xmm0, QWORD PTR -88[rbp]
	cvttsd2si	eax, xmm0
	add	eax, 1
	mov	DWORD PTR -28[rbp], eax
	movsd	xmm0, QWORD PTR -24[rbp]
	divsd	xmm0, QWORD PTR -88[rbp]
	cvttsd2si	eax, xmm0
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	movapd	xmm1, xmm0
	mulsd	xmm1, QWORD PTR -88[rbp]
	movsd	xmm0, QWORD PTR -24[rbp]
	subsd	xmm0, xmm1
	movsd	QWORD PTR -16[rbp], xmm0
	cmp	DWORD PTR -28[rbp], 0
	jns	.L51
	mov	edx, DWORD PTR -28[rbp]
	mov	eax, DWORD PTR -72[rbp]
	add	eax, edx
	cmp	DWORD PTR -92[rbp], eax
	jle	.L51
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 37
	mov	esi, 1
	lea	rdi, .LC5[rip]
	call	fwrite@PLT
	mov	eax, DWORD PTR -28[rbp]
	neg	eax
	mov	edx, eax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	DWORD PTR -32[rbp], 0
	jmp	.L52
.L53:
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -104[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	mov	eax, DWORD PTR -36[rbp]
	imul	eax, DWORD PTR -92[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -104[rbp]
	add	rax, rdx
	addsd	xmm0, xmm1
	movsd	QWORD PTR [rax], xmm0
	add	DWORD PTR -32[rbp], 1
.L52:
	mov	eax, DWORD PTR -28[rbp]
	neg	eax
	cmp	DWORD PTR -32[rbp], eax
	jl	.L53
	mov	eax, DWORD PTR -28[rbp]
	neg	eax
	mov	DWORD PTR -32[rbp], eax
	jmp	.L54
.L55:
	mov	eax, DWORD PTR -36[rbp]
	imul	eax, DWORD PTR -92[rbp]
	mov	ecx, DWORD PTR -28[rbp]
	mov	edx, DWORD PTR -32[rbp]
	add	edx, ecx
	add	eax, edx
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	movsd	xmm0, QWORD PTR -16[rbp]
	movapd	xmm2, xmm0
	divsd	xmm2, QWORD PTR -88[rbp]
	mov	eax, DWORD PTR -36[rbp]
	imul	eax, DWORD PTR -92[rbp]
	mov	edx, eax
	mov	ecx, DWORD PTR -28[rbp]
	mov	eax, DWORD PTR -32[rbp]
	add	eax, ecx
	add	eax, 1
	add	eax, edx
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mov	eax, DWORD PTR -36[rbp]
	imul	eax, DWORD PTR -92[rbp]
	mov	ecx, DWORD PTR -28[rbp]
	mov	edx, DWORD PTR -32[rbp]
	add	edx, ecx
	add	eax, edx
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	movsd	xmm3, QWORD PTR [rax]
	subsd	xmm0, xmm3
	mulsd	xmm0, xmm2
	addsd	xmm0, xmm1
	movsd	QWORD PTR -8[rbp], xmm0
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -104[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -104[rbp]
	add	rax, rdx
	addsd	xmm0, QWORD PTR -8[rbp]
	movsd	QWORD PTR [rax], xmm0
	add	DWORD PTR -32[rbp], 1
.L54:
	mov	eax, DWORD PTR -32[rbp]
	cmp	eax, DWORD PTR -72[rbp]
	jl	.L55
	jmp	.L56
.L51:
	cmp	DWORD PTR -28[rbp], 0
	js	.L57
	mov	edx, DWORD PTR -28[rbp]
	mov	eax, DWORD PTR -72[rbp]
	add	eax, edx
	cmp	DWORD PTR -92[rbp], eax
	jg	.L57
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 39
	mov	esi, 1
	lea	rdi, .LC7[rip]
	call	fwrite@PLT
	mov	edx, DWORD PTR -28[rbp]
	mov	eax, DWORD PTR -72[rbp]
	add	eax, edx
	sub	eax, DWORD PTR -92[rbp]
	mov	edx, eax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	DWORD PTR -32[rbp], 0
	jmp	.L58
.L59:
	mov	eax, DWORD PTR -36[rbp]
	imul	eax, DWORD PTR -92[rbp]
	mov	ecx, DWORD PTR -28[rbp]
	mov	edx, DWORD PTR -32[rbp]
	add	edx, ecx
	add	eax, edx
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	movsd	xmm0, QWORD PTR -16[rbp]
	movapd	xmm2, xmm0
	divsd	xmm2, QWORD PTR -88[rbp]
	mov	eax, DWORD PTR -36[rbp]
	imul	eax, DWORD PTR -92[rbp]
	mov	edx, eax
	mov	ecx, DWORD PTR -28[rbp]
	mov	eax, DWORD PTR -32[rbp]
	add	eax, ecx
	add	eax, 1
	add	eax, edx
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mov	eax, DWORD PTR -36[rbp]
	imul	eax, DWORD PTR -92[rbp]
	mov	ecx, DWORD PTR -28[rbp]
	mov	edx, DWORD PTR -32[rbp]
	add	edx, ecx
	add	eax, edx
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	movsd	xmm3, QWORD PTR [rax]
	subsd	xmm0, xmm3
	mulsd	xmm0, xmm2
	addsd	xmm0, xmm1
	movsd	QWORD PTR -8[rbp], xmm0
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -104[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -104[rbp]
	add	rax, rdx
	addsd	xmm0, QWORD PTR -8[rbp]
	movsd	QWORD PTR [rax], xmm0
	add	DWORD PTR -32[rbp], 1
.L58:
	mov	eax, DWORD PTR -92[rbp]
	sub	eax, DWORD PTR -28[rbp]
	sub	eax, 1
	cmp	DWORD PTR -32[rbp], eax
	jl	.L59
	mov	eax, DWORD PTR -92[rbp]
	sub	eax, DWORD PTR -28[rbp]
	sub	eax, 1
	mov	DWORD PTR -32[rbp], eax
	jmp	.L60
.L61:
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -104[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	mov	eax, DWORD PTR -36[rbp]
	imul	eax, DWORD PTR -92[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -92[rbp]
	sub	eax, 1
	add	eax, edx
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -104[rbp]
	add	rax, rdx
	addsd	xmm0, xmm1
	movsd	QWORD PTR [rax], xmm0
	add	DWORD PTR -32[rbp], 1
.L60:
	mov	eax, DWORD PTR -32[rbp]
	cmp	eax, DWORD PTR -72[rbp]
	jl	.L61
	jmp	.L56
.L57:
	cmp	DWORD PTR -28[rbp], 0
	js	.L62
	mov	edx, DWORD PTR -28[rbp]
	mov	eax, DWORD PTR -72[rbp]
	add	eax, edx
	cmp	DWORD PTR -92[rbp], eax
	jle	.L62
	mov	DWORD PTR -32[rbp], 0
	jmp	.L63
.L64:
	mov	eax, DWORD PTR -36[rbp]
	imul	eax, DWORD PTR -92[rbp]
	mov	ecx, DWORD PTR -28[rbp]
	mov	edx, DWORD PTR -32[rbp]
	add	edx, ecx
	add	eax, edx
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	movsd	xmm0, QWORD PTR -16[rbp]
	movapd	xmm2, xmm0
	divsd	xmm2, QWORD PTR -88[rbp]
	mov	eax, DWORD PTR -36[rbp]
	imul	eax, DWORD PTR -92[rbp]
	mov	edx, eax
	mov	ecx, DWORD PTR -28[rbp]
	mov	eax, DWORD PTR -32[rbp]
	add	eax, ecx
	add	eax, 1
	add	eax, edx
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mov	eax, DWORD PTR -36[rbp]
	imul	eax, DWORD PTR -92[rbp]
	mov	ecx, DWORD PTR -28[rbp]
	mov	edx, DWORD PTR -32[rbp]
	add	edx, ecx
	add	eax, edx
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	movsd	xmm3, QWORD PTR [rax]
	subsd	xmm0, xmm3
	mulsd	xmm0, xmm2
	addsd	xmm0, xmm1
	movsd	QWORD PTR -8[rbp], xmm0
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -104[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -104[rbp]
	add	rax, rdx
	addsd	xmm0, QWORD PTR -8[rbp]
	movsd	QWORD PTR [rax], xmm0
	add	DWORD PTR -32[rbp], 1
.L63:
	mov	eax, DWORD PTR -32[rbp]
	cmp	eax, DWORD PTR -72[rbp]
	jl	.L64
	jmp	.L56
.L62:
	cmp	DWORD PTR -28[rbp], 0
	jns	.L56
	mov	edx, DWORD PTR -28[rbp]
	mov	eax, DWORD PTR -72[rbp]
	add	eax, edx
	cmp	DWORD PTR -92[rbp], eax
	jg	.L56
	mov	DWORD PTR -32[rbp], 0
	jmp	.L65
.L66:
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -104[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	mov	eax, DWORD PTR -36[rbp]
	imul	eax, DWORD PTR -92[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -104[rbp]
	add	rax, rdx
	addsd	xmm0, xmm1
	movsd	QWORD PTR [rax], xmm0
	add	DWORD PTR -32[rbp], 1
.L65:
	mov	eax, DWORD PTR -28[rbp]
	neg	eax
	cmp	DWORD PTR -32[rbp], eax
	jl	.L66
	mov	eax, DWORD PTR -28[rbp]
	neg	eax
	mov	DWORD PTR -32[rbp], eax
	jmp	.L67
.L68:
	mov	eax, DWORD PTR -36[rbp]
	imul	eax, DWORD PTR -92[rbp]
	mov	ecx, DWORD PTR -28[rbp]
	mov	edx, DWORD PTR -32[rbp]
	add	edx, ecx
	add	eax, edx
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	movsd	xmm0, QWORD PTR -16[rbp]
	movapd	xmm2, xmm0
	divsd	xmm2, QWORD PTR -88[rbp]
	mov	eax, DWORD PTR -36[rbp]
	imul	eax, DWORD PTR -92[rbp]
	mov	edx, eax
	mov	ecx, DWORD PTR -28[rbp]
	mov	eax, DWORD PTR -32[rbp]
	add	eax, ecx
	add	eax, 1
	add	eax, edx
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mov	eax, DWORD PTR -36[rbp]
	imul	eax, DWORD PTR -92[rbp]
	mov	ecx, DWORD PTR -28[rbp]
	mov	edx, DWORD PTR -32[rbp]
	add	edx, ecx
	add	eax, edx
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	movsd	xmm3, QWORD PTR [rax]
	subsd	xmm0, xmm3
	mulsd	xmm0, xmm2
	addsd	xmm0, xmm1
	movsd	QWORD PTR -8[rbp], xmm0
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -104[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -104[rbp]
	add	rax, rdx
	addsd	xmm0, QWORD PTR -8[rbp]
	movsd	QWORD PTR [rax], xmm0
	add	DWORD PTR -32[rbp], 1
.L67:
	mov	eax, DWORD PTR -92[rbp]
	sub	eax, DWORD PTR -28[rbp]
	sub	eax, 1
	cmp	DWORD PTR -32[rbp], eax
	jl	.L68
	mov	eax, DWORD PTR -92[rbp]
	sub	eax, DWORD PTR -28[rbp]
	sub	eax, 1
	mov	DWORD PTR -32[rbp], eax
	jmp	.L69
.L70:
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -104[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	mov	eax, DWORD PTR -36[rbp]
	imul	eax, DWORD PTR -92[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -92[rbp]
	sub	eax, 1
	add	eax, edx
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -104[rbp]
	add	rax, rdx
	addsd	xmm0, xmm1
	movsd	QWORD PTR [rax], xmm0
	add	DWORD PTR -32[rbp], 1
.L69:
	mov	eax, DWORD PTR -32[rbp]
	cmp	eax, DWORD PTR -72[rbp]
	jl	.L70
.L56:
	add	DWORD PTR -36[rbp], 1
.L50:
	mov	eax, DWORD PTR -36[rbp]
	cmp	eax, DWORD PTR -68[rbp]
	jl	.L71
	mov	DWORD PTR -36[rbp], 0
	jmp	.L72
.L73:
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -104[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, DWORD PTR -68[rbp]
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -104[rbp]
	add	rax, rdx
	divsd	xmm0, xmm1
	movsd	QWORD PTR [rax], xmm0
	add	DWORD PTR -36[rbp], 1
.L72:
	mov	eax, DWORD PTR -36[rbp]
	cmp	eax, DWORD PTR -72[rbp]
	jl	.L73
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	do_beam, .-do_beam
	.section	.rodata
.LC8:
	.string	"Can't allocate memory\n"
	.text
	.globl	do_beam_psw
	.type	do_beam_psw, @function
do_beam_psw:
.LFB9:
	.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, 136
	.cfi_offset 3, -24
	mov	QWORD PTR -104[rbp], rdi
	mov	QWORD PTR -112[rbp], rsi
	mov	DWORD PTR -116[rbp], edx
	movsd	QWORD PTR -128[rbp], xmm0
	mov	DWORD PTR -120[rbp], ecx
	movsd	QWORD PTR -136[rbp], xmm1
	mov	DWORD PTR -140[rbp], r8d
	mov	DWORD PTR -144[rbp], r9d
	mov	eax, DWORD PTR -120[rbp]
	cdqe
	sal	rax, 3
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -80[rbp], rax
	cmp	QWORD PTR -80[rbp], 0
	jne	.L76
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 22
	mov	esi, 1
	lea	rdi, .LC8[rip]
	call	fwrite@PLT
	mov	eax, 1
	jmp	.L77
.L76:
	mov	eax, DWORD PTR -120[rbp]
	cdqe
	sal	rax, 3
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -72[rbp], rax
	cmp	QWORD PTR -72[rbp], 0
	jne	.L78
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 22
	mov	esi, 1
	lea	rdi, .LC8[rip]
	call	fwrite@PLT
	mov	eax, 1
	jmp	.L77
.L78:
	mov	eax, DWORD PTR -120[rbp]
	cdqe
	sal	rax, 3
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -64[rbp], rax
	cmp	QWORD PTR -64[rbp], 0
	jne	.L79
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 22
	mov	esi, 1
	lea	rdi, .LC8[rip]
	call	fwrite@PLT
	mov	eax, 1
	jmp	.L77
.L79:
	mov	DWORD PTR -92[rbp], 0
	jmp	.L80
.L81:
	mov	eax, DWORD PTR -92[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR 16[rbp]
	add	rax, rdx
	pxor	xmm0, xmm0
	movsd	QWORD PTR [rax], xmm0
	mov	eax, DWORD PTR -92[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -80[rbp]
	add	rax, rdx
	pxor	xmm0, xmm0
	movsd	QWORD PTR [rax], xmm0
	mov	eax, DWORD PTR -92[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -72[rbp]
	add	rax, rdx
	pxor	xmm0, xmm0
	movsd	QWORD PTR [rax], xmm0
	mov	eax, DWORD PTR -92[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	pxor	xmm0, xmm0
	movsd	QWORD PTR [rax], xmm0
	add	DWORD PTR -92[rbp], 1
.L80:
	mov	eax, DWORD PTR -92[rbp]
	cmp	eax, DWORD PTR -120[rbp]
	jl	.L81
	mov	DWORD PTR -92[rbp], 0
	jmp	.L82
.L103:
	mov	eax, DWORD PTR -92[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -112[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	movsd	QWORD PTR -56[rbp], xmm0
	movsd	xmm0, QWORD PTR -128[rbp]
	addsd	xmm0, QWORD PTR -56[rbp]
	divsd	xmm0, QWORD PTR -136[rbp]
	cvttsd2si	eax, xmm0
	add	eax, 1
	mov	DWORD PTR -84[rbp], eax
	movsd	xmm0, QWORD PTR -56[rbp]
	divsd	xmm0, QWORD PTR -136[rbp]
	cvttsd2si	eax, xmm0
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	movapd	xmm1, xmm0
	mulsd	xmm1, QWORD PTR -136[rbp]
	movsd	xmm0, QWORD PTR -56[rbp]
	subsd	xmm0, xmm1
	movsd	QWORD PTR -48[rbp], xmm0
	cmp	DWORD PTR -84[rbp], 0
	jns	.L83
	mov	edx, DWORD PTR -84[rbp]
	mov	eax, DWORD PTR -120[rbp]
	add	eax, edx
	cmp	DWORD PTR -140[rbp], eax
	jle	.L83
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 37
	mov	esi, 1
	lea	rdi, .LC5[rip]
	call	fwrite@PLT
	mov	eax, DWORD PTR -84[rbp]
	neg	eax
	mov	edx, eax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	DWORD PTR -88[rbp], 0
	jmp	.L84
.L85:
	mov	eax, DWORD PTR -88[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR 16[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	mov	eax, DWORD PTR -92[rbp]
	imul	eax, DWORD PTR -140[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -104[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mov	eax, DWORD PTR -88[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR 16[rbp]
	add	rax, rdx
	addsd	xmm0, xmm1
	movsd	QWORD PTR [rax], xmm0
	mov	eax, DWORD PTR -92[rbp]
	imul	eax, DWORD PTR -140[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -104[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	mov	eax, DWORD PTR -92[rbp]
	imul	eax, DWORD PTR -140[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -104[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mulsd	xmm1, xmm0
	mov	eax, DWORD PTR -92[rbp]
	imul	eax, DWORD PTR -140[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -104[rbp]
	add	rax, rdx
	movsd	xmm2, QWORD PTR 8[rax]
	mov	eax, DWORD PTR -92[rbp]
	imul	eax, DWORD PTR -140[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -104[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR 8[rax]
	mulsd	xmm0, xmm2
	addsd	xmm1, xmm0
	movq	rax, xmm1
	movq	xmm0, rax
	call	sqrt@PLT
	movq	rax, xmm0
	mov	QWORD PTR -24[rbp], rax
	mov	eax, DWORD PTR -88[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -80[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	mov	eax, DWORD PTR -92[rbp]
	imul	eax, DWORD PTR -140[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -104[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	divsd	xmm0, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR -88[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -80[rbp]
	add	rax, rdx
	addsd	xmm0, xmm1
	movsd	QWORD PTR [rax], xmm0
	mov	eax, DWORD PTR -88[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -72[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	mov	eax, DWORD PTR -92[rbp]
	imul	eax, DWORD PTR -140[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -104[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR 8[rax]
	divsd	xmm0, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR -88[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -72[rbp]
	add	rax, rdx
	addsd	xmm0, xmm1
	movsd	QWORD PTR [rax], xmm0
	add	DWORD PTR -88[rbp], 1
.L84:
	mov	eax, DWORD PTR -84[rbp]
	neg	eax
	cmp	DWORD PTR -88[rbp], eax
	jl	.L85
	mov	eax, DWORD PTR -84[rbp]
	neg	eax
	mov	DWORD PTR -88[rbp], eax
	jmp	.L86
.L87:
	mov	eax, DWORD PTR -92[rbp]
	imul	eax, DWORD PTR -140[rbp]
	mov	ecx, DWORD PTR -84[rbp]
	mov	edx, DWORD PTR -88[rbp]
	add	edx, ecx
	add	eax, edx
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -104[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	movsd	xmm0, QWORD PTR -48[rbp]
	movapd	xmm2, xmm0
	divsd	xmm2, QWORD PTR -136[rbp]
	mov	eax, DWORD PTR -92[rbp]
	imul	eax, DWORD PTR -140[rbp]
	mov	edx, eax
	mov	ecx, DWORD PTR -84[rbp]
	mov	eax, DWORD PTR -88[rbp]
	add	eax, ecx
	add	eax, 1
	add	eax, edx
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -104[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mov	eax, DWORD PTR -92[rbp]
	imul	eax, DWORD PTR -140[rbp]
	mov	ecx, DWORD PTR -84[rbp]
	mov	edx, DWORD PTR -88[rbp]
	add	edx, ecx
	add	eax, edx
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -104[rbp]
	add	rax, rdx
	movsd	xmm3, QWORD PTR [rax]
	subsd	xmm0, xmm3
	mulsd	xmm0, xmm2
	addsd	xmm0, xmm1
	movsd	QWORD PTR -40[rbp], xmm0
	mov	eax, DWORD PTR -92[rbp]
	imul	eax, DWORD PTR -140[rbp]
	mov	ecx, DWORD PTR -84[rbp]
	mov	edx, DWORD PTR -88[rbp]
	add	edx, ecx
	add	eax, edx
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -104[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR 8[rax]
	movsd	xmm0, QWORD PTR -48[rbp]
	movapd	xmm2, xmm0
	divsd	xmm2, QWORD PTR -136[rbp]
	mov	eax, DWORD PTR -92[rbp]
	imul	eax, DWORD PTR -140[rbp]
	mov	edx, eax
	mov	ecx, DWORD PTR -84[rbp]
	mov	eax, DWORD PTR -88[rbp]
	add	eax, ecx
	add	eax, 1
	add	eax, edx
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -104[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR 8[rax]
	mov	eax, DWORD PTR -92[rbp]
	imul	eax, DWORD PTR -140[rbp]
	mov	ecx, DWORD PTR -84[rbp]
	mov	edx, DWORD PTR -88[rbp]
	add	edx, ecx
	add	eax, edx
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -104[rbp]
	add	rax, rdx
	movsd	xmm3, QWORD PTR 8[rax]
	subsd	xmm0, xmm3
	mulsd	xmm0, xmm2
	addsd	xmm0, xmm1
	movsd	QWORD PTR -32[rbp], xmm0
	mov	eax, DWORD PTR -88[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR 16[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mov	eax, DWORD PTR -88[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR 16[rbp]
	add	rax, rdx
	addsd	xmm0, QWORD PTR -40[rbp]
	movsd	QWORD PTR [rax], xmm0
	movsd	xmm0, QWORD PTR -40[rbp]
	movapd	xmm1, xmm0
	mulsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR -32[rbp]
	mulsd	xmm0, xmm0
	addsd	xmm1, xmm0
	movq	rax, xmm1
	movq	xmm0, rax
	call	sqrt@PLT
	movq	rax, xmm0
	mov	QWORD PTR -24[rbp], rax
	mov	eax, DWORD PTR -88[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -80[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	movsd	xmm0, QWORD PTR -40[rbp]
	divsd	xmm0, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR -88[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -80[rbp]
	add	rax, rdx
	addsd	xmm0, xmm1
	movsd	QWORD PTR [rax], xmm0
	mov	eax, DWORD PTR -88[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -72[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	movsd	xmm0, QWORD PTR -32[rbp]
	divsd	xmm0, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR -88[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -72[rbp]
	add	rax, rdx
	addsd	xmm0, xmm1
	movsd	QWORD PTR [rax], xmm0
	add	DWORD PTR -88[rbp], 1
.L86:
	mov	eax, DWORD PTR -88[rbp]
	cmp	eax, DWORD PTR -120[rbp]
	jl	.L87
	jmp	.L88
.L83:
	cmp	DWORD PTR -84[rbp], 0
	js	.L89
	mov	edx, DWORD PTR -84[rbp]
	mov	eax, DWORD PTR -120[rbp]
	add	eax, edx
	cmp	DWORD PTR -140[rbp], eax
	jg	.L89
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 39
	mov	esi, 1
	lea	rdi, .LC7[rip]
	call	fwrite@PLT
	mov	edx, DWORD PTR -84[rbp]
	mov	eax, DWORD PTR -120[rbp]
	add	eax, edx
	sub	eax, DWORD PTR -140[rbp]
	mov	edx, eax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	DWORD PTR -88[rbp], 0
	jmp	.L90
.L91:
	mov	eax, DWORD PTR -92[rbp]
	imul	eax, DWORD PTR -140[rbp]
	mov	ecx, DWORD PTR -84[rbp]
	mov	edx, DWORD PTR -88[rbp]
	add	edx, ecx
	add	eax, edx
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -104[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	movsd	xmm0, QWORD PTR -48[rbp]
	movapd	xmm2, xmm0
	divsd	xmm2, QWORD PTR -136[rbp]
	mov	eax, DWORD PTR -92[rbp]
	imul	eax, DWORD PTR -140[rbp]
	mov	edx, eax
	mov	ecx, DWORD PTR -84[rbp]
	mov	eax, DWORD PTR -88[rbp]
	add	eax, ecx
	add	eax, 1
	add	eax, edx
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -104[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mov	eax, DWORD PTR -92[rbp]
	imul	eax, DWORD PTR -140[rbp]
	mov	ecx, DWORD PTR -84[rbp]
	mov	edx, DWORD PTR -88[rbp]
	add	edx, ecx
	add	eax, edx
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -104[rbp]
	add	rax, rdx
	movsd	xmm3, QWORD PTR [rax]
	subsd	xmm0, xmm3
	mulsd	xmm0, xmm2
	addsd	xmm0, xmm1
	movsd	QWORD PTR -40[rbp], xmm0
	mov	eax, DWORD PTR -92[rbp]
	imul	eax, DWORD PTR -140[rbp]
	mov	ecx, DWORD PTR -84[rbp]
	mov	edx, DWORD PTR -88[rbp]
	add	edx, ecx
	add	eax, edx
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -104[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR 8[rax]
	movsd	xmm0, QWORD PTR -48[rbp]
	movapd	xmm2, xmm0
	divsd	xmm2, QWORD PTR -136[rbp]
	mov	eax, DWORD PTR -92[rbp]
	imul	eax, DWORD PTR -140[rbp]
	mov	edx, eax
	mov	ecx, DWORD PTR -84[rbp]
	mov	eax, DWORD PTR -88[rbp]
	add	eax, ecx
	add	eax, 1
	add	eax, edx
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -104[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR 8[rax]
	mov	eax, DWORD PTR -92[rbp]
	imul	eax, DWORD PTR -140[rbp]
	mov	ecx, DWORD PTR -84[rbp]
	mov	edx, DWORD PTR -88[rbp]
	add	edx, ecx
	add	eax, edx
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -104[rbp]
	add	rax, rdx
	movsd	xmm3, QWORD PTR 8[rax]
	subsd	xmm0, xmm3
	mulsd	xmm0, xmm2
	addsd	xmm0, xmm1
	movsd	QWORD PTR -32[rbp], xmm0
	mov	eax, DWORD PTR -88[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR 16[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mov	eax, DWORD PTR -88[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR 16[rbp]
	add	rax, rdx
	addsd	xmm0, QWORD PTR -40[rbp]
	movsd	QWORD PTR [rax], xmm0
	movsd	xmm0, QWORD PTR -40[rbp]
	movapd	xmm1, xmm0
	mulsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR -32[rbp]
	mulsd	xmm0, xmm0
	addsd	xmm1, xmm0
	movq	rax, xmm1
	movq	xmm0, rax
	call	sqrt@PLT
	movq	rax, xmm0
	mov	QWORD PTR -24[rbp], rax
	mov	eax, DWORD PTR -88[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -80[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	movsd	xmm0, QWORD PTR -40[rbp]
	divsd	xmm0, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR -88[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -80[rbp]
	add	rax, rdx
	addsd	xmm0, xmm1
	movsd	QWORD PTR [rax], xmm0
	mov	eax, DWORD PTR -88[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -72[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	movsd	xmm0, QWORD PTR -32[rbp]
	divsd	xmm0, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR -88[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -72[rbp]
	add	rax, rdx
	addsd	xmm0, xmm1
	movsd	QWORD PTR [rax], xmm0
	add	DWORD PTR -88[rbp], 1
.L90:
	mov	eax, DWORD PTR -140[rbp]
	sub	eax, DWORD PTR -84[rbp]
	sub	eax, 1
	cmp	DWORD PTR -88[rbp], eax
	jl	.L91
	mov	eax, DWORD PTR -140[rbp]
	sub	eax, DWORD PTR -84[rbp]
	sub	eax, 1
	mov	DWORD PTR -88[rbp], eax
	jmp	.L92
.L93:
	mov	eax, DWORD PTR -88[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR 16[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	mov	eax, DWORD PTR -92[rbp]
	imul	eax, DWORD PTR -140[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -140[rbp]
	sub	eax, 1
	add	eax, edx
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -104[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mov	eax, DWORD PTR -88[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR 16[rbp]
	add	rax, rdx
	addsd	xmm0, xmm1
	movsd	QWORD PTR [rax], xmm0
	mov	eax, DWORD PTR -92[rbp]
	imul	eax, DWORD PTR -140[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -140[rbp]
	sub	eax, 1
	add	eax, edx
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -104[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	mov	eax, DWORD PTR -92[rbp]
	imul	eax, DWORD PTR -140[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -140[rbp]
	sub	eax, 1
	add	eax, edx
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -104[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mulsd	xmm1, xmm0
	mov	eax, DWORD PTR -92[rbp]
	imul	eax, DWORD PTR -140[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -140[rbp]
	sub	eax, 1
	add	eax, edx
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -104[rbp]
	add	rax, rdx
	movsd	xmm2, QWORD PTR 8[rax]
	mov	eax, DWORD PTR -92[rbp]
	imul	eax, DWORD PTR -140[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -140[rbp]
	sub	eax, 1
	add	eax, edx
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -104[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR 8[rax]
	mulsd	xmm0, xmm2
	addsd	xmm1, xmm0
	movq	rax, xmm1
	movq	xmm0, rax
	call	sqrt@PLT
	movq	rax, xmm0
	mov	QWORD PTR -24[rbp], rax
	mov	eax, DWORD PTR -88[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -80[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	mov	eax, DWORD PTR -92[rbp]
	imul	eax, DWORD PTR -140[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -140[rbp]
	sub	eax, 1
	add	eax, edx
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -104[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	divsd	xmm0, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR -88[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -80[rbp]
	add	rax, rdx
	addsd	xmm0, xmm1
	movsd	QWORD PTR [rax], xmm0
	mov	eax, DWORD PTR -88[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -72[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	mov	eax, DWORD PTR -92[rbp]
	imul	eax, DWORD PTR -140[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -140[rbp]
	sub	eax, 1
	add	eax, edx
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -104[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR 8[rax]
	divsd	xmm0, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR -88[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -72[rbp]
	add	rax, rdx
	addsd	xmm0, xmm1
	movsd	QWORD PTR [rax], xmm0
	add	DWORD PTR -88[rbp], 1
.L92:
	mov	eax, DWORD PTR -88[rbp]
	cmp	eax, DWORD PTR -120[rbp]
	jl	.L93
	jmp	.L88
.L89:
	cmp	DWORD PTR -84[rbp], 0
	js	.L94
	mov	edx, DWORD PTR -84[rbp]
	mov	eax, DWORD PTR -120[rbp]
	add	eax, edx
	cmp	DWORD PTR -140[rbp], eax
	jle	.L94
	mov	DWORD PTR -88[rbp], 0
	jmp	.L95
.L96:
	mov	eax, DWORD PTR -92[rbp]
	imul	eax, DWORD PTR -140[rbp]
	mov	ecx, DWORD PTR -84[rbp]
	mov	edx, DWORD PTR -88[rbp]
	add	edx, ecx
	add	eax, edx
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -104[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	movsd	xmm0, QWORD PTR -48[rbp]
	movapd	xmm2, xmm0
	divsd	xmm2, QWORD PTR -136[rbp]
	mov	eax, DWORD PTR -92[rbp]
	imul	eax, DWORD PTR -140[rbp]
	mov	edx, eax
	mov	ecx, DWORD PTR -84[rbp]
	mov	eax, DWORD PTR -88[rbp]
	add	eax, ecx
	add	eax, 1
	add	eax, edx
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -104[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mov	eax, DWORD PTR -92[rbp]
	imul	eax, DWORD PTR -140[rbp]
	mov	ecx, DWORD PTR -84[rbp]
	mov	edx, DWORD PTR -88[rbp]
	add	edx, ecx
	add	eax, edx
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -104[rbp]
	add	rax, rdx
	movsd	xmm3, QWORD PTR [rax]
	subsd	xmm0, xmm3
	mulsd	xmm0, xmm2
	addsd	xmm0, xmm1
	movsd	QWORD PTR -40[rbp], xmm0
	mov	eax, DWORD PTR -92[rbp]
	imul	eax, DWORD PTR -140[rbp]
	mov	ecx, DWORD PTR -84[rbp]
	mov	edx, DWORD PTR -88[rbp]
	add	edx, ecx
	add	eax, edx
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -104[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR 8[rax]
	movsd	xmm0, QWORD PTR -48[rbp]
	movapd	xmm2, xmm0
	divsd	xmm2, QWORD PTR -136[rbp]
	mov	eax, DWORD PTR -92[rbp]
	imul	eax, DWORD PTR -140[rbp]
	mov	edx, eax
	mov	ecx, DWORD PTR -84[rbp]
	mov	eax, DWORD PTR -88[rbp]
	add	eax, ecx
	add	eax, 1
	add	eax, edx
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -104[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR 8[rax]
	mov	eax, DWORD PTR -92[rbp]
	imul	eax, DWORD PTR -140[rbp]
	mov	ecx, DWORD PTR -84[rbp]
	mov	edx, DWORD PTR -88[rbp]
	add	edx, ecx
	add	eax, edx
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -104[rbp]
	add	rax, rdx
	movsd	xmm3, QWORD PTR 8[rax]
	subsd	xmm0, xmm3
	mulsd	xmm0, xmm2
	addsd	xmm0, xmm1
	movsd	QWORD PTR -32[rbp], xmm0
	mov	eax, DWORD PTR -88[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR 16[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mov	eax, DWORD PTR -88[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR 16[rbp]
	add	rax, rdx
	addsd	xmm0, QWORD PTR -40[rbp]
	movsd	QWORD PTR [rax], xmm0
	movsd	xmm0, QWORD PTR -40[rbp]
	movapd	xmm1, xmm0
	mulsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR -32[rbp]
	mulsd	xmm0, xmm0
	addsd	xmm1, xmm0
	movq	rax, xmm1
	movq	xmm0, rax
	call	sqrt@PLT
	movq	rax, xmm0
	mov	QWORD PTR -24[rbp], rax
	mov	eax, DWORD PTR -88[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -80[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	movsd	xmm0, QWORD PTR -40[rbp]
	divsd	xmm0, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR -88[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -80[rbp]
	add	rax, rdx
	addsd	xmm0, xmm1
	movsd	QWORD PTR [rax], xmm0
	mov	eax, DWORD PTR -88[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -72[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	movsd	xmm0, QWORD PTR -32[rbp]
	divsd	xmm0, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR -88[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -72[rbp]
	add	rax, rdx
	addsd	xmm0, xmm1
	movsd	QWORD PTR [rax], xmm0
	add	DWORD PTR -88[rbp], 1
.L95:
	mov	eax, DWORD PTR -88[rbp]
	cmp	eax, DWORD PTR -120[rbp]
	jl	.L96
	jmp	.L88
.L94:
	cmp	DWORD PTR -84[rbp], 0
	jns	.L88
	mov	edx, DWORD PTR -84[rbp]
	mov	eax, DWORD PTR -120[rbp]
	add	eax, edx
	cmp	DWORD PTR -140[rbp], eax
	jg	.L88
	mov	DWORD PTR -88[rbp], 0
	jmp	.L97
.L98:
	mov	eax, DWORD PTR -88[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR 16[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	mov	eax, DWORD PTR -92[rbp]
	imul	eax, DWORD PTR -140[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -104[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mov	eax, DWORD PTR -88[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR 16[rbp]
	add	rax, rdx
	addsd	xmm0, xmm1
	movsd	QWORD PTR [rax], xmm0
	mov	eax, DWORD PTR -92[rbp]
	imul	eax, DWORD PTR -140[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -104[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	mov	eax, DWORD PTR -92[rbp]
	imul	eax, DWORD PTR -140[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -104[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mulsd	xmm1, xmm0
	mov	eax, DWORD PTR -92[rbp]
	imul	eax, DWORD PTR -140[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -104[rbp]
	add	rax, rdx
	movsd	xmm2, QWORD PTR 8[rax]
	mov	eax, DWORD PTR -92[rbp]
	imul	eax, DWORD PTR -140[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -104[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR 8[rax]
	mulsd	xmm0, xmm2
	addsd	xmm1, xmm0
	movq	rax, xmm1
	movq	xmm0, rax
	call	sqrt@PLT
	movq	rax, xmm0
	mov	QWORD PTR -24[rbp], rax
	mov	eax, DWORD PTR -88[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -80[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	mov	eax, DWORD PTR -92[rbp]
	imul	eax, DWORD PTR -140[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -104[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	divsd	xmm0, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR -88[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -80[rbp]
	add	rax, rdx
	addsd	xmm0, xmm1
	movsd	QWORD PTR [rax], xmm0
	mov	eax, DWORD PTR -88[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -72[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	mov	eax, DWORD PTR -92[rbp]
	imul	eax, DWORD PTR -140[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -104[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR 8[rax]
	divsd	xmm0, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR -88[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -72[rbp]
	add	rax, rdx
	addsd	xmm0, xmm1
	movsd	QWORD PTR [rax], xmm0
	add	DWORD PTR -88[rbp], 1
.L97:
	mov	eax, DWORD PTR -84[rbp]
	neg	eax
	cmp	DWORD PTR -88[rbp], eax
	jl	.L98
	mov	eax, DWORD PTR -84[rbp]
	neg	eax
	mov	DWORD PTR -88[rbp], eax
	jmp	.L99
.L100:
	mov	eax, DWORD PTR -92[rbp]
	imul	eax, DWORD PTR -140[rbp]
	mov	ecx, DWORD PTR -84[rbp]
	mov	edx, DWORD PTR -88[rbp]
	add	edx, ecx
	add	eax, edx
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -104[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	movsd	xmm0, QWORD PTR -48[rbp]
	movapd	xmm2, xmm0
	divsd	xmm2, QWORD PTR -136[rbp]
	mov	eax, DWORD PTR -92[rbp]
	imul	eax, DWORD PTR -140[rbp]
	mov	edx, eax
	mov	ecx, DWORD PTR -84[rbp]
	mov	eax, DWORD PTR -88[rbp]
	add	eax, ecx
	add	eax, 1
	add	eax, edx
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -104[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mov	eax, DWORD PTR -92[rbp]
	imul	eax, DWORD PTR -140[rbp]
	mov	ecx, DWORD PTR -84[rbp]
	mov	edx, DWORD PTR -88[rbp]
	add	edx, ecx
	add	eax, edx
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -104[rbp]
	add	rax, rdx
	movsd	xmm3, QWORD PTR [rax]
	subsd	xmm0, xmm3
	mulsd	xmm0, xmm2
	addsd	xmm0, xmm1
	movsd	QWORD PTR -40[rbp], xmm0
	mov	eax, DWORD PTR -92[rbp]
	imul	eax, DWORD PTR -140[rbp]
	mov	ecx, DWORD PTR -84[rbp]
	mov	edx, DWORD PTR -88[rbp]
	add	edx, ecx
	add	eax, edx
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -104[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR 8[rax]
	movsd	xmm0, QWORD PTR -48[rbp]
	movapd	xmm2, xmm0
	divsd	xmm2, QWORD PTR -136[rbp]
	mov	eax, DWORD PTR -92[rbp]
	imul	eax, DWORD PTR -140[rbp]
	mov	edx, eax
	mov	ecx, DWORD PTR -84[rbp]
	mov	eax, DWORD PTR -88[rbp]
	add	eax, ecx
	add	eax, 1
	add	eax, edx
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -104[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR 8[rax]
	mov	eax, DWORD PTR -92[rbp]
	imul	eax, DWORD PTR -140[rbp]
	mov	ecx, DWORD PTR -84[rbp]
	mov	edx, DWORD PTR -88[rbp]
	add	edx, ecx
	add	eax, edx
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -104[rbp]
	add	rax, rdx
	movsd	xmm3, QWORD PTR 8[rax]
	subsd	xmm0, xmm3
	mulsd	xmm0, xmm2
	addsd	xmm0, xmm1
	movsd	QWORD PTR -32[rbp], xmm0
	mov	eax, DWORD PTR -88[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR 16[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mov	eax, DWORD PTR -88[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR 16[rbp]
	add	rax, rdx
	addsd	xmm0, QWORD PTR -40[rbp]
	movsd	QWORD PTR [rax], xmm0
	movsd	xmm0, QWORD PTR -40[rbp]
	movapd	xmm1, xmm0
	mulsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR -32[rbp]
	mulsd	xmm0, xmm0
	addsd	xmm1, xmm0
	movq	rax, xmm1
	movq	xmm0, rax
	call	sqrt@PLT
	movq	rax, xmm0
	mov	QWORD PTR -24[rbp], rax
	mov	eax, DWORD PTR -88[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -80[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	movsd	xmm0, QWORD PTR -40[rbp]
	divsd	xmm0, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR -88[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -80[rbp]
	add	rax, rdx
	addsd	xmm0, xmm1
	movsd	QWORD PTR [rax], xmm0
	mov	eax, DWORD PTR -88[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -72[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	movsd	xmm0, QWORD PTR -32[rbp]
	divsd	xmm0, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR -88[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -72[rbp]
	add	rax, rdx
	addsd	xmm0, xmm1
	movsd	QWORD PTR [rax], xmm0
	add	DWORD PTR -88[rbp], 1
.L99:
	mov	eax, DWORD PTR -140[rbp]
	sub	eax, DWORD PTR -84[rbp]
	sub	eax, 1
	cmp	DWORD PTR -88[rbp], eax
	jl	.L100
	mov	eax, DWORD PTR -140[rbp]
	sub	eax, DWORD PTR -84[rbp]
	sub	eax, 1
	mov	DWORD PTR -88[rbp], eax
	jmp	.L101
.L102:
	mov	eax, DWORD PTR -88[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR 16[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	mov	eax, DWORD PTR -92[rbp]
	imul	eax, DWORD PTR -140[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -140[rbp]
	sub	eax, 1
	add	eax, edx
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -104[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mov	eax, DWORD PTR -88[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR 16[rbp]
	add	rax, rdx
	addsd	xmm0, xmm1
	movsd	QWORD PTR [rax], xmm0
	mov	eax, DWORD PTR -92[rbp]
	imul	eax, DWORD PTR -140[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -140[rbp]
	sub	eax, 1
	add	eax, edx
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -104[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	mov	eax, DWORD PTR -92[rbp]
	imul	eax, DWORD PTR -140[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -140[rbp]
	sub	eax, 1
	add	eax, edx
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -104[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mulsd	xmm1, xmm0
	mov	eax, DWORD PTR -92[rbp]
	imul	eax, DWORD PTR -140[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -140[rbp]
	sub	eax, 1
	add	eax, edx
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -104[rbp]
	add	rax, rdx
	movsd	xmm2, QWORD PTR 8[rax]
	mov	eax, DWORD PTR -92[rbp]
	imul	eax, DWORD PTR -140[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -140[rbp]
	sub	eax, 1
	add	eax, edx
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -104[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR 8[rax]
	mulsd	xmm0, xmm2
	addsd	xmm1, xmm0
	movq	rax, xmm1
	movq	xmm0, rax
	call	sqrt@PLT
	movq	rax, xmm0
	mov	QWORD PTR -24[rbp], rax
	mov	eax, DWORD PTR -88[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -80[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	mov	eax, DWORD PTR -92[rbp]
	imul	eax, DWORD PTR -140[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -140[rbp]
	sub	eax, 1
	add	eax, edx
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -104[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	divsd	xmm0, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR -88[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -80[rbp]
	add	rax, rdx
	addsd	xmm0, xmm1
	movsd	QWORD PTR [rax], xmm0
	mov	eax, DWORD PTR -88[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -72[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	mov	eax, DWORD PTR -92[rbp]
	imul	eax, DWORD PTR -140[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -140[rbp]
	sub	eax, 1
	add	eax, edx
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -104[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR 8[rax]
	divsd	xmm0, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR -88[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -72[rbp]
	add	rax, rdx
	addsd	xmm0, xmm1
	movsd	QWORD PTR [rax], xmm0
	add	DWORD PTR -88[rbp], 1
.L101:
	mov	eax, DWORD PTR -88[rbp]
	cmp	eax, DWORD PTR -120[rbp]
	jl	.L102
.L88:
	add	DWORD PTR -92[rbp], 1
.L82:
	mov	eax, DWORD PTR -92[rbp]
	cmp	eax, DWORD PTR -116[rbp]
	jl	.L103
	mov	DWORD PTR -92[rbp], 0
	jmp	.L104
.L105:
	mov	eax, DWORD PTR -92[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -80[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	mov	eax, DWORD PTR -92[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -80[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mulsd	xmm1, xmm0
	mov	eax, DWORD PTR -92[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -72[rbp]
	add	rax, rdx
	movsd	xmm2, QWORD PTR [rax]
	mov	eax, DWORD PTR -92[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -72[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mulsd	xmm0, xmm2
	addsd	xmm1, xmm0
	movq	rax, xmm1
	movq	xmm0, rax
	call	sqrt@PLT
	movq	rax, xmm0
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, DWORD PTR -116[rbp]
	mov	edx, DWORD PTR -92[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*8]
	mov	rdx, QWORD PTR -64[rbp]
	add	rdx, rcx
	movq	xmm0, rax
	divsd	xmm0, xmm1
	movsd	QWORD PTR [rdx], xmm0
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, DWORD PTR -144[rbp]
	mov	eax, DWORD PTR -92[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	edx, DWORD PTR -92[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*8]
	mov	rdx, QWORD PTR -64[rbp]
	lea	rbx, [rcx+rdx]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	pow@PLT
	movq	rax, xmm0
	mov	QWORD PTR [rbx], rax
	mov	eax, DWORD PTR -92[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR 16[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	mov	eax, DWORD PTR -92[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	pxor	xmm2, xmm2
	cvtsi2sd	xmm2, DWORD PTR -116[rbp]
	divsd	xmm0, xmm2
	mov	eax, DWORD PTR -92[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR 16[rbp]
	add	rax, rdx
	mulsd	xmm0, xmm1
	movsd	QWORD PTR [rax], xmm0
	add	DWORD PTR -92[rbp], 1
.L104:
	mov	eax, DWORD PTR -92[rbp]
	cmp	eax, DWORD PTR -120[rbp]
	jl	.L105
	mov	rax, QWORD PTR -72[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -80[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -64[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	eax, 0
.L77:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	do_beam_psw, .-do_beam_psw
	.globl	do_beam_root
	.type	do_beam_root, @function
do_beam_root:
.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, 112
	mov	QWORD PTR -56[rbp], rdi
	mov	QWORD PTR -64[rbp], rsi
	mov	DWORD PTR -68[rbp], edx
	movsd	QWORD PTR -80[rbp], xmm0
	mov	DWORD PTR -72[rbp], ecx
	movsd	QWORD PTR -88[rbp], xmm1
	mov	DWORD PTR -92[rbp], r8d
	mov	DWORD PTR -96[rbp], r9d
	mov	DWORD PTR -36[rbp], 0
	jmp	.L107
.L108:
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR 16[rbp]
	add	rax, rdx
	pxor	xmm0, xmm0
	movsd	QWORD PTR [rax], xmm0
	add	DWORD PTR -36[rbp], 1
.L107:
	mov	eax, DWORD PTR -36[rbp]
	cmp	eax, DWORD PTR -72[rbp]
	jl	.L108
	mov	DWORD PTR -36[rbp], 0
	jmp	.L109
.L130:
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	movsd	QWORD PTR -24[rbp], xmm0
	movsd	xmm0, QWORD PTR -80[rbp]
	addsd	xmm0, QWORD PTR -24[rbp]
	divsd	xmm0, QWORD PTR -88[rbp]
	cvttsd2si	eax, xmm0
	add	eax, 1
	mov	DWORD PTR -28[rbp], eax
	movsd	xmm0, QWORD PTR -24[rbp]
	divsd	xmm0, QWORD PTR -88[rbp]
	cvttsd2si	eax, xmm0
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	movapd	xmm1, xmm0
	mulsd	xmm1, QWORD PTR -88[rbp]
	movsd	xmm0, QWORD PTR -24[rbp]
	subsd	xmm0, xmm1
	movsd	QWORD PTR -16[rbp], xmm0
	cmp	DWORD PTR -28[rbp], 0
	jns	.L110
	mov	edx, DWORD PTR -28[rbp]
	mov	eax, DWORD PTR -72[rbp]
	add	eax, edx
	cmp	DWORD PTR -92[rbp], eax
	jle	.L110
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 37
	mov	esi, 1
	lea	rdi, .LC5[rip]
	call	fwrite@PLT
	mov	eax, DWORD PTR -28[rbp]
	neg	eax
	mov	edx, eax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	DWORD PTR -32[rbp], 0
	jmp	.L111
.L112:
	mov	eax, DWORD PTR -36[rbp]
	imul	eax, DWORD PTR -92[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	movq	xmm0, rax
	call	sign
	movsd	QWORD PTR -104[rbp], xmm0
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, DWORD PTR -96[rbp]
	movsd	xmm0, QWORD PTR .LC9[rip]
	movapd	xmm2, xmm0
	divsd	xmm2, xmm1
	mov	eax, DWORD PTR -36[rbp]
	imul	eax, DWORD PTR -92[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	movq	xmm1, QWORD PTR .LC10[rip]
	movapd	xmm4, xmm0
	andpd	xmm4, xmm1
	movq	rax, xmm4
	movapd	xmm1, xmm2
	movq	xmm0, rax
	call	pow@PLT
	movsd	xmm1, QWORD PTR -104[rbp]
	mulsd	xmm1, xmm0
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR 16[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR 16[rbp]
	add	rax, rdx
	addsd	xmm0, xmm1
	movsd	QWORD PTR [rax], xmm0
	add	DWORD PTR -32[rbp], 1
.L111:
	mov	eax, DWORD PTR -28[rbp]
	neg	eax
	cmp	DWORD PTR -32[rbp], eax
	jl	.L112
	mov	eax, DWORD PTR -28[rbp]
	neg	eax
	mov	DWORD PTR -32[rbp], eax
	jmp	.L113
.L114:
	mov	eax, DWORD PTR -36[rbp]
	imul	eax, DWORD PTR -92[rbp]
	mov	ecx, DWORD PTR -28[rbp]
	mov	edx, DWORD PTR -32[rbp]
	add	edx, ecx
	add	eax, edx
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	movsd	xmm0, QWORD PTR -16[rbp]
	movapd	xmm2, xmm0
	divsd	xmm2, QWORD PTR -88[rbp]
	mov	eax, DWORD PTR -36[rbp]
	imul	eax, DWORD PTR -92[rbp]
	mov	edx, eax
	mov	ecx, DWORD PTR -28[rbp]
	mov	eax, DWORD PTR -32[rbp]
	add	eax, ecx
	add	eax, 1
	add	eax, edx
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mov	eax, DWORD PTR -36[rbp]
	imul	eax, DWORD PTR -92[rbp]
	mov	ecx, DWORD PTR -28[rbp]
	mov	edx, DWORD PTR -32[rbp]
	add	edx, ecx
	add	eax, edx
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	movsd	xmm3, QWORD PTR [rax]
	subsd	xmm0, xmm3
	mulsd	xmm0, xmm2
	addsd	xmm0, xmm1
	movsd	QWORD PTR -8[rbp], xmm0
	mov	rax, QWORD PTR -8[rbp]
	movq	xmm0, rax
	call	sign
	movsd	QWORD PTR -104[rbp], xmm0
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, DWORD PTR -96[rbp]
	movsd	xmm0, QWORD PTR .LC9[rip]
	movapd	xmm2, xmm0
	divsd	xmm2, xmm1
	movsd	xmm0, QWORD PTR -8[rbp]
	movq	xmm1, QWORD PTR .LC10[rip]
	movapd	xmm5, xmm0
	andpd	xmm5, xmm1
	movq	rax, xmm5
	movapd	xmm1, xmm2
	movq	xmm0, rax
	call	pow@PLT
	movsd	xmm1, QWORD PTR -104[rbp]
	mulsd	xmm1, xmm0
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR 16[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR 16[rbp]
	add	rax, rdx
	addsd	xmm0, xmm1
	movsd	QWORD PTR [rax], xmm0
	add	DWORD PTR -32[rbp], 1
.L113:
	mov	eax, DWORD PTR -32[rbp]
	cmp	eax, DWORD PTR -72[rbp]
	jl	.L114
	jmp	.L115
.L110:
	cmp	DWORD PTR -28[rbp], 0
	js	.L116
	mov	edx, DWORD PTR -28[rbp]
	mov	eax, DWORD PTR -72[rbp]
	add	eax, edx
	cmp	DWORD PTR -92[rbp], eax
	jg	.L116
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 39
	mov	esi, 1
	lea	rdi, .LC7[rip]
	call	fwrite@PLT
	mov	edx, DWORD PTR -28[rbp]
	mov	eax, DWORD PTR -72[rbp]
	add	eax, edx
	sub	eax, DWORD PTR -92[rbp]
	mov	edx, eax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	DWORD PTR -32[rbp], 0
	jmp	.L117
.L118:
	mov	eax, DWORD PTR -36[rbp]
	imul	eax, DWORD PTR -92[rbp]
	mov	ecx, DWORD PTR -28[rbp]
	mov	edx, DWORD PTR -32[rbp]
	add	edx, ecx
	add	eax, edx
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	movsd	xmm0, QWORD PTR -16[rbp]
	movapd	xmm2, xmm0
	divsd	xmm2, QWORD PTR -88[rbp]
	mov	eax, DWORD PTR -36[rbp]
	imul	eax, DWORD PTR -92[rbp]
	mov	edx, eax
	mov	ecx, DWORD PTR -28[rbp]
	mov	eax, DWORD PTR -32[rbp]
	add	eax, ecx
	add	eax, 1
	add	eax, edx
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mov	eax, DWORD PTR -36[rbp]
	imul	eax, DWORD PTR -92[rbp]
	mov	ecx, DWORD PTR -28[rbp]
	mov	edx, DWORD PTR -32[rbp]
	add	edx, ecx
	add	eax, edx
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	movsd	xmm3, QWORD PTR [rax]
	subsd	xmm0, xmm3
	mulsd	xmm0, xmm2
	addsd	xmm0, xmm1
	movsd	QWORD PTR -8[rbp], xmm0
	mov	rax, QWORD PTR -8[rbp]
	movq	xmm0, rax
	call	sign
	movsd	QWORD PTR -104[rbp], xmm0
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, DWORD PTR -96[rbp]
	movsd	xmm0, QWORD PTR .LC9[rip]
	movapd	xmm2, xmm0
	divsd	xmm2, xmm1
	movsd	xmm0, QWORD PTR -8[rbp]
	movq	xmm1, QWORD PTR .LC10[rip]
	movapd	xmm6, xmm0
	andpd	xmm6, xmm1
	movq	rax, xmm6
	movapd	xmm1, xmm2
	movq	xmm0, rax
	call	pow@PLT
	movsd	xmm1, QWORD PTR -104[rbp]
	mulsd	xmm1, xmm0
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR 16[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR 16[rbp]
	add	rax, rdx
	addsd	xmm0, xmm1
	movsd	QWORD PTR [rax], xmm0
	add	DWORD PTR -32[rbp], 1
.L117:
	mov	eax, DWORD PTR -92[rbp]
	sub	eax, DWORD PTR -28[rbp]
	sub	eax, 1
	cmp	DWORD PTR -32[rbp], eax
	jl	.L118
	mov	eax, DWORD PTR -92[rbp]
	sub	eax, DWORD PTR -28[rbp]
	sub	eax, 1
	mov	DWORD PTR -32[rbp], eax
	jmp	.L119
.L120:
	mov	eax, DWORD PTR -36[rbp]
	imul	eax, DWORD PTR -92[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -92[rbp]
	sub	eax, 1
	add	eax, edx
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	movq	xmm0, rax
	call	sign
	movsd	QWORD PTR -104[rbp], xmm0
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, DWORD PTR -96[rbp]
	movsd	xmm0, QWORD PTR .LC9[rip]
	movapd	xmm2, xmm0
	divsd	xmm2, xmm1
	mov	eax, DWORD PTR -36[rbp]
	imul	eax, DWORD PTR -92[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -92[rbp]
	sub	eax, 1
	add	eax, edx
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	movq	xmm1, QWORD PTR .LC10[rip]
	movapd	xmm7, xmm0
	andpd	xmm7, xmm1
	movq	rax, xmm7
	movapd	xmm1, xmm2
	movq	xmm0, rax
	call	pow@PLT
	movsd	xmm1, QWORD PTR -104[rbp]
	mulsd	xmm1, xmm0
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR 16[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR 16[rbp]
	add	rax, rdx
	addsd	xmm0, xmm1
	movsd	QWORD PTR [rax], xmm0
	add	DWORD PTR -32[rbp], 1
.L119:
	mov	eax, DWORD PTR -32[rbp]
	cmp	eax, DWORD PTR -72[rbp]
	jl	.L120
	jmp	.L115
.L116:
	cmp	DWORD PTR -28[rbp], 0
	js	.L121
	mov	edx, DWORD PTR -28[rbp]
	mov	eax, DWORD PTR -72[rbp]
	add	eax, edx
	cmp	DWORD PTR -92[rbp], eax
	jle	.L121
	mov	DWORD PTR -32[rbp], 0
	jmp	.L122
.L123:
	mov	eax, DWORD PTR -36[rbp]
	imul	eax, DWORD PTR -92[rbp]
	mov	ecx, DWORD PTR -28[rbp]
	mov	edx, DWORD PTR -32[rbp]
	add	edx, ecx
	add	eax, edx
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	movsd	xmm0, QWORD PTR -16[rbp]
	movapd	xmm2, xmm0
	divsd	xmm2, QWORD PTR -88[rbp]
	mov	eax, DWORD PTR -36[rbp]
	imul	eax, DWORD PTR -92[rbp]
	mov	edx, eax
	mov	ecx, DWORD PTR -28[rbp]
	mov	eax, DWORD PTR -32[rbp]
	add	eax, ecx
	add	eax, 1
	add	eax, edx
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mov	eax, DWORD PTR -36[rbp]
	imul	eax, DWORD PTR -92[rbp]
	mov	ecx, DWORD PTR -28[rbp]
	mov	edx, DWORD PTR -32[rbp]
	add	edx, ecx
	add	eax, edx
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	movsd	xmm3, QWORD PTR [rax]
	subsd	xmm0, xmm3
	mulsd	xmm0, xmm2
	addsd	xmm0, xmm1
	movsd	QWORD PTR -8[rbp], xmm0
	mov	rax, QWORD PTR -8[rbp]
	movq	xmm0, rax
	call	sign
	movsd	QWORD PTR -104[rbp], xmm0
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, DWORD PTR -96[rbp]
	movsd	xmm0, QWORD PTR .LC9[rip]
	movapd	xmm2, xmm0
	divsd	xmm2, xmm1
	movsd	xmm0, QWORD PTR -8[rbp]
	movq	xmm1, QWORD PTR .LC10[rip]
	movapd	xmm4, xmm0
	andpd	xmm4, xmm1
	movq	rax, xmm4
	movapd	xmm1, xmm2
	movq	xmm0, rax
	call	pow@PLT
	movsd	xmm1, QWORD PTR -104[rbp]
	mulsd	xmm1, xmm0
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR 16[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR 16[rbp]
	add	rax, rdx
	addsd	xmm0, xmm1
	movsd	QWORD PTR [rax], xmm0
	add	DWORD PTR -32[rbp], 1
.L122:
	mov	eax, DWORD PTR -32[rbp]
	cmp	eax, DWORD PTR -72[rbp]
	jl	.L123
	jmp	.L115
.L121:
	cmp	DWORD PTR -28[rbp], 0
	jns	.L115
	mov	edx, DWORD PTR -28[rbp]
	mov	eax, DWORD PTR -72[rbp]
	add	eax, edx
	cmp	DWORD PTR -92[rbp], eax
	jg	.L115
	mov	DWORD PTR -32[rbp], 0
	jmp	.L124
.L125:
	mov	eax, DWORD PTR -36[rbp]
	imul	eax, DWORD PTR -92[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	movq	xmm0, rax
	call	sign
	movsd	QWORD PTR -104[rbp], xmm0
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, DWORD PTR -96[rbp]
	movsd	xmm0, QWORD PTR .LC9[rip]
	movapd	xmm2, xmm0
	divsd	xmm2, xmm1
	mov	eax, DWORD PTR -36[rbp]
	imul	eax, DWORD PTR -92[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	movq	xmm1, QWORD PTR .LC10[rip]
	movapd	xmm5, xmm0
	andpd	xmm5, xmm1
	movq	rax, xmm5
	movapd	xmm1, xmm2
	movq	xmm0, rax
	call	pow@PLT
	movsd	xmm1, QWORD PTR -104[rbp]
	mulsd	xmm1, xmm0
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR 16[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR 16[rbp]
	add	rax, rdx
	addsd	xmm0, xmm1
	movsd	QWORD PTR [rax], xmm0
	add	DWORD PTR -32[rbp], 1
.L124:
	mov	eax, DWORD PTR -28[rbp]
	neg	eax
	cmp	DWORD PTR -32[rbp], eax
	jl	.L125
	mov	eax, DWORD PTR -28[rbp]
	neg	eax
	mov	DWORD PTR -32[rbp], eax
	jmp	.L126
.L127:
	mov	eax, DWORD PTR -36[rbp]
	imul	eax, DWORD PTR -92[rbp]
	mov	ecx, DWORD PTR -28[rbp]
	mov	edx, DWORD PTR -32[rbp]
	add	edx, ecx
	add	eax, edx
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	movsd	xmm0, QWORD PTR -16[rbp]
	movapd	xmm2, xmm0
	divsd	xmm2, QWORD PTR -88[rbp]
	mov	eax, DWORD PTR -36[rbp]
	imul	eax, DWORD PTR -92[rbp]
	mov	edx, eax
	mov	ecx, DWORD PTR -28[rbp]
	mov	eax, DWORD PTR -32[rbp]
	add	eax, ecx
	add	eax, 1
	add	eax, edx
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mov	eax, DWORD PTR -36[rbp]
	imul	eax, DWORD PTR -92[rbp]
	mov	ecx, DWORD PTR -28[rbp]
	mov	edx, DWORD PTR -32[rbp]
	add	edx, ecx
	add	eax, edx
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	movsd	xmm3, QWORD PTR [rax]
	subsd	xmm0, xmm3
	mulsd	xmm0, xmm2
	addsd	xmm0, xmm1
	movsd	QWORD PTR -8[rbp], xmm0
	mov	rax, QWORD PTR -8[rbp]
	movq	xmm0, rax
	call	sign
	movsd	QWORD PTR -104[rbp], xmm0
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, DWORD PTR -96[rbp]
	movsd	xmm0, QWORD PTR .LC9[rip]
	movapd	xmm2, xmm0
	divsd	xmm2, xmm1
	movsd	xmm0, QWORD PTR -8[rbp]
	movq	xmm1, QWORD PTR .LC10[rip]
	movapd	xmm6, xmm0
	andpd	xmm6, xmm1
	movq	rax, xmm6
	movapd	xmm1, xmm2
	movq	xmm0, rax
	call	pow@PLT
	movsd	xmm1, QWORD PTR -104[rbp]
	mulsd	xmm1, xmm0
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR 16[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR 16[rbp]
	add	rax, rdx
	addsd	xmm0, xmm1
	movsd	QWORD PTR [rax], xmm0
	add	DWORD PTR -32[rbp], 1
.L126:
	mov	eax, DWORD PTR -92[rbp]
	sub	eax, DWORD PTR -28[rbp]
	sub	eax, 1
	cmp	DWORD PTR -32[rbp], eax
	jl	.L127
	mov	eax, DWORD PTR -92[rbp]
	sub	eax, DWORD PTR -28[rbp]
	sub	eax, 1
	mov	DWORD PTR -32[rbp], eax
	jmp	.L128
.L129:
	mov	eax, DWORD PTR -36[rbp]
	imul	eax, DWORD PTR -92[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -92[rbp]
	sub	eax, 1
	add	eax, edx
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	movq	xmm0, rax
	call	sign
	movsd	QWORD PTR -104[rbp], xmm0
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, DWORD PTR -96[rbp]
	movsd	xmm0, QWORD PTR .LC9[rip]
	movapd	xmm2, xmm0
	divsd	xmm2, xmm1
	mov	eax, DWORD PTR -36[rbp]
	imul	eax, DWORD PTR -92[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -92[rbp]
	sub	eax, 1
	add	eax, edx
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	movq	xmm1, QWORD PTR .LC10[rip]
	movapd	xmm7, xmm0
	andpd	xmm7, xmm1
	movq	rax, xmm7
	movapd	xmm1, xmm2
	movq	xmm0, rax
	call	pow@PLT
	movsd	xmm1, QWORD PTR -104[rbp]
	mulsd	xmm1, xmm0
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR 16[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR 16[rbp]
	add	rax, rdx
	addsd	xmm0, xmm1
	movsd	QWORD PTR [rax], xmm0
	add	DWORD PTR -32[rbp], 1
.L128:
	mov	eax, DWORD PTR -32[rbp]
	cmp	eax, DWORD PTR -72[rbp]
	jl	.L129
.L115:
	add	DWORD PTR -36[rbp], 1
.L109:
	mov	eax, DWORD PTR -36[rbp]
	cmp	eax, DWORD PTR -68[rbp]
	jl	.L130
	mov	DWORD PTR -36[rbp], 0
	jmp	.L131
.L132:
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR 16[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, DWORD PTR -68[rbp]
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR 16[rbp]
	add	rax, rdx
	divsd	xmm0, xmm1
	movsd	QWORD PTR [rax], xmm0
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR 16[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	movq	xmm0, rax
	call	sign
	movsd	QWORD PTR -104[rbp], xmm0
	pxor	xmm2, xmm2
	cvtsi2sd	xmm2, DWORD PTR -96[rbp]
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR 16[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	movq	xmm1, QWORD PTR .LC10[rip]
	movapd	xmm4, xmm0
	andpd	xmm4, xmm1
	movq	rax, xmm4
	movapd	xmm1, xmm2
	movq	xmm0, rax
	call	pow@PLT
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR 16[rbp]
	add	rax, rdx
	mulsd	xmm0, QWORD PTR -104[rbp]
	movsd	QWORD PTR [rax], xmm0
	add	DWORD PTR -36[rbp], 1
.L131:
	mov	eax, DWORD PTR -36[rbp]
	cmp	eax, DWORD PTR -72[rbp]
	jl	.L132
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	do_beam_root, .-do_beam_root
	.globl	sign
	.type	sign, @function
sign:
.LFB11:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	movsd	QWORD PTR -8[rbp], xmm0
	movsd	xmm0, QWORD PTR -8[rbp]
	pxor	xmm1, xmm1
	comisd	xmm0, xmm1
	jb	.L139
	movsd	xmm0, QWORD PTR .LC9[rip]
	jmp	.L137
.L139:
	movsd	xmm0, QWORD PTR .LC11[rip]
.L137:
	movq	rax, xmm0
	movq	xmm0, rax
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	sign, .-sign
	.section	.rodata
	.align 8
.LC12:
	.string	"Bad choice for amplitude metric\n"
	.text
	.globl	get_mag
	.type	get_mag, @function
get_mag:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	DWORD PTR -32[rbp], edx
	cmp	DWORD PTR -32[rbp], 0
	jne	.L141
	pxor	xmm0, xmm0
	movsd	QWORD PTR -8[rbp], xmm0
	mov	DWORD PTR -12[rbp], 0
	jmp	.L142
.L145:
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	movq	xmm1, QWORD PTR .LC10[rip]
	andpd	xmm0, xmm1
	comisd	xmm0, QWORD PTR -8[rbp]
	jbe	.L143
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	movq	xmm1, QWORD PTR .LC10[rip]
	andpd	xmm0, xmm1
	movsd	QWORD PTR -8[rbp], xmm0
.L143:
	add	DWORD PTR -12[rbp], 1
.L142:
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, DWORD PTR -28[rbp]
	jl	.L145
	jmp	.L146
.L141:
	cmp	DWORD PTR -32[rbp], 1
	jne	.L147
	pxor	xmm0, xmm0
	movsd	QWORD PTR -8[rbp], xmm0
	mov	DWORD PTR -12[rbp], 0
	jmp	.L148
.L149:
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	movq	xmm1, QWORD PTR .LC10[rip]
	andpd	xmm0, xmm1
	movsd	xmm1, QWORD PTR -8[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -8[rbp], xmm0
	add	DWORD PTR -12[rbp], 1
.L148:
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, DWORD PTR -28[rbp]
	jl	.L149
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, DWORD PTR -28[rbp]
	movsd	xmm0, QWORD PTR -8[rbp]
	divsd	xmm0, xmm1
	movsd	QWORD PTR -8[rbp], xmm0
	jmp	.L146
.L147:
	cmp	DWORD PTR -32[rbp], 2
	jne	.L150
	pxor	xmm0, xmm0
	movsd	QWORD PTR -8[rbp], xmm0
	mov	DWORD PTR -12[rbp], 0
	jmp	.L151
.L152:
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mulsd	xmm0, xmm1
	movsd	xmm1, QWORD PTR -8[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -8[rbp], xmm0
	add	DWORD PTR -12[rbp], 1
.L151:
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, DWORD PTR -28[rbp]
	jl	.L152
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, DWORD PTR -28[rbp]
	movsd	xmm0, QWORD PTR -8[rbp]
	divsd	xmm0, xmm1
	movq	rax, xmm0
	movq	xmm0, rax
	call	sqrt@PLT
	movq	rax, xmm0
	mov	QWORD PTR -8[rbp], rax
	jmp	.L146
.L150:
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 32
	mov	esi, 1
	lea	rdi, .LC12[rip]
	call	fwrite@PLT
	mov	edi, 1
	call	exit@PLT
.L146:
	movsd	xmm0, QWORD PTR -8[rbp]
	movq	rax, xmm0
	movq	xmm0, rax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	get_mag, .-get_mag
	.section	.rodata
.LC13:
	.string	"calculating coherence\n"
	.align 8
.LC14:
	.string	"Shift time for station %d puts you past end of record\n"
	.align 8
.LC15:
	.string	"Shift time  for station %d is before start of record and puts you past end of record\n"
.LC16:
	.string	"coherence is %f\n"
.LC17:
	.string	"free dum array\n"
.LC18:
	.string	"free image\n"
.LC19:
	.string	"free weight\n"
.LC20:
	.string	"done free\n"
	.text
	.globl	get_coherence
	.type	get_coherence, @function
get_coherence:
.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, 160
	mov	QWORD PTR -120[rbp], rdi
	mov	QWORD PTR -128[rbp], rsi
	mov	QWORD PTR -136[rbp], rdx
	mov	DWORD PTR -140[rbp], ecx
	mov	DWORD PTR -144[rbp], r8d
	mov	DWORD PTR -148[rbp], r9d
	movsd	QWORD PTR -160[rbp], xmm0
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 22
	mov	esi, 1
	lea	rdi, .LC13[rip]
	call	fwrite@PLT
	mov	eax, DWORD PTR 40[rbp]
	cdqe
	mov	esi, 8
	mov	rdi, rax
	call	calloc@PLT
	mov	QWORD PTR -80[rbp], rax
	cmp	QWORD PTR -80[rbp], 0
	jne	.L156
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 22
	mov	esi, 1
	lea	rdi, .LC8[rip]
	call	fwrite@PLT
	movsd	xmm0, QWORD PTR .LC9[rip]
	jmp	.L157
.L156:
	mov	eax, DWORD PTR 40[rbp]
	cdqe
	mov	esi, 8
	mov	rdi, rax
	call	calloc@PLT
	mov	QWORD PTR -72[rbp], rax
	cmp	QWORD PTR -72[rbp], 0
	jne	.L158
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 22
	mov	esi, 1
	lea	rdi, .LC8[rip]
	call	fwrite@PLT
	movsd	xmm0, QWORD PTR .LC9[rip]
	jmp	.L157
.L158:
	mov	eax, DWORD PTR 40[rbp]
	cdqe
	mov	esi, 8
	mov	rdi, rax
	call	calloc@PLT
	mov	QWORD PTR -64[rbp], rax
	cmp	QWORD PTR -64[rbp], 0
	jne	.L159
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 22
	mov	esi, 1
	lea	rdi, .LC8[rip]
	call	fwrite@PLT
	movsd	xmm0, QWORD PTR .LC9[rip]
	jmp	.L157
.L159:
	mov	DWORD PTR -100[rbp], 0
	jmp	.L160
.L161:
	mov	eax, DWORD PTR -100[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -80[rbp]
	add	rax, rdx
	pxor	xmm0, xmm0
	movsd	QWORD PTR [rax], xmm0
	mov	eax, DWORD PTR -100[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -72[rbp]
	add	rax, rdx
	pxor	xmm0, xmm0
	movsd	QWORD PTR [rax], xmm0
	mov	eax, DWORD PTR -100[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	pxor	xmm0, xmm0
	movsd	QWORD PTR [rax], xmm0
	add	DWORD PTR -100[rbp], 1
.L160:
	mov	eax, DWORD PTR -100[rbp]
	cmp	eax, DWORD PTR 40[rbp]
	jl	.L161
	mov	DWORD PTR -100[rbp], 0
	jmp	.L162
.L183:
	mov	eax, DWORD PTR -100[rbp]
	imul	eax, DWORD PTR -140[rbp]
	imul	eax, DWORD PTR -144[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -148[rbp]
	imul	eax, DWORD PTR -144[rbp]
	add	edx, eax
	mov	eax, DWORD PTR 16[rbp]
	add	eax, edx
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -128[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	movsd	QWORD PTR -56[rbp], xmm0
	movsd	xmm0, QWORD PTR -56[rbp]
	divsd	xmm0, QWORD PTR -160[rbp]
	cvttsd2si	edx, xmm0
	mov	eax, DWORD PTR 32[rbp]
	add	eax, edx
	add	eax, 1
	mov	DWORD PTR -92[rbp], eax
	movsd	xmm0, QWORD PTR -56[rbp]
	divsd	xmm0, QWORD PTR -160[rbp]
	cvttsd2si	eax, xmm0
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	movapd	xmm1, xmm0
	mulsd	xmm1, QWORD PTR -160[rbp]
	movsd	xmm0, QWORD PTR -56[rbp]
	subsd	xmm0, xmm1
	movsd	QWORD PTR -48[rbp], xmm0
	cmp	DWORD PTR -92[rbp], 0
	jns	.L163
	mov	edx, DWORD PTR -92[rbp]
	mov	eax, DWORD PTR 40[rbp]
	add	eax, edx
	cmp	DWORD PTR 48[rbp], eax
	jle	.L163
	mov	DWORD PTR -96[rbp], 0
	jmp	.L164
.L165:
	mov	eax, DWORD PTR -100[rbp]
	imul	eax, DWORD PTR 48[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -120[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	mov	eax, DWORD PTR -100[rbp]
	imul	eax, DWORD PTR 48[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -120[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mulsd	xmm1, xmm0
	mov	eax, DWORD PTR -100[rbp]
	imul	eax, DWORD PTR 48[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -120[rbp]
	add	rax, rdx
	movsd	xmm2, QWORD PTR 8[rax]
	mov	eax, DWORD PTR -100[rbp]
	imul	eax, DWORD PTR 48[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -120[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR 8[rax]
	mulsd	xmm0, xmm2
	addsd	xmm1, xmm0
	movq	rax, xmm1
	movq	xmm0, rax
	call	sqrt@PLT
	movq	rax, xmm0
	mov	QWORD PTR -24[rbp], rax
	mov	eax, DWORD PTR -100[rbp]
	imul	eax, DWORD PTR 48[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -120[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	divsd	xmm0, QWORD PTR -24[rbp]
	movsd	QWORD PTR -16[rbp], xmm0
	mov	eax, DWORD PTR -100[rbp]
	imul	eax, DWORD PTR 48[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -136[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	divsd	xmm0, QWORD PTR -24[rbp]
	movsd	QWORD PTR -8[rbp], xmm0
	mov	eax, DWORD PTR -96[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -80[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mov	eax, DWORD PTR -96[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -80[rbp]
	add	rax, rdx
	addsd	xmm0, QWORD PTR -16[rbp]
	movsd	QWORD PTR [rax], xmm0
	mov	eax, DWORD PTR -96[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -72[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mov	eax, DWORD PTR -96[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -72[rbp]
	add	rax, rdx
	addsd	xmm0, QWORD PTR -8[rbp]
	movsd	QWORD PTR [rax], xmm0
	add	DWORD PTR -96[rbp], 1
.L164:
	mov	eax, DWORD PTR -92[rbp]
	neg	eax
	cmp	DWORD PTR -96[rbp], eax
	jl	.L165
	mov	eax, DWORD PTR -92[rbp]
	neg	eax
	mov	DWORD PTR -96[rbp], eax
	jmp	.L166
.L167:
	mov	eax, DWORD PTR -100[rbp]
	imul	eax, DWORD PTR 48[rbp]
	mov	ecx, DWORD PTR -92[rbp]
	mov	edx, DWORD PTR -96[rbp]
	add	edx, ecx
	add	eax, edx
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -120[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	movsd	xmm0, QWORD PTR -48[rbp]
	movapd	xmm2, xmm0
	divsd	xmm2, QWORD PTR -160[rbp]
	mov	eax, DWORD PTR -100[rbp]
	imul	eax, DWORD PTR 48[rbp]
	mov	edx, eax
	mov	ecx, DWORD PTR -92[rbp]
	mov	eax, DWORD PTR -96[rbp]
	add	eax, ecx
	add	eax, 1
	add	eax, edx
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -120[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mov	eax, DWORD PTR -100[rbp]
	imul	eax, DWORD PTR 48[rbp]
	mov	ecx, DWORD PTR -92[rbp]
	mov	edx, DWORD PTR -96[rbp]
	add	edx, ecx
	add	eax, edx
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -120[rbp]
	add	rax, rdx
	movsd	xmm3, QWORD PTR [rax]
	subsd	xmm0, xmm3
	mulsd	xmm0, xmm2
	addsd	xmm0, xmm1
	movsd	QWORD PTR -40[rbp], xmm0
	mov	eax, DWORD PTR -100[rbp]
	imul	eax, DWORD PTR 48[rbp]
	mov	ecx, DWORD PTR -92[rbp]
	mov	edx, DWORD PTR -96[rbp]
	add	edx, ecx
	add	eax, edx
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -120[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR 8[rax]
	movsd	xmm0, QWORD PTR -48[rbp]
	movapd	xmm2, xmm0
	divsd	xmm2, QWORD PTR -160[rbp]
	mov	eax, DWORD PTR -100[rbp]
	imul	eax, DWORD PTR 48[rbp]
	mov	edx, eax
	mov	ecx, DWORD PTR -92[rbp]
	mov	eax, DWORD PTR -96[rbp]
	add	eax, ecx
	add	eax, 1
	add	eax, edx
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -120[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR 8[rax]
	mov	eax, DWORD PTR -100[rbp]
	imul	eax, DWORD PTR 48[rbp]
	mov	ecx, DWORD PTR -92[rbp]
	mov	edx, DWORD PTR -96[rbp]
	add	edx, ecx
	add	eax, edx
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -120[rbp]
	add	rax, rdx
	movsd	xmm3, QWORD PTR 8[rax]
	subsd	xmm0, xmm3
	mulsd	xmm0, xmm2
	addsd	xmm0, xmm1
	movsd	QWORD PTR -32[rbp], xmm0
	movsd	xmm0, QWORD PTR -40[rbp]
	movapd	xmm1, xmm0
	mulsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR -32[rbp]
	mulsd	xmm0, xmm0
	addsd	xmm1, xmm0
	movq	rax, xmm1
	movq	xmm0, rax
	call	sqrt@PLT
	movq	rax, xmm0
	mov	QWORD PTR -24[rbp], rax
	mov	eax, DWORD PTR -96[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -80[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	movsd	xmm0, QWORD PTR -40[rbp]
	divsd	xmm0, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR -96[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -80[rbp]
	add	rax, rdx
	addsd	xmm0, xmm1
	movsd	QWORD PTR [rax], xmm0
	mov	eax, DWORD PTR -96[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -72[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	movsd	xmm0, QWORD PTR -32[rbp]
	divsd	xmm0, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR -96[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -72[rbp]
	add	rax, rdx
	addsd	xmm0, xmm1
	movsd	QWORD PTR [rax], xmm0
	add	DWORD PTR -96[rbp], 1
.L166:
	mov	eax, DWORD PTR -96[rbp]
	cmp	eax, DWORD PTR 40[rbp]
	jl	.L167
	jmp	.L168
.L163:
	cmp	DWORD PTR -92[rbp], 0
	js	.L169
	mov	edx, DWORD PTR -92[rbp]
	mov	eax, DWORD PTR 40[rbp]
	add	eax, edx
	cmp	DWORD PTR 48[rbp], eax
	jg	.L169
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, DWORD PTR -100[rbp]
	lea	rsi, .LC14[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edx, DWORD PTR -92[rbp]
	mov	eax, DWORD PTR 40[rbp]
	add	eax, edx
	sub	eax, DWORD PTR 48[rbp]
	mov	edx, eax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	DWORD PTR -96[rbp], 0
	jmp	.L170
.L171:
	mov	eax, DWORD PTR -100[rbp]
	imul	eax, DWORD PTR 48[rbp]
	mov	ecx, DWORD PTR -92[rbp]
	mov	edx, DWORD PTR -96[rbp]
	add	edx, ecx
	add	eax, edx
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -120[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	movsd	xmm0, QWORD PTR -48[rbp]
	movapd	xmm2, xmm0
	divsd	xmm2, QWORD PTR -160[rbp]
	mov	eax, DWORD PTR -100[rbp]
	imul	eax, DWORD PTR 48[rbp]
	mov	edx, eax
	mov	ecx, DWORD PTR -92[rbp]
	mov	eax, DWORD PTR -96[rbp]
	add	eax, ecx
	add	eax, 1
	add	eax, edx
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -120[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mov	eax, DWORD PTR -100[rbp]
	imul	eax, DWORD PTR 48[rbp]
	mov	ecx, DWORD PTR -92[rbp]
	mov	edx, DWORD PTR -96[rbp]
	add	edx, ecx
	add	eax, edx
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -120[rbp]
	add	rax, rdx
	movsd	xmm3, QWORD PTR [rax]
	subsd	xmm0, xmm3
	mulsd	xmm0, xmm2
	addsd	xmm0, xmm1
	movsd	QWORD PTR -40[rbp], xmm0
	mov	eax, DWORD PTR -100[rbp]
	imul	eax, DWORD PTR 48[rbp]
	mov	ecx, DWORD PTR -92[rbp]
	mov	edx, DWORD PTR -96[rbp]
	add	edx, ecx
	add	eax, edx
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -120[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR 8[rax]
	movsd	xmm0, QWORD PTR -48[rbp]
	movapd	xmm2, xmm0
	divsd	xmm2, QWORD PTR -160[rbp]
	mov	eax, DWORD PTR -100[rbp]
	imul	eax, DWORD PTR 48[rbp]
	mov	edx, eax
	mov	ecx, DWORD PTR -92[rbp]
	mov	eax, DWORD PTR -96[rbp]
	add	eax, ecx
	add	eax, 1
	add	eax, edx
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -120[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR 8[rax]
	mov	eax, DWORD PTR -100[rbp]
	imul	eax, DWORD PTR 48[rbp]
	mov	ecx, DWORD PTR -92[rbp]
	mov	edx, DWORD PTR -96[rbp]
	add	edx, ecx
	add	eax, edx
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -120[rbp]
	add	rax, rdx
	movsd	xmm3, QWORD PTR 8[rax]
	subsd	xmm0, xmm3
	mulsd	xmm0, xmm2
	addsd	xmm0, xmm1
	movsd	QWORD PTR -32[rbp], xmm0
	movsd	xmm0, QWORD PTR -40[rbp]
	movapd	xmm1, xmm0
	mulsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR -32[rbp]
	mulsd	xmm0, xmm0
	addsd	xmm1, xmm0
	movq	rax, xmm1
	movq	xmm0, rax
	call	sqrt@PLT
	movq	rax, xmm0
	mov	QWORD PTR -24[rbp], rax
	mov	eax, DWORD PTR -96[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -80[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	movsd	xmm0, QWORD PTR -40[rbp]
	divsd	xmm0, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR -96[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -80[rbp]
	add	rax, rdx
	addsd	xmm0, xmm1
	movsd	QWORD PTR [rax], xmm0
	mov	eax, DWORD PTR -96[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -72[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	movsd	xmm0, QWORD PTR -32[rbp]
	divsd	xmm0, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR -96[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -72[rbp]
	add	rax, rdx
	addsd	xmm0, xmm1
	movsd	QWORD PTR [rax], xmm0
	add	DWORD PTR -96[rbp], 1
.L170:
	mov	eax, DWORD PTR 48[rbp]
	sub	eax, DWORD PTR -92[rbp]
	sub	eax, 1
	cmp	DWORD PTR -96[rbp], eax
	jl	.L171
	mov	eax, DWORD PTR 48[rbp]
	sub	eax, DWORD PTR -92[rbp]
	sub	eax, 1
	mov	DWORD PTR -96[rbp], eax
	jmp	.L172
.L173:
	mov	eax, DWORD PTR -100[rbp]
	imul	eax, DWORD PTR 48[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR 48[rbp]
	sub	eax, 1
	add	eax, edx
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -120[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	mov	eax, DWORD PTR -100[rbp]
	imul	eax, DWORD PTR 48[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR 48[rbp]
	sub	eax, 1
	add	eax, edx
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -120[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mulsd	xmm1, xmm0
	mov	eax, DWORD PTR -100[rbp]
	imul	eax, DWORD PTR 48[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR 48[rbp]
	sub	eax, 1
	add	eax, edx
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -120[rbp]
	add	rax, rdx
	movsd	xmm2, QWORD PTR 8[rax]
	mov	eax, DWORD PTR -100[rbp]
	imul	eax, DWORD PTR 48[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR 48[rbp]
	sub	eax, 1
	add	eax, edx
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -120[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR 8[rax]
	mulsd	xmm0, xmm2
	addsd	xmm1, xmm0
	movq	rax, xmm1
	movq	xmm0, rax
	call	sqrt@PLT
	movq	rax, xmm0
	mov	QWORD PTR -24[rbp], rax
	mov	eax, DWORD PTR -100[rbp]
	imul	eax, DWORD PTR 48[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR 48[rbp]
	sub	eax, 1
	add	eax, edx
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -120[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	divsd	xmm0, QWORD PTR -24[rbp]
	movsd	QWORD PTR -16[rbp], xmm0
	mov	eax, DWORD PTR -100[rbp]
	imul	eax, DWORD PTR 48[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR 48[rbp]
	sub	eax, 1
	add	eax, edx
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -136[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	divsd	xmm0, QWORD PTR -24[rbp]
	movsd	QWORD PTR -8[rbp], xmm0
	mov	eax, DWORD PTR -96[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -80[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mov	eax, DWORD PTR -96[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -80[rbp]
	add	rax, rdx
	addsd	xmm0, QWORD PTR -16[rbp]
	movsd	QWORD PTR [rax], xmm0
	mov	eax, DWORD PTR -96[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -72[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mov	eax, DWORD PTR -96[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -72[rbp]
	add	rax, rdx
	addsd	xmm0, QWORD PTR -8[rbp]
	movsd	QWORD PTR [rax], xmm0
	add	DWORD PTR -96[rbp], 1
.L172:
	mov	eax, DWORD PTR -96[rbp]
	cmp	eax, DWORD PTR 40[rbp]
	jl	.L173
	jmp	.L168
.L169:
	cmp	DWORD PTR -92[rbp], 0
	js	.L174
	mov	edx, DWORD PTR -92[rbp]
	mov	eax, DWORD PTR 40[rbp]
	add	eax, edx
	cmp	DWORD PTR 48[rbp], eax
	jle	.L174
	mov	DWORD PTR -96[rbp], 0
	jmp	.L175
.L176:
	mov	eax, DWORD PTR -100[rbp]
	imul	eax, DWORD PTR 48[rbp]
	mov	ecx, DWORD PTR -92[rbp]
	mov	edx, DWORD PTR -96[rbp]
	add	edx, ecx
	add	eax, edx
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -120[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	movsd	xmm0, QWORD PTR -48[rbp]
	movapd	xmm2, xmm0
	divsd	xmm2, QWORD PTR -160[rbp]
	mov	eax, DWORD PTR -100[rbp]
	imul	eax, DWORD PTR 48[rbp]
	mov	edx, eax
	mov	ecx, DWORD PTR -92[rbp]
	mov	eax, DWORD PTR -96[rbp]
	add	eax, ecx
	add	eax, 1
	add	eax, edx
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -120[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mov	eax, DWORD PTR -100[rbp]
	imul	eax, DWORD PTR 48[rbp]
	mov	ecx, DWORD PTR -92[rbp]
	mov	edx, DWORD PTR -96[rbp]
	add	edx, ecx
	add	eax, edx
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -120[rbp]
	add	rax, rdx
	movsd	xmm3, QWORD PTR [rax]
	subsd	xmm0, xmm3
	mulsd	xmm0, xmm2
	addsd	xmm0, xmm1
	movsd	QWORD PTR -40[rbp], xmm0
	mov	eax, DWORD PTR -100[rbp]
	imul	eax, DWORD PTR 48[rbp]
	mov	ecx, DWORD PTR -92[rbp]
	mov	edx, DWORD PTR -96[rbp]
	add	edx, ecx
	add	eax, edx
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -120[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR 8[rax]
	movsd	xmm0, QWORD PTR -48[rbp]
	movapd	xmm2, xmm0
	divsd	xmm2, QWORD PTR -160[rbp]
	mov	eax, DWORD PTR -100[rbp]
	imul	eax, DWORD PTR 48[rbp]
	mov	edx, eax
	mov	ecx, DWORD PTR -92[rbp]
	mov	eax, DWORD PTR -96[rbp]
	add	eax, ecx
	add	eax, 1
	add	eax, edx
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -120[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR 8[rax]
	mov	eax, DWORD PTR -100[rbp]
	imul	eax, DWORD PTR 48[rbp]
	mov	ecx, DWORD PTR -92[rbp]
	mov	edx, DWORD PTR -96[rbp]
	add	edx, ecx
	add	eax, edx
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -120[rbp]
	add	rax, rdx
	movsd	xmm3, QWORD PTR 8[rax]
	subsd	xmm0, xmm3
	mulsd	xmm0, xmm2
	addsd	xmm0, xmm1
	movsd	QWORD PTR -32[rbp], xmm0
	movsd	xmm0, QWORD PTR -40[rbp]
	movapd	xmm1, xmm0
	mulsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR -32[rbp]
	mulsd	xmm0, xmm0
	addsd	xmm1, xmm0
	movq	rax, xmm1
	movq	xmm0, rax
	call	sqrt@PLT
	movq	rax, xmm0
	mov	QWORD PTR -24[rbp], rax
	mov	eax, DWORD PTR -96[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -80[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	movsd	xmm0, QWORD PTR -40[rbp]
	divsd	xmm0, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR -96[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -80[rbp]
	add	rax, rdx
	addsd	xmm0, xmm1
	movsd	QWORD PTR [rax], xmm0
	mov	eax, DWORD PTR -96[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -72[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	movsd	xmm0, QWORD PTR -32[rbp]
	divsd	xmm0, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR -96[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -72[rbp]
	add	rax, rdx
	addsd	xmm0, xmm1
	movsd	QWORD PTR [rax], xmm0
	add	DWORD PTR -96[rbp], 1
.L175:
	mov	eax, DWORD PTR -96[rbp]
	cmp	eax, DWORD PTR 40[rbp]
	jl	.L176
	jmp	.L168
.L174:
	cmp	DWORD PTR -92[rbp], 0
	jns	.L168
	mov	edx, DWORD PTR -92[rbp]
	mov	eax, DWORD PTR 40[rbp]
	add	eax, edx
	cmp	DWORD PTR 48[rbp], eax
	jg	.L168
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, DWORD PTR -100[rbp]
	lea	rsi, .LC15[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, DWORD PTR -92[rbp]
	neg	eax
	mov	edx, eax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edx, DWORD PTR -92[rbp]
	mov	eax, DWORD PTR 40[rbp]
	add	eax, edx
	sub	eax, DWORD PTR 48[rbp]
	mov	edx, eax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	DWORD PTR -96[rbp], 0
	jmp	.L177
.L178:
	mov	eax, DWORD PTR -100[rbp]
	imul	eax, DWORD PTR 48[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -120[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	mov	eax, DWORD PTR -100[rbp]
	imul	eax, DWORD PTR 48[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -120[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mulsd	xmm1, xmm0
	mov	eax, DWORD PTR -100[rbp]
	imul	eax, DWORD PTR 48[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -120[rbp]
	add	rax, rdx
	movsd	xmm2, QWORD PTR 8[rax]
	mov	eax, DWORD PTR -100[rbp]
	imul	eax, DWORD PTR 48[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -120[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR 8[rax]
	mulsd	xmm0, xmm2
	addsd	xmm1, xmm0
	movq	rax, xmm1
	movq	xmm0, rax
	call	sqrt@PLT
	movq	rax, xmm0
	mov	QWORD PTR -24[rbp], rax
	mov	eax, DWORD PTR -96[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -80[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	mov	eax, DWORD PTR -100[rbp]
	imul	eax, DWORD PTR 48[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -120[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	divsd	xmm0, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR -96[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -80[rbp]
	add	rax, rdx
	addsd	xmm0, xmm1
	movsd	QWORD PTR [rax], xmm0
	mov	eax, DWORD PTR -96[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -72[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	mov	eax, DWORD PTR -100[rbp]
	imul	eax, DWORD PTR 48[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -120[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR 8[rax]
	divsd	xmm0, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR -96[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -72[rbp]
	add	rax, rdx
	addsd	xmm0, xmm1
	movsd	QWORD PTR [rax], xmm0
	add	DWORD PTR -96[rbp], 1
.L177:
	mov	eax, DWORD PTR -92[rbp]
	neg	eax
	cmp	DWORD PTR -96[rbp], eax
	jl	.L178
	mov	eax, DWORD PTR -92[rbp]
	neg	eax
	mov	DWORD PTR -96[rbp], eax
	jmp	.L179
.L180:
	mov	eax, DWORD PTR -100[rbp]
	imul	eax, DWORD PTR 48[rbp]
	mov	ecx, DWORD PTR -92[rbp]
	mov	edx, DWORD PTR -96[rbp]
	add	edx, ecx
	add	eax, edx
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -120[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	movsd	xmm0, QWORD PTR -48[rbp]
	movapd	xmm2, xmm0
	divsd	xmm2, QWORD PTR -160[rbp]
	mov	eax, DWORD PTR -100[rbp]
	imul	eax, DWORD PTR 48[rbp]
	mov	edx, eax
	mov	ecx, DWORD PTR -92[rbp]
	mov	eax, DWORD PTR -96[rbp]
	add	eax, ecx
	add	eax, 1
	add	eax, edx
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -120[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mov	eax, DWORD PTR -100[rbp]
	imul	eax, DWORD PTR 48[rbp]
	mov	ecx, DWORD PTR -92[rbp]
	mov	edx, DWORD PTR -96[rbp]
	add	edx, ecx
	add	eax, edx
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -120[rbp]
	add	rax, rdx
	movsd	xmm3, QWORD PTR [rax]
	subsd	xmm0, xmm3
	mulsd	xmm0, xmm2
	addsd	xmm0, xmm1
	movsd	QWORD PTR -40[rbp], xmm0
	mov	eax, DWORD PTR -100[rbp]
	imul	eax, DWORD PTR 48[rbp]
	mov	ecx, DWORD PTR -92[rbp]
	mov	edx, DWORD PTR -96[rbp]
	add	edx, ecx
	add	eax, edx
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -120[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR 8[rax]
	movsd	xmm0, QWORD PTR -48[rbp]
	movapd	xmm2, xmm0
	divsd	xmm2, QWORD PTR -160[rbp]
	mov	eax, DWORD PTR -100[rbp]
	imul	eax, DWORD PTR 48[rbp]
	mov	edx, eax
	mov	ecx, DWORD PTR -92[rbp]
	mov	eax, DWORD PTR -96[rbp]
	add	eax, ecx
	add	eax, 1
	add	eax, edx
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -120[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR 8[rax]
	mov	eax, DWORD PTR -100[rbp]
	imul	eax, DWORD PTR 48[rbp]
	mov	ecx, DWORD PTR -92[rbp]
	mov	edx, DWORD PTR -96[rbp]
	add	edx, ecx
	add	eax, edx
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -120[rbp]
	add	rax, rdx
	movsd	xmm3, QWORD PTR 8[rax]
	subsd	xmm0, xmm3
	mulsd	xmm0, xmm2
	addsd	xmm0, xmm1
	movsd	QWORD PTR -32[rbp], xmm0
	movsd	xmm0, QWORD PTR -40[rbp]
	movapd	xmm1, xmm0
	mulsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR -32[rbp]
	mulsd	xmm0, xmm0
	addsd	xmm1, xmm0
	movq	rax, xmm1
	movq	xmm0, rax
	call	sqrt@PLT
	movq	rax, xmm0
	mov	QWORD PTR -24[rbp], rax
	mov	eax, DWORD PTR -96[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -80[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	movsd	xmm0, QWORD PTR -40[rbp]
	divsd	xmm0, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR -96[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -80[rbp]
	add	rax, rdx
	addsd	xmm0, xmm1
	movsd	QWORD PTR [rax], xmm0
	mov	eax, DWORD PTR -96[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -72[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	movsd	xmm0, QWORD PTR -32[rbp]
	divsd	xmm0, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR -96[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -72[rbp]
	add	rax, rdx
	addsd	xmm0, xmm1
	movsd	QWORD PTR [rax], xmm0
	add	DWORD PTR -96[rbp], 1
.L179:
	mov	eax, DWORD PTR 48[rbp]
	sub	eax, DWORD PTR -92[rbp]
	sub	eax, 1
	cmp	DWORD PTR -96[rbp], eax
	jl	.L180
	mov	eax, DWORD PTR 48[rbp]
	sub	eax, DWORD PTR -92[rbp]
	sub	eax, 1
	mov	DWORD PTR -96[rbp], eax
	jmp	.L181
.L182:
	mov	eax, DWORD PTR -100[rbp]
	imul	eax, DWORD PTR 48[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR 48[rbp]
	sub	eax, 1
	add	eax, edx
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -120[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	mov	eax, DWORD PTR -100[rbp]
	imul	eax, DWORD PTR 48[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR 48[rbp]
	sub	eax, 1
	add	eax, edx
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -120[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mulsd	xmm1, xmm0
	mov	eax, DWORD PTR -100[rbp]
	imul	eax, DWORD PTR 48[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR 48[rbp]
	sub	eax, 1
	add	eax, edx
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -120[rbp]
	add	rax, rdx
	movsd	xmm2, QWORD PTR 8[rax]
	mov	eax, DWORD PTR -100[rbp]
	imul	eax, DWORD PTR 48[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR 48[rbp]
	sub	eax, 1
	add	eax, edx
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -120[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR 8[rax]
	mulsd	xmm0, xmm2
	addsd	xmm1, xmm0
	movq	rax, xmm1
	movq	xmm0, rax
	call	sqrt@PLT
	movq	rax, xmm0
	mov	QWORD PTR -24[rbp], rax
	mov	eax, DWORD PTR -96[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -80[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	mov	eax, DWORD PTR -100[rbp]
	imul	eax, DWORD PTR 48[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR 48[rbp]
	sub	eax, 1
	add	eax, edx
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -120[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	divsd	xmm0, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR -96[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -80[rbp]
	add	rax, rdx
	addsd	xmm0, xmm1
	movsd	QWORD PTR [rax], xmm0
	mov	eax, DWORD PTR -96[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -72[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	mov	eax, DWORD PTR -100[rbp]
	imul	eax, DWORD PTR 48[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR 48[rbp]
	sub	eax, 1
	add	eax, edx
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -120[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR 8[rax]
	divsd	xmm0, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR -96[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -72[rbp]
	add	rax, rdx
	addsd	xmm0, xmm1
	movsd	QWORD PTR [rax], xmm0
	add	DWORD PTR -96[rbp], 1
.L181:
	mov	eax, DWORD PTR -96[rbp]
	cmp	eax, DWORD PTR 40[rbp]
	jl	.L182
.L168:
	add	DWORD PTR -100[rbp], 1
.L162:
	mov	eax, DWORD PTR -100[rbp]
	cmp	eax, DWORD PTR 24[rbp]
	jl	.L183
	mov	DWORD PTR -100[rbp], 0
	jmp	.L184
.L185:
	mov	eax, DWORD PTR -100[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -80[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	mov	eax, DWORD PTR -100[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -80[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mulsd	xmm1, xmm0
	mov	eax, DWORD PTR -100[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -72[rbp]
	add	rax, rdx
	movsd	xmm2, QWORD PTR [rax]
	mov	eax, DWORD PTR -100[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -72[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mulsd	xmm0, xmm2
	addsd	xmm1, xmm0
	movq	rax, xmm1
	movq	xmm0, rax
	call	sqrt@PLT
	movq	rax, xmm0
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, DWORD PTR 24[rbp]
	mov	edx, DWORD PTR -100[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*8]
	mov	rdx, QWORD PTR -64[rbp]
	add	rdx, rcx
	movq	xmm0, rax
	divsd	xmm0, xmm1
	movsd	QWORD PTR [rdx], xmm0
	add	DWORD PTR -100[rbp], 1
.L184:
	mov	eax, DWORD PTR -100[rbp]
	cmp	eax, DWORD PTR 40[rbp]
	jl	.L185
	pxor	xmm0, xmm0
	movsd	QWORD PTR -88[rbp], xmm0
	mov	DWORD PTR -100[rbp], 0
	jmp	.L186
.L187:
	mov	eax, DWORD PTR -100[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	movsd	xmm1, QWORD PTR -88[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -88[rbp], xmm0
	add	DWORD PTR -100[rbp], 1
.L186:
	mov	eax, DWORD PTR -100[rbp]
	cmp	eax, DWORD PTR 40[rbp]
	jl	.L187
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, DWORD PTR 40[rbp]
	movsd	xmm0, QWORD PTR -88[rbp]
	divsd	xmm0, xmm1
	movsd	QWORD PTR -88[rbp], xmm0
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -88[rbp]
	movq	xmm0, rdx
	lea	rsi, .LC16[rip]
	mov	rdi, rax
	mov	eax, 1
	call	fprintf@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 15
	mov	esi, 1
	lea	rdi, .LC17[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR -80[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	QWORD PTR -80[rbp], 0
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 11
	mov	esi, 1
	lea	rdi, .LC18[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR -72[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	QWORD PTR -72[rbp], 0
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 12
	mov	esi, 1
	lea	rdi, .LC19[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR -64[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	QWORD PTR -64[rbp], 0
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 10
	mov	esi, 1
	lea	rdi, .LC20[rip]
	call	fwrite@PLT
	movsd	xmm0, QWORD PTR -88[rbp]
.L157:
	movq	rax, xmm0
	movq	xmm0, rax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	get_coherence, .-get_coherence
	.section	.rodata
	.align 8
.LC9:
	.long	0
	.long	1072693248
	.align 16
.LC10:
	.long	-1
	.long	2147483647
	.long	0
	.long	0
	.align 8
.LC11:
	.long	0
	.long	-1074790400
	.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	"345467.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Memory Allocation Error\012\000"
	.align	2
.LC1:
	.ascii	"Problem making beam\012\000"
	.align	2
.LC2:
	.ascii	"Problem making psw beams\012\000"
	.align	2
.LC3:
	.ascii	"Bad beam type selected\000"
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	slidebeam
	.syntax unified
	.arm
	.fpu softvfp
	.type	slidebeam, %function
slidebeam:
	@ args = 44, pretend = 0, frame = 72
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #116
	str	r0, [fp, #-56]
	str	r1, [fp, #-60]
	str	r2, [fp, #-64]
	str	r3, [fp, #-68]
	ldr	r3, [fp, #36]
	str	r3, [fp, #-72]
	ldr	r3, [fp, #40]
	str	r3, [fp, #-76]
	ldr	r3, [fp, #44]
	str	r3, [fp, #-80]
	ldr	r3, .L19
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, sp
	mov	r4, r3
	ldr	r3, [fp, #-56]
	sub	r3, r3, #1
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-56]
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #6
	orr	r3, r3, r0, lsr #26
	lsl	r2, r0, #6
	ldr	r3, [fp, #-56]
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #6
	orr	r3, r3, r0, lsr #26
	lsl	r2, r0, #6
	ldr	r3, [fp, #-56]
	lsl	r3, r3, #3
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	add	r3, sp, #40
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	str	r3, [fp, #-36]
	ldr	r3, [fp, #28]
	lsl	r3, r3, #3
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	bne	.L2
	ldr	r3, .L19+4
	ldr	r3, [r3]
	mov	r2, #24
	mov	r1, #1
	ldr	r0, .L19+8
	bl	fwrite
	mov	r0, #1
	bl	exit
.L2:
	mov	r3, #0
	str	r3, [fp, #-44]
	b	.L3
.L16:
	mov	r3, #0
	str	r3, [fp, #-48]
	b	.L4
.L15:
	mov	r3, #0
	str	r3, [fp, #-52]
	b	.L5
.L6:
	ldr	r3, [fp, #-52]
	ldr	r2, [fp, #-60]
	mul	r3, r2, r3
	ldr	r2, [fp, #-64]
	mul	r2, r3, r2
	ldr	r3, [fp, #-44]
	ldr	r1, [fp, #-64]
	mul	r3, r1, r3
	add	r2, r2, r3
	ldr	r3, [fp, #-48]
	add	r3, r2, r3
	lsl	r3, r3, #3
	ldr	r2, [fp, #-72]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	ldr	r0, [fp, #-36]
	ldr	r1, [fp, #-52]
	lsl	r1, r1, #3
	add	r1, r0, r1
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-52]
	add	r3, r3, #1
	str	r3, [fp, #-52]
.L5:
	ldr	r2, [fp, #-52]
	ldr	r3, [fp, #-56]
	cmp	r2, r3
	blt	.L6
	ldr	r3, [fp, #4]
	cmp	r3, #3
	beq	.L7
	ldr	r3, [fp, #4]
	cmp	r3, #3
	bgt	.L8
	ldr	r3, [fp, #4]
	cmp	r3, #1
	beq	.L9
	ldr	r3, [fp, #4]
	cmp	r3, #2
	beq	.L10
	b	.L8
.L9:
	ldr	r3, [fp, #-32]
	str	r3, [sp, #28]
	ldr	r3, [fp, #8]
	str	r3, [sp, #24]
	add	r3, fp, #12
	ldmia	r3, {r2-r3}
	str	r2, [sp, #16]
	str	r3, [sp, #20]
	ldr	r3, [fp, #28]
	str	r3, [sp, #8]
	add	r3, fp, #20
	ldmia	r3, {r2-r3}
	stm	sp, {r2-r3}
	ldr	r2, [fp, #-56]
	ldr	r1, [fp, #-36]
	ldr	r0, [fp, #-76]
	bl	do_beam
	mov	r3, r0
	cmp	r3, #1
	bne	.L11
	ldr	r3, .L19+4
	ldr	r3, [r3]
	mov	r2, #20
	mov	r1, #1
	ldr	r0, .L19+12
	bl	fwrite
	mov	r0, #1
	bl	exit
.L11:
	ldr	r2, [fp, #-68]
	ldr	r1, [fp, #28]
	ldr	r0, [fp, #-32]
	bl	get_mag
	str	r0, [fp, #-28]
	str	r1, [fp, #-24]
	ldr	r3, [fp, #-44]
	ldr	r2, [fp, #-64]
	mul	r2, r3, r2
	ldr	r3, [fp, #-48]
	add	r3, r2, r3
	lsl	r3, r3, #3
	ldr	r2, [fp, #-80]
	add	r1, r2, r3
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	stm	r1, {r2-r3}
	b	.L12
.L10:
	ldr	r3, [fp, #-32]
	str	r3, [sp, #32]
	ldr	r3, [fp, #32]
	str	r3, [sp, #28]
	ldr	r3, [fp, #8]
	str	r3, [sp, #24]
	add	r3, fp, #12
	ldmia	r3, {r2-r3}
	str	r2, [sp, #16]
	str	r3, [sp, #20]
	ldr	r3, [fp, #28]
	str	r3, [sp, #8]
	add	r3, fp, #20
	ldmia	r3, {r2-r3}
	stm	sp, {r2-r3}
	ldr	r2, [fp, #-56]
	ldr	r1, [fp, #-36]
	ldr	r0, [fp, #-76]
	bl	do_beam_psw
	mov	r3, r0
	cmp	r3, #1
	bne	.L13
	ldr	r3, .L19+4
	ldr	r3, [r3]
	mov	r2, #25
	mov	r1, #1
	ldr	r0, .L19+16
	bl	fwrite
	mov	r0, #1
	bl	exit
.L13:
	ldr	r2, [fp, #-68]
	ldr	r1, [fp, #28]
	ldr	r0, [fp, #-32]
	bl	get_mag
	str	r0, [fp, #-28]
	str	r1, [fp, #-24]
	ldr	r3, [fp, #-44]
	ldr	r2, [fp, #-64]
	mul	r2, r3, r2
	ldr	r3, [fp, #-48]
	add	r3, r2, r3
	lsl	r3, r3, #3
	ldr	r2, [fp, #-80]
	add	r1, r2, r3
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	stm	r1, {r2-r3}
	b	.L12
.L7:
	ldr	r3, [fp, #-32]
	str	r3, [sp, #32]
	ldr	r3, [fp, #32]
	str	r3, [sp, #28]
	ldr	r3, [fp, #8]
	str	r3, [sp, #24]
	add	r3, fp, #12
	ldmia	r3, {r2-r3}
	str	r2, [sp, #16]
	str	r3, [sp, #20]
	ldr	r3, [fp, #28]
	str	r3, [sp, #8]
	add	r3, fp, #20
	ldmia	r3, {r2-r3}
	stm	sp, {r2-r3}
	ldr	r2, [fp, #-56]
	ldr	r1, [fp, #-36]
	ldr	r0, [fp, #-76]
	bl	do_beam_root
	mov	r3, r0
	cmp	r3, #1
	bne	.L14
	ldr	r3, .L19+4
	ldr	r3, [r3]
	mov	r2, #25
	mov	r1, #1
	ldr	r0, .L19+16
	bl	fwrite
	mov	r0, #1
	bl	exit
.L14:
	ldr	r2, [fp, #-68]
	ldr	r1, [fp, #28]
	ldr	r0, [fp, #-32]
	bl	get_mag
	str	r0, [fp, #-28]
	str	r1, [fp, #-24]
	ldr	r3, [fp, #-44]
	ldr	r2, [fp, #-64]
	mul	r2, r3, r2
	ldr	r3, [fp, #-48]
	add	r3, r2, r3
	lsl	r3, r3, #3
	ldr	r2, [fp, #-80]
	add	r1, r2, r3
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	stm	r1, {r2-r3}
	b	.L12
.L8:
	ldr	r0, .L19+20
	bl	puts
	mov	r0, #1
	bl	exit
.L12:
	ldr	r3, [fp, #-48]
	add	r3, r3, #1
	str	r3, [fp, #-48]
.L4:
	ldr	r2, [fp, #-48]
	ldr	r3, [fp, #-64]
	cmp	r2, r3
	blt	.L15
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-44]
.L3:
	ldr	r2, [fp, #-44]
	ldr	r3, [fp, #-60]
	cmp	r2, r3
	blt	.L16
	mov	r3, #0
	mov	sp, r4
	ldr	r2, .L19
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L18
	bl	__stack_chk_fail
.L18:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L20:
	.align	2
.L19:
	.word	.LC4
	.word	stderr
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.size	slidebeam, .-slidebeam
	.section	.rodata
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	slant
	.syntax unified
	.arm
	.fpu softvfp
	.type	slant, %function
slant:
	@ args = 36, pretend = 0, frame = 64
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #108
	str	r0, [fp, #-48]
	str	r1, [fp, #-52]
	str	r2, [fp, #-56]
	str	r3, [fp, #-60]
	ldr	r3, [fp, #28]
	str	r3, [fp, #-64]
	ldr	r3, [fp, #32]
	str	r3, [fp, #-68]
	ldr	r3, [fp, #36]
	str	r3, [fp, #-72]
	ldr	r3, .L43
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, sp
	mov	r4, r3
	ldr	r3, [fp, #-48]
	sub	r3, r3, #1
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-48]
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #6
	orr	r3, r3, r0, lsr #26
	lsl	r2, r0, #6
	ldr	r3, [fp, #-48]
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #6
	orr	r3, r3, r0, lsr #26
	lsl	r2, r0, #6
	ldr	r3, [fp, #-48]
	lsl	r3, r3, #3
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	add	r3, sp, #40
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	str	r3, [fp, #-24]
	ldr	r3, [fp, #20]
	lsl	r3, r3, #3
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L22
	ldr	r3, .L43+4
	ldr	r3, [r3]
	mov	r2, #24
	mov	r1, #1
	ldr	r0, .L43+8
	bl	fwrite
	mov	r0, #1
	bl	exit
.L22:
	mov	r3, #0
	str	r3, [fp, #-40]
	b	.L23
.L40:
	mov	r3, #0
	str	r3, [fp, #-32]
	b	.L24
.L25:
	ldr	r3, [fp, #-32]
	ldr	r2, [fp, #-52]
	mul	r2, r3, r2
	ldr	r3, [fp, #-40]
	add	r3, r2, r3
	lsl	r3, r3, #3
	ldr	r2, [fp, #-64]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	ldr	r0, [fp, #-24]
	ldr	r1, [fp, #-32]
	lsl	r1, r1, #3
	add	r1, r0, r1
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L24:
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-48]
	cmp	r2, r3
	blt	.L25
	ldr	r3, [fp, #-56]
	cmp	r3, #3
	beq	.L26
	ldr	r3, [fp, #-56]
	cmp	r3, #3
	bgt	.L27
	ldr	r3, [fp, #-56]
	cmp	r3, #1
	beq	.L28
	ldr	r3, [fp, #-56]
	cmp	r3, #2
	beq	.L29
	b	.L27
.L28:
	ldr	r3, [fp, #-20]
	str	r3, [sp, #28]
	ldr	r3, [fp, #-60]
	str	r3, [sp, #24]
	ldmib	fp, {r2-r3}
	str	r2, [sp, #16]
	str	r3, [sp, #20]
	ldr	r3, [fp, #20]
	str	r3, [sp, #8]
	add	r3, fp, #12
	ldmia	r3, {r2-r3}
	stm	sp, {r2-r3}
	ldr	r2, [fp, #-48]
	ldr	r1, [fp, #-24]
	ldr	r0, [fp, #-68]
	bl	do_beam
	mov	r3, r0
	cmp	r3, #1
	bne	.L30
	ldr	r3, .L43+4
	ldr	r3, [r3]
	mov	r2, #20
	mov	r1, #1
	ldr	r0, .L43+12
	bl	fwrite
	mov	r0, #1
	bl	exit
.L30:
	mov	r3, #0
	str	r3, [fp, #-36]
	b	.L31
.L32:
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldr	r2, [fp, #-40]
	ldr	r1, [fp, #20]
	mul	r1, r2, r1
	ldr	r2, [fp, #-36]
	add	r2, r1, r2
	lsl	r2, r2, #3
	ldr	r1, [fp, #-72]
	add	r1, r1, r2
	ldmia	r3, {r2-r3}
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L31:
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #20]
	cmp	r2, r3
	blt	.L32
	b	.L33
.L29:
	ldr	r3, [fp, #-20]
	str	r3, [sp, #32]
	ldr	r3, [fp, #24]
	str	r3, [sp, #28]
	ldr	r3, [fp, #-60]
	str	r3, [sp, #24]
	ldmib	fp, {r2-r3}
	str	r2, [sp, #16]
	str	r3, [sp, #20]
	ldr	r3, [fp, #20]
	str	r3, [sp, #8]
	add	r3, fp, #12
	ldmia	r3, {r2-r3}
	stm	sp, {r2-r3}
	ldr	r2, [fp, #-48]
	ldr	r1, [fp, #-24]
	ldr	r0, [fp, #-68]
	bl	do_beam_psw
	mov	r3, r0
	cmp	r3, #1
	bne	.L34
	ldr	r3, .L43+4
	ldr	r3, [r3]
	mov	r2, #25
	mov	r1, #1
	ldr	r0, .L43+16
	bl	fwrite
	mov	r0, #1
	bl	exit
.L34:
	mov	r3, #0
	str	r3, [fp, #-36]
	b	.L35
.L36:
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldr	r2, [fp, #-40]
	ldr	r1, [fp, #20]
	mul	r1, r2, r1
	ldr	r2, [fp, #-36]
	add	r2, r1, r2
	lsl	r2, r2, #3
	ldr	r1, [fp, #-72]
	add	r1, r1, r2
	ldmia	r3, {r2-r3}
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L35:
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #20]
	cmp	r2, r3
	blt	.L36
	b	.L33
.L26:
	ldr	r3, [fp, #-20]
	str	r3, [sp, #32]
	ldr	r3, [fp, #24]
	str	r3, [sp, #28]
	ldr	r3, [fp, #-60]
	str	r3, [sp, #24]
	ldmib	fp, {r2-r3}
	str	r2, [sp, #16]
	str	r3, [sp, #20]
	ldr	r3, [fp, #20]
	str	r3, [sp, #8]
	add	r3, fp, #12
	ldmia	r3, {r2-r3}
	stm	sp, {r2-r3}
	ldr	r2, [fp, #-48]
	ldr	r1, [fp, #-24]
	ldr	r0, [fp, #-68]
	bl	do_beam_root
	mov	r3, r0
	cmp	r3, #1
	bne	.L37
	ldr	r3, .L43+4
	ldr	r3, [r3]
	mov	r2, #25
	mov	r1, #1
	ldr	r0, .L43+16
	bl	fwrite
	mov	r0, #1
	bl	exit
.L37:
	mov	r3, #0
	str	r3, [fp, #-36]
	b	.L38
.L39:
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldr	r2, [fp, #-40]
	ldr	r1, [fp, #20]
	mul	r1, r2, r1
	ldr	r2, [fp, #-36]
	add	r2, r1, r2
	lsl	r2, r2, #3
	ldr	r1, [fp, #-72]
	add	r1, r1, r2
	ldmia	r3, {r2-r3}
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L38:
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #20]
	cmp	r2, r3
	blt	.L39
	b	.L33
.L27:
	ldr	r0, .L43+20
	bl	puts
	mov	r0, #1
	bl	exit
.L33:
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L23:
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-52]
	cmp	r2, r3
	blt	.L40
	mov	r3, #0
	mov	sp, r4
	ldr	r2, .L43
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L42
	bl	__stack_chk_fail
.L42:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L44:
	.align	2
.L43:
	.word	.LC5
	.word	stderr
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.size	slant, .-slant
	.global	__aeabi_dadd
	.global	__aeabi_ddiv
	.global	__aeabi_d2iz
	.global	__aeabi_i2d
	.global	__aeabi_dmul
	.global	__aeabi_dsub
	.section	.rodata
	.align	2
.LC6:
	.ascii	"Shift time is before start of record\012\000"
	.align	2
.LC7:
	.ascii	"Padding %d points ...\012\000"
	.align	2
.LC8:
	.ascii	"Shift time puts you past end of record\012\000"
	.text
	.align	2
	.global	do_beam
	.syntax unified
	.arm
	.fpu softvfp
	.type	do_beam, %function
do_beam:
	@ args = 32, pretend = 0, frame = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #56
	str	r0, [fp, #-64]
	str	r1, [fp, #-68]
	str	r2, [fp, #-72]
	mov	r3, #0
	str	r3, [fp, #-56]
	b	.L46
.L47:
	ldr	r3, [fp, #-56]
	lsl	r3, r3, #3
	ldr	r2, [fp, #32]
	add	r1, r2, r3
	mov	r2, #0
	mov	r3, #0
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-56]
	add	r3, r3, #1
	str	r3, [fp, #-56]
.L46:
	ldr	r2, [fp, #-56]
	ldr	r3, [fp, #12]
	cmp	r2, r3
	blt	.L47
	mov	r3, #0
	str	r3, [fp, #-56]
	b	.L48
.L69:
	ldr	r3, [fp, #-56]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-68]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	ldmib	fp, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	add	r3, fp, #20
	ldmia	r3, {r2-r3}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	add	r3, r3, #1
	str	r3, [fp, #-48]
	add	r3, fp, #20
	ldmia	r3, {r2-r3}
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_i2d
	add	r3, fp, #20
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-48]
	cmp	r3, #0
	bge	.L49
	ldr	r2, [fp, #-48]
	ldr	r3, [fp, #12]
	add	r3, r2, r3
	ldr	r2, [fp, #28]
	cmp	r2, r3
	ble	.L49
	ldr	r3, .L73
	ldr	r3, [r3]
	mov	r2, #37
	mov	r1, #1
	ldr	r0, .L73+4
	bl	fwrite
	ldr	r3, .L73
	ldr	r0, [r3]
	ldr	r3, [fp, #-48]
	rsb	r3, r3, #0
	mov	r2, r3
	ldr	r1, .L73+8
	bl	fprintf
	mov	r3, #0
	str	r3, [fp, #-52]
	b	.L50
.L51:
	ldr	r3, [fp, #-52]
	lsl	r3, r3, #3
	ldr	r2, [fp, #32]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-56]
	ldr	r2, [fp, #28]
	mul	r3, r2, r3
	lsl	r3, r3, #4
	ldr	r2, [fp, #-64]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	ldr	ip, [fp, #-52]
	lsl	ip, ip, #3
	ldr	lr, [fp, #32]
	add	r4, lr, ip
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	stm	r4, {r2-r3}
	ldr	r3, [fp, #-52]
	add	r3, r3, #1
	str	r3, [fp, #-52]
.L50:
	ldr	r3, [fp, #-48]
	rsb	r3, r3, #0
	ldr	r2, [fp, #-52]
	cmp	r2, r3
	blt	.L51
	ldr	r3, [fp, #-48]
	rsb	r3, r3, #0
	str	r3, [fp, #-52]
	b	.L52
.L53:
	ldr	r3, [fp, #-56]
	ldr	r2, [fp, #28]
	mul	r2, r3, r2
	ldr	r1, [fp, #-48]
	ldr	r3, [fp, #-52]
	add	r3, r1, r3
	add	r3, r2, r3
	lsl	r3, r3, #4
	ldr	r2, [fp, #-64]
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	add	r3, fp, #20
	ldmia	r3, {r2-r3}
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	ldr	r3, [fp, #-56]
	ldr	r2, [fp, #28]
	mul	r2, r3, r2
	ldr	r1, [fp, #-48]
	ldr	r3, [fp, #-52]
	add	r3, r1, r3
	add	r3, r3, #1
	add	r3, r2, r3
	lsl	r3, r3, #4
	ldr	r2, [fp, #-64]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-56]
	ldr	r2, [fp, #28]
	mul	r2, r3, r2
	ldr	ip, [fp, #-48]
	ldr	r3, [fp, #-52]
	add	r3, ip, r3
	add	r3, r2, r3
	lsl	r3, r3, #4
	ldr	r2, [fp, #-64]
	add	r3, r2, r3
	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
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-52]
	lsl	r3, r3, #3
	ldr	r2, [fp, #32]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-52]
	lsl	r3, r3, #3
	ldr	r2, [fp, #32]
	add	r4, r2, r3
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	stm	r4, {r2-r3}
	ldr	r3, [fp, #-52]
	add	r3, r3, #1
	str	r3, [fp, #-52]
.L52:
	ldr	r2, [fp, #-52]
	ldr	r3, [fp, #12]
	cmp	r2, r3
	blt	.L53
	b	.L54
.L49:
	ldr	r3, [fp, #-48]
	cmp	r3, #0
	blt	.L55
	ldr	r2, [fp, #-48]
	ldr	r3, [fp, #12]
	add	r3, r2, r3
	ldr	r2, [fp, #28]
	cmp	r2, r3
	bgt	.L55
	ldr	r3, .L73
	ldr	r3, [r3]
	mov	r2, #39
	mov	r1, #1
	ldr	r0, .L73+12
	bl	fwrite
	ldr	r3, .L73
	ldr	r0, [r3]
	ldr	r2, [fp, #-48]
	ldr	r3, [fp, #12]
	add	r2, r2, r3
	ldr	r3, [fp, #28]
	sub	r3, r2, r3
	mov	r2, r3
	ldr	r1, .L73+8
	bl	fprintf
	mov	r3, #0
	str	r3, [fp, #-52]
	b	.L56
.L57:
	ldr	r3, [fp, #-56]
	ldr	r2, [fp, #28]
	mul	r2, r3, r2
	ldr	r1, [fp, #-48]
	ldr	r3, [fp, #-52]
	add	r3, r1, r3
	add	r3, r2, r3
	lsl	r3, r3, #4
	ldr	r2, [fp, #-64]
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	add	r3, fp, #20
	ldmia	r3, {r2-r3}
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	ldr	r3, [fp, #-56]
	ldr	r2, [fp, #28]
	mul	r2, r3, r2
	ldr	r1, [fp, #-48]
	ldr	r3, [fp, #-52]
	add	r3, r1, r3
	add	r3, r3, #1
	add	r3, r2, r3
	lsl	r3, r3, #4
	ldr	r2, [fp, #-64]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-56]
	ldr	r2, [fp, #28]
	mul	r2, r3, r2
	ldr	ip, [fp, #-48]
	ldr	r3, [fp, #-52]
	add	r3, ip, r3
	add	r3, r2, r3
	lsl	r3, r3, #4
	ldr	r2, [fp, #-64]
	add	r3, r2, r3
	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
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-52]
	lsl	r3, r3, #3
	ldr	r2, [fp, #32]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-52]
	lsl	r3, r3, #3
	ldr	r2, [fp, #32]
	add	r4, r2, r3
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	stm	r4, {r2-r3}
	ldr	r3, [fp, #-52]
	add	r3, r3, #1
	str	r3, [fp, #-52]
.L56:
	ldr	r2, [fp, #28]
	ldr	r3, [fp, #-48]
	sub	r3, r2, r3
	sub	r3, r3, #1
	ldr	r2, [fp, #-52]
	cmp	r2, r3
	blt	.L57
	ldr	r2, [fp, #28]
	ldr	r3, [fp, #-48]
	sub	r3, r2, r3
	sub	r3, r3, #1
	str	r3, [fp, #-52]
	b	.L58
.L59:
	ldr	r3, [fp, #-52]
	lsl	r3, r3, #3
	ldr	r2, [fp, #32]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-56]
	ldr	r2, [fp, #28]
	mul	r2, r3, r2
	ldr	r3, [fp, #28]
	sub	r3, r3, #1
	add	r3, r2, r3
	lsl	r3, r3, #4
	ldr	r2, [fp, #-64]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	ldr	ip, [fp, #-52]
	lsl	ip, ip, #3
	ldr	lr, [fp, #32]
	add	r4, lr, ip
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	stm	r4, {r2-r3}
	ldr	r3, [fp, #-52]
	add	r3, r3, #1
	str	r3, [fp, #-52]
.L58:
	ldr	r2, [fp, #-52]
	ldr	r3, [fp, #12]
	cmp	r2, r3
	blt	.L59
	b	.L54
.L55:
	ldr	r3, [fp, #-48]
	cmp	r3, #0
	blt	.L60
	ldr	r2, [fp, #-48]
	ldr	r3, [fp, #12]
	add	r3, r2, r3
	ldr	r2, [fp, #28]
	cmp	r2, r3
	ble	.L60
	mov	r3, #0
	str	r3, [fp, #-52]
	b	.L61
.L62:
	ldr	r3, [fp, #-56]
	ldr	r2, [fp, #28]
	mul	r2, r3, r2
	ldr	r1, [fp, #-48]
	ldr	r3, [fp, #-52]
	add	r3, r1, r3
	add	r3, r2, r3
	lsl	r3, r3, #4
	ldr	r2, [fp, #-64]
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	add	r3, fp, #20
	ldmia	r3, {r2-r3}
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	ldr	r3, [fp, #-56]
	ldr	r2, [fp, #28]
	mul	r2, r3, r2
	ldr	r1, [fp, #-48]
	ldr	r3, [fp, #-52]
	add	r3, r1, r3
	add	r3, r3, #1
	add	r3, r2, r3
	lsl	r3, r3, #4
	ldr	r2, [fp, #-64]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-56]
	ldr	r2, [fp, #28]
	mul	r2, r3, r2
	ldr	ip, [fp, #-48]
	ldr	r3, [fp, #-52]
	add	r3, ip, r3
	add	r3, r2, r3
	lsl	r3, r3, #4
	ldr	r2, [fp, #-64]
	add	r3, r2, r3
	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
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-52]
	lsl	r3, r3, #3
	ldr	r2, [fp, #32]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-52]
	lsl	r3, r3, #3
	ldr	r2, [fp, #32]
	add	r4, r2, r3
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	stm	r4, {r2-r3}
	ldr	r3, [fp, #-52]
	add	r3, r3, #1
	str	r3, [fp, #-52]
.L61:
	ldr	r2, [fp, #-52]
	ldr	r3, [fp, #12]
	cmp	r2, r3
	blt	.L62
	b	.L54
.L60:
	ldr	r3, [fp, #-48]
	cmp	r3, #0
	bge	.L54
	ldr	r2, [fp, #-48]
	ldr	r3, [fp, #12]
	add	r3, r2, r3
	ldr	r2, [fp, #28]
	cmp	r2, r3
	bgt	.L54
	mov	r3, #0
	str	r3, [fp, #-52]
	b	.L63
.L64:
	ldr	r3, [fp, #-52]
	lsl	r3, r3, #3
	ldr	r2, [fp, #32]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-56]
	ldr	r2, [fp, #28]
	mul	r3, r2, r3
	lsl	r3, r3, #4
	ldr	r2, [fp, #-64]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	ldr	ip, [fp, #-52]
	lsl	ip, ip, #3
	ldr	lr, [fp, #32]
	add	r4, lr, ip
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	stm	r4, {r2-r3}
	ldr	r3, [fp, #-52]
	add	r3, r3, #1
	str	r3, [fp, #-52]
.L63:
	ldr	r3, [fp, #-48]
	rsb	r3, r3, #0
	ldr	r2, [fp, #-52]
	cmp	r2, r3
	blt	.L64
	ldr	r3, [fp, #-48]
	rsb	r3, r3, #0
	str	r3, [fp, #-52]
	b	.L65
.L66:
	ldr	r3, [fp, #-56]
	ldr	r2, [fp, #28]
	mul	r2, r3, r2
	ldr	r1, [fp, #-48]
	ldr	r3, [fp, #-52]
	add	r3, r1, r3
	add	r3, r2, r3
	lsl	r3, r3, #4
	ldr	r2, [fp, #-64]
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	add	r3, fp, #20
	ldmia	r3, {r2-r3}
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	ldr	r3, [fp, #-56]
	ldr	r2, [fp, #28]
	mul	r2, r3, r2
	ldr	r1, [fp, #-48]
	ldr	r3, [fp, #-52]
	add	r3, r1, r3
	add	r3, r3, #1
	add	r3, r2, r3
	lsl	r3, r3, #4
	ldr	r2, [fp, #-64]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-56]
	ldr	r2, [fp, #28]
	mul	r2, r3, r2
	ldr	ip, [fp, #-48]
	ldr	r3, [fp, #-52]
	add	r3, ip, r3
	add	r3, r2, r3
	lsl	r3, r3, #4
	ldr	r2, [fp, #-64]
	add	r3, r2, r3
	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
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-52]
	lsl	r3, r3, #3
	ldr	r2, [fp, #32]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-52]
	lsl	r3, r3, #3
	ldr	r2, [fp, #32]
	add	r4, r2, r3
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	stm	r4, {r2-r3}
	ldr	r3, [fp, #-52]
	add	r3, r3, #1
	str	r3, [fp, #-52]
.L65:
	ldr	r2, [fp, #28]
	ldr	r3, [fp, #-48]
	sub	r3, r2, r3
	sub	r3, r3, #1
	ldr	r2, [fp, #-52]
	cmp	r2, r3
	blt	.L66
	ldr	r2, [fp, #28]
	ldr	r3, [fp, #-48]
	sub	r3, r2, r3
	sub	r3, r3, #1
	str	r3, [fp, #-52]
	b	.L67
.L68:
	ldr	r3, [fp, #-52]
	lsl	r3, r3, #3
	ldr	r2, [fp, #32]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-56]
	ldr	r2, [fp, #28]
	mul	r2, r3, r2
	ldr	r3, [fp, #28]
	sub	r3, r3, #1
	add	r3, r2, r3
	lsl	r3, r3, #4
	ldr	r2, [fp, #-64]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	ldr	ip, [fp, #-52]
	lsl	ip, ip, #3
	ldr	lr, [fp, #32]
	add	r4, lr, ip
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	stm	r4, {r2-r3}
	ldr	r3, [fp, #-52]
	add	r3, r3, #1
	str	r3, [fp, #-52]
.L67:
	ldr	r2, [fp, #-52]
	ldr	r3, [fp, #12]
	cmp	r2, r3
	blt	.L68
.L54:
	ldr	r3, [fp, #-56]
	add	r3, r3, #1
	str	r3, [fp, #-56]
.L48:
	ldr	r2, [fp, #-56]
	ldr	r3, [fp, #-72]
	cmp	r2, r3
	blt	.L69
	mov	r3, #0
	str	r3, [fp, #-56]
	b	.L70
.L71:
	ldr	r3, [fp, #-56]
	lsl	r3, r3, #3
	ldr	r2, [fp, #32]
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	ldr	r0, [fp, #-72]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	ldr	r1, [fp, #-56]
	lsl	r1, r1, #3
	ldr	r0, [fp, #32]
	add	r6, r0, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	stm	r6, {r2-r3}
	ldr	r3, [fp, #-56]
	add	r3, r3, #1
	str	r3, [fp, #-56]
.L70:
	ldr	r2, [fp, #-56]
	ldr	r3, [fp, #12]
	cmp	r2, r3
	blt	.L71
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
.L74:
	.align	2
.L73:
	.word	stderr
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.size	do_beam, .-do_beam
	.section	.rodata
	.align	2
.LC9:
	.ascii	"Can't allocate memory\012\000"
	.text
	.align	2
	.global	do_beam_psw
	.syntax unified
	.arm
	.fpu softvfp
	.type	do_beam_psw, %function
do_beam_psw:
	@ args = 36, pretend = 0, frame = 80
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #80
	str	r0, [fp, #-88]
	str	r1, [fp, #-92]
	str	r2, [fp, #-96]
	ldr	r3, [fp, #12]
	lsl	r3, r3, #3
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-76]
	ldr	r3, [fp, #-76]
	cmp	r3, #0
	bne	.L76
	ldr	r3, .L106
	ldr	r3, [r3]
	mov	r2, #22
	mov	r1, #1
	ldr	r0, .L106+4
	bl	fwrite
	mov	r3, #1
	b	.L77
.L76:
	ldr	r3, [fp, #12]
	lsl	r3, r3, #3
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-72]
	ldr	r3, [fp, #-72]
	cmp	r3, #0
	bne	.L78
	ldr	r3, .L106
	ldr	r3, [r3]
	mov	r2, #22
	mov	r1, #1
	ldr	r0, .L106+4
	bl	fwrite
	mov	r3, #1
	b	.L77
.L78:
	ldr	r3, [fp, #12]
	lsl	r3, r3, #3
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-68]
	ldr	r3, [fp, #-68]
	cmp	r3, #0
	bne	.L79
	ldr	r3, .L106
	ldr	r3, [r3]
	mov	r2, #22
	mov	r1, #1
	ldr	r0, .L106+4
	bl	fwrite
	mov	r3, #1
	b	.L77
.L79:
	mov	r3, #0
	str	r3, [fp, #-84]
	b	.L80
.L81:
	ldr	r3, [fp, #-84]
	lsl	r3, r3, #3
	ldr	r2, [fp, #36]
	add	r1, r2, r3
	mov	r2, #0
	mov	r3, #0
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-84]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-76]
	add	r1, r2, r3
	mov	r2, #0
	mov	r3, #0
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-84]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-72]
	add	r1, r2, r3
	mov	r2, #0
	mov	r3, #0
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-84]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-68]
	add	r1, r2, r3
	mov	r2, #0
	mov	r3, #0
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-84]
	add	r3, r3, #1
	str	r3, [fp, #-84]
.L80:
	ldr	r2, [fp, #-84]
	ldr	r3, [fp, #12]
	cmp	r2, r3
	blt	.L81
	mov	r3, #0
	str	r3, [fp, #-84]
	b	.L82
.L103:
	ldr	r3, [fp, #-84]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-92]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-60]
	str	r3, [fp, #-56]
	sub	r3, fp, #60
	ldmia	r3, {r2-r3}
	ldmib	fp, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	add	r3, fp, #20
	ldmia	r3, {r2-r3}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	add	r3, r3, #1
	str	r3, [fp, #-64]
	add	r3, fp, #20
	ldmia	r3, {r2-r3}
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_i2d
	add	r3, fp, #20
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
	ldr	r3, [fp, #-64]
	cmp	r3, #0
	bge	.L83
	ldr	r2, [fp, #-64]
	ldr	r3, [fp, #12]
	add	r3, r2, r3
	ldr	r2, [fp, #28]
	cmp	r2, r3
	ble	.L83
	ldr	r3, .L106
	ldr	r3, [r3]
	mov	r2, #37
	mov	r1, #1
	ldr	r0, .L106+8
	bl	fwrite
	ldr	r3, .L106
	ldr	r0, [r3]
	ldr	r3, [fp, #-64]
	rsb	r3, r3, #0
	mov	r2, r3
	ldr	r1, .L106+12
	bl	fprintf
	mov	r3, #0
	str	r3, [fp, #-80]
	b	.L84
.L85:
	ldr	r3, [fp, #-80]
	lsl	r3, r3, #3
	ldr	r2, [fp, #36]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-84]
	ldr	r2, [fp, #28]
	mul	r3, r2, r3
	lsl	r3, r3, #4
	ldr	r2, [fp, #-88]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	ldr	ip, [fp, #-80]
	lsl	ip, ip, #3
	ldr	lr, [fp, #36]
	add	r4, lr, ip
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	stm	r4, {r2-r3}
	ldr	r3, [fp, #-84]
	ldr	r2, [fp, #28]
	mul	r3, r2, r3
	lsl	r3, r3, #4
	ldr	r2, [fp, #-88]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-84]
	ldr	r2, [fp, #28]
	mul	r3, r2, r3
	lsl	r3, r3, #4
	ldr	r2, [fp, #-88]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r3, [fp, #-84]
	ldr	r2, [fp, #28]
	mul	r3, r2, r3
	lsl	r3, r3, #4
	ldr	r2, [fp, #-88]
	add	r3, r2, r3
	add	r1, r3, #8
	ldmia	r1, {r0-r1}
	ldr	r3, [fp, #-84]
	ldr	r2, [fp, #28]
	mul	r3, r2, r3
	lsl	r3, r3, #4
	ldr	r2, [fp, #-88]
	add	r3, r2, r3
	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	r0, r2
	mov	r1, r3
	bl	sqrt
	str	r0, [fp, #-28]
	str	r1, [fp, #-24]
	ldr	r3, [fp, #-80]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-76]
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	ldr	r3, [fp, #-84]
	ldr	r2, [fp, #28]
	mul	r3, r2, r3
	lsl	r3, r3, #4
	ldr	r2, [fp, #-88]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, [fp, #-80]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-76]
	add	r6, r2, r3
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	stm	r6, {r2-r3}
	ldr	r3, [fp, #-80]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-72]
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	ldr	r3, [fp, #-84]
	ldr	r2, [fp, #28]
	mul	r3, r2, r3
	lsl	r3, r3, #4
	ldr	r2, [fp, #-88]
	add	r3, r2, r3
	add	r1, r3, #8
	ldmia	r1, {r0-r1}
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, [fp, #-80]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-72]
	add	r6, r2, r3
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	stm	r6, {r2-r3}
	ldr	r3, [fp, #-80]
	add	r3, r3, #1
	str	r3, [fp, #-80]
.L84:
	ldr	r3, [fp, #-64]
	rsb	r3, r3, #0
	ldr	r2, [fp, #-80]
	cmp	r2, r3
	blt	.L85
	ldr	r3, [fp, #-64]
	rsb	r3, r3, #0
	str	r3, [fp, #-80]
	b	.L86
.L87:
	ldr	r3, [fp, #-84]
	ldr	r2, [fp, #28]
	mul	r2, r3, r2
	ldr	r1, [fp, #-64]
	ldr	r3, [fp, #-80]
	add	r3, r1, r3
	add	r3, r2, r3
	lsl	r3, r3, #4
	ldr	r2, [fp, #-88]
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	add	r3, fp, #20
	ldmia	r3, {r2-r3}
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	ldr	r3, [fp, #-84]
	ldr	r2, [fp, #28]
	mul	r2, r3, r2
	ldr	r1, [fp, #-64]
	ldr	r3, [fp, #-80]
	add	r3, r1, r3
	add	r3, r3, #1
	add	r3, r2, r3
	lsl	r3, r3, #4
	ldr	r2, [fp, #-88]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-84]
	ldr	r2, [fp, #28]
	mul	r2, r3, r2
	ldr	ip, [fp, #-64]
	ldr	r3, [fp, #-80]
	add	r3, ip, r3
	add	r3, r2, r3
	lsl	r3, r3, #4
	ldr	r2, [fp, #-88]
	add	r3, r2, r3
	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
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-84]
	ldr	r2, [fp, #28]
	mul	r2, r3, r2
	ldr	r1, [fp, #-64]
	ldr	r3, [fp, #-80]
	add	r3, r1, r3
	add	r3, r2, r3
	lsl	r3, r3, #4
	ldr	r2, [fp, #-88]
	add	r3, r2, r3
	add	r5, r3, #8
	ldmia	r5, {r4-r5}
	add	r3, fp, #20
	ldmia	r3, {r2-r3}
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	ldr	r3, [fp, #-84]
	ldr	r2, [fp, #28]
	mul	r2, r3, r2
	ldr	r1, [fp, #-64]
	ldr	r3, [fp, #-80]
	add	r3, r1, r3
	add	r3, r3, #1
	add	r3, r2, r3
	lsl	r3, r3, #4
	ldr	r2, [fp, #-88]
	add	r3, r2, r3
	add	r1, r3, #8
	ldmia	r1, {r0-r1}
	ldr	r3, [fp, #-84]
	ldr	r2, [fp, #28]
	mul	r2, r3, r2
	ldr	ip, [fp, #-64]
	ldr	r3, [fp, #-80]
	add	r3, ip, r3
	add	r3, r2, r3
	lsl	r3, r3, #4
	ldr	r2, [fp, #-88]
	add	r3, r2, r3
	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
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-80]
	lsl	r3, r3, #3
	ldr	r2, [fp, #36]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-80]
	lsl	r3, r3, #3
	ldr	r2, [fp, #36]
	add	r4, r2, r3
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	stm	r4, {r2-r3}
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	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
	str	r0, [fp, #-28]
	str	r1, [fp, #-24]
	ldr	r3, [fp, #-80]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-76]
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, [fp, #-80]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-76]
	add	r6, r2, r3
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	stm	r6, {r2-r3}
	ldr	r3, [fp, #-80]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-72]
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, [fp, #-80]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-72]
	add	r6, r2, r3
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	stm	r6, {r2-r3}
	ldr	r3, [fp, #-80]
	add	r3, r3, #1
	str	r3, [fp, #-80]
.L86:
	ldr	r2, [fp, #-80]
	ldr	r3, [fp, #12]
	cmp	r2, r3
	blt	.L87
	b	.L88
.L83:
	ldr	r3, [fp, #-64]
	cmp	r3, #0
	blt	.L89
	ldr	r2, [fp, #-64]
	ldr	r3, [fp, #12]
	add	r3, r2, r3
	ldr	r2, [fp, #28]
	cmp	r2, r3
	bgt	.L89
	ldr	r3, .L106
	ldr	r3, [r3]
	mov	r2, #39
	mov	r1, #1
	ldr	r0, .L106+16
	bl	fwrite
	ldr	r3, .L106
	ldr	r0, [r3]
	ldr	r2, [fp, #-64]
	ldr	r3, [fp, #12]
	add	r2, r2, r3
	ldr	r3, [fp, #28]
	sub	r3, r2, r3
	mov	r2, r3
	ldr	r1, .L106+12
	bl	fprintf
	mov	r3, #0
	str	r3, [fp, #-80]
	b	.L90
.L91:
	ldr	r3, [fp, #-84]
	ldr	r2, [fp, #28]
	mul	r2, r3, r2
	ldr	r1, [fp, #-64]
	ldr	r3, [fp, #-80]
	add	r3, r1, r3
	add	r3, r2, r3
	lsl	r3, r3, #4
	ldr	r2, [fp, #-88]
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	add	r3, fp, #20
	ldmia	r3, {r2-r3}
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	ldr	r3, [fp, #-84]
	ldr	r2, [fp, #28]
	mul	r2, r3, r2
	ldr	r1, [fp, #-64]
	ldr	r3, [fp, #-80]
	add	r3, r1, r3
	add	r3, r3, #1
	add	r3, r2, r3
	lsl	r3, r3, #4
	ldr	r2, [fp, #-88]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-84]
	ldr	r2, [fp, #28]
	mul	r2, r3, r2
	ldr	ip, [fp, #-64]
	ldr	r3, [fp, #-80]
	add	r3, ip, r3
	add	r3, r2, r3
	lsl	r3, r3, #4
	ldr	r2, [fp, #-88]
	add	r3, r2, r3
	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
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-84]
	ldr	r2, [fp, #28]
	mul	r2, r3, r2
	ldr	r1, [fp, #-64]
	ldr	r3, [fp, #-80]
	add	r3, r1, r3
	add	r3, r2, r3
	lsl	r3, r3, #4
	ldr	r2, [fp, #-88]
	add	r3, r2, r3
	add	r5, r3, #8
	ldmia	r5, {r4-r5}
	add	r3, fp, #20
	ldmia	r3, {r2-r3}
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	ldr	r3, [fp, #-84]
	ldr	r2, [fp, #28]
	mul	r2, r3, r2
	ldr	r1, [fp, #-64]
	ldr	r3, [fp, #-80]
	add	r3, r1, r3
	add	r3, r3, #1
	add	r3, r2, r3
	lsl	r3, r3, #4
	ldr	r2, [fp, #-88]
	add	r3, r2, r3
	add	r1, r3, #8
	ldmia	r1, {r0-r1}
	ldr	r3, [fp, #-84]
	ldr	r2, [fp, #28]
	mul	r2, r3, r2
	ldr	ip, [fp, #-64]
	ldr	r3, [fp, #-80]
	add	r3, ip, r3
	add	r3, r2, r3
	lsl	r3, r3, #4
	ldr	r2, [fp, #-88]
	add	r3, r2, r3
	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
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-80]
	lsl	r3, r3, #3
	ldr	r2, [fp, #36]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-80]
	lsl	r3, r3, #3
	ldr	r2, [fp, #36]
	add	r4, r2, r3
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	stm	r4, {r2-r3}
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	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
	str	r0, [fp, #-28]
	str	r1, [fp, #-24]
	ldr	r3, [fp, #-80]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-76]
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, [fp, #-80]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-76]
	add	r6, r2, r3
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	stm	r6, {r2-r3}
	ldr	r3, [fp, #-80]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-72]
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, [fp, #-80]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-72]
	add	r6, r2, r3
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	stm	r6, {r2-r3}
	ldr	r3, [fp, #-80]
	add	r3, r3, #1
	str	r3, [fp, #-80]
.L90:
	ldr	r2, [fp, #28]
	ldr	r3, [fp, #-64]
	sub	r3, r2, r3
	sub	r3, r3, #1
	ldr	r2, [fp, #-80]
	cmp	r2, r3
	blt	.L91
	ldr	r2, [fp, #28]
	ldr	r3, [fp, #-64]
	sub	r3, r2, r3
	sub	r3, r3, #1
	str	r3, [fp, #-80]
	b	.L92
.L93:
	ldr	r3, [fp, #-80]
	lsl	r3, r3, #3
	ldr	r2, [fp, #36]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-84]
	ldr	r2, [fp, #28]
	mul	r2, r3, r2
	ldr	r3, [fp, #28]
	sub	r3, r3, #1
	add	r3, r2, r3
	lsl	r3, r3, #4
	ldr	r2, [fp, #-88]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	ldr	ip, [fp, #-80]
	lsl	ip, ip, #3
	ldr	lr, [fp, #36]
	add	r4, lr, ip
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	stm	r4, {r2-r3}
	ldr	r3, [fp, #-84]
	ldr	r2, [fp, #28]
	mul	r2, r3, r2
	ldr	r3, [fp, #28]
	sub	r3, r3, #1
	add	r3, r2, r3
	lsl	r3, r3, #4
	ldr	r2, [fp, #-88]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-84]
	ldr	r2, [fp, #28]
	mul	r2, r3, r2
	ldr	r3, [fp, #28]
	sub	r3, r3, #1
	add	r3, r2, r3
	lsl	r3, r3, #4
	ldr	r2, [fp, #-88]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r3, [fp, #-84]
	ldr	r2, [fp, #28]
	mul	r2, r3, r2
	ldr	r3, [fp, #28]
	sub	r3, r3, #1
	add	r3, r2, r3
	lsl	r3, r3, #4
	ldr	r2, [fp, #-88]
	add	r3, r2, r3
	add	r1, r3, #8
	ldmia	r1, {r0-r1}
	ldr	r3, [fp, #-84]
	ldr	r2, [fp, #28]
	mul	r2, r3, r2
	ldr	r3, [fp, #28]
	sub	r3, r3, #1
	add	r3, r2, r3
	lsl	r3, r3, #4
	ldr	r2, [fp, #-88]
	add	r3, r2, r3
	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	r0, r2
	mov	r1, r3
	bl	sqrt
	str	r0, [fp, #-28]
	str	r1, [fp, #-24]
	ldr	r3, [fp, #-80]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-76]
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	ldr	r3, [fp, #-84]
	ldr	r2, [fp, #28]
	mul	r2, r3, r2
	ldr	r3, [fp, #28]
	sub	r3, r3, #1
	add	r3, r2, r3
	lsl	r3, r3, #4
	ldr	r2, [fp, #-88]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, [fp, #-80]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-76]
	add	r6, r2, r3
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	stm	r6, {r2-r3}
	ldr	r3, [fp, #-80]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-72]
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	ldr	r3, [fp, #-84]
	ldr	r2, [fp, #28]
	mul	r2, r3, r2
	ldr	r3, [fp, #28]
	sub	r3, r3, #1
	add	r3, r2, r3
	lsl	r3, r3, #4
	ldr	r2, [fp, #-88]
	add	r3, r2, r3
	add	r1, r3, #8
	ldmia	r1, {r0-r1}
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, [fp, #-80]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-72]
	add	r6, r2, r3
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	stm	r6, {r2-r3}
	ldr	r3, [fp, #-80]
	add	r3, r3, #1
	str	r3, [fp, #-80]
.L92:
	ldr	r2, [fp, #-80]
	ldr	r3, [fp, #12]
	cmp	r2, r3
	blt	.L93
	b	.L88
.L89:
	ldr	r3, [fp, #-64]
	cmp	r3, #0
	blt	.L94
	ldr	r2, [fp, #-64]
	ldr	r3, [fp, #12]
	add	r3, r2, r3
	ldr	r2, [fp, #28]
	cmp	r2, r3
	ble	.L94
	mov	r3, #0
	str	r3, [fp, #-80]
	b	.L95
.L107:
	.align	2
.L106:
	.word	stderr
	.word	.LC9
	.word	.LC6
	.word	.LC7
	.word	.LC8
.L96:
	ldr	r3, [fp, #-84]
	ldr	r2, [fp, #28]
	mul	r2, r3, r2
	ldr	r1, [fp, #-64]
	ldr	r3, [fp, #-80]
	add	r3, r1, r3
	add	r3, r2, r3
	lsl	r3, r3, #4
	ldr	r2, [fp, #-88]
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	add	r3, fp, #20
	ldmia	r3, {r2-r3}
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	ldr	r3, [fp, #-84]
	ldr	r2, [fp, #28]
	mul	r2, r3, r2
	ldr	r1, [fp, #-64]
	ldr	r3, [fp, #-80]
	add	r3, r1, r3
	add	r3, r3, #1
	add	r3, r2, r3
	lsl	r3, r3, #4
	ldr	r2, [fp, #-88]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-84]
	ldr	r2, [fp, #28]
	mul	r2, r3, r2
	ldr	ip, [fp, #-64]
	ldr	r3, [fp, #-80]
	add	r3, ip, r3
	add	r3, r2, r3
	lsl	r3, r3, #4
	ldr	r2, [fp, #-88]
	add	r3, r2, r3
	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
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-84]
	ldr	r2, [fp, #28]
	mul	r2, r3, r2
	ldr	r1, [fp, #-64]
	ldr	r3, [fp, #-80]
	add	r3, r1, r3
	add	r3, r2, r3
	lsl	r3, r3, #4
	ldr	r2, [fp, #-88]
	add	r3, r2, r3
	add	r5, r3, #8
	ldmia	r5, {r4-r5}
	add	r3, fp, #20
	ldmia	r3, {r2-r3}
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	ldr	r3, [fp, #-84]
	ldr	r2, [fp, #28]
	mul	r2, r3, r2
	ldr	r1, [fp, #-64]
	ldr	r3, [fp, #-80]
	add	r3, r1, r3
	add	r3, r3, #1
	add	r3, r2, r3
	lsl	r3, r3, #4
	ldr	r2, [fp, #-88]
	add	r3, r2, r3
	add	r1, r3, #8
	ldmia	r1, {r0-r1}
	ldr	r3, [fp, #-84]
	ldr	r2, [fp, #28]
	mul	r2, r3, r2
	ldr	ip, [fp, #-64]
	ldr	r3, [fp, #-80]
	add	r3, ip, r3
	add	r3, r2, r3
	lsl	r3, r3, #4
	ldr	r2, [fp, #-88]
	add	r3, r2, r3
	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
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-80]
	lsl	r3, r3, #3
	ldr	r2, [fp, #36]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-80]
	lsl	r3, r3, #3
	ldr	r2, [fp, #36]
	add	r4, r2, r3
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	stm	r4, {r2-r3}
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	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
	str	r0, [fp, #-28]
	str	r1, [fp, #-24]
	ldr	r3, [fp, #-80]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-76]
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, [fp, #-80]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-76]
	add	r6, r2, r3
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	stm	r6, {r2-r3}
	ldr	r3, [fp, #-80]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-72]
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, [fp, #-80]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-72]
	add	r6, r2, r3
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	stm	r6, {r2-r3}
	ldr	r3, [fp, #-80]
	add	r3, r3, #1
	str	r3, [fp, #-80]
.L95:
	ldr	r2, [fp, #-80]
	ldr	r3, [fp, #12]
	cmp	r2, r3
	blt	.L96
	b	.L88
.L94:
	ldr	r3, [fp, #-64]
	cmp	r3, #0
	bge	.L88
	ldr	r2, [fp, #-64]
	ldr	r3, [fp, #12]
	add	r3, r2, r3
	ldr	r2, [fp, #28]
	cmp	r2, r3
	bgt	.L88
	mov	r3, #0
	str	r3, [fp, #-80]
	b	.L97
.L98:
	ldr	r3, [fp, #-80]
	lsl	r3, r3, #3
	ldr	r2, [fp, #36]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-84]
	ldr	r2, [fp, #28]
	mul	r3, r2, r3
	lsl	r3, r3, #4
	ldr	r2, [fp, #-88]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	ldr	ip, [fp, #-80]
	lsl	ip, ip, #3
	ldr	lr, [fp, #36]
	add	r4, lr, ip
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	stm	r4, {r2-r3}
	ldr	r3, [fp, #-84]
	ldr	r2, [fp, #28]
	mul	r3, r2, r3
	lsl	r3, r3, #4
	ldr	r2, [fp, #-88]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-84]
	ldr	r2, [fp, #28]
	mul	r3, r2, r3
	lsl	r3, r3, #4
	ldr	r2, [fp, #-88]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r3, [fp, #-84]
	ldr	r2, [fp, #28]
	mul	r3, r2, r3
	lsl	r3, r3, #4
	ldr	r2, [fp, #-88]
	add	r3, r2, r3
	add	r1, r3, #8
	ldmia	r1, {r0-r1}
	ldr	r3, [fp, #-84]
	ldr	r2, [fp, #28]
	mul	r3, r2, r3
	lsl	r3, r3, #4
	ldr	r2, [fp, #-88]
	add	r3, r2, r3
	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	r0, r2
	mov	r1, r3
	bl	sqrt
	str	r0, [fp, #-28]
	str	r1, [fp, #-24]
	ldr	r3, [fp, #-80]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-76]
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	ldr	r3, [fp, #-84]
	ldr	r2, [fp, #28]
	mul	r3, r2, r3
	lsl	r3, r3, #4
	ldr	r2, [fp, #-88]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, [fp, #-80]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-76]
	add	r6, r2, r3
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	stm	r6, {r2-r3}
	ldr	r3, [fp, #-80]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-72]
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	ldr	r3, [fp, #-84]
	ldr	r2, [fp, #28]
	mul	r3, r2, r3
	lsl	r3, r3, #4
	ldr	r2, [fp, #-88]
	add	r3, r2, r3
	add	r1, r3, #8
	ldmia	r1, {r0-r1}
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, [fp, #-80]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-72]
	add	r6, r2, r3
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	stm	r6, {r2-r3}
	ldr	r3, [fp, #-80]
	add	r3, r3, #1
	str	r3, [fp, #-80]
.L97:
	ldr	r3, [fp, #-64]
	rsb	r3, r3, #0
	ldr	r2, [fp, #-80]
	cmp	r2, r3
	blt	.L98
	ldr	r3, [fp, #-64]
	rsb	r3, r3, #0
	str	r3, [fp, #-80]
	b	.L99
.L100:
	ldr	r3, [fp, #-84]
	ldr	r2, [fp, #28]
	mul	r2, r3, r2
	ldr	r1, [fp, #-64]
	ldr	r3, [fp, #-80]
	add	r3, r1, r3
	add	r3, r2, r3
	lsl	r3, r3, #4
	ldr	r2, [fp, #-88]
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	add	r3, fp, #20
	ldmia	r3, {r2-r3}
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	ldr	r3, [fp, #-84]
	ldr	r2, [fp, #28]
	mul	r2, r3, r2
	ldr	r1, [fp, #-64]
	ldr	r3, [fp, #-80]
	add	r3, r1, r3
	add	r3, r3, #1
	add	r3, r2, r3
	lsl	r3, r3, #4
	ldr	r2, [fp, #-88]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-84]
	ldr	r2, [fp, #28]
	mul	r2, r3, r2
	ldr	ip, [fp, #-64]
	ldr	r3, [fp, #-80]
	add	r3, ip, r3
	add	r3, r2, r3
	lsl	r3, r3, #4
	ldr	r2, [fp, #-88]
	add	r3, r2, r3
	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
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-84]
	ldr	r2, [fp, #28]
	mul	r2, r3, r2
	ldr	r1, [fp, #-64]
	ldr	r3, [fp, #-80]
	add	r3, r1, r3
	add	r3, r2, r3
	lsl	r3, r3, #4
	ldr	r2, [fp, #-88]
	add	r3, r2, r3
	add	r5, r3, #8
	ldmia	r5, {r4-r5}
	add	r3, fp, #20
	ldmia	r3, {r2-r3}
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	ldr	r3, [fp, #-84]
	ldr	r2, [fp, #28]
	mul	r2, r3, r2
	ldr	r1, [fp, #-64]
	ldr	r3, [fp, #-80]
	add	r3, r1, r3
	add	r3, r3, #1
	add	r3, r2, r3
	lsl	r3, r3, #4
	ldr	r2, [fp, #-88]
	add	r3, r2, r3
	add	r1, r3, #8
	ldmia	r1, {r0-r1}
	ldr	r3, [fp, #-84]
	ldr	r2, [fp, #28]
	mul	r2, r3, r2
	ldr	ip, [fp, #-64]
	ldr	r3, [fp, #-80]
	add	r3, ip, r3
	add	r3, r2, r3
	lsl	r3, r3, #4
	ldr	r2, [fp, #-88]
	add	r3, r2, r3
	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
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-80]
	lsl	r3, r3, #3
	ldr	r2, [fp, #36]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-80]
	lsl	r3, r3, #3
	ldr	r2, [fp, #36]
	add	r4, r2, r3
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	stm	r4, {r2-r3}
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	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
	str	r0, [fp, #-28]
	str	r1, [fp, #-24]
	ldr	r3, [fp, #-80]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-76]
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, [fp, #-80]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-76]
	add	r6, r2, r3
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	stm	r6, {r2-r3}
	ldr	r3, [fp, #-80]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-72]
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, [fp, #-80]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-72]
	add	r6, r2, r3
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	stm	r6, {r2-r3}
	ldr	r3, [fp, #-80]
	add	r3, r3, #1
	str	r3, [fp, #-80]
.L99:
	ldr	r2, [fp, #28]
	ldr	r3, [fp, #-64]
	sub	r3, r2, r3
	sub	r3, r3, #1
	ldr	r2, [fp, #-80]
	cmp	r2, r3
	blt	.L100
	ldr	r2, [fp, #28]
	ldr	r3, [fp, #-64]
	sub	r3, r2, r3
	sub	r3, r3, #1
	str	r3, [fp, #-80]
	b	.L101
.L102:
	ldr	r3, [fp, #-80]
	lsl	r3, r3, #3
	ldr	r2, [fp, #36]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-84]
	ldr	r2, [fp, #28]
	mul	r2, r3, r2
	ldr	r3, [fp, #28]
	sub	r3, r3, #1
	add	r3, r2, r3
	lsl	r3, r3, #4
	ldr	r2, [fp, #-88]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	ldr	ip, [fp, #-80]
	lsl	ip, ip, #3
	ldr	lr, [fp, #36]
	add	r4, lr, ip
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	stm	r4, {r2-r3}
	ldr	r3, [fp, #-84]
	ldr	r2, [fp, #28]
	mul	r2, r3, r2
	ldr	r3, [fp, #28]
	sub	r3, r3, #1
	add	r3, r2, r3
	lsl	r3, r3, #4
	ldr	r2, [fp, #-88]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-84]
	ldr	r2, [fp, #28]
	mul	r2, r3, r2
	ldr	r3, [fp, #28]
	sub	r3, r3, #1
	add	r3, r2, r3
	lsl	r3, r3, #4
	ldr	r2, [fp, #-88]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r3, [fp, #-84]
	ldr	r2, [fp, #28]
	mul	r2, r3, r2
	ldr	r3, [fp, #28]
	sub	r3, r3, #1
	add	r3, r2, r3
	lsl	r3, r3, #4
	ldr	r2, [fp, #-88]
	add	r3, r2, r3
	add	r1, r3, #8
	ldmia	r1, {r0-r1}
	ldr	r3, [fp, #-84]
	ldr	r2, [fp, #28]
	mul	r2, r3, r2
	ldr	r3, [fp, #28]
	sub	r3, r3, #1
	add	r3, r2, r3
	lsl	r3, r3, #4
	ldr	r2, [fp, #-88]
	add	r3, r2, r3
	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	r0, r2
	mov	r1, r3
	bl	sqrt
	str	r0, [fp, #-28]
	str	r1, [fp, #-24]
	ldr	r3, [fp, #-80]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-76]
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	ldr	r3, [fp, #-84]
	ldr	r2, [fp, #28]
	mul	r2, r3, r2
	ldr	r3, [fp, #28]
	sub	r3, r3, #1
	add	r3, r2, r3
	lsl	r3, r3, #4
	ldr	r2, [fp, #-88]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, [fp, #-80]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-76]
	add	r6, r2, r3
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	stm	r6, {r2-r3}
	ldr	r3, [fp, #-80]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-72]
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	ldr	r3, [fp, #-84]
	ldr	r2, [fp, #28]
	mul	r2, r3, r2
	ldr	r3, [fp, #28]
	sub	r3, r3, #1
	add	r3, r2, r3
	lsl	r3, r3, #4
	ldr	r2, [fp, #-88]
	add	r3, r2, r3
	add	r1, r3, #8
	ldmia	r1, {r0-r1}
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, [fp, #-80]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-72]
	add	r6, r2, r3
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	stm	r6, {r2-r3}
	ldr	r3, [fp, #-80]
	add	r3, r3, #1
	str	r3, [fp, #-80]
.L101:
	ldr	r2, [fp, #-80]
	ldr	r3, [fp, #12]
	cmp	r2, r3
	blt	.L102
.L88:
	ldr	r3, [fp, #-84]
	add	r3, r3, #1
	str	r3, [fp, #-84]
.L82:
	ldr	r2, [fp, #-84]
	ldr	r3, [fp, #-96]
	cmp	r2, r3
	blt	.L103
	mov	r3, #0
	str	r3, [fp, #-84]
	b	.L104
.L105:
	ldr	r3, [fp, #-84]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-76]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-84]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-76]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r3, [fp, #-84]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-72]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-84]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-72]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	sqrt
	mov	r4, r0
	mov	r5, r1
	ldr	r0, [fp, #-96]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	ldr	r1, [fp, #-84]
	lsl	r1, r1, #3
	ldr	r0, [fp, #-68]
	add	r6, r0, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	stm	r6, {r2-r3}
	ldr	r3, [fp, #-84]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-68]
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	ldr	r0, [fp, #32]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	ldr	r1, [fp, #-84]
	lsl	r1, r1, #3
	ldr	r0, [fp, #-68]
	add	r6, r0, r1
	mov	r0, r4
	mov	r1, r5
	bl	pow
	mov	r2, r0
	mov	r3, r1
	stm	r6, {r2-r3}
	ldr	r3, [fp, #-84]
	lsl	r3, r3, #3
	ldr	r2, [fp, #36]
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	ldr	r3, [fp, #-84]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-68]
	add	r3, r2, r3
	ldmia	r3, {r6-r7}
	ldr	r0, [fp, #-96]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, [fp, #-84]
	lsl	r3, r3, #3
	ldr	r2, [fp, #36]
	add	r6, r2, r3
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	stm	r6, {r2-r3}
	ldr	r3, [fp, #-84]
	add	r3, r3, #1
	str	r3, [fp, #-84]
.L104:
	ldr	r2, [fp, #-84]
	ldr	r3, [fp, #12]
	cmp	r2, r3
	blt	.L105
	ldr	r0, [fp, #-72]
	bl	free
	ldr	r0, [fp, #-76]
	bl	free
	ldr	r0, [fp, #-68]
	bl	free
	mov	r3, #0
.L77:
	mov	r0, r3
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
	.size	do_beam_psw, .-do_beam_psw
	.align	2
	.global	do_beam_root
	.syntax unified
	.arm
	.fpu softvfp
	.type	do_beam_root, %function
do_beam_root:
	@ args = 36, pretend = 0, frame = 128
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, fp, lr}
	add	fp, sp, #28
	sub	sp, sp, #128
	str	r0, [fp, #-72]
	str	r1, [fp, #-76]
	str	r2, [fp, #-80]
	mov	r3, #0
	str	r3, [fp, #-64]
	b	.L109
.L110:
	ldr	r3, [fp, #-64]
	lsl	r2, r3, #3
	ldr	r3, [fp, #36]
	add	r1, r3, r2
	mov	r2, #0
	mov	r3, #0
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-64]
	add	r3, r3, #1
	str	r3, [fp, #-64]
.L109:
	ldr	r2, [fp, #-64]
	ldr	r3, [fp, #12]
	cmp	r2, r3
	blt	.L110
	mov	r3, #0
	str	r3, [fp, #-64]
	b	.L111
.L132:
	ldr	r3, [fp, #-64]
	lsl	r2, r3, #3
	ldr	r3, [fp, #-76]
	add	r3, r3, r2
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	ldmib	fp, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	add	r3, fp, #20
	ldmia	r3, {r2-r3}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	add	r3, r3, #1
	str	r3, [fp, #-56]
	add	r3, fp, #20
	ldmia	r3, {r2-r3}
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_i2d
	add	r3, fp, #20
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-56]
	cmp	r3, #0
	bge	.L112
	ldr	r2, [fp, #-56]
	ldr	r3, [fp, #12]
	add	r2, r2, r3
	ldr	r3, [fp, #28]
	cmp	r3, r2
	ble	.L112
	ldr	r3, .L136
	ldr	r3, [r3]
	mov	r2, #37
	mov	r1, #1
	ldr	r0, .L136+4
	bl	fwrite
	ldr	r3, .L136
	ldr	r0, [r3]
	ldr	r3, [fp, #-56]
	rsb	r3, r3, #0
	mov	r2, r3
	ldr	r1, .L136+8
	bl	fprintf
	mov	r3, #0
	str	r3, [fp, #-60]
	b	.L113
.L114:
	ldr	r2, [fp, #-64]
	ldr	r3, [fp, #28]
	mul	r3, r2, r3
	lsl	r2, r3, #4
	ldr	r3, [fp, #-72]
	add	r3, r3, r2
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	bl	sign
	mov	r4, r0
	mov	r5, r1
	ldr	r2, [fp, #-64]
	ldr	r3, [fp, #28]
	mul	r3, r2, r3
	lsl	r2, r3, #4
	ldr	r3, [fp, #-72]
	add	r3, r3, r2
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-92]
	bic	r3, r3, #-2147483648
	str	r3, [fp, #-88]
	ldr	r0, [fp, #32]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, #0
	ldr	r1, .L136+12
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #92
	ldmia	r1, {r0-r1}
	bl	pow
	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
	ldr	r3, [fp, #-60]
	lsl	r2, r3, #3
	ldr	r3, [fp, #36]
	add	r3, r3, r2
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-60]
	lsl	r2, r3, #3
	ldr	r3, [fp, #36]
	add	r4, r3, r2
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	stm	r4, {r2-r3}
	ldr	r3, [fp, #-60]
	add	r3, r3, #1
	str	r3, [fp, #-60]
.L113:
	ldr	r3, [fp, #-56]
	rsb	r2, r3, #0
	ldr	r3, [fp, #-60]
	cmp	r3, r2
	blt	.L114
	ldr	r3, [fp, #-56]
	rsb	r3, r3, #0
	str	r3, [fp, #-60]
	b	.L115
.L116:
	ldr	r2, [fp, #-64]
	ldr	r3, [fp, #28]
	mul	r1, r3, r2
	ldr	r2, [fp, #-56]
	ldr	r3, [fp, #-60]
	add	r3, r2, r3
	add	r3, r1, r3
	lsl	r2, r3, #4
	ldr	r3, [fp, #-72]
	add	r3, r3, r2
	ldmia	r3, {r6-r7}
	add	r3, fp, #20
	ldmia	r3, {r2-r3}
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r8, r2
	mov	r9, r3
	ldr	r2, [fp, #-64]
	ldr	r3, [fp, #28]
	mul	r1, r3, r2
	ldr	r2, [fp, #-56]
	ldr	r3, [fp, #-60]
	add	r3, r2, r3
	add	r3, r3, #1
	add	r3, r1, r3
	lsl	r2, r3, #4
	ldr	r3, [fp, #-72]
	add	r3, r3, r2
	ldmia	r3, {r4-r5}
	ldr	r2, [fp, #-64]
	ldr	r3, [fp, #28]
	mul	r1, r3, r2
	ldr	r2, [fp, #-56]
	ldr	r3, [fp, #-60]
	add	r3, r2, r3
	add	r3, r1, r3
	lsl	r2, r3, #4
	ldr	r3, [fp, #-72]
	add	r3, r3, r2
	ldmia	r3, {r2-r3}
	mov	r0, r4
	mov	r1, r5
	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
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	bl	sign
	mov	r4, r0
	mov	r5, r1
	ldr	r3, [fp, #-36]
	str	r3, [fp, #-100]
	ldr	r3, [fp, #-32]
	bic	r3, r3, #-2147483648
	str	r3, [fp, #-96]
	ldr	r0, [fp, #32]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, #0
	ldr	r1, .L136+12
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #100
	ldmia	r1, {r0-r1}
	bl	pow
	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
	ldr	r3, [fp, #-60]
	lsl	r2, r3, #3
	ldr	r3, [fp, #36]
	add	r3, r3, r2
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-60]
	lsl	r2, r3, #3
	ldr	r3, [fp, #36]
	add	r4, r3, r2
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	stm	r4, {r2-r3}
	ldr	r3, [fp, #-60]
	add	r3, r3, #1
	str	r3, [fp, #-60]
.L115:
	ldr	r2, [fp, #-60]
	ldr	r3, [fp, #12]
	cmp	r2, r3
	blt	.L116
	b	.L117
.L112:
	ldr	r3, [fp, #-56]
	cmp	r3, #0
	blt	.L118
	ldr	r2, [fp, #-56]
	ldr	r3, [fp, #12]
	add	r2, r2, r3
	ldr	r3, [fp, #28]
	cmp	r3, r2
	bgt	.L118
	ldr	r3, .L136
	ldr	r3, [r3]
	mov	r2, #39
	mov	r1, #1
	ldr	r0, .L136+16
	bl	fwrite
	ldr	r3, .L136
	ldr	r0, [r3]
	ldr	r2, [fp, #-56]
	ldr	r3, [fp, #12]
	add	r2, r2, r3
	ldr	r3, [fp, #28]
	sub	r3, r2, r3
	mov	r2, r3
	ldr	r1, .L136+8
	bl	fprintf
	mov	r3, #0
	str	r3, [fp, #-60]
	b	.L119
.L120:
	ldr	r2, [fp, #-64]
	ldr	r3, [fp, #28]
	mul	r1, r3, r2
	ldr	r2, [fp, #-56]
	ldr	r3, [fp, #-60]
	add	r3, r2, r3
	add	r3, r1, r3
	lsl	r2, r3, #4
	ldr	r3, [fp, #-72]
	add	r3, r3, r2
	ldmia	r3, {r6-r7}
	add	r3, fp, #20
	ldmia	r3, {r2-r3}
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r8, r2
	mov	r9, r3
	ldr	r2, [fp, #-64]
	ldr	r3, [fp, #28]
	mul	r1, r3, r2
	ldr	r2, [fp, #-56]
	ldr	r3, [fp, #-60]
	add	r3, r2, r3
	add	r3, r3, #1
	add	r3, r1, r3
	lsl	r2, r3, #4
	ldr	r3, [fp, #-72]
	add	r3, r3, r2
	ldmia	r3, {r4-r5}
	ldr	r2, [fp, #-64]
	ldr	r3, [fp, #28]
	mul	r1, r3, r2
	ldr	r2, [fp, #-56]
	ldr	r3, [fp, #-60]
	add	r3, r2, r3
	add	r3, r1, r3
	lsl	r2, r3, #4
	ldr	r3, [fp, #-72]
	add	r3, r3, r2
	ldmia	r3, {r2-r3}
	mov	r0, r4
	mov	r1, r5
	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
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	bl	sign
	mov	r4, r0
	mov	r5, r1
	ldr	r3, [fp, #-36]
	str	r3, [fp, #-108]
	ldr	r3, [fp, #-32]
	bic	r3, r3, #-2147483648
	str	r3, [fp, #-104]
	ldr	r0, [fp, #32]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, #0
	ldr	r1, .L136+12
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #108
	ldmia	r1, {r0-r1}
	bl	pow
	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
	ldr	r3, [fp, #-60]
	lsl	r2, r3, #3
	ldr	r3, [fp, #36]
	add	r3, r3, r2
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-60]
	lsl	r2, r3, #3
	ldr	r3, [fp, #36]
	add	r4, r3, r2
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	stm	r4, {r2-r3}
	ldr	r3, [fp, #-60]
	add	r3, r3, #1
	str	r3, [fp, #-60]
.L119:
	ldr	r2, [fp, #28]
	ldr	r3, [fp, #-56]
	sub	r3, r2, r3
	sub	r2, r3, #1
	ldr	r3, [fp, #-60]
	cmp	r3, r2
	blt	.L120
	ldr	r2, [fp, #28]
	ldr	r3, [fp, #-56]
	sub	r3, r2, r3
	sub	r3, r3, #1
	str	r3, [fp, #-60]
	b	.L121
.L122:
	ldr	r2, [fp, #-64]
	ldr	r3, [fp, #28]
	mul	r2, r3, r2
	ldr	r3, [fp, #28]
	sub	r3, r3, #1
	add	r3, r2, r3
	lsl	r2, r3, #4
	ldr	r3, [fp, #-72]
	add	r3, r3, r2
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	bl	sign
	mov	r4, r0
	mov	r5, r1
	ldr	r2, [fp, #-64]
	ldr	r3, [fp, #28]
	mul	r2, r3, r2
	ldr	r3, [fp, #28]
	sub	r3, r3, #1
	add	r3, r2, r3
	lsl	r2, r3, #4
	ldr	r3, [fp, #-72]
	add	r3, r3, r2
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-116]
	bic	r3, r3, #-2147483648
	str	r3, [fp, #-112]
	ldr	r0, [fp, #32]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, #0
	ldr	r1, .L136+12
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #116
	ldmia	r1, {r0-r1}
	bl	pow
	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
	ldr	r3, [fp, #-60]
	lsl	r2, r3, #3
	ldr	r3, [fp, #36]
	add	r3, r3, r2
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-60]
	lsl	r2, r3, #3
	ldr	r3, [fp, #36]
	add	r4, r3, r2
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	stm	r4, {r2-r3}
	ldr	r3, [fp, #-60]
	add	r3, r3, #1
	str	r3, [fp, #-60]
.L121:
	ldr	r2, [fp, #-60]
	ldr	r3, [fp, #12]
	cmp	r2, r3
	blt	.L122
	b	.L117
.L118:
	ldr	r3, [fp, #-56]
	cmp	r3, #0
	blt	.L123
	ldr	r2, [fp, #-56]
	ldr	r3, [fp, #12]
	add	r2, r2, r3
	ldr	r3, [fp, #28]
	cmp	r3, r2
	ble	.L123
	mov	r3, #0
	str	r3, [fp, #-60]
	b	.L124
.L125:
	ldr	r2, [fp, #-64]
	ldr	r3, [fp, #28]
	mul	r1, r3, r2
	ldr	r2, [fp, #-56]
	ldr	r3, [fp, #-60]
	add	r3, r2, r3
	add	r3, r1, r3
	lsl	r2, r3, #4
	ldr	r3, [fp, #-72]
	add	r3, r3, r2
	ldmia	r3, {r6-r7}
	add	r3, fp, #20
	ldmia	r3, {r2-r3}
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r8, r2
	mov	r9, r3
	ldr	r2, [fp, #-64]
	ldr	r3, [fp, #28]
	mul	r1, r3, r2
	ldr	r2, [fp, #-56]
	ldr	r3, [fp, #-60]
	add	r3, r2, r3
	add	r3, r3, #1
	add	r3, r1, r3
	lsl	r2, r3, #4
	ldr	r3, [fp, #-72]
	add	r3, r3, r2
	ldmia	r3, {r4-r5}
	ldr	r2, [fp, #-64]
	ldr	r3, [fp, #28]
	mul	r1, r3, r2
	ldr	r2, [fp, #-56]
	ldr	r3, [fp, #-60]
	add	r3, r2, r3
	add	r3, r1, r3
	lsl	r2, r3, #4
	ldr	r3, [fp, #-72]
	add	r3, r3, r2
	ldmia	r3, {r2-r3}
	mov	r0, r4
	mov	r1, r5
	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
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	bl	sign
	mov	r4, r0
	mov	r5, r1
	ldr	r3, [fp, #-36]
	str	r3, [fp, #-124]
	ldr	r3, [fp, #-32]
	bic	r3, r3, #-2147483648
	str	r3, [fp, #-120]
	ldr	r0, [fp, #32]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, #0
	ldr	r1, .L136+12
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #124
	ldmia	r1, {r0-r1}
	bl	pow
	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
	ldr	r3, [fp, #-60]
	lsl	r2, r3, #3
	ldr	r3, [fp, #36]
	add	r3, r3, r2
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-60]
	lsl	r2, r3, #3
	ldr	r3, [fp, #36]
	add	r4, r3, r2
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	stm	r4, {r2-r3}
	ldr	r3, [fp, #-60]
	add	r3, r3, #1
	str	r3, [fp, #-60]
.L124:
	ldr	r2, [fp, #-60]
	ldr	r3, [fp, #12]
	cmp	r2, r3
	blt	.L125
	b	.L117
.L123:
	ldr	r3, [fp, #-56]
	cmp	r3, #0
	bge	.L117
	ldr	r2, [fp, #-56]
	ldr	r3, [fp, #12]
	add	r2, r2, r3
	ldr	r3, [fp, #28]
	cmp	r3, r2
	bgt	.L117
	mov	r3, #0
	str	r3, [fp, #-60]
	b	.L126
.L127:
	ldr	r2, [fp, #-64]
	ldr	r3, [fp, #28]
	mul	r3, r2, r3
	lsl	r2, r3, #4
	ldr	r3, [fp, #-72]
	add	r3, r3, r2
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	bl	sign
	mov	r4, r0
	mov	r5, r1
	ldr	r2, [fp, #-64]
	ldr	r3, [fp, #28]
	mul	r3, r2, r3
	lsl	r2, r3, #4
	ldr	r3, [fp, #-72]
	add	r3, r3, r2
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-132]
	bic	r3, r3, #-2147483648
	str	r3, [fp, #-128]
	ldr	r0, [fp, #32]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, #0
	ldr	r1, .L136+12
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #132
	ldmia	r1, {r0-r1}
	bl	pow
	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
	ldr	r3, [fp, #-60]
	lsl	r2, r3, #3
	ldr	r3, [fp, #36]
	add	r3, r3, r2
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-60]
	lsl	r2, r3, #3
	ldr	r3, [fp, #36]
	add	r4, r3, r2
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	stm	r4, {r2-r3}
	ldr	r3, [fp, #-60]
	add	r3, r3, #1
	str	r3, [fp, #-60]
.L126:
	ldr	r3, [fp, #-56]
	rsb	r2, r3, #0
	ldr	r3, [fp, #-60]
	cmp	r3, r2
	blt	.L127
	ldr	r3, [fp, #-56]
	rsb	r3, r3, #0
	str	r3, [fp, #-60]
	b	.L128
.L129:
	ldr	r2, [fp, #-64]
	ldr	r3, [fp, #28]
	mul	r1, r3, r2
	ldr	r2, [fp, #-56]
	ldr	r3, [fp, #-60]
	add	r3, r2, r3
	add	r3, r1, r3
	lsl	r2, r3, #4
	ldr	r3, [fp, #-72]
	add	r3, r3, r2
	ldmia	r3, {r6-r7}
	add	r3, fp, #20
	ldmia	r3, {r2-r3}
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r8, r2
	mov	r9, r3
	ldr	r2, [fp, #-64]
	ldr	r3, [fp, #28]
	mul	r1, r3, r2
	ldr	r2, [fp, #-56]
	ldr	r3, [fp, #-60]
	add	r3, r2, r3
	add	r3, r3, #1
	add	r3, r1, r3
	lsl	r2, r3, #4
	ldr	r3, [fp, #-72]
	add	r3, r3, r2
	ldmia	r3, {r4-r5}
	ldr	r2, [fp, #-64]
	ldr	r3, [fp, #28]
	mul	r1, r3, r2
	ldr	r2, [fp, #-56]
	ldr	r3, [fp, #-60]
	add	r3, r2, r3
	add	r3, r1, r3
	lsl	r2, r3, #4
	ldr	r3, [fp, #-72]
	add	r3, r3, r2
	ldmia	r3, {r2-r3}
	mov	r0, r4
	mov	r1, r5
	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
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	bl	sign
	mov	r4, r0
	mov	r5, r1
	ldr	r3, [fp, #-36]
	str	r3, [fp, #-140]
	ldr	r3, [fp, #-32]
	bic	r3, r3, #-2147483648
	str	r3, [fp, #-136]
	ldr	r0, [fp, #32]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, #0
	ldr	r1, .L136+12
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #140
	ldmia	r1, {r0-r1}
	bl	pow
	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
	ldr	r3, [fp, #-60]
	lsl	r2, r3, #3
	ldr	r3, [fp, #36]
	add	r3, r3, r2
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-60]
	lsl	r2, r3, #3
	ldr	r3, [fp, #36]
	add	r4, r3, r2
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	stm	r4, {r2-r3}
	ldr	r3, [fp, #-60]
	add	r3, r3, #1
	str	r3, [fp, #-60]
.L128:
	ldr	r2, [fp, #28]
	ldr	r3, [fp, #-56]
	sub	r3, r2, r3
	sub	r2, r3, #1
	ldr	r3, [fp, #-60]
	cmp	r3, r2
	blt	.L129
	ldr	r2, [fp, #28]
	ldr	r3, [fp, #-56]
	sub	r3, r2, r3
	sub	r3, r3, #1
	str	r3, [fp, #-60]
	b	.L130
.L131:
	ldr	r2, [fp, #-64]
	ldr	r3, [fp, #28]
	mul	r2, r3, r2
	ldr	r3, [fp, #28]
	sub	r3, r3, #1
	add	r3, r2, r3
	lsl	r2, r3, #4
	ldr	r3, [fp, #-72]
	add	r3, r3, r2
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	bl	sign
	mov	r4, r0
	mov	r5, r1
	ldr	r2, [fp, #-64]
	ldr	r3, [fp, #28]
	mul	r2, r3, r2
	ldr	r3, [fp, #28]
	sub	r3, r3, #1
	add	r3, r2, r3
	lsl	r2, r3, #4
	ldr	r3, [fp, #-72]
	add	r3, r3, r2
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-148]
	bic	r3, r3, #-2147483648
	str	r3, [fp, #-144]
	ldr	r0, [fp, #32]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, #0
	ldr	r1, .L136+12
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #148
	ldmia	r1, {r0-r1}
	bl	pow
	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
	ldr	r3, [fp, #-60]
	lsl	r2, r3, #3
	ldr	r3, [fp, #36]
	add	r3, r3, r2
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-60]
	lsl	r2, r3, #3
	ldr	r3, [fp, #36]
	add	r4, r3, r2
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	stm	r4, {r2-r3}
	ldr	r3, [fp, #-60]
	add	r3, r3, #1
	str	r3, [fp, #-60]
.L130:
	ldr	r2, [fp, #-60]
	ldr	r3, [fp, #12]
	cmp	r2, r3
	blt	.L131
.L117:
	ldr	r3, [fp, #-64]
	add	r3, r3, #1
	str	r3, [fp, #-64]
.L111:
	ldr	r2, [fp, #-64]
	ldr	r3, [fp, #-80]
	cmp	r2, r3
	blt	.L132
	mov	r3, #0
	str	r3, [fp, #-64]
	b	.L133
.L134:
	ldr	r3, [fp, #-64]
	lsl	r3, r3, #3
	ldr	r2, [fp, #36]
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	ldr	r0, [fp, #-80]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	ldr	r1, [fp, #-64]
	lsl	r1, r1, #3
	ldr	r0, [fp, #36]
	add	r6, r0, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	stm	r6, {r2-r3}
	ldr	r3, [fp, #-64]
	lsl	r3, r3, #3
	ldr	r2, [fp, #36]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	bl	sign
	mov	r4, r0
	mov	r5, r1
	ldr	r3, [fp, #-64]
	lsl	r3, r3, #3
	ldr	r2, [fp, #36]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-156]
	bic	r3, r3, #-2147483648
	str	r3, [fp, #-152]
	ldr	r0, [fp, #32]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #156
	ldmia	r1, {r0-r1}
	bl	pow
	mov	r2, r0
	mov	r3, r1
	ldr	r1, [fp, #-64]
	lsl	r1, r1, #3
	ldr	r0, [fp, #36]
	add	r6, r0, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	stm	r6, {r2-r3}
	ldr	r3, [fp, #-64]
	add	r3, r3, #1
	str	r3, [fp, #-64]
.L133:
	ldr	r2, [fp, #-64]
	ldr	r3, [fp, #12]
	cmp	r2, r3
	blt	.L134
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, fp, pc}
.L137:
	.align	2
.L136:
	.word	stderr
	.word	.LC6
	.word	.LC7
	.word	1072693248
	.word	.LC8
	.size	do_beam_root, .-do_beam_root
	.global	__aeabi_dcmpge
	.align	2
	.global	sign
	.syntax unified
	.arm
	.fpu softvfp
	.type	sign, %function
sign:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-12]
	str	r1, [fp, #-8]
	mov	r2, #0
	mov	r3, #0
	sub	r1, fp, #12
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpge
	mov	r3, r0
	cmp	r3, #0
	beq	.L143
	mov	r2, #0
	ldr	r3, .L144
	b	.L141
.L143:
	mov	r2, #0
	ldr	r3, .L144+4
.L141:
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L145:
	.align	2
.L144:
	.word	1072693248
	.word	-1074790400
	.size	sign, .-sign
	.global	__aeabi_dcmplt
	.section	.rodata
	.align	2
.LC10:
	.ascii	"Bad choice for amplitude metric\012\000"
	.text
	.align	2
	.global	get_mag
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_mag, %function
get_mag:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #32
	str	r0, [fp, #-40]
	str	r1, [fp, #-44]
	str	r2, [fp, #-48]
	ldr	r3, [fp, #-48]
	cmp	r3, #0
	bne	.L147
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-32]
	b	.L148
.L151:
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	mov	r6, r2
	bic	r7, r3, #-2147483648
	mov	r2, r6
	mov	r3, r7
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L149
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	mov	r1, r2
	str	r1, [fp, #-28]
	bic	r3, r3, #-2147483648
	str	r3, [fp, #-24]
.L149:
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L148:
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-44]
	cmp	r2, r3
	blt	.L151
	b	.L152
.L147:
	ldr	r3, [fp, #-48]
	cmp	r3, #1
	bne	.L153
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-32]
	b	.L154
.L155:
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	mov	r4, r2
	bic	r5, r3, #-2147483648
	mov	r2, r4
	mov	r3, r5
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L154:
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-44]
	cmp	r2, r3
	blt	.L155
	ldr	r0, [fp, #-44]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	b	.L152
.L153:
	ldr	r3, [fp, #-48]
	cmp	r3, #2
	bne	.L156
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-32]
	b	.L157
.L158:
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L157:
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-44]
	cmp	r2, r3
	blt	.L158
	ldr	r0, [fp, #-44]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	sqrt
	str	r0, [fp, #-28]
	str	r1, [fp, #-24]
	b	.L152
.L156:
	ldr	r3, .L161
	ldr	r3, [r3]
	mov	r2, #32
	mov	r1, #1
	ldr	r0, .L161+4
	bl	fwrite
	mov	r0, #1
	bl	exit
.L152:
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
.L162:
	.align	2
.L161:
	.word	stderr
	.word	.LC10
	.size	get_mag, .-get_mag
	.section	.rodata
	.align	2
.LC11:
	.ascii	"calculating coherence\012\000"
	.align	2
.LC12:
	.ascii	"Shift time for station %d puts you past end of reco"
	.ascii	"rd\012\000"
	.align	2
.LC13:
	.ascii	"Shift time  for station %d is before start of recor"
	.ascii	"d and puts you past end of record\012\000"
	.align	2
.LC14:
	.ascii	"coherence is %f\012\000"
	.align	2
.LC15:
	.ascii	"free dum array\012\000"
	.align	2
.LC16:
	.ascii	"free image\012\000"
	.align	2
.LC17:
	.ascii	"free weight\012\000"
	.align	2
.LC18:
	.ascii	"done free\012\000"
	.text
	.align	2
	.global	get_coherence
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_coherence, %function
get_coherence:
	@ args = 36, pretend = 0, frame = 104
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #104
	str	r0, [fp, #-112]
	str	r1, [fp, #-116]
	str	r2, [fp, #-120]
	str	r3, [fp, #-124]
	ldr	r3, .L196+40
	ldr	r3, [r3]
	mov	r2, #22
	mov	r1, #1
	ldr	r0, .L196
	bl	fwrite
	ldr	r3, [fp, #24]
	mov	r1, #8
	mov	r0, r3
	bl	calloc
	mov	r3, r0
	str	r3, [fp, #-100]
	ldr	r3, [fp, #-100]
	cmp	r3, #0
	bne	.L164
	ldr	r3, .L196+40
	ldr	r3, [r3]
	mov	r2, #22
	mov	r1, #1
	ldr	r0, .L196+4
	bl	fwrite
	mov	r2, #0
	ldr	r3, .L196+8
	b	.L165
.L164:
	ldr	r3, [fp, #24]
	mov	r1, #8
	mov	r0, r3
	bl	calloc
	mov	r3, r0
	str	r3, [fp, #-96]
	ldr	r3, [fp, #-96]
	cmp	r3, #0
	bne	.L166
	ldr	r3, .L196+40
	ldr	r3, [r3]
	mov	r2, #22
	mov	r1, #1
	ldr	r0, .L196+4
	bl	fwrite
	mov	r2, #0
	ldr	r3, .L196+8
	b	.L165
.L166:
	ldr	r3, [fp, #24]
	mov	r1, #8
	mov	r0, r3
	bl	calloc
	mov	r3, r0
	str	r3, [fp, #-92]
	ldr	r3, [fp, #-92]
	cmp	r3, #0
	bne	.L167
	ldr	r3, .L196+40
	ldr	r3, [r3]
	mov	r2, #22
	mov	r1, #1
	ldr	r0, .L196+4
	bl	fwrite
	mov	r2, #0
	ldr	r3, .L196+8
	b	.L165
.L167:
	mov	r3, #0
	str	r3, [fp, #-108]
	b	.L168
.L169:
	ldr	r3, [fp, #-108]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-100]
	add	r1, r2, r3
	mov	r2, #0
	mov	r3, #0
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-108]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-96]
	add	r1, r2, r3
	mov	r2, #0
	mov	r3, #0
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-108]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-92]
	add	r1, r2, r3
	mov	r2, #0
	mov	r3, #0
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-108]
	add	r3, r3, #1
	str	r3, [fp, #-108]
.L168:
	ldr	r2, [fp, #-108]
	ldr	r3, [fp, #24]
	cmp	r2, r3
	blt	.L169
	mov	r3, #0
	str	r3, [fp, #-108]
	b	.L170
.L191:
	ldr	r3, [fp, #-108]
	ldr	r2, [fp, #-124]
	mul	r3, r2, r3
	ldr	r2, [fp, #4]
	mul	r2, r3, r2
	ldr	r3, [fp, #8]
	ldr	r1, [fp, #4]
	mul	r3, r1, r3
	add	r2, r2, r3
	ldr	r3, [fp, #12]
	add	r3, r2, r3
	lsl	r3, r3, #3
	ldr	r2, [fp, #-116]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-76]
	str	r3, [fp, #-72]
	add	r3, fp, #28
	ldmia	r3, {r2-r3}
	sub	r1, fp, #76
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r2, r0
	ldr	r3, [fp, #20]
	add	r3, r2, r3
	add	r3, r3, #1
	str	r3, [fp, #-88]
	add	r3, fp, #28
	ldmia	r3, {r2-r3}
	sub	r1, fp, #76
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_i2d
	add	r3, fp, #28
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #76
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-68]
	str	r3, [fp, #-64]
	ldr	r3, [fp, #-88]
	cmp	r3, #0
	bge	.L171
	ldr	r2, [fp, #-88]
	ldr	r3, [fp, #24]
	add	r3, r2, r3
	ldr	r2, [fp, #36]
	cmp	r2, r3
	ble	.L171
	mov	r3, #0
	str	r3, [fp, #-104]
	b	.L172
.L173:
	ldr	r3, [fp, #-108]
	ldr	r2, [fp, #36]
	mul	r3, r2, r3
	lsl	r3, r3, #4
	ldr	r2, [fp, #-112]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-108]
	ldr	r2, [fp, #36]
	mul	r3, r2, r3
	lsl	r3, r3, #4
	ldr	r2, [fp, #-112]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r3, [fp, #-108]
	ldr	r2, [fp, #36]
	mul	r3, r2, r3
	lsl	r3, r3, #4
	ldr	r2, [fp, #-112]
	add	r3, r2, r3
	add	r1, r3, #8
	ldmia	r1, {r0-r1}
	ldr	r3, [fp, #-108]
	ldr	r2, [fp, #36]
	mul	r3, r2, r3
	lsl	r3, r3, #4
	ldr	r2, [fp, #-112]
	add	r3, r2, r3
	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	r0, r2
	mov	r1, r3
	bl	sqrt
	str	r0, [fp, #-44]
	str	r1, [fp, #-40]
	ldr	r3, [fp, #-108]
	ldr	r2, [fp, #36]
	mul	r3, r2, r3
	lsl	r3, r3, #4
	ldr	r2, [fp, #-112]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-108]
	ldr	r2, [fp, #36]
	mul	r3, r2, r3
	lsl	r3, r3, #3
	ldr	r2, [fp, #-120]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-104]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-100]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-104]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-100]
	add	r4, r2, r3
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	stm	r4, {r2-r3}
	ldr	r3, [fp, #-104]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-96]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-104]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-96]
	add	r4, r2, r3
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	stm	r4, {r2-r3}
	ldr	r3, [fp, #-104]
	add	r3, r3, #1
	str	r3, [fp, #-104]
.L172:
	ldr	r3, [fp, #-88]
	rsb	r3, r3, #0
	ldr	r2, [fp, #-104]
	cmp	r2, r3
	blt	.L173
	ldr	r3, [fp, #-88]
	rsb	r3, r3, #0
	str	r3, [fp, #-104]
	b	.L174
.L175:
	ldr	r3, [fp, #-108]
	ldr	r2, [fp, #36]
	mul	r2, r3, r2
	ldr	r1, [fp, #-88]
	ldr	r3, [fp, #-104]
	add	r3, r1, r3
	add	r3, r2, r3
	lsl	r3, r3, #4
	ldr	r2, [fp, #-112]
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	add	r3, fp, #28
	ldmia	r3, {r2-r3}
	sub	r1, fp, #68
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	ldr	r3, [fp, #-108]
	ldr	r2, [fp, #36]
	mul	r2, r3, r2
	ldr	r1, [fp, #-88]
	ldr	r3, [fp, #-104]
	add	r3, r1, r3
	add	r3, r3, #1
	add	r3, r2, r3
	lsl	r3, r3, #4
	ldr	r2, [fp, #-112]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-108]
	ldr	r2, [fp, #36]
	mul	r2, r3, r2
	ldr	ip, [fp, #-88]
	ldr	r3, [fp, #-104]
	add	r3, ip, r3
	add	r3, r2, r3
	lsl	r3, r3, #4
	ldr	r2, [fp, #-112]
	add	r3, r2, r3
	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
	str	r2, [fp, #-60]
	str	r3, [fp, #-56]
	ldr	r3, [fp, #-108]
	ldr	r2, [fp, #36]
	mul	r2, r3, r2
	ldr	r1, [fp, #-88]
	ldr	r3, [fp, #-104]
	add	r3, r1, r3
	add	r3, r2, r3
	lsl	r3, r3, #4
	ldr	r2, [fp, #-112]
	add	r3, r2, r3
	add	r5, r3, #8
	ldmia	r5, {r4-r5}
	add	r3, fp, #28
	ldmia	r3, {r2-r3}
	sub	r1, fp, #68
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	ldr	r3, [fp, #-108]
	ldr	r2, [fp, #36]
	mul	r2, r3, r2
	ldr	r1, [fp, #-88]
	ldr	r3, [fp, #-104]
	add	r3, r1, r3
	add	r3, r3, #1
	add	r3, r2, r3
	lsl	r3, r3, #4
	ldr	r2, [fp, #-112]
	add	r3, r2, r3
	add	r1, r3, #8
	ldmia	r1, {r0-r1}
	ldr	r3, [fp, #-108]
	ldr	r2, [fp, #36]
	mul	r2, r3, r2
	ldr	ip, [fp, #-88]
	ldr	r3, [fp, #-104]
	add	r3, ip, r3
	add	r3, r2, r3
	lsl	r3, r3, #4
	ldr	r2, [fp, #-112]
	add	r3, r2, r3
	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
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
	sub	r3, fp, #60
	ldmia	r3, {r2-r3}
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	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
	str	r0, [fp, #-44]
	str	r1, [fp, #-40]
	ldr	r3, [fp, #-104]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-100]
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, [fp, #-104]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-100]
	add	r6, r2, r3
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	stm	r6, {r2-r3}
	ldr	r3, [fp, #-104]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-96]
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, [fp, #-104]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-96]
	add	r6, r2, r3
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	stm	r6, {r2-r3}
	ldr	r3, [fp, #-104]
	add	r3, r3, #1
	str	r3, [fp, #-104]
.L174:
	ldr	r2, [fp, #-104]
	ldr	r3, [fp, #24]
	cmp	r2, r3
	blt	.L175
	b	.L176
.L171:
	ldr	r3, [fp, #-88]
	cmp	r3, #0
	blt	.L177
	ldr	r2, [fp, #-88]
	ldr	r3, [fp, #24]
	add	r3, r2, r3
	ldr	r2, [fp, #36]
	cmp	r2, r3
	bgt	.L177
	ldr	r3, .L196+40
	ldr	r3, [r3]
	ldr	r2, [fp, #-108]
	ldr	r1, .L196+12
	mov	r0, r3
	bl	fprintf
	ldr	r3, .L196+40
	ldr	r0, [r3]
	ldr	r2, [fp, #-88]
	ldr	r3, [fp, #24]
	add	r2, r2, r3
	ldr	r3, [fp, #36]
	sub	r3, r2, r3
	mov	r2, r3
	ldr	r1, .L196+20
	bl	fprintf
	mov	r3, #0
	str	r3, [fp, #-104]
	b	.L178
.L179:
	ldr	r3, [fp, #-108]
	ldr	r2, [fp, #36]
	mul	r2, r3, r2
	ldr	r1, [fp, #-88]
	ldr	r3, [fp, #-104]
	add	r3, r1, r3
	add	r3, r2, r3
	lsl	r3, r3, #4
	ldr	r2, [fp, #-112]
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	add	r3, fp, #28
	ldmia	r3, {r2-r3}
	sub	r1, fp, #68
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	ldr	r3, [fp, #-108]
	ldr	r2, [fp, #36]
	mul	r2, r3, r2
	ldr	r1, [fp, #-88]
	ldr	r3, [fp, #-104]
	add	r3, r1, r3
	add	r3, r3, #1
	add	r3, r2, r3
	lsl	r3, r3, #4
	ldr	r2, [fp, #-112]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-108]
	ldr	r2, [fp, #36]
	mul	r2, r3, r2
	ldr	ip, [fp, #-88]
	ldr	r3, [fp, #-104]
	add	r3, ip, r3
	add	r3, r2, r3
	lsl	r3, r3, #4
	ldr	r2, [fp, #-112]
	add	r3, r2, r3
	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
	str	r2, [fp, #-60]
	str	r3, [fp, #-56]
	ldr	r3, [fp, #-108]
	ldr	r2, [fp, #36]
	mul	r2, r3, r2
	ldr	r1, [fp, #-88]
	ldr	r3, [fp, #-104]
	add	r3, r1, r3
	add	r3, r2, r3
	lsl	r3, r3, #4
	ldr	r2, [fp, #-112]
	add	r3, r2, r3
	add	r5, r3, #8
	ldmia	r5, {r4-r5}
	add	r3, fp, #28
	ldmia	r3, {r2-r3}
	sub	r1, fp, #68
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	ldr	r3, [fp, #-108]
	ldr	r2, [fp, #36]
	mul	r2, r3, r2
	ldr	r1, [fp, #-88]
	ldr	r3, [fp, #-104]
	add	r3, r1, r3
	add	r3, r3, #1
	add	r3, r2, r3
	lsl	r3, r3, #4
	ldr	r2, [fp, #-112]
	add	r3, r2, r3
	add	r1, r3, #8
	ldmia	r1, {r0-r1}
	ldr	r3, [fp, #-108]
	ldr	r2, [fp, #36]
	mul	r2, r3, r2
	ldr	ip, [fp, #-88]
	ldr	r3, [fp, #-104]
	add	r3, ip, r3
	add	r3, r2, r3
	lsl	r3, r3, #4
	ldr	r2, [fp, #-112]
	add	r3, r2, r3
	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
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
	sub	r3, fp, #60
	ldmia	r3, {r2-r3}
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	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
	str	r0, [fp, #-44]
	str	r1, [fp, #-40]
	ldr	r3, [fp, #-104]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-100]
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, [fp, #-104]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-100]
	add	r6, r2, r3
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	stm	r6, {r2-r3}
	ldr	r3, [fp, #-104]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-96]
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, [fp, #-104]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-96]
	add	r6, r2, r3
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	stm	r6, {r2-r3}
	ldr	r3, [fp, #-104]
	add	r3, r3, #1
	str	r3, [fp, #-104]
.L178:
	ldr	r2, [fp, #36]
	ldr	r3, [fp, #-88]
	sub	r3, r2, r3
	sub	r3, r3, #1
	ldr	r2, [fp, #-104]
	cmp	r2, r3
	blt	.L179
	ldr	r2, [fp, #36]
	ldr	r3, [fp, #-88]
	sub	r3, r2, r3
	sub	r3, r3, #1
	str	r3, [fp, #-104]
	b	.L180
.L181:
	ldr	r3, [fp, #-108]
	ldr	r2, [fp, #36]
	mul	r2, r3, r2
	ldr	r3, [fp, #36]
	sub	r3, r3, #1
	add	r3, r2, r3
	lsl	r3, r3, #4
	ldr	r2, [fp, #-112]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-108]
	ldr	r2, [fp, #36]
	mul	r2, r3, r2
	ldr	r3, [fp, #36]
	sub	r3, r3, #1
	add	r3, r2, r3
	lsl	r3, r3, #4
	ldr	r2, [fp, #-112]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r3, [fp, #-108]
	ldr	r2, [fp, #36]
	mul	r2, r3, r2
	ldr	r3, [fp, #36]
	sub	r3, r3, #1
	add	r3, r2, r3
	lsl	r3, r3, #4
	ldr	r2, [fp, #-112]
	add	r3, r2, r3
	add	r1, r3, #8
	ldmia	r1, {r0-r1}
	ldr	r3, [fp, #-108]
	ldr	r2, [fp, #36]
	mul	r2, r3, r2
	ldr	r3, [fp, #36]
	sub	r3, r3, #1
	add	r3, r2, r3
	lsl	r3, r3, #4
	ldr	r2, [fp, #-112]
	add	r3, r2, r3
	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	r0, r2
	mov	r1, r3
	bl	sqrt
	str	r0, [fp, #-44]
	str	r1, [fp, #-40]
	ldr	r3, [fp, #-108]
	ldr	r2, [fp, #36]
	mul	r2, r3, r2
	ldr	r3, [fp, #36]
	sub	r3, r3, #1
	add	r3, r2, r3
	lsl	r3, r3, #4
	ldr	r2, [fp, #-112]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-108]
	ldr	r2, [fp, #36]
	mul	r2, r3, r2
	ldr	r3, [fp, #36]
	sub	r3, r3, #1
	add	r3, r2, r3
	lsl	r3, r3, #3
	ldr	r2, [fp, #-120]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-104]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-100]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-104]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-100]
	add	r4, r2, r3
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	stm	r4, {r2-r3}
	ldr	r3, [fp, #-104]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-96]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-104]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-96]
	add	r4, r2, r3
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	stm	r4, {r2-r3}
	ldr	r3, [fp, #-104]
	add	r3, r3, #1
	str	r3, [fp, #-104]
.L180:
	ldr	r2, [fp, #-104]
	ldr	r3, [fp, #24]
	cmp	r2, r3
	blt	.L181
	b	.L176
.L177:
	ldr	r3, [fp, #-88]
	cmp	r3, #0
	blt	.L182
	ldr	r2, [fp, #-88]
	ldr	r3, [fp, #24]
	add	r3, r2, r3
	ldr	r2, [fp, #36]
	cmp	r2, r3
	ble	.L182
	mov	r3, #0
	str	r3, [fp, #-104]
	b	.L183
.L197:
	.align	2
.L196:
	.word	.LC11
	.word	.LC9
	.word	1072693248
	.word	.LC12
	.word	.LC13
	.word	.LC7
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	stderr
	.word	.LC18
.L184:
	ldr	r3, [fp, #-108]
	ldr	r2, [fp, #36]
	mul	r2, r3, r2
	ldr	r1, [fp, #-88]
	ldr	r3, [fp, #-104]
	add	r3, r1, r3
	add	r3, r2, r3
	lsl	r3, r3, #4
	ldr	r2, [fp, #-112]
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	add	r3, fp, #28
	ldmia	r3, {r2-r3}
	sub	r1, fp, #68
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	ldr	r3, [fp, #-108]
	ldr	r2, [fp, #36]
	mul	r2, r3, r2
	ldr	r1, [fp, #-88]
	ldr	r3, [fp, #-104]
	add	r3, r1, r3
	add	r3, r3, #1
	add	r3, r2, r3
	lsl	r3, r3, #4
	ldr	r2, [fp, #-112]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-108]
	ldr	r2, [fp, #36]
	mul	r2, r3, r2
	ldr	ip, [fp, #-88]
	ldr	r3, [fp, #-104]
	add	r3, ip, r3
	add	r3, r2, r3
	lsl	r3, r3, #4
	ldr	r2, [fp, #-112]
	add	r3, r2, r3
	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
	str	r2, [fp, #-60]
	str	r3, [fp, #-56]
	ldr	r3, [fp, #-108]
	ldr	r2, [fp, #36]
	mul	r2, r3, r2
	ldr	r1, [fp, #-88]
	ldr	r3, [fp, #-104]
	add	r3, r1, r3
	add	r3, r2, r3
	lsl	r3, r3, #4
	ldr	r2, [fp, #-112]
	add	r3, r2, r3
	add	r5, r3, #8
	ldmia	r5, {r4-r5}
	add	r3, fp, #28
	ldmia	r3, {r2-r3}
	sub	r1, fp, #68
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	ldr	r3, [fp, #-108]
	ldr	r2, [fp, #36]
	mul	r2, r3, r2
	ldr	r1, [fp, #-88]
	ldr	r3, [fp, #-104]
	add	r3, r1, r3
	add	r3, r3, #1
	add	r3, r2, r3
	lsl	r3, r3, #4
	ldr	r2, [fp, #-112]
	add	r3, r2, r3
	add	r1, r3, #8
	ldmia	r1, {r0-r1}
	ldr	r3, [fp, #-108]
	ldr	r2, [fp, #36]
	mul	r2, r3, r2
	ldr	ip, [fp, #-88]
	ldr	r3, [fp, #-104]
	add	r3, ip, r3
	add	r3, r2, r3
	lsl	r3, r3, #4
	ldr	r2, [fp, #-112]
	add	r3, r2, r3
	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
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
	sub	r3, fp, #60
	ldmia	r3, {r2-r3}
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	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
	str	r0, [fp, #-44]
	str	r1, [fp, #-40]
	ldr	r3, [fp, #-104]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-100]
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, [fp, #-104]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-100]
	add	r6, r2, r3
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	stm	r6, {r2-r3}
	ldr	r3, [fp, #-104]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-96]
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, [fp, #-104]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-96]
	add	r6, r2, r3
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	stm	r6, {r2-r3}
	ldr	r3, [fp, #-104]
	add	r3, r3, #1
	str	r3, [fp, #-104]
.L183:
	ldr	r2, [fp, #-104]
	ldr	r3, [fp, #24]
	cmp	r2, r3
	blt	.L184
	b	.L176
.L182:
	ldr	r3, [fp, #-88]
	cmp	r3, #0
	bge	.L176
	ldr	r2, [fp, #-88]
	ldr	r3, [fp, #24]
	add	r3, r2, r3
	ldr	r2, [fp, #36]
	cmp	r2, r3
	bgt	.L176
	ldr	r3, .L196+40
	ldr	r3, [r3]
	ldr	r2, [fp, #-108]
	ldr	r1, .L196+16
	mov	r0, r3
	bl	fprintf
	ldr	r3, .L196+40
	ldr	r0, [r3]
	ldr	r3, [fp, #-88]
	rsb	r3, r3, #0
	mov	r2, r3
	ldr	r1, .L196+20
	bl	fprintf
	ldr	r3, .L196+40
	ldr	r0, [r3]
	ldr	r2, [fp, #-88]
	ldr	r3, [fp, #24]
	add	r2, r2, r3
	ldr	r3, [fp, #36]
	sub	r3, r2, r3
	mov	r2, r3
	ldr	r1, .L196+20
	bl	fprintf
	mov	r3, #0
	str	r3, [fp, #-104]
	b	.L185
.L186:
	ldr	r3, [fp, #-108]
	ldr	r2, [fp, #36]
	mul	r3, r2, r3
	lsl	r3, r3, #4
	ldr	r2, [fp, #-112]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-108]
	ldr	r2, [fp, #36]
	mul	r3, r2, r3
	lsl	r3, r3, #4
	ldr	r2, [fp, #-112]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r3, [fp, #-108]
	ldr	r2, [fp, #36]
	mul	r3, r2, r3
	lsl	r3, r3, #4
	ldr	r2, [fp, #-112]
	add	r3, r2, r3
	add	r1, r3, #8
	ldmia	r1, {r0-r1}
	ldr	r3, [fp, #-108]
	ldr	r2, [fp, #36]
	mul	r3, r2, r3
	lsl	r3, r3, #4
	ldr	r2, [fp, #-112]
	add	r3, r2, r3
	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	r0, r2
	mov	r1, r3
	bl	sqrt
	str	r0, [fp, #-44]
	str	r1, [fp, #-40]
	ldr	r3, [fp, #-104]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-100]
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	ldr	r3, [fp, #-108]
	ldr	r2, [fp, #36]
	mul	r3, r2, r3
	lsl	r3, r3, #4
	ldr	r2, [fp, #-112]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, [fp, #-104]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-100]
	add	r6, r2, r3
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	stm	r6, {r2-r3}
	ldr	r3, [fp, #-104]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-96]
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	ldr	r3, [fp, #-108]
	ldr	r2, [fp, #36]
	mul	r3, r2, r3
	lsl	r3, r3, #4
	ldr	r2, [fp, #-112]
	add	r3, r2, r3
	add	r1, r3, #8
	ldmia	r1, {r0-r1}
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, [fp, #-104]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-96]
	add	r6, r2, r3
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	stm	r6, {r2-r3}
	ldr	r3, [fp, #-104]
	add	r3, r3, #1
	str	r3, [fp, #-104]
.L185:
	ldr	r3, [fp, #-88]
	rsb	r3, r3, #0
	ldr	r2, [fp, #-104]
	cmp	r2, r3
	blt	.L186
	ldr	r3, [fp, #-88]
	rsb	r3, r3, #0
	str	r3, [fp, #-104]
	b	.L187
.L188:
	ldr	r3, [fp, #-108]
	ldr	r2, [fp, #36]
	mul	r2, r3, r2
	ldr	r1, [fp, #-88]
	ldr	r3, [fp, #-104]
	add	r3, r1, r3
	add	r3, r2, r3
	lsl	r3, r3, #4
	ldr	r2, [fp, #-112]
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	add	r3, fp, #28
	ldmia	r3, {r2-r3}
	sub	r1, fp, #68
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	ldr	r3, [fp, #-108]
	ldr	r2, [fp, #36]
	mul	r2, r3, r2
	ldr	r1, [fp, #-88]
	ldr	r3, [fp, #-104]
	add	r3, r1, r3
	add	r3, r3, #1
	add	r3, r2, r3
	lsl	r3, r3, #4
	ldr	r2, [fp, #-112]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-108]
	ldr	r2, [fp, #36]
	mul	r2, r3, r2
	ldr	ip, [fp, #-88]
	ldr	r3, [fp, #-104]
	add	r3, ip, r3
	add	r3, r2, r3
	lsl	r3, r3, #4
	ldr	r2, [fp, #-112]
	add	r3, r2, r3
	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
	str	r2, [fp, #-60]
	str	r3, [fp, #-56]
	ldr	r3, [fp, #-108]
	ldr	r2, [fp, #36]
	mul	r2, r3, r2
	ldr	r1, [fp, #-88]
	ldr	r3, [fp, #-104]
	add	r3, r1, r3
	add	r3, r2, r3
	lsl	r3, r3, #4
	ldr	r2, [fp, #-112]
	add	r3, r2, r3
	add	r5, r3, #8
	ldmia	r5, {r4-r5}
	add	r3, fp, #28
	ldmia	r3, {r2-r3}
	sub	r1, fp, #68
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	ldr	r3, [fp, #-108]
	ldr	r2, [fp, #36]
	mul	r2, r3, r2
	ldr	r1, [fp, #-88]
	ldr	r3, [fp, #-104]
	add	r3, r1, r3
	add	r3, r3, #1
	add	r3, r2, r3
	lsl	r3, r3, #4
	ldr	r2, [fp, #-112]
	add	r3, r2, r3
	add	r1, r3, #8
	ldmia	r1, {r0-r1}
	ldr	r3, [fp, #-108]
	ldr	r2, [fp, #36]
	mul	r2, r3, r2
	ldr	ip, [fp, #-88]
	ldr	r3, [fp, #-104]
	add	r3, ip, r3
	add	r3, r2, r3
	lsl	r3, r3, #4
	ldr	r2, [fp, #-112]
	add	r3, r2, r3
	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
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
	sub	r3, fp, #60
	ldmia	r3, {r2-r3}
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	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
	str	r0, [fp, #-44]
	str	r1, [fp, #-40]
	ldr	r3, [fp, #-104]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-100]
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, [fp, #-104]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-100]
	add	r6, r2, r3
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	stm	r6, {r2-r3}
	ldr	r3, [fp, #-104]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-96]
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, [fp, #-104]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-96]
	add	r6, r2, r3
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	stm	r6, {r2-r3}
	ldr	r3, [fp, #-104]
	add	r3, r3, #1
	str	r3, [fp, #-104]
.L187:
	ldr	r2, [fp, #36]
	ldr	r3, [fp, #-88]
	sub	r3, r2, r3
	sub	r3, r3, #1
	ldr	r2, [fp, #-104]
	cmp	r2, r3
	blt	.L188
	ldr	r2, [fp, #36]
	ldr	r3, [fp, #-88]
	sub	r3, r2, r3
	sub	r3, r3, #1
	str	r3, [fp, #-104]
	b	.L189
.L190:
	ldr	r3, [fp, #-108]
	ldr	r2, [fp, #36]
	mul	r2, r3, r2
	ldr	r3, [fp, #36]
	sub	r3, r3, #1
	add	r3, r2, r3
	lsl	r3, r3, #4
	ldr	r2, [fp, #-112]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-108]
	ldr	r2, [fp, #36]
	mul	r2, r3, r2
	ldr	r3, [fp, #36]
	sub	r3, r3, #1
	add	r3, r2, r3
	lsl	r3, r3, #4
	ldr	r2, [fp, #-112]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r3, [fp, #-108]
	ldr	r2, [fp, #36]
	mul	r2, r3, r2
	ldr	r3, [fp, #36]
	sub	r3, r3, #1
	add	r3, r2, r3
	lsl	r3, r3, #4
	ldr	r2, [fp, #-112]
	add	r3, r2, r3
	add	r1, r3, #8
	ldmia	r1, {r0-r1}
	ldr	r3, [fp, #-108]
	ldr	r2, [fp, #36]
	mul	r2, r3, r2
	ldr	r3, [fp, #36]
	sub	r3, r3, #1
	add	r3, r2, r3
	lsl	r3, r3, #4
	ldr	r2, [fp, #-112]
	add	r3, r2, r3
	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	r0, r2
	mov	r1, r3
	bl	sqrt
	str	r0, [fp, #-44]
	str	r1, [fp, #-40]
	ldr	r3, [fp, #-104]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-100]
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	ldr	r3, [fp, #-108]
	ldr	r2, [fp, #36]
	mul	r2, r3, r2
	ldr	r3, [fp, #36]
	sub	r3, r3, #1
	add	r3, r2, r3
	lsl	r3, r3, #4
	ldr	r2, [fp, #-112]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, [fp, #-104]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-100]
	add	r6, r2, r3
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	stm	r6, {r2-r3}
	ldr	r3, [fp, #-104]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-96]
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	ldr	r3, [fp, #-108]
	ldr	r2, [fp, #36]
	mul	r2, r3, r2
	ldr	r3, [fp, #36]
	sub	r3, r3, #1
	add	r3, r2, r3
	lsl	r3, r3, #4
	ldr	r2, [fp, #-112]
	add	r3, r2, r3
	add	r1, r3, #8
	ldmia	r1, {r0-r1}
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, [fp, #-104]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-96]
	add	r6, r2, r3
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	stm	r6, {r2-r3}
	ldr	r3, [fp, #-104]
	add	r3, r3, #1
	str	r3, [fp, #-104]
.L189:
	ldr	r2, [fp, #-104]
	ldr	r3, [fp, #24]
	cmp	r2, r3
	blt	.L190
.L176:
	ldr	r3, [fp, #-108]
	add	r3, r3, #1
	str	r3, [fp, #-108]
.L170:
	ldr	r2, [fp, #-108]
	ldr	r3, [fp, #16]
	cmp	r2, r3
	blt	.L191
	mov	r3, #0
	str	r3, [fp, #-108]
	b	.L192
.L193:
	ldr	r3, [fp, #-108]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-100]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-108]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-100]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r3, [fp, #-108]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-96]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-108]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-96]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	sqrt
	mov	r4, r0
	mov	r5, r1
	ldr	r0, [fp, #16]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	ldr	r1, [fp, #-108]
	lsl	r1, r1, #3
	ldr	r0, [fp, #-92]
	add	r6, r0, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	stm	r6, {r2-r3}
	ldr	r3, [fp, #-108]
	add	r3, r3, #1
	str	r3, [fp, #-108]
.L192:
	ldr	r2, [fp, #-108]
	ldr	r3, [fp, #24]
	cmp	r2, r3
	blt	.L193
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-84]
	str	r3, [fp, #-80]
	mov	r3, #0
	str	r3, [fp, #-108]
	b	.L194
.L195:
	ldr	r3, [fp, #-108]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-92]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	sub	r1, fp, #84
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-84]
	str	r3, [fp, #-80]
	ldr	r3, [fp, #-108]
	add	r3, r3, #1
	str	r3, [fp, #-108]
.L194:
	ldr	r2, [fp, #-108]
	ldr	r3, [fp, #24]
	cmp	r2, r3
	blt	.L195
	ldr	r0, [fp, #24]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #84
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-84]
	str	r3, [fp, #-80]
	ldr	r3, .L196+40
	ldr	r0, [r3]
	sub	r3, fp, #84
	ldmia	r3, {r2-r3}
	ldr	r1, .L196+24
	bl	fprintf
	ldr	r3, .L196+40
	ldr	r3, [r3]
	mov	r2, #15
	mov	r1, #1
	ldr	r0, .L196+28
	bl	fwrite
	ldr	r0, [fp, #-100]
	bl	free
	mov	r3, #0
	str	r3, [fp, #-100]
	ldr	r3, .L196+40
	ldr	r3, [r3]
	mov	r2, #11
	mov	r1, #1
	ldr	r0, .L196+32
	bl	fwrite
	ldr	r0, [fp, #-96]
	bl	free
	mov	r3, #0
	str	r3, [fp, #-96]
	ldr	r3, .L196+40
	ldr	r3, [r3]
	mov	r2, #12
	mov	r1, #1
	ldr	r0, .L196+36
	bl	fwrite
	ldr	r0, [fp, #-92]
	bl	free
	mov	r3, #0
	str	r3, [fp, #-92]
	ldr	r3, .L196+40
	ldr	r3, [r3]
	mov	r2, #10
	mov	r1, #1
	ldr	r0, .L196+44
	bl	fwrite
	sub	r3, fp, #84
	ldmia	r3, {r2-r3}
.L165:
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
	.size	get_coherence, .-get_coherence
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
