LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O3/tomfunkhouser[P]gaps/pkgs/png/pngwutil.c
// Function: png_write_tIME
void /* PRIVATE */
png_write_tIME(png_structp png_ptr, png_timep mod_time)
{
   PNG_tIME;
   png_byte buf[7];

   png_debug(1, "in png_write_tIME");

   if (mod_time->month  > 12 || mod_time->month  < 1 ||
       mod_time->day    > 31 || mod_time->day    < 1 ||
       mod_time->hour   > 23 || mod_time->second > 60)
   {
      png_warning(png_ptr, "Invalid time specified for tIME chunk");
      return;
   }

   png_save_uint_16(buf, mod_time->year);
   buf[2] = mod_time->month;
   buf[3] = mod_time->day;
   buf[4] = mod_time->hour;
   buf[5] = mod_time->minute;
   buf[6] = mod_time->second;

   png_write_chunk(png_ptr, (png_bytep)png_tIME, buf, (png_size_t)7);
}

// Assembly:
pushq %rbx
subq $0x10, %rsp
movb $0x0, 0x8(%rsp)
movl $0x454d4974, 0x4(%rsp)  # imm = 0x454D4974
movb 0x2(%rsi), %al
leal -0xd(%rax), %ecx
cmpb $-0xc, %cl
jb 0x9f79c
movb 0x3(%rsi), %cl
leal -0x20(%rcx), %edx
cmpb $-0x1f, %dl
jb 0x9f79c
movb 0x4(%rsi), %r8b
cmpb $0x17, %r8b
ja 0x9f79c
movb 0x6(%rsi), %r9b
cmpb $0x3d, %r9b
jb 0x9f7ad
leaq 0x14a7d(%rip), %rsi     # 0xb4220
addq $0x10, %rsp
popq %rbx
jmp 0x9214d
movzwl (%rsi), %ebx
movb %bh, 0x9(%rsp)
leaq 0x9(%rsp), %rdx
movb %bl, 0x1(%rdx)
movb %al, 0x2(%rdx)
movb %cl, 0x3(%rdx)
movb %r8b, 0x4(%rdx)
movb 0x5(%rsi), %al
movb %al, 0x5(%rdx)
movb %r9b, 0x6(%rdx)
leaq 0x4(%rsp), %rsi
movl $0x7, %ecx
callq 0x9d8bd
addq $0x10, %rsp
popq %rbx
retq
// File: /workspace/github_cpp_makefile_star2_O3/tomfunkhouser[P]gaps/pkgs/png/pngwio.c
// Function: png_default_write_data
void PNGAPI
png_default_write_data(png_structp png_ptr, png_bytep data, png_size_t length)
{
   png_uint_32 check;

   if (png_ptr == NULL)
      return;
   check = fwrite(data, 1, length, (png_FILE_p)(png_ptr->io_ptr));
   if (check != length)
      png_error(png_ptr, "Write Error");
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
testq %rdi, %rdi
je 0xa0b33
movq %rdx, %r14
movq %rsi, %rax
movq %rdi, %rbx
movq 0xf8(%rdi), %rcx
movl $0x1, %esi
movq %rax, %rdi
callq 0xe8b0
movl %eax, %eax
cmpq %r14, %rax
jne 0xa0b3b
addq $0x8, %rsp
popq %rbx
popq %r14
retq
leaq 0x1373c(%rip), %rsi     # 0xb427e
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x920b4
// File: /workspace/github_cpp_makefile_star2_O3/tomfunkhouser[P]gaps/pkgs/png/adler32.c
// Function: adler32_combine_
local uLong adler32_combine_(adler1, adler2, len2)
    uLong adler1;
    uLong adler2;
    z_off64_t len2;
{
    unsigned long sum1;
    unsigned long sum2;
    unsigned rem;

    /* the derivation of this formula is left as an exercise for the reader */
    rem = (unsigned)(len2 % BASE);
    sum1 = adler1 & 0xffff;
    sum2 = rem * sum1;
    MOD(sum2);
    sum1 += (adler2 & 0xffff) + BASE - 1;
    sum2 += ((adler1 >> 16) & 0xffff) + ((adler2 >> 16) & 0xffff) + BASE - rem;
    if (sum1 >= BASE) sum1 -= BASE;
    if (sum1 >= BASE) sum1 -= BASE;
    if (sum2 >= (BASE << 1)) sum2 -= (BASE << 1);
    if (sum2 >= BASE) sum2 -= BASE;
    return sum1 | (sum2 << 16);
}

// Assembly:
movq %rdx, %rcx
movabsq $0xf00e10d2fc5cd, %rdx  # imm = 0xF00E10D2FC5CD
movq %rcx, %rax
mulq %rdx
movq %rcx, %rax
subq %rdx, %rax
shrq %rax
addq %rdx, %rax
shrq $0xf, %rax
imulq $0xfff1, %rax, %rax     # imm = 0xFFF1
subq %rax, %rcx
movl $0xffff, %eax           # imm = 0xFFFF
movq %rdi, %rdx
andq %rax, %rdx
andq %rsi, %rax
shrl $0x10, %edi
shrl $0x10, %esi
addq %rdi, %rsi
subq %rcx, %rsi
imulq %rdx, %rcx
movl $0x80078071, %edi       # imm = 0x80078071
imulq %rcx, %rdi
shrq $0x2f, %rdi
imull $0xfff1, %edi, %edi     # imm = 0xFFF1
subl %edi, %ecx
leaq (%rdx,%rax), %rdi
addl $0xfff0, %edi           # imm = 0xFFF0
addq %rcx, %rsi
movl $0xfff1, %ecx           # imm = 0xFFF1
leaq (%rsi,%rcx), %r8
cmpl $0xfff1, %edi           # imm = 0xFFF1
leaq -0x1(%rdx,%rax), %rax
movl $0xfff0, %edx           # imm = 0xFFF0
cmovaeq %rax, %rdx
movq $-0xfff1, %rax          # imm = 0xFFFF000F
leaq (%rdx,%rax), %rdi
cmpq %rcx, %rdx
cmovbq %rdx, %rdi
addq %rax, %rsi
cmpq $0x1ffe2, %r8           # imm = 0x1FFE2
cmovbq %r8, %rsi
movq %rsi, %rdx
shlq $0x10, %rdx
movabsq $-0xfff10000, %rax      # imm = 0xFFFFFFFF000F0000
addq %rdx, %rax
cmpq %rcx, %rsi
cmovbq %rdx, %rax
orq %rdi, %rax
retq
// File: /workspace/github_cpp_makefile_star2_O3/EverybodyHops[P]Permutations/media_number.cpp
// Function: media_number::print_num()
void media_number::print_num(){
    cout << "now num: ";
    for(int i = num.size() - 1; i >= 0; i--){
        cout << num[i] << " ";
    }
    cout << endl;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %r14
movq 0x6caa(%rip), %rbx      # 0x8fd8
leaq 0x3ccf(%rip), %rsi      # 0x6004
movl $0x9, %edx
movq %rbx, %rdi
callq 0x20f0
movq 0x8(%r14), %rax
subq (%r14), %rax
shrq $0x2, %rax
decl %eax
js 0x2387
movl %eax, %r13d
movq 0x6c7d(%rip), %r15      # 0x8fd8
leaq 0x3caa(%rip), %r12      # 0x600c
movq (%r14), %rax
movl (%rax,%r13,4), %esi
movq %r15, %rdi
callq 0x2130
movl $0x1, %edx
movq %rax, %rdi
movq %r12, %rsi
callq 0x20f0
addq $-0x1, %r13
jb 0x2362
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x20d0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2040
movq %rax, %rdi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x2080
// File: /workspace/github_cpp_makefile_star2_O3/EverybodyHops[P]Permutations/media_number.cpp
// Function: media_number::print_carry()
void media_number::print_carry(){
    cout << "now carry: ";
    for(int i = carry.size() - 1; i >= 0; i--){
        cout << carry[i] << " ";
    }
    cout << endl;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %r14
movq 0x6c04(%rip), %rbx      # 0x8fd8
leaq 0x3c33(%rip), %rsi      # 0x600e
movl $0xb, %edx
movq %rbx, %rdi
callq 0x20f0
movq 0x20(%r14), %rax
subq 0x18(%r14), %rax
shrq $0x2, %rax
decl %eax
js 0x242f
movl %eax, %r13d
movq 0x6bd6(%rip), %r15      # 0x8fd8
leaq 0x3c03(%rip), %r12      # 0x600c
movq 0x18(%r14), %rax
movl (%rax,%r13,4), %esi
movq %r15, %rdi
callq 0x2130
movl $0x1, %edx
movq %rax, %rdi
movq %r12, %rsi
callq 0x20f0
addq $-0x1, %r13
jb 0x2409
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x20d0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2040
movq %rax, %rdi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x2080
// File: /workspace/github_cpp_makefile_star2_O3/EverybodyHops[P]Permutations/media_number.cpp
// Function: media_number::dec2media(int)
vector<int> media_number::dec2media(int dec){
    vector<int> res;
    int t = 0;
    while(dec > 0){
        if(t == carry.size()){
            res.push_back(dec);
            break;
        }
        res.push_back(dec % carry[t]);
        dec /= carry[t++];
    }
    return res;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
movl %edx, -0x2c(%rbp)
xorps %xmm0, %xmm0
movups %xmm0, (%rdi)
movq $0x0, 0x10(%rdi)
testl %edx, %edx
jle 0x2547
movl %edx, %r14d
movq %rsi, %r15
movq 0x18(%rsi), %rcx
xorl %r13d, %r13d
leaq -0x30(%rbp), %r12
movq 0x20(%r15), %rax
subq %rcx, %rax
sarq $0x2, %rax
cmpq %rax, %r13
je 0x2524
movl %r14d, %eax
cltd
idivl (%rcx,%r13,4)
movl %edx, -0x30(%rbp)
movq 0x8(%rbx), %rsi
cmpq 0x10(%rbx), %rsi
je 0x24fe
movl %edx, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x8(%rbx)
jmp 0x250d
movq %rbx, %rdi
movq %r12, %rdx
callq 0x2e3c
movq 0x18(%r15), %rcx
movl %r14d, %eax
cltd
idivl (%rcx,%r13,4)
incq %r13
movl %eax, %r14d
movl %eax, -0x2c(%rbp)
testl %eax, %eax
jg 0x24cd
jmp 0x2547
movq 0x8(%rbx), %rsi
cmpq 0x10(%rbx), %rsi
je 0x253b
movl %r14d, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x8(%rbx)
jmp 0x2547
leaq -0x2c(%rbp), %rdx
movq %rbx, %rdi
callq 0x2d22
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x255b
movq %rax, %r14
movq (%rbx), %rdi
testq %rdi, %rdi
je 0x256b
callq 0x20c0
movq %r14, %rdi
callq 0x2140
nop
// File: /workspace/github_cpp_makefile_star2_O3/EverybodyHops[P]Permutations/media_number.cpp
// Function: media_number::add_vector(std::vector<int, std::allocator<int>>)
bool media_number::add_vector(vector<int> v){
    if(!if_vector_legal(v)){
        return false;
    }

    for(int i = 0; i < num.size() - 1; i++){
        if(i < v.size()){  
            num[i] += v[i];
        }
        if(num[i] >= carry[i]){
            num[i] -= carry[i];
            num[i + 1] += 1;
        }
    }

    if(num[num.size() - 1] > 0){
        #ifdef DEBUG
            cout << "Overflow!" << endl;
            print_num();
        #endif
        sub_vector(v);
        #ifdef DEBUG
            cout << "After handle overflow." << endl;
            print_num();
        #endif
        return false;
    }
    return true;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x30, %rsp
movq %rsi, %r14
movq %rdi, %rbx
leaq -0x50(%rbp), %r12
movq %r12, %rdi
callq 0x2c56
movq %rbx, %rdi
movq %r12, %rsi
callq 0x2574
movl %eax, %r15d
movq (%r12), %rdi
testq %rdi, %rdi
je 0x260d
callq 0x20c0
testb %r15b, %r15b
je 0x269e
movq (%rbx), %rax
movq 0x8(%rbx), %rcx
subq %rax, %rcx
sarq $0x2, %rcx
movq %rcx, %rdx
decq %rdx
je 0x266f
movq (%r14), %rsi
movq 0x8(%r14), %rdi
subq %rsi, %rdi
sarq $0x2, %rdi
movq 0x18(%rbx), %r8
xorl %r9d, %r9d
cmpq %r9, %rdi
jbe 0x2654
movl (%rax,%r9,4), %r10d
addl (%rsi,%r9,4), %r10d
movl %r10d, (%rax,%r9,4)
jmp 0x2658
movl (%rax,%r9,4), %r10d
subl (%r8,%r9,4), %r10d
jl 0x2667
movl %r10d, (%rax,%r9,4)
incl 0x4(%rax,%r9,4)
incq %r9
cmpq %r9, %rdx
jne 0x2641
cmpl $0x0, -0x4(%rax,%rcx,4)
jle 0x26ad
leaq -0x38(%rbp), %r15
movq %r15, %rdi
movq %r14, %rsi
callq 0x2c56
movq %rbx, %rdi
movq %r15, %rsi
callq 0x26ca
movq -0x38(%rbp), %rdi
testq %rdi, %rdi
je 0x269e
callq 0x20c0
xorl %eax, %eax
addq $0x30, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movb $0x1, %al
jmp 0x26a0
movq %rax, %rbx
movq -0x38(%rbp), %rdi
testq %rdi, %rdi
je 0x26c2
callq 0x20c0
movq %rbx, %rdi
callq 0x2140
// File: /workspace/github_cpp_makefile_star2_O3/EverybodyHops[P]Permutations/media_number.cpp
// Function: media_number::sub_vector(std::vector<int, std::allocator<int>>)
bool media_number::sub_vector(vector<int> v){
    if(!if_vector_legal(v)){
        return false;
    }

    for(int i = 0; i < num.size() - 1; i++){
        if(i < v.size()){  
            num[i] -= v[i];
        }
        if(num[i] < 0){
            num[i] += carry[i];
            num[i + 1] -= 1;
        }
    }

    if(num[num.size() - 1] < 0){
        #ifdef DEBUG
            cout << "Underflow!" << endl;
            print_num();
        #endif
        add_vector(v);
        #ifdef DEBUG
            cout << "After handle unferflow." << endl;
            print_num();
        #endif
        return false;
    }

    return true;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x30, %rsp
movq %rsi, %r14
movq %rdi, %rbx
leaq -0x50(%rbp), %r12
movq %r12, %rdi
callq 0x2c56
movq %rbx, %rdi
movq %r12, %rsi
callq 0x2574
movl %eax, %r15d
movq (%r12), %rdi
testq %rdi, %rdi
je 0x2707
callq 0x20c0
testb %r15b, %r15b
je 0x279d
movq (%rbx), %rcx
movq 0x8(%rbx), %rdx
subq %rcx, %rdx
sarq $0x2, %rdx
movq %rdx, %rax
decq %rax
je 0x276c
movq (%r14), %rsi
movq 0x8(%r14), %rdi
subq %rsi, %rdi
sarq $0x2, %rdi
movq 0x18(%rbx), %r8
xorl %r9d, %r9d
cmpq %r9, %rdi
jbe 0x274e
movl (%rcx,%r9,4), %r10d
subl (%rsi,%r9,4), %r10d
movl %r10d, (%rcx,%r9,4)
jmp 0x2752
movl (%rcx,%r9,4), %r10d
testl %r10d, %r10d
jns 0x2764
addl (%r8,%r9,4), %r10d
movl %r10d, (%rcx,%r9,4)
decl 0x4(%rcx,%r9,4)
incq %r9
cmpq %r9, %rax
jne 0x273b
movb $0x1, %al
cmpl $0x0, -0x4(%rcx,%rdx,4)
jns 0x279f
leaq -0x38(%rbp), %r15
movq %r15, %rdi
movq %r14, %rsi
callq 0x2c56
movq %rbx, %rdi
movq %r15, %rsi
callq 0x25d0
movq -0x38(%rbp), %rdi
testq %rdi, %rdi
je 0x279d
callq 0x20c0
xorl %eax, %eax
addq $0x30, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq -0x38(%rbp), %rdi
testq %rdi, %rdi
je 0x27bd
callq 0x20c0
movq %rbx, %rdi
callq 0x2140
nop
// File: /workspace/github_cpp_makefile_star2_O3/EverybodyHops[P]Permutations/media_number.cpp
// Function: increase_carry::increase_carry(int)
increase_carry::increase_carry(int digit){
    for(int i = 0; i < digit; i++){
        num.push_back(0);
        carry.push_back(i + 2);
    }
    num.push_back(0);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdi, %rbx
xorps %xmm0, %xmm0
movups %xmm0, 0x20(%rdi)
movups %xmm0, 0x10(%rdi)
movups %xmm0, (%rdi)
testl %esi, %esi
jle 0x2967
movl %esi, %r14d
leaq 0x18(%rbx), %r15
negl %r14d
movl $0x2, %r12d
leaq -0x30(%rbp), %r13
movl $0x0, -0x34(%rbp)
movq 0x8(%rbx), %rsi
cmpq 0x10(%rbx), %rsi
je 0x2901
movl $0x0, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x8(%rbx)
jmp 0x290d
movq %rbx, %rdi
leaq -0x34(%rbp), %rdx
callq 0x2e3c
movl %r12d, -0x30(%rbp)
movq 0x20(%rbx), %rsi
cmpq 0x28(%rbx), %rsi
je 0x2928
movl %r12d, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x20(%rbx)
jmp 0x2933
movq %r15, %rdi
movq %r13, %rdx
callq 0x2e3c
leal (%r14,%r12), %eax
incl %eax
movl %r12d, %ecx
incl %ecx
movl %ecx, %r12d
cmpl $0x2, %eax
jne 0x28e0
movq 0x8(%rbx), %rsi
cmpq 0x10(%rbx), %rsi
movl $0x0, -0x2c(%rbp)
je 0x2970
movl $0x0, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x8(%rbx)
jmp 0x297c
movl $0x0, -0x2c(%rbp)
xorl %esi, %esi
leaq -0x2c(%rbp), %rdx
movq %rbx, %rdi
callq 0x2e3c
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x298f
jmp 0x298f
movq %rax, %r14
movq %rbx, %rdi
callq 0x2cd6
movq %r14, %rdi
callq 0x2140
// File: /workspace/github_cpp_makefile_star2_O3/EverybodyHops[P]Permutations/media_number.cpp
// Function: increase_carry::increase_carry(std::vector<int, std::allocator<int>>)
increase_carry::increase_carry(vector<int> _num){
    num.assign(_num.begin(), _num.end());
    for(int i = 0; i < num.size(); i++){
        carry.push_back(i + 2);
    }
    num.push_back(0);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x10, %rsp
movq %rdi, %rbx
xorps %xmm0, %xmm0
movups %xmm0, 0x20(%rdi)
movups %xmm0, 0x10(%rdi)
movups %xmm0, (%rdi)
movq (%rsi), %rax
movq 0x8(%rsi), %rdx
movq %rax, %rsi
callq 0x2f10
movq (%rbx), %rcx
movq 0x8(%rbx), %rsi
cmpq %rcx, %rsi
je 0x2a2d
leaq 0x18(%rbx), %r14
xorl %r12d, %r12d
leaq -0x28(%rbp), %r15
leaq 0x2(%r12), %rdx
movl %edx, -0x28(%rbp)
movq 0x20(%rbx), %rax
cmpq 0x28(%rbx), %rax
je 0x2a06
movl %edx, (%rax)
addq $0x4, %rax
movq %rax, 0x20(%rbx)
jmp 0x2a1b
movq %r14, %rdi
movq %rax, %rsi
movq %r15, %rdx
callq 0x2e3c
movq (%rbx), %rcx
movq 0x8(%rbx), %rsi
incq %r12
movq %rsi, %rax
subq %rcx, %rax
sarq $0x2, %rax
cmpq %r12, %rax
ja 0x29e8
movl $0x0, -0x24(%rbp)
cmpq 0x10(%rbx), %rsi
je 0x2a4a
movl $0x0, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x8(%rbx)
jmp 0x2a56
leaq -0x24(%rbp), %rdx
movq %rbx, %rdi
callq 0x2e3c
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
jmp 0x2a67
jmp 0x2a67
movq %rax, %r14
movq %rbx, %rdi
callq 0x2cd6
movq %r14, %rdi
callq 0x2140
// File: /workspace/github_cpp_makefile_star2_O3/EverybodyHops[P]Permutations/media_number.cpp
// Function: decrease_carry::decrease_carry(int)
decrease_carry::decrease_carry(int digit){
    for(int i = 0; i < digit; i++){
        num.push_back(0);
        carry.push_back(digit + 1 - i);
    }
    num.push_back(0);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdi, %rbx
xorps %xmm0, %xmm0
movups %xmm0, 0x20(%rdi)
movups %xmm0, 0x10(%rdi)
movups %xmm0, (%rdi)
testl %esi, %esi
jle 0x2b32
movl %esi, %r14d
incl %r14d
leaq 0x18(%rbx), %r15
leaq -0x34(%rbp), %r12
leaq -0x30(%rbp), %r13
movl $0x0, -0x34(%rbp)
movq 0x8(%rbx), %rsi
cmpq 0x10(%rbx), %rsi
je 0x2ad7
movl $0x0, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x8(%rbx)
jmp 0x2ae2
movq %rbx, %rdi
movq %r12, %rdx
callq 0x2e3c
movl %r14d, -0x30(%rbp)
movq 0x20(%rbx), %rsi
cmpq 0x28(%rbx), %rsi
je 0x2afd
movl %r14d, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x20(%rbx)
jmp 0x2b08
movq %r15, %rdi
movq %r13, %rdx
callq 0x2e3c
decl %r14d
cmpl $0x1, %r14d
jne 0x2ab6
movq 0x8(%rbx), %rsi
cmpq 0x10(%rbx), %rsi
movl $0x0, -0x2c(%rbp)
je 0x2b3b
movl $0x0, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x8(%rbx)
jmp 0x2b47
movl $0x0, -0x2c(%rbp)
xorl %esi, %esi
leaq -0x2c(%rbp), %rdx
movq %rbx, %rdi
callq 0x2e3c
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x2b5a
jmp 0x2b5a
movq %rax, %r14
movq %rbx, %rdi
callq 0x2cd6
movq %r14, %rdi
callq 0x2140
nop
// File: /workspace/github_cpp_makefile_star2_O3/EverybodyHops[P]Permutations/media_number.cpp
// Function: decrease_carry::decrease_carry(std::vector<int, std::allocator<int>>)
decrease_carry::decrease_carry(vector<int> _num){
    num.assign(_num.begin(), _num.end());
    for(int i = 0; i < num.size(); i++){
        carry.push_back(num.size() - i + 1);
    }
    num.push_back(0);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
xorps %xmm0, %xmm0
movups %xmm0, 0x20(%rdi)
movups %xmm0, 0x10(%rdi)
movups %xmm0, (%rdi)
movq (%rsi), %rax
movq 0x8(%rsi), %rdx
movq %rax, %rsi
callq 0x2f10
movq (%rbx), %rcx
movq 0x8(%rbx), %rsi
movq %rsi, %rdx
subq %rcx, %rdx
je 0x2c06
sarq $0x2, %rdx
leaq 0x18(%rbx), %r14
movl $0x1, %r12d
xorl %r13d, %r13d
leaq -0x30(%rbp), %r15
addl %r12d, %edx
movl %edx, -0x30(%rbp)
movq 0x20(%rbx), %rax
cmpq 0x28(%rbx), %rax
je 0x2bdc
movl %edx, (%rax)
addq $0x4, %rax
movq %rax, 0x20(%rbx)
jmp 0x2bf1
movq %r14, %rdi
movq %rax, %rsi
movq %r15, %rdx
callq 0x2e3c
movq (%rbx), %rcx
movq 0x8(%rbx), %rsi
incq %r13
movq %rsi, %rdx
subq %rcx, %rdx
sarq $0x2, %rdx
decl %r12d
cmpq %r13, %rdx
ja 0x2bc0
movl $0x0, -0x2c(%rbp)
cmpq 0x10(%rbx), %rsi
je 0x2c23
movl $0x0, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x8(%rbx)
jmp 0x2c2f
leaq -0x2c(%rbp), %rdx
movq %rbx, %rdi
callq 0x2e3c
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x2c42
jmp 0x2c42
movq %rax, %r14
movq %rbx, %rdi
callq 0x2cd6
movq %r14, %rdi
callq 0x2140
nop
// File: /workspace/github_cpp_makefile_star2_O3/EverybodyHops[P]Permutations/./debug.h
// Function: void print_vector<char>(std::vector<char, std::allocator<char>>, bool)
void print_vector(vector<T> a, bool if_reverse=false){
    if(if_reverse){
        reverse(a.begin(), a.end());
    }
    for(auto x: a){
        cout << x << " ";
    }
    cout << endl;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq (%rdi), %r12
testl %esi, %esi
je 0x4a77
movq 0x8(%rdi), %rax
cmpq %rax, %r12
setne %cl
decq %rax
cmpq %r12, %rax
seta %dl
andb %cl, %dl
cmpb $0x1, %dl
jne 0x4a77
incq %r12
movb -0x1(%r12), %cl
movb (%rax), %dl
movb %dl, -0x1(%r12)
movb %cl, (%rax)
decq %rax
leaq 0x1(%r12), %rcx
cmpq %rax, %r12
movq %rcx, %r12
jb 0x4a56
movq (%rdi), %r12
movq 0x8(%rdi), %r13
cmpq %r13, %r12
je 0x4ac1
movq 0x4551(%rip), %rbx      # 0x8fd8
leaq -0x29(%rbp), %r14
leaq 0x157a(%rip), %r15      # 0x600c
movb (%r12), %al
movb %al, -0x29(%rbp)
movl $0x1, %edx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x20f0
movl $0x1, %edx
movq %rax, %rdi
movq %r15, %rsi
callq 0x20f0
incq %r12
cmpq %r13, %r12
jne 0x4a92
movq 0x4510(%rip), %rbx      # 0x8fd8
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x20d0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2040
movq %rax, %rdi
callq 0x2080
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/EverybodyHops[P]Permutations/./permutations.hpp
// Function: dic_order<int>::get_permutation()
vector<T> get_permutation() override{
        int len = this->ordered_element.size();
        bool *can_use = new bool[len];
        for(int i = 0; i < this->ordered_element.size(); i++){
            can_use[i] = true;
        }

        vector<int> m_num = this->media_num->get_num();
        m_num.insert(m_num.begin(), 0);
        
        vector<T> res;
        int temp;
        for(int i = m_num.size() - 1; i >= 0; i--){
            temp = m_num[i];
            for(int j = 0; j < len; j++){
                if(can_use[j]){
                    if(temp == 0){
                        res.push_back(this->ordered_element[j]);
                        can_use[j] = false;
                        break; 
                    }else{
                        temp -= 1;
                    }
                }
            }
        }
        delete[] can_use;
        return res;
    }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rdi, -0x30(%rbp)
movq 0x18(%rsi), %rbx
movq %rsi, -0x38(%rbp)
movq 0x10(%rsi), %r12
movq %rbx, %rax
subq %r12, %rax
movq %rax, %r14
sarq $0x2, %r14
shrq $0x2, %rax
cltq
testq %rax, %rax
movq $-0x1, %rdi
cmovnsq %rax, %rdi
callq 0x2030
movq %rax, %r15
cmpq %r12, %rbx
je 0x3ac1
cmpq $0x1, %r14
movq %r14, %rdx
adcq $0x0, %rdx
movq %r15, %rdi
movl $0x1, %esi
callq 0x2070
movq -0x38(%rbp), %rax
movq 0x8(%rax), %rsi
leaq -0x50(%rbp), %r12
movq %r12, %rdi
callq 0x22dc
movq (%r12), %rsi
leaq -0x54(%rbp), %rdx
movl $0x0, (%rdx)
movq %r12, %rdi
callq 0x5294
xorps %xmm0, %xmm0
movq -0x30(%rbp), %rdi
movups %xmm0, (%rdi)
movq $0x0, 0x10(%rdi)
movq -0x48(%rbp), %rax
subq -0x50(%rbp), %rax
shrq $0x2, %rax
decl %eax
js 0x3b85
movl %eax, %r12d
movl %r14d, %r13d
andl $0x7fffffff, %r13d      # imm = 0x7FFFFFFF
testl %r14d, %r14d
jle 0x3b78
movq -0x50(%rbp), %rax
movl (%rax,%r12,4), %ecx
xorl %eax, %eax
xorl %ebx, %ebx
cmpb $0x1, (%r15,%rbx)
jne 0x3b38
testl %ecx, %ecx
je 0x3b46
decl %ecx
incq %rbx
addq $-0x4, %rax
cmpq %rbx, %r13
jne 0x3b2b
jmp 0x3b78
movq -0x38(%rbp), %rcx
movq 0x10(%rcx), %rdx
movq 0x8(%rdi), %rsi
cmpq 0x10(%rdi), %rsi
je 0x3b67
movl (%rdx,%rbx,4), %eax
movl %eax, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x8(%rdi)
jmp 0x3b6f
subq %rax, %rdx
callq 0x2d22
movb $0x0, (%r15,%rbx)
movq -0x30(%rbp), %rdi
leaq -0x1(%r12), %rax
testq %r12, %r12
movq %rax, %r12
jg 0x3b1a
movq %r15, %rdi
callq 0x2100
movq -0x50(%rbp), %rdi
testq %rdi, %rdi
je 0x3b9b
callq 0x20c0
movq -0x30(%rbp), %rax
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
jmp 0x3bc7
movq %rax, %r14
movq -0x30(%rbp), %rax
movq (%rax), %rdi
testq %rdi, %rdi
je 0x3bc7
callq 0x20c0
movq -0x50(%rbp), %rdi
testq %rdi, %rdi
je 0x3bd5
callq 0x20c0
movq %r14, %rdi
callq 0x2140
nop
// File: /workspace/github_cpp_makefile_star2_O3/EverybodyHops[P]Permutations/./permutations.hpp
// Function: increase_carry_order<int>::get_permutation()
vector<T> get_permutation() override{
        int len = this->ordered_element.size();
        bool *can_put = new bool[len];
        for(int i = 0; i < this->ordered_element.size(); i++){
            can_put[i] = true;
        }

        vector<int> m_num = this->media_num->get_num();
        m_num.insert(m_num.begin(), 0);

        vector<T> res(len);
        int temp;
        for(int i = m_num.size() - 1; i >= 0; i--){
            temp = m_num[i];
            for(int j = 0; j < len; j++){
                if(can_put[j]){
                    if(temp == 0){
                        res[j] = this->ordered_element[i];
                        can_put[j] = false;
                        break; 
                    }else{
                        temp -= 1;
                    }
                }
            }
        }
        delete[] can_put;
        reverse(res.begin(), res.end());
        return res;
    }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rdi, -0x40(%rbp)
movq 0x18(%rsi), %r13
movq %rsi, -0x38(%rbp)
movq 0x10(%rsi), %r15
movq %r13, %rax
subq %r15, %rax
movq %rax, %rbx
sarq $0x2, %rbx
shrq $0x2, %rax
movslq %eax, %r12
testq %r12, %r12
movq $-0x1, %rdi
cmovnsq %r12, %rdi
callq 0x2030
movq %rax, %r14
cmpq %r15, %r13
je 0x3e18
cmpq $0x1, %rbx
movq %rbx, %rdx
adcq $0x0, %rdx
movq %r14, %rdi
movl $0x1, %esi
callq 0x2070
movq -0x38(%rbp), %rax
movq 0x8(%rax), %rsi
leaq -0x58(%rbp), %r13
movq %r13, %rdi
callq 0x22dc
movq (%r13), %rsi
leaq -0x2c(%rbp), %rdx
movl $0x0, (%rdx)
movq %r13, %rdi
callq 0x5294
leaq -0x2c(%rbp), %rdx
movq -0x40(%rbp), %r15
movq %r15, %rdi
movq %r12, %rsi
callq 0x531a
movq -0x58(%rbp), %rax
movq -0x50(%rbp), %rsi
subq %rax, %rsi
shrq $0x2, %rsi
decl %esi
js 0x3eba
movq -0x38(%rbp), %rcx
movq 0x10(%rcx), %rcx
movq (%r15), %rdx
movl %esi, %esi
movl %ebx, %edi
andl $0x7fffffff, %edi       # imm = 0x7FFFFFFF
testl %ebx, %ebx
jle 0x3eae
movl (%rax,%rsi,4), %r9d
xorl %r8d, %r8d
cmpb $0x1, (%r14,%r8)
jne 0x3e97
testl %r9d, %r9d
je 0x3ea1
decl %r9d
incq %r8
cmpq %r8, %rdi
jne 0x3e88
jmp 0x3eae
movl (%rcx,%rsi,4), %r9d
movl %r9d, (%rdx,%r8,4)
movb $0x0, (%r14,%r8)
leaq -0x1(%rsi), %r8
testq %rsi, %rsi
movq %r8, %rsi
jg 0x3e7d
movq %r14, %rdi
callq 0x2100
movq (%r15), %rax
movq 0x8(%r15), %rcx
cmpq %rcx, %rax
setne %dl
addq $-0x4, %rcx
cmpq %rax, %rcx
seta %sil
andb %dl, %sil
cmpb $0x1, %sil
jne 0x3f01
addq $0x4, %rax
movl -0x4(%rax), %edx
movl (%rcx), %esi
movl %esi, -0x4(%rax)
movl %edx, (%rcx)
addq $-0x4, %rcx
leaq 0x4(%rax), %rdx
cmpq %rcx, %rax
movq %rdx, %rax
jb 0x3ee7
movq -0x58(%rbp), %rdi
testq %rdi, %rdi
je 0x3f0f
callq 0x20c0
movq %r15, %rax
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x3f23
movq %rax, %rbx
movq -0x58(%rbp), %rdi
testq %rdi, %rdi
je 0x3f34
callq 0x20c0
movq %rbx, %rdi
callq 0x2140
// File: /workspace/github_cpp_makefile_star2_O3/EverybodyHops[P]Permutations/./permutations.hpp
// Function: permutations<char>::~permutations()
~permutations(){
        #ifdef DEBUG
            cout << "release media_num." << endl;
        #endif
        delete media_num;
    }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq %rdi, %rbx
leaq 0x3f4b(%rip), %rax      # 0x8c88
movq %rax, (%rdi)
movq 0x8(%rdi), %r14
testq %r14, %r14
je 0x4d64
movq 0x18(%r14), %rdi
testq %rdi, %rdi
je 0x4d57
callq 0x20c0
movq (%r14), %rdi
testq %rdi, %rdi
je 0x4d64
callq 0x20c0
movq %r14, %rdi
callq 0x20c0
movq 0x10(%rbx), %rdi
testq %rdi, %rdi
je 0x4d7e
popq %rbx
popq %r14
popq %rbp
jmp 0x20c0
popq %rbx
popq %r14
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/attractivechaos[P]udb2/tsl_hopscotch_map/./hopscotch_hash.h
// Function: std::pair<tsl::detail_hopscotch_hash::hopscotch_hash<std::pair<unsigned int const, unsigned int>, tsl::bhopscotch_map<unsigned int, unsigned int, Hash32, std::equal_to<unsigned int>, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, unsigned int>>, 62u, false, tsl::hh::power_of_two_growth_policy<2ul>>::KeySelect, tsl::bhopscotch_map<unsigned int, unsigned int, Hash32, std::equal_to<unsigned int>, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, unsigned int>>, 62u, false, tsl::hh::power_of_two_growth_policy<2ul>>::ValueSelect, Hash32, std::equal_to<unsigned int>, std::allocator<std::pair<unsigned int const, unsigned int>>, 62u, false, tsl::hh::power_of_two_growth_policy<2ul>, std::map<unsigned int, unsigned int, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, unsigned int>>>>::hopscotch_iterator<false>, bool> tsl::detail_hopscotch_hash::hopscotch_hash<std::pair<unsigned int const, unsigned int>, tsl::bhopscotch_map<unsigned int, unsigned int, Hash32, std::equal_to<unsigned int>, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, unsigned int>>, 62u, false, tsl::hh::power_of_two_growth_policy<2ul>>::KeySelect, tsl::bhopscotch_map<unsigned int, unsigned int, Hash32, std::equal_to<unsigned int>, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, unsigned int>>, 62u, false, tsl::hh::power_of_two_growth_policy<2ul>>::ValueSelect, Hash32, std::equal_to<unsigned int>, std::allocator<std::pair<unsigned int const, unsigned int>>, 62u, false, tsl::hh::power_of_two_growth_policy<2ul>, std::map<unsigned int, unsigned int, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, unsigned int>>>>::insert_impl<std::pair<unsigned int const, unsigned int>>(std::pair<unsigned int const, unsigned int>&&)
std::pair<iterator, bool> insert_impl(P&& value) {
        const std::size_t hash = hash_key(KeySelect()(value));
        const std::size_t ibucket_for_hash = bucket_for_hash(hash);
        
        // Check if already presents
        auto it_find = find_impl(KeySelect()(value), hash, m_buckets + ibucket_for_hash);
        if(it_find != end()) {
            return std::make_pair(it_find, false);
        }
        
        
        return insert_value(ibucket_for_hash, hash, std::forward<P>(value));
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
movl (%rdx), %r12d
movl (%rsi), %r13d
andl %r12d, %r13d
movq %r13, %r8
shlq $0x4, %r8
addq 0x50(%rsi), %r8
movq %rsp, %rbp
movq %rbp, %rdi
movq %r12, %rcx
callq 0x1d2e
movq (%rbp), %rax
cmpq 0x10(%r15), %rax
jne 0x1d08
leaq 0x28(%r15), %rax
cmpq %rax, 0x10(%rsp)
jne 0x1d08
movq %rbx, %rdi
movq %r15, %rsi
movq %r13, %rdx
movq %r12, %rcx
movq %r14, %r8
callq 0x1dca
jmp 0x1d1c
movq 0x10(%rsp), %rax
movq %rax, 0x10(%rbx)
movups (%rsp), %xmm0
movups %xmm0, (%rbx)
movb $0x0, 0x18(%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_O3/attractivechaos[P]udb2/tsl_hopscotch_map/./hopscotch_hash.h
// Function: tsl::detail_hopscotch_hash::hopscotch_hash<std::pair<unsigned int const, unsigned int>, tsl::bhopscotch_map<unsigned int, unsigned int, Hash32, std::equal_to<unsigned int>, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, unsigned int>>, 62u, false, tsl::hh::power_of_two_growth_policy<2ul>>::KeySelect, tsl::bhopscotch_map<unsigned int, unsigned int, Hash32, std::equal_to<unsigned int>, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, unsigned int>>, 62u, false, tsl::hh::power_of_two_growth_policy<2ul>>::ValueSelect, Hash32, std::equal_to<unsigned int>, std::allocator<std::pair<unsigned int const, unsigned int>>, 62u, false, tsl::hh::power_of_two_growth_policy<2ul>, std::map<unsigned int, unsigned int, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, unsigned int>>>>::will_neighborhood_change_on_rehash(unsigned long) const
bool will_neighborhood_change_on_rehash(size_t ibucket_neighborhood_check) const {
        std::size_t expand_bucket_count = GrowthPolicy::next_bucket_count();
        GrowthPolicy expand_growth_policy(expand_bucket_count);
        
        const bool use_stored_hash = USE_STORED_HASH_ON_REHASH(expand_bucket_count);
        for(size_t ibucket = ibucket_neighborhood_check; 
            ibucket < m_buckets_data.size() && (ibucket - ibucket_neighborhood_check) < NeighborhoodSize; 
            ++ibucket)
        {
            tsl_hh_assert(!m_buckets[ibucket].empty());
            
            const size_t hash = use_stored_hash?
                                    m_buckets[ibucket].truncated_bucket_hash():
                                    hash_key(KeySelect()(m_buckets[ibucket].value()));
            if(bucket_for_hash(hash) != expand_growth_policy.bucket_for_hash(hash)) {
                return true;
            }
        }
        
        return false;
    }

// Assembly:
pushq %r14
pushq %rbx
subq $0x18, %rsp
movq %rsi, %rbx
movq %rdi, %r14
callq 0x1fd4
leaq 0x10(%rsp), %rsi
movq %rax, (%rsi)
leaq 0x8(%rsp), %rdi
callq 0x250e
movq 0x10(%r14), %rcx
subq 0x8(%r14), %rcx
sarq $0x4, %rcx
cmpq %rbx, %rcx
jbe 0x218b
movq 0x50(%r14), %rax
movq 0x8(%rsp), %rdx
xorq (%r14), %rdx
movq %rbx, %rsi
shlq $0x4, %rsi
addq %rax, %rsi
addq $0x8, %rsi
movl $0x1, %edi
testl %edx, (%rsi)
setne %al
jne 0x218d
cmpq $0x3d, %rdi
ja 0x218d
leaq (%rbx,%rdi), %r8
incq %rdi
addq $0x10, %rsi
cmpq %rcx, %r8
jb 0x216c
jmp 0x218d
xorl %eax, %eax
addq $0x18, %rsp
popq %rbx
popq %r14
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/attractivechaos[P]udb2/tsl_hopscotch_map/./hopscotch_hash.h
// Function: tsl::detail_hopscotch_hash::hopscotch_hash<std::pair<unsigned int const, unsigned int>, tsl::bhopscotch_map<unsigned int, unsigned int, Hash32, std::equal_to<unsigned int>, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, unsigned int>>, 62u, false, tsl::hh::power_of_two_growth_policy<2ul>>::KeySelect, tsl::bhopscotch_map<unsigned int, unsigned int, Hash32, std::equal_to<unsigned int>, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, unsigned int>>, 62u, false, tsl::hh::power_of_two_growth_policy<2ul>>::ValueSelect, Hash32, std::equal_to<unsigned int>, std::allocator<std::pair<unsigned int const, unsigned int>>, 62u, false, tsl::hh::power_of_two_growth_policy<2ul>, std::map<unsigned int, unsigned int, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, unsigned int>>>>::erase_from_bucket(tsl::detail_hopscotch_hash::hopscotch_bucket<std::pair<unsigned int const, unsigned int>, 62u, false>&, unsigned long)
void erase_from_bucket(hopscotch_bucket& bucket_for_value, std::size_t ibucket_for_hash) noexcept {
        const std::size_t ibucket_for_value = std::distance(m_buckets_data.data(), &bucket_for_value);
        tsl_hh_assert(ibucket_for_value >= ibucket_for_hash);
        
        bucket_for_value.remove_value();
        m_buckets[ibucket_for_hash].toggle_neighbor_presence(ibucket_for_value - ibucket_for_hash);
        m_nb_elements--;
    }

// Assembly:
movq %rsi, %rcx
movq 0x8(%rdi), %rax
movq (%rsi), %rsi
testb $0x1, %sil
je 0x2365
andq $-0x2, %rsi
movq %rsi, (%rcx)
subl %eax, %ecx
shrl $0x4, %ecx
movq 0x50(%rdi), %rax
movq %rdx, %rsi
subl %edx, %ecx
addb $0x2, %cl
movl $0x1, %edx
shlq %cl, %rdx
shlq $0x4, %rsi
xorq %rdx, (%rax,%rsi)
decq 0x58(%rdi)
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/attractivechaos[P]udb2/tsl_hopscotch_map/./hopscotch_growth_policy.h
// Function: tsl::hh::power_of_two_growth_policy<2ul>::power_of_two_growth_policy(unsigned long&)
explicit power_of_two_growth_policy(std::size_t& min_bucket_count_in_out) {
        if(min_bucket_count_in_out > max_bucket_count()) {
            throw std::length_error("The hash table exceeds its maxmimum size.");
        }
        
        if(min_bucket_count_in_out > 0) {
            min_bucket_count_in_out = round_up_to_power_of_two(min_bucket_count_in_out);
            m_mask = min_bucket_count_in_out - 1;
        }
        else {
            m_mask = 0;
        }
    }

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq (%rsi), %rcx
movabsq $-0x7fffffffffffffff, %rax # imm = 0x8000000000000001
cmpq %rax, %rcx
jae 0x2568
testq %rcx, %rcx
je 0x255b
leaq -0x1(%rcx), %rax
testq %rax, %rcx
je 0x2553
movl $0x1, %ecx
movq %rax, %rdx
shrq %cl, %rax
orq %rdx, %rax
leaq (%rcx,%rcx), %rdx
cmpq $0x20, %rcx
movq %rdx, %rcx
jb 0x2537
incq %rax
movq %rax, %rcx
movq %rcx, (%rsi)
decq %rcx
jmp 0x255d
xorl %ecx, %ecx
movq %rcx, (%rdi)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
movl $0x10, %edi
callq 0x1090
movq %rax, %rbx
leaq 0xb6e(%rip), %rsi       # 0x30ea
movq %rax, %rdi
callq 0x1160
movq 0x2a55(%rip), %rsi      # 0x4fe0
movq 0x2a3e(%rip), %rdx      # 0x4fd0
movq %rbx, %rdi
callq 0x11c0
movq %rax, %r14
movq %rbx, %rdi
callq 0x1100
movq %r14, %rdi
callq 0x11d0
nop
// File: /workspace/github_cpp_makefile_star2_O3/attractivechaos[P]udb2/tsl_hopscotch_map/./hopscotch_hash.h
// Function: tsl::detail_hopscotch_hash::hopscotch_hash<std::pair<unsigned int const, unsigned int>, tsl::bhopscotch_map<unsigned int, unsigned int, Hash32, std::equal_to<unsigned int>, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, unsigned int>>, 62u, false, tsl::hh::power_of_two_growth_policy<2ul>>::KeySelect, tsl::bhopscotch_map<unsigned int, unsigned int, Hash32, std::equal_to<unsigned int>, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, unsigned int>>, 62u, false, tsl::hh::power_of_two_growth_policy<2ul>>::ValueSelect, Hash32, std::equal_to<unsigned int>, std::allocator<std::pair<unsigned int const, unsigned int>>, 62u, false, tsl::hh::power_of_two_growth_policy<2ul>, std::map<unsigned int, unsigned int, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, unsigned int>>>>::erase_from_overflow(std::_Rb_tree_const_iterator<std::pair<unsigned int const, unsigned int>>, unsigned long)
iterator_overflow erase_from_overflow(const_iterator_overflow pos, std::size_t ibucket_for_hash) {
#ifdef TSL_HH_NO_RANGE_ERASE_WITH_CONST_ITERATOR        
        auto it_next = m_overflow_elements.erase(mutable_overflow_iterator(pos));
#else
        auto it_next = m_overflow_elements.erase(pos);
#endif
        m_nb_elements--;
        
        
        // Check if we can remove the overflow flag
        tsl_hh_assert(m_buckets[ibucket_for_hash].has_overflow());
        for(const value_type& value: m_overflow_elements) {
            const std::size_t bucket_for_value = bucket_for_hash(hash_key(KeySelect()(value)));
            if(bucket_for_value == ibucket_for_hash) {
                return it_next;
            }
        }
        
        m_buckets[ibucket_for_hash].set_overflow(false);
        return it_next;
    }

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rdx, %rbx
movq %rdi, %r14
leaq 0x20(%rdi), %r15
callq 0x27e6
movq %r15, %rdi
movq %rax, %rsi
callq 0x2826
decq 0x58(%r14)
movq %rax, %r15
movq 0x38(%r14), %rax
leaq 0x28(%r14), %r12
cmpq %r12, %rax
je 0x27cc
movq (%r14), %r13
movl 0x20(%rax), %ecx
andl %r13d, %ecx
cmpq %rbx, %rcx
je 0x27d9
movq %rax, %rdi
callq 0x10f0
cmpq %r12, %rax
jne 0x27b4
movq 0x50(%r14), %rax
shlq $0x4, %rbx
andq $-0x3, (%rax,%rbx)
movq %r15, %rax
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O3/ef-gy[P]libefgy/include/ef.gy/exponential.h
// Function: efgy::math::exponentiate::integral<efgy::math::numeric::fractional<long long>, 0l>::raise(efgy::math::numeric::fractional<long long> const&, long long const&)
constexpr static Q raise(
      const Q &base, const typename numeric::traits<Q>::integral &exponent) {
    return exponent == typename numeric::traits<Q>::integral(0)
               ? Q(1)
               : exponent == typename numeric::traits<Q>::integral(-1)
                     ? Q(1) / base
                     : exponent == typename numeric::traits<Q>::integral(1)
                           ? base
                           : exponent % typename numeric::traits<Q>::integral(
                                            2) ==
                                     typename numeric::traits<Q>::integral(0)
                                 ? raise(base * base, exponent >> 1)
                                 : base * raise(base * base,
                                                (exponent -
                                                 typename numeric::traits<
                                                     Q>::integral(1)) >>
                                                    1);
  }

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x30, %rsp
movq %rdi, %rbx
movq (%rsi), %rax
cmpq $0x1, %rax
je 0x119c8
testq %rax, %rax
je 0x11911
cmpq $-0x1, %rax
jne 0x11920
movdqu (%rbx), %xmm0
pshufd $0x4e, %xmm0, %xmm0     # xmm0 = xmm0[2,3,0,1]
movq %rsp, %rbx
movdqa %xmm0, (%rbx)
jmp 0x119c0
movl $0x1, %eax
movl $0x1, %edx
jmp 0x119cf
movq %rsi, %r14
testb $0x1, %al
jne 0x11968
movq (%rbx), %rax
movq 0x8(%rbx), %rcx
imulq %rax, %rax
imulq %rcx, %rcx
movq %rsp, %rbx
movq %rax, (%rbx)
movq %rcx, 0x8(%rbx)
movq %rbx, %rdi
callq 0x115be
movdqa (%rbx), %xmm0
movdqa %xmm0, (%rbx)
movq (%r14), %rax
sarq %rax
leaq 0x10(%rsp), %rsi
movq %rax, (%rsi)
movq %rsp, %rdi
callq 0x118d8
jmp 0x119cf
movq (%rbx), %rax
movq 0x8(%rbx), %rcx
imulq %rax, %rax
imulq %rcx, %rcx
movq %rsp, %r15
movq %rax, (%r15)
movq %rcx, 0x8(%r15)
movq %r15, %rdi
callq 0x115be
movdqa (%r15), %xmm0
leaq 0x10(%rsp), %rdi
movdqa %xmm0, (%rdi)
movq (%r14), %rax
decq %rax
sarq %rax
leaq 0x28(%rsp), %rsi
movq %rax, (%rsi)
callq 0x118d8
imulq (%rbx), %rax
imulq 0x8(%rbx), %rdx
movq %rax, (%r15)
movq %rdx, 0x8(%r15)
movq %rsp, %rbx
movq %rbx, %rdi
callq 0x115be
movq (%rbx), %rax
movq 0x8(%rbx), %rdx
addq $0x30, %rsp
popq %rbx
popq %r14
popq %r15
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/ef-gy[P]libefgy/include/ef.gy/fractions.h
// Function: efgy::math::numeric::fractional<long long>::minimise()
void minimise(void) {
    normalise();

    N n = (numerator < zero()) ? gcdP(-numerator, denominator)
                               : gcdP(numerator, denominator);

    if ((n != zero()) && (n != one())) {
      numerator /= n;
      denominator /= n;
    }
  }

// Assembly:
movq (%rdi), %rsi
movq 0x8(%rdi), %rcx
testq %rcx, %rcx
jns 0x115d7
negq %rsi
movq %rsi, (%rdi)
negq %rcx
movq %rcx, 0x8(%rdi)
testq %rsi, %rsi
js 0x115f9
testq %rcx, %rcx
je 0x11619
movq %rsi, %rax
movq %rcx, %rdx
movq %rdx, %r8
cqto
idivq %r8
movq %r8, %rax
testq %rdx, %rdx
jg 0x115e7
jmp 0x11625
movq %rsi, %rax
negq %rax
testq %rcx, %rcx
je 0x11622
movq %rcx, %rdx
movq %rdx, %r8
cqto
idivq %r8
movq %r8, %rax
testq %rdx, %rdx
jg 0x11607
jmp 0x11625
movq %rsi, %r8
testq %rsi, %rsi
jne 0x11625
retq
movq %rax, %r8
cmpq $0x1, %r8
je 0x11621
movq %rsi, %rax
cqto
idivq %r8
movq %rax, (%rdi)
movq %rcx, %rax
cqto
idivq %r8
movq %rax, 0x8(%rdi)
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/Sooryakiran[P]dotV/src/main.cpp
// Function: generate_file(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 generate_file(string file_name, string contents){
    /*------------------------------------------------------------------------------------------
    Writes/Rewrites the given contents to the given file. 

    Param : file_name (string), file_name of the output file.
    Param : contents (string), contents of the file to be written.

    Return : 1 if successful, 0 if not.
    ------------------------------------------------------------------------------------------*/
    ofstream fout; 
    fout.open(file_name);
    if(fout){
        fout << contents << endl; 
        fout.close();
        cout<<"[INFO] Code "<<file_name<<" written successfully!"<<endl;
    }
    else{
        cout<<"[ERROR] Unable to write file!"<<endl;
        return 0;
    } 
    return 1;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x208, %rsp            # imm = 0x208
movq %rsi, %r14
movq %rdi, %rbx
leaq -0x218(%rbp), %r15
movq %r15, %rdi
callq 0x2250
movq %r15, %rdi
movq %rbx, %rsi
movl $0x10, %edx
callq 0x20c0
movq -0x218(%rbp), %rax
movq -0x18(%rax), %rax
testb $0x5, -0x1f8(%rbp,%rax)
je 0x2483
movq 0x3b9b(%rip), %rbx      # 0x5fd8
leaq 0x1be4(%rip), %rsi      # 0x4028
movl $0x1d, %edx
movq %rbx, %rdi
callq 0x21a0
movq (%rbx), %rax
addq -0x18(%rax), %rbx
movq %rbx, %rdi
movl $0xa, %esi
callq 0x2160
movsbl %al, %esi
movq 0x3b69(%rip), %rdi      # 0x5fd8
callq 0x2030
xorl %ebx, %ebx
movq %rax, %rdi
callq 0x20f0
jmp 0x253a
movq (%r14), %rsi
movq 0x8(%r14), %rdx
leaq -0x218(%rbp), %rdi
callq 0x21a0
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x2160
movsbl %al, %esi
movq %r14, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x20f0
leaq -0x218(%rbp), %rdi
callq 0x21e0
movq 0x3b05(%rip), %rdi      # 0x5fd8
leaq 0x1b2a(%rip), %rsi      # 0x4004
movl $0xc, %edx
callq 0x21a0
movq (%rbx), %rsi
movq 0x8(%rbx), %rdx
movq 0x3ae6(%rip), %rdi      # 0x5fd8
callq 0x21a0
movq %rax, %rbx
leaq 0x1b10(%rip), %rsi      # 0x4011
movl $0x16, %edx
movq %rax, %rdi
callq 0x21a0
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x2160
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movl $0x1, %ebx
movq %rax, %rdi
callq 0x20f0
movq 0x3a87(%rip), %rax      # 0x5fc8
movq (%rax), %rcx
movq 0x18(%rax), %rax
leaq -0x210(%rbp), %rdi
movq %rcx, -0x8(%rdi)
movq -0x18(%rcx), %rcx
movq %rax, -0x218(%rbp,%rcx)
callq 0x2130
leaq -0x120(%rbp), %rdi
callq 0x2080
movl %ebx, %eax
addq $0x208, %rsp            # imm = 0x208
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq -0x218(%rbp), %rdi
callq 0x2210
movq %rbx, %rdi
callq 0x2260
// File: /workspace/github_cpp_makefile_star2_O3/Sooryakiran[P]dotV/src/main.cpp
// Function: invalid_args(char*)
void invalid_args(char* name){
    /*------------------------------------------------------------------------------------------
    Displays the error message and usage format.
    ------------------------------------------------------------------------------------------*/
    cout<<"Invalid arguments\n  Usage "<<name<<" [-n num_bits] [-k pipeline_steps] \n  Example: "<<name<<" -n 64 -k 4\n";
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq %rdi, %rbx
movq 0x3a30(%rip), %r14      # 0x5fd8
leaq 0x1a97(%rip), %rsi      # 0x4046
movl $0x1a, %edx
movq %r14, %rdi
callq 0x21a0
testq %rbx, %rbx
je 0x260a
movq %rbx, %rdi
callq 0x20b0
movq 0x3a08(%rip), %r14      # 0x5fd8
movq %r14, %rdi
movq %rbx, %rsi
movq %rax, %rdx
callq 0x21a0
leaq 0x1a7c(%rip), %rsi      # 0x4061
movl $0x2f, %edx
movq %r14, %rdi
callq 0x21a0
movq %rbx, %rdi
callq 0x20b0
movq %r14, %rdi
movq %rbx, %rsi
movq %rax, %rdx
callq 0x21a0
jmp 0x264e
movq (%r14), %rax
movq -0x18(%rax), %rax
leaq (%r14,%rax), %rdi
movl 0x20(%r14,%rax), %esi
orl $0x1, %esi
callq 0x2240
leaq 0x1a38(%rip), %rsi      # 0x4061
movl $0x2f, %edx
movq %r14, %rdi
callq 0x21a0
movq (%r14), %rax
movq -0x18(%rax), %rax
leaq (%r14,%rax), %rdi
movl 0x20(%r14,%rax), %esi
orl $0x1, %esi
callq 0x2240
movq 0x3983(%rip), %rdi      # 0x5fd8
leaq 0x1a35(%rip), %rsi      # 0x4091
movl $0xc, %edx
popq %rbx
popq %r14
popq %rbp
jmp 0x21a0
// File: /workspace/github_cpp_makefile_star2_O3/CYLMos[P]Read_the_tar_file/MyTar.cpp
// Function: MyTar::getFileNum()
int MyTar::getFileNum(){

    /// If fileNum > -1, return it directly.
    if(this->fileNum >= 0){
        return this->fileNum;
    }

    /* If the checksum is NULL, the block is NULL.
     * Check until the checksum is not NULL.
     * And return the number of files.
    */
    for(int i = this->tarVector.size() - 1; i > -1; i--){
        bool zeroFlag = true;
        struct TarHeader buffer = this->tarVector.at(i);

        for(int j = 0; j < (int)sizeof(buffer.checksum); j++){
            if(buffer.checksum[j] != 0x00){
                zeroFlag = false;

                break;
            }
        }

        if(!zeroFlag){
            /// Assign the value to the fileNum.
            this->fileNum = i + 1;
            break;
        }
    }

    return this->fileNum;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x218, %rsp            # imm = 0x218
movl 0x224(%rdi), %r15d
testl %r15d, %r15d
jns 0x2ebd
movq %rdi, %r14
movq 0x208(%rdi), %rcx
movq 0x210(%rdi), %rbx
subq %rcx, %rbx
sarq $0x9, %rbx
movl %ebx, %eax
decl %eax
js 0x2ebd
movl %r15d, -0x2c(%rbp)
leaq -0x238(%rbp), %rdi
movl %ebx, %r15d
movq %rcx, -0x38(%rbp)
movl %eax, %r13d
cmpq %r13, %rbx
jbe 0x2ed2
movl %eax, %r12d
movq %r13, %rsi
shlq $0x9, %rsi
addq %rcx, %rsi
movl $0x200, %edx            # imm = 0x200
callq 0x2140
movl $0x94, %eax
cmpb $0x0, -0x238(%rbp,%rax)
jne 0x2eb6
incq %rax
cmpq $0x9c, %rax
jne 0x2e84
leal -0x1(%r13), %eax
movl %r12d, %r15d
testl %r13d, %r13d
movq -0x38(%rbp), %rcx
leaq -0x238(%rbp), %rdi
jg 0x2e60
movl -0x2c(%rbp), %r15d
jmp 0x2ebd
movl %r15d, 0x224(%r14)
movl %r15d, %eax
addq $0x218, %rsp            # imm = 0x218
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x1205(%rip), %rdi      # 0x40de
movq %r13, %rsi
movq %rbx, %rdx
xorl %eax, %eax
callq 0x2210