LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O3/ruankotovich[P]B-Tree/src/article.cpp
// Function: Article_t::toString[abi:cxx11]()
std::string Article_t::toString() {
  std::stringstream ss;
  ss << "> Id: " << id << "\n\n";
  ss << "> Title: \"" << title << "\"" << "\n\n";
  ss << "> Year: " << year << "\n\n";
  ss << "> Authors: \"" << authors << "\"" << "\n\n";
  ss << "> Citations: \"" << citations << "\"" << "\n\n";
  ss << "> Date: " << date << "\n\n";
  ss << "> Snippet: \"" << snippet << "\"";

  return ss.str();
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x188, %rsp            # imm = 0x188
movq %rsi, %r15
movq %rdi, %rbx
movq %rsp, %rdi
callq 0x1070
leaq 0x10(%rsp), %r14
leaq 0xa80(%rip), %rsi       # 0x403c
movl $0x6, %edx
movq %r14, %rdi
callq 0x10e0
movl (%r15), %esi
movq %r14, %rdi
callq 0x1150
leaq 0xa68(%rip), %rsi       # 0x4043
movl $0x2, %edx
movq %rax, %rdi
callq 0x10e0
leaq 0xa57(%rip), %rsi       # 0x4046
movl $0xa, %edx
movq %r14, %rdi
callq 0x10e0
leaq 0x4(%r15), %r12
movq %r12, %rdi
callq 0x1060
movq %r14, %rdi
movq %r12, %rsi
movq %rax, %rdx
callq 0x10e0
leaq 0xa32(%rip), %rsi       # 0x404f
movl $0x1, %edx
movq %r14, %rdi
callq 0x10e0
leaq 0xa12(%rip), %rsi       # 0x4043
movl $0x2, %edx
movq %r14, %rdi
callq 0x10e0
leaq 0xa0c(%rip), %rsi       # 0x4051
movl $0x8, %edx
movq %r14, %rdi
callq 0x10e0
movl 0x130(%r15), %esi
movq %r14, %rdi
callq 0x1150
leaq 0x9db(%rip), %rsi       # 0x4043
movl $0x2, %edx
movq %rax, %rdi
callq 0x10e0
leaq 0x9de(%rip), %rsi       # 0x405a
movl $0xc, %edx
movq %r14, %rdi
callq 0x10e0
leaq 0x134(%r15), %r12
movq %r12, %rdi
callq 0x1060
movq %r14, %rdi
movq %r12, %rsi
movq %rax, %rdx
callq 0x10e0
leaq 0x9a2(%rip), %rsi       # 0x404f
movl $0x1, %edx
movq %r14, %rdi
callq 0x10e0
leaq 0x982(%rip), %rsi       # 0x4043
movl $0x2, %edx
movq %r14, %rdi
callq 0x10e0
leaq 0x992(%rip), %rsi       # 0x4067
movl $0xe, %edx
movq %r14, %rdi
callq 0x10e0
movl 0x534(%r15), %esi
movq %r14, %rdi
callq 0x1150
movq %rax, %r12
leaq 0x954(%rip), %rsi       # 0x404f
movl $0x1, %edx
movq %rax, %rdi
callq 0x10e0
leaq 0x934(%rip), %rsi       # 0x4043
movl $0x2, %edx
movq %r12, %rdi
callq 0x10e0
leaq 0x953(%rip), %rsi       # 0x4076
movl $0x8, %edx
movq %r14, %rdi
callq 0x10e0
leaq 0x538(%r15), %r12
movq %r12, %rdi
callq 0x1060
movq %r14, %rdi
movq %r12, %rsi
movq %rax, %rdx
callq 0x10e0
leaq 0x8ef(%rip), %rsi       # 0x4043
movl $0x2, %edx
movq %r14, %rdi
callq 0x10e0
leaq 0x917(%rip), %rsi       # 0x407f
movl $0xc, %edx
movq %r14, %rdi
callq 0x10e0
addq $0x54c, %r15            # imm = 0x54C
movq %r15, %rdi
callq 0x1060
movq %r14, %rdi
movq %r15, %rsi
movq %rax, %rdx
callq 0x10e0
leaq 0x8b6(%rip), %rsi       # 0x404f
movl $0x1, %edx
movq %r14, %rdi
callq 0x10e0
leaq 0x18(%rsp), %rsi
movq %rbx, %rdi
callq 0x1140
movq 0x280e(%rip), %rsi      # 0x5fc8
movq %rsp, %rdi
callq 0x1080
leaq 0x80(%rsp), %rdi
callq 0x1050
movq %rbx, %rax
addq $0x188, %rsp            # imm = 0x188
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq %rax, %rbx
movq 0x27dd(%rip), %rsi      # 0x5fc8
movq %rsp, %rdi
callq 0x1080
leaq 0x80(%rsp), %rdi
callq 0x1050
movq %rbx, %rdi
callq 0x1160
// File: /workspace/github_cpp_makefile_star2_O3/ruankotovich[P]B-Tree/src/hashfilefactory.cpp
// Function: HashFileFactory::createBinaryFilePerfectHash(_IO_FILE*, _IO_FILE*)
void HashFileFactory::createBinaryFilePerfectHash(FILE *toRead, FILE *toWrite) {
  IOHandler handler(toRead);

  FILE* primaryIndexFileWrite = fopen("files/primaryindex.block", "wb+");
  FILE* secondaryIndexFileWrite = fopen("files/secondaryindex.block", "wb+");


  PrimaryBTree pBtree;
  SecondaryBTree sBtree;

  pBtree.buildIndex(primaryIndexFileWrite);
  sBtree.buildIndex(secondaryIndexFileWrite);

  this->hashSize = handler.getBiggestId();

  Article_t currentArticle;
  SecondaryBTreeDataMap key;

  while (handler.hasNext()) {
    handler >> currentArticle;
    Block_t currentBlock;
    currentBlock.tryPutArticle(currentArticle);
    currentBlock.validate();

    std::memcpy(key.key, currentArticle.title, SECONDARY_KEY_LENGTH);
    key.dataPointer = currentArticle.id;

    pBtree.insert(currentArticle.id, primaryIndexFileWrite);
    sBtree.insert(key, secondaryIndexFileWrite);

    fseek(toWrite, currentArticle.id * sizeof(Block_t), SEEK_SET);
    fwrite(&currentBlock, sizeof(Block_t), 1, toWrite);

    handler.parseNext();
  }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x3558, %rsp           # imm = 0x3558
movq %rdx, %rbx
movq %rdi, 0x8(%rsp)
leaq 0xc00(%rsp), %rdi
callq 0x1aaa
leaq 0x7bf(%rip), %rdi       # 0x408c
leaq 0x760(%rip), %r15       # 0x4034
movq %r15, %rsi
callq 0x10f0
movq %rax, %r14
leaq 0x7bf(%rip), %rdi       # 0x40a5
movq %r15, %rsi
callq 0x10f0
movq %rax, %r12
leaq 0x18(%rsp), %r13
movq %r13, %rdi
callq 0x2a7a
leaq 0x168(%rsp), %rbp
movq %rbp, %rdi
callq 0x1c8c
movq %r13, %rdi
movq %r14, 0x10(%rsp)
movq %r14, %rsi
callq 0x2aac
movq %rbp, %rdi
movq %r12, %r15
movq %r12, %rsi
callq 0x1cb6
leaq 0xc00(%rsp), %r14
movq %r14, %rdi
callq 0x132c
movq 0x8(%rsp), %rcx
movl %eax, (%rcx)
leaq 0x2b4(%rsp), %rdi
callq 0x3508
movq %r14, %rdi
callq 0x1aa2
testb %al, %al
je 0x3a2b
leaq 0xc00(%rsp), %r13
leaq 0x2b4(%rsp), %rbp
leaq 0x2558(%rsp), %r12
leaq 0x38(%rsp), %r14
movq %r13, %rdi
movq %rbp, %rsi
callq 0x1a10
movq %r12, %rdi
callq 0x389c
movq %r12, %rdi
movq %rbp, %rsi
callq 0x3810
movq %r12, %rdi
callq 0x3864
movl $0x12c, %edx            # imm = 0x12C
movq %r14, %rdi
leaq 0x2b8(%rsp), %rsi
callq 0x1090
movl 0x2b4(%rsp), %esi
movl %esi, 0x164(%rsp)
leaq 0x18(%rsp), %rdi
movq 0x10(%rsp), %rdx
callq 0x3278
leaq 0x168(%rsp), %rdi
movq %r14, %rsi
movq %r15, %rdx
callq 0x25bc
movslq 0x2b4(%rsp), %rsi
shlq $0xc, %rsi
movq %rbx, %rdi
xorl %edx, %edx
callq 0x10d0
movl $0x1000, %esi           # imm = 0x1000
movl $0x1, %edx
movq %r12, %rdi
movq %rbx, %rcx
callq 0x1180
movq %r13, %rdi
callq 0x15f6
movq %r13, %rdi
callq 0x1aa2
testb %al, %al
jne 0x397d
addq $0x3558, %rsp           # imm = 0x3558
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nopl (%rax)
// File: /workspace/github_cpp_makefile_star2_O3/ruankotovich[P]B-Tree/src/hashfinder.cpp
// Function: getArticleFromHash(int, Article_t*, _IO_FILE*)
bool getArticleFromHash(int id, Article_t *article, FILE *toRead) {
  Block_t block;

  fseek(toRead, sizeof(Block_t) * id, SEEK_SET);
  fread(&block, sizeof(Block_t), 1, toRead);

  if (!block.isValid()) {
    return false;
  }

  memcpy(article, block.getArticle(0), sizeof(Article_t));

  return true;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x1008, %rsp           # imm = 0x1008
movq %rdx, %r14
movq %rsi, %rbx
movl %edi, %ebp
leaq 0x8(%rsp), %r15
movq %r15, %rdi
callq 0x389c
movslq %ebp, %rsi
shlq $0xc, %rsi
movq %r14, %rdi
xorl %edx, %edx
callq 0x10d0
movl $0x1000, %esi           # imm = 0x1000
movl $0x1, %edx
movq %r15, %rdi
movq %r14, %rcx
callq 0x1110
movq %r15, %rdi
callq 0x387e
movl %eax, %ebp
testb %al, %al
je 0x3ab2
leaq 0x8(%rsp), %rdi
xorl %esi, %esi
callq 0x3852
movl $0x94c, %edx            # imm = 0x94C
movq %rbx, %rdi
movq %rax, %rsi
callq 0x1090
movl %ebp, %eax
addq $0x1008, %rsp           # imm = 0x1008
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/xdsopl[P]FEC/./reed_solomon.hh
// Function: ReedSolomon<16, 0, GF::Types<8, 285, unsigned char>>::ReedSolomon()
ReedSolomon()
	{
		// $generator = \prod_{i=0}^{NR}(x-pe^{FCR+i})$
		ValueType tmp[NR+1];
		IndexType root(FCR), pe(1);
		for (int i = 0; i < NR; ++i) {
			tmp[i] = ValueType(1);
			for (int j = i; j > 0; --j)
				tmp[j] = fma(root, tmp[j], tmp[j-1]);
			tmp[0] *= root;
			root *= pe;
		}
		tmp[NR] = ValueType(1);
#ifndef NDEBUG
		std::cout << "generator = ";
		for (int i = NR; i > 0; --i) {
			if (!tmp[i])
				continue;
			if (tmp[i] != ValueType(1))
				std::cout << (int)tmp[i] << "*";
			std::cout << "x";
			if (i != 1)
				std::cout << "^" << i;
			std::cout << " + ";
		}
		std::cout << (int)tmp[0] << std::endl;
#endif
		for (int i = 0; i <= NR; ++i)
			generator[i] = index(tmp[i]);
	}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdi, %rbx
leaq 0xf(%rsp), %r14
movb $0x0, (%r14)
movl $0x1, %r12d
xorl %r13d, %r13d
leaq 0x10(%rsp), %r15
movb $0x1, 0x10(%rsp,%r13)
movq %r12, %rbp
testq %r13, %r13
je 0x48f0
leal -0x2(%rbp), %eax
movzbl 0xf(%rsp,%rbp), %esi
movzbl 0x10(%rsp,%rax), %edx
movzbl 0xf(%rsp), %edi
callq 0xa0d0
movb %al, 0xf(%rsp,%rbp)
decq %rbp
cmpq $0x1, %rbp
jg 0x48cc
movzbl 0xf(%rsp), %esi
movq %r15, %rdi
callq 0xa14a
movq %r14, %rdi
movl $0x1, %esi
callq 0xa184
incq %r13
incq %r12
cmpq $0x10, %r13
jne 0x48be
movb $0x1, 0x20(%rsp)
movq 0xd06b6(%rip), %r14     # 0xd4fd8
leaq 0xaa87(%rip), %rsi      # 0xf3b0
movl $0xc, %edx
movq %r14, %rdi
callq 0x2190
movl $0x11, %r13d
leaq 0xa606(%rip), %r15      # 0xef49
leaq 0xa603(%rip), %r12      # 0xef4d
leaq 0xa5f6(%rip), %rbp      # 0xef47
movzbl 0xf(%rsp,%r13), %esi
testl %esi, %esi
je 0x49be
cmpl $0x1, %esi
je 0x4978
movq %r14, %rdi
callq 0x2200
movl $0x1, %edx
movq %rax, %rdi
movq %rbp, %rsi
callq 0x2190
movl $0x1, %edx
movq %r14, %rdi
movq %r15, %rsi
callq 0x2190
cmpq $0x2, %r13
je 0x49ae
movl $0x1, %edx
movq %r14, %rdi
leaq 0xa5ae(%rip), %rsi      # 0xef4b
callq 0x2190
leal -0x1(%r13), %esi
movq %r14, %rdi
callq 0x2200
movl $0x3, %edx
movq %r14, %rdi
movq %r12, %rsi
callq 0x2190
decq %r13
cmpq $0x1, %r13
ja 0x4951
movzbl 0x10(%rsp), %esi
movq 0xd0605(%rip), %rdi     # 0xd4fd8
callq 0x2200
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x2140
movsbl %al, %esi
movq %r14, %rdi
callq 0x2040
movq %rax, %rdi
callq 0x20e0
xorl %eax, %eax
leaq 0xc785(%rip), %rcx      # 0x11190
movzbl 0x10(%rsp,%rax), %edx
testq %rdx, %rdx
je 0x4a33
movb (%rdx,%rcx), %dl
movb %dl, (%rbx,%rax)
incq %rax
cmpq $0x11, %rax
jne 0x4a0b
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x9ef1(%rip), %rdi      # 0xe92b
leaq 0x9b25(%rip), %rsi      # 0xe566
leaq 0xafbc(%rip), %rcx      # 0xfa04
movl $0x61, %edx
callq 0x20c0
// File: /workspace/github_cpp_makefile_star2_O3/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::Value<4, 19, unsigned char>, GF::Value<4, 19, unsigned char>)
Value<M, POLY, TYPE> fma(Index<M, POLY, TYPE> a, Value<M, POLY, TYPE> b, Value<M, POLY, TYPE> c)
{
	assert(a.i < a.modulus());
	assert(b.v <= b.N);
	assert(c.v <= c.N);
	return !b.v ? c : (value(a * index(b)) + c);
}

// Assembly:
pushq %rbp
pushq %rbx
pushq %rax
movl %edi, %ebp
cmpb $0xf, %bpl
jae 0x796a
cmpb $0x10, %sil
jae 0x7989
movl %edx, %ebx
cmpb $0x10, %bl
jae 0x79a8
testb %sil, %sil
je 0x7961
movzbl %sil, %edi
callq 0x7b1d
movzbl %bpl, %edi
movzbl %al, %esi
callq 0x7a96
cmpb $0xf, %al
jae 0x79c7
movzbl %al, %eax
leaq 0x9711(%rip), %rcx      # 0x11060
movzbl (%rax,%rcx), %edi
movzbl %bl, %esi
addq $0x8, %rsp
popq %rbx
popq %rbp
jmp 0x7a44
movl %ebx, %eax
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
leaq 0x6dcf(%rip), %rdi      # 0xe740
leaq 0x6bee(%rip), %rsi      # 0xe566
leaq 0x6dd3(%rip), %rcx      # 0xe752
movl $0xe9, %edx
callq 0x20c0
leaq 0x6d41(%rip), %rdi      # 0xe6d1
leaq 0x6bcf(%rip), %rsi      # 0xe566
leaq 0x6db4(%rip), %rcx      # 0xe752
movl $0xea, %edx
callq 0x20c0
leaq 0x6e2b(%rip), %rdi      # 0xe7da
leaq 0x6bb0(%rip), %rsi      # 0xe566
leaq 0x6d95(%rip), %rcx      # 0xe752
movl $0xeb, %edx
callq 0x20c0
leaq 0x6d72(%rip), %rdi      # 0xe740
leaq 0x6b91(%rip), %rsi      # 0xe566
leaq 0x6e09(%rip), %rcx      # 0xe7e5
movl $0x67, %edx
callq 0x20c0
// File: /workspace/github_cpp_makefile_star2_O3/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 %rax
cmpb $0xf, %dil
jae 0x7ac0
cmpb $0xf, %sil
jae 0x7adf
leal (%rsi,%rdi), %eax
movb $0xf, %cl
subb %dil, %cl
leal -0xf(%rax), %edx
cmpb %sil, %cl
movzbl %al, %ecx
movzbl %dl, %eax
cmoval %ecx, %eax
cmpb $0xf, %al
jae 0x7afe
popq %rcx
retq
leaq 0x6c79(%rip), %rdi      # 0xe740
leaq 0x6a98(%rip), %rsi      # 0xe566
leaq 0x6d6e(%rip), %rcx      # 0xe843
movl $0x8d, %edx
callq 0x20c0
leaq 0x6dd5(%rip), %rdi      # 0xe8bb
leaq 0x6a79(%rip), %rsi      # 0xe566
leaq 0x6d4f(%rip), %rcx      # 0xe843
movl $0x8e, %edx
callq 0x20c0
leaq 0x6bd7(%rip), %rdi      # 0xe6dc
leaq 0x6a5a(%rip), %rsi      # 0xe566
leaq 0x6bd7(%rip), %rcx      # 0xe6ea
movl $0x3f, %edx
callq 0x20c0
// File: /workspace/github_cpp_makefile_star2_O3/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:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r14
leaq 0x1fe7e(%rsi), %r15
xorl %r13d, %r13d
movl $0x180, %edx            # imm = 0x180
movq %r15, %rdi
xorl %esi, %esi
callq 0x20b0
leaq 0x1fe80(%rbx), %r12
movzwl (%rbx,%r13,2), %eax
cmpw 0x1fe7e(%rbx), %ax
jne 0xb6c5
movl $0x17e, %edx            # imm = 0x17E
movq %r15, %rdi
movq %r12, %rsi
callq 0x21e0
xorl %eax, %eax
jmp 0xb6e7
movl $0x17e, %eax            # imm = 0x17E
movq %r12, %rcx
movzwl (%rcx), %edx
xorw (%r14,%rax), %dx
movw %dx, -0x2(%rcx)
addq $0x2, %rcx
addq $-0x2, %rax
jne 0xb6cd
movzwl (%r14), %eax
movw %ax, 0x1fffc(%rbx)
incq %r13
cmpq $0xff3f, %r13           # imm = 0xFF3F
jne 0xb6a3
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O3/xdsopl[P]FEC/./bose_chaudhuri_hocquenghem.hh
// Function: BoseChaudhuriHocquenghem<24, 1, 65343, GF::Types<16, 65581, unsigned short>>::decode(GF::Value<16, 65581, unsigned short>*, GF::Index<16, 65581, unsigned short>*, 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 %r14
pushq %rbx
subq $0x90, %rsp
cmpl $0x19, %ecx
jae 0xb79f
movl %ecx, %ebp
movq %rdx, %r14
movq %rsi, %rbx
leaq 0x60(%rsp), %rdx
callq 0xb7be
testl %eax, %eax
je 0xb78a
leaq 0x60(%rsp), %rdi
leaq 0x30(%rsp), %rsi
movq %rsp, %rdx
movq %r14, %rcx
movl %ebp, %r8d
callq 0xb8a0
testl %eax, %eax
jle 0xb793
movl %eax, %ecx
xorl %eax, %eax
cmpw $0x1, (%rsp,%rax,2)
ja 0xb78e
incq %rax
cmpq %rax, %rcx
jne 0xb74e
xorl %eax, %eax
movzwl (%rsp,%rax,2), %edx
movzwl 0x30(%rsp,%rax,2), %esi
xorw %dx, (%rbx,%rsi,2)
incq %rax
cmpq %rax, %rcx
jne 0xb75f
xorl %edx, %edx
xorl %eax, %eax
cmpw $0x1, (%rsp,%rdx,2)
sbbl $-0x1, %eax
incq %rdx
cmpq %rdx, %rcx
jne 0xb778
jmp 0xb793
xorl %eax, %eax
jmp 0xb793
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
addq $0x90, %rsp
popq %rbx
popq %r14
popq %rbp
retq
leaq 0x35a9(%rip), %rdi      # 0xed4f
leaq 0x2c88(%rip), %rsi      # 0xe435
leaq 0x4be3(%rip), %rcx      # 0x10397
movl $0x62, %edx
callq 0x20c0
// File: /workspace/github_cpp_makefile_star2_O3/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 %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x10, %rsp
movq %rdx, %rbx
movq %rsi, %r14
movb (%rsi), %al
movdqa 0x631d(%rip), %xmm0     # 0xe060
movl $0x1, %ecx
movdqa 0x6320(%rip), %xmm1     # 0xe070
movdqa 0x6328(%rip), %xmm2     # 0xe080
pshufd $0xf5, %xmm2, %xmm3     # xmm3 = xmm2[1,1,3,3]
movdqa 0x632b(%rip), %xmm4     # 0xe090
movdqa %xmm0, %xmm5
pxor %xmm1, %xmm5
movdqa %xmm2, %xmm6
pcmpgtd %xmm5, %xmm6
pshufd $0xf5, %xmm5, %xmm5     # xmm5 = xmm5[1,1,3,3]
pcmpeqd %xmm3, %xmm5
pand %xmm6, %xmm5
movd %xmm5, %edx
testb $0x1, %dl
je 0x7d8f
movb %al, -0x1(%rbx,%rcx)
pextrw $0x4, %xmm5, %edx
testb $0x1, %dl
je 0x7d9c
movb %al, (%rbx,%rcx)
paddq %xmm4, %xmm0
addq $0x2, %rcx
cmpq $0x7, %rcx
jne 0x7d65
movl $0x1, %r12d
leaq 0xf(%rsp), %r15
movb $0x1, 0xf(%rsp)
xorl %r13d, %r13d
movzbl (%r14,%r12), %edx
movzbl (%rbx,%r13), %esi
movzbl 0xf(%rsp), %edi
callq 0x7907
movb %al, (%rbx,%r13)
movq %r15, %rdi
movl $0x1, %esi
callq 0x79e6
incq %r13
cmpq $0x6, %r13
jne 0x7dbd
incq %r12
cmpq $0xf, %r12
jne 0x7db5
xorl %ecx, %ecx
xorl %eax, %eax
cmpb $0x1, (%rbx,%rcx)
sbbl $-0x1, %eax
incq %rcx
cmpq $0x6, %rcx
jne 0x7df8
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O3/xdsopl[P]FEC/./berlekamp_massey.hh
// Function: BerlekampMassey<16, GF::Types<8, 285, unsigned char>>::algorithm(GF::Value<8, 285, unsigned char>*, GF::Value<8, 285, 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 $0x68, %rsp
movl %edx, %r13d
movb 0x10(%rsi), %al
movb %al, 0x60(%rsp)
movups (%rsi), %xmm0
movaps %xmm0, 0x50(%rsp)
cmpl $0xf, %edx
jg 0xae01
movq %rsi, %r14
movslq %r13d, %rax
leaq (%rdi,%rax), %r12
leaq 0x1(%rsi), %rcx
movq %rcx, 0x20(%rsp)
movl $0x1, 0x4(%rsp)
movq %rax, 0x28(%rsp)
movq %rax, %rcx
movq %rdi, 0x8(%rsp)
movq %rcx, 0x10(%rsp)
movb (%rdi,%rcx), %bpl
testl %r13d, %r13d
movq %r13, 0x18(%rsp)
jle 0xad06
leal 0x1(%r13), %ebx
negq %rbx
movq $-0x1, %r15
movq 0x20(%rsp), %r13
movzbl (%r12,%r15), %esi
movzbl (%r13), %edi
callq 0xafac
xorb %al, %bpl
decq %r15
incq %r13
cmpq %r15, %rbx
jne 0xace9
testb %bpl, %bpl
je 0xad95
movzbl %bpl, %ebp
cmpl $0x0, 0x4(%rsp)
jle 0xad32
movl 0x4(%rsp), %ebx
movl %ebx, %edx
leaq 0x30(%rsp), %rdi
movq %r14, %rsi
callq 0x2100
cmpl $0x10, %ebx
ja 0xad65
movslq 0x4(%rsp), %rbx
incq %rbx
leaq 0x50(%rsp), %r15
movq %rbx, %r13
movzbl -0x1(%r14,%rbx), %edx
movzbl (%r15), %esi
movl %ebp, %edi
callq 0xb012
movb %al, 0x2f(%rsp,%rbx)
incq %r13
incq %r15
cmpl $0x11, %ebx
movq %r13, %rbx
jne 0xad42
movq 0x18(%rsp), %r13
leal (,%r13,2), %eax
movq 0x28(%rsp), %rcx
movq 0x10(%rsp), %rdx
leaq (%rdx,%rcx), %rbx
cltq
cmpq %rax, %rbx
jge 0xadaa
movq %rdx, %rcx
incl 0x4(%rsp)
movq 0x8(%rsp), %rdi
jmp 0xade1
incl 0x4(%rsp)
movq 0x18(%rsp), %r13
movq 0x8(%rsp), %rdi
movq 0x10(%rsp), %rcx
jmp 0xadf2
xorl %r15d, %r15d
movzbl (%r14,%r15), %edi
movl %ebp, %esi
callq 0xb078
movb %al, 0x50(%rsp,%r15)
incq %r15
cmpq $0x11, %r15
jne 0xadad
subl %r13d, %ebx
incl %ebx
movl $0x1, 0x4(%rsp)
movl %ebx, %r13d
movq 0x8(%rsp), %rdi
movq 0x10(%rsp), %rcx
movb 0x40(%rsp), %al
movb %al, 0x10(%r14)
movaps 0x30(%rsp), %xmm0
movups %xmm0, (%r14)
incq %rcx
incq %r12
cmpl $0x10, %ecx
jne 0xacc3
movl %r13d, %eax
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/xdsopl[P]FEC/./find_locations.hh
// Function: FindLocations<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)
	{
		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
cmpl $0x2, %esi
je 0xae77
cmpl $0x1, %esi
jne 0xaf58
movzbl (%rdi), %eax
testq %rax, %rax
je 0xaf6e
movzbl 0x1(%rdi), %ecx
testq %rcx, %rcx
je 0xaf6e
leaq 0x6340(%rip), %rdx      # 0x11190
movzbl (%rax,%rdx), %edi
movzbl (%rcx,%rdx), %esi
callq 0xab7e
movzbl %al, %edi
movl $0x1, %r14d
movl $0x1, %esi
callq 0xab7e
movb %al, (%rbx)
jmp 0xaf46
movb 0x1(%rdi), %al
xorl %r14d, %r14d
testb %al, %al
je 0xaf46
movb (%rdi), %r13b
testb %r13b, %r13b
je 0xaf46
movzbl 0x2(%rdi), %r15d
movzbl %al, %r12d
movl %r12d, %edi
movl %r15d, %esi
callq 0xb078
movl %eax, %ebp
movzbl %r13b, %esi
movl %r15d, %edi
callq 0xafac
movl %eax, %r15d
movl %r12d, %edi
movl %r12d, %esi
callq 0xafac
movzbl %r15b, %edi
movzbl %al, %esi
callq 0xb078
testb %al, %al
je 0xaf8d
movzbl %al, %eax
leaq 0x63b1(%rip), %rcx      # 0x11290
movb (%rax,%rcx), %al
testb %al, %al
je 0xaf46
movzbl %bpl, %r14d
movzbl %al, %r15d
movl %r14d, %edi
movl %r15d, %esi
callq 0xafac
testb %al, %al
je 0xaf6e
movzbl %al, %eax
leaq 0x6289(%rip), %r12      # 0x11190
movzbl (%rax,%r12), %edi
movl $0x1, %esi
callq 0xab7e
movb %al, (%rbx)
movl %r14d, %edi
movl %r15d, %esi
callq 0xafac
cmpb %al, %r14b
je 0xaf6e
xorb %bpl, %al
movzbl %al, %eax
movzbl (%rax,%r12), %edi
movl $0x1, %esi
callq 0xab7e
movb %al, 0x1(%rbx)
movl $0x2, %r14d
movl %r14d, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rbx, %rdx
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0xb0f4
leaq 0x39b6(%rip), %rdi      # 0xe92b
leaq 0x35ea(%rip), %rsi      # 0xe566
leaq 0x4a81(%rip), %rcx      # 0xfa04
movl $0x61, %edx
callq 0x20c0
leaq 0x3997(%rip), %rdi      # 0xe92b
leaq 0x35cb(%rip), %rsi      # 0xe566
leaq 0x4eb6(%rip), %rcx      # 0xfe58
movl $0x6e, %edx
callq 0x20c0
// File: /workspace/github_cpp_makefile_star2_O3/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 0x8980
movl %esi, %ebp
cmpb $0x10, %bpl
jae 0x899f
movl %edx, %ebx
cmpb $0x10, %bl
jae 0x89be
testb %dil, %dil
setne %al
testb %bpl, %bpl
setne %cl
andb %al, %cl
cmpb $0x1, %cl
jne 0x8979
movzbl %dil, %edi
callq 0x7b1d
movl %eax, %r14d
movzbl %bpl, %edi
callq 0x7b1d
movzbl %r14b, %edi
movzbl %al, %esi
callq 0x7a96
cmpb $0xf, %al
jae 0x89dd
movzbl %al, %eax
leaq 0x86f7(%rip), %rcx      # 0x11060
movzbl (%rax,%rcx), %edi
movzbl %bl, %esi
popq %rbx
popq %r14
popq %rbp
jmp 0x7a44
movl %ebx, %eax
popq %rbx
popq %r14
popq %rbp
retq
leaq 0x5c47(%rip), %rdi      # 0xe5ce
leaq 0x5bd8(%rip), %rsi      # 0xe566
leaq 0x674a(%rip), %rcx      # 0xf0df
movl $0xfb, %edx
callq 0x20c0
leaq 0x5d2b(%rip), %rdi      # 0xe6d1
leaq 0x5bb9(%rip), %rsi      # 0xe566
leaq 0x672b(%rip), %rcx      # 0xf0df
movl $0xfc, %edx
callq 0x20c0
leaq 0x5e15(%rip), %rdi      # 0xe7da
leaq 0x5b9a(%rip), %rsi      # 0xe566
leaq 0x670c(%rip), %rcx      # 0xf0df
movl $0xfd, %edx
callq 0x20c0
leaq 0x5d5c(%rip), %rdi      # 0xe740
leaq 0x5b7b(%rip), %rsi      # 0xe566
leaq 0x5df3(%rip), %rcx      # 0xe7e5
movl $0x67, %edx
callq 0x20c0
// File: /workspace/github_cpp_makefile_star2_O3/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 0x8a50
movl %esi, %ebx
cmpb $0x10, %bl
jae 0x8a6f
testb %bl, %bl
je 0x8a8e
testb %dil, %dil
je 0x8a47
movzbl %dil, %edi
callq 0x7b1d
movl %eax, %ebp
movzbl %bl, %edi
callq 0x7b1d
movzbl %bpl, %edi
movzbl %al, %esi
callq 0x8401
cmpb $0xf, %al
jae 0x8aad
movzbl %al, %eax
leaq 0x861e(%rip), %rcx      # 0x11060
movb (%rax,%rcx), %al
jmp 0x8a49
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
leaq 0x5b77(%rip), %rdi      # 0xe5ce
leaq 0x5b08(%rip), %rsi      # 0xe566
leaq 0x6702(%rip), %rcx      # 0xf167
movl $0xb6, %edx
callq 0x20c0
leaq 0x5c5b(%rip), %rdi      # 0xe6d1
leaq 0x5ae9(%rip), %rsi      # 0xe566
leaq 0x66e3(%rip), %rcx      # 0xf167
movl $0xb7, %edx
callq 0x20c0
leaq 0x674a(%rip), %rdi      # 0xf1df
leaq 0x5aca(%rip), %rsi      # 0xe566
leaq 0x66c4(%rip), %rcx      # 0xf167
movl $0xb8, %edx
callq 0x20c0
leaq 0x5c8c(%rip), %rdi      # 0xe740
leaq 0x5aab(%rip), %rsi      # 0xe566
leaq 0x5d23(%rip), %rcx      # 0xe7e5
movl $0x67, %edx
callq 0x20c0
// File: /workspace/github_cpp_makefile_star2_O3/xdsopl[P]FEC/./chien.hh
// Function: Chien<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)
	{
		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 $0x28, %rsp
movq %rdx, -0x40(%rbp)
leal 0x1(%rsi), %r14d
movq %rsp, %rbx
leaq 0xf(,%r14,2), %rax
andq $-0x10, %rax
subq %rax, %rbx
movq %rbx, %rsp
movq %rsi, -0x50(%rbp)
testl %esi, %esi
js 0xc434
movq %rdi, %rcx
leaq (%r14,%r14), %rdx
movq %rbx, %rdi
movq %rcx, %rsi
callq 0x2100
leaq 0x2(%rbx), %rax
movq %rax, -0x48(%rbp)
movl $0x0, -0x2c(%rbp)
xorl %r15d, %r15d
movq %rbx, -0x38(%rbp)
movzwl (%rbx), %r12d
cmpl $0x0, -0x50(%rbp)
jle 0xc481
movl $0x1, %r13d
movq -0x48(%rbp), %rbx
cmpq $0xffff, %r13           # imm = 0xFFFF
je 0xc4bd
movq %rbx, %rdi
movl %r13d, %esi
callq 0xc4dc
xorl %eax, %r12d
incq %r13
addq $0x2, %rbx
cmpq %r13, %r14
jne 0xc45e
testw %r12w, %r12w
jne 0xc49b
movl -0x2c(%rbp), %ecx
movslq %ecx, %rax
incl %ecx
movl %ecx, -0x2c(%rbp)
movq -0x40(%rbp), %rcx
movw %r15w, (%rcx,%rax,2)
movq -0x38(%rbp), %rbx
incl %r15d
cmpl $0xffff, %r15d          # imm = 0xFFFF
jne 0xc44a
movl -0x2c(%rbp), %eax
leaq -0x28(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x2218(%rip), %rdi      # 0xe6dc
leaq 0x209b(%rip), %rsi      # 0xe566
leaq 0x3b41(%rip), %rcx      # 0x10013
movl $0x3f, %edx
callq 0x20c0
// File: /workspace/github_cpp_makefile_star2_O3/xdsopl[P]FEC/./forney.hh
// Function: Forney<16, 0, GF::Types<8, 285, unsigned char>>::compute_evaluator(GF::Value<8, 285, unsigned char>*, GF::Value<8, 285, unsigned char>*, int, GF::Value<8, 285, 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:
testl %edx, %edx
js 0xb272
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rcx, %rbx
movq %rsi, %r14
cmpl $0xf, %edx
movl $0xf, %eax
cmovbl %edx, %eax
incl %eax
movq %rax, 0x8(%rsp)
leaq -0x1(%rdi), %rbp
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
xorl %r15d, %r15d
movq %rdi, 0x10(%rsp)
movl %eax, 0x4(%rsp)
movzbl (%rdi,%r15), %edi
movzbl (%r14), %esi
callq 0xafac
movb %al, (%rbx,%r15)
testq %r15, %r15
je 0xb247
xorl %r12d, %r12d
movq %rbp, %r13
movzbl 0x1(%r14,%r12), %esi
movzbl (%r13), %edi
callq 0xafac
xorb (%rbx,%r15), %al
movb %al, (%rbx,%r15)
decq %r13
incq %r12
cmpq %r12, %r15
jne 0xb224
testb %al, %al
movl 0x4(%rsp), %eax
cmovnel %r15d, %eax
incq %r15
incq %rbp
cmpq 0x8(%rsp), %r15
movq 0x10(%rsp), %rdi
jne 0xb203
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
retq
// File: /workspace/github_cpp_makefile_star2_O3/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
subq $0x18, %rsp
movq %rsi, %rbx
movq %rdi, %r14
leaq 0xef(%rsi), %rax
movq %rax, 0x10(%rsp)
xorps %xmm0, %xmm0
movups %xmm0, 0xef(%rsi)
leaq 0xf0(%rsi), %r12
xorl %r13d, %r13d
movq %r12, 0x8(%rsp)
movb (%rbx,%r13), %al
movb 0xef(%rbx), %cl
cmpb %al, %cl
jne 0xa348
movq (%r12), %rax
movl 0x8(%r12), %ecx
movzwl 0xc(%r12), %edx
movb 0xe(%r12), %sil
movq 0x10(%rsp), %rdi
movb %sil, 0xe(%rdi)
movw %dx, 0xc(%rdi)
movl %ecx, 0x8(%rdi)
movq %rax, (%rdi)
xorl %eax, %eax
jmp 0xa39d
xorb %al, %cl
movzbl %cl, %eax
movl $0xf, %r15d
leaq 0x6e36(%rip), %rcx      # 0x11190
movzbl (%rax,%rcx), %ebp
movzbl (%r14,%r15), %esi
movzbl (%r12), %edx
movl %ebp, %edi
callq 0xa3e1
movb %al, -0x1(%r12)
incq %r12
decq %r15
jne 0xa35e
movzbl (%r14), %edi
movl %ebp, %esi
callq 0xa1e2
cmpb $-0x1, %al
je 0xa3c2
movzbl %al, %eax
leaq 0x6cfb(%rip), %rcx      # 0x11090
movb (%rax,%rcx), %al
movq 0x8(%rsp), %r12
movb %al, 0xfe(%rbx)
incq %r13
cmpq $0xef, %r13
jne 0xa30f
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x4377(%rip), %rdi      # 0xe740
leaq 0x4196(%rip), %rsi      # 0xe566
leaq 0x53d8(%rip), %rcx      # 0xf7af
movl $0x67, %edx
callq 0x20c0
// File: /workspace/github_cpp_makefile_star2_O3/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 0x9248
cmpb $0xf, %sil
jae 0x9267
movl %edx, %ebx
cmpb $0x10, %bl
jae 0x9286
movzbl %dil, %edi
movzbl %sil, %esi
callq 0x7a96
cmpb $0xf, %al
jae 0x92a5
movzbl %al, %eax
leaq 0x7e25(%rip), %rcx      # 0x11060
movzbl (%rax,%rcx), %edi
movzbl %bl, %esi
popq %rbx
jmp 0x7a44
leaq 0x54f1(%rip), %rdi      # 0xe740
leaq 0x5310(%rip), %rsi      # 0xe566
leaq 0x6208(%rip), %rcx      # 0xf465
movl $0xe0, %edx
callq 0x20c0
leaq 0x564d(%rip), %rdi      # 0xe8bb
leaq 0x52f1(%rip), %rsi      # 0xe566
leaq 0x61e9(%rip), %rcx      # 0xf465
movl $0xe1, %edx
callq 0x20c0
leaq 0x554d(%rip), %rdi      # 0xe7da
leaq 0x52d2(%rip), %rsi      # 0xe566
leaq 0x61ca(%rip), %rcx      # 0xf465
movl $0xe2, %edx
callq 0x20c0
leaq 0x5494(%rip), %rdi      # 0xe740
leaq 0x52b3(%rip), %rsi      # 0xe566
leaq 0x552b(%rip), %rcx      # 0xe7e5
movl $0x67, %edx
callq 0x20c0
// File: /workspace/github_cpp_makefile_star2_O3/xdsopl[P]FEC/./reed_solomon.hh
// Function: ReedSolomon<16, 0, GF::Types<8, 285, unsigned char>>::decode(GF::Value<8, 285, unsigned char>*, GF::Index<8, 285, 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 %r14
pushq %rbx
subq $0x30, %rsp
cmpl $0x11, %ecx
jae 0xa4e6
movl %ecx, %ebp
movq %rdx, %r14
movq %rsi, %rbx
leaq 0x20(%rsp), %rdx
callq 0xa506
testl %eax, %eax
je 0xa4db
leaq 0x20(%rsp), %rdi
leaq 0x10(%rsp), %rsi
movq %rsp, %rdx
movq %r14, %rcx
movl %ebp, %r8d
callq 0xa5e0
testl %eax, %eax
jle 0xa4dd
movl %eax, %ecx
xorl %eax, %eax
movb (%rsp,%rax), %dl
movzbl 0x10(%rsp,%rax), %esi
xorb %dl, (%rbx,%rsi)
incq %rax
cmpq %rax, %rcx
jne 0xa4b3
xorl %edx, %edx
xorl %eax, %eax
cmpb $0x1, (%rsp,%rdx)
sbbl $-0x1, %eax
incq %rdx
cmpq %rdx, %rcx
jne 0xa4ca
jmp 0xa4dd
xorl %eax, %eax
addq $0x30, %rsp
popq %rbx
popq %r14
popq %rbp
retq
leaq 0x4862(%rip), %rdi      # 0xed4f
leaq 0x4ff9(%rip), %rsi      # 0xf4ed
leaq 0x569b(%rip), %rcx      # 0xfb96
movl $0x5b, %edx
callq 0x20c0
nop
// File: /workspace/github_cpp_makefile_star2_O3/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 %r14
pushq %rbx
pushq %rax
movq %rdi, %r14
movq 0x32f64(%rip), %rbx     # 0x36fd0
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x32e0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x3040
movq %rax, %rdi
callq 0x31f0
leaq 0x26195(%rip), %rsi     # 0x2a22f
movl $0x28, %edx
movq %rbx, %rdi
callq 0x3360
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x32e0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x3040
movq %rax, %rdi
callq 0x31f0
leaq 0x26183(%rip), %rsi     # 0x2a258
movl $0x11, %edx
movq %rbx, %rdi
callq 0x3360
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x32e0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x3040
movq %rax, %rdi
callq 0x31f0
leaq 0x267de(%rip), %rsi     # 0x2a8ee
movl $0x2, %edx
movq %rbx, %rdi
callq 0x3360
testq %r14, %r14
je 0x413e
movq %r14, %rdi
callq 0x3130
movq 0x32e9f(%rip), %rdi     # 0x36fd0
movq %r14, %rsi
movq %rax, %rdx
callq 0x3360
jmp 0x4155
movq (%rbx), %rax
movq -0x18(%rax), %rax
leaq (%rbx,%rax), %rdi
movl 0x20(%rbx,%rax), %esi
orl $0x1, %esi
callq 0x34c0
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x32e0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x3040
movq %rax, %rdi
callq 0x31f0
leaq 0x260ac(%rip), %rsi     # 0x2a22f
movl $0x28, %edx
movq %rbx, %rdi
callq 0x3360
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x32e0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x3040
movq %rax, %rdi
callq 0x31f0
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x32e0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x3040
movq %rax, %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x31f0
// File: /workspace/github_cpp_makefile_star2_O3/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, %r14d
movl %esi, %ebp
movl %edi, %r15d
movq 0x30fe2(%rip), %rbx     # 0x36fd0
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x32e0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x3040
movq %rax, %rdi
callq 0x31f0
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
movl %r14d, 0x4(%rsp)
testl %r14d, %r14d
jle 0x60a3
xorl %r13d, %r13d
leaq 0x3(%rsp), %r12
movl %ebp, %r14d
testl %ebp, %ebp
jle 0x6072
movb %r15b, 0x3(%rsp)
movl $0x1, %edx
movq %rbx, %rdi
movq %r12, %rsi
callq 0x3360
decl %r14d
jne 0x6058
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x32e0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x3040
movq %rax, %rdi
callq 0x31f0
incl %r13d
cmpl 0x4(%rsp), %r13d
jne 0x6051
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x32e0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x3040
movq %rax, %rdi
callq 0x31f0
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/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 0xcc4d
movl 0x28(%rdi), %ecx
cmpl 0x28(%rsi), %ecx
jne 0xcc4e
movl 0x2c(%rdi), %ecx
cmpl 0x2c(%rsi), %ecx
jne 0xcc4e
movl 0x30(%rdi), %ecx
cmpl 0x30(%rsi), %ecx
jne 0xcc51
retq
xorl %eax, %eax
retq
pushq %rax
leaq 0x1e2e3(%rip), %rdi     # 0x2af3c
leaq 0x1e2fc(%rip), %rsi     # 0x2af5c
leaq 0x1e308(%rip), %rcx     # 0x2af6f
movl $0x3f, %edx
callq 0x31c0
nop
// File: /workspace/github_cpp_makefile_star2_O3/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 0xcd17
movq (%rbx), %r15
cmpb $0x2e, -0x4(%r15,%r14)
jne 0xcd17
movsbl -0x3(%r15,%r14), %edi
callq 0x3470
testl %eax, %eax
jne 0xccd9
movsbl -0x2(%r15,%r14), %edi
callq 0x3470
testl %eax, %eax
jne 0xccd9
movsbl -0x1(%r15,%r14), %edi
callq 0x3470
testl %eax, %eax
je 0xcd17
addq $-0x4, %r14
leaq 0x8(%rsp), %r15
movq %r15, %rdi
movq %rbx, %rsi
xorl %edx, %edx
movq %r14, %rcx
callq 0x3330
movq %rbx, %rdi
movq %r15, %rsi
callq 0x33a0
movq (%r15), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0xcd17
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x3310
leaq 0x18(%rsp), %rbp
movb $0x1, %r13b
leaq 0x8(%rsp), %r14
leaq 0x28(%rsp), %r12
movq 0x8(%rbx), %rdx
cmpq $0x4, %rdx
jb 0xcdff
addq $-0x4, %rdx
movl $0x4, %ecx
movq %r14, %rdi
movq %rbx, %rsi
callq 0x3330
movq %r14, %rdi
leaq 0x1e260(%rip), %rsi     # 0x2afb5
callq 0x30c0
testl %eax, %eax
je 0xcda9
movq 0x8(%rbx), %rdx
addq $-0x4, %rdx
movl $0x4, %ecx
movq %r12, %rdi
movq %rbx, %rsi
callq 0x3330
movq %r12, %rdi
leaq 0x1e23a(%rip), %rsi     # 0x2afba
callq 0x30c0
testl %eax, %eax
sete %r15b
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0xcdac
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x3310
jmp 0xcdac
movb $0x1, %r15b
movq 0x8(%rsp), %rdi
cmpq %rbp, %rdi
je 0xcdc3
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x3310
testb %r15b, %r15b
je 0xcdff
movq 0x8(%rbx), %rcx
addq $-0x4, %rcx
movq %r14, %rdi
movq %rbx, %rsi
xorl %edx, %edx
callq 0x3330
movq %rbx, %rdi
movq %r14, %rsi
callq 0x33a0
movq 0x8(%rsp), %rdi
cmpq %rbp, %rdi
je 0xcdff
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x3310
testb $0x1, %r13b
movl $0x0, %r13d
jne 0xcd29
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %rbp, %rdi
je 0xce38
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x3310
movq %rbx, %rdi
callq 0x3500
// File: /workspace/github_cpp_makefile_star2_O3/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 0xcf09
movl %esi, 0x28(%rdi)
movl %edx, 0x2c(%rdi)
imull %esi, %edx
movl %edx, 0x30(%rdi)
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/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 0xcfaf
movq %rsi, %r14
movq %rbx, %rdi
callq 0xcbf6
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 0x3260
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_cpp_makefile_star2_O3/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 0xceec
movl %eax, %ebx
movq 0x38(%r14), %rdi
testb %al, %al
je 0xd11a
testq %rdi, %rdi
je 0xd0ed
callq 0x33c0
movslq 0x30(%r14), %rax
leaq (,%rax,8), %r15
testq %rax, %rax
movq $-0x1, %rdi
cmovnsq %r15, %rdi
callq 0x3030
movq %rax, 0x38(%r14)
movq %rax, %rdi
xorl %esi, %esi
movq %r15, %rdx
jmp 0xd124
movslq 0x30(%r14), %rdx
shlq $0x3, %rdx
xorl %esi, %esi
callq 0x3190
movl %ebx, %eax
popq %rbx
popq %r14
popq %r15
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/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:
movslq 0x30(%rdi), %rax
testq %rax, %rax
jle 0xd1df
pushq %rbx
movq %rdi, %rbx
movq 0x38(%rdi), %rcx
xorpd %xmm1, %xmm1
xorl %edx, %edx
movapd %xmm1, %xmm2
movsd (%rcx,%rdx,8), %xmm1
andpd 0x1ce90(%rip), %xmm1    # 0x2a010
maxsd %xmm2, %xmm1
incq %rdx
cmpq %rdx, %rax
jne 0xd16f
ucomisd %xmm1, %xmm0
setbe %al
xorpd %xmm2, %xmm2
ucomisd %xmm2, %xmm1
jne 0xd19f
jnp 0xd1de
orb %sil, %al
je 0xd1de
divsd %xmm1, %xmm0
movq (%rbx), %rax
movq %rbx, %rdi
callq *0x30(%rax)
movapd 0x1ce57(%rip), %xmm1    # 0x2a010
movslq 0x30(%rbx), %rax
testq %rax, %rax
jle 0xd1de
movq 0x38(%rbx), %rcx
xorl %edx, %edx
movsd (%rcx,%rdx,8), %xmm0
andpd %xmm1, %xmm0
movlpd %xmm0, (%rcx,%rdx,8)
incq %rdx
cmpq %rdx, %rax
jne 0xd1c8
popq %rbx
retq
// File: /workspace/github_cpp_makefile_star2_O3/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:
movl 0x2c(%rdi), %eax
testl %eax, %eax
jle 0xd24c
pushq %r15
pushq %r14
pushq %rbx
movl 0x28(%rdi), %ecx
movl %ecx, %edx
shrl $0x1f, %edx
addl %ecx, %edx
sarl %edx
movq 0x38(%rdi), %rsi
leal -0x1(%rcx), %edi
xorl %r8d, %r8d
xorl %r9d, %r9d
movq %rdx, %r10
movl %r8d, %r11d
movl %edi, %ebx
cmpl $0x2, %ecx
jl 0xd23a
movl %r11d, %r14d
movsd (%rsi,%r14,8), %xmm0
movl %ebx, %r15d
movsd (%rsi,%r15,8), %xmm1
movsd %xmm1, (%rsi,%r14,8)
movsd %xmm0, (%rsi,%r15,8)
decl %ebx
incl %r11d
decq %r10
jne 0xd212
incl %r9d
addl %ecx, %edi
addl %ecx, %r8d
cmpl %eax, %r9d
jne 0xd205
popq %rbx
popq %r14
popq %r15
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/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:
movl 0x2c(%rdi), %eax
cmpl $0x2, %eax
jl 0xd2b6
pushq %r14
pushq %rbx
movl %eax, %ecx
shrl $0x1f, %ecx
addl %eax, %ecx
sarl %ecx
movl 0x28(%rdi), %edx
movq 0x38(%rdi), %rsi
decl %eax
imull %edx, %eax
xorl %edi, %edi
xorl %r8d, %r8d
movq %rdx, %r9
movl %edi, %r10d
movl %eax, %r11d
testl %edx, %edx
jle 0xd2a7
movl %r10d, %ebx
movsd (%rsi,%rbx,8), %xmm0
movl %r11d, %r14d
movsd (%rsi,%r14,8), %xmm1
movsd %xmm1, (%rsi,%rbx,8)
movsd %xmm0, (%rsi,%r14,8)
incl %r11d
incl %r10d
decq %r9
jne 0xd280
incl %r8d
subl %edx, %eax
addl %edx, %edi
cmpl %ecx, %r8d
jne 0xd273
popq %rbx
popq %r14
retq
nop