LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O3/kebwi[P]Trifid/src/FourierTransform.cpp
// Function: cropImage(Image3ChnlReal const&, int, int, int, int, Image3ChnlReal&)
void cropImage(const Image3ChnlReal &img, int newWidth, int newHeight, int offsetX, int offsetY, Image3ChnlReal &imgOut)
{
	int width = img.width(), height = img.height();
	assert(offsetX + newWidth <= width && offsetY + newHeight <= height);
	
	imgOut.resize(newWidth, newHeight);
	
	for (int c = 0; c < 3; c++)
		for (int y = 0; y < newHeight; y++)
			for (int x = 0; x < newWidth; x++)
				(*imgOut[c])(x, y) = (*img[c])(x + offsetX, y + offsetY);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %r9, (%rsp)
movl %ecx, %r15d
movl %esi, %r13d
leal (%r15,%r13), %eax
cmpl 0x28(%rdi), %eax
jg 0x19be5
movl %edx, %r12d
leal (%r8,%r12), %eax
cmpl 0x2c(%rdi), %eax
jg 0x19be5
movq %rdi, 0x8(%rsp)
movq %r8, 0x10(%rsp)
movq (%rsp), %rdi
movq (%rdi), %rax
movl %r13d, %esi
movl %r12d, %edx
callq *0x28(%rax)
movl %r13d, %ebx
xorl %ecx, %ecx
testl %r12d, %r12d
jle 0x19bcd
movq 0x8(%rsp), %rax
movq 0x38(%rax), %rdx
movq (%rsp), %rax
movq 0x38(%rax), %rsi
xorl %edi, %edi
movq 0x10(%rsp), %rax
movl %eax, %r8d
testl %r13d, %r13d
jle 0x19bc3
movq (%rdx,%rcx,8), %rax
movq 0x38(%rax), %r9
movq (%rsi,%rcx,8), %r11
movq 0x38(%r11), %r10
movl 0x28(%r11), %r11d
imull %edi, %r11d
movl 0x28(%rax), %r14d
imull %r8d, %r14d
addl %r15d, %r14d
movq %rbx, %rax
movl %r14d, %ebp
movsd (%r9,%rbp,8), %xmm0
movl %r11d, %ebp
movsd %xmm0, (%r10,%rbp,8)
incl %r14d
incl %r11d
decq %rax
jne 0x19ba6
incl %edi
incl %r8d
cmpl %r12d, %edi
jne 0x19b7b
incq %rcx
cmpq $0x3, %rcx
jne 0x19b5b
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x1310c(%rip), %rdi     # 0x2ccf8
leaq 0x12ff8(%rip), %rsi     # 0x2cbeb
leaq 0x1317e(%rip), %rcx     # 0x2cd78
movl $0x140, %edx            # imm = 0x140
callq 0x31c0
// File: /workspace/github_cpp_makefile_star2_O3/kebwi[P]Trifid/src/FourierTransform.cpp
// Function: shiftImage(ImageReal const&, int, int, ImageReal&)
void shiftImage(const ImageReal &img, int shiftX, int shiftY, ImageReal &imgOut)
{
	assert(&img != &imgOut);
	
	if (shiftX < 0)
		shiftX += img.width();
	shiftX %= img.width();
	if (shiftY < 0)
		shiftY += img.height();
	shiftY %= img.height();
	
	imgOut.resize(img.width(), img.height());
	int width = img.width(), height = img.height();
	
	int xx, yy;
	for (int y = 0; y < height; y++)
	{
		yy = (y + shiftY) % height;
		for (int x = 0; x < width; x++)
		{
			xx = (x + shiftX) % width;
			imgOut(x, y) = img(xx, yy);
		}
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
cmpq %rcx, %rdi
je 0x19cb9
movq %rcx, %r14
movl %esi, %ebp
movq %rdi, %r15
movl 0x28(%rdi), %r12d
movl 0x2c(%rdi), %ecx
movl %edx, %eax
sarl $0x1f, %eax
andl %ecx, %eax
addl %edx, %eax
cltd
idivl %ecx
movl %edx, %ebx
movq (%r14), %rax
movq %r14, %rdi
movl %r12d, %esi
movl %ecx, %edx
callq *0x28(%rax)
movl 0x2c(%r15), %edi
testl %edi, %edi
jle 0x19cb0
movl 0x28(%r15), %r8d
movl %ebp, %eax
sarl $0x1f, %eax
andl %r12d, %eax
addl %ebp, %eax
cltd
idivl %r12d
movl %edx, %ecx
movq 0x38(%r15), %r9
movq 0x38(%r14), %r10
movl 0x28(%r14), %r11d
xorl %r14d, %r14d
xorl %r15d, %r15d
testl %r8d, %r8d
jle 0x19ca5
leal (%r15,%rbx), %eax
cltd
idivl %edi
movl %edx, %esi
imull %r8d, %esi
xorl %r12d, %r12d
leal (%rcx,%r12), %eax
cltd
idivl %r8d
addl %esi, %edx
movsd (%r9,%rdx,8), %xmm0
leal (%r14,%r12), %eax
movsd %xmm0, (%r10,%rax,8)
incq %r12
cmpq %r12, %r8
jne 0x19c83
incl %r15d
addq %r11, %r14
cmpl %edi, %r15d
jne 0x19c6e
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
leaq 0x13105(%rip), %rdi     # 0x2cdc5
leaq 0x12f24(%rip), %rsi     # 0x2cbeb
leaq 0x13107(%rip), %rcx     # 0x2cdd5
movl $0x14c, %edx            # imm = 0x14C
callq 0x31c0
// File: /workspace/github_cpp_makefile_star2_O3/kebwi[P]Trifid/src/FourierTransform.cpp
// Function: shiftImage(Image3ChnlReal const&, int, int, Image3ChnlReal&)
void shiftImage(const Image3ChnlReal &img, int shiftX, int shiftY, Image3ChnlReal &imgOut)
{
	assert(&img != &imgOut);
	
	if (shiftX < 0)
		shiftX += img.width();
	shiftX %= img.width();
	if (shiftY < 0)
		shiftY += img.height();
	shiftY %= img.height();
	
	imgOut.resize(img.width(), img.height());
	int width = img.width(), height = img.height();
	
	int xx, yy;
	for (int c = 0; c < 3; c++)
		for (int y = 0; y < height; y++)
		{
			yy = (y + shiftY) % height;
			for (int x = 0; x < width; x++)
			{
				xx = (x + shiftX) % width;
				(*imgOut[c])(x, y) = (*img[c])(xx, yy);
			}
		}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
cmpq %rcx, %rdi
je 0x19dc9
movl %edx, %r10d
movq %rdi, %rbx
movl %esi, %eax
sarl $0x1f, %eax
movl 0x28(%rdi), %r8d
movl 0x2c(%rdi), %r9d
andl %r8d, %eax
addl %esi, %eax
cltd
idivl %r8d
movl %edx, %r15d
movl %r10d, %eax
sarl $0x1f, %eax
andl %r9d, %eax
addl %r10d, %eax
cltd
idivl %r9d
movl %edx, %r12d
movq (%rcx), %rax
movq %rcx, 0x10(%rsp)
movq %rcx, %rdi
movl %r8d, %esi
movl %r9d, %edx
callq *0x28(%rax)
movl 0x28(%rbx), %esi
movq %rbx, 0x8(%rsp)
movl 0x2c(%rbx), %edi
xorl %r8d, %r8d
testl %edi, %edi
jle 0x19db1
movq 0x8(%rsp), %rax
movq 0x38(%rax), %r9
movq 0x10(%rsp), %rax
movq 0x38(%rax), %r10
xorl %r11d, %r11d
testl %esi, %esi
jle 0x19da9
leal (%r11,%r12), %eax
cltd
idivl %edi
movl %edx, %ecx
movq (%r9,%r8,8), %rax
movq 0x38(%rax), %r13
imull 0x28(%rax), %ecx
movq (%r10,%r8,8), %rax
movq 0x38(%rax), %rbp
movl 0x28(%rax), %ebx
imull %r11d, %ebx
xorl %r14d, %r14d
leal (%r15,%r14), %eax
cltd
idivl %esi
addl %ecx, %edx
movsd (%r13,%rdx,8), %xmm0
leal (%rbx,%r14), %eax
movsd %xmm0, (%rbp,%rax,8)
incq %r14
cmpq %r14, %rsi
jne 0x19d87
incl %r11d
cmpl %edi, %r11d
jne 0x19d5c
incq %r8
cmpq $0x3, %r8
jne 0x19d43
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x12ff5(%rip), %rdi     # 0x2cdc5
leaq 0x12e14(%rip), %rsi     # 0x2cbeb
leaq 0x13031(%rip), %rcx     # 0x2ce0f
movl $0x166, %edx            # imm = 0x166
callq 0x31c0
// File: /workspace/github_cpp_makefile_star2_O3/kebwi[P]Trifid/src/SteerablePyramid.cpp
// Function: SteerablePyramid::CreateScratch()
void SteerablePyramid::CreateScratch()
{
	//Note that scratch_2D_A_ will be memory leaked when the last instance of SteerablePyramid is deleted!!!
	//Reasonably simple to fix, but this is just a dinky little experimental program.  Tsk tsk.
	if (scratchSize_ < width_ * height_)
	{
		if (scratch_2D_A_)
			delete [] scratch_2D_A_;
		if (scratch_2D_B_)
			delete [] scratch_2D_B_;
		
		scratchSize_ = width_ * height_;
		
		scratch_2D_A_ = new Float_t[scratchSize_];
		assert(scratch_2D_A_);
		scratch_2D_B_ = new Float_t[scratchSize_];
		assert(scratch_2D_B_);
	}
}

// Assembly:
movl 0x34(%rdi), %eax
imull 0x30(%rdi), %eax
cmpl %eax, 0x1ee2d(%rip)     # 0x39af0
jge 0x1ad30
pushq %rbx
movq %rdi, %rbx
movq 0x1ee10(%rip), %rdi     # 0x39ae0
testq %rdi, %rdi
je 0x1acda
callq 0x33c0
movq 0x1ee07(%rip), %rdi     # 0x39ae8
testq %rdi, %rdi
je 0x1aceb
callq 0x33c0
movslq 0x30(%rbx), %rax
movslq 0x34(%rbx), %rcx
imulq %rax, %rcx
movl %ecx, 0x1edf3(%rip)     # 0x39af0
movq %rcx, %rax
shlq $0x3, %rax
testl %ecx, %ecx
movq $-0x1, %rbx
cmovnsq %rax, %rbx
movq %rbx, %rdi
callq 0x3030
movq %rax, 0x1edc0(%rip)     # 0x39ae0
movq %rbx, %rdi
callq 0x3030
movq %rax, 0x1edb9(%rip)     # 0x39ae8
popq %rbx
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/kebwi[P]Trifid/src/SteerablePyramid.cpp
// Function: SteerablePyramid::operator=(SteerablePyramid const&)
const SteerablePyramid& SteerablePyramid::operator=(const SteerablePyramid& sp)
{
	if (&sp == this)
		return *this;
	
	Init(sp.width_, sp.height_);
	
	useFTconvolution_ = sp.useFTconvolution_;
	
	int totalPixels = width_ * height_;
	memcpy(h0Coeffs_, sp.h0Coeffs_, totalPixels * sizeof(Float_t));
	
	for (int i = 0; i < numLevels_; i++)
	{
		int totalPixels = (width_ * height_) / (int)(pow(4, i));
		memcpy(b1Coeffs_[i], sp.b1Coeffs_[i], totalPixels * sizeof(Float_t));
		memcpy(b2Coeffs_[i], sp.b2Coeffs_[i], totalPixels * sizeof(Float_t));
		memcpy(b3Coeffs_[i], sp.b3Coeffs_[i], totalPixels * sizeof(Float_t));
		memcpy(b4Coeffs_[i], sp.b4Coeffs_[i], totalPixels * sizeof(Float_t));
		memcpy(l1Coeffs_[i], sp.l1Coeffs_[i], (totalPixels / 4) * sizeof(Float_t));
	}
	
	return *this;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
cmpq %rdi, %rsi
je 0x1ae9b
movq %rsi, %r14
movl 0x30(%rsi), %esi
movl 0x34(%r14), %edx
movq %rbx, %rdi
callq 0x1b05a
movb 0x48(%r14), %al
movb %al, 0x48(%rbx)
movslq 0x30(%rbx), %rax
movslq 0x34(%rbx), %rdx
imulq %rax, %rdx
movq (%rbx), %rdi
movq (%r14), %rsi
shlq $0x3, %rdx
callq 0x3260
cmpl $0x0, 0x38(%rbx)
jle 0x1ae9b
xorl %r12d, %r12d
xorl %r13d, %r13d
movl 0x34(%rbx), %ebp
imull 0x30(%rbx), %ebp
movl %r12d, %eax
xorps %xmm0, %xmm0
cvtsi2sd %rax, %xmm0
callq 0x32a0
cvttsd2si %xmm0, %ecx
movl %ebp, %eax
cltd
idivl %ecx
movq 0x8(%rbx), %rcx
movq (%rcx,%r13,8), %rdi
movq 0x8(%r14), %rcx
movq (%rcx,%r13,8), %rsi
movslq %eax, %rbp
leaq (,%rbp,8), %r15
movq %r15, %rdx
callq 0x3260
movq 0x10(%rbx), %rax
movq (%rax,%r13,8), %rdi
movq 0x10(%r14), %rax
movq (%rax,%r13,8), %rsi
movq %r15, %rdx
callq 0x3260
movq 0x18(%rbx), %rax
movq (%rax,%r13,8), %rdi
movq 0x18(%r14), %rax
movq (%rax,%r13,8), %rsi
movq %r15, %rdx
callq 0x3260
movq 0x20(%rbx), %rax
movq (%rax,%r13,8), %rdi
movq 0x20(%r14), %rax
movq (%rax,%r13,8), %rsi
movq %r15, %rdx
callq 0x3260
movq 0x28(%rbx), %rax
movq (%rax,%r13,8), %rdi
movq 0x28(%r14), %rax
leal 0x3(%rbp), %ecx
testl %ebp, %ebp
cmovnsl %ebp, %ecx
movq (%rax,%r13,8), %rsi
sarl $0x2, %ecx
movslq %ecx, %rdx
shlq $0x3, %rdx
callq 0x3260
incq %r13
movslq 0x38(%rbx), %rax
addl $0x2, %r12d
cmpq %rax, %r13
jl 0x1add5
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/kebwi[P]Trifid/src/SteerablePyramid.cpp
// Function: SteerablePyramid::Destroy()
void SteerablePyramid::Destroy()
{
	if (yLookup_)
		delete [] yLookup_;
	yLookup_ = NULL;
	
	if (h0Coeffs_)
		delete [] h0Coeffs_;
	h0Coeffs_ = NULL;
	
	if (b1Coeffs_)
	{
		for (int i = 0; i < numLevels_; i++)
			delete [] b1Coeffs_[i];
		delete [] b1Coeffs_;
	}
	b1Coeffs_ = NULL;
	
	if (b2Coeffs_)
	{
		for (int i = 0; i < numLevels_; i++)
			delete [] b2Coeffs_[i];
		delete [] b2Coeffs_;
	}
	b2Coeffs_ = NULL;
	
	if (b3Coeffs_)
	{
		for (int i = 0; i < numLevels_; i++)
			delete [] b3Coeffs_[i];
		delete [] b3Coeffs_;
	}
	b3Coeffs_ = NULL;
	
	if (b4Coeffs_)
	{
		for (int i = 0; i < numLevels_; i++)
			delete [] b4Coeffs_[i];
		delete [] b4Coeffs_;
	}
	b4Coeffs_ = NULL;
	
	if (l1Coeffs_)
	{
		for (int i = 0; i < numLevels_; i++)
			delete [] l1Coeffs_[i];
		delete [] l1Coeffs_;
	}
	l1Coeffs_ = NULL;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x40(%rdi), %rdi
testq %rdi, %rdi
je 0x1aec9
callq 0x33c0
movq $0x0, 0x40(%rbx)
movq (%rbx), %rdi
testq %rdi, %rdi
je 0x1aede
callq 0x33c0
movq $0x0, (%rbx)
movq 0x8(%rbx), %rdi
testq %rdi, %rdi
je 0x1af26
movl 0x38(%rbx), %eax
testl %eax, %eax
jle 0x1af21
xorl %r14d, %r14d
movq 0x8(%rbx), %rcx
movq (%rcx,%r14,8), %rdi
testq %rdi, %rdi
je 0x1af0d
callq 0x33c0
movl 0x38(%rbx), %eax
incq %r14
movslq %eax, %rcx
cmpq %rcx, %r14
jl 0x1aef8
movq 0x8(%rbx), %rdi
testq %rdi, %rdi
je 0x1af26
callq 0x33c0
movq $0x0, 0x8(%rbx)
movq 0x10(%rbx), %rdi
testq %rdi, %rdi
je 0x1af6f
movl 0x38(%rbx), %eax
testl %eax, %eax
jle 0x1af6a
xorl %r14d, %r14d
movq 0x10(%rbx), %rcx
movq (%rcx,%r14,8), %rdi
testq %rdi, %rdi
je 0x1af56
callq 0x33c0
movl 0x38(%rbx), %eax
incq %r14
movslq %eax, %rcx
cmpq %rcx, %r14
jl 0x1af41
movq 0x10(%rbx), %rdi
testq %rdi, %rdi
je 0x1af6f
callq 0x33c0
movq $0x0, 0x10(%rbx)
movq 0x18(%rbx), %rdi
testq %rdi, %rdi
je 0x1afb8
movl 0x38(%rbx), %eax
testl %eax, %eax
jle 0x1afb3
xorl %r14d, %r14d
movq 0x18(%rbx), %rcx
movq (%rcx,%r14,8), %rdi
testq %rdi, %rdi
je 0x1af9f
callq 0x33c0
movl 0x38(%rbx), %eax
incq %r14
movslq %eax, %rcx
cmpq %rcx, %r14
jl 0x1af8a
movq 0x18(%rbx), %rdi
testq %rdi, %rdi
je 0x1afb8
callq 0x33c0
movq $0x0, 0x18(%rbx)
movq 0x20(%rbx), %rdi
testq %rdi, %rdi
je 0x1b001
movl 0x38(%rbx), %eax
testl %eax, %eax
jle 0x1affc
xorl %r14d, %r14d
movq 0x20(%rbx), %rcx
movq (%rcx,%r14,8), %rdi
testq %rdi, %rdi
je 0x1afe8
callq 0x33c0
movl 0x38(%rbx), %eax
incq %r14
movslq %eax, %rcx
cmpq %rcx, %r14
jl 0x1afd3
movq 0x20(%rbx), %rdi
testq %rdi, %rdi
je 0x1b001
callq 0x33c0
movq $0x0, 0x20(%rbx)
movq 0x28(%rbx), %rdi
testq %rdi, %rdi
je 0x1b04a
movl 0x38(%rbx), %eax
testl %eax, %eax
jle 0x1b045
xorl %r14d, %r14d
movq 0x28(%rbx), %rcx
movq (%rcx,%r14,8), %rdi
testq %rdi, %rdi
je 0x1b031
callq 0x33c0
movl 0x38(%rbx), %eax
incq %r14
movslq %eax, %rcx
cmpq %rcx, %r14
jl 0x1b01c
movq 0x28(%rbx), %rdi
testq %rdi, %rdi
je 0x1b04a
callq 0x33c0
movq $0x0, 0x28(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_cpp_makefile_star2_O3/kebwi[P]Trifid/src/SteerablePyramid.cpp
// Function: SteerablePyramid::GetFilters(std::vector<std::vector<double, std::allocator<double>>, std::allocator<std::vector<double, std::allocator<double>>>>&)
void SteerablePyramid::GetFilters(vector<vector<Float_t> > &filters)
{
	InitFilters();
	
	filters.clear();
	filters.resize(7);
	
	for (int i = 0; i < 7; i++)
	{
		filters[i].resize(skFilterDims[i] * skFilterDims[i]);
		for (int j = 0; j < skFilterDims[i] * skFilterDims[i]; j++)
			filters[i][j] = skFilters[i][j];
	}
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rdi, %rbx
callq 0x1ab64
movq (%rbx), %rsi
movq %rbx, %rdi
callq 0x222f0
movl $0x7, %esi
movq %rbx, %rdi
callq 0x21a00
xorl %r14d, %r14d
leaq 0x1d853(%rip), %r15     # 0x39b00
leaq 0x1d86c(%rip), %r12     # 0x39b20
leaq (%r14,%r14,2), %r13
leaq (,%r13,8), %rdi
addq (%rbx), %rdi
movl (%r15,%r14,4), %esi
imull %esi, %esi
callq 0xa036
movl (%r15,%r14,4), %eax
testl %eax, %eax
je 0x1c2ff
imull %eax, %eax
movq (%r12,%r14,8), %rcx
movq (%rbx), %rdx
movq (%rdx,%r13,8), %rdx
cmpl $0x1, %eax
adcl $0x0, %eax
xorl %esi, %esi
movsd (%rcx,%rsi,8), %xmm0
movsd %xmm0, (%rdx,%rsi,8)
incq %rsi
cmpq %rsi, %rax
jne 0x1c2ed
incq %r14
cmpq $0x7, %r14
jne 0x1c2b4
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O3/kebwi[P]Trifid/src/SteerablePyramid.cpp
// Function: SteerablePyramid::DetermineNumLevels()
void SteerablePyramid::DetermineNumLevels()
{
	numLevels_ = 0;
	int shorterDim = min(width_, height_);
	while (shorterDim > skFilterDims[2])	//Limit is determined by the dimensions of the L1 filter (probably 17x17)
	{
		numLevels_++;
		shorterDim /= 2;
	}
}

// Assembly:
movl $0x0, 0x38(%rdi)
movl 0x30(%rdi), %eax
movl 0x34(%rdi), %ecx
cmpl %eax, %ecx
cmovll %ecx, %eax
movl 0x1d7de(%rip), %ecx     # 0x39b08
cmpl %ecx, %eax
jle 0x1c344
xorl %edx, %edx
movl %eax, %esi
incl %edx
shrl $0x1f, %esi
addl %eax, %esi
sarl %esi
movl %esi, %eax
cmpl %ecx, %esi
jg 0x1c332
movl %edx, 0x38(%rdi)
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/kebwi[P]Trifid/src/SteerablePyramid.cpp
// Function: SteerablePyramid::SetAllZero()
void SteerablePyramid::SetAllZero()
{
	for (int i = 0; i < numLevels_; i++)
	{
		int horDim = width_ / pow(2, i);
		int verDim = height_ / pow(2, i);
		int totalPixels = horDim * verDim;
		int totalBytes = totalPixels * sizeof(Float_t);
		
		if (i == 0)
			memset(h0Coeffs_, 0, totalBytes);
		memset(b1Coeffs_[i], 0, totalBytes);
		memset(b2Coeffs_[i], 0, totalBytes);
		memset(b3Coeffs_[i], 0, totalBytes);
		memset(b4Coeffs_[i], 0, totalBytes);
		memset(l1Coeffs_[i], 0, totalBytes / 4);
	}
}

// Assembly:
cmpl $0x0, 0x38(%rdi)
jle 0x1c453
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x18, %rsp
movq %rdi, %rbx
xorl %r15d, %r15d
xorps %xmm0, %xmm0
cvtsi2sdl 0x30(%rbx), %xmm0
movsd %xmm0, 0x8(%rsp)
xorps %xmm0, %xmm0
cvtsi2sd %r15d, %xmm0
movsd %xmm0, 0x10(%rsp)
callq 0x32a0
movsd 0x8(%rsp), %xmm1
divsd %xmm0, %xmm1
cvttsd2si %xmm1, %r14d
xorps %xmm0, %xmm0
cvtsi2sdl 0x34(%rbx), %xmm0
movsd %xmm0, 0x8(%rsp)
movsd 0x10(%rsp), %xmm0
callq 0x32a0
movsd 0x8(%rsp), %xmm1
divsd %xmm0, %xmm1
cvttsd2si %xmm1, %ebp
imull %r14d, %ebp
shll $0x3, %ebp
testq %r15, %r15
je 0x1c3cc
movslq %ebp, %r14
jmp 0x1c3dc
movq (%rbx), %rdi
movslq %ebp, %r14
xorl %esi, %esi
movq %r14, %rdx
callq 0x3190
movq 0x8(%rbx), %rax
movq (%rax,%r15,8), %rdi
xorl %esi, %esi
movq %r14, %rdx
callq 0x3190
movq 0x10(%rbx), %rax
movq (%rax,%r15,8), %rdi
xorl %esi, %esi
movq %r14, %rdx
callq 0x3190
movq 0x18(%rbx), %rax
movq (%rax,%r15,8), %rdi
xorl %esi, %esi
movq %r14, %rdx
callq 0x3190
movq 0x20(%rbx), %rax
movq (%rax,%r15,8), %rdi
xorl %esi, %esi
movq %r14, %rdx
callq 0x3190
movq 0x28(%rbx), %rax
movq (%rax,%r15,8), %rdi
sarl $0x2, %ebp
movslq %ebp, %rdx
xorl %esi, %esi
callq 0x3190
incq %r15
movslq 0x38(%rbx), %rax
cmpq %rax, %r15
jl 0x1c364
addq $0x18, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/kebwi[P]Trifid/src/SteerablePyramid.cpp
// Function: SteerablePyramid::AccumulateHistograms(double*, int, int, std::vector<int, std::allocator<int>>&, double)
void SteerablePyramid::AccumulateHistograms(Float_t *coeffs, int horDim, int verDim, vector<int> &histogram, Float_t binSpan)
{
	int numBins = histogram.size();
	
	int totalPixels = horDim * verDim;
	int bin;
	for (int i = 0; i < totalPixels; i++)
	{
		bin = fabs(coeffs[i]) / binSpan;
		if (bin >= numBins)
		{
			cout << "Out of bounds histogram: "
					<< fabs(coeffs[i]) << "   "
					<< binSpan << "   "
					<< fabs(coeffs[i]) / binSpan
					<< "   "
					<< bin << "   "
					<< numBins << endl;
			bin = numBins - 1;
		}
		histogram[bin]++;
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %r8, 0x18(%rsp)
imull %ecx, %edx
testl %edx, %edx
jle 0x2187a
movq %rsi, %r14
movq 0x18(%rsp), %rcx
movq (%rcx), %rax
movq 0x8(%rcx), %r15
subq %rax, %r15
shrq $0x2, %r15
leal -0x1(%r15), %ecx
movl %ecx, 0x14(%rsp)
movl %edx, %ebp
xorl %ebx, %ebx
movapd 0x88e6(%rip), %xmm2     # 0x2a010
movsd %xmm0, 0x8(%rsp)
movq %rbp, 0x20(%rsp)
movsd (%r14,%rbx,8), %xmm1
andpd %xmm2, %xmm1
divsd %xmm0, %xmm1
cvttsd2si %xmm1, %r13d
cmpl %r15d, %r13d
jl 0x21868
movl $0x19, %edx
movq 0x15873(%rip), %r12     # 0x36fd0
movq %r12, %rdi
leaq 0xccea(%rip), %rsi      # 0x2e451
callq 0x3360
movsd (%r14,%rbx,8), %xmm0
movapd 0x8896(%rip), %xmm1     # 0x2a010
andpd %xmm1, %xmm0
movq %r12, %rdi
callq 0x3480
movq %rax, %r12
movl $0x3, %edx
movq %rax, %rdi
movq %r15, %rbp
leaq 0x9152(%rip), %r15      # 0x2a8ed
movq %r15, %rsi
callq 0x3360
movq %r12, %rdi
movsd 0x8(%rsp), %xmm0
callq 0x3480
movq %rax, %r12
movl $0x3, %edx
movq %rax, %rdi
movq %r15, %rsi
callq 0x3360
movsd (%r14,%rbx,8), %xmm0
andpd 0x883e(%rip), %xmm0     # 0x2a010
divsd 0x8(%rsp), %xmm0
movq %r12, %rdi
callq 0x3480
movq %rax, %r12
movl $0x3, %edx
movq %rax, %rdi
movq %r15, %rsi
callq 0x3360
movq %r12, %rdi
movl %r13d, %esi
callq 0x34e0
movq %rax, %r12
movl $0x3, %edx
movq %rax, %rdi
movq %r15, %rsi
movq %rbp, %r15
callq 0x3360
movq %r12, %rdi
movl %ebp, %esi
callq 0x34e0
movq %rax, %r12
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r12, %rdi
movl $0xa, %esi
callq 0x32e0
movsbl %al, %esi
movq %r12, %rdi
callq 0x3040
movq %rax, %rdi
callq 0x31f0
movapd 0x87c0(%rip), %xmm2     # 0x2a010
movq 0x20(%rsp), %rbp
movsd 0x8(%rsp), %xmm0
movq 0x18(%rsp), %rax
movq (%rax), %rax
movl 0x14(%rsp), %r13d
movslq %r13d, %rcx
incl (%rax,%rcx,4)
incq %rbx
cmpq %rbx, %rbp
jne 0x21735
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/kebwi[P]Trifid/src/SteerablePyramid.cpp
// Function: FilterFT::~FilterFT()
~FilterFT()
	
	{
		for (int i = 0; i < 7; i++)
			for (int j = 0; j < filtersFTs[i].size(); j++)
			{
				assert(filtersFTs[i][j]);
				delete [] filtersFTs[i][j];
				delete [] filtersInvFTs[i][j];
			}
	}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
leaq 0x8(%rdi), %r14
leaq 0xb0(%rdi), %rax
movq %rax, (%rsp)
xorl %r12d, %r12d
leaq (%r12,%r12,2), %rcx
movq (%r14,%rcx,8), %rax
cmpq %rax, 0x8(%r14,%rcx,8)
je 0x2197d
leaq (%r14,%rcx,8), %r13
movq (%rsp), %rdx
leaq (%rdx,%rcx,8), %rbp
xorl %r15d, %r15d
movq (%rax,%r15,8), %rdi
testq %rdi, %rdi
je 0x219e0
callq 0x33c0
movq (%rbp), %rax
movq (%rax,%r15,8), %rdi
testq %rdi, %rdi
je 0x21966
callq 0x33c0
incq %r15
movq (%r13), %rax
movq 0x8(%r13), %rcx
subq %rax, %rcx
sarq $0x3, %rcx
cmpq %r15, %rcx
ja 0x21942
incq %r12
cmpq $0x7, %r12
jne 0x21924
movl $0x150, %r14d           # imm = 0x150
movq -0x10(%rbx,%r14), %rdi
testq %rdi, %rdi
je 0x219a2
movq (%rbx,%r14), %rsi
subq %rdi, %rsi
callq 0x3310
addq $-0x18, %r14
cmpq $0xa8, %r14
jne 0x2198c
movl $0xa8, %r14d
movq -0x10(%rbx,%r14), %rdi
testq %rdi, %rdi
je 0x219cb
movq (%rbx,%r14), %rsi
subq %rdi, %rsi
callq 0x3310
addq $-0x18, %r14
jne 0x219b5
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0xcab4(%rip), %rdi      # 0x2e49b
leaq 0xb934(%rip), %rsi      # 0x2d322
leaq 0xcab7(%rip), %rcx      # 0x2e4ac
movl $0x37, %edx
callq 0x31c0
nop
// File: /workspace/github_cpp_makefile_star2_O3/kebwi[P]Trifid/src/SteerablePyramid.cpp
// Function: FilterFT::operator=(FilterFT const&)
const FilterFT& operator=(const FilterFT &fft)
	{
		if (&fft == this)
			return *this;
		
		width_ = fft.width_;
		height_ = fft.height_;
		
		for (int i = 0; i < 7; i++)
		{
			filtersFTs[i].resize(fft.filtersFTs[i].size());
			filtersInvFTs[i].resize(fft.filtersInvFTs[i].size());
			for (int j = 0; j < filtersFTs[i].size(); j++)
			{
				int totalPixels = (width_ * height_) / pow(4, j);
				filtersFTs[i][j] = new Float_t[totalPixels];
				filtersInvFTs[i][j] = new Float_t[totalPixels];
				memcpy(filtersFTs[i][j], fft.filtersFTs[i][j], totalPixels * sizeof(Float_t));
				memcpy(filtersInvFTs[i][j], fft.filtersInvFTs[i][j], totalPixels * sizeof(Float_t));
			}
		}
		
		return *this;
	}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rdi, (%rsp)
cmpq %rdi, %rsi
je 0x221d6
movq (%rsi), %rax
movq (%rsp), %rcx
movq %rax, (%rcx)
leaq 0x8(%rcx), %rax
movq %rax, 0x20(%rsp)
leaq 0x8(%rsi), %rax
movq %rax, 0x10(%rsp)
movl $0xb0, %eax
addq %rax, %rcx
movq %rcx, 0x18(%rsp)
addq %rsi, %rax
movq %rax, 0x8(%rsp)
xorl %eax, %eax
movq %rax, 0x28(%rsp)
leaq (,%rax,8), %rax
leaq (%rax,%rax,2), %r12
movq 0x20(%rsp), %rbx
leaq (%rbx,%r12), %r14
movq 0x10(%rsp), %rax
movq 0x8(%rax,%r12), %rsi
subq (%rax,%r12), %rsi
sarq $0x3, %rsi
movq %r14, %rdi
callq 0x21cce
movq 0x18(%rsp), %rax
leaq (%rax,%r12), %r15
movq 0x8(%rsp), %rax
movq 0x8(%rax,%r12), %rsi
subq (%rax,%r12), %rsi
sarq $0x3, %rsi
movq %r15, %rdi
callq 0x21cce
movq 0x8(%rbx,%r12), %rax
cmpq (%rbx,%r12), %rax
je 0x221c4
movq %r12, %rcx
movq 0x10(%rsp), %rax
addq %r12, %rax
movq %rax, 0x30(%rsp)
addq 0x8(%rsp), %rcx
movq %rcx, 0x38(%rsp)
xorl %ebp, %ebp
xorl %ebx, %ebx
movq (%rsp), %rcx
movl 0x4(%rcx), %eax
imull (%rcx), %eax
xorps %xmm0, %xmm0
cvtsi2sd %eax, %xmm0
movsd %xmm0, 0x40(%rsp)
movl %ebp, %eax
xorps %xmm0, %xmm0
cvtsi2sd %rax, %xmm0
callq 0x32a0
movsd 0x40(%rsp), %xmm1
divsd %xmm0, %xmm1
cvttsd2si %xmm1, %eax
cltq
leaq (,%rax,8), %r12
movq $-0x1, %r13
testl %eax, %eax
js 0x22156
movq %r12, %r13
movq %r13, %rdi
callq 0x3030
movq (%r14), %rcx
movq %rax, (%rcx,%rbx,8)
movq %r13, %rdi
callq 0x3030
movq (%r15), %rcx
movq %rax, (%rcx,%rbx,8)
movq (%r14), %rax
movq (%rax,%rbx,8), %rdi
movq 0x30(%rsp), %rax
movq (%rax), %rax
movq (%rax,%rbx,8), %rsi
movq %r12, %rdx
callq 0x3260
movq (%r15), %rax
movq (%rax,%rbx,8), %rdi
movq 0x38(%rsp), %rax
movq (%rax), %rax
movq (%rax,%rbx,8), %rsi
movq %r12, %rdx
callq 0x3260
movq 0x8(%r14), %rax
subq (%r14), %rax
incq %rbx
sarq $0x3, %rax
addl $0x2, %ebp
cmpq %rbx, %rax
ja 0x2210a
movq 0x28(%rsp), %rax
incq %rax
cmpq $0x7, %rax
jne 0x22086
movq (%rsp), %rax
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/kebwi[P]Trifid/src/ImagePairStats.cpp
// Function: calc1ChnlME(ImageReal const&, ImageReal const&)
Float_t calc1ChnlME(const ImageReal &img1, const ImageReal &img2)
{
	assert(img1.width() > 0 && img1.height() > 0);
	assert(img1.width() == img2.width() && img1.height() == img2.height());
	
	Float_t mse = 0;
	
	int width = img1.width(), height = img1.height();
	int numNonborderPixels = 0;
	for (int y = skEdgeSkip; y < height - skEdgeSkip; y++)
		for (int x = skEdgeSkip; x < width - skEdgeSkip; x++)
		{
			mse += fabs(img2(x, y) - img1(x, y));
			numNonborderPixels++;
		}
	
	assert(mse >= 0);
	
	mse /= (Float_t)numNonborderPixels;
	
	return mse;
}

// Assembly:
pushq %rax
movslq 0x28(%rdi), %rax
testq %rax, %rax
jle 0x229d5
movl 0x2c(%rdi), %ecx
testl %ecx, %ecx
jle 0x229d5
cmpl 0x28(%rsi), %eax
jne 0x229f4
cmpl 0x2c(%rsi), %ecx
jne 0x229f4
movq 0x38(%rsi), %rdx
movq 0x38(%rdi), %rsi
xorpd %xmm0, %xmm0
xorl %edi, %edi
movapd 0x7687(%rip), %xmm1     # 0x2a010
xorl %r8d, %r8d
movq %rax, %r9
movl %edi, %r10d
movl %r10d, %r11d
movsd (%rdx,%r11,8), %xmm2
subsd (%rsi,%r11,8), %xmm2
andpd %xmm1, %xmm2
addsd %xmm2, %xmm0
incl %r10d
decq %r9
jne 0x22992
incl %r8d
addl %eax, %edi
cmpl %ecx, %r8d
jne 0x2298c
xorpd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jb 0x22a13
imull %ecx, %eax
xorps %xmm1, %xmm1
cvtsi2sd %eax, %xmm1
divsd %xmm1, %xmm0
popq %rax
retq
leaq 0xbae6(%rip), %rdi      # 0x2e4c2
leaq 0xbb05(%rip), %rsi      # 0x2e4e8
leaq 0xbb5a(%rip), %rcx      # 0x2e544
movl $0x37, %edx
callq 0x31c0
leaq 0xa0ac(%rip), %rdi      # 0x2caa7
leaq 0xbae6(%rip), %rsi      # 0x2e4e8
leaq 0xbb3b(%rip), %rcx      # 0x2e544
movl $0x38, %edx
callq 0x31c0
leaq 0xbb64(%rip), %rdi      # 0x2e57e
leaq 0xbac7(%rip), %rsi      # 0x2e4e8
leaq 0xbb1c(%rip), %rcx      # 0x2e544
movl $0x45, %edx
callq 0x31c0
// File: /workspace/github_cpp_makefile_star2_O3/kebwi[P]Trifid/src/ImagePairStats.cpp
// Function: calc1ChnlMSE(ImageReal const&, ImageReal const&)
Float_t calc1ChnlMSE(const ImageReal &img1, const ImageReal &img2)
{
	assert(img1.width() > 0 && img1.height() > 0);
	assert(img1.width() == img2.width() && img1.height() == img2.height());
	
	Float_t mse = 0;
	
	int width = img1.width(), height = img1.height();
	int numNonborderPixels = 0;
	for (int y = skEdgeSkip; y < height - skEdgeSkip; y++)
		for (int x = skEdgeSkip; x < width - skEdgeSkip; x++)
		{
			mse += SQR(img2(x, y) - img1(x, y));
			numNonborderPixels++;
		}
	
	assert(mse >= 0);
	
	mse /= (Float_t)numNonborderPixels;
	
	return mse;
}

// Assembly:
pushq %rax
movslq 0x28(%rdi), %rax
testq %rax, %rax
jle 0x22aa7
movl 0x2c(%rdi), %ecx
testl %ecx, %ecx
jle 0x22aa7
cmpl 0x28(%rsi), %eax
jne 0x22ac6
cmpl 0x2c(%rsi), %ecx
jne 0x22ac6
movq 0x38(%rsi), %rdx
movq 0x38(%rdi), %rsi
xorpd %xmm0, %xmm0
xorl %edi, %edi
xorl %r8d, %r8d
movq %rax, %r9
movl %edi, %r10d
movl %r10d, %r11d
movsd (%rdx,%r11,8), %xmm1
subsd (%rsi,%r11,8), %xmm1
mulsd %xmm1, %xmm1
addsd %xmm1, %xmm0
incl %r10d
decq %r9
jne 0x22a64
incl %r8d
addl %eax, %edi
cmpl %ecx, %r8d
jne 0x22a5e
xorpd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jb 0x22ae5
imull %ecx, %eax
xorps %xmm1, %xmm1
cvtsi2sd %eax, %xmm1
divsd %xmm1, %xmm0
popq %rax
retq
leaq 0xba14(%rip), %rdi      # 0x2e4c2
leaq 0xba33(%rip), %rsi      # 0x2e4e8
leaq 0xbacb(%rip), %rcx      # 0x2e587
movl $0x4e, %edx
callq 0x31c0
leaq 0x9fda(%rip), %rdi      # 0x2caa7
leaq 0xba14(%rip), %rsi      # 0x2e4e8
leaq 0xbaac(%rip), %rcx      # 0x2e587
movl $0x4f, %edx
callq 0x31c0
leaq 0xba92(%rip), %rdi      # 0x2e57e
leaq 0xb9f5(%rip), %rsi      # 0x2e4e8
leaq 0xba8d(%rip), %rcx      # 0x2e587
movl $0x5c, %edx
callq 0x31c0
// File: /workspace/github_cpp_makefile_star2_O3/kebwi[P]Trifid/src/ImagePairStats.cpp
// Function: calculateLabScore(Image3ChnlReal const&, Image3ChnlReal const&)
Float_t calculateLabScore(const Image3ChnlReal &imgOri, const Image3ChnlReal &img)
{
	assert(imgOri.width() == img.width() && imgOri.height() == img.height());
	
	//We must invert the sign of the lab delta error so that higher lab delta errors are better.
	//This way, psnr and lab delta error can be compared in a similar fashion, i.e.,
	//that higher scores will be considered better scores.
	
	return -calcImgLabDeltaE(imgOri, img);
}

// Assembly:
pushq %rax
movl 0x28(%rdi), %eax
cmpl 0x28(%rsi), %eax
jne 0x22fc1
movl 0x2c(%rdi), %eax
cmpl 0x2c(%rsi), %eax
jne 0x22fc1
callq 0x22764
xorps 0x84c1(%rip), %xmm0     # 0x2b480
popq %rax
retq
leaq 0xb745(%rip), %rdi      # 0x2e70d
leaq 0xb519(%rip), %rsi      # 0x2e4e8
leaq 0xb80c(%rip), %rcx      # 0x2e7e2
movl $0xc5, %edx
callq 0x31c0
// File: /workspace/github_cpp_makefile_star2_O3/kebwi[P]Trifid/src/Random.cpp
// Function: RandStdNorm()
Float_t RandStdNorm()
{
	//Standard normal distribution
	
	//Box-Muller
	//http://en.wikipedia.org/wiki/Normal_distribution
	
	//Float_t a = RandZeroFloat(1.0);
	//Float_t b = RandZeroFloat(1.0);
	//Float_t c = sqrt(-2 * log(a)) * cos(2 * Pi * b);
	//return c;
	
	//return sqrt(-2.0 * log(RandZeroFloat(1.0))) * cos(PiTimes2 * RandZeroFloat(1.0));
	
	//================================================================================
	
	//Polar form of Box-Muller
	//http://www.taygeta.com/random/gaussian.html
	
	Float_t x1, x2, w, y1;
	static Float_t y2;
	static bool use_last = false;

	if (use_last)	//Use value from previous call
	{
		y1 = y2;
		use_last = false;
	}
	else
	{
		do
		{
			x1 = 2.0 * RandZeroFloat(1.0) - 1.0;
			x2 = 2.0 * RandZeroFloat(1.0) - 1.0;
			w = x1 * x1 + x2 * x2;
		} while ( w >= 1.0 );
		
		w = sqrt( (-2.0 * log( w ) ) / w );
		y1 = x1 * w;
		y2 = x2 * w;
		use_last = true;
	}

	return y1;//(y1 * stddev + mean);
}

// Assembly:
pushq %rbx
subq $0x20, %rsp
movb 0x16b52(%rip), %bl      # 0x39be0
testb %bl, %bl
je 0x2309f
movsd 0x16b3e(%rip), %xmm1    # 0x39bd8
jmp 0x2315d
callq 0x30a0
xorps %xmm1, %xmm1
cvtsi2sd %eax, %xmm1
movsd 0xb77d(%rip), %xmm0     # 0x2e830
divsd %xmm0, %xmm1
addsd %xmm1, %xmm1
movsd 0x6fad(%rip), %xmm0     # 0x2a070
addsd %xmm0, %xmm1
movsd %xmm1, 0x8(%rsp)
callq 0x30a0
movsd 0x8(%rsp), %xmm0
xorps %xmm2, %xmm2
cvtsi2sd %eax, %xmm2
divsd 0xb749(%rip), %xmm2     # 0x2e830
addsd %xmm2, %xmm2
addsd 0x6f7d(%rip), %xmm2     # 0x2a070
movapd %xmm2, %xmm3
mulsd %xmm2, %xmm3
mulsd %xmm0, %xmm0
addsd %xmm3, %xmm0
ucomisd 0x6f4d(%rip), %xmm0     # 0x2a058
jae 0x2309f
movsd %xmm2, 0x18(%rsp)
movsd %xmm0, 0x10(%rsp)
callq 0x3250
mulsd 0xb712(%rip), %xmm0     # 0x2e838
divsd 0x10(%rsp), %xmm0
xorpd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jb 0x2313c
sqrtsd %xmm0, %xmm0
jmp 0x23141
callq 0x3240
movsd 0x8(%rsp), %xmm1
mulsd %xmm0, %xmm1
movsd 0x18(%rsp), %xmm2
mulsd %xmm0, %xmm2
movsd %xmm2, 0x16a7b(%rip)    # 0x39bd8
xorb $0x1, %bl
movb %bl, 0x16a7a(%rip)      # 0x39be0
movapd %xmm1, %xmm0
addq $0x20, %rsp
popq %rbx
retq
// File: /workspace/github_cpp_makefile_star2_O3/kebwi[P]Trifid/src/Bayer.cpp
// Function: determineBlockCorner(int, int)
BlockCorner determineBlockCorner(int x, int y)
{
	int x2 = x % 2, y2 = y % 2;
	
	if (x2 == 0 && y2 == 0)
		return UL;
	if (x2 == 1 && y2 == 0)
		return UR;
	if (x2 == 0 && y2 == 1)
		return LL;
	//if (x2 == 1 && y2 == 1)
		return LR;
}

// Assembly:
movl %edi, %eax
shrl $0x1f, %eax
addl %edi, %eax
andl $-0x2, %eax
subl %eax, %edi
movl %esi, %eax
shrl $0x1f, %eax
addl %esi, %eax
andl $-0x2, %eax
subl %eax, %esi
movl %esi, %eax
orl %edi, %eax
je 0x231fb
movl %edi, %ecx
xorl $0x1, %ecx
movl $0x1, %eax
orl %esi, %ecx
je 0x231fa
xorl $0x1, %esi
xorl %eax, %eax
orl %esi, %edi
sete %al
xorl $0x3, %eax
retq
xorl %eax, %eax
retq
// File: /workspace/github_cpp_makefile_star2_O3/kebwi[P]Trifid/src/Bayer.cpp
// Function: determineBlockColorOrder(int&, int&, int&, int&, int&, int&, int&, int&, int&, int&)
void determineBlockCoord(Color color, int &x, int &y)
{
	assert(color != G);
	if (color == R)
	{
		if (gBayerPattern == kRGGB || gBayerPattern == kGRBG)
			y = 0;
		else y = 1;
		
		if (gBayerPattern == kRGGB || gBayerPattern == kGBRG)
			x = 0;
		else x = 1;
	}
	else //if (color == B)
	{
		if (gBayerPattern == kBGGR || gBayerPattern == kGBRG)
			y = 0;
		else y = 1;
		
		if (gBayerPattern == kBGGR || gBayerPattern == kGRBG)
			x = 0;
		else x = 1;
	}
}

// Assembly:
pushq %rbx
movq 0x1409a(%rip), %rax     # 0x37320
leaq 0x14053(%rip), %r10     # 0x372e0
cmpq %r10, %rax
sete %r10b
leaq 0x14065(%rip), %r11     # 0x37300
cmpq %r11, %rax
sete %r11b
movl %r10d, %ebx
orb %r11b, %bl
xorb $0x1, %bl
movzbl %bl, %ebx
movl %ebx, (%rsi)
leaq 0x14059(%rip), %rbx     # 0x37310
cmpq %rbx, %rax
sete %bl
orb %bl, %r10b
xorb $0x1, %r10b
movzbl %r10b, %r10d
movl %r10d, (%rdi)
leaq 0x1401e(%rip), %r10     # 0x372f0
cmpq %r10, %rax
sete %al
orb %al, %bl
xorb $0x1, %bl
movzbl %bl, %r10d
movl %r10d, (%r9)
orb %r11b, %al
xorb $0x1, %al
movzbl %al, %eax
movl %eax, (%r8)
cmpl %eax, (%rdi)
je 0x233b3
movl (%rsi), %eax
cmpl (%r9), %eax
je 0x233b3
xorl %eax, %eax
movl %eax, (%rdx)
movl %eax, (%rcx)
movl (%rdi), %eax
movl (%rsi), %ecx
movl %eax, %r10d
orl %ecx, %r10d
je 0x2331c
movl (%r9), %r10d
orl (%r8), %r10d
jne 0x23326
movl $0x1, (%rdx)
movl (%rdi), %eax
movl (%rsi), %ecx
movl %eax, %edx
orl %ecx, %edx
jne 0x2333f
movl $0x2, %eax
movl $0x3, %ecx
movl $0x1, %edx
xorl %esi, %esi
jmp 0x23392
xorl $0x1, %eax
orl %ecx, %eax
jne 0x23359
movl $0x3, %eax
movl $0x2, %ecx
xorl %edx, %edx
movl $0x1, %esi
jmp 0x23392
movl (%r8), %ecx
movl (%r9), %eax
movl %ecx, %edx
orl %eax, %edx
jne 0x23378
movl $0x2, %eax
xorl %ecx, %ecx
movl $0x1, %edx
movl $0x3, %esi
jmp 0x23392
cmpl $0x1, %ecx
jne 0x233d2
testl %eax, %eax
jne 0x233d2
xorl %edx, %edx
movl $0x3, %eax
movl $0x1, %ecx
movl $0x2, %esi
movq 0x28(%rsp), %rdi
movq 0x20(%rsp), %r8
movq 0x18(%rsp), %r9
movq 0x10(%rsp), %r10
movl %esi, (%r10)
movl %edx, (%r9)
movl %ecx, (%r8)
movl %eax, (%rdi)
popq %rbx
retq
leaq 0xb4c9(%rip), %rdi      # 0x2e883
leaq 0xb48a(%rip), %rsi      # 0x2e84b
leaq 0xb4d0(%rip), %rcx      # 0x2e898
movl $0x55, %edx
callq 0x31c0
leaq 0xa1c5(%rip), %rdi      # 0x2d59e
leaq 0xb46b(%rip), %rsi      # 0x2e84b
leaq 0xb4b1(%rip), %rcx      # 0x2e898
movl $0x78, %edx
callq 0x31c0
nopl (%rax)
// File: /workspace/github_cpp_makefile_star2_O3/kebwi[P]Trifid/src/FFT/fft2d.cpp
// Function: fft2dInit(long, long)
int fft2dInit(long M2, long M){
	// init for fft2d, ifft2d, rfft2d, and rifft2d
	// malloc storage for 4 columns of 2d ffts then call fftinit for both row and column ffts sizes
/* INPUTS */
/* M = log2 of number of columns */
/* M2 = log2 of number of rows */
/*       of 2d matrix to be fourier transformed */
/* OUTPUTS */
/* private storage for columns of 2d ffts	*/
/* calls fftInit for cosine and bit reversed tables	*/
int theError = 1;
if ((M2 >= 0) && (M2 < 8*sizeof(long))){
	theError = 0;
	if (Array2d[M2] == 0){
		Array2d[M2] = (Float_t *) malloc( 4*2*POW2(M2)*sizeof(Float_t) );
		if (Array2d[M2] == 0)
			theError = 2;
		else{
			theError = fftInit(M2);
		}
	}
	if (theError == 0)
		theError = fftInit(M);
}
return theError;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movl $0x1, %eax
cmpq $0x3f, %rdi
ja 0x23451
movq %rsi, %rbx
movq %rdi, %r14
leaq 0x167df(%rip), %r15     # 0x39bf0
cmpq $0x0, (%r15,%rdi,8)
je 0x23425
movq %rbx, %rdi
popq %rbx
popq %r14
popq %r15
jmp 0x2458c
movl $0x40, %edi
movl %r14d, %ecx
shlq %cl, %rdi
callq 0x33d0
movq %rax, (%r15,%r14,8)
testq %rax, %rax
je 0x2344c
movq %r14, %rdi
callq 0x2458c
testl %eax, %eax
jne 0x23451
jmp 0x23418
movl $0x2, %eax
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O3/kebwi[P]Trifid/src/FFT/fft2d.cpp
// Function: fft2dFree()
void fft2dFree(){
// free storage for columns of 2d ffts and call fftFree to free all BRLow and Utbl storage
long i1;
for (i1=8*sizeof(long)-1; i1>=0; i1--){
	if (Array2d[i1] != 0){
		free(Array2d[i1]);
		Array2d[i1] = 0;
	};
};
fftFree();
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movl $0x3f, %ebx
leaq 0x16788(%rip), %r14     # 0x39bf0
movq (%r14,%rbx,8), %rdi
testq %rdi, %rdi
je 0x23486
leaq (,%rbx,8), %r15
callq 0x3370
movq $0x0, (%r15,%r14)
addq $-0x1, %rbx
jb 0x23468
popq %rbx
popq %r14
popq %r15
jmp 0x24684
// File: /workspace/github_cpp_makefile_star2_O3/kebwi[P]Trifid/src/FFT/fft2d.cpp
// Function: fft2d(double*, long, long)
void fft2d(Float_t *data, long M2, long M){
/* Compute 2D complex fft and return results in-place	*/
/* INPUTS */
/* *data = input data array	*/
/* M2 = log2 of fft size number of rows */
/* M = log2 of fft size number of columns */
/* OUTPUTS */
/* *data = output data array	*/
long i1;
if((M2>0)&&(M>0)){
	ffts(data, M, POW2(M2));
	if (M>2)
		for (i1=0; i1<POW2(M); i1+=4){
			cxpose(data + i1*2, POW2(M), Array2d[M2], POW2(M2), POW2(M2), 4);
			ffts(Array2d[M2], M2, 4);
			cxpose(Array2d[M2], POW2(M2), data + i1*2, POW2(M), 4, POW2(M2));
		}
	else{
		cxpose(data, POW2(M), Array2d[M2], POW2(M2), POW2(M2), POW2(M));
		ffts(Array2d[M2], M2, POW2(M));
		cxpose(Array2d[M2], POW2(M2), data, POW2(M), POW2(M), POW2(M2));
	}
}
else
	ffts(data, M2+M, 1);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %r13
movq %rsi, %r14
movq %rdi, %rbx
testq %rsi, %rsi
setle %al
testq %rdx, %rdx
setle %cl
orb %al, %cl
jne 0x2355e
movl $0x1, %r15d
movl $0x1, %r12d
movl %r14d, %ecx
shlq %cl, %r12
movq %rbx, %rdi
movq %r13, %rsi
movq %r12, %rdx
callq 0x246ef
movl %r13d, %ecx
shlq %cl, %r15
cmpq $0x3, %r13
jb 0x2357f
xorl %r13d, %r13d
leaq 0x166f8(%rip), %rbp     # 0x39bf0
movq (%rbp,%r14,8), %rdx
movl $0x4, %r9d
movq %rbx, %rdi
movq %r15, %rsi
movq %r12, %rcx
movq %r12, %r8
callq 0x29601
movq (%rbp,%r14,8), %rdi
movl $0x4, %edx
movq %r14, %rsi
callq 0x246ef
movq (%rbp,%r14,8), %rdi
movl $0x4, %r8d
movq %r12, %rsi
movq %rbx, %rdx
movq %r15, %rcx
movq %r12, %r9
callq 0x29601
addq $0x4, %r13
addq $0x40, %rbx
cmpq %r15, %r13
jb 0x234f8
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
addq %r14, %r13
movl $0x1, %edx
movq %rbx, %rdi
movq %r13, %rsi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x246ef
leaq 0x1666a(%rip), %r13     # 0x39bf0
movq (%r13,%r14,8), %rdx
movq %rbx, %rdi
movq %r15, %rsi
movq %r12, %rcx
movq %r12, %r8
movq %r15, %r9
callq 0x29601
movq (%r13,%r14,8), %rdi
movq %r14, %rsi
movq %r15, %rdx
callq 0x246ef
movq (%r13,%r14,8), %rdi
movq %r12, %rsi
movq %rbx, %rdx
movq %r15, %rcx
movq %r15, %r8
movq %r12, %r9
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x29601
// File: /workspace/github_cpp_makefile_star2_O3/kebwi[P]Trifid/src/FFT/fft2d.cpp
// Function: ifft2d(double*, long, long)
void ifft2d(Float_t *data, long M2, long M){
/* Compute 2D complex ifft and return results in-place	*/
/* INPUTS */
/* *data = input data array	*/
/* M2 = log2 of fft size number of rows */
/* M = log2 of fft size number of columns */
/* OUTPUTS */
/* *data = output data array	*/
long i1;
if((M2>0)&&(M>0)){
	iffts(data, M, POW2(M2));
	if (M>2)
		for (i1=0; i1<POW2(M); i1+=4){
			cxpose(data + i1*2, POW2(M), Array2d[M2], POW2(M2), POW2(M2), 4);
			iffts(Array2d[M2], M2, 4);
			cxpose(Array2d[M2], POW2(M2), data + i1*2, POW2(M), 4, POW2(M2));
		}
	else{
		cxpose(data, POW2(M), Array2d[M2], POW2(M2), POW2(M2), POW2(M));
		iffts(Array2d[M2], M2, POW2(M));
		cxpose(Array2d[M2], POW2(M2), data, POW2(M), POW2(M), POW2(M2));
	}
}
else
	iffts(data, M2+M, 1);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %r13
movq %rsi, %r14
movq %rdi, %rbx
testq %rsi, %rsi
setle %al
testq %rdx, %rdx
setle %cl
orb %al, %cl
jne 0x2369e
movl $0x1, %r15d
movl $0x1, %r12d
movl %r14d, %ecx
shlq %cl, %r12
movq %rbx, %rdi
movq %r13, %rsi
movq %r12, %rdx
callq 0x24718
movl %r13d, %ecx
shlq %cl, %r15
cmpq $0x3, %r13
jb 0x236bf
xorl %r13d, %r13d
leaq 0x165b8(%rip), %rbp     # 0x39bf0
movq (%rbp,%r14,8), %rdx
movl $0x4, %r9d
movq %rbx, %rdi
movq %r15, %rsi
movq %r12, %rcx
movq %r12, %r8
callq 0x29601
movq (%rbp,%r14,8), %rdi
movl $0x4, %edx
movq %r14, %rsi
callq 0x24718
movq (%rbp,%r14,8), %rdi
movl $0x4, %r8d
movq %r12, %rsi
movq %rbx, %rdx
movq %r15, %rcx
movq %r12, %r9
callq 0x29601
addq $0x4, %r13
addq $0x40, %rbx
cmpq %r15, %r13
jb 0x23638
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
addq %r14, %r13
movl $0x1, %edx
movq %rbx, %rdi
movq %r13, %rsi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x24718
leaq 0x1652a(%rip), %r13     # 0x39bf0
movq (%r13,%r14,8), %rdx
movq %rbx, %rdi
movq %r15, %rsi
movq %r12, %rcx
movq %r12, %r8
movq %r15, %r9
callq 0x29601
movq (%r13,%r14,8), %rdi
movq %r14, %rsi
movq %r15, %rdx
callq 0x24718
movq (%r13,%r14,8), %rdi
movq %r12, %rsi
movq %rbx, %rdx
movq %r15, %rcx
movq %r15, %r8
movq %r12, %r9
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x29601
// File: /workspace/github_cpp_makefile_star2_O3/kebwi[P]Trifid/src/FFT/fft2d.cpp
// Function: fft3dInit(long, long, long)
int fft3dInit(long L, long M2, long M){
	// init for fft3d, ifft3d
	// malloc storage for 4 columns and 4 pages of 3d ffts
	// then call fftinit for page, row and column ffts sizes
//* M = log2 of number of columns */
/* M2 = log2 of number of rows */
/* L = log2 of number of pages */
/*       of 3d matrix to be fourier transformed */
/* OUTPUTS */
/* private storage for columns and pages of 3d ffts	*/
/* calls fftInit for cosine and bit reversed tables	*/
int theError = 1;
if ((L >= 0) && (L < 8*sizeof(long))){
	theError = 0;
	if (Array2d[L] == 0){
		Array2d[L] = (Float_t *) malloc( 4*2*POW2(L)*sizeof(Float_t) );
		if (Array2d[L] == 0)
			theError = 2;
		else{
			theError = fftInit(L);
		}
	}
	if (theError == 0){
		if (Array2d[M2] == 0){
			Array2d[M2] = (Float_t *) malloc( 4*2*POW2(M2)*sizeof(Float_t) );
			if (Array2d[M2] == 0)
				theError = 2;
			else{
				theError = fftInit(M2);
			}
		}
	}
	if (theError == 0)
		theError = fftInit(M);
}
return theError;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movl $0x1, %eax
cmpq $0x3f, %rdi
ja 0x237b1
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
leaq 0x164b3(%rip), %r12     # 0x39bf0
cmpq $0x0, (%r12,%rdi,8)
je 0x2375e
cmpq $0x0, (%r12,%r14,8)
je 0x23785
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
jmp 0x2458c
movl $0x40, %edi
movl %r15d, %ecx
shlq %cl, %rdi
callq 0x33d0
movq %rax, (%r12,%r15,8)
testq %rax, %rax
je 0x237ac
movq %r15, %rdi
callq 0x2458c
testl %eax, %eax
jne 0x237b1
jmp 0x23744
movl $0x40, %edi
movl %r14d, %ecx
shlq %cl, %rdi
callq 0x33d0
movq %rax, (%r12,%r14,8)
testq %rax, %rax
je 0x237ac
movq %r14, %rdi
callq 0x2458c
testl %eax, %eax
jne 0x237b1
jmp 0x2374b
movl $0x2, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O3/kebwi[P]Trifid/src/FFT/fft2d.cpp
// Function: rspect2dprod(double*, double*, double*, long, long)
void rspect2dprod(Float_t *data1, Float_t *data2, Float_t *outdata, long N2, long N1){
// When multiplying a pair of 2d spectra from rfft2d care must be taken to multiply the
// four real values seperately from the complex ones. This routine does it correctly.
// the result can be stored in-place over one of the inputs
/* *data1 = input data array	first spectra */
/* *data2 = input data array	second spectra */
/* N2 = fft size number of rows into rfft2d for both data1 and data2 */
/* N1 = fft size number of columns into rfft2d for both data1 and data2 */
long N = N2 * N1/2;		// number of "complex" numbers in spectra

if( (N2 > 1) && (N1>1)){
	outdata[0] = data1[0] * data2[0];	// multiply the zero freq, zero wavenumber values
	outdata[1] = data1[1] * data2[1];	// multiply the zero freq, nyquest wavenumber values

	cvprod(data1 + 2, data2 + 2, outdata + 2, N/2-1);

	outdata[N] = data1[N] * data2[N];		// multiply the nyquest freq, zero wavenumber values
	outdata[N+1] = data1[N+1] * data2[N+1];	// multiply the nyquest freq, nyquest wavenumber values

	cvprod(data1 + N+2, data2 + N+2, outdata + N+2, N/2-1);
}
else{	// really 1D rfft spectra
	N = N2 * N1;	// one of these is a 1
	if(N>1){
		outdata[0] = data1[0] * data2[0];	// multiply the zero freq values
		outdata[1] = data1[1] * data2[1];	// multiply the nyquest freq values
		cvprod(data1 + 2, data2 + 2, outdata + 2, N/2-1);	// multiply the other positive freq values
	}
	else{
		outdata[0] = data1[0] * data2[0];
	}
}
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rdx, %rbx
movq %rsi, %r15
movq %rdi, %r12
movq %r8, %r13
imulq %rcx, %r13
movq %r13, %r14
shrq $0x3f, %r14
addq %r13, %r14
sarq %r14
cmpq $0x2, %rcx
setl %al
cmpq $0x2, %r8
setl %cl
orb %al, %cl
jne 0x24531
movsd (%r12), %xmm0
mulsd (%r15), %xmm0
movsd %xmm0, (%rbx)
movsd 0x8(%r12), %xmm0
mulsd 0x8(%r15), %xmm0
movsd %xmm0, 0x8(%rbx)
leaq 0x10(%r12), %rdi
leaq 0x10(%r15), %rsi
leaq 0x10(%rbx), %rdx
shrq $0x2, %r13
decq %r13
movq %r13, %rcx
callq 0x29728
leaq (%r12,%r14,8), %rdi
addq $0x10, %rdi
movsd -0x10(%rdi), %xmm0
leaq 0x10(%r15,%r14,8), %rsi
mulsd -0x10(%rsi), %xmm0
leaq 0x10(%rbx,%r14,8), %rdx
movsd %xmm0, -0x10(%rdx)
movsd -0x8(%rdi), %xmm0
mulsd -0x8(%rsi), %xmm0
movsd %xmm0, -0x8(%rdx)
movq %r13, %rcx
jmp 0x24573
movsd (%r12), %xmm0
mulsd (%r15), %xmm0
movsd %xmm0, (%rbx)
cmpq $0x2, %r13
jl 0x24581
movsd 0x8(%r12), %xmm0
mulsd 0x8(%r15), %xmm0
movsd %xmm0, 0x8(%rbx)
addq $0x10, %r12
addq $0x10, %r15
addq $0x10, %rbx
decq %r14
movq %r12, %rdi
movq %r15, %rsi
movq %rbx, %rdx
movq %r14, %rcx
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
jmp 0x29728
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/kebwi[P]Trifid/src/FFT/fftext.cpp
// Function: fftInit(long)
int fftInit(long M){
// malloc and init cosine and bit reversed tables for a given size fft, ifft, rfft, rifft
/* INPUTS */
/* M = log2 of fft size	(ex M=10 for 1024 point fft) */
/* OUTPUTS */
/* private cosine and bit reversed tables	*/

int theError = 1;
/*** I did NOT test cases with M>27 ***/
if ((M >= 0) && (M < 8*sizeof(long))){
	theError = 0;
	if (UtblArray[M] == 0){	// have we not inited this size fft yet?
		// init cos table
		UtblArray[M] = (Float_t *) malloc( (POW2(M)/4+1)*sizeof(Float_t) );
		if (UtblArray[M] == 0)
			theError = 2;
		else{
			fftCosInit(M, UtblArray[M]);
		}
		if (M > 1){
			if (BRLowArray[M/2] == 0){	// init bit reversed table for cmplx fft
				BRLowArray[M/2] = (short *) malloc( POW2(M/2-1)*sizeof(short) );
				if (BRLowArray[M/2] == 0)
					theError = 2;
				else{
					fftBRInit(M, BRLowArray[M/2]);
				}
			}
		}
		if (M > 2){
			if (BRLowArray[(M-1)/2] == 0){	// init bit reversed table for real fft
				BRLowArray[(M-1)/2] = (short *) malloc( POW2((M-1)/2-1)*sizeof(short) );
				if (BRLowArray[(M-1)/2] == 0)
					theError = 2;
				else{
					fftBRInit(M-1, BRLowArray[(M-1)/2]);
				}
			}
		}
	}
};
return theError;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movl $0x1, %ebp
cmpq $0x3f, %rdi
ja 0x24677
movq %rdi, %rbx
leaq 0x15844(%rip), %r14     # 0x39df0
xorl %ebp, %ebp
cmpq $0x0, (%r14,%rdi,8)
jne 0x24677
movl $0x2, %edi
movl %ebx, %ecx
shlq %cl, %rdi
andq $-0x8, %rdi
addq $0x8, %rdi
callq 0x33d0
movq %rax, (%r14,%rbx,8)
testq %rax, %rax
je 0x245e8
movq %rbx, %rdi
movq %rax, %rsi
callq 0x247c0
xorl %ebp, %ebp
jmp 0x245ed
movl $0x2, %ebp
cmpq $0x2, %rbx
jb 0x24677
movq %rbx, %r14
shrq %r14
leaq 0x159ec(%rip), %r15     # 0x39ff0
cmpq $0x0, (%r15,%r14,8)
jne 0x24636
movl $0x1, %edi
movl %r14d, %ecx
shlq %cl, %rdi
callq 0x33d0
movq %rax, (%r15,%r14,8)
testq %rax, %rax
je 0x24631
movq %rbx, %rdi
movq %rax, %rsi
callq 0x24869
jmp 0x24636
movl $0x2, %ebp
cmpq $0x2, %rbx
je 0x24677
decq %rbx
movq %rbx, %r14
shrq %r14
cmpq $0x0, (%r15,%r14,8)
jne 0x24677
movl $0x1, %edi
movl %r14d, %ecx
shlq %cl, %rdi
callq 0x33d0
movq %rax, (%r15,%r14,8)
testq %rax, %rax
je 0x24672
movq %rbx, %rdi
movq %rax, %rsi
callq 0x24869
jmp 0x24677
movl $0x2, %ebp
movl %ebp, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/kebwi[P]Trifid/src/FFT/fftext.cpp
// Function: fftFree()
void fftFree(){
// release storage for all private cosine and bit reversed tables
long i1;
for (i1=8*sizeof(long)/2-1; i1>=0; i1--){
	if (BRLowArray[i1] != 0){
		free(BRLowArray[i1]);
		BRLowArray[i1] = 0;
	};
};
for (i1=8*sizeof(long)-1; i1>=0; i1--){
	if (UtblArray[i1] != 0){
		free(UtblArray[i1]);
		UtblArray[i1] = 0;
	};
};
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movl $0x1f, %ebx
leaq 0x1595b(%rip), %r14     # 0x39ff0
movq (%r14,%rbx,8), %rdi
testq %rdi, %rdi
je 0x246b3
leaq (,%rbx,8), %r15
callq 0x3370
movq $0x0, (%r15,%r14)
addq $-0x1, %rbx
jb 0x24695
movl $0x3f, %ebx
leaq 0x1572b(%rip), %r14     # 0x39df0
movq (%r14,%rbx,8), %rdi
testq %rdi, %rdi
je 0x246e3
leaq (,%rbx,8), %r15
callq 0x3370
movq $0x0, (%r15,%r14)
addq $-0x1, %rbx
jb 0x246c5
popq %rbx
popq %r14
popq %r15
retq