// File: /workspace/github_c_makefile_star2_O1/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 0x10eae(%rip), %rdi     # 0x1f9a9
xorl %eax, %eax
callq 0xd110
movq (%rbx), %rsi
leaq 0x10ebd(%rip), %rdi     # 0x1f9c9
xorl %eax, %eax
callq 0xd110
leaq 0x1164b(%rip), %rdi     # 0x20165
callq 0xd0c0
leaq 0x1169f(%rip), %rdi     # 0x201c5
callq 0xd0c0
leaq 0x116e4(%rip), %rdi     # 0x20216
callq 0xd0c0
leaq 0x11736(%rip), %rdi     # 0x20274
callq 0xd0c0
leaq 0x11764(%rip), %rdi     # 0x202ae
callq 0xd0c0
leaq 0x11791(%rip), %rdi     # 0x202e7
callq 0xd0c0
leaq 0x117cb(%rip), %rdi     # 0x2032d
callq 0xd0c0
leaq 0x117f5(%rip), %rdi     # 0x20363
callq 0xd0c0
leaq 0x1184e(%rip), %rdi     # 0x203c8
callq 0xd0c0
leaq 0x11885(%rip), %rdi     # 0x2040b
callq 0xd0c0
leaq 0x118bc(%rip), %rdi     # 0x2044e
callq 0xd0c0
leaq 0x118f3(%rip), %rdi     # 0x20491
callq 0xd0c0
leaq 0x10ee2(%rip), %rdi     # 0x1fa8c
xorl %eax, %eax
callq 0xd110
movl $0x1, %r14d
leaq 0x745a2(%rip), %r15     # 0x83160
leaq 0x10f03(%rip), %rbx     # 0x1fac8
movq (%r15,%r14,8), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq 0xd110
incq %r14
cmpq $0xb, %r14
jne 0xebc5
movl $0xa, %edi
callq 0xd050
leaq 0x118fc(%rip), %rdi     # 0x204e9
callq 0xd0c0
leaq 0x11931(%rip), %rdi     # 0x2052a
callq 0xd0c0
leaq 0x1195c(%rip), %rdi     # 0x20561
callq 0xd0c0
leaq 0x119bf(%rip), %rdi     # 0x205d0
callq 0xd0c0
leaq 0x11a00(%rip), %rdi     # 0x2061d
callq 0xd0c0
leaq 0x11a25(%rip), %rdi     # 0x2064e
callq 0xd0c0
leaq 0x11a48(%rip), %rdi     # 0x2067d
callq 0xd0c0
movl $0xa, %edi
callq 0xd050
movl $0x1, %edi
callq 0xd310