#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\n");
  printf("  -l LEMMAS   prints the core lemmas to the file LEMMAS\n");
  printf("  -r TRACE    resolution graph in 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("  -v          more verbose output\n");
  printf("  -p          run in plain mode (i.e., ignore deletion "
         "information)\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    0xf6e(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf99(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xfc1(%rip),%rdi
mov    $0x4e20,%esi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xfe0(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1010(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1025(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x105d(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1088(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x10a9(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x10c6(%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    0xf97(%rip),%rdi
call   1030 <puts@plt>
lea    0xfc3(%rip),%rdi
call   1030 <puts@plt>
lea    0xe80(%rip),%rdi
mov    $0x4e20,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xfd9(%rip),%rdi
call   1030 <puts@plt>
lea    0x100a(%rip),%rdi
call   1030 <puts@plt>
lea    0x1020(%rip),%rdi
call   1030 <puts@plt>
lea    0x1059(%rip),%rdi
call   1030 <puts@plt>
lea    0x1085(%rip),%rdi
call   1030 <puts@plt>
lea    0x10a7(%rip),%rdi
call   1030 <puts@plt>
lea    0x10c5(%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 = [62 x i8] c" -c CORE prints the unsatisfiable core to the file CORE\0A\00"
@.str.4 = [57 x i8] c" -l LEMMAS prints the core lemmas to the file LEMMAS\0A\00"
@.str.5 = [54 x i8] c" -r TRACE resolution graph in TRACECHECK format\0A\0A\00"
@.str.6 = [50 x i8] c" -t <lim> time limit in seconds (default %i)\0A\00"
@.str.7 = [62 x i8] c" -u default unit propatation (i.e., no core-first)\0A\00"
@.str.8 = [35 x i8] c" -v more verbose output\0A\00"
@.str.9 = [70 x i8] c" -p run in plain mode (i.e., ignore deletion information)\0A\0A\00"
@.str.10 = [57 x i8] c" -S run in SAT check mode (forward checking)\0A\0A\00"
@.str.11 = [47 x i8] c"and input and proof are specified as follows\0A\0A\00"
@.str.12 = [43 x i8] c" INPUT input file in DIMACS format\0A\00"
@.str.13 = [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 ([62 x i8], [62 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([57 x i8], [57 x i8]* @.str.4, i64 0, i64 0))
%6 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([54 x i8], [54 x i8]* @.str.5, i64 0, i64 0))
%7 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str.6, i64 0, i64 0), i32 20000)
%8 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([62 x i8], [62 x i8]* @.str.7, i64 0, i64 0))
%9 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.8, i64 0, i64 0))
%10 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([70 x i8], [70 x i8]* @.str.9, i64 0, i64 0))
%11 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([57 x i8], [57 x i8]* @.str.10, i64 0, i64 0))
%12 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str.11, i64 0, i64 0))
%13 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.12, i64 0, i64 0))
%14 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([65 x i8], [65 x i8]* @.str.13, i64 0, i64 0))
%15 = call i32 @exit(i32 0)
unreachable
}

LLVM IR (-O2):
@.str.6 = [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.14 = [40 x i8] c"where <option> is one of the following\0A\00"
@str.15 = [53 x i8] c" -h print this command line option summary\00"
@str.16 = [61 x i8] c" -c CORE prints the unsatisfiable core to the file CORE\00"
@str.17 = [56 x i8] c" -l LEMMAS prints the core lemmas to the file LEMMAS\00"
@str.18 = [53 x i8] c" -r TRACE resolution graph in TRACECHECK format\0A\00"
@str.19 = [61 x i8] c" -u default unit propatation (i.e., no core-first)\00"
@str.20 = [34 x i8] c" -v more verbose output\00"
@str.21 = [69 x i8] c" -p run in plain mode (i.e., ignore deletion information)\0A\00"
@str.22 = [56 x i8] c" -S run in SAT check mode (forward checking)\0A\00"
@str.23 = [46 x i8] c"and input and proof are specified as follows\0A\00"
@str.24 = [42 x i8] c" INPUT input file in DIMACS format\00"
@str.25 = [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.14, i64 0, i64 0))
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([53 x i8], [53 x i8]* @str.15, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([61 x i8], [61 x i8]* @str.16, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([56 x i8], [56 x i8]* @str.17, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([53 x i8], [53 x i8]* @str.18, i64 0, i64 0))
%7 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([50 x i8], [50 x i8]* @.str.6, i64 0, i64 0), i32 20000)
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([61 x i8], [61 x i8]* @str.19, i64 0, i64 0))
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([34 x i8], [34 x i8]* @str.20, i64 0, i64 0))
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([69 x i8], [69 x i8]* @str.21, i64 0, i64 0))
%11 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([56 x i8], [56 x i8]* @str.22, i64 0, i64 0))
%12 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([46 x i8], [46 x i8]* @str.23, i64 0, i64 0))
%13 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([42 x i8], [42 x i8]* @str.24, i64 0, i64 0))
%14 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([64 x i8], [64 x i8]* @str.25, i64 0, i64 0))
%15 = tail call i32 @exit(i32 0)
unreachable
}