	.file	"23634.c"
	.intel_syntax noprefix
	.text
	.globl	find_pivot
	.type	find_pivot, @function
find_pivot:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -152[rbp], rdi
	mov	QWORD PTR -160[rbp], rsi
	mov	QWORD PTR -168[rbp], rdx
	mov	rcx, QWORD PTR -152[rbp]
	mov	rax, QWORD PTR [rcx]
	mov	rdx, QWORD PTR 8[rcx]
	mov	QWORD PTR -128[rbp], rax
	mov	QWORD PTR -120[rbp], rdx
	mov	rax, QWORD PTR 16[rcx]
	mov	rdx, QWORD PTR 24[rcx]
	mov	QWORD PTR -112[rbp], rax
	mov	QWORD PTR -104[rbp], rdx
	mov	rax, QWORD PTR -160[rbp]
	sub	rax, QWORD PTR -152[rbp]
	sar	rax, 5
	mov	rdx, rax
	shr	rdx, 63
	add	rax, rdx
	sar	rax
	sal	rax, 5
	mov	rdx, rax
	mov	rax, QWORD PTR -152[rbp]
	lea	rcx, [rdx+rax]
	mov	rax, QWORD PTR [rcx]
	mov	rdx, QWORD PTR 8[rcx]
	mov	QWORD PTR -96[rbp], rax
	mov	QWORD PTR -88[rbp], rdx
	mov	rax, QWORD PTR 16[rcx]
	mov	rdx, QWORD PTR 24[rcx]
	mov	QWORD PTR -80[rbp], rax
	mov	QWORD PTR -72[rbp], rdx
	mov	rcx, QWORD PTR -160[rbp]
	mov	rax, QWORD PTR [rcx]
	mov	rdx, QWORD PTR 8[rcx]
	mov	QWORD PTR -64[rbp], rax
	mov	QWORD PTR -56[rbp], rdx
	mov	rax, QWORD PTR 16[rcx]
	mov	rdx, QWORD PTR 24[rcx]
	mov	QWORD PTR -48[rbp], rax
	mov	QWORD PTR -40[rbp], rdx
	movsd	xmm0, QWORD PTR -128[rbp]
	movsd	xmm1, QWORD PTR -96[rbp]
	comisd	xmm0, xmm1
	jbe	.L2
	mov	rax, QWORD PTR -128[rbp]
	mov	rdx, QWORD PTR -120[rbp]
	mov	QWORD PTR -32[rbp], rax
	mov	QWORD PTR -24[rbp], rdx
	mov	rax, QWORD PTR -112[rbp]
	mov	rdx, QWORD PTR -104[rbp]
	mov	QWORD PTR -16[rbp], rax
	mov	QWORD PTR -8[rbp], rdx
	mov	rax, QWORD PTR -96[rbp]
	mov	rdx, QWORD PTR -88[rbp]
	mov	QWORD PTR -128[rbp], rax
	mov	QWORD PTR -120[rbp], rdx
	mov	rax, QWORD PTR -80[rbp]
	mov	rdx, QWORD PTR -72[rbp]
	mov	QWORD PTR -112[rbp], rax
	mov	QWORD PTR -104[rbp], rdx
	mov	rax, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR -24[rbp]
	mov	QWORD PTR -96[rbp], rax
	mov	QWORD PTR -88[rbp], rdx
	mov	rax, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR -80[rbp], rax
	mov	QWORD PTR -72[rbp], rdx
.L2:
	movsd	xmm0, QWORD PTR -128[rbp]
	movsd	xmm1, QWORD PTR -64[rbp]
	comisd	xmm0, xmm1
	jbe	.L4
	mov	rax, QWORD PTR -128[rbp]
	mov	rdx, QWORD PTR -120[rbp]
	mov	QWORD PTR -32[rbp], rax
	mov	QWORD PTR -24[rbp], rdx
	mov	rax, QWORD PTR -112[rbp]
	mov	rdx, QWORD PTR -104[rbp]
	mov	QWORD PTR -16[rbp], rax
	mov	QWORD PTR -8[rbp], rdx
	mov	rax, QWORD PTR -64[rbp]
	mov	rdx, QWORD PTR -56[rbp]
	mov	QWORD PTR -128[rbp], rax
	mov	QWORD PTR -120[rbp], rdx
	mov	rax, QWORD PTR -48[rbp]
	mov	rdx, QWORD PTR -40[rbp]
	mov	QWORD PTR -112[rbp], rax
	mov	QWORD PTR -104[rbp], rdx
	mov	rax, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR -24[rbp]
	mov	QWORD PTR -64[rbp], rax
	mov	QWORD PTR -56[rbp], rdx
	mov	rax, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR -48[rbp], rax
	mov	QWORD PTR -40[rbp], rdx
.L4:
	movsd	xmm0, QWORD PTR -96[rbp]
	movsd	xmm1, QWORD PTR -64[rbp]
	comisd	xmm0, xmm1
	jbe	.L6
	mov	rax, QWORD PTR -96[rbp]
	mov	rdx, QWORD PTR -88[rbp]
	mov	QWORD PTR -32[rbp], rax
	mov	QWORD PTR -24[rbp], rdx
	mov	rax, QWORD PTR -80[rbp]
	mov	rdx, QWORD PTR -72[rbp]
	mov	QWORD PTR -16[rbp], rax
	mov	QWORD PTR -8[rbp], rdx
	mov	rax, QWORD PTR -64[rbp]
	mov	rdx, QWORD PTR -56[rbp]
	mov	QWORD PTR -96[rbp], rax
	mov	QWORD PTR -88[rbp], rdx
	mov	rax, QWORD PTR -48[rbp]
	mov	rdx, QWORD PTR -40[rbp]
	mov	QWORD PTR -80[rbp], rax
	mov	QWORD PTR -72[rbp], rdx
	mov	rax, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR -24[rbp]
	mov	QWORD PTR -64[rbp], rax
	mov	QWORD PTR -56[rbp], rdx
	mov	rax, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR -48[rbp], rax
	mov	QWORD PTR -40[rbp], rdx
.L6:
	movsd	xmm1, QWORD PTR -128[rbp]
	movsd	xmm0, QWORD PTR -96[rbp]
	comisd	xmm0, xmm1
	jbe	.L28
	movsd	xmm0, QWORD PTR -96[rbp]
	mov	rax, QWORD PTR -168[rbp]
	movsd	QWORD PTR [rax], xmm0
	mov	eax, 0
	jmp	.L20
.L28:
	movsd	xmm1, QWORD PTR -96[rbp]
	movsd	xmm0, QWORD PTR -64[rbp]
	comisd	xmm0, xmm1
	jbe	.L29
	movsd	xmm0, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR -168[rbp]
	movsd	QWORD PTR [rax], xmm0
	mov	eax, 0
	jmp	.L20
.L29:
	mov	rax, QWORD PTR -152[rbp]
	add	rax, 32
	mov	QWORD PTR -136[rbp], rax
	jmp	.L13
.L19:
	mov	rax, QWORD PTR -136[rbp]
	movsd	xmm0, QWORD PTR [rax]
	mov	rax, QWORD PTR -152[rbp]
	movsd	xmm1, QWORD PTR [rax]
	ucomisd	xmm0, xmm1
	jp	.L26
	comisd	xmm0, xmm1
	je	.L30
.L26:
	mov	rax, QWORD PTR -136[rbp]
	movsd	xmm1, QWORD PTR [rax]
	mov	rax, QWORD PTR -152[rbp]
	movsd	xmm0, QWORD PTR [rax]
	comisd	xmm0, xmm1
	jbe	.L31
	mov	rax, QWORD PTR -152[rbp]
	movsd	xmm0, QWORD PTR [rax]
	jmp	.L18
.L31:
	mov	rax, QWORD PTR -136[rbp]
	movsd	xmm0, QWORD PTR [rax]
.L18:
	mov	rax, QWORD PTR -168[rbp]
	movsd	QWORD PTR [rax], xmm0
	mov	eax, 0
	jmp	.L20
.L30:
	add	QWORD PTR -136[rbp], 32
.L13:
	mov	rax, QWORD PTR -136[rbp]
	cmp	rax, QWORD PTR -160[rbp]
	jbe	.L19
	mov	eax, 1
.L20:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	find_pivot, .-find_pivot
	.globl	partition
	.type	partition, @function
partition:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	movsd	QWORD PTR -56[rbp], xmm0
	jmp	.L33
.L35:
	add	QWORD PTR -40[rbp], 32
.L34:
	mov	rax, QWORD PTR -40[rbp]
	movsd	xmm1, QWORD PTR [rax]
	movsd	xmm0, QWORD PTR -56[rbp]
	comisd	xmm0, xmm1
	ja	.L35
	jmp	.L36
.L37:
	sub	QWORD PTR -48[rbp], 32
.L36:
	mov	rax, QWORD PTR -48[rbp]
	movsd	xmm0, QWORD PTR [rax]
	comisd	xmm0, QWORD PTR -56[rbp]
	jnb	.L37
	mov	rax, QWORD PTR -40[rbp]
	cmp	rax, QWORD PTR -48[rbp]
	jnb	.L33
	mov	rcx, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR [rcx]
	mov	rdx, QWORD PTR 8[rcx]
	mov	QWORD PTR -32[rbp], rax
	mov	QWORD PTR -24[rbp], rdx
	mov	rax, QWORD PTR 16[rcx]
	mov	rdx, QWORD PTR 24[rcx]
	mov	QWORD PTR -16[rbp], rax
	mov	QWORD PTR -8[rbp], rdx
	mov	rcx, QWORD PTR -40[rbp]
	mov	rsi, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR [rsi]
	mov	rdx, QWORD PTR 8[rsi]
	mov	QWORD PTR [rcx], rax
	mov	QWORD PTR 8[rcx], rdx
	mov	rax, QWORD PTR 16[rsi]
	mov	rdx, QWORD PTR 24[rsi]
	mov	QWORD PTR 16[rcx], rax
	mov	QWORD PTR 24[rcx], rdx
	mov	rcx, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR -24[rbp]
	mov	QWORD PTR [rcx], rax
	mov	QWORD PTR 8[rcx], rdx
	mov	rax, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR 16[rcx], rax
	mov	QWORD PTR 24[rcx], rdx
	add	QWORD PTR -40[rbp], 32
	sub	QWORD PTR -48[rbp], 32
.L33:
	mov	rax, QWORD PTR -40[rbp]
	cmp	rax, QWORD PTR -48[rbp]
	jbe	.L34
	mov	rax, QWORD PTR -40[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	partition, .-partition
	.globl	quicker_sort
	.type	quicker_sort, @function
quicker_sort:
.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, 48
	mov	QWORD PTR -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdx, -24[rbp]
	mov	rcx, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	find_pivot
	test	eax, eax
	jne	.L43
	mov	rcx, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR -40[rbp]
	movq	xmm0, rcx
	mov	rsi, rdx
	mov	rdi, rax
	call	partition
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	lea	rdx, -32[rax]
	mov	rax, QWORD PTR -40[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	quicker_sort
	mov	rdx, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	quicker_sort
.L43:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L42
	call	__stack_chk_fail@PLT
.L42:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	quicker_sort, .-quicker_sort
	.globl	initialisePIXELs
	.type	initialisePIXELs, @function
initialisePIXELs:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 96
	mov	QWORD PTR -56[rbp], rdi
	mov	QWORD PTR -64[rbp], rsi
	mov	QWORD PTR -72[rbp], rdx
	mov	QWORD PTR -80[rbp], rcx
	mov	DWORD PTR -84[rbp], r8d
	mov	DWORD PTR -88[rbp], r9d
	mov	rax, QWORD PTR -80[rbp]
	mov	QWORD PTR -32[rbp], rax
	mov	rax, QWORD PTR -56[rbp]
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -64[rbp]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -72[rbp]
	mov	QWORD PTR -8[rbp], rax
	mov	DWORD PTR -40[rbp], 0
	jmp	.L45
.L48:
	mov	DWORD PTR -36[rbp], 0
	jmp	.L46
.L47:
	mov	rax, QWORD PTR -32[rbp]
	mov	DWORD PTR [rax], 0
	mov	rax, QWORD PTR -32[rbp]
	mov	DWORD PTR 4[rax], 1
	mov	rax, QWORD PTR -24[rbp]
	movsd	xmm0, QWORD PTR [rax]
	mov	rax, QWORD PTR -32[rbp]
	movsd	QWORD PTR 8[rax], xmm0
	call	rand@PLT
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, eax
	movsd	xmm0, QWORD PTR .LC0[rip]
	addsd	xmm0, xmm1
	mov	rax, QWORD PTR -32[rbp]
	movsd	QWORD PTR 16[rax], xmm0
	mov	rax, QWORD PTR -16[rbp]
	movzx	edx, BYTE PTR [rax]
	mov	rax, QWORD PTR -32[rbp]
	mov	BYTE PTR 24[rax], dl
	mov	rax, QWORD PTR -8[rbp]
	movzx	edx, BYTE PTR [rax]
	mov	rax, QWORD PTR -32[rbp]
	mov	BYTE PTR 25[rax], dl
	mov	rax, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR -32[rbp]
	mov	QWORD PTR 40[rax], rdx
	mov	rax, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR -32[rbp]
	mov	QWORD PTR 48[rax], rdx
	mov	rax, QWORD PTR -32[rbp]
	mov	QWORD PTR 56[rax], 0
	mov	rax, QWORD PTR -32[rbp]
	mov	DWORD PTR 32[rax], 0
	mov	rax, QWORD PTR -32[rbp]
	mov	DWORD PTR 28[rax], -1
	add	QWORD PTR -32[rbp], 64
	add	QWORD PTR -24[rbp], 8
	add	QWORD PTR -16[rbp], 1
	add	QWORD PTR -8[rbp], 1
	add	DWORD PTR -36[rbp], 1
.L46:
	mov	eax, DWORD PTR -36[rbp]
	cmp	eax, DWORD PTR -84[rbp]
	jl	.L47
	add	DWORD PTR -40[rbp], 1
.L45:
	mov	eax, DWORD PTR -40[rbp]
	cmp	eax, DWORD PTR -88[rbp]
	jl	.L48
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	initialisePIXELs, .-initialisePIXELs
	.globl	wrap
	.type	wrap, @function
wrap:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	movsd	QWORD PTR -24[rbp], xmm0
	movsd	xmm0, QWORD PTR -24[rbp]
	comisd	xmm0, QWORD PTR .LC1[rip]
	jbe	.L58
	movsd	xmm0, QWORD PTR -24[rbp]
	movsd	xmm1, QWORD PTR .LC2[rip]
	subsd	xmm0, xmm1
	movsd	QWORD PTR -8[rbp], xmm0
	jmp	.L52
.L58:
	movsd	xmm0, QWORD PTR .LC3[rip]
	comisd	xmm0, QWORD PTR -24[rbp]
	jbe	.L59
	movsd	xmm1, QWORD PTR -24[rbp]
	movsd	xmm0, QWORD PTR .LC2[rip]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -8[rbp], xmm0
	jmp	.L52
.L59:
	movsd	xmm0, QWORD PTR -24[rbp]
	movsd	QWORD PTR -8[rbp], xmm0
.L52:
	movsd	xmm0, QWORD PTR -8[rbp]
	movq	rax, xmm0
	movq	xmm0, rax
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	wrap, .-wrap
	.globl	find_wrap
	.type	find_wrap, @function
find_wrap:
.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 -24[rbp], xmm0
	movsd	QWORD PTR -32[rbp], xmm1
	movsd	xmm0, QWORD PTR -24[rbp]
	subsd	xmm0, QWORD PTR -32[rbp]
	movsd	QWORD PTR -8[rbp], xmm0
	movsd	xmm0, QWORD PTR -8[rbp]
	comisd	xmm0, QWORD PTR .LC1[rip]
	jbe	.L69
	mov	DWORD PTR -12[rbp], -1
	jmp	.L63
.L69:
	movsd	xmm0, QWORD PTR .LC3[rip]
	comisd	xmm0, QWORD PTR -8[rbp]
	jbe	.L70
	mov	DWORD PTR -12[rbp], 1
	jmp	.L63
.L70:
	mov	DWORD PTR -12[rbp], 0
.L63:
	mov	eax, DWORD PTR -12[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	find_wrap, .-find_wrap
	.globl	extend_mask
	.type	extend_mask, @function
extend_mask:
.LFB12:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	DWORD PTR -52[rbp], edx
	mov	DWORD PTR -56[rbp], ecx
	mov	QWORD PTR -64[rbp], r8
	mov	eax, DWORD PTR -52[rbp]
	add	eax, 1
	mov	DWORD PTR -24[rbp], eax
	mov	eax, DWORD PTR -52[rbp]
	sub	eax, 1
	mov	DWORD PTR -20[rbp], eax
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	QWORD PTR -16[rbp], rax
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	QWORD PTR -8[rbp], rax
	mov	DWORD PTR -32[rbp], 1
	jmp	.L72
.L76:
	mov	DWORD PTR -28[rbp], 1
	jmp	.L73
.L75:
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L74
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L74
	mov	rax, QWORD PTR -16[rbp]
	sub	rax, 1
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L74
	mov	eax, DWORD PTR -52[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L74
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	neg	rax
	mov	rdx, rax
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L74
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	neg	rax
	mov	rdx, rax
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L74
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	neg	rax
	mov	rdx, rax
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L74
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L74
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L74
	mov	rax, QWORD PTR -8[rbp]
	mov	BYTE PTR [rax], 0
.L74:
	add	QWORD PTR -8[rbp], 1
	add	QWORD PTR -16[rbp], 1
	add	DWORD PTR -28[rbp], 1
.L73:
	mov	eax, DWORD PTR -52[rbp]
	sub	eax, 1
	cmp	DWORD PTR -28[rbp], eax
	jl	.L75
	add	QWORD PTR -8[rbp], 2
	add	QWORD PTR -16[rbp], 2
	add	DWORD PTR -32[rbp], 1
.L72:
	mov	eax, DWORD PTR -56[rbp]
	sub	eax, 1
	cmp	DWORD PTR -32[rbp], eax
	jl	.L76
	mov	rax, QWORD PTR -64[rbp]
	mov	eax, DWORD PTR 8[rax]
	cmp	eax, 1
	jne	.L77
	mov	eax, DWORD PTR -52[rbp]
	add	eax, eax
	cdqe
	lea	rdx, -1[rax]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	QWORD PTR -16[rbp], rax
	mov	eax, DWORD PTR -52[rbp]
	add	eax, eax
	cdqe
	lea	rdx, -1[rax]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	QWORD PTR -8[rbp], rax
	mov	DWORD PTR -32[rbp], 1
	jmp	.L78
.L80:
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L79
	mov	rax, QWORD PTR -16[rbp]
	sub	rax, 1
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L79
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L79
	mov	eax, DWORD PTR -52[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L79
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	neg	rax
	mov	rdx, rax
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L79
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	not	rax
	mov	rdx, rax
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L79
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	mov	edx, 1
	sub	rdx, rax
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L79
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	lea	rdx, -1[rax]
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L79
	mov	eax, DWORD PTR -52[rbp]
	add	eax, eax
	cdqe
	mov	edx, 1
	sub	rdx, rax
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L79
	mov	rax, QWORD PTR -8[rbp]
	mov	BYTE PTR [rax], 0
.L79:
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	add	QWORD PTR -8[rbp], rax
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	add	QWORD PTR -16[rbp], rax
	add	DWORD PTR -32[rbp], 1
.L78:
	mov	eax, DWORD PTR -56[rbp]
	sub	eax, 1
	cmp	DWORD PTR -32[rbp], eax
	jl	.L80
	mov	eax, DWORD PTR -52[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	QWORD PTR -16[rbp], rax
	mov	eax, DWORD PTR -52[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	QWORD PTR -8[rbp], rax
	mov	DWORD PTR -32[rbp], 1
	jmp	.L81
.L83:
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L82
	mov	rax, QWORD PTR -16[rbp]
	sub	rax, 1
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L82
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L82
	mov	eax, DWORD PTR -52[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L82
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	neg	rax
	mov	rdx, rax
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L82
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	mov	edx, 1
	sub	rdx, rax
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L82
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L82
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	lea	rdx, -1[rax]
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L82
	mov	eax, DWORD PTR -52[rbp]
	add	eax, eax
	cdqe
	lea	rdx, -1[rax]
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L82
	mov	rax, QWORD PTR -8[rbp]
	mov	BYTE PTR [rax], 0
.L82:
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	add	QWORD PTR -8[rbp], rax
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	add	QWORD PTR -16[rbp], rax
	add	DWORD PTR -32[rbp], 1
.L81:
	mov	eax, DWORD PTR -56[rbp]
	sub	eax, 1
	cmp	DWORD PTR -32[rbp], eax
	jl	.L83
.L77:
	mov	rax, QWORD PTR -64[rbp]
	mov	eax, DWORD PTR 12[rax]
	cmp	eax, 1
	jne	.L91
	mov	rax, QWORD PTR -40[rbp]
	add	rax, 1
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 1
	mov	QWORD PTR -8[rbp], rax
	mov	DWORD PTR -32[rbp], 1
	jmp	.L85
.L87:
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L86
	mov	rax, QWORD PTR -16[rbp]
	sub	rax, 1
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L86
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L86
	mov	eax, DWORD PTR -52[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L86
	mov	eax, DWORD PTR -56[rbp]
	sub	eax, 1
	imul	eax, DWORD PTR -52[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L86
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L86
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	lea	rdx, -1[rax]
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L86
	mov	eax, DWORD PTR -56[rbp]
	sub	eax, 1
	imul	eax, DWORD PTR -52[rbp]
	cdqe
	lea	rdx, -1[rax]
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L86
	mov	eax, DWORD PTR -56[rbp]
	sub	eax, 1
	imul	eax, DWORD PTR -52[rbp]
	cdqe
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L86
	mov	rax, QWORD PTR -8[rbp]
	mov	BYTE PTR [rax], 0
.L86:
	add	QWORD PTR -8[rbp], 1
	add	QWORD PTR -16[rbp], 1
	add	DWORD PTR -32[rbp], 1
.L85:
	mov	eax, DWORD PTR -52[rbp]
	sub	eax, 1
	cmp	DWORD PTR -32[rbp], eax
	jl	.L87
	mov	eax, DWORD PTR -56[rbp]
	sub	eax, 1
	imul	eax, DWORD PTR -52[rbp]
	cdqe
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	QWORD PTR -16[rbp], rax
	mov	eax, DWORD PTR -56[rbp]
	sub	eax, 1
	imul	eax, DWORD PTR -52[rbp]
	cdqe
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	QWORD PTR -8[rbp], rax
	mov	DWORD PTR -32[rbp], 1
	jmp	.L88
.L90:
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L89
	mov	rax, QWORD PTR -16[rbp]
	sub	rax, 1
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L89
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L89
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	neg	rax
	mov	rdx, rax
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L89
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	not	rax
	mov	rdx, rax
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L89
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	mov	edx, 1
	sub	rdx, rax
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L89
	mov	eax, DWORD PTR -56[rbp]
	sub	eax, 1
	imul	eax, DWORD PTR -52[rbp]
	cdqe
	neg	rax
	mov	rdx, rax
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L89
	mov	eax, DWORD PTR -56[rbp]
	sub	eax, 1
	imul	eax, DWORD PTR -52[rbp]
	cdqe
	not	rax
	mov	rdx, rax
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L89
	mov	eax, DWORD PTR -56[rbp]
	sub	eax, 1
	imul	eax, DWORD PTR -52[rbp]
	cdqe
	mov	edx, 1
	sub	rdx, rax
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L89
	mov	rax, QWORD PTR -8[rbp]
	mov	BYTE PTR [rax], 0
.L89:
	add	QWORD PTR -8[rbp], 1
	add	QWORD PTR -16[rbp], 1
	add	DWORD PTR -32[rbp], 1
.L88:
	mov	eax, DWORD PTR -52[rbp]
	sub	eax, 1
	cmp	DWORD PTR -32[rbp], eax
	jl	.L90
.L91:
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	extend_mask, .-extend_mask
	.globl	calculate_reliability
	.type	calculate_reliability, @function
calculate_reliability:
.LFB13:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	add	rsp, -128
	.cfi_offset 3, -24
	mov	QWORD PTR -112[rbp], rdi
	mov	QWORD PTR -120[rbp], rsi
	mov	DWORD PTR -124[rbp], edx
	mov	DWORD PTR -128[rbp], ecx
	mov	QWORD PTR -136[rbp], r8
	mov	eax, DWORD PTR -124[rbp]
	add	eax, 1
	mov	DWORD PTR -96[rbp], eax
	mov	eax, DWORD PTR -124[rbp]
	sub	eax, 1
	mov	DWORD PTR -92[rbp], eax
	mov	eax, DWORD PTR -96[rbp]
	cdqe
	sal	rax, 6
	mov	rdx, rax
	mov	rax, QWORD PTR -120[rbp]
	add	rax, rdx
	mov	QWORD PTR -88[rbp], rax
	mov	eax, DWORD PTR -96[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -112[rbp]
	add	rax, rdx
	mov	QWORD PTR -80[rbp], rax
	mov	DWORD PTR -104[rbp], 1
	jmp	.L93
.L97:
	mov	DWORD PTR -100[rbp], 1
	jmp	.L94
.L96:
	mov	rax, QWORD PTR -88[rbp]
	movzx	eax, BYTE PTR 25[rax]
	test	al, al
	jne	.L95
	mov	rax, QWORD PTR -80[rbp]
	sub	rax, 8
	movsd	xmm0, QWORD PTR [rax]
	mov	rax, QWORD PTR -80[rbp]
	movsd	xmm1, QWORD PTR [rax]
	subsd	xmm0, xmm1
	movq	rax, xmm0
	movq	xmm0, rax
	call	wrap
	movq	rbx, xmm0
	mov	rax, QWORD PTR -80[rbp]
	movsd	xmm0, QWORD PTR [rax]
	mov	rax, QWORD PTR -80[rbp]
	add	rax, 8
	movsd	xmm1, QWORD PTR [rax]
	subsd	xmm0, xmm1
	movq	rax, xmm0
	movq	xmm0, rax
	call	wrap
	movapd	xmm1, xmm0
	movq	xmm0, rbx
	subsd	xmm0, xmm1
	movsd	QWORD PTR -40[rbp], xmm0
	mov	eax, DWORD PTR -124[rbp]
	cdqe
	sal	rax, 3
	neg	rax
	mov	rdx, rax
	mov	rax, QWORD PTR -80[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mov	rax, QWORD PTR -80[rbp]
	movsd	xmm1, QWORD PTR [rax]
	subsd	xmm0, xmm1
	movq	rax, xmm0
	movq	xmm0, rax
	call	wrap
	movq	rbx, xmm0
	mov	rax, QWORD PTR -80[rbp]
	movsd	xmm0, QWORD PTR [rax]
	mov	eax, DWORD PTR -124[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -80[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	subsd	xmm0, xmm1
	movq	rax, xmm0
	movq	xmm0, rax
	call	wrap
	movapd	xmm1, xmm0
	movq	xmm0, rbx
	subsd	xmm0, xmm1
	movsd	QWORD PTR -32[rbp], xmm0
	mov	eax, DWORD PTR -96[rbp]
	cdqe
	sal	rax, 3
	neg	rax
	mov	rdx, rax
	mov	rax, QWORD PTR -80[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mov	rax, QWORD PTR -80[rbp]
	movsd	xmm1, QWORD PTR [rax]
	subsd	xmm0, xmm1
	movq	rax, xmm0
	movq	xmm0, rax
	call	wrap
	movq	rbx, xmm0
	mov	rax, QWORD PTR -80[rbp]
	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
	movsd	xmm1, QWORD PTR [rax]
	subsd	xmm0, xmm1
	movq	rax, xmm0
	movq	xmm0, rax
	call	wrap
	movapd	xmm1, xmm0
	movq	xmm0, rbx
	subsd	xmm0, xmm1
	movsd	QWORD PTR -24[rbp], xmm0
	mov	eax, DWORD PTR -92[rbp]
	cdqe
	sal	rax, 3
	neg	rax
	mov	rdx, rax
	mov	rax, QWORD PTR -80[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mov	rax, QWORD PTR -80[rbp]
	movsd	xmm1, QWORD PTR [rax]
	subsd	xmm0, xmm1
	movq	rax, xmm0
	movq	xmm0, rax
	call	wrap
	movq	rbx, xmm0
	mov	rax, QWORD PTR -80[rbp]
	movsd	xmm0, 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	xmm1, QWORD PTR [rax]
	subsd	xmm0, xmm1
	movq	rax, xmm0
	movq	xmm0, rax
	call	wrap
	movapd	xmm1, xmm0
	movq	xmm0, rbx
	subsd	xmm0, xmm1
	movsd	QWORD PTR -16[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
	movsd	xmm0, QWORD PTR -24[rbp]
	mulsd	xmm0, xmm0
	addsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR -16[rbp]
	mulsd	xmm0, xmm0
	addsd	xmm0, xmm1
	mov	rax, QWORD PTR -88[rbp]
	movsd	QWORD PTR 16[rax], xmm0
.L95:
	add	QWORD PTR -88[rbp], 64
	add	QWORD PTR -80[rbp], 8
	add	DWORD PTR -100[rbp], 1
.L94:
	mov	eax, DWORD PTR -124[rbp]
	sub	eax, 1
	cmp	DWORD PTR -100[rbp], eax
	jl	.L96
	sub	QWORD PTR -88[rbp], -128
	add	QWORD PTR -80[rbp], 16
	add	DWORD PTR -104[rbp], 1
.L93:
	mov	eax, DWORD PTR -128[rbp]
	sub	eax, 1
	cmp	DWORD PTR -104[rbp], eax
	jl	.L97
	mov	rax, QWORD PTR -136[rbp]
	mov	eax, DWORD PTR 8[rax]
	cmp	eax, 1
	jne	.L98
	mov	eax, DWORD PTR -124[rbp]
	cdqe
	sal	rax, 6
	mov	rdx, rax
	mov	rax, QWORD PTR -120[rbp]
	add	rax, rdx
	mov	QWORD PTR -72[rbp], rax
	mov	eax, DWORD PTR -124[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -112[rbp]
	add	rax, rdx
	mov	QWORD PTR -64[rbp], rax
	mov	DWORD PTR -104[rbp], 1
	jmp	.L99
.L101:
	mov	rax, QWORD PTR -72[rbp]
	movzx	eax, BYTE PTR 25[rax]
	test	al, al
	jne	.L100
	mov	eax, DWORD PTR -124[rbp]
	cdqe
	sal	rax, 3
	lea	rdx, -8[rax]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mov	rax, QWORD PTR -64[rbp]
	movsd	xmm1, QWORD PTR [rax]
	subsd	xmm0, xmm1
	movq	rax, xmm0
	movq	xmm0, rax
	call	wrap
	movq	rbx, xmm0
	mov	rax, QWORD PTR -64[rbp]
	movsd	xmm0, QWORD PTR [rax]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, 8
	movsd	xmm1, QWORD PTR [rax]
	subsd	xmm0, xmm1
	movq	rax, xmm0
	movq	xmm0, rax
	call	wrap
	movapd	xmm1, xmm0
	movq	xmm0, rbx
	subsd	xmm0, xmm1
	movsd	QWORD PTR -40[rbp], xmm0
	mov	eax, DWORD PTR -124[rbp]
	cdqe
	sal	rax, 3
	neg	rax
	mov	rdx, rax
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mov	rax, QWORD PTR -64[rbp]
	movsd	xmm1, QWORD PTR [rax]
	subsd	xmm0, xmm1
	movq	rax, xmm0
	movq	xmm0, rax
	call	wrap
	movq	rbx, xmm0
	mov	rax, QWORD PTR -64[rbp]
	movsd	xmm0, QWORD PTR [rax]
	mov	eax, DWORD PTR -124[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	subsd	xmm0, xmm1
	movq	rax, xmm0
	movq	xmm0, rax
	call	wrap
	movapd	xmm1, xmm0
	movq	xmm0, rbx
	subsd	xmm0, xmm1
	movsd	QWORD PTR -32[rbp], xmm0
	mov	rax, QWORD PTR -64[rbp]
	sub	rax, 8
	movsd	xmm0, QWORD PTR [rax]
	mov	rax, QWORD PTR -64[rbp]
	movsd	xmm1, QWORD PTR [rax]
	subsd	xmm0, xmm1
	movq	rax, xmm0
	movq	xmm0, rax
	call	wrap
	movq	rbx, xmm0
	mov	rax, QWORD PTR -64[rbp]
	movsd	xmm0, QWORD PTR [rax]
	mov	eax, DWORD PTR -96[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	subsd	xmm0, xmm1
	movq	rax, xmm0
	movq	xmm0, rax
	call	wrap
	movapd	xmm1, xmm0
	movq	xmm0, rbx
	subsd	xmm0, xmm1
	movsd	QWORD PTR -24[rbp], xmm0
	mov	eax, DWORD PTR -92[rbp]
	cdqe
	sal	rax, 3
	neg	rax
	mov	rdx, rax
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mov	rax, QWORD PTR -64[rbp]
	movsd	xmm1, QWORD PTR [rax]
	subsd	xmm0, xmm1
	movq	rax, xmm0
	movq	xmm0, rax
	call	wrap
	movq	rbx, xmm0
	mov	rax, QWORD PTR -64[rbp]
	movsd	xmm0, QWORD PTR [rax]
	mov	eax, DWORD PTR -124[rbp]
	add	eax, eax
	cdqe
	sal	rax, 3
	lea	rdx, -8[rax]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	subsd	xmm0, xmm1
	movq	rax, xmm0
	movq	xmm0, rax
	call	wrap
	movapd	xmm1, xmm0
	movq	xmm0, rbx
	subsd	xmm0, xmm1
	movsd	QWORD PTR -16[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
	movsd	xmm0, QWORD PTR -24[rbp]
	mulsd	xmm0, xmm0
	addsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR -16[rbp]
	mulsd	xmm0, xmm0
	addsd	xmm0, xmm1
	mov	rax, QWORD PTR -72[rbp]
	movsd	QWORD PTR 16[rax], xmm0
.L100:
	mov	eax, DWORD PTR -124[rbp]
	cdqe
	sal	rax, 6
	add	QWORD PTR -72[rbp], rax
	mov	eax, DWORD PTR -124[rbp]
	cdqe
	sal	rax, 3
	add	QWORD PTR -64[rbp], rax
	add	DWORD PTR -104[rbp], 1
.L99:
	mov	eax, DWORD PTR -128[rbp]
	sub	eax, 1
	cmp	DWORD PTR -104[rbp], eax
	jl	.L101
	mov	eax, DWORD PTR -124[rbp]
	add	eax, eax
	cdqe
	sal	rax, 6
	lea	rdx, -64[rax]
	mov	rax, QWORD PTR -120[rbp]
	add	rax, rdx
	mov	QWORD PTR -72[rbp], rax
	mov	eax, DWORD PTR -124[rbp]
	add	eax, eax
	cdqe
	sal	rax, 3
	lea	rdx, -8[rax]
	mov	rax, QWORD PTR -112[rbp]
	add	rax, rdx
	mov	QWORD PTR -64[rbp], rax
	mov	DWORD PTR -104[rbp], 1
	jmp	.L102
.L104:
	mov	rax, QWORD PTR -72[rbp]
	movzx	eax, BYTE PTR 25[rax]
	test	al, al
	jne	.L103
	mov	rax, QWORD PTR -64[rbp]
	sub	rax, 8
	movsd	xmm0, QWORD PTR [rax]
	mov	rax, QWORD PTR -64[rbp]
	movsd	xmm1, QWORD PTR [rax]
	subsd	xmm0, xmm1
	movq	rax, xmm0
	movq	xmm0, rax
	call	wrap
	movq	rbx, xmm0
	mov	rax, QWORD PTR -64[rbp]
	movsd	xmm0, QWORD PTR [rax]
	mov	eax, DWORD PTR -92[rbp]
	cdqe
	sal	rax, 3
	neg	rax
	mov	rdx, rax
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	subsd	xmm0, xmm1
	movq	rax, xmm0
	movq	xmm0, rax
	call	wrap
	movapd	xmm1, xmm0
	movq	xmm0, rbx
	subsd	xmm0, xmm1
	movsd	QWORD PTR -40[rbp], xmm0
	mov	eax, DWORD PTR -124[rbp]
	cdqe
	sal	rax, 3
	neg	rax
	mov	rdx, rax
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mov	rax, QWORD PTR -64[rbp]
	movsd	xmm1, QWORD PTR [rax]
	subsd	xmm0, xmm1
	movq	rax, xmm0
	movq	xmm0, rax
	call	wrap
	movq	rbx, xmm0
	mov	rax, QWORD PTR -64[rbp]
	movsd	xmm0, QWORD PTR [rax]
	mov	eax, DWORD PTR -124[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	subsd	xmm0, xmm1
	movq	rax, xmm0
	movq	xmm0, rax
	call	wrap
	movapd	xmm1, xmm0
	movq	xmm0, rbx
	subsd	xmm0, xmm1
	movsd	QWORD PTR -32[rbp], xmm0
	mov	eax, DWORD PTR -96[rbp]
	cdqe
	sal	rax, 3
	neg	rax
	mov	rdx, rax
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mov	rax, QWORD PTR -64[rbp]
	movsd	xmm1, QWORD PTR [rax]
	subsd	xmm0, xmm1
	movq	rax, xmm0
	movq	xmm0, rax
	call	wrap
	movq	rbx, xmm0
	mov	rax, QWORD PTR -64[rbp]
	movsd	xmm0, QWORD PTR [rax]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, 8
	movsd	xmm1, QWORD PTR [rax]
	subsd	xmm0, xmm1
	movq	rax, xmm0
	movq	xmm0, rax
	call	wrap
	movapd	xmm1, xmm0
	movq	xmm0, rbx
	subsd	xmm0, xmm1
	movsd	QWORD PTR -24[rbp], xmm0
	mov	eax, DWORD PTR -124[rbp]
	add	eax, eax
	cdqe
	sal	rax, 3
	mov	rdx, -8
	sub	rdx, rax
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mov	rax, QWORD PTR -64[rbp]
	movsd	xmm1, QWORD PTR [rax]
	subsd	xmm0, xmm1
	movq	rax, xmm0
	movq	xmm0, rax
	call	wrap
	movq	rbx, xmm0
	mov	rax, QWORD PTR -64[rbp]
	movsd	xmm0, 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	xmm1, QWORD PTR [rax]
	subsd	xmm0, xmm1
	movq	rax, xmm0
	movq	xmm0, rax
	call	wrap
	movapd	xmm1, xmm0
	movq	xmm0, rbx
	subsd	xmm0, xmm1
	movsd	QWORD PTR -16[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
	movsd	xmm0, QWORD PTR -24[rbp]
	mulsd	xmm0, xmm0
	addsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR -16[rbp]
	mulsd	xmm0, xmm0
	addsd	xmm0, xmm1
	mov	rax, QWORD PTR -72[rbp]
	movsd	QWORD PTR 16[rax], xmm0
.L103:
	mov	eax, DWORD PTR -124[rbp]
	cdqe
	sal	rax, 6
	add	QWORD PTR -72[rbp], rax
	mov	eax, DWORD PTR -124[rbp]
	cdqe
	sal	rax, 3
	add	QWORD PTR -64[rbp], rax
	add	DWORD PTR -104[rbp], 1
.L102:
	mov	eax, DWORD PTR -128[rbp]
	sub	eax, 1
	cmp	DWORD PTR -104[rbp], eax
	jl	.L104
.L98:
	mov	rax, QWORD PTR -136[rbp]
	mov	eax, DWORD PTR 12[rax]
	cmp	eax, 1
	jne	.L112
	mov	rax, QWORD PTR -120[rbp]
	add	rax, 64
	mov	QWORD PTR -56[rbp], rax
	mov	rax, QWORD PTR -112[rbp]
	add	rax, 8
	mov	QWORD PTR -48[rbp], rax
	mov	DWORD PTR -104[rbp], 1
	jmp	.L106
.L108:
	mov	rax, QWORD PTR -56[rbp]
	movzx	eax, BYTE PTR 25[rax]
	test	al, al
	jne	.L107
	mov	rax, QWORD PTR -48[rbp]
	sub	rax, 8
	movsd	xmm0, QWORD PTR [rax]
	mov	rax, QWORD PTR -48[rbp]
	movsd	xmm1, QWORD PTR [rax]
	subsd	xmm0, xmm1
	movq	rax, xmm0
	movq	xmm0, rax
	call	wrap
	movq	rbx, xmm0
	mov	rax, QWORD PTR -48[rbp]
	movsd	xmm0, QWORD PTR [rax]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 8
	movsd	xmm1, QWORD PTR [rax]
	subsd	xmm0, xmm1
	movq	rax, xmm0
	movq	xmm0, rax
	call	wrap
	movapd	xmm1, xmm0
	movq	xmm0, rbx
	subsd	xmm0, xmm1
	movsd	QWORD PTR -40[rbp], xmm0
	mov	eax, DWORD PTR -128[rbp]
	sub	eax, 1
	imul	eax, DWORD PTR -124[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mov	rax, QWORD PTR -48[rbp]
	movsd	xmm1, QWORD PTR [rax]
	subsd	xmm0, xmm1
	movq	rax, xmm0
	movq	xmm0, rax
	call	wrap
	movq	rbx, xmm0
	mov	rax, QWORD PTR -48[rbp]
	movsd	xmm0, QWORD PTR [rax]
	mov	eax, DWORD PTR -124[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	subsd	xmm0, xmm1
	movq	rax, xmm0
	movq	xmm0, rax
	call	wrap
	movapd	xmm1, xmm0
	movq	xmm0, rbx
	subsd	xmm0, xmm1
	movsd	QWORD PTR -32[rbp], xmm0
	mov	eax, DWORD PTR -128[rbp]
	sub	eax, 1
	imul	eax, DWORD PTR -124[rbp]
	cdqe
	sal	rax, 3
	lea	rdx, -8[rax]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mov	rax, QWORD PTR -48[rbp]
	movsd	xmm1, QWORD PTR [rax]
	subsd	xmm0, xmm1
	movq	rax, xmm0
	movq	xmm0, rax
	call	wrap
	movq	rbx, xmm0
	mov	rax, QWORD PTR -48[rbp]
	movsd	xmm0, QWORD PTR [rax]
	mov	eax, DWORD PTR -96[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	subsd	xmm0, xmm1
	movq	rax, xmm0
	movq	xmm0, rax
	call	wrap
	movapd	xmm1, xmm0
	movq	xmm0, rbx
	subsd	xmm0, xmm1
	movsd	QWORD PTR -24[rbp], xmm0
	mov	eax, DWORD PTR -128[rbp]
	sub	eax, 1
	imul	eax, DWORD PTR -124[rbp]
	cdqe
	add	rax, 1
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mov	rax, QWORD PTR -48[rbp]
	movsd	xmm1, QWORD PTR [rax]
	subsd	xmm0, xmm1
	movq	rax, xmm0
	movq	xmm0, rax
	call	wrap
	movq	rbx, xmm0
	mov	rax, QWORD PTR -48[rbp]
	movsd	xmm0, QWORD PTR [rax]
	mov	eax, DWORD PTR -92[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	subsd	xmm0, xmm1
	movq	rax, xmm0
	movq	xmm0, rax
	call	wrap
	movapd	xmm1, xmm0
	movq	xmm0, rbx
	subsd	xmm0, xmm1
	movsd	QWORD PTR -16[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
	movsd	xmm0, QWORD PTR -24[rbp]
	mulsd	xmm0, xmm0
	addsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR -16[rbp]
	mulsd	xmm0, xmm0
	addsd	xmm0, xmm1
	mov	rax, QWORD PTR -56[rbp]
	movsd	QWORD PTR 16[rax], xmm0
.L107:
	add	QWORD PTR -56[rbp], 64
	add	QWORD PTR -48[rbp], 8
	add	DWORD PTR -104[rbp], 1
.L106:
	mov	eax, DWORD PTR -124[rbp]
	sub	eax, 1
	cmp	DWORD PTR -104[rbp], eax
	jl	.L108
	mov	eax, DWORD PTR -128[rbp]
	sub	eax, 1
	imul	eax, DWORD PTR -124[rbp]
	cdqe
	add	rax, 1
	sal	rax, 6
	mov	rdx, rax
	mov	rax, QWORD PTR -120[rbp]
	add	rax, rdx
	mov	QWORD PTR -56[rbp], rax
	mov	eax, DWORD PTR -128[rbp]
	sub	eax, 1
	imul	eax, DWORD PTR -124[rbp]
	cdqe
	add	rax, 1
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -112[rbp]
	add	rax, rdx
	mov	QWORD PTR -48[rbp], rax
	mov	DWORD PTR -104[rbp], 1
	jmp	.L109
.L111:
	mov	rax, QWORD PTR -56[rbp]
	movzx	eax, BYTE PTR 25[rax]
	test	al, al
	jne	.L110
	mov	rax, QWORD PTR -48[rbp]
	sub	rax, 8
	movsd	xmm0, QWORD PTR [rax]
	mov	rax, QWORD PTR -48[rbp]
	movsd	xmm1, QWORD PTR [rax]
	subsd	xmm0, xmm1
	movq	rax, xmm0
	movq	xmm0, rax
	call	wrap
	movq	rbx, xmm0
	mov	rax, QWORD PTR -48[rbp]
	movsd	xmm0, QWORD PTR [rax]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 8
	movsd	xmm1, QWORD PTR [rax]
	subsd	xmm0, xmm1
	movq	rax, xmm0
	movq	xmm0, rax
	call	wrap
	movapd	xmm1, xmm0
	movq	xmm0, rbx
	subsd	xmm0, xmm1
	movsd	QWORD PTR -40[rbp], xmm0
	mov	eax, DWORD PTR -124[rbp]
	cdqe
	sal	rax, 3
	neg	rax
	mov	rdx, rax
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mov	rax, QWORD PTR -48[rbp]
	movsd	xmm1, QWORD PTR [rax]
	subsd	xmm0, xmm1
	movq	rax, xmm0
	movq	xmm0, rax
	call	wrap
	movq	rbx, xmm0
	mov	rax, QWORD PTR -48[rbp]
	movsd	xmm0, QWORD PTR [rax]
	mov	eax, DWORD PTR -128[rbp]
	sub	eax, 1
	imul	eax, DWORD PTR -124[rbp]
	cdqe
	sal	rax, 3
	neg	rax
	mov	rdx, rax
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	subsd	xmm0, xmm1
	movq	rax, xmm0
	movq	xmm0, rax
	call	wrap
	movapd	xmm1, xmm0
	movq	xmm0, rbx
	subsd	xmm0, xmm1
	movsd	QWORD PTR -32[rbp], xmm0
	mov	eax, DWORD PTR -96[rbp]
	cdqe
	sal	rax, 3
	neg	rax
	mov	rdx, rax
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mov	rax, QWORD PTR -48[rbp]
	movsd	xmm1, QWORD PTR [rax]
	subsd	xmm0, xmm1
	movq	rax, xmm0
	movq	xmm0, rax
	call	wrap
	movq	rbx, xmm0
	mov	rax, QWORD PTR -48[rbp]
	movsd	xmm0, QWORD PTR [rax]
	mov	eax, DWORD PTR -128[rbp]
	sub	eax, 1
	imul	eax, DWORD PTR -124[rbp]
	movsx	rdx, eax
	mov	eax, 1
	sub	rax, rdx
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	subsd	xmm0, xmm1
	movq	rax, xmm0
	movq	xmm0, rax
	call	wrap
	movapd	xmm1, xmm0
	movq	xmm0, rbx
	subsd	xmm0, xmm1
	movsd	QWORD PTR -24[rbp], xmm0
	mov	eax, DWORD PTR -92[rbp]
	cdqe
	sal	rax, 3
	neg	rax
	mov	rdx, rax
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mov	rax, QWORD PTR -48[rbp]
	movsd	xmm1, QWORD PTR [rax]
	subsd	xmm0, xmm1
	movq	rax, xmm0
	movq	xmm0, rax
	call	wrap
	movq	rbx, xmm0
	mov	rax, QWORD PTR -48[rbp]
	movsd	xmm0, QWORD PTR [rax]
	mov	eax, DWORD PTR -128[rbp]
	sub	eax, 1
	imul	eax, DWORD PTR -124[rbp]
	cdqe
	sal	rax, 3
	mov	rdx, -8
	sub	rdx, rax
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	subsd	xmm0, xmm1
	movq	rax, xmm0
	movq	xmm0, rax
	call	wrap
	movapd	xmm1, xmm0
	movq	xmm0, rbx
	subsd	xmm0, xmm1
	movsd	QWORD PTR -16[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
	movsd	xmm0, QWORD PTR -24[rbp]
	mulsd	xmm0, xmm0
	addsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR -16[rbp]
	mulsd	xmm0, xmm0
	addsd	xmm0, xmm1
	mov	rax, QWORD PTR -56[rbp]
	movsd	QWORD PTR 16[rax], xmm0
.L110:
	add	QWORD PTR -56[rbp], 64
	add	QWORD PTR -48[rbp], 8
	add	DWORD PTR -104[rbp], 1
.L109:
	mov	eax, DWORD PTR -124[rbp]
	sub	eax, 1
	cmp	DWORD PTR -104[rbp], eax
	jl	.L111
.L112:
	nop
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	calculate_reliability, .-calculate_reliability
	.globl	horizontalEDGEs
	.type	horizontalEDGEs, @function
horizontalEDGEs:
.LFB14:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 64
	mov	QWORD PTR -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	DWORD PTR -52[rbp], edx
	mov	DWORD PTR -56[rbp], ecx
	mov	QWORD PTR -64[rbp], r8
	mov	rax, QWORD PTR -48[rbp]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -64[rbp]
	mov	eax, DWORD PTR 16[rax]
	mov	DWORD PTR -20[rbp], eax
	mov	DWORD PTR -28[rbp], 0
	jmp	.L114
.L118:
	mov	DWORD PTR -24[rbp], 0
	jmp	.L115
.L117:
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR 24[rax]
	test	al, al
	jne	.L116
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 64
	movzx	eax, BYTE PTR 24[rax]
	test	al, al
	jne	.L116
	mov	rax, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, 64[rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR 16[rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	movsd	xmm1, QWORD PTR 16[rax]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 64
	movsd	xmm0, QWORD PTR 16[rax]
	addsd	xmm0, xmm1
	mov	rax, QWORD PTR -16[rbp]
	movsd	QWORD PTR [rax], xmm0
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 64
	movsd	xmm0, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	find_wrap
	mov	rdx, QWORD PTR -16[rbp]
	mov	DWORD PTR 24[rdx], eax
	add	QWORD PTR -16[rbp], 32
	add	DWORD PTR -20[rbp], 1
.L116:
	add	QWORD PTR -8[rbp], 64
	add	DWORD PTR -24[rbp], 1
.L115:
	mov	eax, DWORD PTR -52[rbp]
	sub	eax, 1
	cmp	DWORD PTR -24[rbp], eax
	jl	.L117
	add	QWORD PTR -8[rbp], 64
	add	DWORD PTR -28[rbp], 1
.L114:
	mov	eax, DWORD PTR -28[rbp]
	cmp	eax, DWORD PTR -56[rbp]
	jl	.L118
	mov	rax, QWORD PTR -64[rbp]
	mov	eax, DWORD PTR 8[rax]
	cmp	eax, 1
	jne	.L119
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	sal	rax, 6
	lea	rdx, -64[rax]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	QWORD PTR -8[rbp], rax
	mov	DWORD PTR -28[rbp], 0
	jmp	.L120
.L122:
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR 24[rax]
	test	al, al
	jne	.L121
	mov	eax, DWORD PTR -52[rbp]
	movsx	rdx, eax
	mov	eax, 1
	sub	rax, rdx
	sal	rax, 6
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR 24[rax]
	test	al, al
	jne	.L121
	mov	rax, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	eax, DWORD PTR -52[rbp]
	movsx	rdx, eax
	mov	eax, 1
	sub	rax, rdx
	sal	rax, 6
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	add	rdx, rax
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR 16[rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	movsd	xmm1, QWORD PTR 16[rax]
	mov	eax, DWORD PTR -52[rbp]
	movsx	rdx, eax
	mov	eax, 1
	sub	rax, rdx
	sal	rax, 6
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR 16[rax]
	addsd	xmm0, xmm1
	mov	rax, QWORD PTR -16[rbp]
	movsd	QWORD PTR [rax], xmm0
	mov	eax, DWORD PTR -52[rbp]
	movsx	rdx, eax
	mov	eax, 1
	sub	rax, rdx
	sal	rax, 6
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	find_wrap
	mov	rdx, QWORD PTR -16[rbp]
	mov	DWORD PTR 24[rdx], eax
	add	QWORD PTR -16[rbp], 32
	add	DWORD PTR -20[rbp], 1
.L121:
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	sal	rax, 6
	add	QWORD PTR -8[rbp], rax
	add	DWORD PTR -28[rbp], 1
.L120:
	mov	eax, DWORD PTR -28[rbp]
	cmp	eax, DWORD PTR -56[rbp]
	jl	.L122
.L119:
	mov	rax, QWORD PTR -64[rbp]
	mov	edx, DWORD PTR -20[rbp]
	mov	DWORD PTR 16[rax], edx
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	horizontalEDGEs, .-horizontalEDGEs
	.globl	verticalEDGEs
	.type	verticalEDGEs, @function
verticalEDGEs:
.LFB15:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 64
	mov	QWORD PTR -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	DWORD PTR -52[rbp], edx
	mov	DWORD PTR -56[rbp], ecx
	mov	QWORD PTR -64[rbp], r8
	mov	rax, QWORD PTR -64[rbp]
	mov	eax, DWORD PTR 16[rax]
	mov	DWORD PTR -20[rbp], eax
	mov	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR -16[rbp], rax
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	sal	rax, 5
	mov	rdx, rax
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	QWORD PTR -8[rbp], rax
	mov	DWORD PTR -28[rbp], 0
	jmp	.L124
.L128:
	mov	DWORD PTR -24[rbp], 0
	jmp	.L125
.L127:
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, BYTE PTR 24[rax]
	test	al, al
	jne	.L126
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	sal	rax, 6
	mov	rdx, rax
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR 24[rax]
	test	al, al
	jne	.L126
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	sal	rax, 6
	mov	rdx, rax
	mov	rax, QWORD PTR -16[rbp]
	add	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 16[rax], rdx
	mov	rax, QWORD PTR -16[rbp]
	movsd	xmm1, QWORD PTR 16[rax]
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	sal	rax, 6
	mov	rdx, rax
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR 16[rax]
	addsd	xmm0, xmm1
	mov	rax, QWORD PTR -8[rbp]
	movsd	QWORD PTR [rax], xmm0
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	sal	rax, 6
	mov	rdx, rax
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 8[rax]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	find_wrap
	mov	rdx, QWORD PTR -8[rbp]
	mov	DWORD PTR 24[rdx], eax
	add	QWORD PTR -8[rbp], 32
	add	DWORD PTR -20[rbp], 1
.L126:
	add	QWORD PTR -16[rbp], 64
	add	DWORD PTR -24[rbp], 1
.L125:
	mov	eax, DWORD PTR -24[rbp]
	cmp	eax, DWORD PTR -52[rbp]
	jl	.L127
	add	DWORD PTR -28[rbp], 1
.L124:
	mov	eax, DWORD PTR -56[rbp]
	sub	eax, 1
	cmp	DWORD PTR -28[rbp], eax
	jl	.L128
	mov	rax, QWORD PTR -64[rbp]
	mov	eax, DWORD PTR 12[rax]
	cmp	eax, 1
	jne	.L129
	mov	eax, DWORD PTR -56[rbp]
	sub	eax, 1
	imul	eax, DWORD PTR -52[rbp]
	cdqe
	sal	rax, 6
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	QWORD PTR -16[rbp], rax
	mov	DWORD PTR -28[rbp], 0
	jmp	.L130
.L132:
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, BYTE PTR 24[rax]
	test	al, al
	jne	.L131
	mov	eax, DWORD PTR -56[rbp]
	sub	eax, 1
	imul	eax, DWORD PTR -52[rbp]
	cdqe
	sal	rax, 6
	neg	rax
	mov	rdx, rax
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR 24[rax]
	test	al, al
	jne	.L131
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	eax, DWORD PTR -56[rbp]
	sub	eax, 1
	imul	eax, DWORD PTR -52[rbp]
	cdqe
	sal	rax, 6
	neg	rax
	mov	rdx, rax
	mov	rax, QWORD PTR -16[rbp]
	add	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 16[rax], rdx
	mov	rax, QWORD PTR -16[rbp]
	movsd	xmm1, QWORD PTR 16[rax]
	mov	eax, DWORD PTR -56[rbp]
	sub	eax, 1
	imul	eax, DWORD PTR -52[rbp]
	cdqe
	sal	rax, 6
	neg	rax
	mov	rdx, rax
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR 16[rax]
	addsd	xmm0, xmm1
	mov	rax, QWORD PTR -8[rbp]
	movsd	QWORD PTR [rax], xmm0
	mov	eax, DWORD PTR -56[rbp]
	sub	eax, 1
	imul	eax, DWORD PTR -52[rbp]
	cdqe
	sal	rax, 6
	neg	rax
	mov	rdx, rax
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 8[rax]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	find_wrap
	mov	rdx, QWORD PTR -8[rbp]
	mov	DWORD PTR 24[rdx], eax
	add	QWORD PTR -8[rbp], 32
	add	DWORD PTR -20[rbp], 1
.L131:
	add	QWORD PTR -16[rbp], 64
	add	DWORD PTR -28[rbp], 1
.L130:
	mov	eax, DWORD PTR -28[rbp]
	cmp	eax, DWORD PTR -52[rbp]
	jl	.L132
.L129:
	mov	rax, QWORD PTR -64[rbp]
	mov	edx, DWORD PTR -20[rbp]
	mov	DWORD PTR 16[rax], edx
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE15:
	.size	verticalEDGEs, .-verticalEDGEs
	.globl	gatherPIXELs
	.type	gatherPIXELs, @function
gatherPIXELs:
.LFB16:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -56[rbp], rdi
	mov	QWORD PTR -64[rbp], rsi
	mov	rax, QWORD PTR -56[rbp]
	mov	QWORD PTR -24[rbp], rax
	mov	DWORD PTR -48[rbp], 0
	jmp	.L134
.L143:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR 40[rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 40[rax]
	cmp	rdx, rax
	je	.L135
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 56[rax]
	test	rax, rax
	jne	.L136
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 40[rax]
	cmp	QWORD PTR -8[rbp], rax
	jne	.L136
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 40[rax]
	mov	rax, QWORD PTR 48[rax]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR 56[rax], rdx
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 40[rax]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR 48[rax], rdx
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 40[rax]
	mov	edx, DWORD PTR 4[rax]
	add	edx, 1
	mov	DWORD PTR 4[rax], edx
	mov	rax, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR 40[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 40[rax], rdx
	mov	rax, QWORD PTR -16[rbp]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 24[rax]
	sub	edx, eax
	mov	rax, QWORD PTR -8[rbp]
	mov	DWORD PTR [rax], edx
	jmp	.L135
.L136:
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 56[rax]
	test	rax, rax
	jne	.L137
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 40[rax]
	cmp	QWORD PTR -16[rbp], rax
	jne	.L137
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 40[rax]
	mov	rax, QWORD PTR 48[rax]
	mov	rdx, QWORD PTR -16[rbp]
	mov	QWORD PTR 56[rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 40[rax]
	mov	rdx, QWORD PTR -16[rbp]
	mov	QWORD PTR 48[rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 40[rax]
	mov	edx, DWORD PTR 4[rax]
	add	edx, 1
	mov	DWORD PTR 4[rax], edx
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR 40[rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR 40[rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 24[rax]
	add	edx, eax
	mov	rax, QWORD PTR -16[rbp]
	mov	DWORD PTR [rax], edx
	jmp	.L135
.L137:
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 40[rax]
	mov	QWORD PTR -40[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 40[rax]
	mov	QWORD PTR -32[rbp], rax
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, DWORD PTR 4[rax]
	mov	rax, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR 4[rax]
	cmp	edx, eax
	jle	.L138
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 48[rax]
	mov	rdx, QWORD PTR -32[rbp]
	mov	QWORD PTR 56[rax], rdx
	mov	rax, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR 48[rax]
	mov	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR 48[rax], rdx
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, DWORD PTR 4[rax]
	mov	rax, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR 4[rax]
	add	edx, eax
	mov	rax, QWORD PTR -40[rbp]
	mov	DWORD PTR 4[rax], edx
	mov	rax, QWORD PTR -16[rbp]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 24[rax]
	sub	edx, eax
	mov	rax, QWORD PTR -8[rbp]
	mov	ecx, DWORD PTR [rax]
	mov	eax, edx
	sub	eax, ecx
	mov	DWORD PTR -44[rbp], eax
	jmp	.L139
.L140:
	mov	rax, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR -40[rbp]
	mov	QWORD PTR 40[rax], rdx
	mov	rax, QWORD PTR -32[rbp]
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -44[rbp]
	add	edx, eax
	mov	rax, QWORD PTR -32[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR 56[rax]
	mov	QWORD PTR -32[rbp], rax
.L139:
	cmp	QWORD PTR -32[rbp], 0
	jne	.L140
	jmp	.L135
.L138:
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR 48[rax]
	mov	rdx, QWORD PTR -40[rbp]
	mov	QWORD PTR 56[rax], rdx
	mov	rax, QWORD PTR -40[rbp]
	mov	rdx, QWORD PTR 48[rax]
	mov	rax, QWORD PTR -32[rbp]
	mov	QWORD PTR 48[rax], rdx
	mov	rax, QWORD PTR -32[rbp]
	mov	edx, DWORD PTR 4[rax]
	mov	rax, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR 4[rax]
	add	edx, eax
	mov	rax, QWORD PTR -32[rbp]
	mov	DWORD PTR 4[rax], edx
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 24[rax]
	add	edx, eax
	mov	rax, QWORD PTR -16[rbp]
	mov	ecx, DWORD PTR [rax]
	mov	eax, edx
	sub	eax, ecx
	mov	DWORD PTR -44[rbp], eax
	jmp	.L141
.L142:
	mov	rax, QWORD PTR -40[rbp]
	mov	rdx, QWORD PTR -32[rbp]
	mov	QWORD PTR 40[rax], rdx
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -44[rbp]
	add	edx, eax
	mov	rax, QWORD PTR -40[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 56[rax]
	mov	QWORD PTR -40[rbp], rax
.L141:
	cmp	QWORD PTR -40[rbp], 0
	jne	.L142
.L135:
	add	QWORD PTR -24[rbp], 32
	add	DWORD PTR -48[rbp], 1
.L134:
	mov	rax, QWORD PTR -64[rbp]
	mov	eax, DWORD PTR 16[rax]
	cmp	DWORD PTR -48[rbp], eax
	jl	.L143
	nop
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE16:
	.size	gatherPIXELs, .-gatherPIXELs
	.globl	unwrapImage
	.type	unwrapImage, @function
unwrapImage:
.LFB17:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	DWORD PTR -32[rbp], edx
	mov	eax, DWORD PTR -28[rbp]
	imul	eax, DWORD PTR -32[rbp]
	mov	DWORD PTR -12[rbp], eax
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR -8[rbp], rax
	mov	DWORD PTR -16[rbp], 0
	jmp	.L145
.L146:
	mov	rax, QWORD PTR -8[rbp]
	movsd	xmm1, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	pxor	xmm2, xmm2
	cvtsi2sd	xmm2, eax
	movsd	xmm0, QWORD PTR .LC2[rip]
	mulsd	xmm0, xmm2
	addsd	xmm0, xmm1
	mov	rax, QWORD PTR -8[rbp]
	movsd	QWORD PTR 8[rax], xmm0
	add	QWORD PTR -8[rbp], 64
	add	DWORD PTR -16[rbp], 1
.L145:
	mov	eax, DWORD PTR -16[rbp]
	cmp	eax, DWORD PTR -12[rbp]
	jl	.L146
	nop
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE17:
	.size	unwrapImage, .-unwrapImage
	.globl	maskImage
	.type	maskImage, @function
maskImage:
.LFB18:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -56[rbp], rdi
	mov	QWORD PTR -64[rbp], rsi
	mov	DWORD PTR -68[rbp], edx
	mov	DWORD PTR -72[rbp], ecx
	mov	eax, DWORD PTR -68[rbp]
	add	eax, 1
	mov	DWORD PTR -44[rbp], eax
	mov	eax, DWORD PTR -72[rbp]
	add	eax, 1
	mov	DWORD PTR -40[rbp], eax
	mov	eax, DWORD PTR -68[rbp]
	sub	eax, 1
	mov	DWORD PTR -36[rbp], eax
	mov	eax, DWORD PTR -72[rbp]
	sub	eax, 1
	mov	DWORD PTR -32[rbp], eax
	mov	rax, QWORD PTR -56[rbp]
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -64[rbp]
	mov	QWORD PTR -16[rbp], rax
	movsd	xmm0, QWORD PTR .LC4[rip]
	movsd	QWORD PTR -8[rbp], xmm0
	mov	eax, DWORD PTR -68[rbp]
	imul	eax, DWORD PTR -72[rbp]
	mov	DWORD PTR -28[rbp], eax
	mov	DWORD PTR -48[rbp], 0
	jmp	.L148
.L151:
	mov	rax, QWORD PTR -24[rbp]
	movsd	xmm1, QWORD PTR 8[rax]
	movsd	xmm0, QWORD PTR -8[rbp]
	comisd	xmm0, xmm1
	jbe	.L149
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L149
	mov	rax, QWORD PTR -24[rbp]
	movsd	xmm0, QWORD PTR 8[rax]
	movsd	QWORD PTR -8[rbp], xmm0
.L149:
	add	QWORD PTR -24[rbp], 64
	add	QWORD PTR -16[rbp], 1
	add	DWORD PTR -48[rbp], 1
.L148:
	mov	eax, DWORD PTR -48[rbp]
	cmp	eax, DWORD PTR -28[rbp]
	jl	.L151
	mov	rax, QWORD PTR -56[rbp]
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -64[rbp]
	mov	QWORD PTR -16[rbp], rax
	mov	DWORD PTR -48[rbp], 0
	jmp	.L152
.L154:
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 1
	jne	.L153
	mov	rax, QWORD PTR -24[rbp]
	movsd	xmm0, QWORD PTR -8[rbp]
	movsd	QWORD PTR 8[rax], xmm0
.L153:
	add	QWORD PTR -24[rbp], 64
	add	QWORD PTR -16[rbp], 1
	add	DWORD PTR -48[rbp], 1
.L152:
	mov	eax, DWORD PTR -48[rbp]
	cmp	eax, DWORD PTR -28[rbp]
	jl	.L154
	nop
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE18:
	.size	maskImage, .-maskImage
	.globl	returnImage
	.type	returnImage, @function
returnImage:
.LFB19:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	DWORD PTR -52[rbp], edx
	mov	DWORD PTR -56[rbp], ecx
	mov	eax, DWORD PTR -52[rbp]
	imul	eax, DWORD PTR -56[rbp]
	mov	DWORD PTR -20[rbp], eax
	mov	rax, QWORD PTR -48[rbp]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR -8[rbp], rax
	mov	DWORD PTR -24[rbp], 0
	jmp	.L157
.L158:
	mov	rax, QWORD PTR -8[rbp]
	movsd	xmm0, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -16[rbp]
	movsd	QWORD PTR [rax], xmm0
	add	QWORD PTR -8[rbp], 64
	add	QWORD PTR -16[rbp], 8
	add	DWORD PTR -24[rbp], 1
.L157:
	mov	eax, DWORD PTR -24[rbp]
	cmp	eax, DWORD PTR -20[rbp]
	jl	.L158
	nop
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE19:
	.size	returnImage, .-returnImage
	.globl	unwrap2D
	.type	unwrap2D, @function
unwrap2D:
.LFB20:
	.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 -72[rbp], rdi
	mov	QWORD PTR -80[rbp], rsi
	mov	QWORD PTR -88[rbp], rdx
	mov	DWORD PTR -92[rbp], ecx
	mov	DWORD PTR -96[rbp], r8d
	mov	DWORD PTR -100[rbp], r9d
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	movsd	xmm0, QWORD PTR .LC2[rip]
	movsd	QWORD PTR -32[rbp], xmm0
	mov	eax, DWORD PTR -100[rbp]
	mov	DWORD PTR -24[rbp], eax
	mov	eax, DWORD PTR 16[rbp]
	mov	DWORD PTR -20[rbp], eax
	mov	DWORD PTR -16[rbp], 0
	mov	eax, DWORD PTR -96[rbp]
	imul	eax, DWORD PTR -92[rbp]
	mov	DWORD PTR -64[rbp], eax
	mov	eax, DWORD PTR -92[rbp]
	imul	eax, DWORD PTR -96[rbp]
	add	eax, eax
	mov	DWORD PTR -60[rbp], eax
	mov	eax, DWORD PTR -64[rbp]
	cdqe
	mov	esi, 1
	mov	rdi, rax
	call	calloc@PLT
	mov	QWORD PTR -56[rbp], rax
	mov	eax, DWORD PTR -64[rbp]
	cdqe
	mov	esi, 64
	mov	rdi, rax
	call	calloc@PLT
	mov	QWORD PTR -48[rbp], rax
	mov	eax, DWORD PTR -60[rbp]
	cdqe
	mov	esi, 32
	mov	rdi, rax
	call	calloc@PLT
	mov	QWORD PTR -40[rbp], rax
	lea	rdi, -32[rbp]
	mov	ecx, DWORD PTR -96[rbp]
	mov	edx, DWORD PTR -92[rbp]
	mov	rsi, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR -88[rbp]
	mov	r8, rdi
	mov	rdi, rax
	call	extend_mask
	mov	r8d, DWORD PTR -96[rbp]
	mov	edi, DWORD PTR -92[rbp]
	mov	rcx, QWORD PTR -48[rbp]
	mov	rdx, QWORD PTR -56[rbp]
	mov	rsi, QWORD PTR -88[rbp]
	mov	rax, QWORD PTR -72[rbp]
	mov	r9d, r8d
	mov	r8d, edi
	mov	rdi, rax
	call	initialisePIXELs
	lea	rdi, -32[rbp]
	mov	ecx, DWORD PTR -96[rbp]
	mov	edx, DWORD PTR -92[rbp]
	mov	rsi, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR -72[rbp]
	mov	r8, rdi
	mov	rdi, rax
	call	calculate_reliability
	lea	rdi, -32[rbp]
	mov	ecx, DWORD PTR -96[rbp]
	mov	edx, DWORD PTR -92[rbp]
	mov	rsi, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR -48[rbp]
	mov	r8, rdi
	mov	rdi, rax
	call	horizontalEDGEs
	lea	rdi, -32[rbp]
	mov	ecx, DWORD PTR -96[rbp]
	mov	edx, DWORD PTR -92[rbp]
	mov	rsi, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR -48[rbp]
	mov	r8, rdi
	mov	rdi, rax
	call	verticalEDGEs
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	sal	rax, 5
	lea	rdx, -32[rax]
	mov	rax, QWORD PTR -40[rbp]
	add	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	quicker_sort
	lea	rdx, -32[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	gatherPIXELs
	mov	edx, DWORD PTR -96[rbp]
	mov	ecx, DWORD PTR -92[rbp]
	mov	rax, QWORD PTR -48[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	unwrapImage
	mov	ecx, DWORD PTR -96[rbp]
	mov	edx, DWORD PTR -92[rbp]
	mov	rsi, QWORD PTR -88[rbp]
	mov	rax, QWORD PTR -48[rbp]
	mov	rdi, rax
	call	maskImage
	mov	ecx, DWORD PTR -96[rbp]
	mov	edx, DWORD PTR -92[rbp]
	mov	rsi, QWORD PTR -80[rbp]
	mov	rax, QWORD PTR -48[rbp]
	mov	rdi, rax
	call	returnImage
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -48[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	free@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L160
	call	__stack_chk_fail@PLT
.L160:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE20:
	.size	unwrap2D, .-unwrap2D
	.section	.rodata
	.align 8
.LC0:
	.long	-536870912
	.long	1097011919
	.align 8
.LC1:
	.long	1413754136
	.long	1074340347
	.align 8
.LC2:
	.long	1413754136
	.long	1075388923
	.align 8
.LC3:
	.long	1413754136
	.long	-1073143301
	.align 8
.LC4:
	.long	-67108864
	.long	1100470147
	.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	"23634.c"
	.text
	.global	__aeabi_dcmpgt
	.global	__aeabi_dcmplt
	.global	__aeabi_dcmpeq
	.align	2
	.global	find_pivot
	.syntax unified
	.arm
	.fpu softvfp
	.type	find_pivot, %function
find_pivot:
	@ args = 0, pretend = 0, frame = 120
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #120
	str	r0, [fp, #-112]
	str	r1, [fp, #-116]
	str	r2, [fp, #-120]
	ldr	r3, [fp, #-112]
	sub	ip, fp, #100
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1}
	stm	ip, {r0, r1}
	ldr	r2, [fp, #-116]
	ldr	r3, [fp, #-112]
	sub	r3, r2, r3
	asr	r2, r3, #3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r1, r3, #4
	add	r3, r3, r1
	lsl	r1, r3, #8
	add	r3, r3, r1
	lsl	r1, r3, #16
	add	r3, r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-112]
	add	r3, r3, r2
	sub	ip, fp, #76
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1}
	stm	ip, {r0, r1}
	ldr	r3, [fp, #-116]
	sub	ip, fp, #52
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1}
	stm	ip, {r0, r1}
	sub	r1, fp, #100
	ldmia	r1, {r0-r1}
	sub	r3, fp, #76
	ldmia	r3, {r2-r3}
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L2
	sub	ip, fp, #28
	sub	lr, fp, #100
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1}
	stm	ip, {r0, r1}
	sub	ip, fp, #100
	sub	lr, fp, #76
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1}
	stm	ip, {r0, r1}
	sub	ip, fp, #76
	sub	lr, fp, #28
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1}
	stm	ip, {r0, r1}
.L2:
	sub	r1, fp, #100
	ldmia	r1, {r0-r1}
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L4
	sub	ip, fp, #28
	sub	lr, fp, #100
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1}
	stm	ip, {r0, r1}
	sub	ip, fp, #100
	sub	lr, fp, #52
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1}
	stm	ip, {r0, r1}
	sub	ip, fp, #52
	sub	lr, fp, #28
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1}
	stm	ip, {r0, r1}
.L4:
	sub	r1, fp, #76
	ldmia	r1, {r0-r1}
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L6
	sub	ip, fp, #28
	sub	lr, fp, #76
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1}
	stm	ip, {r0, r1}
	sub	ip, fp, #76
	sub	lr, fp, #52
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1}
	stm	ip, {r0, r1}
	sub	ip, fp, #52
	sub	lr, fp, #28
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1}
	stm	ip, {r0, r1}
.L6:
	sub	r1, fp, #100
	ldmia	r1, {r0-r1}
	sub	r3, fp, #76
	ldmia	r3, {r2-r3}
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L28
	sub	r3, fp, #76
	ldmia	r3, {r2-r3}
	ldr	r1, [fp, #-120]
	stm	r1, {r2-r3}
	mov	r3, #0
	b	.L20
.L28:
	sub	r1, fp, #76
	ldmia	r1, {r0-r1}
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L29
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	ldr	r1, [fp, #-120]
	stm	r1, {r2-r3}
	mov	r3, #0
	b	.L20
.L29:
	ldr	r3, [fp, #-112]
	add	r3, r3, #24
	str	r3, [fp, #-104]
	b	.L13
.L19:
	ldr	r3, [fp, #-104]
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-112]
	ldmia	r3, {r2-r3}
	bl	__aeabi_dcmpeq
	mov	r3, r0
	cmp	r3, #0
	bne	.L30
	ldr	r3, [fp, #-104]
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-112]
	ldmia	r3, {r2-r3}
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L31
	ldr	r3, [fp, #-112]
	ldmia	r3, {r2-r3}
	b	.L18
.L31:
	ldr	r3, [fp, #-104]
	ldmia	r3, {r2-r3}
.L18:
	ldr	r1, [fp, #-120]
	stm	r1, {r2-r3}
	mov	r3, #0
	b	.L20
.L30:
	ldr	r3, [fp, #-104]
	add	r3, r3, #24
	str	r3, [fp, #-104]
.L13:
	ldr	r2, [fp, #-104]
	ldr	r3, [fp, #-116]
	cmp	r2, r3
	bls	.L19
	mov	r3, #1
.L20:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	find_pivot, .-find_pivot
	.global	__aeabi_dcmple
	.align	2
	.global	partition
	.syntax unified
	.arm
	.fpu softvfp
	.type	partition, %function
partition:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	b	.L33
.L35:
	ldr	r3, [fp, #-32]
	add	r3, r3, #24
	str	r3, [fp, #-32]
.L34:
	ldr	r3, [fp, #-32]
	ldmia	r3, {r2-r3}
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	bne	.L35
	b	.L36
.L37:
	ldr	r3, [fp, #-36]
	sub	r3, r3, #24
	str	r3, [fp, #-36]
.L36:
	ldr	r3, [fp, #-36]
	ldmia	r3, {r2-r3}
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmple
	mov	r3, r0
	cmp	r3, #0
	bne	.L37
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-36]
	cmp	r2, r3
	bcs	.L33
	ldr	r3, [fp, #-32]
	sub	ip, fp, #28
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1}
	stm	ip, {r0, r1}
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-36]
	mov	ip, r2
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1}
	stm	ip, {r0, r1}
	ldr	r3, [fp, #-36]
	mov	lr, r3
	sub	ip, fp, #28
	ldmia	ip!, {r0, r1, r2, r3}
	stmia	lr!, {r0, r1, r2, r3}
	ldm	ip, {r0, r1}
	stm	lr, {r0, r1}
	ldr	r3, [fp, #-32]
	add	r3, r3, #24
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-36]
	sub	r3, r3, #24
	str	r3, [fp, #-36]
.L33:
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-36]
	cmp	r2, r3
	bls	.L34
	ldr	r3, [fp, #-32]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	partition, .-partition
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	quicker_sort
	.syntax unified
	.arm
	.fpu softvfp
	.type	quicker_sort, %function
quicker_sort:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	ldr	r3, .L44
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #20
	mov	r2, r3
	ldr	r1, [fp, #-36]
	ldr	r0, [fp, #-32]
	bl	find_pivot
	mov	r3, r0
	cmp	r3, #0
	bne	.L43
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	ldr	r1, [fp, #-36]
	ldr	r0, [fp, #-32]
	bl	partition
	str	r0, [fp, #-24]
	ldr	r3, [fp, #-24]
	sub	r3, r3, #24
	mov	r1, r3
	ldr	r0, [fp, #-32]
	bl	quicker_sort
	ldr	r1, [fp, #-36]
	ldr	r0, [fp, #-24]
	bl	quicker_sort
.L43:
	nop
	ldr	r3, .L44
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L42
	bl	__stack_chk_fail
.L42:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L45:
	.align	2
.L44:
	.word	.LC0
	.size	quicker_sort, .-quicker_sort
	.global	__aeabi_i2d
	.global	__aeabi_dadd
	.align	2
	.global	initialisePIXELs
	.syntax unified
	.arm
	.fpu softvfp
	.type	initialisePIXELs, %function
initialisePIXELs:
	@ args = 8, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	str	r2, [fp, #-40]
	str	r3, [fp, #-44]
	ldr	r3, [fp, #-44]
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-32]
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-36]
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-40]
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L47
.L50:
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L48
.L49:
	ldr	r3, [fp, #-28]
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-28]
	mov	r2, #1
	str	r2, [r3, #4]
	ldr	r3, [fp, #-24]
	ldmia	r3, {r2-r3}
	ldr	r1, [fp, #-28]
	str	r2, [r1, #8]
	str	r3, [r1, #12]
	bl	rand
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, #-536870912
	ldr	r3, .L51
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	ldr	r1, [fp, #-28]
	str	r2, [r1, #16]
	str	r3, [r1, #20]
	ldr	r3, [fp, #-20]
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r3, [fp, #-28]
	strb	r2, [r3, #24]
	ldr	r3, [fp, #-16]
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r3, [fp, #-28]
	strb	r2, [r3, #25]
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-28]
	str	r2, [r3, #36]
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-28]
	str	r2, [r3, #40]
	ldr	r3, [fp, #-28]
	mov	r2, #0
	str	r2, [r3, #44]
	ldr	r3, [fp, #-28]
	mov	r2, #0
	str	r2, [r3, #32]
	ldr	r3, [fp, #-28]
	mvn	r2, #0
	str	r2, [r3, #28]
	ldr	r3, [fp, #-28]
	add	r3, r3, #48
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-24]
	add	r3, r3, #8
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L48:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #4]
	cmp	r2, r3
	blt	.L49
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L47:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #8]
	cmp	r2, r3
	blt	.L50
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L52:
	.align	2
.L51:
	.word	1097011919
	.size	initialisePIXELs, .-initialisePIXELs
	.global	__aeabi_dsub
	.align	2
	.global	wrap
	.syntax unified
	.arm
	.fpu softvfp
	.type	wrap, %function
wrap:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-20]
	str	r1, [fp, #-16]
	ldr	r2, .L64
	ldr	r3, .L64+4
	sub	r1, fp, #20
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L62
	ldr	r2, .L64
	ldr	r3, .L64+8
	sub	r1, fp, #20
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-12]
	str	r3, [fp, #-8]
	b	.L56
.L62:
	ldr	r2, .L64
	ldr	r3, .L64+12
	sub	r1, fp, #20
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L63
	ldr	r2, .L64
	ldr	r3, .L64+8
	sub	r1, fp, #20
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-12]
	str	r3, [fp, #-8]
	b	.L56
.L63:
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-12]
	str	r3, [fp, #-8]
.L56:
	sub	r3, fp, #12
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L65:
	.align	2
.L64:
	.word	1413754136
	.word	1074340347
	.word	1075388923
	.word	-1073143301
	.size	wrap, .-wrap
	.align	2
	.global	find_wrap
	.syntax unified
	.arm
	.fpu softvfp
	.type	find_wrap, %function
find_wrap:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-28]
	str	r1, [fp, #-24]
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-12]
	str	r3, [fp, #-8]
	ldr	r2, .L77
	ldr	r3, .L77+4
	sub	r1, fp, #12
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L75
	mvn	r3, #0
	str	r3, [fp, #-16]
	b	.L69
.L75:
	ldr	r2, .L77
	ldr	r3, .L77+8
	sub	r1, fp, #12
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L76
	mov	r3, #1
	str	r3, [fp, #-16]
	b	.L69
.L76:
	mov	r3, #0
	str	r3, [fp, #-16]
.L69:
	ldr	r3, [fp, #-16]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L78:
	.align	2
.L77:
	.word	1413754136
	.word	1074340347
	.word	-1073143301
	.size	find_wrap, .-find_wrap
	.align	2
	.global	extend_mask
	.syntax unified
	.arm
	.fpu softvfp
	.type	extend_mask, %function
extend_mask:
	@ args = 4, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #44
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	str	r2, [fp, #-40]
	str	r3, [fp, #-44]
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-40]
	sub	r3, r3, #1
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	ldr	r2, [fp, #-36]
	add	r3, r2, r3
	str	r3, [fp, #-16]
	mov	r3, #1
	str	r3, [fp, #-28]
	b	.L80
.L84:
	mov	r3, #1
	str	r3, [fp, #-24]
	b	.L81
.L83:
	ldr	r3, [fp, #-20]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L82
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L82
	ldr	r3, [fp, #-20]
	sub	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L82
	ldr	r3, [fp, #-40]
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L82
	ldr	r3, [fp, #-40]
	rsb	r3, r3, #0
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L82
	ldr	r3, [fp, #-8]
	rsb	r3, r3, #0
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L82
	ldr	r3, [fp, #-12]
	rsb	r3, r3, #0
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L82
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L82
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L82
	ldr	r3, [fp, #-16]
	mov	r2, #0
	strb	r2, [r3]
.L82:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L81:
	ldr	r3, [fp, #-40]
	sub	r3, r3, #1
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	blt	.L83
	ldr	r3, [fp, #-16]
	add	r3, r3, #2
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-20]
	add	r3, r3, #2
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L80:
	ldr	r3, [fp, #-44]
	sub	r3, r3, #1
	ldr	r2, [fp, #-28]
	cmp	r2, r3
	blt	.L84
	ldr	r3, [fp, #4]
	ldr	r3, [r3, #8]
	cmp	r3, #1
	bne	.L85
	ldr	r3, [fp, #-40]
	lsl	r3, r3, #1
	sub	r3, r3, #1
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-40]
	lsl	r3, r3, #1
	sub	r3, r3, #1
	ldr	r2, [fp, #-36]
	add	r3, r2, r3
	str	r3, [fp, #-16]
	mov	r3, #1
	str	r3, [fp, #-28]
	b	.L86
.L88:
	ldr	r3, [fp, #-20]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L87
	ldr	r3, [fp, #-20]
	sub	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L87
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L87
	ldr	r3, [fp, #-40]
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L87
	ldr	r3, [fp, #-40]
	rsb	r3, r3, #0
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L87
	ldr	r3, [fp, #-40]
	mvn	r3, r3
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L87
	ldr	r3, [fp, #-40]
	rsb	r3, r3, #1
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L87
	ldr	r3, [fp, #-40]
	sub	r3, r3, #1
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L87
	ldr	r3, [fp, #-40]
	lsl	r3, r3, #1
	rsb	r3, r3, #1
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L87
	ldr	r3, [fp, #-16]
	mov	r2, #0
	strb	r2, [r3]
.L87:
	ldr	r3, [fp, #-40]
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-40]
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L86:
	ldr	r3, [fp, #-44]
	sub	r3, r3, #1
	ldr	r2, [fp, #-28]
	cmp	r2, r3
	blt	.L88
	ldr	r3, [fp, #-40]
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-40]
	ldr	r2, [fp, #-36]
	add	r3, r2, r3
	str	r3, [fp, #-16]
	mov	r3, #1
	str	r3, [fp, #-28]
	b	.L89
.L91:
	ldr	r3, [fp, #-20]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L90
	ldr	r3, [fp, #-20]
	sub	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L90
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L90
	ldr	r3, [fp, #-40]
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L90
	ldr	r3, [fp, #-40]
	rsb	r3, r3, #0
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L90
	ldr	r3, [fp, #-40]
	rsb	r3, r3, #1
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L90
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L90
	ldr	r3, [fp, #-40]
	sub	r3, r3, #1
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L90
	ldr	r3, [fp, #-40]
	lsl	r3, r3, #1
	sub	r3, r3, #1
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L90
	ldr	r3, [fp, #-16]
	mov	r2, #0
	strb	r2, [r3]
.L90:
	ldr	r3, [fp, #-40]
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-40]
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L89:
	ldr	r3, [fp, #-44]
	sub	r3, r3, #1
	ldr	r2, [fp, #-28]
	cmp	r2, r3
	blt	.L91
.L85:
	ldr	r3, [fp, #4]
	ldr	r3, [r3, #12]
	cmp	r3, #1
	bne	.L99
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-16]
	mov	r3, #1
	str	r3, [fp, #-28]
	b	.L93
.L95:
	ldr	r3, [fp, #-20]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L94
	ldr	r3, [fp, #-20]
	sub	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L94
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L94
	ldr	r3, [fp, #-40]
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L94
	ldr	r3, [fp, #-44]
	sub	r3, r3, #1
	ldr	r2, [fp, #-40]
	mul	r3, r2, r3
	mov	r2, r3
	ldr	r3, [fp, #-20]
	add	r3, r3, r2
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L94
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L94
	ldr	r3, [fp, #-40]
	sub	r3, r3, #1
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L94
	ldr	r3, [fp, #-44]
	sub	r3, r3, #1
	ldr	r2, [fp, #-40]
	mul	r3, r2, r3
	sub	r3, r3, #1
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L94
	ldr	r3, [fp, #-44]
	sub	r3, r3, #1
	ldr	r2, [fp, #-40]
	mul	r3, r2, r3
	add	r3, r3, #1
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L94
	ldr	r3, [fp, #-16]
	mov	r2, #0
	strb	r2, [r3]
.L94:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L93:
	ldr	r3, [fp, #-40]
	sub	r3, r3, #1
	ldr	r2, [fp, #-28]
	cmp	r2, r3
	blt	.L95
	ldr	r3, [fp, #-44]
	sub	r3, r3, #1
	ldr	r2, [fp, #-40]
	mul	r3, r2, r3
	add	r3, r3, #1
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-44]
	sub	r3, r3, #1
	ldr	r2, [fp, #-40]
	mul	r3, r2, r3
	add	r3, r3, #1
	ldr	r2, [fp, #-36]
	add	r3, r2, r3
	str	r3, [fp, #-16]
	mov	r3, #1
	str	r3, [fp, #-28]
	b	.L96
.L98:
	ldr	r3, [fp, #-20]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L97
	ldr	r3, [fp, #-20]
	sub	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L97
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L97
	ldr	r3, [fp, #-40]
	rsb	r3, r3, #0
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L97
	ldr	r3, [fp, #-40]
	mvn	r3, r3
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L97
	ldr	r3, [fp, #-40]
	rsb	r3, r3, #1
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L97
	ldr	r3, [fp, #-44]
	sub	r3, r3, #1
	ldr	r2, [fp, #-40]
	mul	r3, r2, r3
	rsb	r3, r3, #0
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L97
	ldr	r3, [fp, #-44]
	sub	r3, r3, #1
	ldr	r2, [fp, #-40]
	mul	r3, r2, r3
	mvn	r3, r3
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L97
	ldr	r3, [fp, #-44]
	sub	r3, r3, #1
	ldr	r2, [fp, #-40]
	mul	r3, r2, r3
	rsb	r3, r3, #1
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L97
	ldr	r3, [fp, #-16]
	mov	r2, #0
	strb	r2, [r3]
.L97:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L96:
	ldr	r3, [fp, #-40]
	sub	r3, r3, #1
	ldr	r2, [fp, #-28]
	cmp	r2, r3
	blt	.L98
.L99:
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	extend_mask, .-extend_mask
	.global	__aeabi_dmul
	.align	2
	.global	calculate_reliability
	.syntax unified
	.arm
	.fpu softvfp
	.type	calculate_reliability, %function
calculate_reliability:
	@ args = 4, pretend = 0, frame = 88
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #88
	str	r0, [fp, #-88]
	str	r1, [fp, #-92]
	str	r2, [fp, #-96]
	str	r3, [fp, #-100]
	ldr	r3, [fp, #-96]
	add	r3, r3, #1
	str	r3, [fp, #-52]
	ldr	r3, [fp, #-96]
	sub	r3, r3, #1
	str	r3, [fp, #-48]
	ldr	r2, [fp, #-52]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #4
	mov	r2, r3
	ldr	r3, [fp, #-92]
	add	r3, r3, r2
	str	r3, [fp, #-84]
	ldr	r3, [fp, #-52]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-88]
	add	r3, r2, r3
	str	r3, [fp, #-80]
	mov	r3, #1
	str	r3, [fp, #-76]
	b	.L101
.L105:
	mov	r3, #1
	str	r3, [fp, #-72]
	b	.L102
.L104:
	ldr	r3, [fp, #-84]
	ldrb	r3, [r3, #25]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L103
	ldr	r3, [fp, #-80]
	sub	r3, r3, #8
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-80]
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	wrap
	mov	r4, r0
	mov	r5, r1
	ldr	r3, [fp, #-80]
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-80]
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	wrap
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-96]
	lsl	r3, r3, #3
	rsb	r3, r3, #0
	ldr	r2, [fp, #-80]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-80]
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	wrap
	mov	r4, r0
	mov	r5, r1
	ldr	r3, [fp, #-80]
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-96]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-80]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	wrap
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-52]
	lsl	r3, r3, #3
	rsb	r3, r3, #0
	ldr	r2, [fp, #-80]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-80]
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	wrap
	mov	r4, r0
	mov	r5, r1
	ldr	r3, [fp, #-80]
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-52]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-80]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	wrap
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-48]
	lsl	r3, r3, #3
	rsb	r3, r3, #0
	ldr	r2, [fp, #-80]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-80]
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	wrap
	mov	r4, r0
	mov	r5, r1
	ldr	r3, [fp, #-80]
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-48]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-80]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	wrap
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	sub	r3, fp, #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	r4, r2
	mov	r5, r3
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	sub	r1, fp, #28
	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	r4, r2
	mov	r5, r3
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	sub	r1, fp, #20
	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
	ldr	r1, [fp, #-84]
	str	r2, [r1, #16]
	str	r3, [r1, #20]
.L103:
	ldr	r3, [fp, #-84]
	add	r3, r3, #48
	str	r3, [fp, #-84]
	ldr	r3, [fp, #-80]
	add	r3, r3, #8
	str	r3, [fp, #-80]
	ldr	r3, [fp, #-72]
	add	r3, r3, #1
	str	r3, [fp, #-72]
.L102:
	ldr	r3, [fp, #-96]
	sub	r3, r3, #1
	ldr	r2, [fp, #-72]
	cmp	r2, r3
	blt	.L104
	ldr	r3, [fp, #-84]
	add	r3, r3, #96
	str	r3, [fp, #-84]
	ldr	r3, [fp, #-80]
	add	r3, r3, #16
	str	r3, [fp, #-80]
	ldr	r3, [fp, #-76]
	add	r3, r3, #1
	str	r3, [fp, #-76]
.L101:
	ldr	r3, [fp, #-100]
	sub	r3, r3, #1
	ldr	r2, [fp, #-76]
	cmp	r2, r3
	blt	.L105
	ldr	r3, [fp, #4]
	ldr	r3, [r3, #8]
	cmp	r3, #1
	bne	.L106
	ldr	r2, [fp, #-96]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #4
	mov	r2, r3
	ldr	r3, [fp, #-92]
	add	r3, r3, r2
	str	r3, [fp, #-68]
	ldr	r3, [fp, #-96]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-88]
	add	r3, r2, r3
	str	r3, [fp, #-64]
	mov	r3, #1
	str	r3, [fp, #-76]
	b	.L107
.L109:
	ldr	r3, [fp, #-68]
	ldrb	r3, [r3, #25]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L108
	ldr	r3, [fp, #-96]
	sub	r3, r3, #-536870911
	lsl	r3, r3, #3
	ldr	r2, [fp, #-64]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-64]
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	wrap
	mov	r4, r0
	mov	r5, r1
	ldr	r3, [fp, #-64]
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-64]
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	wrap
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-96]
	lsl	r3, r3, #3
	rsb	r3, r3, #0
	ldr	r2, [fp, #-64]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-64]
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	wrap
	mov	r4, r0
	mov	r5, r1
	ldr	r3, [fp, #-64]
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-96]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-64]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	wrap
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-64]
	sub	r3, r3, #8
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-64]
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	wrap
	mov	r4, r0
	mov	r5, r1
	ldr	r3, [fp, #-64]
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-52]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-64]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	wrap
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-48]
	lsl	r3, r3, #3
	rsb	r3, r3, #0
	ldr	r2, [fp, #-64]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-64]
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	wrap
	mov	r4, r0
	mov	r5, r1
	ldr	r3, [fp, #-64]
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-96]
	lsl	r3, r3, #4
	sub	r3, r3, #8
	ldr	r2, [fp, #-64]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	wrap
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	sub	r3, fp, #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	r4, r2
	mov	r5, r3
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	sub	r1, fp, #28
	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	r4, r2
	mov	r5, r3
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	sub	r1, fp, #20
	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
	ldr	r1, [fp, #-68]
	str	r2, [r1, #16]
	str	r3, [r1, #20]
.L108:
	ldr	r2, [fp, #-96]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #4
	mov	r2, r3
	ldr	r3, [fp, #-68]
	add	r3, r3, r2
	str	r3, [fp, #-68]
	ldr	r3, [fp, #-96]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-64]
	add	r3, r2, r3
	str	r3, [fp, #-64]
	ldr	r3, [fp, #-76]
	add	r3, r3, #1
	str	r3, [fp, #-76]
.L107:
	ldr	r3, [fp, #-100]
	sub	r3, r3, #1
	ldr	r2, [fp, #-76]
	cmp	r2, r3
	blt	.L109
	ldr	r2, [fp, #-96]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, #48
	ldr	r2, [fp, #-92]
	add	r3, r2, r3
	str	r3, [fp, #-68]
	ldr	r3, [fp, #-96]
	lsl	r3, r3, #4
	sub	r3, r3, #8
	ldr	r2, [fp, #-88]
	add	r3, r2, r3
	str	r3, [fp, #-64]
	mov	r3, #1
	str	r3, [fp, #-76]
	b	.L110
.L112:
	ldr	r3, [fp, #-68]
	ldrb	r3, [r3, #25]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L111
	ldr	r3, [fp, #-64]
	sub	r3, r3, #8
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-64]
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	wrap
	mov	r4, r0
	mov	r5, r1
	ldr	r3, [fp, #-64]
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-48]
	lsl	r3, r3, #3
	rsb	r3, r3, #0
	ldr	r2, [fp, #-64]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	wrap
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-96]
	lsl	r3, r3, #3
	rsb	r3, r3, #0
	ldr	r2, [fp, #-64]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-64]
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	wrap
	mov	r4, r0
	mov	r5, r1
	ldr	r3, [fp, #-64]
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-96]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-64]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	wrap
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-52]
	lsl	r3, r3, #3
	rsb	r3, r3, #0
	ldr	r2, [fp, #-64]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-64]
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	wrap
	mov	r4, r0
	mov	r5, r1
	ldr	r3, [fp, #-64]
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-64]
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	wrap
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-96]
	lsl	r2, r3, #4
	mvn	r3, #7
	sub	r3, r3, r2
	ldr	r2, [fp, #-64]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-64]
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	wrap
	mov	r4, r0
	mov	r5, r1
	ldr	r3, [fp, #-64]
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-48]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-64]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	wrap
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	sub	r3, fp, #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	r4, r2
	mov	r5, r3
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	sub	r1, fp, #28
	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	r4, r2
	mov	r5, r3
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	sub	r1, fp, #20
	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
	ldr	r1, [fp, #-68]
	str	r2, [r1, #16]
	str	r3, [r1, #20]
.L111:
	ldr	r2, [fp, #-96]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #4
	mov	r2, r3
	ldr	r3, [fp, #-68]
	add	r3, r3, r2
	str	r3, [fp, #-68]
	ldr	r3, [fp, #-96]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-64]
	add	r3, r2, r3
	str	r3, [fp, #-64]
	ldr	r3, [fp, #-76]
	add	r3, r3, #1
	str	r3, [fp, #-76]
.L110:
	ldr	r3, [fp, #-100]
	sub	r3, r3, #1
	ldr	r2, [fp, #-76]
	cmp	r2, r3
	blt	.L112
.L106:
	ldr	r3, [fp, #4]
	ldr	r3, [r3, #12]
	cmp	r3, #1
	bne	.L120
	ldr	r3, [fp, #-92]
	add	r3, r3, #48
	str	r3, [fp, #-60]
	ldr	r3, [fp, #-88]
	add	r3, r3, #8
	str	r3, [fp, #-56]
	mov	r3, #1
	str	r3, [fp, #-76]
	b	.L114
.L116:
	ldr	r3, [fp, #-60]
	ldrb	r3, [r3, #25]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L115
	ldr	r3, [fp, #-56]
	sub	r3, r3, #8
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-56]
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	wrap
	mov	r4, r0
	mov	r5, r1
	ldr	r3, [fp, #-56]
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-56]
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	wrap
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-100]
	sub	r3, r3, #1
	ldr	r2, [fp, #-96]
	mul	r3, r2, r3
	lsl	r3, r3, #3
	ldr	r2, [fp, #-56]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-56]
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	wrap
	mov	r4, r0
	mov	r5, r1
	ldr	r3, [fp, #-56]
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-96]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-56]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	wrap
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-100]
	sub	r3, r3, #1
	ldr	r2, [fp, #-96]
	mul	r3, r2, r3
	sub	r3, r3, #-536870911
	lsl	r3, r3, #3
	ldr	r2, [fp, #-56]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-56]
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	wrap
	mov	r4, r0
	mov	r5, r1
	ldr	r3, [fp, #-56]
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-52]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-56]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	wrap
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-100]
	sub	r3, r3, #1
	ldr	r2, [fp, #-96]
	mul	r3, r2, r3
	add	r3, r3, #1
	lsl	r3, r3, #3
	ldr	r2, [fp, #-56]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-56]
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	wrap
	mov	r4, r0
	mov	r5, r1
	ldr	r3, [fp, #-56]
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-48]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-56]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	wrap
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	sub	r3, fp, #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	r4, r2
	mov	r5, r3
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	sub	r1, fp, #28
	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	r4, r2
	mov	r5, r3
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	sub	r1, fp, #20
	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
	ldr	r1, [fp, #-60]
	str	r2, [r1, #16]
	str	r3, [r1, #20]
.L115:
	ldr	r3, [fp, #-60]
	add	r3, r3, #48
	str	r3, [fp, #-60]
	ldr	r3, [fp, #-56]
	add	r3, r3, #8
	str	r3, [fp, #-56]
	ldr	r3, [fp, #-76]
	add	r3, r3, #1
	str	r3, [fp, #-76]
.L114:
	ldr	r3, [fp, #-96]
	sub	r3, r3, #1
	ldr	r2, [fp, #-76]
	cmp	r2, r3
	blt	.L116
	ldr	r3, [fp, #-100]
	sub	r3, r3, #1
	ldr	r2, [fp, #-96]
	mul	r3, r2, r3
	add	r2, r3, #1
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #4
	mov	r2, r3
	ldr	r3, [fp, #-92]
	add	r3, r3, r2
	str	r3, [fp, #-60]
	ldr	r3, [fp, #-100]
	sub	r3, r3, #1
	ldr	r2, [fp, #-96]
	mul	r3, r2, r3
	add	r3, r3, #1
	lsl	r3, r3, #3
	ldr	r2, [fp, #-88]
	add	r3, r2, r3
	str	r3, [fp, #-56]
	mov	r3, #1
	str	r3, [fp, #-76]
	b	.L117
.L119:
	ldr	r3, [fp, #-60]
	ldrb	r3, [r3, #25]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L118
	ldr	r3, [fp, #-56]
	sub	r3, r3, #8
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-56]
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	wrap
	mov	r4, r0
	mov	r5, r1
	ldr	r3, [fp, #-56]
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-56]
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	wrap
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-96]
	lsl	r3, r3, #3
	rsb	r3, r3, #0
	ldr	r2, [fp, #-56]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-56]
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	wrap
	mov	r4, r0
	mov	r5, r1
	ldr	r3, [fp, #-56]
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-100]
	sub	r3, r3, #1
	ldr	r2, [fp, #-96]
	mul	r3, r2, r3
	lsl	r3, r3, #3
	rsb	r3, r3, #0
	ldr	r2, [fp, #-56]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	wrap
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-52]
	lsl	r3, r3, #3
	rsb	r3, r3, #0
	ldr	r2, [fp, #-56]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-56]
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	wrap
	mov	r4, r0
	mov	r5, r1
	ldr	r3, [fp, #-56]
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-100]
	sub	r3, r3, #1
	ldr	r2, [fp, #-96]
	mul	r3, r2, r3
	rsb	r3, r3, #1
	lsl	r3, r3, #3
	ldr	r2, [fp, #-56]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	wrap
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-48]
	lsl	r3, r3, #3
	rsb	r3, r3, #0
	ldr	r2, [fp, #-56]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-56]
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	wrap
	mov	r4, r0
	mov	r5, r1
	ldr	r3, [fp, #-56]
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-100]
	sub	r3, r3, #1
	ldr	r2, [fp, #-96]
	mul	r3, r2, r3
	mov	r2, r3
	mvn	r3, #-536870912
	sub	r3, r3, r2
	lsl	r3, r3, #3
	ldr	r2, [fp, #-56]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	wrap
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	sub	r3, fp, #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	r4, r2
	mov	r5, r3
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	sub	r1, fp, #28
	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	r4, r2
	mov	r5, r3
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	sub	r1, fp, #20
	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
	ldr	r1, [fp, #-60]
	str	r2, [r1, #16]
	str	r3, [r1, #20]
.L118:
	ldr	r3, [fp, #-60]
	add	r3, r3, #48
	str	r3, [fp, #-60]
	ldr	r3, [fp, #-56]
	add	r3, r3, #8
	str	r3, [fp, #-56]
	ldr	r3, [fp, #-76]
	add	r3, r3, #1
	str	r3, [fp, #-76]
.L117:
	ldr	r3, [fp, #-96]
	sub	r3, r3, #1
	ldr	r2, [fp, #-76]
	cmp	r2, r3
	blt	.L119
.L120:
	nop
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
	.size	calculate_reliability, .-calculate_reliability
	.align	2
	.global	horizontalEDGEs
	.syntax unified
	.arm
	.fpu softvfp
	.type	horizontalEDGEs, %function
horizontalEDGEs:
	@ args = 4, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	str	r2, [fp, #-40]
	str	r3, [fp, #-44]
	ldr	r3, [fp, #-36]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-32]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #4]
	ldr	r3, [r3, #16]
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L122
.L126:
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L123
.L125:
	ldr	r3, [fp, #-12]
	ldrb	r3, [r3, #24]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L124
	ldr	r3, [fp, #-12]
	add	r3, r3, #48
	ldrb	r3, [r3, #24]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L124
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-12]
	str	r2, [r3, #8]
	ldr	r3, [fp, #-12]
	add	r2, r3, #48
	ldr	r3, [fp, #-16]
	str	r2, [r3, #12]
	ldr	r3, [fp, #-12]
	add	r1, r3, #16
	ldmia	r1, {r0-r1}
	ldr	r3, [fp, #-12]
	add	r3, r3, #48
	add	r3, r3, #16
	ldmia	r3, {r2-r3}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	ldr	r1, [fp, #-16]
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-12]
	add	r1, r3, #8
	ldmia	r1, {r0-r1}
	ldr	r3, [fp, #-12]
	add	r3, r3, #48
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	bl	find_wrap
	mov	r2, r0
	ldr	r3, [fp, #-16]
	str	r2, [r3, #16]
	ldr	r3, [fp, #-16]
	add	r3, r3, #24
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L124:
	ldr	r3, [fp, #-12]
	add	r3, r3, #48
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L123:
	ldr	r3, [fp, #-40]
	sub	r3, r3, #1
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	blt	.L125
	ldr	r3, [fp, #-12]
	add	r3, r3, #48
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L122:
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-44]
	cmp	r2, r3
	blt	.L126
	ldr	r3, [fp, #4]
	ldr	r3, [r3, #8]
	cmp	r3, #1
	bne	.L127
	ldr	r2, [fp, #-40]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, #48
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L128
.L130:
	ldr	r3, [fp, #-12]
	ldrb	r3, [r3, #24]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L129
	ldr	r2, [fp, #-40]
	mov	r3, r2
	lsl	r2, r2, #2
	sub	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r3, #48
	ldr	r2, [fp, #-12]
	add	r3, r2, r3
	ldrb	r3, [r3, #24]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L129
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-12]
	str	r2, [r3, #8]
	ldr	r2, [fp, #-40]
	mov	r3, r2
	lsl	r2, r2, #2
	sub	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r3, #48
	ldr	r2, [fp, #-12]
	add	r2, r2, r3
	ldr	r3, [fp, #-16]
	str	r2, [r3, #12]
	ldr	r3, [fp, #-12]
	add	r1, r3, #16
	ldmia	r1, {r0-r1}
	ldr	r2, [fp, #-40]
	mov	r3, r2
	lsl	r2, r2, #2
	sub	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r3, #48
	ldr	r2, [fp, #-12]
	add	r3, r2, r3
	add	r3, r3, #16
	ldmia	r3, {r2-r3}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	ldr	r1, [fp, #-16]
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-12]
	add	r1, r3, #8
	ldmia	r1, {r0-r1}
	ldr	r2, [fp, #-40]
	mov	r3, r2
	lsl	r2, r2, #2
	sub	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r3, #48
	ldr	r2, [fp, #-12]
	add	r3, r2, r3
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	bl	find_wrap
	mov	r2, r0
	ldr	r3, [fp, #-16]
	str	r2, [r3, #16]
	ldr	r3, [fp, #-16]
	add	r3, r3, #24
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L129:
	ldr	r2, [fp, #-40]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #4
	mov	r2, r3
	ldr	r3, [fp, #-12]
	add	r3, r3, r2
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L128:
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-44]
	cmp	r2, r3
	blt	.L130
.L127:
	ldr	r3, [fp, #4]
	ldr	r2, [fp, #-8]
	str	r2, [r3, #16]
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	horizontalEDGEs, .-horizontalEDGEs
	.align	2
	.global	verticalEDGEs
	.syntax unified
	.arm
	.fpu softvfp
	.type	verticalEDGEs, %function
verticalEDGEs:
	@ args = 4, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	str	r2, [fp, #-40]
	str	r3, [fp, #-44]
	ldr	r3, [fp, #4]
	ldr	r3, [r3, #16]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-32]
	str	r3, [fp, #-12]
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-36]
	add	r3, r3, r2
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L132
.L136:
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L133
.L135:
	ldr	r3, [fp, #-12]
	ldrb	r3, [r3, #24]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L134
	ldr	r2, [fp, #-40]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #4
	mov	r2, r3
	ldr	r3, [fp, #-12]
	add	r3, r3, r2
	ldrb	r3, [r3, #24]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L134
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-12]
	str	r2, [r3, #8]
	ldr	r2, [fp, #-40]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #4
	mov	r2, r3
	ldr	r3, [fp, #-12]
	add	r2, r3, r2
	ldr	r3, [fp, #-8]
	str	r2, [r3, #12]
	ldr	r3, [fp, #-12]
	add	r1, r3, #16
	ldmia	r1, {r0-r1}
	ldr	r2, [fp, #-40]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #4
	mov	r2, r3
	ldr	r3, [fp, #-12]
	add	r3, r3, r2
	add	r3, r3, #16
	ldmia	r3, {r2-r3}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	ldr	r1, [fp, #-8]
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-12]
	add	r1, r3, #8
	ldmia	r1, {r0-r1}
	ldr	r2, [fp, #-40]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #4
	mov	r2, r3
	ldr	r3, [fp, #-12]
	add	r3, r3, r2
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	bl	find_wrap
	mov	r2, r0
	ldr	r3, [fp, #-8]
	str	r2, [r3, #16]
	ldr	r3, [fp, #-8]
	add	r3, r3, #24
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L134:
	ldr	r3, [fp, #-12]
	add	r3, r3, #48
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L133:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-40]
	cmp	r2, r3
	blt	.L135
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L132:
	ldr	r3, [fp, #-44]
	sub	r3, r3, #1
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	blt	.L136
	ldr	r3, [fp, #4]
	ldr	r3, [r3, #12]
	cmp	r3, #1
	bne	.L137
	ldr	r3, [fp, #-44]
	sub	r3, r3, #1
	ldr	r2, [fp, #-40]
	mul	r3, r2, r3
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #4
	mov	r2, r3
	ldr	r3, [fp, #-32]
	add	r3, r3, r2
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L138
.L140:
	ldr	r3, [fp, #-12]
	ldrb	r3, [r3, #24]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L139
	ldr	r3, [fp, #-44]
	sub	r3, r3, #1
	ldr	r2, [fp, #-40]
	mul	r3, r2, r3
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #4
	rsb	r3, r3, #0
	ldr	r2, [fp, #-12]
	add	r3, r2, r3
	ldrb	r3, [r3, #24]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L139
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-12]
	str	r2, [r3, #8]
	ldr	r3, [fp, #-44]
	sub	r3, r3, #1
	ldr	r2, [fp, #-40]
	mul	r3, r2, r3
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #4
	rsb	r3, r3, #0
	ldr	r2, [fp, #-12]
	add	r2, r2, r3
	ldr	r3, [fp, #-8]
	str	r2, [r3, #12]
	ldr	r3, [fp, #-12]
	add	r1, r3, #16
	ldmia	r1, {r0-r1}
	ldr	r3, [fp, #-44]
	sub	r3, r3, #1
	ldr	r2, [fp, #-40]
	mul	r3, r2, r3
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #4
	rsb	r3, r3, #0
	ldr	r2, [fp, #-12]
	add	r3, r2, r3
	add	r3, r3, #16
	ldmia	r3, {r2-r3}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	ldr	r1, [fp, #-8]
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-12]
	add	r1, r3, #8
	ldmia	r1, {r0-r1}
	ldr	r3, [fp, #-44]
	sub	r3, r3, #1
	ldr	r2, [fp, #-40]
	mul	r3, r2, r3
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #4
	rsb	r3, r3, #0
	ldr	r2, [fp, #-12]
	add	r3, r2, r3
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	bl	find_wrap
	mov	r2, r0
	ldr	r3, [fp, #-8]
	str	r2, [r3, #16]
	ldr	r3, [fp, #-8]
	add	r3, r3, #24
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L139:
	ldr	r3, [fp, #-12]
	add	r3, r3, #48
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L138:
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-40]
	cmp	r2, r3
	blt	.L140
.L137:
	ldr	r3, [fp, #4]
	ldr	r2, [fp, #-16]
	str	r2, [r3, #16]
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	verticalEDGEs, .-verticalEDGEs
	.align	2
	.global	gatherPIXELs
	.syntax unified
	.arm
	.fpu softvfp
	.type	gatherPIXELs, %function
gatherPIXELs:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #44
	str	r0, [fp, #-40]
	str	r1, [fp, #-44]
	ldr	r3, [fp, #-40]
	str	r3, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-32]
	b	.L142
.L151:
	ldr	r3, [fp, #-20]
	ldr	r3, [r3, #8]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-20]
	ldr	r3, [r3, #12]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	ldr	r2, [r3, #36]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #36]
	cmp	r2, r3
	beq	.L143
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #44]
	cmp	r3, #0
	bne	.L144
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #36]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	bne	.L144
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #36]
	ldr	r3, [r3, #40]
	ldr	r2, [fp, #-12]
	str	r2, [r3, #44]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #36]
	ldr	r2, [fp, #-12]
	str	r2, [r3, #40]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #36]
	ldr	r2, [r3, #4]
	add	r2, r2, #1
	str	r2, [r3, #4]
	ldr	r3, [fp, #-16]
	ldr	r2, [r3, #36]
	ldr	r3, [fp, #-12]
	str	r2, [r3, #36]
	ldr	r3, [fp, #-16]
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	ldr	r3, [r3, #16]
	sub	r2, r2, r3
	ldr	r3, [fp, #-12]
	str	r2, [r3]
	b	.L143
.L144:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #44]
	cmp	r3, #0
	bne	.L145
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #36]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	bne	.L145
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #36]
	ldr	r3, [r3, #40]
	ldr	r2, [fp, #-16]
	str	r2, [r3, #44]
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #36]
	ldr	r2, [fp, #-16]
	str	r2, [r3, #40]
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #36]
	ldr	r2, [r3, #4]
	add	r2, r2, #1
	str	r2, [r3, #4]
	ldr	r3, [fp, #-12]
	ldr	r2, [r3, #36]
	ldr	r3, [fp, #-16]
	str	r2, [r3, #36]
	ldr	r3, [fp, #-12]
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	ldr	r3, [r3, #16]
	add	r2, r2, r3
	ldr	r3, [fp, #-16]
	str	r2, [r3]
	b	.L143
.L145:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #36]
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #36]
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-28]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #4]
	cmp	r2, r3
	ble	.L146
	ldr	r3, [fp, #-28]
	ldr	r3, [r3, #40]
	ldr	r2, [fp, #-24]
	str	r2, [r3, #44]
	ldr	r3, [fp, #-24]
	ldr	r2, [r3, #40]
	ldr	r3, [fp, #-28]
	str	r2, [r3, #40]
	ldr	r3, [fp, #-28]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #4]
	add	r2, r2, r3
	ldr	r3, [fp, #-28]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-16]
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	ldr	r3, [r3, #16]
	sub	r2, r2, r3
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	sub	r3, r2, r3
	str	r3, [fp, #-8]
	b	.L147
.L148:
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-28]
	str	r2, [r3, #36]
	ldr	r3, [fp, #-24]
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r2, r2, r3
	ldr	r3, [fp, #-24]
	str	r2, [r3]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #44]
	str	r3, [fp, #-24]
.L147:
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bne	.L148
	b	.L143
.L146:
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #40]
	ldr	r2, [fp, #-28]
	str	r2, [r3, #44]
	ldr	r3, [fp, #-28]
	ldr	r2, [r3, #40]
	ldr	r3, [fp, #-24]
	str	r2, [r3, #40]
	ldr	r3, [fp, #-24]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-28]
	ldr	r3, [r3, #4]
	add	r2, r2, r3
	ldr	r3, [fp, #-24]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-12]
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	ldr	r3, [r3, #16]
	add	r2, r2, r3
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	sub	r3, r2, r3
	str	r3, [fp, #-8]
	b	.L149
.L150:
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-24]
	str	r2, [r3, #36]
	ldr	r3, [fp, #-28]
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r2, r2, r3
	ldr	r3, [fp, #-28]
	str	r2, [r3]
	ldr	r3, [fp, #-28]
	ldr	r3, [r3, #44]
	str	r3, [fp, #-28]
.L149:
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	bne	.L150
.L143:
	ldr	r3, [fp, #-20]
	add	r3, r3, #24
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L142:
	ldr	r3, [fp, #-44]
	ldr	r3, [r3, #16]
	ldr	r2, [fp, #-32]
	cmp	r2, r3
	blt	.L151
	nop
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	gatherPIXELs, .-gatherPIXELs
	.align	2
	.global	unwrapImage
	.syntax unified
	.arm
	.fpu softvfp
	.type	unwrapImage, %function
unwrapImage:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #32
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	str	r2, [fp, #-40]
	ldr	r3, [fp, #-36]
	ldr	r2, [fp, #-40]
	mul	r3, r2, r3
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-32]
	str	r3, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L153
.L154:
	ldr	r3, [fp, #-20]
	add	r5, r3, #8
	ldmia	r5, {r4-r5}
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	mov	r0, r3
	bl	__aeabi_i2d
	ldr	r2, .L155
	ldr	r3, .L155+4
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	ldr	r1, [fp, #-20]
	str	r2, [r1, #8]
	str	r3, [r1, #12]
	ldr	r3, [fp, #-20]
	add	r3, r3, #48
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L153:
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-16]
	cmp	r2, r3
	blt	.L154
	nop
	nop
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L156:
	.align	2
.L155:
	.word	1413754136
	.word	1075388923
	.size	unwrapImage, .-unwrapImage
	.align	2
	.global	maskImage
	.syntax unified
	.arm
	.fpu softvfp
	.type	maskImage, %function
maskImage:
	@ args = 0, pretend = 0, frame = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #56
	str	r0, [fp, #-48]
	str	r1, [fp, #-52]
	str	r2, [fp, #-56]
	str	r3, [fp, #-60]
	ldr	r3, [fp, #-56]
	add	r3, r3, #1
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-60]
	add	r3, r3, #1
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-56]
	sub	r3, r3, #1
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-60]
	sub	r3, r3, #1
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-48]
	str	r3, [fp, #-44]
	ldr	r3, [fp, #-52]
	str	r3, [fp, #-40]
	mov	r2, #-67108864
	ldr	r3, .L166
	str	r2, [fp, #-12]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-56]
	ldr	r2, [fp, #-60]
	mul	r3, r2, r3
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-36]
	b	.L158
.L161:
	ldr	r3, [fp, #-44]
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	sub	r1, fp, #12
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L159
	ldr	r3, [fp, #-40]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L159
	ldr	r3, [fp, #-44]
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-12]
	str	r3, [fp, #-8]
.L159:
	ldr	r3, [fp, #-44]
	add	r3, r3, #48
	str	r3, [fp, #-44]
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L158:
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-16]
	cmp	r2, r3
	blt	.L161
	ldr	r3, [fp, #-48]
	str	r3, [fp, #-44]
	ldr	r3, [fp, #-52]
	str	r3, [fp, #-40]
	mov	r3, #0
	str	r3, [fp, #-36]
	b	.L162
.L164:
	ldr	r3, [fp, #-40]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #1
	bne	.L163
	ldr	r1, [fp, #-44]
	sub	r3, fp, #12
	ldmia	r3, {r2-r3}
	str	r2, [r1, #8]
	str	r3, [r1, #12]
.L163:
	ldr	r3, [fp, #-44]
	add	r3, r3, #48
	str	r3, [fp, #-44]
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L162:
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-16]
	cmp	r2, r3
	blt	.L164
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L167:
	.align	2
.L166:
	.word	1100470147
	.size	maskImage, .-maskImage
	.align	2
	.global	returnImage
	.syntax unified
	.arm
	.fpu softvfp
	.type	returnImage, %function
returnImage:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #36
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	str	r2, [fp, #-32]
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-32]
	ldr	r2, [fp, #-36]
	mul	r3, r2, r3
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-28]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-24]
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L169
.L170:
	ldr	r3, [fp, #-12]
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	ldr	r1, [fp, #-16]
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-12]
	add	r3, r3, #48
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-16]
	add	r3, r3, #8
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L169:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-8]
	cmp	r2, r3
	blt	.L170
	nop
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	returnImage, .-returnImage
	.section	.rodata
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	unwrap2D
	.syntax unified
	.arm
	.fpu softvfp
	.type	unwrap2D, %function
unwrap2D:
	@ args = 12, pretend = 0, frame = 72
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #80
	str	r0, [fp, #-64]
	str	r1, [fp, #-68]
	str	r2, [fp, #-72]
	str	r3, [fp, #-76]
	ldr	r3, .L173
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r2, .L173+4
	ldr	r3, .L173+8
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	ldr	r3, [fp, #8]
	str	r3, [fp, #-28]
	ldr	r3, [fp, #12]
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-20]
	ldr	r3, [fp, #4]
	ldr	r2, [fp, #-76]
	mul	r3, r2, r3
	str	r3, [fp, #-56]
	ldr	r3, [fp, #-76]
	ldr	r2, [fp, #4]
	mul	r3, r2, r3
	lsl	r3, r3, #1
	str	r3, [fp, #-52]
	ldr	r3, [fp, #-56]
	mov	r1, #1
	mov	r0, r3
	bl	calloc
	mov	r3, r0
	str	r3, [fp, #-48]
	ldr	r3, [fp, #-56]
	mov	r1, #48
	mov	r0, r3
	bl	calloc
	mov	r3, r0
	str	r3, [fp, #-44]
	ldr	r3, [fp, #-52]
	mov	r1, #24
	mov	r0, r3
	bl	calloc
	mov	r3, r0
	str	r3, [fp, #-40]
	sub	r3, fp, #36
	str	r3, [sp]
	ldr	r3, [fp, #4]
	ldr	r2, [fp, #-76]
	ldr	r1, [fp, #-48]
	ldr	r0, [fp, #-72]
	bl	extend_mask
	ldr	r3, [fp, #4]
	str	r3, [sp, #4]
	ldr	r3, [fp, #-76]
	str	r3, [sp]
	ldr	r3, [fp, #-44]
	ldr	r2, [fp, #-48]
	ldr	r1, [fp, #-72]
	ldr	r0, [fp, #-64]
	bl	initialisePIXELs
	sub	r3, fp, #36
	str	r3, [sp]
	ldr	r3, [fp, #4]
	ldr	r2, [fp, #-76]
	ldr	r1, [fp, #-44]
	ldr	r0, [fp, #-64]
	bl	calculate_reliability
	sub	r3, fp, #36
	str	r3, [sp]
	ldr	r3, [fp, #4]
	ldr	r2, [fp, #-76]
	ldr	r1, [fp, #-40]
	ldr	r0, [fp, #-44]
	bl	horizontalEDGEs
	sub	r3, fp, #36
	str	r3, [sp]
	ldr	r3, [fp, #4]
	ldr	r2, [fp, #-76]
	ldr	r1, [fp, #-40]
	ldr	r0, [fp, #-44]
	bl	verticalEDGEs
	ldr	r3, [fp, #-20]
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, #24
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	mov	r1, r3
	ldr	r0, [fp, #-40]
	bl	quicker_sort
	sub	r3, fp, #36
	mov	r1, r3
	ldr	r0, [fp, #-40]
	bl	gatherPIXELs
	ldr	r2, [fp, #4]
	ldr	r1, [fp, #-76]
	ldr	r0, [fp, #-44]
	bl	unwrapImage
	ldr	r3, [fp, #4]
	ldr	r2, [fp, #-76]
	ldr	r1, [fp, #-72]
	ldr	r0, [fp, #-44]
	bl	maskImage
	ldr	r3, [fp, #4]
	ldr	r2, [fp, #-76]
	ldr	r1, [fp, #-68]
	ldr	r0, [fp, #-44]
	bl	returnImage
	ldr	r0, [fp, #-40]
	bl	free
	ldr	r0, [fp, #-44]
	bl	free
	ldr	r0, [fp, #-48]
	bl	free
	nop
	ldr	r3, .L173
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L172
	bl	__stack_chk_fail
.L172:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L174:
	.align	2
.L173:
	.word	.LC1
	.word	1413754136
	.word	1075388923
	.size	unwrap2D, .-unwrap2D
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
