// File: /workspace/github_cpp_makefile_star2_O3/jpbalarini[P]otsus/./framework/CInspector.cpp
// Function: CInspector::inspector(CFramework*, char const*, int)
void CInspector::inspector(CFramework *fw, const char *file, int line) {
  printf("\nCLI Inpector called at file %s:%d\n", file, line);
  printf("(C) 2011 Miguel Colom.\n");

  string PROMPT = "> ";
  char buffer[4096];

  string input = "";
  while (input != "q" && input != "quit" && input != "exit") {
    cout << PROMPT;
    cin.getline(buffer, 4096);
    input = string(buffer);
    input = trim(input);
    int err_code = process_input(input, fw);
    if (err_code != INSPECTOR_OK)
      process_error(err_code);
  }
  printf("\nCLI Inpector exiting.\nResuming execution from %s:%d.\n\n", file, line);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x10c8, %rsp           # imm = 0x10C8
movq %rdi, 0x98(%rsp)
leaq 0x21e0(%rip), %rdi      # 0x89b4
movq %rsi, 0x90(%rsp)
movl %edx, 0xc(%rsp)
xorl %eax, %eax
callq 0x3070
leaq 0x231d(%rip), %rdi      # 0x8b0b
callq 0x3400
leaq 0x40(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x21d5(%rip), %rsi      # 0x89d8
leaq 0x21d0(%rip), %rdx      # 0x89da
leaq 0x30(%rsp), %rdi
callq 0x6eee
leaq 0x20(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x21ff(%rip), %rdx      # 0x8a23
leaq 0x10(%rsp), %rdi
movq %rdx, %rsi
callq 0x6eee
leaq 0x21a3(%rip), %rsi      # 0x89db
leaq 0x10(%rsp), %rdi
callq 0x3100
testl %eax, %eax
je 0x6a1e
leaq 0xb0(%rsp), %r15
leaq 0x10(%rsp), %r13
movq 0x5782(%rip), %r14      # 0xbfe0
leaq 0xc0(%rsp), %rbx
leaq 0xa0(%rsp), %rbp
movq %r13, %rdi
leaq 0x2165(%rip), %rsi      # 0x89dd
callq 0x3100
testl %eax, %eax
je 0x6a1e
movq %r13, %rdi
leaq 0x2153(%rip), %rsi      # 0x89e2
callq 0x3100
testl %eax, %eax
je 0x6a1e
movq 0x30(%rsp), %rsi
movq 0x38(%rsp), %rdx
movq 0x570b(%rip), %rdi      # 0xbfb8
callq 0x32c0
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x3230
movsbl %al, %ecx
movl $0x1000, %edx           # imm = 0x1000
movq %r14, %rdi
movq %rbx, %rsi
callq 0x34f0
movq %r15, 0xa0(%rsp)
movq %rbx, %rdi
callq 0x3160
leaq (%rsp,%rax), %rdx
addq $0xc0, %rdx
movq %rbp, %rdi
movq %rbx, %rsi
callq 0x6eee
movq %r13, %rdi
movq %rbp, %rsi
callq 0x3320
movq 0xa0(%rsp), %rdi
cmpq %r15, %rdi
je 0x6927
movq 0xb0(%rsp), %rsi
incq %rsi
callq 0x3260
leaq 0x80(%rsp), %rax
movq %rax, 0x70(%rsp)
leaq 0x70(%rsp), %r12
movq %r12, %rdi
leaq 0x20a4(%rip), %rsi      # 0x89e7
leaq 0x20a1(%rip), %rdx      # 0x89eb
callq 0x6eee
movq %rbp, %rdi
movq %r13, %rsi
movq %r12, %rdx
callq 0x6bac
movq %r13, %rdi
movq %rbp, %rsi
callq 0x3320
movq 0xa0(%rsp), %rdi
cmpq %r15, %rdi
je 0x6985
movq 0xb0(%rsp), %rsi
incq %rsi
callq 0x3260
movq 0x70(%rsp), %rdi
leaq 0x80(%rsp), %rax
cmpq %rax, %rdi
je 0x69a7
movq 0x80(%rsp), %rsi
incq %rsi
callq 0x3260
leaq 0x60(%rsp), %rax
movq %rax, 0x50(%rsp)
movq 0x10(%rsp), %rsi
movq 0x18(%rsp), %rdx
addq %rsi, %rdx
leaq 0x50(%rsp), %r12
movq %r12, %rdi
callq 0x6e58
movq %r12, %rdi
movq 0x98(%rsp), %rsi
callq 0x5ebc
movl %eax, %r12d
movq 0x50(%rsp), %rdi
leaq 0x60(%rsp), %rax
cmpq %rax, %rdi
je 0x69fa
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x3260
testl %r12d, %r12d
je 0x6a07
movl %r12d, %edi
callq 0x6784
movq %r13, %rdi
leaq 0x1fca(%rip), %rsi      # 0x89db
callq 0x3100
testl %eax, %eax
jne 0x686e
leaq 0x1fc7(%rip), %rdi      # 0x89ec
movq 0x90(%rsp), %rsi
movl 0xc(%rsp), %edx
xorl %eax, %eax
callq 0x3070
movq 0x10(%rsp), %rdi
leaq 0x20(%rsp), %rax
cmpq %rax, %rdi
je 0x6a54
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3260
movq 0x30(%rsp), %rdi
leaq 0x40(%rsp), %rax
cmpq %rax, %rdi
je 0x6a70
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x3260
addq $0x10c8, %rsp           # imm = 0x10C8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
jmp 0x6aec
movq %rax, %rbx
movq 0x50(%rsp), %rdi
leaq 0x60(%rsp), %rax
cmpq %rax, %rdi
je 0x6ad0
movq 0x60(%rsp), %rsi
jmp 0x6abf
jmp 0x6acd
movq %rax, %rbx
movq 0x70(%rsp), %rdi
leaq 0x80(%rsp), %rax
cmpq %rax, %rdi
je 0x6ad0
movq 0x80(%rsp), %rsi
incq %rsi
callq 0x3260
jmp 0x6ad0
jmp 0x6acd
jmp 0x6acd
movq %rax, %rbx
movq 0x10(%rsp), %rdi
leaq 0x20(%rsp), %rax
cmpq %rax, %rdi
je 0x6aec
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3260
movq 0x30(%rsp), %rdi
leaq 0x40(%rsp), %rax
cmpq %rax, %rdi
je 0x6b08
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x3260
movq %rbx, %rdi
callq 0x34b0