#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 */
typedef int /*<<< orphan*/ FILE;

/* Variables and functions */
int /*<<< orphan*/ fprintf(int /*<<< orphan*/ *, char *, char *, ...);
void op_input_usage(char *name, FILE *f, char *indent) {
  if (indent == NULL)
    indent = "";
  fprintf(f, "%sRead intervals from a file (replacing the current set).\n",
          indent);
  fprintf(f, "%s\n", indent);
  fprintf(f, "%susage: %s <filename> [options]\n", indent, name);
  fprintf(f,
          "%s  --value=<col>            input intervals contain a value in the "
          "specified\n",
          indent);
  fprintf(f, "%s                           column\n", indent);
  fprintf(f,
          "%s  --novalue                input intervals have no value (value "
          "given is 1)\n",
          indent);
  fprintf(
      f,
      "%s  --missing=<value>        value for intervals missing from input\n",
      indent);
  fprintf(f, "%s                           (by default, this is zero)\n",
          indent);
  fprintf(f,
          "%s  --overlap=sum            when a position is in multiple "
          "intervals, sum the\n",
          indent);
  fprintf(f, "%s                           values\n", indent);
  fprintf(f, "%s                           (this is the default)\n", indent);
  fprintf(f,
          "%s  --overlap=minimum        when a position is in multiple "
          "intervals, keep the\n",
          indent);
  fprintf(f, "%s                           minimum value\n", indent);
  fprintf(f,
          "%s  --overlap=maximum        when a position is in multiple "
          "intervals, keep the\n",
          indent);
  fprintf(f, "%s                           maximum value\n", indent);
  fprintf(f,
          "%s  --origin=one             input/output intervals are origin-one, "
          "closed\n",
          indent);
  fprintf(f,
          "%s  --origin=zero            input/output intervals are "
          "origin-zero, half-open\n",
          indent);
  fprintf(f, "%s  --destroy                destroy the file after reading it\n",
          indent);
  fprintf(f,
          "%s                           (BE SURE THAT'S WHAT YOU WANT, IT "
          "CAN'T BE UNDONE)\n",
          indent);
}


x86 assembly (clang, -O0):
<op_input_usage>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %rdx,-0x18(%rbp)
cmpq   $0x0,-0x18(%rbp)
jne    113a <op_input_usage+0x2a>
lea    0xfed(%rip),%rax
mov    %rax,-0x18(%rbp)
mov    -0x10(%rbp),%rdi
mov    -0x18(%rbp),%rdx
lea    0xeb7(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    -0x10(%rbp),%rdi
mov    -0x18(%rbp),%rdx
lea    0xedc(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    -0x10(%rbp),%rdi
mov    -0x18(%rbp),%rdx
mov    -0x8(%rbp),%rcx
lea    0xec6(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    -0x10(%rbp),%rdi
mov    -0x18(%rbp),%rdx
lea    0xed2(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    -0x10(%rbp),%rdi
mov    -0x18(%rbp),%rdx
lea    0xf0b(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    -0x10(%rbp),%rdi
mov    -0x18(%rbp),%rdx
lea    0xf1a(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    -0x10(%rbp),%rdi
mov    -0x18(%rbp),%rdx
lea    0xf53(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    -0x10(%rbp),%rdi
mov    -0x18(%rbp),%rdx
lea    0xf82(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    -0x10(%rbp),%rdi
mov    -0x18(%rbp),%rdx
lea    0xfa5(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    -0x10(%rbp),%rdi
mov    -0x18(%rbp),%rdx
lea    0xfdf(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    -0x10(%rbp),%rdi
mov    -0x18(%rbp),%rdx
lea    0xfee(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    -0x10(%rbp),%rdi
mov    -0x18(%rbp),%rdx
lea    0x100c(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    -0x10(%rbp),%rdi
mov    -0x18(%rbp),%rdx
lea    0x1047(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    -0x10(%rbp),%rdi
mov    -0x18(%rbp),%rdx
lea    0x105d(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    -0x10(%rbp),%rdi
mov    -0x18(%rbp),%rdx
lea    0x1098(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    -0x10(%rbp),%rdi
mov    -0x18(%rbp),%rdx
lea    0x10ae(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    -0x10(%rbp),%rdi
mov    -0x18(%rbp),%rdx
lea    0x10e4(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    -0x10(%rbp),%rdi
mov    -0x18(%rbp),%rdx
lea    0x111e(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    -0x10(%rbp),%rdi
mov    -0x18(%rbp),%rdx
lea    0x1148(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<op_input_usage>:
push   %r15
push   %r14
push   %rbx
mov    %rdx,%rbx
mov    %rsi,%r14
mov    %rdi,%r15
test   %rdx,%rdx
lea    0xffb(%rip),%rax
cmove  %rax,%rbx
lea    0xecd(%rip),%rsi
mov    %r14,%rdi
mov    %rbx,%rdx
xor    %eax,%eax
call   1030 <fprintf@plt>
lea    0xef4(%rip),%rsi
mov    %r14,%rdi
mov    %rbx,%rdx
xor    %eax,%eax
call   1030 <fprintf@plt>
lea    0xee4(%rip),%rsi
mov    %r14,%rdi
mov    %rbx,%rdx
mov    %r15,%rcx
xor    %eax,%eax
call   1030 <fprintf@plt>
lea    0xeef(%rip),%rsi
mov    %r14,%rdi
mov    %rbx,%rdx
xor    %eax,%eax
call   1030 <fprintf@plt>
lea    0xf2a(%rip),%rsi
mov    %r14,%rdi
mov    %rbx,%rdx
xor    %eax,%eax
call   1030 <fprintf@plt>
lea    0xf3b(%rip),%rsi
mov    %r14,%rdi
mov    %rbx,%rdx
xor    %eax,%eax
call   1030 <fprintf@plt>
lea    0xf76(%rip),%rsi
mov    %r14,%rdi
mov    %rbx,%rdx
xor    %eax,%eax
call   1030 <fprintf@plt>
lea    0xfa7(%rip),%rsi
mov    %r14,%rdi
mov    %rbx,%rdx
xor    %eax,%eax
call   1030 <fprintf@plt>
lea    0xfcc(%rip),%rsi
mov    %r14,%rdi
mov    %rbx,%rdx
xor    %eax,%eax
call   1030 <fprintf@plt>
lea    0x1008(%rip),%rsi
mov    %r14,%rdi
mov    %rbx,%rdx
xor    %eax,%eax
call   1030 <fprintf@plt>
lea    0x1019(%rip),%rsi
mov    %r14,%rdi
mov    %rbx,%rdx
xor    %eax,%eax
call   1030 <fprintf@plt>
lea    0x1039(%rip),%rsi
mov    %r14,%rdi
mov    %rbx,%rdx
xor    %eax,%eax
call   1030 <fprintf@plt>
lea    0x1076(%rip),%rsi
mov    %r14,%rdi
mov    %rbx,%rdx
xor    %eax,%eax
call   1030 <fprintf@plt>
lea    0x108e(%rip),%rsi
mov    %r14,%rdi
mov    %rbx,%rdx
xor    %eax,%eax
call   1030 <fprintf@plt>
lea    0x10cb(%rip),%rsi
mov    %r14,%rdi
mov    %rbx,%rdx
xor    %eax,%eax
call   1030 <fprintf@plt>
lea    0x10e3(%rip),%rsi
mov    %r14,%rdi
mov    %rbx,%rdx
xor    %eax,%eax
call   1030 <fprintf@plt>
lea    0x111b(%rip),%rsi
mov    %r14,%rdi
mov    %rbx,%rdx
xor    %eax,%eax
call   1030 <fprintf@plt>
lea    0x1157(%rip),%rsi
mov    %r14,%rdi
mov    %rbx,%rdx
xor    %eax,%eax
call   1030 <fprintf@plt>
lea    0x1183(%rip),%rsi
mov    %r14,%rdi
mov    %rbx,%rdx
xor    %eax,%eax
pop    %rbx
pop    %r14
pop    %r15
jmp    1030 <fprintf@plt>

LLVM IR (-O0):
@.str = [1 x i8] zeroinitializer
@.str.1 = [59 x i8] c"%sRead intervals from a file (replacing the current set).\0A\00"
@.str.2 = [4 x i8] c"%s\0A\00"
@.str.3 = [34 x i8] c"%susage: %s <filename> [options]\0A\00"
@.str.4 = [79 x i8] c"%s --value=<col> input intervals contain a value in the specified\0A\00"
@.str.5 = [37 x i8] c"%s column\0A\00"
@.str.6 = [79 x i8] c"%s --novalue input intervals have no value (value given is 1)\0A\00"
@.str.7 = [69 x i8] c"%s --missing=<value> value for intervals missing from input\0A\00"
@.str.8 = [57 x i8] c"%s (by default, this is zero)\0A\00"
@.str.9 = [80 x i8] c"%s --overlap=sum when a position is in multiple intervals, sum the\0A\00"
@.str.10 = [37 x i8] c"%s values\0A\00"
@.str.11 = [52 x i8] c"%s (this is the default)\0A\00"
@.str.12 = [81 x i8] c"%s --overlap=minimum when a position is in multiple intervals, keep the\0A\00"
@.str.13 = [44 x i8] c"%s minimum value\0A\00"
@.str.14 = [81 x i8] c"%s --overlap=maximum when a position is in multiple intervals, keep the\0A\00"
@.str.15 = [44 x i8] c"%s maximum value\0A\00"
@.str.16 = [76 x i8] c"%s --origin=one input/output intervals are origin-one, closed\0A\00"
@.str.17 = [80 x i8] c"%s --origin=zero input/output intervals are origin-zero, half-open\0A\00"
@.str.18 = [64 x i8] c"%s --destroy destroy the file after reading it\0A\00"
@.str.19 = [81 x i8] c"%s (BE SURE THAT'S WHAT YOU WANT, IT CAN'T BE UNDONE)\0A\00"
define void @op_input_usage(i8* %0, i32* %1, i8* %2) {
%4 = alloca i8*
%5 = alloca i32*
%6 = alloca i8*
store i8* %0, i8** %4
store i32* %1, i32** %5
store i8* %2, i8** %6
%7 = load i8*, i8** %6
%8 = icmp eq i8* %7, null
br i1 %8, label %9, label %10
9: ; preds = %3
store i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0), i8** %6
br label %10
10: ; preds = %9, %3
%11 = load i32*, i32** %5
%12 = load i8*, i8** %6
%13 = call i32 (i32*, i8*, i8*, ...) @fprintf(i32* %11, i8* getelementptr inbounds ([59 x i8], [59 x i8]* @.str.1, i64 0, i64 0), i8* %12)
%14 = load i32*, i32** %5
%15 = load i8*, i8** %6
%16 = call i32 (i32*, i8*, i8*, ...) @fprintf(i32* %14, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i8* %15)
%17 = load i32*, i32** %5
%18 = load i8*, i8** %6
%19 = load i8*, i8** %4
%20 = call i32 (i32*, i8*, i8*, ...) @fprintf(i32* %17, i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.3, i64 0, i64 0), i8* %18, i8* %19)
%21 = load i32*, i32** %5
%22 = load i8*, i8** %6
%23 = call i32 (i32*, i8*, i8*, ...) @fprintf(i32* %21, i8* getelementptr inbounds ([79 x i8], [79 x i8]* @.str.4, i64 0, i64 0), i8* %22)
%24 = load i32*, i32** %5
%25 = load i8*, i8** %6
%26 = call i32 (i32*, i8*, i8*, ...) @fprintf(i32* %24, i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.5, i64 0, i64 0), i8* %25)
%27 = load i32*, i32** %5
%28 = load i8*, i8** %6
%29 = call i32 (i32*, i8*, i8*, ...) @fprintf(i32* %27, i8* getelementptr inbounds ([79 x i8], [79 x i8]* @.str.6, i64 0, i64 0), i8* %28)
%30 = load i32*, i32** %5
%31 = load i8*, i8** %6
%32 = call i32 (i32*, i8*, i8*, ...) @fprintf(i32* %30, i8* getelementptr inbounds ([69 x i8], [69 x i8]* @.str.7, i64 0, i64 0), i8* %31)
%33 = load i32*, i32** %5
%34 = load i8*, i8** %6
%35 = call i32 (i32*, i8*, i8*, ...) @fprintf(i32* %33, i8* getelementptr inbounds ([57 x i8], [57 x i8]* @.str.8, i64 0, i64 0), i8* %34)
%36 = load i32*, i32** %5
%37 = load i8*, i8** %6
%38 = call i32 (i32*, i8*, i8*, ...) @fprintf(i32* %36, i8* getelementptr inbounds ([80 x i8], [80 x i8]* @.str.9, i64 0, i64 0), i8* %37)
%39 = load i32*, i32** %5
%40 = load i8*, i8** %6
%41 = call i32 (i32*, i8*, i8*, ...) @fprintf(i32* %39, i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.10, i64 0, i64 0), i8* %40)
%42 = load i32*, i32** %5
%43 = load i8*, i8** %6
%44 = call i32 (i32*, i8*, i8*, ...) @fprintf(i32* %42, i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.11, i64 0, i64 0), i8* %43)
%45 = load i32*, i32** %5
%46 = load i8*, i8** %6
%47 = call i32 (i32*, i8*, i8*, ...) @fprintf(i32* %45, i8* getelementptr inbounds ([81 x i8], [81 x i8]* @.str.12, i64 0, i64 0), i8* %46)
%48 = load i32*, i32** %5
%49 = load i8*, i8** %6
%50 = call i32 (i32*, i8*, i8*, ...) @fprintf(i32* %48, i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str.13, i64 0, i64 0), i8* %49)
%51 = load i32*, i32** %5
%52 = load i8*, i8** %6
%53 = call i32 (i32*, i8*, i8*, ...) @fprintf(i32* %51, i8* getelementptr inbounds ([81 x i8], [81 x i8]* @.str.14, i64 0, i64 0), i8* %52)
%54 = load i32*, i32** %5
%55 = load i8*, i8** %6
%56 = call i32 (i32*, i8*, i8*, ...) @fprintf(i32* %54, i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str.15, i64 0, i64 0), i8* %55)
%57 = load i32*, i32** %5
%58 = load i8*, i8** %6
%59 = call i32 (i32*, i8*, i8*, ...) @fprintf(i32* %57, i8* getelementptr inbounds ([76 x i8], [76 x i8]* @.str.16, i64 0, i64 0), i8* %58)
%60 = load i32*, i32** %5
%61 = load i8*, i8** %6
%62 = call i32 (i32*, i8*, i8*, ...) @fprintf(i32* %60, i8* getelementptr inbounds ([80 x i8], [80 x i8]* @.str.17, i64 0, i64 0), i8* %61)
%63 = load i32*, i32** %5
%64 = load i8*, i8** %6
%65 = call i32 (i32*, i8*, i8*, ...) @fprintf(i32* %63, i8* getelementptr inbounds ([64 x i8], [64 x i8]* @.str.18, i64 0, i64 0), i8* %64)
%66 = load i32*, i32** %5
%67 = load i8*, i8** %6
%68 = call i32 (i32*, i8*, i8*, ...) @fprintf(i32* %66, i8* getelementptr inbounds ([81 x i8], [81 x i8]* @.str.19, i64 0, i64 0), i8* %67)
ret void
}

LLVM IR (-O2):
@.str = [1 x i8] zeroinitializer
@.str.1 = [59 x i8] c"%sRead intervals from a file (replacing the current set).\0A\00"
@.str.2 = [4 x i8] c"%s\0A\00"
@.str.3 = [34 x i8] c"%susage: %s <filename> [options]\0A\00"
@.str.4 = [79 x i8] c"%s --value=<col> input intervals contain a value in the specified\0A\00"
@.str.5 = [37 x i8] c"%s column\0A\00"
@.str.6 = [79 x i8] c"%s --novalue input intervals have no value (value given is 1)\0A\00"
@.str.7 = [69 x i8] c"%s --missing=<value> value for intervals missing from input\0A\00"
@.str.8 = [57 x i8] c"%s (by default, this is zero)\0A\00"
@.str.9 = [80 x i8] c"%s --overlap=sum when a position is in multiple intervals, sum the\0A\00"
@.str.10 = [37 x i8] c"%s values\0A\00"
@.str.11 = [52 x i8] c"%s (this is the default)\0A\00"
@.str.12 = [81 x i8] c"%s --overlap=minimum when a position is in multiple intervals, keep the\0A\00"
@.str.13 = [44 x i8] c"%s minimum value\0A\00"
@.str.14 = [81 x i8] c"%s --overlap=maximum when a position is in multiple intervals, keep the\0A\00"
@.str.15 = [44 x i8] c"%s maximum value\0A\00"
@.str.16 = [76 x i8] c"%s --origin=one input/output intervals are origin-one, closed\0A\00"
@.str.17 = [80 x i8] c"%s --origin=zero input/output intervals are origin-zero, half-open\0A\00"
@.str.18 = [64 x i8] c"%s --destroy destroy the file after reading it\0A\00"
@.str.19 = [81 x i8] c"%s (BE SURE THAT'S WHAT YOU WANT, IT CAN'T BE UNDONE)\0A\00"
define void @op_input_usage(i8* %0, i32* nocapture %1, i8* %2) {
%4 = icmp eq i8* %2, null
%5 = select i1 %4, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0), i8* %2
%6 = tail call i32 (i32*, i8*, i8*, ...) @fprintf(i32* %1, i8* getelementptr inbounds ([59 x i8], [59 x i8]* @.str.1, i64 0, i64 0), i8* %5)
%7 = tail call i32 (i32*, i8*, i8*, ...) @fprintf(i32* %1, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i8* %5)
%8 = tail call i32 (i32*, i8*, i8*, ...) @fprintf(i32* %1, i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.3, i64 0, i64 0), i8* %5, i8* %0)
%9 = tail call i32 (i32*, i8*, i8*, ...) @fprintf(i32* %1, i8* getelementptr inbounds ([79 x i8], [79 x i8]* @.str.4, i64 0, i64 0), i8* %5)
%10 = tail call i32 (i32*, i8*, i8*, ...) @fprintf(i32* %1, i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.5, i64 0, i64 0), i8* %5)
%11 = tail call i32 (i32*, i8*, i8*, ...) @fprintf(i32* %1, i8* getelementptr inbounds ([79 x i8], [79 x i8]* @.str.6, i64 0, i64 0), i8* %5)
%12 = tail call i32 (i32*, i8*, i8*, ...) @fprintf(i32* %1, i8* getelementptr inbounds ([69 x i8], [69 x i8]* @.str.7, i64 0, i64 0), i8* %5)
%13 = tail call i32 (i32*, i8*, i8*, ...) @fprintf(i32* %1, i8* getelementptr inbounds ([57 x i8], [57 x i8]* @.str.8, i64 0, i64 0), i8* %5)
%14 = tail call i32 (i32*, i8*, i8*, ...) @fprintf(i32* %1, i8* getelementptr inbounds ([80 x i8], [80 x i8]* @.str.9, i64 0, i64 0), i8* %5)
%15 = tail call i32 (i32*, i8*, i8*, ...) @fprintf(i32* %1, i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.10, i64 0, i64 0), i8* %5)
%16 = tail call i32 (i32*, i8*, i8*, ...) @fprintf(i32* %1, i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.11, i64 0, i64 0), i8* %5)
%17 = tail call i32 (i32*, i8*, i8*, ...) @fprintf(i32* %1, i8* getelementptr inbounds ([81 x i8], [81 x i8]* @.str.12, i64 0, i64 0), i8* %5)
%18 = tail call i32 (i32*, i8*, i8*, ...) @fprintf(i32* %1, i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str.13, i64 0, i64 0), i8* %5)
%19 = tail call i32 (i32*, i8*, i8*, ...) @fprintf(i32* %1, i8* getelementptr inbounds ([81 x i8], [81 x i8]* @.str.14, i64 0, i64 0), i8* %5)
%20 = tail call i32 (i32*, i8*, i8*, ...) @fprintf(i32* %1, i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str.15, i64 0, i64 0), i8* %5)
%21 = tail call i32 (i32*, i8*, i8*, ...) @fprintf(i32* %1, i8* getelementptr inbounds ([76 x i8], [76 x i8]* @.str.16, i64 0, i64 0), i8* %5)
%22 = tail call i32 (i32*, i8*, i8*, ...) @fprintf(i32* %1, i8* getelementptr inbounds ([80 x i8], [80 x i8]* @.str.17, i64 0, i64 0), i8* %5)
%23 = tail call i32 (i32*, i8*, i8*, ...) @fprintf(i32* %1, i8* getelementptr inbounds ([64 x i8], [64 x i8]* @.str.18, i64 0, i64 0), i8* %5)
%24 = tail call i32 (i32*, i8*, i8*, ...) @fprintf(i32* %1, i8* getelementptr inbounds ([81 x i8], [81 x i8]* @.str.19, i64 0, i64 0), i8* %5)
ret void
}