#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 EXIT_FAILURE;
int /*<<< orphan*/ fprintf(int /*<<< orphan*/, char *, char const *);
int /*<<< orphan*/ stderr;
int usage(const char *exe) {
  fprintf(stderr,
          "Usage:\t%s [-t]"
          "[-l size] "
          "[-n height] "
          "[-m width] "
          "[-p samples] op [arg] dst [src]\n"
          "\t        add:  -A       dst src\n"
          "\t    subract:  -S       dst src\n"
          "\t   multiply:  -M       dst src\n"
          "\t     divide:  -D       dst src\n"
          "\t      power:  -P       dst src\n"
          "\t        min:  -x       dst src\n"
          "\t        max:  -X       dst src\n"
          "\t     invert:  -I       dst\n"
          "\t  logarithm:  -L       dst\n"
          "\texponential:  -E       dst\n"
          "\t   non-zero:  -N       dst\n"
          "\tinterpolate:  -i coeff dst src\n"
          "\t     wiener:  -w coeff dst src\n"
          "\t      scale:  -s coeff dst\n"
          "\tthreshold >:  -r min   dst\n"
          "\tthreshold <:  -R max   dst\n",
          exe);
  return EXIT_FAILURE;
}


x86 assembly (clang, -O0):
<usage>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %rdi,-0x8(%rbp)
mov    0x2ebd(%rip),%rax
mov    (%rax),%edi
mov    -0x8(%rbp),%rdx
lea    0xed0(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2e9c(%rip),%rax
mov    (%rax),%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<usage>:
push   %rax
mov    %rdi,%rdx
mov    0x2ec5(%rip),%rax
mov    (%rax),%edi
lea    0xedc(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2ea8(%rip),%rax
mov    (%rax),%eax
pop    %rcx
ret

LLVM IR (-O0):
@stderr = global i32 0
@.str = [564 x i8] c"Usage:\09%s [-t][-l size] [-n height] [-m width] [-p samples] op [arg] dst [src]\0A\09 add: -A dst src\0A\09 subract: -S dst src\0A\09 multiply: -M dst src\0A\09 divide: -D dst src\0A\09 power: -P dst src\0A\09 min: -x dst src\0A\09 max: -X dst src\0A\09 invert: -I dst\0A\09 logarithm: -L dst\0A\09exponential: -E dst\0A\09 non-zero: -N dst\0A\09interpolate: -i coeff dst src\0A\09 wiener: -w coeff dst src\0A\09 scale: -s coeff dst\0A\09threshold >: -r min dst\0A\09threshold <: -R max dst\0A\00"
@EXIT_FAILURE = global i32 0
define i32 @usage(i8* %0) {
%2 = alloca i8*
store i8* %0, i8** %2
%3 = load i32, i32* @stderr
%4 = load i8*, i8** %2
%5 = call i32 @fprintf(i32 %3, i8* getelementptr inbounds ([564 x i8], [564 x i8]* @.str, i64 0, i64 0), i8* %4)
%6 = load i32, i32* @EXIT_FAILURE
ret i32 %6
}

LLVM IR (-O2):
@stderr = global i32 0
@.str = [564 x i8] c"Usage:\09%s [-t][-l size] [-n height] [-m width] [-p samples] op [arg] dst [src]\0A\09 add: -A dst src\0A\09 subract: -S dst src\0A\09 multiply: -M dst src\0A\09 divide: -D dst src\0A\09 power: -P dst src\0A\09 min: -x dst src\0A\09 max: -X dst src\0A\09 invert: -I dst\0A\09 logarithm: -L dst\0A\09exponential: -E dst\0A\09 non-zero: -N dst\0A\09interpolate: -i coeff dst src\0A\09 wiener: -w coeff dst src\0A\09 scale: -s coeff dst\0A\09threshold >: -r min dst\0A\09threshold <: -R max dst\0A\00"
@EXIT_FAILURE = global i32 0
define i32 @usage(i8* %0) {
%2 = load i32, i32* @stderr
%3 = tail call i32 @fprintf(i32 %2, i8* getelementptr inbounds ([564 x i8], [564 x i8]* @.str, i64 0, i64 0), i8* %0)
%4 = load i32, i32* @EXIT_FAILURE
ret i32 %4
}