LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O2/swxlion[P]swxJson/src/swxJson.cpp
// Function: JsonStringEscaper::JsonStringEscaper()
JsonStringEscaper()
	{
		for (int i = 0; i < 256; i++)
		{
			if (i > 0x1f && i < 0x7f)
				_callMap[i] = &JsonStringEscaper::normal;
			else
				_callMap[i] = &JsonStringEscaper::hexadecimal;
		}

		_callMap[(uint8_t)'\\'] = &JsonStringEscaper::slash;
		_callMap[(uint8_t)'"'] = &JsonStringEscaper::quotationMarks;

		_callMap[(uint8_t)'\b'] = &JsonStringEscaper::jsonSpecialChars;
		_callMap[(uint8_t)'\f'] = &JsonStringEscaper::jsonSpecialChars;
		_callMap[(uint8_t)'\n'] = &JsonStringEscaper::jsonSpecialChars;
		_callMap[(uint8_t)'\r'] = &JsonStringEscaper::jsonSpecialChars;
		_callMap[(uint8_t)'\t'] = &JsonStringEscaper::jsonSpecialChars;
	}

// Assembly:
pushq $-0x20
popq %rax
xorl %ecx, %ecx
leaq 0x90e(%rip), %rdx       # 0x1ad9e
leaq 0x8f7(%rip), %rsi       # 0x1ad8e
cmpq $0x1000, %rcx           # imm = 0x1000
je 0x1a4bd
movq %rdx, %r8
cmpl $0x5f, %eax
jae 0x1a4ab
movq %rsi, %r8
movq %r8, (%rdi,%rcx)
andq $0x0, 0x8(%rdi,%rcx)
incl %eax
addq $0x10, %rcx
jmp 0x1a497
leaq 0x924(%rip), %rax       # 0x1ade8
movq %rax, 0x5c0(%rdi)
andq $0x0, 0x5c8(%rdi)
leaq 0x91e(%rip), %rax       # 0x1adf8
movq %rax, 0x220(%rdi)
andq $0x0, 0x228(%rdi)
leaq 0x918(%rip), %rax       # 0x1ae08
movq %rax, 0x80(%rdi)
andq $0x0, 0x88(%rdi)
movq %rax, 0xc0(%rdi)
andq $0x0, 0xc8(%rdi)
movq %rax, 0xa0(%rdi)
andq $0x0, 0xa8(%rdi)
movq %rax, 0xd0(%rdi)
andq $0x0, 0xd8(%rdi)
movq %rax, 0x90(%rdi)
andq $0x0, 0x98(%rdi)
retq
// File: /workspace/github_cpp_makefile_star2_O2/swxlion[P]swxJson/src/swxJsonUtils.cpp
// Function: swxJson::JsonError::JsonError(char const*, char const*, int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
JsonError::JsonError(const char *filename, const char* function, int32_t lineNumber, const std::string& message):
	_filename(filename), _function(function), _lineNumber(lineNumber), _message(message)
{
	std::stringstream ss;
	ss << "Exception";

	if (_function && _function[0])
		ss << " at " << _function;

	if (_filename && _filename[0])
		ss << " in " << _filename << ':' << _lineNumber;
	
	if (!_message.empty())
		ss << " --- " << _message;

	_what = ss.str();
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x1a8, %rsp            # imm = 0x1A8
movq %rdi, %rbx
leaq 0xad1c(%rip), %rax      # 0x27d38
addq $0x10, %rax
movq %rax, (%rdi)
movq %rsi, 0x8(%rdi)
movq %rdx, 0x10(%rdi)
movl %ecx, 0x18(%rdi)
leaq 0x20(%rdi), %r14
movq %r14, %rdi
movq %r8, %rsi
callq 0xe2e0
leaq 0x40(%rbx), %r15
leaq 0x50(%rbx), %rax
movq %rax, 0x40(%rbx)
andq $0x0, 0x48(%rbx)
movb $0x0, 0x50(%rbx)
leaq 0x20(%rsp), %rdi
callq 0xe170
leaq 0x30(%rsp), %r12
leaq 0x2918(%rip), %rsi      # 0x1f980
movq %r12, %rdi
callq 0xe230
movq 0x10(%rbx), %rax
testq %rax, %rax
je 0x1d099
cmpb $0x0, (%rax)
je 0x1d099
leaq 0x2905(%rip), %rsi      # 0x1f98a
movq %r12, %rdi
callq 0xe230
movq 0x10(%rbx), %rsi
movq %rax, %rdi
callq 0xe230
movq 0x8(%rbx), %rax
testq %rax, %rax
je 0x1d0d8
cmpb $0x0, (%rax)
je 0x1d0d8
leaq 0x28e1(%rip), %rsi      # 0x1f98f
movq %r12, %rdi
callq 0xe230
movq 0x8(%rbx), %rsi
movq %rax, %rdi
callq 0xe230
pushq $0x3a
popq %rsi
movq %rax, %rdi
callq 0xe2a0
movl 0x18(%rbx), %esi
movq %rax, %rdi
callq 0xe390
cmpq $0x0, 0x28(%rbx)
je 0x1d0f9
leaq 0x28ae(%rip), %rsi      # 0x1f994
movq %r12, %rdi
callq 0xe230
movq %rax, %rdi
movq %r14, %rsi
callq 0xe1f0
leaq 0x38(%rsp), %rsi
movq %rsp, %rdi
callq 0xe310
movq %rsp, %rbx
movq %r15, %rdi
movq %rbx, %rsi
callq 0xe2b0
movq %rbx, %rdi
callq 0xe0c0
leaq 0x20(%rsp), %rdi
callq 0xe1b0
addq $0x1a8, %rsp            # imm = 0x1A8
popq %rbx
popq %r12
popq %r14
popq %r15
retq
jmp 0x1d141
movq %rax, %r12
jmp 0x1d14e
movq %rax, %r12
jmp 0x1d15e
movq %rax, %r12
leaq 0x20(%rsp), %rdi
callq 0xe1b0
movq %r15, %rdi
callq 0xe0c0
movq %r14, %rdi
callq 0xe0c0
movq %rbx, %rdi
callq 0xe3c0
movq %r12, %rdi
callq 0xe3a0
// File: /workspace/github_cpp_makefile_star2_O2/swxlion[P]swxJson/src/swxJsonUtils.cpp
// Function: swxJson::JsonError::format[abi:cxx11](char const*, ...)
std::string JsonError::format(const char *fmt, ...)
{
	if (fmt)
	{
		va_list ap; 
		va_start(ap, fmt);
		char buf[1024];
		vsnprintf(buf, sizeof(buf), fmt, ap);
		va_end(ap);
		return std::string(buf);
	}

	return std::string();
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x4e8, %rsp            # imm = 0x4E8
movq %rdi, %rbx
movq %rdx, 0x40(%rsp)
movq %rcx, 0x48(%rsp)
movq %r8, 0x50(%rsp)
movq %r9, 0x58(%rsp)
testb %al, %al
je 0x1d1cd
movaps %xmm0, 0x60(%rsp)
movaps %xmm1, 0x70(%rsp)
movaps %xmm2, 0x80(%rsp)
movaps %xmm3, 0x90(%rsp)
movaps %xmm4, 0xa0(%rsp)
movaps %xmm5, 0xb0(%rsp)
movaps %xmm6, 0xc0(%rsp)
movaps %xmm7, 0xd0(%rsp)
testq %rsi, %rsi
je 0x1d226
movq %rsi, %r10
leaq 0x30(%rsp), %rax
leaq 0x10(%rsp), %rcx
movq %rax, 0x10(%rcx)
leaq 0x500(%rsp), %rax
movq %rax, 0x8(%rcx)
movabsq $0x3000000010, %rax     # imm = 0x3000000010
movq %rax, (%rcx)
leaq 0xe0(%rsp), %r14
movl $0x400, %esi            # imm = 0x400
movq %r14, %rdi
movq %r10, %rdx
callq 0xe130
leaq 0xf(%rsp), %rdx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x14fc0
jmp 0x1d236
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
andq $0x0, 0x8(%rbx)
movb $0x0, 0x10(%rbx)
movq %rbx, %rax
addq $0x4e8, %rsp            # imm = 0x4E8
popq %rbx
popq %r14
retq
// File: /workspace/github_cpp_makefile_star2_O2/onai[P]npio/npio_test_cpp.cpp
// Function: main
int main()
{
  npio::Array a("test1.npy");
  int64_t total = 0;
  int64_t* values = a.get<int64_t>();
  for (size_t i = 0; i < a.size(); ++i)
    total += values[i];
  assert(total == 4950);
  return 0;
}

// Assembly:
pushq %rbx
subq $0x90, %rsp
leaq 0xe05(%rip), %rsi       # 0x2060
movq %rsp, %rbx
pushq $0x20
popq %rdx
movq %rbx, %rdi
callq 0x1834
movq %rbx, %rdi
callq 0x1ae6
movq 0x28(%rsp), %rdx
xorl %ecx, %ecx
xorl %esi, %esi
cmpq %rsi, %rdx
je 0x1288
addq (%rax,%rsi,8), %rcx
incq %rsi
jmp 0x127a
cmpq $0x1356, %rcx           # imm = 0x1356
jne 0x12a4
movq %rsp, %rdi
callq 0x1afe
xorl %eax, %eax
addq $0x90, %rsp
popq %rbx
retq
leaq 0xdbf(%rip), %rdi       # 0x206a
leaq 0xdc6(%rip), %rsi       # 0x2078
leaq 0xdd1(%rip), %rcx       # 0x208a
pushq $0xb
popq %rdx
callq 0x1090
movq %rax, %rbx
movq %rsp, %rdi
callq 0x1afe
movq %rbx, %rdi
callq 0x1110
// File: /workspace/github_cpp_makefile_star2_O2/onai[P]npio/./npio.h
// Function: npio_load_header_fd_read_(int, npio_Array*, unsigned long)
static inline int npio_load_header_fd_read_(int fd, npio_Array* array, size_t max_dim)
{
  /* Read just enough to know how much more we need to read */
  char prelude[12];
  char *end;
  int nr, err;
  size_t prelude_size;

  nr = read(fd, prelude, sizeof(prelude));
  if (nr < (int) sizeof(prelude))
    return errno;

  if ((err = npio_load_header_prelude_(prelude, array, &end)))
    return err;

  /* Keep track of how many bytes of prelude were present */
  prelude_size = end - prelude;

  /* We suppose here that each dimension in shape should not take more than 20
  characters to estimate a limit on the header_len. Admitted, this is sloppy. */
  if (array->header_len > 1024 + max_dim * 20)
    return ERANGE;

  /* We stick the prelude back together with the rest of the header */
  if ((array->_hdr_buf = (char*) malloc(prelude_size + array->header_len)) == 0)
    return ENOMEM;
  memcpy(array->_hdr_buf, prelude, sizeof(prelude));

  /* Now read in the rest of the header, accounting for excess bytes possibly
     read in with the prelude. */
  nr = read(fd, array->_hdr_buf + sizeof(prelude)
    , array->header_len - (sizeof(prelude) - prelude_size));

  /* Parse the header */
  return npio_ph_parse_dict_(array, array->_hdr_buf + prelude_size, end);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdx, %r14
movq %rsi, %rbx
movl %edi, %ebp
leaq 0x4(%rsp), %rsi
pushq $0xc
popq %rdx
callq 0x10f0
cmpl $0xb, %eax
jg 0x1308
callq 0x1030
movl (%rax), %eax
jmp 0x1392
leaq 0x4(%rsp), %r13
leaq 0x10(%rsp), %rdx
movq %r13, %rdi
movq %rbx, %rsi
callq 0x13a1
testl %eax, %eax
jne 0x1392
movq 0x8(%rbx), %r15
imulq $0x14, %r14, %rax
addq $0x400, %rax            # imm = 0x400
cmpq %rax, %r15
jbe 0x1338
pushq $0x22
jmp 0x1391
movq 0x10(%rsp), %r14
movq %r14, %r12
subq %r13, %r12
addq %r12, %r15
movq %r15, %rdi
callq 0x10e0
movq %rax, 0x68(%rbx)
testq %rax, %rax
je 0x138f
movl 0xc(%rsp), %ecx
movl %ecx, 0x8(%rax)
movq 0x4(%rsp), %rcx
movq %rcx, (%rax)
addq $0xc, %rax
addq $-0xc, %r15
movl %ebp, %edi
movq %rax, %rsi
movq %r15, %rdx
callq 0x10f0
addq 0x68(%rbx), %r12
movq %rbx, %rdi
movq %r12, %rsi
movq %r14, %rdx
callq 0x1432
jmp 0x1392
pushq $0xc
popq %rax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O2/onai[P]npio/./npio.h
// Function: npio_load_header_prelude_(char*, npio_Array*, char**)
static inline int npio_load_header_prelude_(char* p, npio_Array* array, char** end)
{
  /* assert magic string. Basic size check was done above. */
  if (memcmp(p, "\x93NUMPY", 6) != 0)
    return EINVAL;
  p += 6;

  /* get the version numbers */
  array->major_version = *p++;
  array->minor_version = *p++;

  /* get the header length. Version 1 uses 2 bytes, version 2 uses 4 bytes. */
  switch (array->major_version)
  {
    case 1:
      array->header_len = p[0] + (p[1] << 8);
      p += 2;
      break;

    case 2:
      array->header_len = p[0]
        + (p[1] << 8)
        + (p[2] << 16)
        + (p[3] << 24);
      p += 4;
      break;

    default:
      return ENOTSUP;
  }
  *end = p;
  return 0;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdx, %rbx
movq %rsi, %r15
movq %rdi, %r14
leaq 0xcdf(%rip), %rsi       # 0x2095
pushq $0x6
popq %rdx
callq 0x10c0
testl %eax, %eax
je 0x13c7
pushq $0x16
popq %rax
jmp 0x1428
movzbl 0x6(%r14), %eax
movb %al, (%r15)
movb 0x7(%r14), %cl
movb %cl, 0x1(%r15)
cmpl $0x2, %eax
je 0x13f4
cmpl $0x1, %eax
jne 0x142e
movsbl 0x8(%r14), %ecx
movsbl 0x9(%r14), %eax
shll $0x8, %eax
addl %ecx, %eax
pushq $0xa
jmp 0x1419
movsbl 0x8(%r14), %eax
movsbl 0x9(%r14), %ecx
shll $0x8, %ecx
addl %eax, %ecx
movsbl 0xa(%r14), %edx
shll $0x10, %edx
movzbl 0xb(%r14), %eax
shll $0x18, %eax
addl %edx, %eax
addl %ecx, %eax
pushq $0xc
popq %rcx
cltq
movq %rax, 0x8(%r15)
addq %rcx, %r14
movq %r14, (%rbx)
xorl %eax, %eax
popq %rbx
popq %r14
popq %r15
retq
pushq $0x5f
jmp 0x13c4
// File: /workspace/github_cpp_makefile_star2_O2/onai[P]npio/./npio.h
// Function: npio_array_size(npio_Array const*)
static inline size_t npio_array_size(const npio_Array* array)
{
  size_t n = 1, i;
  for (i = 0; i < array->dim; ++i)
    n *= array->shape[i];
  return n;
}

// Assembly:
movq 0x18(%rdi), %rcx
pushq $0x1
popq %rax
xorl %edx, %edx
cmpq %rdx, %rcx
je 0x1833
movq 0x20(%rdi), %rsi
imulq (%rsi,%rdx,8), %rax
incq %rdx
jmp 0x1820
retq
// File: /workspace/github_cpp_makefile_star2_O2/permutationlock[P]aes_math/lib/galois_field.cpp
// Function: Polynomial::Polynomial(int, int, int)
Polynomial::Polynomial(int value, int p, int n): _p(p) {
    for(int i=0; i<n; i++){
        _a.push_back(0);
    }
    
    for(int i=n-1; i>=0; i--){
        int num = pow(_p, i);
        if(value >= num){
            int m = (value/num)%_p;
            _a[i] = Modular<int>(m);
            value -= m * num;
        }
        if(value==0) break;
    }
    
    reduce();
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x10, %rsp
movl %ecx, %r14d
movl %esi, %ebp
movq %rdi, %rbx
andq $0x0, 0x10(%rdi)
xorpd %xmm0, %xmm0
movupd %xmm0, (%rdi)
movl %edx, 0x18(%rdi)
xorl %r12d, %r12d
testl %ecx, %ecx
cmovgl %ecx, %r12d
leaq 0xc(%rsp), %r15
subl $0x1, %r12d
jb 0x2be6
andl $0x0, 0xc(%rsp)
movq %rbx, %rdi
movq %r15, %rsi
callq 0x437e
jmp 0x2bce
movl %r14d, %eax
testl %eax, %eax
jle 0x2c27
leaq -0x1(%rax), %r14
decl %eax
cvtsi2sdl 0x18(%rbx), %xmm0
cvtsi2sd %eax, %xmm1
callq 0x21b0
cvttsd2si %xmm0, %ecx
cmpl %ecx, %ebp
jl 0x2c20
movl %ebp, %eax
cltd
idivl %ecx
cltd
idivl 0x18(%rbx)
movl %r14d, %eax
movq (%rbx), %rsi
movl %edx, (%rsi,%rax,4)
imull %ecx, %edx
subl %edx, %ebp
movq %r14, %rax
testl %ebp, %ebp
jne 0x2be9
movq %rbx, %rdi
callq 0x2c50
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
movq %rbx, %rdi
callq 0x4360
movq %r14, %rdi
callq 0x21c0
nop
// File: /workspace/github_cpp_makefile_star2_O2/permutationlock[P]aes_math/lib/galois_field.cpp
// Function: Polynomial::Polynomial(Polynomial const&)
Polynomial::Polynomial(const Polynomial & other){
    _p = other._p;
    
    for(int i=0; i<other.size(); i++){
        _a.push_back(other[i]);
    }
    
    reduce();
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
xorps %xmm0, %xmm0
movups %xmm0, (%rdi)
andq $0x0, 0x10(%rdi)
movl 0x18(%rsi), %eax
movl %eax, 0x18(%rdi)
xorl %r15d, %r15d
xorl %r12d, %r12d
movq (%r14), %rsi
movq 0x8(%r14), %rax
subq %rsi, %rax
shrq $0x2, %rax
cltq
cmpq %rax, %r12
jge 0x2d2e
addq %r15, %rsi
movq %rbx, %rdi
callq 0x3ea8
incq %r12
addq $0x4, %r15
jmp 0x2d05
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
jmp 0x2c50
movq %rax, %r14
movq %rbx, %rdi
callq 0x4360
movq %r14, %rdi
callq 0x21c0
// File: /workspace/github_cpp_makefile_star2_O2/permutationlock[P]aes_math/lib/galois_field.cpp
// Function: Polynomial::operator+=(Polynomial const&)
Polynomial & Polynomial::operator+=(const Polynomial & other){
    if(_p != other._p) throw runtime_error("Mismatched prime.");
    
    while(_a.size()<other.size())
        _a.push_back(0);
    
    Modular<int>::globalSetModulus(_p);
    
    for(int i=0; i<other.size(); i++){
        _a[i] += other[i];
    }
    
    reduce();
    
    return *this;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x10, %rsp
movl 0x18(%rdi), %eax
cmpl 0x18(%rsi), %eax
jne 0x2e0a
movq %rsi, %r14
movq %rdi, %rbx
leaq 0xc(%rsp), %r15
movq (%rbx), %rcx
movq 0x8(%rbx), %rax
subq %rcx, %rax
sarq $0x2, %rax
movq (%r14), %rsi
movq 0x8(%r14), %rdi
subq %rsi, %rdi
shrq $0x2, %rdi
movslq %edi, %rdx
cmpq %rdx, %rax
jae 0x2dc2
andl $0x0, 0xc(%rsp)
movq %rbx, %rdi
movq %r15, %rsi
callq 0x437e
jmp 0x2d8c
movl 0x18(%rbx), %eax
movl %eax, 0xa37d(%rip)      # 0xd148
xorl %r8d, %r8d
testl %edi, %edi
cmovlel %r8d, %edi
cmpq %r8, %rdi
je 0x2df5
movl (%rcx,%r8,4), %eax
addl (%rsi,%r8,4), %eax
movl %eax, (%rcx,%r8,4)
cltd
idivl 0xa35c(%rip)            # 0xd148
movl %edx, (%rcx,%r8,4)
incq %r8
jmp 0x2dd4
movq %rbx, %rdi
callq 0x2c50
movq %rbx, %rax
addq $0x10, %rsp
popq %rbx
popq %r14
popq %r15
retq
pushq $0x10
popq %rdi
callq 0x20a0
movq %rax, %rbx
leaq 0x5228(%rip), %rsi      # 0x8044
movq %rax, %rdi
callq 0x2060
movq 0xa1c5(%rip), %rsi      # 0xcff0
movq 0xa196(%rip), %rdx      # 0xcfc8
movq %rbx, %rdi
callq 0x21a0
movq %rax, %r14
movq %rbx, %rdi
callq 0x20c0
movq %r14, %rdi
callq 0x21c0
nop
// File: /workspace/github_cpp_makefile_star2_O2/permutationlock[P]aes_math/lib/galois_field.cpp
// Function: Polynomial::operator*=(Polynomial const&)
Polynomial & Polynomial::operator*=(const Polynomial & other){
    if(_p != other._p) throw runtime_error("Mismatched prime.");
    
    vector<Modular<int>> a;
    
    for(int i=0; i<other.size()+this->size(); i++){
        a.push_back(0);
    }
    
    Modular<int>::globalSetModulus(_p);
    // FOIL multiplication
    for(int i=0; i<this->size(); i++){
        for(int j=0; j<other.size(); j++){
            a[i+j] += _a[i]*other[j];
        }
    }
    
    // Swap in the product coefficients
    swap(_a,a);
    
    reduce();
    
    return *this;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x30, %rsp
movl 0x18(%rdi), %eax
cmpl 0x18(%rsi), %eax
jne 0x3051
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x10(%rsp), %r15
andq $0x0, 0x10(%r15)
xorps %xmm0, %xmm0
movaps %xmm0, (%r15)
xorl %ebp, %ebp
leaq 0xc(%rsp), %r12
movq (%r14), %rdi
movq 0x8(%r14), %r8
subq %rdi, %r8
shrq $0x2, %r8
movq (%rbx), %rsi
movq 0x8(%rbx), %rcx
movq %rcx, %r9
subq %rsi, %r9
shrq $0x2, %r9
leal (%r9,%r8), %eax
cmpl %eax, %ebp
jge 0x2fa9
andl $0x0, 0xc(%rsp)
movq %r15, %rdi
movq %r12, %rsi
callq 0x437e
incl %ebp
jmp 0x2f6e
movl 0x18(%rbx), %eax
movl %eax, 0xa196(%rip)      # 0xd148
xorl %r10d, %r10d
testl %r8d, %r8d
cmovlel %r10d, %r8d
testl %r9d, %r9d
cmovlel %r10d, %r9d
xorl %r11d, %r11d
cmpq %r9, %r11
je 0x300e
movq 0x10(%rsp), %r14
addq %r10, %r14
xorl %r15d, %r15d
cmpq %r15, %r8
je 0x3005
movl (%rdi,%r15,4), %eax
imull (%rsi,%r11,4), %eax
cltd
idivl 0xa15d(%rip)            # 0xd148
movl %edx, %eax
addl (%r14,%r15,4), %eax
movl %eax, (%r14,%r15,4)
cltd
idivl 0xa14c(%rip)            # 0xd148
movl %edx, (%r14,%r15,4)
incq %r15
jmp 0x2fd6
incq %r11
addq $0x4, %r10
jmp 0x2fc6
movq 0x10(%rbx), %rax
leaq 0x10(%rsp), %r14
movaps (%r14), %xmm0
movups %xmm0, (%rbx)
movq 0x10(%r14), %rdx
movq %rdx, 0x10(%rbx)
movq %rsi, (%r14)
movq %rcx, 0x8(%r14)
movq %rax, 0x10(%r14)
movq %rbx, %rdi
callq 0x2c50
movq %r14, %rdi
callq 0x4360
movq %rbx, %rax
addq $0x30, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
pushq $0x10
popq %rdi
callq 0x20a0
movq %rax, %rbx
leaq 0x4fe1(%rip), %rsi      # 0x8044
movq %rax, %rdi
callq 0x2060
movq 0x9f7e(%rip), %rsi      # 0xcff0
movq 0x9f4f(%rip), %rdx      # 0xcfc8
movq %rbx, %rdi
callq 0x21a0
movq %rax, %r14
movq %rbx, %rdi
callq 0x20c0
jmp 0x309b
movq %rax, %r14
leaq 0x10(%rsp), %rdi
callq 0x4360
movq %r14, %rdi
callq 0x21c0
nop
// File: /workspace/github_cpp_makefile_star2_O2/permutationlock[P]aes_math/lib/galois_field.cpp
// Function: Polynomial::operator%=(Polynomial const&)
Polynomial & Polynomial::operator%=(const Polynomial & other){
    if(_p != other._p) throw runtime_error("Mismatched prime.");
    
    Modular<int>::globalSetModulus(_p);
    while(this->size() >= other.size()){
        Modular<int> c =  _a.back().mulInverse() * other._a.back();
        int diff = this->size()-other.size();
        vector<Modular<int>> v;
        for(int i=0; i< diff; i++)
            v.push_back(0);
        v.push_back(c);
        Polynomial p(v,_p);
        (*this) -= (other * p);
    }
    
    return *this;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
movl 0x18(%rdi), %eax
cmpl 0x18(%rsi), %eax
jne 0x31c0
movq %rsi, %r14
movq %rdi, %rbx
movl %eax, 0xa07e(%rip)      # 0xd148
leaq 0x10(%rsp), %r15
leaq 0x28(%rsp), %r13
leaq 0x48(%rsp), %rbp
movq 0x8(%rbx), %rdi
movq %rdi, %rax
subq (%rbx), %rax
shrq $0x2, %rax
movq 0x8(%r14), %rcx
subq (%r14), %rcx
shrq $0x2, %rcx
cmpl %ecx, %eax
jl 0x31ae
addq $-0x4, %rdi
callq 0x3ee0
movq 0x8(%r14), %rcx
imull -0x4(%rcx), %eax
cltd
idivl 0xa036(%rip)            # 0xd148
movl %edx, 0xc(%rsp)
movq 0x8(%rbx), %r12
subq (%rbx), %r12
shrq $0x2, %r12
subq (%r14), %rcx
shrq $0x2, %rcx
subl %ecx, %r12d
andq $0x0, 0x20(%rsp)
xorps %xmm0, %xmm0
movaps %xmm0, 0x10(%rsp)
testl %r12d, %r12d
movl $0x0, %eax
cmovlel %eax, %r12d
subl $0x1, %r12d
jb 0x315d
andl $0x0, 0x28(%rsp)
movq %r15, %rdi
movq %r13, %rsi
callq 0x437e
jmp 0x3145
movq %r15, %rdi
leaq 0xc(%rsp), %rsi
callq 0x3ea8
movl 0x18(%rbx), %edx
movq %r13, %rdi
movq %r15, %rsi
callq 0x2c70
movq %rbp, %rdi
movq %r14, %rsi
movq %r13, %rdx
callq 0x3234
movq %rbx, %rdi
movq %rbp, %rsi
callq 0x2e4e
movq %rbp, %rdi
callq 0x4360
movq %r13, %rdi
callq 0x4360
movq %r15, %rdi
callq 0x4360
jmp 0x30d9
movq %rbx, %rax
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
pushq $0x10
popq %rdi
callq 0x20a0
movq %rax, %r14
leaq 0x4e72(%rip), %rsi      # 0x8044
movq %rax, %rdi
callq 0x2060
movq 0x9e0f(%rip), %rsi      # 0xcff0
movq 0x9de0(%rip), %rdx      # 0xcfc8
movq %r14, %rdi
callq 0x21a0
movq %rax, %rbx
movq %r14, %rdi
callq 0x20c0
jmp 0x322c
jmp 0x321f
jmp 0x321f
movq %rax, %rbx
jmp 0x3213
movq %rax, %rbx
leaq 0x48(%rsp), %rdi
callq 0x4360
leaq 0x28(%rsp), %rdi
callq 0x4360
jmp 0x3222
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x4360
movq %rbx, %rdi
callq 0x21c0
// File: /workspace/github_cpp_makefile_star2_O2/permutationlock[P]aes_math/lib/galois_field.cpp
// Function: Polynomial::operator/=(Polynomial const&)
Polynomial & Polynomial::operator/=(const Polynomial & other){
    if(_p != other._p) throw runtime_error("Mismatched prime.");
    
    Polynomial quot(0,_p,1);
    
    Modular<int>::globalSetModulus(_p);
    while(this->size() >= other.size()){
        Modular<int> c =  other._a.back() / _a.back();
        int diff = this->size()-other.size();
        vector<Modular<int>> v;
        for(int i=0; i< diff; i++)
            v.push_back(0);
        v.push_back(c);
        Polynomial p(v,_p);
        quot += p;
        (*this) -= (other * p);
    }
    
    swap(_a,quot._a);
    
    return *this;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x98, %rsp
movl 0x18(%rdi), %edx
cmpl 0x18(%rsi), %edx
jne 0x33f3
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x30(%rsp), %rdi
pushq $0x1
popq %rcx
xorl %esi, %esi
callq 0x2b9c
movl 0x18(%rbx), %eax
movl %eax, 0x9e81(%rip)      # 0xd148
leaq 0x10(%rsp), %r12
leaq 0x58(%rsp), %rbp
leaq 0x78(%rsp), %r15
movq (%rbx), %rax
movq 0x8(%rbx), %rsi
movq %rsi, %rcx
subq %rax, %rcx
shrq $0x2, %rcx
movq 0x8(%r14), %rdi
movq %rdi, %rdx
subq (%r14), %rdx
shrq $0x2, %rdx
cmpl %edx, %ecx
jl 0x33b7
addq $-0x4, %rdi
addq $-0x4, %rsi
callq 0x3f28
movl %eax, 0xc(%rsp)
movq 0x8(%rbx), %r13
subq (%rbx), %r13
shrq $0x2, %r13
movq 0x8(%r14), %rax
subq (%r14), %rax
shrq $0x2, %rax
subl %eax, %r13d
andq $0x0, 0x20(%rsp)
xorps %xmm0, %xmm0
movaps %xmm0, 0x10(%rsp)
testl %r13d, %r13d
movl $0x0, %eax
cmovlel %eax, %r13d
subl $0x1, %r13d
jb 0x3359
andl $0x0, 0x58(%rsp)
movq %r12, %rdi
movq %rbp, %rsi
callq 0x437e
jmp 0x3341
movq %r12, %rdi
leaq 0xc(%rsp), %rsi
callq 0x3ea8
movl 0x18(%rbx), %edx
movq %rbp, %rdi
movq %r12, %rsi
callq 0x2c70
leaq 0x30(%rsp), %rdi
movq %rbp, %rsi
callq 0x2d6c
movq %r15, %rdi
movq %r14, %rsi
movq %rbp, %rdx
callq 0x3234
movq %rbx, %rdi
movq %r15, %rsi
callq 0x2e4e
movq %r15, %rdi
callq 0x4360
movq %rbp, %rdi
callq 0x4360
movq %r12, %rdi
callq 0x4360
jmp 0x32d6
movq 0x10(%rbx), %rcx
leaq 0x30(%rsp), %rdi
movaps (%rdi), %xmm0
movups %xmm0, (%rbx)
movq 0x10(%rdi), %rdx
movq %rdx, 0x10(%rbx)
movq %rax, (%rdi)
movq %rsi, 0x8(%rdi)
movq %rcx, 0x10(%rdi)
callq 0x4360
movq %rbx, %rax
addq $0x98, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
pushq $0x10
popq %rdi
callq 0x20a0
movq %rax, %r14
leaq 0x4c3f(%rip), %rsi      # 0x8044
movq %rax, %rdi
callq 0x2060
movq 0x9bdc(%rip), %rsi      # 0xcff0
movq 0x9bad(%rip), %rdx      # 0xcfc8
movq %r14, %rdi
callq 0x21a0
movq %rax, %rbx
movq %r14, %rdi
callq 0x20c0
jmp 0x3470
jmp 0x3459
jmp 0x3434
movq %rax, %rbx
jmp 0x3446
movq %rax, %rbx
leaq 0x78(%rsp), %rdi
callq 0x4360
leaq 0x58(%rsp), %rdi
callq 0x4360
jmp 0x345c
jmp 0x3459
movq %rax, %rbx
jmp 0x3466
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x4360
leaq 0x30(%rsp), %rdi
callq 0x4360
movq %rbx, %rdi
callq 0x21c0
// File: /workspace/github_cpp_makefile_star2_O2/permutationlock[P]aes_math/lib/galois_field.cpp
// Function: Polynomial::toInt() const
int Polynomial::toInt() const{
    int sum = 0;
    for(int i=0; i<_a.size(); i++){
        sum += _a[i].value()*pow(_p,i);
    }
    return sum;
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rdi, %rbx
xorl %r14d, %r14d
xorl %ebp, %ebp
movq (%rbx), %rax
movq 0x8(%rbx), %rcx
subq %rax, %rcx
sarq $0x2, %rcx
cmpq %r14, %rcx
jbe 0x362d
cvtsi2sdl (%rax,%r14,4), %xmm0
movsd %xmm0, 0x8(%rsp)
cvtsi2sdl 0x18(%rbx), %xmm0
cvtsi2sd %r14d, %xmm1
callq 0x21b0
cvtsi2sd %ebp, %xmm1
mulsd 0x8(%rsp), %xmm0
addsd %xmm1, %xmm0
cvttsd2si %xmm0, %ebp
incq %r14
jmp 0x35e8
movl %ebp, %eax
addq $0x10, %rsp
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O2/permutationlock[P]aes_math/lib/galois_field.cpp
// Function: Polynomial::toPoly[abi:cxx11]() const
string Polynomial::toPoly() const{
    
    string s = "";
    if(_a.size()==0) return s;
    if(_a[_a.size()-1].value()!=0){
        s += to_string(_a[_a.size()-1].value());
        s += "*";
        s += to_string(_p);
        s += "^";
        s += to_string(_a.size()-1);
    }
    for(int i=_a.size()-2; i>=0; i--){
        if(_a[i].value()!=0){
            s += "+";
            s += to_string(_a[i].value());
            s += "*";
            s += to_string(_p);
            s += "^";
            s += to_string(i);
        }
    }

    return s;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x4d53(%rip), %rsi      # 0x83aa
leaq 0x8(%rsp), %rdx
callq 0x2070
movq 0x8(%r14), %rax
movq %rax, %r15
subq (%r14), %r15
je 0x37d2
movl -0x4(%rax), %esi
testl %esi, %esi
je 0x3716
leaq 0x8(%rsp), %rdi
callq 0x3f41
leaq 0x8(%rsp), %rsi
movq %rbx, %rdi
callq 0x21f0
leaq 0x8(%rsp), %rdi
callq 0x2090
leaq 0x49b2(%rip), %rsi      # 0x8056
movq %rbx, %rdi
callq 0x21e0
movl 0x18(%r14), %esi
leaq 0x8(%rsp), %rdi
callq 0x3f41
leaq 0x8(%rsp), %rsi
movq %rbx, %rdi
callq 0x21f0
leaq 0x8(%rsp), %rdi
callq 0x2090
leaq 0x4980(%rip), %rsi      # 0x8058
movq %rbx, %rdi
callq 0x21e0
movq 0x8(%r14), %rsi
subq (%r14), %rsi
sarq $0x2, %rsi
decq %rsi
leaq 0x8(%rsp), %rdi
callq 0x3f9a
leaq 0x8(%rsp), %rsi
movq %rbx, %rdi
callq 0x21f0
leaq 0x8(%rsp), %rdi
callq 0x2090
movq 0x8(%r14), %r15
subq (%r14), %r15
shrq $0x2, %r15
addl $-0x2, %r15d
leaq 0x8(%rsp), %r13
leaq 0x492e(%rip), %r12      # 0x8058
testl %r15d, %r15d
js 0x37d2
movl %r15d, %ebp
movq (%r14), %rax
cmpl $0x0, (%rax,%rbp,4)
je 0x37ca
movq %rbx, %rdi
leaq 0x490d(%rip), %rsi      # 0x805a
callq 0x21e0
movq (%r14), %rax
movl (%rax,%rbp,4), %esi
movq %r13, %rdi
callq 0x3f41
movq %rbx, %rdi
movq %r13, %rsi
callq 0x21f0
movq %r13, %rdi
callq 0x2090
movq %rbx, %rdi
leaq 0x48d9(%rip), %rsi      # 0x8056
callq 0x21e0
movl 0x18(%r14), %esi
movq %r13, %rdi
callq 0x3f41
movq %rbx, %rdi
movq %r13, %rsi
callq 0x21f0
movq %r13, %rdi
callq 0x2090
movq %rbx, %rdi
movq %r12, %rsi
callq 0x21e0
movq %r13, %rdi
movl %r15d, %esi
callq 0x3f41
movq %rbx, %rdi
movq %r13, %rsi
callq 0x21f0
movq %r13, %rdi
callq 0x2090
decl %r15d
jmp 0x372a
movq %rbx, %rax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x37fa
jmp 0x380b
jmp 0x37fa
jmp 0x380b
jmp 0x37fa
jmp 0x380b
jmp 0x380b
jmp 0x380b
jmp 0x37fa
jmp 0x37fa
jmp 0x380b
movq %rax, %r14
leaq 0x8(%rsp), %rdi
callq 0x2090
jmp 0x380e
jmp 0x380b
movq %rax, %r14
movq %rbx, %rdi
callq 0x2090
movq %r14, %rdi
callq 0x21c0
// File: /workspace/github_cpp_makefile_star2_O2/permutationlock[P]aes_math/lib/galois_field.cpp
// Function: Polynomial::toString[abi:cxx11]() const
string Polynomial::toString() const{
    string s = "";
    for(int i=0; i<_a.size(); i++){
        s.insert(0,to_string(_a[i].value()));
    }
    return s;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x4b74(%rip), %rsi      # 0x83aa
leaq 0x8(%rsp), %r15
movq %r15, %rdx
callq 0x2070
xorl %r12d, %r12d
movq (%r14), %rax
movq 0x8(%r14), %rcx
subq %rax, %rcx
sarq $0x2, %rcx
cmpq %r12, %rcx
jbe 0x387f
movl (%rax,%r12,4), %esi
movq %r15, %rdi
callq 0x3f41
movq %rbx, %rdi
xorl %esi, %esi
movq %r15, %rdx
callq 0x2170
movq %r15, %rdi
callq 0x2090
incq %r12
jmp 0x3846
movq %rbx, %rax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq %rax, %r14
leaq 0x8(%rsp), %rdi
callq 0x2090
jmp 0x38a0
movq %rax, %r14
movq %rbx, %rdi
callq 0x2090
movq %r14, %rdi
callq 0x21c0
// File: /workspace/github_cpp_makefile_star2_O2/permutationlock[P]aes_math/lib/galois_field.cpp
// Function: GaloisPolynomial::toString[abi:cxx11]() const
string GaloisPolynomial::toString() const{
    string s = _polynomial.toString();
    for(int i=0; i<_modulus.size()-_polynomial.size()-1; i++)
        s.insert(0, "0");
    return s;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
callq 0x381e
xorl %r12d, %r12d
leaq 0x4225(%rip), %r15      # 0x805c
movq 0x92f2(%rip), %rax      # 0xd130
subq 0x92e3(%rip), %rax      # 0xd128
shrq $0x2, %rax
movq 0x8(%r14), %rcx
subq (%r14), %rcx
shrq $0x2, %rcx
notl %ecx
addl %eax, %ecx
cmpl %ecx, %r12d
jge 0x3e6f
movq %rbx, %rdi
xorl %esi, %esi
movq %r15, %rdx
callq 0x2030
incl %r12d
jmp 0x3e37
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq %rax, %r14
movq %rbx, %rdi
callq 0x2090
movq %r14, %rdi
callq 0x21c0
nop
// File: /workspace/github_cpp_makefile_star2_O2/permutationlock[P]aes_math/lib/modular_arithmetic.cpp
// Function: Modular<int>::mulInverse() const
Modular<T> Modular<T>::mulInverse() const{
    T t = 0;
    T r = _modulus;
    T new_t = 1;
    T new_r = _val;
    while(new_r != 0){
        T quotient = r / new_r;
        T temp_t = t;
        t = new_t;
        new_t = temp_t - quotient * new_t;
        T temp_r = r;
        r = new_r;
        new_r = temp_r - quotient * new_r;
    }
    if(r>1) throw;    // Should never happen for prime field
    if(t<0) t = t+_modulus;
    return Modular<T>(t);
}

// Assembly:
movl 0x9262(%rip), %ecx      # 0xd148
movl (%rdi), %edx
pushq $0x1
popq %rdi
xorl %esi, %esi
movl %ecx, %eax
testl %edx, %edx
je 0x3f0d
movl %edx, %r8d
cltd
idivl %r8d
imull %edi, %eax
movl %esi, %r9d
subl %eax, %r9d
movl %edi, %esi
movl %r9d, %edi
movl %r8d, %eax
jmp 0x3eef
cmpl $0x2, %eax
jge 0x3f1c
movl %esi, %eax
sarl $0x1f, %eax
andl %ecx, %eax
addl %esi, %eax
retq
pushq %rax
callq 0x2150
// File: /workspace/github_cpp_makefile_star2_O2/permutationlock[P]aes_math/lib/aes.cpp
// Function: sBox(GaloisPolynomial&)
GaloisPolynomial & sBox(GaloisPolynomial & p){
    // Invert each element
    p = p.inverse();
    
    // Calculate affine transformation
    vector<Modular<int>> coef;
    for(int r=0; r<8; r++){
        Modular<int> sum(0);
        for(int c=0; c<8; c++){
            sum += p[c] * rijndael_A[r*8+c];
        }
        coef.push_back(sum);
    }
    p = GaloisPolynomial(coef);
    
    // Add polynomial b
    p += rijndael_b;
    
    return p;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rdi, %rbx
movq %rsp, %r14
movq %r14, %rdi
movq %rbx, %rsi
callq 0x39d4
movq %rbx, %rdi
movq %r14, %rsi
callq 0x403e
movq %rsp, %r14
movq %r14, %rdi
callq 0x4360
leaq 0x20(%rsp), %r15
andq $0x0, 0x10(%r15)
xorps %xmm0, %xmm0
movaps %xmm0, (%r15)
xorl %r13d, %r13d
xorl %ebp, %ebp
cmpq $0x8, %rbp
je 0x4a39
andl $0x0, (%rsp)
xorl %r12d, %r12d
cmpq $0x8, %r12
je 0x4a25
movq %rbx, %rdi
movl %r12d, %esi
callq 0x3de4
movq 0x8774(%rip), %rcx      # 0xd178
addq %r13, %rcx
imull (%rcx,%r12,4), %eax
movl 0x8736(%rip), %ecx      # 0xd148
cltd
idivl %ecx
movl %edx, %eax
addl (%rsp), %eax
cltd
idivl %ecx
movl %edx, (%rsp)
incq %r12
jmp 0x49ec
movq %r15, %rdi
movq %r14, %rsi
callq 0x3ea8
incq %rbp
addq $0x20, %r13
jmp 0x49df
movq %rsp, %rdi
leaq 0x20(%rsp), %rsi
pushq $0x2
popq %rdx
callq 0x38e6
movq %rsp, %rsi
movq %rbx, %rdi
callq 0x403e
movq %rsp, %rdi
callq 0x4360
leaq 0x8745(%rip), %rsi      # 0xd1a8
movq %rbx, %rdi
callq 0x3952
leaq 0x20(%rsp), %rdi
callq 0x4360
movq %rbx, %rax
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x4aa2
movq %rax, %rbx
movq %rsp, %rdi
callq 0x4360
jmp 0x4aa5
jmp 0x4aa2
movq %rax, %rbx
movq %rsp, %rdi
jmp 0x4aaa
jmp 0x4aa2
movq %rax, %rbx
leaq 0x20(%rsp), %rdi
callq 0x4360
movq %rbx, %rdi
callq 0x21c0
// File: /workspace/github_cpp_makefile_star2_O2/permutationlock[P]aes_math/lib/aes.cpp
// Function: sBox_inverse(GaloisPolynomial&)
GaloisPolynomial & sBox_inverse(GaloisPolynomial & p){
    // Calculate affine transformation
    vector<Modular<int>> coef;
    for(int r=0; r<8; r++){
        Modular<int> sum(0);
        for(int c=0; c<8; c++){
            sum += p[c] * rijndael_A_inverse[r*8+c];
        }
        coef.push_back(sum);
    }
    p = GaloisPolynomial(coef);
    
    // Add polynomial b inverse
    p += rijndael_b_inverse;
    
    // Invert each element
    p = p.inverse();
    
    return p;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rdi, %rbx
xorps %xmm0, %xmm0
leaq 0x20(%rsp), %r14
andq $0x0, 0x10(%r14)
movaps %xmm0, (%r14)
xorl %r13d, %r13d
movq %rsp, %r15
xorl %ebp, %ebp
cmpq $0x8, %rbp
je 0x4b3b
andl $0x0, (%rsp)
xorl %r12d, %r12d
cmpq $0x8, %r12
je 0x4b27
movq %rbx, %rdi
movl %r12d, %esi
callq 0x3de4
movq 0x868a(%rip), %rcx      # 0xd190
addq %r13, %rcx
imull (%rcx,%r12,4), %eax
movl 0x8634(%rip), %ecx      # 0xd148
cltd
idivl %ecx
movl %edx, %eax
addl (%rsp), %eax
cltd
idivl %ecx
movl %edx, (%rsp)
incq %r12
jmp 0x4aee
movq %r14, %rdi
movq %r15, %rsi
callq 0x3ea8
incq %rbp
addq $0x20, %r13
jmp 0x4ae1
movq %rsp, %rdi
leaq 0x20(%rsp), %rsi
pushq $0x2
popq %rdx
callq 0x38e6
movq %rsp, %rsi
movq %rbx, %rdi
callq 0x403e
movq %rsp, %rdi
callq 0x4360
leaq 0x8663(%rip), %rsi      # 0xd1c8
movq %rbx, %rdi
callq 0x3952
movq %rsp, %rdi
movq %rbx, %rsi
callq 0x39d4
movq %rsp, %rsi
movq %rbx, %rdi
callq 0x403e
movq %rsp, %rdi
callq 0x4360
leaq 0x20(%rsp), %rdi
callq 0x4360
movq %rbx, %rax
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x4bad
jmp 0x4bbe
jmp 0x4bbe
movq %rax, %rbx
movq %rsp, %rdi
callq 0x4360
jmp 0x4bc1
jmp 0x4bbe
jmp 0x4bbe
movq %rax, %rbx
leaq 0x20(%rsp), %rdi
callq 0x4360
movq %rbx, %rdi
callq 0x21c0
// File: /workspace/github_cpp_makefile_star2_O2/permutationlock[P]aes_math/lib/aes.cpp
// Function: subBytes(QSMatrix<GaloisPolynomial>&)
QSMatrix<GaloisPolynomial> & subBytes(QSMatrix<GaloisPolynomial> & state){
    Modular<int>::globalSetModulus(2);
    for(int i=0; i<state.getRows(); i++){
        for(int j=0; j<state.getCols(); j++){
            sBox(state(i,j));
        }
    }
    
    return state;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rdi, %rbx
movl $0x2, 0x855f(%rip)      # 0xd148
xorl %r14d, %r14d
movslq 0x20(%rbx), %rax
cmpq %rax, %r14
jge 0x4c26
imulq $0x18, %r14, %r15
xorl %r12d, %r12d
xorl %r13d, %r13d
movslq 0x24(%rbx), %rax
cmpq %rax, %r13
jge 0x4c21
movq 0x8(%rbx), %rax
movq (%rax,%r15), %rdi
addq %r12, %rdi
callq 0x4994
incq %r13
addq $0x20, %r12
jmp 0x4bff
incq %r14
jmp 0x4bec
movq %rbx, %rax
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O2/permutationlock[P]aes_math/lib/aes.cpp
// Function: subBytes_inverse(QSMatrix<GaloisPolynomial>&)
QSMatrix<GaloisPolynomial> & subBytes_inverse(QSMatrix<GaloisPolynomial> & state){
    Modular<int>::globalSetModulus(2);
    for(int i=0; i<state.getRows(); i++){
        for(int j=0; j<state.getCols(); j++){
            sBox_inverse(state(i,j));
        }
    }
    
    return state;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rdi, %rbx
movl $0x2, 0x84ff(%rip)      # 0xd148
xorl %r14d, %r14d
movslq 0x20(%rbx), %rax
cmpq %rax, %r14
jge 0x4c86
imulq $0x18, %r14, %r15
xorl %r12d, %r12d
xorl %r13d, %r13d
movslq 0x24(%rbx), %rax
cmpq %rax, %r13
jge 0x4c81
movq 0x8(%rbx), %rax
movq (%rax,%r15), %rdi
addq %r12, %rdi
callq 0x4ab7
incq %r13
addq $0x20, %r12
jmp 0x4c5f
incq %r14
jmp 0x4c4c
movq %rbx, %rax
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O2/permutationlock[P]aes_math/lib/aes.cpp
// Function: shiftRows(QSMatrix<GaloisPolynomial>&)
QSMatrix<GaloisPolynomial> & shiftRows(QSMatrix<GaloisPolynomial> & state){
    for(int i=0; i<state.getRows(); i++){
        vector<GaloisPolynomial> temp;  // Save first as temp since it is overwritten
        for(int j=0; j<state.getCols(); j++){
            int c = (j+i)%state.getCols();
            temp.push_back(state(i,c));
        }
        for(int j=0; j<state.getCols(); j++){
            state(i,j) = temp[j];
        }
    }
    
    return state;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdi, %rbx
xorl %r15d, %r15d
movq %rsp, %r14
movslq 0x20(%rbx), %rax
cmpq %rax, %r15
jge 0x4d32
andq $0x0, 0x10(%rsp)
xorps %xmm0, %xmm0
movaps %xmm0, (%rsp)
xorl %r13d, %r13d
imulq $0x18, %r15, %r12
movl 0x24(%rbx), %ecx
cmpl %ecx, %r13d
jge 0x4cf2
leal (%r15,%r13), %eax
cltd
idivl %ecx
movq 0x8(%rbx), %rax
shlq $0x5, %rdx
addq (%rax,%r12), %rdx
movq %r14, %rdi
movq %rdx, %rsi
callq 0x59ee
incl %r13d
jmp 0x4cc7
xorl %r13d, %r13d
xorl %ebp, %ebp
movslq %ecx, %rax
cmpq %rax, %rbp
jge 0x4d22
movq (%rsp), %rsi
addq %r13, %rsi
movq 0x8(%rbx), %rax
movq (%rax,%r12), %rdi
addq %r13, %rdi
callq 0x403e
incq %rbp
movl 0x24(%rbx), %ecx
addq $0x20, %r13
jmp 0x4cf7
movq %r14, %rdi
callq 0x59b8
incq %r15
jmp 0x4caa
movq %rbx, %rax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x4d46
movq %rax, %rbx
movq %rsp, %rdi
callq 0x59b8
movq %rbx, %rdi
callq 0x21c0
// File: /workspace/github_cpp_makefile_star2_O2/permutationlock[P]aes_math/lib/aes.cpp
// Function: shiftRows_inverse(QSMatrix<GaloisPolynomial>&)
QSMatrix<GaloisPolynomial> & shiftRows_inverse(QSMatrix<GaloisPolynomial> & state){
    for(int i=0; i<state.getRows(); i++){
        vector<GaloisPolynomial> temp;  // Save first as temp since it is overwritten
        for(int j=0; j<state.getCols(); j++){
            int c = (j-i);
            if(c<0) c = state.getCols() + c;
            temp.push_back(state(i,c));
        }
        for(int j=0; j<state.getCols(); j++){
            state(i,j) = temp[j];
        }
    }
    
    return state;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdi, %rbx
xorl %r15d, %r15d
leaq 0x10(%rsp), %r14
xorl %r12d, %r12d
movslq 0x20(%rbx), %rax
cmpq %rax, %r12
jge 0x4e13
andq $0x0, 0x20(%rsp)
xorps %xmm0, %xmm0
movaps %xmm0, 0x10(%rsp)
xorl %ebp, %ebp
imulq $0x18, %r12, %r13
movq %r15, 0x8(%rsp)
movl 0x24(%rbx), %eax
cmpl %eax, %ebp
jge 0x4dcb
movl %r15d, %ecx
sarl $0x1f, %ecx
andl %eax, %ecx
movq 0x8(%rbx), %rax
movslq %ecx, %rsi
addq %r15, %rsi
shlq $0x5, %rsi
addq (%rax,%r13), %rsi
movq %r14, %rdi
callq 0x59ee
incl %ebp
incq %r15
jmp 0x4d9b
xorl %r15d, %r15d
xorl %ebp, %ebp
cltq
cmpq %rax, %rbp
jge 0x4dfb
movq 0x10(%rsp), %rsi
addq %r15, %rsi
movq 0x8(%rbx), %rax
movq (%rax,%r13), %rdi
addq %r15, %rdi
callq 0x403e
incq %rbp
movl 0x24(%rbx), %eax
addq $0x20, %r15
jmp 0x4dd0
movq %r14, %rdi
callq 0x59b8
incq %r12
movq 0x8(%rsp), %r15
decq %r15
jmp 0x4d75
movq %rbx, %rax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x4e27
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x59b8
movq %rbx, %rdi
callq 0x21c0
// File: /workspace/github_cpp_makefile_star2_O2/permutationlock[P]aes_math/lib/aes.cpp
// Function: extractPoly(std::vector<unsigned char, std::allocator<unsigned char>>&)
GaloisPolynomial extractPoly(vector<unsigned char> & text){
    if(text.size() == 0) return GaloisPolynomial(0);
    int n = (int) text[0];
    text.erase(text.begin());
    return GaloisPolynomial(n);
}

// Assembly:
pushq %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq (%rsi), %rax
cmpq %rax, 0x8(%rsi)
je 0x4f11
movzbl (%rax), %ebp
movq %rsi, %rdi
movq %rax, %rsi
callq 0x5cea
jmp 0x4f13
xorl %ebp, %ebp
pushq $0x2
popq %rdx
pushq $0x8
popq %rcx
movq %rbx, %rdi
movl %ebp, %esi
callq 0x38b0
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O2/permutationlock[P]aes_math/lib/aes.cpp
// Function: keyExpandCore(std::vector<GaloisPolynomial, std::allocator<GaloisPolynomial>>&, int)
vector<GaloisPolynomial>& keyExpandCore(vector<GaloisPolynomial> & word, int iteration){
    // Do a simple left rotate of bytes
    GaloisPolynomial temp(word[0]);
    word[0] = word[1];
    word[1] = word[2];
    word[2] = word[3];
    word[3] = temp;
    
    // Apply S-Box to each byte
    for(int i=0; i<4; i++){
        sBox(word[i]);
    }
    
    // Apply Rcon operation (add 2^(iteration-1) to word[0])
    vector<Modular<int>> v;
    for(int i=0; i<iteration-2; i++){
        v.push_back(0);
    }
    v.push_back(1);
    word[0] += GaloisPolynomial(v);
    
    return word;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x60, %rsp
movl %esi, %ebp
movq %rdi, %rbx
movq (%rdi), %rsi
leaq 0x40(%rsp), %rdi
callq 0x2ce0
movq (%rbx), %rdi
leaq 0x20(%rdi), %rsi
callq 0x403e
movq (%rbx), %rdi
leaq 0x40(%rdi), %rsi
addq $0x20, %rdi
callq 0x403e
movq (%rbx), %rdi
leaq 0x60(%rdi), %rsi
addq $0x40, %rdi
callq 0x403e
movq (%rbx), %rdi
addq $0x60, %rdi
leaq 0x40(%rsp), %rsi
callq 0x403e
xorl %r14d, %r14d
cmpq $0x80, %r14
je 0x4fa5
movq (%rbx), %rdi
addq %r14, %rdi
callq 0x4994
addq $0x20, %r14
jmp 0x4f8b
leaq 0x20(%rsp), %r14
andq $0x0, 0x10(%r14)
xorps %xmm0, %xmm0
movaps %xmm0, (%r14)
cmpl $0x3, %ebp
pushq $0x2
popq %r12
cmovgel %ebp, %r12d
addl $-0x2, %r12d
movq %rsp, %r15
subl $0x1, %r12d
jb 0x4fdf
andl $0x0, (%rsp)
movq %r14, %rdi
movq %r15, %rsi
callq 0x437e
jmp 0x4fc8
movq %rsp, %rsi
movl $0x1, (%rsi)
leaq 0x20(%rsp), %rdi
callq 0x437e
movq %rsp, %rdi
leaq 0x20(%rsp), %rsi
pushq $0x2
popq %rdx
callq 0x38e6
movq (%rbx), %rdi
movq %rsp, %rsi
callq 0x3952
movq %rsp, %rdi
callq 0x4360
leaq 0x20(%rsp), %rdi
callq 0x4360
leaq 0x40(%rsp), %rdi
callq 0x4360
movq %rbx, %rax
addq $0x60, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq %rsp, %rdi
callq 0x4360
jmp 0x504f
jmp 0x504c
jmp 0x504c
jmp 0x505b
movq %rax, %rbx
leaq 0x20(%rsp), %rdi
callq 0x4360
jmp 0x505e
movq %rax, %rbx
leaq 0x40(%rsp), %rdi
callq 0x4360
movq %rbx, %rdi
callq 0x21c0
// File: /workspace/github_cpp_makefile_star2_O2/permutationlock[P]aes_math/lib/matrix.cpp
// Function: QSMatrix<GaloisPolynomial>::QSMatrix(int, int, std::vector<GaloisPolynomial, std::allocator<GaloisPolynomial>> const&)
QSMatrix<T>::QSMatrix(int rows, int cols, const vector<T> & _initial) {
    _mat.resize(rows);
    for (int i=0; i<_mat.size(); i++) {
        _mat[i].resize(cols);
        for (int j=0; j<_mat[i].size(); j++){
            _mat[i][j] = _initial[i*rows+j];
        }
    }
    _rows = rows;
    _cols = cols;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rcx, %r14
movl %edx, %ebp
movq %rdi, %r15
leaq 0x74c7(%rip), %rax      # 0xcd88
movq %rax, (%rdi)
leaq 0x8(%rdi), %rbx
xorps %xmm0, %xmm0
movups %xmm0, 0x8(%rdi)
andq $0x0, 0x18(%rdi)
movl %esi, 0x4(%rsp)
movslq %esi, %r13
movq %rbx, %rdi
movq %r13, %rsi
callq 0x5fea
movl %ebp, (%rsp)
movslq %ebp, %rax
movq %rax, 0x18(%rsp)
movq 0x8(%r15), %rdi
shlq $0x5, %r13
xorl %r12d, %r12d
xorl %esi, %esi
movq %r15, 0x10(%rsp)
movq %r13, 0x8(%rsp)
movq 0x10(%r15), %rax
subq %rdi, %rax
cqto
pushq $0x18
popq %rcx
idivq %rcx
cmpq %rsi, %rax
jbe 0x5983
movq %rsi, 0x20(%rsp)
imulq $0x18, %rsi, %r13
addq %r13, %rdi
movq 0x18(%rsp), %rsi
callq 0x6020
xorl %r15d, %r15d
xorl %ebp, %ebp
movq (%rbx), %rdi
movq (%rdi,%r13), %rax
movq 0x8(%rdi,%r13), %rcx
subq %rax, %rcx
sarq $0x5, %rcx
cmpq %rbp, %rcx
jbe 0x596c
movq (%r14), %rsi
addq %r12, %rsi
addq %r15, %rsi
addq %r15, %rax
movq %rax, %rdi
callq 0x403e
incq %rbp
addq $0x20, %r15
jmp 0x5937
movq 0x20(%rsp), %rsi
incq %rsi
movq 0x8(%rsp), %r13
addq %r13, %r12
movq 0x10(%rsp), %r15
jmp 0x5908
movl 0x4(%rsp), %eax
movl %eax, 0x20(%r15)
movl (%rsp), %eax
movl %eax, 0x24(%r15)
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x59a5
jmp 0x59a5
movq %rax, %r14
movq %rbx, %rdi
callq 0x6050
movq %r14, %rdi
callq 0x21c0
// File: /workspace/github_cpp_makefile_star2_O2/permutationlock[P]aes_math/lib/matrix.cpp
// Function: QSMatrix<GaloisPolynomial>::operator*(QSMatrix<GaloisPolynomial> const&) const
QSMatrix<T> QSMatrix<T>::operator*(const QSMatrix<T>& rhs) const {
    int _rows = rhs.getRows();
    int _cols = rhs.getCols();
    QSMatrix result(_rows, _cols, 0.0);

    for (int i=0; i<_rows; i++) {
        for (int j=0; j<_cols; j++) {
            for (int k=0; k<_rows; k++) {
                result(i,j) += this->_mat[i][k] * rhs(k,j);
            }
        }
    }

    return result;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movq %rsi, 0x28(%rsp)
movq %rdi, %rbx
movl 0x20(%rdx), %r12d
movq %rdx, 0x30(%rsp)
movl 0x24(%rdx), %r14d
leaq 0x38(%rsp), %rbp
xorl %r15d, %r15d
pushq $0x2
popq %rdx
pushq $0x8
popq %rcx
movq %rbp, %rdi
xorl %esi, %esi
callq 0x38b0
movq %rbx, (%rsp)
movq %rbx, %rdi
movl %r12d, %esi
movl %r14d, %edx
movq %rbp, %rcx
callq 0x6646
leaq 0x38(%rsp), %rbp
movq %rbp, %rdi
callq 0x4360
testl %r14d, %r14d
cmovlel %r15d, %r14d
testl %r12d, %r12d
movl $0x0, %eax
cmovgl %r12d, %eax
movq %rax, 0x8(%rsp)
shlq $0x5, %r12
movq %r14, 0x18(%rsp)
cmpq 0x8(%rsp), %r15
je 0x5b34
movq %r15, 0x10(%rsp)
imulq $0x18, %r15, %r13
xorl %ebx, %ebx
cmpq %r14, %rbx
je 0x5b27
movq %rbx, 0x20(%rsp)
shlq $0x5, %rbx
xorl %r14d, %r14d
xorl %r15d, %r15d
cmpq %r15, %r12
je 0x5b18
movq 0x28(%rsp), %rax
movq 0x8(%rax), %rax
movq (%rax,%r13), %rsi
addq %r15, %rsi
movq 0x30(%rsp), %rax
movq 0x8(%rax), %rax
movq (%rax,%r14), %rdx
addq %rbx, %rdx
movq %rbp, %rdi
callq 0x3cc0
movq (%rsp), %rax
movq 0x8(%rax), %rax
movq (%rax,%r13), %rdi
addq %rbx, %rdi
movq %rbp, %rsi
callq 0x3952
movq %rbp, %rdi
callq 0x4360
addq $0x20, %r15
addq $0x18, %r14
jmp 0x5ac2
movq 0x20(%rsp), %rbx
incq %rbx
movq 0x18(%rsp), %r14
jmp 0x5aae
movq 0x10(%rsp), %r15
incq %r15
jmp 0x5a98
movq (%rsp), %rax
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
leaq 0x38(%rsp), %rdi
callq 0x4360
jmp 0x5b71
movq %rax, %r14
jmp 0x5b68
movq %rax, %r14
leaq 0x38(%rsp), %rdi
callq 0x4360
movq (%rsp), %rdi
callq 0x59da
movq %r14, %rdi
callq 0x21c0
nop
// File: /workspace/github_cpp_makefile_star2_O2/permutationlock[P]aes_math/lib/matrix.cpp
// Function: QSMatrix<GaloisPolynomial>::operator=(QSMatrix<GaloisPolynomial> const&)
QSMatrix<T>& QSMatrix<T>::operator=(const QSMatrix<T>& rhs) {
    if (&rhs == this)
        return *this;

    int newrows = rhs.getRows();
    int newcols = rhs.getCols();

    _mat.resize(newrows);
    for (int i=0; i<_mat.size(); i++) {
        _mat[i].resize(newcols);
    }

    for (int i=0; i<newrows; i++) {
        for (int j=0; j<newcols; j++) {
            _mat[i][j] = rhs(i, j);
        }
    }
    _rows = newrows;
    _cols = newcols;

    return *this;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdi, %rbx
cmpq %rdi, %rsi
je 0x5c5e
movq %rsi, %r14
movl 0x20(%rsi), %eax
movl 0x24(%rsi), %ebp
leaq 0x8(%rbx), %r15
movl %eax, 0x4(%rsp)
movslq %eax, %rsi
movq %r15, %rdi
callq 0x5fea
movl %ebp, (%rsp)
movslq %ebp, %r12
xorl %r13d, %r13d
xorl %ebp, %ebp
movq 0x8(%rbx), %rdi
movq 0x10(%rbx), %rax
subq %rdi, %rax
cqto
pushq $0x18
popq %rcx
idivq %rcx
cmpq %rbp, %rax
jbe 0x5be7
addq %r13, %rdi
movq %r12, %rsi
callq 0x6020
incq %rbp
addq $0x18, %r13
jmp 0x5bbb
xorl %r12d, %r12d
movl (%rsp), %eax
testl %eax, %eax
movl $0x0, %r13d
cmovgl %eax, %r13d
movl 0x4(%rsp), %eax
testl %eax, %eax
movl $0x0, %ecx
cmovgl %eax, %ecx
movq %rcx, 0x10(%rsp)
shlq $0x5, %r13
movq %rbx, 0x8(%rsp)
cmpq 0x10(%rsp), %r12
je 0x5c51
imulq $0x18, %r12, %rbp
xorl %ebx, %ebx
cmpq %rbx, %r13
je 0x5c47
movq 0x8(%r14), %rax
movq (%rax,%rbp), %rsi
addq %rbx, %rsi
movq (%r15), %rax
movq (%rax,%rbp), %rdi
addq %rbx, %rdi
callq 0x403e
addq $0x20, %rbx
jmp 0x5c22
incq %r12
movq 0x8(%rsp), %rbx
jmp 0x5c15
movl 0x4(%rsp), %eax
movl %eax, 0x20(%rbx)
movl (%rsp), %eax
movl %eax, 0x24(%rbx)
movq %rbx, %rax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O2/permutationlock[P]aes_math/lib/matrix.cpp
// Function: QSMatrix<GaloisPolynomial>::operator+=(QSMatrix<GaloisPolynomial> const&)
QSMatrix<T>& QSMatrix<T>::operator+=(const QSMatrix<T>& rhs) {
    int _rows = rhs.getRows();
    int _cols = rhs.getCols();

    for (int i=0; i<_rows; i++) {
        for (int j=0; j<_cols; j++) {
            this->_mat[i][j] += rhs(i,j);
        }
    }

    return *this;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
movl 0x20(%rsi), %eax
movl 0x24(%rsi), %r12d
xorl %r13d, %r13d
testl %r12d, %r12d
cmovlel %r13d, %r12d
testl %eax, %eax
cmovlel %r13d, %eax
movq %rax, (%rsp)
shlq $0x5, %r12
cmpq (%rsp), %r13
je 0x5cd8
imulq $0x18, %r13, %rbp
xorl %r15d, %r15d
cmpq %r15, %r12
je 0x5cd3
movq 0x8(%r14), %rax
movq (%rax,%rbp), %rsi
addq %r15, %rsi
movq 0x8(%rbx), %rax
movq (%rax,%rbp), %rdi
addq %r15, %rdi
callq 0x3952
addq $0x20, %r15
jmp 0x5cad
incq %r13
jmp 0x5ca0
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq