// File: /workspace/github_c_makefile_star2_O1/simh[P]simtools/extracters/dbtap/dbtap.c
// Function: usage
void usage(void)
{
  fprintf(stderr,
          "Usage: dbtap -lcae [-r len -A <list> -E -S -P pg,pj] container [...]\n\n");
  fprintf(stderr,
          "   List contents of container file(s):\n");
  fprintf(stderr,
          "     dbtap -l container ...\n\n");
  fprintf(stderr,
          "   Create new container and append file(s):\n");
  fprintf(stderr,
          "     dbtap -c [-r len -A <list> -S -P pg,pj] container file ...\n\n");
  fprintf(stderr,
          "   Append file(s) to an existing container:\n");
  fprintf(stderr,
          "     dbtap -a [-r len -A <list> -S -P pg,pj] container file ...\n\n");
  fprintf(stderr,
          "   Extract files from container(s):\n");
  fprintf(stderr,
          "     dbtap -e [-A <list> -E] container ...\n\n");
  fprintf(stderr, "\nSwitches:\n\n");
  fprintf(stderr,
          "-r len     - Specifiy max tape record size (512 <= len <= 65536)\n");
  fprintf(stderr,
          "-A <list>  - Specify filename extension for ASCII tranefer mode\n");
  fprintf(stderr,
          "             e.g. \".MAC,.BAT\" or \".MAC:.BAT\"\n");
  fprintf(stderr,
          "-E         - Include prog,proj in filename when extracting\n");
  fprintf(stderr,
          "             e.g. FILE_ggg_jjj.EXT\n");
  fprintf(stderr,
          "-S         - Use DOS/BATCH-11 6+3 filenames (rather than 9+3)\n");
  fprintf(stderr,
          "-P pg,pj   - Specify prog,proj number when writing to tape\n");
  fprintf(stderr,
          "             Numbers are in octal. Default is [1,1].\n");
  exit(1);
}

// Assembly:
pushq %rbx
movq 0x3a64(%rip), %rbx      # 0x4ff8
movq (%rbx), %rcx
leaq 0x1a66(%rip), %rdi      # 0x3004
movl $0x46, %esi
movl $0x1, %edx
callq 0x11e0
movq (%rbx), %rcx
leaq 0x1a94(%rip), %rdi      # 0x304b
movl $0x27, %esi
movl $0x1, %edx
callq 0x11e0
movq (%rbx), %rcx
leaq 0x1aa3(%rip), %rdi      # 0x3073
movl $0x1d, %esi
movl $0x1, %edx
callq 0x11e0
movq (%rbx), %rcx
leaq 0x1aa8(%rip), %rdi      # 0x3091
movl $0x2c, %esi
movl $0x1, %edx
callq 0x11e0
movq (%rbx), %rcx
leaq 0x1abc(%rip), %rdi      # 0x30be
movl $0x41, %esi
movl $0x1, %edx
callq 0x11e0
movq (%rbx), %rcx
leaq 0x1ae5(%rip), %rdi      # 0x3100
movl $0x2c, %esi
movl $0x1, %edx
callq 0x11e0
movq (%rbx), %rcx
leaq 0x1af9(%rip), %rdi      # 0x312d
movl $0x41, %esi
movl $0x1, %edx
callq 0x11e0
movq (%rbx), %rcx
leaq 0x1b22(%rip), %rdi      # 0x316f
movl $0x24, %esi
movl $0x1, %edx
callq 0x11e0
movq (%rbx), %rcx
leaq 0x1b2e(%rip), %rdi      # 0x3194
movl $0x2c, %esi
movl $0x1, %edx
callq 0x11e0
movq (%rbx), %rcx
leaq 0x1b42(%rip), %rdi      # 0x31c1
movl $0xc, %esi
movl $0x1, %edx
callq 0x11e0
movq (%rbx), %rcx
leaq 0x1b36(%rip), %rdi      # 0x31ce
movl $0x41, %esi
movl $0x1, %edx
callq 0x11e0
movq (%rbx), %rcx
leaq 0x1b5f(%rip), %rdi      # 0x3210
movl $0x40, %esi
movl $0x1, %edx
callq 0x11e0
movq (%rbx), %rcx
leaq 0x1b87(%rip), %rdi      # 0x3251
movl $0x2d, %esi
movl $0x1, %edx
callq 0x11e0
movq (%rbx), %rcx
leaq 0x1b9c(%rip), %rdi      # 0x327f
movl $0x3b, %esi
movl $0x1, %edx
callq 0x11e0
movq (%rbx), %rcx
leaq 0x1bbf(%rip), %rdi      # 0x32bb
movl $0x23, %esi
movl $0x1, %edx
callq 0x11e0
movq (%rbx), %rcx
leaq 0x1bca(%rip), %rdi      # 0x32df
movl $0x3e, %esi
movl $0x1, %edx
callq 0x11e0
movq (%rbx), %rcx
leaq 0x1bf0(%rip), %rdi      # 0x331e
movl $0x3b, %esi
movl $0x1, %edx
callq 0x11e0
movq (%rbx), %rcx
leaq 0x1c13(%rip), %rdi      # 0x335a
movl $0x35, %esi
movl $0x1, %edx
callq 0x11e0
movl $0x1, %edi
callq 0x11d0