LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O1/momohatt[P]seccampDB/main.cpp
// Function: main
int main()
{
    scheduler.add_tx(move(transaction1));
    // scheduler.add_tx(move(transaction2));
    // scheduler.add_tx(move(transaction3));
    scheduler.add_tx(move(transaction4));
    scheduler.add_tx(move(transaction4));

    scheduler.start();
    return 0;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x60, %rsp
xorps %xmm0, %xmm0
leaq 0x40(%rsp), %rsi
movaps %xmm0, (%rsi)
movaps %xmm0, 0x10(%rsi)
leaq -0x3d9(%rip), %rax      # 0xab48
movq %rax, (%rsi)
leaq 0x297(%rip), %rbx       # 0xb1c2
movq %rbx, 0x18(%rsi)
leaq 0x294(%rip), %r14       # 0xb1ca
movq %r14, 0x10(%rsi)
leaq 0x739f(%rip), %rdi      # 0x122e0
callq 0x531e
movq 0x50(%rsp), %rax
testq %rax, %rax
je 0xaf5f
leaq 0x40(%rsp), %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
xorps %xmm0, %xmm0
leaq 0x20(%rsp), %rsi
movaps %xmm0, (%rsi)
movaps %xmm0, 0x10(%rsi)
leaq -0x236(%rip), %r15      # 0xad3f
movq %r15, (%rsi)
movq %rbx, 0x18(%rsi)
movq %r14, 0x10(%rsi)
leaq 0x7359(%rip), %rdi      # 0x122e0
callq 0x531e
movq 0x30(%rsp), %rax
testq %rax, %rax
je 0xafa5
leaq 0x20(%rsp), %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
xorps %xmm0, %xmm0
movq %rsp, %rsi
movaps %xmm0, (%rsi)
movaps %xmm0, 0x10(%rsi)
movq %r15, (%rsi)
movq %rbx, 0x18(%rsi)
movq %r14, 0x10(%rsi)
leaq 0x731c(%rip), %rdi      # 0x122e0
callq 0x531e
movq 0x10(%rsp), %rax
testq %rax, %rax
je 0xafe0
movq %rsp, %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
leaq 0x72f9(%rip), %rdi      # 0x122e0
callq 0x54d4
xorl %eax, %eax
addq $0x60, %rsp
popq %rbx
popq %r14
popq %r15
retq
jmp 0xb060
jmp 0xb060
jmp 0xb060
movq %rax, %rbx
movq 0x10(%rsp), %rax
testq %rax, %rax
je 0xb058
movq %rsp, %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
jmp 0xb058
jmp 0xb060
movq %rax, %rbx
movq 0x30(%rsp), %rax
testq %rax, %rax
je 0xb058
leaq 0x20(%rsp), %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
jmp 0xb058
jmp 0xb060
movq %rax, %rbx
movq 0x50(%rsp), %rax
testq %rax, %rax
je 0xb058
leaq 0x40(%rsp), %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
movq %rbx, %rdi
callq 0x3410
movq %rax, %rdi
callq 0x75e4
// File: /workspace/github_cpp_makefile_star2_O1/EverybodyHops[P]Permutations/magic_square.cpp
// Function: main
int main(){
    int rank;
    cout << "input the rank of magic square: ";
    cin >> rank;
    magic_square ms;
    auto ans = ms.get_magic_square(rank);
    ms.print_ans(ans, rank);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
subq $0x38, %rsp
movq 0x4f6c(%rip), %rdi      # 0x6fd0
leaq 0x2015(%rip), %rsi      # 0x4080
movl $0x20, %edx
callq 0x1120
movq 0x4f64(%rip), %rdi      # 0x6fe0
leaq -0x10(%rbp), %rbx
movq %rbx, %rsi
callq 0x10a0
movl (%rbx), %edx
leaq -0x40(%rbp), %rbx
leaq -0x9(%rbp), %rsi
movq %rbx, %rdi
callq 0x20f4
leaq -0x28(%rbp), %rdi
movq %rbx, %rsi
callq 0x261e
movl -0x10(%rbp), %edx
leaq -0x9(%rbp), %rdi
leaq -0x28(%rbp), %rsi
callq 0x24ac
leaq -0x28(%rbp), %rdi
callq 0x26ba
leaq -0x40(%rbp), %rdi
callq 0x26ba
xorl %eax, %eax
addq $0x38, %rsp
popq %rbx
popq %rbp
retq
movq %rax, %rbx
leaq -0x28(%rbp), %rdi
callq 0x26ba
jmp 0x20e2
movq %rax, %rbx
leaq -0x40(%rbp), %rdi
callq 0x26ba
movq %rbx, %rdi
callq 0x1190
nop
// File: /workspace/github_cpp_makefile_star2_O1/EverybodyHops[P]Permutations/magic_square.cpp
// Function: magic_square::print_ans(std::vector<std::vector<int, std::allocator<int>>, std::allocator<std::vector<int, std::allocator<int>>>>, int)
void print_ans(vector<vector<int>> ans, int rank){
        cout << "find " << ans.size() << " magic square!" << endl;
        for(auto p: ans){
            cout << "**********" << endl;
            print_magic_square(p, rank);
        }
    }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movl %edx, -0x2c(%rbp)
movq %rsi, %rbx
movq %rdi, -0x38(%rbp)
movq 0x4b02(%rip), %r15      # 0x6fd0
leaq 0x1bcc(%rip), %rsi      # 0x40a1
movl $0x5, %edx
movq %r15, %rdi
callq 0x1120
movq 0x8(%rbx), %rax
subq (%rbx), %rax
sarq $0x3, %rax
movabsq $-0x5555555555555555, %rsi # imm = 0xAAAAAAAAAAAAAAAB
imulq %rax, %rsi
movq %r15, %rdi
callq 0x10b0
movq %rax, %r12
leaq 0x1b9a(%rip), %rsi      # 0x40a7
movl $0xe, %edx
movq %rax, %rdi
callq 0x1120
movq (%r12), %rax
movq -0x18(%rax), %rdi
addq %r12, %rdi
movl $0xa, %esi
callq 0x1100
movsbl %al, %esi
movq %r12, %rdi
callq 0x1040
movq %rax, %rdi
callq 0x10c0
movq (%rbx), %r12
movq 0x8(%rbx), %r14
cmpq %r14, %r12
je 0x25e3
leaq -0x68(%rbp), %r13
leaq -0x50(%rbp), %rbx
movq %r13, %rdi
movq %r12, %rsi
callq 0x1c9c
movl $0xa, %edx
movq %r15, %rdi
leaq 0x1b42(%rip), %rsi      # 0x40b6
callq 0x1120
movq (%r15), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x1100
movsbl %al, %esi
movq %r15, %rdi
callq 0x1040
movq %rax, %rdi
callq 0x10c0
movq %rbx, %rdi
movq %r13, %rsi
callq 0x1c9c
movq -0x38(%rbp), %rdi
movq %rbx, %rsi
movl -0x2c(%rbp), %edx
callq 0x36b8
movq -0x50(%rbp), %rdi
testq %rdi, %rdi
je 0x25c8
callq 0x10f0
movq -0x68(%rbp), %rdi
testq %rdi, %rdi
je 0x25d6
callq 0x10f0
addq $0x18, %r12
cmpq %r14, %r12
jne 0x255a
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq -0x50(%rbp), %rdi
testq %rdi, %rdi
je 0x2608
callq 0x10f0
jmp 0x2608
movq %rax, %rbx
movq -0x68(%rbp), %rdi
testq %rdi, %rdi
je 0x2616
callq 0x10f0
movq %rbx, %rdi
callq 0x1190
// File: /workspace/github_cpp_makefile_star2_O1/EverybodyHops[P]Permutations/magic_square.cpp
// Function: magic_square::if_magic_square(std::vector<int, std::allocator<int>>, int, int)
bool if_magic_square(vector<int> p, int rank, int magic_sum){
        int **array2D = new int *[rank];
        for(int i = 0; i < rank; i++){
            array2D[i] = new int[rank];
        }

        for(int i = 0; i < rank; i++){
            for(int j = 0; j < rank; j++){
                array2D[i][j] = p[i * rank + j];
            }
        }
        
        bool flag = true;
        int t1, t2, t3, t4;
        t3 = 0; t4 = 0;
        for(int i = 0; i < rank; i++){
            t1 = 0; t2 = 0;
            for(int j = 0; j < rank; j++){
                t1 += array2D[i][j];
                t2 += array2D[j][i];
            }
            if(t1 != magic_sum || t2 != magic_sum){
                flag = false;
                break;
            }
            t3 += array2D[i][i];
            t4 += array2D[rank - i - 1][i];
        }
        if(t3 != magic_sum || t4 != magic_sum){
            flag = false;
        }

        for(int i = 0; i < rank; i++){
            delete[] array2D[i];
        }
        delete[] array2D;
        return flag;
    }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movl %ecx, -0x2c(%rbp)
movl %edx, %r15d
movq %rsi, -0x38(%rbp)
movslq %edx, %r13
leaq (,%r13,8), %rax
testl %r13d, %r13d
movq $-0x1, %rdi
cmovnsq %rax, %rdi
callq 0x1030
movq %rax, %r14
movl %r15d, %r12d
testl %r13d, %r13d
jle 0x2762
shlq $0x2, %r13
xorl %ebx, %ebx
movq %r13, %rdi
callq 0x1030
movq %rax, (%r14,%rbx,8)
incq %rbx
cmpq %rbx, %r12
jne 0x274e
testl %r15d, %r15d
movl -0x2c(%rbp), %r10d
jle 0x279d
movq -0x38(%rbp), %rax
movq (%rax), %rax
leaq (,%r12,4), %rcx
xorl %edx, %edx
movq (%r14,%rdx,8), %rsi
xorl %edi, %edi
movl (%rax,%rdi,4), %r8d
movl %r8d, (%rsi,%rdi,4)
incq %rdi
cmpq %rdi, %r12
jne 0x2782
incq %rdx
addq %rcx, %rax
cmpq %r12, %rdx
jne 0x277c
movl %r15d, %r11d
testl %r15d, %r15d
setle %r13b
jle 0x2800
leaq (%r14,%r12,8), %rax
xorl %ecx, %ecx
xorl %ebx, %ebx
xorl %r15d, %r15d
movq (%r14,%rcx,8), %rsi
xorl %edi, %edi
xorl %edx, %edx
xorl %r8d, %r8d
addl (%rsi,%rdi,4), %r8d
movq (%r14,%rdi,8), %r9
addl (%r9,%rcx,4), %edx
incq %rdi
cmpq %rdi, %r12
jne 0x27bf
cmpl %r10d, %r8d
jne 0x2805
cmpl %r10d, %edx
jne 0x2805
movq (%r14,%rcx,8), %rdx
addl (%rdx,%rcx,4), %r15d
movq %rcx, %rdx
notq %rdx
movq (%rax,%rdx,8), %rdx
addl (%rdx,%rcx,4), %ebx
incq %rcx
cmpq %r12, %rcx
setae %r13b
jne 0x27b4
jmp 0x2805
xorl %r15d, %r15d
xorl %ebx, %ebx
movb %r13b, -0x38(%rbp)
testl %r11d, %r11d
jle 0x2827
xorl %r13d, %r13d
movq (%r14,%r13,8), %rdi
testq %rdi, %rdi
je 0x281f
callq 0x1130
incq %r13
cmpq %r13, %r12
jne 0x2811
movl -0x2c(%rbp), %eax
xorl %eax, %r15d
xorl %eax, %ebx
orl %r15d, %ebx
sete %bl
andb -0x38(%rbp), %bl
movq %r14, %rdi
callq 0x1130
movl %ebx, %eax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/EverybodyHops[P]Permutations/magic_square.cpp
// Function: magic_square::print_magic_square(std::vector<int, std::allocator<int>>, int)
void print_magic_square(vector<int> p, int rank){
        for(int i = 0; i < rank; i++){
            for(int j = 0; j < rank; j++){
                cout << p[i * rank + j] << " ";
            }
            cout << endl;
        }
    }

// Assembly:
testl %edx, %edx
jle 0x3777
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rsi, %rbx
movl %edx, %r13d
leaq (,%r13,4), %rax
movq %rax, -0x30(%rbp)
xorl %r12d, %r12d
movq 0x38e3(%rip), %r14      # 0x6fd0
leaq 0x9ab(%rip), %r15       # 0x409f
xorl %eax, %eax
movq %r13, -0x38(%rbp)
movq %rax, -0x40(%rbp)
movq %r12, -0x48(%rbp)
movq (%rbx), %rax
movl (%rax,%r12), %esi
movq %r14, %rdi
callq 0x1180
movl $0x1, %edx
movq %rax, %rdi
movq %r15, %rsi
callq 0x1120
addq $0x4, %r12
decq %r13
jne 0x3702
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x1100
movsbl %al, %esi
movq %r14, %rdi
callq 0x1040
movq %rax, %rdi
callq 0x10c0
movq -0x40(%rbp), %rax
incq %rax
movq -0x48(%rbp), %r12
addq -0x30(%rbp), %r12
movq -0x38(%rbp), %r13
cmpq %r13, %rax
jne 0x36fa
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/srajangarg[P]image-morph/src/morph.cpp
// Function: blendImages(Image const&, Image const&, double)
Image
blendImages(Image const & img1, Image const & img2, double t)
{
  assert(img1.hasSameDimsAs(img2));

  std::cout << "Blending images..." << std::endl;

  int w = img1.width();
  int h = img1.height();
  int n = img1.numChannels();
  unsigned char *res_pix;
  const unsigned char *pix_1, *pix_2;

  Image result(w, h, n);

  for (int row = 0; row < h; ++row)
  {
    for (int col = 0; col < w; ++col)
    { 
      res_pix = result.pixel(row, col);
      pix_1 = img1.pixel(row, col);
      pix_2 = img2.pixel(row, col);

      for (int channel = 0; channel < n; ++channel)
      { 
        // weighted average of the value of the pixel
        double z = ((double)pix_1[channel] * t)
                 + ((double)pix_2[channel] * (1-t));
        res_pix[channel] = floor(z);
      }
    }
  }

  return result;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movsd %xmm0, 0x28(%rsp)
movq %rsi, %r14
movq %rdi, %rbx
movq %rsi, %rdi
movq %rdx, 0x38(%rsp)
movq %rdx, %rsi
callq 0x2a56
testb %al, %al
je 0x35e7
movq 0x18b56(%rip), %r12     # 0x1bfd0
leaq 0x12d7b(%rip), %rsi     # 0x161fc
movl $0x12, %edx
movq %r12, %rdi
callq 0x2240
movq (%r12), %rax
movq -0x18(%rax), %rdi
addq %r12, %rdi
movl $0xa, %esi
callq 0x21c0
movsbl %al, %esi
movq %r12, %rdi
callq 0x2040
movq %rax, %rdi
callq 0x2150
movl (%r14), %esi
movl 0x4(%r14), %ebp
movq %r14, 0x30(%rsp)
movl 0x8(%r14), %r13d
movq %rbx, 0x20(%rsp)
movq %rbx, %rdi
movl %esi, 0xc(%rsp)
movl %ebp, %edx
movl %r13d, %ecx
callq 0x25b4
movl %ebp, 0x1c(%rsp)
testl %ebp, %ebp
movsd 0x28(%rsp), %xmm2
jle 0x35d3
movsd 0x12bc2(%rip), %xmm3    # 0x160b8
subsd %xmm2, %xmm3
movq $0x0, 0x10(%rsp)
movsd %xmm3, 0x40(%rsp)
cmpl $0x0, 0xc(%rsp)
jle 0x35bd
xorl %ebp, %ebp
testl %r13d, %r13d
jle 0x35b1
movq 0x20(%rsp), %rcx
movl (%rcx), %eax
movq 0x10(%rsp), %rdx
imull %edx, %eax
addl %ebp, %eax
imull 0x8(%rcx), %eax
movslq %eax, %rbx
addq 0x10(%rcx), %rbx
movq 0x38(%rsp), %rcx
movl (%rcx), %eax
imull %edx, %eax
addl %ebp, %eax
imull 0x8(%rcx), %eax
movslq %eax, %r14
addq 0x10(%rcx), %r14
movq 0x30(%rsp), %rcx
movl (%rcx), %eax
imull %edx, %eax
addl %ebp, %eax
imull 0x8(%rcx), %eax
movslq %eax, %r15
addq 0x10(%rcx), %r15
xorl %r12d, %r12d
movzbl (%r15,%r12), %eax
xorps %xmm0, %xmm0
cvtsi2sd %eax, %xmm0
movzbl (%r14,%r12), %eax
xorps %xmm1, %xmm1
cvtsi2sd %eax, %xmm1
mulsd %xmm3, %xmm1
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
callq 0x2360
movsd 0x40(%rsp), %xmm3
movsd 0x28(%rsp), %xmm2
cvttsd2si %xmm0, %eax
movb %al, (%rbx,%r12)
incq %r12
cmpq %r12, %r13
jne 0x356c
incl %ebp
cmpl 0xc(%rsp), %ebp
jne 0x3516
movq 0x10(%rsp), %rax
incl %eax
movq %rax, 0x10(%rsp)
cmpl 0x1c(%rsp), %eax
jne 0x3509
movq 0x20(%rsp), %rax
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x12bbd(%rip), %rdi     # 0x161ab
leaq 0x12b0e(%rip), %rsi     # 0x16103
leaq 0x12bc8(%rip), %rcx     # 0x161c4
movl $0xb9, %edx
callq 0x2120
// File: /workspace/github_cpp_makefile_star2_O1/srajangarg[P]image-morph/src/morph.cpp
// Function: morphImages(Image const&, Image const&, std::vector<LineSegment, std::allocator<LineSegment>> const&, std::vector<LineSegment, std::allocator<LineSegment>> const&, double, double, double, double)
Image
morphImages(Image const & img1,
            Image const & img2,
            std::vector<LineSegment> const & seg1,
            std::vector<LineSegment> const & seg2,
            double t,
            double a, double b, double p)
{
  assert(img1.hasSameDimsAs(img2));

  // First distort img1 from 0 to t
  // using seg1 as the initial segments and seg2 as the final ones.
  Image distorted1 = distortImage(img1, seg1, seg2, t, a, b, p);

  // Then distort img2 from 1 to (1 - t)
  // using seg2 as the initial segments and seg1 as the final ones.
  Image distorted2 = distortImage(img2, seg2, seg1, 1-t, a, b, p);

  // Now blend the results by linearly interpolating ("lerping")
  Image blended = blendImages(distorted1, distorted2, 1-t);

  // return Image();
  return blended;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x50, %rsp
movsd %xmm3, 0x18(%rsp)
movsd %xmm2, 0x10(%rsp)
movsd %xmm1, 0x8(%rsp)
movsd %xmm0, (%rsp)
movq %r8, %r15
movq %rcx, %r14
movq %rdx, %r12
movq %rsi, %r13
movq %rdi, %rbx
movq %rsi, %rdi
movq %rdx, %rsi
callq 0x2a56
testb %al, %al
je 0x36e9
leaq 0x38(%rsp), %rdi
movq %r13, %rsi
movq %r14, %rdx
movq %r15, %rcx
movsd (%rsp), %xmm0
movsd 0x8(%rsp), %xmm1
movsd 0x10(%rsp), %xmm2
movsd 0x18(%rsp), %xmm3
callq 0x2d9f
movsd 0x12a3a(%rip), %xmm0    # 0x160b8
subsd (%rsp), %xmm0
leaq 0x20(%rsp), %rdi
movq %r12, %rsi
movq %r15, %rdx
movq %r14, %rcx
movsd %xmm0, (%rsp)
movsd 0x8(%rsp), %xmm1
movsd 0x10(%rsp), %xmm2
movsd 0x18(%rsp), %xmm3
callq 0x2d9f
leaq 0x38(%rsp), %rsi
leaq 0x20(%rsp), %rdx
movq %rbx, %rdi
movsd (%rsp), %xmm0
callq 0x3441
leaq 0x20(%rsp), %rdi
callq 0x284e
leaq 0x38(%rsp), %rdi
callq 0x284e
movq %rbx, %rax
addq $0x50, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
leaq 0x12abb(%rip), %rdi     # 0x161ab
leaq 0x12a0c(%rip), %rsi     # 0x16103
leaq 0x12b11(%rip), %rcx     # 0x1620f
movl $0xe3, %edx
callq 0x2120
movq %rax, %rbx
leaq 0x20(%rsp), %rdi
callq 0x284e
jmp 0x371a
movq %rax, %rbx
leaq 0x38(%rsp), %rdi
callq 0x284e
movq %rbx, %rdi
callq 0x23b0
// File: /workspace/github_cpp_makefile_star2_O1/gcollet[P]MstatX/src/statistic.h
// Function: Stat1D::print(Msa&)
void print(Msa & msa){
		ofstream file(Options::Get().output_fname.c_str());
		if (!file.is_open()){
			cerr << "Cannot open file " << Options::Get().output_fname << "\n";
			exit(0);
		}
		if (Options::Get().global){
			float total = 0.0;
			for (int col(0); col < (int) col_stat.size(); ++col){
				total += col_stat[col];
			}
			file << total / (int) col_stat.size() << "\n";
		} else {
			for (int col(0); col < (int) col_stat.size(); ++col){
				file << col + 1 << "\t" << col_stat[col] << "\n";
			}
		}
		file.close();
	}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x208, %rsp            # imm = 0x208
movq %rdi, %rbx
callq 0x4f1c
movq 0xa8(%rax), %rsi
leaq 0x8(%rsp), %rdi
movl $0x10, %edx
callq 0x4290
leaq 0x78(%rsp), %rdi
callq 0x4070
testb %al, %al
je 0x4e54
callq 0x4f1c
cmpb $0x0, 0xed(%rax)
je 0x4d6a
movq 0x8(%rbx), %rcx
movq 0x10(%rbx), %rax
subq %rcx, %rax
shrq $0x2, %rax
testl %eax, %eax
jle 0x4dd9
movl %eax, %edx
andl $0x7fffffff, %edx       # imm = 0x7FFFFFFF
xorps %xmm0, %xmm0
xorl %esi, %esi
addss (%rcx,%rsi,4), %xmm0
incq %rsi
cmpq %rsi, %rdx
jne 0x4d5b
jmp 0x4ddc
xorl %ebp, %ebp
leaq 0x8(%rsp), %r14
leaq 0xb2ba(%rip), %r15      # 0x10032
leaq 0xb76d(%rip), %r12      # 0x104ec
movq 0x10(%rbx), %rax
subq 0x8(%rbx), %rax
shrq $0x2, %rax
cltq
cmpq %rax, %rbp
jge 0x4e06
leal 0x1(%rbp), %esi
movq %r14, %rdi
callq 0x4420
movq %rax, %r13
movl $0x1, %edx
movq %rax, %rdi
movq %r15, %rsi
callq 0x42a0
movq 0x8(%rbx), %rax
xorps %xmm0, %xmm0
cvtss2sd (%rax,%rbp,4), %xmm0
movq %r13, %rdi
callq 0x43c0
incq %rbp
movl $0x1, %edx
movq %rax, %rdi
movq %r12, %rsi
callq 0x42a0
jmp 0x4d7f
xorps %xmm0, %xmm0
cvtsi2ss %eax, %xmm1
divss %xmm1, %xmm0
cvtss2sd %xmm0, %xmm0
leaq 0x8(%rsp), %rdi
callq 0x43c0
leaq 0xb6f3(%rip), %rsi      # 0x104ec
movl $0x1, %edx
movq %rax, %rdi
callq 0x42a0
leaq 0x8(%rsp), %rdi
callq 0x4340
movq 0x11191(%rip), %rax     # 0x15fa8
movq (%rax), %rcx
movq 0x18(%rax), %rax
leaq 0x10(%rsp), %rdi
movq %rcx, -0x8(%rdi)
movq -0x18(%rcx), %rcx
movq %rax, 0x8(%rsp,%rcx)
callq 0x41f0
leaq 0x100(%rsp), %rdi
callq 0x40c0
addq $0x208, %rsp            # imm = 0x208
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x1118d(%rip), %rdi     # 0x15fe8
leaq 0xb1be(%rip), %rsi      # 0x10020
movl $0x11, %edx
callq 0x42a0
callq 0x4f1c
movq 0xa8(%rax), %rsi
movq 0xb0(%rax), %rdx
movq 0x11162(%rip), %rdi     # 0x15fe8
callq 0x42a0
leaq 0xb65a(%rip), %rsi      # 0x104ec
movq %rax, %rdi
callq 0x4230
xorl %edi, %edi
callq 0x42e0
jmp 0x4ea5
jmp 0x4ea5
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x4370
movq %rbx, %rdi
callq 0x4440
// File: /workspace/github_cpp_makefile_star2_O1/gcollet[P]MstatX/src/options.h
// Function: Options::Parse(int, char* const*)
static void Parse(int argc_, char * const argv_[])
		{
			Options & opt = GetNC();
			try{
				opt.Init(argc_,argv_);
			} catch (exception &e) {
				throw;
			}
		}

// Assembly:
pushq %rbp
pushq %rbx
pushq %rax
movq %rsi, %rbx
movl %edi, %ebp
callq 0x4f1c
movq %rax, %rdi
movl %ebp, %esi
movq %rbx, %rdx
callq 0x6d68
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
movq %rax, %rbx
cmpl $0x1, %edx
jne 0x65be
movq %rbx, %rdi
callq 0x40f0
callq 0x4360
movq %rax, %rbx
callq 0x43f0
movq %rbx, %rdi
callq 0x4440
movq %rax, %rdi
callq 0x4f11
// File: /workspace/github_cpp_makefile_star2_O1/gcollet[P]MstatX/src/options.h
// Function: Options::getEnvVar(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
string getEnvVar(string env)
		{
			char * env_p;
			string env_s;
			env_p = getenv(env.c_str());
			if (env_p != NULL)
				env_s = env_p;
			else
				cerr << "Warning: Environment variable " << env << " is not found\n";
			return env_s;
		}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %r14
movq %rdi, %rbx
leaq 0x10(%rdi), %r12
movq %r12, (%rdi)
movq $0x0, 0x8(%rdi)
movb $0x0, 0x10(%rdi)
movq (%rdx), %rdi
callq 0x42f0
testq %rax, %rax
je 0x9239
movq %rax, %r15
movq %rax, %rdi
callq 0x4100
movq %rbx, %rdi
xorl %esi, %esi
xorl %edx, %edx
movq %r15, %rcx
movq %rax, %r8
callq 0x4390
jmp 0x9278
movq 0xcda8(%rip), %rdi      # 0x15fe8
leaq 0x7225(%rip), %rsi      # 0x1046c
movl $0x1e, %edx
callq 0x42a0
movq (%r14), %rsi
movq 0x8(%r14), %rdx
movq 0xcd89(%rip), %rdi      # 0x15fe8
callq 0x42a0
leaq 0x7220(%rip), %rsi      # 0x1048b
movl $0xe, %edx
movq %rax, %rdi
callq 0x42a0
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq %rax, %r14
movq (%rbx), %rdi
cmpq %r12, %rdi
je 0x929e
movq (%r12), %rsi
incq %rsi
callq 0x4250
movq %r14, %rdi
callq 0x4440
// File: /workspace/github_cpp_makefile_star2_O1/gcollet[P]MstatX/src/options.h
// Function: SwitchArg::find(std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>&)
void find(vector<string> & command_line)
		{
			vector<string>::iterator it = command_line.begin();
			while (it != command_line.end()){
				if (*it == _small_flag || *it == _long_flag){
					if (_small_flag == "-h"){
						throw runtime_error("");
					}
					command_line.erase(it);
					_value = true;
					return;
				}
				it++;
			}
		}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdi, (%rsp)
movq (%rsi), %r15
movq %rsi, 0x10(%rsp)
movq 0x8(%rsi), %rbx
cmpq %rbx, %r15
je 0x94ac
movq (%rsp), %rax
leaq 0x8(%rax), %rcx
movq %rcx, 0x8(%rsp)
movq 0x8(%rax), %rcx
movq %rcx, 0x20(%rsp)
movq 0x10(%rax), %r13
movq 0x30(%rax), %rbp
movq 0x28(%rax), %rax
movq %rax, 0x18(%rsp)
movq %r15, %r14
negq %r14
movq 0x8(%r15), %r12
cmpq %r13, %r12
jne 0x9452
testq %r12, %r12
je 0x947f
movq (%r15), %rdi
movq 0x20(%rsp), %rsi
movq %r12, %rdx
callq 0x4260
testl %eax, %eax
je 0x947f
cmpq %rbp, %r12
jne 0x9470
testq %r12, %r12
je 0x947f
movq (%r15), %rdi
movq 0x18(%rsp), %rsi
movq %r12, %rdx
callq 0x4260
testl %eax, %eax
je 0x947f
addq $0x20, %r15
addq $-0x20, %r14
cmpq %rbx, %r15
jne 0x9430
jmp 0x94ac
leaq 0x6e89(%rip), %rsi      # 0x1030f
movq 0x8(%rsp), %rdi
callq 0x40a0
testl %eax, %eax
je 0x94bb
negq %r14
movq 0x10(%rsp), %rdi
movq %r14, %rsi
callq 0xad26
movq (%rsp), %rax
movb $0x1, 0x6a(%rax)
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0x10, %edi
callq 0x4110
movq %rax, %rbx
leaq 0x6b64(%rip), %rsi      # 0x10033
movq %rax, %rdi
callq 0x40e0
movq 0xcb12(%rip), %rsi      # 0x15ff0
movq 0xcad3(%rip), %rdx      # 0x15fb8
movq %rbx, %rdi
callq 0x4410
movq %rax, %r14
movq %rbx, %rdi
callq 0x41b0
movq %r14, %rdi
callq 0x4440
// File: /workspace/github_cpp_makefile_star2_O1/gcollet[P]MstatX/src/msa.cpp
// Function: Msa::countGap()
void
Msa :: countGap(){
	for(int col(0); col < ncol; ++col){
		int gap = 0;
		for(int row(0); row < nseq; ++row){
			if (mali_seq[row][col] == '-' || mali_seq[row][col] == ' '){
				gap++;
			}
		}
		gap_counts.push_back(gap);
	}
}

// Assembly:
cmpl $0x0, 0xcc(%rdi)
jle 0xb953
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
leaq 0x68(%rdi), %r14
xorl %r12d, %r12d
leaq 0x4(%rsp), %r15
movl $0x0, 0x4(%rsp)
movslq 0xc8(%rbx), %rax
testq %rax, %rax
jle 0xb914
movl 0x4(%rsp), %ecx
movq 0x38(%rbx), %rdx
shlq $0x5, %rax
xorl %esi, %esi
movq (%rdx,%rsi), %rdi
movzbl (%rdi,%r12), %edi
cmpl $0x2d, %edi
je 0xb905
cmpl $0x20, %edi
jne 0xb90b
incl %ecx
movl %ecx, 0x4(%rsp)
addq $0x20, %rsi
cmpq %rsi, %rax
jne 0xb8f2
movq 0x70(%rbx), %rsi
cmpq 0x78(%rbx), %rsi
je 0xb92e
movl 0x4(%rsp), %eax
movl %eax, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x70(%rbx)
jmp 0xb939
movq %r14, %rdi
movq %r15, %rdx
callq 0xc8cc
incq %r12
movslq 0xcc(%rbx), %rax
cmpq %rax, %r12
jl 0xb8d0
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O1/gcollet[P]MstatX/src/msa.cpp
// Function: Msa::countFreq()
void
Msa :: countFreq(){
	int total = 0;
	vector<int> tmp_freq(alphabet.size(), 0);
	
	aa_freq = vector<float>(alphabet.size());
	/* Count the number of each amino acid type defined in alphabet */
	for(int col(0); col < ncol; ++col){
		for(int row(0); row < nseq; ++row){
			if (mali_seq[row][col] != '-' && mali_seq[row][col] != ' '){
				total++;
			}
			int pos = (int) alphabet.find(mali_seq[row][col]);
			if (pos >= (int) alphabet.size()){
			  cerr << "error : symbol is not in the alphabet\n";
				exit(0);
			}
			tmp_freq[pos]++;
		}
	}

	/* Divide by the total */
	for (int i(0); i < (int) aa_freq.size(); ++i){
		aa_freq[i] = (float) tmp_freq[i] ;
		aa_freq[i] /= (float) total;
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rdi, %rbx
movq 0x8(%rdi), %rsi
leaq 0x20(%rsp), %rdx
movl $0x0, (%rdx)
leaq 0x8(%rsp), %rdi
leaq 0x7(%rsp), %rcx
callq 0x623a
movq 0x8(%rbx), %rsi
leaq 0x20(%rsp), %rdi
leaq 0x7(%rsp), %rdx
callq 0xc5dc
leaq 0x80(%rbx), %rdi
leaq 0x20(%rsp), %r14
movq %r14, %rsi
callq 0xc9ec
movq (%r14), %rdi
testq %rdi, %rdi
je 0xb9bf
movq 0x30(%rsp), %rsi
subq %rdi, %rsi
callq 0x4250
cmpl $0x0, 0xcc(%rbx)
jle 0xba46
xorl %r14d, %r14d
xorl %ebp, %ebp
cmpl $0x0, 0xc8(%rbx)
jle 0xba31
xorl %r15d, %r15d
xorl %r12d, %r12d
movq 0x38(%rbx), %rax
movq (%rax,%r15), %rax
movb (%rax,%r14), %r13b
movsbl %r13b, %esi
movq %rbx, %rdi
xorl %edx, %edx
callq 0x4330
cmpl 0x8(%rbx), %eax
jge 0xbaae
cmpb $0x2d, %r13b
setne %cl
cmpb $0x20, %r13b
setne %dl
andb %cl, %dl
movzbl %dl, %ecx
addl %ecx, %ebp
movq 0x8(%rsp), %rcx
cltq
incl (%rcx,%rax,4)
incq %r12
movslq 0xc8(%rbx), %rax
addq $0x20, %r15
cmpq %rax, %r12
jl 0xb9dc
incq %r14
movslq 0xcc(%rbx), %rax
cmpq %rax, %r14
jl 0xb9cd
cvtsi2ss %ebp, %xmm0
jmp 0xba49
xorps %xmm0, %xmm0
movq 0x80(%rbx), %rax
movq 0x88(%rbx), %rcx
subq %rax, %rcx
shrq $0x2, %rcx
testl %ecx, %ecx
jle 0xba88
movq 0x8(%rsp), %rdx
andl $0x7fffffff, %ecx       # imm = 0x7FFFFFFF
xorl %esi, %esi
xorps %xmm1, %xmm1
cvtsi2ssl (%rdx,%rsi,4), %xmm1
divss %xmm0, %xmm1
movss %xmm1, (%rax,%rsi,4)
incq %rsi
cmpq %rsi, %rcx
jne 0xba6f
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0xba9f
movq 0x18(%rsp), %rsi
subq %rdi, %rsi
callq 0x4250
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0xa533(%rip), %rdi      # 0x15fe8
leaq 0x4c15(%rip), %rsi      # 0x106d1
callq 0x4230
xorl %edi, %edi
callq 0x42e0
jmp 0xbaca
movq %rax, %rbx
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0xbae4
movq 0x18(%rsp), %rsi
subq %rdi, %rsi
callq 0x4250
movq %rbx, %rdi
callq 0x4440
// File: /workspace/github_cpp_makefile_star2_O1/gcollet[P]MstatX/src/msa.cpp
// Function: Msa::countEntropy()
void 
Msa :: countEntropy(){
	entropy = vector<float>(ncol,0.0);
 
  for(int col(0); col < ncol; ++col){
		vector<float> lfreq(alphabet.size(), 0.0);
		for(int row(0); row < nseq; ++row){
			lfreq[getAaPos(mali_seq[row][col])] += 1.0;
		}
		for (int i(0); i < (int) lfreq.size(); ++i){
		  lfreq[i] /= (float) nseq;
			if (lfreq[i] > 0.0){
				if (lfreq[i] == 1.0){
				  entropy[col] = 0.0;	
				} else {
				  entropy[col] -= lfreq[i] * log(lfreq[i]);	
				}
			}
		}
		entropy[col] /= log(alphabet.size()-1); /* -1 because gaps are in the alphabet */
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdi, %rbx
movslq 0xcc(%rdi), %rsi
leaq 0x8(%rsp), %rdx
movl $0x0, (%rdx)
leaq 0x10(%rsp), %r15
leaq 0x7(%rsp), %rcx
movq %r15, %rdi
callq 0xc666
leaq 0x98(%rbx), %r14
movq %r14, %rdi
movq %r15, %rsi
callq 0xc9ec
movq (%r15), %rdi
testq %rdi, %rdi
je 0xbca0
movq 0x20(%rsp), %rsi
subq %rdi, %rsi
callq 0x4250
cmpl $0x0, 0xcc(%rbx)
jle 0xbe3a
xorl %ebp, %ebp
leaq 0x7(%rsp), %r13
movq 0x8(%rbx), %rsi
movl $0x0, 0x8(%rsp)
leaq 0x10(%rsp), %rdi
leaq 0x8(%rsp), %rdx
movq %r13, %rcx
callq 0xc666
cmpl $0x0, 0xc8(%rbx)
movss 0x4373(%rip), %xmm1     # 0x10054
jle 0xbd2d
xorl %r15d, %r15d
xorl %r12d, %r12d
movq 0x38(%rbx), %rax
movq (%rax,%r15), %rax
movsbl (%rax,%rbp), %esi
movq %rbx, %rdi
callq 0xbe82
movss 0x434f(%rip), %xmm1     # 0x10054
cltq
movq 0x10(%rsp), %rcx
movss (%rcx,%rax,4), %xmm0
addss %xmm1, %xmm0
movss %xmm0, (%rcx,%rax,4)
incq %r12
movslq 0xc8(%rbx), %rax
addq $0x20, %r15
cmpq %rax, %r12
jl 0xbce9
movq 0x10(%rsp), %rax
movq 0x18(%rsp), %rcx
subq %rax, %rcx
shrq $0x2, %rcx
testl %ecx, %ecx
xorps %xmm2, %xmm2
jle 0xbdc4
xorl %r15d, %r15d
xorps %xmm3, %xmm3
cvtsi2ssl 0xc8(%rbx), %xmm3
movss (%rax,%r15,4), %xmm0
divss %xmm3, %xmm0
movss %xmm0, (%rax,%r15,4)
ucomiss %xmm2, %xmm0
jbe 0xbda8
ucomiss %xmm1, %xmm0
jne 0xbd7b
jp 0xbd7b
movq (%r14), %rax
movl $0x0, (%rax,%rbp,4)
jmp 0xbda8
movss %xmm0, 0xc(%rsp)
callq 0x44b0
xorps %xmm2, %xmm2
movq (%r14), %rax
movss (%rax,%rbp,4), %xmm1
mulss 0xc(%rsp), %xmm0
subss %xmm0, %xmm1
movss %xmm1, (%rax,%rbp,4)
movss 0x42ac(%rip), %xmm1     # 0x10054
incq %r15
movq 0x10(%rsp), %rax
movq 0x18(%rsp), %rcx
subq %rax, %rcx
shrq $0x2, %rcx
movslq %ecx, %rcx
cmpq %rcx, %r15
jl 0xbd48
movq 0x8(%rbx), %rax
decq %rax
movq %rax, %xmm1
punpckldq 0x4828(%rip), %xmm1 # xmm1 = xmm1[0],mem[0],xmm1[1],mem[1]
subpd 0x4830(%rip), %xmm1     # 0x10610
movapd %xmm1, %xmm0
unpckhpd %xmm1, %xmm0            # xmm0 = xmm0[1],xmm1[1]
addsd %xmm1, %xmm0
callq 0x41d0
movq 0x98(%rbx), %rax
xorps %xmm1, %xmm1
cvtss2sd (%rax,%rbp,4), %xmm1
divsd %xmm0, %xmm1
xorps %xmm0, %xmm0
cvtsd2ss %xmm1, %xmm0
movss %xmm0, (%rax,%rbp,4)
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0xbe27
movq 0x20(%rsp), %rsi
subq %rdi, %rsi
callq 0x4250
incq %rbp
movslq 0xcc(%rbx), %rax
cmpq %rax, %rbp
jl 0xbcb4
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/gcollet[P]MstatX/src/msa.cpp
// Function: Msa::getFreq(char)
float 
Msa :: getFreq(char aa){
  int pos = getAaPos(aa);
	if (pos == -1){
	  cerr << "Error, symbol not in alphabet\n";
		exit(0);
	}
	return aa_freq[pos];
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
callq 0xbe82
cmpl $-0x1, %eax
je 0xbe68
cltq
movq 0x80(%rbx), %rcx
movss (%rcx,%rax,4), %xmm0
popq %rbx
retq
movq 0xa179(%rip), %rdi      # 0x15fe8
leaq 0x4882(%rip), %rsi      # 0x106f8
callq 0x4230
xorl %edi, %edi
callq 0x42e0
// File: /workspace/github_cpp_makefile_star2_O1/gcollet[P]MstatX/src/msa.cpp
// Function: Msa::isInclude(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
bool
Msa :: isInclude(string alph1){
  for (int i(0); i < (int) alphabet.size(); ++i){
		if (alph1.find(alphabet[i]) >= alph1.size() && alphabet[i] != '-' && alphabet[i] != ' '){
		  return false;	
		}
	}
	return true;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
cmpl $0x0, 0x8(%rdi)
setle %bpl
jle 0xbf14
movq %rsi, %rbx
movq %rdi, %r14
xorl %r15d, %r15d
movq (%r14), %rax
movsbl (%rax,%r15), %esi
movq %rbx, %rdi
xorl %edx, %edx
callq 0x4330
cmpq 0x8(%rbx), %rax
jb 0xbf04
movq (%r14), %rax
movzbl (%rax,%r15), %eax
cmpl $0x2d, %eax
je 0xbf04
cmpl $0x20, %eax
jne 0xbf14
incq %r15
movslq 0x8(%r14), %rax
cmpq %rax, %r15
setge %bpl
jl 0xbeda
andb $0x1, %bpl
movl %ebp, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/gcollet[P]MstatX/src/msa.cpp
// Function: Msa::getCol[abi:cxx11](int)
string 
Msa :: getCol(int col)
{
  string column;
	for (int i(0); i < nseq; ++i){
		column.push_back(mali_seq[i][col]);
	}
	return column;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
leaq 0x10(%rdi), %r15
movq %r15, (%rdi)
movq $0x0, 0x8(%rdi)
movb $0x0, 0x10(%rdi)
cmpl $0x0, 0xc8(%rsi)
jle 0xbf83
movq %rsi, %r14
movslq %edx, %r12
xorl %r13d, %r13d
xorl %ebp, %ebp
movq 0x38(%r14), %rax
movq (%rax,%r13), %rax
movsbl (%rax,%r12), %esi
movq %rbx, %rdi
callq 0x4200
incq %rbp
movslq 0xc8(%r14), %rax
addq $0x20, %r13
cmpq %rax, %rbp
jl 0xbf5b
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
movq (%rbx), %rdi
cmpq %r15, %rdi
je 0xbfab
movq (%r15), %rsi
incq %rsi
callq 0x4250
movq %r14, %rdi
callq 0x4440
nop
// File: /workspace/github_cpp_makefile_star2_O1/gcollet[P]MstatX/src/msa.cpp
// Function: Msa::fitToAlphabet(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
void
Msa :: fitToAlphabet(string alph1){
	int alph_size = (int) alph1.size();
	for (int i(0); i < nseq; i++){
		for (int j(0); j < ncol; j++){
			if (mali_seq[i][j] != '-' && mali_seq[i][j] != ' ' && (int) alph1.find(mali_seq[i][j]) >= alph_size){
				int k = (int) alphabet.find(mali_seq[i][j]);
				if (k < (int) alphabet.size()){
					alphabet.erase(alphabet.begin() + k);
				}
				int pos = (int) aa_type_list[j].find(mali_seq[i][j]);
				if (pos < (int) aa_type_list[j].size()){
					aa_type_list[j].erase(aa_type_list[j].begin() + pos);
					nb_type[j]--;
				}
				mali_seq[i][j] = '-';
			}
		}
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, (%rsp)
cmpl $0x0, 0xc8(%rdi)
jle 0xc0c8
movq %rdi, %r14
movq (%rsp), %rax
movl 0x8(%rax), %ebp
xorl %r15d, %r15d
cmpl $0x0, 0xcc(%r14)
jle 0xc0b5
movq %r15, %r12
shlq $0x5, %r12
xorl %r13d, %r13d
xorl %ebx, %ebx
movq 0x38(%r14), %rax
movq (%rax,%r12), %rax
movzbl (%rax,%rbx), %eax
cmpl $0x20, %eax
je 0xc09e
cmpl $0x2d, %eax
je 0xc09e
movsbl %al, %esi
movq (%rsp), %rdi
xorl %edx, %edx
callq 0x4330
cmpl %ebp, %eax
jl 0xc09e
movq 0x38(%r14), %rax
movq (%rax,%r12), %rax
movsbl (%rax,%rbx), %esi
movq %r14, %rdi
xorl %edx, %edx
callq 0x4330
cmpl 0x8(%r14), %eax
jge 0xc053
movslq %eax, %rsi
movl $0x1, %edx
movq %r14, %rdi
callq 0x42c0
movq 0x50(%r14), %rdi
addq %r13, %rdi
movq 0x38(%r14), %rax
movq (%rax,%r12), %rax
movsbl (%rax,%rbx), %esi
xorl %edx, %edx
callq 0x4330
movq 0x50(%r14), %rdi
cmpl 0x8(%rdi,%r13), %eax
jge 0xc092
addq %r13, %rdi
movslq %eax, %rsi
movl $0x1, %edx
callq 0x42c0
movq 0xb0(%r14), %rax
decl (%rax,%rbx,4)
movq 0x38(%r14), %rax
movq (%rax,%r12), %rax
movb $0x2d, (%rax,%rbx)
incq %rbx
movslq 0xcc(%r14), %rax
addq $0x20, %r13
cmpq %rax, %rbx
jl 0xbff7
incq %r15
movslq 0xc8(%r14), %rax
cmpq %rax, %r15
jl 0xbfdd
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/gcollet[P]MstatX/src/scoring_matrix.cpp
// Function: ScoringMatrix::~ScoringMatrix()
ScoringMatrix :: ~ScoringMatrix()
{
	if (is_set){
		for (int i(0); i < (int) alphabet.size(); ++i){
			free(matrix[i]);
		}
		free(matrix);
		for (int i(0); i < (int) alphabet.size(); ++i){
			free(norm_matrix[i]);
		}
		free(norm_matrix);
	}
	
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
leaq 0x81ee(%rip), %rax      # 0x15cd8
movq %rax, (%rdi)
cmpb $0x1, 0x30(%rdi)
jne 0xdb49
cmpl $0x0, 0x10(%rbx)
jle 0xdb15
xorl %r14d, %r14d
movq 0x28(%rbx), %rax
movq (%rax,%r14,8), %rdi
callq 0x42d0
incq %r14
movslq 0x10(%rbx), %rax
cmpq %rax, %r14
jl 0xdafc
movq 0x28(%rbx), %rdi
callq 0x42d0
cmpl $0x0, 0x10(%rbx)
jle 0xdb40
xorl %r14d, %r14d
movq 0x38(%rbx), %rax
movq (%rax,%r14,8), %rdi
callq 0x42d0
incq %r14
movslq 0x10(%rbx), %rax
cmpq %rax, %r14
jl 0xdb27
movq 0x38(%rbx), %rdi
callq 0x42d0
movq 0x8(%rbx), %rdi
addq $0x18, %rbx
cmpq %rbx, %rdi
je 0xdb68
movq (%rbx), %rsi
incq %rsi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x4250
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_cpp_makefile_star2_O1/gcollet[P]MstatX/src/scoring_matrix.cpp
// Function: ScoringMatrix::index(char)
int 
ScoringMatrix :: index(char aa)
{
	int pos = (int) alphabet.find(aa);
	if (pos >= (int) alphabet.size()){
		cerr << "Symbol " << aa << " is not in alphabet\n";
		exit(0);
	} 
	return pos;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movl %esi, %ebx
movq %rdi, %r14
addq $0x8, %rdi
xorl %edx, %edx
callq 0x4330
cmpl 0x10(%r14), %eax
jge 0xdbaa
addq $0x8, %rsp
popq %rbx
popq %r14
retq
movq 0x8437(%rip), %rdi      # 0x15fe8
leaq 0x2c85(%rip), %rsi      # 0x1083d
callq 0x4230
movsbl %bl, %esi
movq %rax, %rdi
callq 0x42b0
leaq 0x2c76(%rip), %rsi      # 0x10845
movq %rax, %rdi
callq 0x4230
xorl %edi, %edi
callq 0x42e0
// File: /workspace/github_cpp_makefile_star2_O1/gcollet[P]MstatX/src/trident.cpp
// Function: TridStat::normVect(std::vector<float, std::allocator<float>>)
float
TridStat :: normVect(vector<float> vect){
	float score= 0.0;
	for(int i(0); i < (int) vect.size(); ++i){
		score += vect[i] * vect[i];
	}
	return sqrt(score);
}

// Assembly:
movq (%rsi), %rax
movq 0x8(%rsi), %rcx
subq %rax, %rcx
shrq $0x2, %rcx
xorps %xmm1, %xmm1
xorps %xmm0, %xmm0
testl %ecx, %ecx
jle 0xe3b7
andl $0x7fffffff, %ecx       # imm = 0x7FFFFFFF
xorl %edx, %edx
movss (%rax,%rdx,4), %xmm2
mulss %xmm2, %xmm2
addss %xmm2, %xmm0
incq %rdx
cmpq %rdx, %rcx
jne 0xe3a2
ucomiss %xmm1, %xmm0
jb 0x4470
sqrtss %xmm0, %xmm0
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/Pyboon[P]sage/test_mpi_sage.cpp
// Function: ParseFileNum(std::vector<int, std::allocator<int>>)
vector<pair<int, int> > ParseFileNum(vector<int> spots){
    int cycle_start = 1;
    int cycle_end = 197;
    int interval = 4;
    int spots_size = spots.size();
    vector<pair<int, int> > result;
    for(int i_spot = 0; i_spot < spots_size; ++i_spot){
        for(int i_cycle = cycle_start; i_cycle<=cycle_end; i_cycle += interval){
            // 此处将所有spot和cycle拼接在一起，然后均分给多个MPI计算
            result.push_back(make_pair(spots[i_spot], i_cycle));
        }
    }
    return result;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdi, %rbx
movq 0x8(%rsi), %rax
subq (%rsi), %rax
shrq $0x2, %rax
xorps %xmm0, %xmm0
movups %xmm0, (%rdi)
movq $0x0, 0x10(%rdi)
movq %rax, 0x8(%rsp)
testl %eax, %eax
jle 0x3735
movq %rsi, %r14
movq 0x8(%rsp), %rax
andl $0x7fffffff, %eax       # imm = 0x7FFFFFFF
movq %rax, 0x8(%rsp)
xorl %r13d, %r13d
movabsq $0x400000000, %rbp      # imm = 0x400000000
movq $-0x3, %r12
movabsq $0x100000000, %r15      # imm = 0x100000000
movq (%r14), %rax
movl (%rax,%r13,4), %eax
addq %r15, %rax
movq %rax, 0x10(%rsp)
movq %rbx, %rdi
leaq 0x10(%rsp), %rsi
callq 0x446a
addq $0x4, %r12
addq %rbp, %r15
cmpq $0xc2, %r12
jb 0x36ff
incq %r13
cmpq 0x8(%rsp), %r13
jne 0x36ee
movq %rbx, %rax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
movq (%rbx), %rdi
testq %rdi, %rdi
je 0x375e
movq 0x10(%rbx), %rsi
subq %rdi, %rsi
callq 0x32b0
movq %r14, %rdi
callq 0x3460
// File: /workspace/github_cpp_makefile_star2_O1/Pyboon[P]sage/./sage.h
// Function: Sage::Sage(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, int, int)
Sage(string path_cir, string path_antenna, string path_result, int max_iter_num = 10, int max_path_num = 10):
    max_iter_num(max_iter_num), max_path_num(max_path_num){
        config.path_cir = path_cir;
        config.path_antenna = path_antenna;
        config.path_result = path_result;
        tol.tau = 2;
        tol.doppler = 1;
        tol.phi_rx = 2;
        tol.theta_rx = 2;
        tol.phi_tx = 2;
        tol.theta_tx = 2;
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rcx, %r15
movq %rdx, %r12
movq %rsi, %r13
movq %rdi, %rbx
leaq 0x2ab84(%rip), %rax     # 0x2ecb0
addq $0x10, %rax
movq %rax, (%rdi)
leaq 0x30(%rdi), %rax
movq %rax, 0x20(%rdi)
xorl %eax, %eax
movq %rax, 0x28(%rdi)
movb %al, 0x30(%rdi)
leaq 0x58(%rdi), %rcx
movq %rcx, 0x48(%rdi)
movq %rax, 0x50(%rdi)
movb %al, 0x58(%rdi)
leaq 0x68(%rdi), %rbp
leaq 0x78(%rdi), %rcx
movq %rcx, 0x68(%rdi)
movq %rax, 0x70(%rdi)
movb %al, 0x78(%rdi)
xorps %xmm0, %xmm0
movups %xmm0, 0x138(%rdi)
movq %rax, 0x148(%rdi)
movl %r8d, 0x158(%rdi)
movl %r9d, 0x15c(%rdi)
leaq 0x160(%rdi), %r14
movl $0xd8, %edx
movq %r14, %rdi
xorl %esi, %esi
callq 0x3160
movq %rbp, %rdi
movq %r13, %rsi
callq 0x3150
leaq 0x20(%rbx), %rdi
movq %r12, %rsi
callq 0x3150
leaq 0x48(%rbx), %rdi
movq %r15, %rsi
callq 0x3150
movl $0x2, 0x238(%rbx)
movabsq $0x3ff0000000000000, %rax # imm = 0x3FF0000000000000
movq %rax, 0x240(%rbx)
movabsq $0x4000000000000000, %rax # imm = 0x4000000000000000
movq %rax, 0x250(%rbx)
movq %rax, 0x248(%rbx)
movq %rax, 0x260(%rbx)
movq %rax, 0x258(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, (%rsp)
leaq 0x1c0(%rbx), %rdi
leaq 0x1a8(%rbx), %r12
leaq 0x190(%rbx), %r13
leaq 0x178(%rbx), %rbp
leaq 0x8(%rbx), %r15
callq 0x4274
movq %r12, %rdi
callq 0x42b8
movq %r13, %rdi
callq 0x42b8
movq %rbp, %rdi
callq 0x42b8
movq %r14, %rdi
callq 0x42b8
movq 0x138(%rbx), %rdi
callq 0x3320
movq %r15, %rdi
callq 0x42fa
movq (%rsp), %rdi
callq 0x3460
// File: /workspace/github_cpp_makefile_star2_O1/Pyboon[P]sage/sage.cpp
// Function: Sage::InitCIR()
void Sage::InitCIR(){
    int rows = config.sample_codes;
    int cols = config.subchannel_num * config.cycle_num;
    this->CIR = MatrixXcd::Zero(rows, cols);
    cout<<"CIR MAT size: "<<this->CIR.rows()<<" * "<<this->CIR.cols()<<endl;
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x28, %rsp
movslq 0x1c(%rdi), %rax
movslq 0xa0(%rdi), %rcx
movslq 0x10(%rdi), %rdx
imulq %rcx, %rdx
xorps %xmm0, %xmm0
movups %xmm0, 0x18(%rsp)
movq %rax, 0x8(%rsp)
movq %rdx, 0x10(%rsp)
orq %rax, %rdx
js 0x4758
movq %rdi, %rbx
addq $0x138, %rdi            # imm = 0x138
leaq 0x8(%rsp), %rsi
leaq 0x7(%rsp), %rdx
callq 0x61f6
movq 0x2a8eb(%rip), %r14     # 0x2efc8
leaq 0x17ac4(%rip), %rsi     # 0x1c1a8
movl $0xe, %edx
movq %r14, %rdi
callq 0x32e0
movq 0x140(%rbx), %rsi
movq %r14, %rdi
callq 0x3270
movq %rax, %r14
leaq 0x17aad(%rip), %rsi     # 0x1c1b7
movl $0x3, %edx
movq %rax, %rdi
callq 0x32e0
movq 0x148(%rbx), %rsi
movq %r14, %rdi
callq 0x3270
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x3280
movsbl %al, %esi
movq %rbx, %rdi
callq 0x3030
movq %rax, %rdi
callq 0x31c0
addq $0x28, %rsp
popq %rbx
popq %r14
retq
leaq 0x17b8d(%rip), %rdi     # 0x1c2ec
leaq 0x17c1b(%rip), %rsi     # 0x1c381
leaq 0x17c36(%rip), %rcx     # 0x1c3a3
movl $0x4a, %edx
callq 0x31b0
nop
// File: /workspace/github_cpp_makefile_star2_O1/Pyboon[P]sage/./util.h
// Function: Util::log(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
static void log(const string message){
        char hostname[MAX_LENGTH];
        gethostname(hostname, MAX_LENGTH);
        string cur_time = GetCurTime();
        printf("[%s][%s] INFO:%s\n", hostname, cur_time.c_str(), message.c_str());
    }

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x420, %rsp            # imm = 0x420
movq %rdi, %rbx
leaq 0x20(%rsp), %r14
movl $0x400, %esi            # imm = 0x400
movq %r14, %rdi
callq 0x33c0
movq %rsp, %r15
movq %r15, %rdi
callq 0x6184
movq (%r15), %rdx
movq (%rbx), %rcx
leaq 0x161a7(%rip), %rdi     # 0x1c2c8
movq %r14, %rsi
xorl %eax, %eax
callq 0x3040
movq (%r15), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x6145
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x32b0
addq $0x420, %rsp            # imm = 0x420
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O1/Pyboon[P]sage/./util.h
// Function: Util::GetCurTime[abi:cxx11]()
static string  GetCurTime(){
        time_t nowtime;  
        nowtime = time(NULL); 
        char tmp[64];   
        strftime(tmp,sizeof(tmp),"%Y-%m-%d %H:%M:%S",localtime(&nowtime));   
        return tmp;
    }

// Assembly:
pushq %r14
pushq %rbx
subq $0x58, %rsp
movq %rdi, %rbx
xorl %edi, %edi
callq 0x3260
leaq 0x8(%rsp), %rdi
movq %rax, (%rdi)
callq 0x31e0
leaq 0x16131(%rip), %rdx     # 0x1c2da
leaq 0x10(%rsp), %r14
movl $0x40, %esi
movq %r14, %rdi
movq %rax, %rcx
callq 0x3220
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
movq %r14, %rdi
callq 0x3110
leaq (%rsp,%rax), %rdx
addq $0x10, %rdx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x43da
movq %rbx, %rax
addq $0x58, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_cpp_makefile_star2_O1/Pyboon[P]sage/./Eigen/src/Core/DenseStorage.h
// Function: Eigen::DenseStorage<std::complex<double>, -1, -1, -1, 0>::resize(long, long, long)
EIGEN_DEVICE_FUNC void resize(Index size, Index rows, Index cols)
    {
      if(size != m_rows*m_cols)
      {
        internal::conditional_aligned_delete_auto<T,(_Options&DontAlign)==0>(m_data, m_rows*m_cols);
        if (size)
          m_data = internal::conditional_aligned_new_auto<T,(_Options&DontAlign)==0>(size);
        else
          m_data = 0;
        EIGEN_INTERNAL_DENSE_STORAGE_CTOR_PLUGIN({})
      }
      m_rows = rows;
      m_cols = cols;
    }

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rcx, %rbx
movq %rdx, %r14
movq %rdi, %r15
movq 0x10(%rdi), %rax
imulq 0x8(%rdi), %rax
cmpq %rsi, %rax
je 0x638a
movq %rsi, %r12
movq (%r15), %rdi
callq 0x3320
testq %r12, %r12
je 0x6385
movq %r12, %rax
shrq $0x3c, %rax
jne 0x6357
shlq $0x4, %r12
movq %r12, %rdi
callq 0x3370
testb $0xf, %al
jne 0x639e
testq %rax, %rax
jne 0x6387
movl $0x8, %edi
callq 0x3130
movq 0x28c58(%rip), %rcx     # 0x2efc0
addq $0x10, %rcx
movq %rcx, (%rax)
movq 0x28c5a(%rip), %rsi     # 0x2efd0
movq 0x28c2b(%rip), %rdx     # 0x2efa8
movq %rax, %rdi
callq 0x3440
xorl %eax, %eax
movq %rax, (%r15)
movq %r14, 0x8(%r15)
movq %rbx, 0x10(%r15)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
leaq 0x16536(%rip), %rdi     # 0x1c8db
leaq 0x165e9(%rip), %rsi     # 0x1c995
leaq 0x16601(%rip), %rcx     # 0x1c9b4
movl $0xa1, %edx
callq 0x31b0
nop
// File: /workspace/github_cpp_makefile_star2_O1/Pyboon[P]sage/./Eigen/src/Core/DenseStorage.h
// Function: Eigen::DenseStorage<std::complex<double>, -1, -1, 2, 0>::resize(long, long, long)
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void resize(Index size, Index rows, Index)
    {
      if(size != m_rows*_Cols)
      {
        internal::conditional_aligned_delete_auto<T,(_Options&DontAlign)==0>(m_data, _Cols*m_rows);
        if (size)
          m_data = internal::conditional_aligned_new_auto<T,(_Options&DontAlign)==0>(size);
        else
          m_data = 0;
        EIGEN_INTERNAL_DENSE_STORAGE_CTOR_PLUGIN({})
      }
      m_rows = rows;
    }

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdx, %rbx
movq %rdi, %r14
movq 0x8(%rdi), %rax
addq %rax, %rax
cmpq %rsi, %rax
je 0x6672
movq %rsi, %r15
movq (%r14), %rdi
callq 0x3320
testq %r15, %r15
je 0x666d
movq %r15, %rax
shrq $0x3c, %rax
jne 0x663f
shlq $0x4, %r15
movq %r15, %rdi
callq 0x3370
testb $0xf, %al
jne 0x667c
testq %rax, %rax
jne 0x666f
movl $0x8, %edi
callq 0x3130
movq 0x28970(%rip), %rcx     # 0x2efc0
addq $0x10, %rcx
movq %rcx, (%rax)
movq 0x28972(%rip), %rsi     # 0x2efd0
movq 0x28943(%rip), %rdx     # 0x2efa8
movq %rax, %rdi
callq 0x3440
xorl %eax, %eax
movq %rax, (%r14)
movq %rbx, 0x8(%r14)
popq %rbx
popq %r14
popq %r15
retq
leaq 0x16258(%rip), %rdi     # 0x1c8db
leaq 0x1630b(%rip), %rsi     # 0x1c995
leaq 0x16323(%rip), %rcx     # 0x1c9b4
movl $0xa1, %edx
callq 0x31b0
nop
// File: /workspace/github_cpp_makefile_star2_O1/Pyboon[P]sage/./Eigen/src/Core/DenseStorage.h
// Function: Eigen::DenseStorage<std::complex<double>, -1, 1, -1, 1>::resize(long, long, long)
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void resize(Index size, Index, Index cols)
    {
      if(size != _Rows*m_cols)
      {
        internal::conditional_aligned_delete_auto<T,(_Options&DontAlign)==0>(m_data, _Rows*m_cols);
        if (size)
          m_data = internal::conditional_aligned_new_auto<T,(_Options&DontAlign)==0>(size);
        else
          m_data = 0;
        EIGEN_INTERNAL_DENSE_STORAGE_CTOR_PLUGIN({})
      }
      m_cols = cols;
    }

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rcx, %rbx
movq %rdi, %r14
cmpq %rsi, 0x8(%rdi)
je 0xfe42
movq %rsi, %r15
movq (%r14), %rdi
callq 0x3320
testq %r15, %r15
je 0xfe3d
movq %r15, %rax
shrq $0x3c, %rax
jne 0xfe0f
shlq $0x4, %r15
movq %r15, %rdi
callq 0x3370
testb $0xf, %al
jne 0xfe4c
testq %rax, %rax
jne 0xfe3f
movl $0x8, %edi
callq 0x3130
movq 0x1f1a0(%rip), %rcx     # 0x2efc0
addq $0x10, %rcx
movq %rcx, (%rax)
movq 0x1f1a2(%rip), %rsi     # 0x2efd0
movq 0x1f173(%rip), %rdx     # 0x2efa8
movq %rax, %rdi
callq 0x3440
xorl %eax, %eax
movq %rax, (%r14)
movq %rbx, 0x8(%r14)
popq %rbx
popq %r14
popq %r15
retq
leaq 0xca88(%rip), %rdi      # 0x1c8db
leaq 0xcb3b(%rip), %rsi      # 0x1c995
leaq 0xcb53(%rip), %rcx      # 0x1c9b4
movl $0xa1, %edx
callq 0x31b0
nop