// File: /workspace/github_c_makefile_star2_O3/ShonFrazier[P]lib6502/run6502.c
// Function: usage
static void usage(int status)
{
  FILE *stream= status ? stderr : stdout;
  fprintf(stream, VERSION"\n");
  fprintf(stream, "please send bug reports to: %s\n", PACKAGE_BUGREPORT);
  fprintf(stream, "\n");
  fprintf(stream, "usage: %s [option ...]\n", program);
  fprintf(stream, "       %s [option ...] -B [image ...]\n", program);
  fprintf(stream, "  -B                -- minimal Acorn 'BBC Model B' compatibility\n");
  fprintf(stream, "  -c                -- print total number of instructions and cycles to stderr\n");
  fprintf(stream, "  -d addr last      -- dump memory between addr and last\n");
  fprintf(stream, "  -G addr           -- emulate getchar(3) at addr\n");
  fprintf(stream, "  -h                -- help (print this message)\n");
  fprintf(stream, "  -I addr           -- set IRQ vector\n");
  fprintf(stream, "  -l addr file      -- load file at addr\n");
  fprintf(stream, "  -M addr           -- emulate memory-mapped stdio at addr\n");
  fprintf(stream, "  -N addr           -- set NMI vector\n");
  fprintf(stream, "  -P addr           -- emulate putchar(3) at addr\n");
  fprintf(stream, "  -R addr           -- set RST vector\n");
  fprintf(stream, "  -s addr last file -- save memory from addr to last in file\n");
  fprintf(stream, "  -v                -- print version number then exit\n");
  fprintf(stream, "  -X addr           -- terminate emulation if PC reaches addr\n");
  fprintf(stream, "  -x                -- exit wihout further ado\n");
  fprintf(stream, "  image             -- '-l 8000 image' in available ROM slot\n");
  fprintf(stream, "\n");
  fprintf(stream, "'last' can be an address (non-inclusive) or '+size' (in bytes)\n");
  exit(status);
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movl %edi, %ebx
testl %edi, %edi
jne 0x8fc6
movq 0x900c(%rip), %rax      # 0x11fd0
jmp 0x8fcd
movq 0x902b(%rip), %rax      # 0x11ff8
movq (%rax), %r14
leaq 0x50fc(%rip), %rdi      # 0xe0d3
movl $0x2c, %esi
movl $0x1, %edx
movq %r14, %rcx
callq 0x31c0
leaq 0x5110(%rip), %rsi      # 0xe100
leaq 0x5129(%rip), %rdx      # 0xe120
movq %r14, %rdi
xorl %eax, %eax
callq 0x3120
movl $0xa, %edi
movq %r14, %rsi
callq 0x30d0
movq 0x91d3(%rip), %rdx      # 0x121e8
leaq 0x5126(%rip), %rsi      # 0xe142
movq %r14, %rdi
xorl %eax, %eax
callq 0x3120
movq 0x91bb(%rip), %rdx      # 0x121e8
leaq 0x5126(%rip), %rsi      # 0xe15a
movq %r14, %rdi
xorl %eax, %eax
callq 0x3120
leaq 0x513c(%rip), %rdi      # 0xe181
movl $0x41, %esi
movl $0x1, %edx
movq %r14, %rcx
callq 0x31c0
leaq 0x5165(%rip), %rdi      # 0xe1c3
movl $0x4f, %esi
movl $0x1, %edx
movq %r14, %rcx
callq 0x31c0
leaq 0x519c(%rip), %rdi      # 0xe213
movl $0x39, %esi
movl $0x1, %edx
movq %r14, %rcx
callq 0x31c0
leaq 0x51bd(%rip), %rdi      # 0xe24d
movl $0x32, %esi
movl $0x1, %edx
movq %r14, %rcx
callq 0x31c0
leaq 0x51d7(%rip), %rdi      # 0xe280
movl $0x31, %esi
movl $0x1, %edx
movq %r14, %rcx
callq 0x31c0
leaq 0x51f0(%rip), %rdi      # 0xe2b2
movl $0x26, %esi
movl $0x1, %edx
movq %r14, %rcx
callq 0x31c0
leaq 0x51fe(%rip), %rdi      # 0xe2d9
movl $0x29, %esi
movl $0x1, %edx
movq %r14, %rcx
callq 0x31c0
leaq 0x520f(%rip), %rdi      # 0xe303
movl $0x3b, %esi
movl $0x1, %edx
movq %r14, %rcx
callq 0x31c0
leaq 0x5232(%rip), %rdi      # 0xe33f
movl $0x26, %esi
movl $0x1, %edx
movq %r14, %rcx
callq 0x31c0
leaq 0x5240(%rip), %rdi      # 0xe366
movl $0x32, %esi
movl $0x1, %edx
movq %r14, %rcx
callq 0x31c0
leaq 0x525a(%rip), %rdi      # 0xe399
movl $0x26, %esi
movl $0x1, %edx
movq %r14, %rcx
callq 0x31c0
leaq 0x5268(%rip), %rdi      # 0xe3c0
movl $0x3d, %esi
movl $0x1, %edx
movq %r14, %rcx
callq 0x31c0
leaq 0x528d(%rip), %rdi      # 0xe3fe
movl $0x36, %esi
movl $0x1, %edx
movq %r14, %rcx
callq 0x31c0
leaq 0x52ab(%rip), %rdi      # 0xe435
movl $0x3e, %esi
movl $0x1, %edx
movq %r14, %rcx
callq 0x31c0
leaq 0x52d1(%rip), %rdi      # 0xe474
movl $0x2f, %esi
movl $0x1, %edx
movq %r14, %rcx
callq 0x31c0
leaq 0x52e8(%rip), %rdi      # 0xe4a4
movl $0x3d, %esi
movl $0x1, %edx
movq %r14, %rcx
callq 0x31c0
movl $0xa, %edi
movq %r14, %rsi
callq 0x30d0
leaq 0x5300(%rip), %rdi      # 0xe4e2
movl $0x3f, %esi
movl $0x1, %edx
movq %r14, %rcx
callq 0x31c0
movl %ebx, %edi
callq 0x31b0