// File: /workspace/github_c_makefile_star2_O2/canboat[P]canboat/analyzer/analyzer.c
// Function: usage
static void usage(char **argv, char **av)
{
  printf("Unknown or invalid argument %s\n", av[0]);
  printf("Usage: %s [[-raw] [-json [-empty] [-nv] [-camel | -upper-camel]] [-data] [-debug] [-d] [-q] [-si] [-geo {dd|dm|dms}] "
         "-format <fmt> "
         "[-src <src> | -dst <dst> | <pgn>]] ["
#ifndef SKIP_SETSYSTEMCLOCK
         "-clocksrc <src> | "
#endif
         "-version\n",
         argv[0]);
  printf("     -json             Output in json format, for program consumption. Empty values are skipped\n");
  printf("     -empty            Modified json format where empty values are shown as NULL\n");
  printf("     -nv               Modified json format where lookup values are shown as name, value pair\n");
  printf("     -camel            Show fieldnames in normalCamelCase\n");
  printf("     -upper-camel      Show fieldnames in UpperCamelCase\n");
  printf("     -d                Print logging from level ERROR, INFO and DEBUG\n");
  printf("     -q                Print logging from level ERROR\n");
  printf("     -si               Show values in strict SI units: degrees Kelvin, rotation in radians/sec, etc.\n");
  printf("     -geo dd           Print geographic format in dd.dddddd format\n");
  printf("     -geo dm           Print geographic format in dd.mm.mmm format\n");
  printf("     -geo dms          Print geographic format in dd.mm.sss format\n");
#ifndef SKIP_SETSYSTEMCLOCK
  printf("     -clocksrc         Set the systemclock from time info from this NMEA source address\n");
#endif
  printf("     -format <fmt>     Select a particular format, either: ");
  for (size_t i = 1; i < ARRAY_SIZE(RAW_FORMAT_STR); i++)
  {
    printf("%s, ", RAW_FORMAT_STR[i]);
  }
  printf("\n");
  printf("     -version          Print the version of the program and quit\n");
  printf("\nThe following options are used to debug the analyzer:\n");
  printf("     -raw              Print the PGN in a format suitable to be fed to analyzer again (in standard raw format)\n");
  printf("     -data             Print the PGN three times: in hex, ascii and analyzed\n");
  printf("     -debug            Print raw value per field\n");
  printf("     -debugdata        Print raw value per pgn\n");
  printf("     -fixtime str      Print str as timestamp in logging\n");
  printf("\n");
  exit(1);
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %rbx
movq (%rsi), %rsi
leaq 0x10096(%rip), %rdi     # 0x1e9a9
xorl %eax, %eax
callq 0xd110
movq (%rbx), %rsi
leaq 0x100a5(%rip), %rdi     # 0x1e9c9
xorl %eax, %eax
callq 0xd110
leaq 0x10833(%rip), %rdi     # 0x1f165
callq 0xd0c0
leaq 0x10887(%rip), %rdi     # 0x1f1c5
callq 0xd0c0
leaq 0x108cc(%rip), %rdi     # 0x1f216
callq 0xd0c0
leaq 0x1091e(%rip), %rdi     # 0x1f274
callq 0xd0c0
leaq 0x1094c(%rip), %rdi     # 0x1f2ae
callq 0xd0c0
leaq 0x10979(%rip), %rdi     # 0x1f2e7
callq 0xd0c0
leaq 0x109b3(%rip), %rdi     # 0x1f32d
callq 0xd0c0
leaq 0x109dd(%rip), %rdi     # 0x1f363
callq 0xd0c0
leaq 0x10a36(%rip), %rdi     # 0x1f3c8
callq 0xd0c0
leaq 0x10a6d(%rip), %rdi     # 0x1f40b
callq 0xd0c0
leaq 0x10aa4(%rip), %rdi     # 0x1f44e
callq 0xd0c0
leaq 0x10adb(%rip), %rdi     # 0x1f491
callq 0xd0c0
leaq 0x100ca(%rip), %rdi     # 0x1ea8c
xorl %eax, %eax
callq 0xd110
pushq $0x1
popq %r14
leaq 0x7378c(%rip), %r15     # 0x82160
leaq 0x100ed(%rip), %rbx     # 0x1eac8
cmpq $0xb, %r14
je 0xe9f4
movq (%r15,%r14,8), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq 0xd110
incq %r14
jmp 0xe9db
pushq $0xa
popq %rbx
movl %ebx, %edi
callq 0xd050
leaq 0x10ae4(%rip), %rdi     # 0x1f4e9
callq 0xd0c0
leaq 0x10b19(%rip), %rdi     # 0x1f52a
callq 0xd0c0
leaq 0x10b44(%rip), %rdi     # 0x1f561
callq 0xd0c0
leaq 0x10ba7(%rip), %rdi     # 0x1f5d0
callq 0xd0c0
leaq 0x10be8(%rip), %rdi     # 0x1f61d
callq 0xd0c0
leaq 0x10c0d(%rip), %rdi     # 0x1f64e
callq 0xd0c0
leaq 0x10c30(%rip), %rdi     # 0x1f67d
callq 0xd0c0
movl %ebx, %edi
callq 0xd050
pushq $0x1
popq %rdi
callq 0xd310