LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O2/xdsopl[P]FEC/./galois_field.hh
// Function: GF::Index<4, 19, unsigned char> GF::operator*<4, 19, unsigned char>(GF::Index<4, 19, unsigned char>, GF::Index<4, 19, unsigned char>)
Index<M, POLY, TYPE> operator * (Index<M, POLY, TYPE> a, Index<M, POLY, TYPE> b)
{
	assert(a.i < a.modulus());
	assert(b.i < b.modulus());
	TYPE tmp = a.i + b.i;
	return Index<M, POLY, TYPE>(a.modulus() - a.i <= b.i ? tmp - a.modulus() : tmp);
}

// Assembly:
pushq %rbx
subq $0x10, %rsp
cmpb $0xf, %dil
jae 0x69d7
cmpb $0xf, %sil
jae 0x69f6
leal (%rsi,%rdi), %eax
movb $0xf, %cl
subb %dil, %cl
leal -0xf(%rax), %edx
cmpb %sil, %cl
movzbl %al, %eax
movzbl %dl, %ecx
cmoval %eax, %ecx
movzbl %cl, %esi
leaq 0xf(%rsp), %rbx
movq %rbx, %rdi
callq 0x67b0
movb (%rbx), %al
addq $0x10, %rsp
popq %rbx
retq
leaq 0x5cb2(%rip), %rdi      # 0xc690
leaq 0x5ad1(%rip), %rsi      # 0xc4b6
leaq 0x5da7(%rip), %rcx      # 0xc793
movl $0x8d, %edx
callq 0x20d0
leaq 0x5e0e(%rip), %rdi      # 0xc80b
leaq 0x5ab2(%rip), %rsi      # 0xc4b6
leaq 0x5d88(%rip), %rcx      # 0xc793
movl $0x8e, %edx
callq 0x20d0
// File: /workspace/github_cpp_makefile_star2_O2/xdsopl[P]FEC/./bose_chaudhuri_hocquenghem.hh
// Function: BoseChaudhuriHocquenghem<24, 1, 65343, GF::Types<16, 65581, unsigned short>>::encode(GF::Value<16, 65581, unsigned short>*)
void encode(ValueType *code)
	{
		// $code = data * x^{NP} + (data * x^{NP}) \mod{generator}$
		for (int i = 0; i < NP; ++i)
			code[K+i] = ValueType(0);
		for (int i = 0; i < K; ++i) {
			if (code[i] != code[K]) {
				for (int j = 1; j < NP; ++j)
					code[K+j-1] = generator[NP-j] + code[K+j];
				code[N-1] = generator[0];
			} else {
				for (int j = 1; j < NP; ++j)
					code[K+j-1] = code[K+j];
				code[N-1] = ValueType(0);
			}
		}
	}

// Assembly:
xorl %eax, %eax
cmpq $0xc0, %rax
je 0x9db8
andw $0x0, 0x1fe7e(%rsi,%rax,2)
incq %rax
jmp 0x9da2
leaq 0x1fe80(%rsi), %rax
xorl %ecx, %ecx
cmpq $0xff3f, %rcx           # imm = 0xFF3F
je 0x9e31
movzwl (%rsi,%rcx,2), %edx
cmpw 0x1fe7e(%rsi), %dx
jne 0x9df2
xorl %edx, %edx
cmpq $0xbf, %rdx
je 0x9e1e
movzwl (%rax,%rdx,2), %r8d
movw %r8w, -0x2(%rax,%rdx,2)
incq %rdx
jmp 0x9dd9
movl $0xbf, %r9d
movq %rax, %rdx
movl $0xbf, %r8d
subq $0x1, %r8
jb 0x9e22
movzwl (%rdx), %r10d
xorw (%rdi,%r9,2), %r10w
movw %r10w, -0x2(%rdx)
addq $0x2, %rdx
movq %r8, %r9
jmp 0x9e01
xorl %edx, %edx
jmp 0x9e25
movzwl (%rdi), %edx
movw %dx, 0x1fffc(%rsi)
incq %rcx
jmp 0x9dc1
retq
// File: /workspace/github_cpp_makefile_star2_O2/xdsopl[P]FEC/./bose_chaudhuri_hocquenghem.hh
// Function: BoseChaudhuriHocquenghem<6, 1, 5, GF::Types<4, 19, unsigned char>>::decode(GF::Value<4, 19, unsigned char>*, GF::Index<4, 19, unsigned char>*, int)
int decode(ValueType *code, IndexType *erasures = 0, int erasures_count = 0)
	{
		assert(0 <= erasures_count && erasures_count <= NR);
#if 0
		for (int i = 0; i < erasures_count; ++i)
			code[(int)erasures[i]] = ValueType(0);
#endif
		ValueType syndromes[NR];
		if (!compute_syndromes(code, syndromes))
			return 0;
		IndexType locations[NR];
		ValueType magnitudes[NR];
		int count = Correction<NR, FCR, GF>::algorithm(syndromes, locations, magnitudes, erasures, erasures_count);
		if (count <= 0)
			return count;
		for (int i = 0; i < count; ++i)
			if (1 < (int)magnitudes[i])
				return -1;
		for (int i = 0; i < count; ++i)
			code[(int)locations[i]] += magnitudes[i];
		int corrections_count = 0;
		for (int i = 0; i < count; ++i)
			corrections_count += !!magnitudes[i];
		return corrections_count;
	}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x18, %rsp
cmpl $0x7, %ecx
jae 0x6c23
movl %ecx, %ebp
movq %rdx, %r14
movq %rsi, %rbx
leaq 0x12(%rsp), %rdx
callq 0x6c40
testl %eax, %eax
je 0x6bdf
leaq 0x12(%rsp), %rdi
leaq 0xc(%rsp), %rsi
leaq 0x6(%rsp), %rdx
movq %r14, %rcx
movl %ebp, %r8d
callq 0x6cd6
testl %eax, %eax
jle 0x6be1
movl %eax, %r14d
xorl %ecx, %ecx
pushq $-0x1
popq %rax
cmpq %rcx, %r14
je 0x6bec
cmpb $0x1, 0x6(%rsp,%rcx)
leaq 0x1(%rcx), %rcx
jbe 0x6bcd
jmp 0x6be1
xorl %eax, %eax
addq $0x18, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
xorl %r15d, %r15d
cmpq %r15, %r14
je 0x6c0d
movzbl 0xc(%rsp,%r15), %edi
addq %rbx, %rdi
movzbl 0x6(%rsp,%r15), %esi
callq 0x6778
incq %r15
jmp 0x6bef
xorl %ecx, %ecx
xorl %eax, %eax
cmpq %rcx, %r14
je 0x6be1
cmpb $0x1, 0x6(%rsp,%rcx)
sbbl $-0x1, %eax
incq %rcx
jmp 0x6c11
leaq 0x6075(%rip), %rdi      # 0xcc9f
leaq 0x5754(%rip), %rsi      # 0xc385
leaq 0x6093(%rip), %rcx      # 0xcccb
pushq $0x62
popq %rdx
callq 0x20d0
// File: /workspace/github_cpp_makefile_star2_O2/xdsopl[P]FEC/./bose_chaudhuri_hocquenghem.hh
// Function: BoseChaudhuriHocquenghem<6, 1, 5, GF::Types<4, 19, unsigned char>>::compute_syndromes(GF::Value<4, 19, unsigned char>*, GF::Value<4, 19, unsigned char>*)
int compute_syndromes(ValueType *code, ValueType *syndromes)
	{
		// $syndromes_i = code(pe^{FCR+i})$
		for (int i = 0; i < NR; ++i)
			syndromes[i] = code[0];
		for (int j = 1; j < N; ++j) {
			IndexType root(FCR), pe(1);
			for (int i = 0; i < NR; ++i) {
				syndromes[i] = fma(root, syndromes[i], code[j]);
				root *= pe;
			}
		}
		int nonzero = 0;
		for (int i = 0; i < NR; ++i)
			nonzero += !!syndromes[i];
		return nonzero;
	}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq %rsi, %r14
xorl %eax, %eax
cmpq $0x6, %rax
je 0x6c64
movb (%r14), %cl
movb %cl, (%rbx,%rax)
incq %rax
jmp 0x6c53
pushq $0x1
popq %r12
leaq 0x7(%rsp), %r15
pushq $0x1
popq %rbp
cmpq $0xf, %r12
je 0x6cb0
movb $0x1, 0x7(%rsp)
xorl %r13d, %r13d
cmpq $0x6, %r13
je 0x6cab
movzbl (%r14,%r12), %edx
movzbl (%rbx,%r13), %esi
movzbl 0x7(%rsp), %edi
callq 0x67d8
movb %al, (%rbx,%r13)
movq %r15, %rdi
movl %ebp, %esi
callq 0x688a
incq %r13
jmp 0x6c7e
incq %r12
jmp 0x6c70
xorl %ecx, %ecx
xorl %eax, %eax
cmpq $0x6, %rcx
je 0x6cc6
cmpb $0x1, (%rbx,%rcx)
sbbl $-0x1, %eax
incq %rcx
jmp 0x6cb4
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O2/xdsopl[P]FEC/./berlekamp_massey.hh
// Function: BerlekampMassey<6, GF::Types<4, 19, unsigned char>>::algorithm(GF::Value<4, 19, unsigned char>*, GF::Value<4, 19, unsigned char>*, int)
static int algorithm(ValueType *s, ValueType *C, int count = 0)
	{
		ValueType B[NR+1];
		for (int i = 0; i <= NR; ++i)
			B[i] = C[i];
		int L = count;
		for (int n = count, m = 1; n < NR; ++n) {
			ValueType d(s[n]);
			for (int i = 1; i <= L; ++i)
				d += C[i] * s[n-i];
			if (!d) {
				++m;
			} else {
				ValueType T[NR+1];
				for (int i = 0; i < m; ++i)
					T[i] = C[i];
				for (int i = m; i <= NR; ++i)
					T[i] = fma(d, B[i-m], C[i]);
				if (2 * L <= n + count) {
					L = n + count + 1 - L;
					for (int i = 0; i <= NR; ++i)
						B[i] = C[i] / d;
					m = 1;
				} else {
					++m;
				}
				for (int i = 0; i <= NR; ++i)
					C[i] = T[i];
			}
		}
		return L;
	}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movl %edx, %ebp
movq %rsi, %rbx
movq %rdi, 0x28(%rsp)
xorl %eax, %eax
cmpq $0x7, %rax
je 0x7258
movb (%rbx,%rax), %cl
movb %cl, 0x21(%rsp,%rax)
incq %rax
jmp 0x7246
movslq %ebp, %rcx
leaq 0x1(%rbx), %rax
movq %rax, 0x40(%rsp)
movq 0x28(%rsp), %rax
leaq (%rcx,%rax), %r13
decq %r13
pushq $0x1
popq %rdx
leaq 0xb(%rsp), %r12
movq %rcx, 0x38(%rsp)
movq %rcx, %rsi
cmpq $0x6, %rsi
jge 0x73c3
movl %edx, 0xc(%rsp)
movq 0x28(%rsp), %rax
movq %rsi, 0x10(%rsp)
movb (%rax,%rsi), %al
testl %ebp, %ebp
movl $0x0, %r15d
movq %rbp, 0x30(%rsp)
cmovgl %ebp, %r15d
movb %al, 0xb(%rsp)
negq %r15
movq 0x40(%rsp), %rbp
xorl %r14d, %r14d
cmpq %r14, %r15
je 0x72e2
movzbl (%r13,%r14), %esi
movzbl (%rbp), %edi
callq 0x75a8
movzbl %al, %esi
movq %r12, %rdi
callq 0x6778
decq %r14
incq %rbp
jmp 0x72bb
cmpb $0x0, 0xb(%rsp)
je 0x7361
movl 0xc(%rsp), %esi
testl %esi, %esi
movl $0x0, %eax
cmovgl %esi, %eax
xorl %ecx, %ecx
movq 0x30(%rsp), %rbp
cmpq %rcx, %rax
je 0x730f
movb (%rbx,%rcx), %dl
movb %dl, 0x1a(%rsp,%rcx)
incq %rcx
jmp 0x72fe
movslq %esi, %r14
leaq 0x21(%rsp), %r15
cmpq $0x7, %r14
jge 0x733d
movzbl (%rbx,%r14), %edx
movzbl (%r15), %esi
movzbl 0xb(%rsp), %edi
callq 0x763e
movb %al, 0x1a(%rsp,%r14)
incq %r14
incq %r15
jmp 0x7317
leal (,%rbp,2), %eax
movq 0x38(%rsp), %rcx
movq 0x10(%rsp), %rsi
leaq (%rsi,%rcx), %r15
cltq
cmpq %rax, %r15
jge 0x737c
movl 0xc(%rsp), %edx
incl %edx
jmp 0x73af
movl 0xc(%rsp), %edx
incl %edx
movq 0x30(%rsp), %rbp
movq 0x10(%rsp), %rsi
incq %rsi
incq %r13
jmp 0x7280
xorl %r14d, %r14d
cmpq $0x7, %r14
je 0x739e
movzbl (%rbx,%r14), %edi
movzbl 0xb(%rsp), %esi
callq 0x770a
movb %al, 0x21(%rsp,%r14)
incq %r14
jmp 0x737f
subl %ebp, %r15d
incl %r15d
pushq $0x1
popq %rdx
movl %r15d, %ebp
movq 0x10(%rsp), %rsi
xorl %eax, %eax
cmpq $0x7, %rax
je 0x7371
movb 0x1a(%rsp,%rax), %cl
movb %cl, (%rbx,%rax)
incq %rax
jmp 0x73b1
movl %ebp, %eax
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O2/xdsopl[P]FEC/./find_locations.hh
// Function: FindLocations<24, GF::Types<16, 65581, unsigned short>>::search(GF::Value<16, 65581, unsigned short>*, int, GF::Index<16, 65581, unsigned short>*)
static int search(ValueType *locator, int locator_degree, IndexType *locations)
	{
		if (locator_degree == 1) {
			locations[0] = (index(locator[0]) / index(locator[1])) / IndexType(1);
			return 1;
		}
		if (locator_degree == 2) {
			if (!locator[1] || !locator[0])
				return 0;
			ValueType a(locator[2]), b(locator[1]), c(locator[0]);
			ValueType ba(b/a), R(Artin_Schreier_imap(a*c/(b*b)));
			if (!R)
				return 0;
			locations[0] = index(ba * R) / IndexType(1);
			locations[1] = index(ba * R + ba) / IndexType(1);
			return 2;
		}
		return Chien<NR, GF>::search(locator, locator_degree, locations);
	}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq %rdi, %r14
cmpl $0x2, %esi
je 0xa665
cmpl $0x1, %esi
jne 0xa721
movzwl (%r14), %edi
callq 0x9d54
movl %eax, %ebp
movzwl 0x2(%r14), %edi
callq 0x9d54
movl %ebp, %edi
movl %eax, %esi
callq 0xa3b5
pushq $0x1
popq %rbp
movl %eax, %edi
movl %ebp, %esi
callq 0xa3b5
movw %ax, (%rbx)
jmp 0xa710
movzwl 0x2(%r14), %r15d
xorl %ebp, %ebp
testw %r15w, %r15w
je 0xa710
movzwl (%r14), %r12d
testw %r12w, %r12w
je 0xa710
movzwl 0x4(%r14), %r13d
movl %r15d, %edi
movl %r13d, %esi
callq 0xa811
movl %eax, %r14d
movl %r13d, %edi
movl %r12d, %esi
callq 0xa788
movl %eax, %r12d
movl %r15d, %edi
movl %r15d, %esi
callq 0xa788
movl %r12d, %edi
movl %eax, %esi
callq 0xa811
movl %eax, %edi
callq 0xa86c
testw %ax, %ax
je 0xa710
movl %eax, %r15d
movl %r14d, %edi
movl %r15d, %esi
callq 0xa788
movl %eax, %edi
callq 0x9d54
pushq $0x1
popq %rbp
movl %eax, %edi
movl %ebp, %esi
callq 0xa3b5
movw %ax, (%rbx)
movl %r14d, %edi
movl %r15d, %esi
callq 0xa788
xorl %eax, %r14d
movl %r14d, %edi
callq 0x9d54
movl %eax, %edi
movl %ebp, %esi
callq 0xa3b5
movw %ax, 0x2(%rbx)
pushq $0x2
popq %rbp
movl %ebp, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %r14, %rdi
movq %rbx, %rdx
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0xa89e
// File: /workspace/github_cpp_makefile_star2_O2/xdsopl[P]FEC/./galois_field.hh
// Function: GF::Value<4, 19, unsigned char> GF::fma<4, 19, unsigned char>(GF::Value<4, 19, unsigned char>, GF::Value<4, 19, unsigned char>, GF::Value<4, 19, unsigned char>)
Value<M, POLY, TYPE> fma(Value<M, POLY, TYPE> a, Value<M, POLY, TYPE> b, Value<M, POLY, TYPE> c)
{
	assert(a.v <= a.N);
	assert(b.v <= b.N);
	assert(c.v <= c.N);
	return (!a.v || !b.v) ? c : (value(index(a) * index(b)) + c);
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
cmpb $0x10, %dil
jae 0x76ad
movl %esi, %ebp
cmpb $0x10, %bpl
jae 0x76cc
movl %edx, %ebx
cmpb $0x10, %bl
jae 0x76eb
testb %dil, %dil
setne %al
testb %bpl, %bpl
setne %cl
andb %al, %cl
cmpb $0x1, %cl
jne 0x76a6
movzbl %dil, %edi
callq 0x6a15
movl %eax, %r14d
movzbl %bpl, %edi
callq 0x6a15
movzbl %r14b, %edi
movzbl %al, %esi
callq 0x6997
movzbl %al, %edi
callq 0x694b
movzbl %al, %edi
movzbl %bl, %esi
popq %rbx
popq %r14
popq %rbp
jmp 0x68e0
movl %ebx, %eax
popq %rbx
popq %r14
popq %rbp
retq
leaq 0x4e6a(%rip), %rdi      # 0xc51e
leaq 0x4dfb(%rip), %rsi      # 0xc4b6
leaq 0x596d(%rip), %rcx      # 0xd02f
movl $0xfb, %edx
callq 0x20d0
leaq 0x4f4e(%rip), %rdi      # 0xc621
leaq 0x4ddc(%rip), %rsi      # 0xc4b6
leaq 0x594e(%rip), %rcx      # 0xd02f
movl $0xfc, %edx
callq 0x20d0
leaq 0x5038(%rip), %rdi      # 0xc72a
leaq 0x4dbd(%rip), %rsi      # 0xc4b6
leaq 0x592f(%rip), %rcx      # 0xd02f
movl $0xfd, %edx
callq 0x20d0
// File: /workspace/github_cpp_makefile_star2_O2/xdsopl[P]FEC/./galois_field.hh
// Function: GF::Value<4, 19, unsigned char> GF::operator/<4, 19, unsigned char>(GF::Value<4, 19, unsigned char>, GF::Value<4, 19, unsigned char>)
Value<M, POLY, TYPE> operator / (Value<M, POLY, TYPE> a, Value<M, POLY, TYPE> b)
{
	assert(a.v <= a.N);
	assert(b.v <= b.N);
	assert(b.v);
	return !a.v ? a.zero() : value(index(a) / index(b));
}

// Assembly:
pushq %rbp
pushq %rbx
pushq %rax
cmpb $0x10, %dil
jae 0x7759
movl %esi, %ebx
cmpb $0x10, %bl
jae 0x7778
testb %bl, %bl
je 0x7797
testb %dil, %dil
je 0x7750
movzbl %dil, %edi
callq 0x6a15
movl %eax, %ebp
movzbl %bl, %edi
callq 0x6a15
movzbl %bpl, %edi
movzbl %al, %esi
callq 0x713e
movzbl %al, %edi
addq $0x8, %rsp
popq %rbx
popq %rbp
jmp 0x694b
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
leaq 0x4dbe(%rip), %rdi      # 0xc51e
leaq 0x4d4f(%rip), %rsi      # 0xc4b6
leaq 0x5949(%rip), %rcx      # 0xd0b7
movl $0xb6, %edx
callq 0x20d0
leaq 0x4ea2(%rip), %rdi      # 0xc621
leaq 0x4d30(%rip), %rsi      # 0xc4b6
leaq 0x592a(%rip), %rcx      # 0xd0b7
movl $0xb7, %edx
callq 0x20d0
leaq 0x5991(%rip), %rdi      # 0xd12f
leaq 0x4d11(%rip), %rsi      # 0xc4b6
leaq 0x590b(%rip), %rcx      # 0xd0b7
movl $0xb8, %edx
callq 0x20d0
// File: /workspace/github_cpp_makefile_star2_O2/xdsopl[P]FEC/./chien.hh
// Function: Chien<16, GF::Types<8, 285, unsigned char>>::search(GF::Value<8, 285, unsigned char>*, int, GF::Index<8, 285, unsigned char>*)
static int search(ValueType *locator, int locator_degree, IndexType *locations)
	{
		ValueType tmp[locator_degree+1];
		for (int i = 0; i <= locator_degree; ++i)
			tmp[i] = locator[i];
		int count = 0;
		for (int i = 0; i < N; ++i) {
			ValueType sum(tmp[0]);
			for (int j = 1; j <= locator_degree; ++j)
				sum += tmp[j] *= IndexType(j);
			if (!sum)
				locations[count++] = IndexType(i);
		}
		return count;
	}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdx, -0x40(%rbp)
movl %esi, %r14d
leal 0x1(%r14), %eax
movq %rsp, %r15
addq $0xf, %rax
andq $-0x10, %rax
subq %rax, %r15
movq %r15, %rsp
movslq %esi, %rax
xorl %ecx, %ecx
cmpq %rax, %rcx
jg 0x98e5
movb (%rdi,%rcx), %dl
movb %dl, (%r15,%rcx)
incq %rcx
jmp 0x98d4
xorl %ebx, %ebx
testl %r14d, %r14d
cmovlel %ebx, %r14d
negq %r14
leaq -0x2a(%rbp), %r12
movl $0x0, -0x30(%rbp)
cmpl $0xff, %ebx
je 0x9969
movl %ebx, -0x34(%rbp)
movb (%r15), %r13b
pushq $0x1
popq %rbx
leaq (%r14,%rbx), %rax
cmpq $0x1, %rax
je 0x9937
movzbl %bl, %esi
movq %r12, %rdi
callq 0x8acc
leaq (%r15,%rbx), %rdi
movzbl -0x2a(%rbp), %esi
callq 0x8b52
xorb %al, %r13b
incq %rbx
jmp 0x990d
testb %r13b, %r13b
je 0x9941
movl -0x34(%rbp), %ebx
jmp 0x9965
movl -0x34(%rbp), %ebx
movzbl %bl, %esi
leaq -0x29(%rbp), %rdi
callq 0x8acc
movl -0x30(%rbp), %ecx
movslq %ecx, %rax
incl %ecx
movl %ecx, -0x30(%rbp)
movb -0x29(%rbp), %cl
movq -0x40(%rbp), %rdx
movb %cl, (%rdx,%rax)
incl %ebx
jmp 0x98fc
movl -0x30(%rbp), %eax
leaq -0x28(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O2/xdsopl[P]FEC/./forney.hh
// Function: Forney<6, 1, GF::Types<4, 19, unsigned char>>::compute_evaluator(GF::Value<4, 19, unsigned char>*, GF::Value<4, 19, unsigned char>*, int, GF::Value<4, 19, unsigned char>*)
static int compute_evaluator(ValueType *syndromes, ValueType *locator, int locator_degree, ValueType *evaluator)
	{
		// $evaluator = (syndromes * locator) \bmod{x^{NR}}$
		int tmp = std::min(locator_degree, NR-1);
		int degree = -1;
		for (int i = 0; i <= tmp; ++i) {
			evaluator[i] = syndromes[i] * locator[0];
			for (int j = 1; j <= i; ++j)
				evaluator[i] += syndromes[i-j] * locator[j];
			if (evaluator[i])
				degree = i;
		}
		return degree;
	}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rcx, 0x18(%rsp)
cmpl $0x5, %edx
pushq $0x5
popq %rax
cmovll %edx, %eax
testl %eax, %eax
pushq $-0x1
popq %rbp
cmovsl %ebp, %eax
movq %rdi, %r15
incl %eax
movq %rax, 0x20(%rsp)
movq %rsi, 0x10(%rsp)
leaq 0x1(%rsi), %rax
movq %rax, 0x8(%rsp)
xorl %r14d, %r14d
cmpq 0x20(%rsp), %r14
je 0x7a5f
movzbl (%r15,%r14), %edi
movq 0x10(%rsp), %rax
movzbl (%rax), %esi
callq 0x75a8
movq 0x18(%rsp), %rcx
leaq (%rcx,%r14), %r12
movb %al, (%rcx,%r14)
movq 0x8(%rsp), %r13
movq %r14, %rax
movq %r14, %rbx
subq $0x1, %rbx
jb 0x7a51
movzbl -0x1(%r15,%rax), %edi
movzbl (%r13), %esi
callq 0x75a8
movzbl %al, %esi
movq %r12, %rdi
callq 0x6778
incq %r13
movq %rbx, %rax
jmp 0x7a28
cmpb $0x0, (%r12)
cmovnel %r14d, %ebp
incq %r14
jmp 0x79f7
movl %ebp, %eax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O2/xdsopl[P]FEC/./forney.hh
// Function: Forney<16, 0, GF::Types<8, 285, unsigned char>>::compute_magnitudes(GF::Value<8, 285, unsigned char>*, GF::Index<8, 285, unsigned char>*, int, GF::Value<8, 285, unsigned char>*, int, GF::Value<8, 285, unsigned char>*)
static void compute_magnitudes(ValueType *locator, IndexType *locations, int count, ValueType *evaluator, int evaluator_degree, ValueType *magnitudes)
	{
		// $magnitude = root^{FCR-1} * \frac{evaluator(root)}{locator'(root)}$
		for (int i = 0; i < count; ++i) {
			IndexType root(locations[i] * IndexType(1)), tmp(root);
			ValueType eval(evaluator[0]);
			for (int j = 1; j <= evaluator_degree; ++j) {
				eval += evaluator[j] * tmp;
				tmp *= root;
			}
			if (!eval) {
				magnitudes[i] = ValueType(0);
				continue;
			}
			ValueType deriv(locator[1]);
			IndexType root2(root * root), tmp2(root2);
			for (int j = 3; j <= count; j += 2) {
				deriv += locator[j] * tmp2;
				tmp2 *= root2;
			}
			IndexType magnitude(index(eval) / index(deriv));
			if (FCR == 0)
				magnitude /= root;
			if (FCR > 1)
				for (int j = 1; j < FCR; ++j)
					magnitude *= root;
			magnitudes[i] = value(magnitude);
		}
	}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %r9, 0x10(%rsp)
movl %r8d, %r14d
movq %rcx, %r15
movq %rsi, 0x28(%rsp)
movq %rdi, 0x18(%rsp)
xorl %ebp, %ebp
testl %r8d, %r8d
cmovlel %ebp, %r14d
movslq %edx, %rax
testl %eax, %eax
movl $0x0, %ecx
movq %rax, 0x40(%rsp)
cmovgl %eax, %ecx
movq %rcx, 0x30(%rsp)
movq %r14, 0x20(%rsp)
cmpq 0x30(%rsp), %rbp
je 0x9b77
movq 0x28(%rsp), %rax
movzbl (%rax,%rbp), %edi
pushq $0x1
popq %rsi
callq 0x8c5e
movb %al, 0xf(%rsp)
movb (%r15), %r13b
movzbl %al, %r12d
xorl %ebx, %ebx
cmpq %rbx, %r14
je 0x9abd
movzbl 0x1(%r15,%rbx), %edi
movzbl 0xf(%rsp), %esi
callq 0x8cd0
xorb %al, %r13b
leaq 0xf(%rsp), %rdi
movl %r12d, %esi
callq 0x8b8a
incq %rbx
jmp 0x9a93
testb %r13b, %r13b
je 0x9b66
movq %rbp, 0x38(%rsp)
movq 0x18(%rsp), %rax
movb 0x1(%rax), %bl
movl %r12d, %edi
movl %r12d, %esi
callq 0x8c5e
movb %al, 0xe(%rsp)
movzbl %al, %ebp
pushq $0x3
popq %r14
cmpq 0x40(%rsp), %r14
jg 0x9b18
movq 0x18(%rsp), %rax
movzbl (%rax,%r14), %edi
movzbl 0xe(%rsp), %esi
callq 0x8cd0
xorb %al, %bl
leaq 0xe(%rsp), %rdi
movl %ebp, %esi
callq 0x8b8a
addq $0x2, %r14
jmp 0x9ae9
movzbl %r13b, %edi
callq 0x8be0
movl %eax, %ebp
movzbl %bl, %edi
callq 0x8be0
movzbl %bpl, %edi
movzbl %al, %esi
callq 0x939d
movb %al, 0xd(%rsp)
leaq 0xd(%rsp), %rdi
movl %r12d, %esi
callq 0x9b86
movzbl 0xd(%rsp), %edi
callq 0x8c2b
movq 0x10(%rsp), %rcx
movq 0x38(%rsp), %rbp
movb %al, (%rcx,%rbp)
movq 0x20(%rsp), %r14
jmp 0x9b6f
movq 0x10(%rsp), %rax
movb $0x0, (%rax,%rbp)
incq %rbp
jmp 0x9a6a
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O2/xdsopl[P]FEC/./reed_solomon.hh
// Function: ReedSolomon<16, 0, GF::Types<8, 285, unsigned char>>::encode(GF::Value<8, 285, unsigned char>*)
void encode(ValueType *code)
	{
		// $code = data * x^{NR} + (data * x^{NR}) \mod{generator}$
		for (int i = 0; i < NR; ++i)
			code[K+i] = ValueType(0);
		for (int i = 0; i < K; ++i) {
			ValueType feedback = code[i] + code[K];
			if (feedback) {
				IndexType fb = index(feedback);
				for (int j = 1; j < NR; ++j)
					code[K+j-1] = fma(fb, generator[NR-j], code[K+j]);
				code[N-1] = value(generator[0] * fb);
			} else {
				for (int j = 1; j < NR; ++j)
					code[K+j-1] = code[K+j];
				code[N-1] = ValueType(0);
			}
		}
	}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %r14
xorl %eax, %eax
cmpq $0x10, %rax
je 0x8d41
movb $0x0, 0xef(%rsi,%rax)
incq %rax
jmp 0x8d2e
leaq 0xf0(%rsi), %r13
xorl %r12d, %r12d
movq %rsi, (%rsp)
cmpq $0xef, %r12
je 0x8de2
movb (%rsi,%r12), %al
movb 0xef(%rsi), %cl
cmpb %al, %cl
jne 0x8d81
xorl %eax, %eax
cmpq $0xf, %rax
je 0x8db9
movb (%r13,%rax), %cl
movb %cl, -0x1(%r13,%rax)
incq %rax
jmp 0x8d6c
xorb %al, %cl
movzbl %cl, %edi
callq 0x8be0
movzbl %al, %ebp
movq %r13, %r15
pushq $0xf
popq %rax
movq %rax, %rbx
subq $0x1, %rbx
jb 0x8dbd
movzbl (%r14,%rax), %esi
movzbl (%r15), %edx
movl %ebp, %edi
callq 0x8df1
movb %al, -0x1(%r15)
incq %r15
movq %rbx, %rax
jmp 0x8d97
xorl %eax, %eax
jmp 0x8dd4
movzbl (%r14), %edi
movl %ebp, %esi
callq 0x8c5e
movzbl %al, %edi
callq 0x8c2b
movq (%rsp), %rsi
movb %al, 0xfe(%rsi)
incq %r12
jmp 0x8d4f
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O2/xdsopl[P]FEC/./galois_field.hh
// Function: GF::Value<4, 19, unsigned char> GF::fma<4, 19, unsigned char>(GF::Index<4, 19, unsigned char>, GF::Index<4, 19, unsigned char>, GF::Value<4, 19, unsigned char>)
Value<M, POLY, TYPE> fma(Index<M, POLY, TYPE> a, Index<M, POLY, TYPE> b, Value<M, POLY, TYPE> c)
{
	assert(a.i < a.modulus());
	assert(b.i < b.modulus());
	assert(c.v <= c.N);
	return value(a * b) + c;
}

// Assembly:
pushq %rbx
cmpb $0xf, %dil
jae 0x7e2d
cmpb $0xf, %sil
jae 0x7e4c
movl %edx, %ebx
cmpb $0x10, %bl
jae 0x7e6b
movzbl %dil, %edi
movzbl %sil, %esi
callq 0x6997
movzbl %al, %edi
callq 0x694b
movzbl %al, %edi
movzbl %bl, %esi
popq %rbx
jmp 0x68e0
leaq 0x485c(%rip), %rdi      # 0xc690
leaq 0x467b(%rip), %rsi      # 0xc4b6
leaq 0x5573(%rip), %rcx      # 0xd3b5
movl $0xe0, %edx
callq 0x20d0
leaq 0x49b8(%rip), %rdi      # 0xc80b
leaq 0x465c(%rip), %rsi      # 0xc4b6
leaq 0x5554(%rip), %rcx      # 0xd3b5
movl $0xe1, %edx
callq 0x20d0
leaq 0x48b8(%rip), %rdi      # 0xc72a
leaq 0x463d(%rip), %rsi      # 0xc4b6
leaq 0x5535(%rip), %rcx      # 0xd3b5
movl $0xe2, %edx
callq 0x20d0
// File: /workspace/github_cpp_makefile_star2_O2/xdsopl[P]FEC/./reed_solomon.hh
// Function: ReedSolomon<4, 0, GF::Types<4, 19, unsigned char>>::decode(GF::Value<4, 19, unsigned char>*, GF::Index<4, 19, unsigned char>*, int)
int decode(ValueType *code, IndexType *erasures = 0, int erasures_count = 0)
	{
		assert(0 <= erasures_count && erasures_count <= NR);
#if 0
		for (int i = 0; i < erasures_count; ++i)
			code[(int)erasures[i]] = ValueType(0);
#endif
		ValueType syndromes[NR];
		if (!compute_syndromes(code, syndromes))
			return 0;
		IndexType locations[NR];
		ValueType magnitudes[NR];
		int count = Correction<NR, FCR, GF>::algorithm(syndromes, locations, magnitudes, erasures, erasures_count);
		if (count <= 0)
			return count;
		for (int i = 0; i < count; ++i)
			code[(int)locations[i]] += magnitudes[i];
		int corrections_count = 0;
		for (int i = 0; i < count; ++i)
			corrections_count += !!magnitudes[i];
		return corrections_count;
	}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x18, %rsp
cmpl $0x5, %ecx
jae 0x7f14
movl %ecx, %ebp
movq %rdx, %r14
movq %rsi, %rbx
leaq 0x14(%rsp), %rdx
callq 0x7f32
testl %eax, %eax
je 0x7f07
leaq 0x14(%rsp), %rdi
leaq 0x10(%rsp), %rsi
leaq 0xc(%rsp), %rdx
movq %r14, %rcx
movl %ebp, %r8d
callq 0x7fc8
testl %eax, %eax
jle 0x7f09
movl %eax, %r14d
xorl %r15d, %r15d
cmpq %r15, %r14
je 0x7ef1
movzbl 0x10(%rsp,%r15), %edi
addq %rbx, %rdi
movzbl 0xc(%rsp,%r15), %esi
callq 0x6778
incq %r15
jmp 0x7ed3
xorl %ecx, %ecx
xorl %eax, %eax
cmpq %rcx, %r14
je 0x7f09
cmpb $0x1, 0xc(%rsp,%rcx)
sbbl $-0x1, %eax
incq %rcx
jmp 0x7ef5
xorl %eax, %eax
addq $0x18, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
leaq 0x4d84(%rip), %rdi      # 0xcc9f
leaq 0x551b(%rip), %rsi      # 0xd43d
leaq 0x5526(%rip), %rcx      # 0xd44f
pushq $0x5b
popq %rdx
callq 0x20d0
nop
// File: /workspace/github_cpp_makefile_star2_O2/kebwi[P]Trifid/src/main.cpp
// Function: warning(char const*)
void warning(const char *msg)
{
	cout << endl;
	cout << "****************************************" << endl;
	cout << "  !!! WARNING !!!" << endl;
	cout << "  " << msg << endl;
	cout << "****************************************" << endl;
	cout << endl;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %r15
movq 0x2c465(%rip), %rbx     # 0x2ffd0
movq %rbx, %rdi
callq 0x3120
leaq 0x1e6a1(%rip), %r14     # 0x2221b
movq %rbx, %rdi
movq %r14, %rsi
callq 0x32c0
movq %rax, %rdi
callq 0x3120
leaq 0x1e6b0(%rip), %rsi     # 0x22244
movq %rbx, %rdi
callq 0x32c0
movq %rax, %rdi
callq 0x3120
leaq 0x1ed2f(%rip), %rsi     # 0x228da
movq %rbx, %rdi
callq 0x32c0
movq %rax, %rdi
movq %r15, %rsi
callq 0x32c0
movq %rax, %rdi
callq 0x3120
movq %rbx, %rdi
movq %r14, %rsi
callq 0x32c0
movq %rax, %rdi
callq 0x3120
movq %rbx, %rdi
popq %rbx
popq %r14
popq %r15
jmp 0x3120
// File: /workspace/github_cpp_makefile_star2_O2/kebwi[P]Trifid/src/main.cpp
// Function: getCurrentTime_ms()
unsigned long getCurrentTime_ms()
{
	static timeval tp;
	gettimeofday(&tp, NULL);
	
	static unsigned long currentTime_ms;
	currentTime_ms = tp.tv_sec * CURRENT_TIME_PER_SEC;	//Convert seconds to milliseconds
	currentTime_ms += tp.tv_usec / CURRENT_TIME_PER_SEC;	//Convert microseconds to milliseconds
	
	return currentTime_ms;
}

// Assembly:
pushq %rax
leaq 0x2c9df(%rip), %rdi     # 0x30658
xorl %esi, %esi
callq 0x3470
imulq $0x3e8, 0x2c9cd(%rip), %rcx # imm = 0x3E8
movq 0x2c9ce(%rip), %rax     # 0x30660
movl $0x3e8, %esi            # imm = 0x3E8
cqto
idivq %rsi
addq %rcx, %rax
popq %rcx
retq
// File: /workspace/github_cpp_makefile_star2_O2/kebwi[P]Trifid/src/main.cpp
// Function: writeSeparator(char, int, int)
void writeSeparator(char sepChar, int rowLength, int numRows)
{
	cout << endl << endl;
	for (int r = 0; r < numRows; r++)
	{
		for (int c = 0; c < rowLength; c++)
			cout << sepChar;
		cout << endl;
	}
	cout << endl;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %edx, %ebx
movl %esi, %ebp
movl %edi, %r15d
movq 0x2ac26(%rip), %r14     # 0x2ffd0
movq %r14, %rdi
callq 0x3120
movq %rax, %rdi
callq 0x3120
xorl %r12d, %r12d
testl %ebp, %ebp
cmovlel %r12d, %ebp
testl %ebx, %ebx
cmovlel %r12d, %ebx
movsbl %r15b, %r15d
movl %ebp, %r13d
cmpl %ebx, %r12d
je 0x53f2
movq %r14, %rdi
subl $0x1, %r13d
jb 0x53e8
movl %r15d, %esi
callq 0x3320
jmp 0x53d5
callq 0x3120
incl %r12d
jmp 0x53cd
movq 0x2abd7(%rip), %rdi     # 0x2ffd0
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x3120
// File: /workspace/github_cpp_makefile_star2_O2/kebwi[P]Trifid/src/main.cpp
// Function: main
int main(int argc, char* argv[])
{
	//Sorta kinda verify the enum labels
	assert(skProgramBehaviorLabels[PB_NUM_PROGRAM_BEHAVIORS] == "PB_NUM_PROGRAM_BEHAVIORS");
	assert(skIdealShrinkageMethodLabels[NUM_IDEAL_SHRINKAGE_METHODS] == "NUM_IDEAL_SHRINKAGE_METHODS");
	
	//setiosflags(ios::showpoint | ios::fixed);
	cout.setf(ios::fixed);
	cout.precision(6);	//std out default I believe, therefore a pointless, but illustrative, command
	
	//Uncomment this line to get a random seed.
	//Pass a seed into SeedRandom to set the seed explicitly.
	//SeedRandom();
	
	if (!processArgsFromFile(argc, argv))
		processArgs(argc, argv);
	
	//Clearly mark a new run in the run log or console window
	writeSeparator('#', 100, 4);
	
	switch (sProgramBehavior)
	{
		case PB_TEST_FOURIER:
			fourierTest();  //FourierTransform.cpp
			break;
		case PB_TEST_FOURIER_CONVOLUTION:
			testFourierConvolution(0);
			break;
		case PB_TEST_RGB_XYZ_LAB:
			testRGBXYZLABRoutines();	//ImageProcs.cpp
			break;
		//========================================
		case PB_NOISIFY:
			programBehaviorNoisify();
			break;
		case PB_DENOISE:
			programBehaviorDenoise();
			break;
		case PB_GRAY_IMG_PAIR_STATS:
			programBehavior1ChnlImagePairStats();
			break;
		case PB_RGB_IMG_PAIR_STATS:
			programBehaviorRGBImagePairStats();
			break;
		//========================================
		case PB_NONE:
		default:
			die("Please specify a program behavior flag.");
	}
	
	cout << endl << "Program is complete" << endl;
	
	return 0;
}

// Assembly:
pushq %rbp
pushq %rbx
pushq %rax
movq %rsi, %rbx
movl %edi, %ebp
leaq 0x285b1(%rip), %rdi     # 0x30440
leaq 0x1a335(%rip), %rsi     # 0x221cb
callq 0x80ee
testb %al, %al
je 0x7f82
leaq 0x28616(%rip), %rdi     # 0x304c0
leaq 0x1a34e(%rip), %rsi     # 0x221ff
callq 0x80ee
testb %al, %al
je 0x7fa1
movq 0x2810b(%rip), %rax     # 0x2ffd0
movq (%rax), %rcx
movq -0x18(%rcx), %rdx
orl $0x4, 0x18(%rax,%rdx)
movq -0x18(%rcx), %rcx
movq $0x6, 0x8(%rax,%rcx)
movl %ebp, %edi
movq %rbx, %rsi
callq 0x50f5
testb %al, %al
jne 0x7ef6
movl %ebp, %edi
movq %rbx, %rsi
callq 0x44e8
pushq $0x23
popq %rdi
pushq $0x64
popq %rsi
pushq $0x4
popq %rdx
callq 0x5391
movl 0x2875e(%rip), %eax     # 0x30668
decl %eax
cmpl $0x6, %eax
ja 0x7fc0
leaq 0x1a1fc(%rip), %rcx     # 0x22118
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
callq 0x14d14
jmp 0x7f56
callq 0x5cfc
jmp 0x7f56
callq 0xf31c
jmp 0x7f56
callq 0x57ba
jmp 0x7f56
xorl %edi, %edi
callq 0x7a91
jmp 0x7f56
callq 0x5ee3
jmp 0x7f56
callq 0x614c
movq 0x28073(%rip), %rdi     # 0x2ffd0
callq 0x3120
leaq 0x1ac91(%rip), %rsi     # 0x22bfa
movq %rax, %rdi
callq 0x32c0
movq %rax, %rdi
callq 0x3120
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
leaq 0x1ab87(%rip), %rdi     # 0x22b10
leaq 0x1a2d1(%rip), %rsi     # 0x22261
leaq 0x1abc9(%rip), %rcx     # 0x22b60
movl $0x546, %edx            # imm = 0x546
callq 0x31a0
leaq 0x1abcf(%rip), %rdi     # 0x22b77
leaq 0x1a2b2(%rip), %rsi     # 0x22261
leaq 0x1abaa(%rip), %rcx     # 0x22b60
movl $0x547, %edx            # imm = 0x547
callq 0x31a0
leaq 0x1ac0b(%rip), %rdi     # 0x22bd2
callq 0x3b3c
// File: /workspace/github_cpp_makefile_star2_O2/kebwi[P]Trifid/src/./ImageProcs.h
// Function: NoiseParam::operator=(NoiseParam const&)
const NoiseParam& operator=(const NoiseParam &np)
	{
		if (&np == this)
			return *this;
		
		set(
			np.label_.c_str(),
			np.lux_,
			np.minReflectance_,
			np.maxReflectance_,
			np.temperatureC_,
			//np.focalLengthMM_,
			np.pixelPitchMicrons_,
			np.fullWellCapacity_,
			np.readNoise_,
			np.ampVarFactor_,
			np.darkCurrentRoomTempElectronsPerPixPerSec_,
			np.hotPixelFactor_,
			np.hotPixelScalars_,
			np.quantumEfficiency_,
			np.ampGlowElectronsPerPixPerSec_,
			np.exposureSecs_,
			np.ampGain_,
			np.focalRatio_
		);
		
		selfCheck();
		
		return *this;
	}

// Assembly:
pushq %rbx
subq $0x30, %rsp
movq %rdi, %rbx
cmpq %rdi, %rsi
je 0x877b
movq (%rsi), %rax
movsd 0x20(%rsi), %xmm0
movsd 0x28(%rsi), %xmm1
movsd 0x30(%rsi), %xmm2
movsd 0x38(%rsi), %xmm3
movsd 0x40(%rsi), %xmm4
movq 0x48(%rsi), %rdx
movsd 0x50(%rsi), %xmm5
movsd 0x58(%rsi), %xmm6
movsd 0x60(%rsi), %xmm7
movsd 0x68(%rsi), %xmm8
movq 0x70(%rsi), %rcx
leaq 0x78(%rsi), %r8
movsd 0x90(%rsi), %xmm9
movsd 0x98(%rsi), %xmm10
movsd 0xa0(%rsi), %xmm11
movsd 0xa8(%rsi), %xmm12
movsd %xmm12, 0x20(%rsp)
movsd %xmm11, 0x18(%rsp)
movsd %xmm10, 0x10(%rsp)
movsd %xmm9, 0x8(%rsp)
movsd %xmm8, (%rsp)
movq %rbx, %rdi
movq %rax, %rsi
callq 0x8784
movq %rbx, %rdi
callq 0x815a
movq %rbx, %rax
addq $0x30, %rsp
popq %rbx
retq
// File: /workspace/github_cpp_makefile_star2_O2/kebwi[P]Trifid/src/ImageInterface.cpp
// Function: ImageInterface::operator=(ImageInterface const&)
const ImageInterface& ImageInterface::operator=(const ImageInterface &ir)
{
	if (&ir == this)
		return *this;
	
	filename_ = ir.filename_;
	resize(ir.width_, ir.height_);
	
	return *this;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
cmpq %rdi, %rsi
je 0xa321
movq %rsi, %r14
addq $0x8, %rsi
leaq 0x8(%rbx), %rdi
callq 0x3150
movl 0x28(%r14), %esi
movl 0x2c(%r14), %edx
movq (%rbx), %rax
movq %rbx, %rdi
callq *0x28(%rax)
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_cpp_makefile_star2_O2/kebwi[P]Trifid/src/ImageInterface.cpp
// Function: ImageInterface::operator==(ImageInterface const&) const
bool ImageInterface::operator==(const ImageInterface &im) const
{
	if (&im == this)
		return true;
	
	//Notice, no check against the filename
	
	if (width_ != im.width_ || height_ != im.height_)
		return false;
	assert(totalPixels_ == im.totalPixels_);
	
	return true;
}

// Assembly:
movb $0x1, %al
cmpq %rdi, %rsi
je 0xa34b
movl 0x28(%rdi), %ecx
cmpl 0x28(%rsi), %ecx
jne 0xa34c
movl 0x2c(%rdi), %ecx
cmpl 0x2c(%rsi), %ecx
jne 0xa34c
movl 0x30(%rdi), %ecx
cmpl 0x30(%rsi), %ecx
jne 0xa34f
retq
xorl %eax, %eax
retq
pushq %rax
leaq 0x18bd1(%rip), %rdi     # 0x22f28
leaq 0x18bea(%rip), %rsi     # 0x22f48
leaq 0x18bf6(%rip), %rcx     # 0x22f5b
pushq $0x3f
popq %rdx
callq 0x31a0
nop
// File: /workspace/github_cpp_makefile_star2_O2/kebwi[P]Trifid/src/ImageInterface.cpp
// Function: ImageInterface::stripString(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&)
void ImageInterface::stripString(string &str)
{
	if (str.length() >= 4)	//Strip extension (presumably ".pgm" or ".ppm")
	{
		if (str[str.length() - 4] == '.'
			&& (isalpha(str[str.length() - 3]) || isalpha(str[str.length() - 2]) || isalpha(str[str.length() - 1])))
			str = str.substr(0, str.length() - 4);
	}
	
	for (int i = 0; i < 2; i++)	//Do this twice, once for "_out" and once for "_ori"
	{
		if (str.length() >= 4)	//Strip "_out" and "_ori" suffixes
		{
			if (str.substr(str.length() - 4, 4) == "_out" ||
				str.substr(str.length() - 4, 4) == "_ori")
				str = str.substr(0, str.length() - 4);
		}
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rdi, %rbx
movq 0x8(%rdi), %r14
cmpq $0x4, %r14
jb 0xa401
movq (%rbx), %r15
cmpb $0x2e, -0x4(%r15,%r14)
jne 0xa401
movsbl -0x3(%r15,%r14), %edi
callq 0x3450
testl %eax, %eax
jne 0xa3d5
movsbl -0x2(%r15,%r14), %edi
callq 0x3450
testl %eax, %eax
jne 0xa3d5
movsbl -0x1(%r15,%r14), %edi
callq 0x3450
testl %eax, %eax
je 0xa401
addq $-0x4, %r14
leaq 0x8(%rsp), %r15
movq %r15, %rdi
movq %rbx, %rsi
xorl %edx, %edx
movq %r14, %rcx
callq 0x3300
movq %rbx, %rdi
movq %r15, %rsi
callq 0x3360
movq %r15, %rdi
callq 0x3548
pushq $0x2
popq %r12
leaq 0x8(%rsp), %r13
pushq $0x4
popq %r15
leaq 0x18b8c(%rip), %rbp     # 0x22fa1
subl $0x1, %r12d
jb 0xa4ca
movq 0x8(%rbx), %rdx
cmpq $0x4, %rdx
jb 0xa415
addq $-0x4, %rdx
movq %r13, %rdi
movq %rbx, %rsi
movq %r15, %rcx
callq 0x3300
movq %r13, %rdi
movq %rbp, %rsi
callq 0x80ee
testb %al, %al
je 0xa454
movq %r13, %rdi
callq 0x3548
jmp 0xa49d
movq 0x8(%rbx), %rdx
addq $-0x4, %rdx
leaq 0x28(%rsp), %r14
movq %r14, %rdi
movq %rbx, %rsi
movq %r15, %rcx
callq 0x3300
movq %r14, %rdi
leaq 0x18b2d(%rip), %rsi     # 0x22fa6
callq 0x80ee
movb %al, 0x7(%rsp)
movq %r14, %rdi
callq 0x3548
movq %r13, %rdi
callq 0x3548
cmpb $0x0, 0x7(%rsp)
je 0xa415
movq 0x8(%rbx), %rcx
addq $-0x4, %rcx
movq %r13, %rdi
movq %rbx, %rsi
xorl %edx, %edx
callq 0x3300
movq %rbx, %rdi
movq %r13, %rsi
callq 0x3360
movq %r13, %rdi
callq 0x3548
jmp 0xa415
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x3548
movq %rbx, %rdi
callq 0x34d0
// File: /workspace/github_cpp_makefile_star2_O2/kebwi[P]Trifid/src/ImageInterface.cpp
// Function: ImageInterface::resize(int, int)
bool ImageInterface::resize(int width, int height)
{
	if (width_ == width && height_ == height)
		return false;
	
	width_ = width;
	height_ = height;
	totalPixels_ = width_ * height_;
	
	return true;
}

// Assembly:
movl 0x28(%rdi), %eax
xorl %esi, %eax
movl 0x2c(%rdi), %ecx
xorl %edx, %ecx
orl %eax, %ecx
setne %al
je 0xa587
movl %esi, 0x28(%rdi)
movl %edx, 0x2c(%rdi)
imull %esi, %edx
movl %edx, 0x30(%rdi)
retq
// File: /workspace/github_cpp_makefile_star2_O2/kebwi[P]Trifid/src/ImageReal.cpp
// Function: ImageReal::operator=(ImageReal const&)
const ImageReal& ImageReal::operator=(const ImageReal &ir)
{
	if (&ir == this)
		return *this;
	
	ImageInterface::operator=(ir);
	
	resize(ir.width_, ir.height_);
	memcpy(img_, ir.img_, totalPixels_ * sizeof(Float_t));
	
	return *this;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
cmpq %rdi, %rsi
je 0xa623
movq %rsi, %r14
movq %rbx, %rdi
callq 0xa2f4
movl 0x28(%r14), %esi
movl 0x2c(%r14), %edx
movq (%rbx), %rax
movq %rbx, %rdi
callq *0x28(%rax)
movq 0x38(%rbx), %rdi
movq 0x38(%r14), %rsi
movslq 0x30(%rbx), %rdx
shlq $0x3, %rdx
callq 0x3240
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_cpp_makefile_star2_O2/kebwi[P]Trifid/src/ImageReal.cpp
// Function: ImageReal::resize(int, int)
bool ImageReal::resize(int width, int height)
{
	if (!ImageInterface::resize(width, height))
	{
		erase();
		return false;
	}
	
	if (img_)
		delete [] img_;
	img_ = new Float_t[totalPixels_];
	erase();
	
	return true;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %r14
callq 0xa56a
movl %eax, %ebx
movq 0x38(%r14), %rdi
testb %al, %al
je 0xa782
testq %rdi, %rdi
je 0xa759
callq 0x3380
movslq 0x30(%r14), %rax
leaq (,%rax,8), %r15
testq %rax, %rax
pushq $-0x1
popq %rdi
cmovnsq %r15, %rdi
callq 0x3030
movq %rax, 0x38(%r14)
movq %rax, %rdi
xorl %esi, %esi
movq %r15, %rdx
jmp 0xa78c
movslq 0x30(%r14), %rdx
shlq $0x3, %rdx
xorl %esi, %esi
callq 0x3170
movl %ebx, %eax
popq %rbx
popq %r14
popq %r15
retq
nop
// File: /workspace/github_cpp_makefile_star2_O2/kebwi[P]Trifid/src/ImageReal.cpp
// Function: ImageReal::normalize(double, bool)
void ImageReal::normalize(Float_t maxVal, bool normalizeUpToo)
{
	//Normalize the absolute value, some "images" might contain negative pixels
	Float_t maxCurrentVal = 0;
	for (int i = 0; i < totalPixels_; i++)
		if (fabs(img_[i]) > maxCurrentVal)
			maxCurrentVal = fabs(img_[i]);
	
	if (maxCurrentVal < maxVal && !normalizeUpToo)
		return;
	if (maxCurrentVal == 0)
		return;
	
	Float_t scalar = maxVal / maxCurrentVal;
	scale(scalar);
	
	//This doesn't really have anything to do with normalization
	for (int i = 0; i < totalPixels_; i++)
		img_[i] = fabs(img_[i]);
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
movl 0x30(%rdi), %eax
movq 0x38(%rdi), %rcx
xorl %edx, %edx
testl %eax, %eax
cmovlel %edx, %eax
xorpd %xmm1, %xmm1
cmpq %rdx, %rax
je 0xa7f7
movsd (%rcx,%rdx,8), %xmm2
andpd 0x17826(%rip), %xmm2    # 0x22010
maxsd %xmm1, %xmm2
incq %rdx
movapd %xmm2, %xmm1
jmp 0xa7d8
ucomisd %xmm1, %xmm0
setbe %al
xorpd %xmm2, %xmm2
ucomisd %xmm2, %xmm1
jne 0xa80a
jnp 0xa84a
orb %sil, %al
je 0xa84a
divsd %xmm1, %xmm0
movq (%rbx), %rax
movq %rbx, %rdi
callq *0x30(%rax)
movapd 0x177ec(%rip), %xmm1    # 0x22010
movl 0x30(%rbx), %eax
movq 0x38(%rbx), %rcx
xorl %edx, %edx
testl %eax, %eax
cmovlel %edx, %eax
cmpq %rdx, %rax
je 0xa84a
movsd (%rcx,%rdx,8), %xmm0
andpd %xmm1, %xmm0
movlpd %xmm0, (%rcx,%rdx,8)
incq %rdx
jmp 0xa832
popq %rbx
retq
// File: /workspace/github_cpp_makefile_star2_O2/kebwi[P]Trifid/src/ImageReal.cpp
// Function: ImageReal::flipHorizontal()
void ImageReal::flipHorizontal()
{
	Float_t temp;
	for (int y = 0; y < height_; y++)
	{
		int halfWidth = width_ / 2;
		for (int x = 0; x < halfWidth; x++)
		{
			temp = (*this)(x, y);
			(*this)(x, y) = (*this)((width_ - 1) - x, y);
			(*this)((width_ - 1) - x, y) = temp;
		}
	}
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movl 0x28(%rdi), %ecx
movl 0x2c(%rdi), %esi
movl $0x2, %r8d
movl %ecx, %eax
cltd
idivl %r8d
xorl %edx, %edx
testl %eax, %eax
cmovlel %edx, %eax
leal -0x1(%rcx), %r8d
xorl %r9d, %r9d
cmpl %esi, %r9d
jge 0xa8ba
movq 0x38(%rdi), %r10
movl %edx, %r11d
movl %r8d, %ebx
movq %rax, %r14
subq $0x1, %r14
jb 0xa8b0
movl %r11d, %r15d
movsd (%r10,%r15,8), %xmm0
movl %ebx, %r12d
movsd (%r10,%r12,8), %xmm1
movsd %xmm1, (%r10,%r15,8)
movsd %xmm0, (%r10,%r12,8)
decl %ebx
incl %r11d
jmp 0xa885
incl %r9d
addl %ecx, %r8d
addl %ecx, %edx
jmp 0xa873
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O2/kebwi[P]Trifid/src/ImageReal.cpp
// Function: ImageReal::flipVertical()
void ImageReal::flipVertical()
{
	Float_t temp;
	int halfHeight = height_ / 2;
	for (int y = 0; y < halfHeight; y++)
		for (int x = 0; x < width_; x++)
		{
			temp = (*this)(x, y);
			(*this)(x, y) = (*this)(x, (height_ - 1) - y);
			(*this)(x, (height_ - 1) - y) = temp;
		}
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movl 0x28(%rdi), %esi
movl 0x2c(%rdi), %ecx
movl $0x2, %r8d
movl %ecx, %eax
cltd
idivl %r8d
xorl %edx, %edx
testl %esi, %esi
movl $0x0, %r8d
cmovgl %esi, %r8d
testl %eax, %eax
cmovlel %edx, %eax
decl %ecx
imull %esi, %ecx
xorl %r9d, %r9d
cmpl %eax, %r9d
je 0xa93b
movq 0x38(%rdi), %r10
movl %edx, %r11d
movl %ecx, %ebx
movq %r8, %r14
subq $0x1, %r14
jb 0xa932
movl %r11d, %r15d
movsd (%r10,%r15,8), %xmm0
movl %ebx, %r12d
movsd (%r10,%r12,8), %xmm1
movsd %xmm1, (%r10,%r15,8)
movsd %xmm0, (%r10,%r12,8)
incl %ebx
incl %r11d
jmp 0xa907
incl %r9d
subl %esi, %ecx
addl %esi, %edx
jmp 0xa8f6
popq %rbx
popq %r12
popq %r14
popq %r15
retq
nop
// File: /workspace/github_cpp_makefile_star2_O2/kebwi[P]Trifid/src/ImageReal.cpp
// Function: ImageReal::rot90CW()
void ImageReal::rot90CW()
{
	ImageReal temp(width_, height_);
	Float_t *tempImgPtr = temp.img_;
	for (int y = 0; y < height_; y++)
		for (int x = 0; x < width_; x++)
			*tempImgPtr++ = img_[((height_ - 1) - x) * width_ + y];
	*this = temp;
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x48, %rsp
movq %rdi, %rbx
movl 0x28(%rdi), %esi
movl 0x2c(%rdi), %edx
leaq 0x8(%rsp), %r14
movq %r14, %rdi
callq 0xa62e
movq 0x38(%r14), %rax
movl 0x28(%rbx), %ecx
movl 0x2c(%rbx), %edx
xorl %esi, %esi
testl %ecx, %ecx
movl $0x0, %edi
cmovgl %ecx, %edi
testl %edx, %edx
movl $0x0, %r8d
cmovgl %edx, %r8d
decl %edx
imull %ecx, %edx
cmpl %r8d, %esi
je 0xa9b9
movq 0x38(%rbx), %r9
movq %rdi, %r10
movl %edx, %r11d
subq $0x1, %r10
jb 0xa9b3
movslq %r11d, %r11
movsd (%r9,%r11,8), %xmm0
movsd %xmm0, (%rax)
addq $0x8, %rax
subl %ecx, %r11d
jmp 0xa997
incl %esi
incl %edx
jmp 0xa988
leaq 0x8(%rsp), %rsi
movq %rbx, %rdi
callq 0xa5e6
leaq 0x8(%rsp), %rdi
callq 0xa6a6
addq $0x48, %rsp
popq %rbx
popq %r14
retq
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0xa6a6
movq %rbx, %rdi
callq 0x34d0
nop
// File: /workspace/github_cpp_makefile_star2_O2/kebwi[P]Trifid/src/ImageReal.cpp
// Function: ImageReal::rot180()
void ImageReal::rot180()
{
	Float_t temp;
	int halfTotalPixels = totalPixels_ / 2;
	for (int i = 0; i < halfTotalPixels; i++)
	{
		temp = img_[i];
		img_[i] = img_[(totalPixels_ - 1) - i];
		img_[(totalPixels_ - 1) - i] = temp;
	}
}

// Assembly:
movl 0x30(%rdi), %ecx
pushq $0x2
popq %rsi
movl %ecx, %eax
cltd
idivl %esi
movq 0x38(%rdi), %rdx
xorl %esi, %esi
testl %eax, %eax
cmovlel %esi, %eax
decl %ecx
cmpq %rsi, %rax
je 0xaa27
movsd (%rdx,%rsi,8), %xmm0
movslq %ecx, %rcx
movsd (%rdx,%rcx,8), %xmm1
movsd %xmm1, (%rdx,%rsi,8)
movsd %xmm0, (%rdx,%rcx,8)
incq %rsi
jmp 0xaa04
retq
// File: /workspace/github_cpp_makefile_star2_O2/kebwi[P]Trifid/src/ImageReal.cpp
// Function: ImageReal::rot90CCW()
void ImageReal::rot90CCW()
{
	ImageReal temp(width_, height_);
	Float_t *tempImgPtr = temp.img_;
	for (int y = 0; y < height_; y++)
		for (int x = 0; x < width_; x++)
			*tempImgPtr++ = img_
				[x * width_ + ((width_ - 1) - y)];
	*this = temp;
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x48, %rsp
movq %rdi, %rbx
movl 0x28(%rdi), %esi
movl 0x2c(%rdi), %edx
leaq 0x8(%rsp), %r14
movq %r14, %rdi
callq 0xa62e
movq 0x38(%r14), %rax
movl 0x2c(%rbx), %ecx
movslq 0x28(%rbx), %rdx
xorl %esi, %esi
testl %edx, %edx
movl $0x0, %edi
cmovgl %edx, %edi
testl %ecx, %ecx
cmovlel %esi, %ecx
leal -0x1(%rdx), %r8d
shlq $0x3, %rdx
cmpq %rcx, %rsi
je 0xaa9c
movslq %r8d, %r9
shlq $0x3, %r9
addq 0x38(%rbx), %r9
movq %rdi, %r10
subq $0x1, %r10
jb 0xaa94
movsd (%r9), %xmm0
movsd %xmm0, (%rax)
addq $0x8, %rax
addq %rdx, %r9
jmp 0xaa7c
incq %rsi
decl %r8d
jmp 0xaa69
leaq 0x8(%rsp), %rsi
movq %rbx, %rdi
callq 0xa5e6
leaq 0x8(%rsp), %rdi
callq 0xa6a6
addq $0x48, %rsp
popq %rbx
popq %r14
retq
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0xa6a6
movq %rbx, %rdi
callq 0x34d0
// File: /workspace/github_cpp_makefile_star2_O2/kebwi[P]Trifid/src/ImageReal.cpp
// Function: ImageReal::downsample(ImageReal&, int, int) const
void ImageReal::downsample(ImageReal &imageOut, int startX, int startY) const
{
	assert(width_ % 2 == 0 && height_ % 2 == 0);
	
	int	widthOut = width_ / 2, heightOut = height_ / 2;
	if (imageOut.width() != widthOut || imageOut.height() != heightOut)
		imageOut.resize(widthOut, heightOut);
	
	int imageOutIdx = 0;
	for (int y = startY; y < height_; y += 2)
		for (int x = startX; x < width_; x += 2, ++imageOutIdx)
			imageOut[imageOutIdx] = img_[y * width_ + x];
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movl %ecx, %ebp
movl 0x28(%rdi), %ecx
testb $0x1, %cl
jne 0xab82
movq %rdi, %r14
movl 0x2c(%rdi), %edi
testb $0x1, %dil
jne 0xab82
movl %edx, %r15d
movq %rsi, %rbx
movl %ecx, %esi
sarl %esi
movl %edi, %edx
sarl %edx
cmpl %esi, 0x28(%rbx)
jne 0xab0e
cmpl %edx, 0x2c(%rbx)
je 0xab1f
movq (%rbx), %rax
movq %rbx, %rdi
callq *0x28(%rax)
movl 0x28(%r14), %ecx
movl 0x2c(%r14), %edi
movslq %r15d, %rax
movslq %ecx, %rcx
movslq %ebp, %rdx
movslq %edi, %rsi
movq %rcx, %rdi
imulq %rdx, %rdi
shlq $0x3, %rdi
movq %rcx, %r8
shlq $0x4, %r8
xorl %r9d, %r9d
cmpq %rsi, %rdx
jge 0xab79
movq 0x38(%rbx), %r10
movq 0x38(%r14), %r11
addq %rdi, %r11
movq %rax, %r15
cmpq %rcx, %r15
jge 0xab70
movsd (%r11,%r15,8), %xmm0
movl %r9d, %r12d
movsd %xmm0, (%r10,%r12,8)
addq $0x2, %r15
incl %r9d
jmp 0xab53
addq $0x2, %rdx
addq %r8, %rdi
jmp 0xab40
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
leaq 0x18447(%rip), %rdi     # 0x22fd0
leaq 0x18464(%rip), %rsi     # 0x22ff4
leaq 0x1846b(%rip), %rcx     # 0x23002
movl $0xbc, %edx
callq 0x31a0
nop
// File: /workspace/github_cpp_makefile_star2_O2/kebwi[P]Trifid/src/ImageReal.cpp
// Function: ImageReal::upsample(ImageReal&, int, int) const
void ImageReal::upsample(ImageReal &imageOut, int startX, int startY) const
{
	assert(width_ % 2 == 0 && height_ % 2 == 0);
	
	int widthOut = width_ * 2, heightOut = height_ * 2;
	if (imageOut.width() != widthOut || imageOut.height() != heightOut)
		imageOut.resize(widthOut, heightOut);
	
	int imageInIdx = 0;
	for (int y = startY; y < heightOut; y += 2)
		for (int x = startX; x < widthOut; x += 2, ++imageInIdx)
			imageOut[y * widthOut + x] = img_[imageInIdx];
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl 0x28(%rdi), %ebp
testb $0x1, %bpl
jne 0xac54
movq %rdi, %r15
movl 0x2c(%rdi), %r12d
testb $0x1, %r12b
jne 0xac54
movl %ecx, %ebx
movl %edx, %r9d
movq %rsi, %r14
leal (,%rbp,2), %r13d
addl %r12d, %r12d
cmpl %r13d, 0x28(%rsi)
jne 0xabea
cmpl %r12d, 0x2c(%r14)
je 0xac03
movq (%r14), %rax
movq %r14, %rdi
movl %r13d, %esi
movl %r12d, %edx
movl %r9d, 0x4(%rsp)
callq *0x28(%rax)
movl 0x4(%rsp), %r9d
movl %ebp, %eax
imull %ebx, %eax
addl %eax, %eax
shll $0x2, %ebp
xorl %ecx, %ecx
cmpl %r12d, %ebx
jge 0xac45
movq 0x38(%r15), %rdx
movq 0x38(%r14), %rsi
movslq %ecx, %rcx
movl %r9d, %edi
cmpl %r13d, %edi
jge 0xac3e
movsd (%rdx,%rcx,8), %xmm0
leal (%rax,%rdi), %r8d
movsd %xmm0, (%rsi,%r8,8)
addl $0x2, %edi
incq %rcx
jmp 0xac22
addl $0x2, %ebx
addl %ebp, %eax
jmp 0xac0f
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x18375(%rip), %rdi     # 0x22fd0
leaq 0x18392(%rip), %rsi     # 0x22ff4
leaq 0x183d1(%rip), %rcx     # 0x2303a
movl $0xcd, %edx
callq 0x31a0
nop