LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O3/klyushinmisha[P]GBEmu/./src/CPU.cpp
// Function: CPU::RST(unsigned short)
void CPU::RST(ushort addr)
{
    SP -= 2;
    gb->WriteWord(SP, PC);
    PC = addr;
    gb->SyncCycles(4);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movl %esi, %ebx
movq %rdi, %r14
movzwl 0x52(%rdi), %eax
addl $-0x2, %eax
movw %ax, 0x52(%rdi)
movq 0x58(%rdi), %rdi
movzwl %ax, %esi
movzwl 0x50(%r14), %edx
callq 0x2bea
movw %bx, 0x50(%r14)
movq 0x58(%r14), %rdi
movl $0x4, %esi
popq %rbx
popq %r14
popq %rbp
jmp 0x2b70
nop
// File: /workspace/github_cpp_makefile_star2_O3/klyushinmisha[P]GBEmu/./src/CPU.cpp
// Function: CPU::RET(bool)
void CPU::RET(bool flag)
{
    if (flag)
    {
        PC = gb->ReadWord(SP);
        SP += 2;
        gb->SyncCycles(4);
    }
    gb->SyncCycles(4);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
testl %esi, %esi
je 0x515f
movq 0x58(%rbx), %rdi
movzwl 0x52(%rbx), %esi
callq 0x2bdc
movw %ax, 0x50(%rbx)
addw $0x2, 0x52(%rbx)
movq 0x58(%rbx), %rdi
movl $0x4, %esi
callq 0x2b70
movq 0x58(%rbx), %rdi
movl $0x4, %esi
addq $0x8, %rsp
popq %rbx
popq %rbp
jmp 0x2b70
nop
// File: /workspace/github_cpp_makefile_star2_O3/klyushinmisha[P]GBEmu/./src/Memory.cpp
// Function: Memory::Write(int, unsigned char)
void Memory::Write(int addr, byte value)
{
    gb->Sync();

    if (addr < 0x8000)
        return;
    //    CheckMBC(addr, value);

    //Checks writing to special registers
    //which have unusual behaviour
    switch (addr)
    {
        case 0xFF00:
            //INPUT
            RAM[0xFF00] &= 0b11001111;
            RAM[0xFF00] |= (byte)(value & 0b110000);
            return;

        case 0xFF04:
            //DIV
            RAM[0xFF04] = 0;
            return;

        case 0xFF41:
            //STAT
            value &= 0b11111000;
            RAM[0xFF41] &= 7;
            RAM[0xFF41] |= value;
            return;

        case 0xFF44:
            //LYCounter
            RAM[0xFF44] = 0;
            return;

        case 0xFF46:
            gb->DMATransfer = true;
            break;
    }

    //This space copys value to C000-DE00
    if ((addr >= 0xE000) & (addr < 0xFE00))
    {
        RAM[addr] = value;
        addr -= 0x2000;
    }

    //Writing to external RAM
    if ((addr > 0x9FFF) & (addr < 0xBFFF) & (RAMBank != 0))
        cartridgeData[RAMBank - 1][addr - 0x8000] = value;
    else if (addr > 0x7FFF)
        RAM[addr] = value;

}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movl %edx, %ebx
movl %esi, %r15d
movq %rdi, %r14
movq (%rdi), %rdi
callq 0x2b7e
cmpl $0x8000, %r15d          # imm = 0x8000
jge 0x57e8
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
cmpl $0xff40, %r15d          # imm = 0xFF40
jle 0x581e
cmpl $0xff41, %r15d          # imm = 0xFF41
je 0x583d
cmpl $0xff44, %r15d          # imm = 0xFF44
je 0x5857
cmpl $0xff46, %r15d          # imm = 0xFF46
jne 0x5884
movq (%r14), %rax
movb $0x1, 0x58(%rax)
movl $0xff46, %r15d          # imm = 0xFF46
jmp 0x58d9
cmpl $0xff00, %r15d          # imm = 0xFF00
je 0x5867
cmpl $0xff04, %r15d          # imm = 0xFF04
jne 0x5884
movq 0x28(%r14), %rax
movb $0x0, 0xff04(%rax)
jmp 0x57dd
andb $-0x8, %bl
movq 0x28(%r14), %rax
andb $0x7, 0xff41(%rax)
movq 0x28(%r14), %rax
orb %bl, 0xff41(%rax)
jmp 0x57dd
movq 0x28(%r14), %rax
movb $0x0, 0xff44(%rax)
jmp 0x57dd
movq 0x28(%r14), %rax
andb $-0x31, 0xff00(%rax)
andb $0x30, %bl
movq 0x28(%r14), %rax
orb %bl, 0xff00(%rax)
jmp 0x57dd
leal -0xe000(%r15), %eax
cmpl $0x1dff, %eax           # imm = 0x1DFF
ja 0x58a3
movq 0x28(%r14), %rax
movl %r15d, %ecx
movb %bl, (%rax,%rcx)
addl $0xffffe000, %r15d      # imm = 0xFFFFE000
leal -0xa000(%r15), %eax
cmpl $0x1fff, %eax           # imm = 0x1FFF
setae %cl
movzbl 0x1d(%r14), %eax
testq %rax, %rax
sete %dl
orb %cl, %dl
jne 0x58d9
movq 0x20(%r14), %rcx
movq -0x8(%rcx,%rax,8), %rax
movl %r15d, %ecx
movb %bl, -0x8000(%rax,%rcx)
jmp 0x57dd
movq 0x28(%r14), %rax
movl %r15d, %ecx
movb %bl, (%rax,%rcx)
jmp 0x57dd
// File: /workspace/github_cpp_makefile_star2_O3/klyushinmisha[P]GBEmu/./src/Timer.cpp
// Function: Timer::Inc()
void Timer::Inc()
{
    //Syncronization of DIV register
    systemCounter += 4;
    if (systemCounter == 0)
        //DIV
        RAM[0xFF04]++;
   
    //Checks timer (enabled or not)
    enabled = (RAM[0xFF07] & 4) == 4;

    //Sets timer frequency
    switch (RAM[0xFF07] & 3)
    {
        case 0:
            frequency = 1024;
            break;
        case 1:
            frequency = 16;
            break;
        case 2:
            frequency = 64;
            break;
        case 4:
            frequency = 256;
            break;
    }

    if (enabled) {
        //Syncronization of TIMA register
        internalCounter += 4;
        if (internalCounter == frequency) {
            //TIMA
            RAM[0xFF05]++;
            //Checks TIMA overflow
            if (RAM[0xFF05] == 0)
            {
                //copy TMA to TIMA
                RAM[0xFF05] = RAM[0xFF06];
                RAM[0xFF0F] |= 4;
            }
        }
        internalCounter = internalCounter % frequency;
    }

}

// Assembly:
pushq %rbp
movq %rsp, %rbp
addb $0x4, (%rdi)
jne 0x5983
movq 0x8(%rdi), %rax
incb 0xff04(%rax)
movq 0x8(%rdi), %rax
movb 0xff07(%rax), %cl
shrb $0x2, %cl
movl %ecx, %edx
andb $0x1, %dl
movb %dl, 0x10(%rdi)
movzbl 0xff07(%rax), %edx
andl $0x3, %edx
leaq 0xf5f(%rip), %rsi       # 0x6908
movslq (%rsi,%rdx,4), %rdx
addq %rsi, %rdx
jmpq *%rdx
movl $0x400, %edx            # imm = 0x400
jmp 0x59c5
movl $0x10, %edx
jmp 0x59c5
movl $0x40, %edx
movl %edx, 0x14(%rdi)
testb $0x1, %cl
je 0x5a0f
movl 0x4(%rdi), %ecx
addl $0x4, %ecx
movl %ecx, 0x4(%rdi)
cmpl 0x14(%rdi), %ecx
jne 0x5a05
incb 0xff05(%rax)
movq 0x8(%rdi), %rax
cmpb $0x0, 0xff05(%rax)
jne 0x5a05
movb 0xff06(%rax), %cl
movb %cl, 0xff05(%rax)
movq 0x8(%rdi), %rax
orb $0x4, 0xff0f(%rax)
movl 0x4(%rdi), %eax
cltd
idivl 0x14(%rdi)
movl %edx, 0x4(%rdi)
popq %rbp
retq
nopl (%rax)
// File: /workspace/github_cpp_makefile_star2_O3/klyushinmisha[P]GBEmu/./src/Interrupts.cpp
// Function: Interrupts::Manager()
void Interrupts::Manager()
{
    if (gb->Stop)
        return;
    if ((*IE & *IF) != 0)
    {
        gb->Halt = false;
        if (gb->IME)
        {
            gb->IME = false;
            byte interrupts = (byte)(*IE & *IF);
            byte interrupt = 0;
            *IF &= (byte)(~interrupts);
            while (((interrupts >> interrupt) & 1) != 1)
                interrupt++;
            switch (interrupt)
            {
                case 0:
                    gb->Interrupt(0x40);
                    break;
                case 1:
                    gb->Interrupt(0x48);
                    break;
                case 2:
                    gb->Interrupt(0x50);
                    break;
                case 4:
                    gb->Interrupt(0x60);
                    break;
            }
        }
    }

    if (gb->Halt)
        gb->Sync();
    else
        gb->Clock();
}

// Assembly:
movq (%rdi), %rcx
cmpb $0x0, 0x5b(%rcx)
je 0x5a6c
retq
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x18(%rdi), %rdx
movq 0x20(%rdi), %rax
movb (%rax), %sil
testb %sil, (%rdx)
je 0x5acd
movb $0x0, 0x5a(%rcx)
cmpb $0x1, 0x59(%rcx)
jne 0x5acd
movb $0x0, 0x59(%rcx)
movzbl (%rdx), %ecx
movzbl (%rax), %edx
andl %edx, %ecx
xorl %ecx, %edx
movb %dl, (%rax)
movb $-0x1, %dl
incb %dl
movzbl %dl, %eax
btl %eax, %ecx
jae 0x5aa1
cmpb $0x4, %dl
ja 0x5acd
movl $0x17, %ecx
btl %eax, %ecx
jae 0x5acd
leaq 0xe67(%rip), %rcx       # 0x6928
movzwl (%rcx,%rax,2), %esi
movq (%rbx), %rdi
callq 0x2c06
movq (%rbx), %rdi
cmpb $0x1, 0x5a(%rdi)
leaq 0x8(%rsp), %rsp
popq %rbx
popq %rbp
je 0x2b7e
jmp 0x2c14
// File: /workspace/github_cpp_makefile_star2_O3/klyushinmisha[P]GBEmu/./src/Interrupts.cpp
// Function: Interrupts::EnterHALTMode()
bool Interrupts::EnterHALTMode() {
    gb->Halt = true;
    if (gb->IME && !(*IE & *IF)) {
        gb->Halt = false;
    }
    return gb->Halt;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movq (%rdi), %rcx
movb $0x1, 0x5a(%rcx)
movb $0x1, %al
cmpb $0x1, 0x59(%rcx)
jne 0x5d19
movq 0x18(%rdi), %rdx
movq 0x20(%rdi), %rsi
movb (%rsi), %sil
testb %sil, (%rdx)
jne 0x5d19
movb $0x0, 0x5a(%rcx)
xorl %eax, %eax
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/klyushinmisha[P]GBEmu/./src/main.cpp
// Function: main
int main(int argc, char** argv)
{
	GameBoy* gb = GameBoy::getInstance();
	gb->LoadCartridge(argv[1]);
    gb->Run();
	return 0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
subq $0x30, %rsp
movq %rsi, %r14
callq 0x2726
movq %rax, %rbx
movq 0x8(%r14), %rsi
leaq -0x38(%rbp), %r14
leaq -0x11(%rbp), %rdx
movq %r14, %rdi
callq 0x5da6
movq %rbx, %rdi
movq %r14, %rsi
callq 0x280e
leaq -0x28(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x5d6e
movq -0x28(%rbp), %rsi
incq %rsi
callq 0x2200
movq %rbx, %rdi
callq 0x288c
xorl %eax, %eax
addq $0x30, %rsp
popq %rbx
popq %r14
popq %rbp
retq
movq %rax, %rbx
leaq -0x28(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x5d9d
movq -0x28(%rbp), %rsi
incq %rsi
callq 0x2200
movq %rbx, %rdi
callq 0x22f0
nop
// File: /workspace/github_cpp_makefile_star2_O3/PrzemekWirkus[P]functional-workshop/src/utest.h
// Function: bool CHECK_EQUAL<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>(char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
bool CHECK_EQUAL(const char *str, T1 t1, T2 t2) {
    using namespace std;

    bool result = true;
    if (__NOT equal(begin(t1), end(t1), begin(t2))) {
        auto mypair = 
            mismatch(begin(t1), end(t1), begin(t2));
        cout << __FILE__ << ": Array mismatch: " << endl;
        for_each(begin(t1), end(t1), [] (typename T1::value_type i) { cout << i << " "; });
        cout << endl;
        for_each(begin(t2), end(t2), [] (typename T1::value_type i) { cout << i << " "; });
        cout << endl;
        result = false;
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rdx, %r14
movq %rdi, %rbx
movq 0x8(%rsi), %rdx
leaq 0x9f2(%rip), %r15       # 0x202a
movb $0x1, %bpl
testq %rdx, %rdx
je 0x1727
movq %rsi, %r12
movq (%rsi), %rdi
movq (%r14), %rsi
callq 0x10b0
testl %eax, %eax
je 0x1727
movq 0x2977(%rip), %r15      # 0x3fd8
leaq 0x99c(%rip), %rsi       # 0x2004
movl $0xb, %edx
movq %r15, %rdi
callq 0x10c0
leaq 0xa5b(%rip), %rsi       # 0x20d7
movl $0x12, %edx
movq %r15, %rdi
callq 0x10c0
movq (%r15), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x10a0
movsbl %al, %esi
movq %r15, %rdi
callq 0x1030
movq %rax, %rdi
callq 0x1050
movq (%r12), %rdi
movq 0x8(%r12), %rsi
addq %rdi, %rsi
callq 0x185f
movq (%r15), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x10a0
movsbl %al, %esi
movq %r15, %rdi
callq 0x1030
movq %rax, %rdi
callq 0x1050
movq (%r14), %rdi
movq 0x8(%r14), %rsi
addq %rdi, %rsi
callq 0x18c7
movq (%r15), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x10a0
movsbl %al, %esi
movq %r15, %rdi
callq 0x1030
movq %rax, %rdi
callq 0x1050
leaq 0x908(%rip), %r15       # 0x202d
xorl %ebp, %ebp
testq %rbx, %rbx
je 0x1748
movq %rbx, %rdi
callq 0x1040
movq 0x289d(%rip), %rdi      # 0x3fd8
movq %rbx, %rsi
movq %rax, %rdx
callq 0x10c0
jmp 0x1766
movq 0x2889(%rip), %rax      # 0x3fd8
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
leaq (%rax,%rcx), %rdi
movl 0x20(%rax,%rcx), %esi
orl $0x1, %esi
callq 0x10e0
movq 0x286b(%rip), %rbx      # 0x3fd8
leaq 0x8b4(%rip), %rsi       # 0x2028
movl $0x1, %edx
movq %rbx, %rdi
callq 0x10c0
movq %r15, %rdi
callq 0x1040
movq %rbx, %rdi
movq %r15, %rsi
movq %rax, %rdx
callq 0x10c0
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x10a0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x1030
movq %rax, %rdi
callq 0x1050
movl %ebp, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/eschwabe[P]interview-practice/src/libds_btree.cpp
// Function: BinaryTree::Remove(int const&)
bool BinaryTree::Remove(const int& value) {
  Node* current = root_.get();
  if(current->value == value) {
    NodePtr right_tmp(std::move(current->right));
    root_ = std::move(current->left);
    InsertNode(right_tmp);
    return true;
  }
  while(current != nullptr) {
    if(current->value >= value) {
      if(current->left && current->left->value == value) {
        NodePtr right_tmp(std::move(current->left->right));
        current->left = std::move(current->left->left);
        InsertNode(right_tmp);
        return true;
      }
      current = current->left.get();
    } else {
      if(current->right && current->right->value == value) {
        NodePtr right_tmp(std::move(current->right->right));
        current->right = std::move(current->right->left);
        InsertNode(right_tmp);
        return true;
      }
      current = current->right.get();
    }
  }
  return false;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq (%rdi), %rax
movl (%rsi), %ecx
cmpl %ecx, 0x10(%rax)
jne 0x12ef
movq 0x8(%rax), %rcx
movq %rsp, %r14
movq %rcx, (%r14)
movq (%rax), %rsi
xorps %xmm0, %xmm0
movups %xmm0, (%rax)
movq %rbx, %rdi
jmp 0x134b
movq %rax, %rdi
cmpl %ecx, 0x10(%rax)
jge 0x1307
movq 0x8(%rdi), %rax
testq %rax, %rax
je 0x1329
cmpl %ecx, 0x10(%rax)
jne 0x12ef
jmp 0x132d
movq (%rdi), %rax
testq %rax, %rax
je 0x1329
cmpl %ecx, 0x10(%rax)
jne 0x12ef
movq 0x8(%rax), %rcx
movq %rsp, %r14
movq %rcx, (%r14)
xorl %ecx, %ecx
movq %rcx, 0x8(%rax)
movq (%rdi), %rax
jmp 0x1345
xorl %eax, %eax
jmp 0x1365
movq 0x8(%rax), %rcx
movq %rsp, %r14
movq %rcx, (%r14)
xorl %ecx, %ecx
movq %rcx, 0x8(%rax)
movq 0x8(%rdi), %rax
addq $0x8, %rdi
movq (%rax), %rsi
movq %rcx, (%rax)
callq 0x1880
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1282
movq %r14, %rdi
callq 0x1844
movb $0x1, %al
addq $0x8, %rsp
popq %rbx
popq %r14
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/eschwabe[P]interview-practice/src/libds_btree.cpp
// Function: BinaryTree::Find(int const&)
bool BinaryTree::Find(const int& value) {
  Node* current = root_.get();
  while(current != nullptr) {
    if(current->value == value) {
      return true;
    }
    else if(current->value >= value) {
      current = current->left.get();
    } else {
      current = current->right.get();
    }
  }
  return false;
}

// Assembly:
movq (%rdi), %rcx
testq %rcx, %rcx
je 0x1392
movl (%rsi), %edx
cmpl %edx, 0x10(%rcx)
sete %al
je 0x1391
setl %sil
movzbl %sil, %esi
movq (%rcx,%rsi,8), %rcx
testq %rcx, %rcx
jne 0x1378
retq
xorl %eax, %eax
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/eschwabe[P]interview-practice/src/libds_btree.cpp
// Function: BinaryTree::PrintPreOrder(BinaryTree::Node*, std::ostream&)
void BinaryTree::PrintPreOrder(Node* root, std::ostream& stream) {
  if(root) {
    PrintPreOrder(root->left.get(), stream);
    stream << root->value << " ";
    PrintPreOrder(root->right.get(), stream);
  }
}

// Assembly:
testq %rsi, %rsi
je 0x1429
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
leaq 0xc22(%rip), %r12       # 0x200d
movq (%r14), %rsi
movq %r15, %rdi
movq %rbx, %rdx
callq 0x13ce
movl 0x10(%r14), %esi
movq %rbx, %rdi
callq 0x10c0
movl $0x1, %edx
movq %rax, %rdi
movq %r12, %rsi
callq 0x1090
movq 0x8(%r14), %r14
testq %r14, %r14
jne 0x13eb
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O3/kdungs[P]codecon/src/base_arithmetic.cc
// Function: main
int main() {
  auto line = std::string{};
  getline(std::cin, line);
  auto x = bestConversion(line);
  getline(std::cin, line);
  auto y = bestConversion(line);
  std::cout << x + y << '\n';
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x30, %rsp
leaq 0x20(%rsp), %r15
movq %r15, -0x10(%r15)
movq $0x0, -0x8(%r15)
movb $0x0, (%r15)
movq 0x2c6f(%rip), %rdi      # 0x3fe0
movq (%rdi), %rax
addq -0x18(%rax), %rdi
movl $0xa, %esi
callq 0x10a0
movsbl %al, %edx
movq 0x2c54(%rip), %r14      # 0x3fe0
leaq 0x10(%rsp), %rsi
movq %r14, %rdi
callq 0x1100
leaq 0x10(%rsp), %rdi
callq 0x12c8
movq %rax, %rbx
movq (%r14), %rax
addq -0x18(%rax), %r14
movq %r14, %rdi
movl $0xa, %esi
callq 0x10a0
movsbl %al, %edx
movq 0x2c1c(%rip), %rdi      # 0x3fe0
leaq 0x10(%rsp), %rsi
callq 0x1100
leaq 0x10(%rsp), %rdi
callq 0x12c8
addq %rax, %rbx
movq 0x2bee(%rip), %rdi      # 0x3fd0
movq %rbx, %rsi
callq 0x1060
leaq 0xf(%rsp), %rsi
movb $0xa, (%rsi)
movl $0x1, %edx
movq %rax, %rdi
callq 0x10c0
movq 0x10(%rsp), %rdi
cmpq %r15, %rdi
je 0x1416
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x10b0
xorl %eax, %eax
addq $0x30, %rsp
popq %rbx
popq %r14
popq %r15
retq
jmp 0x1426
jmp 0x1426
movq %rax, %rbx
movq 0x10(%rsp), %rdi
cmpq %r15, %rdi
je 0x1440
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x10b0
movq %rbx, %rdi
callq 0x10f0
// File: /workspace/github_cpp_makefile_star2_O3/iZhangHui[P]CppPrimer/CH16_TemplatesAndGenericProgramming/examples/./Blob.h
// Function: std::ostream& operator<<<int>(std::ostream&, Blob<int>)
std::ostream& operator<<(std::ostream &os, const Blob<T> a)
{
	os << "< ";
	for (size_t i = 0; i < a.size(); ++i)
		os << a[i] << " ";
	os << " >";
	return os;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x216f(%rip), %rsi      # 0x5100
movl $0x2, %edx
callq 0x2140
movq (%r14), %rax
movq 0x8(%rax), %rcx
cmpq (%rax), %rcx
je 0x2fec
xorl %r15d, %r15d
leaq 0x2150(%rip), %r12      # 0x5101
movq %r14, %rdi
movq %r15, %rsi
callq 0x3552
movl (%rax), %esi
movq %rbx, %rdi
callq 0x21c0
movl $0x1, %edx
movq %rax, %rdi
movq %r12, %rsi
callq 0x2140
incq %r15
movq (%r14), %rax
movq 0x8(%rax), %rcx
subq (%rax), %rcx
sarq $0x2, %rcx
cmpq %rcx, %r15
jb 0x2fb1
leaq 0x2110(%rip), %rsi      # 0x5103
movl $0x2, %edx
movq %rbx, %rdi
callq 0x2140
movq %rbx, %rax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/siolag161[P]louvain-original/graph_binary.cpp
// Function: Graph::display()
void
Graph::display() {
/*  for (unsigned int node=0 ; node<nb_nodes ; node++) {
    pair<vector<unsigned int>::iterator, vector<float>::iterator > p = neighbors(node);
    for (unsigned int i=0 ; i<nb_neighbors(node) ; i++) {
      if (node<=*(p.first+i)) {
	if (weights.size()!=0)
	  cout << node << " " << *(p.first+i) << " " << *(p.second+i) << endl;
	else
	  cout << node << " " << *(p.first+i) << endl;
      }
    }   
  }*/
  for (unsigned int node=0 ; node<nb_nodes ; node++) {
    pair<vector<unsigned int>::iterator, vector<float>::iterator > p = neighbors(node);
    cout << node << ":" ;
    for (unsigned int i=0 ; i<nb_neighbors(node) ; i++) {
      if (true) {
	if (weights.size()!=0)
	  cout << " (" << *(p.first+i) << " " << *(p.second+i) << ")";
	else
	  cout << " " << *(p.first+i);
      }
    }
    cout << endl;
  }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
cmpl $0x0, (%rdi)
je 0x2a02
movq %rdi, %rbx
xorl %r14d, %r14d
movq 0x48(%rbx), %rdx
testq %r14, %r14
je 0x28bd
movq 0x18(%rbx), %rax
movq -0x8(%rax,%r14,8), %rax
leaq (,%rax,4), %r13
addq 0x30(%rbx), %r13
cmpq %rdx, 0x50(%rbx)
movl $0x0, %ecx
cmovneq %rax, %rcx
leaq (%rdx,%rcx,4), %rdx
movq %rdx, (%rsp)
jmp 0x28c5
movq %rdx, (%rsp)
movq 0x30(%rbx), %r13
movq 0x8704(%rip), %rdi      # 0xafd0
movq %r14, %rsi
callq 0x2140
movl $0x1, %edx
movq %rax, %rdi
leaq 0x5775(%rip), %rsi      # 0x8058
callq 0x2230
movl (%rbx), %eax
cmpq %rax, %r14
jae 0x2a11
leal -0x1(%r14), %r12d
xorl %r15d, %r15d
movq 0x18(%rbx), %rcx
testq %r14, %r14
je 0x290d
movq (%rcx,%r14,8), %rax
subq (%rcx,%r12,8), %rax
jmp 0x290f
movl (%rcx), %eax
movl %eax, %eax
cmpq %rax, %r15
jae 0x29c6
movq 0x50(%rbx), %rax
cmpq 0x48(%rbx), %rax
je 0x298e
movl $0x2, %edx
movq 0x86a0(%rip), %rbp      # 0xafd0
movq %rbp, %rdi
leaq 0x5720(%rip), %rsi      # 0x805a
callq 0x2230
movl (%r13,%r15,4), %esi
movq %rbp, %rdi
callq 0x2140
movq %rax, %rbp
movl $0x1, %edx
movq %rax, %rdi
leaq 0x5d14(%rip), %rsi      # 0x8672
callq 0x2230
movq (%rsp), %rax
xorps %xmm0, %xmm0
cvtss2sd (%rax,%r15,4), %xmm0
movq %rbp, %rdi
callq 0x22d0
movl $0x1, %edx
movq %rax, %rdi
leaq 0x5937(%rip), %rsi      # 0x82be
callq 0x2230
jmp 0x29b6
movl $0x1, %edx
movq 0x8636(%rip), %rbp      # 0xafd0
movq %rbp, %rdi
leaq 0x5cce(%rip), %rsi      # 0x8672
callq 0x2230
movl (%r13,%r15,4), %esi
movq %rbp, %rdi
callq 0x2140
incq %r15
movl (%rbx), %eax
cmpq %rax, %r14
jb 0x28fa
jmp 0x2a11
movq 0x8603(%rip), %r15      # 0xafd0
movq (%r15), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x21d0
movsbl %al, %esi
movq %r15, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2150
incq %r14
movl (%rbx), %eax
cmpq %rax, %r14
jb 0x2888
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x5645(%rip), %rdi      # 0x805d
leaq 0x5657(%rip), %rsi      # 0x8076
leaq 0x56be(%rip), %rcx      # 0x80e4
movl $0x51, %edx
callq 0x2130
// File: /workspace/github_cpp_makefile_star2_O3/siolag161[P]louvain-original/main_community.cpp
// Function: parse_args(int, char**)
void
parse_args(int argc, char **argv) {
  if (argc<2)
    usage(argv[0], "Bad arguments number\n");

  for (int i = 1; i < argc; i++) {
    if(argv[i][0] == '-') {
      switch(argv[i][1]) {
      case 'w':
	type = WEIGHTED;
        filename_w = argv[i+1];
	i++;
	break;
      case 'p':
        filename_part = argv[i+1];
	i++;
	break;
      case 'q':
	precision = atof(argv[i+1]);
	i++;
	break;
      case 'l':
	display_level = atoi(argv[i+1]);
	i++;
	break;
      case 'k':
	k1 = atoi(argv[i+1]);
	i++;
	break;
      case 'v':
	verbose=true;
	break;
      default:
	usage(argv[0], "Unknown option\n");
      }
    } else {
      if (filename==NULL)
        filename = argv[i];
      else
        usage(argv[0], "More than one filename\n");
    }
  }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rsi, %rbx
cmpl $0x2, %edi
jl 0x639b
movl %edi, %ebp
movl $0x1, %r12d
movq 0x4f38(%rip), %r15      # 0xb1e8
leaq 0x2025(%rip), %r14      # 0x82dc
movslq %r12d, %rax
movq (%rbx,%rax,8), %rcx
cmpb $0x2d, (%rcx)
jne 0x62f2
movzbl 0x1(%rcx), %ecx
addl $-0x6b, %ecx
cmpl $0xc, %ecx
ja 0x638c
movslq (%r14,%rcx,4), %rcx
addq %r14, %rcx
jmpq *%rcx
leal 0x1(%rax), %r12d
movq 0x8(%rbx,%rax,8), %rdi
callq 0x22c0
movl %eax, 0x4ee4(%rip)      # 0xb1d4
jmp 0x6305
testq %r15, %r15
jne 0x637d
movq %rcx, 0x4ee6(%rip)      # 0xb1e8
movq %rcx, %r15
incl %r12d
cmpl %ebp, %r12d
jl 0x62b7
jmp 0x6374
movb $0x1, 0x4eee(%rip)      # 0xb204
jmp 0x6305
leal 0x1(%rax), %r12d
movq 0x8(%rbx,%rax,8), %rdi
callq 0x22c0
movl %eax, 0x4ea4(%rip)      # 0xb1d0
jmp 0x6305
movl $0x0, 0x4e88(%rip)      # 0xb1c0
leal 0x1(%rax), %r12d
movq 0x8(%rbx,%rax,8), %rax
movq %rax, 0x4ea8(%rip)      # 0xb1f0
jmp 0x6305
leal 0x1(%rax), %r12d
movq 0x8(%rbx,%rax,8), %rax
movq %rax, 0x4e9e(%rip)      # 0xb1f8
jmp 0x6305
leal 0x1(%rax), %r12d
movq 0x8(%rbx,%rax,8), %rdi
callq 0x2250
movsd %xmm0, 0x4e56(%rip)     # 0xb1c8
jmp 0x6305
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq (%rbx), %rdi
leaq 0x2297(%rip), %rsi      # 0x861e
callq 0x6168
movq (%rbx), %rdi
leaq 0x2278(%rip), %rsi      # 0x860e
callq 0x6168
movq (%rbx), %rdi
leaq 0x2253(%rip), %rsi      # 0x85f8
callq 0x6168
// File: /workspace/github_cpp_makefile_star2_O3/chlunde[P]qtar/./linux_getdents.h
// Function: us_dirent::stat()
struct stat& stat() {
		if (! st_initialized) {
			std::string name = fq();
			st_initialized = true;
			if (lstat(name.c_str(), &st) < 0)
				err(EXIT_FAILURE, "stat %s failed", name.c_str());
			if (d_ino == 0)
				d_ino = st.st_ino;
		}

		return st;
	}

// Assembly:
pushq %r14
pushq %rbx
subq $0x28, %rsp
movq %rdi, %rbx
cmpb $0x0, 0xe0(%rdi)
jne 0x343a
leaq 0x8(%rsp), %r14
movq %r14, %rdi
movq %rbx, %rsi
callq 0x3d7a
movb $0x1, 0xe0(%rbx)
movq (%r14), %rdi
leaq 0x50(%rbx), %rsi
callq 0x23f0
testl %eax, %eax
js 0x3449
cmpq $0x0, (%rbx)
jne 0x341f
movq 0x58(%rbx), %rax
movq %rax, (%rbx)
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x343a
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x2250
addq $0x50, %rbx
movq %rbx, %rax
addq $0x28, %rsp
popq %rbx
popq %r14
retq
movq 0x8(%rsp), %rdx
leaq 0x4bf0(%rip), %rsi      # 0x8045
movl $0x1, %edi
xorl %eax, %eax
callq 0x2220
movq %rax, %rbx
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x347f
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x2250
movq %rbx, %rdi
callq 0x2390
nop
// File: /workspace/github_cpp_makefile_star2_O3/chlunde[P]qtar/qtar.cc
// Function: CScan<us_dirent>::pop()
T pop() {
		typename std::set<T>::iterator it;
		T bound;
		bound.d_ino = last_position;

		it = elevator.lower_bound(bound);
		if (it == elevator.end()) {
			if (last_position == 0)
				throw new std::exception();//"pop on empty queue");
			last_position = 0;
			return pop();
		}

		T ret = *it;
		elevator.erase(it);
		last_position = ret.d_ino;
		return ret;
	}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xf8, %rsp
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x28(%rsp), %r13
movq %r13, -0x10(%r13)
xorl %eax, %eax
movq %rax, -0x8(%r13)
movb %al, (%r13)
leaq 0x48(%rsp), %rbp
movq %rbp, -0x10(%rbp)
movq %rax, -0x8(%rbp)
movb %al, (%rbp)
movb %al, 0x10(%rbp)
movb %al, 0xa8(%rbp)
movq 0x30(%rsi), %rax
movq %rax, -0x38(%rbp)
movq 0x10(%rsi), %rcx
testq %rcx, %rcx
je 0x3571
leaq 0x8(%r14), %rdx
movq %rdx, %r15
xorl %esi, %esi
cmpq %rax, 0x20(%rcx)
setb %sil
cmovaeq %rcx, %r15
movq 0x10(%rcx,%rsi,8), %rcx
testq %rcx, %rcx
jne 0x34e7
cmpq %rdx, %r15
je 0x3571
movq 0x20(%r15), %rax
movq %rax, (%rbx)
leaq 0x8(%rbx), %r12
leaq 0x18(%rbx), %rax
movq %rax, 0x8(%rsp)
movq %rax, 0x8(%rbx)
movq 0x28(%r15), %rsi
movq 0x30(%r15), %rdx
addq %rsi, %rdx
movq %r12, %rdi
callq 0x3e58
leaq 0x28(%rbx), %rdi
leaq 0x38(%rbx), %rax
movq %rax, 0x28(%rbx)
movq 0x48(%r15), %rsi
movq 0x50(%r15), %rdx
addq %rsi, %rdx
callq 0x3e58
leaq 0x48(%rbx), %rdi
leaq 0x68(%r15), %rsi
movl $0x99, %edx
callq 0x2200
movq %r14, %rdi
movq %r15, %rsi
callq 0x40e2
movq (%rbx), %rax
movq %rax, 0x30(%r14)
jmp 0x3589
testq %rax, %rax
je 0x35cc
movq $0x0, 0x30(%r14)
movq %rbx, %rdi
movq %r14, %rsi
callq 0x3488
movq 0x38(%rsp), %rdi
cmpq %rbp, %rdi
je 0x35a0
movq 0x48(%rsp), %rsi
incq %rsi
callq 0x2250
movq 0x18(%rsp), %rdi
cmpq %r13, %rdi
je 0x35b7
movq 0x28(%rsp), %rsi
incq %rsi
callq 0x2250
movq %rbx, %rax
addq $0xf8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0x8, %edi
callq 0x2140
movq %rax, %r14
movl $0x8, %edi
callq 0x2240
movq 0x79e6(%rip), %rcx      # 0xafd0
addq $0x10, %rcx
movq %rcx, (%rax)
movq %rax, (%r14)
leaq 0x7785(%rip), %rsi      # 0xad80
movq %r14, %rdi
xorl %edx, %edx
callq 0x2370
movq %rax, %rbx
movq %r14, %rdi
callq 0x21c0
jmp 0x3635
movq %rax, %rbx
movq (%r12), %rdi
cmpq 0x8(%rsp), %rdi
je 0x3635
movq 0x8(%rsp), %rax
movq (%rax), %rsi
incq %rsi
callq 0x2250
jmp 0x3635
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x31ac
movq %rbx, %rdi
callq 0x2390
nop
// File: /workspace/github_cpp_makefile_star2_O3/chlunde[P]qtar/qtar.cc
// Function: Traverser<CScan>::lookup_uname[abi:cxx11](unsigned int)
std::string lookup_uname(uid_t uid) {
		std::map<uid_t, std::string>::iterator it = uidcache.find(uid);
		if (it == uidcache.end()) {
			struct passwd *pwent = getpwuid(uid);
			std::string uname;
			if (pwent)
				uname = pwent->pw_name;

			uidcache.insert(std::pair<uid_t, std::string>(uid, uname));

			return uname;
		}

		return (*it).second;
	}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x30, %rsp
movl %edx, %ebp
movq %rsi, %r14
movq %rdi, %rbx
movq 0xa8(%rsi), %rcx
testq %rcx, %rcx
je 0x554b
leaq 0xa0(%r14), %rdx
movq %rdx, %rax
xorl %esi, %esi
cmpl %ebp, 0x20(%rcx)
setb %sil
cmovaeq %rcx, %rax
movq 0x10(%rcx,%rsi,8), %rcx
testq %rcx, %rcx
jne 0x5526
cmpq %rdx, %rax
je 0x554b
cmpl %ebp, 0x20(%rax)
jbe 0x55db
movl %ebp, %edi
callq 0x22a0
leaq 0x10(%rbx), %r12
movq %r12, (%rbx)
movq $0x0, 0x8(%rbx)
movb $0x0, 0x10(%rbx)
testq %rax, %rax
je 0x5590
movq (%rax), %r15
movq %r15, %rdi
callq 0x2130
movq %rbx, %rdi
xorl %esi, %esi
xorl %edx, %edx
movq %r15, %rcx
movq %rax, %r8
callq 0x2330
movq (%rbx), %rsi
movq 0x8(%rbx), %rdx
jmp 0x5595
xorl %edx, %edx
movq %r12, %rsi
leaq 0x10(%rsp), %rdi
movl %ebp, -0x8(%rdi)
leaq 0x20(%rsp), %r15
movq %r15, -0x10(%r15)
addq %rsi, %rdx
callq 0x3e58
addq $0x98, %r14
leaq 0x8(%rsp), %rsi
movq %r14, %rdi
callq 0x5788
movq 0x10(%rsp), %rdi
cmpq %r15, %rdi
je 0x55f5
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x2250
jmp 0x55f5
leaq 0x10(%rbx), %rcx
movq %rcx, (%rbx)
movq 0x28(%rax), %rsi
movq 0x30(%rax), %rdx
addq %rsi, %rdx
movq %rbx, %rdi
callq 0x3e58
movq %rbx, %rax
addq $0x30, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
jmp 0x5623
movq %rax, %r14
movq 0x10(%rsp), %rdi
cmpq %r15, %rdi
je 0x5626
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x2250
jmp 0x5626
movq %rax, %r14
movq (%rbx), %rdi
cmpq %r12, %rdi
je 0x563a
movq (%r12), %rsi
incq %rsi
callq 0x2250
movq %r14, %rdi
callq 0x2390
// File: /workspace/github_cpp_makefile_star2_O3/chlunde[P]qtar/qtar.cc
// Function: Traverser<CScan>::lookup_gname[abi:cxx11](unsigned int)
std::string lookup_gname(gid_t gid) {
		std::map<gid_t, std::string>::iterator it = gidcache.find(gid);
		if (it == gidcache.end()) {
			struct group *grent = getgrgid(gid);
			std::string gname;
			if (grent)
				gname = grent->gr_name;

			gidcache.insert(std::pair<gid_t, std::string>(gid, gname));

			return gname;
		}

		return (*it).second;
	}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x30, %rsp
movl %edx, %ebp
movq %rsi, %r14
movq %rdi, %rbx
movq 0xd8(%rsi), %rcx
testq %rcx, %rcx
je 0x5691
leaq 0xd0(%r14), %rdx
movq %rdx, %rax
xorl %esi, %esi
cmpl %ebp, 0x20(%rcx)
setb %sil
cmovaeq %rcx, %rax
movq 0x10(%rcx,%rsi,8), %rcx
testq %rcx, %rcx
jne 0x566c
cmpq %rdx, %rax
je 0x5691
cmpl %ebp, 0x20(%rax)
jbe 0x5721
movl %ebp, %edi
callq 0x2360
leaq 0x10(%rbx), %r12
movq %r12, (%rbx)
movq $0x0, 0x8(%rbx)
movb $0x0, 0x10(%rbx)
testq %rax, %rax
je 0x56d6
movq (%rax), %r15
movq %r15, %rdi
callq 0x2130
movq %rbx, %rdi
xorl %esi, %esi
xorl %edx, %edx
movq %r15, %rcx
movq %rax, %r8
callq 0x2330
movq (%rbx), %rsi
movq 0x8(%rbx), %rdx
jmp 0x56db
xorl %edx, %edx
movq %r12, %rsi
leaq 0x10(%rsp), %rdi
movl %ebp, -0x8(%rdi)
leaq 0x20(%rsp), %r15
movq %r15, -0x10(%r15)
addq %rsi, %rdx
callq 0x3e58
addq $0xc8, %r14
leaq 0x8(%rsp), %rsi
movq %r14, %rdi
callq 0x5788
movq 0x10(%rsp), %rdi
cmpq %r15, %rdi
je 0x573b
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x2250
jmp 0x573b
leaq 0x10(%rbx), %rcx
movq %rcx, (%rbx)
movq 0x28(%rax), %rsi
movq 0x30(%rax), %rdx
addq %rsi, %rdx
movq %rbx, %rdi
callq 0x3e58
movq %rbx, %rax
addq $0x30, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
jmp 0x5769
movq %rax, %r14
movq 0x10(%rsp), %rdi
cmpq %r15, %rdi
je 0x576c
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x2250
jmp 0x576c
movq %rax, %r14
movq (%rbx), %rdi
cmpq %r12, %rdi
je 0x5780
movq (%r12), %rsi
incq %rsi
callq 0x2250
movq %r14, %rdi
callq 0x2390
// File: /workspace/github_cpp_makefile_star2_O3/chlunde[P]qtar/firstblock.cc
// Function: firstblock(char const*)
uint64_t firstblock(const char *fname)
{
	int ret, fd;
	struct fiemap *fiemap;
	struct fiemap_extent *extent;
	unsigned long block = 0;
	char buf[sizeof(struct fiemap) + sizeof(struct fiemap_extent)] = {0};

	fd = open(fname, O_RDONLY);
	if (fd == -1) {
		printf("Open failed: %s: %s\n", fname, strerror(errno));
		return 0;
	}

	if (use_fibmap) {
		ret = ioctl(fd, FIBMAP, &block);
		if (ret == 0) {
			close(fd);
			return block;
		}
		printf("FIBMAP failed: %s: %s\n", fname, strerror(errno));
		use_fibmap = 0;
	}

	fiemap = (struct fiemap *)buf;

	fiemap->fm_start = 0;
	fiemap->fm_length = 4096;
	fiemap->fm_flags = 0;
	fiemap->fm_extent_count = 1;

	ret = ioctl(fd, FS_IOC_FIEMAP, fiemap);
	if (ret == -1) {
		if (errno == EBADR) {
			printf("Kernel does not the flags: 0x%x\n",
				fiemap->fm_flags);
			close(fd);
			return -1;
		}
		printf("fiemap error %d: \"%s\"\n", errno,
			strerror(errno));
		close(fd);
		return 0;
	}


	close(fd);

	if (fiemap->fm_extent_count == 0 || fiemap->fm_mapped_extents == 0) {
#if 0
		printf("extent_count == 0: %s\n", fname);
#endif
		return 0;
	}
	extent = &fiemap->fm_extents[0];
	return extent->fe_physical >> 4;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x68, %rsp
movq %rdi, %r14
xorl %eax, %eax
movq %rax, 0x8(%rsp)
movq %rax, 0x60(%rsp)
xorps %xmm0, %xmm0
movaps %xmm0, 0x50(%rsp)
movaps %xmm0, 0x40(%rsp)
movaps %xmm0, 0x30(%rsp)
movaps %xmm0, 0x20(%rsp)
xorl %esi, %esi
xorl %eax, %eax
callq 0x21d0
cmpl $-0x1, %eax
je 0x721a
movl %eax, %ebx
cmpb $0x0, 0x40b9(%rip)      # 0xb22c
jne 0x71b7
leaq 0x8(%rsp), %rdx
movl $0x1, %esi
movl %ebx, %edi
xorl %eax, %eax
callq 0x22e0
testl %eax, %eax
je 0x726d
callq 0x2040
movl (%rax), %edi
callq 0x20f0
leaq 0xf72(%rip), %rdi       # 0x8115
movq %r14, %rsi
movq %rax, %rdx
xorl %eax, %eax
callq 0x2050
movb $0x1, 0x4075(%rip)      # 0xb22c
leaq 0x10(%rsp), %rdx
movq $0x0, (%rdx)
movq $0x1000, 0x8(%rdx)      # imm = 0x1000
movl $0x0, 0x10(%rdx)
movl $0x1, 0x18(%rdx)
movl $0xc020660b, %esi       # imm = 0xC020660B
movl %ebx, %edi
xorl %eax, %eax
callq 0x22e0
cmpl $-0x1, %eax
je 0x723f
movl %ebx, %edi
callq 0x2410
xorl %r15d, %r15d
cmpl $0x0, 0x28(%rsp)
je 0x729f
cmpl $0x0, 0x24(%rsp)
je 0x729f
movq 0x38(%rsp), %r15
shrq $0x4, %r15
jmp 0x729f
callq 0x2040
movl (%rax), %edi
callq 0x20f0
leaq 0xed3(%rip), %rdi       # 0x8100
xorl %r15d, %r15d
movq %r14, %rsi
movq %rax, %rdx
xorl %eax, %eax
callq 0x2050
jmp 0x729f
callq 0x2040
movl (%rax), %ebp
cmpl $0x35, %ebp
jne 0x727b
movl 0x20(%rsp), %esi
leaq 0xed6(%rip), %rdi       # 0x812c
xorl %eax, %eax
callq 0x2050
movl %ebx, %edi
callq 0x2410
movq $-0x1, %r15
jmp 0x729f
movl %ebx, %edi
callq 0x2410
movq 0x8(%rsp), %r15
jmp 0x729f
movl %ebp, %edi
callq 0x20f0
leaq 0xec4(%rip), %rdi       # 0x814d
xorl %r15d, %r15d
movl %ebp, %esi
movq %rax, %rdx
xorl %eax, %eax
callq 0x2050
movl %ebx, %edi
callq 0x2410
movq %r15, %rax
addq $0x68, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/j-faria[P]kima/examples/arbitrary_units/kima_setup.cpp
// Function: main
int main(int argc, char** argv)
{
    datafile = "HD128621_rhk.rdb";

    load(datafile, "arb", 2);

    Sampler<RVmodel> sampler = setup<RVmodel>(argc, argv);
    sampler.run(50);

    return 0;
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
subq $0x6c0, %rsp            # imm = 0x6C0
movq %rsi, %rbx
movl %edi, %ebp
movq 0x2ff24(%rip), %rdx     # 0x50548
leaq 0x2ff15(%rip), %r14     # 0x50540
leaq 0x222bb(%rip), %rcx     # 0x428ed
movl $0x10, %r8d
movq %r14, %rdi
xorl %esi, %esi
callq 0x6600
leaq 0x8(%rsp), %rdx
movl $0x2, (%rdx)
leaq 0x222aa(%rip), %rsi     # 0x428fe
movq %r14, %rdi
callq 0x20853
leaq 0x8(%rsp), %r14
movq %r14, %rdi
movl %ebp, %esi
movq %rbx, %rdx
callq 0x20956
movq %r14, %rdi
movl $0x32, %esi
callq 0x20a28
leaq 0x8(%rsp), %rdi
callq 0x20c06
xorl %eax, %eax
addq $0x6c0, %rsp            # imm = 0x6C0
popq %rbx
popq %r14
popq %rbp
retq
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x20c06
movq %rbx, %rdi
callq 0x6710
// File: /workspace/github_cpp_makefile_star2_O3/kylegranger[P]ImageScaling/filter16.cpp
// Function: DownfilterLeft(color_t*, color_t*, color_t*, color_t*)
void DownfilterLeft(color_t *src1, color_t *src2, color_t *src3, color_t *dst)
{
	// we mix 16 source pixels into one destination pixel
	int r = (src1[3].r)     + 3 * (src1[1].r + src1[2].r);
	r    += (src2[3].r) * 3 + 9 * (src2[1].r + src2[2].r);
	r    += (src3[3].r) * 3 + 9 * (src3[1].r + src3[2].r);
	dst->r = ((r+24)/49);
	int g = (src1[3].g)     + 3 * (src1[1].g + src1[2].g);
	g    += (src2[3].g) * 3 + 9 * (src2[1].g + src2[2].g);
	g    += (src3[3].g) * 3 + 9 * (src3[1].g + src3[2].g);
	dst->g = ((g+24)/49);
	int b = (src1[3].b)     + 3 * (src1[1].b + src1[2].b);
	b    += (src2[3].b) * 3 + 9 * (src2[1].b + src2[2].b);
	b    += (src3[3].b) * 3 + 9 * (src3[1].b + src3[2].b);
	dst->b = ((b+24)/49);
	int a = (src1[3].a)     + 3 * (src1[1].a + src1[2].a);
	a    += (src2[3].a) * 3 + 9 * (src2[1].a + src2[2].a);
	a    += (src3[3].a) * 3 + 9 * (src3[1].a + src3[2].a);
	dst->a = ((a+24)/49);
}

// Assembly:
movq 0x18(%rdi), %xmm0
pxor %xmm2, %xmm2
punpcklwd %xmm2, %xmm0    # xmm0 = xmm0[0],xmm2[0],xmm0[1],xmm2[1],xmm0[2],xmm2[2],xmm0[3],xmm2[3]
movq 0x8(%rdi), %xmm1
punpcklwd %xmm2, %xmm1    # xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1],xmm1[2],xmm2[2],xmm1[3],xmm2[3]
movq 0x10(%rdi), %xmm3
punpcklwd %xmm2, %xmm3    # xmm3 = xmm3[0],xmm2[0],xmm3[1],xmm2[1],xmm3[2],xmm2[2],xmm3[3],xmm2[3]
paddd %xmm1, %xmm3
movq 0x18(%rsi), %xmm4
punpcklwd %xmm2, %xmm4    # xmm4 = xmm4[0],xmm2[0],xmm4[1],xmm2[1],xmm4[2],xmm2[2],xmm4[3],xmm2[3]
movq 0x8(%rsi), %xmm1
punpcklwd %xmm2, %xmm1    # xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1],xmm1[2],xmm2[2],xmm1[3],xmm2[3]
movq 0x10(%rsi), %xmm5
punpcklwd %xmm2, %xmm5    # xmm5 = xmm5[0],xmm2[0],xmm5[1],xmm2[1],xmm5[2],xmm2[2],xmm5[3],xmm2[3]
paddd %xmm1, %xmm5
movq 0x18(%rdx), %xmm1
punpcklwd %xmm2, %xmm1    # xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1],xmm1[2],xmm2[2],xmm1[3],xmm2[3]
paddd %xmm4, %xmm1
paddd %xmm3, %xmm1
movq 0x8(%rdx), %xmm3
punpcklwd %xmm2, %xmm3    # xmm3 = xmm3[0],xmm2[0],xmm3[1],xmm2[1],xmm3[2],xmm2[2],xmm3[3],xmm2[3]
movq 0x10(%rdx), %xmm4
punpcklwd %xmm2, %xmm4    # xmm4 = xmm4[0],xmm2[0],xmm4[1],xmm2[1],xmm4[2],xmm2[2],xmm4[3],xmm2[3]
paddd %xmm3, %xmm4
paddd %xmm5, %xmm4
movdqa %xmm4, %xmm2
pslld $0x3, %xmm2
paddd %xmm4, %xmm2
paddd %xmm1, %xmm0
paddd %xmm1, %xmm1
paddd %xmm0, %xmm1
paddd %xmm2, %xmm1
paddd 0x18609(%rip), %xmm1    # 0x1e200
movdqa 0x18611(%rip), %xmm0    # 0x1e210
pshufd $0xf5, %xmm1, %xmm2     # xmm2 = xmm1[1,1,3,3]
pmuludq %xmm0, %xmm1
pshufd $0xed, %xmm1, %xmm1     # xmm1 = xmm1[1,3,2,3]
pmuludq %xmm0, %xmm2
pshufd $0xed, %xmm2, %xmm0     # xmm0 = xmm2[1,3,2,3]
punpckldq %xmm0, %xmm1    # xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
psrld $0x4, %xmm1
pshuflw $0xe8, %xmm1, %xmm0     # xmm0 = xmm1[0,2,2,3,4,5,6,7]
pshufhw $0xe8, %xmm0, %xmm0     # xmm0 = xmm0[0,1,2,3,4,6,6,7]
pshufd $0xe8, %xmm0, %xmm0     # xmm0 = xmm0[0,2,2,3]
movq %xmm0, (%rcx)
retq
// File: /workspace/github_cpp_makefile_star2_O3/kylegranger[P]ImageScaling/filter16.cpp
// Function: DownfilterRight(color_t*, color_t*, color_t*, color_t*)
void DownfilterRight(color_t *src1, color_t *src2, color_t *src3, color_t *dst)
{
	// we mix 16 source pixels into one destination pixel
	int r = (src1[0].r)     + 3 * (src1[1].r + src1[2].r);
	r    += (src2[0].r) * 3 + 9 * (src2[1].r + src2[2].r);
	r    += (src3[0].r) * 3 + 9 * (src3[1].r + src3[2].r);
	dst->r = ((r+24)/49);
	int g = (src1[0].g)     + 3 * (src1[1].g + src1[2].g);
	g    += (src2[0].g) * 3 + 9 * (src2[1].g + src2[2].g);
	g    += (src3[0].g) * 3 + 9 * (src3[1].g + src3[2].g);
	dst->g = ((g+24)/49);
	int b = (src1[0].b)     + 3 * (src1[1].b + src1[2].b);
	b    += (src2[0].b) * 3 + 9 * (src2[1].b + src2[2].b);
	b    += (src3[0].b) * 3 + 9 * (src3[1].b + src3[2].b);
	dst->b = ((b+24)/49);
	int a = (src1[0].a)     + 3 * (src1[1].a + src1[2].a);
	a    += (src2[0].a) * 3 + 9 * (src2[1].a + src2[2].a);
	a    += (src3[0].a) * 3 + 9 * (src3[1].a + src3[2].a);
	dst->a = ((a+24)/49);
}

// Assembly:
movq (%rdi), %xmm0
pxor %xmm2, %xmm2
punpcklwd %xmm2, %xmm0    # xmm0 = xmm0[0],xmm2[0],xmm0[1],xmm2[1],xmm0[2],xmm2[2],xmm0[3],xmm2[3]
movq 0x8(%rdi), %xmm1
punpcklwd %xmm2, %xmm1    # xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1],xmm1[2],xmm2[2],xmm1[3],xmm2[3]
movq 0x10(%rdi), %xmm3
punpcklwd %xmm2, %xmm3    # xmm3 = xmm3[0],xmm2[0],xmm3[1],xmm2[1],xmm3[2],xmm2[2],xmm3[3],xmm2[3]
paddd %xmm1, %xmm3
movq (%rsi), %xmm4
punpcklwd %xmm2, %xmm4    # xmm4 = xmm4[0],xmm2[0],xmm4[1],xmm2[1],xmm4[2],xmm2[2],xmm4[3],xmm2[3]
movq 0x8(%rsi), %xmm1
punpcklwd %xmm2, %xmm1    # xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1],xmm1[2],xmm2[2],xmm1[3],xmm2[3]
movq 0x10(%rsi), %xmm5
punpcklwd %xmm2, %xmm5    # xmm5 = xmm5[0],xmm2[0],xmm5[1],xmm2[1],xmm5[2],xmm2[2],xmm5[3],xmm2[3]
paddd %xmm1, %xmm5
movq (%rdx), %xmm1
punpcklwd %xmm2, %xmm1    # xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1],xmm1[2],xmm2[2],xmm1[3],xmm2[3]
paddd %xmm4, %xmm1
paddd %xmm3, %xmm1
movq 0x8(%rdx), %xmm3
punpcklwd %xmm2, %xmm3    # xmm3 = xmm3[0],xmm2[0],xmm3[1],xmm2[1],xmm3[2],xmm2[2],xmm3[3],xmm2[3]
movq 0x10(%rdx), %xmm4
punpcklwd %xmm2, %xmm4    # xmm4 = xmm4[0],xmm2[0],xmm4[1],xmm2[1],xmm4[2],xmm2[2],xmm4[3],xmm2[3]
paddd %xmm3, %xmm4
paddd %xmm5, %xmm4
movdqa %xmm4, %xmm2
pslld $0x3, %xmm2
paddd %xmm4, %xmm2
paddd %xmm1, %xmm0
paddd %xmm1, %xmm1
paddd %xmm0, %xmm1
paddd %xmm2, %xmm1
paddd 0x18452(%rip), %xmm1    # 0x1e200
movdqa 0x1845a(%rip), %xmm0    # 0x1e210
pshufd $0xf5, %xmm1, %xmm2     # xmm2 = xmm1[1,1,3,3]
pmuludq %xmm0, %xmm1
pshufd $0xed, %xmm1, %xmm1     # xmm1 = xmm1[1,3,2,3]
pmuludq %xmm0, %xmm2
pshufd $0xed, %xmm2, %xmm0     # xmm0 = xmm2[1,3,2,3]
punpckldq %xmm0, %xmm1    # xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
psrld $0x4, %xmm1
pshuflw $0xe8, %xmm1, %xmm0     # xmm0 = xmm1[0,2,2,3,4,5,6,7]
pshufhw $0xe8, %xmm0, %xmm0     # xmm0 = xmm0[0,1,2,3,4,6,6,7]
pshufd $0xe8, %xmm0, %xmm0     # xmm0 = xmm0[0,2,2,3]
movq %xmm0, (%rcx)
retq
// File: /workspace/github_cpp_makefile_star2_O3/kylegranger[P]ImageScaling/linear16.cpp
// Function: CLinear16::CLinear16(int, int)
CLinear16::CLinear16(int width, int height)
{
	mWidth = width;
	mHeight = height;
	mDataSize = mWidth * mHeight * (int) sizeof(color_t);
	mData = new color_t[ mWidth * mHeight ];
	memset(mData,128,mDataSize);
	assert(mData);
	mChannel = -1;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movl %esi, (%rdi)
movl %edx, 0x4(%rdi)
imull %esi, %edx
leal (,%rdx,8), %eax
movslq %eax, %r14
movq %r14, 0x8(%rdi)
leaq (,%rdx,8), %rax
testl %edx, %edx
movq $-0x1, %rdi
cmovnsq %rax, %rdi
callq 0x9660
movq %rax, 0x18(%rbx)
movq %rax, %rdi
movl $0x80, %esi
movq %r14, %rdx
callq 0x4070
movl $0xffffffff, 0x10(%rbx) # imm = 0xFFFFFFFF
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_cpp_makefile_star2_O3/kylegranger[P]ImageScaling/linear16.cpp
// Function: CLinear16::ChannelSwap(int)
void CLinear16::ChannelSwap(int swap)
{
	color_t *c = mData;
	int numpixels = mWidth * mHeight;
	if (swap == 132)
	{
		for (int i = 0; i < numpixels; i++)
		{
			color_t temp = *c;
			c->g = temp.b;
			c->b = temp.g;
			c++;
		}
	}
	else if (swap == 213)
	{
		for (int i = 0; i < numpixels; i++)
		{
			color_t temp = *c;
			c->r = temp.g;
			c->g = temp.r;
			c++;
		}
	}
	else if (swap == 231)
	{
		for (int i = 0; i < numpixels; i++)
		{
			color_t temp = *c;
			c->r = temp.g;
			c->g = temp.b;
			c->b = temp.r;
			c++;
		}
	}
	else if (swap == 312)
	{
		for (int i = 0; i < numpixels; i++)
		{
			color_t temp = *c;
			c->r = temp.b;
			c->g = temp.r;
			c->b = temp.g;
			c++;
		}
	}
	else if (swap == 321)
	{
		for (int i = 0; i < numpixels; i++)
		{
			color_t temp = *c;
			c->r = temp.b;
			c->b = temp.r;
			c++;
		}
	}
}

// Assembly:
movq 0x18(%rdi), %rax
movl 0x4(%rdi), %ecx
imull (%rdi), %ecx
cmpl $0xe6, %esi
jle 0x688a
cmpl $0xe7, %esi
je 0x68c0
cmpl $0x138, %esi            # imm = 0x138
je 0x68e1
cmpl $0x141, %esi            # imm = 0x141
jne 0x6920
testl %ecx, %ecx
jle 0x6920
movl %ecx, %ecx
xorl %edx, %edx
movzwl (%rax,%rdx,8), %esi
movzwl 0x4(%rax,%rdx,8), %edi
movw %si, 0x4(%rax,%rdx,8)
movw %di, (%rax,%rdx,8)
incq %rdx
cmpl %edx, %ecx
jne 0x686c
jmp 0x6920
cmpl $0x84, %esi
je 0x6902
cmpl $0xd5, %esi
jne 0x6920
testl %ecx, %ecx
jle 0x6920
movl %ecx, %ecx
xorl %edx, %edx
movd 0x2(%rax,%rdx,8), %xmm0
pshuflw $0xe1, %xmm0, %xmm0     # xmm0 = xmm0[1,0,2,3,4,5,6,7]
movd %xmm0, 0x2(%rax,%rdx,8)
incq %rdx
cmpl %edx, %ecx
jne 0x68a6
jmp 0x6920
testl %ecx, %ecx
jle 0x6920
movl %ecx, %ecx
xorl %edx, %edx
movzwl 0x4(%rax,%rdx,8), %esi
movl (%rax,%rdx,8), %edi
movl %edi, 0x2(%rax,%rdx,8)
movw %si, (%rax,%rdx,8)
incq %rdx
cmpl %edx, %ecx
jne 0x68c8
jmp 0x6920
testl %ecx, %ecx
jle 0x6920
movl %ecx, %ecx
xorl %edx, %edx
movzwl (%rax,%rdx,8), %esi
movl 0x2(%rax,%rdx,8), %edi
movw %si, 0x4(%rax,%rdx,8)
movl %edi, (%rax,%rdx,8)
incq %rdx
cmpl %edx, %ecx
jne 0x68e9
jmp 0x6920
testl %ecx, %ecx
jle 0x6920
movl %ecx, %ecx
xorl %edx, %edx
movd (%rax,%rdx,8), %xmm0
pshuflw $0xe1, %xmm0, %xmm0     # xmm0 = xmm0[1,0,2,3,4,5,6,7]
movd %xmm0, (%rax,%rdx,8)
incq %rdx
cmpl %edx, %ecx
jne 0x690a
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/kylegranger[P]ImageScaling/linear16.cpp
// Function: CLinear16::Invert()
void CLinear16::Invert()
{
	color_t *c = mData;
	int numpixels = mWidth * mHeight;
	for (int i = 0; i < numpixels; i++)
	{
		c->r = 65535 - c->r;
		c->g = 65535 - c->g;
		c->b = 65535 - c->b;
		c++;
	}
}

// Assembly:
movl 0x4(%rdi), %ecx
imull (%rdi), %ecx
testl %ecx, %ecx
jle 0x6943
movq 0x18(%rdi), %rax
movl %ecx, %ecx
xorl %edx, %edx
notw 0x4(%rax,%rdx,8)
notl (%rax,%rdx,8)
incq %rdx
cmpl %edx, %ecx
jne 0x6934
retq
// File: /workspace/github_cpp_makefile_star2_O3/kylegranger[P]ImageScaling/linear16.cpp
// Function: CLinear16::Init(int, int)
bool CLinear16::Init(int width, int height)
{
	mWidth = width;
	mHeight = height;
	mDataSize = mWidth * mHeight * (int)sizeof(color_t);
	mData = new color_t[ mWidth * mHeight ];
	if (!mData) return false;
	return true;
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
movl %esi, (%rdi)
movl %edx, 0x4(%rdi)
imull %esi, %edx
leal (,%rdx,8), %eax
cltq
movq %rax, 0x8(%rdi)
leaq (,%rdx,8), %rax
testl %edx, %edx
movq $-0x1, %rdi
cmovnsq %rax, %rdi
callq 0x9660
movq %rax, 0x18(%rbx)
movb $0x1, %al
popq %rbx
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/kylegranger[P]ImageScaling/linear16.cpp
// Function: CLinear16::WriteBmp(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
bool CLinear16::WriteBmp(std::string filename)
{
	int size;
	BitmapFileHeader bfh;
	BitmapInfoHeader bmh;

	FILE *f = fopen(filename.c_str(),"wb");
	if (!f) return false;
	size = mWidth*mHeight*3;

	memcpy(&bfh.bfType,"BM",2);
	bfh.bfSize = size + 56;
	bfh.bfOffBits = 54;
	fwrite(&bfh,1,sizeof(bfh),f);

	memset(&bmh,0,sizeof(bmh));
	bmh.biSize = sizeof(bmh);
	bmh.biWidth = mWidth;
	bmh.biHeight = -mHeight;
	bmh.biPlanes = 1;
	bmh.biBitCount = 24;
	bmh.biXPelsPerMeter = 2834;
	bmh.biYPelsPerMeter = 2834;
	fwrite(&bmh,1,sizeof(bmh),f);
	color_t *cptr = mData;
	uint8_t color[4];
	int pad = 0;
	int rowbytes = mWidth * 3;
	int modu = rowbytes & 3;
	if (modu)
		pad = 4 - modu;

	for (int y = 0; y < mHeight; y++)
	{
		for (int x = 0; x < mWidth; x++)
		{
			color[0] = cptr->b * 255 / 65535;
			color[1] = cptr->g * 255 / 65535;
			color[2] = cptr->r * 255 / 65535;
			fwrite(color,1,3,f);
			cptr++;
		}
		if (pad)
			fwrite(color,1,pad,f);
	}
	fwrite(color,1,2,f);
	fclose(f);
	return true;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rdi, %r14
movq (%rsi), %rdi
leaq 0x17961(%rip), %rsi     # 0x1e33e
callq 0x4150
movq %rax, %rbx
testq %rax, %rax
je 0x6b42
movl (%r14), %eax
imull 0x4(%r14), %eax
leaq 0x12(%rsp), %rdi
movw $0x4d42, (%rdi)         # imm = 0x4D42
leal (%rax,%rax,2), %eax
addl $0x38, %eax
movl %eax, 0x2(%rdi)
movl $0x36, 0xa(%rdi)
movl $0x1, %esi
movl $0xe, %edx
movq %rbx, %rcx
callq 0x42d0
xorps %xmm0, %xmm0
leaq 0x20(%rsp), %rdi
movups %xmm0, 0x10(%rdi)
movq $0x0, 0x20(%rdi)
movl $0x28, (%rdi)
movl (%r14), %eax
movl %eax, 0x4(%rdi)
xorl %ebp, %ebp
xorl %eax, %eax
subl 0x4(%r14), %eax
movl %eax, 0x8(%rdi)
movl $0x180001, 0xc(%rdi)    # imm = 0x180001
movabsq $0xb1200000b12, %rax    # imm = 0xB1200000B12
movq %rax, 0x18(%rdi)
movl $0x1, %esi
movl $0x28, %edx
movq %rbx, %rcx
callq 0x42d0
cmpl $0x0, 0x4(%r14)
jle 0x6b25
movq 0x18(%r14), %r13
xorl %eax, %eax
subl (%r14), %eax
andl $0x3, %eax
movl $0x4, %ecx
movl %eax, 0x4(%rsp)
subl %eax, %ecx
movq %rcx, 0x8(%rsp)
movq %rsp, %r12
cmpl $0x0, (%r14)
jle 0x6afd
xorl %r15d, %r15d
movzwl (%r13), %eax
imull $0xff01, %eax, %eax     # imm = 0xFF01
shrl $0x18, %eax
movb %al, (%rsp)
movzwl 0x2(%r13), %eax
imull $0xff01, %eax, %eax     # imm = 0xFF01
shrl $0x18, %eax
movb %al, 0x1(%rsp)
movzwl 0x4(%r13), %eax
imull $0xff01, %eax, %eax     # imm = 0xFF01
shrl $0x18, %eax
movb %al, 0x2(%rsp)
movl $0x1, %esi
movl $0x3, %edx
movq %r12, %rdi
movq %rbx, %rcx
callq 0x42d0
addq $0x8, %r13
incl %r15d
cmpl (%r14), %r15d
jl 0x6aa7
cmpl $0x0, 0x4(%rsp)
je 0x6b19
movl $0x1, %esi
movq %r12, %rdi
movq 0x8(%rsp), %rdx
movq %rbx, %rcx
callq 0x42d0
incl %ebp
cmpl 0x4(%r14), %ebp
jl 0x6a9e
movq %rsp, %rdi
movl $0x1, %esi
movl $0x2, %edx
movq %rbx, %rcx
callq 0x42d0
movq %rbx, %rdi
callq 0x42a0
testq %rbx, %rbx
setne %al
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop