// File: /workspace/github_cpp_makefile_star2_O1/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 0x2084(%rip), %rdi      # 0x89d4
movq %rsi, 0x90(%rsp)
movl %edx, 0xc(%rsp)
xorl %eax, %eax
callq 0x3070
leaq 0x21c1(%rip), %rdi      # 0x8b2b
callq 0x3400
leaq 0x40(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x2079(%rip), %rsi      # 0x89f8
leaq 0x2074(%rip), %rdx      # 0x89fa
leaq 0x30(%rsp), %rdi
callq 0x7062
leaq 0x20(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x20a3(%rip), %rdx      # 0x8a43
leaq 0x10(%rsp), %rdi
movq %rdx, %rsi
callq 0x7062
leaq 0x2047(%rip), %rsi      # 0x89fb
leaq 0x10(%rsp), %rdi
callq 0x3100
testl %eax, %eax
je 0x6b9a
leaq 0xb0(%rsp), %r15
leaq 0x10(%rsp), %r13
movq 0x5606(%rip), %r14      # 0xbfe0
leaq 0xc0(%rsp), %rbx
leaq 0xa0(%rsp), %rbp
movq %r13, %rdi
leaq 0x2009(%rip), %rsi      # 0x89fd
callq 0x3100
testl %eax, %eax
je 0x6b9a
movq %r13, %rdi
leaq 0x1ff7(%rip), %rsi      # 0x8a02
callq 0x3100
testl %eax, %eax
je 0x6b9a
movq 0x30(%rsp), %rsi
movq 0x38(%rsp), %rdx
movq 0x558f(%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 0x7062
movq %r13, %rdi
movq %rbp, %rsi
callq 0x3320
movq 0xa0(%rsp), %rdi
cmpq %r15, %rdi
je 0x6aa3
movq 0xb0(%rsp), %rsi
incq %rsi
callq 0x3260
leaq 0x80(%rsp), %rax
movq %rax, 0x70(%rsp)
leaq 0x70(%rsp), %r12
movq %r12, %rdi
leaq 0x1f48(%rip), %rsi      # 0x8a07
leaq 0x1f45(%rip), %rdx      # 0x8a0b
callq 0x7062
movq %rbp, %rdi
movq %r13, %rsi
movq %r12, %rdx
callq 0x6d26
movq %r13, %rdi
movq %rbp, %rsi
callq 0x3320
movq 0xa0(%rsp), %rdi
cmpq %r15, %rdi
je 0x6b01
movq 0xb0(%rsp), %rsi
incq %rsi
callq 0x3260
movq 0x70(%rsp), %rdi
leaq 0x80(%rsp), %rax
cmpq %rax, %rdi
je 0x6b23
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 0x6fd2
movq %r12, %rdi
movq 0x98(%rsp), %rsi
callq 0x5fa8
movl %eax, %r12d
movq 0x50(%rsp), %rdi
leaq 0x60(%rsp), %rax
cmpq %rax, %rdi
je 0x6b76
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x3260
testl %r12d, %r12d
je 0x6b83
movl %r12d, %edi
callq 0x6900
movq %r13, %rdi
leaq 0x1e6e(%rip), %rsi      # 0x89fb
callq 0x3100
testl %eax, %eax
jne 0x69ea
leaq 0x1e6b(%rip), %rdi      # 0x8a0c
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 0x6bd0
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3260
movq 0x30(%rsp), %rdi
leaq 0x40(%rsp), %rax
cmpq %rax, %rdi
je 0x6bec
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 0x6c68
movq %rax, %rbx
movq 0x50(%rsp), %rdi
leaq 0x60(%rsp), %rax
cmpq %rax, %rdi
je 0x6c4c
movq 0x60(%rsp), %rsi
jmp 0x6c3b
jmp 0x6c49
movq %rax, %rbx
movq 0x70(%rsp), %rdi
leaq 0x80(%rsp), %rax
cmpq %rax, %rdi
je 0x6c4c
movq 0x80(%rsp), %rsi
incq %rsi
callq 0x3260
jmp 0x6c4c
jmp 0x6c49
jmp 0x6c49
movq %rax, %rbx
movq 0x10(%rsp), %rdi
leaq 0x20(%rsp), %rax
cmpq %rax, %rdi
je 0x6c68
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3260
movq 0x30(%rsp), %rdi
leaq 0x40(%rsp), %rax
cmpq %rax, %rdi
je 0x6c84
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x3260
movq %rbx, %rdi
callq 0x34b0