// File: /workspace/github_c_makefile_star2_O0/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 %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x10(%rbp), %rax
movq (%rax), %rsi
leaq 0x1ce06(%rip), %rdi     # 0x29ae4
movb $0x0, %al
callq 0xb0f0
movq -0x8(%rbp), %rax
movq (%rax), %rsi
leaq 0x1ce11(%rip), %rdi     # 0x29b04
movb $0x0, %al
callq 0xb0f0
leaq 0x1cec6(%rip), %rdi     # 0x29bc7
movb $0x0, %al
callq 0xb0f0
leaq 0x1cf19(%rip), %rdi     # 0x29c28
movb $0x0, %al
callq 0xb0f0
leaq 0x1cf5d(%rip), %rdi     # 0x29c7a
movb $0x0, %al
callq 0xb0f0
leaq 0x1cfae(%rip), %rdi     # 0x29cd9
movb $0x0, %al
callq 0xb0f0
leaq 0x1cfdb(%rip), %rdi     # 0x29d14
movb $0x0, %al
callq 0xb0f0
leaq 0x1d007(%rip), %rdi     # 0x29d4e
movb $0x0, %al
callq 0xb0f0
leaq 0x1d040(%rip), %rdi     # 0x29d95
movb $0x0, %al
callq 0xb0f0
leaq 0x1d069(%rip), %rdi     # 0x29dcc
movb $0x0, %al
callq 0xb0f0
leaq 0x1d0c1(%rip), %rdi     # 0x29e32
movb $0x0, %al
callq 0xb0f0
leaq 0x1d0f7(%rip), %rdi     # 0x29e76
movb $0x0, %al
callq 0xb0f0
leaq 0x1d12d(%rip), %rdi     # 0x29eba
movb $0x0, %al
callq 0xb0f0
leaq 0x1d163(%rip), %rdi     # 0x29efe
movb $0x0, %al
callq 0xb0f0
leaq 0x1d1ae(%rip), %rdi     # 0x29f57
movb $0x0, %al
callq 0xb0f0
movq $0x1, -0x18(%rbp)
cmpq $0xb, -0x18(%rbp)
jae 0xcdea
movq -0x18(%rbp), %rcx
leaq 0x81396(%rip), %rax     # 0x8e160
movq (%rax,%rcx,8), %rsi
leaq 0x1d1be(%rip), %rdi     # 0x29f93
movb $0x0, %al
callq 0xb0f0
movq -0x18(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x18(%rbp)
jmp 0xcdb8
leaq 0x1c877(%rip), %rdi     # 0x29668
movb $0x0, %al
callq 0xb0f0
leaq 0x1d199(%rip), %rdi     # 0x29f98
movb $0x0, %al
callq 0xb0f0
leaq 0x1d1cd(%rip), %rdi     # 0x29fda
movb $0x0, %al
callq 0xb0f0
leaq 0x1d1f7(%rip), %rdi     # 0x2a012
movb $0x0, %al
callq 0xb0f0
leaq 0x1d259(%rip), %rdi     # 0x2a082
movb $0x0, %al
callq 0xb0f0
leaq 0x1d299(%rip), %rdi     # 0x2a0d0
movb $0x0, %al
callq 0xb0f0
leaq 0x1d2bd(%rip), %rdi     # 0x2a102
movb $0x0, %al
callq 0xb0f0
leaq 0x1d2df(%rip), %rdi     # 0x2a132
movb $0x0, %al
callq 0xb0f0
leaq 0x1c807(%rip), %rdi     # 0x29668
movb $0x0, %al
callq 0xb0f0
movl $0x1, %edi
callq 0xb320
nopw %cs:(%rax,%rax)