#define NULL ((void *)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t;
typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1

/* Forward declarations */

/* Type definitions */

/* Variables and functions */
int /*<<< orphan*/ exit(int /*<<< orphan*/);
int /*<<< orphan*/ printf(char *, ...);
int usage(const char *argv0) {
  printf("usage: %s [options] JSON-FILE(s)...\n", argv0);
  printf("\t--no-comments : disallow C and YAML comments in json file (default "
         "to both on)\n");
  printf("\t--no-yaml-comments : disallow YAML comment (default to on)\n");
  printf("\t--no-c-comments : disallow C comment (default to on)\n");
  printf("\t--format : pretty print the json file to stdout (unless -o "
         "specified)\n");
  printf("\t--verify : quietly verified if the json file is valid. exit 0 if "
         "valid, 1 if not\n");
  printf("\t--benchmark : quietly iterate multiples times over valid json "
         "files\n");
  printf("\t--max-nesting : limit the number of nesting in structure (default "
         "to no limit)\n");
  printf("\t--max-data : limit the number of characters of data "
         "(string/int/float) (default to no limit)\n");
  printf("\t--indent-string : set the string to use for indenting one level "
         "(default to 1 tab)\n");
  printf("\t--tree : build a tree (DOM)\n");
  printf("\t-o : output to a specific file instead of stdout\n");
  exit(0);
}


x86 assembly (clang, -O0):
<usage>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %rdi,-0x8(%rbp)
mov    -0x8(%rbp),%rsi
lea    0xec9(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xee0(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf23(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf52(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf7b(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xfb5(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xffa(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1032(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1075(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x10c6(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x110d(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x111d(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
xor    %edi,%edi
call   1040 <exit@plt>

x86 assembly (clang, -O2):
<usage>:
push   %rax
mov    %rdi,%rsi
lea    0xec5(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xedc(%rip),%rdi
call   1030 <puts@plt>
lea    0xf20(%rip),%rdi
call   1030 <puts@plt>
lea    0xf50(%rip),%rdi
call   1030 <puts@plt>
lea    0xf7a(%rip),%rdi
call   1030 <puts@plt>
lea    0xfb5(%rip),%rdi
call   1030 <puts@plt>
lea    0xffb(%rip),%rdi
call   1030 <puts@plt>
lea    0x1034(%rip),%rdi
call   1030 <puts@plt>
lea    0x1078(%rip),%rdi
call   1030 <puts@plt>
lea    0x10ca(%rip),%rdi
call   1030 <puts@plt>
lea    0x1112(%rip),%rdi
call   1030 <puts@plt>
lea    0x1123(%rip),%rdi
call   1030 <puts@plt>
xor    %edi,%edi
call   1050 <exit@plt>

LLVM IR (-O0):
@.str = [37 x i8] c"usage: %s [options] JSON-FILE(s)...\0A\00"
@.str.1 = [81 x i8] c"\09--no-comments : disallow C and YAML comments in json file (default to both on)\0A\00"
@.str.2 = [61 x i8] c"\09--no-yaml-comments : disallow YAML comment (default to on)\0A\00"
@.str.3 = [55 x i8] c"\09--no-c-comments : disallow C comment (default to on)\0A\00"
@.str.4 = [72 x i8] c"\09--format : pretty print the json file to stdout (unless -o specified)\0A\00"
@.str.5 = [83 x i8] c"\09--verify : quietly verified if the json file is valid. exit 0 if valid, 1 if not\0A\00"
@.str.6 = [70 x i8] c"\09--benchmark : quietly iterate multiples times over valid json files\0A\00"
@.str.7 = [81 x i8] c"\09--max-nesting : limit the number of nesting in structure (default to no limit)\0A\00"
@.str.8 = [95 x i8] c"\09--max-data : limit the number of characters of data (string/int/float) (default to no limit)\0A\00"
@.str.9 = [85 x i8] c"\09--indent-string : set the string to use for indenting one level (default to 1 tab)\0A\00"
@.str.10 = [30 x i8] c"\09--tree : build a tree (DOM)\0A\00"
@.str.11 = [51 x i8] c"\09-o : output to a specific file instead of stdout\0A\00"
define i32 @usage(i8* %0) {
%2 = alloca i8*
store i8* %0, i8** %2
%3 = load i8*, i8** %2
%4 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str, i64 0, i64 0), i8* %3)
%5 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([81 x i8], [81 x i8]* @.str.1, i64 0, i64 0))
%6 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([61 x i8], [61 x i8]* @.str.2, i64 0, i64 0))
%7 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([55 x i8], [55 x i8]* @.str.3, i64 0, i64 0))
%8 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([72 x i8], [72 x i8]* @.str.4, i64 0, i64 0))
%9 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([83 x i8], [83 x i8]* @.str.5, i64 0, i64 0))
%10 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([70 x i8], [70 x i8]* @.str.6, i64 0, i64 0))
%11 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([81 x i8], [81 x i8]* @.str.7, i64 0, i64 0))
%12 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([95 x i8], [95 x i8]* @.str.8, i64 0, i64 0))
%13 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([85 x i8], [85 x i8]* @.str.9, i64 0, i64 0))
%14 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.10, i64 0, i64 0))
%15 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.11, i64 0, i64 0))
%16 = call i32 @exit(i32 0)
unreachable
}

LLVM IR (-O2):
@.str = [37 x i8] c"usage: %s [options] JSON-FILE(s)...\0A\00"
@str = [80 x i8] c"\09--no-comments : disallow C and YAML comments in json file (default to both on)\00"
@str.12 = [60 x i8] c"\09--no-yaml-comments : disallow YAML comment (default to on)\00"
@str.13 = [54 x i8] c"\09--no-c-comments : disallow C comment (default to on)\00"
@str.14 = [71 x i8] c"\09--format : pretty print the json file to stdout (unless -o specified)\00"
@str.15 = [82 x i8] c"\09--verify : quietly verified if the json file is valid. exit 0 if valid, 1 if not\00"
@str.16 = [69 x i8] c"\09--benchmark : quietly iterate multiples times over valid json files\00"
@str.17 = [80 x i8] c"\09--max-nesting : limit the number of nesting in structure (default to no limit)\00"
@str.18 = [94 x i8] c"\09--max-data : limit the number of characters of data (string/int/float) (default to no limit)\00"
@str.19 = [84 x i8] c"\09--indent-string : set the string to use for indenting one level (default to 1 tab)\00"
@str.20 = [29 x i8] c"\09--tree : build a tree (DOM)\00"
@str.21 = [50 x i8] c"\09-o : output to a specific file instead of stdout\00"
define i32 @usage(i8* %0) {
%2 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([37 x i8], [37 x i8]* @.str, i64 0, i64 0), i8* %0)
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([80 x i8], [80 x i8]* @str, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([60 x i8], [60 x i8]* @str.12, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([54 x i8], [54 x i8]* @str.13, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([71 x i8], [71 x i8]* @str.14, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([82 x i8], [82 x i8]* @str.15, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([69 x i8], [69 x i8]* @str.16, i64 0, i64 0))
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([80 x i8], [80 x i8]* @str.17, i64 0, i64 0))
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([94 x i8], [94 x i8]* @str.18, i64 0, i64 0))
%11 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([84 x i8], [84 x i8]* @str.19, i64 0, i64 0))
%12 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([29 x i8], [29 x i8]* @str.20, i64 0, i64 0))
%13 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([50 x i8], [50 x i8]* @str.21, i64 0, i64 0))
%14 = tail call i32 @exit(i32 0)
unreachable
}