// File: /workspace/github_c_makefile_star2_O2/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 %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq 0x3cdd(%rip), %r12      # 0x4ff8
movq (%r12), %rcx
leaq 0x1cde(%rip), %rdi      # 0x3004
pushq $0x46
popq %rsi
pushq $0x1
popq %rbx
movq %rbx, %rdx
callq 0x11e0
movq (%r12), %rcx
leaq 0x1d0c(%rip), %rdi      # 0x304b
pushq $0x27
popq %rsi
movq %rbx, %rdx
callq 0x11e0
movq (%r12), %rcx
leaq 0x1d1e(%rip), %rdi      # 0x3073
pushq $0x1d
popq %rsi
movq %rbx, %rdx
callq 0x11e0
movq (%r12), %rcx
leaq 0x1d26(%rip), %rdi      # 0x3091
pushq $0x2c
popq %r15
movq %r15, %rsi
movq %rbx, %rdx
callq 0x11e0
movq (%r12), %rcx
leaq 0x1d39(%rip), %rdi      # 0x30be
pushq $0x41
popq %r14
movq %r14, %rsi
movq %rbx, %rdx
callq 0x11e0
movq (%r12), %rcx
leaq 0x1d61(%rip), %rdi      # 0x3100
movq %r15, %rsi
movq %rbx, %rdx
callq 0x11e0
movq (%r12), %rcx
leaq 0x1d78(%rip), %rdi      # 0x312d
movq %r14, %rsi
movq %rbx, %rdx
callq 0x11e0
movq (%r12), %rcx
leaq 0x1da4(%rip), %rdi      # 0x316f
pushq $0x24
popq %rsi
movq %rbx, %rdx
callq 0x11e0
movq (%r12), %rcx
leaq 0x1db3(%rip), %rdi      # 0x3194
movq %r15, %rsi
movq %rbx, %rdx
callq 0x11e0
movq (%r12), %rcx
leaq 0x1dca(%rip), %rdi      # 0x31c1
pushq $0xc
popq %rsi
movq %rbx, %rdx
callq 0x11e0
movq (%r12), %rcx
leaq 0x1dc1(%rip), %rdi      # 0x31ce
movq %r14, %rsi
movq %rbx, %rdx
callq 0x11e0
movq (%r12), %rcx
leaq 0x1ded(%rip), %rdi      # 0x3210
pushq $0x40
popq %rsi
movq %rbx, %rdx
callq 0x11e0
movq (%r12), %rcx
leaq 0x1e18(%rip), %rdi      # 0x3251
pushq $0x2d
popq %rsi
movq %rbx, %rdx
callq 0x11e0
movq (%r12), %rcx
leaq 0x1e30(%rip), %rdi      # 0x327f
pushq $0x3b
popq %r14
movq %r14, %rsi
movq %rbx, %rdx
callq 0x11e0
movq (%r12), %rcx
leaq 0x1e52(%rip), %rdi      # 0x32bb
pushq $0x23
popq %rsi
movq %rbx, %rdx
callq 0x11e0
movq (%r12), %rcx
leaq 0x1e60(%rip), %rdi      # 0x32df
pushq $0x3e
popq %rsi
movq %rbx, %rdx
callq 0x11e0
movq (%r12), %rcx
leaq 0x1e89(%rip), %rdi      # 0x331e
movq %r14, %rsi
movq %rbx, %rdx
callq 0x11e0
movq (%r12), %rcx
leaq 0x1eaf(%rip), %rdi      # 0x335a
pushq $0x35
popq %rsi
movq %rbx, %rdx
callq 0x11e0
pushq $0x1
popq %rdi
callq 0x11d0