LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O3/narula[P]skiplists/skiplist.cc
// Function: SkipList::insert(int)
int SkipList::insert(int key) {
  node *preds[max_level], *succs[max_level];
  int lFound = findNode(key, preds, succs);
  if (lFound != -1) {
	node* found = succs[lFound];
	return 0;
  }
  node* add = new node();
  add->key = key;
  int topLevel = randomLevel(max_level, probability);
  add->topLevel = topLevel;
  for (int i = 0; i < topLevel; i++) {
	add->nn(i)->nxt = succs[i];
	add->nn(i)->prefix = succs[i]->key;
	preds[i]->nn(i)->nxt = add;
	preds[i]->nn(i)->prefix = key;
  }
  return 1;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %esi, %ebx
movq %rdi, %r12
movl 0x14(%rdi), %eax
movq %rsp, %r14
leaq 0xf(,%rax,8), %rax
andq $-0x10, %rax
subq %rax, %r14
movq %r14, %rsp
movq %rsp, %r15
subq %rax, %r15
movq %r15, %rsp
movq %r14, %rdx
movq %r15, %rcx
callq 0x1438
movl %eax, %ecx
xorl %eax, %eax
cmpl $-0x1, %ecx
jne 0x1582
movl $0x148, %edi            # imm = 0x148
callq 0x10a0
movq %rax, %r13
movl $0x148, %edx            # imm = 0x148
movq %rax, %rdi
xorl %esi, %esi
callq 0x1050
movl %ebx, (%r13)
movl 0x10(%r12), %esi
movl 0x14(%r12), %edi
callq 0x1355
movl %eax, %ecx
movl %eax, 0x4(%r13)
movl $0x1, %eax
testl %ecx, %ecx
jle 0x1582
movl %ecx, %ecx
shlq $0x3, %rcx
xorl %edx, %edx
movq (%r15,%rdx), %rsi
movq %rsi, 0x10(%r13,%rdx,2)
movl (%rsi), %esi
movl %esi, 0x8(%r13,%rdx,2)
movq (%r14,%rdx), %rsi
movq %r13, 0x10(%rsi,%rdx,2)
movl %ebx, 0x8(%rsi,%rdx,2)
addq $0x8, %rdx
cmpq %rdx, %rcx
jne 0x155c
leaq -0x28(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/narula[P]skiplists/skiplist.cc
// Function: SkipList::print_skiplist()
void SkipList::print_skiplist() {
  node* ptr = head;
  int i = 0;
  while (ptr != 0) {
	printf("[N:%04d K:%04d ML:%d]  ", i, ptr->key, ptr->topLevel);
	i++;
	ptr = ptr->nn(i)->nxt;
  }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq (%rdi), %r14
testq %r14, %r14
je 0x15d2
movl $0x20, %r15d
leaq 0xa76(%rip), %rbx       # 0x2024
xorl %ebp, %ebp
movl (%r14), %edx
movl 0x4(%r14), %ecx
movq %rbx, %rdi
movl %ebp, %esi
xorl %eax, %eax
callq 0x1030
movq (%r14,%r15), %r14
incl %ebp
addq $0x10, %r15
testq %r14, %r14
jne 0x15b0
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/narula[P]skiplists/skiplist.cc
// Function: SkipList::pretty_print_skiplist()
void SkipList::pretty_print_skiplist() {
  node* ptr = head;
  while (ptr != 0) {
	if (ptr != head) {
	  for (int i = 0; i < ptr->topLevel; i++) {
		printf("   V   ");
	  }
	  for (int i = ptr->topLevel; i < max_level; i++) {
		printf("   |   ");
	  }
	}
	printf("\n");
	if (ptr == tail) {
	  for (int i = 0; i < max_level; i++) {
		printf("[K:ND] ");
	  }
	  printf("\n");
	  return;
	}
	for (int i = 0; i < ptr->topLevel; i++) {
	  printf("[K:%02d] ", ptr->key);
	}
	for (int i = ptr->topLevel; i < max_level; i++) {
	  printf("   |   ");
	}
	printf("\n");
	for (int i = 0; i < ptr->topLevel; i++) {
	  if (ptr->nn(i)->prefix == INT_MAX) {
		printf("[P:ND] ");
	  } else {
		printf("[P:%02d] ", ptr->nn(i)->prefix);
	  }
	}
	for (int i = ptr->topLevel; i < max_level; i++) {
	  printf("   |   ");
	}
	printf("\n");
	for (int i = 0; i < max_level; i++) {
	  printf("   |   ");
	}
	printf ("\n");
	ptr = ptr->nn(0)->nxt;
  }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq (%rdi), %r12
testq %r12, %r12
je 0x1741
movq %rdi, %rbx
leaq 0xa45(%rip), %r15       # 0x2044
leaq 0xa36(%rip), %r13       # 0x203c
cmpq (%rbx), %r12
je 0x1641
movl 0x4(%r12), %ebp
testl %ebp, %ebp
jle 0x163c
xorl %r14d, %r14d
movq %r13, %rdi
xorl %eax, %eax
callq 0x1030
incl %r14d
movl 0x4(%r12), %ebp
cmpl %ebp, %r14d
jl 0x1617
jmp 0x163c
movq %r15, %rdi
xorl %eax, %eax
callq 0x1030
incl %ebp
cmpl 0x14(%rbx), %ebp
jl 0x1630
movl $0xa, %edi
callq 0x10c0
cmpq 0x8(%rbx), %r12
je 0x1750
movl 0x4(%r12), %ebp
testl %ebp, %ebp
leaq 0x9f1(%rip), %r13       # 0x2054
jle 0x1691
xorl %r14d, %r14d
movl (%r12), %esi
movq %r13, %rdi
xorl %eax, %eax
callq 0x1030
incl %r14d
movl 0x4(%r12), %ebp
cmpl %ebp, %r14d
jl 0x1668
jmp 0x1691
movq %r15, %rdi
xorl %eax, %eax
callq 0x1030
incl %ebp
cmpl 0x14(%rbx), %ebp
jl 0x1685
movl $0xa, %edi
callq 0x10c0
movl 0x4(%r12), %ebp
testl %ebp, %ebp
jle 0x16fa
leaq 0x8(%r12), %r13
xorl %r14d, %r14d
movl (%r13), %esi
cmpl $0x7fffffff, %esi       # imm = 0x7FFFFFFF
jne 0x16cd
leaq 0x99a(%rip), %rdi       # 0x205e
xorl %eax, %eax
callq 0x1030
jmp 0x16db
leaq 0x992(%rip), %rdi       # 0x2066
xorl %eax, %eax
callq 0x1030
incq %r14
movslq 0x4(%r12), %rbp
addq $0x10, %r13
cmpq %rbp, %r14
jl 0x16b1
jmp 0x16fa
movq %r15, %rdi
xorl %eax, %eax
callq 0x1030
incl %ebp
cmpl 0x14(%rbx), %ebp
jl 0x16ee
movl $0xa, %edi
callq 0x10c0
cmpl $0x0, 0x14(%rbx)
leaq 0x928(%rip), %r13       # 0x203c
jle 0x1729
xorl %ebp, %ebp
movq %r15, %rdi
xorl %eax, %eax
callq 0x1030
incl %ebp
cmpl 0x14(%rbx), %ebp
jl 0x1718
movl $0xa, %edi
callq 0x10c0
movq 0x10(%r12), %r12
testq %r12, %r12
jne 0x1606
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
cmpl $0x0, 0x14(%rbx)
jle 0x1770
leaq 0x8ef(%rip), %r14       # 0x204c
xorl %ebp, %ebp
movq %r14, %rdi
xorl %eax, %eax
callq 0x1030
incl %ebp
cmpl 0x14(%rbx), %ebp
jl 0x175f
movl $0xa, %edi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x10c0
// File: /workspace/github_cpp_makefile_star2_O3/narula[P]skiplists/skiplist.cc
// Function: SkipList::init_list(int, int, int)
SkipList* SkipList::init_list(int sz, int high, int probability) {
  int maxl = floor(log(sz)/log(probability));
  SkipList* skip = new SkipList(probability, maxl);
  int count = 0;
  while (count < sz) {
	if (skip->insert(rand() % high) > 0) {
	  count++;
	}
  }
  return skip;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x10, %rsp
movl %edx, %r15d
movl %esi, %ebx
movl %edi, %ebp
cvtsi2sd %edi, %xmm0
callq 0x1060
movsd %xmm0, 0x8(%rsp)
xorps %xmm0, %xmm0
cvtsi2sd %r15d, %xmm0
callq 0x1060
movsd 0x8(%rsp), %xmm1
divsd %xmm0, %xmm1
movapd %xmm1, %xmm0
callq 0x10f0
cvttsd2si %xmm0, %r12d
movl $0x20, %edi
callq 0x10a0
movq %rax, %r14
movq %rax, %rdi
movl %r15d, %esi
movl %r12d, %edx
callq 0x120c
testl %ebp, %ebp
jle 0x180b
xorl %r15d, %r15d
callq 0x1040
cltd
idivl %ebx
movq %r14, %rdi
movl %edx, %esi
callq 0x14ce
addl %eax, %r15d
cmpl %ebp, %r15d
jl 0x17f1
movq %r14, %rax
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movl $0x20, %esi
movq %r14, %rdi
callq 0x10b0
movq %rbx, %rdi
callq 0x1100
// File: /workspace/github_cpp_makefile_star2_O3/jakubsvehla[P]hex/src/editor.cpp
// Function: Editor::~Editor()
Editor::~Editor ()
{

  delete m_CmdLineView;
  delete m_FileView;
  delete m_File;
  delete m_CmdMode;
  delete m_NormalMode;
  delete m_InsertMode;
  delete m_Config;

  endwin();
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
movq 0x20(%rdi), %rdi
testq %rdi, %rdi
je 0x3615
movq (%rdi), %rax
callq *0x8(%rax)
movq 0x18(%rbx), %rdi
testq %rdi, %rdi
je 0x3624
movq (%rdi), %rax
callq *0x8(%rax)
movq 0x10(%rbx), %rdi
testq %rdi, %rdi
je 0x3633
movq (%rdi), %rax
callq *0x8(%rax)
movq 0x38(%rbx), %rdi
testq %rdi, %rdi
je 0x3642
movq (%rdi), %rax
callq *0x8(%rax)
movq 0x30(%rbx), %rdi
testq %rdi, %rdi
je 0x3651
movq (%rdi), %rax
callq *0x8(%rax)
movq 0x40(%rbx), %rdi
testq %rdi, %rdi
je 0x3660
movq (%rdi), %rax
callq *0x8(%rax)
movq 0x8(%rbx), %rdi
movl $0x8, %esi
callq 0x3270
callq 0x3300
popq %rbx
retq
movq %rax, %rdi
callq 0x380e
nop
// File: /workspace/github_cpp_makefile_star2_O3/jakubsvehla[P]hex/src/editor.cpp
// Function: Editor::Init()
void Editor::Init ()
{
  // Initialize curses
  initscr(); noecho(); cbreak();

  m_Config      = new Config();
  m_Config      -> LoadFromFile(".hexrc");

  m_File        = new File();
  m_FileView    = new FileView(LINES - 1);
  m_CmdLineView = new CmdLineView();
  m_CmdMode     = new CmdMode(this);
  m_NormalMode  = new NormalMode(this);
  m_InsertMode  = new InsertMode(this);

  m_FileView    -> Configure(m_Config);

  m_Mode        = m_NormalMode;

}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %rbx
callq 0x3380
callq 0x32f0
callq 0x30e0
movl $0x8, %edi
callq 0x3260
movq %rax, %r14
movq %rax, %rdi
callq 0x4f38
movq %r14, 0x8(%rbx)
leaq 0x294f(%rip), %rsi      # 0x6004
movq %r14, %rdi
callq 0x4f46
movl $0x60, %edi
callq 0x3260
movq %rax, %r14
movq %rax, %rdi
callq 0x39e0
movq %r14, 0x10(%rbx)
movl $0x60, %edi
callq 0x3260
movq %rax, %r14
movq 0x58ce(%rip), %r15      # 0x8fb8
movl (%r15), %esi
decl %esi
movq %rax, %rdi
xorl %edx, %edx
xorl %ecx, %ecx
xorl %r8d, %r8d
callq 0x4104
movq %r14, 0x18(%rbx)
movl $0x28, %edi
callq 0x3260
movq %rax, %r14
movl (%r15), %ecx
decl %ecx
movq %rax, %rdi
movl $0x1, %esi
xorl %edx, %edx
xorl %r8d, %r8d
callq 0x45a0
movq %r14, 0x20(%rbx)
movl $0x10, %edi
callq 0x3260
movq %rax, %r14
movq %rax, %rdi
movq %rbx, %rsi
callq 0x4a58
movq %r14, 0x38(%rbx)
movl $0x10, %edi
callq 0x3260
movq %rax, %r14
movq %rax, %rdi
movq %rbx, %rsi
callq 0x4624
movq %r14, 0x30(%rbx)
movl $0x10, %edi
callq 0x3260
movq %rax, %r14
movq %rax, %rdi
movq %rbx, %rsi
callq 0x4c78
movq %r14, 0x40(%rbx)
movq 0x8(%rbx), %rsi
movq 0x18(%rbx), %rdi
callq 0x413e
movq 0x30(%rbx), %rax
movq %rax, 0x28(%rbx)
popq %rbx
popq %r14
popq %r15
retq
jmp 0x379d
jmp 0x379d
movq %rax, %rbx
movl $0x10, %esi
jmp 0x37c5
movq %rax, %rbx
movl $0x28, %esi
jmp 0x37c5
jmp 0x37b3
movq %rax, %rbx
movl $0x60, %esi
jmp 0x37c5
movq %rax, %rbx
movl $0x8, %esi
movq %r14, %rdi
callq 0x3270
movq %rbx, %rdi
callq 0x3440
nop
// File: /workspace/github_cpp_makefile_star2_O3/jakubsvehla[P]hex/src/cli.cpp
// Function: CLI::Run(int, char**)
void CLI::Run (int argc, char ** argv)
{
  Editor editor;

  if (argc < 2) Usage(EXIT_FAILURE);

  // Handle special options --help and --version
  if (strcmp(argv[1], "-h") == 0 ||
      strcmp(argv[1], "--help") == 0) Usage(EXIT_SUCCESS);

  if (strcmp(argv[1], "-v") == 0 ||
      strcmp(argv[1], "--version") == 0) Version();

  // Initialize editor
  editor.Init();

  editor.OpenFile(argv[1]);

  // Start editor
  editor.Run();

}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x48, %rsp
movq %rdx, %rbx
movl %esi, %ebp
movq %rdi, %r14
movq %rsp, %rdi
callq 0x3600
cmpl $0x1, %ebp
jle 0x38f6
movq 0x8(%rbx), %r15
cmpb $0x2d, (%r15)
jne 0x387a
cmpb $0x68, 0x1(%r15)
jne 0x3857
cmpb $0x0, 0x2(%r15)
je 0x38cf
leaq 0x27ad(%rip), %rsi      # 0x600b
movq %r15, %rdi
callq 0x3370
testl %eax, %eax
je 0x38cf
cmpb $0x76, 0x1(%r15)
jne 0x388d
cmpb $0x0, 0x2(%r15)
jne 0x388d
jmp 0x38ee
leaq 0x278a(%rip), %rsi      # 0x600b
movq %r15, %rdi
callq 0x3370
testl %eax, %eax
je 0x38cf
leaq 0x277e(%rip), %rsi      # 0x6012
movq %r15, %rdi
callq 0x3370
testl %eax, %eax
je 0x38ee
movq %rsp, %rdi
callq 0x367e
movq 0x8(%rbx), %rsi
movq %rsp, %rdi
callq 0x37d6
movq %rsp, %rdi
callq 0x37f2
movq %rsp, %rdi
callq 0x3602
addq $0x48, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
callq 0x3986
movq 0x56fd(%rip), %rdi      # 0x8fd8
leaq 0x2745(%rip), %rsi      # 0x6027
callq 0x3240
xorl %edi, %edi
callq 0x3330
movq %r14, %rdi
callq 0x394e
callq 0x3986
movq 0x56d6(%rip), %rdi      # 0x8fd8
leaq 0x271e(%rip), %rsi      # 0x6027
callq 0x3240
movl $0x1, %edi
callq 0x3330
movq %rax, %rbx
movq %rsp, %rdi
callq 0x3602
movq %rbx, %rdi
callq 0x3440
nop
// File: /workspace/github_cpp_makefile_star2_O3/jakubsvehla[P]hex/src/file.cpp
// Function: File::~File()
File::~File ()
{
  Byte * tmp;

  while (m_Head) {
    tmp = m_Head;
    m_Head = m_Head -> m_Next;
    delete tmp;
  }
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
leaq 0x5015(%rip), %rax      # 0x8aa0
movq %rax, (%rdi)
movq 0x20(%rdi), %rdi
testq %rdi, %rdi
je 0x3aaf
movq 0x8(%rdi), %rax
movq %rax, 0x20(%rbx)
movl $0x18, %esi
callq 0x3270
movq 0x20(%rbx), %rdi
jmp 0x3a92
movq 0x38(%rbx), %rdi
leaq 0x48(%rbx), %rax
cmpq %rax, %rdi
je 0x3ac7
movq (%rax), %rsi
incq %rsi
callq 0x3270
movq %rbx, %rdi
popq %rbx
jmp 0x4d4c
// File: /workspace/github_cpp_makefile_star2_O3/jakubsvehla[P]hex/src/file.cpp
// Function: File::Open(char const*)
bool File::Open (const char * name)
{
  FILE * f;
  int c;

  // TODO handle errors and throw exceptions

  m_FileName = name;

  f = fopen(name, "ab+");
  fseek(f, 0, SEEK_SET);

  while ((c = fgetc(f)) != EOF)
    Ins(c);

  fclose(f);

  Seek(0);

  m_Saved = true;
  NotifyObservers();

  return true;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x38(%rdi), %r15
movq 0x40(%rdi), %r12
movq %rsi, %rdi
callq 0x3140
movq %r15, %rdi
xorl %esi, %esi
movq %r12, %rdx
movq %r14, %rcx
movq %rax, %r8
callq 0x33b0
leaq 0x2670(%rip), %rsi      # 0x6190
movq %r14, %rdi
callq 0x3310
movq %rax, %r14
movq %rax, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x32c0
movq %r14, %rdi
callq 0x33e0
cmpl $-0x1, %eax
je 0x3b51
movzbl %al, %esi
movq %rbx, %rdi
callq 0x3b84
jmp 0x3b37
movq %r14, %rdi
callq 0x3250
movq 0x20(%rbx), %rax
movq %rax, 0x30(%rbx)
movq %rbx, %rdi
callq 0x4da2
movb $0x1, 0x5c(%rbx)
movq %rbx, %rdi
callq 0x4da2
movb $0x1, %al
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/jakubsvehla[P]hex/src/file.cpp
// Function: File::Ins(unsigned char)
void File::Ins (const unsigned char c)
{
  Byte * byte = new Byte(c);

  if (m_Mark == m_Head) {
    byte -> m_Next = m_Mark;

    m_Mark -> m_Prev = byte;
    m_Head = byte;
  }
  else {
    byte -> m_Next = m_Mark;
    byte -> m_Prev = m_Mark -> m_Prev;

    byte -> m_Next -> m_Prev = byte;
    byte -> m_Prev -> m_Next = byte;
  }

  m_Version ++;
  m_Saved = false;
  NotifyObservers();
}

// Assembly:
pushq %rbp
pushq %rbx
pushq %rax
movl %esi, %ebp
movq %rdi, %rbx
movl $0x18, %edi
callq 0x3260
xorps %xmm0, %xmm0
movups %xmm0, 0x8(%rax)
movb %bpl, (%rax)
movq 0x30(%rbx), %rdx
cmpq 0x20(%rbx), %rdx
movq %rdx, 0x8(%rax)
je 0x3bc0
movq 0x10(%rdx), %rcx
movq %rcx, 0x10(%rax)
movq %rax, 0x10(%rdx)
addq $0x8, %rcx
jmp 0x3bc8
leaq 0x20(%rbx), %rcx
movq %rax, 0x10(%rdx)
movq %rax, (%rcx)
incl 0x58(%rbx)
movb $0x0, 0x5c(%rbx)
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %rbp
jmp 0x4da2
// File: /workspace/github_cpp_makefile_star2_O3/jakubsvehla[P]hex/src/file.cpp
// Function: File::Seek(int, int)
bool File::Seek (int offset, int whence)
{
  int    i;
  Byte * tmp;

  tmp = m_Mark;

  if (whence == SEEK_SET) {
    m_Mark = m_Head;
  }

  for (i = 0; i < abs(offset); i ++) {

    if (offset < 0) {
      m_Mark = m_Mark -> m_Prev;
    }
    else {
      m_Mark = m_Mark -> m_Next;
    }

    if (m_Mark == NULL) {
      m_Mark = tmp;
      return false;
    }
  }

  NotifyObservers();

  return true;
}

// Assembly:
pushq %rbx
movq 0x30(%rdi), %rax
movq %rax, %r8
testl %edx, %edx
jne 0x3bf4
movq 0x20(%rdi), %r8
movq %r8, 0x30(%rdi)
movl %esi, %ecx
negl %ecx
cmovsl %esi, %ecx
jae 0x3c47
movl %esi, %r9d
shrl $0x1f, %r9d
movl %esi, %edx
negl %edx
cmovsl %esi, %edx
movq 0x8(%r8,%r9,8), %rsi
movq %rsi, 0x30(%rdi)
testq %rsi, %rsi
je 0x3c4b
leaq 0x8(,%r9,8), %r9
movl $0x1, %r8d
cmpl %r8d, %edx
je 0x3c53
movq (%rsi,%r9), %rsi
movq %rsi, 0x30(%rdi)
incl %r8d
testq %rsi, %rsi
jne 0x3c27
decl %r8d
cmpl %ecx, %r8d
setae %bl
jmp 0x3c4d
movb $0x1, %bl
jmp 0x3c59
xorl %ebx, %ebx
movq %rax, 0x30(%rdi)
jmp 0x3c5e
cmpl %ecx, %r8d
setae %bl
callq 0x4da2
movl %ebx, %eax
popq %rbx
retq
// File: /workspace/github_cpp_makefile_star2_O3/jakubsvehla[P]hex/src/file.cpp
// Function: File::Save()
bool File::Save ()
{
  FILE * f;
  unsigned char c;
  int pos;

  pos = Tell();

  // TODO handle errors and throw exceptions

  if (m_FileName.empty()) return false;

  f = fopen(m_FileName.c_str(), "wb");

  Seek(0);
  while (!Eof()) {
    Get(c);
    fputc(c, f);
  }

  fclose(f);

  m_Saved = true;

  Seek(pos, SEEK_SET);

  return true;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rdi, %rbx
movq 0x20(%rdi), %rax
movq 0x30(%rdi), %rcx
xorl %ebp, %ebp
cmpq %rcx, %rax
je 0x3c84
incl %ebp
movq 0x8(%rax), %rax
jmp 0x3c77
movq 0x40(%rbx), %r12
testq %r12, %r12
je 0x3cf3
movq 0x38(%rbx), %rdi
leaq 0x24fc(%rip), %rsi      # 0x6194
callq 0x3310
movq %rax, %r14
movq 0x20(%rbx), %rax
movq %rax, 0x30(%rbx)
movq %rbx, %rdi
callq 0x4da2
movq 0x30(%rbx), %rax
cmpq 0x28(%rbx), %rax
je 0x3cdb
movzbl (%rax), %r15d
movq 0x8(%rax), %rax
movq %rax, 0x30(%rbx)
movq %rbx, %rdi
callq 0x4da2
movl %r15d, %edi
movq %r14, %rsi
callq 0x3350
jmp 0x3cb0
movq %r14, %rdi
callq 0x3250
movb $0x1, 0x5c(%rbx)
movq %rbx, %rdi
movl %ebp, %esi
xorl %edx, %edx
callq 0x3be0
testq %r12, %r12
setne %al
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/jakubsvehla[P]hex/src/file.cpp
// Function: File::Put(unsigned char)
bool File::Eof (void) const
{
  if (m_Mark == m_Tail) {
    return true;
  } else {
    return false;
  }
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq 0x28(%rdi), %rbx
movq 0x30(%rdi), %r14
cmpq %rbx, %r14
je 0x3e22
movb %sil, (%r14)
movq 0x8(%r14), %rax
movq %rax, 0x30(%rdi)
incl 0x58(%rdi)
movb $0x0, 0x5c(%rdi)
callq 0x4da2
cmpq %rbx, %r14
setne %al
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_cpp_makefile_star2_O3/jakubsvehla[P]hex/src/file.cpp
// Function: File::Del()
void File::Del (void)
{
  Byte * tmp;

  if (Eof()) {
    return;
  }

  tmp = m_Mark;
  m_Mark = m_Mark -> m_Next;

  if (tmp == m_Head) {
    m_Head = m_Head -> m_Next;
    m_Head -> m_Prev = NULL;
    delete tmp;
  }
  else {
    tmp -> m_Prev -> m_Next = tmp -> m_Next;
    tmp -> m_Next -> m_Prev = tmp -> m_Prev;
    delete tmp;
  }

  m_Version ++;
  m_Saved = false;
  NotifyObservers();
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
movq 0x30(%rdi), %rdi
cmpq 0x28(%rbx), %rdi
je 0x3d89
movq 0x8(%rdi), %rax
movq %rax, 0x30(%rbx)
movq 0x20(%rbx), %rcx
cmpq %rcx, %rdi
je 0x3d8b
movq 0x10(%rdi), %rcx
movq %rax, 0x8(%rcx)
movq 0x8(%rdi), %rax
jmp 0x3d95
popq %rbx
retq
movq 0x8(%rcx), %rax
movq %rax, 0x20(%rbx)
xorl %ecx, %ecx
movq %rcx, 0x10(%rax)
movl $0x18, %esi
callq 0x3270
incl 0x58(%rbx)
movb $0x0, 0x5c(%rbx)
movq %rbx, %rdi
popq %rbx
jmp 0x4da2
nop
// File: /workspace/github_cpp_makefile_star2_O3/jakubsvehla[P]hex/src/file.cpp
// Function: File::Read(int, int, unsigned char*) const
int File::Read (int offset, int n, unsigned char * buffer) const
{
  Byte  * tmp;
  int     i;

  tmp = m_Head;

  for (i = 0; i < offset; i ++) {
    if (tmp == m_Tail) return 0;
    tmp = tmp -> m_Next;
  }

  for (i = 0; i < n; i ++) {
    if (tmp == m_Tail) break;
    buffer[i] = tmp -> m_Val;
    tmp = tmp -> m_Next;
  }

  return i;
}

// Assembly:
movq 0x20(%rdi), %r8
movq 0x28(%rdi), %r9
testl %esi, %esi
jle 0x3dcd
cmpq %r9, %r8
je 0x3df6
movq 0x8(%r8), %r8
decl %esi
jne 0x3dc0
xorl %eax, %eax
testl %edx, %edx
jle 0x3df5
cmpq %r9, %r8
je 0x3df5
movl %edx, %edx
xorl %eax, %eax
movb (%r8), %sil
movb %sil, (%rcx,%rax)
incq %rax
cmpq %rdx, %rax
jae 0x3df5
movq 0x8(%r8), %r8
cmpq 0x28(%rdi), %r8
jne 0x3ddc
retq
xorl %eax, %eax
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/jakubsvehla[P]hex/src/window.cpp
// Function: Window::Window(int, int, int, int)
Window::Window (int lines, int cols, int y0, int x0)
{
  m_Win = newwin(lines, cols, y0, x0);
  m_Y0 = y0;
  m_X0 = x0;
  getmaxyx(m_Win, m_Height, m_Width);

  keypad(m_Win, TRUE);
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
movl %r8d, %ebp
movl %ecx, %r14d
movq %rdi, %rbx
leaq 0x4c84(%rip), %rax      # 0x8ad8
movq %rax, (%rdi)
movl %esi, %edi
movl %edx, %esi
movl %ecx, %edx
movl %r8d, %ecx
callq 0x3290
movq %rax, 0x18(%rbx)
movl %r14d, 0x10(%rbx)
movl %ebp, 0x14(%rbx)
testq %rax, %rax
je 0x3e8e
movd 0x4(%rax), %xmm0
pshuflw $0x60, %xmm0, %xmm0     # xmm0 = xmm0[0,0,2,1,4,5,6,7]
psrad $0x10, %xmm0
pcmpeqd %xmm1, %xmm1
psubd %xmm1, %xmm0
jmp 0x3e92
pcmpeqd %xmm0, %xmm0
movq %xmm0, 0x8(%rbx)
movq %rax, %rdi
movl $0x1, %esi
popq %rbx
popq %r14
popq %rbp
jmp 0x3120
// File: /workspace/github_cpp_makefile_star2_O3/jakubsvehla[P]hex/src/window.cpp
// Function: Window::GetHex(int&) const
bool Window::GetHex (int & c) const
{
  stringstream buffer;
  int x;
  int i;

  for (i = 0; i < 2; i ++) {
    Get(x);
    if (x == ESC) return false;
    if (isxdigit(x)) {
      buffer << hex << (char) x;
    }
    else {
      throw NotHexadecimalValue();
    }    
  }

  buffer >> hex >> c;

  return true;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x198, %rsp            # imm = 0x198
movq %rsi, %rbx
movq %rdi, %r14
leaq 0x10(%rsp), %rdi
callq 0x31a0
movb $0x1, %r13b
leaq 0x20(%rsp), %r15
leaq 0xf(%rsp), %r12
movq 0x18(%r14), %rdi
callq 0x3110
movl %eax, %ebp
cmpl $0x1b, %eax
je 0x4039
movl %ebp, %edi
callq 0x30a0
testl %eax, %eax
je 0x4071
movq 0x20(%rsp), %rax
movq -0x18(%rax), %rax
movl 0x38(%rsp,%rax), %ecx
andl $-0x4b, %ecx
orl $0x8, %ecx
movl %ecx, 0x38(%rsp,%rax)
movb %bpl, 0xf(%rsp)
movl $0x1, %edx
movq %r15, %rdi
movq %r12, %rsi
callq 0x32e0
testb $0x1, %r13b
movl $0x0, %r13d
jne 0x3fc0
leaq 0x10(%rsp), %rdi
movq (%rdi), %rax
movq -0x18(%rax), %rax
movl 0x28(%rsp,%rax), %ecx
andl $-0x4b, %ecx
orl $0x8, %ecx
movl %ecx, 0x28(%rsp,%rax)
movq %rbx, %rsi
callq 0x3180
cmpl $0x1b, %ebp
setne %bl
movq 0x4f7a(%rip), %rsi      # 0x8fc0
leaq 0x10(%rsp), %rdi
callq 0x31c0
leaq 0x90(%rsp), %rdi
callq 0x30f0
movl %ebx, %eax
addq $0x198, %rsp            # imm = 0x198
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0x1, %edi
callq 0x3160
leaq 0x4a76(%rip), %rsi      # 0x8af8
movq %rax, %rdi
xorl %edx, %edx
callq 0x3420
jmp 0x408e
movq %rax, %rbx
movq 0x4f28(%rip), %rsi      # 0x8fc0
leaq 0x10(%rsp), %rdi
callq 0x31c0
leaq 0x90(%rsp), %rdi
callq 0x30f0
movq %rbx, %rdi
callq 0x3440
nop
// File: /workspace/github_cpp_makefile_star2_O3/jakubsvehla[P]hex/src/file_view.cpp
// Function: FileView::FileView(int, int, int, int)
FileView::FileView (int lines, int cols, int y0, int x0)
: View (lines, cols, y0, x0)
{
  m_Offset = 0; // FIXME: rename offset to base

  m_File = NULL;
  m_FileVersion = 0;

  Configure();

}

// Assembly:
pushq %rbx
movq %rdi, %rbx
callq 0x40dc
leaq 0x4a94(%rip), %rax      # 0x8ba8
movq %rax, (%rbx)
leaq 0x4aba(%rip), %rax      # 0x8bd8
movq %rax, 0x20(%rbx)
xorl %eax, %eax
movl %eax, 0x30(%rbx)
movq $0x0, 0x50(%rbx)
movl %eax, 0x58(%rbx)
movq %rbx, %rdi
xorl %esi, %esi
popq %rbx
jmp 0x413e
nop
// File: /workspace/github_cpp_makefile_star2_O3/jakubsvehla[P]hex/src/file_view.cpp
// Function: FileView::Configure(Config*)
void FileView::Configure (Config * config)
{

  if (config != NULL) {
    m_ShowNums      = config -> m_Number;
    m_ShowASCII     = config -> m_ShowASCII;
    m_BlockSize     = config -> m_Group;
  }
  else {
    m_ShowNums      = true;
    m_ShowASCII     = true;
    m_BlockSize     = 4; // block size is 4 bytes by default    
  }

  if (m_ShowNums)
    m_HexOffset     = 10;
  else
    m_HexOffset     = 0;

  m_BlockCnt        = CalculateBlockCnt();

  m_BytesPerLine    = m_BlockSize * m_BlockCnt;
  m_BytesPerScreen  = m_BytesPerLine * m_Height;

  m_ASCIIOffset     = m_Width - m_BytesPerLine;

}

// Assembly:
testq %rsi, %rsi
je 0x4169
movb (%rsi), %cl
movb 0x1(%rsi), %dl
movl 0x4(%rsi), %eax
movb %cl, 0x3c(%rdi)
movb %dl, 0x44(%rdi)
xorl %esi, %esi
testb %cl, %cl
movl $0xa, %r8d
cmovel %esi, %r8d
movl %eax, 0x2c(%rdi)
testb %dl, %dl
cmovnel %eax, %esi
jmp 0x4188
movb $0x1, %al
movb %al, 0x3c(%rdi)
movb %al, 0x44(%rdi)
movl $0x4, 0x2c(%rdi)
movl $0xa, %r8d
movl $0x4, %eax
movl $0x4, %esi
movl %r8d, 0x40(%rdi)
leal (%rax,%rax,2), %r9d
movl 0xc(%rdi), %ecx
movl %ecx, %edx
subl %r8d, %edx
leal (%rsi,%r9), %r8d
incl %r8d
xorl %esi, %esi
cmpl %edx, %r8d
jg 0x41b5
xorl %esi, %esi
movl %r8d, %r9d
incl %esi
addl %r8d, %r9d
cmpl %edx, %r9d
jle 0x41ab
movl %esi, 0x28(%rdi)
imull %esi, %eax
movl %eax, 0x38(%rdi)
subl %eax, %ecx
imull 0x8(%rdi), %eax
movl %eax, 0x34(%rdi)
movl %ecx, 0x48(%rdi)
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/jakubsvehla[P]hex/src/file_view.cpp
// Function: FileView::Notify(Subject*)
void FileView::Notify (Subject * s)
{
  int pos;

  if (typeid(*s) == typeid(File)) {
    pos = m_File -> Tell();

    if (m_File -> Version() > m_FileVersion ||
        pos < m_Offset ||
        pos >= m_Offset + m_BytesPerScreen)
      Render();

    else
      MoveCursor(pos);
  }
}

// Assembly:
pushq %rbp
pushq %rbx
pushq %rax
testq %rsi, %rsi
je 0x42af
movq %rdi, %rbx
movq (%rsi), %rax
movq -0x8(%rax), %rax
movq 0x8(%rax), %rdi
leaq 0x487b(%rip), %rax      # 0x8ab0
movq 0x8(%rax), %rsi
cmpq %rsi, %rdi
je 0x4253
cmpb $0x2a, (%rdi)
je 0x424c
callq 0x3370
testl %eax, %eax
je 0x4253
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
movq 0x50(%rbx), %rdi
callq 0x3d02
movl %eax, %ebp
movq 0x50(%rbx), %rdi
callq 0x3e36
cmpl 0x58(%rbx), %eax
jg 0x42a0
movl 0x30(%rbx), %ecx
movl %ebp, %eax
subl %ecx, %eax
jl 0x42a0
addl 0x34(%rbx), %ecx
cmpl %ecx, %ebp
jge 0x42a0
cltd
idivl 0x38(%rbx)
movl %eax, %esi
movl %edx, %eax
leal (%rax,%rax,2), %ecx
addl 0x40(%rbx), %ecx
cltd
idivl 0x2c(%rbx)
addl %eax, %ecx
movq %rbx, %rdi
movl %ecx, %edx
addq $0x8, %rsp
popq %rbx
popq %rbp
jmp 0x40b8
movq (%rbx), %rax
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %rbp
jmpq *0x10(%rax)
callq 0x32b0
// File: /workspace/github_cpp_makefile_star2_O3/jakubsvehla[P]hex/src/file_view.cpp
// Function: FileView::Render()
void FileView::Render ()
{
  int     pos;
  int     size;
  unsigned char  * buffer;

  // FIXME: check if file is not NULL

  // Get the position of the cursor in the file
  pos = m_File -> Tell();

  Scroll(pos);

  buffer = new unsigned char [m_BytesPerScreen];
  size = m_File -> Read(m_Offset, m_BytesPerScreen, buffer);

  Erase();

  // Render line numbers
  if (m_ShowNums)
    RenderLineNums();

  // Render hexadecimal
  RenderHexadecimal(buffer, size);

  // Render ASCII
  if (m_ShowASCII)
    RenderASCII(buffer, size);

  // Place the cursor at the right place
  MoveCursor(pos);

  // Refresh the screen
  Refresh();

  // Deallocate the buffer
  delete [] buffer;

}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x50(%rdi), %rdi
callq 0x3d02
movl %eax, %ebp
movq %rbx, %rdi
movl %eax, %esi
callq 0x4398
movl 0x34(%rbx), %eax
movslq %eax, %r15
movq %r15, %rdi
callq 0x3030
movq %rax, %r14
movq 0x50(%rbx), %rdi
movl 0x30(%rbx), %esi
movl %r15d, %edx
movq %rax, %rcx
callq 0x3db4
movl %eax, %r15d
movq %rbx, %rdi
callq 0x40cc
cmpb $0x1, 0x3c(%rbx)
jne 0x4339
movq %rbx, %rdi
callq 0x43f2
movq %rbx, %rdi
movq %r14, %rsi
movl %r15d, %edx
callq 0x4436
cmpb $0x1, 0x44(%rbx)
jne 0x435b
movq %rbx, %rdi
movq %r14, %rsi
movl %r15d, %edx
callq 0x44dc
subl 0x30(%rbx), %ebp
movl %ebp, %eax
cltd
idivl 0x38(%rbx)
movl %eax, %esi
movl %edx, %eax
leal (%rax,%rax,2), %ecx
addl 0x40(%rbx), %ecx
cltd
idivl 0x2c(%rbx)
addl %eax, %ecx
movq %rbx, %rdi
movl %ecx, %edx
callq 0x40b8
movq %rbx, %rdi
callq 0x40c2
movq %r14, %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0x3360
// File: /workspace/github_cpp_makefile_star2_O3/jakubsvehla[P]hex/src/file_view.cpp
// Function: FileView::Scroll(int)
void FileView::Scroll (int pos)
{
  // Scroll up if the cursor is above the screen
  while (pos < m_Offset) {
    m_Offset -= m_BytesPerLine;
  }

  // Scroll down if the cursor is below the screen
  while (pos >= m_Offset + m_BytesPerScreen) {
    m_Offset += m_BytesPerLine;
  }
}

// Assembly:
movl 0x30(%rdi), %ecx
cmpl %esi, %ecx
jle 0x43ab
movl 0x38(%rdi), %eax
subl %eax, %ecx
cmpl %esi, %ecx
jg 0x43a2
movl %ecx, 0x30(%rdi)
movl 0x34(%rdi), %eax
leal (%rax,%rcx), %edx
cmpl %esi, %edx
jg 0x43f1
movl 0x38(%rdi), %r8d
addl %ecx, %eax
addl %r8d, %eax
incl %esi
xorl %r9d, %r9d
cmpl %esi, %eax
cmovgl %eax, %esi
setl %r9b
addl %r9d, %eax
subl %eax, %esi
cmpl $0x1, %r8d
movl %r8d, %r10d
adcl $0x0, %r10d
movl %esi, %eax
xorl %edx, %edx
divl %r10d
addl %r9d, %eax
incl %eax
imull %r8d, %eax
addl %ecx, %eax
movl %eax, 0x30(%rdi)
retq
// File: /workspace/github_cpp_makefile_star2_O3/jakubsvehla[P]hex/src/file_view.cpp
// Function: FileView::RenderLineNums()
void FileView::RenderLineNums ()
{
  int i;

  for (i = 0; i < m_Height; i ++) {
    Move(i, 0);
    Print("%08lX", m_Offset + (i * m_BytesPerLine));
  }
}

// Assembly:
cmpl $0x0, 0x8(%rdi)
jle 0x4435
pushq %rbp
pushq %r14
pushq %rbx
movq %rdi, %rbx
leaq 0x1dcb(%rip), %r14      # 0x61d1
xorl %ebp, %ebp
movq %rbx, %rdi
movl %ebp, %esi
xorl %edx, %edx
callq 0x40b8
movl 0x38(%rbx), %edx
imull %ebp, %edx
addl 0x30(%rbx), %edx
movq %rbx, %rdi
movq %r14, %rsi
xorl %eax, %eax
callq 0x3ef2
incl %ebp
cmpl 0x8(%rbx), %ebp
jl 0x4408
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/jakubsvehla[P]hex/src/file_view.cpp
// Function: FileView::RenderHexadecimal(unsigned char*, int)
void FileView::RenderHexadecimal (unsigned char * buffer, int size)
{
  unsigned char * line = buffer;
  int i, j;

  for (i = 0; i < m_Height; i++) {

    Move(i, m_HexOffset);

    for (j = 0; j < min(m_BytesPerLine, size); j ++) {

      Print("%02X ", line[j]);

      // Print one space after every block
      if ((j + 1) % m_BlockSize == 0) Put(' ');

    }

    line += m_BytesPerLine;
    size -= m_BytesPerLine;
  }
}

// Assembly:
cmpl $0x0, 0x8(%rdi)
jle 0x44da
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %edx, %ebx
movq %rsi, %r14
movq %rdi, %r15
leaq 0x1d71(%rip), %r12      # 0x61cb
xorl %ebp, %ebp
movl 0x40(%r15), %edx
movq %r15, %rdi
movl %ebp, %esi
callq 0x40b8
movl 0x38(%r15), %eax
cmpl %ebx, %eax
movl %ebx, %ecx
cmovll %eax, %ecx
testl %ecx, %ecx
jle 0x44bd
xorl %r13d, %r13d
movzbl (%r14,%r13), %edx
movq %r15, %rdi
movq %r12, %rsi
xorl %eax, %eax
callq 0x3ef2
incq %r13
movl %r13d, %eax
cltd
idivl 0x2c(%r15)
testl %edx, %edx
jne 0x44aa
movq %r15, %rdi
movl $0x20, %esi
callq 0x3ede
movl 0x38(%r15), %eax
cmpl %ebx, %eax
movl %ebx, %ecx
cmovll %eax, %ecx
movslq %ecx, %rcx
cmpq %rcx, %r13
jl 0x447c
cltq
addq %rax, %r14
subl %eax, %ebx
incl %ebp
cmpl 0x8(%r15), %ebp
jl 0x445c
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/jakubsvehla[P]hex/src/file_view.cpp
// Function: FileView::RenderASCII(unsigned char*, int)
void FileView::RenderASCII (unsigned char * buffer, int size)
{
  unsigned char * line = buffer;
  int i, j;

  for (i = 0; i < m_Height; i++) {

    Move(i, m_ASCIIOffset);

    for (j = 0; j < min(m_BytesPerLine, size); j ++) {
      if (isprint(line[j]))
        Put(line[j]);
      else
        Put('.');
    }

    line += m_BytesPerLine;
    size -= m_BytesPerLine;
  }

}

// Assembly:
cmpl $0x0, 0x8(%rdi)
jle 0x4576
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %edx, %ebx
movq %rsi, %r14
movq %rdi, %r15
xorl %esi, %esi
movl $0x2e, %r13d
movl 0x48(%r15), %edx
movq %r15, %rdi
movq %rsi, (%rsp)
callq 0x40b8
movl 0x38(%r15), %eax
cmpl %ebx, %eax
movl %ebx, %ecx
cmovll %eax, %ecx
testl %ecx, %ecx
jle 0x4555
xorl %r12d, %r12d
movzbl (%r14,%r12), %ebp
movl %ebp, %edi
callq 0x3450
testl %eax, %eax
cmovel %r13d, %ebp
movq %r15, %rdi
movl %ebp, %esi
callq 0x3ede
incq %r12
movl 0x38(%r15), %eax
cmpl %ebx, %eax
movl %ebx, %ecx
cmovll %eax, %ecx
movslq %ecx, %rcx
cmpq %rcx, %r12
jl 0x4523
cltq
addq %rax, %r14
subl %eax, %ebx
movq (%rsp), %rsi
incl %esi
cmpl 0x8(%r15), %esi
jl 0x4501
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/jakubsvehla[P]hex/src/insert_mode.cpp
// Function: InsertMode::Run()
void InsertMode::Run ()
{
  int c;

  m_Editor -> m_CmdLineView -> Render("-- INSERT MODE --");
  m_Editor -> m_FileView -> Refresh();

  try {
    while (m_Editor -> m_FileView -> GetHex(c)) {
      m_Editor -> m_File -> Ins(c);
    }    
  }
  catch (NotHexadecimalValue) {
    m_Editor -> m_FileView -> Beep();    
  }

  m_Editor -> m_Mode = m_Editor -> m_NormalMode;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x8(%rdi), %rax
movq 0x20(%rax), %rdi
movq (%rdi), %rax
leaq 0x1643(%rip), %rsi      # 0x62ea
callq *0x20(%rax)
movq 0x8(%rbx), %rax
movq 0x18(%rax), %rdi
callq 0x40c2
leaq 0x4(%rsp), %r14
movq 0x8(%rbx), %rax
movq 0x18(%rax), %rdi
movq %r14, %rsi
callq 0x3f92
testb %al, %al
je 0x4d06
movq 0x8(%rbx), %rax
movq 0x10(%rax), %rdi
movzbl 0x4(%rsp), %esi
callq 0x3b84
jmp 0x4cbc
movq %rax, %r14
cmpl $0x1, %edx
jne 0x4d22
movq %r14, %rdi
callq 0x3130
movq 0x8(%rbx), %rax
movq 0x18(%rax), %rdi
callq 0x40d6
callq 0x3400
movq 0x8(%rbx), %rax
movq 0x30(%rax), %rcx
movq %rcx, 0x28(%rax)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
movq %rax, %r14
callq 0x3400
movq %r14, %rdi
callq 0x3440
movq %rax, %rdi
callq 0x380e
// File: /workspace/github_cpp_makefile_star2_O3/jakubsvehla[P]hex/src/config.cpp
// Function: Config::LoadFromFile(char const*)
bool Config::LoadFromFile (const char * name)
{
  fstream filestr;
  string  line;

  filestr.open(name, fstream::in);

  if (filestr.fail()) return false;

  while (true) {

    if (filestr.eof()) break;

    if (filestr.fail()) {
      filestr.close();
      return false;
    }

    getline(filestr, line);

    if (line.length() == 0) continue;

    ParseOption(line);

  }

  filestr.close();

  return true;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x258, %rsp            # imm = 0x258
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x48(%rsp), %r15
movq %r15, %rdi
callq 0x3320
leaq 0x18(%rsp), %r13
movq %r13, -0x10(%r13)
movq $0x0, -0x8(%r13)
movb $0x0, (%r13)
movq %r15, %rdi
movq %r14, %rsi
movl $0x8, %edx
callq 0x3210
movq 0x48(%rsp), %rax
movq -0x18(%rax), %rcx
movl 0x68(%rsp,%rcx), %eax
testb $0x5, %al
je 0x4fa8
xorl %ebx, %ebx
jmp 0x5051
testb $0x2, %al
jne 0x5045
leaq (%rsp,%rcx), %rdi
addq $0x48, %rdi
leaq 0x38(%rsp), %rbp
leaq 0x48(%rsp), %r14
leaq 0x8(%rsp), %r15
leaq 0x28(%rsp), %r12
testb $0x5, %al
jne 0x5086
movl $0xa, %esi
callq 0x3230
movsbl %al, %edx
movq %r14, %rdi
movq %r15, %rsi
callq 0x3480
movq 0x10(%rsp), %rdx
testq %rdx, %rdx
je 0x502d
movq %rbp, 0x28(%rsp)
movq 0x8(%rsp), %rsi
addq %rsi, %rdx
movq %r12, %rdi
callq 0x534c
movq %rbx, %rdi
movq %r12, %rsi
callq 0x50e0
movq 0x28(%rsp), %rdi
cmpq %rbp, %rdi
je 0x502d
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x3270
movq 0x48(%rsp), %rax
movq -0x18(%rax), %rax
leaq (%rsp,%rax), %rdi
addq $0x48, %rdi
movl 0x20(%rdi), %eax
testb $0x2, %al
je 0x4fcc
movb $0x1, %bl
leaq 0x48(%rsp), %rdi
callq 0x3050
movq 0x8(%rsp), %rdi
cmpq %r13, %rdi
je 0x5068
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x3270
leaq 0x48(%rsp), %rdi
callq 0x3090
movl %ebx, %eax
addq $0x258, %rsp            # imm = 0x258
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x48(%rsp), %rdi
callq 0x3050
jmp 0x4fa1
jmp 0x50b3
movq %rax, %rbx
movq 0x28(%rsp), %rdi
cmpq %rbp, %rdi
je 0x50b6
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x3270
jmp 0x50b6
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r13, %rdi
je 0x50cd
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x3270
leaq 0x48(%rsp), %rdi
callq 0x3090
movq %rbx, %rdi
callq 0x3440
nop
// File: /workspace/github_cpp_makefile_star2_O3/jakubsvehla[P]hex/src/config.cpp
// Function: Config::ParseOption(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
void Config::ParseOption (string line)
{
  string tokens[TOKEN_NUM];
  bool   boolean;

  Tokenize(line, tokens);

  boolean = true;
  if (tokens[0].find("no") == 0) {
    boolean = false;
    tokens[0] = tokens[0].substr(2);
  }

  if (tokens[0].compare("ascii") == 0) {
    m_ShowASCII = boolean;
  }
  if (tokens[0].compare("number") == 0) {
    m_Number = boolean;
  }
  if (tokens[0].compare("group") == 0) {
    if (!boolean) ; // FIXME: raise an exception

    m_Group = atoi(tokens[1].c_str());
  }

  // ...

}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x80, %rsp
movq %rdi, %rbx
movl $0x10, %eax
leaq (%rsp,%rax), %rcx
addq $0x20, %rcx
movq %rcx, -0x10(%rcx)
movq $0x0, -0x8(%rcx)
movb $0x0, (%rcx)
addq $0x20, %rax
cmpq $0x50, %rax
jne 0x50f4
leaq 0x10(%rsp), %r14
movq %r14, -0x10(%r14)
movq (%rsi), %rax
movq 0x8(%rsi), %rdx
addq %rax, %rdx
movq %rsp, %rdi
movq %rax, %rsi
callq 0x534c
movq %rsp, %rsi
leaq 0x20(%rsp), %rdx
callq 0x52a0
movq (%rsp), %rdi
cmpq %r14, %rdi
je 0x5156
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x3270
leaq 0x11cf(%rip), %rsi      # 0x632c
leaq 0x20(%rsp), %rdi
movl $0x2, %ecx
xorl %edx, %edx
callq 0x3430
movq %rax, %r14
testq %rax, %rax
jne 0x51bd
leaq 0x60(%rsp), %rdi
leaq 0x20(%rsp), %rsi
movl $0x2, %edx
movq $-0x1, %rcx
callq 0x3280
leaq 0x20(%rsp), %rdi
leaq 0x60(%rsp), %r15
movq %r15, %rsi
callq 0x3340
movq (%r15), %rdi
leaq 0x70(%rsp), %rax
cmpq %rax, %rdi
je 0x51bd
movq 0x70(%rsp), %rsi
incq %rsi
callq 0x3270
leaq 0x116b(%rip), %rsi      # 0x632f
leaq 0x20(%rsp), %rdi
callq 0x30c0
testl %eax, %eax
jne 0x51d9
testq %r14, %r14
setne 0x1(%rbx)
leaq 0x1155(%rip), %rsi      # 0x6335
leaq 0x20(%rsp), %rdi
callq 0x30c0
testl %eax, %eax
jne 0x51f4
testq %r14, %r14
setne (%rbx)
leaq 0x1141(%rip), %rsi      # 0x633c
leaq 0x20(%rsp), %rdi
callq 0x30c0
testl %eax, %eax
jne 0x5216
movq 0x40(%rsp), %rdi
callq 0x33c0
movl %eax, 0x4(%rbx)
movq $-0x40, %rbx
leaq 0x50(%rsp), %r14
movq -0x10(%r14), %rdi
cmpq %rdi, %r14
je 0x5236
movq (%r14), %rsi
incq %rsi
callq 0x3270
addq $-0x20, %r14
addq $0x20, %rbx
jne 0x5222
addq $0x80, %rsp
popq %rbx
popq %r14
popq %r15
retq
jmp 0x526a
movq %rax, %rbx
movq (%rsp), %rdi
cmpq %r14, %rdi
je 0x526d
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x3270
jmp 0x526d
movq %rax, %rbx
movq $-0x40, %r14
leaq 0x50(%rsp), %r15
movq -0x10(%r15), %rdi
cmpq %rdi, %r15
je 0x528d
movq (%r15), %rsi
incq %rsi
callq 0x3270
addq $-0x20, %r15
addq $0x20, %r14
jne 0x5279
movq %rbx, %rdi
callq 0x3440
nop
// File: /workspace/github_cpp_makefile_star2_O3/jakubsvehla[P]hex/src/config.cpp
// Function: Config::Tokenize(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>*)
void Config::Tokenize (string line, string tokens [TOKEN_NUM])
{
  char * str;
  char * p;
  char   delim[] = " ";
  int    i = 0;

  str = new char [line.size()+1];
  strcpy(str, line.c_str());

  p = strtok(str, delim);
  for (i = 0; i < TOKEN_NUM; i ++) {
    if (p != NULL)
      tokens[i] = p;
    p = strtok(NULL, delim);
  }

  delete [] str;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq %rsi, %r15
movq 0x8(%rsi), %rdi
incq %rdi
callq 0x3030
movq %rax, %r14
movq (%r15), %rsi
movq %rax, %rdi
callq 0x3220
leaq 0xefd(%rip), %r15       # 0x61cf
movq %r14, (%rsp)
movq %r14, %rdi
movq %r15, %rsi
callq 0x33d0
movq %rax, %r12
movb $0x1, %r14b
xorl %eax, %eax
testq %r12, %r12
je 0x5316
shlq $0x5, %rax
leaq (%rbx,%rax), %r13
movq 0x8(%rbx,%rax), %rbp
movq %r12, %rdi
callq 0x3140
movq %r13, %rdi
xorl %esi, %esi
movq %rbp, %rdx
movq %r12, %rcx
movq %rax, %r8
callq 0x33b0
xorl %edi, %edi
movq %r15, %rsi
callq 0x33d0
movq %rax, %r12
movl $0x1, %eax
testb $0x1, %r14b
movl $0x0, %r14d
jne 0x52e9
movq (%rsp), %rdi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x3360
nop
// File: /workspace/github_cpp_makefile_star2_O3/goodix[P]gdix_hid_firmware_update/firmware_image.cpp
// Function: FirmwareImage::InitPid()
int FirmwareImage::InitPid()
{
	gdix_dbg("FirmwareImage %s run\n", __func__);
	m_pid[0] = '\0';
	gdix_dbg("FirmwareImage %s exit\n", __func__);
	return -1;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
leaq 0x1a057(%rip), %r14     # 0x21291
movb (%r14), %al
cmpb $0x1, %al
jne 0x726b
movq 0x19d70(%rip), %rax     # 0x20fb8
movq (%rax), %rdi
leaq 0xedb2(%rip), %rsi      # 0x16004
leaq 0xefe9(%rip), %rdx      # 0x16242
movl $0xe4, %ecx
movq %rdx, %r8
xorl %eax, %eax
callq 0x5180
movb (%r14), %al
movb $0x0, 0x19(%rbx)
testb $0x1, %al
je 0x729a
movq 0x19d3e(%rip), %rax     # 0x20fb8
movq (%rax), %rdi
leaq 0xefc6(%rip), %rsi      # 0x1624a
leaq 0xefb7(%rip), %rdx      # 0x16242
movl $0xe6, %ecx
movq %rdx, %r8
xorl %eax, %eax
callq 0x5180
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
addq $0x8, %rsp
popq %rbx
popq %r14
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/goodix[P]gdix_hid_firmware_update/firmware_image.cpp
// Function: FirmwareImage::InitVid()
int FirmwareImage::InitVid()
{
	gdix_dbg("FirmwareImage %s run\n", __func__);
	m_firmwareVersionMajor = 0;
	m_firmwareVersionMinor = 0;
	gdix_dbg("FirmwareImage %s exit\n", __func__);
	return -1;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
leaq 0x19fdb(%rip), %r14     # 0x21291
movb (%r14), %al
cmpb $0x1, %al
jne 0x72e7
movq 0x19cf4(%rip), %rax     # 0x20fb8
movq (%rax), %rdi
leaq 0xed36(%rip), %rsi      # 0x16004
leaq 0xef9d(%rip), %rdx      # 0x16272
movl $0xeb, %ecx
movq %rdx, %r8
xorl %eax, %eax
callq 0x5180
movb (%r14), %al
movq $0x0, 0x24(%rbx)
testb $0x1, %al
je 0x731a
movq 0x19cbe(%rip), %rax     # 0x20fb8
movq (%rax), %rdi
leaq 0xef46(%rip), %rsi      # 0x1624a
leaq 0xef67(%rip), %rdx      # 0x16272
movl $0xee, %ecx
movq %rdx, %r8
xorl %eax, %eax
callq 0x5180
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
addq $0x8, %rsp
popq %rbx
popq %r14
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/goodix[P]gdix_hid_firmware_update/firmware_image.cpp
// Function: FirmwareImage::Close()
void FirmwareImage::Close()
{
	if (!m_initialized)
		return;

	m_initialized = false;
	if (NULL != m_firmwareData) {
		delete[] m_firmwareData;
		m_firmwareData = NULL;
	}
}

// Assembly:
cmpb $0x1, 0x8(%rdi)
jne 0x73a5
pushq %rbx
movq %rdi, %rbx
movb $0x0, 0x8(%rdi)
movq 0x30(%rdi), %rdi
testq %rdi, %rdi
je 0x73a4
callq 0x5130
movq $0x0, 0x30(%rbx)
popq %rbx
retq
// File: /workspace/github_cpp_makefile_star2_O3/goodix[P]gdix_hid_firmware_update/gt_update.cpp
// Function: GTupdate::Initialize(GTmodel*, FirmwareImage*)
int GTupdate::Initialize(GTmodel *dev, FirmwareImage *image)
{
	m_Initialized = false;
	this->dev = dev;
	this->image = image;
	if (dev != NULL && dev->IsOpened() && image != NULL && image->IsOpened()) {
		m_Initialized = true;
		return 0;
	}
	return -1;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movb $0x0, 0x18(%rdi)
movq %rsi, 0x8(%rdi)
movq %rdx, 0x10(%rdi)
movl $0xffffffff, %ebx       # imm = 0xFFFFFFFF
testq %rsi, %rsi
je 0x74b8
movq %rdx, %r15
movq %rdi, %r14
movq (%rsi), %rax
movq %rsi, %rdi
callq *0x18(%rax)
testq %r15, %r15
je 0x74b8
testb %al, %al
je 0x74b8
movq (%r15), %rax
movq %r15, %rdi
callq *0x90(%rax)
testb %al, %al
je 0x74b8
movb $0x1, 0x18(%r14)
xorl %ebx, %ebx
movl %ebx, %eax
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O3/goodix[P]gdix_hid_firmware_update/gt7868q/gt7868q.cpp
// Function: GT7868QDevice::ChecksumU8_ys(unsigned char*, int)
unsigned short GT7868QDevice::ChecksumU8_ys(unsigned char *data, int len)
{
	unsigned short chksum = 0;
	int i = 0;

	for (i = 0; i < len - 2; i++)
		chksum += data[i];
	gdix_dbg("calu chksum:0x%x, chksum in fw:0x%x\n", chksum,
			 ((data[len - 2] << 8) | data[len - 1]));
	return chksum - ((data[len - 2] << 8) | data[len - 1]);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
leal -0x2(%rdx), %eax
cmpl $0x3, %edx
jl 0x8694
movl %eax, %ecx
xorl %esi, %esi
xorl %ebp, %ebp
movzbl (%rbx,%rsi), %edi
addl %edi, %ebp
incq %rsi
cmpq %rsi, %rcx
jne 0x8684
jmp 0x8696
xorl %ebp, %ebp
leaq 0x18bf4(%rip), %rcx     # 0x21291
cmpb $0x0, (%rcx)
je 0x86e3
movq 0x1890f(%rip), %rcx     # 0x20fb8
movq (%rcx), %rdi
movzwl %bp, %r8d
movslq %eax, %r14
movzbl (%rbx,%r14), %eax
shll $0x8, %eax
movslq %edx, %r15
movzbl -0x1(%rbx,%r15), %r9d
orl %eax, %r9d
leaq 0xe51c(%rip), %rsi      # 0x16bea
leaq 0xe54b(%rip), %rdx      # 0x16c20
movl $0x23, %ecx
xorl %eax, %eax
callq 0x5180
jmp 0x86e9
movslq %eax, %r14
movslq %edx, %r15
movzbl (%rbx,%r14), %eax
shll $0x8, %eax
movzbl -0x1(%rbx,%r15), %ecx
orl %eax, %ecx
subl %ecx, %ebp
movl %ebp, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/goodix[P]gdix_hid_firmware_update/gt7868q/gt7868q_firmware_image.cpp
// Function: GT7868QFirmwareImage::InitPid()
int GT7868QFirmwareImage::InitPid()
{
	gdix_dbg("GT7868QFirmwareImage::InitPid run\n");
	int ret = -1;
	int i = 0;
	int j = 0;

	if (!m_firmwareData) {
		goto exit;
	}
	for (i = 0, j = 0; i < GT7868Q_FW_IMAGE_PID_LEN; i++)
		if (m_firmwareData[GT7868Q_FW_IMAGE_PID_OFFSET + i] != 0)
			m_pid[j++] = m_firmwareData[GT7868Q_FW_IMAGE_PID_OFFSET + i];
	m_pid[j] = '\0';
	ret = 0;

exit:
	gdix_dbg("GT7868QFirmwareImage::InitPid exit\n");
	return ret;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
leaq 0x185d7(%rip), %r14     # 0x21291
cmpb $0x1, (%r14)
jne 0x8ce4
movq 0x182f1(%rip), %rax     # 0x20fb8
movq (%rax), %rdi
leaq 0xe21e(%rip), %rsi      # 0x16eef
leaq 0xd56a(%rip), %rdx      # 0x16242
movl $0x20, %ecx
xorl %eax, %eax
callq 0x5180
cmpq $0x0, 0x30(%rbx)
je 0x8d19
xorl %eax, %eax
xorl %ecx, %ecx
movq 0x30(%rbx), %rdx
movb 0xf(%rdx,%rax), %dl
testb %dl, %dl
je 0x8d04
movslq %ecx, %rsi
incl %ecx
movb %dl, 0x19(%rbx,%rsi)
incq %rax
cmpq $0x8, %rax
jne 0x8cef
movslq %ecx, %rax
movb $0x0, 0x19(%rbx,%rax)
xorl %ebx, %ebx
jmp 0x8d1e
movl $0xffffffff, %ebx       # imm = 0xFFFFFFFF
cmpb $0x1, (%r14)
jne 0x8d48
movq 0x1828d(%rip), %rax     # 0x20fb8
movq (%rax), %rdi
leaq 0xe1ee(%rip), %rsi      # 0x16f23
leaq 0xd506(%rip), %rdx      # 0x16242
movl $0x2f, %ecx
xorl %eax, %eax
callq 0x5180
movl %ebx, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_cpp_makefile_star2_O3/goodix[P]gdix_hid_firmware_update/gt7868q/gt7868q_firmware_image.cpp
// Function: GT7868QFirmwareImage::InitVid()
int GT7868QFirmwareImage::InitVid()
{
	gdix_dbg("GT7868QFirmwareImage InitVid run\n");
	int ret = -1;

	if (!m_firmwareData)
		goto exit;

	m_firmwareVersionMajor = m_firmwareData[GT7868Q_FW_IMAGE_VID_OFFSET];
	/* |--vid2--|--vid3--|--cfg_id--|
	 * reserve the last byte for config ID.
	 */
	m_firmwareVersionMinor =
		(m_firmwareData[GT7868Q_FW_IMAGE_VID_OFFSET + 1] << 16) |
		(m_firmwareData[GT7868Q_FW_IMAGE_VID_OFFSET + 2] << 8);
	gdix_dbg("cid:0x%02x,vid 0x%02X,0x%02X,0x%02X\n",
			 m_firmwareData[GT7868Q_FW_IMAGE_CID_OFFSET],
			 m_firmwareData[GT7868Q_FW_IMAGE_VID_OFFSET],
			 m_firmwareData[GT7868Q_FW_IMAGE_VID_OFFSET + 1],
			 m_firmwareData[GT7868Q_FW_IMAGE_VID_OFFSET + 2]);
	ret = 0;
exit:
	gdix_dbg("GT7868QFirmwareImage InitVid exit,exit code:%d\n", ret);
	return ret;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
leaq 0x18531(%rip), %r14     # 0x21291
movb (%r14), %al
cmpb $0x1, %al
jne 0x8d8e
movq 0x1824a(%rip), %rax     # 0x20fb8
movq (%rax), %rdi
leaq 0xe1e0(%rip), %rsi      # 0x16f58
leaq 0xd4f3(%rip), %rdx      # 0x16272
movl $0x35, %ecx
xorl %eax, %eax
callq 0x5180
movb (%r14), %al
movq 0x30(%rbx), %rcx
testq %rcx, %rcx
je 0x8dfe
movzbl 0x18(%rcx), %edx
movl %edx, 0x24(%rbx)
movzbl 0x19(%rcx), %edx
shll $0x10, %edx
movzbl 0x1a(%rcx), %esi
shll $0x8, %esi
orl %edx, %esi
movl %esi, 0x28(%rbx)
xorl %ebx, %ebx
testb $0x1, %al
je 0x8e03
movq 0x181fa(%rip), %rax     # 0x20fb8
movq (%rax), %rdi
movzbl 0x17(%rcx), %r8d
movzbl 0x18(%rcx), %r9d
movzbl 0x19(%rcx), %r10d
movzbl 0x1a(%rcx), %r11d
leaq 0xe1af(%rip), %rsi      # 0x16f8b
leaq 0xd48f(%rip), %rdx      # 0x16272
xorl %ebx, %ebx
movl $0x46, %ecx
xorl %eax, %eax
pushq %r11
pushq %r10
callq 0x5180
addq $0x10, %rsp
movb (%r14), %al
jmp 0x8e03
movl $0xffffffff, %ebx       # imm = 0xFFFFFFFF
testb $0x1, %al
je 0x8e2e
movq 0x181aa(%rip), %rax     # 0x20fb8
movq (%rax), %rdi
leaq 0xe1a9(%rip), %rsi      # 0x16fc1
leaq 0xd453(%rip), %rdx      # 0x16272
movl $0x49, %ecx
movl %ebx, %r8d
xorl %eax, %eax
callq 0x5180
movl %ebx, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
retq