// File: /workspace/github_cpp_makefile_star2_O1/Cicko[P]Ram-Machine/main.cpp
// Function: main
int main (int argc, char* argv[]) {

  if (argc < 5) {
    cout << endl << "Usage: \n ./RamMachine <inputTape.txt> <outputTape.txt> <program.ram> <Memory-size>" << endl << endl;
    return -1;
  }
  string inTape (argv[1]);
  string outTape (argv[2]);
  string fich (argv[3]);
  int size = atoi (argv[4]);

  RamMachine * myMachine = new RamMachine (inTape, outTape, fich, size);

  menu(myMachine);



  return 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xc8, %rsp
cmpl $0x4, %edi
jg 0x61cc
movq 0x1ce7d(%rip), %rbx     # 0x22fb0
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x5340
movsbl %al, %esi
movq %rbx, %rdi
callq 0x5040
movq %rax, %rdi
callq 0x5270
movq %rax, %rbx
leaq 0x13074(%rip), %rsi     # 0x191d8
movl $0x52, %edx
movq %rax, %rdi
callq 0x53d0
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x5340
movsbl %al, %esi
movq %rbx, %rdi
callq 0x5040
movq %rax, %rdi
callq 0x5270
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x5340
movsbl %al, %esi
movq %rbx, %rdi
callq 0x5040
movq %rax, %rdi
callq 0x5270
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
jmp 0x6323
movq %rsi, %rbx
movq 0x8(%rsi), %rsi
leaq 0xa8(%rsp), %rdi
leaq 0x28(%rsp), %rdx
callq 0x5160
movq 0x10(%rbx), %rsi
leaq 0x28(%rsp), %rdi
leaq 0x8(%rsp), %rdx
callq 0x5160
movq 0x18(%rbx), %rsi
leaq 0x8(%rsp), %rdi
leaq 0x7(%rsp), %rdx
callq 0x5160
movq 0x20(%rbx), %rdi
callq 0x5530
movl %eax, %ebp
movl $0x28, %edi
callq 0x5350
movq %rax, %rbx
leaq 0x98(%rsp), %r15
movq %r15, -0x10(%r15)
movq 0xa8(%rsp), %rsi
movq 0xb0(%rsp), %rdx
addq %rsi, %rdx
leaq 0x88(%rsp), %rdi
callq 0x63d2
leaq 0x78(%rsp), %r12
movq %r12, -0x10(%r12)
movq 0x28(%rsp), %rsi
movq 0x30(%rsp), %rdx
addq %rsi, %rdx
leaq 0x68(%rsp), %rdi
callq 0x63d2
leaq 0x58(%rsp), %r13
movq %r13, -0x10(%r13)
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
addq %rsi, %rdx
leaq 0x48(%rsp), %rdi
callq 0x63d2
leaq 0x88(%rsp), %rsi
leaq 0x68(%rsp), %rdx
leaq 0x48(%rsp), %rcx
movq %rbx, %rdi
movl %ebp, %r8d
callq 0x15648
movq 0x48(%rsp), %rdi
cmpq %r13, %rdi
je 0x62bc
callq 0x5330
movq 0x68(%rsp), %rdi
cmpq %r12, %rdi
je 0x62cb
callq 0x5330
movq 0x88(%rsp), %rdi
cmpq %r15, %rdi
je 0x62dd
callq 0x5330
movq %rbx, %rdi
callq 0x59ec
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x62f8
callq 0x5330
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x630b
callq 0x5330
leaq 0xb8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x6321
callq 0x5330
xorl %eax, %eax
addq $0xc8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
movq 0x48(%rsp), %rdi
cmpq %r13, %rdi
je 0x634c
callq 0x5330
jmp 0x634c
movq %rax, %r14
movq 0x68(%rsp), %rdi
cmpq %r12, %rdi
je 0x6360
callq 0x5330
jmp 0x6360
movq %rax, %r14
movq 0x88(%rsp), %rdi
cmpq %r15, %rdi
je 0x6377
callq 0x5330
jmp 0x6377
movq %rax, %r14
movq %rbx, %rdi
callq 0x5330
jmp 0x638e
movq %rax, %r14
jmp 0x63a1
movq %rax, %r14
jmp 0x63b4
movq %rax, %r14
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x63a1
callq 0x5330
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x63b4
callq 0x5330
leaq 0xb8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x63ca
callq 0x5330
movq %r14, %rdi
callq 0x55c0