#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 *, ...);
void printHelp() {
  printf("usage: drat-trim [INPUT] [<PROOF>] [<option> ...]\n\n");
  printf("where <option> is one of the following\n\n");
  printf("  -h          print this command line option summary\n");
  printf("  -c CORE     prints the unsatisfiable core to the file CORE (DIMACS "
         "format)\n");
  printf("  -a ACTIVE   prints the active clauses to the file ACTIVE (DIMACS "
         "format)\n");
  printf("  -l LEMMAS   prints the core lemmas to the file LEMMAS (DRAT "
         "format)\n");
  printf("  -L LEMMAS   prints the core lemmas to the file LEMMAS (LRAT "
         "format)\n");
  printf("  -r TRACE    resolution graph in the TRACE file (TRACECHECK "
         "format)\n\n");
  printf("  -t <lim>    time limit in seconds (default %i)\n", 20000);
  printf("  -u          default unit propatation (i.e., no core-first)\n");
  printf("  -f          forward mode for UNSAT\n");
  printf("  -v          more verbose output\n");
  printf("  -b          show progress bar\n");
  printf(
      "  -O          optimize proof till fixpoint by repeating verification\n");
  printf("  -C          compress core lemmas (emit binary proof)\n");
  printf("  -D          delete proof file after parsing\n");
  printf("  -w          suppress warning messages\n");
  printf("  -W          exit after first warning\n");
  printf("  -p          run in plain mode (i.e., ignore deletion "
         "information)\n\n");
  printf("  -R          turn off reduce mode\n\n");
  printf("  -S          run in SAT check mode (forward checking)\n\n");
  printf("and input and proof are specified as follows\n\n");
  printf("  INPUT       input file in DIMACS format\n");
  printf("  PROOF       proof file in DRAT format (stdin if no argument)\n\n");
  exit(0);
}


x86 assembly (clang, -O0):
<printHelp>:
push   %rbp
mov    %rsp,%rbp
lea    0xed5(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xefb(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf16(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf3e(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf7e(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xfbc(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xff5(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x102e(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1067(%rip),%rdi
mov    $0x4e20,%esi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1086(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x10b6(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x10ce(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x10e3(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x10f6(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x112e(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1158(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1179(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1194(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x11ae(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x11e6(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x11fd(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1228(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1249(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1266(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
xor    %edi,%edi
call   1040 <exit@plt>

x86 assembly (clang, -O2):
<printHelp>:
push   %rax
lea    0xefa(%rip),%rdi
call   1030 <puts@plt>
lea    0xf21(%rip),%rdi
call   1030 <puts@plt>
lea    0xf3d(%rip),%rdi
call   1030 <puts@plt>
lea    0xf66(%rip),%rdi
call   1030 <puts@plt>
lea    0xfa7(%rip),%rdi
call   1030 <puts@plt>
lea    0xfe6(%rip),%rdi
call   1030 <puts@plt>
lea    0x1020(%rip),%rdi
call   1030 <puts@plt>
lea    0x105a(%rip),%rdi
call   1030 <puts@plt>
lea    0xe68(%rip),%rdi
mov    $0x4e20,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x1081(%rip),%rdi
call   1030 <puts@plt>
lea    0x10b2(%rip),%rdi
call   1030 <puts@plt>
lea    0x10cb(%rip),%rdi
call   1030 <puts@plt>
lea    0x10e1(%rip),%rdi
call   1030 <puts@plt>
lea    0x10f5(%rip),%rdi
call   1030 <puts@plt>
lea    0x112e(%rip),%rdi
call   1030 <puts@plt>
lea    0x1159(%rip),%rdi
call   1030 <puts@plt>
lea    0x117b(%rip),%rdi
call   1030 <puts@plt>
lea    0x1197(%rip),%rdi
call   1030 <puts@plt>
lea    0x11b2(%rip),%rdi
call   1030 <puts@plt>
lea    0x11eb(%rip),%rdi
call   1030 <puts@plt>
lea    0x1203(%rip),%rdi
call   1030 <puts@plt>
lea    0x122f(%rip),%rdi
call   1030 <puts@plt>
lea    0x1251(%rip),%rdi
call   1030 <puts@plt>
lea    0x126f(%rip),%rdi
call   1030 <puts@plt>
xor    %edi,%edi
call   1050 <exit@plt>

LLVM IR (-O0):
@.str = [52 x i8] c"usage: drat-trim [INPUT] [<PROOF>] [<option> ...]\0A\0A\00"
@.str.1 = [41 x i8] c"where <option> is one of the following\0A\0A\00"
@.str.2 = [54 x i8] c" -h print this command line option summary\0A\00"
@.str.3 = [78 x i8] c" -c CORE prints the unsatisfiable core to the file CORE (DIMACS format)\0A\00"
@.str.4 = [76 x i8] c" -a ACTIVE prints the active clauses to the file ACTIVE (DIMACS format)\0A\00"
@.str.5 = [71 x i8] c" -l LEMMAS prints the core lemmas to the file LEMMAS (DRAT format)\0A\00"
@.str.6 = [71 x i8] c" -L LEMMAS prints the core lemmas to the file LEMMAS (LRAT format)\0A\00"
@.str.7 = [71 x i8] c" -r TRACE resolution graph in the TRACE file (TRACECHECK format)\0A\0A\00"
@.str.8 = [50 x i8] c" -t <lim> time limit in seconds (default %i)\0A\00"
@.str.9 = [62 x i8] c" -u default unit propatation (i.e., no core-first)\0A\00"
@.str.10 = [38 x i8] c" -f forward mode for UNSAT\0A\00"
@.str.11 = [35 x i8] c" -v more verbose output\0A\00"
@.str.12 = [33 x i8] c" -b show progress bar\0A\00"
@.str.13 = [70 x i8] c" -O optimize proof till fixpoint by repeating verification\0A\00"
@.str.14 = [56 x i8] c" -C compress core lemmas (emit binary proof)\0A\00"
@.str.15 = [47 x i8] c" -D delete proof file after parsing\0A\00"
@.str.16 = [41 x i8] c" -w suppress warning messages\0A\00"
@.str.17 = [40 x i8] c" -W exit after first warning\0A\00"
@.str.18 = [70 x i8] c" -p run in plain mode (i.e., ignore deletion information)\0A\0A\00"
@.str.19 = [37 x i8] c" -R turn off reduce mode\0A\0A\00"
@.str.20 = [57 x i8] c" -S run in SAT check mode (forward checking)\0A\0A\00"
@.str.21 = [47 x i8] c"and input and proof are specified as follows\0A\0A\00"
@.str.22 = [43 x i8] c" INPUT input file in DIMACS format\0A\00"
@.str.23 = [65 x i8] c" PROOF proof file in DRAT format (stdin if no argument)\0A\0A\00"
define void @printHelp() {
%1 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str, i64 0, i64 0))
%2 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([54 x i8], [54 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([78 x i8], [78 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([76 x i8], [76 x i8]* @.str.4, i64 0, i64 0))
%6 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([71 x i8], [71 x i8]* @.str.5, i64 0, i64 0))
%7 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([71 x i8], [71 x i8]* @.str.6, i64 0, i64 0))
%8 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([71 x i8], [71 x i8]* @.str.7, i64 0, i64 0))
%9 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str.8, i64 0, i64 0), i32 20000)
%10 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([62 x i8], [62 x i8]* @.str.9, i64 0, i64 0))
%11 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.10, i64 0, i64 0))
%12 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.11, i64 0, i64 0))
%13 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.12, i64 0, i64 0))
%14 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([70 x i8], [70 x i8]* @.str.13, i64 0, i64 0))
%15 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str.14, i64 0, i64 0))
%16 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str.15, i64 0, i64 0))
%17 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.16, i64 0, i64 0))
%18 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.17, i64 0, i64 0))
%19 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([70 x i8], [70 x i8]* @.str.18, i64 0, i64 0))
%20 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.19, i64 0, i64 0))
%21 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([57 x i8], [57 x i8]* @.str.20, i64 0, i64 0))
%22 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str.21, i64 0, i64 0))
%23 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.22, i64 0, i64 0))
%24 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([65 x i8], [65 x i8]* @.str.23, i64 0, i64 0))
%25 = call i32 @exit(i32 0)
unreachable
}

LLVM IR (-O2):
@.str.8 = [50 x i8] c" -t <lim> time limit in seconds (default %i)\0A\00"
@str = [51 x i8] c"usage: drat-trim [INPUT] [<PROOF>] [<option> ...]\0A\00"
@str.24 = [40 x i8] c"where <option> is one of the following\0A\00"
@str.25 = [53 x i8] c" -h print this command line option summary\00"
@str.26 = [77 x i8] c" -c CORE prints the unsatisfiable core to the file CORE (DIMACS format)\00"
@str.27 = [75 x i8] c" -a ACTIVE prints the active clauses to the file ACTIVE (DIMACS format)\00"
@str.28 = [70 x i8] c" -l LEMMAS prints the core lemmas to the file LEMMAS (DRAT format)\00"
@str.29 = [70 x i8] c" -L LEMMAS prints the core lemmas to the file LEMMAS (LRAT format)\00"
@str.30 = [70 x i8] c" -r TRACE resolution graph in the TRACE file (TRACECHECK format)\0A\00"
@str.31 = [61 x i8] c" -u default unit propatation (i.e., no core-first)\00"
@str.32 = [37 x i8] c" -f forward mode for UNSAT\00"
@str.33 = [34 x i8] c" -v more verbose output\00"
@str.34 = [32 x i8] c" -b show progress bar\00"
@str.35 = [69 x i8] c" -O optimize proof till fixpoint by repeating verification\00"
@str.36 = [55 x i8] c" -C compress core lemmas (emit binary proof)\00"
@str.37 = [46 x i8] c" -D delete proof file after parsing\00"
@str.38 = [40 x i8] c" -w suppress warning messages\00"
@str.39 = [39 x i8] c" -W exit after first warning\00"
@str.40 = [69 x i8] c" -p run in plain mode (i.e., ignore deletion information)\0A\00"
@str.41 = [36 x i8] c" -R turn off reduce mode\0A\00"
@str.42 = [56 x i8] c" -S run in SAT check mode (forward checking)\0A\00"
@str.43 = [46 x i8] c"and input and proof are specified as follows\0A\00"
@str.44 = [42 x i8] c" INPUT input file in DIMACS format\00"
@str.45 = [64 x i8] c" PROOF proof file in DRAT format (stdin if no argument)\0A\00"
define void @printHelp() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([51 x i8], [51 x i8]* @str, i64 0, i64 0))
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([40 x i8], [40 x i8]* @str.24, i64 0, i64 0))
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([53 x i8], [53 x i8]* @str.25, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([77 x i8], [77 x i8]* @str.26, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([75 x i8], [75 x i8]* @str.27, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([70 x i8], [70 x i8]* @str.28, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([70 x i8], [70 x i8]* @str.29, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([70 x i8], [70 x i8]* @str.30, i64 0, i64 0))
%9 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([50 x i8], [50 x i8]* @.str.8, i64 0, i64 0), i32 20000)
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([61 x i8], [61 x i8]* @str.31, i64 0, i64 0))
%11 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([37 x i8], [37 x i8]* @str.32, i64 0, i64 0))
%12 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([34 x i8], [34 x i8]* @str.33, i64 0, i64 0))
%13 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @str.34, i64 0, i64 0))
%14 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([69 x i8], [69 x i8]* @str.35, i64 0, i64 0))
%15 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([55 x i8], [55 x i8]* @str.36, i64 0, i64 0))
%16 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([46 x i8], [46 x i8]* @str.37, i64 0, i64 0))
%17 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([40 x i8], [40 x i8]* @str.38, i64 0, i64 0))
%18 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([39 x i8], [39 x i8]* @str.39, i64 0, i64 0))
%19 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([69 x i8], [69 x i8]* @str.40, i64 0, i64 0))
%20 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([36 x i8], [36 x i8]* @str.41, i64 0, i64 0))
%21 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([56 x i8], [56 x i8]* @str.42, i64 0, i64 0))
%22 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([46 x i8], [46 x i8]* @str.43, i64 0, i64 0))
%23 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([42 x i8], [42 x i8]* @str.44, i64 0, i64 0))
%24 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([64 x i8], [64 x i8]* @str.45, i64 0, i64 0))
%25 = tail call i32 @exit(i32 0)
unreachable
}