	.file	"970733.c"
	.intel_syntax noprefix
	.text
	.type	_mm_malloc, @function
_mm_malloc:
.LFB135:
	.cfi_startproc
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	cmp	QWORD PTR -32[rbp], 1
	jne	.L2
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	malloc@PLT
	jmp	.L7
.L2:
	cmp	QWORD PTR -32[rbp], 2
	je	.L4
	cmp	QWORD PTR -32[rbp], 4
	jne	.L5
.L4:
	mov	QWORD PTR -32[rbp], 8
.L5:
	mov	rdx, QWORD PTR -24[rbp]
	mov	rcx, QWORD PTR -32[rbp]
	lea	rax, -16[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	posix_memalign@PLT
	test	eax, eax
	jne	.L6
	mov	rax, QWORD PTR -16[rbp]
	jmp	.L7
.L6:
	mov	eax, 0
.L7:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L8
	call	__stack_chk_fail@PLT
.L8:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE135:
	.size	_mm_malloc, .-_mm_malloc
	.type	_mm_free, @function
_mm_free:
.LFB136:
	.cfi_startproc
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	free@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE136:
	.size	_mm_free, .-_mm_free
	.type	histogram_add, @function
histogram_add:
.LFB505:
	.cfi_startproc
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -72[rbp], rdi
	mov	QWORD PTR -80[rbp], rsi
	mov	rax, QWORD PTR -72[rbp]
	movdqa	xmm0, XMMWORD PTR [rax]
	mov	rax, QWORD PTR -80[rbp]
	movdqa	xmm1, XMMWORD PTR [rax]
	movaps	XMMWORD PTR -32[rbp], xmm1
	movaps	XMMWORD PTR -16[rbp], xmm0
	movdqa	xmm1, XMMWORD PTR -32[rbp]
	movdqa	xmm0, XMMWORD PTR -16[rbp]
	paddw	xmm0, xmm1
	mov	rax, QWORD PTR -80[rbp]
	movaps	XMMWORD PTR [rax], xmm0
	mov	rax, QWORD PTR -72[rbp]
	add	rax, 16
	movdqa	xmm0, XMMWORD PTR [rax]
	mov	rax, QWORD PTR -80[rbp]
	add	rax, 16
	movdqa	xmm1, XMMWORD PTR [rax]
	mov	rax, QWORD PTR -80[rbp]
	add	rax, 16
	movaps	XMMWORD PTR -64[rbp], xmm1
	movaps	XMMWORD PTR -48[rbp], xmm0
	movdqa	xmm1, XMMWORD PTR -64[rbp]
	movdqa	xmm0, XMMWORD PTR -48[rbp]
	paddw	xmm0, xmm1
	movaps	XMMWORD PTR [rax], xmm0
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE505:
	.size	histogram_add, .-histogram_add
	.type	histogram_sub, @function
histogram_sub:
.LFB506:
	.cfi_startproc
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -72[rbp], rdi
	mov	QWORD PTR -80[rbp], rsi
	mov	rax, QWORD PTR -72[rbp]
	movdqa	xmm0, XMMWORD PTR [rax]
	mov	rax, QWORD PTR -80[rbp]
	movdqa	xmm1, XMMWORD PTR [rax]
	movaps	XMMWORD PTR -32[rbp], xmm1
	movaps	XMMWORD PTR -16[rbp], xmm0
	movdqa	xmm0, XMMWORD PTR -32[rbp]
	movdqa	xmm1, XMMWORD PTR -16[rbp]
	psubw	xmm0, xmm1
	mov	rax, QWORD PTR -80[rbp]
	movaps	XMMWORD PTR [rax], xmm0
	mov	rax, QWORD PTR -72[rbp]
	add	rax, 16
	movdqa	xmm0, XMMWORD PTR [rax]
	mov	rax, QWORD PTR -80[rbp]
	add	rax, 16
	movdqa	xmm1, XMMWORD PTR [rax]
	mov	rax, QWORD PTR -80[rbp]
	add	rax, 16
	movaps	XMMWORD PTR -64[rbp], xmm1
	movaps	XMMWORD PTR -48[rbp], xmm0
	movdqa	xmm0, XMMWORD PTR -64[rbp]
	movdqa	xmm1, XMMWORD PTR -48[rbp]
	psubw	xmm0, xmm1
	movaps	XMMWORD PTR [rax], xmm0
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE506:
	.size	histogram_sub, .-histogram_sub
	.type	histogram_muladd, @function
histogram_muladd:
.LFB507:
	.cfi_startproc
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, edi
	mov	QWORD PTR -32[rbp], rsi
	mov	QWORD PTR -40[rbp], rdx
	mov	WORD PTR -20[rbp], ax
	mov	DWORD PTR -4[rbp], 0
	jmp	.L17
.L18:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, [rax+rax]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	ecx, WORD PTR [rax]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, [rax+rax]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	imul	ax, WORD PTR -20[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rsi, [rax+rax]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rsi
	add	edx, ecx
	mov	WORD PTR [rax], dx
	add	DWORD PTR -4[rbp], 1
.L17:
	cmp	DWORD PTR -4[rbp], 15
	jle	.L18
	nop
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE507:
	.size	histogram_muladd, .-histogram_muladd
	.section	.rodata
.LC0:
	.string	"the_stack_data/970733.c"
.LC1:
	.string	"src"
.LC2:
	.string	"dst"
.LC3:
	.string	"r >= 0"
.LC4:
	.string	"width >= 2*r+1"
.LC5:
	.string	"height >= 2*r+1"
.LC6:
	.string	"src_step != 0"
.LC7:
	.string	"dst_step != 0"
.LC8:
	.string	"k < 16"
.LC9:
	.string	"b < 16"
	.text
	.type	ctmf_helper, @function
ctmf_helper:
.LFB508:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 2432
	mov	QWORD PTR -2408[rbp], rdi
	mov	QWORD PTR -2416[rbp], rsi
	mov	DWORD PTR -2420[rbp], edx
	mov	DWORD PTR -2424[rbp], ecx
	mov	DWORD PTR -2428[rbp], r8d
	mov	DWORD PTR -2432[rbp], r9d
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	eax, DWORD PTR -2424[rbp]
	mov	DWORD PTR -2368[rbp], eax
	mov	eax, DWORD PTR -2420[rbp]
	mov	DWORD PTR -2364[rbp], eax
	cmp	QWORD PTR -2408[rbp], 0
	jne	.L20
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 223
	lea	rsi, .LC0[rip]
	lea	rdi, .LC1[rip]
	call	__assert_fail@PLT
.L20:
	cmp	QWORD PTR -2416[rbp], 0
	jne	.L21
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 224
	lea	rsi, .LC0[rip]
	lea	rdi, .LC2[rip]
	call	__assert_fail@PLT
.L21:
	cmp	DWORD PTR 16[rbp], 0
	jns	.L22
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 225
	lea	rsi, .LC0[rip]
	lea	rdi, .LC3[rip]
	call	__assert_fail@PLT
.L22:
	mov	eax, DWORD PTR 16[rbp]
	add	eax, eax
	cmp	DWORD PTR -2420[rbp], eax
	jg	.L23
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 226
	lea	rsi, .LC0[rip]
	lea	rdi, .LC4[rip]
	call	__assert_fail@PLT
.L23:
	mov	eax, DWORD PTR 16[rbp]
	add	eax, eax
	cmp	DWORD PTR -2424[rbp], eax
	jg	.L24
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 227
	lea	rsi, .LC0[rip]
	lea	rdi, .LC5[rip]
	call	__assert_fail@PLT
.L24:
	cmp	DWORD PTR -2428[rbp], 0
	jne	.L25
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 228
	lea	rsi, .LC0[rip]
	lea	rdi, .LC6[rip]
	call	__assert_fail@PLT
.L25:
	cmp	DWORD PTR -2432[rbp], 0
	jne	.L26
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 229
	lea	rsi, .LC0[rip]
	lea	rdi, .LC7[rip]
	call	__assert_fail@PLT
.L26:
	mov	eax, DWORD PTR -2364[rbp]
	imul	eax, DWORD PTR 24[rbp]
	sal	eax, 4
	cdqe
	add	rax, rax
	mov	esi, 16
	mov	rdi, rax
	call	_mm_malloc
	mov	QWORD PTR -2352[rbp], rax
	mov	eax, DWORD PTR -2364[rbp]
	imul	eax, DWORD PTR 24[rbp]
	sal	eax, 8
	cdqe
	add	rax, rax
	mov	esi, 16
	mov	rdi, rax
	call	_mm_malloc
	mov	QWORD PTR -2344[rbp], rax
	mov	eax, DWORD PTR -2364[rbp]
	imul	eax, DWORD PTR 24[rbp]
	sal	eax, 4
	cdqe
	lea	rdx, [rax+rax]
	mov	rax, QWORD PTR -2352[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	eax, DWORD PTR -2364[rbp]
	imul	eax, DWORD PTR 24[rbp]
	sal	eax, 8
	cdqe
	lea	rdx, [rax+rax]
	mov	rax, QWORD PTR -2344[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	DWORD PTR -2384[rbp], 0
	jmp	.L27
.L30:
	mov	DWORD PTR -2376[rbp], 0
	jmp	.L28
.L29:
	mov	eax, DWORD PTR -2364[rbp]
	imul	eax, DWORD PTR -2376[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -2384[rbp]
	add	eax, edx
	sal	eax, 4
	mov	ecx, eax
	mov	eax, DWORD PTR 24[rbp]
	imul	eax, DWORD PTR -2384[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -2376[rbp]
	add	eax, edx
	movsx	rdx, eax
	mov	rax, QWORD PTR -2408[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	shr	al, 4
	movzx	eax, al
	add	eax, ecx
	cdqe
	lea	rdx, [rax+rax]
	mov	rax, QWORD PTR -2352[rbp]
	add	rax, rdx
	movzx	edx, WORD PTR [rax]
	mov	eax, DWORD PTR 16[rbp]
	add	edx, eax
	mov	eax, DWORD PTR -2364[rbp]
	imul	eax, DWORD PTR -2376[rbp]
	mov	ecx, eax
	mov	eax, DWORD PTR -2384[rbp]
	add	eax, ecx
	sal	eax, 4
	mov	esi, eax
	mov	eax, DWORD PTR 24[rbp]
	imul	eax, DWORD PTR -2384[rbp]
	mov	ecx, eax
	mov	eax, DWORD PTR -2376[rbp]
	add	eax, ecx
	movsx	rcx, eax
	mov	rax, QWORD PTR -2408[rbp]
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	shr	al, 4
	movzx	eax, al
	add	eax, esi
	cdqe
	lea	rcx, [rax+rax]
	mov	rax, QWORD PTR -2352[rbp]
	add	rax, rcx
	add	edx, 1
	mov	WORD PTR [rax], dx
	mov	eax, DWORD PTR -2376[rbp]
	sal	eax, 4
	mov	ecx, eax
	mov	eax, DWORD PTR 24[rbp]
	imul	eax, DWORD PTR -2384[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -2376[rbp]
	add	eax, edx
	movsx	rdx, eax
	mov	rax, QWORD PTR -2408[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	shr	al, 4
	movzx	eax, al
	add	eax, ecx
	imul	eax, DWORD PTR -2364[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -2384[rbp]
	add	eax, edx
	sal	eax, 4
	mov	ecx, eax
	mov	eax, DWORD PTR 24[rbp]
	imul	eax, DWORD PTR -2384[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -2376[rbp]
	add	eax, edx
	movsx	rdx, eax
	mov	rax, QWORD PTR -2408[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	and	eax, 15
	add	eax, ecx
	cdqe
	lea	rdx, [rax+rax]
	mov	rax, QWORD PTR -2344[rbp]
	add	rax, rdx
	movzx	edx, WORD PTR [rax]
	mov	eax, DWORD PTR 16[rbp]
	add	edx, eax
	mov	eax, DWORD PTR -2376[rbp]
	sal	eax, 4
	mov	esi, eax
	mov	eax, DWORD PTR 24[rbp]
	imul	eax, DWORD PTR -2384[rbp]
	mov	ecx, eax
	mov	eax, DWORD PTR -2376[rbp]
	add	eax, ecx
	movsx	rcx, eax
	mov	rax, QWORD PTR -2408[rbp]
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	shr	al, 4
	movzx	eax, al
	add	eax, esi
	imul	eax, DWORD PTR -2364[rbp]
	mov	ecx, eax
	mov	eax, DWORD PTR -2384[rbp]
	add	eax, ecx
	sal	eax, 4
	mov	esi, eax
	mov	eax, DWORD PTR 24[rbp]
	imul	eax, DWORD PTR -2384[rbp]
	mov	ecx, eax
	mov	eax, DWORD PTR -2376[rbp]
	add	eax, ecx
	movsx	rcx, eax
	mov	rax, QWORD PTR -2408[rbp]
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	and	eax, 15
	add	eax, esi
	cdqe
	lea	rcx, [rax+rax]
	mov	rax, QWORD PTR -2344[rbp]
	add	rax, rcx
	add	edx, 1
	mov	WORD PTR [rax], dx
	add	DWORD PTR -2376[rbp], 1
.L28:
	mov	eax, DWORD PTR -2376[rbp]
	cmp	eax, DWORD PTR 24[rbp]
	jl	.L29
	add	DWORD PTR -2384[rbp], 1
.L27:
	mov	eax, DWORD PTR -2384[rbp]
	cmp	eax, DWORD PTR -2364[rbp]
	jl	.L30
	mov	DWORD PTR -2388[rbp], 0
	jmp	.L31
.L36:
	mov	DWORD PTR -2384[rbp], 0
	jmp	.L32
.L35:
	mov	DWORD PTR -2376[rbp], 0
	jmp	.L33
.L34:
	mov	eax, DWORD PTR -2364[rbp]
	imul	eax, DWORD PTR -2376[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -2384[rbp]
	add	eax, edx
	sal	eax, 4
	mov	ecx, eax
	mov	eax, DWORD PTR -2428[rbp]
	imul	eax, DWORD PTR -2388[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR 24[rbp]
	imul	eax, DWORD PTR -2384[rbp]
	add	edx, eax
	mov	eax, DWORD PTR -2376[rbp]
	add	eax, edx
	movsx	rdx, eax
	mov	rax, QWORD PTR -2408[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	shr	al, 4
	movzx	eax, al
	add	eax, ecx
	cdqe
	lea	rdx, [rax+rax]
	mov	rax, QWORD PTR -2352[rbp]
	add	rax, rdx
	movzx	edx, WORD PTR [rax]
	add	edx, 1
	mov	WORD PTR [rax], dx
	mov	eax, DWORD PTR -2376[rbp]
	sal	eax, 4
	mov	ecx, eax
	mov	eax, DWORD PTR -2428[rbp]
	imul	eax, DWORD PTR -2388[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR 24[rbp]
	imul	eax, DWORD PTR -2384[rbp]
	add	edx, eax
	mov	eax, DWORD PTR -2376[rbp]
	add	eax, edx
	movsx	rdx, eax
	mov	rax, QWORD PTR -2408[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	shr	al, 4
	movzx	eax, al
	add	eax, ecx
	imul	eax, DWORD PTR -2364[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -2384[rbp]
	add	eax, edx
	sal	eax, 4
	mov	ecx, eax
	mov	eax, DWORD PTR -2428[rbp]
	imul	eax, DWORD PTR -2388[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR 24[rbp]
	imul	eax, DWORD PTR -2384[rbp]
	add	edx, eax
	mov	eax, DWORD PTR -2376[rbp]
	add	eax, edx
	movsx	rdx, eax
	mov	rax, QWORD PTR -2408[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	and	eax, 15
	add	eax, ecx
	cdqe
	lea	rdx, [rax+rax]
	mov	rax, QWORD PTR -2344[rbp]
	add	rax, rdx
	movzx	edx, WORD PTR [rax]
	add	edx, 1
	mov	WORD PTR [rax], dx
	add	DWORD PTR -2376[rbp], 1
.L33:
	mov	eax, DWORD PTR -2376[rbp]
	cmp	eax, DWORD PTR 24[rbp]
	jl	.L34
	add	DWORD PTR -2384[rbp], 1
.L32:
	mov	eax, DWORD PTR -2384[rbp]
	cmp	eax, DWORD PTR -2364[rbp]
	jl	.L35
	add	DWORD PTR -2388[rbp], 1
.L31:
	mov	eax, DWORD PTR -2388[rbp]
	cmp	eax, DWORD PTR 16[rbp]
	jl	.L36
	mov	DWORD PTR -2388[rbp], 0
	jmp	.L37
.L89:
	mov	eax, DWORD PTR -2388[rbp]
	sub	eax, DWORD PTR 16[rbp]
	mov	edx, 1
	test	eax, eax
	cmovle	eax, edx
	sub	eax, 1
	imul	eax, DWORD PTR -2428[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -2408[rbp]
	add	rax, rdx
	mov	QWORD PTR -2360[rbp], rax
	mov	eax, DWORD PTR 24[rbp]
	imul	eax, DWORD PTR -2364[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -2360[rbp]
	add	rax, rdx
	mov	QWORD PTR -2336[rbp], rax
	mov	DWORD PTR -2384[rbp], 0
	jmp	.L38
.L41:
	mov	DWORD PTR -2376[rbp], 0
	jmp	.L39
.L40:
	mov	eax, DWORD PTR -2364[rbp]
	imul	eax, DWORD PTR -2376[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -2384[rbp]
	add	eax, edx
	sal	eax, 4
	mov	edx, eax
	mov	rax, QWORD PTR -2360[rbp]
	movzx	eax, BYTE PTR [rax]
	shr	al, 4
	movzx	eax, al
	add	eax, edx
	cdqe
	lea	rdx, [rax+rax]
	mov	rax, QWORD PTR -2352[rbp]
	add	rax, rdx
	movzx	edx, WORD PTR [rax]
	sub	edx, 1
	mov	WORD PTR [rax], dx
	mov	eax, DWORD PTR -2376[rbp]
	sal	eax, 4
	mov	edx, eax
	mov	rax, QWORD PTR -2360[rbp]
	movzx	eax, BYTE PTR [rax]
	shr	al, 4
	movzx	eax, al
	add	eax, edx
	imul	eax, DWORD PTR -2364[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -2384[rbp]
	add	eax, edx
	sal	eax, 4
	mov	edx, eax
	mov	rax, QWORD PTR -2360[rbp]
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	and	eax, 15
	add	eax, edx
	cdqe
	lea	rdx, [rax+rax]
	mov	rax, QWORD PTR -2344[rbp]
	add	rax, rdx
	movzx	edx, WORD PTR [rax]
	sub	edx, 1
	mov	WORD PTR [rax], dx
	add	DWORD PTR -2376[rbp], 1
	add	QWORD PTR -2360[rbp], 1
.L39:
	mov	eax, DWORD PTR -2376[rbp]
	cmp	eax, DWORD PTR 24[rbp]
	jl	.L40
	add	DWORD PTR -2384[rbp], 1
.L38:
	mov	rax, QWORD PTR -2360[rbp]
	cmp	rax, QWORD PTR -2336[rbp]
	jne	.L41
	mov	eax, DWORD PTR -2368[rbp]
	lea	edx, -1[rax]
	mov	ecx, DWORD PTR -2388[rbp]
	mov	eax, DWORD PTR 16[rbp]
	add	eax, ecx
	cmp	edx, eax
	cmovle	eax, edx
	imul	eax, DWORD PTR -2428[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -2408[rbp]
	add	rax, rdx
	mov	QWORD PTR -2360[rbp], rax
	mov	eax, DWORD PTR 24[rbp]
	imul	eax, DWORD PTR -2364[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -2360[rbp]
	add	rax, rdx
	mov	QWORD PTR -2336[rbp], rax
	mov	DWORD PTR -2384[rbp], 0
	jmp	.L42
.L45:
	mov	DWORD PTR -2376[rbp], 0
	jmp	.L43
.L44:
	mov	eax, DWORD PTR -2364[rbp]
	imul	eax, DWORD PTR -2376[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -2384[rbp]
	add	eax, edx
	sal	eax, 4
	mov	edx, eax
	mov	rax, QWORD PTR -2360[rbp]
	movzx	eax, BYTE PTR [rax]
	shr	al, 4
	movzx	eax, al
	add	eax, edx
	cdqe
	lea	rdx, [rax+rax]
	mov	rax, QWORD PTR -2352[rbp]
	add	rax, rdx
	movzx	edx, WORD PTR [rax]
	add	edx, 1
	mov	WORD PTR [rax], dx
	mov	eax, DWORD PTR -2376[rbp]
	sal	eax, 4
	mov	edx, eax
	mov	rax, QWORD PTR -2360[rbp]
	movzx	eax, BYTE PTR [rax]
	shr	al, 4
	movzx	eax, al
	add	eax, edx
	imul	eax, DWORD PTR -2364[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -2384[rbp]
	add	eax, edx
	sal	eax, 4
	mov	edx, eax
	mov	rax, QWORD PTR -2360[rbp]
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	and	eax, 15
	add	eax, edx
	cdqe
	lea	rdx, [rax+rax]
	mov	rax, QWORD PTR -2344[rbp]
	add	rax, rdx
	movzx	edx, WORD PTR [rax]
	add	edx, 1
	mov	WORD PTR [rax], dx
	add	DWORD PTR -2376[rbp], 1
	add	QWORD PTR -2360[rbp], 1
.L43:
	mov	eax, DWORD PTR -2376[rbp]
	cmp	eax, DWORD PTR 24[rbp]
	jl	.L44
	add	DWORD PTR -2384[rbp], 1
.L42:
	mov	rax, QWORD PTR -2360[rbp]
	cmp	rax, QWORD PTR -2336[rbp]
	jne	.L45
	mov	eax, DWORD PTR 24[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	add	rax, rdx
	sal	rax, 5
	mov	rdx, rax
	lea	rax, -2192[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	eax, DWORD PTR 24[rbp]
	cdqe
	sal	rax, 5
	mov	rdx, rax
	lea	rax, -2320[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	cmp	DWORD PTR 32[rbp], 0
	je	.L46
	mov	DWORD PTR -2376[rbp], 0
	jmp	.L47
.L48:
	lea	rcx, -2192[rbp]
	mov	eax, DWORD PTR -2376[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	add	rax, rdx
	sal	rax, 5
	lea	rdx, [rcx+rax]
	mov	eax, DWORD PTR -2364[rbp]
	imul	eax, DWORD PTR -2376[rbp]
	sal	eax, 4
	cdqe
	lea	rcx, [rax+rax]
	mov	rax, QWORD PTR -2352[rbp]
	add	rcx, rax
	mov	eax, DWORD PTR 16[rbp]
	movzx	eax, ax
	mov	rsi, rcx
	mov	edi, eax
	call	histogram_muladd
	add	DWORD PTR -2376[rbp], 1
.L47:
	mov	eax, DWORD PTR -2376[rbp]
	cmp	eax, DWORD PTR 24[rbp]
	jl	.L48
.L46:
	mov	DWORD PTR -2384[rbp], 0
	jmp	.L49
.L54:
	mov	DWORD PTR -2376[rbp], 0
	jmp	.L50
.L51:
	lea	rcx, -2192[rbp]
	mov	eax, DWORD PTR -2376[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	add	rax, rdx
	sal	rax, 5
	lea	rdx, [rcx+rax]
	mov	eax, DWORD PTR -2364[rbp]
	imul	eax, DWORD PTR -2376[rbp]
	mov	ecx, eax
	mov	eax, DWORD PTR -2384[rbp]
	add	eax, ecx
	sal	eax, 4
	cdqe
	lea	rcx, [rax+rax]
	mov	rax, QWORD PTR -2352[rbp]
	add	rax, rcx
	mov	rsi, rdx
	mov	rdi, rax
	call	histogram_add
	add	DWORD PTR -2376[rbp], 1
.L50:
	mov	eax, DWORD PTR -2376[rbp]
	cmp	eax, DWORD PTR 24[rbp]
	jl	.L51
	add	DWORD PTR -2384[rbp], 1
.L49:
	cmp	DWORD PTR 32[rbp], 0
	jne	.L52
	mov	eax, DWORD PTR 16[rbp]
	add	eax, eax
	jmp	.L53
.L52:
	mov	eax, DWORD PTR 16[rbp]
.L53:
	cmp	eax, DWORD PTR -2384[rbp]
	jg	.L54
	mov	DWORD PTR -2376[rbp], 0
	jmp	.L55
.L58:
	mov	DWORD PTR -2380[rbp], 0
	jmp	.L56
.L57:
	lea	rcx, -2192[rbp]
	mov	eax, DWORD PTR -2380[rbp]
	movsx	rsi, eax
	mov	eax, DWORD PTR -2376[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	add	rax, rdx
	add	rax, rsi
	add	rax, 1
	sal	rax, 5
	lea	rdx, [rcx+rax]
	mov	eax, DWORD PTR -2376[rbp]
	sal	eax, 4
	mov	ecx, eax
	mov	eax, DWORD PTR -2380[rbp]
	add	eax, ecx
	imul	eax, DWORD PTR -2364[rbp]
	sal	eax, 4
	cdqe
	lea	rcx, [rax+rax]
	mov	rax, QWORD PTR -2344[rbp]
	add	rcx, rax
	mov	eax, DWORD PTR 16[rbp]
	add	eax, eax
	add	eax, 1
	movzx	eax, ax
	mov	rsi, rcx
	mov	edi, eax
	call	histogram_muladd
	add	DWORD PTR -2380[rbp], 1
.L56:
	cmp	DWORD PTR -2380[rbp], 15
	jle	.L57
	add	DWORD PTR -2376[rbp], 1
.L55:
	mov	eax, DWORD PTR -2376[rbp]
	cmp	eax, DWORD PTR 24[rbp]
	jl	.L58
	cmp	DWORD PTR 32[rbp], 0
	jne	.L59
	mov	eax, DWORD PTR 16[rbp]
	jmp	.L60
.L59:
	mov	eax, 0
.L60:
	mov	DWORD PTR -2384[rbp], eax
	jmp	.L61
.L88:
	mov	DWORD PTR -2376[rbp], 0
	jmp	.L62
.L85:
	mov	eax, DWORD PTR 16[rbp]
	imul	eax, eax
	mov	edx, eax
	mov	eax, DWORD PTR 16[rbp]
	add	eax, edx
	add	eax, eax
	mov	WORD PTR -2390[rbp], ax
	mov	WORD PTR -2392[rbp], 0
	lea	rcx, -2192[rbp]
	mov	eax, DWORD PTR -2376[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	add	rax, rdx
	sal	rax, 5
	lea	rdx, [rcx+rax]
	mov	eax, DWORD PTR -2364[rbp]
	imul	eax, DWORD PTR -2376[rbp]
	mov	ecx, eax
	mov	esi, DWORD PTR -2384[rbp]
	mov	eax, DWORD PTR 16[rbp]
	add	eax, esi
	cmp	DWORD PTR -2364[rbp], eax
	jg	.L63
	mov	eax, DWORD PTR -2364[rbp]
	sub	eax, 1
	jmp	.L64
.L63:
	mov	esi, DWORD PTR -2384[rbp]
	mov	eax, DWORD PTR 16[rbp]
	add	eax, esi
.L64:
	add	eax, ecx
	sal	eax, 4
	cdqe
	lea	rcx, [rax+rax]
	mov	rax, QWORD PTR -2352[rbp]
	add	rax, rcx
	mov	rsi, rdx
	mov	rdi, rax
	call	histogram_add
	mov	DWORD PTR -2380[rbp], 0
	jmp	.L65
.L68:
	mov	eax, DWORD PTR -2380[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -2376[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	add	rax, rdx
	sal	rax, 4
	add	rax, rcx
	movzx	eax, WORD PTR -2192[rbp+rax*2]
	add	WORD PTR -2392[rbp], ax
	movzx	eax, WORD PTR -2392[rbp]
	cmp	ax, WORD PTR -2390[rbp]
	jbe	.L66
	mov	eax, DWORD PTR -2380[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -2376[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	add	rax, rdx
	sal	rax, 4
	add	rax, rcx
	movzx	eax, WORD PTR -2192[rbp+rax*2]
	sub	WORD PTR -2392[rbp], ax
	jmp	.L67
.L66:
	add	DWORD PTR -2380[rbp], 1
.L65:
	cmp	DWORD PTR -2380[rbp], 15
	jle	.L68
.L67:
	cmp	DWORD PTR -2380[rbp], 15
	jle	.L69
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 310
	lea	rsi, .LC0[rip]
	lea	rdi, .LC8[rip]
	call	__assert_fail@PLT
.L69:
	mov	eax, DWORD PTR -2380[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -2376[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	movzx	eax, WORD PTR -2320[rbp+rax*2]
	movzx	edx, ax
	mov	eax, DWORD PTR -2384[rbp]
	sub	eax, DWORD PTR 16[rbp]
	cmp	edx, eax
	jg	.L76
	lea	rcx, -2192[rbp]
	mov	eax, DWORD PTR -2380[rbp]
	movsx	rsi, eax
	mov	eax, DWORD PTR -2376[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	add	rax, rdx
	add	rax, rsi
	add	rax, 1
	sal	rax, 5
	add	rax, rcx
	mov	edx, 32
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	eax, DWORD PTR -2384[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR 16[rbp]
	sub	edx, eax
	mov	eax, DWORD PTR -2380[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -2376[rbp]
	cdqe
	sal	rax, 4
	add	rax, rcx
	mov	WORD PTR -2320[rbp+rax*2], dx
	jmp	.L71
.L74:
	lea	rcx, -2192[rbp]
	mov	eax, DWORD PTR -2380[rbp]
	movsx	rsi, eax
	mov	eax, DWORD PTR -2376[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	add	rax, rdx
	add	rax, rsi
	add	rax, 1
	sal	rax, 5
	lea	rdx, [rcx+rax]
	mov	eax, DWORD PTR -2376[rbp]
	sal	eax, 4
	mov	ecx, eax
	mov	eax, DWORD PTR -2380[rbp]
	add	eax, ecx
	imul	eax, DWORD PTR -2364[rbp]
	mov	ecx, eax
	mov	eax, DWORD PTR -2380[rbp]
	movsx	rsi, eax
	mov	eax, DWORD PTR -2376[rbp]
	cdqe
	sal	rax, 4
	add	rax, rsi
	movzx	eax, WORD PTR -2320[rbp+rax*2]
	movzx	eax, ax
	add	eax, ecx
	sal	eax, 4
	cdqe
	lea	rcx, [rax+rax]
	mov	rax, QWORD PTR -2344[rbp]
	add	rax, rcx
	mov	rsi, rdx
	mov	rdi, rax
	call	histogram_add
	mov	eax, DWORD PTR -2380[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -2376[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	movzx	eax, WORD PTR -2320[rbp+rax*2]
	lea	edx, 1[rax]
	mov	eax, DWORD PTR -2380[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -2376[rbp]
	cdqe
	sal	rax, 4
	add	rax, rcx
	mov	WORD PTR -2320[rbp+rax*2], dx
.L71:
	mov	eax, DWORD PTR -2380[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -2376[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	movzx	eax, WORD PTR -2320[rbp+rax*2]
	movzx	edx, ax
	mov	ecx, DWORD PTR -2384[rbp]
	mov	eax, DWORD PTR 16[rbp]
	add	eax, ecx
	cmp	DWORD PTR -2364[rbp], eax
	jle	.L72
	mov	ecx, DWORD PTR -2384[rbp]
	mov	eax, DWORD PTR 16[rbp]
	add	eax, ecx
	add	eax, 1
	jmp	.L73
.L72:
	mov	eax, DWORD PTR -2364[rbp]
.L73:
	cmp	eax, edx
	jg	.L74
	mov	edx, DWORD PTR -2384[rbp]
	mov	eax, DWORD PTR 16[rbp]
	add	edx, eax
	mov	eax, DWORD PTR -2380[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -2376[rbp]
	cdqe
	sal	rax, 4
	add	rax, rcx
	movzx	eax, WORD PTR -2320[rbp+rax*2]
	movzx	eax, ax
	cmp	edx, eax
	jl	.L75
	lea	rcx, -2192[rbp]
	mov	eax, DWORD PTR -2380[rbp]
	movsx	rsi, eax
	mov	eax, DWORD PTR -2376[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	add	rax, rdx
	add	rax, rsi
	add	rax, 1
	sal	rax, 5
	lea	rdx, [rcx+rax]
	mov	eax, DWORD PTR -2376[rbp]
	sal	eax, 4
	mov	ecx, eax
	mov	eax, DWORD PTR -2380[rbp]
	add	eax, ecx
	imul	eax, DWORD PTR -2364[rbp]
	mov	ecx, eax
	mov	eax, DWORD PTR -2364[rbp]
	sub	eax, 1
	add	eax, ecx
	sal	eax, 4
	cdqe
	lea	rcx, [rax+rax]
	mov	rax, QWORD PTR -2344[rbp]
	add	rcx, rax
	mov	eax, DWORD PTR -2384[rbp]
	mov	esi, eax
	mov	eax, DWORD PTR 16[rbp]
	add	esi, eax
	mov	eax, DWORD PTR -2364[rbp]
	mov	edi, eax
	mov	eax, esi
	sub	eax, edi
	add	eax, 1
	movzx	eax, ax
	mov	rsi, rcx
	mov	edi, eax
	call	histogram_muladd
	mov	eax, DWORD PTR -2384[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR 16[rbp]
	add	eax, edx
	lea	edx, 1[rax]
	mov	eax, DWORD PTR -2380[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -2376[rbp]
	cdqe
	sal	rax, 4
	add	rax, rcx
	mov	WORD PTR -2320[rbp+rax*2], dx
	jmp	.L75
.L79:
	lea	rcx, -2192[rbp]
	mov	eax, DWORD PTR -2380[rbp]
	movsx	rsi, eax
	mov	eax, DWORD PTR -2376[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	add	rax, rdx
	add	rax, rsi
	add	rax, 1
	sal	rax, 5
	lea	rdx, [rcx+rax]
	mov	eax, DWORD PTR -2376[rbp]
	sal	eax, 4
	mov	ecx, eax
	mov	eax, DWORD PTR -2380[rbp]
	add	eax, ecx
	imul	eax, DWORD PTR -2364[rbp]
	mov	esi, eax
	mov	eax, DWORD PTR -2380[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -2376[rbp]
	cdqe
	sal	rax, 4
	add	rax, rcx
	movzx	eax, WORD PTR -2320[rbp+rax*2]
	movzx	eax, ax
	mov	ecx, DWORD PTR 16[rbp]
	add	ecx, ecx
	sub	eax, ecx
	mov	ecx, 1
	test	eax, eax
	cmovle	eax, ecx
	sub	eax, 1
	add	eax, esi
	sal	eax, 4
	cdqe
	lea	rcx, [rax+rax]
	mov	rax, QWORD PTR -2344[rbp]
	add	rax, rcx
	mov	rsi, rdx
	mov	rdi, rax
	call	histogram_sub
	lea	rcx, -2192[rbp]
	mov	eax, DWORD PTR -2380[rbp]
	movsx	rsi, eax
	mov	eax, DWORD PTR -2376[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	add	rax, rdx
	add	rax, rsi
	add	rax, 1
	sal	rax, 5
	lea	rdx, [rcx+rax]
	mov	eax, DWORD PTR -2376[rbp]
	sal	eax, 4
	mov	ecx, eax
	mov	eax, DWORD PTR -2380[rbp]
	add	eax, ecx
	imul	eax, DWORD PTR -2364[rbp]
	mov	ecx, eax
	mov	eax, DWORD PTR -2380[rbp]
	movsx	rsi, eax
	mov	eax, DWORD PTR -2376[rbp]
	cdqe
	sal	rax, 4
	add	rax, rsi
	movzx	eax, WORD PTR -2320[rbp+rax*2]
	movzx	eax, ax
	cmp	DWORD PTR -2364[rbp], eax
	jg	.L77
	mov	eax, DWORD PTR -2364[rbp]
	sub	eax, 1
	jmp	.L78
.L77:
	mov	eax, DWORD PTR -2380[rbp]
	movsx	rsi, eax
	mov	eax, DWORD PTR -2376[rbp]
	cdqe
	sal	rax, 4
	add	rax, rsi
	movzx	eax, WORD PTR -2320[rbp+rax*2]
	movzx	eax, ax
.L78:
	add	eax, ecx
	sal	eax, 4
	cdqe
	lea	rcx, [rax+rax]
	mov	rax, QWORD PTR -2344[rbp]
	add	rax, rcx
	mov	rsi, rdx
	mov	rdi, rax
	call	histogram_add
	mov	eax, DWORD PTR -2380[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -2376[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	movzx	eax, WORD PTR -2320[rbp+rax*2]
	lea	edx, 1[rax]
	mov	eax, DWORD PTR -2380[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -2376[rbp]
	cdqe
	sal	rax, 4
	add	rax, rcx
	mov	WORD PTR -2320[rbp+rax*2], dx
.L76:
	mov	edx, DWORD PTR -2384[rbp]
	mov	eax, DWORD PTR 16[rbp]
	add	edx, eax
	mov	eax, DWORD PTR -2380[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -2376[rbp]
	cdqe
	sal	rax, 4
	add	rax, rcx
	movzx	eax, WORD PTR -2320[rbp+rax*2]
	movzx	eax, ax
	cmp	edx, eax
	jge	.L79
.L75:
	lea	rcx, -2192[rbp]
	mov	eax, DWORD PTR -2376[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	add	rax, rdx
	sal	rax, 5
	lea	rdx, [rcx+rax]
	mov	eax, DWORD PTR -2364[rbp]
	imul	eax, DWORD PTR -2376[rbp]
	mov	ecx, eax
	mov	eax, DWORD PTR -2384[rbp]
	sub	eax, DWORD PTR 16[rbp]
	mov	esi, 0
	test	eax, eax
	cmovs	eax, esi
	add	eax, ecx
	sal	eax, 4
	cdqe
	lea	rcx, [rax+rax]
	mov	rax, QWORD PTR -2352[rbp]
	add	rax, rcx
	mov	rsi, rdx
	mov	rdi, rax
	call	histogram_sub
	lea	rcx, -2192[rbp]
	mov	eax, DWORD PTR -2380[rbp]
	movsx	rsi, eax
	mov	eax, DWORD PTR -2376[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	add	rax, rdx
	add	rax, rsi
	add	rax, 1
	sal	rax, 5
	add	rax, rcx
	mov	QWORD PTR -2328[rbp], rax
	mov	DWORD PTR -2372[rbp], 0
	jmp	.L80
.L83:
	mov	eax, DWORD PTR -2372[rbp]
	cdqe
	lea	rdx, [rax+rax]
	mov	rax, QWORD PTR -2328[rbp]
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	add	WORD PTR -2392[rbp], ax
	movzx	eax, WORD PTR -2392[rbp]
	cmp	ax, WORD PTR -2390[rbp]
	jbe	.L81
	mov	eax, DWORD PTR -2380[rbp]
	sal	eax, 4
	mov	ecx, eax
	mov	eax, DWORD PTR -2372[rbp]
	mov	esi, eax
	mov	eax, DWORD PTR -2432[rbp]
	imul	eax, DWORD PTR -2388[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR 24[rbp]
	imul	eax, DWORD PTR -2384[rbp]
	add	edx, eax
	mov	eax, DWORD PTR -2376[rbp]
	add	eax, edx
	movsx	rdx, eax
	mov	rax, QWORD PTR -2416[rbp]
	add	rax, rdx
	lea	edx, [rcx+rsi]
	mov	BYTE PTR [rax], dl
	jmp	.L82
.L81:
	add	DWORD PTR -2372[rbp], 1
.L80:
	cmp	DWORD PTR -2372[rbp], 15
	jle	.L83
.L82:
	cmp	DWORD PTR -2372[rbp], 15
	jle	.L84
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 341
	lea	rsi, .LC0[rip]
	lea	rdi, .LC9[rip]
	call	__assert_fail@PLT
.L84:
	add	DWORD PTR -2376[rbp], 1
.L62:
	mov	eax, DWORD PTR -2376[rbp]
	cmp	eax, DWORD PTR 24[rbp]
	jl	.L85
	add	DWORD PTR -2384[rbp], 1
.L61:
	cmp	DWORD PTR 40[rbp], 0
	jne	.L86
	mov	eax, DWORD PTR -2364[rbp]
	sub	eax, DWORD PTR 16[rbp]
	jmp	.L87
.L86:
	mov	eax, DWORD PTR -2364[rbp]
.L87:
	cmp	eax, DWORD PTR -2384[rbp]
	jg	.L88
	add	DWORD PTR -2388[rbp], 1
.L37:
	mov	eax, DWORD PTR -2388[rbp]
	cmp	eax, DWORD PTR -2368[rbp]
	jl	.L89
	emms
	nop
	mov	rax, QWORD PTR -2352[rbp]
	mov	rdi, rax
	call	_mm_free
	mov	rax, QWORD PTR -2344[rbp]
	mov	rdi, rax
	call	_mm_free
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L90
	call	__stack_chk_fail@PLT
.L90:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE508:
	.size	ctmf_helper, .-ctmf_helper
	.globl	ctmf
	.type	ctmf, @function
ctmf:
.LFB509:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	DWORD PTR -36[rbp], edx
	mov	DWORD PTR -40[rbp], ecx
	mov	DWORD PTR -44[rbp], r8d
	mov	DWORD PTR -48[rbp], r9d
	mov	eax, DWORD PTR 16[rbp]
	lea	edx, [rax+rax]
	mov	eax, DWORD PTR -36[rbp]
	sub	eax, edx
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, eax
	mov	rax, QWORD PTR 32[rbp]
	movabs	rdx, -1085102592571150095
	mul	rdx
	shr	rdx, 9
	mov	eax, DWORD PTR 16[rbp]
	add	eax, eax
	movsx	rcx, eax
	mov	rax, rdx
	sub	rax, rcx
	test	rax, rax
	js	.L92
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rax
	jmp	.L93
.L92:
	mov	rdx, rax
	shr	rdx
	and	eax, 1
	or	rdx, rax
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rdx
	addsd	xmm0, xmm0
.L93:
	divsd	xmm1, xmm0
	movq	rax, xmm1
	movq	xmm0, rax
	call	ceil@PLT
	cvttsd2si	eax, xmm0
	mov	DWORD PTR -8[rbp], eax
	mov	eax, DWORD PTR -8[rbp]
	imul	eax, DWORD PTR 16[rbp]
	lea	edx, [rax+rax]
	mov	eax, DWORD PTR -36[rbp]
	add	edx, eax
	mov	eax, DWORD PTR 16[rbp]
	lea	ecx, [rax+rax]
	mov	eax, edx
	sub	eax, ecx
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, DWORD PTR -8[rbp]
	divsd	xmm0, xmm1
	movq	rax, xmm0
	movq	xmm0, rax
	call	ceil@PLT
	cvttsd2si	eax, xmm0
	mov	DWORD PTR -4[rbp], eax
	mov	DWORD PTR -16[rbp], 0
	jmp	.L94
.L99:
	mov	eax, DWORD PTR -4[rbp]
	mov	DWORD PTR -12[rbp], eax
	mov	edx, DWORD PTR -16[rbp]
	mov	eax, DWORD PTR -4[rbp]
	add	edx, eax
	mov	eax, DWORD PTR 16[rbp]
	lea	ecx, [rax+rax]
	mov	eax, edx
	sub	eax, ecx
	cmp	DWORD PTR -36[rbp], eax
	jle	.L95
	mov	eax, DWORD PTR 16[rbp]
	lea	edx, [rax+rax]
	mov	ecx, DWORD PTR -16[rbp]
	mov	eax, DWORD PTR -4[rbp]
	add	ecx, eax
	mov	eax, DWORD PTR 16[rbp]
	add	eax, eax
	sub	ecx, eax
	mov	eax, DWORD PTR -36[rbp]
	sub	eax, ecx
	cmp	edx, eax
	jl	.L96
.L95:
	mov	eax, DWORD PTR -36[rbp]
	sub	eax, DWORD PTR -16[rbp]
	mov	DWORD PTR -12[rbp], eax
.L96:
	mov	eax, DWORD PTR -36[rbp]
	sub	eax, DWORD PTR -16[rbp]
	cmp	DWORD PTR -12[rbp], eax
	sete	al
	movzx	r8d, al
	cmp	DWORD PTR -16[rbp], 0
	sete	al
	movzx	ecx, al
	mov	eax, DWORD PTR 24[rbp]
	imul	eax, DWORD PTR -16[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -32[rbp]
	lea	rsi, [rdx+rax]
	mov	eax, DWORD PTR 24[rbp]
	imul	eax, DWORD PTR -16[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	lea	rdi, [rdx+rax]
	mov	r9d, DWORD PTR -48[rbp]
	mov	r10d, DWORD PTR -44[rbp]
	mov	edx, DWORD PTR -40[rbp]
	mov	eax, DWORD PTR -12[rbp]
	push	r8
	push	rcx
	mov	ecx, DWORD PTR 24[rbp]
	push	rcx
	mov	ecx, DWORD PTR 16[rbp]
	push	rcx
	mov	r8d, r10d
	mov	ecx, edx
	mov	edx, eax
	call	ctmf_helper
	add	rsp, 32
	mov	eax, DWORD PTR -36[rbp]
	sub	eax, DWORD PTR -16[rbp]
	cmp	DWORD PTR -12[rbp], eax
	je	.L100
	mov	eax, DWORD PTR 16[rbp]
	lea	edx, [rax+rax]
	mov	eax, DWORD PTR -4[rbp]
	sub	eax, edx
	add	DWORD PTR -16[rbp], eax
.L94:
	mov	eax, DWORD PTR -16[rbp]
	cmp	eax, DWORD PTR -36[rbp]
	jl	.L99
	jmp	.L101
.L100:
	nop
.L101:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE509:
	.size	ctmf, .-ctmf
	.section	.rodata
	.align 8
	.type	__PRETTY_FUNCTION__.0, @object
	.size	__PRETTY_FUNCTION__.0, 12
__PRETTY_FUNCTION__.0:
	.string	"ctmf_helper"
	.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	"970733.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	histogram_add, %function
histogram_add:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L2
.L3:
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #1
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldrh	r1, [r3]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #1
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldrh	r2, [r3]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #1
	ldr	r0, [fp, #-20]
	add	r3, r0, r3
	add	r2, r1, r2
	lsl	r2, r2, #16
	lsr	r2, r2, #16
	strh	r2, [r3]	@ movhi
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L2:
	ldr	r3, [fp, #-8]
	cmp	r3, #15
	ble	.L3
	nop
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	histogram_add, .-histogram_add
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	histogram_sub, %function
histogram_sub:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L5
.L6:
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #1
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldrh	r1, [r3]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #1
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldrh	r2, [r3]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #1
	ldr	r0, [fp, #-20]
	add	r3, r0, r3
	sub	r2, r1, r2
	lsl	r2, r2, #16
	lsr	r2, r2, #16
	strh	r2, [r3]	@ movhi
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L5:
	ldr	r3, [fp, #-8]
	cmp	r3, #15
	ble	.L6
	nop
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	histogram_sub, .-histogram_sub
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	histogram_muladd, %function
histogram_muladd:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #28
	mov	r3, r0
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	strh	r3, [fp, #-14]	@ movhi
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L8
.L9:
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #1
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldrh	r1, [r3]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #1
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldrh	r3, [r3]
	ldrh	r2, [fp, #-14]	@ movhi
	mul	r3, r2, r3
	lsl	r3, r3, #16
	lsr	r2, r3, #16
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #1
	ldr	r0, [fp, #-24]
	add	r3, r0, r3
	add	r2, r1, r2
	lsl	r2, r2, #16
	lsr	r2, r2, #16
	strh	r2, [r3]	@ movhi
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L8:
	ldr	r3, [fp, #-8]
	cmp	r3, #15
	ble	.L9
	nop
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	histogram_muladd, .-histogram_muladd
	.section	.rodata
	.align	2
.LC0:
	.ascii	"the_stack_data/970733.c\000"
	.align	2
.LC1:
	.ascii	"src\000"
	.align	2
.LC2:
	.ascii	"dst\000"
	.align	2
.LC3:
	.ascii	"r >= 0\000"
	.align	2
.LC4:
	.ascii	"width >= 2*r+1\000"
	.align	2
.LC5:
	.ascii	"height >= 2*r+1\000"
	.align	2
.LC6:
	.ascii	"src_step != 0\000"
	.align	2
.LC7:
	.ascii	"dst_step != 0\000"
	.align	2
.LC8:
	.ascii	"k < 16\000"
	.align	2
.LC9:
	.ascii	"b < 16\000"
	.align	2
.LC10:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ctmf_helper, %function
ctmf_helper:
	@ args = 24, pretend = 0, frame = 2392
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #2384
	sub	sp, sp, #12
	str	r0, [fp, #-2392]
	str	r1, [fp, #-2396]
	str	r2, [fp, #-2400]
	str	r3, [fp, #-2404]
	sub	r3, fp, #12
	sub	r3, r3, #2320
	add	r3, r3, #15
	lsr	r3, r3, #4
	lsl	r4, r3, #4
	ldr	r3, .L82+52
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r3, [fp, #-2404]
	str	r3, [fp, #-2356]
	ldr	r3, [fp, #-2400]
	str	r3, [fp, #-2352]
	ldr	r3, [fp, #-2392]
	cmp	r3, #0
	bne	.L11
	ldr	r3, .L82+36
	mov	r2, #223
	ldr	r1, .L82+48
	ldr	r0, .L82
	bl	__assert_fail
.L11:
	ldr	r3, [fp, #-2396]
	cmp	r3, #0
	bne	.L12
	ldr	r3, .L82+36
	mov	r2, #224
	ldr	r1, .L82+48
	ldr	r0, .L82+4
	bl	__assert_fail
.L12:
	ldr	r3, [fp, #12]
	cmp	r3, #0
	bge	.L13
	ldr	r3, .L82+36
	mov	r2, #225
	ldr	r1, .L82+48
	ldr	r0, .L82+8
	bl	__assert_fail
.L13:
	ldr	r3, [fp, #12]
	lsl	r3, r3, #1
	ldr	r2, [fp, #-2400]
	cmp	r2, r3
	bgt	.L14
	ldr	r3, .L82+36
	mov	r2, #226
	ldr	r1, .L82+48
	ldr	r0, .L82+12
	bl	__assert_fail
.L14:
	ldr	r3, [fp, #12]
	lsl	r3, r3, #1
	ldr	r2, [fp, #-2404]
	cmp	r2, r3
	bgt	.L15
	ldr	r3, .L82+36
	mov	r2, #227
	ldr	r1, .L82+48
	ldr	r0, .L82+16
	bl	__assert_fail
.L15:
	ldr	r3, [fp, #4]
	cmp	r3, #0
	bne	.L16
	ldr	r3, .L82+36
	mov	r2, #228
	ldr	r1, .L82+48
	ldr	r0, .L82+20
	bl	__assert_fail
.L16:
	ldr	r3, [fp, #8]
	cmp	r3, #0
	bne	.L17
	ldr	r3, .L82+36
	mov	r2, #229
	ldr	r1, .L82+48
	ldr	r0, .L82+24
	bl	__assert_fail
.L17:
	ldr	r3, [fp, #-2352]
	ldr	r2, [fp, #16]
	mul	r3, r2, r3
	lsl	r3, r3, #4
	mov	r1, #2
	mov	r0, r3
	bl	calloc
	mov	r3, r0
	str	r3, [fp, #-2348]
	ldr	r3, [fp, #-2352]
	ldr	r2, [fp, #16]
	mul	r3, r2, r3
	lsl	r3, r3, #8
	mov	r1, #2
	mov	r0, r3
	bl	calloc
	mov	r3, r0
	str	r3, [fp, #-2344]
	mov	r3, #0
	str	r3, [fp, #-2376]
	b	.L18
.L21:
	mov	r3, #0
	str	r3, [fp, #-2368]
	b	.L19
.L20:
	ldr	r3, [fp, #-2352]
	ldr	r2, [fp, #-2368]
	mul	r2, r3, r2
	ldr	r3, [fp, #-2376]
	add	r3, r2, r3
	lsl	r3, r3, #4
	ldr	r2, [fp, #16]
	ldr	r1, [fp, #-2376]
	mul	r1, r2, r1
	ldr	r2, [fp, #-2368]
	add	r2, r1, r2
	mov	r1, r2
	ldr	r2, [fp, #-2392]
	add	r2, r2, r1
	ldrb	r2, [r2]	@ zero_extendqisi2
	lsr	r2, r2, #4
	and	r2, r2, #255
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, [fp, #-2348]
	add	r3, r2, r3
	ldrh	r2, [r3]
	ldr	r3, [fp, #12]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	add	r3, r2, r3
	lsl	r3, r3, #16
	lsr	r2, r3, #16
	ldr	r3, [fp, #-2352]
	ldr	r1, [fp, #-2368]
	mul	r1, r3, r1
	ldr	r3, [fp, #-2376]
	add	r3, r1, r3
	lsl	r3, r3, #4
	ldr	r1, [fp, #16]
	ldr	r0, [fp, #-2376]
	mul	r0, r1, r0
	ldr	r1, [fp, #-2368]
	add	r1, r0, r1
	mov	r0, r1
	ldr	r1, [fp, #-2392]
	add	r1, r1, r0
	ldrb	r1, [r1]	@ zero_extendqisi2
	lsr	r1, r1, #4
	and	r1, r1, #255
	add	r3, r3, r1
	lsl	r3, r3, #1
	ldr	r1, [fp, #-2348]
	add	r3, r1, r3
	add	r2, r2, #1
	lsl	r2, r2, #16
	lsr	r2, r2, #16
	strh	r2, [r3]	@ movhi
	ldr	r3, [fp, #-2368]
	lsl	r3, r3, #4
	ldr	r2, [fp, #16]
	ldr	r1, [fp, #-2376]
	mul	r1, r2, r1
	ldr	r2, [fp, #-2368]
	add	r2, r1, r2
	mov	r1, r2
	ldr	r2, [fp, #-2392]
	add	r2, r2, r1
	ldrb	r2, [r2]	@ zero_extendqisi2
	lsr	r2, r2, #4
	and	r2, r2, #255
	add	r3, r3, r2
	ldr	r2, [fp, #-2352]
	mul	r2, r3, r2
	ldr	r3, [fp, #-2376]
	add	r3, r2, r3
	lsl	r2, r3, #4
	ldr	r3, [fp, #16]
	ldr	r1, [fp, #-2376]
	mul	r1, r3, r1
	ldr	r3, [fp, #-2368]
	add	r3, r1, r3
	mov	r1, r3
	ldr	r3, [fp, #-2392]
	add	r3, r3, r1
	ldrb	r3, [r3]	@ zero_extendqisi2
	and	r3, r3, #15
	add	r3, r2, r3
	lsl	r3, r3, #1
	ldr	r2, [fp, #-2344]
	add	r3, r2, r3
	ldrh	r2, [r3]
	ldr	r3, [fp, #12]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	add	r3, r2, r3
	lsl	r3, r3, #16
	lsr	r2, r3, #16
	ldr	r3, [fp, #-2368]
	lsl	r3, r3, #4
	ldr	r1, [fp, #16]
	ldr	r0, [fp, #-2376]
	mul	r0, r1, r0
	ldr	r1, [fp, #-2368]
	add	r1, r0, r1
	mov	r0, r1
	ldr	r1, [fp, #-2392]
	add	r1, r1, r0
	ldrb	r1, [r1]	@ zero_extendqisi2
	lsr	r1, r1, #4
	and	r1, r1, #255
	add	r3, r3, r1
	ldr	r1, [fp, #-2352]
	mul	r1, r3, r1
	ldr	r3, [fp, #-2376]
	add	r3, r1, r3
	lsl	r1, r3, #4
	ldr	r3, [fp, #16]
	ldr	r0, [fp, #-2376]
	mul	r0, r3, r0
	ldr	r3, [fp, #-2368]
	add	r3, r0, r3
	mov	r0, r3
	ldr	r3, [fp, #-2392]
	add	r3, r3, r0
	ldrb	r3, [r3]	@ zero_extendqisi2
	and	r3, r3, #15
	add	r3, r1, r3
	lsl	r3, r3, #1
	ldr	r1, [fp, #-2344]
	add	r3, r1, r3
	add	r2, r2, #1
	lsl	r2, r2, #16
	lsr	r2, r2, #16
	strh	r2, [r3]	@ movhi
	ldr	r3, [fp, #-2368]
	add	r3, r3, #1
	str	r3, [fp, #-2368]
.L19:
	ldr	r2, [fp, #-2368]
	ldr	r3, [fp, #16]
	cmp	r2, r3
	blt	.L20
	ldr	r3, [fp, #-2376]
	add	r3, r3, #1
	str	r3, [fp, #-2376]
.L18:
	ldr	r2, [fp, #-2376]
	ldr	r3, [fp, #-2352]
	cmp	r2, r3
	blt	.L21
	mov	r3, #0
	str	r3, [fp, #-2380]
	b	.L22
.L27:
	mov	r3, #0
	str	r3, [fp, #-2376]
	b	.L23
.L26:
	mov	r3, #0
	str	r3, [fp, #-2368]
	b	.L24
.L25:
	ldr	r3, [fp, #-2352]
	ldr	r2, [fp, #-2368]
	mul	r2, r3, r2
	ldr	r3, [fp, #-2376]
	add	r3, r2, r3
	lsl	r3, r3, #4
	ldr	r2, [fp, #4]
	ldr	r1, [fp, #-2380]
	mul	r1, r2, r1
	ldr	r2, [fp, #16]
	ldr	r0, [fp, #-2376]
	mul	r2, r0, r2
	add	r1, r1, r2
	ldr	r2, [fp, #-2368]
	add	r2, r1, r2
	mov	r1, r2
	ldr	r2, [fp, #-2392]
	add	r2, r2, r1
	ldrb	r2, [r2]	@ zero_extendqisi2
	lsr	r2, r2, #4
	and	r2, r2, #255
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, [fp, #-2348]
	add	r3, r2, r3
	ldrh	r2, [r3]
	add	r2, r2, #1
	lsl	r2, r2, #16
	lsr	r2, r2, #16
	strh	r2, [r3]	@ movhi
	ldr	r3, [fp, #-2368]
	lsl	r3, r3, #4
	ldr	r2, [fp, #4]
	ldr	r1, [fp, #-2380]
	mul	r1, r2, r1
	ldr	r2, [fp, #16]
	ldr	r0, [fp, #-2376]
	mul	r2, r0, r2
	add	r1, r1, r2
	ldr	r2, [fp, #-2368]
	add	r2, r1, r2
	mov	r1, r2
	ldr	r2, [fp, #-2392]
	add	r2, r2, r1
	ldrb	r2, [r2]	@ zero_extendqisi2
	lsr	r2, r2, #4
	and	r2, r2, #255
	add	r3, r3, r2
	ldr	r2, [fp, #-2352]
	mul	r2, r3, r2
	ldr	r3, [fp, #-2376]
	add	r3, r2, r3
	lsl	r2, r3, #4
	ldr	r3, [fp, #4]
	ldr	r1, [fp, #-2380]
	mul	r1, r3, r1
	ldr	r3, [fp, #16]
	ldr	r0, [fp, #-2376]
	mul	r3, r0, r3
	add	r1, r1, r3
	ldr	r3, [fp, #-2368]
	add	r3, r1, r3
	mov	r1, r3
	ldr	r3, [fp, #-2392]
	add	r3, r3, r1
	ldrb	r3, [r3]	@ zero_extendqisi2
	and	r3, r3, #15
	add	r3, r2, r3
	lsl	r3, r3, #1
	ldr	r2, [fp, #-2344]
	add	r3, r2, r3
	ldrh	r2, [r3]
	add	r2, r2, #1
	lsl	r2, r2, #16
	lsr	r2, r2, #16
	strh	r2, [r3]	@ movhi
	ldr	r3, [fp, #-2368]
	add	r3, r3, #1
	str	r3, [fp, #-2368]
.L24:
	ldr	r2, [fp, #-2368]
	ldr	r3, [fp, #16]
	cmp	r2, r3
	blt	.L25
	ldr	r3, [fp, #-2376]
	add	r3, r3, #1
	str	r3, [fp, #-2376]
.L23:
	ldr	r2, [fp, #-2376]
	ldr	r3, [fp, #-2352]
	cmp	r2, r3
	blt	.L26
	ldr	r3, [fp, #-2380]
	add	r3, r3, #1
	str	r3, [fp, #-2380]
.L22:
	ldr	r2, [fp, #-2380]
	ldr	r3, [fp, #12]
	cmp	r2, r3
	blt	.L27
	mov	r3, #0
	str	r3, [fp, #-2380]
	b	.L28
.L80:
	ldr	r2, [fp, #-2380]
	ldr	r3, [fp, #12]
	sub	r3, r2, r3
	cmp	r3, #1
	movge	r3, r3
	movlt	r3, #1
	sub	r3, r3, #1
	ldr	r2, [fp, #4]
	mul	r3, r2, r3
	mov	r2, r3
	ldr	r3, [fp, #-2392]
	add	r3, r3, r2
	str	r3, [fp, #-2364]
	ldr	r3, [fp, #16]
	ldr	r2, [fp, #-2352]
	mul	r3, r2, r3
	mov	r2, r3
	ldr	r3, [fp, #-2364]
	add	r3, r3, r2
	str	r3, [fp, #-2340]
	mov	r3, #0
	str	r3, [fp, #-2376]
	b	.L29
.L32:
	mov	r3, #0
	str	r3, [fp, #-2368]
	b	.L30
.L31:
	ldr	r3, [fp, #-2352]
	ldr	r2, [fp, #-2368]
	mul	r2, r3, r2
	ldr	r3, [fp, #-2376]
	add	r3, r2, r3
	lsl	r3, r3, #4
	ldr	r2, [fp, #-2364]
	ldrb	r2, [r2]	@ zero_extendqisi2
	lsr	r2, r2, #4
	and	r2, r2, #255
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, [fp, #-2348]
	add	r3, r2, r3
	ldrh	r2, [r3]
	sub	r2, r2, #1
	lsl	r2, r2, #16
	lsr	r2, r2, #16
	strh	r2, [r3]	@ movhi
	ldr	r3, [fp, #-2368]
	lsl	r3, r3, #4
	ldr	r2, [fp, #-2364]
	ldrb	r2, [r2]	@ zero_extendqisi2
	lsr	r2, r2, #4
	and	r2, r2, #255
	add	r3, r3, r2
	ldr	r2, [fp, #-2352]
	mul	r2, r3, r2
	ldr	r3, [fp, #-2376]
	add	r3, r2, r3
	lsl	r2, r3, #4
	ldr	r3, [fp, #-2364]
	ldrb	r3, [r3]	@ zero_extendqisi2
	and	r3, r3, #15
	add	r3, r2, r3
	lsl	r3, r3, #1
	ldr	r2, [fp, #-2344]
	add	r3, r2, r3
	ldrh	r2, [r3]
	sub	r2, r2, #1
	lsl	r2, r2, #16
	lsr	r2, r2, #16
	strh	r2, [r3]	@ movhi
	ldr	r3, [fp, #-2368]
	add	r3, r3, #1
	str	r3, [fp, #-2368]
	ldr	r3, [fp, #-2364]
	add	r3, r3, #1
	str	r3, [fp, #-2364]
.L30:
	ldr	r2, [fp, #-2368]
	ldr	r3, [fp, #16]
	cmp	r2, r3
	blt	.L31
	ldr	r3, [fp, #-2376]
	add	r3, r3, #1
	str	r3, [fp, #-2376]
.L29:
	ldr	r2, [fp, #-2364]
	ldr	r3, [fp, #-2340]
	cmp	r2, r3
	bne	.L32
	ldr	r3, [fp, #-2356]
	sub	r2, r3, #1
	ldr	r1, [fp, #-2380]
	ldr	r3, [fp, #12]
	add	r3, r1, r3
	cmp	r2, r3
	movlt	r3, r2
	movge	r3, r3
	ldr	r2, [fp, #4]
	mul	r3, r2, r3
	mov	r2, r3
	ldr	r3, [fp, #-2392]
	add	r3, r3, r2
	str	r3, [fp, #-2364]
	ldr	r3, [fp, #16]
	ldr	r2, [fp, #-2352]
	mul	r3, r2, r3
	mov	r2, r3
	ldr	r3, [fp, #-2364]
	add	r3, r3, r2
	str	r3, [fp, #-2340]
	mov	r3, #0
	str	r3, [fp, #-2376]
	b	.L33
.L36:
	mov	r3, #0
	str	r3, [fp, #-2368]
	b	.L34
.L35:
	ldr	r3, [fp, #-2352]
	ldr	r2, [fp, #-2368]
	mul	r2, r3, r2
	ldr	r3, [fp, #-2376]
	add	r3, r2, r3
	lsl	r3, r3, #4
	ldr	r2, [fp, #-2364]
	ldrb	r2, [r2]	@ zero_extendqisi2
	lsr	r2, r2, #4
	and	r2, r2, #255
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, [fp, #-2348]
	add	r3, r2, r3
	ldrh	r2, [r3]
	add	r2, r2, #1
	lsl	r2, r2, #16
	lsr	r2, r2, #16
	strh	r2, [r3]	@ movhi
	ldr	r3, [fp, #-2368]
	lsl	r3, r3, #4
	ldr	r2, [fp, #-2364]
	ldrb	r2, [r2]	@ zero_extendqisi2
	lsr	r2, r2, #4
	and	r2, r2, #255
	add	r3, r3, r2
	ldr	r2, [fp, #-2352]
	mul	r2, r3, r2
	ldr	r3, [fp, #-2376]
	add	r3, r2, r3
	lsl	r2, r3, #4
	ldr	r3, [fp, #-2364]
	ldrb	r3, [r3]	@ zero_extendqisi2
	and	r3, r3, #15
	add	r3, r2, r3
	lsl	r3, r3, #1
	ldr	r2, [fp, #-2344]
	add	r3, r2, r3
	ldrh	r2, [r3]
	add	r2, r2, #1
	lsl	r2, r2, #16
	lsr	r2, r2, #16
	strh	r2, [r3]	@ movhi
	ldr	r3, [fp, #-2368]
	add	r3, r3, #1
	str	r3, [fp, #-2368]
	ldr	r3, [fp, #-2364]
	add	r3, r3, #1
	str	r3, [fp, #-2364]
.L34:
	ldr	r2, [fp, #-2368]
	ldr	r3, [fp, #16]
	cmp	r2, r3
	blt	.L35
	ldr	r3, [fp, #-2376]
	add	r3, r3, #1
	str	r3, [fp, #-2376]
.L33:
	ldr	r2, [fp, #-2364]
	ldr	r3, [fp, #-2340]
	cmp	r2, r3
	bne	.L36
	ldr	r2, [fp, #16]
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #5
	mov	r2, r3
	mov	r1, #0
	mov	r0, r4
	bl	memset
	ldr	r3, [fp, #16]
	lsl	r2, r3, #5
	sub	r3, fp, #144
	mov	r1, #0
	mov	r0, r3
	bl	memset
	ldr	r3, [fp, #20]
	cmp	r3, #0
	beq	.L37
	mov	r3, #0
	str	r3, [fp, #-2368]
	b	.L38
.L39:
	ldr	r3, [fp, #12]
	lsl	r3, r3, #16
	lsr	r0, r3, #16
	ldr	r3, [fp, #-2352]
	ldr	r2, [fp, #-2368]
	mul	r3, r2, r3
	lsl	r3, r3, #5
	ldr	r2, [fp, #-2348]
	add	r1, r2, r3
	ldr	r2, [fp, #-2368]
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #5
	add	r3, r4, r3
	mov	r2, r3
	bl	histogram_muladd
	ldr	r3, [fp, #-2368]
	add	r3, r3, #1
	str	r3, [fp, #-2368]
.L38:
	ldr	r2, [fp, #-2368]
	ldr	r3, [fp, #16]
	cmp	r2, r3
	blt	.L39
.L37:
	mov	r3, #0
	str	r3, [fp, #-2376]
	b	.L40
.L45:
	mov	r3, #0
	str	r3, [fp, #-2368]
	b	.L41
.L42:
	ldr	r3, [fp, #-2352]
	ldr	r2, [fp, #-2368]
	mul	r2, r3, r2
	ldr	r3, [fp, #-2376]
	add	r3, r2, r3
	lsl	r3, r3, #5
	ldr	r2, [fp, #-2348]
	add	r0, r2, r3
	ldr	r2, [fp, #-2368]
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #5
	add	r3, r4, r3
	mov	r1, r3
	bl	histogram_add
	ldr	r3, [fp, #-2368]
	add	r3, r3, #1
	str	r3, [fp, #-2368]
.L41:
	ldr	r2, [fp, #-2368]
	ldr	r3, [fp, #16]
	cmp	r2, r3
	blt	.L42
	ldr	r3, [fp, #-2376]
	add	r3, r3, #1
	str	r3, [fp, #-2376]
.L40:
	ldr	r3, [fp, #20]
	cmp	r3, #0
	bne	.L43
	ldr	r3, [fp, #12]
	lsl	r3, r3, #1
	b	.L44
.L43:
	ldr	r3, [fp, #12]
.L44:
	ldr	r2, [fp, #-2376]
	cmp	r3, r2
	bgt	.L45
	mov	r3, #0
	str	r3, [fp, #-2368]
	b	.L46
.L49:
	mov	r3, #0
	str	r3, [fp, #-2372]
	b	.L47
.L48:
	ldr	r3, [fp, #12]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	lsl	r3, r3, #1
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	add	r3, r3, #1
	lsl	r3, r3, #16
	lsr	r0, r3, #16
	ldr	r3, [fp, #-2368]
	lsl	r2, r3, #4
	ldr	r3, [fp, #-2372]
	add	r3, r2, r3
	ldr	r2, [fp, #-2352]
	mul	r3, r2, r3
	lsl	r3, r3, #5
	ldr	r2, [fp, #-2344]
	add	r1, r2, r3
	ldr	r2, [fp, #-2368]
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	ldr	r2, [fp, #-2372]
	add	r3, r3, r2
	add	r3, r3, #1
	lsl	r3, r3, #5
	add	r3, r4, r3
	mov	r2, r3
	bl	histogram_muladd
	ldr	r3, [fp, #-2372]
	add	r3, r3, #1
	str	r3, [fp, #-2372]
.L47:
	ldr	r3, [fp, #-2372]
	cmp	r3, #15
	ble	.L48
	ldr	r3, [fp, #-2368]
	add	r3, r3, #1
	str	r3, [fp, #-2368]
.L46:
	ldr	r2, [fp, #-2368]
	ldr	r3, [fp, #16]
	cmp	r2, r3
	blt	.L49
	ldr	r3, [fp, #20]
	cmp	r3, #0
	bne	.L50
	ldr	r3, [fp, #12]
	b	.L51
.L50:
	mov	r3, #0
.L51:
	str	r3, [fp, #-2376]
	b	.L52
.L79:
	mov	r3, #0
	str	r3, [fp, #-2368]
	b	.L53
.L76:
	ldr	r3, [fp, #12]
	mul	r2, r3, r3
	ldr	r3, [fp, #12]
	add	r3, r2, r3
	lsl	r3, r3, #16
	lsr	r2, r3, #16
	sub	r3, fp, #12
	sub	r3, r3, #2368
	sub	r3, r3, #2
	lsl	r2, r2, #1
	strh	r2, [r3]	@ movhi
	sub	r3, fp, #12
	sub	r3, r3, #2368
	sub	r3, r3, #4
	mov	r2, #0
	strh	r2, [r3]	@ movhi
	ldr	r3, [fp, #-2352]
	ldr	r2, [fp, #-2368]
	mul	r2, r3, r2
	ldr	r1, [fp, #-2376]
	ldr	r3, [fp, #12]
	add	r3, r1, r3
	ldr	r1, [fp, #-2352]
	cmp	r1, r3
	bgt	.L54
	ldr	r3, [fp, #-2352]
	sub	r3, r3, #1
	b	.L55
.L54:
	ldr	r1, [fp, #-2376]
	ldr	r3, [fp, #12]
	add	r3, r1, r3
.L55:
	add	r3, r3, r2
	lsl	r3, r3, #5
	ldr	r2, [fp, #-2348]
	add	r0, r2, r3
	ldr	r2, [fp, #-2368]
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #5
	add	r3, r4, r3
	mov	r1, r3
	bl	histogram_add
	mov	r3, #0
	str	r3, [fp, #-2372]
	b	.L56
.L59:
	ldr	r2, [fp, #-2368]
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #4
	ldr	r2, [fp, #-2372]
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r4, r3
	ldrh	r1, [r3]
	sub	r3, fp, #12
	sub	r3, r3, #2368
	sub	r3, r3, #4
	sub	r2, fp, #12
	sub	r2, r2, #2368
	sub	r2, r2, #4
	ldrh	r2, [r2]	@ movhi
	add	r2, r1, r2
	strh	r2, [r3]	@ movhi
	sub	r3, fp, #12
	sub	r2, r3, #2368
	sub	r2, r2, #4
	sub	r3, fp, #12
	sub	r3, r3, #2368
	sub	r3, r3, #2
	ldrh	r2, [r2]
	ldrh	r3, [r3]
	cmp	r2, r3
	bls	.L57
	ldr	r2, [fp, #-2368]
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #4
	ldr	r2, [fp, #-2372]
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r4, r3
	ldrh	r1, [r3]
	sub	r3, fp, #12
	sub	r3, r3, #2368
	sub	r3, r3, #4
	sub	r2, fp, #12
	sub	r2, r2, #2368
	sub	r2, r2, #4
	ldrh	r2, [r2]	@ movhi
	sub	r2, r2, r1
	strh	r2, [r3]	@ movhi
	b	.L58
.L57:
	ldr	r3, [fp, #-2372]
	add	r3, r3, #1
	str	r3, [fp, #-2372]
.L56:
	ldr	r3, [fp, #-2372]
	cmp	r3, #15
	ble	.L59
.L58:
	ldr	r3, [fp, #-2372]
	cmp	r3, #15
	ble	.L60
	ldr	r3, .L82+36
	ldr	r2, .L82+28
	ldr	r1, .L82+48
	ldr	r0, .L82+32
	bl	__assert_fail
.L60:
	ldr	r3, [fp, #-2368]
	lsl	r2, r3, #4
	ldr	r3, [fp, #-2372]
	add	r3, r2, r3
	lsl	r3, r3, #1
	sub	r2, fp, #12
	add	r3, r2, r3
	sub	r3, r3, #132
	ldrh	r3, [r3]
	mov	r1, r3
	ldr	r2, [fp, #-2376]
	ldr	r3, [fp, #12]
	sub	r3, r2, r3
	cmp	r1, r3
	bgt	.L67
	ldr	r2, [fp, #-2368]
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	ldr	r2, [fp, #-2372]
	add	r3, r3, r2
	add	r3, r3, #1
	lsl	r3, r3, #5
	add	r3, r4, r3
	mov	r2, #32
	mov	r1, #0
	mov	r0, r3
	bl	memset
	ldr	r3, [fp, #-2376]
	lsl	r3, r3, #16
	lsr	r2, r3, #16
	ldr	r3, [fp, #12]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	sub	r3, r2, r3
	lsl	r3, r3, #16
	lsr	r2, r3, #16
	ldr	r3, [fp, #-2368]
	lsl	r1, r3, #4
	ldr	r3, [fp, #-2372]
	add	r3, r1, r3
	lsl	r3, r3, #1
	sub	r1, fp, #12
	add	r3, r1, r3
	sub	r3, r3, #132
	strh	r2, [r3]	@ movhi
	b	.L62
.L65:
	ldr	r3, [fp, #-2368]
	lsl	r2, r3, #4
	ldr	r3, [fp, #-2372]
	add	r3, r2, r3
	ldr	r2, [fp, #-2352]
	mul	r3, r2, r3
	ldr	r2, [fp, #-2368]
	lsl	r1, r2, #4
	ldr	r2, [fp, #-2372]
	add	r2, r1, r2
	lsl	r2, r2, #1
	sub	r1, fp, #12
	add	r2, r1, r2
	sub	r2, r2, #132
	ldrh	r2, [r2]
	add	r3, r3, r2
	lsl	r3, r3, #5
	ldr	r2, [fp, #-2344]
	add	r0, r2, r3
	ldr	r2, [fp, #-2368]
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	ldr	r2, [fp, #-2372]
	add	r3, r3, r2
	add	r3, r3, #1
	lsl	r3, r3, #5
	add	r3, r4, r3
	mov	r1, r3
	bl	histogram_add
	ldr	r3, [fp, #-2368]
	lsl	r2, r3, #4
	ldr	r3, [fp, #-2372]
	add	r3, r2, r3
	lsl	r3, r3, #1
	sub	r2, fp, #12
	add	r3, r2, r3
	sub	r3, r3, #132
	ldrh	r3, [r3]
	add	r3, r3, #1
	lsl	r3, r3, #16
	lsr	r2, r3, #16
	ldr	r3, [fp, #-2368]
	lsl	r1, r3, #4
	ldr	r3, [fp, #-2372]
	add	r3, r1, r3
	lsl	r3, r3, #1
	sub	r1, fp, #12
	add	r3, r1, r3
	sub	r3, r3, #132
	strh	r2, [r3]	@ movhi
.L62:
	ldr	r3, [fp, #-2368]
	lsl	r2, r3, #4
	ldr	r3, [fp, #-2372]
	add	r3, r2, r3
	lsl	r3, r3, #1
	sub	r2, fp, #12
	add	r3, r2, r3
	sub	r3, r3, #132
	ldrh	r3, [r3]
	mov	r1, r3
	ldr	r2, [fp, #-2376]
	ldr	r3, [fp, #12]
	add	r3, r2, r3
	ldr	r2, [fp, #-2352]
	cmp	r2, r3
	ble	.L63
	ldr	r2, [fp, #-2376]
	ldr	r3, [fp, #12]
	add	r3, r2, r3
	add	r3, r3, #1
	b	.L64
.L63:
	ldr	r3, [fp, #-2352]
.L64:
	cmp	r3, r1
	bgt	.L65
	ldr	r2, [fp, #-2376]
	ldr	r3, [fp, #12]
	add	r3, r2, r3
	ldr	r2, [fp, #-2368]
	lsl	r1, r2, #4
	ldr	r2, [fp, #-2372]
	add	r2, r1, r2
	lsl	r2, r2, #1
	sub	r1, fp, #12
	add	r2, r1, r2
	sub	r2, r2, #132
	ldrh	r2, [r2]
	cmp	r3, r2
	blt	.L66
	ldr	r3, [fp, #-2376]
	lsl	r3, r3, #16
	lsr	r2, r3, #16
	ldr	r3, [fp, #12]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	add	r3, r2, r3
	lsl	r3, r3, #16
	lsr	r2, r3, #16
	ldr	r3, [fp, #-2352]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	sub	r3, r2, r3
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	add	r3, r3, #1
	lsl	r3, r3, #16
	lsr	r0, r3, #16
	ldr	r3, [fp, #-2368]
	lsl	r2, r3, #4
	ldr	r3, [fp, #-2372]
	add	r3, r2, r3
	ldr	r2, [fp, #-2352]
	mul	r2, r3, r2
	ldr	r3, [fp, #-2352]
	sub	r3, r3, #1
	add	r3, r2, r3
	lsl	r3, r3, #5
	ldr	r2, [fp, #-2344]
	add	r1, r2, r3
	ldr	r2, [fp, #-2368]
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	ldr	r2, [fp, #-2372]
	add	r3, r3, r2
	add	r3, r3, #1
	lsl	r3, r3, #5
	add	r3, r4, r3
	mov	r2, r3
	bl	histogram_muladd
	ldr	r3, [fp, #-2376]
	lsl	r3, r3, #16
	lsr	r2, r3, #16
	ldr	r3, [fp, #12]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	add	r3, r2, r3
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	add	r3, r3, #1
	lsl	r3, r3, #16
	lsr	r2, r3, #16
	ldr	r3, [fp, #-2368]
	lsl	r1, r3, #4
	ldr	r3, [fp, #-2372]
	add	r3, r1, r3
	lsl	r3, r3, #1
	sub	r1, fp, #12
	add	r3, r1, r3
	sub	r3, r3, #132
	strh	r2, [r3]	@ movhi
	b	.L66
.L83:
	.align	2
.L82:
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	310
	.word	.LC8
	.word	__PRETTY_FUNCTION__.6088
	.word	341
	.word	.LC9
	.word	.LC0
	.word	.LC10
.L70:
	ldr	r3, [fp, #-2368]
	lsl	r2, r3, #4
	ldr	r3, [fp, #-2372]
	add	r3, r2, r3
	ldr	r2, [fp, #-2352]
	mul	r2, r3, r2
	ldr	r3, [fp, #-2368]
	lsl	r1, r3, #4
	ldr	r3, [fp, #-2372]
	add	r3, r1, r3
	lsl	r3, r3, #1
	sub	r1, fp, #12
	add	r3, r1, r3
	sub	r3, r3, #132
	ldrh	r3, [r3]
	mov	r1, r3
	ldr	r3, [fp, #12]
	lsl	r3, r3, #1
	sub	r3, r1, r3
	cmp	r3, #1
	movge	r3, r3
	movlt	r3, #1
	sub	r3, r3, #1
	add	r3, r2, r3
	lsl	r3, r3, #5
	ldr	r2, [fp, #-2344]
	add	r0, r2, r3
	ldr	r2, [fp, #-2368]
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	ldr	r2, [fp, #-2372]
	add	r3, r3, r2
	add	r3, r3, #1
	lsl	r3, r3, #5
	add	r3, r4, r3
	mov	r1, r3
	bl	histogram_sub
	ldr	r3, [fp, #-2368]
	lsl	r2, r3, #4
	ldr	r3, [fp, #-2372]
	add	r3, r2, r3
	ldr	r2, [fp, #-2352]
	mul	r2, r3, r2
	ldr	r3, [fp, #-2368]
	lsl	r1, r3, #4
	ldr	r3, [fp, #-2372]
	add	r3, r1, r3
	lsl	r3, r3, #1
	sub	r1, fp, #12
	add	r3, r1, r3
	sub	r3, r3, #132
	ldrh	r3, [r3]
	mov	r1, r3
	ldr	r3, [fp, #-2352]
	cmp	r3, r1
	bgt	.L68
	ldr	r3, [fp, #-2352]
	sub	r3, r3, #1
	b	.L69
.L68:
	ldr	r3, [fp, #-2368]
	lsl	r1, r3, #4
	ldr	r3, [fp, #-2372]
	add	r3, r1, r3
	lsl	r3, r3, #1
	sub	r1, fp, #12
	add	r3, r1, r3
	sub	r3, r3, #132
	ldrh	r3, [r3]
.L69:
	add	r3, r3, r2
	lsl	r3, r3, #5
	ldr	r2, [fp, #-2344]
	add	r0, r2, r3
	ldr	r2, [fp, #-2368]
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	ldr	r2, [fp, #-2372]
	add	r3, r3, r2
	add	r3, r3, #1
	lsl	r3, r3, #5
	add	r3, r4, r3
	mov	r1, r3
	bl	histogram_add
	ldr	r3, [fp, #-2368]
	lsl	r2, r3, #4
	ldr	r3, [fp, #-2372]
	add	r3, r2, r3
	lsl	r3, r3, #1
	sub	r2, fp, #12
	add	r3, r2, r3
	sub	r3, r3, #132
	ldrh	r3, [r3]
	add	r3, r3, #1
	lsl	r3, r3, #16
	lsr	r2, r3, #16
	ldr	r3, [fp, #-2368]
	lsl	r1, r3, #4
	ldr	r3, [fp, #-2372]
	add	r3, r1, r3
	lsl	r3, r3, #1
	sub	r1, fp, #12
	add	r3, r1, r3
	sub	r3, r3, #132
	strh	r2, [r3]	@ movhi
.L67:
	ldr	r2, [fp, #-2376]
	ldr	r3, [fp, #12]
	add	r3, r2, r3
	ldr	r2, [fp, #-2368]
	lsl	r1, r2, #4
	ldr	r2, [fp, #-2372]
	add	r2, r1, r2
	lsl	r2, r2, #1
	sub	r1, fp, #12
	add	r2, r1, r2
	sub	r2, r2, #132
	ldrh	r2, [r2]
	cmp	r3, r2
	bge	.L70
.L66:
	ldr	r3, [fp, #-2352]
	ldr	r2, [fp, #-2368]
	mul	r2, r3, r2
	ldr	r1, [fp, #-2376]
	ldr	r3, [fp, #12]
	sub	r3, r1, r3
	bic	r3, r3, r3, asr #31
	add	r3, r2, r3
	lsl	r3, r3, #5
	ldr	r2, [fp, #-2348]
	add	r0, r2, r3
	ldr	r2, [fp, #-2368]
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #5
	add	r3, r4, r3
	mov	r1, r3
	bl	histogram_sub
	ldr	r2, [fp, #-2368]
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	ldr	r2, [fp, #-2372]
	add	r3, r3, r2
	add	r3, r3, #1
	lsl	r3, r3, #5
	add	r3, r4, r3
	str	r3, [fp, #-2336]
	mov	r3, #0
	str	r3, [fp, #-2360]
	b	.L71
.L74:
	ldr	r3, [fp, #-2360]
	lsl	r3, r3, #1
	ldr	r2, [fp, #-2336]
	add	r3, r2, r3
	ldrh	r1, [r3]
	sub	r3, fp, #12
	sub	r3, r3, #2368
	sub	r3, r3, #4
	sub	r2, fp, #12
	sub	r2, r2, #2368
	sub	r2, r2, #4
	ldrh	r2, [r2]	@ movhi
	add	r2, r1, r2
	strh	r2, [r3]	@ movhi
	sub	r3, fp, #12
	sub	r2, r3, #2368
	sub	r2, r2, #4
	sub	r3, fp, #12
	sub	r3, r3, #2368
	sub	r3, r3, #2
	ldrh	r2, [r2]
	ldrh	r3, [r3]
	cmp	r2, r3
	bls	.L72
	ldr	r3, [fp, #-2372]
	and	r3, r3, #255
	lsl	r3, r3, #4
	and	r1, r3, #255
	ldr	r3, [fp, #-2360]
	and	r2, r3, #255
	ldr	r3, [fp, #8]
	ldr	r0, [fp, #-2380]
	mul	r0, r3, r0
	ldr	r3, [fp, #16]
	ldr	ip, [fp, #-2376]
	mul	r3, ip, r3
	add	r0, r0, r3
	ldr	r3, [fp, #-2368]
	add	r3, r0, r3
	mov	r0, r3
	ldr	r3, [fp, #-2396]
	add	r3, r3, r0
	add	r2, r1, r2
	and	r2, r2, #255
	strb	r2, [r3]
	b	.L73
.L72:
	ldr	r3, [fp, #-2360]
	add	r3, r3, #1
	str	r3, [fp, #-2360]
.L71:
	ldr	r3, [fp, #-2360]
	cmp	r3, #15
	ble	.L74
.L73:
	ldr	r3, [fp, #-2360]
	cmp	r3, #15
	ble	.L75
	ldr	r3, .L82+36
	ldr	r2, .L82+40
	ldr	r1, .L82+48
	ldr	r0, .L82+44
	bl	__assert_fail
.L75:
	ldr	r3, [fp, #-2368]
	add	r3, r3, #1
	str	r3, [fp, #-2368]
.L53:
	ldr	r2, [fp, #-2368]
	ldr	r3, [fp, #16]
	cmp	r2, r3
	blt	.L76
	ldr	r3, [fp, #-2376]
	add	r3, r3, #1
	str	r3, [fp, #-2376]
.L52:
	ldr	r3, [fp, #24]
	cmp	r3, #0
	bne	.L77
	ldr	r2, [fp, #-2352]
	ldr	r3, [fp, #12]
	sub	r3, r2, r3
	b	.L78
.L77:
	ldr	r3, [fp, #-2352]
.L78:
	ldr	r2, [fp, #-2376]
	cmp	r3, r2
	bgt	.L79
	ldr	r3, [fp, #-2380]
	add	r3, r3, #1
	str	r3, [fp, #-2380]
.L28:
	ldr	r2, [fp, #-2380]
	ldr	r3, [fp, #-2356]
	cmp	r2, r3
	blt	.L80
	ldr	r0, [fp, #-2348]
	bl	free
	ldr	r0, [fp, #-2344]
	bl	free
	nop
	ldr	r3, .L82+52
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L81
	bl	__stack_chk_fail
.L81:
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
	.size	ctmf_helper, .-ctmf_helper
	.global	__aeabi_i2d
	.global	__aeabi_ui2d
	.global	__aeabi_ddiv
	.global	__aeabi_d2iz
	.align	2
	.global	ctmf
	.syntax unified
	.arm
	.fpu softvfp
	.type	ctmf, %function
ctmf:
	@ args = 20, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #56
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	str	r2, [fp, #-40]
	str	r3, [fp, #-44]
	ldr	r3, [fp, #12]
	lsl	r3, r3, #1
	ldr	r2, [fp, #-40]
	sub	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r4, r0
	mov	r5, r1
	ldr	r3, [fp, #20]
	ldr	r2, .L93
	umull	r1, r3, r2, r3
	lsr	r3, r3, #9
	ldr	r2, [fp, #12]
	lsl	r2, r2, #1
	sub	r3, r3, r2
	mov	r0, r3
	bl	__aeabi_ui2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	ceil
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #12]
	mul	r3, r2, r3
	lsl	r2, r3, #1
	ldr	r3, [fp, #-40]
	add	r2, r2, r3
	ldr	r3, [fp, #12]
	lsl	r3, r3, #1
	sub	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r4, r0
	mov	r5, r1
	ldr	r0, [fp, #-20]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	ceil
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-28]
	b	.L85
.L90:
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-24]
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-16]
	add	r2, r2, r3
	ldr	r3, [fp, #12]
	lsl	r3, r3, #1
	sub	r3, r2, r3
	ldr	r2, [fp, #-40]
	cmp	r2, r3
	ble	.L86
	ldr	r3, [fp, #12]
	lsl	r2, r3, #1
	ldr	r1, [fp, #-28]
	ldr	r3, [fp, #-16]
	add	r1, r1, r3
	ldr	r3, [fp, #12]
	lsl	r3, r3, #1
	sub	r3, r1, r3
	ldr	r1, [fp, #-40]
	sub	r3, r1, r3
	cmp	r2, r3
	blt	.L87
.L86:
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-28]
	sub	r3, r2, r3
	str	r3, [fp, #-24]
.L87:
	ldr	r3, [fp, #16]
	ldr	r2, [fp, #-28]
	mul	r3, r2, r3
	mov	r2, r3
	ldr	r3, [fp, #-32]
	add	r0, r3, r2
	ldr	r3, [fp, #16]
	ldr	r2, [fp, #-28]
	mul	r3, r2, r3
	mov	r2, r3
	ldr	r3, [fp, #-36]
	add	r1, r3, r2
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	mov	ip, r3
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-28]
	sub	r3, r2, r3
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	str	r3, [sp, #20]
	str	ip, [sp, #16]
	ldr	r3, [fp, #16]
	str	r3, [sp, #12]
	ldr	r3, [fp, #12]
	str	r3, [sp, #8]
	ldr	r3, [fp, #8]
	str	r3, [sp, #4]
	ldr	r3, [fp, #4]
	str	r3, [sp]
	ldr	r3, [fp, #-44]
	ldr	r2, [fp, #-24]
	bl	ctmf_helper
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-28]
	sub	r3, r2, r3
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	beq	.L91
	ldr	r3, [fp, #12]
	lsl	r3, r3, #1
	ldr	r2, [fp, #-16]
	sub	r3, r2, r3
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	str	r3, [fp, #-28]
.L85:
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-40]
	cmp	r2, r3
	blt	.L90
	b	.L92
.L91:
	nop
.L92:
	nop
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L94:
	.align	2
.L93:
	.word	-252645135
	.size	ctmf, .-ctmf
	.section	.rodata
	.align	2
	.type	__PRETTY_FUNCTION__.6088, %object
	.size	__PRETTY_FUNCTION__.6088, 12
__PRETTY_FUNCTION__.6088:
	.ascii	"ctmf_helper\000"
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
